From 01d2f32fbaa999b6cd8035289d50d40e5a093cfe Mon Sep 17 00:00:00 2001 From: DipperTheDan Date: Tue, 7 Jan 2025 11:37:33 +0000 Subject: [PATCH] chore: add coverage for playwright tests --- contributing/testing-guide.md | 2 +- jest.config.ts | 2 +- package-lock.json | 771 ++++++++++++++---- package.json | 12 +- playwright/helpers/base-test.js | 59 ++ scripts/copy_coverage_files/index.js | 41 + src/components/accordion/accordion.pw.tsx | 2 +- .../action-popover/action-popover.pw.tsx | 2 +- .../advanced-color-picker.pw.tsx | 2 +- src/components/alert/alert.pw.tsx | 2 +- .../anchor-navigation.pw.tsx | 2 +- src/components/badge/badge.pw.tsx | 2 +- .../batch-selection/batch-selection.pw.tsx | 2 +- src/components/box/box.pw.tsx | 2 +- src/components/breadcrumbs/breadcrumbs.pw.tsx | 2 +- src/components/button-bar/button-bar.pw.tsx | 2 +- .../button-minor/button-minor.pw.tsx | 2 +- .../button-toggle/button-toggle.pw.tsx | 2 +- src/components/button/button.pw.tsx | 2 +- .../carbon-provider/carbon-provider.pw.tsx | 2 +- src/components/card/card.pw.tsx | 2 +- src/components/checkbox/checkbox.pw.tsx | 2 +- src/components/confirm/confirm.pw.tsx | 2 +- src/components/content/content.pw.tsx | 2 +- src/components/date-range/date-range.pw.tsx | 2 +- src/components/date/date.pw.tsx | 2 +- src/components/decimal/decimal.pw.tsx | 2 +- .../definition-list/definition-list.pw.tsx | 2 +- src/components/detail/detail.pw.tsx | 2 +- .../dialog-full-screen.pw.tsx | 2 +- src/components/dialog/dialog.pw.tsx | 2 +- .../dismissible-box/dismissible-box.pw.tsx | 4 +- src/components/draggable/draggable.pw.tsx | 2 +- src/components/drawer/drawer.pw.tsx | 2 +- .../duelling-picklist.pw.tsx | 2 +- src/components/fieldset/fieldset.pw.tsx | 2 +- src/components/file-input/file-input.pw.tsx | 2 +- src/components/flat-table/flat-table.pw.tsx | 2 +- src/components/form/form.pw.tsx | 2 +- .../global-header/global-header.pw.tsx | 2 +- src/components/grid/grid.pw.tsx | 2 +- .../grouped-character.pw.tsx | 2 +- src/components/heading/heading.pw.tsx | 2 +- src/components/help/help.pw.tsx | 2 +- src/components/hr/hr.pw.tsx | 2 +- src/components/icon-button/icon-button.pw.tsx | 2 +- src/components/icon/icon.pw.tsx | 2 +- src/components/image/image.pw.tsx | 2 +- .../inline-inputs/inline-inputs.pw.tsx | 2 +- .../link-preview/link-preview.pw.tsx | 2 +- src/components/link/link.pw.tsx | 2 +- src/components/loader-bar/loader-bar.pw.tsx | 2 +- .../loader-spinner/loader-spinner.pw.tsx | 2 +- src/components/loader-star/loader-star.pw.tsx | 2 +- src/components/loader/loader.pw.tsx | 2 +- src/components/menu/menu.pw.tsx | 2 +- src/components/message/message.pw.tsx | 2 +- .../multi-action-button.pw.tsx | 2 +- .../navigation-bar/navigation-bar.pw.tsx | 2 +- src/components/note/note.pw.tsx | 2 +- src/components/number/number.pw.tsx | 2 +- .../numeral-date/numeral-date.pw.tsx | 2 +- src/components/pager/pager.pw.tsx | 2 +- src/components/pages/pages.pw.tsx | 2 +- src/components/password/password.pw.tsx | 2 +- src/components/pill/pill.pw.tsx | 2 +- src/components/pod/pod.pw.tsx | 2 +- .../popover-container.pw.tsx | 2 +- src/components/portal/portal.pw.tsx | 2 +- src/components/portrait/portrait.pw.tsx | 2 +- src/components/preview/preview.pw.tsx | 2 +- src/components/profile/profile.pw.tsx | 2 +- .../progress-tracker/progress-tracker.pw.tsx | 2 +- .../radio-button/radio-button.pw.tsx | 2 +- src/components/search/search.pw.tsx | 2 +- .../filterable-select.pw.tsx | 2 +- .../select/multi-select/multi-select.pw.tsx | 2 +- .../select/simple-select/simple-select.pw.tsx | 2 +- .../settings-row/settings-row.pw.tsx | 2 +- src/components/sidebar/sidebar.pw.tsx | 2 +- .../simple-color-picker.pw.tsx | 2 +- .../split-button/split-button.pw.tsx | 2 +- src/components/step-flow/step-flow.pw.tsx | 2 +- .../step-sequence/step-sequence.pw.tsx | 2 +- src/components/switch/switch.pw.tsx | 2 +- src/components/tabs/tabs.pw.tsx | 2 +- src/components/text-editor/text-editor.pw.tsx | 2 +- src/components/textarea/textarea.pw.tsx | 2 +- src/components/textbox/textbox.pw.tsx | 2 +- src/components/tile-select/tile-select.pw.tsx | 2 +- src/components/tile/tile.pw.tsx | 2 +- src/components/time/time.pw.tsx | 2 +- src/components/toast/toast.pw.tsx | 2 +- src/components/tooltip/tooltip.pw.tsx | 2 +- src/components/typography/typography.pw.tsx | 2 +- .../vertical-divider/vertical-divider.pw.tsx | 2 +- .../vertical-menu/vertical-menu.pw.tsx | 2 +- 97 files changed, 837 insertions(+), 234 deletions(-) create mode 100644 playwright/helpers/base-test.js create mode 100644 scripts/copy_coverage_files/index.js diff --git a/contributing/testing-guide.md b/contributing/testing-guide.md index 1e610b85d4..064c239ddf 100644 --- a/contributing/testing-guide.md +++ b/contributing/testing-guide.md @@ -89,7 +89,7 @@ A typical `*.pw.tsx` file may look like the following: ```tsx // inside src/components/button/button.pw.tsx -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../__spec_helper__/base-test"; import Button from "./button.component"; import { buttonComponent } from "../../../playwright/component/button/index"; diff --git a/jest.config.ts b/jest.config.ts index 1d62dbe2c2..0866076910 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -23,7 +23,7 @@ const config: Config = { "lib", "esm", ], - coverageReporters: ["text-summary", "html"], + coverageReporters: ["text-summary", "html", "json"], coverageDirectory: "/coverage", coverageThreshold: isCI ? undefined : coverageThresholds, moduleFileExtensions: ["ts", "tsx", "js", "jsx", "mjs"], diff --git a/package-lock.json b/package-lock.json index c840c077b0..3d4d0f87d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,8 @@ "immutable": "~3.8.2", "invariant": "^2.2.4", "lodash": "^4.17.21", + "monocart-coverage-reports": "^2.11.4", + "nyc": "^17.1.0", "polished": "^4.2.2", "prop-types": "^15.8.1", "react-day-picker": "^9.3.2", @@ -173,7 +175,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "dev": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -227,7 +228,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", - "dev": true, "dependencies": { "@babel/highlight": "^7.25.7", "picocolors": "^1.0.0" @@ -240,7 +240,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.7.tgz", "integrity": "sha512-9ickoLz+hcXCeh7jrcin+/SLWm+GkxE2kTvoYyp38p4WkdFXfQJxDFGWp/YHjiKLPx06z2A7W8XKuqbReXDzsw==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -249,7 +248,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.7.tgz", "integrity": "sha512-yJ474Zv3cwiSOO9nXJuqzvwEeM+chDuQ8GJirw+pZ91sCGCyOZ3dJkVE09fTV0VEVzXyLWhh3G/AolYTPX7Mow==", - "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.25.7", @@ -279,7 +277,6 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, "bin": { "semver": "bin/semver.js" } @@ -315,7 +312,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.7.tgz", "integrity": "sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==", - "dev": true, "dependencies": { "@babel/types": "^7.25.7", "@jridgewell/gen-mapping": "^0.3.5", @@ -355,7 +351,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz", "integrity": "sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==", - "dev": true, "dependencies": { "@babel/compat-data": "^7.25.7", "@babel/helper-validator-option": "^7.25.7", @@ -371,7 +366,6 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, "bin": { "semver": "bin/semver.js" } @@ -465,7 +459,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz", "integrity": "sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==", - "dev": true, "dependencies": { "@babel/traverse": "^7.25.7", "@babel/types": "^7.25.7" @@ -478,7 +471,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz", "integrity": "sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ==", - "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.25.7", "@babel/helper-simple-access": "^7.25.7", @@ -551,7 +543,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz", "integrity": "sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ==", - "dev": true, "dependencies": { "@babel/traverse": "^7.25.7", "@babel/types": "^7.25.7" @@ -577,7 +568,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz", "integrity": "sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -586,7 +576,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz", "integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -595,7 +584,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz", "integrity": "sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -618,7 +606,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.7.tgz", "integrity": "sha512-Sv6pASx7Esm38KQpF/U/OXLwPPrdGHNKoeblRxgZRLXnAtnkEe4ptJPDtAZM7fBLadbc1Q07kQpSiGQ0Jg6tRA==", - "dev": true, "dependencies": { "@babel/template": "^7.25.7", "@babel/types": "^7.25.7" @@ -631,7 +618,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz", "integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==", - "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.25.7", "chalk": "^2.4.2", @@ -646,7 +632,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -658,7 +643,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -672,7 +656,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -680,14 +663,12 @@ "node_modules/@babel/highlight/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "node_modules/@babel/highlight/node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, "engines": { "node": ">=0.8.0" } @@ -696,7 +677,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, "engines": { "node": ">=4" } @@ -705,7 +685,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -717,7 +696,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.7.tgz", "integrity": "sha512-aZn7ETtQsjjGG5HruveUK06cU3Hljuhd9Iojm4M8WWv3wLE6OkE5PWbDUkItmMgegmccaITudyuW5RPYrYlgWw==", - "dev": true, "dependencies": { "@babel/types": "^7.25.7" }, @@ -2186,7 +2164,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.7.tgz", "integrity": "sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.25.7", "@babel/parser": "^7.25.7", @@ -2200,7 +2177,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.7.tgz", "integrity": "sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==", - "dev": true, "dependencies": { "@babel/code-frame": "^7.25.7", "@babel/generator": "^7.25.7", @@ -2218,7 +2194,6 @@ "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.7.tgz", "integrity": "sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==", - "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.25.7", "@babel/helper-validator-identifier": "^7.25.7", @@ -3480,7 +3455,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", @@ -3496,7 +3470,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -3509,7 +3482,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, "dependencies": { "p-locate": "^4.1.0" }, @@ -3521,7 +3493,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, "dependencies": { "p-try": "^2.0.0" }, @@ -3536,7 +3507,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, "dependencies": { "p-limit": "^2.2.0" }, @@ -3548,7 +3518,6 @@ "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, "engines": { "node": ">=8" } @@ -3952,7 +3921,6 @@ "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", - "dev": true, "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -3966,7 +3934,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "dev": true, "engines": { "node": ">=6.0.0" } @@ -3975,7 +3942,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, "engines": { "node": ">=6.0.0" } @@ -3993,14 +3959,12 @@ "node_modules/@jridgewell/sourcemap-codec": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", - "dev": true + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -8352,6 +8316,28 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/acorn-loose": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/acorn-loose/-/acorn-loose-8.4.0.tgz", + "integrity": "sha512-M0EUka6rb+QC4l9Z3T0nJEzNOO7JcoJlYMrBlyBCiFSXRyxjLKayd4TbQs2FDRWQU1h9FR7QVNHt+PEaoNL5rQ==", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-loose/node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/acorn-walk": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", @@ -8377,7 +8363,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dev": true, "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -8483,7 +8468,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -8521,6 +8505,22 @@ "node": ">= 8" } }, + "node_modules/append-transform": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", + "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "dependencies": { + "default-require-extensions": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==" + }, "node_modules/arg": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", @@ -8531,7 +8531,6 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, "dependencies": { "sprintf-js": "~1.0.2" } @@ -8539,8 +8538,7 @@ "node_modules/argparse/node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, "node_modules/argv-formatter": { "version": "1.0.0", @@ -9178,8 +9176,7 @@ "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "node_modules/base64-js": { "version": "1.5.1", @@ -9327,7 +9324,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -9355,7 +9351,6 @@ "version": "4.24.0", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", - "dev": true, "funding": [ { "type": "opencollective", @@ -9440,6 +9435,53 @@ "node": ">=6" } }, + "node_modules/caching-transform": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", + "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", + "dependencies": { + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/caching-transform/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caching-transform/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/caching-transform/node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, "node_modules/call-bind": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", @@ -9482,7 +9524,6 @@ "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, "engines": { "node": ">=6" } @@ -9517,7 +9558,6 @@ "version": "1.0.30001667", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001667.tgz", "integrity": "sha512-7LTwJjcRkzKFmtqGsibMeuXmvFDfZq/nzIjnmgCGzKKRVzjD72selLDK1oPF/Oxzmt4fNcPvTDvGqSDG4tCALw==", - "dev": true, "funding": [ { "type": "opencollective", @@ -9720,7 +9760,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dev": true, "engines": { "node": ">=6" } @@ -9957,8 +9996,7 @@ "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" }, "node_modules/compare-func": { "version": "2.0.0", @@ -10033,8 +10071,7 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "node_modules/concat-stream": { "version": "2.0.0", @@ -10118,6 +10155,11 @@ "node": ">=0.8" } }, + "node_modules/console-grid": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/console-grid/-/console-grid-2.2.2.tgz", + "integrity": "sha512-ohlgXexdDTKLNsZz7DSJuCAwmRc8omSS61txOk39W3NOthgKGr1a1jJpZ5BCQe4PlrwMw01OvPQ1Bl3G7Y/uFg==" + }, "node_modules/constants-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", @@ -10248,8 +10290,7 @@ "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==" }, "node_modules/cookie": { "version": "0.7.1", @@ -10394,7 +10435,6 @@ "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -10408,7 +10448,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -10797,7 +10836,6 @@ "version": "4.3.7", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", - "dev": true, "dependencies": { "ms": "^2.1.3" }, @@ -10814,7 +10852,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -10956,6 +10993,20 @@ "node": ">= 10" } }, + "node_modules/default-require-extensions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.1.tgz", + "integrity": "sha512-eXTJmRbm2TIt9MgWTsOH1wEuhew6XGZcMeGKCtLedIg/NCsg1iBePXkceTdK4Fii7pzmN9tGsZhKzZ4h7O/fxw==", + "dependencies": { + "strip-bom": "^4.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/defaults": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", @@ -11347,11 +11398,15 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", "dev": true }, + "node_modules/eight-colors": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/eight-colors/-/eight-colors-1.3.1.tgz", + "integrity": "sha512-7nXPYDeKh6DgJDR/mpt2G7N/hCNSGwwoPVmoI3+4TEwOb07VFN1WMPG0DFf6nMEjrkgdj8Og7l7IaEEk3VE6Zg==" + }, "node_modules/electron-to-chromium": { "version": "1.5.35", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.35.tgz", - "integrity": "sha512-hOSRInrIDm0Brzp4IHW2F/VM+638qOL2CzE0DgpnGzKW27C95IqqeqgKz/hxHGnvPxvQGpHUGD5qRVC9EZY2+A==", - "dev": true + "integrity": "sha512-hOSRInrIDm0Brzp4IHW2F/VM+638qOL2CzE0DgpnGzKW27C95IqqeqgKz/hxHGnvPxvQGpHUGD5qRVC9EZY2+A==" }, "node_modules/emittery": { "version": "0.13.1", @@ -11802,6 +11857,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" + }, "node_modules/esbuild": { "version": "0.23.1", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", @@ -11857,7 +11917,6 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "dev": true, "engines": { "node": ">=6" } @@ -12674,7 +12733,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -13149,7 +13207,6 @@ "version": "3.3.2", "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, "dependencies": { "commondir": "^1.0.1", "make-dir": "^3.0.2", @@ -13166,7 +13223,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, "dependencies": { "semver": "^6.0.0" }, @@ -13181,7 +13237,6 @@ "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, "bin": { "semver": "bin/semver.js" } @@ -13313,7 +13368,6 @@ "version": "3.3.0", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", - "dev": true, "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -13329,7 +13383,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, "engines": { "node": ">=14" }, @@ -13455,6 +13508,25 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/fromentries": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", + "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -13484,8 +13556,7 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "node_modules/fsevents": { "version": "2.3.3", @@ -13541,7 +13612,6 @@ "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, "engines": { "node": ">=6.9.0" } @@ -13550,7 +13620,6 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -13584,7 +13653,6 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true, "engines": { "node": ">=8.0.0" } @@ -13717,7 +13785,6 @@ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -13797,7 +13864,6 @@ "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, "engines": { "node": ">=4" } @@ -13862,8 +13928,7 @@ "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" }, "node_modules/graphemer": { "version": "1.4.0", @@ -13975,6 +14040,29 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasha": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", + "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", + "dependencies": { + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hasha/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "engines": { + "node": ">=8" + } + }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -14218,8 +14306,7 @@ "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==" }, "node_modules/html-minifier-terser": { "version": "6.1.0", @@ -14556,7 +14643,6 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, "engines": { "node": ">=0.8.19" } @@ -14565,7 +14651,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true, "engines": { "node": ">=8" } @@ -14587,7 +14672,6 @@ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -14596,8 +14680,7 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/ini": { "version": "1.3.8", @@ -14961,7 +15044,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -15166,7 +15248,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, "engines": { "node": ">=8" }, @@ -15231,6 +15312,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + }, "node_modules/is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", @@ -15299,7 +15385,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -15325,8 +15410,7 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" }, "node_modules/issue-parser": { "version": "6.0.0", @@ -15348,7 +15432,17 @@ "version": "3.2.2", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-hook": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", + "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", + "dependencies": { + "append-transform": "^2.0.0" + }, "engines": { "node": ">=8" } @@ -15378,11 +15472,37 @@ "semver": "bin/semver.js" } }, + "node_modules/istanbul-lib-processinfo": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.3.tgz", + "integrity": "sha512-NkwHbo3E00oybX6NGJi6ar0B29vxyvNwoC7eJ4G4Yq28UfY758Hgn/heV8VRFhevPED4LXfFz0DQ8z/0kw9zMg==", + "dependencies": { + "archy": "^1.0.0", + "cross-spawn": "^7.0.3", + "istanbul-lib-coverage": "^3.2.0", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "uuid": "^8.3.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-processinfo/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/istanbul-lib-report": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", - "dev": true, "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^4.0.0", @@ -15396,7 +15516,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", - "dev": true, "dependencies": { "semver": "^7.5.3" }, @@ -15411,7 +15530,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, "dependencies": { "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", @@ -15425,7 +15543,6 @@ "version": "3.1.7", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", - "dev": true, "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -16451,7 +16568,6 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -16543,7 +16659,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", - "dev": true, "bin": { "jsesc": "bin/jsesc" }, @@ -16591,7 +16706,6 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, "bin": { "json5": "lib/cli.js" }, @@ -16952,6 +17066,11 @@ "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", "dev": true }, + "node_modules/lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha512-uHaJFihxmJcEX3kT4I23ABqKKalJ/zDrDg0lsFtc1h+3uw49SIJ5beyhx5ExVRti3AvKoOJngIj7xz3oylPdWQ==" + }, "node_modules/lodash.isfunction": { "version": "3.0.9", "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", @@ -17144,7 +17263,6 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, "dependencies": { "yallist": "^3.0.2" } @@ -17158,6 +17276,11 @@ "lz-string": "bin/bin.js" } }, + "node_modules/lz-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/lz-utils/-/lz-utils-2.1.0.tgz", + "integrity": "sha512-CMkfimAypidTtWjNDxY8a1bc1mJdyEh04V2FfEQ5Zh8Nx4v7k850EYa+dOWGn9hKG5xOyHP5MkuduAZCTHRvJw==" + }, "node_modules/magic-string": { "version": "0.30.11", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", @@ -19753,7 +19876,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -19799,6 +19921,63 @@ "integrity": "sha512-ST0PnThzWKcgSLyc+ugLVql45PvESt3Ul/wrdV/OPc/6Pr8dbLAIJsN1cIp41FLzbN+srVTNIRn+5Cju0nyV6A==", "dev": true }, + "node_modules/monocart-coverage-reports": { + "version": "2.11.4", + "resolved": "https://registry.npmjs.org/monocart-coverage-reports/-/monocart-coverage-reports-2.11.4.tgz", + "integrity": "sha512-hFhfhIzD7Yv1fNJgnUVvrEpnwqB44KwSGbghOM9C8AMIVon5ZLRlspbWz+uwW04Yhgvo5WmtPEmX+mnET2VcGA==", + "dependencies": { + "acorn": "^8.14.0", + "acorn-loose": "^8.4.0", + "acorn-walk": "^8.3.4", + "commander": "^12.1.0", + "console-grid": "^2.2.2", + "eight-colors": "^1.3.1", + "foreground-child": "^3.3.0", + "istanbul-lib-coverage": "^3.2.2", + "istanbul-lib-report": "^3.0.1", + "istanbul-reports": "^3.1.7", + "lz-utils": "^2.1.0", + "monocart-locator": "^1.0.2" + }, + "bin": { + "mcr": "lib/cli.js" + } + }, + "node_modules/monocart-coverage-reports/node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/monocart-coverage-reports/node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/monocart-coverage-reports/node_modules/commander": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "engines": { + "node": ">=18" + } + }, + "node_modules/monocart-locator": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/monocart-locator/-/monocart-locator-1.0.2.tgz", + "integrity": "sha512-v8W5hJLcWMIxLCcSi/MHh+VeefI+ycFmGz23Froer9QzWjrbg4J3gFJBuI/T1VLNoYxF47bVPPxq8ZlNX4gVCw==" + }, "node_modules/moo-color": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/moo-color/-/moo-color-1.0.3.tgz", @@ -19820,8 +19999,7 @@ "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/multicast-dns": { "version": "7.2.5", @@ -19991,11 +20169,21 @@ "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", "dev": true }, + "node_modules/node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "dependencies": { + "process-on-spawn": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/node-releases": { "version": "2.0.18", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", - "dev": true + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==" }, "node_modules/nopt": { "version": "7.2.1", @@ -23274,6 +23462,219 @@ "integrity": "sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ==", "dev": true }, + "node_modules/nyc": { + "version": "17.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-17.1.0.tgz", + "integrity": "sha512-U42vQ4czpKa0QdI1hu950XuNhYqgoM+ZF1HT+VuUHL9hPfDPVvNQyltmMqdE9bUHMVa+8yNbc3QKTj8zQhlVxQ==", + "dependencies": { + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^3.3.0", + "get-package-type": "^0.1.0", + "glob": "^7.1.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^6.0.2", + "istanbul-lib-processinfo": "^2.0.2", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "spawn-wrap": "^2.0.0", + "test-exclude": "^6.0.0", + "yargs": "^15.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/nyc/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/nyc/node_modules/convert-source-map": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", + "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" + }, + "node_modules/nyc/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/istanbul-lib-instrument": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", + "dependencies": { + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/nyc/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nyc/node_modules/make-dir/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/nyc/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nyc/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + }, + "node_modules/nyc/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -23672,11 +24073,24 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, "engines": { "node": ">=6" } }, + "node_modules/package-hash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", + "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", + "dependencies": { + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/package-json-from-dist": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", @@ -23791,7 +24205,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, "engines": { "node": ">=8" } @@ -23800,7 +24213,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -23809,7 +24221,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, "engines": { "node": ">=8" } @@ -23867,8 +24278,7 @@ "node_modules/picocolors": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", - "dev": true + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -23984,7 +24394,6 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, "dependencies": { "find-up": "^4.0.0" }, @@ -23996,7 +24405,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -24009,7 +24417,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, "dependencies": { "p-locate": "^4.1.0" }, @@ -24021,7 +24428,6 @@ "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, "dependencies": { "p-try": "^2.0.0" }, @@ -24036,7 +24442,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, "dependencies": { "p-limit": "^2.2.0" }, @@ -24307,6 +24712,17 @@ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true }, + "node_modules/process-on-spawn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.1.0.tgz", + "integrity": "sha512-JOnOPQ/8TZgjs1JIH/m9ni7FfimjNa/PRx7y/Wb5qdItsnhO0jE4AT7fC0HjC28DUQWDr50dwSYZLdRMlqDq3Q==", + "dependencies": { + "fromentries": "^1.2.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/promise": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", @@ -25877,6 +26293,17 @@ "node": ">= 0.10" } }, + "node_modules/release-zalgo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", + "integrity": "sha512-gUAyHVHPPC5wdqX/LG4LWtRYtgjxyX78oanFNTMMyFEfOqdC54s3eE82imuWKbOeqYht2CrNf64Qb8vgmmtZGA==", + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/remark-gfm": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.0.tgz", @@ -26264,7 +26691,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -26278,6 +26704,11 @@ "node": ">=0.10.0" } }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + }, "node_modules/requireindex": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/requireindex/-/requireindex-1.2.0.tgz", @@ -26339,7 +26770,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, "engines": { "node": ">=8" } @@ -26415,7 +26845,6 @@ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, "dependencies": { "glob": "^7.1.3" }, @@ -27117,7 +27546,6 @@ "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "dev": true, "bin": { "semver": "bin/semver.js" }, @@ -27320,6 +27748,11 @@ "node": ">= 0.8.0" } }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==" + }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", @@ -27368,7 +27801,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -27380,7 +27812,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, "engines": { "node": ">=8" } @@ -27415,8 +27846,7 @@ "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, "node_modules/signale": { "version": "1.4.0", @@ -27571,7 +28001,6 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -27638,6 +28067,70 @@ "integrity": "sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==", "dev": true }, + "node_modules/spawn-wrap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", + "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", + "dependencies": { + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "which": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/spawn-wrap/node_modules/foreground-child": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", + "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/spawn-wrap/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/spawn-wrap/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/spawn-wrap/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/spdx-correct": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", @@ -27868,7 +28361,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -27914,14 +28406,12 @@ "node_modules/string-width/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/string-width/node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -28115,7 +28605,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, "engines": { "node": ">=8" } @@ -28500,7 +28989,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", @@ -28574,7 +29062,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, "engines": { "node": ">=4" } @@ -28943,6 +29430,14 @@ "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", "dev": true }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, "node_modules/typescript": { "version": "4.7.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", @@ -29488,7 +29983,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", - "dev": true, "funding": [ { "type": "opencollective", @@ -29633,7 +30127,6 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, "bin": { "uuid": "dist/bin/uuid" } @@ -30830,6 +31323,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==" + }, "node_modules/which-typed-array": { "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", @@ -30998,8 +31496,7 @@ "node_modules/yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" }, "node_modules/yaml": { "version": "1.10.2", diff --git a/package.json b/package.json index d2d2696b58..f6099b9f93 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "lib", "esm", "scripts/check_rfcs/check_rfcs.js", - "scripts/check_rfcs/index.js" + "scripts/check_rfcs/index.js", + "scripts/copy_coverage_files/index.js" ], "scripts": { "start": "node ./scripts/check_node_version.mjs && dotenvx run -- storybook dev -p 9001 -c .storybook", @@ -35,7 +36,10 @@ "test:ct": "playwright test -c playwright-ct.config.ts", "test:ct:ui": "playwright test --ui -c playwright-ct.config.ts", "test:ct:report": "npx playwright show-report", - "clear-playwright-cache": "rimraf ./playwright/.cache" + "clear-playwright-cache": "rimraf ./playwright/.cache", + "clear-playwright-coverage-json": "rimraf ./playwright/coverage/*.json", + "test:ct:coverage": "npm run clear-playwright-cache && npm run clear-playwright-coverage-json && rimraf ./playwright/coverage && playwright test -c playwright-ct.config.ts", + "pw:coverage:report": "nyc report --reporter=html --report-dir=./playwright/coverage --temp-dir=./playwright/coverage" }, "repository": { "type": "git", @@ -191,6 +195,8 @@ "immutable": "~3.8.2", "invariant": "^2.2.4", "lodash": "^4.17.21", + "monocart-coverage-reports": "^2.11.4", + "nyc": "^17.1.0", "polished": "^4.2.2", "prop-types": "^15.8.1", "react-day-picker": "^9.3.2", @@ -243,4 +249,4 @@ "@semantic-release/github" ] } -} +} \ No newline at end of file diff --git a/playwright/helpers/base-test.js b/playwright/helpers/base-test.js new file mode 100644 index 0000000000..908bff6292 --- /dev/null +++ b/playwright/helpers/base-test.js @@ -0,0 +1,59 @@ +import { test as ctBase, expect } from "@playwright/experimental-ct-react17"; +import mcr from "monocart-coverage-reports"; + +const coverageOptions = { + reports: [ + [ + "json", + { + file: "coverage.json", + }, + ], + ], + lcov: true, + name: "My Istanbul Report", + all: { + dir: ["./src"], + filter: { + "**/*.component.tsx": true, + "**/*.style.ts": true, + }, + }, + outputDir: "./playwright/coverage", +}; + +const test = ctBase.extend({ + autoTestFixture: [ + async ({ page }, use) => { + // coverage API is chromium only + if (test.info().project.name === "chromium") { + await Promise.all([ + page.coverage.startJSCoverage({ + resetOnNavigation: false, + }), + page.coverage.startCSSCoverage({ + resetOnNavigation: false, + }), + ]); + } + + await use("autoTestFixture"); + + if (test.info().project.name === "chromium") { + const [jsCoverage, cssCoverage] = await Promise.all([ + page.coverage.stopJSCoverage(), + page.coverage.stopCSSCoverage(), + ]); + const coverageList = [...jsCoverage, ...cssCoverage]; + await mcr(coverageOptions).add(coverageList); + await mcr(coverageOptions).generate(); + } + }, + { + scope: "test", + auto: true, + }, + ], +}); + +export { test, expect }; diff --git a/scripts/copy_coverage_files/index.js b/scripts/copy_coverage_files/index.js new file mode 100644 index 0000000000..f47d9f30d3 --- /dev/null +++ b/scripts/copy_coverage_files/index.js @@ -0,0 +1,41 @@ +const fs = require("fs"); +const path = require("path"); + +const destinationDir = "./merged-coverage"; + +function copyJSONFile(dir) { + // Ensure the destination directory exists + if (!fs.existsSync(destinationDir)) { + fs.mkdirSync(destinationDir, { recursive: true }); + } + // Read files in the source directory + fs.readdir(dir, (error, files) => { + if (error) { + console.error("Error reading source directory:", error); + return; + } + + const jsonFiles = files.filter( + (file) => path.extname(file).toLowerCase() === ".json", + ); + + // Copy JSON files to destination directory + jsonFiles.forEach((file) => { + fs.copyFile( + path.join(dir, file), + path.join(destinationDir, file), + fs.constants.COPYFILE_FICLONE, // Optional flags (use fs.constants.COPYFILE_EXCL to prevent overwriting) + (err) => { + if (err) { + console.error(`Error copying file ${file}:`, err); + } else { + console.log(`Copied file ${file} to ${destinationDir}`); + } + }, + ); + }); + }); +} + +copyJSONFile("./playwright/coverage"); +copyJSONFile("./coverage"); diff --git a/src/components/accordion/accordion.pw.tsx b/src/components/accordion/accordion.pw.tsx index 10dd27a843..913330da9e 100644 --- a/src/components/accordion/accordion.pw.tsx +++ b/src/components/accordion/accordion.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { accordion, accordionIcon, diff --git a/src/components/action-popover/action-popover.pw.tsx b/src/components/action-popover/action-popover.pw.tsx index 6f228fd916..25b6acc0be 100644 --- a/src/components/action-popover/action-popover.pw.tsx +++ b/src/components/action-popover/action-popover.pw.tsx @@ -1,6 +1,6 @@ /* eslint-disable no-await-in-loop */ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { accordionDefaultTitle } from "../../../playwright/components/accordion"; import { actionPopover, diff --git a/src/components/advanced-color-picker/advanced-color-picker.pw.tsx b/src/components/advanced-color-picker/advanced-color-picker.pw.tsx index 3fdb48fa4c..f9f15945c7 100644 --- a/src/components/advanced-color-picker/advanced-color-picker.pw.tsx +++ b/src/components/advanced-color-picker/advanced-color-picker.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { AdvancedColorPickerCustom } from "./components.test-pw"; import { currentColorDescription, diff --git a/src/components/alert/alert.pw.tsx b/src/components/alert/alert.pw.tsx index 674b08bf2c..95c2974215 100644 --- a/src/components/alert/alert.pw.tsx +++ b/src/components/alert/alert.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { alertTitle, alertSubtitle, diff --git a/src/components/anchor-navigation/anchor-navigation.pw.tsx b/src/components/anchor-navigation/anchor-navigation.pw.tsx index c96fd99d62..f6de786f7f 100644 --- a/src/components/anchor-navigation/anchor-navigation.pw.tsx +++ b/src/components/anchor-navigation/anchor-navigation.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { AnchorNavigationComponent, diff --git a/src/components/badge/badge.pw.tsx b/src/components/badge/badge.pw.tsx index b0c36d7338..4b7440686a 100644 --- a/src/components/badge/badge.pw.tsx +++ b/src/components/badge/badge.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { badge, badgeCounter, diff --git a/src/components/batch-selection/batch-selection.pw.tsx b/src/components/batch-selection/batch-selection.pw.tsx index be3151ac61..fcb42eec30 100644 --- a/src/components/batch-selection/batch-selection.pw.tsx +++ b/src/components/batch-selection/batch-selection.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { BatchSelectionProps } from "../../../src/components/batch-selection"; import { BatchSelectionComponent, diff --git a/src/components/box/box.pw.tsx b/src/components/box/box.pw.tsx index 96c021fc7b..c7f075b556 100644 --- a/src/components/box/box.pw.tsx +++ b/src/components/box/box.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { getDataElementByValue } from "../../../playwright/components"; import { assertCssValueIsApproximately, diff --git a/src/components/breadcrumbs/breadcrumbs.pw.tsx b/src/components/breadcrumbs/breadcrumbs.pw.tsx index 6a1bad63e5..918410032e 100644 --- a/src/components/breadcrumbs/breadcrumbs.pw.tsx +++ b/src/components/breadcrumbs/breadcrumbs.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { breadcrumbsComponent, allCrumbs, diff --git a/src/components/button-bar/button-bar.pw.tsx b/src/components/button-bar/button-bar.pw.tsx index c3dced04ff..1c5cd5de91 100644 --- a/src/components/button-bar/button-bar.pw.tsx +++ b/src/components/button-bar/button-bar.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { Default as ButtonBarCustom, DefaultWithWrapper as ButtonBarWithWrapper, diff --git a/src/components/button-minor/button-minor.pw.tsx b/src/components/button-minor/button-minor.pw.tsx index db53baa03a..8a4784610c 100644 --- a/src/components/button-minor/button-minor.pw.tsx +++ b/src/components/button-minor/button-minor.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { ButtonMinorProps } from "./button-minor.component"; import { Default as ButtonMinor, diff --git a/src/components/button-toggle/button-toggle.pw.tsx b/src/components/button-toggle/button-toggle.pw.tsx index 290ed75523..a803ac533d 100644 --- a/src/components/button-toggle/button-toggle.pw.tsx +++ b/src/components/button-toggle/button-toggle.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { ButtonToggle, ButtonToggleGroupProps, ButtonToggleProps } from "."; import { ButtonToggleComponent, diff --git a/src/components/button/button.pw.tsx b/src/components/button/button.pw.tsx index e0f3f93d68..1ea943ba6e 100644 --- a/src/components/button/button.pw.tsx +++ b/src/components/button/button.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { buttonSubtextPreview, diff --git a/src/components/carbon-provider/carbon-provider.pw.tsx b/src/components/carbon-provider/carbon-provider.pw.tsx index 9ecf1aaedd..95a49266e1 100644 --- a/src/components/carbon-provider/carbon-provider.pw.tsx +++ b/src/components/carbon-provider/carbon-provider.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { HooksConfig } from "../../../playwright"; import { SageTheme as SageThemeStory, AllThemes } from "./components.test-pw"; import Button from "../../../src/components/button"; diff --git a/src/components/card/card.pw.tsx b/src/components/card/card.pw.tsx index 391f26f4b3..a524486d70 100644 --- a/src/components/card/card.pw.tsx +++ b/src/components/card/card.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import "../../../playwright/components"; import { card, diff --git a/src/components/checkbox/checkbox.pw.tsx b/src/components/checkbox/checkbox.pw.tsx index 54da65fd74..70d301f1ca 100644 --- a/src/components/checkbox/checkbox.pw.tsx +++ b/src/components/checkbox/checkbox.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; import { CommonCheckableInputProps } from "__internal__/checkable-input/checkable-input.component"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Box from "../box"; import { Checkbox, CheckboxProps, CheckboxGroupProps } from "."; import { diff --git a/src/components/confirm/confirm.pw.tsx b/src/components/confirm/confirm.pw.tsx index 7f6f47a91b..247abada8d 100644 --- a/src/components/confirm/confirm.pw.tsx +++ b/src/components/confirm/confirm.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Confirm, { ConfirmProps } from "./confirm.component"; import { ConfirmComponent, diff --git a/src/components/content/content.pw.tsx b/src/components/content/content.pw.tsx index a68f360351..15b9b8bd0e 100644 --- a/src/components/content/content.pw.tsx +++ b/src/components/content/content.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import ContentComponent from "./components.test-pw"; import { CHARACTERS } from "../../../playwright/support/constants"; import { diff --git a/src/components/date-range/date-range.pw.tsx b/src/components/date-range/date-range.pw.tsx index d4aae3548a..8ff22c9815 100644 --- a/src/components/date-range/date-range.pw.tsx +++ b/src/components/date-range/date-range.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { getDataElementByValue, icon, diff --git a/src/components/date/date.pw.tsx b/src/components/date/date.pw.tsx index cc714d9c97..a875a4e7db 100644 --- a/src/components/date/date.pw.tsx +++ b/src/components/date/date.pw.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { expect, test } from "@playwright/experimental-ct-react17"; import dayjs from "dayjs"; import advancedFormat from "dayjs/plugin/advancedFormat"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { DateInputCustom, DateInputValidationNewDesign, diff --git a/src/components/decimal/decimal.pw.tsx b/src/components/decimal/decimal.pw.tsx index 25f4986874..35ba0b1182 100644 --- a/src/components/decimal/decimal.pw.tsx +++ b/src/components/decimal/decimal.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { expect, test } from "@playwright/experimental-ct-react17"; import { Locator } from "@playwright/test"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { commonDataElementInputPreview, diff --git a/src/components/definition-list/definition-list.pw.tsx b/src/components/definition-list/definition-list.pw.tsx index 1f1bacea13..59814a0fcc 100644 --- a/src/components/definition-list/definition-list.pw.tsx +++ b/src/components/definition-list/definition-list.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { DLComponent, DLReactFragment, diff --git a/src/components/detail/detail.pw.tsx b/src/components/detail/detail.pw.tsx index 038342bda7..710d311038 100644 --- a/src/components/detail/detail.pw.tsx +++ b/src/components/detail/detail.pw.tsx @@ -1,6 +1,6 @@ /* eslint-disable react/no-unescaped-entities */ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Detail from "./detail.component"; import { childrenPreview, diff --git a/src/components/dialog-full-screen/dialog-full-screen.pw.tsx b/src/components/dialog-full-screen/dialog-full-screen.pw.tsx index c89ef9100b..d38a146fcb 100644 --- a/src/components/dialog-full-screen/dialog-full-screen.pw.tsx +++ b/src/components/dialog-full-screen/dialog-full-screen.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { expect, test } from "@playwright/experimental-ct-react17"; import type { Page } from "@playwright/test"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { DialogFullScreenComponent, NestedDialog, diff --git a/src/components/dialog/dialog.pw.tsx b/src/components/dialog/dialog.pw.tsx index 0a7aed81b5..a1790585cd 100644 --- a/src/components/dialog/dialog.pw.tsx +++ b/src/components/dialog/dialog.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { expect, test } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { DialogComponent, diff --git a/src/components/dismissible-box/dismissible-box.pw.tsx b/src/components/dismissible-box/dismissible-box.pw.tsx index 4a7efec8a7..b8c934dccd 100644 --- a/src/components/dismissible-box/dismissible-box.pw.tsx +++ b/src/components/dismissible-box/dismissible-box.pw.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; - import { DismissibleBoxProps } from "components/dismissible-box"; +import { test, expect } from "../../../playwright/helpers/base-test"; + import { DefaultDismissibleBox, DefaultDarkVariant, diff --git a/src/components/draggable/draggable.pw.tsx b/src/components/draggable/draggable.pw.tsx index 336f6af761..899b78309d 100644 --- a/src/components/draggable/draggable.pw.tsx +++ b/src/components/draggable/draggable.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { checkAccessibility } from "../../../playwright/support/helper"; import { diff --git a/src/components/drawer/drawer.pw.tsx b/src/components/drawer/drawer.pw.tsx index fe34925a1f..5a9f8e3f81 100644 --- a/src/components/drawer/drawer.pw.tsx +++ b/src/components/drawer/drawer.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { DrawerCustom, DrawerCustomFooterHeader, diff --git a/src/components/duelling-picklist/duelling-picklist.pw.tsx b/src/components/duelling-picklist/duelling-picklist.pw.tsx index 12ec15220b..cccee509c2 100644 --- a/src/components/duelling-picklist/duelling-picklist.pw.tsx +++ b/src/components/duelling-picklist/duelling-picklist.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { PicklistItemProps } from "./picklist-item/picklist-item.component"; import { DuellingPicklistComponent, diff --git a/src/components/fieldset/fieldset.pw.tsx b/src/components/fieldset/fieldset.pw.tsx index e743b9d352..030812ee82 100644 --- a/src/components/fieldset/fieldset.pw.tsx +++ b/src/components/fieldset/fieldset.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Fieldset from "."; import Form, { FormProps } from "../form"; import FieldsetComponent from "./components.test-pw"; diff --git a/src/components/file-input/file-input.pw.tsx b/src/components/file-input/file-input.pw.tsx index a2a8ebb9ee..4170002860 100644 --- a/src/components/file-input/file-input.pw.tsx +++ b/src/components/file-input/file-input.pw.tsx @@ -1,8 +1,8 @@ import React from "react"; import { Page } from "@playwright/test"; -import { test, expect } from "@playwright/experimental-ct-react17"; import path from "path"; import { readFileSync } from "fs"; +import { test, expect } from "../../../playwright/helpers/base-test"; import FileInputComponent from "./components.test-pw"; import { hiddenInput, diff --git a/src/components/flat-table/flat-table.pw.tsx b/src/components/flat-table/flat-table.pw.tsx index 41d609d755..e94c8ae26e 100644 --- a/src/components/flat-table/flat-table.pw.tsx +++ b/src/components/flat-table/flat-table.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; import type { Locator } from "@playwright/test"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { FlatTableCheckboxProps } from "."; import { FlatTableComponent, diff --git a/src/components/form/form.pw.tsx b/src/components/form/form.pw.tsx index 3452c7bad3..988608d195 100644 --- a/src/components/form/form.pw.tsx +++ b/src/components/form/form.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Form, { FormProps } from "."; import { FormComponent, diff --git a/src/components/global-header/global-header.pw.tsx b/src/components/global-header/global-header.pw.tsx index 262e598e9e..6a8cc3ee1c 100644 --- a/src/components/global-header/global-header.pw.tsx +++ b/src/components/global-header/global-header.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { FullMenuExample, GlobalHeaderWithErrorHandler, diff --git a/src/components/grid/grid.pw.tsx b/src/components/grid/grid.pw.tsx index 4b88eb83ed..128c57dc8a 100644 --- a/src/components/grid/grid.pw.tsx +++ b/src/components/grid/grid.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { GridLayoutExample, diff --git a/src/components/grouped-character/grouped-character.pw.tsx b/src/components/grouped-character/grouped-character.pw.tsx index 494739439d..74ef11bb4e 100644 --- a/src/components/grouped-character/grouped-character.pw.tsx +++ b/src/components/grouped-character/grouped-character.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { GroupedCharacterProps } from "./grouped-character.component"; import { GroupedCharacterComponent, diff --git a/src/components/heading/heading.pw.tsx b/src/components/heading/heading.pw.tsx index 9c851617a0..ea78ee9ff7 100644 --- a/src/components/heading/heading.pw.tsx +++ b/src/components/heading/heading.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { HeadingComponent, HeadingComponentWithPills, diff --git a/src/components/help/help.pw.tsx b/src/components/help/help.pw.tsx index 678ae1a0ca..b283dd86d8 100644 --- a/src/components/help/help.pw.tsx +++ b/src/components/help/help.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Help, { HelpProps } from "../../../src/components/help/help.component"; import HelpComponentTest from "./component.test-pw"; import Box from "../../../src/components/box"; diff --git a/src/components/hr/hr.pw.tsx b/src/components/hr/hr.pw.tsx index 4540ddd9de..e8a9b1f8cc 100644 --- a/src/components/hr/hr.pw.tsx +++ b/src/components/hr/hr.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { checkAccessibility } from "../../../playwright/support/helper"; import { diff --git a/src/components/icon-button/icon-button.pw.tsx b/src/components/icon-button/icon-button.pw.tsx index daf09dc275..15b15e7a5a 100644 --- a/src/components/icon-button/icon-button.pw.tsx +++ b/src/components/icon-button/icon-button.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import IconButtonComponent from "./component.test-pw"; import { button as iconButton } from "../../../playwright/components/index"; import { CHARACTERS } from "../../../playwright/support/constants"; diff --git a/src/components/icon/icon.pw.tsx b/src/components/icon/icon.pw.tsx index a0c63279c0..bc05d1668d 100644 --- a/src/components/icon/icon.pw.tsx +++ b/src/components/icon/icon.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; import { IconProps } from "components/icon"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { IconComponent, IconTooltipComponent } from "./component.test-pw"; import { getDataElementByValue, diff --git a/src/components/image/image.pw.tsx b/src/components/image/image.pw.tsx index 991246df35..e45922b0a0 100644 --- a/src/components/image/image.pw.tsx +++ b/src/components/image/image.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { checkAccessibility } from "../../../playwright/support/helper"; import { diff --git a/src/components/inline-inputs/inline-inputs.pw.tsx b/src/components/inline-inputs/inline-inputs.pw.tsx index f1fcea0cd3..ddaa45851d 100644 --- a/src/components/inline-inputs/inline-inputs.pw.tsx +++ b/src/components/inline-inputs/inline-inputs.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Textbox from "../textbox"; import Decimal from "../decimal"; import InlineInputs, { InlineInputsProps } from "./inline-inputs.component"; diff --git a/src/components/link-preview/link-preview.pw.tsx b/src/components/link-preview/link-preview.pw.tsx index db0a2d110a..5f0652f2cb 100644 --- a/src/components/link-preview/link-preview.pw.tsx +++ b/src/components/link-preview/link-preview.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import LinkPreviewComponentTest from "./components.test-pw"; import { LinkPreviewProps } from "."; import { diff --git a/src/components/link/link.pw.tsx b/src/components/link/link.pw.tsx index 976b70e281..f9f0cf6290 100644 --- a/src/components/link/link.pw.tsx +++ b/src/components/link/link.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { getDataElementByValue, icon, diff --git a/src/components/loader-bar/loader-bar.pw.tsx b/src/components/loader-bar/loader-bar.pw.tsx index 0d3eece5ff..cb0ab88cc5 100644 --- a/src/components/loader-bar/loader-bar.pw.tsx +++ b/src/components/loader-bar/loader-bar.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; import { LoaderBarProps } from "components/loader-bar"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { LOADER_BAR_SIZES } from "./loader-bar.config"; import LoaderBarComponent from "./component.test-pw"; import { diff --git a/src/components/loader-spinner/loader-spinner.pw.tsx b/src/components/loader-spinner/loader-spinner.pw.tsx index 48fec8a33a..324a292965 100644 --- a/src/components/loader-spinner/loader-spinner.pw.tsx +++ b/src/components/loader-spinner/loader-spinner.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { loaderSpinnerWrapper, loaderSpinnerSvg, diff --git a/src/components/loader-star/loader-star.pw.tsx b/src/components/loader-star/loader-star.pw.tsx index aa80648631..9d4a4aa4c2 100644 --- a/src/components/loader-star/loader-star.pw.tsx +++ b/src/components/loader-star/loader-star.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import DefaultLoaderStar from "./components.test-pw"; import { loaderStarHiddenLabel, diff --git a/src/components/loader/loader.pw.tsx b/src/components/loader/loader.pw.tsx index 75800b7846..c969db6d5a 100644 --- a/src/components/loader/loader.pw.tsx +++ b/src/components/loader/loader.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Loader from "."; import LoaderInsideButton from "./components.test-pw"; diff --git a/src/components/menu/menu.pw.tsx b/src/components/menu/menu.pw.tsx index 81badd9c79..b9f1f4ba3d 100644 --- a/src/components/menu/menu.pw.tsx +++ b/src/components/menu/menu.pw.tsx @@ -1,6 +1,6 @@ /* eslint-disable no-await-in-loop */ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { Menu, MenuProps, diff --git a/src/components/message/message.pw.tsx b/src/components/message/message.pw.tsx index e7bd469171..657e3dffb4 100644 --- a/src/components/message/message.pw.tsx +++ b/src/components/message/message.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { MessageComponent, MessageComponentWithRef, diff --git a/src/components/multi-action-button/multi-action-button.pw.tsx b/src/components/multi-action-button/multi-action-button.pw.tsx index 8776ad0ff2..e22aac8580 100644 --- a/src/components/multi-action-button/multi-action-button.pw.tsx +++ b/src/components/multi-action-button/multi-action-button.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; import { MultiActionButtonProps } from "components/multi-action-button"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { MultiActionButtonList, MultiActionButtonWithOneChild, diff --git a/src/components/navigation-bar/navigation-bar.pw.tsx b/src/components/navigation-bar/navigation-bar.pw.tsx index c9d1f00e4e..fcd44ce915 100644 --- a/src/components/navigation-bar/navigation-bar.pw.tsx +++ b/src/components/navigation-bar/navigation-bar.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Box from "../box"; import NavigationBar, { NavigationBarProps } from "."; import { Menu, MenuItem } from "../menu"; diff --git a/src/components/note/note.pw.tsx b/src/components/note/note.pw.tsx index 710021c019..96464b142a 100644 --- a/src/components/note/note.pw.tsx +++ b/src/components/note/note.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { NoteComponent, NoteComponentWithInlineControl, diff --git a/src/components/number/number.pw.tsx b/src/components/number/number.pw.tsx index ccac1c7e8b..6cd7bef9f7 100644 --- a/src/components/number/number.pw.tsx +++ b/src/components/number/number.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { expect, test } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { NumberProps } from "."; import { diff --git a/src/components/numeral-date/numeral-date.pw.tsx b/src/components/numeral-date/numeral-date.pw.tsx index 121d28509d..52eaa8966d 100644 --- a/src/components/numeral-date/numeral-date.pw.tsx +++ b/src/components/numeral-date/numeral-date.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import NumeralDate, { NumeralDateProps } from "."; import { diff --git a/src/components/pager/pager.pw.tsx b/src/components/pager/pager.pw.tsx index 47f01d520e..a3fdcebdc6 100644 --- a/src/components/pager/pager.pw.tsx +++ b/src/components/pager/pager.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { PagerProps } from "./pager.component"; import { checkAccessibility } from "../../../playwright/support/helper"; import { CHARACTERS } from "../../../playwright/support/constants"; diff --git a/src/components/pages/pages.pw.tsx b/src/components/pages/pages.pw.tsx index 6a0fe1607f..136692f981 100644 --- a/src/components/pages/pages.pw.tsx +++ b/src/components/pages/pages.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { PagesProps } from "../pages"; import { diff --git a/src/components/password/password.pw.tsx b/src/components/password/password.pw.tsx index 5c0303d6d0..0e58ccc9b5 100644 --- a/src/components/password/password.pw.tsx +++ b/src/components/password/password.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { TextboxProps } from "../textbox"; import { textbox as password, diff --git a/src/components/pill/pill.pw.tsx b/src/components/pill/pill.pw.tsx index 8cb2bc9196..65de9d3416 100644 --- a/src/components/pill/pill.pw.tsx +++ b/src/components/pill/pill.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { PillComponent, PillOnDarkBackground } from "./components.test-pw"; import Pill, { PillProps } from "."; import { diff --git a/src/components/pod/pod.pw.tsx b/src/components/pod/pod.pw.tsx index cf9920917b..7e193e522a 100644 --- a/src/components/pod/pod.pw.tsx +++ b/src/components/pod/pod.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Pod, { PodProps } from "."; import { PodExample, diff --git a/src/components/popover-container/popover-container.pw.tsx b/src/components/popover-container/popover-container.pw.tsx index 1057b828d5..c2f717388a 100644 --- a/src/components/popover-container/popover-container.pw.tsx +++ b/src/components/popover-container/popover-container.pw.tsx @@ -1,6 +1,6 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; import { Locator } from "@playwright/test"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Box from "../box"; import { getDataElementByValue } from "../../../playwright/components"; import { diff --git a/src/components/portal/portal.pw.tsx b/src/components/portal/portal.pw.tsx index 53039ff688..65867efbd1 100644 --- a/src/components/portal/portal.pw.tsx +++ b/src/components/portal/portal.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import TestComponent from "./components.test-pw"; import { sidebarPreview } from "../../../playwright/components/sidebar"; diff --git a/src/components/portrait/portrait.pw.tsx b/src/components/portrait/portrait.pw.tsx index 02fcc87f0e..71d1c295af 100644 --- a/src/components/portrait/portrait.pw.tsx +++ b/src/components/portrait/portrait.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { getDataElementByValue } from "../../../playwright/components"; import { portraitImage, diff --git a/src/components/preview/preview.pw.tsx b/src/components/preview/preview.pw.tsx index fcc9a8d8e1..201f0709ab 100644 --- a/src/components/preview/preview.pw.tsx +++ b/src/components/preview/preview.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import PreviewComponent from "./components.test-pw"; import Preview from "../../../src/components/preview"; import { diff --git a/src/components/profile/profile.pw.tsx b/src/components/profile/profile.pw.tsx index 7bae2c7fa1..62343aa2e5 100644 --- a/src/components/profile/profile.pw.tsx +++ b/src/components/profile/profile.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { EmptyProfileComponent, ProfileComponent } from "./component.test-pw"; import { CHARACTERS } from "../../../playwright/support/constants"; diff --git a/src/components/progress-tracker/progress-tracker.pw.tsx b/src/components/progress-tracker/progress-tracker.pw.tsx index 41e507a4ba..b309facfa3 100644 --- a/src/components/progress-tracker/progress-tracker.pw.tsx +++ b/src/components/progress-tracker/progress-tracker.pw.tsx @@ -1,7 +1,7 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; import { Locator } from "@playwright/test"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { progressTrackerComponent, progressTrackerCustomValuePreposition, diff --git a/src/components/radio-button/radio-button.pw.tsx b/src/components/radio-button/radio-button.pw.tsx index f96cd078df..b2d47d99ea 100644 --- a/src/components/radio-button/radio-button.pw.tsx +++ b/src/components/radio-button/radio-button.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { fieldHelpPreview, getComponent, diff --git a/src/components/search/search.pw.tsx b/src/components/search/search.pw.tsx index ba18c58fae..8dd7d4f73a 100644 --- a/src/components/search/search.pw.tsx +++ b/src/components/search/search.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { getDataElementByValue, tooltipPreview, diff --git a/src/components/select/filterable-select/filterable-select.pw.tsx b/src/components/select/filterable-select/filterable-select.pw.tsx index f2f7845004..188c2d02a9 100644 --- a/src/components/select/filterable-select/filterable-select.pw.tsx +++ b/src/components/select/filterable-select/filterable-select.pw.tsx @@ -1,7 +1,7 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; import FilterableSelect, { FilterableSelectProps } from "."; import Option from "../option"; +import { test, expect } from "../../../../playwright/helpers/base-test"; import { FilterableSelectComponent, FilterableSelectObjectAsValueComponent, diff --git a/src/components/select/multi-select/multi-select.pw.tsx b/src/components/select/multi-select/multi-select.pw.tsx index c548c3b7c5..cc457d2950 100644 --- a/src/components/select/multi-select/multi-select.pw.tsx +++ b/src/components/select/multi-select/multi-select.pw.tsx @@ -1,7 +1,7 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; import MultiSelect, { MultiSelectProps } from "."; import Option from "../option"; +import { test, expect } from "../../../../playwright/helpers/base-test"; import { MultiSelectComponent, MultiSelectDefaultValueComponent, diff --git a/src/components/select/simple-select/simple-select.pw.tsx b/src/components/select/simple-select/simple-select.pw.tsx index b85204c503..2b309a2836 100644 --- a/src/components/select/simple-select/simple-select.pw.tsx +++ b/src/components/select/simple-select/simple-select.pw.tsx @@ -1,7 +1,7 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; import SimpleSelect, { SimpleSelectProps } from "."; import Option from "../option"; +import { test, expect } from "../../../../playwright/helpers/base-test"; import { SimpleSelectComponent, SimpleSelectMultipleColumnsComponent, diff --git a/src/components/settings-row/settings-row.pw.tsx b/src/components/settings-row/settings-row.pw.tsx index f8f481add9..2d1bee33d5 100644 --- a/src/components/settings-row/settings-row.pw.tsx +++ b/src/components/settings-row/settings-row.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { SettingsRowDefault, SettingRowWithLinkDescription, diff --git a/src/components/sidebar/sidebar.pw.tsx b/src/components/sidebar/sidebar.pw.tsx index 2000ed0445..1c5b8fa007 100644 --- a/src/components/sidebar/sidebar.pw.tsx +++ b/src/components/sidebar/sidebar.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { backgroundUILocator, closeIconButton, diff --git a/src/components/simple-color-picker/simple-color-picker.pw.tsx b/src/components/simple-color-picker/simple-color-picker.pw.tsx index 7e58a4f0f7..a13b751980 100644 --- a/src/components/simple-color-picker/simple-color-picker.pw.tsx +++ b/src/components/simple-color-picker/simple-color-picker.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { commonDataElementInputPreview, getDataElementByValue, diff --git a/src/components/split-button/split-button.pw.tsx b/src/components/split-button/split-button.pw.tsx index e6a50959c7..3a169630ae 100644 --- a/src/components/split-button/split-button.pw.tsx +++ b/src/components/split-button/split-button.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { expect, test } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { SplitButtonList, SplitButtonNestedInDialog, diff --git a/src/components/step-flow/step-flow.pw.tsx b/src/components/step-flow/step-flow.pw.tsx index bd677d1583..8ba96fa2ef 100644 --- a/src/components/step-flow/step-flow.pw.tsx +++ b/src/components/step-flow/step-flow.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { checkAccessibility, getDesignTokensByCssProperty, diff --git a/src/components/step-sequence/step-sequence.pw.tsx b/src/components/step-sequence/step-sequence.pw.tsx index 6afa46352c..8e44fc325c 100644 --- a/src/components/step-sequence/step-sequence.pw.tsx +++ b/src/components/step-sequence/step-sequence.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { StepSequenceComponent, StepSequenceItemCustom, diff --git a/src/components/switch/switch.pw.tsx b/src/components/switch/switch.pw.tsx index 3a69ac376c..e0593723cc 100644 --- a/src/components/switch/switch.pw.tsx +++ b/src/components/switch/switch.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import Box from "../box"; import Switch, { SwitchProps } from "."; import { diff --git a/src/components/tabs/tabs.pw.tsx b/src/components/tabs/tabs.pw.tsx index 13d03a6687..6e0cb154b5 100644 --- a/src/components/tabs/tabs.pw.tsx +++ b/src/components/tabs/tabs.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { TabProps, TabsProps } from "."; import { diff --git a/src/components/text-editor/text-editor.pw.tsx b/src/components/text-editor/text-editor.pw.tsx index d6cc85659e..2008ef16ba 100644 --- a/src/components/text-editor/text-editor.pw.tsx +++ b/src/components/text-editor/text-editor.pw.tsx @@ -1,6 +1,6 @@ /* eslint-disable no-await-in-loop */ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import CarbonProvider from "../carbon-provider"; import { TextEditorCharacterCount, diff --git a/src/components/textarea/textarea.pw.tsx b/src/components/textarea/textarea.pw.tsx index a9a7cd037f..b5936e58b8 100644 --- a/src/components/textarea/textarea.pw.tsx +++ b/src/components/textarea/textarea.pw.tsx @@ -1,6 +1,6 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import { TextareaProps } from "components/textarea"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { characterCount, diff --git a/src/components/textbox/textbox.pw.tsx b/src/components/textbox/textbox.pw.tsx index b844000010..4013507dfd 100644 --- a/src/components/textbox/textbox.pw.tsx +++ b/src/components/textbox/textbox.pw.tsx @@ -1,6 +1,6 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import { TextboxProps } from "components/textbox"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { getDesignTokensByCssProperty, checkAccessibility, diff --git a/src/components/tile-select/tile-select.pw.tsx b/src/components/tile-select/tile-select.pw.tsx index cb7f5c9511..2dbfca497a 100644 --- a/src/components/tile-select/tile-select.pw.tsx +++ b/src/components/tile-select/tile-select.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { TileSelect } from "."; import { getComponent, diff --git a/src/components/tile/tile.pw.tsx b/src/components/tile/tile.pw.tsx index 2051b289c5..47d38e01b7 100644 --- a/src/components/tile/tile.pw.tsx +++ b/src/components/tile/tile.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { TileProps, TileFooterProps, TileHeaderProps } from "."; import { DlProps } from "../definition-list"; import { diff --git a/src/components/time/time.pw.tsx b/src/components/time/time.pw.tsx index 77bab4a627..51a2b4e6ec 100644 --- a/src/components/time/time.pw.tsx +++ b/src/components/time/time.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { TimeProps } from "."; import { getDataComponentByValue, diff --git a/src/components/toast/toast.pw.tsx b/src/components/toast/toast.pw.tsx index c4e318d8c3..b7e86f01fb 100644 --- a/src/components/toast/toast.pw.tsx +++ b/src/components/toast/toast.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { ToastProps } from "."; import { diff --git a/src/components/tooltip/tooltip.pw.tsx b/src/components/tooltip/tooltip.pw.tsx index 5ef014ec13..26012a6fec 100644 --- a/src/components/tooltip/tooltip.pw.tsx +++ b/src/components/tooltip/tooltip.pw.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; import { Locator } from "@playwright/test"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { TooltipComponent, UncontrolledTooltipComponent, diff --git a/src/components/typography/typography.pw.tsx b/src/components/typography/typography.pw.tsx index 6598b28312..afaf7e634b 100644 --- a/src/components/typography/typography.pw.tsx +++ b/src/components/typography/typography.pw.tsx @@ -1,5 +1,5 @@ -import { expect, test } from "@playwright/experimental-ct-react17"; import React from "react"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { CHARACTERS } from "../../../playwright/support/constants"; import { checkAccessibility } from "../../../playwright/support/helper"; import Typography from "../typography"; diff --git a/src/components/vertical-divider/vertical-divider.pw.tsx b/src/components/vertical-divider/vertical-divider.pw.tsx index 5620001f19..8d952738cf 100644 --- a/src/components/vertical-divider/vertical-divider.pw.tsx +++ b/src/components/vertical-divider/vertical-divider.pw.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import VerticalDividerComponent from "./components.test-pw"; import { verticalDividerComponent } from "../../../playwright/components/vertical-divider/index"; import { VerticalDividerProps } from "./vertical-divider.component"; diff --git a/src/components/vertical-menu/vertical-menu.pw.tsx b/src/components/vertical-menu/vertical-menu.pw.tsx index 4003e9f415..980ef73ed8 100644 --- a/src/components/vertical-menu/vertical-menu.pw.tsx +++ b/src/components/vertical-menu/vertical-menu.pw.tsx @@ -1,6 +1,6 @@ /* eslint-disable no-await-in-loop */ import React from "react"; -import { test, expect } from "@playwright/experimental-ct-react17"; +import { test, expect } from "../../../playwright/helpers/base-test"; import { VerticalMenuDefaultComponent, VerticalMenuItemCustom,