@elliemae/pui-cli 9.0.0-next.67 → 9.0.0-next.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app.tsconfig.json +3 -4
- package/dist/cjs/commands/test.js +1 -1
- package/dist/cjs/lint-config/eslint.config.js +2 -2
- package/dist/cjs/release.config.js +2 -0
- package/dist/cjs/server/index.js +2 -2
- package/dist/cjs/testing/jest.config.cjs +2 -1
- package/dist/cjs/testing/{extended/axe-core/index.js → mocks/frame.js} +7 -5
- package/dist/cjs/testing/mocks/iframe.js +3 -1
- package/dist/cjs/testing/setup-tests.js +9 -2
- package/dist/cjs/testing/vitest.config.js +0 -1
- package/dist/cjs/webpack/csp-plugin.js +3 -1
- package/dist/cjs/webpack/webpack.base.babel.js +5 -2
- package/dist/cjs/webpack/webpack.lib.base.babel.js +3 -1
- package/dist/esm/commands/test.js +1 -1
- package/dist/esm/lint-config/eslint.config.js +2 -2
- package/dist/esm/release.config.js +2 -0
- package/dist/esm/server/index.js +2 -2
- package/dist/esm/testing/jest.config.cjs +2 -1
- package/dist/esm/testing/mocks/frame.js +6 -0
- package/dist/esm/testing/mocks/iframe.js +3 -1
- package/dist/esm/testing/setup-tests.js +9 -2
- package/dist/esm/testing/vitest.config.js +0 -1
- package/dist/esm/webpack/csp-plugin.js +3 -1
- package/dist/esm/webpack/webpack.base.babel.js +5 -2
- package/dist/esm/webpack/webpack.lib.base.babel.js +3 -1
- package/dist/types/docusaurus.config.d.ts +0 -1
- package/dist/types/eslint.config.d.ts +0 -1
- package/dist/types/lib/babel.config.d.cts +0 -1
- package/dist/types/lib/build/vite.config.d.ts +0 -1
- package/dist/types/lib/cli.d.ts +0 -1
- package/dist/types/lib/commands/build.d.ts +0 -1
- package/dist/types/lib/commands/buildcdn.d.ts +0 -1
- package/dist/types/lib/commands/codemod.d.ts +0 -1
- package/dist/types/lib/commands/gendoc.d.ts +0 -1
- package/dist/types/lib/commands/lint.d.ts +0 -1
- package/dist/types/lib/commands/pack.d.ts +0 -1
- package/dist/types/lib/commands/start.d.ts +0 -1
- package/dist/types/lib/commands/storybook.d.ts +0 -1
- package/dist/types/lib/commands/test.d.ts +0 -1
- package/dist/types/lib/commands/tscheck.d.ts +0 -1
- package/dist/types/lib/commands/utils.d.ts +0 -1
- package/dist/types/lib/commands/version.d.ts +0 -1
- package/dist/types/lib/commands/vitest.d.ts +0 -1
- package/dist/types/lib/index.d.cts +0 -1
- package/dist/types/lib/index.d.ts +0 -1
- package/dist/types/lib/lint-config/commitlint.config.d.ts +0 -1
- package/dist/types/lib/lint-config/eslint.config.d.ts +1 -2
- package/dist/types/lib/lint-config/lint-staged.config.d.ts +0 -1
- package/dist/types/lib/lint-config/prettier.config.d.ts +0 -1
- package/dist/types/lib/lint-config/stylelint.config.d.ts +0 -1
- package/dist/types/lib/monorepo/delete-merged-tags.d.ts +0 -1
- package/dist/types/lib/monorepo/set-registry-version.d.ts +0 -1
- package/dist/types/lib/monorepo/set-workspace-version.d.ts +0 -1
- package/dist/types/lib/monorepo/utils.d.cts +0 -1
- package/dist/types/lib/monorepo/utils.d.ts +0 -1
- package/dist/types/lib/pui-config.d.ts +0 -1
- package/dist/types/lib/release.config.d.ts +0 -1
- package/dist/types/lib/server/appRoutes.d.ts +0 -1
- package/dist/types/lib/server/cert.d.ts +1 -2
- package/dist/types/lib/server/csp.d.ts +0 -1
- package/dist/types/lib/server/index.d.ts +0 -1
- package/dist/types/lib/server/logger.d.ts +0 -1
- package/dist/types/lib/server/middlewares.d.ts +0 -1
- package/dist/types/lib/server/utils.d.ts +0 -1
- package/dist/types/lib/server/wsServer.d.ts +0 -1
- package/dist/types/lib/testing/jest.config.d.cts +2 -2
- package/dist/types/lib/testing/jest.node.config.d.cts +2 -2
- package/dist/types/lib/testing/jest.polyfills.d.cts +0 -1
- package/dist/types/lib/testing/mocks/axios.d.ts +0 -1
- package/dist/types/lib/testing/mocks/cssModule.d.ts +0 -1
- package/dist/types/lib/testing/mocks/frame.d.ts +3 -0
- package/dist/types/lib/testing/mocks/html.d.ts +0 -1
- package/dist/types/lib/testing/mocks/iframe.d.ts +1 -1
- package/dist/types/lib/testing/mocks/image.d.ts +0 -1
- package/dist/types/lib/testing/mocks/matchMedia.d.ts +0 -1
- package/dist/types/lib/testing/mocks/pui-app-loader.d.ts +0 -1
- package/dist/types/lib/testing/mocks/pui-diagnostics.d.ts +0 -1
- package/dist/types/lib/testing/mocks/pui-user-monitoring.d.ts +0 -1
- package/dist/types/lib/testing/mocks/retry-axios.d.ts +0 -1
- package/dist/types/lib/testing/mocks/svg.d.ts +0 -1
- package/dist/types/lib/testing/mocks/webpack-hmr.d.ts +0 -1
- package/dist/types/lib/testing/resolver.d.cts +0 -1
- package/dist/types/lib/testing/setup-react-env.d.ts +0 -1
- package/dist/types/lib/testing/setup-tests.d.ts +0 -1
- package/dist/types/lib/testing/vitest.config.d.ts +1 -2
- package/dist/types/lib/transpile/esbuild.d.ts +0 -1
- package/dist/types/lib/transpile/react-shim.d.ts +0 -1
- package/dist/types/lib/transpile/swcrc.config.d.cts +0 -1
- package/dist/types/lib/typedoc.d.cts +0 -1
- package/dist/types/lib/update-notifier.d.ts +0 -1
- package/dist/types/lib/utils.d.cts +1 -2
- package/dist/types/lib/utils.d.ts +1 -2
- package/dist/types/lib/webpack/csp-plugin.d.ts +3 -2
- package/dist/types/lib/webpack/csp.d.ts +0 -1
- package/dist/types/lib/webpack/helpers.d.ts +0 -1
- package/dist/types/lib/webpack/interceptor-middleware.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.base.babel.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.dev.babel.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.lib.base.babel.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.lib.dev.babel.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.lib.prod.babel.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.prod.babel.d.ts +0 -1
- package/dist/types/lib/webpack/webpack.storybook.d.ts +0 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/library.tsconfig.json +6 -11
- package/package.json +141 -140
- package/dist/cjs/testing/ExtendedJSDomEnv.cjs +0 -46
- package/dist/cjs/testing/extended/axe-core/getMessageAndPass.js +0 -36
- package/dist/cjs/testing/extended/axe-core/reporter.js +0 -50
- package/dist/cjs/testing/extended/axe-core/shouldIgnoreNodeViolation.js +0 -31
- package/dist/cjs/testing/extended/axe-core/toHaveNoViolations.js +0 -42
- package/dist/esm/testing/ExtendedJSDomEnv.cjs +0 -46
- package/dist/esm/testing/extended/axe-core/getMessageAndPass.js +0 -16
- package/dist/esm/testing/extended/axe-core/index.js +0 -4
- package/dist/esm/testing/extended/axe-core/reporter.js +0 -30
- package/dist/esm/testing/extended/axe-core/shouldIgnoreNodeViolation.js +0 -11
- package/dist/esm/testing/extended/axe-core/toHaveNoViolations.js +0 -22
- package/dist/types/docusaurus.config.d.ts.map +0 -1
- package/dist/types/eslint.config.d.ts.map +0 -1
- package/dist/types/lib/babel.config.d.cts.map +0 -1
- package/dist/types/lib/build/vite.config.d.ts.map +0 -1
- package/dist/types/lib/cli.d.ts.map +0 -1
- package/dist/types/lib/commands/build.d.ts.map +0 -1
- package/dist/types/lib/commands/buildcdn.d.ts.map +0 -1
- package/dist/types/lib/commands/codemod.d.ts.map +0 -1
- package/dist/types/lib/commands/gendoc.d.ts.map +0 -1
- package/dist/types/lib/commands/lint.d.ts.map +0 -1
- package/dist/types/lib/commands/pack.d.ts.map +0 -1
- package/dist/types/lib/commands/start.d.ts.map +0 -1
- package/dist/types/lib/commands/storybook.d.ts.map +0 -1
- package/dist/types/lib/commands/test.d.ts.map +0 -1
- package/dist/types/lib/commands/tscheck.d.ts.map +0 -1
- package/dist/types/lib/commands/utils.d.ts.map +0 -1
- package/dist/types/lib/commands/version.d.ts.map +0 -1
- package/dist/types/lib/commands/vitest.d.ts.map +0 -1
- package/dist/types/lib/index.d.cts.map +0 -1
- package/dist/types/lib/index.d.ts.map +0 -1
- package/dist/types/lib/lint-config/commitlint.config.d.ts.map +0 -1
- package/dist/types/lib/lint-config/eslint.config.d.ts.map +0 -1
- package/dist/types/lib/lint-config/lint-staged.config.d.ts.map +0 -1
- package/dist/types/lib/lint-config/prettier.config.d.ts.map +0 -1
- package/dist/types/lib/lint-config/stylelint.config.d.ts.map +0 -1
- package/dist/types/lib/monorepo/delete-merged-tags.d.ts.map +0 -1
- package/dist/types/lib/monorepo/set-registry-version.d.ts.map +0 -1
- package/dist/types/lib/monorepo/set-workspace-version.d.ts.map +0 -1
- package/dist/types/lib/monorepo/utils.d.cts.map +0 -1
- package/dist/types/lib/monorepo/utils.d.ts.map +0 -1
- package/dist/types/lib/pui-config.d.ts.map +0 -1
- package/dist/types/lib/release.config.d.ts.map +0 -1
- package/dist/types/lib/server/appRoutes.d.ts.map +0 -1
- package/dist/types/lib/server/cert.d.ts.map +0 -1
- package/dist/types/lib/server/csp.d.ts.map +0 -1
- package/dist/types/lib/server/index.d.ts.map +0 -1
- package/dist/types/lib/server/logger.d.ts.map +0 -1
- package/dist/types/lib/server/middlewares.d.ts.map +0 -1
- package/dist/types/lib/server/utils.d.ts.map +0 -1
- package/dist/types/lib/server/wsServer.d.ts.map +0 -1
- package/dist/types/lib/testing/ExtendedJSDomEnv.d.cts +0 -6
- package/dist/types/lib/testing/ExtendedJSDomEnv.d.cts.map +0 -1
- package/dist/types/lib/testing/extended/axe-core/getMessageAndPass.d.ts +0 -9
- package/dist/types/lib/testing/extended/axe-core/getMessageAndPass.d.ts.map +0 -1
- package/dist/types/lib/testing/extended/axe-core/index.d.ts +0 -2
- package/dist/types/lib/testing/extended/axe-core/index.d.ts.map +0 -1
- package/dist/types/lib/testing/extended/axe-core/reporter.d.ts +0 -3
- package/dist/types/lib/testing/extended/axe-core/reporter.d.ts.map +0 -1
- package/dist/types/lib/testing/extended/axe-core/shouldIgnoreNodeViolation.d.ts +0 -3
- package/dist/types/lib/testing/extended/axe-core/shouldIgnoreNodeViolation.d.ts.map +0 -1
- package/dist/types/lib/testing/extended/axe-core/toHaveNoViolations.d.ts +0 -13
- package/dist/types/lib/testing/extended/axe-core/toHaveNoViolations.d.ts.map +0 -1
- package/dist/types/lib/testing/jest.config.d.cts.map +0 -1
- package/dist/types/lib/testing/jest.node.config.d.cts.map +0 -1
- package/dist/types/lib/testing/jest.polyfills.d.cts.map +0 -1
- package/dist/types/lib/testing/mocks/axios.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/cssModule.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/html.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/iframe.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/image.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/matchMedia.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/pui-app-loader.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/pui-diagnostics.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/pui-user-monitoring.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/retry-axios.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/svg.d.ts.map +0 -1
- package/dist/types/lib/testing/mocks/webpack-hmr.d.ts.map +0 -1
- package/dist/types/lib/testing/resolver.d.cts.map +0 -1
- package/dist/types/lib/testing/setup-react-env.d.ts.map +0 -1
- package/dist/types/lib/testing/setup-tests.d.ts.map +0 -1
- package/dist/types/lib/testing/vitest.config.d.ts.map +0 -1
- package/dist/types/lib/transpile/esbuild.d.ts.map +0 -1
- package/dist/types/lib/transpile/react-shim.d.ts.map +0 -1
- package/dist/types/lib/transpile/swcrc.config.d.cts.map +0 -1
- package/dist/types/lib/typedoc.d.cts.map +0 -1
- package/dist/types/lib/update-notifier.d.ts.map +0 -1
- package/dist/types/lib/utils.d.cts.map +0 -1
- package/dist/types/lib/utils.d.ts.map +0 -1
- package/dist/types/lib/webpack/csp-plugin.d.ts.map +0 -1
- package/dist/types/lib/webpack/csp.d.ts.map +0 -1
- package/dist/types/lib/webpack/helpers.d.ts.map +0 -1
- package/dist/types/lib/webpack/interceptor-middleware.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.base.babel.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.dev.babel.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.lib.base.babel.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.lib.dev.babel.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.lib.prod.babel.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.prod.babel.d.ts.map +0 -1
- package/dist/types/lib/webpack/webpack.storybook.d.ts.map +0 -1
package/library.tsconfig.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"lib": ["dom", "dom.iterable", "
|
|
4
|
-
"moduleResolution": "
|
|
5
|
-
"target": "
|
|
6
|
-
"module": "
|
|
3
|
+
"lib": ["dom", "dom.iterable", "ES2022"],
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"module": "ESNext",
|
|
7
7
|
"allowJs": true,
|
|
8
8
|
"allowSyntheticDefaultImports": true,
|
|
9
9
|
"strict": true,
|
|
@@ -11,20 +11,15 @@
|
|
|
11
11
|
"skipLibCheck": true,
|
|
12
12
|
"emitDecoratorMetadata": true,
|
|
13
13
|
"experimentalDecorators": true,
|
|
14
|
-
"jsx": "
|
|
14
|
+
"jsx": "react-jsx",
|
|
15
15
|
"noFallthroughCasesInSwitch": true,
|
|
16
16
|
"resolveJsonModule": true,
|
|
17
17
|
"forceConsistentCasingInFileNames": true,
|
|
18
18
|
"preserveConstEnums": true,
|
|
19
19
|
"sourceMap": true,
|
|
20
20
|
"declaration": true,
|
|
21
|
-
"declarationMap": true,
|
|
22
21
|
"emitDeclarationOnly": true,
|
|
23
|
-
"composite": true
|
|
24
|
-
"noEmitOnError": false,
|
|
25
|
-
"noImplicitOverride": true,
|
|
26
|
-
"newLine": "lf",
|
|
27
|
-
"incremental": true
|
|
22
|
+
"composite": true
|
|
28
23
|
},
|
|
29
24
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
30
25
|
"display": "pui-cli library"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.68",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/cjs/index.cjs",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"url": "https://git.elliemae.io/platform-ui/pui-cli.git"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"pnpm": ">=
|
|
48
|
-
"node": ">=
|
|
47
|
+
"pnpm": ">=10",
|
|
48
|
+
"node": ">=24"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
@@ -78,89 +78,90 @@
|
|
|
78
78
|
"indent": 4
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@axe-core/react": "~4.10.
|
|
82
|
-
"@babel/cli": "~7.
|
|
83
|
-
"@babel/core": "~7.
|
|
84
|
-
"@babel/node": "~7.
|
|
81
|
+
"@axe-core/react": "~4.10.2",
|
|
82
|
+
"@babel/cli": "~7.28.3",
|
|
83
|
+
"@babel/core": "~7.28.4",
|
|
84
|
+
"@babel/node": "~7.28.0",
|
|
85
85
|
"@babel/plugin-proposal-class-properties": "~7.18.6",
|
|
86
|
-
"@babel/plugin-proposal-export-default-from": "~7.
|
|
86
|
+
"@babel/plugin-proposal-export-default-from": "~7.27.1",
|
|
87
87
|
"@babel/plugin-syntax-dynamic-import": "~7.8.3",
|
|
88
|
-
"@babel/plugin-syntax-import-assertions": "~7.
|
|
89
|
-
"@babel/plugin-transform-modules-commonjs": "~7.
|
|
90
|
-
"@babel/plugin-transform-react-constant-elements": "~7.
|
|
91
|
-
"@babel/plugin-transform-react-inline-elements": "~7.
|
|
92
|
-
"@babel/plugin-transform-react-jsx-source": "~7.
|
|
93
|
-
"@babel/plugin-transform-runtime": "~7.
|
|
94
|
-
"@babel/preset-env": "~7.
|
|
95
|
-
"@babel/preset-react": "~7.
|
|
96
|
-
"@babel/preset-typescript": "~7.
|
|
97
|
-
"@babel/runtime": "~7.
|
|
98
|
-
"@commitlint/cli": "~19.
|
|
99
|
-
"@commitlint/config-conventional": "~19.
|
|
100
|
-
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.
|
|
101
|
-
"@eslint/compat": "~1.2
|
|
102
|
-
"@eslint/config-inspector": "^
|
|
103
|
-
"@eslint/eslintrc": "~3.
|
|
104
|
-
"@eslint/js": "~9.
|
|
105
|
-
"@faker-js/faker": "~
|
|
106
|
-
"@nx/workspace": "~
|
|
107
|
-
"@pmmmwh/react-refresh-webpack-plugin": "~0.
|
|
88
|
+
"@babel/plugin-syntax-import-assertions": "~7.27.1",
|
|
89
|
+
"@babel/plugin-transform-modules-commonjs": "~7.27.1",
|
|
90
|
+
"@babel/plugin-transform-react-constant-elements": "~7.27.1",
|
|
91
|
+
"@babel/plugin-transform-react-inline-elements": "~7.27.1",
|
|
92
|
+
"@babel/plugin-transform-react-jsx-source": "~7.27.1",
|
|
93
|
+
"@babel/plugin-transform-runtime": "~7.28.3",
|
|
94
|
+
"@babel/preset-env": "~7.28.3",
|
|
95
|
+
"@babel/preset-react": "~7.27.1",
|
|
96
|
+
"@babel/preset-typescript": "~7.27.1",
|
|
97
|
+
"@babel/runtime": "~7.28.4",
|
|
98
|
+
"@commitlint/cli": "~19.8.1",
|
|
99
|
+
"@commitlint/config-conventional": "~19.8.1",
|
|
100
|
+
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.13.0",
|
|
101
|
+
"@eslint/compat": "~1.3.2",
|
|
102
|
+
"@eslint/config-inspector": "^1.2.0",
|
|
103
|
+
"@eslint/eslintrc": "~3.3.1",
|
|
104
|
+
"@eslint/js": "~9.35.0",
|
|
105
|
+
"@faker-js/faker": "~10.0.0",
|
|
106
|
+
"@nx/workspace": "~21.5.2",
|
|
107
|
+
"@pmmmwh/react-refresh-webpack-plugin": "~0.6.1",
|
|
108
108
|
"@semantic-release/changelog": "~6.0.3",
|
|
109
|
-
"@semantic-release/exec": "~
|
|
109
|
+
"@semantic-release/exec": "~7.1.0",
|
|
110
110
|
"@semantic-release/git": "~10.0.1",
|
|
111
|
-
"@storybook/addon-a11y": "~
|
|
112
|
-
"@storybook/addon-essentials": "~8.
|
|
111
|
+
"@storybook/addon-a11y": "~9.1.5",
|
|
112
|
+
"@storybook/addon-essentials": "~8.6.14",
|
|
113
113
|
"@storybook/addon-events": "~6.2.9",
|
|
114
|
-
"@storybook/addon-interactions": "~8.
|
|
115
|
-
"@storybook/addon-links": "~
|
|
116
|
-
"@storybook/addon-storysource": "~8.
|
|
117
|
-
"@storybook/blocks": "~8.
|
|
118
|
-
"@storybook/builder-vite": "~
|
|
119
|
-
"@storybook/builder-webpack5": "~
|
|
114
|
+
"@storybook/addon-interactions": "~8.6.14",
|
|
115
|
+
"@storybook/addon-links": "~9.1.5",
|
|
116
|
+
"@storybook/addon-storysource": "~8.6.14",
|
|
117
|
+
"@storybook/blocks": "~8.6.14",
|
|
118
|
+
"@storybook/builder-vite": "~9.1.5",
|
|
119
|
+
"@storybook/builder-webpack5": "~9.1.5",
|
|
120
120
|
"@storybook/jest": "~0.2.3",
|
|
121
121
|
"@storybook/manager-webpack5": "~6.5.16",
|
|
122
|
-
"@storybook/react": "~
|
|
123
|
-
"@storybook/react-vite": "~
|
|
124
|
-
"@storybook/react-webpack5": "~
|
|
122
|
+
"@storybook/react": "~9.1.5",
|
|
123
|
+
"@storybook/react-vite": "~9.1.5",
|
|
124
|
+
"@storybook/react-webpack5": "~9.1.5",
|
|
125
125
|
"@storybook/testing-library": "~0.2.2",
|
|
126
|
-
"@storybook/theming": "~8.
|
|
126
|
+
"@storybook/theming": "~8.6.14",
|
|
127
127
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
128
|
-
"@stylistic/eslint-plugin": "~
|
|
128
|
+
"@stylistic/eslint-plugin": "~5.3.1",
|
|
129
129
|
"@svgr/webpack": "~8.1.0",
|
|
130
|
-
"@swc/cli": "~0.
|
|
131
|
-
"@swc/core": "~1.
|
|
132
|
-
"@swc/jest": "~0.2.
|
|
133
|
-
"@testing-library/dom": "~10.4.
|
|
134
|
-
"@testing-library/jest-dom": "~6.
|
|
135
|
-
"@testing-library/react": "~16.
|
|
130
|
+
"@swc/cli": "~0.7.8",
|
|
131
|
+
"@swc/core": "~1.13.5",
|
|
132
|
+
"@swc/jest": "~0.2.39",
|
|
133
|
+
"@testing-library/dom": "~10.4.1",
|
|
134
|
+
"@testing-library/jest-dom": "~6.8.0",
|
|
135
|
+
"@testing-library/react": "~16.3.0",
|
|
136
136
|
"@testing-library/react-hooks": "~8.0.1",
|
|
137
|
-
"@testing-library/user-event": "~14.
|
|
137
|
+
"@testing-library/user-event": "~14.6.1",
|
|
138
138
|
"@types/circular-dependency-plugin": "~5.0.8",
|
|
139
|
-
"@types/compression": "~1.
|
|
140
|
-
"@types/cors": "~2.8.
|
|
139
|
+
"@types/compression": "~1.8.1",
|
|
140
|
+
"@types/cors": "~2.8.19",
|
|
141
|
+
"@types/dotenv-webpack": "~7.0.8",
|
|
141
142
|
"@types/duplicate-package-checker-webpack-plugin": "~2.1.5",
|
|
142
|
-
"@types/express-serve-static-core": "~
|
|
143
|
+
"@types/express-serve-static-core": "~5.0.7",
|
|
143
144
|
"@types/helmet": "~4.0.0",
|
|
144
145
|
"@types/ip": "~1.1.3",
|
|
145
|
-
"@types/jest": "~
|
|
146
|
+
"@types/jest": "~30.0.0",
|
|
146
147
|
"@types/jest-axe": "~3.5.9",
|
|
147
|
-
"@types/lodash": "~4.17.
|
|
148
|
+
"@types/lodash": "~4.17.20",
|
|
148
149
|
"@types/moment-locales-webpack-plugin": "~1.2.6",
|
|
149
|
-
"@types/node": "~
|
|
150
|
+
"@types/node": "~24.3.1",
|
|
150
151
|
"@types/normalize-path": "~3.0.2",
|
|
151
|
-
"@types/react": "~19.
|
|
152
|
+
"@types/react": "~19.1.12",
|
|
152
153
|
"@types/rimraf": "~4.0.5",
|
|
153
154
|
"@types/speed-measure-webpack-plugin": "~1.3.6",
|
|
154
|
-
"@types/supertest": "~6.0.
|
|
155
|
+
"@types/supertest": "~6.0.3",
|
|
155
156
|
"@types/uuid": "~10.0.0",
|
|
156
157
|
"@types/webpack-bundle-analyzer": "~4.7.0",
|
|
157
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
|
158
|
-
"@typescript-eslint/parser": "~8.
|
|
159
|
-
"@vitejs/plugin-react": "~4.
|
|
158
|
+
"@typescript-eslint/eslint-plugin": "~8.43.0",
|
|
159
|
+
"@typescript-eslint/parser": "~8.43.0",
|
|
160
|
+
"@vitejs/plugin-react": "~4.7.0",
|
|
160
161
|
"@vitest/coverage-c8": "~0.33.0",
|
|
161
|
-
"acorn": "~8.
|
|
162
|
-
"autoprefixer": "~10.4.
|
|
163
|
-
"axe-core": "~4.10.
|
|
162
|
+
"acorn": "~8.15.0",
|
|
163
|
+
"autoprefixer": "~10.4.21",
|
|
164
|
+
"axe-core": "~4.10.3",
|
|
164
165
|
"babel-plugin-date-fns": "~2.0.0",
|
|
165
166
|
"babel-plugin-dynamic-import-node": "~2.3.3",
|
|
166
167
|
"babel-plugin-import-remove-resource-query": "~1.0.0",
|
|
@@ -171,45 +172,45 @@
|
|
|
171
172
|
"babel-plugin-transform-react-remove-prop-types": "~0.4.24",
|
|
172
173
|
"babel-plugin-transform-remove-console": "~6.9.4",
|
|
173
174
|
"babel-plugin-transform-strip-block": "~0.0.5",
|
|
174
|
-
"body-parser": "~
|
|
175
|
-
"browserslist": "~4.
|
|
175
|
+
"body-parser": "~2.2.0",
|
|
176
|
+
"browserslist": "~4.25.4",
|
|
176
177
|
"browserslist-to-esbuild": "~2.1.1",
|
|
177
|
-
"chalk": "~5.
|
|
178
|
+
"chalk": "~5.6.2",
|
|
178
179
|
"circular-dependency-plugin": "~5.2.2",
|
|
179
|
-
"compression": "~1.
|
|
180
|
+
"compression": "~1.8.1",
|
|
180
181
|
"compression-webpack-plugin": "~11.1.0",
|
|
181
|
-
"copy-webpack-plugin": "~
|
|
182
|
+
"copy-webpack-plugin": "~13.0.1",
|
|
182
183
|
"cors": "~2.8.5",
|
|
183
184
|
"cross-env": "~7.0.3",
|
|
184
185
|
"css-loader": "~7.1.2",
|
|
185
|
-
"css-minimizer-webpack-plugin": "~7.0.
|
|
186
|
+
"css-minimizer-webpack-plugin": "~7.0.2",
|
|
186
187
|
"depcheck": "~1.4.7",
|
|
187
188
|
"docdash": "~2.0.2",
|
|
188
|
-
"dotenv": "~
|
|
189
|
-
"dotenv-webpack": "~8.1.
|
|
189
|
+
"dotenv": "~17.2.2",
|
|
190
|
+
"dotenv-webpack": "~8.1.1",
|
|
190
191
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
191
|
-
"enhanced-resolve": "5.18.
|
|
192
|
-
"esbuild": "~0.
|
|
193
|
-
"esbuild-loader": "~4.
|
|
192
|
+
"enhanced-resolve": "5.18.3",
|
|
193
|
+
"esbuild": "~0.25.9",
|
|
194
|
+
"esbuild-loader": "~4.3.0",
|
|
194
195
|
"esbuild-plugin-lodash": "~1.2.0",
|
|
195
|
-
"esbuild-plugin-svgr": "~3.1.
|
|
196
|
-
"eslint": "~9.
|
|
197
|
-
"eslint-config-prettier": "~
|
|
198
|
-
"eslint-import-resolver-typescript": "~
|
|
199
|
-
"eslint-plugin-import": "~2.
|
|
200
|
-
"eslint-plugin-import-x": "~4.
|
|
201
|
-
"eslint-plugin-jest": "~
|
|
202
|
-
"eslint-plugin-jsdoc": "~
|
|
196
|
+
"esbuild-plugin-svgr": "~3.1.1",
|
|
197
|
+
"eslint": "~9.35.0",
|
|
198
|
+
"eslint-config-prettier": "~10.1.8",
|
|
199
|
+
"eslint-import-resolver-typescript": "~4.4.4",
|
|
200
|
+
"eslint-plugin-import": "~2.32.0",
|
|
201
|
+
"eslint-plugin-import-x": "~4.16.1",
|
|
202
|
+
"eslint-plugin-jest": "~29.0.1",
|
|
203
|
+
"eslint-plugin-jsdoc": "~56.1.2",
|
|
203
204
|
"eslint-plugin-jsx-a11y": "~6.10.2",
|
|
204
|
-
"eslint-plugin-mdx": "~3.
|
|
205
|
-
"eslint-plugin-prettier": "~5.
|
|
206
|
-
"eslint-plugin-react": "~7.37.
|
|
207
|
-
"eslint-plugin-react-hooks": "~5.
|
|
205
|
+
"eslint-plugin-mdx": "~3.6.2",
|
|
206
|
+
"eslint-plugin-prettier": "~5.5.4",
|
|
207
|
+
"eslint-plugin-react": "~7.37.5",
|
|
208
|
+
"eslint-plugin-react-hooks": "~5.2.0",
|
|
208
209
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
209
|
-
"eslint-plugin-storybook": "~0.
|
|
210
|
-
"eslint-plugin-testing-library": "~7.
|
|
211
|
-
"eslint-plugin-wdio": "~9.
|
|
212
|
-
"execa": "~9.
|
|
210
|
+
"eslint-plugin-storybook": "~0.12.0",
|
|
211
|
+
"eslint-plugin-testing-library": "~7.6.8",
|
|
212
|
+
"eslint-plugin-wdio": "~9.16.2",
|
|
213
|
+
"execa": "~9.6.0",
|
|
213
214
|
"express": "~4.21.2",
|
|
214
215
|
"express-static-gzip": "~2.2.0",
|
|
215
216
|
"fast-glob": "~3.3.3",
|
|
@@ -217,11 +218,11 @@
|
|
|
217
218
|
"favicons-webpack-plugin": "~6.0.1",
|
|
218
219
|
"find-up": "~7.0.0",
|
|
219
220
|
"find-up-cli": "~6.0.0",
|
|
220
|
-
"globals": "~
|
|
221
|
-
"happy-dom": "~
|
|
221
|
+
"globals": "~16.4.0",
|
|
222
|
+
"happy-dom": "~18.0.1",
|
|
222
223
|
"helmet-csp": "~4.0.0",
|
|
223
224
|
"html-loader": "~5.1.0",
|
|
224
|
-
"html-webpack-plugin": "~5.6.
|
|
225
|
+
"html-webpack-plugin": "~5.6.4",
|
|
225
226
|
"http-server": "~14.1.1",
|
|
226
227
|
"husky": "~9.1.7",
|
|
227
228
|
"husky-init": "~8.0.0",
|
|
@@ -233,86 +234,86 @@
|
|
|
233
234
|
"jest-sonar-reporter": "~2.0.0",
|
|
234
235
|
"jest-styled-components": "~7.2.0",
|
|
235
236
|
"jest-watch-typeahead": "~2.2.2",
|
|
236
|
-
"jscodeshift": "~17.
|
|
237
|
+
"jscodeshift": "~17.3.0",
|
|
237
238
|
"jsdoc": "~4.0.4",
|
|
238
|
-
"lerna": "~8.
|
|
239
|
-
"lint-staged": "~15.
|
|
240
|
-
"mini-css-extract-plugin": "~2.9.
|
|
239
|
+
"lerna": "~8.2.4",
|
|
240
|
+
"lint-staged": "~15.5.2",
|
|
241
|
+
"mini-css-extract-plugin": "~2.9.4",
|
|
241
242
|
"minimist": "~1.2.8",
|
|
242
243
|
"moment": "~2.30.1",
|
|
243
244
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
244
|
-
"msw": "~2.
|
|
245
|
-
"node-gyp": "~11.
|
|
246
|
-
"node-plop": "~0.32.
|
|
247
|
-
"nodemon": "~3.1.
|
|
245
|
+
"msw": "~2.11.2",
|
|
246
|
+
"node-gyp": "~11.4.2",
|
|
247
|
+
"node-plop": "~0.32.1",
|
|
248
|
+
"nodemon": "~3.1.10",
|
|
248
249
|
"normalize-path": "~3.0.0",
|
|
249
|
-
"npm-check-updates": "
|
|
250
|
+
"npm-check-updates": "18.1.1",
|
|
250
251
|
"npm-run-all": "~4.1.5",
|
|
251
|
-
"nx": "~20.
|
|
252
|
-
"pino": "~9.
|
|
253
|
-
"pino-http": "~10.
|
|
254
|
-
"pino-pretty": "~13.
|
|
255
|
-
"plop": "~4.0.
|
|
256
|
-
"postcss": "~8.
|
|
257
|
-
"postcss-html": "~1.
|
|
252
|
+
"nx": "~20.8.2",
|
|
253
|
+
"pino": "~9.9.5",
|
|
254
|
+
"pino-http": "~10.5.0",
|
|
255
|
+
"pino-pretty": "~13.1.1",
|
|
256
|
+
"plop": "~4.0.2",
|
|
257
|
+
"postcss": "~8.5.6",
|
|
258
|
+
"postcss-html": "~1.8.0",
|
|
258
259
|
"postcss-jsx": "~0.36.4",
|
|
259
|
-
"postcss-loader": "~8.
|
|
260
|
-
"postcss-markdown": "~1.
|
|
261
|
-
"postcss-preset-env": "~10.1
|
|
262
|
-
"postcss-styled-syntax": "0.7.
|
|
260
|
+
"postcss-loader": "~8.2.0",
|
|
261
|
+
"postcss-markdown": "~1.3.0",
|
|
262
|
+
"postcss-preset-env": "~10.3.1",
|
|
263
|
+
"postcss-styled-syntax": "0.7.1",
|
|
263
264
|
"postcss-syntax": "~0.36.2",
|
|
264
|
-
"prettier": "~3.
|
|
265
|
-
"prisma": "~6.
|
|
265
|
+
"prettier": "~3.6.2",
|
|
266
|
+
"prisma": "~6.16.1",
|
|
266
267
|
"pug": "~3.0.3",
|
|
267
268
|
"pug-loader": "~2.4.0",
|
|
268
269
|
"raf": "~3.4.1",
|
|
269
|
-
"react-docgen": "~7.1.
|
|
270
|
-
"react-refresh": "~0.
|
|
270
|
+
"react-docgen": "~7.1.1",
|
|
271
|
+
"react-refresh": "~0.17.0",
|
|
271
272
|
"react-test-renderer": "~18.3.1",
|
|
272
273
|
"resize-observer-polyfill": "~1.5.1",
|
|
273
274
|
"resolve-typescript-plugin": "~2.0.1",
|
|
274
275
|
"rimraf": "~6.0.1",
|
|
275
|
-
"semantic-release": "~24.2.
|
|
276
|
-
"slackify-markdown": "~4.
|
|
276
|
+
"semantic-release": "~24.2.8",
|
|
277
|
+
"slackify-markdown": "~4.5.0",
|
|
277
278
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
278
|
-
"storybook": "~8.
|
|
279
|
+
"storybook": "~8.6.14",
|
|
279
280
|
"storybook-addon-turbo-build": "~2.0.1",
|
|
280
281
|
"storybook-react-router": "~1.0.8",
|
|
281
282
|
"style-loader": "~4.0.0",
|
|
282
|
-
"stylelint": "~16.
|
|
283
|
+
"stylelint": "~16.24.0",
|
|
283
284
|
"stylelint-config-prettier": "~9.0.5",
|
|
284
|
-
"stylelint-config-standard": "~
|
|
285
|
-
"stylelint-prettier": "~5.0.
|
|
286
|
-
"supertest": "~7.
|
|
285
|
+
"stylelint-config-standard": "~39.0.0",
|
|
286
|
+
"stylelint-prettier": "~5.0.3",
|
|
287
|
+
"supertest": "~7.1.4",
|
|
287
288
|
"swc-loader": "~0.2.6",
|
|
288
289
|
"ts-node": "~10.9.2",
|
|
289
|
-
"tsc-alias": "~1.8.
|
|
290
|
+
"tsc-alias": "~1.8.16",
|
|
290
291
|
"tsconfig-paths-webpack-plugin": "~4.2.0",
|
|
291
|
-
"tsx": "~4.
|
|
292
|
-
"typedoc": "~0.
|
|
293
|
-
"typescript": "~5.
|
|
294
|
-
"typescript-eslint": "~8.
|
|
295
|
-
"undici": "~7.
|
|
292
|
+
"tsx": "~4.20.5",
|
|
293
|
+
"typedoc": "~0.28.12",
|
|
294
|
+
"typescript": "~5.9.2",
|
|
295
|
+
"typescript-eslint": "~8.43.0",
|
|
296
|
+
"undici": "~7.16.0",
|
|
296
297
|
"update-notifier": "~7.3.1",
|
|
297
298
|
"url-loader": "~4.1.1",
|
|
298
|
-
"uuid": "~11.0
|
|
299
|
-
"vite": "~
|
|
299
|
+
"uuid": "~11.1.0",
|
|
300
|
+
"vite": "~7.1.5",
|
|
300
301
|
"vite-tsconfig-paths": "~5.1.4",
|
|
301
|
-
"vitest": "~2.
|
|
302
|
-
"webpack": "~5.
|
|
302
|
+
"vitest": "~3.2.4",
|
|
303
|
+
"webpack": "~5.101.3",
|
|
303
304
|
"webpack-bundle-analyzer": "~4.10.2",
|
|
304
305
|
"webpack-cli": "~6.0.1",
|
|
305
|
-
"webpack-dev-server": "~5.2.
|
|
306
|
-
"webpack-manifest-plugin": "~5.0.
|
|
306
|
+
"webpack-dev-server": "~5.2.2",
|
|
307
|
+
"webpack-manifest-plugin": "~5.0.1",
|
|
307
308
|
"webpack-merge": "~6.0.1",
|
|
308
309
|
"whatwg-fetch": "~3.6.20",
|
|
309
310
|
"workbox-webpack-plugin": "~7.3.0",
|
|
310
|
-
"ws": "~8.18.
|
|
311
|
+
"ws": "~8.18.3",
|
|
311
312
|
"yargs": "~17.7.2"
|
|
312
313
|
},
|
|
313
314
|
"devDependencies": {
|
|
314
|
-
"@elliemae/pui-doc-gen": "~3.
|
|
315
|
-
"jiti": "~2.
|
|
315
|
+
"@elliemae/pui-doc-gen": "~3.6.0",
|
|
316
|
+
"jiti": "~2.5.1",
|
|
316
317
|
"react": "~18.3.1",
|
|
317
318
|
"react-dom": "~18.3.1",
|
|
318
319
|
"redux": "~5.0.1",
|
|
@@ -321,7 +322,7 @@
|
|
|
321
322
|
},
|
|
322
323
|
"pnpm": {
|
|
323
324
|
"overrides": {
|
|
324
|
-
"@types/express-serve-static-core": "~
|
|
325
|
+
"@types/express-serve-static-core": "~5.0.7"
|
|
325
326
|
}
|
|
326
327
|
},
|
|
327
328
|
"type": "module"
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* eslint-disable complexity */
|
|
2
|
-
const { TestEnvironment } = require('jest-environment-jsdom');
|
|
3
|
-
|
|
4
|
-
// ICE platform is meant to be run on node > 18
|
|
5
|
-
// "jest-environment-jsdom": "~29.6.3" is instead meant to support node >16
|
|
6
|
-
// features that are supported since node 17 & 18 are not supported in jsdom env
|
|
7
|
-
// the limitation is not relevant for us since we are already running on node 18 anyway,
|
|
8
|
-
// this "ExtendedJSDomEnv" is an extension of the
|
|
9
|
-
// jest.config.cjs
|
|
10
|
-
// {
|
|
11
|
-
// ...
|
|
12
|
-
// testEnvironment: 'jsdom'
|
|
13
|
-
// ...
|
|
14
|
-
// }
|
|
15
|
-
// that actually uses node 18 features that are not supported in "jest-environment-jsdom": "~29.6.3"
|
|
16
|
-
|
|
17
|
-
// https://github.com/facebook/jest/blob/v29.4.3/website/versioned_docs/version-29.4/Configuration.md#testenvironment-string
|
|
18
|
-
class FixJSDOMEnvironment extends TestEnvironment {
|
|
19
|
-
constructor(...args) {
|
|
20
|
-
super(...args);
|
|
21
|
-
|
|
22
|
-
// From here on we are using "node" (currently running version of it) to polyfill jsdom this.global
|
|
23
|
-
if (ReadableStream) this.global.ReadableStream = ReadableStream;
|
|
24
|
-
if (TextDecoder) this.global.TextDecoder = TextDecoder;
|
|
25
|
-
if (TextEncoder) this.global.TextEncoder = TextEncoder;
|
|
26
|
-
|
|
27
|
-
if (Blob) this.global.Blob = Blob;
|
|
28
|
-
if (File) this.global.File = File;
|
|
29
|
-
if (Headers) this.global.Headers = Headers;
|
|
30
|
-
if (FormData) this.global.FormData = FormData;
|
|
31
|
-
if (Request) this.global.Request = Request;
|
|
32
|
-
if (Response) this.global.Response = Response;
|
|
33
|
-
if (Request) this.global.Request = Request;
|
|
34
|
-
if (Response) this.global.Response = Response;
|
|
35
|
-
if (fetch) this.global.fetch = fetch;
|
|
36
|
-
|
|
37
|
-
// FIXME https://github.com/jsdom/jsdom/issues/3363
|
|
38
|
-
if (structuredClone) this.global.structuredClone = structuredClone;
|
|
39
|
-
|
|
40
|
-
// "mocking" MessagePort so undici can work
|
|
41
|
-
if (MessagePort) this.global.MessagePort = MessagePort;
|
|
42
|
-
// if MessagePort is not defined, we are creating a mock class that does nothing but won't throw
|
|
43
|
-
else this.global.MessagePort = class {};
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
module.exports = FixJSDOMEnvironment;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getMessageAndPass_exports = {};
|
|
20
|
-
__export(getMessageAndPass_exports, {
|
|
21
|
-
getMessageAndPass: () => getMessageAndPass
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getMessageAndPass_exports);
|
|
24
|
-
var import_jest_matcher_utils = require("jest-matcher-utils");
|
|
25
|
-
var import_reporter = require("./reporter.js");
|
|
26
|
-
const getMessageAndPass = (violations) => {
|
|
27
|
-
const formatedViolations = (0, import_reporter.reporter)(violations);
|
|
28
|
-
const pass = formatedViolations.length === 0;
|
|
29
|
-
if (pass) return { message: () => "", pass };
|
|
30
|
-
return {
|
|
31
|
-
message: () => `${(0, import_jest_matcher_utils.matcherHint)(".toHaveNoViolations")}
|
|
32
|
-
|
|
33
|
-
${formatedViolations}`,
|
|
34
|
-
pass
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var reporter_exports = {};
|
|
20
|
-
__export(reporter_exports, {
|
|
21
|
-
reporter: () => reporter
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(reporter_exports);
|
|
24
|
-
var import_jest_matcher_utils = require("jest-matcher-utils");
|
|
25
|
-
const colorYellow = (arg) => `\x1B[93m ${arg ?? ""} \x1B[0m`;
|
|
26
|
-
const colorGrey = (arg) => `\x1B[90m ${arg ?? ""} \x1B[0m`;
|
|
27
|
-
const colorBlue = (arg) => `\x1B[34m ${arg ?? ""} \x1B[0m`;
|
|
28
|
-
const reporter = (violToFormat) => {
|
|
29
|
-
if (violToFormat.length === 0) return "";
|
|
30
|
-
const lineBreak = "\n\n";
|
|
31
|
-
const horizontalLine = "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500";
|
|
32
|
-
return violToFormat.map((violation) => {
|
|
33
|
-
const errorBody = violation.nodes.map((node) => {
|
|
34
|
-
const selector = node.target.join(", ");
|
|
35
|
-
const expectedText = `Expected the HTML found at $('${selector}') to have no violations:${lineBreak}`;
|
|
36
|
-
let violationHelpUrl = "";
|
|
37
|
-
if (violation.helpUrl)
|
|
38
|
-
violationHelpUrl = `You can find more information on this issue here:
|
|
39
|
-
${colorBlue(
|
|
40
|
-
violation.helpUrl
|
|
41
|
-
)}`;
|
|
42
|
-
return `${expectedText + colorGrey(node.html) + lineBreak}Received:${lineBreak}${(0, import_jest_matcher_utils.printReceived)(
|
|
43
|
-
`${violation.help} (${violation.id})`
|
|
44
|
-
)}${lineBreak}${colorYellow(
|
|
45
|
-
node.failureSummary
|
|
46
|
-
)}${lineBreak}${violationHelpUrl}`;
|
|
47
|
-
}).join(lineBreak);
|
|
48
|
-
return errorBody;
|
|
49
|
-
}).join(lineBreak + horizontalLine + lineBreak);
|
|
50
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var shouldIgnoreNodeViolation_exports = {};
|
|
20
|
-
__export(shouldIgnoreNodeViolation_exports, {
|
|
21
|
-
shouldIgnoreNodeViolation: () => shouldIgnoreNodeViolation
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(shouldIgnoreNodeViolation_exports);
|
|
24
|
-
const dataAttributeRegexp = /(data-[\S]*)=["']([\S]*)["']/gm;
|
|
25
|
-
const shouldIgnoreNodeViolation = (node, violation) => [...node.html.matchAll(dataAttributeRegexp)].map(([fullMatch, dataKey, dataValue]) => ({
|
|
26
|
-
fullMatch,
|
|
27
|
-
dataKey,
|
|
28
|
-
dataValue
|
|
29
|
-
})).some(
|
|
30
|
-
({ dataKey, dataValue }) => dataKey === `data-axe-ignore-${violation.id}` && dataValue === "true"
|
|
31
|
-
);
|