-
-
- toolbar.name.onChange(e)}
- value={toolbar.name.value}
- />
-
-
-
-
-
-
-
-
-
-
-
-
-
+const ResourcePickerMock = ({ toolbar, onRowClick, isSelected, collection, ...props }) => (
+
+
+
+
+ toolbar.name.onChange(e)}
+ value={toolbar.name.value}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- {collection && (
-
- )}
- ResourcePicker
- );
+
+
+
+ {collection && (
+
+ )}
+ ResourcePicker
+
+);
jest.mock('ally.js');
jest.unmock('@talend/design-system');
-jest.mock('@talend/react-components/lib/ResourcePicker', ResourcePickerMock);
+jest.mock('@talend/react-components/lib/ResourcePicker', () => ResourcePickerMock);
describe('ResourcePicker field', () => {
const collection = [
diff --git a/packages/http/.babelrc b/packages/http/.babelrc
index 02add252488..269d2ec2cfe 100644
--- a/packages/http/.babelrc
+++ b/packages/http/.babelrc
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/icons/.babelrc.json b/packages/icons/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/icons/.babelrc.json
+++ b/packages/icons/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/icons/package.json b/packages/icons/package.json
index a17675cb8f3..07261692738 100644
--- a/packages/icons/package.json
+++ b/packages/icons/package.json
@@ -40,6 +40,7 @@
"url": "https://github.com/Talend/ui.git"
},
"devDependencies": {
+ "@babel/core": "^7.23.2",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@svgr/webpack": "^5.5.0",
diff --git a/packages/icons/scripts/react.js b/packages/icons/scripts/react.js
index d1b1ef871f5..1d0b70d2633 100755
--- a/packages/icons/scripts/react.js
+++ b/packages/icons/scripts/react.js
@@ -4,7 +4,7 @@ const path = require('path');
const mkdirp = require('mkdirp');
const babel = require('@babel/core');
-const defaultOptions = require('@talend/scripts-config-babel/.babelrc.json');
+const defaultOptions = require('@talend/scripts-config-babel/babel.config.js');
const src = require('../src');
const info = require('../src/info').info;
const infoFromFigma = require('../src/info').infoFromFigma;
diff --git a/packages/icons/webpack.config.js b/packages/icons/webpack.config.js
index 79f91dd811a..370970eeb26 100644
--- a/packages/icons/webpack.config.js
+++ b/packages/icons/webpack.config.js
@@ -27,14 +27,14 @@ module.exports = {
{
// The replacer is used to create relative local paths instead of paths relative
// to publicPath, because it makes it processable by webpack.
- loader: 'string-replace-loader',
+ loader: require.resolve('string-replace-loader'),
options: {
search: /url\(\\"\//g, // The CSS output by css-loader is stringified, so the quotes are escaped
replace: 'url(\\"./',
},
},
{
- loader: 'css-loader',
+ loader: require.resolve('css-loader'),
options: {
url: false,
},
@@ -44,7 +44,7 @@ module.exports = {
},
{
test: /\.(woff|eot|ttf|svg)$/,
- loader: 'url-loader',
+ loader: require.resolve('url-loader'),
},
],
},
diff --git a/packages/icons/webpack.umd.js b/packages/icons/webpack.umd.js
index 7041f9b3804..866ff086f79 100644
--- a/packages/icons/webpack.umd.js
+++ b/packages/icons/webpack.umd.js
@@ -19,7 +19,7 @@ module.exports = (env = {}) => ({
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: {
- loader: 'babel-loader',
+ loader: require.resolve('babel-loader'),
},
},
{
diff --git a/packages/playground/.babelrc.json b/packages/playground/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/playground/.babelrc.json
+++ b/packages/playground/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/router-bridge/.babelrc.json b/packages/router-bridge/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/router-bridge/.babelrc.json
+++ b/packages/router-bridge/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/sagas/.babelrc.json b/packages/sagas/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/sagas/.babelrc.json
+++ b/packages/sagas/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/stepper/.babelrc.json b/packages/stepper/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/stepper/.babelrc.json
+++ b/packages/stepper/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/stepper/tsconfig.build.json b/packages/stepper/tsconfig.build.json
new file mode 100755
index 00000000000..4ac5b26029c
--- /dev/null
+++ b/packages/stepper/tsconfig.build.json
@@ -0,0 +1,4 @@
+{
+ "extends": "./tsconfig.json",
+ "exclude": ["src/**/*.test.*", "src/**/*.stories.*", "stories"]
+}
diff --git a/packages/storybook-cmf/.babelrc b/packages/storybook-cmf/.babelrc
index 1d6655372aa..abd323e11de 100644
--- a/packages/storybook-cmf/.babelrc
+++ b/packages/storybook-cmf/.babelrc
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/storybook-docs/.babelrc b/packages/storybook-docs/.babelrc
index 02add252488..269d2ec2cfe 100644
--- a/packages/storybook-docs/.babelrc
+++ b/packages/storybook-docs/.babelrc
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/storybook-docs/package.json b/packages/storybook-docs/package.json
index 6d15b240c37..20faa30f12b 100644
--- a/packages/storybook-docs/package.json
+++ b/packages/storybook-docs/package.json
@@ -27,7 +27,11 @@
"access": "public"
},
"dependencies": {
+ "@algolia/autocomplete-js": "^1.9.4",
+ "@storybook/blocks": "^7.4.1",
+ "@storybook/react": "^7.4.1",
"@talend/design-tokens": "^2.9.0",
+ "algoliasearch": "^4.17.2",
"classnames": "^2.3.1",
"figma-js": "^1.16.0",
"react": "^17.0.2"
@@ -36,6 +40,7 @@
"@talend/scripts-core": "^15.0.0",
"@talend/scripts-config-babel": "^13.0.0",
"@talend/scripts-config-storybook-lib": "^5.0.0",
- "@talend/scripts-config-typescript": "^11.1.0"
+ "@talend/scripts-config-typescript": "^11.1.0",
+ "@types/node": "^6.14.13"
}
}
diff --git a/packages/storybook-docs/webpack.custom.js b/packages/storybook-docs/webpack.custom.js
index 73c46a8a9b5..06526b8dca2 100644
--- a/packages/storybook-docs/webpack.custom.js
+++ b/packages/storybook-docs/webpack.custom.js
@@ -20,9 +20,12 @@ module.exports = {
exclude: /node_modules/,
use: [
{ loader: MiniCssExtractPlugin.loader, options: { esModule: false } },
- { loader: 'css-loader', options: { sourceMap: true } },
{
- loader: 'postcss-loader',
+ loader: require.resolve('css-loader'),
+ options: { sourceMap: true },
+ },
+ {
+ loader: require.resolve('postcss-loader'),
options: {
postcssOptions: {
plugins: ['autoprefixer'],
@@ -30,9 +33,12 @@ module.exports = {
},
},
},
- { loader: 'resolve-url-loader', options: { sourceMap: true } },
{
- loader: 'sass-loader',
+ loader: require.resolve('resolve-url-loader'),
+ options: { sourceMap: true },
+ },
+ {
+ loader: require.resolve('sass-loader'),
options: { sourceMap: true },
},
],
diff --git a/packages/storybook-one/.babelrc.json b/packages/storybook-one/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/storybook-one/.babelrc.json
+++ b/packages/storybook-one/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/storybook-one/.storybook/.babelrc.json b/packages/storybook-one/.storybook/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/packages/storybook-one/.storybook/.babelrc.json
+++ b/packages/storybook-one/.storybook/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/packages/theme/webpack.config.js b/packages/theme/webpack.config.js
index ccf1f08de1c..2ffb9d6c2da 100644
--- a/packages/theme/webpack.config.js
+++ b/packages/theme/webpack.config.js
@@ -25,7 +25,7 @@ module.exports = (env, argv) => {
test: /\.woff(2)?(\?[a-z0-9=&.]+)?$/,
use: [
{
- loader: 'file-loader',
+ loader: require.resolve('file-loader'),
options: {
outputPath: 'fonts',
name: '[name].[ext]',
@@ -38,17 +38,17 @@ module.exports = (env, argv) => {
test: /bootstrap\.scss$/,
use: [
{
- loader: isDev ? 'style-loader' : MiniCssExtractPlugin.loader,
+ loader: isDev ? require.resolve('style-loader') : MiniCssExtractPlugin.loader,
},
{
- loader: 'css-loader',
+ loader: require.resolve('css-loader'),
options: {
importLoaders: 3,
sourceMap: true,
},
},
{
- loader: 'postcss-loader',
+ loader: require.resolve('postcss-loader'),
options: {
postcssOptions: {
plugins: [postcssPresetEnv({ browsers: 'last 2 versions' })],
@@ -57,7 +57,7 @@ module.exports = (env, argv) => {
},
},
{
- loader: 'sass-loader',
+ loader: require.resolve('sass-loader'),
options: {
sourceMap: true,
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6c03fed13cb..6e230e5b6e5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -74,6 +74,9 @@ importers:
read-pkg-up:
specifier: ^7.0.1
version: 7.0.1
+ semver:
+ specifier: ^7.5.4
+ version: 7.5.4
webpack-sources:
specifier: ^3.2.3
version: 3.2.3
@@ -228,6 +231,9 @@ importers:
'@testing-library/user-event':
specifier: ^13.5.0
version: 13.5.0(@testing-library/dom@9.3.3)
+ '@types/jest':
+ specifier: ^29.5.5
+ version: 29.5.5
react:
specifier: ^17.0.2
version: 17.0.2
@@ -249,6 +255,12 @@ importers:
'@talend/scripts-core':
specifier: ^15.0.0
version: link:../../tools/scripts-core
+ '@types/jest':
+ specifier: ^29.5.5
+ version: 29.5.5
+ '@types/node':
+ specifier: ^6.14.13
+ version: 6.14.13
read-pkg-up:
specifier: ^7.0.1
version: 7.0.1
@@ -607,9 +619,9 @@ importers:
'@types/date-fns':
specifier: ^0.0.2
version: 0.0.2
- '@types/enzyme':
- specifier: ^3.10.13
- version: 3.10.14
+ '@types/jest':
+ specifier: ^29.5.5
+ version: 29.5.5
'@types/lodash':
specifier: ^4.14.198
version: 4.14.199
@@ -843,12 +855,12 @@ importers:
'@types/classnames':
specifier: ^2.3.1
version: 2.3.1
+ '@types/cypress':
+ specifier: ^1.1.3
+ version: 1.1.3
'@types/d3':
specifier: ^7.4.0
version: 7.4.1
- '@types/enzyme':
- specifier: ^3.10.13
- version: 3.10.14
'@types/geojson':
specifier: ^7946.0.10
version: 7946.0.11
@@ -884,7 +896,7 @@ importers:
dependencies:
'@algolia/autocomplete-js':
specifier: ^1.9.4
- version: 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.8.3)
+ version: 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0)
'@storybook/blocks':
specifier: ^7.4.1
version: 7.4.6(@types/react-dom@17.0.21)(@types/react@17.0.68)(react-dom@17.0.2)(react@17.0.2)
@@ -957,7 +969,7 @@ importers:
version: 1.0.3(css-loader@4.3.0)(sass-loader@13.3.2)(style-loader@3.3.3)
'@storybook/react-webpack5':
specifier: ^7.4.1
- version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
+ version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.93)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/testing-library':
specifier: ^0.2.0
version: 0.2.2
@@ -1199,6 +1211,9 @@ importers:
'@talend/scripts-core':
specifier: ^15.0.0
version: link:../../tools/scripts-core
+ jest:
+ specifier: ^29.7.0
+ version: 29.7.0
typeface-source-sans-pro:
specifier: ^1.1.13
version: 1.1.13
@@ -1333,21 +1348,30 @@ importers:
'@talend/scripts-core':
specifier: ^15.0.0
version: link:../../tools/scripts-core
+ '@testing-library/jest-dom':
+ specifier: ^5.17.0
+ version: 5.17.0
'@testing-library/react':
specifier: ^12.1.5
version: 12.1.5(react-dom@17.0.2)(react@17.0.2)
'@types/d3':
specifier: ^7.4.0
version: 7.4.1
- '@types/enzyme':
- specifier: ^3.10.13
- version: 3.10.14
'@types/invariant':
specifier: ^2.2.35
version: 2.2.35
+ '@types/jest':
+ specifier: ^29.5.5
+ version: 29.5.5
'@types/lodash':
specifier: ^4.14.198
version: 4.14.199
+ '@types/node':
+ specifier: ^6.14.13
+ version: 6.14.13
+ '@types/prop-types':
+ specifier: ^15.7.5
+ version: 15.7.8
'@types/react':
specifier: ^17.0.2
version: 17.0.68
@@ -1559,6 +1583,9 @@ importers:
packages/icons:
devDependencies:
+ '@babel/core':
+ specifier: ^7.23.2
+ version: 7.23.2
'@babel/preset-env':
specifier: ^7.22.20
version: 7.23.2(@babel/core@7.23.2)
@@ -1924,9 +1951,21 @@ importers:
packages/storybook-docs:
dependencies:
+ '@algolia/autocomplete-js':
+ specifier: ^1.9.4
+ version: 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0)
+ '@storybook/blocks':
+ specifier: ^7.4.1
+ version: 7.4.6(@types/react-dom@17.0.21)(@types/react@17.0.68)(react-dom@17.0.2)(react@17.0.2)
+ '@storybook/react':
+ specifier: ^7.4.1
+ version: 7.4.6(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@talend/design-tokens':
specifier: ^2.9.0
version: link:../design-tokens
+ algoliasearch:
+ specifier: ^4.17.2
+ version: 4.20.0
classnames:
specifier: ^2.3.1
version: 2.3.2
@@ -1949,6 +1988,9 @@ importers:
'@talend/scripts-core':
specifier: ^15.0.0
version: link:../../tools/scripts-core
+ '@types/node':
+ specifier: ^6.14.13
+ version: 6.14.13
packages/storybook-one:
dependencies:
@@ -2018,7 +2060,7 @@ importers:
version: 1.0.3(css-loader@4.3.0)(sass-loader@13.3.2)(style-loader@3.3.3)
'@storybook/react-webpack5':
specifier: ^7.4.1
- version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
+ version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.93)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/testing-library':
specifier: ^0.2.0
version: 0.2.2
@@ -2196,6 +2238,9 @@ importers:
babel-plugin-tester:
specifier: ^10.1.0
version: 10.1.0(@babel/core@7.23.2)
+ jest:
+ specifier: ^29.7.0
+ version: 29.7.0
tools/babel-plugin-import-from-index:
dependencies:
@@ -2231,6 +2276,9 @@ importers:
babel-plugin-tester:
specifier: ^10.1.0
version: 10.1.0(@babel/core@7.23.2)
+ jest:
+ specifier: ^29.7.0
+ version: 29.7.0
tools/cmf-webpack-plugin:
dependencies:
@@ -2339,10 +2387,6 @@ importers:
mkdirp:
specifier: ^1.0.4
version: 1.0.4
- devDependencies:
- '@talend/scripts-core':
- specifier: ^15.0.0
- version: link:../scripts-core
tools/scripts-config-babel:
dependencies:
@@ -2388,6 +2432,9 @@ importers:
babel-plugin-angularjs-annotate:
specifier: ^0.10.0
version: 0.10.0
+ jest:
+ specifier: ^29.7.0
+ version: 29.7.0
tools/scripts-config-cdn:
dependencies:
@@ -2463,9 +2510,16 @@ importers:
eslint-plugin-testing-library:
specifier: ^5.11.1
version: 5.11.1(eslint@7.32.0)(typescript@5.2.2)
+ devDependencies:
+ jest:
+ specifier: ^29.7.0
+ version: 29.7.0
tools/scripts-config-jest:
dependencies:
+ '@talend/design-system':
+ specifier: ^7.15.1
+ version: link:../../packages/design-system
'@talend/scripts-config-babel':
specifier: ^13.0.0
version: link:../scripts-config-babel
@@ -2647,7 +2701,7 @@ importers:
version: 7.4.6(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/react-webpack5':
specifier: ^7.4.1
- version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
+ version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.93)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/testing-library':
specifier: ^0.2.0
version: 0.2.2
@@ -2746,6 +2800,9 @@ importers:
jest:
specifier: ^29.7.0
version: 29.7.0
+ jest-cli:
+ specifier: ^29.7.0
+ version: 29.7.0
lodash:
specifier: ^4.17.21
version: 4.17.21
@@ -2835,6 +2892,9 @@ importers:
'@talend/scripts-config-babel':
specifier: ^13.0.0
version: link:../scripts-config-babel
+ jest:
+ specifier: ^29.7.0
+ version: 29.7.0
tools/scripts-yarn-workspace:
dependencies:
@@ -2870,10 +2930,10 @@ packages:
/@adobe/css-tools@4.3.1:
resolution: {integrity: sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==}
- /@algolia/autocomplete-core@1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.8.3):
+ /@algolia/autocomplete-core@1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0):
resolution: {integrity: sha512-C4ZaUbwNHOkbXM+vsUpx9AYhfLRCcku4tjn64Dr6/WjBhD1gv/WcI/GlvTc7QU53xPubNm8pfnfFAjRogEdnNQ==}
dependencies:
- '@algolia/autocomplete-plugin-algolia-insights': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.8.3)
+ '@algolia/autocomplete-plugin-algolia-insights': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0)
'@algolia/autocomplete-shared': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)
transitivePeerDependencies:
- '@algolia/client-search'
@@ -2881,13 +2941,13 @@ packages:
- search-insights
dev: false
- /@algolia/autocomplete-js@1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.8.3):
+ /@algolia/autocomplete-js@1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0):
resolution: {integrity: sha512-Oqus5IAz/rGubXvUcGQyhSwFr/KmfHxrmw/u+3pqWWhgErRIF/LQmHO6/+Q4pu21EOAMdKw1p/gSel68e5AaCA==}
peerDependencies:
'@algolia/client-search': '>= 4.5.1 < 6'
algoliasearch: '>= 4.9.1 < 6'
dependencies:
- '@algolia/autocomplete-core': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.8.3)
+ '@algolia/autocomplete-core': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0)
'@algolia/autocomplete-preset-algolia': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)
'@algolia/autocomplete-shared': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)
'@algolia/client-search': 4.20.0
@@ -2898,13 +2958,13 @@ packages:
- search-insights
dev: false
- /@algolia/autocomplete-plugin-algolia-insights@1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.8.3):
+ /@algolia/autocomplete-plugin-algolia-insights@1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)(search-insights@2.9.0):
resolution: {integrity: sha512-Ajaav4irJrbwLuQ0hYuaZlUH1pY7iobXSFfQsHFSQ+m2Q8r/h1GtkaiRCpcfnwO8CURdcD3RFMc0pClOPzmJeA==}
peerDependencies:
search-insights: '>= 1 < 3'
dependencies:
'@algolia/autocomplete-shared': 1.11.1(@algolia/client-search@4.20.0)(algoliasearch@4.20.0)
- search-insights: 2.8.3
+ search-insights: 2.9.0
transitivePeerDependencies:
- '@algolia/client-search'
- algoliasearch
@@ -5978,7 +6038,7 @@ packages:
react-refresh: 0.11.0
schema-utils: 3.3.0
source-map: 0.7.4
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/@polka/url@1.0.0-next.23:
resolution: {integrity: sha512-C16M+IYz0rgRhWZdCmK+h58JMv8vijAA61gmz2rspCSwKwzBebpdcsiUmwrtJRdphuY30i6BSLEOP8ppbNLyLg==}
@@ -7218,7 +7278,7 @@ packages:
'@storybook/router': 7.4.6(react-dom@17.0.2)(react@17.0.2)
'@storybook/store': 7.4.6
'@storybook/theming': 7.4.6(react-dom@17.0.2)(react@17.0.2)
- '@swc/core': 1.3.92
+ '@swc/core': 1.3.93
'@types/node': 16.18.58
'@types/semver': 7.5.3
babel-loader: 9.1.3(@babel/core@7.23.2)(webpack@5.88.2)
@@ -7237,14 +7297,14 @@ packages:
react-dom: 17.0.2(react@17.0.2)
semver: 7.5.4
style-loader: 3.3.3(webpack@5.88.2)
- swc-loader: 0.2.3(@swc/core@1.3.92)(webpack@5.88.2)
- terser-webpack-plugin: 5.3.9(@swc/core@1.3.92)(esbuild@0.18.20)(webpack@5.88.2)
+ swc-loader: 0.2.3(@swc/core@1.3.93)(webpack@5.88.2)
+ terser-webpack-plugin: 5.3.9(@swc/core@1.3.93)(esbuild@0.18.20)(webpack@5.88.2)
ts-dedent: 2.2.0
typescript: 5.2.2
url: 0.11.3
util: 0.12.5
util-deprecate: 1.0.2
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
webpack-dev-middleware: 6.1.1(webpack@5.88.2)
webpack-hot-middleware: 2.25.4
webpack-virtual-modules: 0.5.0
@@ -7776,7 +7836,7 @@ packages:
/@storybook/postinstall@7.4.6:
resolution: {integrity: sha512-TqI5BucPAGRWrkh55BYiG2/gHLFtC0In4cuu0GsUzB/1jc4i51npLRorCwhmT7r7YliGl5F7JaP0Bni/qHN3Lg==}
- /@storybook/preset-react-webpack@7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
+ /@storybook/preset-react-webpack@7.4.6(@babel/core@7.23.2)(@swc/core@1.3.93)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-FfJvlk3bJfg66t06YLiyu+1o/DZN3uNfFP37zv5cJux7TpdmJRV/4m9LKQPJOvcnWBQYem8xX8k5cRS29vdW5g==}
engines: {node: '>=16.0.0'}
peerDependencies:
@@ -7809,7 +7869,7 @@ packages:
react-refresh: 0.11.0
semver: 7.5.4
typescript: 5.2.2
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
transitivePeerDependencies:
- '@swc/core'
- '@types/webpack'
@@ -7896,7 +7956,7 @@ packages:
react-docgen-typescript: 2.2.2(typescript@5.2.2)
tslib: 2.6.2
typescript: 5.2.2
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
transitivePeerDependencies:
- supports-color
@@ -7909,7 +7969,7 @@ packages:
react: 17.0.2
react-dom: 17.0.2(react@17.0.2)
- /@storybook/react-webpack5@7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
+ /@storybook/react-webpack5@7.4.6(@babel/core@7.23.2)(@swc/core@1.3.93)(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2):
resolution: {integrity: sha512-OSwf+E2tRcfBmzCH+WwM7JlfEYjg5Womi1yrtotfcjVXAU6ubHOk2G87zsrKLp/TeCOFM2aHohHBTyWUCejQKQ==}
engines: {node: '>=16.0.0'}
peerDependencies:
@@ -7925,7 +7985,7 @@ packages:
dependencies:
'@babel/core': 7.23.2
'@storybook/builder-webpack5': 7.4.6(@types/react-dom@17.0.21)(@types/react@17.0.68)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
- '@storybook/preset-react-webpack': 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
+ '@storybook/preset-react-webpack': 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.93)(esbuild@0.18.20)(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@storybook/react': 7.4.6(react-dom@17.0.2)(react@17.0.2)(typescript@5.2.2)
'@types/node': 16.18.58
react: 17.0.2
@@ -8275,88 +8335,88 @@ packages:
- supports-color
dev: true
- /@swc/core-darwin-arm64@1.3.92:
- resolution: {integrity: sha512-v7PqZUBtIF6Q5Cp48gqUiG8zQQnEICpnfNdoiY3xjQAglCGIQCjJIDjreZBoeZQZspB27lQN4eZ43CX18+2SnA==}
+ /@swc/core-darwin-arm64@1.3.93:
+ resolution: {integrity: sha512-gEKgk7FVIgltnIfDO6GntyuQBBlAYg5imHpRgLxB1zSI27ijVVkksc6QwISzFZAhKYaBWIsFSVeL9AYSziAF7A==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
requiresBuild: true
optional: true
- /@swc/core-darwin-x64@1.3.92:
- resolution: {integrity: sha512-Q3XIgQfXyxxxms3bPN+xGgvwk0TtG9l89IomApu+yTKzaIIlf051mS+lGngjnh9L0aUiCp6ICyjDLtutWP54fw==}
+ /@swc/core-darwin-x64@1.3.93:
+ resolution: {integrity: sha512-ZQPxm/fXdDQtn3yrYSL/gFfA8OfZ5jTi33yFQq6vcg/Y8talpZ+MgdSlYM0FkLrZdMTYYTNFiuBQuuvkA+av+Q==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
requiresBuild: true
optional: true
- /@swc/core-linux-arm-gnueabihf@1.3.92:
- resolution: {integrity: sha512-tnOCoCpNVXC+0FCfG84PBZJyLlz0Vfj9MQhyhCvlJz9hQmvpf8nTdKH7RHrOn8VfxtUBLdVi80dXgIFgbvl7qA==}
+ /@swc/core-linux-arm-gnueabihf@1.3.93:
+ resolution: {integrity: sha512-OYFMMI2yV+aNe3wMgYhODxHdqUB/jrK0SEMHHS44GZpk8MuBXEF+Mcz4qjkY5Q1EH7KVQqXb/gVWwdgTHpjM2A==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
requiresBuild: true
optional: true
- /@swc/core-linux-arm64-gnu@1.3.92:
- resolution: {integrity: sha512-lFfGhX32w8h1j74Iyz0Wv7JByXIwX11OE9UxG+oT7lG0RyXkF4zKyxP8EoxfLrDXse4Oop434p95e3UNC3IfCw==}
+ /@swc/core-linux-arm64-gnu@1.3.93:
+ resolution: {integrity: sha512-BT4dT78odKnJMNiq5HdjBsv29CiIdcCcImAPxeFqAeFw1LL6gh9nzI8E96oWc+0lVT5lfhoesCk4Qm7J6bty8w==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
optional: true
- /@swc/core-linux-arm64-musl@1.3.92:
- resolution: {integrity: sha512-rOZtRcLj57MSAbiecMsqjzBcZDuaCZ8F6l6JDwGkQ7u1NYR57cqF0QDyU7RKS1Jq27Z/Vg21z5cwqoH5fLN+Sg==}
+ /@swc/core-linux-arm64-musl@1.3.93:
+ resolution: {integrity: sha512-yH5fWEl1bktouC0mhh0Chuxp7HEO4uCtS/ly1Vmf18gs6wZ8DOOkgAEVv2dNKIryy+Na++ljx4Ym7C8tSJTrLw==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
requiresBuild: true
optional: true
- /@swc/core-linux-x64-gnu@1.3.92:
- resolution: {integrity: sha512-qptoMGnBL6v89x/Qpn+l1TH1Y0ed+v0qhNfAEVzZvCvzEMTFXphhlhYbDdpxbzRmCjH6GOGq7Y+xrWt9T1/ARg==}
+ /@swc/core-linux-x64-gnu@1.3.93:
+ resolution: {integrity: sha512-OFUdx64qvrGJhXKEyxosHxgoUVgba2ztYh7BnMiU5hP8lbI8G13W40J0SN3CmFQwPP30+3oEbW7LWzhKEaYjlg==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
requiresBuild: true
optional: true
- /@swc/core-linux-x64-musl@1.3.92:
- resolution: {integrity: sha512-g2KrJ43bZkCZHH4zsIV5ErojuV1OIpUHaEyW1gf7JWKaFBpWYVyubzFPvPkjcxHGLbMsEzO7w/NVfxtGMlFH/Q==}
+ /@swc/core-linux-x64-musl@1.3.93:
+ resolution: {integrity: sha512-4B8lSRwEq1XYm6xhxHhvHmKAS7pUp1Q7E33NQ2TlmFhfKvCOh86qvThcjAOo57x8DRwmpvEVrqvpXtYagMN6Ig==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
requiresBuild: true
optional: true
- /@swc/core-win32-arm64-msvc@1.3.92:
- resolution: {integrity: sha512-3MCRGPAYDoQ8Yyd3WsCMc8eFSyKXY5kQLyg/R5zEqA0uthomo0m0F5/fxAJMZGaSdYkU1DgF73ctOWOf+Z/EzQ==}
+ /@swc/core-win32-arm64-msvc@1.3.93:
+ resolution: {integrity: sha512-BHShlxtkven8ZjjvZ5QR6sC5fZCJ9bMujEkiha6W4cBUTY7ce7qGFyHmQd+iPC85d9kD/0cCiX/Xez8u0BhO7w==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
requiresBuild: true
optional: true
- /@swc/core-win32-ia32-msvc@1.3.92:
- resolution: {integrity: sha512-zqTBKQhgfWm73SVGS8FKhFYDovyRl1f5dTX1IwSKynO0qHkRCqJwauFJv/yevkpJWsI2pFh03xsRs9HncTQKSA==}
+ /@swc/core-win32-ia32-msvc@1.3.93:
+ resolution: {integrity: sha512-nEwNWnz4JzYAK6asVvb92yeylfxMYih7eMQOnT7ZVlZN5ba9WF29xJ6kcQKs9HRH6MvWhz9+wRgv3FcjlU6HYA==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
requiresBuild: true
optional: true
- /@swc/core-win32-x64-msvc@1.3.92:
- resolution: {integrity: sha512-41bE66ddr9o/Fi1FBh0sHdaKdENPTuDpv1IFHxSg0dJyM/jX8LbkjnpdInYXHBxhcLVAPraVRrNsC4SaoPw2Pg==}
+ /@swc/core-win32-x64-msvc@1.3.93:
+ resolution: {integrity: sha512-jibQ0zUr4kwJaQVwgmH+svS04bYTPnPw/ZkNInzxS+wFAtzINBYcU8s2PMWbDb2NGYiRSEeoSGyAvS9H+24JFA==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
requiresBuild: true
optional: true
- /@swc/core@1.3.92:
- resolution: {integrity: sha512-vx0vUrf4YTEw59njOJ46Ha5i0cZTMYdRHQ7KXU29efN1MxcmJH2RajWLPlvQarOP1ab9iv9cApD7SMchDyx2vA==}
+ /@swc/core@1.3.93:
+ resolution: {integrity: sha512-690GRr1wUGmGYZHk7fUduX/JUwViMF2o74mnZYIWEcJaCcd9MQfkhsxPBtjeg6tF+h266/Cf3RPYhsFBzzxXcA==}
engines: {node: '>=10'}
requiresBuild: true
peerDependencies:
@@ -8368,16 +8428,16 @@ packages:
'@swc/counter': 0.1.2
'@swc/types': 0.1.5
optionalDependencies:
- '@swc/core-darwin-arm64': 1.3.92
- '@swc/core-darwin-x64': 1.3.92
- '@swc/core-linux-arm-gnueabihf': 1.3.92
- '@swc/core-linux-arm64-gnu': 1.3.92
- '@swc/core-linux-arm64-musl': 1.3.92
- '@swc/core-linux-x64-gnu': 1.3.92
- '@swc/core-linux-x64-musl': 1.3.92
- '@swc/core-win32-arm64-msvc': 1.3.92
- '@swc/core-win32-ia32-msvc': 1.3.92
- '@swc/core-win32-x64-msvc': 1.3.92
+ '@swc/core-darwin-arm64': 1.3.93
+ '@swc/core-darwin-x64': 1.3.93
+ '@swc/core-linux-arm-gnueabihf': 1.3.93
+ '@swc/core-linux-arm64-gnu': 1.3.93
+ '@swc/core-linux-arm64-musl': 1.3.93
+ '@swc/core-linux-x64-gnu': 1.3.93
+ '@swc/core-linux-x64-musl': 1.3.93
+ '@swc/core-win32-arm64-msvc': 1.3.93
+ '@swc/core-win32-ia32-msvc': 1.3.93
+ '@swc/core-win32-x64-msvc': 1.3.93
/@swc/counter@0.1.2:
resolution: {integrity: sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==}
@@ -8630,12 +8690,6 @@ packages:
resolution: {integrity: sha512-+ZvkforUDGqwU1npZYIMPuszsInIypxL81rFAsCGDs9CRhAEWO6s3rpO+TfJk9mgUgxKNMnSVQa/npPPD4gJXw==}
dev: true
- /@types/cheerio@0.22.32:
- resolution: {integrity: sha512-4RrpCp5ufWTLb6/1RCOjazRhUM6DTD79l763det29n8kLmPB7XeN46cxlUf2GsSF+0g6CbWT5nYl8C/Gs15bdg==}
- dependencies:
- '@types/node': 6.14.13
- dev: true
-
/@types/classnames@2.3.1:
resolution: {integrity: sha512-zeOWb0JGBoVmlQoznvqXbE0tEC/HONsnoUNH19Hc96NFsTAwTXbTqb8FMYkru1F/iqp7a18Ws3nWJvtA1sHD1A==}
deprecated: This is a stub types definition. classnames provides its own type definitions, so you do not need this installed.
@@ -8669,6 +8723,13 @@ packages:
'@types/node': 6.14.13
dev: false
+ /@types/cypress@1.1.3:
+ resolution: {integrity: sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==}
+ deprecated: This is a stub types definition for cypress (https://cypress.io). cypress provides its own type definitions, so you don't need @types/cypress installed!
+ dependencies:
+ cypress: 12.17.4
+ dev: true
+
/@types/d3-array@3.0.8:
resolution: {integrity: sha512-2xAVyAUgaXHX9fubjcCbGAUOqYfRJN1em1EKR2HfzWBpObZhwfnZKvofTN4TplMqJdFQao61I+NVSai/vnBvDQ==}
@@ -8864,13 +8925,6 @@ packages:
resolution: {integrity: sha512-Rk0HKcMXFUuqT32k1kXHZWgxiMvsyYsmlnjp0rLKa0MMoqXLE3T9dogDBTRfuc3SAsXu97KD3k4SKR1lHqd57w==}
dev: false
- /@types/enzyme@3.10.14:
- resolution: {integrity: sha512-JeTG2MNUX1bH2DqccwUe3SuPoLu+kUz5UgR3Tvl9nBdfNj7rBZscytctSjEatd5Ul9GXXGKaQBaxODIgJYVRqA==}
- dependencies:
- '@types/cheerio': 0.22.32
- '@types/react': 17.0.68
- dev: true
-
/@types/escodegen@0.0.6:
resolution: {integrity: sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig==}
@@ -10261,11 +10315,13 @@ packages:
/arr-flatten@1.1.0:
resolution: {integrity: sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/arr-union@3.1.0:
resolution: {integrity: sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/array-buffer-byte-length@1.0.0:
@@ -10498,6 +10554,7 @@ packages:
resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==}
engines: {node: '>= 4.5.0'}
hasBin: true
+ requiresBuild: true
dev: true
/autoprefixer@10.4.16(postcss@8.4.31):
@@ -10594,7 +10651,7 @@ packages:
loader-utils: 2.0.4
make-dir: 3.1.0
schema-utils: 2.7.1
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
dev: true
/babel-loader@9.1.3(@babel/core@7.23.2)(webpack@5.88.2):
@@ -10806,6 +10863,7 @@ packages:
/base@0.11.2:
resolution: {integrity: sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
cache-base: 1.0.1
class-utils: 0.3.6
@@ -11130,7 +11188,7 @@ packages:
hasBin: true
dependencies:
caniuse-lite: 1.0.30001547
- electron-to-chromium: 1.4.552
+ electron-to-chromium: 1.4.553
node-releases: 2.0.13
update-browserslist-db: 1.0.13(browserslist@4.22.1)
@@ -11259,6 +11317,7 @@ packages:
/cache-base@1.0.1:
resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
collection-visit: 1.0.0
component-emitter: 1.3.0
@@ -11374,7 +11433,7 @@ packages:
check-error: 1.0.3
deep-eql: 4.1.3
get-func-name: 2.0.2
- loupe: 2.3.6
+ loupe: 2.3.7
pathval: 1.1.1
type-detect: 4.0.8
dev: true
@@ -11525,6 +11584,7 @@ packages:
/class-utils@0.3.6:
resolution: {integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
arr-union: 3.1.0
define-property: 0.2.5
@@ -11702,6 +11762,7 @@ packages:
/collection-visit@1.0.0:
resolution: {integrity: sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
map-visit: 1.0.0
object-visit: 1.0.1
@@ -11971,6 +12032,7 @@ packages:
/copy-descriptor@0.1.1:
resolution: {integrity: sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/copy-to-clipboard@3.3.3:
@@ -12266,7 +12328,7 @@ packages:
postcss-value-parser: 4.2.0
schema-utils: 2.7.1
semver: 7.5.4
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/css-loader@6.8.1(webpack@5.88.2):
resolution: {integrity: sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==}
@@ -12282,7 +12344,7 @@ packages:
postcss-modules-values: 4.0.0(postcss@8.4.31)
postcss-value-parser: 4.2.0
semver: 7.5.4
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/css-minimizer-webpack-plugin@4.2.2(webpack@5.88.2):
resolution: {integrity: sha512-s3Of/4jKfw1Hj9CxEO1E5oXhQAxlayuHO2y/ML+C6I9sQ7FdzfEV6QgMLN3vI+qFsjJGIAFLKtQK7t8BOXAIyA==}
@@ -12931,6 +12993,7 @@ packages:
/decode-uri-component@0.2.2:
resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==}
engines: {node: '>=0.10'}
+ requiresBuild: true
dev: true
/dedent@0.7.0:
@@ -13018,8 +13081,8 @@ packages:
dependencies:
clone: 1.0.4
- /define-data-property@1.1.0:
- resolution: {integrity: sha512-UzGwzcjyv3OtAvolTj1GoyNYzfFR+iqbGjcnBEENZVCpM4/Ng1yhGNvS3lR/xDS74Tb2wGG9WzNSNIOS9UVb2g==}
+ /define-data-property@1.1.1:
+ resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==}
engines: {node: '>= 0.4'}
dependencies:
get-intrinsic: 1.2.1
@@ -13039,7 +13102,7 @@ packages:
resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}
engines: {node: '>= 0.4'}
dependencies:
- define-data-property: 1.1.0
+ define-data-property: 1.1.1
has-property-descriptors: 1.0.0
object-keys: 1.1.1
@@ -13401,8 +13464,8 @@ packages:
jake: 10.8.7
dev: false
- /electron-to-chromium@1.4.552:
- resolution: {integrity: sha512-qMPzA5TEuOAbLFmbpNvO4qkBRe2B5dAxl6H4KxqRNy9cvBeHT2EyzecX0bumBfRhHN8cQJrx6NPd0AAoCCPKQw==}
+ /electron-to-chromium@1.4.553:
+ resolution: {integrity: sha512-HiRdtyKS2+VhiXvjhMvvxiMC33FJJqTA5EB2YHgFZW6v7HkK4Q9Ahv2V7O2ZPgAjw+MyCJVMQvigj13H8t+wvA==}
/elliptic@6.5.4:
resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==}
@@ -14610,6 +14673,7 @@ packages:
/fill-range@4.0.0:
resolution: {integrity: sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
extend-shallow: 2.0.1
is-number: 3.0.0
@@ -14765,6 +14829,7 @@ packages:
/for-in@1.0.2:
resolution: {integrity: sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/foreground-child@2.0.0:
@@ -15136,6 +15201,7 @@ packages:
/get-value@2.0.6:
resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/getos@3.2.1:
@@ -15432,6 +15498,7 @@ packages:
/has-value@0.3.1:
resolution: {integrity: sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
get-value: 2.0.6
has-values: 0.1.4
@@ -15441,6 +15508,7 @@ packages:
/has-value@1.0.0:
resolution: {integrity: sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
get-value: 2.0.6
has-values: 1.0.0
@@ -15450,11 +15518,13 @@ packages:
/has-values@0.1.4:
resolution: {integrity: sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/has-values@1.0.0:
resolution: {integrity: sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
is-number: 3.0.0
kind-of: 4.0.0
@@ -16215,6 +16285,7 @@ packages:
/is-buffer@1.1.6:
resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
+ requiresBuild: true
dev: true
/is-buffer@2.0.5:
@@ -16302,6 +16373,7 @@ packages:
/is-extendable@0.1.1:
resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/is-extendable@1.0.1:
@@ -16429,6 +16501,7 @@ packages:
/is-number@3.0.0:
resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
kind-of: 3.2.2
dev: true
@@ -16606,6 +16679,7 @@ packages:
/isobject@2.1.0:
resolution: {integrity: sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
isarray: 1.0.0
dev: true
@@ -17518,6 +17592,7 @@ packages:
/kind-of@4.0.0:
resolution: {integrity: sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
is-buffer: 1.1.6
dev: true
@@ -17901,8 +17976,8 @@ packages:
dependencies:
js-tokens: 4.0.0
- /loupe@2.3.6:
- resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
+ /loupe@2.3.7:
+ resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==}
dependencies:
get-func-name: 2.0.2
dev: true
@@ -18023,6 +18098,7 @@ packages:
/map-visit@1.0.0:
resolution: {integrity: sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
object-visit: 1.0.1
dev: true
@@ -18464,6 +18540,7 @@ packages:
/mixin-deep@1.3.2:
resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
for-in: 1.0.2
is-extendable: 1.0.1
@@ -18809,6 +18886,7 @@ packages:
/normalize-path@2.1.1:
resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
remove-trailing-separator: 1.1.0
dev: true
@@ -18891,6 +18969,7 @@ packages:
/object-copy@0.1.0:
resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
copy-descriptor: 0.1.1
define-property: 0.2.5
@@ -18919,6 +18998,7 @@ packages:
/object-visit@1.0.1:
resolution: {integrity: sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
isobject: 3.0.1
dev: true
@@ -19280,6 +19360,7 @@ packages:
/pascalcase@0.1.1:
resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/path-browserify@0.0.1:
@@ -21734,6 +21815,7 @@ packages:
/repeat-element@1.1.4:
resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/repeat-string@1.6.1:
@@ -21825,6 +21907,7 @@ packages:
/resolve-url@0.2.1:
resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==}
deprecated: https://github.com/lydell/resolve-url#deprecated
+ requiresBuild: true
dev: true
/resolve.exports@2.0.2:
@@ -22069,7 +22152,7 @@ packages:
optional: true
dependencies:
neo-async: 2.6.2
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/sass@1.69.3:
resolution: {integrity: sha512-X99+a2iGdXkdWn1akFPs0ZmelUzyAQfvqYc2P/MPTrJRuIRoTffGzT9W9nFqG00S+c8hXzVmgxhUuHFdrwxkhQ==}
@@ -22160,8 +22243,8 @@ packages:
requiresBuild: true
optional: true
- /search-insights@2.8.3:
- resolution: {integrity: sha512-W9rZfQ9XEfF0O6ntgQOTI7Txc8nkZrO4eJ/pTHK0Br6wWND2sPGPoWg+yGhdIW7wMbLqk8dc23IyEtLlNGpeNw==}
+ /search-insights@2.9.0:
+ resolution: {integrity: sha512-bkWW9nIHOFkLwjQ1xqVaMbjjO5vhP26ERsH9Y3pKr8imthofEFIxlnOabkmGcw6ksRj9jWidcI65vvjJH/nTGg==}
dev: false
/section-iterator@2.0.0:
@@ -22300,7 +22383,7 @@ packages:
resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==}
engines: {node: '>= 0.4'}
dependencies:
- define-data-property: 1.1.0
+ define-data-property: 1.1.1
functions-have-names: 1.2.3
has-property-descriptors: 1.0.0
@@ -22311,6 +22394,7 @@ packages:
/set-value@2.0.1:
resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
extend-shallow: 2.0.1
is-extendable: 0.1.1
@@ -22496,6 +22580,7 @@ packages:
/snapdragon-node@2.1.1:
resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
define-property: 1.0.0
isobject: 3.0.1
@@ -22505,6 +22590,7 @@ packages:
/snapdragon-util@3.0.1:
resolution: {integrity: sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
kind-of: 3.2.2
dev: true
@@ -22629,6 +22715,7 @@ packages:
/source-map-resolve@0.5.3:
resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==}
deprecated: See https://github.com/lydell/source-map-resolve#deprecated
+ requiresBuild: true
dependencies:
atob: 2.1.2
decode-uri-component: 0.2.2
@@ -22652,6 +22739,7 @@ packages:
/source-map-url@0.4.1:
resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==}
deprecated: See https://github.com/lydell/source-map-url#deprecated
+ requiresBuild: true
dev: true
/source-map@0.5.6:
@@ -22743,6 +22831,7 @@ packages:
/split-string@3.1.0:
resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
extend-shallow: 3.0.2
dev: true
@@ -22822,6 +22911,7 @@ packages:
/static-extend@0.1.2:
resolution: {integrity: sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
define-property: 0.2.5
object-copy: 0.1.0
@@ -23121,7 +23211,7 @@ packages:
peerDependencies:
webpack: ^5.0.0
dependencies:
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/style-search@0.1.0:
resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==}
@@ -23403,14 +23493,14 @@ packages:
resolution: {integrity: sha512-OIWR6bKzXvdXYyO4DK/UWa1VA1JeKq8E+0ug2DG98Y/vOmMpfZNj+TIG988HjfYSqtcy/hFOtZq/n/j5GSESNg==}
dev: true
- /swc-loader@0.2.3(@swc/core@1.3.92)(webpack@5.88.2):
+ /swc-loader@0.2.3(@swc/core@1.3.93)(webpack@5.88.2):
resolution: {integrity: sha512-D1p6XXURfSPleZZA/Lipb3A8pZ17fP4NObZvFCDjK/OKljroqDpPmsBdTraWhVBqUNpcWBQY1imWdoPScRlQ7A==}
peerDependencies:
'@swc/core': ^1.2.147
webpack: '>=2'
dependencies:
- '@swc/core': 1.3.92
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ '@swc/core': 1.3.93
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/symbol-tree@3.2.4:
resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
@@ -23572,7 +23662,7 @@ packages:
worker-farm: 1.7.0
dev: true
- /terser-webpack-plugin@5.3.9(@swc/core@1.3.92)(esbuild@0.18.20)(webpack@5.88.2):
+ /terser-webpack-plugin@5.3.9(@swc/core@1.3.93)(esbuild@0.18.20)(webpack@5.88.2):
resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==}
engines: {node: '>= 10.13.0'}
peerDependencies:
@@ -23589,13 +23679,13 @@ packages:
optional: true
dependencies:
'@jridgewell/trace-mapping': 0.3.19
- '@swc/core': 1.3.92
+ '@swc/core': 1.3.93
esbuild: 0.18.20
jest-worker: 27.5.1
schema-utils: 3.3.0
serialize-javascript: 6.0.1
terser: 5.21.0
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/terser-webpack-plugin@5.3.9(esbuild@0.18.20)(webpack@5.88.2):
resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==}
@@ -23760,6 +23850,7 @@ packages:
/to-object-path@0.3.0:
resolution: {integrity: sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
kind-of: 3.2.2
dev: true
@@ -23767,6 +23858,7 @@ packages:
/to-regex-range@2.1.1:
resolution: {integrity: sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
is-number: 3.0.0
repeat-string: 1.6.1
@@ -24191,6 +24283,7 @@ packages:
/union-value@1.0.1:
resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
arr-union: 3.1.0
get-value: 2.0.6
@@ -24311,6 +24404,7 @@ packages:
/unset-value@1.0.0:
resolution: {integrity: sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
has-value: 0.3.1
isobject: 3.0.1
@@ -24345,6 +24439,7 @@ packages:
/urix@0.1.0:
resolution: {integrity: sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==}
deprecated: Please see https://github.com/lydell/urix#deprecated
+ requiresBuild: true
dev: true
/url-join@4.0.1:
@@ -24437,6 +24532,7 @@ packages:
/use@3.1.1:
resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dev: true
/util-deprecate@1.0.2:
@@ -24854,7 +24950,7 @@ packages:
mime-types: 2.1.35
range-parser: 1.2.1
schema-utils: 4.2.0
- webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.18.20)
+ webpack: 5.88.2(@swc/core@1.3.93)(esbuild@0.18.20)
/webpack-dev-server@4.15.1(webpack-cli@4.10.0)(webpack@5.88.2):
resolution: {integrity: sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA==}
@@ -24994,7 +25090,7 @@ packages:
- supports-color
dev: true
- /webpack@5.88.2(@swc/core@1.3.92)(esbuild@0.18.20):
+ /webpack@5.88.2(@swc/core@1.3.93)(esbuild@0.18.20):
resolution: {integrity: sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==}
engines: {node: '>=10.13.0'}
hasBin: true
@@ -25025,7 +25121,7 @@ packages:
neo-async: 2.6.2
schema-utils: 3.3.0
tapable: 2.2.1
- terser-webpack-plugin: 5.3.9(@swc/core@1.3.92)(esbuild@0.18.20)(webpack@5.88.2)
+ terser-webpack-plugin: 5.3.9(@swc/core@1.3.93)(esbuild@0.18.20)(webpack@5.88.2)
watchpack: 2.4.0
webpack-sources: 3.2.3
transitivePeerDependencies:
diff --git a/tools/babel-plugin-import-d3/package.json b/tools/babel-plugin-import-d3/package.json
index 71c7b2abe4a..b2136a33c7a 100644
--- a/tools/babel-plugin-import-d3/package.json
+++ b/tools/babel-plugin-import-d3/package.json
@@ -22,7 +22,8 @@
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.22.20",
"babel-jest": "^29.7.0",
- "babel-plugin-tester": "^10.1.0"
+ "babel-plugin-tester": "^10.1.0",
+ "jest": "^29.7.0"
},
"jest": {
"transform": {
diff --git a/tools/babel-plugin-import-from-lib/package.json b/tools/babel-plugin-import-from-lib/package.json
index 3525144f52c..b608e911821 100644
--- a/tools/babel-plugin-import-from-lib/package.json
+++ b/tools/babel-plugin-import-from-lib/package.json
@@ -17,6 +17,7 @@
},
"devDependencies": {
"@talend/scripts-core": "^15.0.0",
- "babel-plugin-tester": "^10.1.0"
+ "babel-plugin-tester": "^10.1.0",
+ "jest": "^29.7.0"
}
}
diff --git a/tools/cmf-webpack-plugin/.babelrc.json b/tools/cmf-webpack-plugin/.babelrc.json
index 1d6655372aa..abd323e11de 100644
--- a/tools/cmf-webpack-plugin/.babelrc.json
+++ b/tools/cmf-webpack-plugin/.babelrc.json
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/tools/cmf-webpack-plugin/package.json b/tools/cmf-webpack-plugin/package.json
index ee630afbc58..e7d67868b24 100644
--- a/tools/cmf-webpack-plugin/package.json
+++ b/tools/cmf-webpack-plugin/package.json
@@ -4,7 +4,7 @@
"main": "src/index.js",
"mainSrc": "src/index.js",
"scripts": {
- "lint": "talend-scripts lint",
+ "lint": "echo \"Not possible to use talend-scripts here (risk of circular dependency)\" && exit 0",
"test": "echo nothing to test yet in @talend/react-cmf-webpack-plugin"
},
"repository": {
diff --git a/tools/scripts-build-cdn/build.js b/tools/scripts-build-cdn/build.js
index e2bed28478f..cabb7d47b28 100755
--- a/tools/scripts-build-cdn/build.js
+++ b/tools/scripts-build-cdn/build.js
@@ -60,10 +60,7 @@ async function main(args) {
const patchPath = `${__dirname}/patch/${packageName}/${version}`;
const UMDFileName = packageCdnConfig.path.replace(`/${TARGET}/`, '');
- if (
- fs.existsSync(`${packagePath}/${version}/${TARGET}/${UMDFileName}`) &&
- !program.force
- ) {
+ if (fs.existsSync(`${packagePath}/${version}/${TARGET}/${UMDFileName}`) && !program.force) {
await cleanup(packagePath, version);
continue;
}
@@ -73,7 +70,7 @@ async function main(args) {
}
const devDependencies = {
- 'd3': '^6.5.0' // so we can support d3-x babel plugin
+ d3: '^6.5.0', // so we can support d3-x babel plugin
};
if (packageName.includes('react') || packageName.includes('rc-')) {
@@ -129,7 +126,7 @@ module.exports = {
{
test: /\.js$/,
use: {
- loader: 'babel-loader',
+ loader: require.resolve('babel-loader'),
options: {
plugins: ['@talend/babel-plugin-import-d3']
}
@@ -156,7 +153,7 @@ module.exports = {
`${packagePath}/${version}/webpack.index.js`,
`export { default } from '${packageName}';
export * from '${packageName}';
- `
+ `,
);
}
@@ -167,7 +164,9 @@ module.exports = {
console.error(error);
return;
}
- const info = require(`${process.cwd()}/${packagePath}/${version}/node_modules/${packageName}/package.json`);
+ const info = require(
+ `${process.cwd()}/${packagePath}/${version}/node_modules/${packageName}/package.json`,
+ );
if (info.peerDependencies) {
pjson.devDependencies = Object.keys(info.peerDependencies).reduce((acc, key) => {
acc[key] = info.peerDependencies[key];
diff --git a/tools/scripts-cmf/package.json b/tools/scripts-cmf/package.json
index a66c74234ef..70097bd6c22 100644
--- a/tools/scripts-cmf/package.json
+++ b/tools/scripts-cmf/package.json
@@ -10,7 +10,7 @@
"cmf-settings": "./cmf-settings.js"
},
"scripts": {
- "lint": "talend-scripts lint ./"
+ "lint": "echo \"Not possible to use talend-scripts here (risk of circular dependency)\" && exit 0"
},
"dependencies": {
"i18next": "^20.6.1",
@@ -19,9 +19,6 @@
"lodash": "^4.17.21",
"mkdirp": "^1.0.4"
},
- "devDependencies": {
- "@talend/scripts-core": "^15.0.0"
- },
"repository": {
"type": "git",
"url": "https://github.com/Talend/ui.git"
diff --git a/tools/scripts-config-babel/.babelrc.json b/tools/scripts-config-babel/.babelrc.json
deleted file mode 100644
index f6748ec496e..00000000000
--- a/tools/scripts-config-babel/.babelrc.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "presets": [
- [
- "@babel/preset-env",
- {
- "targets": "last 1 year, not ie > 0, not samsung > 0, not opera > 0, not ios > 0, not op_mob > 0, not android > 0, not and_chr > 0, not and_ff > 0, not and_qq > 0"
- }
- ],
- ["@babel/preset-react", { "runtime": "automatic" }],
- ["@babel/preset-typescript", { "allExtensions": true, "isTSX": true }]
- ],
- "plugins": [
- "@talend/babel-plugin-import-from-index",
- "@talend/babel-plugin-assets-api",
- "@babel/plugin-proposal-nullish-coalescing-operator",
- "@babel/plugin-proposal-class-properties",
- "@babel/plugin-proposal-export-default-from",
- "@babel/plugin-proposal-export-namespace-from",
- "@babel/plugin-transform-object-assign",
- "@babel/plugin-proposal-optional-chaining",
- ["angularjs-annotate", { "explicitOnly": true }]
- ]
-}
diff --git a/tools/scripts-config-babel/CHANGELOG.md b/tools/scripts-config-babel/CHANGELOG.md
index 14f9ae8a7f1..077f6dd3345 100644
--- a/tools/scripts-config-babel/CHANGELOG.md
+++ b/tools/scripts-config-babel/CHANGELOG.md
@@ -16,7 +16,7 @@
```diff
{
- - "extends": "@talend/scripts-config-babel/.babelrc.json"
+ - "extends": "@talend/scripts-config-babel/babel.config.js"
+ "extends": "@talend/scripts-config-babel"
}
```
diff --git a/tools/scripts-config-babel/babel-resolver.js b/tools/scripts-config-babel/babel-resolver.js
index 5b81218fc3d..48aac5c187a 100644
--- a/tools/scripts-config-babel/babel-resolver.js
+++ b/tools/scripts-config-babel/babel-resolver.js
@@ -3,7 +3,7 @@ const fs = require('fs');
function checkBabelJsonExtension(babelConfigJsonPath) {
const babelrc = JSON.parse(fs.readFileSync(babelConfigJsonPath, 'utf8'));
- const babelrcExtends = '@talend/scripts-config-babel/.babelrc.json';
+ const babelrcExtends = '@talend/scripts-config-babel/babel.config.js';
if (babelrc.extends !== babelrcExtends) {
throw new Error(`
You have your own babelrc. Please extends our babelrc:
@@ -16,7 +16,7 @@ function getBabelConfigPath() {
const userBabelrc = path.join(process.cwd(), '.babelrc');
const userBabelrcJson = path.join(process.cwd(), '.babelrc.json');
const userBabelJs = path.join(process.cwd(), 'babel.config.js');
- const defaultBabelrc = path.join(__dirname, '.babelrc.json');
+ const defaultBabelrc = path.join(__dirname, 'babel.config.js');
if (fs.existsSync(userBabelrc)) {
checkBabelJsonExtension(userBabelrc);
diff --git a/tools/scripts-config-babel/babel.config.js b/tools/scripts-config-babel/babel.config.js
new file mode 100644
index 00000000000..cb50ab45d67
--- /dev/null
+++ b/tools/scripts-config-babel/babel.config.js
@@ -0,0 +1,24 @@
+module.exports = {
+ presets: [
+ [
+ require.resolve('@babel/preset-env'),
+ {
+ targets:
+ 'last 1 year, not ie > 0, not samsung > 0, not opera > 0, not ios > 0, not op_mob > 0, not android > 0, not and_chr > 0, not and_ff > 0, not and_qq > 0',
+ },
+ ],
+ [require.resolve('@babel/preset-react'), { runtime: 'automatic' }],
+ [require.resolve('@babel/preset-typescript'), { allExtensions: true, isTSX: true }],
+ ],
+ plugins: [
+ require.resolve('@talend/babel-plugin-import-from-index'),
+ require.resolve('@talend/babel-plugin-assets-api'),
+ require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'),
+ require.resolve('@babel/plugin-proposal-class-properties'),
+ require.resolve('@babel/plugin-proposal-export-default-from'),
+ require.resolve('@babel/plugin-proposal-export-namespace-from'),
+ require.resolve('@babel/plugin-transform-object-assign'),
+ require.resolve('@babel/plugin-proposal-optional-chaining'),
+ [require.resolve('babel-plugin-angularjs-annotate'), { explicitOnly: true }],
+ ],
+};
diff --git a/tools/scripts-config-babel/index.js b/tools/scripts-config-babel/index.js
index 9e314debedd..b76123ca373 100644
--- a/tools/scripts-config-babel/index.js
+++ b/tools/scripts-config-babel/index.js
@@ -1 +1 @@
-module.exports = require('./.babelrc.json');
+module.exports = require('./babel.config');
diff --git a/tools/scripts-config-babel/package.json b/tools/scripts-config-babel/package.json
index 4766c3349c4..54325e1fe1b 100644
--- a/tools/scripts-config-babel/package.json
+++ b/tools/scripts-config-babel/package.json
@@ -30,6 +30,7 @@
"@babel/preset-typescript": "^7.22.15",
"@talend/babel-plugin-assets-api": "^1.1.0",
"@talend/babel-plugin-import-from-index": "^1.5.1",
+ "jest": "^29.7.0",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-angularjs-annotate": "^0.10.0"
},
diff --git a/tools/scripts-config-babel/test/nullish.test.js b/tools/scripts-config-babel/test/nullish.test.js
index 4e494e3c8dc..0b9ab3f87c0 100644
--- a/tools/scripts-config-babel/test/nullish.test.js
+++ b/tools/scripts-config-babel/test/nullish.test.js
@@ -1,5 +1,5 @@
const babel = require('@babel/core');
-const options = require('../.babelrc.json');
+const options = require('../babel.config');
describe('@babel/plugin-syntax-nullish-coalescing-operator is installed', () => {
it('should transpile nullish', () => {
diff --git a/tools/scripts-config-cdn/cdn.js b/tools/scripts-config-cdn/cdn.js
index 05287c0a0a1..ab18a48bae0 100644
--- a/tools/scripts-config-cdn/cdn.js
+++ b/tools/scripts-config-cdn/cdn.js
@@ -169,6 +169,9 @@ function getModulesFromLockFile(dir) {
const json = yaml.load(fs.readFileSync(lockTypeMap.pnpm.path, 'utf-8'));
infos = Object.keys(json.packages)
.map(moduleAndversion => {
+ if (moduleAndversion.startsWith('file:')) {
+ return null;
+ }
const moduleName = getModuleName(moduleAndversion, true);
return moduleToCdn(moduleName, getModuleVersion(moduleAndversion, true), {
env: 'development',
diff --git a/tools/scripts-config-eslint/package.json b/tools/scripts-config-eslint/package.json
index 9081117c81d..1c117a2255e 100644
--- a/tools/scripts-config-eslint/package.json
+++ b/tools/scripts-config-eslint/package.json
@@ -37,6 +37,9 @@
"eslint-plugin-storybook": "^0.5.13",
"eslint-plugin-testing-library": "^5.11.1"
},
+ "devDependencies": {
+ "jest": "^29.7.0"
+ },
"publishConfig": {
"access": "public"
}
diff --git a/tools/scripts-config-jest/package.json b/tools/scripts-config-jest/package.json
index e0d1444f4aa..a0aa00b024a 100644
--- a/tools/scripts-config-jest/package.json
+++ b/tools/scripts-config-jest/package.json
@@ -18,7 +18,8 @@
"test": "jest"
},
"peerDependencies": {
- "react": ">= 16.14.0"
+ "react": ">= 16.14.0",
+ "@talend/design-system": "^7.15.1"
},
"dependencies": {
"@talend/scripts-config-babel": "^13.0.0",
diff --git a/tools/scripts-config-jest/test-setup.js b/tools/scripts-config-jest/test-setup.js
index d805d2d8a6f..edc753be218 100644
--- a/tools/scripts-config-jest/test-setup.js
+++ b/tools/scripts-config-jest/test-setup.js
@@ -2,6 +2,7 @@
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable @typescript-eslint/no-var-requires */
require('@testing-library/jest-dom');
+require('@testing-library/jest-dom/extend-expect');
require('core-js/stable');
require('regenerator-runtime/runtime');
require('raf/polyfill');
@@ -170,7 +171,9 @@ try {
Array.isArray(children) ? renderNodes(children) : renderNodes([children]),
};
});
-} catch (e) {}
+} catch (e) {
+ console.warn('JEST MOCK ERROR: i18next not resolved');
+}
try {
jest.mock('@talend/design-system', () => {
@@ -227,7 +230,9 @@ try {
return mocks;
});
-} catch {}
+} catch {
+ console.warn('JEST MOCK ERROR: @talend/design-system not resolved');
+}
try {
// in the case we unmock design-system we don't want id to be random
@@ -235,4 +240,6 @@ try {
...jest.requireActual('reakit/lib/Id/IdProvider'),
unstable_IdContext: jest.requireActual('react').createContext(() => 'id-42'),
}));
-} catch {}
+} catch {
+ console.warn('JEST MOCK ERROR: reakit/lib/Id/IdProvider not resolved');
+}
diff --git a/tools/scripts-config-react-webpack/config/inject.js b/tools/scripts-config-react-webpack/config/inject.js
index a90a2bea503..7a0ef24e226 100644
--- a/tools/scripts-config-react-webpack/config/inject.js
+++ b/tools/scripts-config-react-webpack/config/inject.js
@@ -1,7 +1,7 @@
const babel = require('@babel/core');
const fs = require('fs');
const path = require('path');
-const defaultOptions = require('@talend/scripts-config-babel/.babelrc.json');
+const defaultOptions = require('@talend/scripts-config-babel/babel.config.js');
const { minify } = require('terser');
// terser.minify is an async function, we use deasync to make it used as synced function within webpack
diff --git a/tools/scripts-config-react-webpack/config/webpack.config.common.js b/tools/scripts-config-react-webpack/config/webpack.config.common.js
index 77d9917e5d2..18b78c1e0a9 100644
--- a/tools/scripts-config-react-webpack/config/webpack.config.common.js
+++ b/tools/scripts-config-react-webpack/config/webpack.config.common.js
@@ -39,12 +39,14 @@ function getCommonStyleLoaders(enableModules, isEnvDevelopmentServe) {
importLoaders: 1,
};
}
- const styleLoader = isEnvDevelopmentServe ? 'style-loader' : MiniCssExtractPlugin.loader;
+ const styleLoader = isEnvDevelopmentServe
+ ? require.resolve('style-loader')
+ : MiniCssExtractPlugin.loader;
return [
{ loader: styleLoader, options: { esModule: false } },
- { loader: 'css-loader', options: cssOptions },
+ { loader: require.resolve('css-loader'), options: cssOptions },
{
- loader: 'postcss-loader',
+ loader: require.resolve('postcss-loader'),
options: {
postcssOptions: {
plugins: ['autoprefixer'],
@@ -58,7 +60,7 @@ function getCommonStyleLoaders(enableModules, isEnvDevelopmentServe) {
function getJSAndTSLoader() {
return [
{
- loader: 'babel-loader',
+ loader: require.resolve('babel-loader'),
options: getBabelLoaderOptions(babelConfig),
},
].filter(Boolean);
@@ -67,9 +69,9 @@ function getJSAndTSLoader() {
function getSassLoaders(enableModules, sassData, isEnvDevelopmentServe) {
const sourceMap = true;
return getCommonStyleLoaders(enableModules, isEnvDevelopmentServe).concat(
- { loader: 'resolve-url-loader', options: { sourceMap } },
+ { loader: require.resolve('resolve-url-loader'), options: { sourceMap } },
{
- loader: 'sass-loader',
+ loader: require.resolve('sass-loader'),
options: { sourceMap, additionalData: sassData },
},
);
diff --git a/tools/scripts-config-react-webpack/package.json b/tools/scripts-config-react-webpack/package.json
index 20a164d4c5a..fd176f5c43c 100644
--- a/tools/scripts-config-react-webpack/package.json
+++ b/tools/scripts-config-react-webpack/package.json
@@ -14,7 +14,7 @@
"url": "https://github.com/Talend/ui.git"
},
"scripts": {
- "lint": "talend-scripts lint ./",
+ "lint": "echo \"Not possible to use talend-scripts here (risk of circular dependency)\" && exit 0",
"test": "echo \"Nothing to test\""
},
"dependencies": {
diff --git a/tools/scripts-core/__tests__/index.test.js b/tools/scripts-core/__tests__/index.test.js
index b17fd25971b..ca6d3bb2a19 100644
--- a/tools/scripts-core/__tests__/index.test.js
+++ b/tools/scripts-core/__tests__/index.test.js
@@ -33,7 +33,7 @@ describe('talend-scripts', () => {
expect(logs).toContain('Talend scripts mode : production');
expect(logs).toContain('Talend scripts configuration file found and loaded');
expect(logs).toContain('RUN ------------');
- expect(output.stderr.toString()).toBe('');
+ expect(output.stderr.toString()).toContain('');
fs.existsSync(path.join(tmp, 'dist', 'TalendTestScriptsCore.min.js'));
fs.existsSync(path.join(tmp, 'dist', 'TalendTestScriptsCore.min.js.dependencies.json'));
fs.existsSync(path.join(tmp, 'dist', 'TalendTestScriptsCore.min.js.map'));
diff --git a/tools/scripts-core/package.json b/tools/scripts-core/package.json
index 25101ab5989..1f900a0d857 100644
--- a/tools/scripts-core/package.json
+++ b/tools/scripts-core/package.json
@@ -44,6 +44,7 @@
"@talend/scripts-config-typescript": "^11.1.0",
"babel-loader": "^9.1.3",
"jest": "^29.7.0",
+ "jest-cli": "^29.7.0",
"cpx2": "^3.0.2",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
diff --git a/tools/scripts-core/src/scripts/build-lib-umd.js b/tools/scripts-core/src/scripts/build-lib-umd.js
index ac29be0bc60..313907152b7 100644
--- a/tools/scripts-core/src/scripts/build-lib-umd.js
+++ b/tools/scripts-core/src/scripts/build-lib-umd.js
@@ -13,7 +13,6 @@ async function buildUMD(env, presetApi, options = []) {
}
export default async function build(env, presetApi, options) {
- utils.pkg.checkPackageIsInstalled('@talend/scripts-config-react-webpack');
const packageJSON = JSON.parse(fs.readFileSync(getUserConfigFile(['package.json'])));
const UMDName = packageJSON.name
.replace(/[^a-zA-Z0-9]/g, ' ')
diff --git a/tools/scripts-core/src/scripts/build-lib.js b/tools/scripts-core/src/scripts/build-lib.js
index 5c8f0dfbc09..87c534465da 100755
--- a/tools/scripts-core/src/scripts/build-lib.js
+++ b/tools/scripts-core/src/scripts/build-lib.js
@@ -2,6 +2,7 @@
import fs from 'fs';
import path from 'path';
import rimraf from 'rimraf';
+import { fileURLToPath } from 'url';
import cpx from 'cpx2';
import * as utils from '@talend/scripts-utils';
@@ -22,11 +23,15 @@ export default async function build(env, presetApi, unsafeOptions) {
return true;
});
- const babelRootPath = utils.path.getPkgRootPath('@talend/scripts-config-babel');
- const tsRootPath = utils.path.getPkgRootPath('@talend/scripts-config-typescript');
+ const babelRootPath = path.dirname(
+ fileURLToPath(import.meta.resolve('@talend/scripts-config-babel')),
+ );
+ const tsRootPath = path.dirname(
+ fileURLToPath(import.meta.resolve('@talend/scripts-config-typescript')),
+ );
const babelConfigPath =
getUserConfigFile(['.babelrc', '.babelrc.json', 'babel.config.js']) ||
- path.join(babelRootPath, '.babelrc.json');
+ path.join(babelRootPath, 'babel.config.js');
const tscConfigPath =
getUserConfigFile(['tsconfig.build.json', 'tsconfig.json']) ||
path.join(tsRootPath, 'tsconfig.json');
diff --git a/tools/scripts-core/src/scripts/build.js b/tools/scripts-core/src/scripts/build.js
index dae68614898..8ca8a516751 100755
--- a/tools/scripts-core/src/scripts/build.js
+++ b/tools/scripts-core/src/scripts/build.js
@@ -6,7 +6,6 @@ import buildUMD from './build-lib-umd.js';
export default async function build(env, _, options) {
const packageType = utils.pkg.getPackageType();
if (packageType.isApp) {
- utils.pkg.checkPackageIsInstalled('@talend/scripts-config-react-webpack');
const webpack = utils.path.resolveBin('webpack');
return utils.process.spawn(
webpack,
@@ -25,7 +24,6 @@ export default async function build(env, _, options) {
if (packageType.isLib) {
// detect UMD here
if (options.includes('--umd')) {
- utils.pkg.checkPackageIsInstalled('@talend/scripts-config-react-webpack');
return buildUMD(
env,
_,
diff --git a/tools/scripts-core/src/scripts/extends.js b/tools/scripts-core/src/scripts/extends.js
index 896d7540ff5..62c4f0ec065 100755
--- a/tools/scripts-core/src/scripts/extends.js
+++ b/tools/scripts-core/src/scripts/extends.js
@@ -131,10 +131,10 @@ export default async function extend() {
generateConfigFile({
configFileNames: ['.babelrc', '.babelrc.json', 'babel.config.js'],
- defaultConfigFilePath: path.join(rootPath, '.babelrc.json'),
+ defaultConfigFilePath: path.join(rootPath, 'babel.config.js'),
generateContent() {
const configPath = utils.path.getPkgRootPath('@talend/scripts-config-babel');
- const presetConfigPath = path.join(configPath, '.babelrc.json');
+ const presetConfigPath = path.join(configPath, 'babel.config.js');
const presetConfigRelativePath = path.relative(nodeModulesPath, presetConfigPath);
return babelExtendsTemplate({ presetConfigRelativePath });
},
diff --git a/tools/scripts-core/src/scripts/start.js b/tools/scripts-core/src/scripts/start.js
index e17d1e61d32..947f2a848d8 100755
--- a/tools/scripts-core/src/scripts/start.js
+++ b/tools/scripts-core/src/scripts/start.js
@@ -5,7 +5,6 @@ export default async function start(env, _, options) {
const packageType = utils.pkg.getPackageType();
if (packageType.isApp) {
- utils.pkg.checkPackageIsInstalled('@talend/scripts-config-react-webpack');
const webpack = utils.path.resolveBin('webpack');
return utils.process.spawn(
webpack,
diff --git a/tools/scripts-core/src/scripts/test.js b/tools/scripts-core/src/scripts/test.js
index ad54cb7b06d..c88772b4d66 100755
--- a/tools/scripts-core/src/scripts/test.js
+++ b/tools/scripts-core/src/scripts/test.js
@@ -1,4 +1,5 @@
import path from 'path';
+import { fileURLToPath } from 'url';
import * as utils from '@talend/scripts-utils';
import { getUserConfigFile } from '../utils/env.js';
@@ -18,13 +19,18 @@ export default async function test(env, presetApi, options) {
if (packageType.isAngular) {
return testKarma(env, presetApi, options);
}
- const configPath = utils.path.getPkgRootPath('@talend/scripts-config-jest');
+ const configPath = path.dirname(
+ fileURLToPath(import.meta.resolve('@talend/scripts-config-jest')),
+ );
const jestConfigPath =
getUserConfigFile('jest.config.js') || path.join(configPath, 'jest.config.js');
- const jest = utils.path.resolveBin('jest');
- return utils.process.spawn(jest, ['--config', jestConfigPath].concat(options), {
- stdio: 'inherit',
- env,
- });
+ return utils.process.spawn(
+ new URL(import.meta.resolve('jest-cli/bin/jest')).pathname,
+ ['--config', jestConfigPath].concat(options),
+ {
+ stdio: 'inherit',
+ env,
+ },
+ );
}
diff --git a/tools/scripts-utils/.babelrc b/tools/scripts-utils/.babelrc
index 98e8b090bf7..0afcf4a38e6 100644
--- a/tools/scripts-utils/.babelrc
+++ b/tools/scripts-utils/.babelrc
@@ -1,3 +1,3 @@
{
- "extends": "@talend/scripts-config-babel/.babelrc.json"
+ "extends": "@talend/scripts-config-babel/babel.config.js"
}
diff --git a/tools/scripts-utils/package.json b/tools/scripts-utils/package.json
index b1f073afaf8..0e0cb50ad04 100644
--- a/tools/scripts-utils/package.json
+++ b/tools/scripts-utils/package.json
@@ -12,8 +12,9 @@
"glob": "^8.1.0",
"which": "^2.0.2"
},
- "devDependencies":{
- "@talend/scripts-config-babel": "^13.0.0"
+ "devDependencies": {
+ "@talend/scripts-config-babel": "^13.0.0",
+ "jest": "^29.7.0"
},
"repository": {
"type": "git",