From bc960c64477d35cf3327f74ec0d9be239912dc55 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Fri, 2 Jun 2023 12:16:58 -0400 Subject: [PATCH] Remove old browser (headless) tests (#37433) --- .github/workflows/browser-test.yml | 79 -- jest.config.js | 5 +- package-lock.json | 1897 ++-------------------------- package.json | 4 - script/kill-server-for-jest.js | 11 - script/start-server-for-jest.js | 11 - tests/README.md | 7 +- tests/browser/browser.js | 13 - 8 files changed, 87 insertions(+), 1940 deletions(-) delete mode 100644 .github/workflows/browser-test.yml delete mode 100644 tests/browser/browser.js diff --git a/.github/workflows/browser-test.yml b/.github/workflows/browser-test.yml deleted file mode 100644 index bd45cecb02e4..000000000000 --- a/.github/workflows/browser-test.yml +++ /dev/null @@ -1,79 +0,0 @@ -name: Browser Tests - -# **What it does**: This runs our browser tests on pull requests. -# **Why we have it**: This is the only way we currently test our browser JavaScript. -# **Who does it impact**: Docs engineering, open-source engineering contributors. - -on: - workflow_dispatch: - pull_request: - paths: - - '**.js' - - '**.mjs' - - '**.ts' - - '**.tsx' - - jest.config.js - - package.json - # In case something like eslint or tsc or prettier upgrades - - package-lock.json - # Ultimately, for debugging this workflow itself - - .github/workflows/browser-test.yml - -permissions: - contents: read - -# This allows a subsequently queued workflow run to interrupt previous runs -concurrency: - group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' - cancel-in-progress: true - -env: - ELASTICSEARCH_URL: http://localhost:9200/ - -jobs: - build: - if: github.repository == 'github/docs-internal' || github.repository == 'github/docs' - runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }} - steps: - - name: Checkout - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - - - uses: ./.github/actions/setup-elasticsearch - - - name: Setup Node.js - uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 - with: - node-version-file: 'package.json' - cache: npm - - - name: Install dependencies - env: - # This makes it so the puppeteer npm package doesn't bother - # to download a copy of chromium because it can use - # `$PUPPETEER_EXECUTABLE_PATH` from the ubuntu Action container. - PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - run: npm ci --include=optional - - - uses: ./.github/actions/get-docs-early-access - if: ${{ github.repository == 'github/docs-internal' }} - with: - token: ${{ secrets.DOCUBOT_REPO_PAT }} - - - name: Cache nextjs build - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 - with: - path: .next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }} - - - name: Run build script - run: npm run build - - - name: Index fixtures into the local Elasticsearch - run: npm run index-test-fixtures - - - name: Check that Elasticsearch is accessible - run: | - curl --fail --retry-connrefused --retry 5 -I ${{ env.ELASTICSEARCH_URL }} - - - name: Run browser-test - run: npm run browser-test diff --git a/jest.config.js b/jest.config.js index f7cacbe36f4b..3e5ef02227cc 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,5 @@ // https://jestjs.io/docs/en/configuration.html -const isBrowser = process.env.BROWSER const isActions = Boolean(process.env.GITHUB_ACTIONS) const reporters = ['default'] @@ -18,7 +17,6 @@ export default { statements: -5, }, }, - preset: isBrowser ? 'jest-puppeteer' : undefined, moduleNameMapper: { // fix for "Unexpected token 'export'" error when running jest '@primer/behaviors': '/node_modules/@primer/behaviors/dist/cjs/index.js', @@ -26,14 +24,13 @@ export default { reporters, modulePathIgnorePatterns: ['assets/'], setupFilesAfterEnv: ['./jest.setup.js', 'jest-expect-message'], - ...(isBrowser ? {} : { testEnvironment: 'node' }), + testEnvironment: 'node', testPathIgnorePatterns: [ 'node_modules/', 'vendor/', 'tests/fixtures/', 'tests/helpers/', 'tests/javascripts/', - ...(isBrowser ? [] : ['tests/browser/browser.js']), ], testMatch: ['**/tests/**/*.js'], testLocationInResults: isActions, diff --git a/package-lock.json b/package-lock.json index ee2fbf578229..3c260956c903 100644 --- a/package-lock.json +++ b/package-lock.json @@ -137,7 +137,6 @@ "http-status-code": "^2.1.0", "husky": "^8.0.1", "jest": "29.5.0", - "jest-environment-puppeteer": "^5.0.4", "jest-expect-message": "1.1.3", "jest-fail-on-console": "^3.0.1", "jest-github-actions-reporter": "^1.0.3", @@ -169,8 +168,6 @@ }, "optionalDependencies": { "esm": "^3.2.25", - "jest-puppeteer": "^5.0.4", - "puppeteer": "^9.1.1", "website-scraper": "^5.3.1" } }, @@ -2254,12 +2251,12 @@ }, "node_modules/@hapi/hoek": { "version": "9.2.1", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" @@ -2748,20 +2745,6 @@ "node": ">=8" } }, - "node_modules/@jest/environment": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "jest-mock": "^27.5.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, "node_modules/@jest/expect": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.5.0.tgz", @@ -2787,22 +2770,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/fake-timers": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^27.5.1", - "@sinonjs/fake-timers": "^8.0.1", - "@types/node": "*", - "jest-message-util": "^27.5.1", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, "node_modules/@jest/globals": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.5.0.tgz", @@ -3469,36 +3436,6 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/@jest/types": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/@jest/types/node_modules/chalk": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "dev": true, @@ -4257,7 +4194,7 @@ }, "node_modules/@sideway/address": { "version": "4.1.3", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" @@ -4265,12 +4202,12 @@ }, "node_modules/@sideway/formula": { "version": "3.0.1", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause" }, "node_modules/@sinclair/typebox": { @@ -4289,22 +4226,6 @@ "url": "https://github.com/sindresorhus/is?sponsor=1" } }, - "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "devOptional": true, - "license": "BSD-3-Clause", - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "8.1.0", - "devOptional": true, - "license": "BSD-3-Clause", - "dependencies": { - "@sinonjs/commons": "^1.7.0" - } - }, "node_modules/@styled-system/background": { "version": "5.1.2", "license": "MIT", @@ -4556,12 +4477,12 @@ }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.3", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { "version": "3.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" @@ -4569,7 +4490,7 @@ }, "node_modules/@types/istanbul-reports": { "version": "3.0.1", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" @@ -4670,7 +4591,7 @@ }, "node_modules/@types/stack-utils": { "version": "2.0.1", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/@types/styled-components": { @@ -4704,28 +4625,11 @@ "version": "2.0.6", "license": "MIT" }, - "node_modules/@types/yargs": { - "version": "16.0.4", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@types/yargs-parser": "*" - } - }, "node_modules/@types/yargs-parser": { "version": "20.2.1", - "devOptional": true, + "dev": true, "license": "MIT" }, - "node_modules/@types/yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.58.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.58.0.tgz", @@ -5133,17 +5037,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/agent-base": { - "version": "6.0.2", - "license": "MIT", - "optional": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "dev": true, @@ -5233,7 +5126,7 @@ }, "node_modules/ansi-styles": { "version": "4.3.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -5278,14 +5171,6 @@ "node": ">=6.0" } }, - "node_modules/arr-union": { - "version": "3.1.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/array-flatten": { "version": "1.1.1", "license": "MIT" @@ -5359,14 +5244,6 @@ "node": ">=4" } }, - "node_modules/axios": { - "version": "0.21.4", - "devOptional": true, - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.14.0" - } - }, "node_modules/axobject-query": { "version": "2.2.0", "dev": true, @@ -6559,15 +6436,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "optional": true, - "engines": { - "node": "*" - } - }, "node_modules/buffer-from": { "version": "1.1.2", "dev": true, @@ -6853,7 +6721,7 @@ }, "node_modules/ci-info": { "version": "3.2.0", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/cjs-module-lexer": { @@ -6963,48 +6831,6 @@ "node": ">=8" } }, - "node_modules/clone-deep": { - "version": "0.2.4", - "devOptional": true, - "license": "MIT", - "dependencies": { - "for-own": "^0.1.3", - "is-plain-object": "^2.0.1", - "kind-of": "^3.0.2", - "lazy-cache": "^1.0.3", - "shallow-clone": "^0.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/clone-deep/node_modules/is-buffer": { - "version": "1.1.6", - "devOptional": true, - "license": "MIT" - }, - "node_modules/clone-deep/node_modules/is-plain-object": { - "version": "2.0.4", - "devOptional": true, - "license": "MIT", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/clone-deep/node_modules/kind-of": { - "version": "3.2.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -7343,18 +7169,6 @@ "version": "3.0.9", "license": "MIT" }, - "node_modules/cwd": { - "version": "0.10.0", - "devOptional": true, - "license": "MIT", - "dependencies": { - "find-pkg": "^0.1.2", - "fs-exists-sync": "^0.1.0" - }, - "engines": { - "node": ">=0.8" - } - }, "node_modules/damerau-levenshtein": { "version": "1.0.7", "dev": true, @@ -7510,12 +7324,6 @@ "node": ">=8" } }, - "node_modules/devtools-protocol": { - "version": "0.0.869402", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.869402.tgz", - "integrity": "sha512-VvlVYY+VDJe639yHs5PHISzdWTLL3Aw8rO4cvUtwvoxFd6FHbE4OpHHcde52M6096uYYazAmd4l0o5VuFRO2WA==", - "optional": true - }, "node_modules/diff": { "version": "5.0.0", "license": "BSD-3-Clause", @@ -8621,7 +8429,7 @@ }, "node_modules/exit": { "version": "0.1.2", - "devOptional": true, + "dev": true, "engines": { "node": ">= 0.8.0" } @@ -8633,17 +8441,6 @@ "node": ">=6" } }, - "node_modules/expand-tilde": { - "version": "1.2.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "os-homedir": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/expect": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/expect/-/expect-29.5.0.tgz", @@ -8660,12 +8457,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/expect-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-5.0.4.tgz", - "integrity": "sha512-NV7jSiKhK+byocxg9A+0av+Q2RSCP9bcLVRz7zhHaESeCOkuomMvl9oD+uo1K+NdqRCXhNkQlUGWlmtbrpR1qw==", - "optional": true - }, "node_modules/expect/node_modules/@jest/types": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.5.0.tgz", @@ -8943,26 +8734,6 @@ "node": ">=0.10.0" } }, - "node_modules/extract-zip": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "optional": true, - "dependencies": { - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - }, - "bin": { - "extract-zip": "cli.js" - }, - "engines": { - "node": ">= 10.17.0" - }, - "optionalDependencies": { - "@types/yauzl": "^2.9.1" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "license": "MIT" @@ -9043,15 +8814,6 @@ "bser": "2.1.1" } }, - "node_modules/fd-slicer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", - "optional": true, - "dependencies": { - "pend": "~1.2.0" - } - }, "node_modules/file-entry-cache": { "version": "6.0.1", "dev": true, @@ -9149,65 +8911,6 @@ "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "node_modules/find-file-up": { - "version": "0.1.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "fs-exists-sync": "^0.1.0", - "resolve-dir": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-pkg": { - "version": "0.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "find-file-up": "^0.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/find-process": { - "version": "1.4.7", - "devOptional": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "commander": "^5.1.0", - "debug": "^4.1.1" - }, - "bin": { - "find-process": "bin/find-process.js" - } - }, - "node_modules/find-process/node_modules/chalk": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/find-process/node_modules/commander": { - "version": "5.1.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, "node_modules/find-up": { "version": "2.1.0", "dev": true, @@ -9318,25 +9021,6 @@ } } }, - "node_modules/for-in": { - "version": "1.0.2", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/for-own": { - "version": "0.1.5", - "devOptional": true, - "license": "MIT", - "dependencies": { - "for-in": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/form-data": { "version": "4.0.0", "dev": true, @@ -9386,14 +9070,6 @@ "version": "1.0.0", "license": "MIT" }, - "node_modules/fs-exists-sync": { - "version": "0.1.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -9502,21 +9178,6 @@ "node": ">=8.0.0" } }, - "node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "optional": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/get-symbol-description": { "version": "1.0.0", "dev": true, @@ -9579,43 +9240,6 @@ "license": "BSD-2-Clause", "peer": true }, - "node_modules/global-modules": { - "version": "0.2.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "global-prefix": "^0.1.4", - "is-windows": "^0.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/global-prefix": { - "version": "0.1.5", - "devOptional": true, - "license": "MIT", - "dependencies": { - "homedir-polyfill": "^1.0.0", - "ini": "^1.3.4", - "is-windows": "^0.2.0", - "which": "^1.2.12" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/global-prefix/node_modules/which": { - "version": "1.3.1", - "devOptional": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, "node_modules/globals": { "version": "11.12.0", "license": "MIT", @@ -9688,7 +9312,7 @@ }, "node_modules/graceful-fs": { "version": "4.2.10", - "devOptional": true, + "dev": true, "license": "ISC" }, "node_modules/grapheme-splitter": { @@ -9774,7 +9398,7 @@ }, "node_modules/has-flag": { "version": "4.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -10072,17 +9696,6 @@ "version": "16.13.1", "license": "MIT" }, - "node_modules/homedir-polyfill": { - "version": "1.0.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "parse-passwd": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/hot-shots": { "version": "10.0.0", "license": "MIT", @@ -10221,18 +9834,6 @@ "node": ">=10.19.0" } }, - "node_modules/https-proxy-agent": { - "version": "5.0.0", - "license": "MIT", - "optional": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/human-signals": { "version": "2.1.0", "dev": true, @@ -10353,7 +9954,7 @@ }, "node_modules/inflight": { "version": "1.0.6", - "devOptional": true, + "dev": true, "license": "ISC", "dependencies": { "once": "^1.3.0", @@ -10732,14 +10333,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/is-windows": { - "version": "0.2.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-word-character": { "version": "1.0.4", "license": "MIT", @@ -10766,17 +10359,9 @@ }, "node_modules/isexe": { "version": "2.0.0", - "devOptional": true, + "dev": true, "license": "ISC" }, - "node_modules/isobject": { - "version": "3.0.1", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/istanbul-lib-coverage": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", @@ -11491,35 +11076,6 @@ "node": ">=8" } }, - "node_modules/jest-dev-server": { - "version": "5.0.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.1", - "cwd": "^0.10.0", - "find-process": "^1.4.4", - "prompts": "^2.4.1", - "spawnd": "^5.0.0", - "tree-kill": "^1.2.2", - "wait-on": "^5.3.0" - } - }, - "node_modules/jest-dev-server/node_modules/chalk": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/jest-diff": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.5.0.tgz", @@ -11702,49 +11258,6 @@ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, - "node_modules/jest-environment-node": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@jest/environment": "^27.5.1", - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-environment-puppeteer": { - "version": "5.0.4", - "devOptional": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.1", - "cwd": "^0.10.0", - "jest-dev-server": "^5.0.3", - "jest-environment-node": "^27.0.1", - "merge-deep": "^3.0.3" - } - }, - "node_modules/jest-environment-puppeteer/node_modules/chalk": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/jest-expect-message": { "version": "1.1.3", "dev": true, @@ -12012,60 +11525,6 @@ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, - "node_modules/jest-message-util": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^27.5.1", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-message-util/node_modules/chalk": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/jest-message-util/node_modules/slash": { - "version": "3.0.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-mock": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^27.5.1", - "@types/node": "*" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, "node_modules/jest-pnp-resolver": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", @@ -12083,19 +11542,6 @@ } } }, - "node_modules/jest-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-5.0.4.tgz", - "integrity": "sha512-IUOVKgHEaKsLqahZy/J/DvXB59SQx4AVpZKTRDvJzCdkvdGc3NVsNwUhovr6SK+HOK1TOiqAiXPTAPiIq3mkrg==", - "optional": true, - "dependencies": { - "expect-puppeteer": "^5.0.4", - "jest-environment-puppeteer": "^5.0.4" - }, - "peerDependencies": { - "puppeteer": ">= 1.5.0 < 10" - } - }, "node_modules/jest-regex-util": { "version": "29.4.3", "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.4.3.tgz", @@ -12897,37 +12343,6 @@ "node": ">=8" } }, - "node_modules/jest-util": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "@jest/types": "^27.5.1", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/jest-util/node_modules/chalk": { - "version": "4.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/jest-validate": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.5.0.tgz", @@ -13182,7 +12597,7 @@ }, "node_modules/joi": { "version": "17.8.3", - "devOptional": true, + "dev": true, "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0", @@ -13342,14 +12757,6 @@ "node": "> 0.8" } }, - "node_modules/lazy-cache": { - "version": "1.0.4", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -14120,35 +13527,6 @@ "node": ">= 0.6" } }, - "node_modules/merge-deep": { - "version": "3.0.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "arr-union": "^3.1.0", - "clone-deep": "^0.2.4", - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/merge-deep/node_modules/is-buffer": { - "version": "1.1.6", - "devOptional": true, - "license": "MIT" - }, - "node_modules/merge-deep/node_modules/kind-of": { - "version": "3.2.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/merge-descriptors": { "version": "1.0.1", "license": "MIT" @@ -14768,26 +14146,6 @@ "node": ">=8" } }, - "node_modules/mixin-object": { - "version": "2.0.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "for-in": "^0.1.3", - "is-extendable": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-object/node_modules/for-in": { - "version": "0.1.8", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/mkdirp": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.0.tgz", @@ -15027,7 +14385,7 @@ }, "node_modules/node-fetch": { "version": "2.6.7", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" @@ -15046,17 +14404,17 @@ }, "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/node-fetch/node_modules/webidl-conversions": { "version": "3.0.1", - "devOptional": true, + "dev": true, "license": "BSD-2-Clause" }, "node_modules/node-fetch/node_modules/whatwg-url": { "version": "5.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "tr46": "~0.0.3", @@ -15363,14 +14721,6 @@ "node": ">= 0.8.0" } }, - "node_modules/os-homedir": { - "version": "1.0.2", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/p-cancelable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", @@ -15467,7 +14817,7 @@ }, "node_modules/p-try": { "version": "2.2.0", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -15527,14 +14877,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parse-passwd": { - "version": "1.0.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/parse5": { "version": "7.1.2", "license": "MIT", @@ -15601,7 +14943,7 @@ }, "node_modules/path-is-absolute": { "version": "1.0.1", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -15686,12 +15028,6 @@ "url": "https://github.com/sponsors/Borewit" } }, - "node_modules/pend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", - "optional": true - }, "node_modules/picocolors": { "version": "1.0.0", "license": "ISC" @@ -15728,7 +15064,7 @@ }, "node_modules/pkg-dir": { "version": "4.2.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "find-up": "^4.0.0" @@ -15739,7 +15075,7 @@ }, "node_modules/pkg-dir/node_modules/find-up": { "version": "4.1.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "locate-path": "^5.0.0", @@ -15751,7 +15087,7 @@ }, "node_modules/pkg-dir/node_modules/locate-path": { "version": "5.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "p-locate": "^4.1.0" @@ -15762,7 +15098,7 @@ }, "node_modules/pkg-dir/node_modules/p-limit": { "version": "2.3.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "p-try": "^2.0.0" @@ -15776,7 +15112,7 @@ }, "node_modules/pkg-dir/node_modules/p-locate": { "version": "4.1.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "p-limit": "^2.2.0" @@ -15787,7 +15123,7 @@ }, "node_modules/pkg-dir/node_modules/path-exists": { "version": "4.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -15884,30 +15220,6 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, - "node_modules/pretty-format": { - "version": "27.5.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/prismjs": { "version": "1.27.0", "license": "MIT", @@ -15927,18 +15239,9 @@ "version": "2.0.1", "license": "MIT" }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "optional": true, - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/prompts": { "version": "2.4.2", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "kleur": "^3.0.3", @@ -15950,7 +15253,7 @@ }, "node_modules/prompts/node_modules/kleur": { "version": "3.0.3", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -15996,12 +15299,6 @@ "node": ">= 0.10" } }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "optional": true - }, "node_modules/ps-tree": { "version": "1.2.0", "dev": true, @@ -16036,88 +15333,6 @@ "node": ">=6" } }, - "node_modules/puppeteer": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-9.1.1.tgz", - "integrity": "sha512-W+nOulP2tYd/ZG99WuZC/I5ljjQQ7EUw/jQGcIb9eu8mDlZxNY2SgcJXTLG9h5gRvqA3uJOe4hZXYsd3EqioMw==", - "deprecated": "< 19.2.0 is no longer supported", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "debug": "^4.1.0", - "devtools-protocol": "0.0.869402", - "extract-zip": "^2.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "pkg-dir": "^4.2.0", - "progress": "^2.0.1", - "proxy-from-env": "^1.1.0", - "rimraf": "^3.0.2", - "tar-fs": "^2.0.0", - "unbzip2-stream": "^1.3.3", - "ws": "^7.2.3" - }, - "engines": { - "node": ">=10.18.1" - } - }, - "node_modules/puppeteer/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "optional": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/puppeteer/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "optional": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/puppeteer/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "optional": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/puppeteer/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "optional": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/pure-rand": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.1.tgz", @@ -16297,7 +15512,8 @@ }, "node_modules/react-is": { "version": "17.0.2", - "license": "MIT" + "license": "MIT", + "peer": true }, "node_modules/react-markdown": { "version": "8.0.3", @@ -16993,18 +16209,6 @@ "node": ">=8" } }, - "node_modules/resolve-dir": { - "version": "0.1.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "expand-tilde": "^1.2.2", - "global-modules": "^0.2.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -17394,44 +16598,6 @@ "node": ">= 0.8.0" } }, - "node_modules/shallow-clone": { - "version": "0.1.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "is-extendable": "^0.1.1", - "kind-of": "^2.0.1", - "lazy-cache": "^0.2.3", - "mixin-object": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shallow-clone/node_modules/is-buffer": { - "version": "1.1.6", - "devOptional": true, - "license": "MIT" - }, - "node_modules/shallow-clone/node_modules/kind-of": { - "version": "2.0.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "is-buffer": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shallow-clone/node_modules/lazy-cache": { - "version": "0.2.7", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/shallowequal": { "version": "1.1.0", "license": "MIT" @@ -17496,7 +16662,7 @@ }, "node_modules/signal-exit": { "version": "3.0.7", - "devOptional": true, + "dev": true, "license": "ISC" }, "node_modules/simple-concat": { @@ -17572,7 +16738,7 @@ }, "node_modules/sisteransi": { "version": "1.0.5", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/slash": { @@ -17664,17 +16830,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/spawnd": { - "version": "5.0.0", - "devOptional": true, - "license": "MIT", - "dependencies": { - "exit": "^0.1.2", - "signal-exit": "^3.0.3", - "tree-kill": "^1.2.2", - "wait-port": "^0.2.9" - } - }, "node_modules/split": { "version": "0.3.3", "dev": true, @@ -17703,7 +16858,7 @@ }, "node_modules/stack-utils": { "version": "2.0.5", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" @@ -17714,7 +16869,7 @@ }, "node_modules/stack-utils/node_modules/escape-string-regexp": { "version": "2.0.0", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -18092,7 +17247,7 @@ }, "node_modules/supports-color": { "version": "7.2.0", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -18329,7 +17484,7 @@ }, "node_modules/through": { "version": "2.3.8", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/tmpl": { @@ -18388,14 +17543,6 @@ "nodetouch": "bin/nodetouch.js" } }, - "node_modules/tree-kill": { - "version": "1.2.2", - "devOptional": true, - "license": "MIT", - "bin": { - "tree-kill": "cli.js" - } - }, "node_modules/trim-trailing-lines": { "version": "1.1.4", "license": "MIT", @@ -18505,7 +17652,7 @@ }, "node_modules/type-detect": { "version": "4.0.8", - "devOptional": true, + "dev": true, "license": "MIT", "engines": { "node": ">=4" @@ -18560,16 +17707,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/unbzip2-stream": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", - "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", - "optional": true, - "dependencies": { - "buffer": "^5.2.1", - "through": "^2.3.8" - } - }, "node_modules/undefsafe": { "version": "2.0.5", "dev": true, @@ -18978,125 +18115,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/wait-on": { - "version": "5.3.0", - "devOptional": true, - "license": "MIT", - "dependencies": { - "axios": "^0.21.1", - "joi": "^17.3.0", - "lodash": "^4.17.21", - "minimist": "^1.2.5", - "rxjs": "^6.6.3" - }, - "bin": { - "wait-on": "bin/wait-on" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/wait-on/node_modules/rxjs": { - "version": "6.6.7", - "devOptional": true, - "license": "Apache-2.0", - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" - } - }, - "node_modules/wait-on/node_modules/tslib": { - "version": "1.14.1", - "devOptional": true, - "license": "0BSD" - }, - "node_modules/wait-port": { - "version": "0.2.9", - "devOptional": true, - "license": "MIT", - "dependencies": { - "chalk": "^2.4.2", - "commander": "^3.0.2", - "debug": "^4.1.1" - }, - "bin": { - "wait-port": "bin/wait-port.js" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wait-port/node_modules/ansi-styles": { - "version": "3.2.1", - "devOptional": true, - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/wait-port/node_modules/chalk": { - "version": "2.4.2", - "devOptional": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/wait-port/node_modules/color-convert": { - "version": "1.9.3", - "devOptional": true, - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/wait-port/node_modules/color-name": { - "version": "1.1.3", - "devOptional": true, - "license": "MIT" - }, - "node_modules/wait-port/node_modules/commander": { - "version": "3.0.2", - "devOptional": true, - "license": "MIT" - }, - "node_modules/wait-port/node_modules/escape-string-regexp": { - "version": "1.0.5", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/wait-port/node_modules/has-flag": { - "version": "3.0.0", - "devOptional": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/wait-port/node_modules/supports-color": { - "version": "5.5.0", - "devOptional": true, - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/walk-sync": { "version": "3.0.0", "license": "MIT", @@ -19429,27 +18447,6 @@ "version": "1.0.2", "license": "ISC" }, - "node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "optional": true, - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/xml2js": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", @@ -19526,16 +18523,6 @@ "node": ">=12" } }, - "node_modules/yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", - "optional": true, - "dependencies": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "dev": true, @@ -20898,11 +19885,11 @@ }, "@hapi/hoek": { "version": "9.2.1", - "devOptional": true + "dev": true }, "@hapi/topo": { "version": "5.1.0", - "devOptional": true, + "dev": true, "requires": { "@hapi/hoek": "^9.0.0" } @@ -21283,16 +20270,6 @@ } } }, - "@jest/environment": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "jest-mock": "^27.5.1" - } - }, "@jest/expect": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.5.0.tgz", @@ -21306,22 +20283,10 @@ "@jest/expect-utils": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.5.0.tgz", - "integrity": "sha512-fmKzsidoXQT2KwnrwE0SQq3uj8Z763vzR8LnLBwC2qYWEFpjX8daRsk6rHUM1QvNlEW/UJXNXm59ztmJJWs2Mg==", - "dev": true, - "requires": { - "jest-get-type": "^29.4.3" - } - }, - "@jest/fake-timers": { - "version": "27.5.1", - "devOptional": true, + "integrity": "sha512-fmKzsidoXQT2KwnrwE0SQq3uj8Z763vzR8LnLBwC2qYWEFpjX8daRsk6rHUM1QvNlEW/UJXNXm59ztmJJWs2Mg==", + "dev": true, "requires": { - "@jest/types": "^27.5.1", - "@sinonjs/fake-timers": "^8.0.1", - "@types/node": "*", - "jest-message-util": "^27.5.1", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" + "jest-get-type": "^29.4.3" } }, "@jest/globals": { @@ -21863,27 +20828,6 @@ } } }, - "@jest/types": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^16.0.0", - "chalk": "^4.0.0" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "devOptional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, "@jridgewell/gen-mapping": { "version": "0.1.1", "dev": true, @@ -22394,18 +21338,18 @@ }, "@sideway/address": { "version": "4.1.3", - "devOptional": true, + "dev": true, "requires": { "@hapi/hoek": "^9.0.0" } }, "@sideway/formula": { "version": "3.0.1", - "devOptional": true + "dev": true }, "@sideway/pinpoint": { "version": "2.0.0", - "devOptional": true + "dev": true }, "@sinclair/typebox": { "version": "0.25.24", @@ -22416,20 +21360,6 @@ "@sindresorhus/is": { "version": "5.3.0" }, - "@sinonjs/commons": { - "version": "1.8.3", - "devOptional": true, - "requires": { - "type-detect": "4.0.8" - } - }, - "@sinonjs/fake-timers": { - "version": "8.1.0", - "devOptional": true, - "requires": { - "@sinonjs/commons": "^1.7.0" - } - }, "@styled-system/background": { "version": "5.1.2", "requires": { @@ -22651,18 +21581,18 @@ }, "@types/istanbul-lib-coverage": { "version": "2.0.3", - "devOptional": true + "dev": true }, "@types/istanbul-lib-report": { "version": "3.0.0", - "devOptional": true, + "dev": true, "requires": { "@types/istanbul-lib-coverage": "*" } }, "@types/istanbul-reports": { "version": "3.0.1", - "devOptional": true, + "dev": true, "requires": { "@types/istanbul-lib-report": "*" } @@ -22748,7 +21678,7 @@ }, "@types/stack-utils": { "version": "2.0.1", - "devOptional": true + "dev": true }, "@types/styled-components": { "version": "5.1.11", @@ -22776,25 +21706,9 @@ "@types/unist": { "version": "2.0.6" }, - "@types/yargs": { - "version": "16.0.4", - "devOptional": true, - "requires": { - "@types/yargs-parser": "*" - } - }, "@types/yargs-parser": { "version": "20.2.1", - "devOptional": true - }, - "@types/yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==", - "optional": true, - "requires": { - "@types/node": "*" - } + "dev": true }, "@typescript-eslint/eslint-plugin": { "version": "5.58.0", @@ -23075,13 +21989,6 @@ "dev": true, "requires": {} }, - "agent-base": { - "version": "6.0.2", - "optional": true, - "requires": { - "debug": "4" - } - }, "aggregate-error": { "version": "3.1.0", "dev": true, @@ -23134,7 +22041,7 @@ }, "ansi-styles": { "version": "4.3.0", - "devOptional": true, + "dev": true, "requires": { "color-convert": "^2.0.1" } @@ -23162,10 +22069,6 @@ "@babel/runtime-corejs3": "^7.10.2" } }, - "arr-union": { - "version": "3.1.0", - "devOptional": true - }, "array-flatten": { "version": "1.1.1" }, @@ -23211,13 +22114,6 @@ "version": "4.3.5", "dev": true }, - "axios": { - "version": "0.21.4", - "devOptional": true, - "requires": { - "follow-redirects": "^1.14.0" - } - }, "axobject-query": { "version": "2.2.0", "dev": true @@ -24125,12 +23021,6 @@ "ieee754": "^1.1.13" } }, - "buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", - "optional": true - }, "buffer-from": { "version": "1.1.2", "dev": true @@ -24311,7 +23201,7 @@ }, "ci-info": { "version": "3.2.0", - "devOptional": true + "dev": true }, "cjs-module-lexer": { "version": "1.2.2", @@ -24381,37 +23271,6 @@ } } }, - "clone-deep": { - "version": "0.2.4", - "devOptional": true, - "requires": { - "for-own": "^0.1.3", - "is-plain-object": "^2.0.1", - "kind-of": "^3.0.2", - "lazy-cache": "^1.0.3", - "shallow-clone": "^0.1.2" - }, - "dependencies": { - "is-buffer": { - "version": "1.1.6", - "devOptional": true - }, - "is-plain-object": { - "version": "2.0.4", - "devOptional": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "kind-of": { - "version": "3.2.2", - "devOptional": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -24626,14 +23485,6 @@ "csstype": { "version": "3.0.9" }, - "cwd": { - "version": "0.10.0", - "devOptional": true, - "requires": { - "find-pkg": "^0.1.2", - "fs-exists-sync": "^0.1.0" - } - }, "damerau-levenshtein": { "version": "1.0.7", "dev": true @@ -24715,12 +23566,6 @@ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true }, - "devtools-protocol": { - "version": "0.0.869402", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.869402.tgz", - "integrity": "sha512-VvlVYY+VDJe639yHs5PHISzdWTLL3Aw8rO4cvUtwvoxFd6FHbE4OpHHcde52M6096uYYazAmd4l0o5VuFRO2WA==", - "optional": true - }, "diff": { "version": "5.0.0" }, @@ -25433,18 +24278,11 @@ }, "exit": { "version": "0.1.2", - "devOptional": true + "dev": true }, "expand-template": { "version": "2.0.3" }, - "expand-tilde": { - "version": "1.2.2", - "devOptional": true, - "requires": { - "os-homedir": "^1.0.1" - } - }, "expect": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/expect/-/expect-29.5.0.tgz", @@ -25555,12 +24393,6 @@ } } }, - "expect-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/expect-puppeteer/-/expect-puppeteer-5.0.4.tgz", - "integrity": "sha512-NV7jSiKhK+byocxg9A+0av+Q2RSCP9bcLVRz7zhHaESeCOkuomMvl9oD+uo1K+NdqRCXhNkQlUGWlmtbrpR1qw==", - "optional": true - }, "express": { "version": "4.18.1", "requires": { @@ -25660,18 +24492,6 @@ "is-extendable": "^0.1.0" } }, - "extract-zip": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", - "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", - "optional": true, - "requires": { - "@types/yauzl": "^2.9.1", - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - } - }, "fast-deep-equal": { "version": "3.1.3" }, @@ -25729,15 +24549,6 @@ "bser": "2.1.1" } }, - "fd-slicer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", - "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", - "optional": true, - "requires": { - "pend": "~1.2.0" - } - }, "file-entry-cache": { "version": "6.0.1", "dev": true, @@ -25802,44 +24613,6 @@ "pkg-dir": "^4.1.0" } }, - "find-file-up": { - "version": "0.1.3", - "devOptional": true, - "requires": { - "fs-exists-sync": "^0.1.0", - "resolve-dir": "^0.1.0" - } - }, - "find-pkg": { - "version": "0.1.2", - "devOptional": true, - "requires": { - "find-file-up": "^0.1.2" - } - }, - "find-process": { - "version": "1.4.7", - "devOptional": true, - "requires": { - "chalk": "^4.0.0", - "commander": "^5.1.0", - "debug": "^4.1.1" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "devOptional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "commander": { - "version": "5.1.0", - "devOptional": true - } - } - }, "find-up": { "version": "2.1.0", "dev": true, @@ -25904,17 +24677,6 @@ "follow-redirects": { "version": "1.15.2" }, - "for-in": { - "version": "1.0.2", - "devOptional": true - }, - "for-own": { - "version": "0.1.5", - "devOptional": true, - "requires": { - "for-in": "^1.0.1" - } - }, "form-data": { "version": "4.0.0", "dev": true, @@ -25943,10 +24705,6 @@ "fs-constants": { "version": "1.0.0" }, - "fs-exists-sync": { - "version": "0.1.0", - "devOptional": true - }, "fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -26017,15 +24775,6 @@ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true }, - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "optional": true, - "requires": { - "pump": "^3.0.0" - } - }, "get-symbol-description": { "version": "1.0.0", "dev": true, @@ -26067,33 +24816,6 @@ "dev": true, "peer": true }, - "global-modules": { - "version": "0.2.3", - "devOptional": true, - "requires": { - "global-prefix": "^0.1.4", - "is-windows": "^0.2.0" - } - }, - "global-prefix": { - "version": "0.1.5", - "devOptional": true, - "requires": { - "homedir-polyfill": "^1.0.0", - "ini": "^1.3.4", - "is-windows": "^0.2.0", - "which": "^1.2.12" - }, - "dependencies": { - "which": { - "version": "1.3.1", - "devOptional": true, - "requires": { - "isexe": "^2.0.0" - } - } - } - }, "globals": { "version": "11.12.0" }, @@ -26144,7 +24866,7 @@ }, "graceful-fs": { "version": "4.2.10", - "devOptional": true + "dev": true }, "grapheme-splitter": { "version": "1.0.4", @@ -26203,7 +24925,7 @@ }, "has-flag": { "version": "4.0.0", - "devOptional": true + "dev": true }, "has-property-descriptors": { "version": "1.0.0", @@ -26400,13 +25122,6 @@ } } }, - "homedir-polyfill": { - "version": "1.0.3", - "devOptional": true, - "requires": { - "parse-passwd": "^1.0.0" - } - }, "hot-shots": { "version": "10.0.0", "requires": { @@ -26490,14 +25205,6 @@ "resolve-alpn": "^1.2.0" } }, - "https-proxy-agent": { - "version": "5.0.0", - "optional": true, - "requires": { - "agent-base": "6", - "debug": "4" - } - }, "human-signals": { "version": "2.1.0", "dev": true @@ -26556,7 +25263,7 @@ }, "inflight": { "version": "1.0.6", - "devOptional": true, + "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -26753,10 +25460,6 @@ "is-whitespace-character": { "version": "1.0.4" }, - "is-windows": { - "version": "0.2.0", - "devOptional": true - }, "is-word-character": { "version": "1.0.4" }, @@ -26773,11 +25476,7 @@ }, "isexe": { "version": "2.0.0", - "devOptional": true - }, - "isobject": { - "version": "3.0.1", - "devOptional": true + "dev": true }, "istanbul-lib-coverage": { "version": "3.2.0", @@ -27376,29 +26075,6 @@ } } }, - "jest-dev-server": { - "version": "5.0.3", - "devOptional": true, - "requires": { - "chalk": "^4.1.1", - "cwd": "^0.10.0", - "find-process": "^1.4.4", - "prompts": "^2.4.1", - "spawnd": "^5.0.0", - "tree-kill": "^1.2.2", - "wait-on": "^5.3.0" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "devOptional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, "jest-diff": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.5.0.tgz", @@ -27544,39 +26220,6 @@ } } }, - "jest-environment-node": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "@jest/environment": "^27.5.1", - "@jest/fake-timers": "^27.5.1", - "@jest/types": "^27.5.1", - "@types/node": "*", - "jest-mock": "^27.5.1", - "jest-util": "^27.5.1" - } - }, - "jest-environment-puppeteer": { - "version": "5.0.4", - "devOptional": true, - "requires": { - "chalk": "^4.1.1", - "cwd": "^0.10.0", - "jest-dev-server": "^5.0.3", - "jest-environment-node": "^27.0.1", - "merge-deep": "^3.0.3" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "devOptional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, "jest-expect-message": { "version": "1.1.3", "dev": true @@ -27787,43 +26430,6 @@ } } }, - "jest-message-util": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^27.5.1", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "devOptional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "slash": { - "version": "3.0.0", - "devOptional": true - } - } - }, - "jest-mock": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "@jest/types": "^27.5.1", - "@types/node": "*" - } - }, "jest-pnp-resolver": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", @@ -27831,16 +26437,6 @@ "dev": true, "requires": {} }, - "jest-puppeteer": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/jest-puppeteer/-/jest-puppeteer-5.0.4.tgz", - "integrity": "sha512-IUOVKgHEaKsLqahZy/J/DvXB59SQx4AVpZKTRDvJzCdkvdGc3NVsNwUhovr6SK+HOK1TOiqAiXPTAPiIq3mkrg==", - "optional": true, - "requires": { - "expect-puppeteer": "^5.0.4", - "jest-environment-puppeteer": "^5.0.4" - } - }, "jest-regex-util": { "version": "29.4.3", "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.4.3.tgz", @@ -28504,28 +27100,6 @@ } } }, - "jest-util": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "@jest/types": "^27.5.1", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "dependencies": { - "chalk": { - "version": "4.1.2", - "devOptional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - } - } - }, "jest-validate": { "version": "29.5.0", "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.5.0.tgz", @@ -28693,7 +27267,7 @@ }, "joi": { "version": "17.8.3", - "devOptional": true, + "dev": true, "requires": { "@hapi/hoek": "^9.0.0", "@hapi/topo": "^5.0.0", @@ -28800,10 +27374,6 @@ "version": "1.6.0", "dev": true }, - "lazy-cache": { - "version": "1.0.4", - "devOptional": true - }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -29280,28 +27850,6 @@ "media-typer": { "version": "0.3.0" }, - "merge-deep": { - "version": "3.0.3", - "devOptional": true, - "requires": { - "arr-union": "^3.1.0", - "clone-deep": "^0.2.4", - "kind-of": "^3.0.2" - }, - "dependencies": { - "is-buffer": { - "version": "1.1.6", - "devOptional": true - }, - "kind-of": { - "version": "3.2.2", - "devOptional": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "merge-descriptors": { "version": "1.0.1" }, @@ -29604,20 +28152,6 @@ "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==" }, - "mixin-object": { - "version": "2.0.1", - "devOptional": true, - "requires": { - "for-in": "^0.1.3", - "is-extendable": "^0.1.1" - }, - "dependencies": { - "for-in": { - "version": "0.1.8", - "devOptional": true - } - } - }, "mkdirp": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.0.tgz", @@ -29780,22 +28314,22 @@ }, "node-fetch": { "version": "2.6.7", - "devOptional": true, + "dev": true, "requires": { "whatwg-url": "^5.0.0" }, "dependencies": { "tr46": { "version": "0.0.3", - "devOptional": true + "dev": true }, "webidl-conversions": { "version": "3.0.1", - "devOptional": true + "dev": true }, "whatwg-url": { "version": "5.0.0", - "devOptional": true, + "dev": true, "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -29992,10 +28526,6 @@ "word-wrap": "^1.2.3" } }, - "os-homedir": { - "version": "1.0.2", - "devOptional": true - }, "p-cancelable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", @@ -30053,7 +28583,7 @@ }, "p-try": { "version": "2.2.0", - "devOptional": true + "dev": true }, "param-case": { "version": "3.0.4", @@ -30093,10 +28623,6 @@ "lines-and-columns": "^1.1.6" } }, - "parse-passwd": { - "version": "1.0.0", - "devOptional": true - }, "parse5": { "version": "7.1.2", "requires": { @@ -30140,7 +28666,7 @@ }, "path-is-absolute": { "version": "1.0.1", - "devOptional": true + "dev": true }, "path-key": { "version": "3.1.1", @@ -30190,12 +28716,6 @@ "peek-readable": { "version": "5.0.0" }, - "pend": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", - "optional": true - }, "picocolors": { "version": "1.0.0" }, @@ -30214,14 +28734,14 @@ }, "pkg-dir": { "version": "4.2.0", - "devOptional": true, + "dev": true, "requires": { "find-up": "^4.0.0" }, "dependencies": { "find-up": { "version": "4.1.0", - "devOptional": true, + "dev": true, "requires": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -30229,28 +28749,28 @@ }, "locate-path": { "version": "5.0.0", - "devOptional": true, + "dev": true, "requires": { "p-locate": "^4.1.0" } }, "p-limit": { "version": "2.3.0", - "devOptional": true, + "dev": true, "requires": { "p-try": "^2.0.0" } }, "p-locate": { "version": "4.1.0", - "devOptional": true, + "dev": true, "requires": { "p-limit": "^2.2.0" } }, "path-exists": { "version": "4.0.0", - "devOptional": true + "dev": true } } }, @@ -30302,21 +28822,6 @@ "version": "2.7.1", "dev": true }, - "pretty-format": { - "version": "27.5.1", - "devOptional": true, - "requires": { - "ansi-regex": "^5.0.1", - "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "5.2.0", - "devOptional": true - } - } - }, "prismjs": { "version": "1.27.0" }, @@ -30327,15 +28832,9 @@ "process-nextick-args": { "version": "2.0.1" }, - "progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "optional": true - }, "prompts": { "version": "2.4.2", - "devOptional": true, + "dev": true, "requires": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" @@ -30343,7 +28842,7 @@ "dependencies": { "kleur": { "version": "3.0.3", - "devOptional": true + "dev": true } } }, @@ -30374,12 +28873,6 @@ "ipaddr.js": "1.9.1" } }, - "proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "optional": true - }, "ps-tree": { "version": "1.2.0", "dev": true, @@ -30401,70 +28894,6 @@ "punycode": { "version": "2.1.1" }, - "puppeteer": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-9.1.1.tgz", - "integrity": "sha512-W+nOulP2tYd/ZG99WuZC/I5ljjQQ7EUw/jQGcIb9eu8mDlZxNY2SgcJXTLG9h5gRvqA3uJOe4hZXYsd3EqioMw==", - "optional": true, - "requires": { - "debug": "^4.1.0", - "devtools-protocol": "0.0.869402", - "extract-zip": "^2.0.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.1", - "pkg-dir": "^4.2.0", - "progress": "^2.0.1", - "proxy-from-env": "^1.1.0", - "rimraf": "^3.0.2", - "tar-fs": "^2.0.0", - "unbzip2-stream": "^1.3.3", - "ws": "^7.2.3" - }, - "dependencies": { - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "optional": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "optional": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "optional": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "optional": true, - "requires": { - "glob": "^7.1.3" - } - } - } - }, "pure-rand": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.1.tgz", @@ -30564,7 +28993,8 @@ "requires": {} }, "react-is": { - "version": "17.0.2" + "version": "17.0.2", + "peer": true }, "react-markdown": { "version": "8.0.3", @@ -31004,14 +29434,6 @@ } } }, - "resolve-dir": { - "version": "0.1.1", - "devOptional": true, - "requires": { - "expand-tilde": "^1.2.2", - "global-modules": "^0.2.3" - } - }, "resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", @@ -31272,33 +29694,6 @@ "send": "0.18.0" } }, - "shallow-clone": { - "version": "0.1.2", - "devOptional": true, - "requires": { - "is-extendable": "^0.1.1", - "kind-of": "^2.0.1", - "lazy-cache": "^0.2.3", - "mixin-object": "^2.0.1" - }, - "dependencies": { - "is-buffer": { - "version": "1.1.6", - "devOptional": true - }, - "kind-of": { - "version": "2.0.1", - "devOptional": true, - "requires": { - "is-buffer": "^1.0.2" - } - }, - "lazy-cache": { - "version": "0.2.7", - "devOptional": true - } - } - }, "shallowequal": { "version": "1.1.0" }, @@ -31342,7 +29737,7 @@ }, "signal-exit": { "version": "3.0.7", - "devOptional": true + "dev": true }, "simple-concat": { "version": "1.0.1" @@ -31381,7 +29776,7 @@ }, "sisteransi": { "version": "1.0.5", - "devOptional": true + "dev": true }, "slash": { "version": "5.0.0" @@ -31431,16 +29826,6 @@ "space-separated-tokens": { "version": "2.0.1" }, - "spawnd": { - "version": "5.0.0", - "devOptional": true, - "requires": { - "exit": "^0.1.2", - "signal-exit": "^3.0.3", - "tree-kill": "^1.2.2", - "wait-port": "^0.2.9" - } - }, "split": { "version": "0.3.3", "dev": true, @@ -31457,14 +29842,14 @@ }, "stack-utils": { "version": "2.0.5", - "devOptional": true, + "dev": true, "requires": { "escape-string-regexp": "^2.0.0" }, "dependencies": { "escape-string-regexp": { "version": "2.0.0", - "devOptional": true + "dev": true } } }, @@ -31695,7 +30080,7 @@ }, "supports-color": { "version": "7.2.0", - "devOptional": true, + "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -31852,7 +30237,7 @@ }, "through": { "version": "2.3.8", - "devOptional": true + "dev": true }, "tmpl": { "version": "1.0.5", @@ -31886,10 +30271,6 @@ "nopt": "~1.0.10" } }, - "tree-kill": { - "version": "1.2.2", - "devOptional": true - }, "trim-trailing-lines": { "version": "1.1.4" }, @@ -31963,7 +30344,7 @@ }, "type-detect": { "version": "4.0.8", - "devOptional": true + "dev": true }, "type-fest": { "version": "0.21.3", @@ -31992,16 +30373,6 @@ "which-boxed-primitive": "^1.0.2" } }, - "unbzip2-stream": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", - "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", - "optional": true, - "requires": { - "buffer": "^5.2.1", - "through": "^2.3.8" - } - }, "undefsafe": { "version": "2.0.5", "dev": true @@ -32245,87 +30616,6 @@ "unist-util-stringify-position": "^3.0.0" } }, - "wait-on": { - "version": "5.3.0", - "devOptional": true, - "requires": { - "axios": "^0.21.1", - "joi": "^17.3.0", - "lodash": "^4.17.21", - "minimist": "^1.2.5", - "rxjs": "^6.6.3" - }, - "dependencies": { - "rxjs": { - "version": "6.6.7", - "devOptional": true, - "requires": { - "tslib": "^1.9.0" - } - }, - "tslib": { - "version": "1.14.1", - "devOptional": true - } - } - }, - "wait-port": { - "version": "0.2.9", - "devOptional": true, - "requires": { - "chalk": "^2.4.2", - "commander": "^3.0.2", - "debug": "^4.1.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "devOptional": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "devOptional": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "devOptional": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "devOptional": true - }, - "commander": { - "version": "3.0.2", - "devOptional": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "devOptional": true - }, - "has-flag": { - "version": "3.0.0", - "devOptional": true - }, - "supports-color": { - "version": "5.5.0", - "devOptional": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, "walk-sync": { "version": "3.0.0", "requires": { @@ -32552,13 +30842,6 @@ "wrappy": { "version": "1.0.2" }, - "ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", - "optional": true, - "requires": {} - }, "xml2js": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", @@ -32614,16 +30897,6 @@ } } }, - "yauzl": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", - "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", - "optional": true, - "requires": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, "yocto-queue": { "version": "0.1.0", "dev": true diff --git a/package.json b/package.json index dca7b8e9feab..eecd4e4fa600 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,6 @@ "http-status-code": "^2.1.0", "husky": "^8.0.1", "jest": "29.5.0", - "jest-environment-puppeteer": "^5.0.4", "jest-expect-message": "1.1.3", "jest-fail-on-console": "^3.0.1", "jest-github-actions-reporter": "^1.0.3", @@ -174,14 +173,11 @@ "name": "docs.github.com", "optionalDependencies": { "esm": "^3.2.25", - "jest-puppeteer": "^5.0.4", - "puppeteer": "^9.1.1", "website-scraper": "^5.3.1" }, "private": true, "repository": "https://github.com/github/docs", "scripts": { - "browser-test": "cross-env BROWSER=1 ENABLED_LANGUAGES=en,ja NODE_OPTIONS=--experimental-vm-modules JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest tests/browser/browser.js", "build": "next build", "debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon --inspect server.js", "dev": "cross-env npm start", diff --git a/script/kill-server-for-jest.js b/script/kill-server-for-jest.js index 7370ed3b8611..29162b50ad7e 100755 --- a/script/kill-server-for-jest.js +++ b/script/kill-server-for-jest.js @@ -1,7 +1,5 @@ #!/usr/bin/env node -import teardownJestPuppeteer from 'jest-environment-puppeteer/teardown.js' - import { START_JEST_SERVER, isServerHealthy, killServer } from './server-for-jest.js' export default async () => { @@ -12,13 +10,4 @@ export default async () => { killServer() } } - - // The way jest-puppeteer works is that you add a preset in - // `jest.config.js` but that preset will clash with the execution - // of this script. So we have to manually do what we do normally - // do in `jest.config.js` - // Note, we can delete this when we migrate to Playwright. - if (process.env.BROWSER) { - await teardownJestPuppeteer() - } } diff --git a/script/start-server-for-jest.js b/script/start-server-for-jest.js index 0510c57cdee4..6731ff3fa0a9 100755 --- a/script/start-server-for-jest.js +++ b/script/start-server-for-jest.js @@ -1,7 +1,5 @@ #!/usr/bin/env node -import setupJestPuppeteer from 'jest-environment-puppeteer/setup.js' - import { main } from '../start-server.js' import { PORT, START_JEST_SERVER, isServerHealthy, isPortRunning } from './server-for-jest.js' @@ -30,13 +28,4 @@ export default async () => { } else { console.warn(`jest is NOT automatically starting a server on port :${PORT}`) } - - // The way jest-puppeteer works is that you add a preset in - // `jest.config.js` but that preset will clash with the execution - // of this script. So we have to manually do what we do normally - // do in `jest.config.js`. - // Note, we can delete this when we migrate to Playwright. - if (process.env.BROWSER) { - await setupJestPuppeteer() - } } diff --git a/tests/README.md b/tests/README.md index b1abc59c5c33..4b0407c6d788 100644 --- a/tests/README.md +++ b/tests/README.md @@ -13,18 +13,13 @@ custom reporters for different types of test output, etc. ### Install optional dependencies We typically rely on CI to run our tests, so some large test-only -dependencies are considered **optional** (for example, puppeteer). To run the tests locally, you'll +dependencies are considered **optional**. To run the tests locally, you'll need to make sure optional dependencies are installed by running: ```sh npm ci --include=optional ``` -If you run into the error "Could not find expected browser (chrome) locally", you may need to install the expected chromium version manually with: -``` -node node_modules/puppeteer/install.js -``` - ### Running all the tests Once you've followed the development instructions above, you can run the entire diff --git a/tests/browser/browser.js b/tests/browser/browser.js deleted file mode 100644 index 89c8d88d5383..000000000000 --- a/tests/browser/browser.js +++ /dev/null @@ -1,13 +0,0 @@ -import { jest } from '@jest/globals' - -jest.useFakeTimers({ legacyFakeTimers: true }) - -/* global page */ -describe('homepage', () => { - jest.setTimeout(60 * 1000) - - test('should be titled "GitHub Docs"', async () => { - await page.goto('http://localhost:4000') - await expect(page.title()).resolves.toMatch('GitHub Docs') - }) -})