- {names.map(name => (
-
-
- {name}
-
- ))}
+
+
+
+ {names.map(name => (
+
+
+ {name}
+
+ ))}
+
);
};
diff --git a/packages/icons/stories/Icon.tsx b/packages/icons/stories/Icon.tsx
index 6eb20deba74..34aae0b651e 100644
--- a/packages/icons/stories/Icon.tsx
+++ b/packages/icons/stories/Icon.tsx
@@ -373,6 +373,30 @@ const Icon = ({ name, size }: { name: string; size?: keyof typeof iconSizes }) =
);
};
+export const StyleIcon = () => (
+
+);
+
Icon.displayName = 'Icon';
export default Icon;
diff --git a/tools/scripts-config-jest/jest.config.js b/tools/scripts-config-jest/jest.config.js
index 8086069a78c..9496cf84088 100644
--- a/tools/scripts-config-jest/jest.config.js
+++ b/tools/scripts-config-jest/jest.config.js
@@ -59,9 +59,9 @@ module.exports = {
// stop ignore node_modules transform since d3 and others start to put es6 as main of packages
transformIgnorePatterns: [
// option 2, stop ignore transform on es6 packages
- `/node_modules/(?!${d3Pkgs.join(
+ `node_modules/(?!(?:.pnpm/)?(${d3Pkgs.join(
'|',
- )}|internmap|d3-delaunay|delaunator|robust-predicates|@talend/tql/index)`,
+ )}|internmap|d3-delaunay|delaunator|robust-predicates|@talend/tql/index))`,
// we can't have it twice (double negative patterns cancel each other),
// so you can import addToIgnorePatterns from './utils' to add more pkgs
diff --git a/tools/scripts-config-jest/package.json b/tools/scripts-config-jest/package.json
index 62d2ddee4cd..956444e9c4c 100644
--- a/tools/scripts-config-jest/package.json
+++ b/tools/scripts-config-jest/package.json
@@ -14,21 +14,15 @@
"url": "https://github.com/Talend/ui.git"
},
"scripts": {
- "lint": "talend-scripts lint ./",
- "test": "talend-scripts test"
- },
- "peerDependencies": {
- "enzyme": "3",
- "react": ">= 16.14.0"
+ "lint": "echo \"Not possible to use talend-scripts here (risk of circular dependency)\" && exit 0",
+ "test": "jest"
},
"dependencies": {
"@talend/scripts-config-babel": "^13.0.0",
"@testing-library/jest-dom": "^5.17.0",
"@types/jest": "^29.5.5",
- "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"babel-jest": "^29.7.0",
"core-js": "^3.32.2",
- "enzyme-adapter-react-16": "^1.15.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-jsdom-global": "^4.0.0",
@@ -36,6 +30,42 @@
"raf": "^3.4.1",
"regenerator-runtime": "^0.13.11"
},
+ "peerDependencies": {
+ "@talend/design-system": ">= 7.15.1",
+ "ally.js": ">= 1.4.1",
+ "i18next": ">= 20.6.1",
+ "classnames": ">= 2.3.2",
+ "jest-axe": ">= 8.0.0",
+ "prop-types": ">= 15.8.1",
+ "react": ">= 16.14.0",
+ "react-i18next": ">= 11.18.6"
+ },
+ "peerDependenciesMeta": {
+ "@talend/design-system": {
+ "optional": true
+ },
+ "ally.js": {
+ "optional": true
+ },
+ "classnames": {
+ "optional": true
+ },
+ "i18next": {
+ "optional": true
+ },
+ "jest-axe": {
+ "optional": true
+ },
+ "prop-types": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-i18next": {
+ "optional": true
+ }
+ },
"publishConfig": {
"access": "public"
}
diff --git a/tools/scripts-config-jest/test-setup.js b/tools/scripts-config-jest/test-setup.js
index 5ce325ca6f4..158134583be 100644
--- a/tools/scripts-config-jest/test-setup.js
+++ b/tools/scripts-config-jest/test-setup.js
@@ -7,15 +7,41 @@
/* eslint-disable no-empty */
/* eslint-disable import/no-extraneous-dependencies */
require('@testing-library/jest-dom');
+require('@testing-library/jest-dom/extend-expect');
require('core-js/stable');
require('regenerator-runtime/runtime');
require('raf/polyfill');
-const jestAxe = require('jest-axe');
+const warnMessageOptionalDep = (mainDepToMock, depList = []) => {
+ if (depList.length === 0) {
+ console.warn(
+ `JEST MOCK WARN: ${mainDepToMock} is not resolved.` +
+ '\nThis is an optional dependency.' +
+ '\nPlease add it in your dependencies if you need it',
+ );
+ } else if (depList.length > 0) {
+ console.warn(
+ `JEST MOCK WARN: one or more of those deps are not resolved: ${depList.join(', ')}` +
+ 'These are optional dependencies but work together.' +
+ `\nIt's needed to mock ${mainDepToMock}` +
+ '\nPlease add them in your dependencies if you need them',
+ );
+ }
+};
-jest.mock('ally.js');
+try {
+ const jestAxe = require('jest-axe');
+ expect.extend(jestAxe.toHaveNoViolations);
+} catch (e) {
+ warnMessageOptionalDep('jest-axe');
+}
+
+try {
+ jest.mock('ally.js');
+} catch (e) {
+ warnMessageOptionalDep('ally.js');
+}
-expect.extend(jestAxe.toHaveNoViolations);
// add missing ResizeObserver
class ResizeObserver {
observe() {
@@ -40,24 +66,6 @@ if (!global.self.TextEncoder) {
global.self.TextEncoder = require('util').TextEncoder;
global.self.TextDecoder = require('util').TextDecoder;
}
-// enzyme adapter configuration
-let React;
-try {
- React = require('react');
-} catch (e) {}
-
-try {
- const version = React && React.version;
- if (version && version.startsWith('16.')) {
- const configure = require('enzyme').configure;
- const Adapter = require('enzyme-adapter-react-16');
- configure({ adapter: new Adapter() });
- } else if (version && version.startsWith('17.')) {
- const configure = require('enzyme').configure;
- const Adapter = require('@wojtekmaj/enzyme-adapter-react-17');
- configure({ adapter: new Adapter() });
- }
-} catch (e) {}
// Mock fetch
try {
@@ -88,16 +96,6 @@ try {
console.error(e);
}
-try {
- Object.defineProperty(global.self, 'crypto', {
- value: {
- randomUUID: () => '42',
- },
- });
-} catch (e) {
- console.error(e);
-}
-
try {
// Mock session storage
delete window.sessionStorage;
@@ -145,7 +143,11 @@ try {
i18nextMock.addResources = () => {};
return i18nextMock;
});
+} catch (e) {
+ warnMessageOptionalDep('i18next');
+}
+try {
jest.mock('react-i18next', () => {
// from https://github.com/i18next/react-i18next/blob/master/example/test-jest/__mocks__/react-i18next.js
const React = require('react');
@@ -195,7 +197,9 @@ try {
Array.isArray(children) ? renderNodes(children) : renderNodes([children]),
};
});
-} catch (e) {}
+} catch (e) {
+ warnMessageOptionalDep('react-i18next', ['react-i18next', 'i18next', 'react']);
+}
try {
jest.mock('@talend/design-system', () => {
@@ -252,15 +256,14 @@ try {
return mocks;
});
-} catch {}
-
-try {
- // in the case we unmock design-system we don't want id to be random
- jest.mock('reakit/lib/Id/IdProvider', () => ({
- ...jest.requireActual('reakit/lib/Id/IdProvider'),
- unstable_IdContext: jest.requireActual('react').createContext(() => 'id-42'),
- }));
-} catch {}
+} catch {
+ warnMessageOptionalDep('@talend/design-system', [
+ '@talend/design-system',
+ 'react',
+ 'prop-types',
+ 'classnames',
+ ]);
+}
// @floating-ui/react
// https://github.com/floating-ui/floating-ui/issues/1908
diff --git a/tools/scripts-config-storybook-lib/.storybook-templates/preview.js b/tools/scripts-config-storybook-lib/.storybook-templates/preview.js
index cd38523daec..d16f55c3ff2 100644
--- a/tools/scripts-config-storybook-lib/.storybook-templates/preview.js
+++ b/tools/scripts-config-storybook-lib/.storybook-templates/preview.js
@@ -96,11 +96,11 @@ const defaultPreview = {
React.createElement(IconsProvider, {
key: 'icons-provider-decorator',
bundles: [
- '/all.svg',
- '/XS.svg',
- '/S.svg',
- '/M.svg',
- '/L.svg',
+ 'all.svg',
+ 'XS.svg',
+ 'S.svg',
+ 'M.svg',
+ 'L.svg',
]
}),
React.createElement(ToggleBootstrap, {
diff --git a/yarn.lock b/yarn.lock
index a80e487a4e9..40cbe094cd9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5544,28 +5544,6 @@
dependencies:
lodash "^4"
-"@wojtekmaj/enzyme-adapter-react-17@^0.8.0":
- version "0.8.0"
- resolved "https://registry.yarnpkg.com/@wojtekmaj/enzyme-adapter-react-17/-/enzyme-adapter-react-17-0.8.0.tgz#138f404f82f502d152242c049e87d9621dcda4bd"
- integrity sha512-zeUGfQRziXW7R7skzNuJyi01ZwuKCH8WiBNnTgUJwdS/CURrJwAhWsfW7nG7E30ak8Pu3ZwD9PlK9skBfAoOBw==
- dependencies:
- "@wojtekmaj/enzyme-adapter-utils" "^0.2.0"
- enzyme-shallow-equal "^1.0.0"
- has "^1.0.0"
- prop-types "^15.7.0"
- react-is "^17.0.0"
- react-test-renderer "^17.0.0"
-
-"@wojtekmaj/enzyme-adapter-utils@^0.2.0":
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/@wojtekmaj/enzyme-adapter-utils/-/enzyme-adapter-utils-0.2.0.tgz#dc2a8c14f92e502da28ea6b3fad96a082076d028"
- integrity sha512-ZvZm9kZxZEKAbw+M1/Q3iDuqQndVoN8uLnxZ8bzxm7KgGTBejrGRoJAp8f1EN8eoO3iAjBNEQnTDW/H4Ekb0FQ==
- dependencies:
- function.prototype.name "^1.1.0"
- has "^1.0.0"
- object.fromentries "^2.0.0"
- prop-types "^15.7.0"
-
"@xmldom/xmldom@^0.7.2":
version "0.7.13"
resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.7.13.tgz#ff34942667a4e19a9f4a0996a76814daac364cf3"
@@ -5765,21 +5743,6 @@ aggregate-error@^3.0.0:
clean-stack "^2.0.0"
indent-string "^4.0.0"
-airbnb-prop-types@^2.16.0:
- version "2.16.0"
- resolved "https://registry.yarnpkg.com/airbnb-prop-types/-/airbnb-prop-types-2.16.0.tgz#b96274cefa1abb14f623f804173ee97c13971dc2"
- integrity sha512-7WHOFolP/6cS96PhKNrslCLMYAI8yB1Pp6u6XmxozQOiZbsI5ycglZr5cHhBFfuRcQQjzCMith5ZPZdYiJCxUg==
- dependencies:
- array.prototype.find "^2.1.1"
- function.prototype.name "^1.1.2"
- is-regex "^1.1.0"
- object-is "^1.1.2"
- object.assign "^4.1.0"
- object.entries "^1.1.2"
- prop-types "^15.7.2"
- prop-types-exact "^1.2.0"
- react-is "^16.13.1"
-
ajv-formats@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520"
@@ -6058,16 +6021,6 @@ array-uniq@^1.0.1:
resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
integrity sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==
-array.prototype.find@^2.1.1:
- version "2.2.2"
- resolved "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.2.2.tgz#e862cf891e725d8f2a10e5e42d750629faaabd32"
- integrity sha512-DRumkfW97iZGOfn+lIXbkVrXL04sfYKX+EfOodo8XboR5sxPDVvOjZTF/rysusa9lmhmSOeD6Vp6RKQP+eP4Tg==
- dependencies:
- call-bind "^1.0.2"
- define-properties "^1.2.0"
- es-abstract "^1.22.1"
- es-shim-unscopables "^1.0.0"
-
array.prototype.findlastindex@^1.2.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207"
@@ -8961,42 +8914,6 @@ envinfo@^7.7.3:
resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.10.0.tgz#55146e3909cc5fe63c22da63fb15b05aeac35b13"
integrity sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==
-enzyme-adapter-react-16@^1.15.7:
- version "1.15.7"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.7.tgz#a737e6d8e2c147e9da5acf957755be7634f76201"
- integrity sha512-LtjKgvlTc/H7adyQcj+aq0P0H07LDL480WQl1gU512IUyaDo/sbOaNDdZsJXYW2XaoPqrLLE9KbZS+X2z6BASw==
- dependencies:
- enzyme-adapter-utils "^1.14.1"
- enzyme-shallow-equal "^1.0.5"
- has "^1.0.3"
- object.assign "^4.1.4"
- object.values "^1.1.5"
- prop-types "^15.8.1"
- react-is "^16.13.1"
- react-test-renderer "^16.0.0-0"
- semver "^5.7.0"
-
-enzyme-adapter-utils@^1.14.1:
- version "1.14.1"
- resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.14.1.tgz#f30db15dafc22e0ccd44f5acc8d93be29218cdcf"
- integrity sha512-JZgMPF1QOI7IzBj24EZoDpaeG/p8Os7WeBZWTJydpsH7JRStc7jYbHE4CmNQaLqazaGFyLM8ALWA3IIZvxW3PQ==
- dependencies:
- airbnb-prop-types "^2.16.0"
- function.prototype.name "^1.1.5"
- has "^1.0.3"
- object.assign "^4.1.4"
- object.fromentries "^2.0.5"
- prop-types "^15.8.1"
- semver "^5.7.1"
-
-enzyme-shallow-equal@^1.0.0, enzyme-shallow-equal@^1.0.5:
- version "1.0.5"
- resolved "https://registry.yarnpkg.com/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.5.tgz#5528a897a6ad2bdc417c7221a7db682cd01711ba"
- integrity sha512-i6cwm7hN630JXenxxJFBKzgLC3hMTafFQXflvzHgPmDhOBhxUWDe8AeRv1qp2/uWJ2Y8z5yLWMzmAfkTOiOCZg==
- dependencies:
- has "^1.0.3"
- object-is "^1.1.5"
-
eol@^0.9.1:
version "0.9.1"
resolved "https://registry.yarnpkg.com/eol/-/eol-0.9.1.tgz#f701912f504074be35c6117a5c4ade49cd547acd"
@@ -10280,7 +10197,7 @@ function-bind@^1.1.1:
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
-function.prototype.name@^1.1.0, function.prototype.name@^1.1.2, function.prototype.name@^1.1.5, function.prototype.name@^1.1.6:
+function.prototype.name@^1.1.5, function.prototype.name@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd"
integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==
@@ -10713,7 +10630,7 @@ has-unicode@^2.0.1:
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==
-has@^1.0.0, has@^1.0.3:
+has@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
@@ -11620,7 +11537,7 @@ is-potential-custom-element-name@^1.0.1:
resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5"
integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==
-is-regex@^1.1.0, is-regex@^1.1.4:
+is-regex@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==
@@ -13880,7 +13797,7 @@ object-inspect@^1.12.3, object-inspect@^1.9.0:
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9"
integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==
-object-is@^1.1.2, object-is@^1.1.5:
+object-is@^1.1.5:
version "1.1.5"
resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac"
integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==
@@ -13893,7 +13810,7 @@ object-keys@^1.1.1:
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==
-object.assign@^4.0.3, object.assign@^4.1.0, object.assign@^4.1.2, object.assign@^4.1.4:
+object.assign@^4.0.3, object.assign@^4.1.2, object.assign@^4.1.4:
version "4.1.4"
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f"
integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==
@@ -13903,7 +13820,7 @@ object.assign@^4.0.3, object.assign@^4.1.0, object.assign@^4.1.2, object.assign@
has-symbols "^1.0.3"
object-keys "^1.1.1"
-object.entries@^1.1.2, object.entries@^1.1.5, object.entries@^1.1.6:
+object.entries@^1.1.5, object.entries@^1.1.6:
version "1.1.7"
resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.7.tgz#2b47760e2a2e3a752f39dd874655c61a7f03c131"
integrity sha512-jCBs/0plmPsOnrKAfFQXRG2NFjlhZgjjcBLSmTnEhU8U6vVTsVe8ANeQJCHTl3gSsI4J+0emOoCgoKlmQPMgmA==
@@ -13912,7 +13829,7 @@ object.entries@^1.1.2, object.entries@^1.1.5, object.entries@^1.1.6:
define-properties "^1.2.0"
es-abstract "^1.22.1"
-object.fromentries@^2.0.0, object.fromentries@^2.0.5, object.fromentries@^2.0.6:
+object.fromentries@^2.0.6:
version "2.0.7"
resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.7.tgz#71e95f441e9a0ea6baf682ecaaf37fa2a8d7e616"
integrity sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==
@@ -13950,7 +13867,7 @@ object.hasown@^1.1.2:
define-properties "^1.2.0"
es-abstract "^1.22.1"
-object.values@^1.1.0, object.values@^1.1.5, object.values@^1.1.6:
+object.values@^1.1.0, object.values@^1.1.6:
version "1.1.7"
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.7.tgz#617ed13272e7e1071b43973aa1655d9291b8442a"
integrity sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==
@@ -15184,15 +15101,6 @@ prompts@^2.0.1, prompts@^2.4.0:
kleur "^3.0.3"
sisteransi "^1.0.5"
-prop-types-exact@^1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/prop-types-exact/-/prop-types-exact-1.2.0.tgz#825d6be46094663848237e3925a98c6e944e9869"
- integrity sha512-K+Tk3Kd9V0odiXFP9fwDHUYRyvK3Nun3GVyPapSIs5OBkITAm15W0CPFD/YKTkMUAbc0b9CUwRQp2ybiBIq+eA==
- dependencies:
- has "^1.0.3"
- object.assign "^4.1.0"
- reflect.ownkeys "^0.2.0"
-
prop-types-extra@^1.0.1, prop-types-extra@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/prop-types-extra/-/prop-types-extra-1.1.1.tgz#58c3b74cbfbb95d304625975aa2f0848329a010b"
@@ -15201,7 +15109,7 @@ prop-types-extra@^1.0.1, prop-types-extra@^1.1.1:
react-is "^16.3.2"
warning "^4.0.0"
-prop-types@15.7.2, prop-types@15.x, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.0, prop-types@^15.7.2, prop-types@^15.8.1:
+prop-types@15.7.2, prop-types@15.x, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
@@ -15595,7 +15503,7 @@ react-is@18.1.0:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67"
integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg==
-react-is@^16.10.2, react-is@^16.12.0, react-is@^16.13.1, react-is@^16.3.2, react-is@^16.7.0, react-is@^16.8.6:
+react-is@^16.10.2, react-is@^16.12.0, react-is@^16.13.1, react-is@^16.3.2, react-is@^16.7.0:
version "16.13.1"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
@@ -15774,17 +15682,7 @@ react-syntax-highlighter@^15.5.0:
prismjs "^1.27.0"
refractor "^3.6.0"
-react-test-renderer@^16.0.0-0:
- version "16.14.0"
- resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.14.0.tgz#e98360087348e260c56d4fe2315e970480c228ae"
- integrity sha512-L8yPjqPE5CZO6rKsKXRO/rVPiaCOy0tQQJbC+UjPNlobl5mad59lvPjwFsQHTvL03caVDIVr9x9/OSgDe6I5Eg==
- dependencies:
- object-assign "^4.1.1"
- prop-types "^15.6.2"
- react-is "^16.8.6"
- scheduler "^0.19.1"
-
-react-test-renderer@^17.0.0, react-test-renderer@^17.0.2:
+react-test-renderer@^17.0.2:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-17.0.2.tgz#4cd4ae5ef1ad5670fc0ef776e8cc7e1231d9866c"
integrity sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==
@@ -16149,11 +16047,6 @@ reflect.getprototypeof@^1.0.4:
globalthis "^1.0.3"
which-builtin-type "^1.1.3"
-reflect.ownkeys@^0.2.0:
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz#749aceec7f3fdf8b63f927a04809e90c5c0b3460"
- integrity sha512-qOLsBKHCpSOFKK1NUOCGC5VyeufB6lEsFe92AL2bhIJsacZS1qdoOZSbPk3MYKuT2cFlRDnulKXuuElIrMjGUg==
-
refractor@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.6.0.tgz#ac318f5a0715ead790fcfb0c71f4dd83d977935a"
@@ -16645,14 +16538,6 @@ saxes@^6.0.0:
dependencies:
xmlchars "^2.2.0"
-scheduler@^0.19.1:
- version "0.19.1"
- resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196"
- integrity sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==
- dependencies:
- loose-envify "^1.1.0"
- object-assign "^4.1.1"
-
scheduler@^0.20.2:
version "0.20.2"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
@@ -16731,7 +16616,7 @@ semver-compare@^1.0.0:
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
integrity sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==
-"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1:
+"semver@2 || 3 || 4 || 5", semver@^5.4.1, semver@^5.6.0:
version "5.7.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==