From 2e2a659959da9cb555f64b937200b000ced93624 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Mon, 4 Jul 2022 14:54:45 +0200 Subject: [PATCH] [v3.0] Remove actively deprecated features, show warnings for other deprecated features (#4551) * Deprecate Node 12 (#4548) * Remove all active deprecations * Make all inactive deprecations active * Try to make test more stable * Update CLI help screen --- .github/workflows/tests.yml | 4 +- LICENSE.md | 4 +- cli/help.md | 6 +- cli/run/waitForInput.ts | 3 +- docs/01-command-line-reference.md | 6 +- docs/05-plugin-development.md | 28 - docs/999-big-list-of-options.md | 27 - package-lock.json | 8323 +++++++++++++++-- package.json | 45 +- src/Bundle.ts | 12 +- src/ExternalModule.ts | 2 +- src/Module.ts | 2 +- src/ast/nodes/MetaProperty.ts | 68 +- src/rollup/types.d.ts | 39 +- src/utils/FileEmitter.ts | 13 +- src/utils/PluginContext.ts | 85 +- src/utils/PluginDriver.ts | 3 +- src/utils/options/normalizeInputOptions.ts | 42 +- src/utils/options/normalizeOutputOptions.ts | 8 +- src/utils/pluginUtils.ts | 28 +- src/utils/transform.ts | 8 - .../avoid-imports-preserve-modules/_config.js | 3 +- .../circular-manual-chunks/_config.js | 2 +- .../deprecated/configure-asset-url/_config.js | 43 - .../amd/assets/asset-resolved-8bd22e6e.txt | 1 - .../amd/assets/asset-solved-28a7ac89.txt | 1 - .../amd/assets/asset-unresolved-8dcd7fca.txt | 1 - .../configure-asset-url/_expected/amd/main.js | 9 - .../_expected/amd/nested/chunk.js | 7 - .../cjs/assets/asset-resolved-8bd22e6e.txt | 1 - .../cjs/assets/asset-solved-28a7ac89.txt | 1 - .../cjs/assets/asset-unresolved-8dcd7fca.txt | 1 - .../configure-asset-url/_expected/cjs/main.js | 7 - .../_expected/cjs/nested/chunk.js | 5 - .../es/assets/asset-resolved-8bd22e6e.txt | 1 - .../es/assets/asset-solved-28a7ac89.txt | 1 - .../es/assets/asset-unresolved-8dcd7fca.txt | 1 - .../configure-asset-url/_expected/es/main.js | 5 - .../_expected/es/nested/chunk.js | 3 - .../system/assets/asset-resolved-8bd22e6e.txt | 1 - .../system/assets/asset-solved-28a7ac89.txt | 1 - .../assets/asset-unresolved-8dcd7fca.txt | 1 - .../_expected/system/main.js | 14 - .../_expected/system/nested/chunk.js | 10 - .../deprecated/configure-asset-url/main.js | 4 - .../_config.js | 57 - .../amd/assets/asset-resolved-8bd22e6e.txt | 1 - .../amd/assets/asset-solved-28a7ac89.txt | 1 - .../amd/assets/asset-unresolved-8dcd7fca.txt | 1 - .../_expected/amd/main.js | 11 - .../_expected/amd/nested/chunk.js | 5 - .../_expected/amd/nested/chunk2.js | 9 - .../cjs/assets/asset-resolved-8bd22e6e.txt | 1 - .../cjs/assets/asset-solved-28a7ac89.txt | 1 - .../cjs/assets/asset-unresolved-8dcd7fca.txt | 1 - .../_expected/cjs/main.js | 9 - .../_expected/cjs/nested/chunk.js | 3 - .../_expected/cjs/nested/chunk2.js | 7 - .../es/assets/asset-resolved-8bd22e6e.txt | 1 - .../es/assets/asset-solved-28a7ac89.txt | 1 - .../es/assets/asset-unresolved-8dcd7fca.txt | 1 - .../_expected/es/main.js | 7 - .../_expected/es/nested/chunk.js | 1 - .../_expected/es/nested/chunk2.js | 4 - .../system/assets/asset-resolved-8bd22e6e.txt | 1 - .../system/assets/asset-solved-28a7ac89.txt | 1 - .../assets/asset-unresolved-8dcd7fca.txt | 1 - .../_expected/system/main.js | 16 - .../_expected/system/nested/chunk.js | 10 - .../_expected/system/nested/chunk2.js | 11 - .../chunk.js | 1 - .../main.js | 5 - .../dynamic-import-comments/_config.js | 3 +- .../dynamic-import-inlining-object/_config.js | 3 +- .../deprecated/dynamic-import-name/_config.js | 3 +- .../samples/deprecated/emit-asset/_config.js | 30 - .../_expected/amd/assets/logo1-a5ec488b.svg | 3 - .../_expected/amd/assets/logo2-6d5979e4.svg | 3 - .../emit-asset/_expected/amd/main.js | 21 - .../emit-asset/_expected/amd/nested/chunk.js | 7 - .../_expected/cjs/assets/logo1-a5ec488b.svg | 3 - .../_expected/cjs/assets/logo2-6d5979e4.svg | 3 - .../emit-asset/_expected/cjs/main.js | 19 - .../emit-asset/_expected/cjs/nested/chunk.js | 7 - .../_expected/es/assets/logo1-a5ec488b.svg | 3 - .../_expected/es/assets/logo2-6d5979e4.svg | 3 - .../emit-asset/_expected/es/main.js | 15 - .../emit-asset/_expected/es/nested/chunk.js | 5 - .../system/assets/logo1-a5ec488b.svg | 3 - .../system/assets/logo2-6d5979e4.svg | 3 - .../emit-asset/_expected/system/main.js | 24 - .../_expected/system/nested/chunk.js | 16 - .../deprecated/emit-asset/index-amd.html | 10 - .../deprecated/emit-asset/index-es.html | 10 - .../deprecated/emit-asset/index-system.html | 11 - .../samples/deprecated/emit-asset/logo1.svg | 3 - .../samples/deprecated/emit-asset/logo2.svg | 3 - .../samples/deprecated/emit-asset/main.js | 5 - .../samples/deprecated/emit-asset/nested.js | 4 - .../deprecated/emit-asset/show-image.js | 8 - .../deprecated/emit-chunk-existing/_config.js | 21 - .../_expected/amd/first-main.js | 5 - .../_expected/amd/generated-dep.js | 7 - .../_expected/amd/second-main.js | 5 - .../_expected/cjs/first-main.js | 5 - .../_expected/cjs/generated-dep.js | 5 - .../_expected/cjs/second-main.js | 5 - .../_expected/es/first-main.js | 3 - .../_expected/es/generated-dep.js | 3 - .../_expected/es/second-main.js | 3 - .../_expected/system/first-main.js | 14 - .../_expected/system/generated-dep.js | 10 - .../_expected/system/second-main.js | 14 - .../deprecated/emit-chunk-existing/dep.js | 1 - .../deprecated/emit-chunk-existing/main1.js | 3 - .../deprecated/emit-chunk-existing/main2.js | 3 - .../deprecated/emit-chunk-facade/_config.js | 22 - .../_expected/amd/generated-build-starter.js | 11 - .../_expected/amd/generated-buildStart.js | 9 - .../emit-chunk-facade/_expected/amd/main.js | 5 - .../_expected/cjs/generated-build-starter.js | 9 - .../_expected/cjs/generated-buildStart.js | 9 - .../emit-chunk-facade/_expected/cjs/main.js | 5 - .../_expected/es/generated-build-starter.js | 6 - .../_expected/es/generated-buildStart.js | 1 - .../emit-chunk-facade/_expected/es/main.js | 3 - .../system/generated-build-starter.js | 13 - .../_expected/system/generated-buildStart.js | 13 - .../_expected/system/main.js | 15 - .../emit-chunk-facade/buildStart.js | 5 - .../deprecated/emit-chunk-facade/dep.js | 2 - .../deprecated/emit-chunk-facade/main.js | 3 - .../deprecated/emit-chunk-named/_config.js | 32 - .../_expected/amd/generated-dep.js | 7 - .../amd/generated-nested/build-start.js | 5 - .../amd/generated-nested/transform.js | 5 - .../emit-chunk-named/_expected/amd/main.js | 5 - .../_expected/cjs/generated-dep.js | 5 - .../cjs/generated-nested/build-start.js | 5 - .../cjs/generated-nested/transform.js | 5 - .../emit-chunk-named/_expected/cjs/main.js | 5 - .../_expected/es/generated-dep.js | 3 - .../es/generated-nested/build-start.js | 3 - .../es/generated-nested/transform.js | 3 - .../emit-chunk-named/_expected/es/main.js | 3 - .../_expected/system/generated-dep.js | 10 - .../system/generated-nested/build-start.js | 14 - .../system/generated-nested/transform.js | 14 - .../emit-chunk-named/_expected/system/main.js | 14 - .../deprecated/emit-chunk-named/buildStart.js | 3 - .../deprecated/emit-chunk-named/dep.js | 1 - .../deprecated/emit-chunk-named/main.js | 3 - .../deprecated/emit-chunk-named/transform.js | 3 - .../deprecated/emit-chunk-worker/_config.js | 56 - .../_expected/amd/chunks/nested.js | 10 - .../_expected/amd/chunks/shared.js | 7 - .../_expected/amd/chunks/worker-proxy.js | 2 - .../_expected/amd/chunks/worker.js | 5 - .../emit-chunk-worker/_expected/amd/main.js | 15 - .../_expected/cjs/chunks/nested.js | 8 - .../_expected/cjs/chunks/shared.js | 5 - .../_expected/cjs/chunks/worker-proxy.js | 3 - .../_expected/cjs/chunks/worker.js | 5 - .../emit-chunk-worker/_expected/cjs/main.js | 15 - .../_expected/es/chunks/nested.js | 6 - .../_expected/es/chunks/shared.js | 3 - .../_expected/es/chunks/worker-proxy.js | 1 - .../_expected/es/chunks/worker.js | 3 - .../emit-chunk-worker/_expected/es/main.js | 13 - .../_expected/system/chunks/nested.js | 13 - .../_expected/system/chunks/shared.js | 10 - .../_expected/system/chunks/worker-proxy.js | 2 - .../_expected/system/chunks/worker.js | 14 - .../_expected/system/main.js | 24 - .../emit-chunk-worker/index-amd.html | 10 - .../emit-chunk-worker/index-system.html | 11 - .../deprecated/emit-chunk-worker/main.js | 9 - .../deprecated/emit-chunk-worker/shared.js | 1 - .../deprecated/emit-chunk-worker/worker.js | 3 - .../deprecated/emit-chunk-worklet/_config.js | 30 - .../_expected/amd/chunks/shared.js | 9 - .../_expected/amd/chunks/worklet.js | 17 - .../emit-chunk-worklet/_expected/amd/main.js | 7 - .../_expected/cjs/chunks/shared.js | 7 - .../_expected/cjs/chunks/worklet.js | 17 - .../emit-chunk-worklet/_expected/cjs/main.js | 7 - .../_expected/es/chunks/shared.js | 4 - .../_expected/es/chunks/worklet.js | 15 - .../emit-chunk-worklet/_expected/es/main.js | 5 - .../_expected/system/chunks/shared.js | 11 - .../_expected/system/chunks/worklet.js | 27 - .../_expected/system/main.js | 17 - .../emit-chunk-worklet/index-es.html | 10 - .../deprecated/emit-chunk-worklet/main.js | 4 - .../deprecated/emit-chunk-worklet/shared.js | 2 - .../deprecated/emit-chunk-worklet/worklet.js | 15 - .../samples/deprecated/emit-chunk/_config.js | 19 - .../_expected/amd/generated-buildStart.js | 5 - .../emit-chunk/_expected/amd/generated-dep.js | 7 - .../emit-chunk/_expected/amd/main.js | 5 - .../_expected/cjs/generated-buildStart.js | 5 - .../emit-chunk/_expected/cjs/generated-dep.js | 5 - .../emit-chunk/_expected/cjs/main.js | 5 - .../_expected/es/generated-buildStart.js | 3 - .../emit-chunk/_expected/es/generated-dep.js | 3 - .../emit-chunk/_expected/es/main.js | 3 - .../_expected/system/generated-buildStart.js | 14 - .../_expected/system/generated-dep.js | 10 - .../emit-chunk/_expected/system/main.js | 14 - .../deprecated/emit-chunk/buildStart.js | 3 - .../samples/deprecated/emit-chunk/dep.js | 1 - .../samples/deprecated/emit-chunk/main.js | 3 - .../emit-file-chunk-facade/_config.js | 3 +- .../empty-module-no-treeshake/_config.js | 3 +- .../_config.js | 2 +- .../_config.js | 3 +- .../manual-chunk-avoid-facade/_config.js | 3 +- .../_config.js | 3 +- .../_config.js | 3 +- .../manual-chunk-is-entry-conflict/_config.js | 3 +- .../manual-chunk-is-entry-match/_config.js | 3 +- .../manual-chunks-different-nested/_config.js | 3 +- .../manual-chunks-dynamic-facades/_config.js | 3 +- .../_config.js | 3 +- .../manual-chunks-dynamic/_config.js | 3 +- .../manual-chunks-function/_config.js | 3 +- .../manual-chunks-nested/_config.js | 3 +- .../deprecated/manual-chunks/_config.js | 3 +- .../_config.js | 2 +- .../dynamic-import-default-mode/_config.js | 3 +- .../dynamic-import/_config.js | 3 +- .../_config.js | 3 +- .../preserve-modules-commonjs/_config.js | 2 +- .../_expected/amd/main.js | 6 +- .../_expected/amd/main2.js | 9 - .../_expected/cjs/main.js | 8 +- .../_expected/cjs/main2.js | 10 - .../_expected/es/main.js | 5 +- .../_expected/es/main2.js | 4 - .../_expected/system/main.js | 11 +- .../_expected/system/main2.js | 16 - .../_config.js | 3 +- .../_config.js | 3 +- .../preserve-modules-empty/_config.js | 3 +- .../preserve-modules-export-alias/_config.js | 3 +- .../_config.js | 3 +- .../_config.js | 3 +- .../_config.js | 3 +- .../_config.js | 3 +- .../preserve-modules-nested-export/_config.js | 3 +- .../_config.js | 3 +- .../preserve-modules-proxy-import/_config.js | 3 +- .../_config.js | 3 +- .../_config.js | 3 +- .../preserve-modules-single-entry/_config.js | 3 +- .../_config.js | 3 +- .../deprecated/preserve-modules/_config.js | 3 +- .../_expected/amd/main.js | 6 +- .../_expected/amd/main2.js | 9 - .../_expected/cjs/main.js | 8 +- .../_expected/cjs/main2.js | 10 - .../_expected/es/main.js | 5 +- .../_expected/es/main2.js | 4 - .../_expected/system/main.js | 11 +- .../_expected/system/main2.js | 16 - .../plugin/advanced-esm/_expected/cjs.js | 3 +- .../plugin/advanced-esm/_expected/es.js | 2 +- .../deprecated/configure-asset-url/_config.js | 40 - .../configure-asset-url/_expected/amd.js | 11 - .../assets/asset-resolved-8bd22e6e.txt | 1 - .../assets/asset-solved-28a7ac89.txt | 1 - .../assets/asset-unresolved-8dcd7fca.txt | 1 - .../configure-asset-url/_expected/cjs.js | 9 - .../configure-asset-url/_expected/es.js | 7 - .../configure-asset-url/_expected/iife.js | 12 - .../configure-asset-url/_expected/system.js | 16 - .../configure-asset-url/_expected/umd.js | 14 - .../deprecated/configure-asset-url/main.js | 5 - .../dynamic-import-inlining-array/_config.js | 3 +- .../dynamic-import-inlining/_config.js | 3 +- .../deprecated/emit-asset-hacky/_config.js | 17 - .../emit-asset-hacky/_expected/amd.js | 5 - .../emit-asset-hacky/_expected/cjs.js | 3 - .../emit-asset-hacky/_expected/es.js | 1 - .../emit-asset-hacky/_expected/iife.js | 6 - .../_expected/my-hacky-asset.txt | 1 - .../emit-asset-hacky/_expected/system.js | 10 - .../emit-asset-hacky/_expected/umd.js | 8 - .../deprecated/emit-asset-hacky/main.js | 1 - .../samples/deprecated/emit-asset/_config.js | 40 - .../deprecated/emit-asset/_expected/amd.js | 16 - .../_expected/assets/logo-25585ac1.svg | 3 - .../deprecated/emit-asset/_expected/cjs.js | 14 - .../deprecated/emit-asset/_expected/es.js | 12 - .../deprecated/emit-asset/_expected/iife.js | 17 - .../deprecated/emit-asset/_expected/system.js | 21 - .../deprecated/emit-asset/_expected/umd.js | 19 - .../deprecated/emit-asset/index-amd.html | 10 - .../deprecated/emit-asset/index-cjs.html | 10 - .../deprecated/emit-asset/index-es.html | 10 - .../deprecated/emit-asset/index-iife.html | 10 - .../deprecated/emit-asset/index-system.html | 11 - .../deprecated/emit-asset/index-umd-amd.html | 10 - .../emit-asset/index-umd-iife-queryparam.html | 10 - .../deprecated/emit-asset/index-umd-iife.html | 10 - .../samples/deprecated/emit-asset/logo.svg | 3 - .../samples/deprecated/emit-asset/main.js | 12 - .../_config.js | 3 +- .../interop-boolean-per-dependency/_config.js | 3 +- .../_config.js | 3 +- .../interop-false-reexport/_config.js | 3 +- .../deprecated/interop-false/_config.js | 2 +- .../_config.js | 3 +- .../entry-default/_config.js | 3 +- .../namespace-tostring/entry-named/_config.js | 3 +- .../external-namespaces/_config.js | 3 +- .../inlined-namespace/_config.js | 3 +- .../nested-inlined-dynamic-import/_config.js | 3 +- .../deprecated/prefer-const/_config.js | 3 +- .../prune-pure-unused-import-array/_config.js | 12 - .../_expected/amd.js | 5 - .../_expected/cjs.js | 4 - .../_expected/es.js | 1 - .../_expected/iife.js | 6 - .../_expected/system.js | 11 - .../_expected/umd.js | 8 - .../prune-pure-unused-import-array/main.js | 7 - .../_config.js | 12 - .../_expected/amd.js | 5 - .../_expected/cjs.js | 4 - .../_expected/es.js | 1 - .../_expected/iife.js | 6 - .../_expected/system.js | 11 - .../_expected/umd.js | 8 - .../prune-pure-unused-import-function/main.js | 7 - .../prune-pure-unused-import/_config.js | 9 - .../prune-pure-unused-import/_expected/amd.js | 5 - .../prune-pure-unused-import/_expected/cjs.js | 2 - .../prune-pure-unused-import/_expected/es.js | 1 - .../_expected/iife.js | 6 - .../_expected/system.js | 10 - .../prune-pure-unused-import/_expected/umd.js | 8 - .../prune-pure-unused-import/main.js | 5 - .../arrow-functions-false/_config.js | 3 +- .../arrow-functions-true/_config.js | 3 +- .../arrow-functions-false/_config.js | 3 +- .../arrow-functions-true/_config.js | 3 +- .../samples/supports-core-js/_expected.js | 3178 ++++--- .../samples/deprecated/compact/_config.js | 5 + .../deprecated/context-resolve-id/_config.js | 86 - .../context-resolve-id/existing-name.js | 1 - .../context-resolve-id/existing-object.js | 1 - .../deprecated/context-resolve-id/main.js | 11 - .../deconflicts-interop-boolean/_config.js | 10 +- .../dynamic-import-duplicates/_config.js | 9 +- .../dynamic-import-inlining/_config.js | 9 +- .../dynamic-import-name-warn/_config.js | 5 + .../deprecated/dynamic-import-name/_config.js | 9 +- .../asset-source-missing-2/_config.js | 17 - .../emit-asset/asset-source-missing-2/main.js | 1 - .../asset-source-missing-3/_config.js | 21 - .../emit-asset/asset-source-missing-3/main.js | 1 - .../asset-source-missing/_config.js | 16 - .../emit-asset/asset-source-missing/main.js | 1 - .../emit-asset/invalid-asset-id/_config.js | 16 - .../emit-asset/invalid-asset-id/main.js | 1 - .../emit-asset/invalid-asset-name/_config.js | 20 - .../emit-asset/invalid-asset-name/main.js | 1 - .../invalid-set-asset-source-id/_config.js | 19 - .../invalid-set-asset-source-id/main.js | 1 - .../set-asset-source-transform/_config.js | 26 - .../set-asset-source-transform/main.js | 1 - .../set-asset-source-twice/_config.js | 21 - .../emit-asset/set-asset-source-twice/main.js | 1 - .../_config.js | 26 - .../chunk.js | 1 - .../main.js | 1 - .../chunk-filename-not-available/_config.js | 22 - .../chunk-filename-not-available/chunk.js | 1 - .../chunk-filename-not-available/main.js | 1 - .../emit-chunk/chunk-not-found/_config.js | 19 - .../emit-chunk/chunk-not-found/main.js | 1 - .../emit-chunk/invalid-chunk-id/_config.js | 16 - .../emit-chunk/invalid-chunk-id/main.js | 1 - .../emit-chunk/modules-loaded/_config.js | 20 - .../emit-chunk/modules-loaded/chunk.js | 1 - .../emit-chunk/modules-loaded/main.js | 1 - .../deprecated/emit-chunk/no-input/_config.js | 21 - .../deprecated/emit-chunk/no-input/chunk.js | 1 - .../inline-dynamic-imports-bundle/_config.js | 9 +- .../inline-imports-with-manual/_config.js | 3 +- .../_config.js | 3 +- .../_config.js | 9 +- .../deprecated/interop-false/_config.js | 10 +- .../interop-true-live-bindings/_config.js | 10 +- .../interop-true-no-live-bindings/_config.js | 10 +- .../_config.js | 24 - .../main.js | 3 - .../manual-chunks-conflict/_config.js | 3 +- .../deprecated/manual-chunks-info/_config.js | 3 +- .../manual-chunks-preserve-modules/_config.js | 3 +- .../name-conflict-symbol/_config.js | 9 +- .../dynamic-import-default-mode/_config.js | 9 +- .../dynamic-import/_config.js | 9 +- .../entry-default/_config.js | 9 +- .../namespace-tostring/entry-named/_config.js | 9 +- .../external-namespaces/_config.js | 9 +- .../inlined-namespace/_config.js | 9 +- .../interop-property-descriptor/_config.js | 9 +- .../property-descriptor/_config.js | 9 +- .../_config.js | 9 +- .../deprecated/plugin-module-ids/_config.js | 10 +- .../preserveModules/mixed-exports/_config.js | 5 + .../virtual-modules-conflict/_config.js | 9 +- .../virtual-modules/_config.js | 9 +- .../samples/deprecated/reexport-ns/_config.js | 9 +- .../deprecated/resolve-id-external/_config.js | 4 +- .../samples/deprecated/resolve-id/_config.js | 5 + .../deprecations/ROLLUP_ASSET_URL/_config.js | 19 - .../deprecations/ROLLUP_ASSET_URL/main.js | 11 - .../deprecations/ROLLUP_CHUNK_URL/_config.js | 26 - .../deprecations/ROLLUP_CHUNK_URL/main.js | 11 - .../deprecations/resolveAssetUrl/_config.js | 14 - .../deprecations/resolveAssetUrl/main.js | 11 - .../deprecations/this-emitAsset/_config.js | 17 - .../deprecations/this-emitAsset/main.js | 11 - .../deprecations/this-emitChunk/_config.js | 17 - .../deprecations/this-emitChunk/main.js | 11 - .../this-getAssetFileName/_config.js | 18 - .../this-getAssetFileName/main.js | 11 - .../this-getChunkFileName/_config.js | 23 - .../this-getChunkFileName/chunk.js | 1 - .../this-getChunkFileName/main.js | 11 - .../deprecations/this-isExternal/_config.js | 18 - .../deprecations/this-isExternal/main.js | 11 - .../deprecations/this-resolveId/_config.js | 18 - .../deprecations/this-resolveId/main.js | 11 - .../treeshake-pureExternalModules/_config.js | 10 - .../treeshake-pureExternalModules/main.js | 11 - test/hooks/index.js | 328 - test/watch/index.js | 2 +- tsconfig.json | 2 +- 442 files changed, 9812 insertions(+), 5756 deletions(-) delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_config.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-asset-url/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_config.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk2.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk2.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk2.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-solved-28a7ac89.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk2.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo1-a5ec488b.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo2-6d5979e4.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/amd/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo1-a5ec488b.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo2-6d5979e4.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo1-a5ec488b.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo2-6d5979e4.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/es/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo1-a5ec488b.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo2-6d5979e4.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/_expected/system/nested/chunk.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/index-amd.html delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/index-es.html delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/index-system.html delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/logo1.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/logo2.svg delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/nested.js delete mode 100644 test/chunking-form/samples/deprecated/emit-asset/show-image.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/first-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/second-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/first-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/second-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/first-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/second-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/first-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/second-main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/main1.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-existing/main2.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-build-starter.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-build-starter.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-build-starter.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-build-starter.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-facade/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/build-start.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/transform.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/build-start.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/transform.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/build-start.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/transform.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/build-start.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/transform.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-named/transform.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/nested.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker-proxy.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/nested.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker-proxy.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/nested.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker-proxy.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/nested.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker-proxy.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/index-amd.html delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/index-system.html delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worker/worker.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/worklet.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/worklet.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/worklet.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/worklet.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/index-es.html delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/shared.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk-worklet/worklet.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_config.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/es/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/_expected/system/main.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/buildStart.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/dep.js delete mode 100644 test/chunking-form/samples/deprecated/emit-chunk/main.js delete mode 100644 test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main2.js delete mode 100644 test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main2.js delete mode 100644 test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main2.js delete mode 100644 test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main2.js delete mode 100644 test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main2.js delete mode 100644 test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main2.js delete mode 100644 test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main2.js delete mode 100644 test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main2.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_config.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/amd.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-resolved-8bd22e6e.txt delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-solved-28a7ac89.txt delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-unresolved-8dcd7fca.txt delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/cjs.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/es.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/iife.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/system.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/_expected/umd.js delete mode 100644 test/form/samples/deprecated/configure-asset-url/main.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_config.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/amd.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/cjs.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/es.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/iife.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/my-hacky-asset.txt delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/system.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/_expected/umd.js delete mode 100644 test/form/samples/deprecated/emit-asset-hacky/main.js delete mode 100644 test/form/samples/deprecated/emit-asset/_config.js delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/amd.js delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/assets/logo-25585ac1.svg delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/cjs.js delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/es.js delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/iife.js delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/system.js delete mode 100644 test/form/samples/deprecated/emit-asset/_expected/umd.js delete mode 100644 test/form/samples/deprecated/emit-asset/index-amd.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-cjs.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-es.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-iife.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-system.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-umd-amd.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-umd-iife-queryparam.html delete mode 100644 test/form/samples/deprecated/emit-asset/index-umd-iife.html delete mode 100644 test/form/samples/deprecated/emit-asset/logo.svg delete mode 100644 test/form/samples/deprecated/emit-asset/main.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_config.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_expected/amd.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_expected/cjs.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_expected/es.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_expected/iife.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_expected/system.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/_expected/umd.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-array/main.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_config.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_expected/amd.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_expected/cjs.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_expected/es.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_expected/iife.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_expected/system.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/_expected/umd.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import-function/main.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_config.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_expected/amd.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_expected/cjs.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_expected/es.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_expected/iife.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_expected/system.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/_expected/umd.js delete mode 100644 test/form/samples/deprecated/prune-pure-unused-import/main.js delete mode 100644 test/function/samples/deprecated/context-resolve-id/_config.js delete mode 100644 test/function/samples/deprecated/context-resolve-id/existing-name.js delete mode 100644 test/function/samples/deprecated/context-resolve-id/existing-object.js delete mode 100644 test/function/samples/deprecated/context-resolve-id/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/asset-source-missing-2/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/asset-source-missing-2/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/asset-source-missing-3/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/asset-source-missing-3/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/asset-source-missing/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/asset-source-missing/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/invalid-asset-id/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/invalid-asset-id/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/invalid-asset-name/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/invalid-asset-name/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/set-asset-source-transform/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/set-asset-source-transform/main.js delete mode 100644 test/function/samples/deprecated/emit-asset/set-asset-source-twice/_config.js delete mode 100644 test/function/samples/deprecated/emit-asset/set-asset-source-twice/main.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/_config.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/chunk.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/main.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/_config.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/chunk.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/main.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-not-found/_config.js delete mode 100644 test/function/samples/deprecated/emit-chunk/chunk-not-found/main.js delete mode 100644 test/function/samples/deprecated/emit-chunk/invalid-chunk-id/_config.js delete mode 100644 test/function/samples/deprecated/emit-chunk/invalid-chunk-id/main.js delete mode 100644 test/function/samples/deprecated/emit-chunk/modules-loaded/_config.js delete mode 100644 test/function/samples/deprecated/emit-chunk/modules-loaded/chunk.js delete mode 100644 test/function/samples/deprecated/emit-chunk/modules-loaded/main.js delete mode 100644 test/function/samples/deprecated/emit-chunk/no-input/_config.js delete mode 100644 test/function/samples/deprecated/emit-chunk/no-input/chunk.js delete mode 100644 test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/_config.js delete mode 100644 test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/main.js delete mode 100644 test/function/samples/deprecations/ROLLUP_ASSET_URL/_config.js delete mode 100644 test/function/samples/deprecations/ROLLUP_ASSET_URL/main.js delete mode 100644 test/function/samples/deprecations/ROLLUP_CHUNK_URL/_config.js delete mode 100644 test/function/samples/deprecations/ROLLUP_CHUNK_URL/main.js delete mode 100644 test/function/samples/deprecations/resolveAssetUrl/_config.js delete mode 100644 test/function/samples/deprecations/resolveAssetUrl/main.js delete mode 100644 test/function/samples/deprecations/this-emitAsset/_config.js delete mode 100644 test/function/samples/deprecations/this-emitAsset/main.js delete mode 100644 test/function/samples/deprecations/this-emitChunk/_config.js delete mode 100644 test/function/samples/deprecations/this-emitChunk/main.js delete mode 100644 test/function/samples/deprecations/this-getAssetFileName/_config.js delete mode 100644 test/function/samples/deprecations/this-getAssetFileName/main.js delete mode 100644 test/function/samples/deprecations/this-getChunkFileName/_config.js delete mode 100644 test/function/samples/deprecations/this-getChunkFileName/chunk.js delete mode 100644 test/function/samples/deprecations/this-getChunkFileName/main.js delete mode 100644 test/function/samples/deprecations/this-isExternal/_config.js delete mode 100644 test/function/samples/deprecations/this-isExternal/main.js delete mode 100644 test/function/samples/deprecations/this-resolveId/_config.js delete mode 100644 test/function/samples/deprecations/this-resolveId/main.js delete mode 100644 test/function/samples/deprecations/treeshake-pureExternalModules/_config.js delete mode 100644 test/function/samples/deprecations/treeshake-pureExternalModules/main.js diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 70f646f1760..586abf1e0d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['10', '12', '14'] + node: ['14'] name: Node ${{ matrix.node }} (Linux) steps: - name: Checkout Commit @@ -98,7 +98,7 @@ jobs: runs-on: windows-latest strategy: matrix: - node: ['10', '14', '18'] + node: ['14', '18'] name: Node ${{ matrix.node }} (Windows) steps: - name: Checkout Commit diff --git a/LICENSE.md b/LICENSE.md index d5a5c4fb861..0ac3a7e208e 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -481,7 +481,7 @@ Repository: sindresorhus/parse-ms > MIT License > -> Copyright (c) Sindre Sorhus (sindresorhus.com) +> Copyright (c) Sindre Sorhus (https://sindresorhus.com) > > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: > @@ -544,7 +544,7 @@ Repository: sindresorhus/pretty-ms > MIT License > -> Copyright (c) Sindre Sorhus (sindresorhus.com) +> Copyright (c) Sindre Sorhus (https://sindresorhus.com) > > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: > diff --git a/cli/help.md b/cli/help.md index e687b59fb0c..ef478867e2c 100644 --- a/cli/help.md +++ b/cli/help.md @@ -37,16 +37,18 @@ Basic options: --failAfterWarnings Exit with an error if the build produced warnings --footer Code to insert at end of bundle (outside wrapper) --no-freeze Do not freeze namespace objects +--generatedCode Which code features to use (es5/es2015) --no-hoistTransitiveImports Do not hoist transitive imports into entry chunks --no-indent Don't indent result --no-interop Do not include interop block --inlineDynamicImports Create single bundle when using dynamic imports --intro Code to insert at top of bundle (inside wrapper) +--no-makeAbsoluteExternalsRelative Prevent normalization of external imports +--maxParallelFileReads How many files to read in parallel --minifyInternalExports Force or disable minification of internal exports ---namespaceToStringTag Create proper `.toString` methods for namespaces --noConflict Generate a noConflict method for UMD globals --outro Code to insert at end of bundle (inside wrapper) ---preferConst Use `const` instead of `var` for exports +--perf Display performance timings --no-preserveEntrySignatures Avoid facade chunks for entry points --preserveModules Preserve module structure --preserveModulesRoot Put preserved modules under this path at root level diff --git a/cli/run/waitForInput.ts b/cli/run/waitForInput.ts index 69fdd9254c2..fb43776a0df 100644 --- a/cli/run/waitForInput.ts +++ b/cli/run/waitForInput.ts @@ -1,5 +1,4 @@ -import type { PluginContext } from 'rollup'; -import type { NormalizedInputOptions, Plugin } from '../../src/rollup/types'; +import type { NormalizedInputOptions, Plugin, PluginContext } from '../../src/rollup/types'; import { bold } from '../../src/utils/colors'; import { stderr } from '../logging'; diff --git a/docs/01-command-line-reference.md b/docs/01-command-line-reference.md index 703a221b7bc..bc46db8021d 100755 --- a/docs/01-command-line-reference.md +++ b/docs/01-command-line-reference.md @@ -343,16 +343,18 @@ Many options have command line equivalents. In those cases, any arguments passed --failAfterWarnings Exit with an error if the build produced warnings --footer Code to insert at end of bundle (outside wrapper) --no-freeze Do not freeze namespace objects +--generatedCode Which code features to use (es5/es2015) --no-hoistTransitiveImports Do not hoist transitive imports into entry chunks --no-indent Don't indent result --no-interop Do not include interop block --inlineDynamicImports Create single bundle when using dynamic imports --intro Code to insert at top of bundle (inside wrapper) +--no-makeAbsoluteExternalsRelative Prevent normalization of external imports +--maxParallelFileReads How many files to read in parallel --minifyInternalExports Force or disable minification of internal exports ---namespaceToStringTag Create proper `.toString` methods for namespaces --noConflict Generate a noConflict method for UMD globals --outro Code to insert at end of bundle (inside wrapper) ---preferConst Use `const` instead of `var` for exports +--perf Display performance timings --no-preserveEntrySignatures Avoid facade chunks for entry points --preserveModules Preserve module structure --preserveModulesRoot Put preserved modules under this path at root level diff --git a/docs/05-plugin-development.md b/docs/05-plugin-development.md index 9d6fa5447a3..1b3a3b76bac 100644 --- a/docs/05-plugin-development.md +++ b/docs/05-plugin-development.md @@ -554,14 +554,6 @@ Note that since this hook has access to the filename of the current chunk, its r Called only at the end of `bundle.write()` once all files have been written. Similar to the [`generateBundle`](guide/en/#generatebundle) hook, `bundle` provides the full list of files being written along with their details. -### Deprecated Hooks - -☢️ These hooks have been deprecated and may be removed in a future Rollup version. - -- `resolveAssetUrl` - _**Use [`resolveFileUrl`](guide/en/#resolvefileurl)**_ - Function hook that allows to customize the generated code for asset URLs. - -More properties may be supported in the future, as and when they prove necessary. - ### Plugin Context A number of utility functions and informational bits can be accessed from within most [hooks](guide/en/#build-hooks) via `this`: @@ -945,24 +937,6 @@ The `position` argument is a character index where the warning was raised. If pr ☢️ These context utility functions have been deprecated and may be removed in a future Rollup version. -- `this.emitAsset(assetName: string, source: string) => string` - _**Use [`this.emitFile`](guide/en/#thisemitfile)**_ - Emits a custom file that is included in the build output, returning a `referenceId` that can be used to reference the emitted file. You can defer setting the source if you provide it later via [`this.setAssetSource(referenceId, source)`](guide/en/#thissetassetsource). A string or `Uint8Array`/`Buffer` source must be set for each asset through either method or an error will be thrown on generate completion. - - Emitted assets will follow the [`output.assetFileNames`](guide/en/#outputassetfilenames) naming scheme. You can reference the URL of the file in any code returned by a [`load`](guide/en/#load) or [`transform`](guide/en/#transform) plugin hook via `import.meta.ROLLUP_ASSET_URL_referenceId`. - - The generated code that replaces `import.meta.ROLLUP_ASSET_URL_referenceId` can be customized via the [`resolveFileUrl`](guide/en/#resolvefileurl) plugin hook. Once the asset has been finalized during `generate`, you can also use [`this.getFileName(referenceId)`](guide/en/#thisgetfilename) to determine the file name. - -- `this.emitChunk(moduleId: string, options?: {name?: string}) => string` - _**Use [`this.emitFile`](guide/en/#thisemitfile)**_ - Emits a new chunk with the given module as entry point. This will not result in duplicate modules in the graph, instead if necessary, existing chunks will be split. It returns a `referenceId` that can be used to later access the generated file name of the chunk. - - Emitted chunks will follow the [`output.chunkFileNames`](guide/en/#outputchunkfilenames), [`output.entryFileNames`](guide/en/#outputentryfilenames) naming scheme. If a `name` is provided, this will be used for the `[name]` file name placeholder, otherwise the name will be derived from the file name. If a `name` is provided, this name must not conflict with any other entry point names unless the entry points reference the same entry module. You can reference the URL of the emitted chunk in any code returned by a [`load`](guide/en/#load) or [`transform`](guide/en/#transform) plugin hook via `import.meta.ROLLUP_CHUNK_URL_referenceId`. - - The generated code that replaces `import.meta.ROLLUP_CHUNK_URL_referenceId` can be customized via the [`resolveFileUrl`](guide/en/#resolvefileurl) plugin hook. Once the chunk has been rendered during `generate`, you can also use [`this.getFileName(referenceId)`](guide/en/#thisgetfilename) to determine the file name. - -- `this.getAssetFileName(referenceId: string) => string` - _**Use [`this.getFileName`](guide/en/#thisgetfilename)**_ - Get the file name of an asset, according to the `assetFileNames` output option pattern. The file name will be relative to `outputOptions.dir`. - -- `this.getChunkFileName(referenceId: string) => string` - _**Use [`this.getFileName`](guide/en/#thisgetfilename)**_ - Get the file name of an emitted chunk. The file name will be relative to `outputOptions.dir`. - -- `this.isExternal(id: string, importer: string | undefined, isResolved: boolean) => boolean` - _**Use [`this.resolve`](guide/en/#thisresolve)**_ - Determine if a given module ID is external when imported by `importer`. When `isResolved` is false, Rollup will try to resolve the id before testing if it is external. - - `this.moduleIds: IterableIterator` - _**Use [`this.getModuleIds`](guide/en/#thisgetmoduleids)**_ - An `Iterator` that gives access to all module ids in the current graph. It can be iterated via ```js @@ -973,8 +947,6 @@ The `position` argument is a character index where the warning was raised. If pr or converted into an Array via `Array.from(this.moduleIds)`. -- `this.resolveId(source: string, importer?: string) => Promise` - _**Use [`this.resolve`](guide/en/#thisresolve)**_ - Resolve imports to module ids (i.e. file names) using the same plugins that Rollup uses. Returns `null` if an id cannot be resolved. - ### File URLs To reference a file URL reference from within JS code, use the `import.meta.ROLLUP_FILE_URL_referenceId` replacement. This will generate code that depends on the output format and generates a URL that points to the emitted file in the target environment. Note that all formats except CommonJS and UMD assume that they run in a browser environment where `URL` and `document` are available. diff --git a/docs/999-big-list-of-options.md b/docs/999-big-list-of-options.md index 48d213d443f..86e7cb1c6ec 100755 --- a/docs/999-big-list-of-options.md +++ b/docs/999-big-list-of-options.md @@ -1875,33 +1875,6 @@ _Use the [`output.generatedCode.constBindings`](guide/en/#outputgeneratedcode) o Generate `const` declarations for exports rather than `var` declarations. -#### treeshake.pureExternalModules - -_Use [`treeshake.moduleSideEffects: 'no-external'`](guide/en/#treeshake) instead._
Type: `boolean | string[] | (id: string) => boolean | null`
CLI: `--treeshake.pureExternalModules`/`--no-treeshake.pureExternalModules`
Default: `false` - -If `true`, assume external dependencies from which nothing is imported do not have other side effects like mutating global variables or logging. - -```javascript -// input file -import { unused } from 'external-a'; -import 'external-b'; -console.log(42); -``` - -```javascript -// output with treeshake.pureExternalModules === false -import 'external-a'; -import 'external-b'; -console.log(42); -``` - -```javascript -// output with treeshake.pureExternalModules === true -console.log(42); -``` - -You can also supply a list of external ids to be considered pure or a function that is called whenever an external import could be removed. - #### output.namespaceToStringTag _Use [`output.generatedCode.symbols`](guide/en/#outputgeneratedcode) instead._
Type: `boolean`
CLI: `--namespaceToStringTag`/`--no-namespaceToStringTag`
Default: `false` diff --git a/package-lock.json b/package-lock.json index 58895a9ddfd..9bfbaf9d8a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,6914 @@ { "name": "rollup", "version": "2.75.7", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "name": "rollup", + "version": "2.75.7", + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "devDependencies": { + "@rollup/plugin-alias": "^3.1.9", + "@rollup/plugin-buble": "^0.21.3", + "@rollup/plugin-commonjs": "^22.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.3.0", + "@rollup/plugin-replace": "^4.0.0", + "@rollup/plugin-typescript": "^8.3.3", + "@rollup/pluginutils": "^4.2.1", + "@types/estree": "0.0.52", + "@types/node": "^14.18.21", + "@types/signal-exit": "^3.0.1", + "@types/yargs-parser": "^21.0.0", + "@typescript-eslint/eslint-plugin": "^5.30.3", + "@typescript-eslint/parser": "^5.30.3", + "acorn": "^8.7.1", + "acorn-jsx": "^5.3.2", + "acorn-walk": "^8.2.0", + "buble": "^0.20.0", + "chokidar": "^3.5.3", + "colorette": "^2.0.19", + "core-js": "^3.23.3", + "date-time": "^4.0.0", + "es5-shim": "^4.6.7", + "es6-shim": "^0.35.6", + "eslint": "^8.19.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-prettier": "^4.2.1", + "execa": "^5.1.1", + "fixturify": "^2.1.1", + "fs-extra": "^10.1.0", + "hash.js": "^1.1.7", + "husky": "^8.0.1", + "is-reference": "^3.0.0", + "lint-staged": "^13.0.3", + "locate-character": "^2.0.5", + "magic-string": "^0.26.2", + "mocha": "^10.0.0", + "nyc": "^15.1.0", + "prettier": "^2.7.1", + "pretty-bytes": "^5.6.0", + "pretty-ms": "^8.0.0", + "requirejs": "^2.3.6", + "rollup": "^2.75.7", + "rollup-plugin-license": "^2.8.1", + "rollup-plugin-string": "^3.0.0", + "rollup-plugin-terser": "^7.0.2", + "rollup-plugin-thatworks": "^1.0.4", + "shx": "^0.3.4", + "signal-exit": "^3.0.7", + "source-map": "^0.7.4", + "source-map-support": "^0.5.21", + "sourcemap-codec": "^1.4.8", + "systemjs": "^6.12.1", + "terser": "^5.14.1", + "tslib": "^2.4.0", + "typescript": "^4.7.4", + "weak-napi": "^2.0.2", + "yargs-parser": "^21.0.1" + }, + "engines": { + "node": ">=14.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", + "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.6.tgz", + "integrity": "sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.6.tgz", + "integrity": "sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helpers": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.1", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.7.tgz", + "integrity": "sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.7", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.6.tgz", + "integrity": "sha512-vFjbfhNCzqdeAtZflUFrG5YIFqGTqsctrtkZ1D/NB0mDW9TwW3GmmUepYY4G9wCET5rY5ugz4OGTcLd614IzQg==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.18.6", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.6.tgz", + "integrity": "sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.6.tgz", + "integrity": "sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==", + "dev": true, + "dependencies": { + "@babel/template": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", + "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", + "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.6.tgz", + "integrity": "sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz", + "integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", + "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz", + "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", + "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.6.tgz", + "integrity": "sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==", + "dev": true, + "dependencies": { + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.18.6", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.6.tgz", + "integrity": "sha512-uQVSa9jJUe/G/304lXspfWVpKpK4euFLgGiMQFOCpM/bgcAdeoHwi/OQz23O9GK2osz26ZiXRRV9aV+Yl1O8tw==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.6.tgz", + "integrity": "sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.6.tgz", + "integrity": "sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "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" + } + }, + "node_modules/@babel/types": { + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.7.tgz", + "integrity": "sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.18.6", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", + "integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.3.2", + "globals": "^13.15.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.9.5", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", + "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@istanbuljs/load-nyc-config": { + "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", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "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" + } + }, + "node_modules/@istanbuljs/load-nyc-config/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==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "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" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/load-nyc-config/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==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/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==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@istanbuljs/load-nyc-config/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==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-try": { + "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/@istanbuljs/load-nyc-config/node_modules/path-exists": { + "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" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "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" + } + }, + "node_modules/@istanbuljs/schema": { + "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" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", + "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.8.tgz", + "integrity": "sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", + "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.14", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz", + "integrity": "sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rollup/plugin-alias": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-3.1.9.tgz", + "integrity": "sha512-QI5fsEvm9bDzt32k39wpOwZhVzRcL5ydcffUHMyLVaVaLeC70I8TJZ17F1z1eMoLu4E/UOcH9BWVkKpIKdrfiw==", + "dev": true, + "dependencies": { + "slash": "^3.0.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-buble": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-buble/-/plugin-buble-0.21.3.tgz", + "integrity": "sha512-Iv8cCuFPnMdqV4pcyU+OrfjOfagPArRQ1PyQjx5KgHk3dARedI+8PNTLSMpJts0lQJr8yF2pAU4GxpxCBJ9HYw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.0.8", + "@types/buble": "^0.19.2", + "buble": "^0.20.0" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-buble/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-buble/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-buble/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-commonjs": { + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.1.tgz", + "integrity": "sha512-dGfEZvdjDHObBiP5IvwTKMVeq/tBZGMBHZFMdIV1ClMM/YoWS34xrHFGfag9SN2ZtMgNZRFruqvxZQEa70O6nQ==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "commondir": "^1.0.1", + "estree-walker": "^2.0.1", + "glob": "^7.1.6", + "is-reference": "^1.2.1", + "magic-string": "^0.25.7", + "resolve": "^1.17.0" + }, + "engines": { + "node": ">= 12.0.0" + }, + "peerDependencies": { + "rollup": "^2.68.0" + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/@rollup/pluginutils/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-commonjs/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-commonjs/node_modules/is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "dev": true, + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/@rollup/plugin-json": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-4.1.0.tgz", + "integrity": "sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.0.8" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, + "node_modules/@rollup/plugin-json/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-json/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-json/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-node-resolve": { + "version": "13.3.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.3.0.tgz", + "integrity": "sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "deepmerge": "^4.2.2", + "is-builtin-module": "^3.1.0", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^2.42.0" + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-replace": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-4.0.0.tgz", + "integrity": "sha512-+rumQFiaNac9y64OHtkHGmdjm7us9bo1PlbgQfdihQtuNxzjpaB064HbRnewUOggLQxVCCyINfStkgmBeQpv1g==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "magic-string": "^0.25.7" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, + "node_modules/@rollup/plugin-replace/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-replace/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-replace/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-replace/node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/@rollup/plugin-typescript": { + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-8.3.3.tgz", + "integrity": "sha512-55L9SyiYu3r/JtqdjhwcwaECXP7JeJ9h1Sg1VWRJKIutla2MdZQodTgcCNybXLMCnqpNLEhS2vGENww98L1npg==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "resolve": "^1.17.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "rollup": "^2.14.0", + "tslib": "*", + "typescript": ">=3.7.0" + }, + "peerDependenciesMeta": { + "tslib": { + "optional": true + } + } + }, + "node_modules/@rollup/plugin-typescript/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-typescript/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-typescript/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/@types/buble": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@types/buble/-/buble-0.19.2.tgz", + "integrity": "sha512-uUD8zIfXMKThmFkahTXDGI3CthFH1kMg2dOm3KLi4GlC5cbARA64bEcUMbbWdWdE73eoc/iBB9PiTMqH0dNS2Q==", + "dev": true, + "dependencies": { + "magic-string": "^0.25.0" + } + }, + "node_modules/@types/buble/node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/@types/estree": { + "version": "0.0.52", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", + "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==", + "dev": true + }, + "node_modules/@types/fs-extra": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.2.tgz", + "integrity": "sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.11", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", + "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", + "dev": true + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/node": { + "version": "14.18.21", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.21.tgz", + "integrity": "sha512-x5W9s+8P4XteaxT/jKF0PSb7XEvo5VmqEWgsMlyeY4ZlLK8I6aH6g5TPPyDlLAep+GYf4kefb7HFyc7PAO3m+Q==", + "dev": true + }, + "node_modules/@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/rimraf": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/rimraf/-/rimraf-2.0.5.tgz", + "integrity": "sha512-YyP+VfeaqAyFmXoTh3HChxOQMyjByRMsHU7kc5KOJkSlXudhMhQIALbYV7rHh/l8d2lX3VUQzprrcAgWdRuU8g==", + "dev": true, + "dependencies": { + "@types/glob": "*", + "@types/node": "*" + } + }, + "node_modules/@types/signal-exit": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/signal-exit/-/signal-exit-3.0.1.tgz", + "integrity": "sha512-OSitN9PP9E/c4tlt1Qdj3CAz5uHD9Da5rhUqlaKyQRCX1T7Zdpbk6YdeZbR2eiE2ce+NMBgVnMxGqpaPSNQDUQ==", + "dev": true + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "dev": true + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.30.3.tgz", + "integrity": "sha512-QEgE1uahnDbWEkZlidq7uKB630ny1NN8KbLPmznX+8hYsYpoV1/quG1Nzvs141FVuumuS7O0EpqYw3RB4AVzRg==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.30.3", + "@typescript-eslint/type-utils": "5.30.3", + "@typescript-eslint/utils": "5.30.3", + "debug": "^4.3.4", + "functional-red-black-tree": "^1.0.1", + "ignore": "^5.2.0", + "regexpp": "^3.2.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.30.3.tgz", + "integrity": "sha512-ddwGEPC3E49DduAUC8UThQafHRE5uc1NE8jdOgl+w8/NrYF50MJQNeD3u4JZrqAXdY9rJz0CdQ9HpNME20CzkA==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.30.3", + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/typescript-estree": "5.30.3", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.30.3.tgz", + "integrity": "sha512-yVJIIUXeo/vv6Alj6lKBvsqnRs5hcxUpN3Dg3aD9Zv6r7p6Nn106jJcr5rnpRHAReEb/aMI2RWrt3JmL17eCVA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/visitor-keys": "5.30.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.30.3.tgz", + "integrity": "sha512-IIzakE7OXOqdwPaXhRiPnaZ8OuJJYBLufOffd9fqzkI4IMFIYq8KC7bghdnF7QUJTirURRErQFrJ/w5UpwIqaw==", + "dev": true, + "dependencies": { + "@typescript-eslint/utils": "5.30.3", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.30.3.tgz", + "integrity": "sha512-vshU3pjSTgBPNgfd55JLYngHkXuwQP68fxYFUAg1Uq+JrR3xG/XjvL9Dmv28CpOERtqwkaR4QQ3mD0NLZcE2Xw==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.30.3.tgz", + "integrity": "sha512-jqVh5N9AJx6+7yRgoA+ZelAFrHezgI9pzI9giv7s84DDOmtpFwTgURcpICDHyz9x6vAeOu91iACZ4dBTVfzIyA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/visitor-keys": "5.30.3", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.30.3.tgz", + "integrity": "sha512-OEaBXGxxdIy35H+jyXfYAMQ66KMJczK9hEhL3gR6IRbWe5PyK+bPDC9zbQNVII6rNFTfF/Mse0z21NlEU+vOMw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "@typescript-eslint/scope-manager": "5.30.3", + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/typescript-estree": "5.30.3", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.30.3.tgz", + "integrity": "sha512-ep2xtHOhnSRt6fDP9DSSxrA/FqZhdMF7/Y9fYsxrKss2uWJMbzJyBJ/We1fKc786BJ10pHwrzUlhvpz8i7XzBg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.30.3", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, + "node_modules/acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/aggregate-error": { + "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" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "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" + } + }, + "node_modules/ansi-styles": { + "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" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "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==", + "dev": true, + "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==", + "dev": true + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-includes": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz", + "integrity": "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz", + "integrity": "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.2", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "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 + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "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==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "node_modules/browserslist": { + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", + "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001359", + "electron-to-chromium": "^1.4.172", + "node-releases": "^2.0.5", + "update-browserslist-db": "^1.0.4" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buble": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/buble/-/buble-0.20.0.tgz", + "integrity": "sha512-/1gnaMQE8xvd5qsNBl+iTuyjJ9XxeaVxAMF86dQ4EyxFJOZtsgOS8Ra+7WHgZTam5IFDtt4BguN0sH0tVTKrOw==", + "dev": true, + "dependencies": { + "acorn": "^6.4.1", + "acorn-dynamic-import": "^4.0.0", + "acorn-jsx": "^5.2.0", + "chalk": "^2.4.2", + "magic-string": "^0.25.7", + "minimist": "^1.2.5", + "regexpu-core": "4.5.4" + }, + "bin": { + "buble": "bin/buble" + } + }, + "node_modules/buble/node_modules/acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/buble/node_modules/acorn-dynamic-import": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", + "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0" + } + }, + "node_modules/buble/node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "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==", + "dev": true, + "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/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "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" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001361", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001361.tgz", + "integrity": "sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] + }, + "node_modules/chalk": { + "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", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/clean-stack": { + "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" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-truncate": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", + "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", + "dev": true, + "dependencies": { + "slice-ansi": "^5.0.0", + "string-width": "^5.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/cliui/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 + }, + "node_modules/cliui/node_modules/is-fullwidth-code-point": { + "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" + } + }, + "node_modules/cliui/node_modules/string-width": { + "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", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/color-convert": { + "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" + } + }, + "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 + }, + "node_modules/colorette": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", + "dev": true + }, + "node_modules/commander": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.3.0.tgz", + "integrity": "sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==", + "dev": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/commenting": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/commenting/-/commenting-1.1.0.tgz", + "integrity": "sha512-YeNK4tavZwtH7jEgK1ZINXzLKm6DZdEMfsaaieOsCAN0S8vsY7UeuO3Q7d/M018EFgE+IeUAuBOKkFccBZsUZA==", + "dev": true + }, + "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 + }, + "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 + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/core-js": { + "version": "3.23.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.23.3.tgz", + "integrity": "sha512-oAKwkj9xcWNBAvGbT//WiCdOMpb9XQG92/Fe3ABFM/R16BsHgePG00mFOgKf7IsCtfj8tA1kHtf/VwErhriz5Q==", + "dev": true, + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/date-time": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/date-time/-/date-time-4.0.0.tgz", + "integrity": "sha512-I53Xcn8FBobcKFcNUfZUSE6O3HeRdp1IOLWyHkipi5S07sEZbTwP+xTrPp5Ch6q6iyFkC06B14+bm96FrdfIEA==", + "dev": true, + "dependencies": { + "time-zone": "^2.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "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" + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/default-require-extensions": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", + "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", + "dev": true, + "dependencies": { + "strip-bom": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/define-properties": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", + "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "dev": true, + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "node_modules/electron-to-chromium": { + "version": "1.4.177", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.177.tgz", + "integrity": "sha512-FYPir3NSBEGexSZUEeht81oVhHfLFl6mhUKSkjHN/iB/TwEIt/WHQrqVGfTLN5gQxwJCQkIJBe05eOXjI7omgg==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/ensure-posix-path": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ensure-posix-path/-/ensure-posix-path-1.1.1.tgz", + "integrity": "sha512-VWU0/zXzVbeJNXvME/5EmLuEj2TauvoaTz6aFYK1Z92JCBlDlZ3Gu0tuGR42kpW1754ywTs+QB0g5TP0oj9Zaw==", + "dev": true + }, + "node_modules/es-abstract": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz", + "integrity": "sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "regexp.prototype.flags": "^1.4.3", + "string.prototype.trimend": "^1.0.5", + "string.prototype.trimstart": "^1.0.5", + "unbox-primitive": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es5-shim": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/es5-shim/-/es5-shim-4.6.7.tgz", + "integrity": "sha512-jg21/dmlrNQI7JyyA2w7n+yifSxBng0ZralnSfVZjoCawgNTCnS+yBCyVM9DL5itm7SUnDGgv7hcq2XCZX4iRQ==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "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==", + "dev": true + }, + "node_modules/es6-shim": { + "version": "0.35.6", + "resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz", + "integrity": "sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==", + "dev": true + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "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" + } + }, + "node_modules/eslint": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.19.0.tgz", + "integrity": "sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==", + "dev": true, + "dependencies": { + "@eslint/eslintrc": "^1.3.0", + "@humanwhocodes/config-array": "^0.9.2", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.2", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^6.0.1", + "globals": "^13.15.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "regexpp": "^3.2.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", + "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "resolve": "^1.20.0" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz", + "integrity": "sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz", + "integrity": "sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.4", + "array.prototype.flat": "^1.2.5", + "debug": "^2.6.9", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-module-utils": "^2.7.3", + "has": "^1.0.3", + "is-core-module": "^2.8.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.values": "^1.1.5", + "resolve": "^1.22.0", + "tsconfig-paths": "^3.14.1" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^2.0.0" + }, + "engines": { + "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=5" + } + }, + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "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/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", + "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", + "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", + "dev": true, + "dependencies": { + "acorn": "^8.7.1", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/esprima": { + "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" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", + "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.2.11", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", + "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir": { + "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", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fixturify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fixturify/-/fixturify-2.1.1.tgz", + "integrity": "sha512-SRgwIMXlxkb6AUgaVjIX+jCEqdhyXu9hah7mcK+lWynjKtX73Ux1TDv71B7XyaQ+LJxkYRHl5yCL8IycAvQRUw==", + "dev": true, + "dependencies": { + "@types/fs-extra": "^8.1.0", + "@types/minimatch": "^3.0.3", + "@types/rimraf": "^2.0.3", + "fs-extra": "^8.1.0", + "matcher-collection": "^2.0.1", + "walk-sync": "^2.0.2" + }, + "engines": { + "node": "10.* || >= 12.*" + } + }, + "node_modules/fixturify/node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fixturify/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/fixturify/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.6.tgz", + "integrity": "sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==", + "dev": true + }, + "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==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/fromentries": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", + "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", + "dev": true, + "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", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "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 + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/function.prototype.name": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz", + "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==", + "dev": true + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "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" + } + }, + "node_modules/get-caller-file": { + "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.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "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" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-from-current-process-h": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-from-current-process-h/-/get-symbol-from-current-process-h-1.0.2.tgz", + "integrity": "sha512-syloC6fsCt62ELLrr1VKBM1ggOpMdetX9hTrdW77UQdcApPHLmf7CI7OKcN1c9kYuNxKcDe4iJ4FY9sX3aw2xw==", + "dev": true + }, + "node_modules/get-uv-event-loop-napi-h": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/get-uv-event-loop-napi-h/-/get-uv-event-loop-napi-h-1.0.6.tgz", + "integrity": "sha512-t5c9VNR84nRoF+eLiz6wFrEp1SE2Acg0wS+Ysa2zF0eROes+LzOfuTaVHxGy8AbS8rq7FHEJzjnCZo1BupwdJg==", + "dev": true, + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": 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/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globals": { + "version": "13.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", + "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "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" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "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==", + "dev": true, + "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==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "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 + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/husky": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", + "integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==", + "dev": true, + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, + "node_modules/ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "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" + } + }, + "node_modules/indent-string": { + "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" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "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 + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-builtin-module": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.1.0.tgz", + "integrity": "sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==", + "dev": true, + "dependencies": { + "builtin-modules": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", + "dev": true + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-reference": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.0.tgz", + "integrity": "sha512-Eo1W3wUoHWoCoVM4GVl/a+K0IgiqE5aIo4kJABFyMum1ZORlPkC+UC357sSQUL5w5QCE5kCC9upl75b7+7CY/Q==", + "dev": true, + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "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" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "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==", + "dev": true + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-windows": { + "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" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "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==", + "dev": true, + "dependencies": { + "append-transform": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "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==", + "dev": true, + "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==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "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", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "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" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.4.tgz", + "integrity": "sha512-r1/DshN4KSE7xWEknZLLLLDn5CJybV3nw01VTkp6D5jzLuELlcbudfj/eSQFvrKsJuTVCGnePO7ho82Nw9zzfw==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lilconfig": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.5.tgz", + "integrity": "sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/lint-staged": { + "version": "13.0.3", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.0.3.tgz", + "integrity": "sha512-9hmrwSCFroTSYLjflGI8Uk+GWAwMB4OlpU4bMJEAT5d/llQwtYKoim4bLOyLCuWFAhWEupE0vkIFqtw/WIsPug==", + "dev": true, + "dependencies": { + "cli-truncate": "^3.1.0", + "colorette": "^2.0.17", + "commander": "^9.3.0", + "debug": "^4.3.4", + "execa": "^6.1.0", + "lilconfig": "2.0.5", + "listr2": "^4.0.5", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-inspect": "^1.12.2", + "pidtree": "^0.6.0", + "string-argv": "^0.3.1", + "yaml": "^2.1.1" + }, + "bin": { + "lint-staged": "bin/lint-staged.js" + }, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/lint-staged" + } + }, + "node_modules/lint-staged/node_modules/execa": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-6.1.0.tgz", + "integrity": "sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^3.0.1", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/lint-staged/node_modules/human-signals": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-3.0.1.tgz", + "integrity": "sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==", + "dev": true, + "engines": { + "node": ">=12.20.0" + } + }, + "node_modules/lint-staged/node_modules/is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lint-staged/node_modules/mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lint-staged/node_modules/npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "dependencies": { + "path-key": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lint-staged/node_modules/onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "dependencies": { + "mimic-fn": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lint-staged/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lint-staged/node_modules/strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/listr2": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-4.0.5.tgz", + "integrity": "sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA==", + "dev": true, + "dependencies": { + "cli-truncate": "^2.1.0", + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.5.5", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "enquirer": ">= 2.3.0 < 3" + }, + "peerDependenciesMeta": { + "enquirer": { + "optional": true + } + } + }, + "node_modules/listr2/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/listr2/node_modules/cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "dev": true, + "dependencies": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/listr2/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/listr2/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/listr2/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 + }, + "node_modules/listr2/node_modules/is-fullwidth-code-point": { + "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" + } + }, + "node_modules/listr2/node_modules/slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/listr2/node_modules/string-width": { + "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", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/locate-character": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-2.0.5.tgz", + "integrity": "sha512-n2GmejDXtOPBAZdIiEFy5dJ5N38xBCXLNOtw2WpB9kGh6pnrEuKlwYI+Tkpofc4wDtVXHtoAOJaMRlYG/oYaxg==", + "dev": true + }, + "node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "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==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "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/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-update": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", + "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.3.0", + "cli-cursor": "^3.1.0", + "slice-ansi": "^4.0.0", + "wrap-ansi": "^6.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-update/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-update/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-update/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 + }, + "node_modules/log-update/node_modules/is-fullwidth-code-point": { + "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" + } + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/string-width": { + "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", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-update/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==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magic-string": { + "version": "0.26.2", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz", + "integrity": "sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + }, + "engines": { + "node": ">=12" + } + }, + "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==", + "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/matcher-collection": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/matcher-collection/-/matcher-collection-2.0.1.tgz", + "integrity": "sha512-daE62nS2ZQsDg9raM0IlZzLmI2u+7ZapXBwdoeBUKAYERPDDIc0qNqA8E0Rp2D+gspKR7BgIFP52GeujaGXWeQ==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "minimatch": "^3.0.2" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "node_modules/minimatch": { + "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" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "dev": true + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mocha": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", + "dev": true, + "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mocha/node_modules/glob/node_modules/minimatch": { + "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" + }, + "engines": { + "node": "*" + } + }, + "node_modules/mocha/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mocha/node_modules/minimatch/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/mocha/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 + }, + "node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/path-exists": { + "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" + } + }, + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/mocha/node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/moment": { + "version": "2.29.3", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz", + "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true + }, + "node_modules/node-gyp-build": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", + "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", + "dev": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "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==", + "dev": true, + "dependencies": { + "process-on-spawn": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/node-releases": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", + "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", + "dev": true, + "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": "^2.0.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": "^4.0.0", + "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": ">=8.9" + } + }, + "node_modules/nyc/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "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==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/nyc/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/nyc/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/nyc/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 + }, + "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==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/is-fullwidth-code-point": { + "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" + } + }, + "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==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "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==", + "dev": true, + "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==", + "dev": true, + "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==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/p-try": { + "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/nyc/node_modules/path-exists": { + "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" + } + }, + "node_modules/nyc/node_modules/resolve-from": { + "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" + } + }, + "node_modules/nyc/node_modules/string-width": { + "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", + "strip-ansi": "^6.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==", + "dev": true, + "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==", + "dev": true + }, + "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==", + "dev": true, + "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==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/object-inspect": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", + "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "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==", + "dev": true, + "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-name-regex": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/package-name-regex/-/package-name-regex-2.0.6.tgz", + "integrity": "sha512-gFL35q7kbE/zBaPA3UKhp2vSzcPYx2ecbYuwv1ucE9Il6IIgBDweBlH8D68UFGZic2MkllKa2KHCfC1IQBQUYA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/dword-design" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-ms": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-3.0.0.tgz", + "integrity": "sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "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" + } + }, + "node_modules/path-key": { + "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" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pidtree": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", + "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", + "dev": true, + "bin": { + "pidtree": "bin/pidtree.js" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/pkg-dir": { + "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" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/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==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/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==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/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==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/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==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/p-try": { + "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/pkg-dir/node_modules/path-exists": { + "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" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", + "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-ms": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-8.0.0.tgz", + "integrity": "sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==", + "dev": true, + "dependencies": { + "parse-ms": "^3.0.0" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/process-on-spawn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", + "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", + "dev": true, + "dependencies": { + "fromentries": "^1.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "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/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz", + "integrity": "sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", + "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/regexpu-core": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz", + "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.0.2", + "regjsgen": "^0.5.0", + "regjsparser": "^0.6.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", + "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.9.tgz", + "integrity": "sha512-ZqbNRz1SNjLAiYuwY0zoXW8Ne675IX5q+YHioAGbCw4X96Mjl2+dcX9B2ciaeyYjViDAfvIjFpQjJgLttTEERQ==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "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==", + "dev": true, + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/require-directory": { + "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" + } + }, + "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==", + "dev": true + }, + "node_modules/requirejs": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz", + "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==", + "dev": true, + "bin": { + "r_js": "bin/r.js", + "r.js": "bin/r.js" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rfdc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", + "dev": true + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "2.75.7", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.7.tgz", + "integrity": "sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-license": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-2.8.1.tgz", + "integrity": "sha512-VYd9pzaNL7NN6xQp93XiiCV2UoduXgSmTcz6rl9bHPdiifT6yH3Zw/omEr73Rq8TIyN4nqJACBbKIT/2eE66wg==", + "dev": true, + "dependencies": { + "commenting": "~1.1.0", + "glob": "~7.2.0", + "lodash": "~4.17.21", + "magic-string": "~0.26.2", + "mkdirp": "~1.0.4", + "moment": "~2.29.3", + "package-name-regex": "~2.0.6", + "spdx-expression-validate": "~2.0.0", + "spdx-satisfies": "~5.0.1" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "rollup": "^1.0.0 || ^2.0.0" + } + }, + "node_modules/rollup-plugin-string": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-string/-/rollup-plugin-string-3.0.0.tgz", + "integrity": "sha512-vqyzgn9QefAgeKi+Y4A7jETeIAU1zQmS6VotH6bzm/zmUQEnYkpIGRaOBPY41oiWYV4JyBoGAaBjYMYuv+6wVw==", + "dev": true, + "dependencies": { + "rollup-pluginutils": "^2.4.1" + } + }, + "node_modules/rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "node_modules/rollup-plugin-terser/node_modules/serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/rollup-plugin-thatworks": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/rollup-plugin-thatworks/-/rollup-plugin-thatworks-1.0.4.tgz", + "integrity": "sha512-RxlYx/oolwXW7akleFzRmJ8gQrWUK4NSZw8E+LHJTWHiA1mhseIMurz8IkyDAG4fwensXHocNYvKUHivhN9EXw==", + "dev": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "dependencies": { + "estree-walker": "^0.6.1" + } + }, + "node_modules/rollup-pluginutils/node_modules/estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.5.5", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.5.tgz", + "integrity": "sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw==", + "dev": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.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==", + "dev": true + }, + "node_modules/setimmediate-napi": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/setimmediate-napi/-/setimmediate-napi-1.0.6.tgz", + "integrity": "sha512-sdNXN15Av1jPXuSal4Mk4tEAKn0+8lfF9Z50/negaQMrAIO9c1qM0eiCh8fT6gctp0RiCObk+6/Xfn5RMGdZoA==", + "dev": true, + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1", + "get-uv-event-loop-napi-h": "^1.0.5" + } + }, + "node_modules/shebang-command": { + "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" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "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" + } + }, + "node_modules/shelljs": { + "version": "0.8.5", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", + "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", + "dev": true, + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/shx": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz", + "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", + "dev": true, + "dependencies": { + "minimist": "^1.2.3", + "shelljs": "^0.8.5" + }, + "bin": { + "shx": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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 + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.1.0.tgz", + "integrity": "sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "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" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "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==", + "dev": true, + "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/spdx-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", + "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", + "dev": true, + "dependencies": { + "array-find-index": "^1.0.2", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-expression-validate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-validate/-/spdx-expression-validate-2.0.0.tgz", + "integrity": "sha512-b3wydZLM+Tc6CFvaRDBOF9d76oGIHNCLYFeHbftFXUWjnfZWganmDmvtM5sm1cRwJc/VDBMLyGGrsLFd1vOxbg==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", + "dev": true + }, + "node_modules/spdx-ranges": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", + "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", + "dev": true + }, + "node_modules/spdx-satisfies": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-5.0.1.tgz", + "integrity": "sha512-Nwor6W6gzFp8XX4neaKQ7ChV4wmpSh2sSDemMFSzHxpTw460jxFYeOn+jq4ybnSSw/5sc3pjka9MQPouksQNpw==", + "dev": true, + "dependencies": { + "spdx-compare": "^1.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "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 + }, + "node_modules/string-argv": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", + "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", + "dev": true, + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/string-width/node_modules/strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", + "integrity": "sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz", + "integrity": "sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "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" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "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" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "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" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/systemjs": { + "version": "6.12.1", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.12.1.tgz", + "integrity": "sha512-hqTN6kW+pN6/qro6G9OZ7ceDQOcYno020zBQKpZQLsJhYTDMCMNfXi/Y8duF5iW+4WWZr42ry0MMkcRGpbwG2A==", + "dev": true + }, + "node_modules/terser": { + "version": "5.14.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", + "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/test-exclude": { + "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", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", + "dev": true + }, + "node_modules/time-zone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/time-zone/-/time-zone-2.0.0.tgz", + "integrity": "sha512-2cp/YLRm7ly33CzvySyXqo/QEOu4KMn6fCof0gpqosWY3PEJUJJhXP/Cb2wXFUuCzWWJYEmPvdHNzjLlfXC49A==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/to-fast-properties": { + "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" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", + "integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "dev": true + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "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==", + "dev": true, + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/typescript": { + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^1.0.4", + "unicode-property-aliases-ecmascript": "^1.0.4" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz", + "integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz", + "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", + "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist-lint": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uuid": { + "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" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true + }, + "node_modules/walk-sync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", + "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "ensure-posix-path": "^1.1.0", + "matcher-collection": "^2.0.0", + "minimatch": "^3.0.4" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, + "node_modules/weak-napi": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/weak-napi/-/weak-napi-2.0.2.tgz", + "integrity": "sha512-LcOSVFrghtVXf4QH+DLIy8iPiCktV7lVbqRDYP+bDPpLzC41RCHQPMyQOnPpWO41Ie4CmnDxS+mbL72r5xFMMQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1", + "setimmediate-napi": "^1.0.3" + } + }, + "node_modules/which": { + "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" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==", + "dev": true + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrap-ansi/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 + }, + "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { + "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" + } + }, + "node_modules/wrap-ansi/node_modules/string-width": { + "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", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true + }, + "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==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/yaml": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.1.1.tgz", + "integrity": "sha512-o96x3OPo8GjWeSLF+wOAbrPfhFOGY0W00GNaxCDv+9hkcDJEnev1yh8S7pgHF0ik6zc8sQLuL8hjHjJULZp8bw==", + "dev": true, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", + "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs/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 + }, + "node_modules/yargs/node_modules/is-fullwidth-code-point": { + "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" + } + }, + "node_modules/yargs/node_modules/string-width": { + "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", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, "dependencies": { "@ampproject/remapping": { "version": "2.2.0", @@ -15,36 +6921,36 @@ } }, "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", "dev": true, "requires": { - "@babel/highlight": "^7.16.7" + "@babel/highlight": "^7.18.6" } }, "@babel/compat-data": { - "version": "7.17.10", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.10.tgz", - "integrity": "sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.6.tgz", + "integrity": "sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==", "dev": true }, "@babel/core": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz", - "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.6.tgz", + "integrity": "sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==", "dev": true, "requires": { "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.2", - "@babel/helper-compilation-targets": "^7.18.2", - "@babel/helper-module-transforms": "^7.18.0", - "@babel/helpers": "^7.18.2", - "@babel/parser": "^7.18.0", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.2", - "@babel/types": "^7.18.2", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helpers": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -52,12 +6958,6 @@ "semver": "^6.3.0" }, "dependencies": { - "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", - "dev": true - }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -67,43 +6967,37 @@ } }, "@babel/generator": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.2.tgz", - "integrity": "sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==", + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.7.tgz", + "integrity": "sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==", "dev": true, "requires": { - "@babel/types": "^7.18.2", - "@jridgewell/gen-mapping": "^0.3.0", + "@babel/types": "^7.18.7", + "@jridgewell/gen-mapping": "^0.3.2", "jsesc": "^2.5.1" }, "dependencies": { "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", "dev": true, "requires": { - "@jridgewell/set-array": "^1.0.0", + "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.9" } - }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true } } }, "@babel/helper-compilation-targets": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz", - "integrity": "sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.6.tgz", + "integrity": "sha512-vFjbfhNCzqdeAtZflUFrG5YIFqGTqsctrtkZ1D/NB0mDW9TwW3GmmUepYY4G9wCET5rY5ugz4OGTcLd614IzQg==", "dev": true, "requires": { - "@babel/compat-data": "^7.17.10", - "@babel/helper-validator-option": "^7.16.7", + "@babel/compat-data": "^7.18.6", + "@babel/helper-validator-option": "^7.18.6", "browserslist": "^4.20.2", "semver": "^6.3.0" }, @@ -117,138 +7011,138 @@ } }, "@babel/helper-environment-visitor": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz", - "integrity": "sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.6.tgz", + "integrity": "sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==", "dev": true }, "@babel/helper-function-name": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz", - "integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.6.tgz", + "integrity": "sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==", "dev": true, "requires": { - "@babel/template": "^7.16.7", - "@babel/types": "^7.17.0" + "@babel/template": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-hoist-variables": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", + "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-module-imports": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", + "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-module-transforms": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz", - "integrity": "sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.6.tgz", + "integrity": "sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw==", "dev": true, "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.17.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.0", - "@babel/types": "^7.18.0" + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-simple-access": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.2.tgz", - "integrity": "sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz", + "integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==", "dev": true, "requires": { - "@babel/types": "^7.18.2" + "@babel/types": "^7.18.6" } }, "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", + "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz", + "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==", "dev": true }, "@babel/helper-validator-option": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", + "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", "dev": true }, "@babel/helpers": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.2.tgz", - "integrity": "sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.6.tgz", + "integrity": "sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==", "dev": true, "requires": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.2", - "@babel/types": "^7.18.2" + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/highlight": { - "version": "7.17.12", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.17.12.tgz", - "integrity": "sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.18.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.4.tgz", - "integrity": "sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.6.tgz", + "integrity": "sha512-uQVSa9jJUe/G/304lXspfWVpKpK4euFLgGiMQFOCpM/bgcAdeoHwi/OQz23O9GK2osz26ZiXRRV9aV+Yl1O8tw==", "dev": true }, "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.6.tgz", + "integrity": "sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==", "dev": true, "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/traverse": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz", - "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.18.2", - "@babel/helper-environment-visitor": "^7.18.2", - "@babel/helper-function-name": "^7.17.9", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.2", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.6.tgz", + "integrity": "sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -262,12 +7156,12 @@ } }, "@babel/types": { - "version": "7.18.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.4.tgz", - "integrity": "sha512-ThN1mBcMq5pG/Vm2IcBmPPfyPXbd8S02rS+OBIDENdufvqC7Z/jHPCv9IcP01277aKtDI8g/2XysBN4hA8niiw==", + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.7.tgz", + "integrity": "sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-validator-identifier": "^7.18.6", "to-fast-properties": "^2.0.0" } }, @@ -327,12 +7221,6 @@ "sprintf-js": "~1.0.2" } }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -417,15 +7305,15 @@ } }, "@jridgewell/resolve-uri": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz", - "integrity": "sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.8.tgz", + "integrity": "sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==", "dev": true }, "@jridgewell/set-array": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.1.tgz", - "integrity": "sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true }, "@jridgewell/source-map": { @@ -439,12 +7327,12 @@ }, "dependencies": { "@jridgewell/gen-mapping": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz", - "integrity": "sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", "dev": true, "requires": { - "@jridgewell/set-array": "^1.0.0", + "@jridgewell/set-array": "^1.0.1", "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.9" } @@ -452,15 +7340,15 @@ } }, "@jridgewell/sourcemap-codec": { - "version": "1.4.13", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz", - "integrity": "sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w==", + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "dev": true }, "@jridgewell/trace-mapping": { - "version": "0.3.13", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz", - "integrity": "sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w==", + "version": "0.3.14", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz", + "integrity": "sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==", "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.0.3", @@ -529,13 +7417,19 @@ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, "@rollup/plugin-commonjs": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.0.tgz", - "integrity": "sha512-Ktvf2j+bAO+30awhbYoCaXpBcyPmJbaEUYClQns/+6SNCYFURbvBiNbWgHITEsIgDDWCDUclWRKEuf8cwZCFoQ==", + "version": "22.0.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.1.tgz", + "integrity": "sha512-dGfEZvdjDHObBiP5IvwTKMVeq/tBZGMBHZFMdIV1ClMM/YoWS34xrHFGfag9SN2ZtMgNZRFruqvxZQEa70O6nQ==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", @@ -572,12 +7466,6 @@ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, "is-reference": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", @@ -623,6 +7511,12 @@ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, @@ -656,6 +7550,12 @@ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, @@ -686,6 +7586,12 @@ "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, "magic-string": { "version": "0.25.9", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", @@ -698,9 +7604,9 @@ } }, "@rollup/plugin-typescript": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-8.3.2.tgz", - "integrity": "sha512-MtgyR5LNHZr3GyN0tM7gNO9D0CS+Y+vflS4v/PHmrX17JCkHUYKvQ5jN5o3cz1YKllM3duXUqu3yOHwMPUxhDg==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-8.3.3.tgz", + "integrity": "sha512-55L9SyiYu3r/JtqdjhwcwaECXP7JeJ9h1Sg1VWRJKIutla2MdZQodTgcCNybXLMCnqpNLEhS2vGENww98L1npg==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", @@ -723,6 +7629,12 @@ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, @@ -734,14 +7646,6 @@ "requires": { "estree-walker": "^2.0.1", "picomatch": "^2.2.2" - }, - "dependencies": { - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - } } }, "@types/buble": { @@ -765,9 +7669,9 @@ } }, "@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "version": "0.0.52", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.52.tgz", + "integrity": "sha512-BZWrtCU0bMVAIliIV+HJO1f1PR41M7NKjfxrFJwwhKI1KwhwOxYw1SXg9ao+CIMt774nFuGiG6eU+udtbEI9oQ==", "dev": true }, "@types/fs-extra": { @@ -808,15 +7712,9 @@ "dev": true }, "@types/node": { - "version": "10.17.60", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", - "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", - "dev": true - }, - "@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "version": "14.18.21", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.21.tgz", + "integrity": "sha512-x5W9s+8P4XteaxT/jKF0PSb7XEvo5VmqEWgsMlyeY4ZlLK8I6aH6g5TPPyDlLAep+GYf4kefb7HFyc7PAO3m+Q==", "dev": true }, "@types/resolve": { @@ -845,20 +7743,20 @@ "dev": true }, "@types/yargs-parser": { - "version": "20.2.2", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.2.tgz", - "integrity": "sha512-sUWMriymrSqTvxCmCkf+7k392TNDcMJBHI1/rysWJxKnWAan/Zk4gZ/GEieSRo4EqIEPpbGU3Sd/0KTRoIA3pA==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.27.1.tgz", - "integrity": "sha512-6dM5NKT57ZduNnJfpY81Phe9nc9wolnMCnknb1im6brWi1RYv84nbMS3olJa27B6+irUVV1X/Wb+Am0FjJdGFw==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.30.3.tgz", + "integrity": "sha512-QEgE1uahnDbWEkZlidq7uKB630ny1NN8KbLPmznX+8hYsYpoV1/quG1Nzvs141FVuumuS7O0EpqYw3RB4AVzRg==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.27.1", - "@typescript-eslint/type-utils": "5.27.1", - "@typescript-eslint/utils": "5.27.1", + "@typescript-eslint/scope-manager": "5.30.3", + "@typescript-eslint/type-utils": "5.30.3", + "@typescript-eslint/utils": "5.30.3", "debug": "^4.3.4", "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", @@ -868,52 +7766,52 @@ } }, "@typescript-eslint/parser": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.27.1.tgz", - "integrity": "sha512-7Va2ZOkHi5NP+AZwb5ReLgNF6nWLGTeUJfxdkVUAPPSaAdbWNnFZzLZ4EGGmmiCTg+AwlbE1KyUYTBglosSLHQ==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.30.3.tgz", + "integrity": "sha512-ddwGEPC3E49DduAUC8UThQafHRE5uc1NE8jdOgl+w8/NrYF50MJQNeD3u4JZrqAXdY9rJz0CdQ9HpNME20CzkA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.27.1", - "@typescript-eslint/types": "5.27.1", - "@typescript-eslint/typescript-estree": "5.27.1", + "@typescript-eslint/scope-manager": "5.30.3", + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/typescript-estree": "5.30.3", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.27.1.tgz", - "integrity": "sha512-fQEOSa/QroWE6fAEg+bJxtRZJTH8NTskggybogHt4H9Da8zd4cJji76gA5SBlR0MgtwF7rebxTbDKB49YUCpAg==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.30.3.tgz", + "integrity": "sha512-yVJIIUXeo/vv6Alj6lKBvsqnRs5hcxUpN3Dg3aD9Zv6r7p6Nn106jJcr5rnpRHAReEb/aMI2RWrt3JmL17eCVA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.27.1", - "@typescript-eslint/visitor-keys": "5.27.1" + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/visitor-keys": "5.30.3" } }, "@typescript-eslint/type-utils": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.27.1.tgz", - "integrity": "sha512-+UC1vVUWaDHRnC2cQrCJ4QtVjpjjCgjNFpg8b03nERmkHv9JV9X5M19D7UFMd+/G7T/sgFwX2pGmWK38rqyvXw==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.30.3.tgz", + "integrity": "sha512-IIzakE7OXOqdwPaXhRiPnaZ8OuJJYBLufOffd9fqzkI4IMFIYq8KC7bghdnF7QUJTirURRErQFrJ/w5UpwIqaw==", "dev": true, "requires": { - "@typescript-eslint/utils": "5.27.1", + "@typescript-eslint/utils": "5.30.3", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.27.1.tgz", - "integrity": "sha512-LgogNVkBhCTZU/m8XgEYIWICD6m4dmEDbKXESCbqOXfKZxRKeqpiJXQIErv66sdopRKZPo5l32ymNqibYEH/xg==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.30.3.tgz", + "integrity": "sha512-vshU3pjSTgBPNgfd55JLYngHkXuwQP68fxYFUAg1Uq+JrR3xG/XjvL9Dmv28CpOERtqwkaR4QQ3mD0NLZcE2Xw==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.27.1.tgz", - "integrity": "sha512-DnZvvq3TAJ5ke+hk0LklvxwYsnXpRdqUY5gaVS0D4raKtbznPz71UJGnPTHEFo0GDxqLOLdMkkmVZjSpET1hFw==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.30.3.tgz", + "integrity": "sha512-jqVh5N9AJx6+7yRgoA+ZelAFrHezgI9pzI9giv7s84DDOmtpFwTgURcpICDHyz9x6vAeOu91iACZ4dBTVfzIyA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.27.1", - "@typescript-eslint/visitor-keys": "5.27.1", + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/visitor-keys": "5.30.3", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -922,26 +7820,26 @@ } }, "@typescript-eslint/utils": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.27.1.tgz", - "integrity": "sha512-mZ9WEn1ZLDaVrhRaYgzbkXBkTPghPFsup8zDbbsYTxC5OmqrFE7skkKS/sraVsLP3TcT3Ki5CSyEFBRkLH/H/w==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.30.3.tgz", + "integrity": "sha512-OEaBXGxxdIy35H+jyXfYAMQ66KMJczK9hEhL3gR6IRbWe5PyK+bPDC9zbQNVII6rNFTfF/Mse0z21NlEU+vOMw==", "dev": true, "requires": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.27.1", - "@typescript-eslint/types": "5.27.1", - "@typescript-eslint/typescript-estree": "5.27.1", + "@typescript-eslint/scope-manager": "5.30.3", + "@typescript-eslint/types": "5.30.3", + "@typescript-eslint/typescript-estree": "5.30.3", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/visitor-keys": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.27.1.tgz", - "integrity": "sha512-xYs6ffo01nhdJgPieyk7HAOpjhTsx7r/oB9LWEhwAXgwn33tkr+W8DI2ChboqhZlC4q3TC6geDYPoiX8ROqyOQ==", + "version": "5.30.3", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.30.3.tgz", + "integrity": "sha512-ep2xtHOhnSRt6fDP9DSSxrA/FqZhdMF7/Y9fYsxrKss2uWJMbzJyBJ/We1fKc786BJ10pHwrzUlhvpz8i7XzBg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.27.1", + "@typescript-eslint/types": "5.30.3", "eslint-visitor-keys": "^3.3.0" } }, @@ -957,17 +7855,12 @@ "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", "dev": true }, - "acorn-dynamic-import": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", - "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", - "dev": true - }, "acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true + "dev": true, + "requires": {} }, "acorn-walk": { "version": "8.2.0", @@ -998,9 +7891,9 @@ } }, "ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true }, "ansi-escapes": { @@ -1147,16 +8040,15 @@ "dev": true }, "browserslist": { - "version": "4.20.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.4.tgz", - "integrity": "sha512-ok1d+1WpnU24XYN7oC3QWgTyMhY/avPJ/r9T00xxvUOIparA/gc+UPUMaod3i+G6s+nI2nUb9xZ5k794uIwShw==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", + "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001349", - "electron-to-chromium": "^1.4.147", - "escalade": "^3.1.1", + "caniuse-lite": "^1.0.30001359", + "electron-to-chromium": "^1.4.172", "node-releases": "^2.0.5", - "picocolors": "^1.0.0" + "update-browserslist-db": "^1.0.4" } }, "buble": { @@ -1180,6 +8072,13 @@ "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", "dev": true }, + "acorn-dynamic-import": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", + "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", + "dev": true, + "requires": {} + }, "magic-string": { "version": "0.25.9", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", @@ -1232,15 +8131,15 @@ "dev": true }, "camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "caniuse-lite": { - "version": "1.0.30001349", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001349.tgz", - "integrity": "sha512-VFaWW3jeo6DLU5rwdiasosxhYSduJgSGil4cSyX3/85fbctlE58pXAkWyuRmVA0r2RxsOSVYUTZcySJ8WpbTxw==", + "version": "1.0.30001361", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001361.tgz", + "integrity": "sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==", "dev": true }, "chalk": { @@ -1286,13 +8185,13 @@ } }, "cli-truncate": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", - "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz", + "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==", "dev": true, "requires": { - "slice-ansi": "^3.0.0", - "string-width": "^4.2.0" + "slice-ansi": "^5.0.0", + "string-width": "^5.0.0" } }, "cliui": { @@ -1304,6 +8203,31 @@ "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "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 + }, + "is-fullwidth-code-point": { + "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 + }, + "string-width": { + "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, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + } } }, "color-convert": { @@ -1322,15 +8246,15 @@ "dev": true }, "colorette": { - "version": "2.0.17", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.17.tgz", - "integrity": "sha512-hJo+3Bkn0NCHybn9Tu35fIeoOKGOk5OCC32y4Hz2It+qlCO2Q3DeQ1hRn/tDDMQKRYUEzqsl7jbF6dYKjlE60g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz", + "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ==", "dev": true }, "commander": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", - "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.3.0.tgz", + "integrity": "sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==", "dev": true }, "commenting": { @@ -1358,35 +8282,14 @@ "dev": true, "requires": { "safe-buffer": "~5.1.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - } } }, "core-js": { - "version": "3.22.8", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.8.tgz", - "integrity": "sha512-UoGQ/cfzGYIuiq6Z7vWL1HfkE9U9IZ4Ub+0XSiJTCzvbZzgPA69oDF2f+lgJ6dFFLEdjW5O6svvoKzXX23xFkA==", + "version": "3.23.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.23.3.tgz", + "integrity": "sha512-oAKwkj9xcWNBAvGbT//WiCdOMpb9XQG92/Fe3ABFM/R16BsHgePG00mFOgKf7IsCtfj8tA1kHtf/VwErhriz5Q==", "dev": true }, - "cosmiconfig": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", - "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", - "dev": true, - "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - } - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -1417,15 +8320,9 @@ } }, "decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", - "dev": true - }, - "dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", "dev": true }, "deep-is": { @@ -1447,14 +8344,6 @@ "dev": true, "requires": { "strip-bom": "^4.0.0" - }, - "dependencies": { - "strip-bom": { - "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 - } } }, "define-properties": { @@ -1491,51 +8380,30 @@ "esutils": "^2.0.2" } }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "electron-to-chromium": { - "version": "1.4.147", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.147.tgz", - "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==", + "version": "1.4.177", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.177.tgz", + "integrity": "sha512-FYPir3NSBEGexSZUEeht81oVhHfLFl6mhUKSkjHN/iB/TwEIt/WHQrqVGfTLN5gQxwJCQkIJBe05eOXjI7omgg==", "dev": true }, "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==", + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "requires": { - "once": "^1.4.0" - } - }, - "enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "requires": { - "ansi-colors": "^4.1.1" - } - }, "ensure-posix-path": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ensure-posix-path/-/ensure-posix-path-1.1.1.tgz", "integrity": "sha512-VWU0/zXzVbeJNXvME/5EmLuEj2TauvoaTz6aFYK1Z92JCBlDlZ3Gu0tuGR42kpW1754ywTs+QB0g5TP0oj9Zaw==", "dev": true }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "requires": { - "is-arrayish": "^0.2.1" - } - }, "es-abstract": { "version": "1.20.1", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.1.tgz", @@ -1618,9 +8486,9 @@ "dev": true }, "eslint": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.17.0.tgz", - "integrity": "sha512-gq0m0BTJfci60Fz4nczYxNAlED+sMcihltndR8t9t1evnU/azx53x3t2UHXC/uRjcbvRw/XctpaNygSTcQD+Iw==", + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.19.0.tgz", + "integrity": "sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.0", @@ -1746,7 +8614,8 @@ "version": "8.5.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz", "integrity": "sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==", - "dev": true + "dev": true, + "requires": {} }, "eslint-import-resolver-node": { "version": "0.3.6", @@ -1838,9 +8707,9 @@ } }, "eslint-plugin-prettier": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.0.0.tgz", - "integrity": "sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", "dev": true, "requires": { "prettier-linter-helpers": "^1.0.0" @@ -1937,9 +8806,9 @@ "dev": true }, "estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", "dev": true }, "esutils": { @@ -2073,6 +8942,21 @@ "jsonfile": "^4.0.0", "universalify": "^0.1.0" } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true } } }, @@ -2093,9 +8977,9 @@ } }, "flatted": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", - "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.6.tgz", + "integrity": "sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==", "dev": true }, "foreground-child": { @@ -2123,24 +9007,6 @@ "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" - }, - "dependencies": { - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true - } } }, "fs.realpath": { @@ -2198,22 +9064,16 @@ "dev": true }, "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.3" } }, - "get-own-enumerable-property-symbols": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", - "dev": true - }, "get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -2303,12 +9163,6 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, - "growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", - "dev": true - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -2401,9 +9255,9 @@ "dev": true }, "husky": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.4.tgz", - "integrity": "sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", + "integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==", "dev": true }, "ignore": { @@ -2467,12 +9321,6 @@ "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", "dev": true }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, "is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", @@ -2541,9 +9389,9 @@ "dev": true }, "is-fullwidth-code-point": { - "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==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true }, "is-glob": { @@ -2582,12 +9430,6 @@ "has-tostringtag": "^1.0.0" } }, - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==", - "dev": true - }, "is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -2613,12 +9455,6 @@ "has-tostringtag": "^1.0.0" } }, - "is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==", - "dev": true - }, "is-shared-array-buffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", @@ -2846,15 +9682,9 @@ } }, "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", - "dev": true - }, - "json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, "json-schema-traverse": { @@ -2870,21 +9700,19 @@ "dev": true }, "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true }, "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "requires": { - "graceful-fs": "^4.1.6" + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" } }, "levn": { @@ -2897,33 +9725,114 @@ "type-check": "~0.4.0" } }, - "lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "lint-staged": { - "version": "10.5.4", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.4.tgz", - "integrity": "sha512-EechC3DdFic/TdOPgj/RB3FicqE6932LTHCUm0Y2fsD9KGlLB+RwJl2q1IYBIvEsKzDOgn0D4gll+YxG5RsrKg==", + "lilconfig": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.5.tgz", + "integrity": "sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg==", + "dev": true + }, + "lint-staged": { + "version": "13.0.3", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.0.3.tgz", + "integrity": "sha512-9hmrwSCFroTSYLjflGI8Uk+GWAwMB4OlpU4bMJEAT5d/llQwtYKoim4bLOyLCuWFAhWEupE0vkIFqtw/WIsPug==", + "dev": true, + "requires": { + "cli-truncate": "^3.1.0", + "colorette": "^2.0.17", + "commander": "^9.3.0", + "debug": "^4.3.4", + "execa": "^6.1.0", + "lilconfig": "2.0.5", + "listr2": "^4.0.5", + "micromatch": "^4.0.5", + "normalize-path": "^3.0.0", + "object-inspect": "^1.12.2", + "pidtree": "^0.6.0", + "string-argv": "^0.3.1", + "yaml": "^2.1.1" + }, + "dependencies": { + "execa": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-6.1.0.tgz", + "integrity": "sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.1", + "human-signals": "^3.0.1", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^3.0.7", + "strip-final-newline": "^3.0.0" + } + }, + "human-signals": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-3.0.1.tgz", + "integrity": "sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ==", + "dev": true + }, + "is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "dev": true + }, + "mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "dev": true + }, + "npm-run-path": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", + "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", + "dev": true, + "requires": { + "path-key": "^4.0.0" + } + }, + "onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "dev": true, + "requires": { + "mimic-fn": "^4.0.0" + } + }, + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true + }, + "strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "dev": true + } + } + }, + "listr2": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-4.0.5.tgz", + "integrity": "sha512-juGHV1doQdpNT3GSTs9IUN43QJb7KHdF9uqg7Vufs/tG9VTzpFphqF4pm/ICdAABGQxsyNn9CiYA3StkI6jpwA==", "dev": true, "requires": { - "chalk": "^4.1.0", "cli-truncate": "^2.1.0", - "commander": "^6.2.0", - "cosmiconfig": "^7.0.0", - "debug": "^4.2.0", - "dedent": "^0.7.0", - "enquirer": "^2.3.6", - "execa": "^4.1.0", - "listr2": "^3.2.2", - "log-symbols": "^4.0.0", - "micromatch": "^4.0.2", - "normalize-path": "^3.0.0", - "please-upgrade-node": "^3.2.0", - "string-argv": "0.3.1", - "stringify-object": "^3.3.0" + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.5.5", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" }, "dependencies": { "ansi-styles": { @@ -2935,14 +9844,14 @@ "color-convert": "^2.0.1" } }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", "dev": true, "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" } }, "color-convert": { @@ -2960,71 +9869,42 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "execa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", - "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } + "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 }, - "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==", + "is-fullwidth-code-point": { + "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 + }, + "slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", "dev": true, "requires": { - "pump": "^3.0.0" + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" } }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "string-width": { + "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, "requires": { - "has-flag": "^4.0.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" } } } }, - "listr2": { - "version": "3.14.0", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.14.0.tgz", - "integrity": "sha512-TyWI8G99GX9GjE54cJ+RrNMcIFBfwMPxc3XTFiAYGN4s10hWROGtOg7+O6u6LE3mNkyld7RSLE6nrKBvTfcs3g==", - "dev": true, - "requires": { - "cli-truncate": "^2.1.0", - "colorette": "^2.0.16", - "log-update": "^4.0.0", - "p-map": "^4.0.0", - "rfdc": "^1.3.0", - "rxjs": "^7.5.1", - "through": "^2.3.8", - "wrap-ansi": "^7.0.0" - } - }, "locate-character": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-2.0.5.tgz", @@ -3156,6 +10036,18 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "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 + }, + "is-fullwidth-code-point": { + "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 + }, "slice-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", @@ -3167,6 +10059,17 @@ "is-fullwidth-code-point": "^3.0.0" } }, + "string-width": { + "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, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -3281,60 +10184,35 @@ "dev": true }, "mocha": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", - "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", "dev": true, "requires": { "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", "chokidar": "3.5.3", - "debug": "4.3.3", + "debug": "4.3.4", "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", "glob": "7.2.0", - "growl": "1.10.5", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", - "minimatch": "4.2.1", + "minimatch": "5.0.1", "ms": "2.1.3", - "nanoid": "3.3.1", + "nanoid": "3.3.3", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", - "which": "2.0.2", - "workerpool": "6.2.0", + "workerpool": "6.2.1", "yargs": "16.2.0", "yargs-parser": "20.2.4", "yargs-unparser": "2.0.0" }, "dependencies": { - "ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true - }, - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "dev": true, - "requires": { - "ms": "2.1.2" - }, - "dependencies": { - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -3392,12 +10270,23 @@ } }, "minimatch": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", - "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + } } }, "ms": { @@ -3460,9 +10349,9 @@ "dev": true }, "nanoid": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", - "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", "dev": true }, "natural-compare": { @@ -3478,9 +10367,9 @@ "dev": true }, "node-gyp-build": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.4.0.tgz", - "integrity": "sha512-amJnQCcgtRVw9SvoebO3BKGESClrfXGCUTX9hSn1OuGQTQBOZmVd0Z0OlecpuRksKvbsUqALE8jls/ErClAPuQ==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.5.0.tgz", + "integrity": "sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==", "dev": true }, "node-preload": { @@ -3557,12 +10446,6 @@ "color-convert": "^2.0.1" } }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "cliui": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", @@ -3589,10 +10472,10 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "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 }, "find-up": { @@ -3605,6 +10488,12 @@ "path-exists": "^4.0.0" } }, + "is-fullwidth-code-point": { + "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 + }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -3659,6 +10548,17 @@ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true }, + "string-width": { + "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, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -3834,22 +10734,10 @@ "callsites": "^3.0.0" } }, - "parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, "parse-ms": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", - "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-3.0.0.tgz", + "integrity": "sha512-Tpb8Z7r7XbbtBTrM9UhpkzzaMrqA2VXMT3YChzYltwV3P3pM6t8wl7TvpMnSTosz1aQAdVib7kdoys7vYOPerw==", "dev": true }, "path-exists": { @@ -3894,6 +10782,12 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "pidtree": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", + "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", + "dev": true + }, "pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", @@ -3954,15 +10848,6 @@ } } }, - "please-upgrade-node": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", - "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", - "dev": true, - "requires": { - "semver-compare": "^1.0.0" - } - }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -3970,9 +10855,9 @@ "dev": true }, "prettier": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", - "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", "dev": true }, "prettier-linter-helpers": { @@ -3991,12 +10876,12 @@ "dev": true }, "pretty-ms": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-7.0.1.tgz", - "integrity": "sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-8.0.0.tgz", + "integrity": "sha512-ASJqOugUF1bbzI35STMBUpZqdfYKlJugy6JBziGi2EE+AL5JPJGSzvpeVXojxrr0ViUYoToUjb5kjSEGf7Y83Q==", "dev": true, "requires": { - "parse-ms": "^2.1.0" + "parse-ms": "^3.0.0" } }, "process-on-spawn": { @@ -4008,16 +10893,6 @@ "fromentries": "^1.2.0" } }, - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", @@ -4116,6 +10991,14 @@ "dev": true, "requires": { "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "dev": true + } } }, "release-zalgo": { @@ -4194,18 +11077,18 @@ } }, "rollup": { - "version": "2.75.6", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.6.tgz", - "integrity": "sha512-OEf0TgpC9vU6WGROJIk1JA3LR5vk/yvqlzxqdrE2CzzXnqKXNzbAwlWUXis8RS3ZPe7LAq+YUxsRa0l3r27MLA==", + "version": "2.75.7", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.7.tgz", + "integrity": "sha512-VSE1iy0eaAYNCxEXaleThdFXqZJ42qDBatAwrfnPlENEZ8erQ+0LYX4JXOLPceWfZpV1VtZwZ3dFCuOZiSyFtQ==", "dev": true, "requires": { "fsevents": "~2.3.2" } }, "rollup-plugin-license": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-2.8.0.tgz", - "integrity": "sha512-P+CM6tlgahnpnOFKeirABCcs3Eez4AQsm2fC7rvVR3aMIWd/KgSNAImmcfGS+Pmd0dGFmjE1tYgflnTINxNpIQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-2.8.1.tgz", + "integrity": "sha512-VYd9pzaNL7NN6xQp93XiiCV2UoduXgSmTcz6rl9bHPdiifT6yH3Zw/omEr73Rq8TIyN4nqJACBbKIT/2eE66wg==", "dev": true, "requires": { "commenting": "~1.1.0", @@ -4293,9 +11176,9 @@ } }, "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, "semver": { @@ -4307,12 +11190,6 @@ "lru-cache": "^6.0.0" } }, - "semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", - "dev": true - }, "serialize-javascript": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", @@ -4325,7 +11202,7 @@ "set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, "setimmediate-napi": { @@ -4398,38 +11275,19 @@ "dev": true }, "slice-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" }, "dependencies": { "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.1.0.tgz", + "integrity": "sha512-VbqNsoz55SYGczauuup0MFUyXNQviSpFTj1RQtFzmQLk18qbVSpTFFGMT293rmDaQuKCT6InmbuEyUne4mTuxQ==", "dev": true } } @@ -4540,7 +11398,7 @@ "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, "string-argv": { @@ -4550,14 +11408,31 @@ "dev": true }, "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true + }, + "strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + } + } } }, "string.prototype.trimend": { @@ -4582,17 +11457,6 @@ "es-abstract": "^1.19.5" } }, - "stringify-object": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", - "dev": true, - "requires": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - } - }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -4603,9 +11467,9 @@ } }, "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "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 }, "strip-final-newline": { @@ -4642,9 +11506,9 @@ "dev": true }, "terser": { - "version": "5.14.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.0.tgz", - "integrity": "sha512-JC6qfIEkPBd9j1SMO3Pfn+A6w2kQV54tv+ABQLgZr7dA3k/DL/OBoYSWxzVpZev3J+bUHXfr55L8Mox7AaNo6g==", + "version": "5.14.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.1.tgz", + "integrity": "sha512-+ahUAE+iheqBTDxXhTisdA8hgvbEG1hHOQ9xmNjeUJSoi6DU/gMrKNcfZjHkyY6Alnuyc+ikYJaxxfHkT3+WuQ==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.2", @@ -4675,13 +11539,13 @@ "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true }, "time-zone": { @@ -4693,7 +11557,7 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true }, "to-regex-range": { @@ -4715,6 +11579,23 @@ "json5": "^1.0.1", "minimist": "^1.2.6", "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + } } }, "tslib": { @@ -4765,9 +11646,9 @@ } }, "typescript": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.3.tgz", - "integrity": "sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==", + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", "dev": true }, "unbox-primitive": { @@ -4811,11 +11692,21 @@ "dev": true }, "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "dev": true }, + "update-browserslist-db": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", + "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "dev": true, + "requires": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + } + }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -4885,7 +11776,7 @@ "which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==", "dev": true }, "word-wrap": { @@ -4895,9 +11786,9 @@ "dev": true }, "workerpool": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", - "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", "dev": true }, "wrap-ansi": { @@ -4934,13 +11825,36 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true + }, + "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 + }, + "is-fullwidth-code-point": { + "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 + }, + "string-width": { + "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, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } } } }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, "write-file-atomic": { @@ -4968,9 +11882,9 @@ "dev": true }, "yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.1.1.tgz", + "integrity": "sha512-o96x3OPo8GjWeSLF+wOAbrPfhFOGY0W00GNaxCDv+9hkcDJEnev1yh8S7pgHF0ik6zc8sQLuL8hjHjJULZp8bw==", "dev": true }, "yargs": { @@ -4986,12 +11900,43 @@ "string-width": "^4.2.0", "y18n": "^5.0.5", "yargs-parser": "^20.2.2" + }, + "dependencies": { + "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 + }, + "is-fullwidth-code-point": { + "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 + }, + "string-width": { + "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, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + } } }, "yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz", + "integrity": "sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==", "dev": true }, "yargs-unparser": { @@ -5004,6 +11949,20 @@ "decamelize": "^4.0.0", "flat": "^5.0.2", "is-plain-obj": "^2.1.0" + }, + "dependencies": { + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + } } }, "yocto-queue": { diff --git a/package.json b/package.json index e56b2049bec..6ddab5b9e9c 100644 --- a/package.json +++ b/package.json @@ -59,49 +59,49 @@ "devDependencies": { "@rollup/plugin-alias": "^3.1.9", "@rollup/plugin-buble": "^0.21.3", - "@rollup/plugin-commonjs": "^22.0.0", + "@rollup/plugin-commonjs": "^22.0.1", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-replace": "^4.0.0", - "@rollup/plugin-typescript": "^8.3.2", + "@rollup/plugin-typescript": "^8.3.3", "@rollup/pluginutils": "^4.2.1", - "@types/estree": "0.0.51", - "@types/node": "^10.17.60", + "@types/estree": "0.0.52", + "@types/node": "^14.18.21", "@types/signal-exit": "^3.0.1", - "@types/yargs-parser": "^20.2.2", - "@typescript-eslint/eslint-plugin": "^5.27.1", - "@typescript-eslint/parser": "^5.27.1", + "@types/yargs-parser": "^21.0.0", + "@typescript-eslint/eslint-plugin": "^5.30.3", + "@typescript-eslint/parser": "^5.30.3", "acorn": "^8.7.1", "acorn-jsx": "^5.3.2", "acorn-walk": "^8.2.0", "buble": "^0.20.0", "chokidar": "^3.5.3", - "colorette": "^2.0.17", - "core-js": "^3.22.8", + "colorette": "^2.0.19", + "core-js": "^3.23.3", "date-time": "^4.0.0", "es5-shim": "^4.6.7", "es6-shim": "^0.35.6", - "eslint": "^8.17.0", + "eslint": "^8.19.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", - "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-prettier": "^4.2.1", "execa": "^5.1.1", "fixturify": "^2.1.1", "fs-extra": "^10.1.0", "hash.js": "^1.1.7", - "husky": "^7.0.4", + "husky": "^8.0.1", "is-reference": "^3.0.0", - "lint-staged": "^10.5.4", + "lint-staged": "^13.0.3", "locate-character": "^2.0.5", "magic-string": "^0.26.2", - "mocha": "^9.2.2", + "mocha": "^10.0.0", "nyc": "^15.1.0", - "prettier": "^2.6.2", + "prettier": "^2.7.1", "pretty-bytes": "^5.6.0", - "pretty-ms": "^7.0.1", + "pretty-ms": "^8.0.0", "requirejs": "^2.3.6", - "rollup": "^2.75.6", - "rollup-plugin-license": "^2.8.0", + "rollup": "^2.75.7", + "rollup-plugin-license": "^2.8.1", "rollup-plugin-string": "^3.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-thatworks": "^1.0.4", @@ -111,11 +111,11 @@ "source-map-support": "^0.5.21", "sourcemap-codec": "^1.4.8", "systemjs": "^6.12.1", - "terser": "^5.14.0", + "terser": "^5.14.1", "tslib": "^2.4.0", - "typescript": "^4.7.3", + "typescript": "^4.7.4", "weak-napi": "^2.0.2", - "yargs-parser": "^20.2.9" + "yargs-parser": "^21.0.1" }, "files": [ "dist/**/*.js", @@ -125,7 +125,8 @@ "dist/rollup.browser.js.map" ], "engines": { - "node": ">=10.0.0" + "node": ">=14.0.0", + "npm": ">=8.0.0" }, "exports": { ".": { diff --git a/src/Bundle.ts b/src/Bundle.ts index 53b1f2b87f4..99123386fcf 100644 --- a/src/Bundle.ts +++ b/src/Bundle.ts @@ -6,7 +6,6 @@ import type { GetManualChunk, NormalizedInputOptions, NormalizedOutputOptions, - OutputAsset, OutputBundle, OutputBundleWithPlaceholders, OutputChunk, @@ -21,8 +20,7 @@ import { errCannotAssignModuleToChunk, errChunkInvalid, errInvalidOption, - error, - warnDeprecation + error } from './utils/error'; import { sortByExecutionOrder } from './utils/executionOrder'; import { type GenerateCodeSnippets, getGenerateCodeSnippets } from './utils/generateCodeSnippets'; @@ -181,14 +179,6 @@ export default class Bundle { private finaliseAssets(outputBundle: OutputBundleWithPlaceholders): void { for (const file of Object.values(outputBundle)) { - if (!file.type) { - warnDeprecation( - 'A plugin is directly adding properties to the bundle object in the "generateBundle" hook. This is deprecated and will be removed in a future Rollup version, please use "this.emitFile" instead.', - true, - this.inputOptions - ); - (file as OutputAsset).type = 'asset'; - } if (this.outputOptions.validate && 'code' in file) { try { this.graph.contextParse(file.code, { diff --git a/src/ExternalModule.ts b/src/ExternalModule.ts index a5292866bb2..8255da456af 100644 --- a/src/ExternalModule.ts +++ b/src/ExternalModule.ts @@ -51,7 +51,7 @@ export default class ExternalModule { get hasModuleSideEffects() { warnDeprecation( 'Accessing ModuleInfo.hasModuleSideEffects from plugins is deprecated. Please use ModuleInfo.moduleSideEffects instead.', - false, + true, options ); return info.moduleSideEffects; diff --git a/src/Module.ts b/src/Module.ts index 439f8dd6c24..5ca4f29dd66 100644 --- a/src/Module.ts +++ b/src/Module.ts @@ -297,7 +297,7 @@ export default class Module { get hasModuleSideEffects() { warnDeprecation( 'Accessing ModuleInfo.hasModuleSideEffects from plugins is deprecated. Please use ModuleInfo.moduleSideEffects instead.', - false, + true, options ); return this.moduleSideEffects; diff --git a/src/ast/nodes/MetaProperty.ts b/src/ast/nodes/MetaProperty.ts index 9b0c8a5f729..807d8e6f194 100644 --- a/src/ast/nodes/MetaProperty.ts +++ b/src/ast/nodes/MetaProperty.ts @@ -1,7 +1,6 @@ import type MagicString from 'magic-string'; import type { InternalModuleFormat } from '../../rollup/types'; import type { PluginDriver } from '../../utils/PluginDriver'; -import { warnDeprecation } from '../../utils/error'; import type { GenerateCodeSnippets } from '../../utils/generateCodeSnippets'; import { dirname, normalize, relative } from '../../utils/path'; import { INTERACTION_ACCESSED, NodeInteraction } from '../NodeInteractions'; @@ -12,8 +11,6 @@ import MemberExpression from './MemberExpression'; import type * as NodeType from './NodeType'; import { NodeBase } from './shared/Node'; -const ASSET_PREFIX = 'ROLLUP_ASSET_URL_'; -const CHUNK_PREFIX = 'ROLLUP_CHUNK_URL_'; const FILE_PREFIX = 'ROLLUP_FILE_URL_'; export default class MetaProperty extends NodeBase { @@ -29,10 +26,7 @@ export default class MetaProperty extends NodeBase { ): void { const metaProperty = this.metaProperty; const accessedGlobals = ( - metaProperty && - (metaProperty.startsWith(FILE_PREFIX) || - metaProperty.startsWith(ASSET_PREFIX) || - metaProperty.startsWith(CHUNK_PREFIX)) + metaProperty && metaProperty.startsWith(FILE_PREFIX) ? accessedFileUrlGlobals : accessedMetaUrlGlobals )[format]; @@ -81,64 +75,22 @@ export default class MetaProperty extends NodeBase { const parent = this.parent; const metaProperty = this.metaProperty as string | null; - if ( - metaProperty && - (metaProperty.startsWith(FILE_PREFIX) || - metaProperty.startsWith(ASSET_PREFIX) || - metaProperty.startsWith(CHUNK_PREFIX)) - ) { + if (metaProperty && metaProperty.startsWith(FILE_PREFIX)) { let referenceId: string | null = null; - let assetReferenceId: string | null = null; - let chunkReferenceId: string | null = null; - let fileName: string; - if (metaProperty.startsWith(FILE_PREFIX)) { - referenceId = metaProperty.substring(FILE_PREFIX.length); - fileName = outputPluginDriver.getFileName(referenceId); - } else if (metaProperty.startsWith(ASSET_PREFIX)) { - warnDeprecation( - `Using the "${ASSET_PREFIX}" prefix to reference files is deprecated. Use the "${FILE_PREFIX}" prefix instead.`, - true, - this.context.options - ); - assetReferenceId = metaProperty.substring(ASSET_PREFIX.length); - fileName = outputPluginDriver.getFileName(assetReferenceId); - } else { - warnDeprecation( - `Using the "${CHUNK_PREFIX}" prefix to reference files is deprecated. Use the "${FILE_PREFIX}" prefix instead.`, - true, - this.context.options - ); - chunkReferenceId = metaProperty.substring(CHUNK_PREFIX.length); - fileName = outputPluginDriver.getFileName(chunkReferenceId); - } + referenceId = metaProperty.substring(FILE_PREFIX.length); + const fileName = outputPluginDriver.getFileName(referenceId); const relativePath = normalize(relative(dirname(chunkId), fileName)); - let replacement; - if (assetReferenceId !== null) { - replacement = outputPluginDriver.hookFirstSync('resolveAssetUrl', [ + const replacement = + outputPluginDriver.hookFirstSync('resolveFileUrl', [ { - assetFileName: fileName, chunkId, + fileName, format, moduleId: this.context.module.id, - relativeAssetPath: relativePath + referenceId, + relativePath } - ]); - } - if (!replacement) { - replacement = - outputPluginDriver.hookFirstSync('resolveFileUrl', [ - { - assetReferenceId, - chunkId, - chunkReferenceId, - fileName, - format, - moduleId: this.context.module.id, - referenceId: referenceId || assetReferenceId || chunkReferenceId!, - relativePath - } - ]) || relativeUrlMechanisms[format](relativePath); - } + ]) || relativeUrlMechanisms[format](relativePath); code.overwrite( (parent as MemberExpression).start, diff --git a/src/rollup/types.d.ts b/src/rollup/types.d.ts index c88d53b4182..b4cca5470c9 100644 --- a/src/rollup/types.d.ts +++ b/src/rollup/types.d.ts @@ -150,10 +150,6 @@ export interface EmittedChunk { export type EmittedFile = EmittedAsset | EmittedChunk; -export type EmitAsset = (name: string, source?: string | Uint8Array) => string; - -export type EmitChunk = (id: string, options?: { name?: string }) => string; - export type EmitFile = (emittedFile: EmittedFile) => string; interface ModuleInfo extends ModuleOptions { @@ -185,22 +181,12 @@ export interface CustomPluginOptions { export interface PluginContext extends MinimalPluginContext { addWatchFile: (id: string) => void; cache: PluginCache; - /** @deprecated Use `this.emitFile` instead */ - emitAsset: EmitAsset; - /** @deprecated Use `this.emitFile` instead */ - emitChunk: EmitChunk; emitFile: EmitFile; error: (err: RollupError | string, pos?: number | { column: number; line: number }) => never; - /** @deprecated Use `this.getFileName` instead */ - getAssetFileName: (assetReferenceId: string) => string; - /** @deprecated Use `this.getFileName` instead */ - getChunkFileName: (chunkReferenceId: string) => string; getFileName: (fileReferenceId: string) => string; getModuleIds: () => IterableIterator; getModuleInfo: GetModuleInfo; getWatchFiles: () => string[]; - /** @deprecated Use `this.resolve` instead */ - isExternal: IsExternal; load: ( options: { id: string; resolveDependencies?: boolean } & Partial> ) => Promise; @@ -212,8 +198,6 @@ export interface PluginContext extends MinimalPluginContext { importer?: string, options?: { custom?: CustomPluginOptions; isEntry?: boolean; skipSelf?: boolean } ) => Promise; - /** @deprecated Use `this.resolve` instead */ - resolveId: (source: string, importer?: string) => Promise; setAssetSource: (assetReferenceId: string, source: string | Uint8Array) => void; warn: (warning: RollupWarning | string, pos?: number | { column: number; line: number }) => void; } @@ -311,23 +295,10 @@ export type ResolveImportMetaHook = ( options: { chunkId: string; format: InternalModuleFormat; moduleId: string } ) => string | null | void; -export type ResolveAssetUrlHook = ( - this: PluginContext, - options: { - assetFileName: string; - chunkId: string; - format: InternalModuleFormat; - moduleId: string; - relativeAssetPath: string; - } -) => string | null | void; - export type ResolveFileUrlHook = ( this: PluginContext, options: { - assetReferenceId: string | null; chunkId: string; - chunkReferenceId: string | null; fileName: string; format: InternalModuleFormat; moduleId: string; @@ -414,8 +385,6 @@ interface OutputPluginHooks { outputOptions: NormalizedOutputOptions, inputOptions: NormalizedInputOptions ) => Promise | void; - /** @deprecated Use `resolveFileUrl` instead */ - resolveAssetUrl: ResolveAssetUrlHook; resolveFileUrl: ResolveFileUrlHook; resolveImportMeta: ResolveImportMetaHook; writeBundle: ( @@ -451,7 +420,6 @@ export type SyncPluginHooks = Exclude; export type FirstPluginHooks = | 'load' | 'renderDynamicImport' - | 'resolveAssetUrl' | 'resolveDynamicImport' | 'resolveFileUrl' | 'resolveId' @@ -514,8 +482,6 @@ export interface TreeshakingOptions extends Partial> { moduleSideEffects?: ModuleSideEffectsOption; preset?: TreeshakingPreset; - /** @deprecated Use `moduleSideEffects` instead */ - pureExternalModules?: PureModulesOption; } interface GetManualChunkApi { @@ -728,12 +694,13 @@ export interface NormalizedOutputOptions { manualChunks: ManualChunksOption; minifyInternalExports: boolean; name: string | undefined; + /** @deprecated Use "generatedCode.symbols" instead. */ namespaceToStringTag: boolean; noConflict: boolean; outro: () => string | Promise; paths: OptionsPaths; plugins: OutputPlugin[]; - /** @deprecated Use the "renderDynamicImport" plugin hook instead. */ + /** @deprecated Use "generatedCode.constBindings" instead. */ preferConst: boolean; preserveModules: boolean; preserveModulesRoot: string | undefined; @@ -765,8 +732,6 @@ export interface PreRenderedAsset { export interface OutputAsset extends PreRenderedAsset { fileName: string; - /** @deprecated Accessing "isAsset" on files in the bundle is deprecated, please use "type === \'asset\'" instead */ - isAsset: true; } export interface RenderedModule { diff --git a/src/utils/FileEmitter.ts b/src/utils/FileEmitter.ts index 18edfa2ec96..3c85715b3ac 100644 --- a/src/utils/FileEmitter.ts +++ b/src/utils/FileEmitter.ts @@ -21,8 +21,7 @@ import { errFileReferenceIdNotFoundForFilename, errInvalidRollupPhaseForChunkEmission, errNoAssetSourceSet, - error, - warnDeprecation + error } from './error'; import { extname } from './path'; import { isPathFragment } from './relativeId'; @@ -329,18 +328,8 @@ export class FileEmitter { // We must not modify the original assets to avoid interaction between outputs const assetWithFileName = { ...consumedFile, fileName, source }; this.filesByReferenceId.set(referenceId, assetWithFileName); - const { options } = this; bundle[fileName] = { fileName, - get isAsset(): true { - warnDeprecation( - 'Accessing "isAsset" on files in the bundle is deprecated, please use "type === \'asset\'" instead', - true, - options - ); - - return true; - }, name: consumedFile.name, source, type: 'asset' diff --git a/src/utils/PluginContext.ts b/src/utils/PluginContext.ts index f1ca5bc4dd9..3a58c915b87 100644 --- a/src/utils/PluginContext.ts +++ b/src/utils/PluginContext.ts @@ -18,35 +18,6 @@ import { throwPluginError } from './pluginUtils'; -function getDeprecatedContextHandler< - THandler extends (...args: TParams) => TResult, - TParams extends readonly any[], - TResult ->( - handler: THandler, - handlerName: string, - newHandlerName: string, - pluginName: string, - activeDeprecation: boolean, - options: NormalizedInputOptions -): THandler { - let deprecationWarningShown = false; - return ((...args: TParams): TResult => { - if (!deprecationWarningShown) { - deprecationWarningShown = true; - warnDeprecation( - { - message: `The "this.${handlerName}" plugin context function used by plugin ${pluginName} is deprecated. The "this.${newHandlerName}" plugin context function should be used instead.`, - plugin: pluginName - }, - activeDeprecation, - options - ); - } - return handler(...args); - }) as THandler; -} - export function getPluginContext( plugin: Plugin, pluginCache: Record | void, @@ -88,57 +59,14 @@ export function getPluginContext( graph.watchFiles[id] = true; }, cache: cacheInstance, - emitAsset: getDeprecatedContextHandler( - (name: string, source?: string | Uint8Array) => - fileEmitter.emitFile({ name, source, type: 'asset' }), - 'emitAsset', - 'emitFile', - plugin.name, - true, - options - ), - emitChunk: getDeprecatedContextHandler( - (id: string, options?: { name?: string }) => - fileEmitter.emitFile({ id, name: options && options.name, type: 'chunk' }), - 'emitChunk', - 'emitFile', - plugin.name, - true, - options - ), emitFile: fileEmitter.emitFile.bind(fileEmitter), error(err): never { return throwPluginError(err, plugin.name); }, - getAssetFileName: getDeprecatedContextHandler( - fileEmitter.getFileName, - 'getAssetFileName', - 'getFileName', - plugin.name, - true, - options - ), - getChunkFileName: getDeprecatedContextHandler( - fileEmitter.getFileName, - 'getChunkFileName', - 'getFileName', - plugin.name, - true, - options - ), getFileName: fileEmitter.getFileName, getModuleIds: () => graph.modulesById.keys(), getModuleInfo: graph.getModuleInfo, getWatchFiles: () => Object.keys(graph.watchFiles), - isExternal: getDeprecatedContextHandler( - (id: string, parentId: string | undefined, isResolved = false) => - options.external(id, parentId, isResolved), - 'isExternal', - 'resolve', - plugin.name, - true, - options - ), load(resolvedId) { return graph.moduleLoader.preloadModule(resolvedId); }, @@ -154,7 +82,7 @@ export function getPluginContext( message: `Accessing "this.moduleIds" on the plugin context by plugin ${plugin.name} is deprecated. The "this.getModuleIds" plugin context function should be used instead.`, plugin: plugin.name }, - false, + true, options ); yield* moduleIds; @@ -173,17 +101,6 @@ export function getPluginContext( skipSelf ? [{ importer, plugin, source }] : null ); }, - resolveId: getDeprecatedContextHandler( - (source: string, importer: string | undefined) => - graph.moduleLoader - .resolveId(source, importer, BLANK, undefined) - .then(resolveId => resolveId && resolveId.id), - 'resolveId', - 'resolve', - plugin.name, - true, - options - ), setAssetSource: fileEmitter.setAssetSource, warn(warning) { if (typeof warning === 'string') warning = { message: warning }; diff --git a/src/utils/PluginDriver.ts b/src/utils/PluginDriver.ts index a436bc35586..3bab48bac63 100644 --- a/src/utils/PluginDriver.ts +++ b/src/utils/PluginDriver.ts @@ -22,7 +22,7 @@ import type { import { FileEmitter } from './FileEmitter'; import { getPluginContext } from './PluginContext'; import { errInputHookInOutputPlugin, error } from './error'; -import { throwPluginError, warnDeprecatedHooks } from './pluginUtils'; +import { throwPluginError } from './pluginUtils'; /** * Get the inner type from a promise @@ -94,7 +94,6 @@ export class PluginDriver { pluginCache: Record | undefined, basePluginDriver?: PluginDriver ) { - warnDeprecatedHooks(userPlugins, options); this.pluginCache = pluginCache; this.fileEmitter = new FileEmitter( graph, diff --git a/src/utils/options/normalizeInputOptions.ts b/src/utils/options/normalizeInputOptions.ts index e3395651de9..31834ee5aab 100644 --- a/src/utils/options/normalizeInputOptions.ts +++ b/src/utils/options/normalizeInputOptions.ts @@ -5,7 +5,6 @@ import type { ModuleSideEffectsOption, NormalizedInputOptions, PreserveEntrySignaturesOption, - PureModulesOption, RollupBuild, WarningHandler } from '../../rollup/types'; @@ -59,7 +58,7 @@ export function normalizeInputOptions(config: InputOptions): { preserveSymlinks: config.preserveSymlinks || false, shimMissingExports: config.shimMissingExports || false, strictDeprecations, - treeshake: getTreeshake(config, onwarn, strictDeprecations) + treeshake: getTreeshake(config) }; warnUnknownOptions( @@ -145,7 +144,7 @@ const getInlineDynamicImports = ( if (configInlineDynamicImports) { warnDeprecationWithOptions( 'The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.', - false, + true, warn, strictDeprecations ); @@ -167,7 +166,7 @@ const getManualChunks = ( if (configManualChunks) { warnDeprecationWithOptions( 'The "manualChunks" option is deprecated. Use the "output.manualChunks" option instead.', - false, + true, warn, strictDeprecations ); @@ -229,7 +228,7 @@ const getPreserveModules = ( if (configPreserveModules) { warnDeprecationWithOptions( 'The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.', - false, + true, warn, strictDeprecations ); @@ -237,11 +236,7 @@ const getPreserveModules = ( return configPreserveModules; }; -const getTreeshake = ( - config: InputOptions, - warn: WarningHandler, - strictDeprecations: boolean -): NormalizedInputOptions['treeshake'] => { +const getTreeshake = (config: InputOptions): NormalizedInputOptions['treeshake'] => { const configTreeshake = config.treeshake; if (configTreeshake === false) { return false; @@ -252,27 +247,12 @@ const getTreeshake = ( 'treeshake', 'false, true, ' ); - if (typeof configWithPreset.pureExternalModules !== 'undefined') { - warnDeprecationWithOptions( - `The "treeshake.pureExternalModules" option is deprecated. The "treeshake.moduleSideEffects" option should be used instead. "treeshake.pureExternalModules: true" is equivalent to "treeshake.moduleSideEffects: 'no-external'"`, - true, - warn, - strictDeprecations - ); - } return { annotations: configWithPreset.annotations !== false, correctVarValueBeforeDeclaration: configWithPreset.correctVarValueBeforeDeclaration === true, - moduleSideEffects: - typeof configTreeshake === 'object' && configTreeshake.pureExternalModules - ? getHasModuleSideEffects( - configTreeshake.moduleSideEffects, - configTreeshake.pureExternalModules - ) - : getHasModuleSideEffects( - configWithPreset.moduleSideEffects as ModuleSideEffectsOption | undefined, - undefined - ), + moduleSideEffects: getHasModuleSideEffects( + configWithPreset.moduleSideEffects as ModuleSideEffectsOption | undefined + ), propertyReadSideEffects: configWithPreset.propertyReadSideEffects === 'always' ? 'always' @@ -283,8 +263,7 @@ const getTreeshake = ( }; const getHasModuleSideEffects = ( - moduleSideEffectsOption: ModuleSideEffectsOption | undefined, - pureExternalModules: PureModulesOption | undefined + moduleSideEffectsOption: ModuleSideEffectsOption | undefined ): HasModuleSideEffects => { if (typeof moduleSideEffectsOption === 'boolean') { return () => moduleSideEffectsOption; @@ -309,6 +288,5 @@ const getHasModuleSideEffects = ( ) ); } - const isPureExternalModule = getIdMatcher(pureExternalModules); - return (id, external) => !(external && isPureExternalModule(id)); + return () => true; }; diff --git a/src/utils/options/normalizeOutputOptions.ts b/src/utils/options/normalizeOutputOptions.ts index c23e8fae064..d606324600f 100644 --- a/src/utils/options/normalizeOutputOptions.ts +++ b/src/utils/options/normalizeOutputOptions.ts @@ -205,7 +205,7 @@ const getPreferConst = ( if (configPreferConst != null) { warnDeprecation( `The "output.preferConst" option is deprecated. Use the "output.generatedCode.constBindings" option instead.`, - false, + true, inputOptions ); } @@ -301,7 +301,7 @@ const getDynamicImportFunction = ( if (configDynamicImportFunction) { warnDeprecation( `The "output.dynamicImportFunction" option is deprecated. Use the "renderDynamicImport" plugin hook instead.`, - false, + true, inputOptions ); } @@ -397,7 +397,7 @@ const getInterop = ( } instead.`, url: 'https://rollupjs.org/guide/en/#outputinterop' }, - false, + true, inputOptions ); } @@ -464,7 +464,7 @@ const getNamespaceToStringTag = ( if (configNamespaceToStringTag != null) { warnDeprecation( `The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.`, - false, + true, inputOptions ); return configNamespaceToStringTag; diff --git a/src/utils/pluginUtils.ts b/src/utils/pluginUtils.ts index 05cc8ba25b3..ab55417731c 100644 --- a/src/utils/pluginUtils.ts +++ b/src/utils/pluginUtils.ts @@ -1,5 +1,5 @@ -import type { NormalizedInputOptions, Plugin, RollupError } from '../rollup/types'; -import { error, Errors, warnDeprecation } from './error'; +import type { RollupError } from '../rollup/types'; +import { error, Errors } from './error'; export const ANONYMOUS_PLUGIN_PREFIX = 'at position '; export const ANONYMOUS_OUTPUT_PLUGIN_PREFIX = 'at output position '; @@ -23,27 +23,3 @@ export function throwPluginError( } return error(err); } - -const deprecatedHooks = [ - { active: true, deprecated: 'resolveAssetUrl', replacement: 'resolveFileUrl' } -] as const; - -export function warnDeprecatedHooks( - plugins: readonly Plugin[], - options: NormalizedInputOptions -): void { - for (const { active, deprecated, replacement } of deprecatedHooks) { - for (const plugin of plugins) { - if (deprecated in plugin) { - warnDeprecation( - { - message: `The "${deprecated}" hook used by plugin ${plugin.name} is deprecated. The "${replacement}" hook should be used instead.`, - plugin: plugin.name - }, - active, - options - ); - } - } - } -} diff --git a/src/utils/transform.ts b/src/utils/transform.ts index a4607242320..6b7d3aad0d6 100644 --- a/src/utils/transform.ts +++ b/src/utils/transform.ts @@ -95,14 +95,6 @@ export default async function transform( cache: customTransformCache ? pluginContext.cache : getTrackedPluginCache(pluginContext.cache, useCustomTransformCache), - emitAsset(name: string, source?: string | Uint8Array) { - emittedFiles.push({ name, source, type: 'asset' as const }); - return pluginContext.emitAsset(name, source); - }, - emitChunk(id, options) { - emittedFiles.push({ id, name: options && options.name, type: 'chunk' as const }); - return pluginContext.emitChunk(id, options); - }, emitFile(emittedFile: EmittedFile) { emittedFiles.push(emittedFile); return pluginDriver.emitFile(emittedFile); diff --git a/test/chunking-form/samples/deprecated/avoid-imports-preserve-modules/_config.js b/test/chunking-form/samples/deprecated/avoid-imports-preserve-modules/_config.js index f1ceddc826f..4f170640cfb 100644 --- a/test/chunking-form/samples/deprecated/avoid-imports-preserve-modules/_config.js +++ b/test/chunking-form/samples/deprecated/avoid-imports-preserve-modules/_config.js @@ -4,5 +4,6 @@ module.exports = { options: { strictDeprecations: false, preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/circular-manual-chunks/_config.js b/test/chunking-form/samples/deprecated/circular-manual-chunks/_config.js index 1a256a1d458..c52339e8003 100644 --- a/test/chunking-form/samples/deprecated/circular-manual-chunks/_config.js +++ b/test/chunking-form/samples/deprecated/circular-manual-chunks/_config.js @@ -1,6 +1,6 @@ module.exports = { description: 'handles manual chunks with circular dependencies', - expectedWarnings: ['CIRCULAR_DEPENDENCY'], + expectedWarnings: ['CIRCULAR_DEPENDENCY', 'DEPRECATED_FEATURE'], options: { strictDeprecations: false, input: 'main', diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_config.js b/test/chunking-form/samples/deprecated/configure-asset-url/_config.js deleted file mode 100644 index c867fee7ed1..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_config.js +++ /dev/null @@ -1,43 +0,0 @@ -module.exports = { - description: 'allows to configure asset urls', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - output: { - chunkFileNames: 'nested/chunk.js' - }, - plugins: [ - { - resolveId(id) { - if (id.endsWith('solved')) { - return id; - } - }, - load(id) { - if (id.endsWith('solved')) { - const assetId = this.emitAsset(`asset-${id}.txt`, `Asset for: ${id}`); - return `export default import.meta.ROLLUP_ASSET_URL_${assetId};`; - } - }, - resolveAssetUrl({ chunkId, moduleId, assetFileName, relativeAssetPath }) { - if (!moduleId.endsWith('resolved')) { - return `'${chunkId}:${moduleId - .replace(/\\/g, '/') - .split('/') - .slice(-2) - .join('/')}:${assetFileName}:${relativeAssetPath}'`; - } - return null; - } - }, - { - resolveAssetUrl({ moduleId }) { - if (moduleId === 'resolved') { - return `'resolved'`; - } - return null; - } - } - ] - } -}; diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/main.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/main.js deleted file mode 100644 index f085ba371bd..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/main.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['require'], (function (require) { 'use strict'; - - var asset2 = 'resolved'; - - var asset3 = new URL(require.toUrl('./assets/asset-unresolved-8dcd7fca.txt'), document.baseURI).href; - - new Promise(function (resolve, reject) { require(['./nested/chunk'], resolve, reject); }).then(result => console.log(result, asset2, asset3)); - -})); diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/nested/chunk.js deleted file mode 100644 index f0aa76e1c74..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/amd/nested/chunk.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['require', 'exports'], (function (require, exports) { 'use strict'; - - var solved = 'nested/chunk.js:solved:assets/asset-solved-28a7ac89.txt:../assets/asset-solved-28a7ac89.txt'; - - exports["default"] = solved; - -})); diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/main.js deleted file mode 100644 index ca36e16ba1d..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/main.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -var asset2 = 'resolved'; - -var asset3 = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/asset-unresolved-8dcd7fca.txt').href : new URL('assets/asset-unresolved-8dcd7fca.txt', document.currentScript && document.currentScript.src || document.baseURI).href); - -Promise.resolve().then(function () { return require('./nested/chunk.js'); }).then(result => console.log(result, asset2, asset3)); diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/nested/chunk.js deleted file mode 100644 index c5ee0aff40e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/cjs/nested/chunk.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var solved = 'nested/chunk.js:solved:assets/asset-solved-28a7ac89.txt:../assets/asset-solved-28a7ac89.txt'; - -exports["default"] = solved; diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/main.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/main.js deleted file mode 100644 index c78af2b3768..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/main.js +++ /dev/null @@ -1,5 +0,0 @@ -var asset2 = 'resolved'; - -var asset3 = new URL('assets/asset-unresolved-8dcd7fca.txt', import.meta.url).href; - -import('./nested/chunk.js').then(result => console.log(result, asset2, asset3)); diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/nested/chunk.js deleted file mode 100644 index 407e86ebd52..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/es/nested/chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -var solved = 'nested/chunk.js:solved:assets/asset-solved-28a7ac89.txt:../assets/asset-solved-28a7ac89.txt'; - -export { solved as default }; diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/main.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/main.js deleted file mode 100644 index b9d944501dd..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/main.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - var asset2 = 'resolved'; - - var asset3 = new URL('assets/asset-unresolved-8dcd7fca.txt', module.meta.url).href; - - module.import('./nested/chunk.js').then(result => console.log(result, asset2, asset3)); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/nested/chunk.js deleted file mode 100644 index c1b5bddba2d..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/_expected/system/nested/chunk.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - var solved = exports('default', 'nested/chunk.js:solved:assets/asset-solved-28a7ac89.txt:../assets/asset-solved-28a7ac89.txt'); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/configure-asset-url/main.js b/test/chunking-form/samples/deprecated/configure-asset-url/main.js deleted file mode 100644 index b3f01707026..00000000000 --- a/test/chunking-form/samples/deprecated/configure-asset-url/main.js +++ /dev/null @@ -1,4 +0,0 @@ -import asset2 from 'resolved'; -import asset3 from 'unresolved'; - -import('solved').then(result => console.log(result, asset2, asset3)); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_config.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_config.js deleted file mode 100644 index 187178aed06..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_config.js +++ /dev/null @@ -1,57 +0,0 @@ -module.exports = { - description: 'allows to configure file urls', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - output: { - chunkFileNames: 'nested/chunk.js' - }, - plugins: [ - { - resolveId(id) { - if (id.endsWith('solved')) { - return id; - } - }, - load(id) { - if (id.endsWith('solved')) { - const assetId = this.emitAsset(`asset-${id}.txt`, `Asset for: ${id}`); - const chunkId = this.emitChunk('chunk.js'); - return ( - `export const asset = import.meta.ROLLUP_ASSET_URL_${assetId};\n` + - `export const chunk = import.meta.ROLLUP_CHUNK_URL_${chunkId};` - ); - } - }, - resolveFileUrl({ - assetReferenceId, - chunkId, - chunkReferenceId, - fileName, - format, - moduleId, - relativePath - }) { - if (!moduleId.endsWith('resolved')) { - return `'chunkId=${chunkId}:moduleId=${moduleId - .replace(/\\/g, '/') - .split('/') - .slice(-2) - .join( - '/' - )}:fileName=${fileName}:format=${format}:relativePath=${relativePath}:assetReferenceId=${assetReferenceId}:chunkReferenceId=${chunkReferenceId}'`; - } - return null; - } - }, - { - resolveFileUrl({ moduleId }) { - if (moduleId === 'resolved') { - return `'resolved'`; - } - return null; - } - } - ] - } -}; diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/main.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/main.js deleted file mode 100644 index cf5bdfec043..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/main.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['require'], (function (require) { 'use strict'; - - const asset$1 = 'resolved'; - const chunk$1 = 'resolved'; - - const asset = new URL(require.toUrl('./assets/asset-unresolved-8dcd7fca.txt'), document.baseURI).href; - const chunk = new URL(require.toUrl('./nested/chunk.js'), document.baseURI).href; - - new Promise(function (resolve, reject) { require(['./nested/chunk2'], resolve, reject); }).then(result => console.log(result, chunk$1, chunk, asset$1, asset)); - -})); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk.js deleted file mode 100644 index f29221faf6c..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk.js +++ /dev/null @@ -1,5 +0,0 @@ -define((function () { 'use strict'; - - console.log('chunk'); - -})); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk2.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk2.js deleted file mode 100644 index f6ce7c068d4..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/amd/nested/chunk2.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['require', 'exports'], (function (require, exports) { 'use strict'; - - const asset = 'chunkId=nested/chunk2.js:moduleId=solved:fileName=assets/asset-solved-28a7ac89.txt:format=amd:relativePath=../assets/asset-solved-28a7ac89.txt:assetReferenceId=6296c678:chunkReferenceId=null'; - const chunk = 'chunkId=nested/chunk2.js:moduleId=solved:fileName=nested/chunk.js:format=amd:relativePath=chunk.js:assetReferenceId=null:chunkReferenceId=f6c25ae7'; - - exports.asset = asset; - exports.chunk = chunk; - -})); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/main.js deleted file mode 100644 index feea03def6e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/main.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const asset$1 = 'resolved'; -const chunk$1 = 'resolved'; - -const asset = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/asset-unresolved-8dcd7fca.txt').href : new URL('assets/asset-unresolved-8dcd7fca.txt', document.currentScript && document.currentScript.src || document.baseURI).href); -const chunk = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/nested/chunk.js').href : new URL('nested/chunk.js', document.currentScript && document.currentScript.src || document.baseURI).href); - -Promise.resolve().then(function () { return require('./nested/chunk2.js'); }).then(result => console.log(result, chunk$1, chunk, asset$1, asset)); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk.js deleted file mode 100644 index 9bd6f06e964..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -console.log('chunk'); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk2.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk2.js deleted file mode 100644 index 2ea0d2caf6f..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/cjs/nested/chunk2.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -const asset = 'chunkId=nested/chunk2.js:moduleId=solved:fileName=assets/asset-solved-28a7ac89.txt:format=cjs:relativePath=../assets/asset-solved-28a7ac89.txt:assetReferenceId=6296c678:chunkReferenceId=null'; -const chunk = 'chunkId=nested/chunk2.js:moduleId=solved:fileName=nested/chunk.js:format=cjs:relativePath=chunk.js:assetReferenceId=null:chunkReferenceId=f6c25ae7'; - -exports.asset = asset; -exports.chunk = chunk; diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/main.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/main.js deleted file mode 100644 index 1f84c485bd4..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/main.js +++ /dev/null @@ -1,7 +0,0 @@ -const asset$1 = 'resolved'; -const chunk$1 = 'resolved'; - -const asset = new URL('assets/asset-unresolved-8dcd7fca.txt', import.meta.url).href; -const chunk = new URL('nested/chunk.js', import.meta.url).href; - -import('./nested/chunk2.js').then(result => console.log(result, chunk$1, chunk, asset$1, asset)); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk.js deleted file mode 100644 index 36b1d61dd25..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk.js +++ /dev/null @@ -1 +0,0 @@ -console.log('chunk'); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk2.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk2.js deleted file mode 100644 index 736b09b62c1..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/es/nested/chunk2.js +++ /dev/null @@ -1,4 +0,0 @@ -const asset = 'chunkId=nested/chunk2.js:moduleId=solved:fileName=assets/asset-solved-28a7ac89.txt:format=es:relativePath=../assets/asset-solved-28a7ac89.txt:assetReferenceId=6296c678:chunkReferenceId=null'; -const chunk = 'chunkId=nested/chunk2.js:moduleId=solved:fileName=nested/chunk.js:format=es:relativePath=chunk.js:assetReferenceId=null:chunkReferenceId=f6c25ae7'; - -export { asset, chunk }; diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-resolved-8bd22e6e.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-solved-28a7ac89.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-unresolved-8dcd7fca.txt b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/main.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/main.js deleted file mode 100644 index f837123459d..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/main.js +++ /dev/null @@ -1,16 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - const asset$1 = 'resolved'; - const chunk$1 = 'resolved'; - - const asset = new URL('assets/asset-unresolved-8dcd7fca.txt', module.meta.url).href; - const chunk = new URL('nested/chunk.js', module.meta.url).href; - - module.import('./nested/chunk2.js').then(result => console.log(result, chunk$1, chunk, asset$1, asset)); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk.js deleted file mode 100644 index 1443cae1e05..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function () { - 'use strict'; - return { - execute: (function () { - - console.log('chunk'); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk2.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk2.js deleted file mode 100644 index 46ffd9138a6..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/_expected/system/nested/chunk2.js +++ /dev/null @@ -1,11 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - const asset = exports('asset', 'chunkId=nested/chunk2.js:moduleId=solved:fileName=assets/asset-solved-28a7ac89.txt:format=system:relativePath=../assets/asset-solved-28a7ac89.txt:assetReferenceId=6296c678:chunkReferenceId=null'); - const chunk = exports('chunk', 'chunkId=nested/chunk2.js:moduleId=solved:fileName=nested/chunk.js:format=system:relativePath=chunk.js:assetReferenceId=null:chunkReferenceId=f6c25ae7'); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/chunk.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/chunk.js deleted file mode 100644 index 36b1d61dd25..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/chunk.js +++ /dev/null @@ -1 +0,0 @@ -console.log('chunk'); diff --git a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/main.js b/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/main.js deleted file mode 100644 index c7b101dfc5b..00000000000 --- a/test/chunking-form/samples/deprecated/configure-file-url-for-assets-and-chunks/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import { asset as asset1, chunk as chunk1 } from 'resolved'; -import { asset as asset2, chunk as chunk2 } from 'unresolved'; - -import('solved').then(result => console.log(result, chunk1, chunk2, asset1, asset2)); - diff --git a/test/chunking-form/samples/deprecated/dynamic-import-comments/_config.js b/test/chunking-form/samples/deprecated/dynamic-import-comments/_config.js index 2bc7c8df417..29065eec4a7 100644 --- a/test/chunking-form/samples/deprecated/dynamic-import-comments/_config.js +++ b/test/chunking-form/samples/deprecated/dynamic-import-comments/_config.js @@ -12,5 +12,6 @@ module.exports = { output: { dynamicImportFunction: 'foobar' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/dynamic-import-inlining-object/_config.js b/test/chunking-form/samples/deprecated/dynamic-import-inlining-object/_config.js index 4ffc9d0f905..a40ae4c75ed 100644 --- a/test/chunking-form/samples/deprecated/dynamic-import-inlining-object/_config.js +++ b/test/chunking-form/samples/deprecated/dynamic-import-inlining-object/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, inlineDynamicImports: true, input: { entry: 'main' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/dynamic-import-name/_config.js b/test/chunking-form/samples/deprecated/dynamic-import-name/_config.js index 601e3b9d0d7..cd7d733c719 100644 --- a/test/chunking-form/samples/deprecated/dynamic-import-name/_config.js +++ b/test/chunking-form/samples/deprecated/dynamic-import-name/_config.js @@ -12,5 +12,6 @@ module.exports = { output: { dynamicImportFunction: 'foobar' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/emit-asset/_config.js b/test/chunking-form/samples/deprecated/emit-asset/_config.js deleted file mode 100644 index f9625ac7974..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_config.js +++ /dev/null @@ -1,30 +0,0 @@ -const { readFileSync } = require('fs'); -const path = require('path'); - -module.exports = { - description: 'supports emitting assets from plugin hooks', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: ['main.js'], - preserveEntrySignatures: false, - output: { - chunkFileNames: 'nested/chunk.js' - }, - plugins: { - resolveId(id, importee) { - if (id.endsWith('.svg')) { - return path.resolve(path.dirname(importee), id); - } - }, - load(id) { - if (id.endsWith('.svg')) { - return `export default import.meta.ROLLUP_ASSET_URL_${this.emitAsset( - path.basename(id), - readFileSync(id) - )};`; - } - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo1-a5ec488b.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo1-a5ec488b.svg deleted file mode 100644 index cb7e52c5130..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo1-a5ec488b.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo2-6d5979e4.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo2-6d5979e4.svg deleted file mode 100644 index b446284a4cd..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/assets/logo2-6d5979e4.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/main.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/main.js deleted file mode 100644 index 1dd5b4aaaa7..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/main.js +++ /dev/null @@ -1,21 +0,0 @@ -define(['require', 'exports'], (function (require, exports) { 'use strict'; - - var logo = new URL(require.toUrl('./assets/logo1-a5ec488b.svg'), document.baseURI).href; - - function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } - } - - showImage(logo); - new Promise(function (resolve, reject) { require(['./nested/chunk'], resolve, reject); }); - - exports.showImage = showImage; - - Object.defineProperty(exports, '__esModule', { value: true }); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/nested/chunk.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/nested/chunk.js deleted file mode 100644 index 6a888ad7ed2..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/amd/nested/chunk.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['require', '../main'], (function (require, main) { 'use strict'; - - var logo = new URL(require.toUrl('../assets/logo2-6d5979e4.svg'), document.baseURI).href; - - main.showImage(logo); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo1-a5ec488b.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo1-a5ec488b.svg deleted file mode 100644 index cb7e52c5130..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo1-a5ec488b.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo2-6d5979e4.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo2-6d5979e4.svg deleted file mode 100644 index b446284a4cd..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/assets/logo2-6d5979e4.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/main.js deleted file mode 100644 index 5c22a31491d..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/main.js +++ /dev/null @@ -1,19 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var logo = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/logo1-a5ec488b.svg').href : new URL('assets/logo1-a5ec488b.svg', document.currentScript && document.currentScript.src || document.baseURI).href); - -function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } -} - -showImage(logo); -Promise.resolve().then(function () { return require('./nested/chunk.js'); }); - -exports.showImage = showImage; diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/nested/chunk.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/nested/chunk.js deleted file mode 100644 index 8d9f9558b6d..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/cjs/nested/chunk.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -var main = require('../main.js'); - -var logo = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/../assets/logo2-6d5979e4.svg').href : new URL('../assets/logo2-6d5979e4.svg', document.currentScript && document.currentScript.src || document.baseURI).href); - -main.showImage(logo); diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo1-a5ec488b.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo1-a5ec488b.svg deleted file mode 100644 index cb7e52c5130..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo1-a5ec488b.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo2-6d5979e4.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo2-6d5979e4.svg deleted file mode 100644 index b446284a4cd..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/assets/logo2-6d5979e4.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/main.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/es/main.js deleted file mode 100644 index 4d8fd5dd758..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/main.js +++ /dev/null @@ -1,15 +0,0 @@ -var logo = new URL('assets/logo1-a5ec488b.svg', import.meta.url).href; - -function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } -} - -showImage(logo); -import('./nested/chunk.js'); - -export { showImage as s }; diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/nested/chunk.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/es/nested/chunk.js deleted file mode 100644 index 4491f94fb7e..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/es/nested/chunk.js +++ /dev/null @@ -1,5 +0,0 @@ -import { s as showImage } from '../main.js'; - -var logo = new URL('../assets/logo2-6d5979e4.svg', import.meta.url).href; - -showImage(logo); diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo1-a5ec488b.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo1-a5ec488b.svg deleted file mode 100644 index cb7e52c5130..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo1-a5ec488b.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo2-6d5979e4.svg b/test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo2-6d5979e4.svg deleted file mode 100644 index b446284a4cd..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/assets/logo2-6d5979e4.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/main.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/system/main.js deleted file mode 100644 index 01ef84effb6..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/main.js +++ /dev/null @@ -1,24 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - exports('s', showImage); - - var logo = new URL('assets/logo1-a5ec488b.svg', module.meta.url).href; - - function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } - } - - showImage(logo); - module.import('./nested/chunk.js'); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/nested/chunk.js b/test/chunking-form/samples/deprecated/emit-asset/_expected/system/nested/chunk.js deleted file mode 100644 index f678780b7ba..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/_expected/system/nested/chunk.js +++ /dev/null @@ -1,16 +0,0 @@ -System.register(['../main.js'], (function (exports, module) { - 'use strict'; - var showImage; - return { - setters: [function (module) { - showImage = module.s; - }], - execute: (function () { - - var logo = new URL('../assets/logo2-6d5979e4.svg', module.meta.url).href; - - showImage(logo); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-asset/index-amd.html b/test/chunking-form/samples/deprecated/emit-asset/index-amd.html deleted file mode 100644 index cd17b62967d..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/index-amd.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - AMD - - - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/index-es.html b/test/chunking-form/samples/deprecated/emit-asset/index-es.html deleted file mode 100644 index 58ae4a61527..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/index-es.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Title - - - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/index-system.html b/test/chunking-form/samples/deprecated/emit-asset/index-system.html deleted file mode 100644 index d4b3890b337..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/index-system.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - SystemJS - - - - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/logo1.svg b/test/chunking-form/samples/deprecated/emit-asset/logo1.svg deleted file mode 100644 index cb7e52c5130..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/logo1.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/logo2.svg b/test/chunking-form/samples/deprecated/emit-asset/logo2.svg deleted file mode 100644 index b446284a4cd..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/logo2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/test/chunking-form/samples/deprecated/emit-asset/main.js b/test/chunking-form/samples/deprecated/emit-asset/main.js deleted file mode 100644 index 5c1787b77b4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import logo from './logo1.svg'; -import { showImage } from './show-image'; - -showImage(logo); -import('./nested.js'); diff --git a/test/chunking-form/samples/deprecated/emit-asset/nested.js b/test/chunking-form/samples/deprecated/emit-asset/nested.js deleted file mode 100644 index ceb0a68e6e1..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/nested.js +++ /dev/null @@ -1,4 +0,0 @@ -import logo from './logo2.svg'; -import { showImage } from './show-image'; - -showImage(logo); diff --git a/test/chunking-form/samples/deprecated/emit-asset/show-image.js b/test/chunking-form/samples/deprecated/emit-asset/show-image.js deleted file mode 100644 index 28c706ab24b..00000000000 --- a/test/chunking-form/samples/deprecated/emit-asset/show-image.js +++ /dev/null @@ -1,8 +0,0 @@ -export function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } -} diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_config.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_config.js deleted file mode 100644 index a472740a55a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_config.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - description: 'allows adding modules already in the graph as entry points', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: { - 'first-main': 'main1', - 'second-main': 'main2' - }, - plugins: { - buildStart() { - // it should be possible to add existing entry points while not overriding their alias - this.emitChunk('main1'); - - // if an existing dependency is added, all references should use the new name - this.emitChunk('dep.js'); - this.emitChunk('dep'); - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/first-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/first-main.js deleted file mode 100644 index 05e4663fb8f..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/first-main.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./generated-dep'], (function (dep) { 'use strict'; - - console.log('main1', dep); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/generated-dep.js deleted file mode 100644 index 918ffcbca16..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/generated-dep.js +++ /dev/null @@ -1,7 +0,0 @@ -define((function () { 'use strict'; - - var value = 42; - - return value; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/second-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/second-main.js deleted file mode 100644 index 05e4663fb8f..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/amd/second-main.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./generated-dep'], (function (dep) { 'use strict'; - - console.log('main1', dep); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/first-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/first-main.js deleted file mode 100644 index 54bee5af979..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/first-main.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('./generated-dep.js'); - -console.log('main1', dep); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/generated-dep.js deleted file mode 100644 index 07d7bfe2962..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/generated-dep.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var value = 42; - -module.exports = value; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/second-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/second-main.js deleted file mode 100644 index 54bee5af979..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/cjs/second-main.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('./generated-dep.js'); - -console.log('main1', dep); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/first-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/first-main.js deleted file mode 100644 index d77500b5810..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/first-main.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './generated-dep.js'; - -console.log('main1', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/generated-dep.js deleted file mode 100644 index 47d1cc6ec49..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/generated-dep.js +++ /dev/null @@ -1,3 +0,0 @@ -var value = 42; - -export { value as default }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/second-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/second-main.js deleted file mode 100644 index d77500b5810..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/es/second-main.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './generated-dep.js'; - -console.log('main1', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/first-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/first-main.js deleted file mode 100644 index 1901ed04d73..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/first-main.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['./generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module["default"]; - }], - execute: (function () { - - console.log('main1', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/generated-dep.js deleted file mode 100644 index 1c71e7612ba..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/generated-dep.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function (exports) { - 'use strict'; - return { - execute: (function () { - - var value = exports('default', 42); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/second-main.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/second-main.js deleted file mode 100644 index 1901ed04d73..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/_expected/system/second-main.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['./generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module["default"]; - }], - execute: (function () { - - console.log('main1', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/dep.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/dep.js deleted file mode 100644 index 7a4e8a723a4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/dep.js +++ /dev/null @@ -1 +0,0 @@ -export default 42; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/main1.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/main1.js deleted file mode 100644 index e384824c6f2..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/main1.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('main1', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-existing/main2.js b/test/chunking-form/samples/deprecated/emit-chunk-existing/main2.js deleted file mode 100644 index e384824c6f2..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-existing/main2.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('main1', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_config.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_config.js deleted file mode 100644 index 780dd15d602..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_config.js +++ /dev/null @@ -1,22 +0,0 @@ -const assert = require('assert'); -let referenceId; - -module.exports = { - description: 'retrieves the correct name of an emitted chunk in case a facade is created', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: 'main', - manualChunks: { - 'build-starter': ['buildStart'] - }, - plugins: { - buildStart() { - referenceId = this.emitChunk('buildStart'); - }, - renderChunk() { - assert.strictEqual(this.getChunkFileName(referenceId), 'generated-buildStart.js'); - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-build-starter.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-build-starter.js deleted file mode 100644 index 8efead70ddb..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-build-starter.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['exports'], (function (exports) { 'use strict'; - - const value = 42; - const otherValue = 43; - - console.log('startBuild', value); - - exports.otherValue = otherValue; - exports.value = value; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-buildStart.js deleted file mode 100644 index 61abbcd2ed9..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/generated-buildStart.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['exports', './generated-build-starter'], (function (exports, buildStarter) { 'use strict'; - - - - exports.buildStartValue = buildStarter.value; - - Object.defineProperty(exports, '__esModule', { value: true }); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/main.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/main.js deleted file mode 100644 index 830d2184836..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/amd/main.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./generated-build-starter'], (function (buildStarter) { 'use strict'; - - console.log('main', buildStarter.value, buildStarter.otherValue); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-build-starter.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-build-starter.js deleted file mode 100644 index fecf7a3cd4c..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-build-starter.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -const value = 42; -const otherValue = 43; - -console.log('startBuild', value); - -exports.otherValue = otherValue; -exports.value = value; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-buildStart.js deleted file mode 100644 index 66c05cca4ba..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/generated-buildStart.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var buildStarter = require('./generated-build-starter.js'); - - - -exports.buildStartValue = buildStarter.value; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/main.js deleted file mode 100644 index 666c396846a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/cjs/main.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var buildStarter = require('./generated-build-starter.js'); - -console.log('main', buildStarter.value, buildStarter.otherValue); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-build-starter.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-build-starter.js deleted file mode 100644 index 43deafdd0be..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-build-starter.js +++ /dev/null @@ -1,6 +0,0 @@ -const value = 42; -const otherValue = 43; - -console.log('startBuild', value); - -export { otherValue as o, value as v }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-buildStart.js deleted file mode 100644 index ffb305eac54..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/generated-buildStart.js +++ /dev/null @@ -1 +0,0 @@ -export { v as buildStartValue } from './generated-build-starter.js'; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/main.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/main.js deleted file mode 100644 index 28caef9429d..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/es/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import { v as value, o as otherValue } from './generated-build-starter.js'; - -console.log('main', value, otherValue); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-build-starter.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-build-starter.js deleted file mode 100644 index 745c94783ba..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-build-starter.js +++ /dev/null @@ -1,13 +0,0 @@ -System.register([], (function (exports) { - 'use strict'; - return { - execute: (function () { - - const value = exports('v', 42); - const otherValue = exports('o', 43); - - console.log('startBuild', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-buildStart.js deleted file mode 100644 index c21eed54dae..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/generated-buildStart.js +++ /dev/null @@ -1,13 +0,0 @@ -System.register(['./generated-build-starter.js'], (function (exports) { - 'use strict'; - return { - setters: [function (module) { - exports('buildStartValue', module.v); - }], - execute: (function () { - - - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/main.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/main.js deleted file mode 100644 index 55b718e43e0..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/_expected/system/main.js +++ /dev/null @@ -1,15 +0,0 @@ -System.register(['./generated-build-starter.js'], (function () { - 'use strict'; - var value, otherValue; - return { - setters: [function (module) { - value = module.v; - otherValue = module.o; - }], - execute: (function () { - - console.log('main', value, otherValue); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/buildStart.js deleted file mode 100644 index 49baee4964e..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/buildStart.js +++ /dev/null @@ -1,5 +0,0 @@ -import {value} from './dep.js'; - -console.log('startBuild', value); - -export { value as buildStartValue }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/dep.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/dep.js deleted file mode 100644 index a2db6341120..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/dep.js +++ /dev/null @@ -1,2 +0,0 @@ -export const value = 42; -export const otherValue = 43; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-facade/main.js b/test/chunking-form/samples/deprecated/emit-chunk-facade/main.js deleted file mode 100644 index df41d56376c..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-facade/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import { value, otherValue } from './dep'; - -console.log('main', value, otherValue); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_config.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_config.js deleted file mode 100644 index ac8a7dbf46c..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_config.js +++ /dev/null @@ -1,32 +0,0 @@ -const assert = require('assert'); -let referenceIdBuildStart; -let referenceIdTransform; - -module.exports = { - description: 'allows naming emitted chunks', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: 'main', - plugins: { - buildStart() { - referenceIdBuildStart = this.emitChunk('buildStart', { name: 'nested/build-start' }); - }, - transform(code, id) { - if (id.endsWith('main.js')) { - referenceIdTransform = this.emitChunk('transform', { name: 'nested/transform' }); - } - }, - renderChunk() { - assert.strictEqual( - this.getChunkFileName(referenceIdBuildStart), - 'generated-nested/build-start.js' - ); - assert.strictEqual( - this.getChunkFileName(referenceIdTransform), - 'generated-nested/transform.js' - ); - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-dep.js deleted file mode 100644 index d041b1d05f7..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-dep.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['exports'], (function (exports) { 'use strict'; - - var value = 42; - - exports.value = value; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/build-start.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/build-start.js deleted file mode 100644 index b4158d6ac5d..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/build-start.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['../generated-dep'], (function (dep) { 'use strict'; - - console.log('buildStart', dep.value); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/transform.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/transform.js deleted file mode 100644 index f8b3205df21..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/generated-nested/transform.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['../generated-dep'], (function (dep) { 'use strict'; - - console.log('transform', dep.value); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/main.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/main.js deleted file mode 100644 index 9e566362545..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/amd/main.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./generated-dep'], (function (dep) { 'use strict'; - - console.log('main', dep.value); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-dep.js deleted file mode 100644 index 6cec42c9a07..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-dep.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var value = 42; - -exports.value = value; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/build-start.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/build-start.js deleted file mode 100644 index 734070e78c9..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/build-start.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('../generated-dep.js'); - -console.log('buildStart', dep.value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/transform.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/transform.js deleted file mode 100644 index 4b0f9999aa4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/generated-nested/transform.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('../generated-dep.js'); - -console.log('transform', dep.value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/main.js deleted file mode 100644 index 4c79b32a701..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/cjs/main.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('./generated-dep.js'); - -console.log('main', dep.value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-dep.js deleted file mode 100644 index b7cbe038a73..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-dep.js +++ /dev/null @@ -1,3 +0,0 @@ -var value = 42; - -export { value as v }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/build-start.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/build-start.js deleted file mode 100644 index 8b7f3766098..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/build-start.js +++ /dev/null @@ -1,3 +0,0 @@ -import { v as value } from '../generated-dep.js'; - -console.log('buildStart', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/transform.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/transform.js deleted file mode 100644 index 61ce66361c3..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/generated-nested/transform.js +++ /dev/null @@ -1,3 +0,0 @@ -import { v as value } from '../generated-dep.js'; - -console.log('transform', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/main.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/main.js deleted file mode 100644 index da4e855f39a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/es/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import { v as value } from './generated-dep.js'; - -console.log('main', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-dep.js deleted file mode 100644 index eb5993a958a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-dep.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function (exports) { - 'use strict'; - return { - execute: (function () { - - var value = exports('v', 42); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/build-start.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/build-start.js deleted file mode 100644 index 7db3b7616b1..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/build-start.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['../generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module.v; - }], - execute: (function () { - - console.log('buildStart', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/transform.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/transform.js deleted file mode 100644 index fd90ea1c2e9..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/generated-nested/transform.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['../generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module.v; - }], - execute: (function () { - - console.log('transform', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/main.js b/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/main.js deleted file mode 100644 index 39150aad0de..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/_expected/system/main.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['./generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module.v; - }], - execute: (function () { - - console.log('main', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk-named/buildStart.js deleted file mode 100644 index 373c51ace53..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/buildStart.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('buildStart', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/dep.js b/test/chunking-form/samples/deprecated/emit-chunk-named/dep.js deleted file mode 100644 index 7a4e8a723a4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/dep.js +++ /dev/null @@ -1 +0,0 @@ -export default 42; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/main.js b/test/chunking-form/samples/deprecated/emit-chunk-named/main.js deleted file mode 100644 index 4a9b3a3f405..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('main', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-named/transform.js b/test/chunking-form/samples/deprecated/emit-chunk-named/transform.js deleted file mode 100644 index 6eed294c62c..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-named/transform.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('transform', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_config.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_config.js deleted file mode 100644 index 5e1a2ba5b27..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_config.js +++ /dev/null @@ -1,56 +0,0 @@ -const path = require('path'); - -let workerId; -let proxyId; - -module.exports = { - description: 'allows adding additional chunks to be used in workers', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: 'main', - output: { - chunkFileNames: 'chunks/[name].js' - }, - plugins: { - load(id) { - if (id === 'merged' || id === 'nested') { - if (!workerId) { - workerId = this.emitChunk('worker'); - proxyId = this.emitChunk('worker-proxy'); - } - return ` -export const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker(import.meta.ROLLUP_CHUNK_URL_${proxyId}); - worker.onmessage = resolve; -});`; - } - if (id === 'worker-proxy') { - return `PLACEHOLDER(import.meta.ROLLUP_CHUNK_URL_${workerId})`; - } - }, - renderChunk(code, chunk, options) { - if (chunk.facadeModuleId === 'worker-proxy') { - const chunkFileName = `./${path.relative( - path.dirname(chunk.fileName), - this.getChunkFileName(workerId) - )}`; - if (options.format === 'system') { - return `importScripts('../../../../../../../node_modules/systemjs/dist/system.js'); -System.import('${chunkFileName}');`; - } - if (options.format === 'amd') { - return `importScripts('../../../../../../../node_modules/requirejs/require.js'); -requirejs(['${chunkFileName}']);`; - } - } - }, - resolveId(id) { - if (id === 'merged' || id === 'nested' || id === 'worker-proxy') { - return id; - } - return null; - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/nested.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/nested.js deleted file mode 100644 index 206aefd79b4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/nested.js +++ /dev/null @@ -1,10 +0,0 @@ -define(['require', 'exports'], (function (require, exports) { 'use strict'; - - const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker(new URL(require.toUrl('./worker-proxy.js'), document.baseURI).href); - worker.onmessage = resolve; - }); - - exports.getWorkerMessage = getWorkerMessage; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/shared.js deleted file mode 100644 index 3f801df74ed..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/shared.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['exports'], (function (exports) { 'use strict'; - - const shared = 'shared'; - - exports.shared = shared; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker-proxy.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker-proxy.js deleted file mode 100644 index 4f2962c005b..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker-proxy.js +++ /dev/null @@ -1,2 +0,0 @@ -importScripts('../../../../../../../node_modules/requirejs/require.js'); -requirejs(['./worker.js']); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker.js deleted file mode 100644 index 56158bba992..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/chunks/worker.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./shared'], (function (shared) { 'use strict'; - - postMessage(`from worker: ${shared.shared}`); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/main.js deleted file mode 100644 index 8a68fe8635f..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/amd/main.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['require', './chunks/shared'], (function (require, shared) { 'use strict'; - - const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker(new URL(require.toUrl('./chunks/worker-proxy.js'), document.baseURI).href); - worker.onmessage = resolve; - }); - - document.body.innerHTML += `

main: ${shared.shared}

`; - getWorkerMessage().then(message => (document.body.innerHTML += `

1: ${message.data}

`)); - - new Promise(function (resolve, reject) { require(['./chunks/nested'], resolve, reject); }) - .then(result => result.getWorkerMessage()) - .then(message => (document.body.innerHTML += `

2: ${message.data}

`)); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/nested.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/nested.js deleted file mode 100644 index b1544deca5e..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/nested.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/worker-proxy.js').href : new URL('worker-proxy.js', document.currentScript && document.currentScript.src || document.baseURI).href)); - worker.onmessage = resolve; -}); - -exports.getWorkerMessage = getWorkerMessage; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/shared.js deleted file mode 100644 index e2dc6ecb8ef..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/shared.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -const shared = 'shared'; - -exports.shared = shared; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker-proxy.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker-proxy.js deleted file mode 100644 index 0171ef8895e..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker-proxy.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -PLACEHOLDER((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/worker.js').href : new URL('worker.js', document.currentScript && document.currentScript.src || document.baseURI).href)); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker.js deleted file mode 100644 index c12a25e95f5..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/chunks/worker.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var shared = require('./shared.js'); - -postMessage(`from worker: ${shared.shared}`); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/main.js deleted file mode 100644 index 1d9811d9f8b..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/cjs/main.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var shared = require('./chunks/shared.js'); - -const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/chunks/worker-proxy.js').href : new URL('chunks/worker-proxy.js', document.currentScript && document.currentScript.src || document.baseURI).href)); - worker.onmessage = resolve; -}); - -document.body.innerHTML += `

main: ${shared.shared}

`; -getWorkerMessage().then(message => (document.body.innerHTML += `

1: ${message.data}

`)); - -Promise.resolve().then(function () { return require('./chunks/nested.js'); }) - .then(result => result.getWorkerMessage()) - .then(message => (document.body.innerHTML += `

2: ${message.data}

`)); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/nested.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/nested.js deleted file mode 100644 index 13c379e9742..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/nested.js +++ /dev/null @@ -1,6 +0,0 @@ -const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker(new URL('worker-proxy.js', import.meta.url).href); - worker.onmessage = resolve; -}); - -export { getWorkerMessage }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/shared.js deleted file mode 100644 index 464379ccc95..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/shared.js +++ /dev/null @@ -1,3 +0,0 @@ -const shared = 'shared'; - -export { shared as s }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker-proxy.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker-proxy.js deleted file mode 100644 index 88e9531a22e..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker-proxy.js +++ /dev/null @@ -1 +0,0 @@ -PLACEHOLDER(new URL('worker.js', import.meta.url).href); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker.js deleted file mode 100644 index 376c9cd1a99..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/chunks/worker.js +++ /dev/null @@ -1,3 +0,0 @@ -import { s as shared } from './shared.js'; - -postMessage(`from worker: ${shared}`); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/main.js deleted file mode 100644 index 19521653160..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/es/main.js +++ /dev/null @@ -1,13 +0,0 @@ -import { s as shared } from './chunks/shared.js'; - -const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker(new URL('chunks/worker-proxy.js', import.meta.url).href); - worker.onmessage = resolve; -}); - -document.body.innerHTML += `

main: ${shared}

`; -getWorkerMessage().then(message => (document.body.innerHTML += `

1: ${message.data}

`)); - -import('./chunks/nested.js') - .then(result => result.getWorkerMessage()) - .then(message => (document.body.innerHTML += `

2: ${message.data}

`)); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/nested.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/nested.js deleted file mode 100644 index ac5b45772ce..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/nested.js +++ /dev/null @@ -1,13 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - const getWorkerMessage = exports('getWorkerMessage', () => new Promise(resolve => { - const worker = new Worker(new URL('worker-proxy.js', module.meta.url).href); - worker.onmessage = resolve; - })); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/shared.js deleted file mode 100644 index 854bb712242..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/shared.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function (exports) { - 'use strict'; - return { - execute: (function () { - - const shared = exports('s', 'shared'); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker-proxy.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker-proxy.js deleted file mode 100644 index 44eb3bb9210..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker-proxy.js +++ /dev/null @@ -1,2 +0,0 @@ -importScripts('../../../../../../../node_modules/systemjs/dist/system.js'); -System.import('./worker.js'); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker.js deleted file mode 100644 index c73a318e3e4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/chunks/worker.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['./shared.js'], (function () { - 'use strict'; - var shared; - return { - setters: [function (module) { - shared = module.s; - }], - execute: (function () { - - postMessage(`from worker: ${shared}`); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/main.js deleted file mode 100644 index cd37abb081f..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/_expected/system/main.js +++ /dev/null @@ -1,24 +0,0 @@ -System.register(['./chunks/shared.js'], (function (exports, module) { - 'use strict'; - var shared; - return { - setters: [function (module) { - shared = module.s; - }], - execute: (function () { - - const getWorkerMessage = () => new Promise(resolve => { - const worker = new Worker(new URL('chunks/worker-proxy.js', module.meta.url).href); - worker.onmessage = resolve; - }); - - document.body.innerHTML += `

main: ${shared}

`; - getWorkerMessage().then(message => (document.body.innerHTML += `

1: ${message.data}

`)); - - module.import('./chunks/nested.js') - .then(result => result.getWorkerMessage()) - .then(message => (document.body.innerHTML += `

2: ${message.data}

`)); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/index-amd.html b/test/chunking-form/samples/deprecated/emit-chunk-worker/index-amd.html deleted file mode 100644 index 476b9ce3df1..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/index-amd.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - AMD - - - - - diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/index-system.html b/test/chunking-form/samples/deprecated/emit-chunk-worker/index-system.html deleted file mode 100644 index 96c687c1eb7..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/index-system.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - SystemJS - - - - - - diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/main.js deleted file mode 100644 index 4c03186f74e..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import { getWorkerMessage } from 'merged'; -import { shared } from './shared'; - -document.body.innerHTML += `

main: ${shared}

`; -getWorkerMessage().then(message => (document.body.innerHTML += `

1: ${message.data}

`)); - -import('nested') - .then(result => result.getWorkerMessage()) - .then(message => (document.body.innerHTML += `

2: ${message.data}

`)); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/shared.js deleted file mode 100644 index cd35843de7a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/shared.js +++ /dev/null @@ -1 +0,0 @@ -export const shared = 'shared'; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worker/worker.js b/test/chunking-form/samples/deprecated/emit-chunk-worker/worker.js deleted file mode 100644 index 824aa26d2e0..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worker/worker.js +++ /dev/null @@ -1,3 +0,0 @@ -import {shared} from './shared'; - -postMessage(`from worker: ${shared}`); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_config.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_config.js deleted file mode 100644 index 5c77d304c82..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_config.js +++ /dev/null @@ -1,30 +0,0 @@ -const REGISTER_WORKLET = 'register-paint-worklet:'; - -module.exports = { - description: 'allows adding additional chunks to be used in worklets', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: 'main', - output: { - chunkFileNames: 'chunks/[name].js' - }, - plugins: { - load(id) { - if (id.startsWith(REGISTER_WORKLET)) { - return `CSS.paintWorklet.addModule(import.meta.ROLLUP_CHUNK_URL_${this.emitChunk( - id.slice(REGISTER_WORKLET.length) - )});`; - } - }, - resolveId(id, importee) { - if (id.startsWith(REGISTER_WORKLET)) { - return this.resolve(id.slice(REGISTER_WORKLET.length), importee).then( - resolvedId => REGISTER_WORKLET + resolvedId.id - ); - } - return null; - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/shared.js deleted file mode 100644 index e5f35a000cb..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/shared.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['exports'], (function (exports) { 'use strict'; - - const color = 'greenyellow'; - const size = 6; - - exports.color = color; - exports.size = size; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/worklet.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/worklet.js deleted file mode 100644 index ea01ac8fb6b..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/chunks/worklet.js +++ /dev/null @@ -1,17 +0,0 @@ -define(['./shared'], (function (shared) { 'use strict'; - - registerPaint( - 'vertical-lines', - class { - paint(ctx, geom) { - for (let x = 0; x < geom.width / shared.size; x++) { - ctx.beginPath(); - ctx.fillStyle = shared.color; - ctx.rect(x * shared.size, 0, 2, geom.height); - ctx.fill(); - } - } - } - ); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/main.js deleted file mode 100644 index d10bf642861..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/amd/main.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['require', './chunks/shared'], (function (require, shared) { 'use strict'; - - CSS.paintWorklet.addModule(new URL(require.toUrl('./chunks/worklet.js'), document.baseURI).href); - - document.body.innerHTML += `

color: ${shared.color}, size: ${shared.size}

`; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/shared.js deleted file mode 100644 index baee02947f7..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/shared.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -const color = 'greenyellow'; -const size = 6; - -exports.color = color; -exports.size = size; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/worklet.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/worklet.js deleted file mode 100644 index 55c46f65372..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/chunks/worklet.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict'; - -var shared = require('./shared.js'); - -registerPaint( - 'vertical-lines', - class { - paint(ctx, geom) { - for (let x = 0; x < geom.width / shared.size; x++) { - ctx.beginPath(); - ctx.fillStyle = shared.color; - ctx.rect(x * shared.size, 0, 2, geom.height); - ctx.fill(); - } - } - } -); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/main.js deleted file mode 100644 index 6ba79bfb0e6..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/cjs/main.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -var shared = require('./chunks/shared.js'); - -CSS.paintWorklet.addModule((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/chunks/worklet.js').href : new URL('chunks/worklet.js', document.currentScript && document.currentScript.src || document.baseURI).href)); - -document.body.innerHTML += `

color: ${shared.color}, size: ${shared.size}

`; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/shared.js deleted file mode 100644 index cce16151201..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/shared.js +++ /dev/null @@ -1,4 +0,0 @@ -const color = 'greenyellow'; -const size = 6; - -export { color as c, size as s }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/worklet.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/worklet.js deleted file mode 100644 index 7ae737842e0..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/chunks/worklet.js +++ /dev/null @@ -1,15 +0,0 @@ -import { s as size, c as color } from './shared.js'; - -registerPaint( - 'vertical-lines', - class { - paint(ctx, geom) { - for (let x = 0; x < geom.width / size; x++) { - ctx.beginPath(); - ctx.fillStyle = color; - ctx.rect(x * size, 0, 2, geom.height); - ctx.fill(); - } - } - } -); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/main.js deleted file mode 100644 index fc0e00f5183..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/es/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import { c as color, s as size } from './chunks/shared.js'; - -CSS.paintWorklet.addModule(new URL('chunks/worklet.js', import.meta.url).href); - -document.body.innerHTML += `

color: ${color}, size: ${size}

`; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/shared.js deleted file mode 100644 index fa667a1eaec..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/shared.js +++ /dev/null @@ -1,11 +0,0 @@ -System.register([], (function (exports) { - 'use strict'; - return { - execute: (function () { - - const color = exports('c', 'greenyellow'); - const size = exports('s', 6); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/worklet.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/worklet.js deleted file mode 100644 index 88e721d4520..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/chunks/worklet.js +++ /dev/null @@ -1,27 +0,0 @@ -System.register(['./shared.js'], (function () { - 'use strict'; - var size, color; - return { - setters: [function (module) { - size = module.s; - color = module.c; - }], - execute: (function () { - - registerPaint( - 'vertical-lines', - class { - paint(ctx, geom) { - for (let x = 0; x < geom.width / size; x++) { - ctx.beginPath(); - ctx.fillStyle = color; - ctx.rect(x * size, 0, 2, geom.height); - ctx.fill(); - } - } - } - ); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/main.js deleted file mode 100644 index 69c57ed6000..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/_expected/system/main.js +++ /dev/null @@ -1,17 +0,0 @@ -System.register(['./chunks/shared.js'], (function (exports, module) { - 'use strict'; - var color, size; - return { - setters: [function (module) { - color = module.c; - size = module.s; - }], - execute: (function () { - - CSS.paintWorklet.addModule(new URL('chunks/worklet.js', module.meta.url).href); - - document.body.innerHTML += `

color: ${color}, size: ${size}

`; - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/index-es.html b/test/chunking-form/samples/deprecated/emit-chunk-worklet/index-es.html deleted file mode 100644 index d458b71c059..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/index-es.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - ES - - - - - diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/main.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/main.js deleted file mode 100644 index 60bad6751e8..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/main.js +++ /dev/null @@ -1,4 +0,0 @@ -import 'register-paint-worklet:./worklet.js'; -import { color, size } from './shared'; - -document.body.innerHTML += `

color: ${color}, size: ${size}

`; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/shared.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/shared.js deleted file mode 100644 index 5a94b80cdd8..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/shared.js +++ /dev/null @@ -1,2 +0,0 @@ -export const color = 'greenyellow'; -export const size = 6; diff --git a/test/chunking-form/samples/deprecated/emit-chunk-worklet/worklet.js b/test/chunking-form/samples/deprecated/emit-chunk-worklet/worklet.js deleted file mode 100644 index 2274b010e02..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk-worklet/worklet.js +++ /dev/null @@ -1,15 +0,0 @@ -import { color, size } from './shared'; - -registerPaint( - 'vertical-lines', - class { - paint(ctx, geom) { - for (let x = 0; x < geom.width / size; x++) { - ctx.beginPath(); - ctx.fillStyle = color; - ctx.rect(x * size, 0, 2, geom.height); - ctx.fill(); - } - } - } -); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_config.js b/test/chunking-form/samples/deprecated/emit-chunk/_config.js deleted file mode 100644 index f99cdb68e91..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_config.js +++ /dev/null @@ -1,19 +0,0 @@ -const assert = require('assert'); -let referenceId; - -module.exports = { - description: 'allows adding additional chunks and retrieving their file name', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - input: 'main', - plugins: { - buildStart() { - referenceId = this.emitChunk('buildStart'); - }, - renderChunk() { - assert.strictEqual(this.getChunkFileName(referenceId), 'generated-buildStart.js'); - } - } - } -}; diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-buildStart.js deleted file mode 100644 index 041249b1410..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-buildStart.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./generated-dep'], (function (dep) { 'use strict'; - - console.log('startBuild', dep.value); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-dep.js deleted file mode 100644 index d041b1d05f7..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/generated-dep.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['exports'], (function (exports) { 'use strict'; - - var value = 42; - - exports.value = value; - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/main.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/main.js deleted file mode 100644 index 9e566362545..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/amd/main.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./generated-dep'], (function (dep) { 'use strict'; - - console.log('main', dep.value); - -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-buildStart.js deleted file mode 100644 index cfa8c788f1d..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-buildStart.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('./generated-dep.js'); - -console.log('startBuild', dep.value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-dep.js deleted file mode 100644 index 6cec42c9a07..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/generated-dep.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var value = 42; - -exports.value = value; diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/main.js deleted file mode 100644 index 4c79b32a701..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/cjs/main.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var dep = require('./generated-dep.js'); - -console.log('main', dep.value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-buildStart.js deleted file mode 100644 index fbe237d2ce7..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-buildStart.js +++ /dev/null @@ -1,3 +0,0 @@ -import { v as value } from './generated-dep.js'; - -console.log('startBuild', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-dep.js deleted file mode 100644 index b7cbe038a73..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/generated-dep.js +++ /dev/null @@ -1,3 +0,0 @@ -var value = 42; - -export { value as v }; diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/main.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/main.js deleted file mode 100644 index da4e855f39a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/es/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import { v as value } from './generated-dep.js'; - -console.log('main', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-buildStart.js deleted file mode 100644 index 12a2c642f50..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-buildStart.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['./generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module.v; - }], - execute: (function () { - - console.log('startBuild', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-dep.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-dep.js deleted file mode 100644 index eb5993a958a..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/generated-dep.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function (exports) { - 'use strict'; - return { - execute: (function () { - - var value = exports('v', 42); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/main.js b/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/main.js deleted file mode 100644 index 39150aad0de..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/_expected/system/main.js +++ /dev/null @@ -1,14 +0,0 @@ -System.register(['./generated-dep.js'], (function () { - 'use strict'; - var value; - return { - setters: [function (module) { - value = module.v; - }], - execute: (function () { - - console.log('main', value); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/buildStart.js b/test/chunking-form/samples/deprecated/emit-chunk/buildStart.js deleted file mode 100644 index f9b1b414da5..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/buildStart.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('startBuild', value); diff --git a/test/chunking-form/samples/deprecated/emit-chunk/dep.js b/test/chunking-form/samples/deprecated/emit-chunk/dep.js deleted file mode 100644 index 7a4e8a723a4..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/dep.js +++ /dev/null @@ -1 +0,0 @@ -export default 42; diff --git a/test/chunking-form/samples/deprecated/emit-chunk/main.js b/test/chunking-form/samples/deprecated/emit-chunk/main.js deleted file mode 100644 index 4a9b3a3f405..00000000000 --- a/test/chunking-form/samples/deprecated/emit-chunk/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import value from './dep.js'; - -console.log('main', value); diff --git a/test/chunking-form/samples/deprecated/emit-file-chunk-facade/_config.js b/test/chunking-form/samples/deprecated/emit-file-chunk-facade/_config.js index eb5d67acdb8..8c708fc512e 100644 --- a/test/chunking-form/samples/deprecated/emit-file-chunk-facade/_config.js +++ b/test/chunking-form/samples/deprecated/emit-file-chunk-facade/_config.js @@ -17,5 +17,6 @@ module.exports = { assert.strictEqual(this.getFileName(referenceId), 'generated-buildStart.js'); } } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/empty-module-no-treeshake/_config.js b/test/chunking-form/samples/deprecated/empty-module-no-treeshake/_config.js index 182023bccc3..2723c89060b 100644 --- a/test/chunking-form/samples/deprecated/empty-module-no-treeshake/_config.js +++ b/test/chunking-form/samples/deprecated/empty-module-no-treeshake/_config.js @@ -64,5 +64,6 @@ module.exports = { ); } } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/indirect-reexports-preserve-modules/_config.js b/test/chunking-form/samples/deprecated/indirect-reexports-preserve-modules/_config.js index be01fb9f36e..41677d57da1 100644 --- a/test/chunking-form/samples/deprecated/indirect-reexports-preserve-modules/_config.js +++ b/test/chunking-form/samples/deprecated/indirect-reexports-preserve-modules/_config.js @@ -1,6 +1,6 @@ module.exports = { description: 'does not drop indirect reexports when preserving modules', - expectedWarnings: ['MIXED_EXPORTS'], + expectedWarnings: ['MIXED_EXPORTS', 'DEPRECATED_FEATURE'], options: { strictDeprecations: false, output: { name: 'bundle' }, diff --git a/test/chunking-form/samples/deprecated/interop-per-reexported-default-dependency-boolean/_config.js b/test/chunking-form/samples/deprecated/interop-per-reexported-default-dependency-boolean/_config.js index 4c6d5748f22..a6459df9326 100644 --- a/test/chunking-form/samples/deprecated/interop-per-reexported-default-dependency-boolean/_config.js +++ b/test/chunking-form/samples/deprecated/interop-per-reexported-default-dependency-boolean/_config.js @@ -10,5 +10,6 @@ module.exports = { return JSON.parse(id.split('-')[1]); } } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunk-avoid-facade/_config.js b/test/chunking-form/samples/deprecated/manual-chunk-avoid-facade/_config.js index cdbcbdedf88..f0d81228885 100644 --- a/test/chunking-form/samples/deprecated/manual-chunk-avoid-facade/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunk-avoid-facade/_config.js @@ -6,5 +6,6 @@ module.exports = { manualChunks: { manual: ['main2'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-conflict/_config.js b/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-conflict/_config.js index eddc0b545b7..2a955ff0af5 100644 --- a/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-conflict/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-conflict/_config.js @@ -9,5 +9,6 @@ module.exports = { manualChunks: { outer: ['outer'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-match/_config.js b/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-match/_config.js index 0265957b69b..5b1b3bd7d42 100644 --- a/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-match/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunk-contains-entry-match/_config.js @@ -9,5 +9,6 @@ module.exports = { manualChunks: { main: ['outer'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunk-is-entry-conflict/_config.js b/test/chunking-form/samples/deprecated/manual-chunk-is-entry-conflict/_config.js index e30afc125c2..d43369b5207 100644 --- a/test/chunking-form/samples/deprecated/manual-chunk-is-entry-conflict/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunk-is-entry-conflict/_config.js @@ -9,5 +9,6 @@ module.exports = { manualChunks: { other: ['main'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunk-is-entry-match/_config.js b/test/chunking-form/samples/deprecated/manual-chunk-is-entry-match/_config.js index 3207916f4f1..7a8a9aa09d6 100644 --- a/test/chunking-form/samples/deprecated/manual-chunk-is-entry-match/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunk-is-entry-match/_config.js @@ -9,5 +9,6 @@ module.exports = { manualChunks: { main: ['main'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks-different-nested/_config.js b/test/chunking-form/samples/deprecated/manual-chunks-different-nested/_config.js index 9f46a40f134..97bdd7c68aa 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks-different-nested/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks-different-nested/_config.js @@ -8,5 +8,6 @@ module.exports = { 'manual-inner': ['inner.js'], 'manual-middle': ['middle.js'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks-dynamic-facades/_config.js b/test/chunking-form/samples/deprecated/manual-chunks-dynamic-facades/_config.js index 9666b5675d5..957df0be4f3 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks-dynamic-facades/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks-dynamic-facades/_config.js @@ -6,5 +6,6 @@ module.exports = { manualChunks: { dynamic: ['dynamic1.js'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks-dynamic-name-conflict/_config.js b/test/chunking-form/samples/deprecated/manual-chunks-dynamic-name-conflict/_config.js index 28725aa0585..c7344810ced 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks-dynamic-name-conflict/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks-dynamic-name-conflict/_config.js @@ -6,5 +6,6 @@ module.exports = { manualChunks: { dynamic: ['dynamic1.js'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks-dynamic/_config.js b/test/chunking-form/samples/deprecated/manual-chunks-dynamic/_config.js index cfb06c43a96..cdf062d322f 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks-dynamic/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks-dynamic/_config.js @@ -6,5 +6,6 @@ module.exports = { manualChunks: { dynamic: ['dynamic.js'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks-function/_config.js b/test/chunking-form/samples/deprecated/manual-chunks-function/_config.js index 5b225fe7552..ab8ca176201 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks-function/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks-function/_config.js @@ -8,5 +8,6 @@ module.exports = { return `chunk-${id[id.length - 4]}`; } } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks-nested/_config.js b/test/chunking-form/samples/deprecated/manual-chunks-nested/_config.js index 20ea0b64d16..29e3d7d3db0 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks-nested/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks-nested/_config.js @@ -6,5 +6,6 @@ module.exports = { manualChunks: { manual: ['middle.js', 'inner.js', 'outer.js'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/manual-chunks/_config.js b/test/chunking-form/samples/deprecated/manual-chunks/_config.js index 626186e9b89..bfe73d1c721 100644 --- a/test/chunking-form/samples/deprecated/manual-chunks/_config.js +++ b/test/chunking-form/samples/deprecated/manual-chunks/_config.js @@ -7,5 +7,6 @@ module.exports = { lib1: ['lib1.js'], deps2and3: ['dep2.js', 'dep3.js'] } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/missing-export-reused-deconflicting/_config.js b/test/chunking-form/samples/deprecated/missing-export-reused-deconflicting/_config.js index 23bb4b220e9..ccf4f87d8d0 100644 --- a/test/chunking-form/samples/deprecated/missing-export-reused-deconflicting/_config.js +++ b/test/chunking-form/samples/deprecated/missing-export-reused-deconflicting/_config.js @@ -1,6 +1,6 @@ module.exports = { description: 'handles using dependencies with shimmed missing exports as ', - expectedWarnings: ['SHIMMED_EXPORT'], + expectedWarnings: ['SHIMMED_EXPORT', 'DEPRECATED_FEATURE'], options: { strictDeprecations: false, input: ['main.js'], diff --git a/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js b/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js index 722554bf7df..793d274dd1e 100644 --- a/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js +++ b/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js @@ -7,5 +7,6 @@ module.exports = { output: { namespaceToStringTag: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import/_config.js b/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import/_config.js index d0d5ce8e03a..6c668f2287e 100644 --- a/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import/_config.js +++ b/test/chunking-form/samples/deprecated/namespace-tostring/dynamic-import/_config.js @@ -5,5 +5,6 @@ module.exports = { output: { namespaceToStringTag: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-auto-export-mode/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-auto-export-mode/_config.js index 31219523c90..82c01d0483c 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-auto-export-mode/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-auto-export-mode/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_config.js index 21593c6541f..d0a5ee29834 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_config.js @@ -2,7 +2,7 @@ const commonjs = require('@rollup/plugin-commonjs'); module.exports = { description: 'Handles output from @rollup/plugin-commonjs', - expectedWarnings: ['MIXED_EXPORTS'], + expectedWarnings: ['MIXED_EXPORTS', 'DEPRECATED_FEATURE'], options: { strictDeprecations: false, input: 'main.js', diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main.js index 10dda04f37c..4f560cc22d2 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main.js @@ -1,5 +1,9 @@ -define(['./main2'], (function (main) { 'use strict'; +define(['./commonjs', 'external'], (function (commonjs, require$$0) { 'use strict'; + function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); + + console.log(commonjs, require$$0__default["default"]); })); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main2.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main2.js deleted file mode 100644 index 4f560cc22d2..00000000000 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/amd/main2.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./commonjs', 'external'], (function (commonjs, require$$0) { 'use strict'; - - function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - - var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); - - console.log(commonjs, require$$0__default["default"]); - -})); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main.js index 700d8990ae5..504e0f8b8a8 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main.js @@ -1,4 +1,10 @@ 'use strict'; -require('./main2.js'); +var commonjs = require('./commonjs.js'); +var require$$0 = require('external'); +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); + +console.log(commonjs, require$$0__default["default"]); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main2.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main2.js deleted file mode 100644 index 504e0f8b8a8..00000000000 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/cjs/main2.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var commonjs = require('./commonjs.js'); -var require$$0 = require('external'); - -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - -var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); - -console.log(commonjs, require$$0__default["default"]); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main.js index 5c07fb3a323..de8bda2bf4c 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main.js @@ -1 +1,4 @@ -import './main2.js'; +import commonjs from './commonjs.js'; +import require$$0 from 'external'; + +console.log(commonjs, require$$0); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main2.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main2.js deleted file mode 100644 index de8bda2bf4c..00000000000 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/es/main2.js +++ /dev/null @@ -1,4 +0,0 @@ -import commonjs from './commonjs.js'; -import require$$0 from 'external'; - -console.log(commonjs, require$$0); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main.js index d7c79710bf8..e0920e59542 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main.js @@ -1,10 +1,15 @@ -System.register(['./main2.js'], (function () { +System.register(['./commonjs.js', 'external'], (function () { 'use strict'; + var commonjs, require$$0; return { - setters: [function () {}], + setters: [function (module) { + commonjs = module["default"]; + }, function (module) { + require$$0 = module["default"]; + }], execute: (function () { - + console.log(commonjs, require$$0); }) }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main2.js b/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main2.js deleted file mode 100644 index e0920e59542..00000000000 --- a/test/chunking-form/samples/deprecated/preserve-modules-commonjs/_expected/system/main2.js +++ /dev/null @@ -1,16 +0,0 @@ -System.register(['./commonjs.js', 'external'], (function () { - 'use strict'; - var commonjs, require$$0; - return { - setters: [function (module) { - commonjs = module["default"]; - }, function (module) { - require$$0 = module["default"]; - }], - execute: (function () { - - console.log(commonjs, require$$0); - - }) - }; -})); diff --git a/test/chunking-form/samples/deprecated/preserve-modules-dynamic-imports/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-dynamic-imports/_config.js index 3ed23338db8..9d22f1265be 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-dynamic-imports/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-dynamic-imports/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: ['main.js'], preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-dynamic-namespace/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-dynamic-namespace/_config.js index c5483693708..7ee5f88593a 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-dynamic-namespace/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-dynamic-namespace/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: ['main.js'], preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-empty/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-empty/_config.js index 820e4c3cf04..af98a0768a3 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-empty/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-empty/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-export-alias/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-export-alias/_config.js index 9ca75e06f00..de49b787e78 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-export-alias/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-export-alias/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: ['main1.js', 'main2.js'], preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-filename-pattern/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-filename-pattern/_config.js index fd9c3b9b431..d4f28578cf8 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-filename-pattern/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-filename-pattern/_config.js @@ -7,5 +7,6 @@ module.exports = { entryFileNames: 'entry-[name]-[format]-[ext][extname].js' }, preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-id-case-sensitive/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-id-case-sensitive/_config.js index 6ffd681d55c..4e94da5c1ff 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-id-case-sensitive/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-id-case-sensitive/_config.js @@ -18,5 +18,6 @@ module.exports = { } } ] - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-named-export-mode/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-named-export-mode/_config.js index b79256cfb0b..9a4318fbc5d 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-named-export-mode/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-named-export-mode/_config.js @@ -7,5 +7,6 @@ module.exports = { output: { exports: 'named' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-nested-barrel-es-export/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-nested-barrel-es-export/_config.js index 22ec30f4ec3..130b08f42dd 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-nested-barrel-es-export/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-nested-barrel-es-export/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-nested-export/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-nested-export/_config.js index 291753db080..3f39126a643 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-nested-export/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-nested-export/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-non-entry-imports/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-non-entry-imports/_config.js index 157659436ee..9a74ad23ea9 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-non-entry-imports/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-non-entry-imports/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-proxy-import/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-proxy-import/_config.js index 19e53c11fe1..277a0d24c49 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-proxy-import/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-proxy-import/_config.js @@ -5,5 +5,6 @@ module.exports = { strictDeprecations: false, preserveModules: true, external: 'external' - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-reaching-outside/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-reaching-outside/_config.js index e71eaf513aa..0d5c9eb2e76 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-reaching-outside/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-reaching-outside/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'src/lib/main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-scriptified-assets/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-scriptified-assets/_config.js index c79966da224..16d00e5298c 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-scriptified-assets/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-scriptified-assets/_config.js @@ -23,5 +23,6 @@ module.exports = { } } ] - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-single-entry/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-single-entry/_config.js index 2c68b2aa9fc..4f9cbcbea6d 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-single-entry/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-single-entry/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: 'main.js', preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules-virtual-modules/_config.js b/test/chunking-form/samples/deprecated/preserve-modules-virtual-modules/_config.js index f9785b99872..163da380583 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules-virtual-modules/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules-virtual-modules/_config.js @@ -19,5 +19,6 @@ module.exports = { } } ] - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/deprecated/preserve-modules/_config.js b/test/chunking-form/samples/deprecated/preserve-modules/_config.js index fb89b5a641c..77705540676 100644 --- a/test/chunking-form/samples/deprecated/preserve-modules/_config.js +++ b/test/chunking-form/samples/deprecated/preserve-modules/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, input: ['main1.js', 'main2.js'], preserveModules: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main.js index 10dda04f37c..4f560cc22d2 100644 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main.js +++ b/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main.js @@ -1,5 +1,9 @@ -define(['./main2'], (function (main) { 'use strict'; +define(['./commonjs', 'external'], (function (commonjs, require$$0) { 'use strict'; + function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); + + console.log(commonjs, require$$0__default["default"]); })); diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main2.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main2.js deleted file mode 100644 index 4f560cc22d2..00000000000 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/amd/main2.js +++ /dev/null @@ -1,9 +0,0 @@ -define(['./commonjs', 'external'], (function (commonjs, require$$0) { 'use strict'; - - function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - - var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); - - console.log(commonjs, require$$0__default["default"]); - -})); diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main.js index 700d8990ae5..504e0f8b8a8 100644 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main.js +++ b/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main.js @@ -1,4 +1,10 @@ 'use strict'; -require('./main2.js'); +var commonjs = require('./commonjs.js'); +var require$$0 = require('external'); +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); + +console.log(commonjs, require$$0__default["default"]); diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main2.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main2.js deleted file mode 100644 index 504e0f8b8a8..00000000000 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/cjs/main2.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var commonjs = require('./commonjs.js'); -var require$$0 = require('external'); - -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - -var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0); - -console.log(commonjs, require$$0__default["default"]); diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main.js index 5c07fb3a323..de8bda2bf4c 100644 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main.js +++ b/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main.js @@ -1 +1,4 @@ -import './main2.js'; +import commonjs from './commonjs.js'; +import require$$0 from 'external'; + +console.log(commonjs, require$$0); diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main2.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main2.js deleted file mode 100644 index de8bda2bf4c..00000000000 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/es/main2.js +++ /dev/null @@ -1,4 +0,0 @@ -import commonjs from './commonjs.js'; -import require$$0 from 'external'; - -console.log(commonjs, require$$0); diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main.js index d7c79710bf8..e0920e59542 100644 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main.js +++ b/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main.js @@ -1,10 +1,15 @@ -System.register(['./main2.js'], (function () { +System.register(['./commonjs.js', 'external'], (function () { 'use strict'; + var commonjs, require$$0; return { - setters: [function () {}], + setters: [function (module) { + commonjs = module["default"]; + }, function (module) { + require$$0 = module["default"]; + }], execute: (function () { - + console.log(commonjs, require$$0); }) }; diff --git a/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main2.js b/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main2.js deleted file mode 100644 index e0920e59542..00000000000 --- a/test/chunking-form/samples/preserve-modules-commonjs/_expected/system/main2.js +++ /dev/null @@ -1,16 +0,0 @@ -System.register(['./commonjs.js', 'external'], (function () { - 'use strict'; - var commonjs, require$$0; - return { - setters: [function (module) { - commonjs = module["default"]; - }, function (module) { - require$$0 = module["default"]; - }], - execute: (function () { - - console.log(commonjs, require$$0); - - }) - }; -})); diff --git a/test/cli/samples/plugin/advanced-esm/_expected/cjs.js b/test/cli/samples/plugin/advanced-esm/_expected/cjs.js index 3de9ae022db..a1e3d7e0f30 100644 --- a/test/cli/samples/plugin/advanced-esm/_expected/cjs.js +++ b/test/cli/samples/plugin/advanced-esm/_expected/cjs.js @@ -17,5 +17,4 @@ var print = function(value) { }, Foo; }(); -console.log("esm-test: main.js"), new Foo(123).output(), console.log("esm-test: main.js?commonjs-entry"), -exports.Bar = Foo; +console.log("esm-test: main.js"), new Foo(123).output(), exports.Bar = Foo; diff --git a/test/cli/samples/plugin/advanced-esm/_expected/es.js b/test/cli/samples/plugin/advanced-esm/_expected/es.js index d1d29c6db05..48421d8833a 100644 --- a/test/cli/samples/plugin/advanced-esm/_expected/es.js +++ b/test/cli/samples/plugin/advanced-esm/_expected/es.js @@ -13,6 +13,6 @@ var print = function(value) { }, Foo; }(); -console.log("esm-test: main.js"), new Foo(123).output(), console.log("esm-test: main.js?commonjs-entry"); +console.log("esm-test: main.js"), new Foo(123).output(); export { Foo as Bar }; diff --git a/test/form/samples/deprecated/configure-asset-url/_config.js b/test/form/samples/deprecated/configure-asset-url/_config.js deleted file mode 100644 index 56f8d0d0398..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_config.js +++ /dev/null @@ -1,40 +0,0 @@ -module.exports = { - description: 'allows to configure asset urls', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - plugins: [ - { - resolveId(id) { - if (id.endsWith('solved')) { - return id; - } - }, - load(id) { - if (id.endsWith('solved')) { - const assetId = this.emitAsset(`asset-${id}.txt`, `Asset for: ${id}`); - return `export default import.meta.ROLLUP_ASSET_URL_${assetId};`; - } - }, - resolveAssetUrl({ chunkId, moduleId, assetFileName, relativeAssetPath }) { - if (!moduleId.endsWith('resolved')) { - return `'${chunkId}:${moduleId - .replace(/\\/g, '/') - .split('/') - .slice(-2) - .join('/')}:${assetFileName}:${relativeAssetPath}'`; - } - return null; - } - }, - { - resolveAssetUrl({ moduleId }) { - if (moduleId === 'resolved') { - return `'resolved'`; - } - return null; - } - } - ] - } -}; diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/amd.js b/test/form/samples/deprecated/configure-asset-url/_expected/amd.js deleted file mode 100644 index 8c55f93c121..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/amd.js +++ /dev/null @@ -1,11 +0,0 @@ -define(['require'], (function (require) { 'use strict'; - - var asset1 = 'amd.js:solved:assets/asset-solved-28a7ac89.txt:assets/asset-solved-28a7ac89.txt'; - - var asset2 = 'resolved'; - - var asset3 = new URL(require.toUrl('./assets/asset-unresolved-8dcd7fca.txt'), document.baseURI).href; - - console.log(asset1, asset2, asset3); - -})); diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-resolved-8bd22e6e.txt b/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-resolved-8bd22e6e.txt deleted file mode 100644 index 31fb300f988..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-resolved-8bd22e6e.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: resolved \ No newline at end of file diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-solved-28a7ac89.txt b/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-solved-28a7ac89.txt deleted file mode 100644 index 07c7a096c7e..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-solved-28a7ac89.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: solved \ No newline at end of file diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-unresolved-8dcd7fca.txt b/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-unresolved-8dcd7fca.txt deleted file mode 100644 index fd3ad6261cc..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/assets/asset-unresolved-8dcd7fca.txt +++ /dev/null @@ -1 +0,0 @@ -Asset for: unresolved \ No newline at end of file diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/cjs.js b/test/form/samples/deprecated/configure-asset-url/_expected/cjs.js deleted file mode 100644 index bdd515403db..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/cjs.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict'; - -var asset1 = 'cjs.js:solved:assets/asset-solved-28a7ac89.txt:assets/asset-solved-28a7ac89.txt'; - -var asset2 = 'resolved'; - -var asset3 = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/asset-unresolved-8dcd7fca.txt').href : new URL('assets/asset-unresolved-8dcd7fca.txt', document.currentScript && document.currentScript.src || document.baseURI).href); - -console.log(asset1, asset2, asset3); diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/es.js b/test/form/samples/deprecated/configure-asset-url/_expected/es.js deleted file mode 100644 index 35ee8b1dee0..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/es.js +++ /dev/null @@ -1,7 +0,0 @@ -var asset1 = 'es.js:solved:assets/asset-solved-28a7ac89.txt:assets/asset-solved-28a7ac89.txt'; - -var asset2 = 'resolved'; - -var asset3 = new URL('assets/asset-unresolved-8dcd7fca.txt', import.meta.url).href; - -console.log(asset1, asset2, asset3); diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/iife.js b/test/form/samples/deprecated/configure-asset-url/_expected/iife.js deleted file mode 100644 index 0913d592075..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/iife.js +++ /dev/null @@ -1,12 +0,0 @@ -(function () { - 'use strict'; - - var asset1 = 'iife.js:solved:assets/asset-solved-28a7ac89.txt:assets/asset-solved-28a7ac89.txt'; - - var asset2 = 'resolved'; - - var asset3 = new URL('assets/asset-unresolved-8dcd7fca.txt', document.currentScript && document.currentScript.src || document.baseURI).href; - - console.log(asset1, asset2, asset3); - -})(); diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/system.js b/test/form/samples/deprecated/configure-asset-url/_expected/system.js deleted file mode 100644 index 1bb20735a17..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/system.js +++ /dev/null @@ -1,16 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - var asset1 = 'system.js:solved:assets/asset-solved-28a7ac89.txt:assets/asset-solved-28a7ac89.txt'; - - var asset2 = 'resolved'; - - var asset3 = new URL('assets/asset-unresolved-8dcd7fca.txt', module.meta.url).href; - - console.log(asset1, asset2, asset3); - - }) - }; -})); diff --git a/test/form/samples/deprecated/configure-asset-url/_expected/umd.js b/test/form/samples/deprecated/configure-asset-url/_expected/umd.js deleted file mode 100644 index 8ef0ba5ba6d..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/_expected/umd.js +++ /dev/null @@ -1,14 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -})((function () { 'use strict'; - - var asset1 = 'umd.js:solved:assets/asset-solved-28a7ac89.txt:assets/asset-solved-28a7ac89.txt'; - - var asset2 = 'resolved'; - - var asset3 = (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/asset-unresolved-8dcd7fca.txt').href : new URL('assets/asset-unresolved-8dcd7fca.txt', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); - - console.log(asset1, asset2, asset3); - -})); diff --git a/test/form/samples/deprecated/configure-asset-url/main.js b/test/form/samples/deprecated/configure-asset-url/main.js deleted file mode 100644 index 74a56461e3a..00000000000 --- a/test/form/samples/deprecated/configure-asset-url/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import asset1 from 'solved'; -import asset2 from 'resolved'; -import asset3 from 'unresolved'; - -console.log(asset1, asset2, asset3); diff --git a/test/form/samples/deprecated/dynamic-import-inlining-array/_config.js b/test/form/samples/deprecated/dynamic-import-inlining-array/_config.js index 5f4382d6a8b..8b750ef3779 100644 --- a/test/form/samples/deprecated/dynamic-import-inlining-array/_config.js +++ b/test/form/samples/deprecated/dynamic-import-inlining-array/_config.js @@ -4,5 +4,6 @@ module.exports = { strictDeprecations: false, inlineDynamicImports: true, input: ['main'] - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/dynamic-import-inlining/_config.js b/test/form/samples/deprecated/dynamic-import-inlining/_config.js index 42be3fab8a0..5534cc63a4d 100644 --- a/test/form/samples/deprecated/dynamic-import-inlining/_config.js +++ b/test/form/samples/deprecated/dynamic-import-inlining/_config.js @@ -3,5 +3,6 @@ module.exports = { options: { strictDeprecations: false, inlineDynamicImports: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/emit-asset-hacky/_config.js b/test/form/samples/deprecated/emit-asset-hacky/_config.js deleted file mode 100644 index 15b90c920a6..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - description: 'supports emitting assets in a hacky way by editing the bundle object', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - plugins: { - generateBundle(options, outputBundle) { - const file = { - fileName: 'my-hacky-asset.txt', - isAsset: true, - source: 'My Hacky Source' - }; - outputBundle[file.fileName] = file; - } - } - } -}; diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/amd.js b/test/form/samples/deprecated/emit-asset-hacky/_expected/amd.js deleted file mode 100644 index 49540b44d78..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/amd.js +++ /dev/null @@ -1,5 +0,0 @@ -define((function () { 'use strict'; - - console.log('main'); - -})); diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/cjs.js b/test/form/samples/deprecated/emit-asset-hacky/_expected/cjs.js deleted file mode 100644 index d0ed06d8c90..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/cjs.js +++ /dev/null @@ -1,3 +0,0 @@ -'use strict'; - -console.log('main'); diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/es.js b/test/form/samples/deprecated/emit-asset-hacky/_expected/es.js deleted file mode 100644 index c0b933d7b56..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/es.js +++ /dev/null @@ -1 +0,0 @@ -console.log('main'); diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/iife.js b/test/form/samples/deprecated/emit-asset-hacky/_expected/iife.js deleted file mode 100644 index 455edee6aa6..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/iife.js +++ /dev/null @@ -1,6 +0,0 @@ -(function () { - 'use strict'; - - console.log('main'); - -})(); diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/my-hacky-asset.txt b/test/form/samples/deprecated/emit-asset-hacky/_expected/my-hacky-asset.txt deleted file mode 100644 index 61db1bb6537..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/my-hacky-asset.txt +++ /dev/null @@ -1 +0,0 @@ -My Hacky Source \ No newline at end of file diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/system.js b/test/form/samples/deprecated/emit-asset-hacky/_expected/system.js deleted file mode 100644 index 35e2693371a..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/system.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function () { - 'use strict'; - return { - execute: (function () { - - console.log('main'); - - }) - }; -})); diff --git a/test/form/samples/deprecated/emit-asset-hacky/_expected/umd.js b/test/form/samples/deprecated/emit-asset-hacky/_expected/umd.js deleted file mode 100644 index c8ba7daa897..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/_expected/umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -})((function () { 'use strict'; - - console.log('main'); - -})); diff --git a/test/form/samples/deprecated/emit-asset-hacky/main.js b/test/form/samples/deprecated/emit-asset-hacky/main.js deleted file mode 100644 index c0b933d7b56..00000000000 --- a/test/form/samples/deprecated/emit-asset-hacky/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('main'); diff --git a/test/form/samples/deprecated/emit-asset/_config.js b/test/form/samples/deprecated/emit-asset/_config.js deleted file mode 100644 index f7930b32270..00000000000 --- a/test/form/samples/deprecated/emit-asset/_config.js +++ /dev/null @@ -1,40 +0,0 @@ -const assert = require('assert'); -const { readFileSync } = require('fs'); -const path = require('path'); - -module.exports = { - description: 'supports emitting assets from plugin hooks', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - plugins: { - resolveId(id, importee) { - if (id.endsWith('.svg')) { - return path.resolve(path.dirname(importee), id); - } - }, - load(id) { - if (id.endsWith('.svg')) { - return `export default import.meta.ROLLUP_ASSET_URL_${this.emitAsset( - path.basename(id), - readFileSync(id) - )};`; - } - }, - generateBundle(options, outputBundle) { - const keys = Object.keys(outputBundle); - assert.strictEqual(keys.length, 2); - assert.strictEqual(keys[0], 'assets/logo-25585ac1.svg'); - const asset = outputBundle[keys[0]]; - assert.strictEqual(asset.fileName, 'assets/logo-25585ac1.svg'); - assert.strictEqual(asset.isAsset, true); - assert.strictEqual(asset.type, 'asset'); - assert.ok( - asset.source.equals(readFileSync(path.resolve(__dirname, 'logo.svg'))), - 'asset has correct source' - ); - assert.ok(keys[1].endsWith('.js'), `${keys[1]} ends with ".js"`); - } - } - } -}; diff --git a/test/form/samples/deprecated/emit-asset/_expected/amd.js b/test/form/samples/deprecated/emit-asset/_expected/amd.js deleted file mode 100644 index 0120fbb5f1c..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/amd.js +++ /dev/null @@ -1,16 +0,0 @@ -define(['require'], (function (require) { 'use strict'; - - var logo = new URL(require.toUrl('./assets/logo-25585ac1.svg'), document.baseURI).href; - - function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } - } - - showImage(logo); - -})); diff --git a/test/form/samples/deprecated/emit-asset/_expected/assets/logo-25585ac1.svg b/test/form/samples/deprecated/emit-asset/_expected/assets/logo-25585ac1.svg deleted file mode 100644 index 20bb5dfe639..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/assets/logo-25585ac1.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/test/form/samples/deprecated/emit-asset/_expected/cjs.js b/test/form/samples/deprecated/emit-asset/_expected/cjs.js deleted file mode 100644 index f9a9dac3e1e..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/cjs.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -var logo = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/logo-25585ac1.svg').href : new URL('assets/logo-25585ac1.svg', document.currentScript && document.currentScript.src || document.baseURI).href); - -function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } -} - -showImage(logo); diff --git a/test/form/samples/deprecated/emit-asset/_expected/es.js b/test/form/samples/deprecated/emit-asset/_expected/es.js deleted file mode 100644 index d100d42e367..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/es.js +++ /dev/null @@ -1,12 +0,0 @@ -var logo = new URL('assets/logo-25585ac1.svg', import.meta.url).href; - -function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } -} - -showImage(logo); diff --git a/test/form/samples/deprecated/emit-asset/_expected/iife.js b/test/form/samples/deprecated/emit-asset/_expected/iife.js deleted file mode 100644 index 881dc9e042f..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/iife.js +++ /dev/null @@ -1,17 +0,0 @@ -(function () { - 'use strict'; - - var logo = new URL('assets/logo-25585ac1.svg', document.currentScript && document.currentScript.src || document.baseURI).href; - - function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } - } - - showImage(logo); - -})(); diff --git a/test/form/samples/deprecated/emit-asset/_expected/system.js b/test/form/samples/deprecated/emit-asset/_expected/system.js deleted file mode 100644 index cbef4b76bfd..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/system.js +++ /dev/null @@ -1,21 +0,0 @@ -System.register([], (function (exports, module) { - 'use strict'; - return { - execute: (function () { - - var logo = new URL('assets/logo-25585ac1.svg', module.meta.url).href; - - function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } - } - - showImage(logo); - - }) - }; -})); diff --git a/test/form/samples/deprecated/emit-asset/_expected/umd.js b/test/form/samples/deprecated/emit-asset/_expected/umd.js deleted file mode 100644 index b37ed465b1a..00000000000 --- a/test/form/samples/deprecated/emit-asset/_expected/umd.js +++ /dev/null @@ -1,19 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -})((function () { 'use strict'; - - var logo = (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __dirname + '/assets/logo-25585ac1.svg').href : new URL('assets/logo-25585ac1.svg', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); - - function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } - } - - showImage(logo); - -})); diff --git a/test/form/samples/deprecated/emit-asset/index-amd.html b/test/form/samples/deprecated/emit-asset/index-amd.html deleted file mode 100644 index 14c7c2fa4ac..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-amd.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - AMD - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-cjs.html b/test/form/samples/deprecated/emit-asset/index-cjs.html deleted file mode 100644 index c5b18ec148f..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-cjs.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - CommonJS - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-es.html b/test/form/samples/deprecated/emit-asset/index-es.html deleted file mode 100644 index 5079fce53d8..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-es.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - ES Module - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-iife.html b/test/form/samples/deprecated/emit-asset/index-iife.html deleted file mode 100644 index aaf475f1505..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-iife.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - IIFE - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-system.html b/test/form/samples/deprecated/emit-asset/index-system.html deleted file mode 100644 index 750eabdba25..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-system.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - SystemJS - - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-umd-amd.html b/test/form/samples/deprecated/emit-asset/index-umd-amd.html deleted file mode 100644 index e7c9217ece0..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-umd-amd.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - UMD (AMD) - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-umd-iife-queryparam.html b/test/form/samples/deprecated/emit-asset/index-umd-iife-queryparam.html deleted file mode 100644 index fda3f3f6195..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-umd-iife-queryparam.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - UMD (IIFE) + query parameter - - - - - diff --git a/test/form/samples/deprecated/emit-asset/index-umd-iife.html b/test/form/samples/deprecated/emit-asset/index-umd-iife.html deleted file mode 100644 index 202c1dad8f0..00000000000 --- a/test/form/samples/deprecated/emit-asset/index-umd-iife.html +++ /dev/null @@ -1,10 +0,0 @@ - - - - - UMD (IIFE) - - - - - diff --git a/test/form/samples/deprecated/emit-asset/logo.svg b/test/form/samples/deprecated/emit-asset/logo.svg deleted file mode 100644 index 20bb5dfe639..00000000000 --- a/test/form/samples/deprecated/emit-asset/logo.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/test/form/samples/deprecated/emit-asset/main.js b/test/form/samples/deprecated/emit-asset/main.js deleted file mode 100644 index c63771af02d..00000000000 --- a/test/form/samples/deprecated/emit-asset/main.js +++ /dev/null @@ -1,12 +0,0 @@ -import logo from './logo.svg'; - -function showImage(url) { - console.log(url); - if (typeof document !== 'undefined') { - const image = document.createElement('img'); - image.src = url; - document.body.appendChild(image); - } -} - -showImage(logo); diff --git a/test/form/samples/deprecated/inlined-treeshaken-dynamic-import/_config.js b/test/form/samples/deprecated/inlined-treeshaken-dynamic-import/_config.js index 70a30536aa8..c985d42f87a 100644 --- a/test/form/samples/deprecated/inlined-treeshaken-dynamic-import/_config.js +++ b/test/form/samples/deprecated/inlined-treeshaken-dynamic-import/_config.js @@ -3,5 +3,6 @@ module.exports = { options: { strictDeprecations: false, inlineDynamicImports: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/interop-boolean-per-dependency/_config.js b/test/form/samples/deprecated/interop-boolean-per-dependency/_config.js index 9ac55a664fd..4dc5108a105 100644 --- a/test/form/samples/deprecated/interop-boolean-per-dependency/_config.js +++ b/test/form/samples/deprecated/interop-boolean-per-dependency/_config.js @@ -11,5 +11,6 @@ module.exports = { return id.replace('-', ''); } } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/interop-boolean-per-reexported-dependency/_config.js b/test/form/samples/deprecated/interop-boolean-per-reexported-dependency/_config.js index 8cf9078d7ed..9c8e4000438 100644 --- a/test/form/samples/deprecated/interop-boolean-per-reexported-dependency/_config.js +++ b/test/form/samples/deprecated/interop-boolean-per-reexported-dependency/_config.js @@ -12,5 +12,6 @@ module.exports = { }, name: 'bundle' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/interop-false-reexport/_config.js b/test/form/samples/deprecated/interop-false-reexport/_config.js index 1505f8be29b..9d26b513865 100644 --- a/test/form/samples/deprecated/interop-false-reexport/_config.js +++ b/test/form/samples/deprecated/interop-false-reexport/_config.js @@ -8,5 +8,6 @@ module.exports = { name: 'foo', interop: false } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/interop-false/_config.js b/test/form/samples/deprecated/interop-false/_config.js index 29fb546c761..883a0a2211d 100644 --- a/test/form/samples/deprecated/interop-false/_config.js +++ b/test/form/samples/deprecated/interop-false/_config.js @@ -1,6 +1,6 @@ module.exports = { description: 'getInterop with interop: false', - expectedWarnings: ['UNUSED_EXTERNAL_IMPORT'], + expectedWarnings: ['UNUSED_EXTERNAL_IMPORT', 'DEPRECATED_FEATURE'], options: { strictDeprecations: false, external: ['core/view'], diff --git a/test/form/samples/deprecated/interop-per-dependency-no-live-binding-boolean/_config.js b/test/form/samples/deprecated/interop-per-dependency-no-live-binding-boolean/_config.js index 40e9c43350b..8a30d5398ae 100644 --- a/test/form/samples/deprecated/interop-per-dependency-no-live-binding-boolean/_config.js +++ b/test/form/samples/deprecated/interop-per-dependency-no-live-binding-boolean/_config.js @@ -16,5 +16,6 @@ module.exports = { }, format: 'cjs' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/namespace-tostring/entry-default/_config.js b/test/form/samples/deprecated/namespace-tostring/entry-default/_config.js index afe69c097a0..75a69ab246d 100644 --- a/test/form/samples/deprecated/namespace-tostring/entry-default/_config.js +++ b/test/form/samples/deprecated/namespace-tostring/entry-default/_config.js @@ -7,5 +7,6 @@ module.exports = { exports: 'default', name: 'bundle' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/namespace-tostring/entry-named/_config.js b/test/form/samples/deprecated/namespace-tostring/entry-named/_config.js index 04c66f0ed4e..dd684cbd4a7 100644 --- a/test/form/samples/deprecated/namespace-tostring/entry-named/_config.js +++ b/test/form/samples/deprecated/namespace-tostring/entry-named/_config.js @@ -7,5 +7,6 @@ module.exports = { exports: 'named', name: 'bundle' } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/namespace-tostring/external-namespaces/_config.js b/test/form/samples/deprecated/namespace-tostring/external-namespaces/_config.js index 4505660889c..eb328e09d5e 100644 --- a/test/form/samples/deprecated/namespace-tostring/external-namespaces/_config.js +++ b/test/form/samples/deprecated/namespace-tostring/external-namespaces/_config.js @@ -25,5 +25,6 @@ module.exports = { } } } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/namespace-tostring/inlined-namespace/_config.js b/test/form/samples/deprecated/namespace-tostring/inlined-namespace/_config.js index 70d5429e572..82bfcfb95aa 100644 --- a/test/form/samples/deprecated/namespace-tostring/inlined-namespace/_config.js +++ b/test/form/samples/deprecated/namespace-tostring/inlined-namespace/_config.js @@ -5,5 +5,6 @@ module.exports = { output: { namespaceToStringTag: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/nested-inlined-dynamic-import/_config.js b/test/form/samples/deprecated/nested-inlined-dynamic-import/_config.js index b72d8e62afc..a6ac9c10407 100644 --- a/test/form/samples/deprecated/nested-inlined-dynamic-import/_config.js +++ b/test/form/samples/deprecated/nested-inlined-dynamic-import/_config.js @@ -3,5 +3,6 @@ module.exports = { options: { strictDeprecations: false, inlineDynamicImports: true - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/prefer-const/_config.js b/test/form/samples/deprecated/prefer-const/_config.js index 961c32e5343..e160c9f6e0c 100644 --- a/test/form/samples/deprecated/prefer-const/_config.js +++ b/test/form/samples/deprecated/prefer-const/_config.js @@ -8,5 +8,6 @@ module.exports = { name: 'myBundle', preferConst: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_config.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_config.js deleted file mode 100644 index 6dd4090563a..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_config.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - description: 'prunes pure unused external imports ([#1352])', - expectedWarnings: ['DEPRECATED_FEATURE'], - options: { - strictDeprecations: false, - external: ['external', 'other'], - treeshake: { pureExternalModules: ['external'] }, - output: { - globals: { other: 'other' } - } - } -}; diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/amd.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/amd.js deleted file mode 100644 index 1115d7e625a..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/amd.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['other'], (function (other) { 'use strict'; - - - -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/cjs.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/cjs.js deleted file mode 100644 index d4c04157586..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/cjs.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -require('other'); - diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/es.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/es.js deleted file mode 100644 index 4c6a1dd1289..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/es.js +++ /dev/null @@ -1 +0,0 @@ -import 'other'; diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/iife.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/iife.js deleted file mode 100644 index 31dfeb95ed9..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/iife.js +++ /dev/null @@ -1,6 +0,0 @@ -(function () { - 'use strict'; - - - -})(); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/system.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/system.js deleted file mode 100644 index b8460796681..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/system.js +++ /dev/null @@ -1,11 +0,0 @@ -System.register(['other'], (function () { - 'use strict'; - return { - setters: [function () {}], - execute: (function () { - - - - }) - }; -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/umd.js b/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/umd.js deleted file mode 100644 index f0ccb62ab6d..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/_expected/umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(['other'], factory) : - factory(); -})((function () { 'use strict'; - - - -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-array/main.js b/test/form/samples/deprecated/prune-pure-unused-import-array/main.js deleted file mode 100644 index 558f459bd2a..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-array/main.js +++ /dev/null @@ -1,7 +0,0 @@ -import { unused } from 'external'; -import { notused } from 'other'; - -function alsoUnused () { - unused(); - notused(); -} diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_config.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_config.js deleted file mode 100644 index ca46cdf2ddd..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_config.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - description: 'prunes pure unused external imports ([#1352])', - expectedWarnings: ['DEPRECATED_FEATURE', 'EMPTY_BUNDLE'], - options: { - strictDeprecations: false, - external: ['external', 'other'], - treeshake: { pureExternalModules: id => id === 'external' }, - output: { - globals: { other: 'other' } - } - } -}; diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/amd.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/amd.js deleted file mode 100644 index 1115d7e625a..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/amd.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['other'], (function (other) { 'use strict'; - - - -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/cjs.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/cjs.js deleted file mode 100644 index d4c04157586..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/cjs.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -require('other'); - diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/es.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/es.js deleted file mode 100644 index 4c6a1dd1289..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/es.js +++ /dev/null @@ -1 +0,0 @@ -import 'other'; diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/iife.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/iife.js deleted file mode 100644 index 31dfeb95ed9..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/iife.js +++ /dev/null @@ -1,6 +0,0 @@ -(function () { - 'use strict'; - - - -})(); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/system.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/system.js deleted file mode 100644 index b8460796681..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/system.js +++ /dev/null @@ -1,11 +0,0 @@ -System.register(['other'], (function () { - 'use strict'; - return { - setters: [function () {}], - execute: (function () { - - - - }) - }; -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/umd.js b/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/umd.js deleted file mode 100644 index f0ccb62ab6d..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/_expected/umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(['other'], factory) : - factory(); -})((function () { 'use strict'; - - - -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import-function/main.js b/test/form/samples/deprecated/prune-pure-unused-import-function/main.js deleted file mode 100644 index 558f459bd2a..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import-function/main.js +++ /dev/null @@ -1,7 +0,0 @@ -import { unused } from 'external'; -import { notused } from 'other'; - -function alsoUnused () { - unused(); - notused(); -} diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_config.js b/test/form/samples/deprecated/prune-pure-unused-import/_config.js deleted file mode 100644 index fe513326305..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - description: 'prunes pure unused external imports ([#1352])', - expectedWarnings: ['DEPRECATED_FEATURE', 'EMPTY_BUNDLE'], - options: { - strictDeprecations: false, - external: ['external', 'other'], - treeshake: { pureExternalModules: true } - } -}; diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_expected/amd.js b/test/form/samples/deprecated/prune-pure-unused-import/_expected/amd.js deleted file mode 100644 index a9e9419e212..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_expected/amd.js +++ /dev/null @@ -1,5 +0,0 @@ -define((function () { 'use strict'; - - - -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_expected/cjs.js b/test/form/samples/deprecated/prune-pure-unused-import/_expected/cjs.js deleted file mode 100644 index eb109abbed0..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_expected/cjs.js +++ /dev/null @@ -1,2 +0,0 @@ -'use strict'; - diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_expected/es.js b/test/form/samples/deprecated/prune-pure-unused-import/_expected/es.js deleted file mode 100644 index 8b137891791..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_expected/es.js +++ /dev/null @@ -1 +0,0 @@ - diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_expected/iife.js b/test/form/samples/deprecated/prune-pure-unused-import/_expected/iife.js deleted file mode 100644 index 31dfeb95ed9..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_expected/iife.js +++ /dev/null @@ -1,6 +0,0 @@ -(function () { - 'use strict'; - - - -})(); diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_expected/system.js b/test/form/samples/deprecated/prune-pure-unused-import/_expected/system.js deleted file mode 100644 index 343cc3a5100..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_expected/system.js +++ /dev/null @@ -1,10 +0,0 @@ -System.register([], (function () { - 'use strict'; - return { - execute: (function () { - - - - }) - }; -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import/_expected/umd.js b/test/form/samples/deprecated/prune-pure-unused-import/_expected/umd.js deleted file mode 100644 index a39fba4f3da..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/_expected/umd.js +++ /dev/null @@ -1,8 +0,0 @@ -(function (factory) { - typeof define === 'function' && define.amd ? define(factory) : - factory(); -})((function () { 'use strict'; - - - -})); diff --git a/test/form/samples/deprecated/prune-pure-unused-import/main.js b/test/form/samples/deprecated/prune-pure-unused-import/main.js deleted file mode 100644 index ce3e0cb6298..00000000000 --- a/test/form/samples/deprecated/prune-pure-unused-import/main.js +++ /dev/null @@ -1,5 +0,0 @@ -import { unused } from 'external'; - -function alsoUnused () { - unused(); -} diff --git a/test/form/samples/generated-code-compact/arrow-functions-false/_config.js b/test/form/samples/generated-code-compact/arrow-functions-false/_config.js index ffecad616f0..20bea552d16 100644 --- a/test/form/samples/generated-code-compact/arrow-functions-false/_config.js +++ b/test/form/samples/generated-code-compact/arrow-functions-false/_config.js @@ -27,5 +27,6 @@ module.exports = { name: 'bundle', noConflict: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/generated-code-compact/arrow-functions-true/_config.js b/test/form/samples/generated-code-compact/arrow-functions-true/_config.js index f206f321594..732ebcf703c 100644 --- a/test/form/samples/generated-code-compact/arrow-functions-true/_config.js +++ b/test/form/samples/generated-code-compact/arrow-functions-true/_config.js @@ -27,5 +27,6 @@ module.exports = { name: 'bundle', noConflict: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/generated-code/arrow-functions-false/_config.js b/test/form/samples/generated-code/arrow-functions-false/_config.js index a3fbecbf803..5ffc687a54e 100644 --- a/test/form/samples/generated-code/arrow-functions-false/_config.js +++ b/test/form/samples/generated-code/arrow-functions-false/_config.js @@ -26,5 +26,6 @@ module.exports = { name: 'bundle', noConflict: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/generated-code/arrow-functions-true/_config.js b/test/form/samples/generated-code/arrow-functions-true/_config.js index 94e152b4307..82d6f99c5fe 100644 --- a/test/form/samples/generated-code/arrow-functions-true/_config.js +++ b/test/form/samples/generated-code/arrow-functions-true/_config.js @@ -26,5 +26,6 @@ module.exports = { name: 'bundle', noConflict: true } - } + }, + expectedWarnings: ['DEPRECATED_FEATURE'] }; diff --git a/test/form/samples/supports-core-js/_expected.js b/test/form/samples/supports-core-js/_expected.js index 16f3f74c9e2..e5121f53fa3 100644 --- a/test/form/samples/supports-core-js/_expected.js +++ b/test/form/samples/supports-core-js/_expected.js @@ -11,7 +11,7 @@ var check = function (it) { }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global$Z = +var global$_ = // eslint-disable-next-line es-x/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -23,7 +23,7 @@ var global$Z = var objectGetOwnPropertyDescriptor = {}; -var fails$1k = function (exec) { +var fails$1m = function (exec) { try { return !!exec(); } catch (error) { @@ -31,17 +31,17 @@ var fails$1k = function (exec) { } }; -var fails$1j = fails$1k; +var fails$1l = fails$1m; // Detect IE8's incomplete defineProperty implementation -var descriptors = !fails$1j(function () { +var descriptors = !fails$1l(function () { // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); -var fails$1i = fails$1k; +var fails$1k = fails$1m; -var functionBindNative = !fails$1i(function () { +var functionBindNative = !fails$1k(function () { // eslint-disable-next-line es-x/no-function-prototype-bind -- safe var test = (function () { /* empty */ }).bind(); // eslint-disable-next-line no-prototype-builtins -- safe @@ -86,39 +86,39 @@ var NATIVE_BIND$3 = functionBindNative; var FunctionPrototype$4 = Function.prototype; var bind$v = FunctionPrototype$4.bind; var call$15 = FunctionPrototype$4.call; -var uncurryThis$1s = NATIVE_BIND$3 && bind$v.bind(call$15, call$15); +var uncurryThis$1t = NATIVE_BIND$3 && bind$v.bind(call$15, call$15); var functionUncurryThis = NATIVE_BIND$3 ? function (fn) { - return fn && uncurryThis$1s(fn); + return fn && uncurryThis$1t(fn); } : function (fn) { return fn && function () { return call$15.apply(fn, arguments); }; }; -var uncurryThis$1r = functionUncurryThis; +var uncurryThis$1s = functionUncurryThis; -var toString$B = uncurryThis$1r({}.toString); -var stringSlice$h = uncurryThis$1r(''.slice); +var toString$B = uncurryThis$1s({}.toString); +var stringSlice$h = uncurryThis$1s(''.slice); var classofRaw$1 = function (it) { return stringSlice$h(toString$B(it), 8, -1); }; -var uncurryThis$1q = functionUncurryThis; -var fails$1h = fails$1k; -var classof$l = classofRaw$1; +var uncurryThis$1r = functionUncurryThis; +var fails$1j = fails$1m; +var classof$m = classofRaw$1; var $Object$6 = Object; -var split$3 = uncurryThis$1q(''.split); +var split$3 = uncurryThis$1r(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings -var indexedObject = fails$1h(function () { +var indexedObject = fails$1j(function () { // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 // eslint-disable-next-line no-prototype-builtins -- safe return !$Object$6('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$l(it) == 'String' ? split$3(it, '') : $Object$6(it); + return classof$m(it) == 'String' ? split$3(it, '') : $Object$6(it); } : $Object$6; var $TypeError$z = TypeError; @@ -150,7 +150,7 @@ var isObject$C = function (it) { return typeof it == 'object' ? it !== null : isCallable$D(it); }; -var global$Y = global$Z; +var global$Z = global$_; var isCallable$C = isCallable$E; var aFunction = function (argument) { @@ -158,22 +158,22 @@ var aFunction = function (argument) { }; var getBuiltIn$L = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$Y[namespace]) : global$Y[namespace] && global$Y[namespace][method]; + return arguments.length < 2 ? aFunction(global$Z[namespace]) : global$Z[namespace] && global$Z[namespace][method]; }; -var uncurryThis$1p = functionUncurryThis; +var uncurryThis$1q = functionUncurryThis; -var objectIsPrototypeOf = uncurryThis$1p({}.isPrototypeOf); +var objectIsPrototypeOf = uncurryThis$1q({}.isPrototypeOf); var getBuiltIn$K = getBuiltIn$L; var engineUserAgent = getBuiltIn$K('navigator', 'userAgent') || ''; -var global$X = global$Z; +var global$Y = global$_; var userAgent$7 = engineUserAgent; -var process$4 = global$X.process; -var Deno$1 = global$X.Deno; +var process$4 = global$Y.process; +var Deno$1 = global$Y.Deno; var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version; var v8 = versions && versions.v8; var match, version; @@ -200,10 +200,10 @@ var engineV8Version = version; /* eslint-disable es-x/no-symbol -- required for testing */ var V8_VERSION$3 = engineV8Version; -var fails$1g = fails$1k; +var fails$1i = fails$1m; // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing -var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$1g(function () { +var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$1i(function () { var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances @@ -284,24 +284,24 @@ var shared$9 = {exports: {}}; var isPure = false; -var global$W = global$Z; +var global$X = global$_; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var defineProperty$i = Object.defineProperty; var defineGlobalProperty$3 = function (key, value) { try { - defineProperty$i(global$W, key, { value: value, configurable: true, writable: true }); + defineProperty$i(global$X, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$W[key] = value; + global$X[key] = value; } return value; }; -var global$V = global$Z; +var global$W = global$_; var defineGlobalProperty$2 = defineGlobalProperty$3; var SHARED = '__core-js_shared__'; -var store$5 = global$V[SHARED] || defineGlobalProperty$2(SHARED, {}); +var store$5 = global$W[SHARED] || defineGlobalProperty$2(SHARED, {}); var sharedStore = store$5; @@ -310,10 +310,10 @@ var store$4 = sharedStore; (shared$9.exports = function (key, value) { return store$4[key] || (store$4[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.22.8', + version: '3.23.3', mode: 'global', copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE', + license: 'https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE', source: 'https://github.com/zloirock/core-js' }); @@ -323,33 +323,33 @@ var $Object$4 = Object; // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject -var toObject$z = function (argument) { +var toObject$B = function (argument) { return $Object$4(requireObjectCoercible$i(argument)); }; -var uncurryThis$1o = functionUncurryThis; -var toObject$y = toObject$z; +var uncurryThis$1p = functionUncurryThis; +var toObject$A = toObject$B; -var hasOwnProperty = uncurryThis$1o({}.hasOwnProperty); +var hasOwnProperty = uncurryThis$1p({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty // eslint-disable-next-line es-x/no-object-hasown -- safe var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty(toObject$y(it), key); + return hasOwnProperty(toObject$A(it), key); }; -var uncurryThis$1n = functionUncurryThis; +var uncurryThis$1o = functionUncurryThis; var id$2 = 0; var postfix = Math.random(); -var toString$A = uncurryThis$1n(1.0.toString); +var toString$A = uncurryThis$1o(1.0.toString); var uid$6 = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$A(++id$2 + postfix, 36); }; -var global$U = global$Z; +var global$V = global$_; var shared$8 = shared$9.exports; var hasOwn$A = hasOwnProperty_1; var uid$5 = uid$6; @@ -357,7 +357,7 @@ var NATIVE_SYMBOL$5 = nativeSymbol; var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore$1 = shared$8('wks'); -var Symbol$3 = global$U.Symbol; +var Symbol$3 = global$V.Symbol; var symbolFor = Symbol$3 && Symbol$3['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$5; @@ -410,10 +410,10 @@ var toPropertyKey$9 = function (argument) { return isSymbol$5(key) ? key : key + ''; }; -var global$T = global$Z; +var global$U = global$_; var isObject$z = isObject$C; -var document$3 = global$T.document; +var document$3 = global$U.document; // typeof document.createElement is 'object' in old IE var EXISTS$1 = isObject$z(document$3) && isObject$z(document$3.createElement); @@ -422,11 +422,11 @@ var documentCreateElement$2 = function (it) { }; var DESCRIPTORS$I = descriptors; -var fails$1f = fails$1k; +var fails$1h = fails$1m; var createElement$1 = documentCreateElement$2; // Thanks to IE8 for its funny defineProperty -var ie8DomDefine = !DESCRIPTORS$I && !fails$1f(function () { +var ie8DomDefine = !DESCRIPTORS$I && !fails$1h(function () { // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing return Object.defineProperty(createElement$1('div'), 'a', { get: function () { return 7; } @@ -459,11 +459,11 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$H ? $getOwnPropertyDescriptor$2 : var objectDefineProperty = {}; var DESCRIPTORS$G = descriptors; -var fails$1e = fails$1k; +var fails$1g = fails$1m; // V8 ~ Chrome 36- // https://bugs.chromium.org/p/v8/issues/detail?id=3334 -var v8PrototypeDefineBug = DESCRIPTORS$G && fails$1e(function () { +var v8PrototypeDefineBug = DESCRIPTORS$G && fails$1g(function () { // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing return Object.defineProperty(function () { /* empty */ }, 'prototype', { value: 42, @@ -527,11 +527,11 @@ objectDefineProperty.f = DESCRIPTORS$F ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de }; var DESCRIPTORS$E = descriptors; -var definePropertyModule$b = objectDefineProperty; +var definePropertyModule$c = objectDefineProperty; var createPropertyDescriptor$a = createPropertyDescriptor$c; -var createNonEnumerableProperty$j = DESCRIPTORS$E ? function (object, key, value) { - return definePropertyModule$b.f(object, key, createPropertyDescriptor$a(1, value)); +var createNonEnumerableProperty$i = DESCRIPTORS$E ? function (object, key, value) { + return definePropertyModule$c.f(object, key, createPropertyDescriptor$a(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -557,11 +557,11 @@ var functionName = { CONFIGURABLE: CONFIGURABLE }; -var uncurryThis$1m = functionUncurryThis; +var uncurryThis$1n = functionUncurryThis; var isCallable$y = isCallable$E; var store$3 = sharedStore; -var functionToString$1 = uncurryThis$1m(Function.toString); +var functionToString$1 = uncurryThis$1n(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable$y(store$3.inspectSource)) { @@ -572,11 +572,11 @@ if (!isCallable$y(store$3.inspectSource)) { var inspectSource$5 = store$3.inspectSource; -var global$S = global$Z; +var global$T = global$_; var isCallable$x = isCallable$E; var inspectSource$4 = inspectSource$5; -var WeakMap$4 = global$S.WeakMap; +var WeakMap$4 = global$T.WeakMap; var nativeWeakMap = isCallable$x(WeakMap$4) && /native code/.test(inspectSource$4(WeakMap$4)); @@ -592,18 +592,18 @@ var sharedKey$4 = function (key) { var hiddenKeys$6 = {}; var NATIVE_WEAK_MAP$1 = nativeWeakMap; -var global$R = global$Z; -var uncurryThis$1l = functionUncurryThis; +var global$S = global$_; +var uncurryThis$1m = functionUncurryThis; var isObject$x = isObject$C; -var createNonEnumerableProperty$i = createNonEnumerableProperty$j; +var createNonEnumerableProperty$h = createNonEnumerableProperty$i; var hasOwn$x = hasOwnProperty_1; var shared$6 = sharedStore; var sharedKey$3 = sharedKey$4; var hiddenKeys$5 = hiddenKeys$6; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var TypeError$8 = global$R.TypeError; -var WeakMap$3 = global$R.WeakMap; +var TypeError$8 = global$S.TypeError; +var WeakMap$3 = global$S.WeakMap; var set$3, get$2, has; var enforce = function (it) { @@ -621,9 +621,9 @@ var getterFor$2 = function (TYPE) { if (NATIVE_WEAK_MAP$1 || shared$6.state) { var store$2 = shared$6.state || (shared$6.state = new WeakMap$3()); - var wmget = uncurryThis$1l(store$2.get); - var wmhas = uncurryThis$1l(store$2.has); - var wmset = uncurryThis$1l(store$2.set); + var wmget = uncurryThis$1m(store$2.get); + var wmhas = uncurryThis$1m(store$2.has); + var wmset = uncurryThis$1m(store$2.set); set$3 = function (it, metadata) { if (wmhas(store$2, it)) throw new TypeError$8(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; @@ -642,7 +642,7 @@ if (NATIVE_WEAK_MAP$1 || shared$6.state) { set$3 = function (it, metadata) { if (hasOwn$x(it, STATE)) throw new TypeError$8(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; - createNonEnumerableProperty$i(it, STATE, metadata); + createNonEnumerableProperty$h(it, STATE, metadata); return metadata; }; get$2 = function (it) { @@ -661,20 +661,20 @@ var internalState = { getterFor: getterFor$2 }; -var fails$1d = fails$1k; +var fails$1f = fails$1m; var isCallable$w = isCallable$E; var hasOwn$w = hasOwnProperty_1; var DESCRIPTORS$C = descriptors; var CONFIGURABLE_FUNCTION_NAME$2 = functionName.CONFIGURABLE; var inspectSource$3 = inspectSource$5; -var InternalStateModule$k = internalState; +var InternalStateModule$l = internalState; -var enforceInternalState$2 = InternalStateModule$k.enforce; -var getInternalState$h = InternalStateModule$k.get; +var enforceInternalState$4 = InternalStateModule$l.enforce; +var getInternalState$i = InternalStateModule$l.get; // eslint-disable-next-line es-x/no-object-defineproperty -- safe var defineProperty$h = Object.defineProperty; -var CONFIGURABLE_LENGTH = DESCRIPTORS$C && !fails$1d(function () { +var CONFIGURABLE_LENGTH = DESCRIPTORS$C && !fails$1f(function () { return defineProperty$h(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; }); @@ -687,7 +687,8 @@ var makeBuiltIn$3 = makeBuiltIn$4.exports = function (value, name, options) { if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; if (!hasOwn$w(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$2 && value.name !== name)) { - defineProperty$h(value, 'name', { value: name, configurable: true }); + if (DESCRIPTORS$C) defineProperty$h(value, 'name', { value: name, configurable: true }); + else value.name = name; } if (CONFIGURABLE_LENGTH && options && hasOwn$w(options, 'arity') && value.length !== options.arity) { defineProperty$h(value, 'length', { value: options.arity }); @@ -698,7 +699,7 @@ var makeBuiltIn$3 = makeBuiltIn$4.exports = function (value, name, options) { // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable } else if (value.prototype) value.prototype = undefined; } catch (error) { /* empty */ } - var state = enforceInternalState$2(value); + var state = enforceInternalState$4(value); if (!hasOwn$w(state, 'source')) { state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); } return value; @@ -707,11 +708,11 @@ var makeBuiltIn$3 = makeBuiltIn$4.exports = function (value, name, options) { // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative // eslint-disable-next-line no-extend-native -- required Function.prototype.toString = makeBuiltIn$3(function toString() { - return isCallable$w(this) && getInternalState$h(this).source || inspectSource$3(this); + return isCallable$w(this) && getInternalState$i(this).source || inspectSource$3(this); }, 'toString'); var isCallable$v = isCallable$E; -var createNonEnumerableProperty$h = createNonEnumerableProperty$j; +var definePropertyModule$b = objectDefineProperty; var makeBuiltIn$2 = makeBuiltIn$4.exports; var defineGlobalProperty$1 = defineGlobalProperty$3; @@ -724,10 +725,17 @@ var defineBuiltIn$p = function (O, key, value, options) { if (simple) O[key] = value; else defineGlobalProperty$1(key, value); } else { - if (!options.unsafe) delete O[key]; - else if (O[key]) simple = true; + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } if (simple) O[key] = value; - else createNonEnumerableProperty$h(O, key, value); + else definePropertyModule$b.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); } return O; }; @@ -748,53 +756,53 @@ var trunc$1 = mathTrunc; // `ToIntegerOrInfinity` abstract operation // https://tc39.es/ecma262/#sec-tointegerorinfinity -var toIntegerOrInfinity$m = function (argument) { +var toIntegerOrInfinity$o = function (argument) { var number = +argument; // eslint-disable-next-line no-self-compare -- NaN check return number !== number || number === 0 ? 0 : trunc$1(number); }; -var toIntegerOrInfinity$l = toIntegerOrInfinity$m; +var toIntegerOrInfinity$n = toIntegerOrInfinity$o; -var max$8 = Math.max; -var min$b = Math.min; +var max$9 = Math.max; +var min$c = Math.min; // Helper for a popular repeating case of the spec: // Let integer be ? ToInteger(index). // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -var toAbsoluteIndex$a = function (index, length) { - var integer = toIntegerOrInfinity$l(index); - return integer < 0 ? max$8(integer + length, 0) : min$b(integer, length); +var toAbsoluteIndex$b = function (index, length) { + var integer = toIntegerOrInfinity$n(index); + return integer < 0 ? max$9(integer + length, 0) : min$c(integer, length); }; -var toIntegerOrInfinity$k = toIntegerOrInfinity$m; +var toIntegerOrInfinity$m = toIntegerOrInfinity$o; -var min$a = Math.min; +var min$b = Math.min; // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$d = function (argument) { - return argument > 0 ? min$a(toIntegerOrInfinity$k(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + return argument > 0 ? min$b(toIntegerOrInfinity$m(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength$c = toLength$d; // `LengthOfArrayLike` abstract operation // https://tc39.es/ecma262/#sec-lengthofarraylike -var lengthOfArrayLike$x = function (obj) { +var lengthOfArrayLike$A = function (obj) { return toLength$c(obj.length); }; var toIndexedObject$i = toIndexedObject$k; -var toAbsoluteIndex$9 = toAbsoluteIndex$a; -var lengthOfArrayLike$w = lengthOfArrayLike$x; +var toAbsoluteIndex$a = toAbsoluteIndex$b; +var lengthOfArrayLike$z = lengthOfArrayLike$A; // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod$8 = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIndexedObject$i($this); - var length = lengthOfArrayLike$w(O); - var index = toAbsoluteIndex$9(fromIndex, length); + var length = lengthOfArrayLike$z(O); + var index = toAbsoluteIndex$a(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check @@ -818,13 +826,13 @@ var arrayIncludes = { indexOf: createMethod$8(false) }; -var uncurryThis$1k = functionUncurryThis; +var uncurryThis$1l = functionUncurryThis; var hasOwn$v = hasOwnProperty_1; var toIndexedObject$h = toIndexedObject$k; var indexOf$2 = arrayIncludes.indexOf; var hiddenKeys$4 = hiddenKeys$6; -var push$m = uncurryThis$1k([].push); +var push$m = uncurryThis$1l([].push); var objectKeysInternal = function (object, names) { var O = toIndexedObject$h(object); @@ -868,12 +876,12 @@ var objectGetOwnPropertySymbols = {}; objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; var getBuiltIn$I = getBuiltIn$L; -var uncurryThis$1j = functionUncurryThis; +var uncurryThis$1k = functionUncurryThis; var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$3 = objectGetOwnPropertySymbols; var anObject$1E = anObject$1G; -var concat$4 = uncurryThis$1j([].concat); +var concat$4 = uncurryThis$1k([].concat); // all object keys, includes non-enumerable and symbols var ownKeys$3 = getBuiltIn$I('Reflect', 'ownKeys') || function ownKeys(it) { @@ -899,7 +907,7 @@ var copyConstructorProperties$4 = function (target, source, exceptions) { } }; -var fails$1c = fails$1k; +var fails$1e = fails$1m; var isCallable$u = isCallable$E; var replacement = /#|\.prototype\./; @@ -908,7 +916,7 @@ var isForced$5 = function (feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false - : isCallable$u(detection) ? fails$1c(detection) + : isCallable$u(detection) ? fails$1e(detection) : !!detection; }; @@ -922,9 +930,9 @@ var POLYFILL = isForced$5.POLYFILL = 'P'; var isForced_1 = isForced$5; -var global$Q = global$Z; +var global$R = global$_; var getOwnPropertyDescriptor$9 = objectGetOwnPropertyDescriptor.f; -var createNonEnumerableProperty$g = createNonEnumerableProperty$j; +var createNonEnumerableProperty$g = createNonEnumerableProperty$i; var defineBuiltIn$o = defineBuiltIn$p; var defineGlobalProperty = defineGlobalProperty$3; var copyConstructorProperties$3 = copyConstructorProperties$4; @@ -951,11 +959,11 @@ var _export = function (options, source) { var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$Q; + target = global$R; } else if (STATIC) { - target = global$Q[TARGET] || defineGlobalProperty(TARGET, {}); + target = global$R[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$Q[TARGET] || {}).prototype; + target = (global$R[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -1005,7 +1013,7 @@ var tryGet = function (it, key) { }; // getting tag from ES6+ `Object.prototype.toString` -var classof$k = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) { +var classof$l = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) { var O, tag, result; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case @@ -1016,12 +1024,12 @@ var classof$k = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) { : (result = classofRaw(O)) == 'Object' && isCallable$t(O.callee) ? 'Arguments' : result; }; -var classof$j = classof$k; +var classof$k = classof$l; var $String$3 = String; var toString$z = function (argument) { - if (classof$j(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); + if (classof$k(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); return $String$3(argument); }; @@ -1159,18 +1167,18 @@ var createProperty$9 = function (object, key, value) { else object[propertyKey] = value; }; -var toAbsoluteIndex$8 = toAbsoluteIndex$a; -var lengthOfArrayLike$v = lengthOfArrayLike$x; +var toAbsoluteIndex$9 = toAbsoluteIndex$b; +var lengthOfArrayLike$y = lengthOfArrayLike$A; var createProperty$8 = createProperty$9; var $Array$a = Array; -var max$7 = Math.max; +var max$8 = Math.max; var arraySliceSimple = function (O, start, end) { - var length = lengthOfArrayLike$v(O); - var k = toAbsoluteIndex$8(start, length); - var fin = toAbsoluteIndex$8(end === undefined ? length : end, length); - var result = $Array$a(max$7(fin - k, 0)); + var length = lengthOfArrayLike$y(O); + var k = toAbsoluteIndex$9(start, length); + var fin = toAbsoluteIndex$9(end === undefined ? length : end, length); + var result = $Array$a(max$8(fin - k, 0)); for (var n = 0; k < fin; k++, n++) createProperty$8(result, n, O[k]); result.length = n; return result; @@ -1178,10 +1186,10 @@ var arraySliceSimple = function (O, start, end) { /* eslint-disable es-x/no-object-getownpropertynames -- safe */ -var classof$i = classofRaw$1; +var classof$j = classofRaw$1; var toIndexedObject$f = toIndexedObject$k; var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; -var arraySlice$f = arraySliceSimple; +var arraySlice$d = arraySliceSimple; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; @@ -1190,13 +1198,13 @@ var getWindowNames = function (it) { try { return $getOwnPropertyNames$1(it); } catch (error) { - return arraySlice$f(windowNames); + return arraySlice$d(windowNames); } }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) { - return windowNames && classof$i(it) == 'Window' + return windowNames && classof$j(it) == 'Window' ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$f(it)); }; @@ -1207,16 +1215,16 @@ var wellKnownSymbol$G = wellKnownSymbol$K; wellKnownSymbolWrapped.f = wellKnownSymbol$G; -var global$P = global$Z; +var global$Q = global$_; -var path$1 = global$P; +var path$1 = global$Q; var path = path$1; var hasOwn$t = hasOwnProperty_1; var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped; var defineProperty$g = objectDefineProperty.f; -var defineWellKnownSymbol$l = function (NAME) { +var defineWellKnownSymbol$m = function (NAME) { var Symbol = path.Symbol || (path.Symbol = {}); if (!hasOwn$t(Symbol, NAME)) defineProperty$g(Symbol, NAME, { value: wrappedWellKnownSymbolModule$1.f(NAME) @@ -1257,11 +1265,11 @@ var setToStringTag$d = function (target, TAG, STATIC) { } }; -var uncurryThis$1i = functionUncurryThis; +var uncurryThis$1j = functionUncurryThis; var aCallable$W = aCallable$Y; var NATIVE_BIND$2 = functionBindNative; -var bind$u = uncurryThis$1i(uncurryThis$1i.bind); +var bind$u = uncurryThis$1j(uncurryThis$1j.bind); // optional / simple context binding var functionBindContext = function (fn, that) { @@ -1271,19 +1279,19 @@ var functionBindContext = function (fn, that) { }; }; -var classof$h = classofRaw$1; +var classof$i = classofRaw$1; // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray // eslint-disable-next-line es-x/no-array-isarray -- safe var isArray$8 = Array.isArray || function isArray(argument) { - return classof$h(argument) == 'Array'; + return classof$i(argument) == 'Array'; }; -var uncurryThis$1h = functionUncurryThis; -var fails$1b = fails$1k; +var uncurryThis$1i = functionUncurryThis; +var fails$1d = fails$1m; var isCallable$s = isCallable$E; -var classof$g = classof$k; +var classof$h = classof$l; var getBuiltIn$F = getBuiltIn$L; var inspectSource$2 = inspectSource$5; @@ -1291,7 +1299,7 @@ var noop = function () { /* empty */ }; var empty = []; var construct$1 = getBuiltIn$F('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; -var exec$c = uncurryThis$1h(constructorRegExp.exec); +var exec$c = uncurryThis$1i(constructorRegExp.exec); var INCORRECT_TO_STRING$2 = !constructorRegExp.exec(noop); var isConstructorModern = function isConstructor(argument) { @@ -1306,7 +1314,7 @@ var isConstructorModern = function isConstructor(argument) { var isConstructorLegacy = function isConstructor(argument) { if (!isCallable$s(argument)) return false; - switch (classof$g(argument)) { + switch (classof$h(argument)) { case 'AsyncFunction': case 'GeneratorFunction': case 'AsyncGeneratorFunction': return false; @@ -1325,7 +1333,7 @@ isConstructorLegacy.sham = true; // `IsConstructor` abstract operation // https://tc39.es/ecma262/#sec-isconstructor -var isConstructor$a = !construct$1 || fails$1b(function () { +var isConstructor$a = !construct$1 || fails$1d(function () { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) @@ -1365,13 +1373,13 @@ var arraySpeciesCreate$6 = function (originalArray, length) { }; var bind$t = functionBindContext; -var uncurryThis$1g = functionUncurryThis; +var uncurryThis$1h = functionUncurryThis; var IndexedObject$6 = indexedObject; -var toObject$x = toObject$z; -var lengthOfArrayLike$u = lengthOfArrayLike$x; +var toObject$z = toObject$B; +var lengthOfArrayLike$x = lengthOfArrayLike$A; var arraySpeciesCreate$5 = arraySpeciesCreate$6; -var push$l = uncurryThis$1g([].push); +var push$l = uncurryThis$1h([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod$7 = function (TYPE) { @@ -1383,10 +1391,10 @@ var createMethod$7 = function (TYPE) { var IS_FILTER_REJECT = TYPE == 7; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; return function ($this, callbackfn, that, specificCreate) { - var O = toObject$x($this); + var O = toObject$z($this); var self = IndexedObject$6(O); var boundFunction = bind$t(callbackfn, that); - var length = lengthOfArrayLike$u(self); + var length = lengthOfArrayLike$x(self); var index = 0; var create = specificCreate || arraySpeciesCreate$5; var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; @@ -1438,13 +1446,13 @@ var arrayIteration = { filterReject: createMethod$7(7) }; -var $$4O = _export; -var global$O = global$Z; +var $$4S = _export; +var global$P = global$_; var call$10 = functionCall; -var uncurryThis$1f = functionUncurryThis; +var uncurryThis$1g = functionUncurryThis; var DESCRIPTORS$A = descriptors; var NATIVE_SYMBOL$4 = nativeSymbol; -var fails$1a = fails$1k; +var fails$1c = fails$1m; var hasOwn$r = hasOwnProperty_1; var isPrototypeOf$c = objectIsPrototypeOf; var anObject$1B = anObject$1G; @@ -1468,29 +1476,29 @@ var hiddenKeys$1 = hiddenKeys$6; var uid$3 = uid$6; var wellKnownSymbol$C = wellKnownSymbol$K; var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped; -var defineWellKnownSymbol$k = defineWellKnownSymbol$l; +var defineWellKnownSymbol$l = defineWellKnownSymbol$m; var defineSymbolToPrimitive$1 = symbolDefineToPrimitive; var setToStringTag$c = setToStringTag$d; -var InternalStateModule$j = internalState; +var InternalStateModule$k = internalState; var $forEach$3 = arrayIteration.forEach; var HIDDEN = sharedKey$1('hidden'); var SYMBOL = 'Symbol'; var PROTOTYPE$1 = 'prototype'; -var setInternalState$j = InternalStateModule$j.set; -var getInternalState$g = InternalStateModule$j.getterFor(SYMBOL); +var setInternalState$j = InternalStateModule$k.set; +var getInternalState$h = InternalStateModule$k.getterFor(SYMBOL); var ObjectPrototype$4 = Object[PROTOTYPE$1]; -var $Symbol = global$O.Symbol; +var $Symbol = global$P.Symbol; var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE$1]; -var TypeError$7 = global$O.TypeError; -var QObject = global$O.QObject; +var TypeError$7 = global$P.TypeError; +var QObject = global$P.QObject; var nativeGetOwnPropertyDescriptor$2 = getOwnPropertyDescriptorModule$5.f; var nativeDefineProperty$1 = definePropertyModule$7.f; var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f; -var push$k = uncurryThis$1f([].push); +var push$k = uncurryThis$1g([].push); var AllSymbols = shared$5('symbols'); var ObjectPrototypeSymbols = shared$5('op-symbols'); @@ -1500,7 +1508,7 @@ var WellKnownSymbolsStore = shared$5('wks'); var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDescriptor = DESCRIPTORS$A && fails$1a(function () { +var setSymbolDescriptor = DESCRIPTORS$A && fails$1c(function () { return nativeObjectCreate(nativeDefineProperty$1({}, 'a', { get: function () { return nativeDefineProperty$1(this, 'a', { value: 7 }).a; } })).a != 7; @@ -1613,7 +1621,7 @@ if (!NATIVE_SYMBOL$4) { SymbolPrototype$1 = $Symbol[PROTOTYPE$1]; defineBuiltIn$m(SymbolPrototype$1, 'toString', function toString() { - return getInternalState$g(this).tag; + return getInternalState$h(this).tag; }); defineBuiltIn$m($Symbol, 'withoutSetter', function (description) { @@ -1636,7 +1644,7 @@ if (!NATIVE_SYMBOL$4) { nativeDefineProperty$1(SymbolPrototype$1, 'description', { configurable: true, get: function description() { - return getInternalState$g(this).description; + return getInternalState$h(this).description; } }); { @@ -1645,20 +1653,20 @@ if (!NATIVE_SYMBOL$4) { } } -$$4O({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL$4, sham: !NATIVE_SYMBOL$4 }, { +$$4S({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL$4, sham: !NATIVE_SYMBOL$4 }, { Symbol: $Symbol }); $forEach$3(objectKeys$4(WellKnownSymbolsStore), function (name) { - defineWellKnownSymbol$k(name); + defineWellKnownSymbol$l(name); }); -$$4O({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL$4 }, { +$$4S({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL$4 }, { useSetter: function () { USE_SETTER = true; }, useSimple: function () { USE_SETTER = false; } }); -$$4O({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$4, sham: !DESCRIPTORS$A }, { +$$4S({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$4, sham: !DESCRIPTORS$A }, { // `Object.create` method // https://tc39.es/ecma262/#sec-object.create create: $create, @@ -1673,7 +1681,7 @@ $$4O({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$4, sham: !DESCRIPTOR getOwnPropertyDescriptor: $getOwnPropertyDescriptor }); -$$4O({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$4 }, { +$$4S({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$4 }, { // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames getOwnPropertyNames: $getOwnPropertyNames @@ -1694,7 +1702,7 @@ var NATIVE_SYMBOL$3 = nativeSymbol; /* eslint-disable es-x/no-symbol -- safe */ var nativeSymbolRegistry = NATIVE_SYMBOL$3 && !!Symbol['for'] && !!Symbol.keyFor; -var $$4N = _export; +var $$4R = _export; var getBuiltIn$E = getBuiltIn$L; var hasOwn$q = hasOwnProperty_1; var toString$y = toString$z; @@ -1706,7 +1714,7 @@ var SymbolToStringRegistry$1 = shared$4('symbol-to-string-registry'); // `Symbol.for` method // https://tc39.es/ecma262/#sec-symbol.for -$$4N({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY$1 }, { +$$4R({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY$1 }, { 'for': function (key) { var string = toString$y(key); if (hasOwn$q(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; @@ -1717,7 +1725,7 @@ $$4N({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY$1 }, { } }); -var $$4M = _export; +var $$4Q = _export; var hasOwn$p = hasOwnProperty_1; var isSymbol$4 = isSymbol$7; var tryToString$5 = tryToString$7; @@ -1728,7 +1736,7 @@ var SymbolToStringRegistry = shared$3('symbol-to-string-registry'); // `Symbol.keyFor` method // https://tc39.es/ecma262/#sec-symbol.keyfor -$$4M({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { +$$4Q({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { keyFor: function keyFor(sym) { if (!isSymbol$4(sym)) throw TypeError(tryToString$5(sym) + ' is not a symbol'); if (hasOwn$p(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; @@ -1746,35 +1754,35 @@ var functionApply$1 = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIN return call$$.apply(apply$q, arguments); }); -var uncurryThis$1e = functionUncurryThis; +var uncurryThis$1f = functionUncurryThis; -var arraySlice$e = uncurryThis$1e([].slice); +var arraySlice$c = uncurryThis$1f([].slice); -var $$4L = _export; +var $$4P = _export; var getBuiltIn$D = getBuiltIn$L; var apply$p = functionApply$1; var call$_ = functionCall; -var uncurryThis$1d = functionUncurryThis; -var fails$19 = fails$1k; +var uncurryThis$1e = functionUncurryThis; +var fails$1b = fails$1m; var isArray$6 = isArray$8; var isCallable$r = isCallable$E; var isObject$v = isObject$C; var isSymbol$3 = isSymbol$7; -var arraySlice$d = arraySlice$e; +var arraySlice$b = arraySlice$c; var NATIVE_SYMBOL$2 = nativeSymbol; var $stringify = getBuiltIn$D('JSON', 'stringify'); -var exec$b = uncurryThis$1d(/./.exec); -var charAt$h = uncurryThis$1d(''.charAt); -var charCodeAt$5 = uncurryThis$1d(''.charCodeAt); -var replace$b = uncurryThis$1d(''.replace); -var numberToString$3 = uncurryThis$1d(1.0.toString); +var exec$b = uncurryThis$1e(/./.exec); +var charAt$h = uncurryThis$1e(''.charAt); +var charCodeAt$5 = uncurryThis$1e(''.charCodeAt); +var replace$b = uncurryThis$1e(''.replace); +var numberToString$3 = uncurryThis$1e(1.0.toString); var tester = /[\uD800-\uDFFF]/g; var low = /^[\uD800-\uDBFF]$/; var hi = /^[\uDC00-\uDFFF]$/; -var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$2 || fails$19(function () { +var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$2 || fails$1b(function () { var symbol = getBuiltIn$D('Symbol')(); // MS Edge converts symbol values to JSON as {} return $stringify([symbol]) != '[null]' @@ -1785,13 +1793,13 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$2 || fails$19(function () { }); // https://github.com/tc39/proposal-well-formed-stringify -var ILL_FORMED_UNICODE = fails$19(function () { +var ILL_FORMED_UNICODE = fails$1b(function () { return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' || $stringify('\uDEAD') !== '"\\udead"'; }); var stringifyWithSymbolsFix = function (it, replacer) { - var args = arraySlice$d(arguments); + var args = arraySlice$b(arguments); var $replacer = replacer; if (!isObject$v(replacer) && it === undefined || isSymbol$3(it)) return; // IE8 returns string on undefined if (!isArray$6(replacer)) replacer = function (key, value) { @@ -1813,39 +1821,39 @@ var fixIllFormed = function (match, offset, string) { if ($stringify) { // `JSON.stringify` method // https://tc39.es/ecma262/#sec-json.stringify - $$4L({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { + $$4P({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { // eslint-disable-next-line no-unused-vars -- required for `.length` stringify: function stringify(it, replacer, space) { - var args = arraySlice$d(arguments); + var args = arraySlice$b(arguments); var result = apply$p(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args); return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$b(result, tester, fixIllFormed) : result; } }); } -var $$4K = _export; +var $$4O = _export; var NATIVE_SYMBOL$1 = nativeSymbol; -var fails$18 = fails$1k; +var fails$1a = fails$1m; var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols; -var toObject$w = toObject$z; +var toObject$y = toObject$B; // V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives // https://bugs.chromium.org/p/v8/issues/detail?id=3443 -var FORCED$r = !NATIVE_SYMBOL$1 || fails$18(function () { getOwnPropertySymbolsModule$1.f(1); }); +var FORCED$r = !NATIVE_SYMBOL$1 || fails$1a(function () { getOwnPropertySymbolsModule$1.f(1); }); // `Object.getOwnPropertySymbols` method // https://tc39.es/ecma262/#sec-object.getownpropertysymbols -$$4K({ target: 'Object', stat: true, forced: FORCED$r }, { +$$4O({ target: 'Object', stat: true, forced: FORCED$r }, { getOwnPropertySymbols: function getOwnPropertySymbols(it) { var $getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f; - return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject$w(it)) : []; + return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject$y(it)) : []; } }); -var $$4J = _export; +var $$4N = _export; var DESCRIPTORS$z = descriptors; -var global$N = global$Z; -var uncurryThis$1c = functionUncurryThis; +var global$O = global$_; +var uncurryThis$1d = functionUncurryThis; var hasOwn$o = hasOwnProperty_1; var isCallable$q = isCallable$E; var isPrototypeOf$b = objectIsPrototypeOf; @@ -1853,7 +1861,7 @@ var toString$x = toString$z; var defineProperty$e = objectDefineProperty.f; var copyConstructorProperties$2 = copyConstructorProperties$4; -var NativeSymbol = global$N.Symbol; +var NativeSymbol = global$O.Symbol; var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; if (DESCRIPTORS$z && isCallable$q(NativeSymbol) && (!('description' in SymbolPrototype) || @@ -1877,11 +1885,11 @@ if (DESCRIPTORS$z && isCallable$q(NativeSymbol) && (!('description' in SymbolPro SymbolPrototype.constructor = SymbolWrapper; var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)'; - var symbolToString = uncurryThis$1c(SymbolPrototype.toString); - var symbolValueOf = uncurryThis$1c(SymbolPrototype.valueOf); + var symbolToString = uncurryThis$1d(SymbolPrototype.toString); + var symbolValueOf = uncurryThis$1d(SymbolPrototype.valueOf); var regexp = /^Symbol\((.*)\)[^)]+$/; - var replace$a = uncurryThis$1c(''.replace); - var stringSlice$g = uncurryThis$1c(''.slice); + var replace$a = uncurryThis$1d(''.replace); + var stringSlice$g = uncurryThis$1d(''.slice); defineProperty$e(SymbolPrototype, 'description', { configurable: true, @@ -1894,99 +1902,99 @@ if (DESCRIPTORS$z && isCallable$q(NativeSymbol) && (!('description' in SymbolPro } }); - $$4J({ global: true, constructor: true, forced: true }, { + $$4N({ global: true, constructor: true, forced: true }, { Symbol: SymbolWrapper }); } -var defineWellKnownSymbol$j = defineWellKnownSymbol$l; +var defineWellKnownSymbol$k = defineWellKnownSymbol$m; // `Symbol.asyncIterator` well-known symbol // https://tc39.es/ecma262/#sec-symbol.asynciterator -defineWellKnownSymbol$j('asyncIterator'); +defineWellKnownSymbol$k('asyncIterator'); -var defineWellKnownSymbol$i = defineWellKnownSymbol$l; +var defineWellKnownSymbol$j = defineWellKnownSymbol$m; // `Symbol.hasInstance` well-known symbol // https://tc39.es/ecma262/#sec-symbol.hasinstance -defineWellKnownSymbol$i('hasInstance'); +defineWellKnownSymbol$j('hasInstance'); -var defineWellKnownSymbol$h = defineWellKnownSymbol$l; +var defineWellKnownSymbol$i = defineWellKnownSymbol$m; // `Symbol.isConcatSpreadable` well-known symbol // https://tc39.es/ecma262/#sec-symbol.isconcatspreadable -defineWellKnownSymbol$h('isConcatSpreadable'); +defineWellKnownSymbol$i('isConcatSpreadable'); -var defineWellKnownSymbol$g = defineWellKnownSymbol$l; +var defineWellKnownSymbol$h = defineWellKnownSymbol$m; // `Symbol.iterator` well-known symbol // https://tc39.es/ecma262/#sec-symbol.iterator -defineWellKnownSymbol$g('iterator'); +defineWellKnownSymbol$h('iterator'); -var defineWellKnownSymbol$f = defineWellKnownSymbol$l; +var defineWellKnownSymbol$g = defineWellKnownSymbol$m; // `Symbol.match` well-known symbol // https://tc39.es/ecma262/#sec-symbol.match -defineWellKnownSymbol$f('match'); +defineWellKnownSymbol$g('match'); -var defineWellKnownSymbol$e = defineWellKnownSymbol$l; +var defineWellKnownSymbol$f = defineWellKnownSymbol$m; // `Symbol.matchAll` well-known symbol // https://tc39.es/ecma262/#sec-symbol.matchall -defineWellKnownSymbol$e('matchAll'); +defineWellKnownSymbol$f('matchAll'); -var defineWellKnownSymbol$d = defineWellKnownSymbol$l; +var defineWellKnownSymbol$e = defineWellKnownSymbol$m; // `Symbol.replace` well-known symbol // https://tc39.es/ecma262/#sec-symbol.replace -defineWellKnownSymbol$d('replace'); +defineWellKnownSymbol$e('replace'); -var defineWellKnownSymbol$c = defineWellKnownSymbol$l; +var defineWellKnownSymbol$d = defineWellKnownSymbol$m; // `Symbol.search` well-known symbol // https://tc39.es/ecma262/#sec-symbol.search -defineWellKnownSymbol$c('search'); +defineWellKnownSymbol$d('search'); -var defineWellKnownSymbol$b = defineWellKnownSymbol$l; +var defineWellKnownSymbol$c = defineWellKnownSymbol$m; // `Symbol.species` well-known symbol // https://tc39.es/ecma262/#sec-symbol.species -defineWellKnownSymbol$b('species'); +defineWellKnownSymbol$c('species'); -var defineWellKnownSymbol$a = defineWellKnownSymbol$l; +var defineWellKnownSymbol$b = defineWellKnownSymbol$m; // `Symbol.split` well-known symbol // https://tc39.es/ecma262/#sec-symbol.split -defineWellKnownSymbol$a('split'); +defineWellKnownSymbol$b('split'); -var defineWellKnownSymbol$9 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$a = defineWellKnownSymbol$m; var defineSymbolToPrimitive = symbolDefineToPrimitive; // `Symbol.toPrimitive` well-known symbol // https://tc39.es/ecma262/#sec-symbol.toprimitive -defineWellKnownSymbol$9('toPrimitive'); +defineWellKnownSymbol$a('toPrimitive'); // `Symbol.prototype[@@toPrimitive]` method // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive defineSymbolToPrimitive(); var getBuiltIn$C = getBuiltIn$L; -var defineWellKnownSymbol$8 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$9 = defineWellKnownSymbol$m; var setToStringTag$b = setToStringTag$d; // `Symbol.toStringTag` well-known symbol // https://tc39.es/ecma262/#sec-symbol.tostringtag -defineWellKnownSymbol$8('toStringTag'); +defineWellKnownSymbol$9('toStringTag'); // `Symbol.prototype[@@toStringTag]` property // https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag setToStringTag$b(getBuiltIn$C('Symbol'), 'Symbol'); -var defineWellKnownSymbol$7 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$8 = defineWellKnownSymbol$m; // `Symbol.unscopables` well-known symbol // https://tc39.es/ecma262/#sec-symbol.unscopables -defineWellKnownSymbol$7('unscopables'); +defineWellKnownSymbol$8('unscopables'); var isCallable$p = isCallable$E; @@ -2000,7 +2008,7 @@ var aPossiblePrototype$2 = function (argument) { /* eslint-disable no-proto -- safe */ -var uncurryThis$1b = functionUncurryThis; +var uncurryThis$1c = functionUncurryThis; var anObject$1A = anObject$1G; var aPossiblePrototype$1 = aPossiblePrototype$2; @@ -2014,7 +2022,7 @@ var objectSetPrototypeOf$1 = Object.setPrototypeOf || ('__proto__' in {} ? funct var setter; try { // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe - setter = uncurryThis$1b(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); + setter = uncurryThis$1c(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } @@ -2063,7 +2071,7 @@ var normalizeStringArgument$5 = function (argument, $default) { }; var isObject$t = isObject$C; -var createNonEnumerableProperty$f = createNonEnumerableProperty$j; +var createNonEnumerableProperty$f = createNonEnumerableProperty$i; // `InstallErrorCause` abstract operation // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause @@ -2073,10 +2081,10 @@ var installErrorCause$2 = function (O, options) { } }; -var uncurryThis$1a = functionUncurryThis; +var uncurryThis$1b = functionUncurryThis; var $Error$1 = Error; -var replace$9 = uncurryThis$1a(''.replace); +var replace$9 = uncurryThis$1b(''.replace); var TEST = (function (arg) { return String($Error$1(arg).stack); })('zxcasd'); var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; @@ -2088,10 +2096,10 @@ var clearErrorStack$4 = function (stack, dropEntries) { } return stack; }; -var fails$17 = fails$1k; +var fails$19 = fails$1m; var createPropertyDescriptor$7 = createPropertyDescriptor$c; -var errorStackInstallable = !fails$17(function () { +var errorStackInstallable = !fails$19(function () { var error = Error('a'); if (!('stack' in error)) return true; // eslint-disable-next-line es-x/no-object-defineproperty -- safe @@ -2101,7 +2109,7 @@ var errorStackInstallable = !fails$17(function () { var getBuiltIn$B = getBuiltIn$L; var hasOwn$n = hasOwnProperty_1; -var createNonEnumerableProperty$e = createNonEnumerableProperty$j; +var createNonEnumerableProperty$e = createNonEnumerableProperty$i; var isPrototypeOf$a = objectIsPrototypeOf; var setPrototypeOf$7 = objectSetPrototypeOf$1; var copyConstructorProperties$1 = copyConstructorProperties$4; @@ -2166,27 +2174,27 @@ var wrapErrorConstructorWithCause$2 = function (FULL_NAME, wrapper, FORCED, IS_A /* eslint-disable no-unused-vars -- required for functions `.length` */ -var $$4I = _export; -var global$M = global$Z; +var $$4M = _export; +var global$N = global$_; var apply$o = functionApply$1; var wrapErrorConstructorWithCause$1 = wrapErrorConstructorWithCause$2; var WEB_ASSEMBLY = 'WebAssembly'; -var WebAssembly$1 = global$M[WEB_ASSEMBLY]; +var WebAssembly$1 = global$N[WEB_ASSEMBLY]; var FORCED$q = Error('e', { cause: 7 }).cause !== 7; var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { var O = {}; O[ERROR_NAME] = wrapErrorConstructorWithCause$1(ERROR_NAME, wrapper, FORCED$q); - $$4I({ global: true, constructor: true, arity: 1, forced: FORCED$q }, O); + $$4M({ global: true, constructor: true, arity: 1, forced: FORCED$q }, O); }; var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { if (WebAssembly$1 && WebAssembly$1[ERROR_NAME]) { var O = {}; O[ERROR_NAME] = wrapErrorConstructorWithCause$1(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$q); - $$4I({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$q }, O); + $$4M({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$q }, O); } }; @@ -2223,14 +2231,14 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { }); var DESCRIPTORS$x = descriptors; -var fails$16 = fails$1k; +var fails$18 = fails$1m; var anObject$1z = anObject$1G; var create$f = objectCreate$1; var normalizeStringArgument$3 = normalizeStringArgument$5; var nativeErrorToString = Error.prototype.toString; -var INCORRECT_TO_STRING$1 = fails$16(function () { +var INCORRECT_TO_STRING$1 = fails$18(function () { if (DESCRIPTORS$x) { // Chrome 32- incorrectly call accessor // eslint-disable-next-line es-x/no-object-defineproperty -- safe @@ -2263,9 +2271,9 @@ if (ErrorPrototype$1.toString !== errorToString$1) { defineBuiltIn$l(ErrorPrototype$1, 'toString', errorToString$1); } -var fails$15 = fails$1k; +var fails$17 = fails$1m; -var correctPrototypeGetter = !fails$15(function () { +var correctPrototypeGetter = !fails$17(function () { function F() { /* empty */ } F.prototype.constructor = null; // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing @@ -2274,7 +2282,7 @@ var correctPrototypeGetter = !fails$15(function () { var hasOwn$m = hasOwnProperty_1; var isCallable$n = isCallable$E; -var toObject$v = toObject$z; +var toObject$x = toObject$B; var sharedKey = sharedKey$4; var CORRECT_PROTOTYPE_GETTER$2 = correctPrototypeGetter; @@ -2286,7 +2294,7 @@ var ObjectPrototype$3 = $Object$2.prototype; // https://tc39.es/ecma262/#sec-object.getprototypeof // eslint-disable-next-line es-x/no-object-getprototypeof -- safe var objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER$2 ? $Object$2.getPrototypeOf : function (O) { - var object = toObject$v(O); + var object = toObject$x(O); if (hasOwn$m(object, IE_PROTO)) return object[IE_PROTO]; var constructor = object.constructor; if (isCallable$n(constructor) && object instanceof constructor) { @@ -2307,7 +2315,7 @@ var isArrayIteratorMethod$3 = function (it) { return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$2[ITERATOR$a] === it); }; -var classof$f = classof$k; +var classof$g = classof$l; var getMethod$g = getMethod$i; var Iterators$3 = iterators; var wellKnownSymbol$A = wellKnownSymbol$K; @@ -2317,7 +2325,7 @@ var ITERATOR$9 = wellKnownSymbol$A('iterator'); var getIteratorMethod$9 = function (it) { if (it != undefined) return getMethod$g(it, ITERATOR$9) || getMethod$g(it, '@@iterator') - || Iterators$3[classof$f(it)]; + || Iterators$3[classof$g(it)]; }; var call$Z = functionCall; @@ -2363,7 +2371,7 @@ var call$X = functionCall; var anObject$1w = anObject$1G; var tryToString$3 = tryToString$7; var isArrayIteratorMethod$2 = isArrayIteratorMethod$3; -var lengthOfArrayLike$t = lengthOfArrayLike$x; +var lengthOfArrayLike$w = lengthOfArrayLike$A; var isPrototypeOf$9 = objectIsPrototypeOf; var getIterator$a = getIterator$b; var getIteratorMethod$7 = getIteratorMethod$9; @@ -2405,7 +2413,7 @@ var iterate$J = function (iterable, unboundFunction, options) { if (!iterFn) throw $TypeError$r(tryToString$3(iterable) + ' is not iterable'); // optimisation for array iterators if (isArrayIteratorMethod$2(iterFn)) { - for (index = 0, length = lengthOfArrayLike$t(iterable); length > index; index++) { + for (index = 0, length = lengthOfArrayLike$w(iterable); length > index; index++) { result = callFn(iterable[index]); if (result && isPrototypeOf$9(ResultPrototype, result)) return result; } return new Result(false); @@ -2424,13 +2432,13 @@ var iterate$J = function (iterable, unboundFunction, options) { } return new Result(false); }; -var $$4H = _export; +var $$4L = _export; var isPrototypeOf$8 = objectIsPrototypeOf; var getPrototypeOf$d = objectGetPrototypeOf$1; var setPrototypeOf$6 = objectSetPrototypeOf$1; var copyConstructorProperties = copyConstructorProperties$4; var create$e = objectCreate$1; -var createNonEnumerableProperty$d = createNonEnumerableProperty$j; +var createNonEnumerableProperty$d = createNonEnumerableProperty$i; var createPropertyDescriptor$6 = createPropertyDescriptor$c; var clearErrorStack$2 = clearErrorStack$4; var installErrorCause = installErrorCause$2; @@ -2473,26 +2481,26 @@ var AggregateErrorPrototype = $AggregateError$1.prototype = create$e($Error.prot // `AggregateError` constructor // https://tc39.es/ecma262/#sec-aggregate-error-constructor -$$4H({ global: true, constructor: true, arity: 2 }, { +$$4L({ global: true, constructor: true, arity: 2 }, { AggregateError: $AggregateError$1 }); -var $$4G = _export; +var $$4K = _export; var getBuiltIn$A = getBuiltIn$L; var apply$n = functionApply$1; -var fails$14 = fails$1k; +var fails$16 = fails$1m; var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$2; var AGGREGATE_ERROR = 'AggregateError'; var $AggregateError = getBuiltIn$A(AGGREGATE_ERROR); -var FORCED$p = !fails$14(function () { +var FORCED$p = !fails$16(function () { return $AggregateError([1]).errors[0] !== 1; -}) && fails$14(function () { +}) && fails$16(function () { return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; }); // https://github.com/tc39/proposal-error-cause -$$4G({ global: true, constructor: true, arity: 2, forced: FORCED$p }, { +$$4K({ global: true, constructor: true, arity: 2, forced: FORCED$p }, { AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { // eslint-disable-next-line no-unused-vars -- required for functions `.length` return function AggregateError(errors, message) { return apply$n(init, this, arguments); }; @@ -2516,39 +2524,39 @@ if (ArrayPrototype$1[UNSCOPABLES] == undefined) { } // add a key to Array.prototype[@@unscopables] -var addToUnscopables$l = function (key) { +var addToUnscopables$n = function (key) { ArrayPrototype$1[UNSCOPABLES][key] = true; }; -var $$4F = _export; -var toObject$u = toObject$z; -var lengthOfArrayLike$s = lengthOfArrayLike$x; -var toIntegerOrInfinity$j = toIntegerOrInfinity$m; -var addToUnscopables$k = addToUnscopables$l; +var $$4J = _export; +var toObject$w = toObject$B; +var lengthOfArrayLike$v = lengthOfArrayLike$A; +var toIntegerOrInfinity$l = toIntegerOrInfinity$o; +var addToUnscopables$m = addToUnscopables$n; // `Array.prototype.at` method // https://github.com/tc39/proposal-relative-indexing-method -$$4F({ target: 'Array', proto: true }, { +$$4J({ target: 'Array', proto: true }, { at: function at(index) { - var O = toObject$u(this); - var len = lengthOfArrayLike$s(O); - var relativeIndex = toIntegerOrInfinity$j(index); + var O = toObject$w(this); + var len = lengthOfArrayLike$v(O); + var relativeIndex = toIntegerOrInfinity$l(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; return (k < 0 || k >= len) ? undefined : O[k]; } }); -addToUnscopables$k('at'); +addToUnscopables$m('at'); var $TypeError$q = TypeError; var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 -var doesNotExceedSafeInteger$5 = function (it) { +var doesNotExceedSafeInteger$7 = function (it) { if (it > MAX_SAFE_INTEGER) throw $TypeError$q('Maximum allowed index exceeded'); return it; }; -var fails$13 = fails$1k; +var fails$15 = fails$1m; var wellKnownSymbol$x = wellKnownSymbol$K; var V8_VERSION$2 = engineV8Version; @@ -2558,7 +2566,7 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) { // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$2 >= 51 || !fails$13(function () { + return V8_VERSION$2 >= 51 || !fails$15(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES$5] = function () { @@ -2568,13 +2576,13 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) { }); }; -var $$4E = _export; -var fails$12 = fails$1k; +var $$4I = _export; +var fails$14 = fails$1m; var isArray$5 = isArray$8; var isObject$s = isObject$C; -var toObject$t = toObject$z; -var lengthOfArrayLike$r = lengthOfArrayLike$x; -var doesNotExceedSafeInteger$4 = doesNotExceedSafeInteger$5; +var toObject$v = toObject$B; +var lengthOfArrayLike$u = lengthOfArrayLike$A; +var doesNotExceedSafeInteger$6 = doesNotExceedSafeInteger$7; var createProperty$7 = createProperty$9; var arraySpeciesCreate$4 = arraySpeciesCreate$6; var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5; @@ -2586,7 +2594,7 @@ var IS_CONCAT_SPREADABLE = wellKnownSymbol$w('isConcatSpreadable'); // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 -var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$12(function () { +var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$14(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; @@ -2605,21 +2613,21 @@ var FORCED$o = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; // `Array.prototype.concat` method // https://tc39.es/ecma262/#sec-array.prototype.concat // with adding support of @@isConcatSpreadable and @@species -$$4E({ target: 'Array', proto: true, arity: 1, forced: FORCED$o }, { +$$4I({ target: 'Array', proto: true, arity: 1, forced: FORCED$o }, { // eslint-disable-next-line no-unused-vars -- required for `.length` concat: function concat(arg) { - var O = toObject$t(this); + var O = toObject$v(this); var A = arraySpeciesCreate$4(O, 0); var n = 0; var i, k, length, len, E; for (i = -1, length = arguments.length; i < length; i++) { E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { - len = lengthOfArrayLike$r(E); - doesNotExceedSafeInteger$4(n + len); + len = lengthOfArrayLike$u(E); + doesNotExceedSafeInteger$6(n + len); for (k = 0; k < len; k++, n++) if (k in E) createProperty$7(A, n, E[k]); } else { - doesNotExceedSafeInteger$4(n + 1); + doesNotExceedSafeInteger$6(n + 1); createProperty$7(A, n++, E); } } @@ -2632,27 +2640,27 @@ var tryToString$2 = tryToString$7; var $TypeError$p = TypeError; -var deletePropertyOrThrow$3 = function (O, P) { +var deletePropertyOrThrow$4 = function (O, P) { if (!delete O[P]) throw $TypeError$p('Cannot delete property ' + tryToString$2(P) + ' of ' + tryToString$2(O)); }; -var toObject$s = toObject$z; -var toAbsoluteIndex$7 = toAbsoluteIndex$a; -var lengthOfArrayLike$q = lengthOfArrayLike$x; -var deletePropertyOrThrow$2 = deletePropertyOrThrow$3; +var toObject$u = toObject$B; +var toAbsoluteIndex$8 = toAbsoluteIndex$b; +var lengthOfArrayLike$t = lengthOfArrayLike$A; +var deletePropertyOrThrow$3 = deletePropertyOrThrow$4; -var min$9 = Math.min; +var min$a = Math.min; // `Array.prototype.copyWithin` method implementation // https://tc39.es/ecma262/#sec-array.prototype.copywithin // eslint-disable-next-line es-x/no-array-prototype-copywithin -- safe var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject$s(this); - var len = lengthOfArrayLike$q(O); - var to = toAbsoluteIndex$7(target, len); - var from = toAbsoluteIndex$7(start, len); + var O = toObject$u(this); + var len = lengthOfArrayLike$t(O); + var to = toAbsoluteIndex$8(target, len); + var from = toAbsoluteIndex$8(start, len); var end = arguments.length > 2 ? arguments[2] : undefined; - var count = min$9((end === undefined ? len : toAbsoluteIndex$7(end, len)) - from, len - to); + var count = min$a((end === undefined ? len : toAbsoluteIndex$8(end, len)) - from, len - to); var inc = 1; if (from < to && to < from + count) { inc = -1; @@ -2661,36 +2669,36 @@ var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, sta } while (count-- > 0) { if (from in O) O[to] = O[from]; - else deletePropertyOrThrow$2(O, to); + else deletePropertyOrThrow$3(O, to); to += inc; from += inc; } return O; }; -var $$4D = _export; +var $$4H = _export; var copyWithin = arrayCopyWithin; -var addToUnscopables$j = addToUnscopables$l; +var addToUnscopables$l = addToUnscopables$n; // `Array.prototype.copyWithin` method // https://tc39.es/ecma262/#sec-array.prototype.copywithin -$$4D({ target: 'Array', proto: true }, { +$$4H({ target: 'Array', proto: true }, { copyWithin: copyWithin }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables$j('copyWithin'); +addToUnscopables$l('copyWithin'); -var fails$11 = fails$1k; +var fails$13 = fails$1m; var arrayMethodIsStrict$b = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; - return !!method && fails$11(function () { + return !!method && fails$13(function () { // eslint-disable-next-line no-useless-call -- required for testing method.call(null, argument || function () { return 1; }, 1); }); }; -var $$4C = _export; +var $$4G = _export; var $every$2 = arrayIteration.every; var arrayMethodIsStrict$a = arrayMethodIsStrict$b; @@ -2698,43 +2706,43 @@ var STRICT_METHOD$8 = arrayMethodIsStrict$a('every'); // `Array.prototype.every` method // https://tc39.es/ecma262/#sec-array.prototype.every -$$4C({ target: 'Array', proto: true, forced: !STRICT_METHOD$8 }, { +$$4G({ target: 'Array', proto: true, forced: !STRICT_METHOD$8 }, { every: function every(callbackfn /* , thisArg */) { return $every$2(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); -var toObject$r = toObject$z; -var toAbsoluteIndex$6 = toAbsoluteIndex$a; -var lengthOfArrayLike$p = lengthOfArrayLike$x; +var toObject$t = toObject$B; +var toAbsoluteIndex$7 = toAbsoluteIndex$b; +var lengthOfArrayLike$s = lengthOfArrayLike$A; // `Array.prototype.fill` method implementation // https://tc39.es/ecma262/#sec-array.prototype.fill var arrayFill$1 = function fill(value /* , start = 0, end = @length */) { - var O = toObject$r(this); - var length = lengthOfArrayLike$p(O); + var O = toObject$t(this); + var length = lengthOfArrayLike$s(O); var argumentsLength = arguments.length; - var index = toAbsoluteIndex$6(argumentsLength > 1 ? arguments[1] : undefined, length); + var index = toAbsoluteIndex$7(argumentsLength > 1 ? arguments[1] : undefined, length); var end = argumentsLength > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex$6(end, length); + var endPos = end === undefined ? length : toAbsoluteIndex$7(end, length); while (endPos > index) O[index++] = value; return O; }; -var $$4B = _export; +var $$4F = _export; var fill$1 = arrayFill$1; -var addToUnscopables$i = addToUnscopables$l; +var addToUnscopables$k = addToUnscopables$n; // `Array.prototype.fill` method // https://tc39.es/ecma262/#sec-array.prototype.fill -$$4B({ target: 'Array', proto: true }, { +$$4F({ target: 'Array', proto: true }, { fill: fill$1 }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables$i('fill'); +addToUnscopables$k('fill'); -var $$4A = _export; +var $$4E = _export; var $filter$1 = arrayIteration.filter; var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5; @@ -2743,15 +2751,15 @@ var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('filter'); // `Array.prototype.filter` method // https://tc39.es/ecma262/#sec-array.prototype.filter // with adding support of @@species -$$4A({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, { +$$4E({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, { filter: function filter(callbackfn /* , thisArg */) { return $filter$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); -var $$4z = _export; +var $$4D = _export; var $find$2 = arrayIteration.find; -var addToUnscopables$h = addToUnscopables$l; +var addToUnscopables$j = addToUnscopables$n; var FIND = 'find'; var SKIPS_HOLES$1 = true; @@ -2761,18 +2769,18 @@ if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES$1 = false; }); // `Array.prototype.find` method // https://tc39.es/ecma262/#sec-array.prototype.find -$$4z({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, { +$$4D({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, { find: function find(callbackfn /* , that = undefined */) { return $find$2(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables$h(FIND); +addToUnscopables$j(FIND); -var $$4y = _export; +var $$4C = _export; var $findIndex$1 = arrayIteration.findIndex; -var addToUnscopables$g = addToUnscopables$l; +var addToUnscopables$i = addToUnscopables$n; var FIND_INDEX = 'findIndex'; var SKIPS_HOLES = true; @@ -2782,26 +2790,89 @@ if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }) // `Array.prototype.findIndex` method // https://tc39.es/ecma262/#sec-array.prototype.findindex -$$4y({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { +$$4C({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { findIndex: function findIndex(callbackfn /* , that = undefined */) { return $findIndex$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -addToUnscopables$g(FIND_INDEX); +addToUnscopables$i(FIND_INDEX); -var isArray$4 = isArray$8; -var lengthOfArrayLike$o = lengthOfArrayLike$x; -var doesNotExceedSafeInteger$3 = doesNotExceedSafeInteger$5; var bind$r = functionBindContext; +var IndexedObject$5 = indexedObject; +var toObject$s = toObject$B; +var lengthOfArrayLike$r = lengthOfArrayLike$A; + +// `Array.prototype.{ findLast, findLastIndex }` methods implementation +var createMethod$6 = function (TYPE) { + var IS_FIND_LAST_INDEX = TYPE == 1; + return function ($this, callbackfn, that) { + var O = toObject$s($this); + var self = IndexedObject$5(O); + var boundFunction = bind$r(callbackfn, that); + var index = lengthOfArrayLike$r(self); + var value, result; + while (index-- > 0) { + value = self[index]; + result = boundFunction(value, index, O); + if (result) switch (TYPE) { + case 0: return value; // findLast + case 1: return index; // findLastIndex + } + } + return IS_FIND_LAST_INDEX ? -1 : undefined; + }; +}; + +var arrayIterationFromLast = { + // `Array.prototype.findLast` method + // https://github.com/tc39/proposal-array-find-from-last + findLast: createMethod$6(0), + // `Array.prototype.findLastIndex` method + // https://github.com/tc39/proposal-array-find-from-last + findLastIndex: createMethod$6(1) +}; + +var $$4B = _export; +var $findLast$1 = arrayIterationFromLast.findLast; +var addToUnscopables$h = addToUnscopables$n; + +// `Array.prototype.findLast` method +// https://github.com/tc39/proposal-array-find-from-last +$$4B({ target: 'Array', proto: true }, { + findLast: function findLast(callbackfn /* , that = undefined */) { + return $findLast$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables$h('findLast'); + +var $$4A = _export; +var $findLastIndex$1 = arrayIterationFromLast.findLastIndex; +var addToUnscopables$g = addToUnscopables$n; + +// `Array.prototype.findLastIndex` method +// https://github.com/tc39/proposal-array-find-from-last +$$4A({ target: 'Array', proto: true }, { + findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) { + return $findLastIndex$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } +}); + +addToUnscopables$g('findLastIndex'); + +var isArray$4 = isArray$8; +var lengthOfArrayLike$q = lengthOfArrayLike$A; +var doesNotExceedSafeInteger$5 = doesNotExceedSafeInteger$7; +var bind$q = functionBindContext; // `FlattenIntoArray` abstract operation // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var flattenIntoArray$2 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; - var mapFn = mapper ? bind$r(mapper, thisArg) : false; + var mapFn = mapper ? bind$q(mapper, thisArg) : false; var element, elementLen; while (sourceIndex < sourceLen) { @@ -2809,10 +2880,10 @@ var flattenIntoArray$2 = function (target, original, source, sourceLen, start, d element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; if (depth > 0 && isArray$4(element)) { - elementLen = lengthOfArrayLike$o(element); + elementLen = lengthOfArrayLike$q(element); targetIndex = flattenIntoArray$2(target, original, element, elementLen, targetIndex, depth - 1) - 1; } else { - doesNotExceedSafeInteger$3(targetIndex + 1); + doesNotExceedSafeInteger$5(targetIndex + 1); target[targetIndex] = element; } @@ -2825,39 +2896,39 @@ var flattenIntoArray$2 = function (target, original, source, sourceLen, start, d var flattenIntoArray_1 = flattenIntoArray$2; -var $$4x = _export; +var $$4z = _export; var flattenIntoArray$1 = flattenIntoArray_1; -var toObject$q = toObject$z; -var lengthOfArrayLike$n = lengthOfArrayLike$x; -var toIntegerOrInfinity$i = toIntegerOrInfinity$m; +var toObject$r = toObject$B; +var lengthOfArrayLike$p = lengthOfArrayLike$A; +var toIntegerOrInfinity$k = toIntegerOrInfinity$o; var arraySpeciesCreate$3 = arraySpeciesCreate$6; // `Array.prototype.flat` method // https://tc39.es/ecma262/#sec-array.prototype.flat -$$4x({ target: 'Array', proto: true }, { +$$4z({ target: 'Array', proto: true }, { flat: function flat(/* depthArg = 1 */) { var depthArg = arguments.length ? arguments[0] : undefined; - var O = toObject$q(this); - var sourceLen = lengthOfArrayLike$n(O); + var O = toObject$r(this); + var sourceLen = lengthOfArrayLike$p(O); var A = arraySpeciesCreate$3(O, 0); - A.length = flattenIntoArray$1(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity$i(depthArg)); + A.length = flattenIntoArray$1(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity$k(depthArg)); return A; } }); -var $$4w = _export; +var $$4y = _export; var flattenIntoArray = flattenIntoArray_1; var aCallable$U = aCallable$Y; -var toObject$p = toObject$z; -var lengthOfArrayLike$m = lengthOfArrayLike$x; +var toObject$q = toObject$B; +var lengthOfArrayLike$o = lengthOfArrayLike$A; var arraySpeciesCreate$2 = arraySpeciesCreate$6; // `Array.prototype.flatMap` method // https://tc39.es/ecma262/#sec-array.prototype.flatmap -$$4w({ target: 'Array', proto: true }, { +$$4y({ target: 'Array', proto: true }, { flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject$p(this); - var sourceLen = lengthOfArrayLike$m(O); + var O = toObject$q(this); + var sourceLen = lengthOfArrayLike$o(O); var A; aCallable$U(callbackfn); A = arraySpeciesCreate$2(O, 0); @@ -2878,13 +2949,13 @@ var arrayForEach = !STRICT_METHOD$7 ? function forEach(callbackfn /* , thisArg * // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe } : [].forEach; -var $$4v = _export; +var $$4x = _export; var forEach$2 = arrayForEach; // `Array.prototype.forEach` method // https://tc39.es/ecma262/#sec-array.prototype.foreach // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe -$$4v({ target: 'Array', proto: true, forced: [].forEach != forEach$2 }, { +$$4x({ target: 'Array', proto: true, forced: [].forEach != forEach$2 }, { forEach: forEach$2 }); @@ -2900,13 +2971,13 @@ var callWithSafeIterationClosing$3 = function (iterator, fn, value, ENTRIES) { } }; -var bind$q = functionBindContext; +var bind$p = functionBindContext; var call$W = functionCall; -var toObject$o = toObject$z; +var toObject$p = toObject$B; var callWithSafeIterationClosing$2 = callWithSafeIterationClosing$3; var isArrayIteratorMethod$1 = isArrayIteratorMethod$3; var isConstructor$8 = isConstructor$a; -var lengthOfArrayLike$l = lengthOfArrayLike$x; +var lengthOfArrayLike$n = lengthOfArrayLike$A; var createProperty$6 = createProperty$9; var getIterator$9 = getIterator$b; var getIteratorMethod$6 = getIteratorMethod$9; @@ -2916,12 +2987,12 @@ var $Array$8 = Array; // `Array.from` method implementation // https://tc39.es/ecma262/#sec-array.from var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject$o(arrayLike); + var O = toObject$p(arrayLike); var IS_CONSTRUCTOR = isConstructor$8(this); var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; - if (mapping) mapfn = bind$q(mapfn, argumentsLength > 2 ? arguments[2] : undefined); + if (mapping) mapfn = bind$p(mapfn, argumentsLength > 2 ? arguments[2] : undefined); var iteratorMethod = getIteratorMethod$6(O); var index = 0; var length, result, step, iterator, next, value; @@ -2935,7 +3006,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde createProperty$6(result, index, value); } } else { - length = lengthOfArrayLike$l(O); + length = lengthOfArrayLike$n(O); result = IS_CONSTRUCTOR ? new this(length) : $Array$8(length); for (;length > index; index++) { value = mapping ? mapfn(O[index], index) : O[index]; @@ -2985,7 +3056,7 @@ var checkCorrectnessOfIteration$4 = function (exec, SKIP_CLOSING) { return ITERATION_SUPPORT; }; -var $$4u = _export; +var $$4w = _export; var from$4 = arrayFrom$1; var checkCorrectnessOfIteration$3 = checkCorrectnessOfIteration$4; @@ -2996,23 +3067,23 @@ var INCORRECT_ITERATION = !checkCorrectnessOfIteration$3(function (iterable) { // `Array.from` method // https://tc39.es/ecma262/#sec-array.from -$$4u({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { +$$4w({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { from: from$4 }); -var $$4t = _export; +var $$4v = _export; var $includes$1 = arrayIncludes.includes; -var fails$10 = fails$1k; -var addToUnscopables$f = addToUnscopables$l; +var fails$12 = fails$1m; +var addToUnscopables$f = addToUnscopables$n; // FF99+ bug -var BROKEN_ON_SPARSE = fails$10(function () { +var BROKEN_ON_SPARSE = fails$12(function () { return !Array(1).includes(); }); // `Array.prototype.includes` method // https://tc39.es/ecma262/#sec-array.prototype.includes -$$4t({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { +$$4v({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { includes: function includes(el /* , fromIndex = 0 */) { return $includes$1(this, el, arguments.length > 1 ? arguments[1] : undefined); } @@ -3022,19 +3093,19 @@ $$4t({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { addToUnscopables$f('includes'); /* eslint-disable es-x/no-array-prototype-indexof -- required for testing */ -var $$4s = _export; -var uncurryThis$19 = functionUncurryThis; +var $$4u = _export; +var uncurryThis$1a = functionUncurryThis; var $IndexOf = arrayIncludes.indexOf; var arrayMethodIsStrict$8 = arrayMethodIsStrict$b; -var un$IndexOf = uncurryThis$19([].indexOf); +var un$IndexOf = uncurryThis$1a([].indexOf); var NEGATIVE_ZERO$1 = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0; var STRICT_METHOD$6 = arrayMethodIsStrict$8('indexOf'); // `Array.prototype.indexOf` method // https://tc39.es/ecma262/#sec-array.prototype.indexof -$$4s({ target: 'Array', proto: true, forced: NEGATIVE_ZERO$1 || !STRICT_METHOD$6 }, { +$$4u({ target: 'Array', proto: true, forced: NEGATIVE_ZERO$1 || !STRICT_METHOD$6 }, { indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { var fromIndex = arguments.length > 1 ? arguments[1] : undefined; return NEGATIVE_ZERO$1 @@ -3044,16 +3115,16 @@ $$4s({ target: 'Array', proto: true, forced: NEGATIVE_ZERO$1 || !STRICT_METHOD$6 } }); -var $$4r = _export; +var $$4t = _export; var isArray$3 = isArray$8; // `Array.isArray` method // https://tc39.es/ecma262/#sec-array.isarray -$$4r({ target: 'Array', stat: true }, { +$$4t({ target: 'Array', stat: true }, { isArray: isArray$3 }); -var fails$$ = fails$1k; +var fails$11 = fails$1m; var isCallable$m = isCallable$E; var getPrototypeOf$c = objectGetPrototypeOf$1; var defineBuiltIn$k = defineBuiltIn$p; @@ -3077,7 +3148,7 @@ if ([].keys) { } } -var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$5 == undefined || fails$$(function () { +var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$5 == undefined || fails$11(function () { var test = {}; // FF44- legacy iterators case return IteratorPrototype$5[ITERATOR$7].call(test) !== test; @@ -3114,7 +3185,7 @@ var createIteratorConstructor$7 = function (IteratorConstructor, NAME, next, ENU return IteratorConstructor; }; -var $$4q = _export; +var $$4s = _export; var call$V = functionCall; var FunctionName$1 = functionName; var isCallable$l = isCallable$E; @@ -3122,7 +3193,7 @@ var createIteratorConstructor$6 = createIteratorConstructor$7; var getPrototypeOf$b = objectGetPrototypeOf$1; var setPrototypeOf$5 = objectSetPrototypeOf$1; var setToStringTag$9 = setToStringTag$d; -var createNonEnumerableProperty$c = createNonEnumerableProperty$j; +var createNonEnumerableProperty$c = createNonEnumerableProperty$i; var defineBuiltIn$j = defineBuiltIn$p; var wellKnownSymbol$t = wellKnownSymbol$K; var Iterators$1 = iterators; @@ -3199,7 +3270,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { defineBuiltIn$j(IterablePrototype, KEY, methods[KEY]); } - } else $$4q({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } else $$4s({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); } // define iterator @@ -3212,16 +3283,16 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA }; var toIndexedObject$d = toIndexedObject$k; -var addToUnscopables$e = addToUnscopables$l; +var addToUnscopables$e = addToUnscopables$n; var Iterators = iterators; -var InternalStateModule$i = internalState; +var InternalStateModule$j = internalState; var defineProperty$b = objectDefineProperty.f; var defineIterator$2 = defineIterator$3; var DESCRIPTORS$w = descriptors; var ARRAY_ITERATOR = 'Array Iterator'; -var setInternalState$i = InternalStateModule$i.set; -var getInternalState$f = InternalStateModule$i.getterFor(ARRAY_ITERATOR); +var setInternalState$i = InternalStateModule$j.set; +var getInternalState$g = InternalStateModule$j.getterFor(ARRAY_ITERATOR); // `Array.prototype.entries` method // https://tc39.es/ecma262/#sec-array.prototype.entries @@ -3243,7 +3314,7 @@ var es_array_iterator = defineIterator$2(Array, 'Array', function (iterated, kin // `%ArrayIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next }, function () { - var state = getInternalState$f(this); + var state = getInternalState$g(this); var target = state.target; var kind = state.kind; var index = state.index++; @@ -3271,20 +3342,20 @@ if (DESCRIPTORS$w && values.name !== 'values') try { defineProperty$b(values, 'name', { value: 'values' }); } catch (error) { /* empty */ } -var $$4p = _export; -var uncurryThis$18 = functionUncurryThis; -var IndexedObject$5 = indexedObject; +var $$4r = _export; +var uncurryThis$19 = functionUncurryThis; +var IndexedObject$4 = indexedObject; var toIndexedObject$c = toIndexedObject$k; var arrayMethodIsStrict$7 = arrayMethodIsStrict$b; -var un$Join = uncurryThis$18([].join); +var un$Join = uncurryThis$19([].join); -var ES3_STRINGS = IndexedObject$5 != Object; +var ES3_STRINGS = IndexedObject$4 != Object; var STRICT_METHOD$5 = arrayMethodIsStrict$7('join', ','); // `Array.prototype.join` method // https://tc39.es/ecma262/#sec-array.prototype.join -$$4p({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$5 }, { +$$4r({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$5 }, { join: function join(separator) { return un$Join(toIndexedObject$c(this), separator === undefined ? ',' : separator); } @@ -3293,11 +3364,11 @@ $$4p({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$5 }, /* eslint-disable es-x/no-array-prototype-lastindexof -- safe */ var apply$m = functionApply$1; var toIndexedObject$b = toIndexedObject$k; -var toIntegerOrInfinity$h = toIntegerOrInfinity$m; -var lengthOfArrayLike$k = lengthOfArrayLike$x; +var toIntegerOrInfinity$j = toIntegerOrInfinity$o; +var lengthOfArrayLike$m = lengthOfArrayLike$A; var arrayMethodIsStrict$6 = arrayMethodIsStrict$b; -var min$8 = Math.min; +var min$9 = Math.min; var $lastIndexOf$1 = [].lastIndexOf; var NEGATIVE_ZERO = !!$lastIndexOf$1 && 1 / [1].lastIndexOf(1, -0) < 0; var STRICT_METHOD$4 = arrayMethodIsStrict$6('lastIndexOf'); @@ -3309,25 +3380,25 @@ var arrayLastIndexOf = FORCED$n ? function lastIndexOf(searchElement /* , fromIn // convert -0 to +0 if (NEGATIVE_ZERO) return apply$m($lastIndexOf$1, this, arguments) || 0; var O = toIndexedObject$b(this); - var length = lengthOfArrayLike$k(O); + var length = lengthOfArrayLike$m(O); var index = length - 1; - if (arguments.length > 1) index = min$8(index, toIntegerOrInfinity$h(arguments[1])); + if (arguments.length > 1) index = min$9(index, toIntegerOrInfinity$j(arguments[1])); if (index < 0) index = length + index; for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; return -1; } : $lastIndexOf$1; -var $$4o = _export; +var $$4q = _export; var lastIndexOf = arrayLastIndexOf; // `Array.prototype.lastIndexOf` method // https://tc39.es/ecma262/#sec-array.prototype.lastindexof // eslint-disable-next-line es-x/no-array-prototype-lastindexof -- required for testing -$$4o({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { +$$4q({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { lastIndexOf: lastIndexOf }); -var $$4n = _export; +var $$4p = _export; var $map$1 = arrayIteration.map; var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5; @@ -3336,20 +3407,20 @@ var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map'); // `Array.prototype.map` method // https://tc39.es/ecma262/#sec-array.prototype.map // with adding support of @@species -$$4n({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { +$$4p({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { map: function map(callbackfn /* , thisArg */) { return $map$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); -var $$4m = _export; -var fails$_ = fails$1k; +var $$4o = _export; +var fails$10 = fails$1m; var isConstructor$7 = isConstructor$a; var createProperty$5 = createProperty$9; var $Array$7 = Array; -var ISNT_GENERIC = fails$_(function () { +var ISNT_GENERIC = fails$10(function () { function F() { /* empty */ } // eslint-disable-next-line es-x/no-array-of -- safe return !($Array$7.of.call(F) instanceof F); @@ -3358,7 +3429,7 @@ var ISNT_GENERIC = fails$_(function () { // `Array.of` method // https://tc39.es/ecma262/#sec-array.of // WebKit Array.of isn't generic -$$4m({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { +$$4o({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { of: function of(/* ...args */) { var index = 0; var argumentsLength = arguments.length; @@ -3369,20 +3440,59 @@ $$4m({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { } }); +var $$4n = _export; +var toObject$o = toObject$B; +var lengthOfArrayLike$l = lengthOfArrayLike$A; +var doesNotExceedSafeInteger$4 = doesNotExceedSafeInteger$7; +var fails$$ = fails$1m; + +var INCORRECT_TO_LENGTH = fails$$(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; +}); + +// V8 and Safari <= 15.4, FF < 23 throws InternalError +// https://bugs.chromium.org/p/v8/issues/detail?id=12681 +var SILENT_ON_NON_WRITABLE_LENGTH$1 = !function () { + try { + // eslint-disable-next-line es-x/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } +}(); + +// `Array.prototype.push` method +// https://tc39.es/ecma262/#sec-array.prototype.push +$$4n({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH$1 }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject$o(this); + var len = lengthOfArrayLike$l(O); + var argCount = arguments.length; + doesNotExceedSafeInteger$4(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + O.length = len; + return len; + } +}); + var aCallable$T = aCallable$Y; -var toObject$n = toObject$z; -var IndexedObject$4 = indexedObject; -var lengthOfArrayLike$j = lengthOfArrayLike$x; +var toObject$n = toObject$B; +var IndexedObject$3 = indexedObject; +var lengthOfArrayLike$k = lengthOfArrayLike$A; var $TypeError$o = TypeError; // `Array.prototype.{ reduce, reduceRight }` methods implementation -var createMethod$6 = function (IS_RIGHT) { +var createMethod$5 = function (IS_RIGHT) { return function (that, callbackfn, argumentsLength, memo) { aCallable$T(callbackfn); var O = toObject$n(that); - var self = IndexedObject$4(O); - var length = lengthOfArrayLike$j(O); + var self = IndexedObject$3(O); + var length = lengthOfArrayLike$k(O); var index = IS_RIGHT ? length - 1 : 0; var i = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { @@ -3406,68 +3516,68 @@ var createMethod$6 = function (IS_RIGHT) { var arrayReduce = { // `Array.prototype.reduce` method // https://tc39.es/ecma262/#sec-array.prototype.reduce - left: createMethod$6(false), + left: createMethod$5(false), // `Array.prototype.reduceRight` method // https://tc39.es/ecma262/#sec-array.prototype.reduceright - right: createMethod$6(true) + right: createMethod$5(true) }; -var classof$e = classofRaw$1; -var global$L = global$Z; +var classof$f = classofRaw$1; +var global$M = global$_; -var engineIsNode = classof$e(global$L.process) == 'process'; +var engineIsNode = classof$f(global$M.process) == 'process'; -var $$4l = _export; +var $$4m = _export; var $reduce$1 = arrayReduce.left; var arrayMethodIsStrict$5 = arrayMethodIsStrict$b; var CHROME_VERSION$1 = engineV8Version; -var IS_NODE$6 = engineIsNode; +var IS_NODE$7 = engineIsNode; var STRICT_METHOD$3 = arrayMethodIsStrict$5('reduce'); // Chrome 80-82 has a critical bug // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 -var CHROME_BUG$1 = !IS_NODE$6 && CHROME_VERSION$1 > 79 && CHROME_VERSION$1 < 83; +var CHROME_BUG$1 = !IS_NODE$7 && CHROME_VERSION$1 > 79 && CHROME_VERSION$1 < 83; // `Array.prototype.reduce` method // https://tc39.es/ecma262/#sec-array.prototype.reduce -$$4l({ target: 'Array', proto: true, forced: !STRICT_METHOD$3 || CHROME_BUG$1 }, { +$$4m({ target: 'Array', proto: true, forced: !STRICT_METHOD$3 || CHROME_BUG$1 }, { reduce: function reduce(callbackfn /* , initialValue */) { var length = arguments.length; return $reduce$1(this, callbackfn, length, length > 1 ? arguments[1] : undefined); } }); -var $$4k = _export; +var $$4l = _export; var $reduceRight$1 = arrayReduce.right; var arrayMethodIsStrict$4 = arrayMethodIsStrict$b; var CHROME_VERSION = engineV8Version; -var IS_NODE$5 = engineIsNode; +var IS_NODE$6 = engineIsNode; var STRICT_METHOD$2 = arrayMethodIsStrict$4('reduceRight'); // Chrome 80-82 has a critical bug // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 -var CHROME_BUG = !IS_NODE$5 && CHROME_VERSION > 79 && CHROME_VERSION < 83; +var CHROME_BUG = !IS_NODE$6 && CHROME_VERSION > 79 && CHROME_VERSION < 83; // `Array.prototype.reduceRight` method // https://tc39.es/ecma262/#sec-array.prototype.reduceright -$$4k({ target: 'Array', proto: true, forced: !STRICT_METHOD$2 || CHROME_BUG }, { +$$4l({ target: 'Array', proto: true, forced: !STRICT_METHOD$2 || CHROME_BUG }, { reduceRight: function reduceRight(callbackfn /* , initialValue */) { return $reduceRight$1(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); } }); -var $$4j = _export; -var uncurryThis$17 = functionUncurryThis; +var $$4k = _export; +var uncurryThis$18 = functionUncurryThis; var isArray$2 = isArray$8; -var un$Reverse = uncurryThis$17([].reverse); +var un$Reverse = uncurryThis$18([].reverse); var test$1 = [1, 2]; // `Array.prototype.reverse` method // https://tc39.es/ecma262/#sec-array.prototype.reverse // fix for Safari 12.0 bug // https://bugs.webkit.org/show_bug.cgi?id=188794 -$$4j({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.reverse()) }, { +$$4k({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.reverse()) }, { reverse: function reverse() { // eslint-disable-next-line no-self-assign -- dirty hack if (isArray$2(this)) this.length = this.length; @@ -3475,33 +3585,33 @@ $$4j({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.re } }); -var $$4i = _export; +var $$4j = _export; var isArray$1 = isArray$8; var isConstructor$6 = isConstructor$a; var isObject$r = isObject$C; -var toAbsoluteIndex$5 = toAbsoluteIndex$a; -var lengthOfArrayLike$i = lengthOfArrayLike$x; +var toAbsoluteIndex$6 = toAbsoluteIndex$b; +var lengthOfArrayLike$j = lengthOfArrayLike$A; var toIndexedObject$a = toIndexedObject$k; var createProperty$4 = createProperty$9; var wellKnownSymbol$s = wellKnownSymbol$K; var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5; -var un$Slice = arraySlice$e; +var un$Slice = arraySlice$c; var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice'); var SPECIES$4 = wellKnownSymbol$s('species'); var $Array$6 = Array; -var max$6 = Math.max; +var max$7 = Math.max; // `Array.prototype.slice` method // https://tc39.es/ecma262/#sec-array.prototype.slice // fallback for not array-like ES3 strings and DOM objects -$$4i({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { +$$4j({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { slice: function slice(start, end) { var O = toIndexedObject$a(this); - var length = lengthOfArrayLike$i(O); - var k = toAbsoluteIndex$5(start, length); - var fin = toAbsoluteIndex$5(end === undefined ? length : end, length); + var length = lengthOfArrayLike$j(O); + var k = toAbsoluteIndex$6(start, length); + var fin = toAbsoluteIndex$6(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible var Constructor, result, n; if (isArray$1(O)) { @@ -3517,14 +3627,14 @@ $$4i({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { return un$Slice(O, k, fin); } } - result = new (Constructor === undefined ? $Array$6 : Constructor)(max$6(fin - k, 0)); + result = new (Constructor === undefined ? $Array$6 : Constructor)(max$7(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty$4(result, n, O[k]); result.length = n; return result; } }); -var $$4h = _export; +var $$4i = _export; var $some$2 = arrayIteration.some; var arrayMethodIsStrict$3 = arrayMethodIsStrict$b; @@ -3532,13 +3642,13 @@ var STRICT_METHOD$1 = arrayMethodIsStrict$3('some'); // `Array.prototype.some` method // https://tc39.es/ecma262/#sec-array.prototype.some -$$4h({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 }, { +$$4i({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 }, { some: function some(callbackfn /* , thisArg */) { return $some$2(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); -var arraySlice$c = arraySliceSimple; +var arraySlice$a = arraySliceSimple; var floor$9 = Math.floor; @@ -3547,8 +3657,8 @@ var mergeSort = function (array, comparefn) { var middle = floor$9(length / 2); return length < 8 ? insertionSort(array, comparefn) : merge( array, - mergeSort(arraySlice$c(array, 0, middle), comparefn), - mergeSort(arraySlice$c(array, middle), comparefn), + mergeSort(arraySlice$a(array, 0, middle), comparefn), + mergeSort(arraySlice$a(array, middle), comparefn), comparefn ); }; @@ -3599,39 +3709,39 @@ var webkit = userAgent$5.match(/AppleWebKit\/(\d+)\./); var engineWebkitVersion = !!webkit && +webkit[1]; -var $$4g = _export; -var uncurryThis$16 = functionUncurryThis; +var $$4h = _export; +var uncurryThis$17 = functionUncurryThis; var aCallable$S = aCallable$Y; -var toObject$m = toObject$z; -var lengthOfArrayLike$h = lengthOfArrayLike$x; -var deletePropertyOrThrow$1 = deletePropertyOrThrow$3; +var toObject$m = toObject$B; +var lengthOfArrayLike$i = lengthOfArrayLike$A; +var deletePropertyOrThrow$2 = deletePropertyOrThrow$4; var toString$v = toString$z; -var fails$Z = fails$1k; +var fails$_ = fails$1m; var internalSort$1 = arraySort$1; var arrayMethodIsStrict$2 = arrayMethodIsStrict$b; var FF$1 = engineFfVersion; var IE_OR_EDGE$1 = engineIsIeOrEdge; -var V8$1 = engineV8Version; +var V8$2 = engineV8Version; var WEBKIT$2 = engineWebkitVersion; var test = []; -var un$Sort$1 = uncurryThis$16(test.sort); -var push$i = uncurryThis$16(test.push); +var un$Sort$1 = uncurryThis$17(test.sort); +var push$i = uncurryThis$17(test.push); // IE8- -var FAILS_ON_UNDEFINED = fails$Z(function () { +var FAILS_ON_UNDEFINED = fails$_(function () { test.sort(undefined); }); // V8 bug -var FAILS_ON_NULL = fails$Z(function () { +var FAILS_ON_NULL = fails$_(function () { test.sort(null); }); // Old WebKit var STRICT_METHOD = arrayMethodIsStrict$2('sort'); -var STABLE_SORT$1 = !fails$Z(function () { +var STABLE_SORT$1 = !fails$_(function () { // feature detection can be too slow, so check engines versions - if (V8$1) return V8$1 < 70; + if (V8$2) return V8$2 < 70; if (FF$1 && FF$1 > 3) return; if (IE_OR_EDGE$1) return true; if (WEBKIT$2) return WEBKIT$2 < 603; @@ -3677,7 +3787,7 @@ var getSortCompare$1 = function (comparefn) { // `Array.prototype.sort` method // https://tc39.es/ecma262/#sec-array.prototype.sort -$$4g({ target: 'Array', proto: true, forced: FORCED$m }, { +$$4h({ target: 'Array', proto: true, forced: FORCED$m }, { sort: function sort(comparefn) { if (comparefn !== undefined) aCallable$S(comparefn); @@ -3686,7 +3796,7 @@ $$4g({ target: 'Array', proto: true, forced: FORCED$m }, { if (STABLE_SORT$1) return comparefn === undefined ? un$Sort$1(array) : un$Sort$1(array, comparefn); var items = []; - var arrayLength = lengthOfArrayLike$h(array); + var arrayLength = lengthOfArrayLike$i(array); var itemsLength, index; for (index = 0; index < arrayLength; index++) { @@ -3699,7 +3809,7 @@ $$4g({ target: 'Array', proto: true, forced: FORCED$m }, { index = 0; while (index < itemsLength) array[index] = items[index++]; - while (index < arrayLength) deletePropertyOrThrow$1(array, index++); + while (index < arrayLength) deletePropertyOrThrow$2(array, index++); return array; } @@ -3730,30 +3840,30 @@ var setSpecies$6 = setSpecies$7; // https://tc39.es/ecma262/#sec-get-array-@@species setSpecies$6('Array'); -var $$4f = _export; -var toObject$l = toObject$z; -var toAbsoluteIndex$4 = toAbsoluteIndex$a; -var toIntegerOrInfinity$g = toIntegerOrInfinity$m; -var lengthOfArrayLike$g = lengthOfArrayLike$x; -var doesNotExceedSafeInteger$2 = doesNotExceedSafeInteger$5; +var $$4g = _export; +var toObject$l = toObject$B; +var toAbsoluteIndex$5 = toAbsoluteIndex$b; +var toIntegerOrInfinity$i = toIntegerOrInfinity$o; +var lengthOfArrayLike$h = lengthOfArrayLike$A; +var doesNotExceedSafeInteger$3 = doesNotExceedSafeInteger$7; var arraySpeciesCreate$1 = arraySpeciesCreate$6; var createProperty$3 = createProperty$9; -var deletePropertyOrThrow = deletePropertyOrThrow$3; +var deletePropertyOrThrow$1 = deletePropertyOrThrow$4; var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5; var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); -var max$5 = Math.max; -var min$7 = Math.min; +var max$6 = Math.max; +var min$8 = Math.min; // `Array.prototype.splice` method // https://tc39.es/ecma262/#sec-array.prototype.splice // with adding support of @@species -$$4f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { +$$4g({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject$l(this); - var len = lengthOfArrayLike$g(O); - var actualStart = toAbsoluteIndex$4(start, len); + var len = lengthOfArrayLike$h(O); + var actualStart = toAbsoluteIndex$5(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A, k, from, to; if (argumentsLength === 0) { @@ -3763,9 +3873,9 @@ $$4f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { actualDeleteCount = len - actualStart; } else { insertCount = argumentsLength - 2; - actualDeleteCount = min$7(max$5(toIntegerOrInfinity$g(deleteCount), 0), len - actualStart); + actualDeleteCount = min$8(max$6(toIntegerOrInfinity$i(deleteCount), 0), len - actualStart); } - doesNotExceedSafeInteger$2(len + insertCount - actualDeleteCount); + doesNotExceedSafeInteger$3(len + insertCount - actualDeleteCount); A = arraySpeciesCreate$1(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { from = actualStart + k; @@ -3777,15 +3887,15 @@ $$4f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { from = k + actualDeleteCount; to = k + insertCount; if (from in O) O[to] = O[from]; - else deletePropertyOrThrow(O, to); + else deletePropertyOrThrow$1(O, to); } - for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1); + for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow$1(O, k - 1); } else if (insertCount > actualDeleteCount) { for (k = len - actualDeleteCount; k > actualStart; k--) { from = k + actualDeleteCount - 1; to = k + insertCount - 1; if (from in O) O[to] = O[from]; - else deletePropertyOrThrow(O, to); + else deletePropertyOrThrow$1(O, to); } } for (k = 0; k < insertCount; k++) { @@ -3798,18 +3908,60 @@ $$4f({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { // this method was added to unscopables after implementation // in popular engines, so it's moved to a separate module -var addToUnscopables$d = addToUnscopables$l; +var addToUnscopables$d = addToUnscopables$n; // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables$d('flat'); // this method was added to unscopables after implementation // in popular engines, so it's moved to a separate module -var addToUnscopables$c = addToUnscopables$l; +var addToUnscopables$c = addToUnscopables$n; // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables$c('flatMap'); +var $$4f = _export; +var toObject$k = toObject$B; +var lengthOfArrayLike$g = lengthOfArrayLike$A; +var deletePropertyOrThrow = deletePropertyOrThrow$4; +var doesNotExceedSafeInteger$2 = doesNotExceedSafeInteger$7; + +// IE8- +var INCORRECT_RESULT = [].unshift(0) !== 1; + +// V8 ~ Chrome < 71 and Safari <= 15.4, FF < 23 throws InternalError +var SILENT_ON_NON_WRITABLE_LENGTH = !function () { + try { + // eslint-disable-next-line es-x/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).unshift(); + } catch (error) { + return error instanceof TypeError; + } +}(); + +// `Array.prototype.unshift` method +// https://tc39.es/ecma262/#sec-array.prototype.unshift +$$4f({ target: 'Array', proto: true, arity: 1, forced: INCORRECT_RESULT || SILENT_ON_NON_WRITABLE_LENGTH }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + unshift: function unshift(item) { + var O = toObject$k(this); + var len = lengthOfArrayLike$g(O); + var argCount = arguments.length; + if (argCount) { + doesNotExceedSafeInteger$2(len + argCount); + var k = len; + while (k--) { + var to = k + argCount; + if (k in O) O[to] = O[k]; + else deletePropertyOrThrow(O, to); + } + for (var j = 0; j < argCount; j++) { + O[j] = arguments[j]; + } + } return O.length = len + argCount; + } +}); + // eslint-disable-next-line es-x/no-typed-arrays -- safe var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; @@ -3829,7 +3981,7 @@ var anInstance$d = function (it, Prototype) { throw $TypeError$n('Incorrect invocation'); }; -var toIntegerOrInfinity$f = toIntegerOrInfinity$m; +var toIntegerOrInfinity$h = toIntegerOrInfinity$o; var toLength$b = toLength$d; var $RangeError$b = RangeError; @@ -3838,7 +3990,7 @@ var $RangeError$b = RangeError; // https://tc39.es/ecma262/#sec-toindex var toIndex$2 = function (it) { if (it === undefined) return 0; - var number = toIntegerOrInfinity$f(it); + var number = toIntegerOrInfinity$h(it); var length = toLength$b(number); if (number !== length) throw $RangeError$b('Wrong length or index'); return length; @@ -3947,16 +4099,16 @@ var ieee754 = { unpack: unpack }; -var global$K = global$Z; -var uncurryThis$15 = functionUncurryThis; +var global$L = global$_; +var uncurryThis$16 = functionUncurryThis; var DESCRIPTORS$u = descriptors; var NATIVE_ARRAY_BUFFER$2 = arrayBufferNative; var FunctionName = functionName; -var createNonEnumerableProperty$b = createNonEnumerableProperty$j; +var createNonEnumerableProperty$b = createNonEnumerableProperty$i; var defineBuiltIns$8 = defineBuiltIns$9; -var fails$Y = fails$1k; +var fails$Z = fails$1m; var anInstance$c = anInstance$d; -var toIntegerOrInfinity$e = toIntegerOrInfinity$m; +var toIntegerOrInfinity$g = toIntegerOrInfinity$o; var toLength$a = toLength$d; var toIndex$1 = toIndex$2; var IEEE754 = ieee754; @@ -3965,29 +4117,29 @@ var setPrototypeOf$4 = objectSetPrototypeOf$1; var getOwnPropertyNames$4 = objectGetOwnPropertyNames.f; var defineProperty$a = objectDefineProperty.f; var arrayFill = arrayFill$1; -var arraySlice$b = arraySliceSimple; +var arraySlice$9 = arraySliceSimple; var setToStringTag$8 = setToStringTag$d; -var InternalStateModule$h = internalState; +var InternalStateModule$i = internalState; var PROPER_FUNCTION_NAME$2 = FunctionName.PROPER; var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; -var getInternalState$e = InternalStateModule$h.get; -var setInternalState$h = InternalStateModule$h.set; +var getInternalState$f = InternalStateModule$i.get; +var setInternalState$h = InternalStateModule$i.set; var ARRAY_BUFFER$1 = 'ArrayBuffer'; var DATA_VIEW = 'DataView'; var PROTOTYPE = 'prototype'; var WRONG_LENGTH$1 = 'Wrong length'; var WRONG_INDEX = 'Wrong index'; -var NativeArrayBuffer$1 = global$K[ARRAY_BUFFER$1]; +var NativeArrayBuffer$1 = global$L[ARRAY_BUFFER$1]; var $ArrayBuffer = NativeArrayBuffer$1; var ArrayBufferPrototype$1 = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; -var $DataView = global$K[DATA_VIEW]; +var $DataView = global$L[DATA_VIEW]; var DataViewPrototype$1 = $DataView && $DataView[PROTOTYPE]; var ObjectPrototype$2 = Object.prototype; -var Array$2 = global$K.Array; -var RangeError$4 = global$K.RangeError; -var fill = uncurryThis$15(arrayFill); -var reverse = uncurryThis$15([].reverse); +var Array$2 = global$L.Array; +var RangeError$4 = global$L.RangeError; +var fill = uncurryThis$16(arrayFill); +var reverse = uncurryThis$16([].reverse); var packIEEE754 = IEEE754.pack; var unpackIEEE754 = IEEE754.unpack; @@ -4017,24 +4169,24 @@ var packFloat64 = function (number) { }; var addGetter$1 = function (Constructor, key) { - defineProperty$a(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$e(this)[key]; } }); + defineProperty$a(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$f(this)[key]; } }); }; var get$1 = function (view, count, index, isLittleEndian) { var intIndex = toIndex$1(index); - var store = getInternalState$e(view); + var store = getInternalState$f(view); if (intIndex + count > store.byteLength) throw RangeError$4(WRONG_INDEX); - var bytes = getInternalState$e(store.buffer).bytes; + var bytes = getInternalState$f(store.buffer).bytes; var start = intIndex + store.byteOffset; - var pack = arraySlice$b(bytes, start, start + count); + var pack = arraySlice$9(bytes, start, start + count); return isLittleEndian ? pack : reverse(pack); }; var set$2 = function (view, count, index, conversion, value, isLittleEndian) { var intIndex = toIndex$1(index); - var store = getInternalState$e(view); + var store = getInternalState$f(view); if (intIndex + count > store.byteLength) throw RangeError$4(WRONG_INDEX); - var bytes = getInternalState$e(store.buffer).bytes; + var bytes = getInternalState$f(store.buffer).bytes; var start = intIndex + store.byteOffset; var pack = conversion(+value); for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; @@ -4056,8 +4208,8 @@ if (!NATIVE_ARRAY_BUFFER$2) { $DataView = function DataView(buffer, byteOffset, byteLength) { anInstance$c(this, DataViewPrototype$1); anInstance$c(buffer, ArrayBufferPrototype$1); - var bufferLength = getInternalState$e(buffer).byteLength; - var offset = toIntegerOrInfinity$e(byteOffset); + var bufferLength = getInternalState$f(buffer).byteLength; + var offset = toIntegerOrInfinity$g(byteOffset); if (offset < 0 || offset > bufferLength) throw RangeError$4('Wrong offset'); byteLength = byteLength === undefined ? bufferLength - offset : toLength$a(byteLength); if (offset + byteLength > bufferLength) throw RangeError$4(WRONG_LENGTH$1); @@ -4137,11 +4289,11 @@ if (!NATIVE_ARRAY_BUFFER$2) { } else { var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME$2 && NativeArrayBuffer$1.name !== ARRAY_BUFFER$1; /* eslint-disable no-new -- required for testing */ - if (!fails$Y(function () { + if (!fails$Z(function () { NativeArrayBuffer$1(1); - }) || !fails$Y(function () { + }) || !fails$Z(function () { new NativeArrayBuffer$1(-1); - }) || fails$Y(function () { + }) || fails$Z(function () { new NativeArrayBuffer$1(); new NativeArrayBuffer$1(1.5); new NativeArrayBuffer$1(NaN); @@ -4173,7 +4325,7 @@ if (!NATIVE_ARRAY_BUFFER$2) { // iOS Safari 7.x bug var testView = new $DataView(new $ArrayBuffer(2)); - var $setInt8 = uncurryThis$15(DataViewPrototype$1.setInt8); + var $setInt8 = uncurryThis$16(DataViewPrototype$1.setInt8); testView.setInt8(0, 2147483648); testView.setInt8(1, 2147483649); if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns$8(DataViewPrototype$1, { @@ -4195,13 +4347,13 @@ var arrayBuffer = { }; var $$4e = _export; -var global$J = global$Z; +var global$K = global$_; var arrayBufferModule = arrayBuffer; var setSpecies$5 = setSpecies$7; var ARRAY_BUFFER = 'ArrayBuffer'; var ArrayBuffer$4 = arrayBufferModule[ARRAY_BUFFER]; -var NativeArrayBuffer = global$J[ARRAY_BUFFER]; +var NativeArrayBuffer = global$K[ARRAY_BUFFER]; // `ArrayBuffer` constructor // https://tc39.es/ecma262/#sec-arraybuffer-constructor @@ -4213,13 +4365,13 @@ setSpecies$5(ARRAY_BUFFER); var NATIVE_ARRAY_BUFFER$1 = arrayBufferNative; var DESCRIPTORS$t = descriptors; -var global$I = global$Z; +var global$J = global$_; var isCallable$k = isCallable$E; var isObject$q = isObject$C; var hasOwn$l = hasOwnProperty_1; -var classof$d = classof$k; +var classof$e = classof$l; var tryToString$1 = tryToString$7; -var createNonEnumerableProperty$a = createNonEnumerableProperty$j; +var createNonEnumerableProperty$a = createNonEnumerableProperty$i; var defineBuiltIn$h = defineBuiltIn$p; var defineProperty$9 = objectDefineProperty.f; var isPrototypeOf$6 = objectIsPrototypeOf; @@ -4227,21 +4379,24 @@ var getPrototypeOf$9 = objectGetPrototypeOf$1; var setPrototypeOf$3 = objectSetPrototypeOf$1; var wellKnownSymbol$q = wellKnownSymbol$K; var uid$2 = uid$6; +var InternalStateModule$h = internalState; -var Int8Array$4 = global$I.Int8Array; +var enforceInternalState$3 = InternalStateModule$h.enforce; +var getInternalState$e = InternalStateModule$h.get; +var Int8Array$4 = global$J.Int8Array; var Int8ArrayPrototype$1 = Int8Array$4 && Int8Array$4.prototype; -var Uint8ClampedArray$1 = global$I.Uint8ClampedArray; +var Uint8ClampedArray$1 = global$J.Uint8ClampedArray; var Uint8ClampedArrayPrototype = Uint8ClampedArray$1 && Uint8ClampedArray$1.prototype; var TypedArray$1 = Int8Array$4 && getPrototypeOf$9(Int8Array$4); var TypedArrayPrototype$2 = Int8ArrayPrototype$1 && getPrototypeOf$9(Int8ArrayPrototype$1); var ObjectPrototype$1 = Object.prototype; -var TypeError$6 = global$I.TypeError; +var TypeError$6 = global$J.TypeError; var TO_STRING_TAG$5 = wellKnownSymbol$q('toStringTag'); var TYPED_ARRAY_TAG$1 = uid$2('TYPED_ARRAY_TAG'); -var TYPED_ARRAY_CONSTRUCTOR$6 = uid$2('TYPED_ARRAY_CONSTRUCTOR'); +var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; // Fixing native typed arrays in Opera Presto crashes the browser, see #595 -var NATIVE_ARRAY_BUFFER_VIEWS$3 = NATIVE_ARRAY_BUFFER$1 && !!setPrototypeOf$3 && classof$d(global$I.opera) !== 'Opera'; +var NATIVE_ARRAY_BUFFER_VIEWS$3 = NATIVE_ARRAY_BUFFER$1 && !!setPrototypeOf$3 && classof$e(global$J.opera) !== 'Opera'; var TYPED_ARRAY_TAG_REQUIRED = false; var NAME$1, Constructor, Prototype; @@ -4264,15 +4419,22 @@ var BigIntArrayConstructorsList = { var isView = function isView(it) { if (!isObject$q(it)) return false; - var klass = classof$d(it); + var klass = classof$e(it); return klass === 'DataView' || hasOwn$l(TypedArrayConstructorsList, klass) || hasOwn$l(BigIntArrayConstructorsList, klass); }; +var getTypedArrayConstructor$5 = function (it) { + var proto = getPrototypeOf$9(it); + if (!isObject$q(proto)) return; + var state = getInternalState$e(proto); + return (state && hasOwn$l(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$5(proto); +}; + var isTypedArray$1 = function (it) { if (!isObject$q(it)) return false; - var klass = classof$d(it); + var klass = classof$e(it); return hasOwn$l(TypedArrayConstructorsList, klass) || hasOwn$l(BigIntArrayConstructorsList, klass); }; @@ -4290,7 +4452,7 @@ var aTypedArrayConstructor$5 = function (C) { var exportTypedArrayMethod$y = function (KEY, property, forced, options) { if (!DESCRIPTORS$t) return; if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global$I[ARRAY]; + var TypedArrayConstructor = global$J[ARRAY]; if (TypedArrayConstructor && hasOwn$l(TypedArrayConstructor.prototype, KEY)) try { delete TypedArrayConstructor.prototype[KEY]; } catch (error) { @@ -4311,7 +4473,7 @@ var exportTypedArrayStaticMethod$3 = function (KEY, property, forced) { if (!DESCRIPTORS$t) return; if (setPrototypeOf$3) { if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global$I[ARRAY]; + TypedArrayConstructor = global$J[ARRAY]; if (TypedArrayConstructor && hasOwn$l(TypedArrayConstructor, KEY)) try { delete TypedArrayConstructor[KEY]; } catch (error) { /* empty */ } @@ -4324,7 +4486,7 @@ var exportTypedArrayStaticMethod$3 = function (KEY, property, forced) { } else return; } for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global$I[ARRAY]; + TypedArrayConstructor = global$J[ARRAY]; if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { defineBuiltIn$h(TypedArrayConstructor, KEY, property); } @@ -4332,16 +4494,16 @@ var exportTypedArrayStaticMethod$3 = function (KEY, property, forced) { }; for (NAME$1 in TypedArrayConstructorsList) { - Constructor = global$I[NAME$1]; + Constructor = global$J[NAME$1]; Prototype = Constructor && Constructor.prototype; - if (Prototype) createNonEnumerableProperty$a(Prototype, TYPED_ARRAY_CONSTRUCTOR$6, Constructor); + if (Prototype) enforceInternalState$3(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; else NATIVE_ARRAY_BUFFER_VIEWS$3 = false; } for (NAME$1 in BigIntArrayConstructorsList) { - Constructor = global$I[NAME$1]; + Constructor = global$J[NAME$1]; Prototype = Constructor && Constructor.prototype; - if (Prototype) createNonEnumerableProperty$a(Prototype, TYPED_ARRAY_CONSTRUCTOR$6, Constructor); + if (Prototype) enforceInternalState$3(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; } // WebKit bug - typed arrays constructors prototype is Object.prototype @@ -4351,14 +4513,14 @@ if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || !isCallable$k(TypedArray$1) || TypedArray$1 throw TypeError$6('Incorrect invocation'); }; if (NATIVE_ARRAY_BUFFER_VIEWS$3) for (NAME$1 in TypedArrayConstructorsList) { - if (global$I[NAME$1]) setPrototypeOf$3(global$I[NAME$1], TypedArray$1); + if (global$J[NAME$1]) setPrototypeOf$3(global$J[NAME$1], TypedArray$1); } } if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || !TypedArrayPrototype$2 || TypedArrayPrototype$2 === ObjectPrototype$1) { TypedArrayPrototype$2 = TypedArray$1.prototype; if (NATIVE_ARRAY_BUFFER_VIEWS$3) for (NAME$1 in TypedArrayConstructorsList) { - if (global$I[NAME$1]) setPrototypeOf$3(global$I[NAME$1].prototype, TypedArrayPrototype$2); + if (global$J[NAME$1]) setPrototypeOf$3(global$J[NAME$1].prototype, TypedArrayPrototype$2); } } @@ -4372,19 +4534,19 @@ if (DESCRIPTORS$t && !hasOwn$l(TypedArrayPrototype$2, TO_STRING_TAG$5)) { defineProperty$9(TypedArrayPrototype$2, TO_STRING_TAG$5, { get: function () { return isObject$q(this) ? this[TYPED_ARRAY_TAG$1] : undefined; } }); - for (NAME$1 in TypedArrayConstructorsList) if (global$I[NAME$1]) { - createNonEnumerableProperty$a(global$I[NAME$1], TYPED_ARRAY_TAG$1, NAME$1); + for (NAME$1 in TypedArrayConstructorsList) if (global$J[NAME$1]) { + createNonEnumerableProperty$a(global$J[NAME$1], TYPED_ARRAY_TAG$1, NAME$1); } } var arrayBufferViewCore = { NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS$3, - TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR$6, TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG$1, aTypedArray: aTypedArray$x, aTypedArrayConstructor: aTypedArrayConstructor$5, exportTypedArrayMethod: exportTypedArrayMethod$y, exportTypedArrayStaticMethod: exportTypedArrayStaticMethod$3, + getTypedArrayConstructor: getTypedArrayConstructor$5, isView: isView, isTypedArray: isTypedArray$1, TypedArray: TypedArray$1, @@ -4428,22 +4590,22 @@ var speciesConstructor$f = function (O, defaultConstructor) { }; var $$4c = _export; -var uncurryThis$14 = functionUncurryThis; -var fails$X = fails$1k; +var uncurryThis$15 = functionUncurryThis; +var fails$Y = fails$1m; var ArrayBufferModule$2 = arrayBuffer; var anObject$1t = anObject$1G; -var toAbsoluteIndex$3 = toAbsoluteIndex$a; +var toAbsoluteIndex$4 = toAbsoluteIndex$b; var toLength$9 = toLength$d; var speciesConstructor$e = speciesConstructor$f; var ArrayBuffer$3 = ArrayBufferModule$2.ArrayBuffer; var DataView$2 = ArrayBufferModule$2.DataView; var DataViewPrototype = DataView$2.prototype; -var un$ArrayBufferSlice = uncurryThis$14(ArrayBuffer$3.prototype.slice); -var getUint8 = uncurryThis$14(DataViewPrototype.getUint8); -var setUint8 = uncurryThis$14(DataViewPrototype.setUint8); +var un$ArrayBufferSlice = uncurryThis$15(ArrayBuffer$3.prototype.slice); +var getUint8 = uncurryThis$15(DataViewPrototype.getUint8); +var setUint8 = uncurryThis$15(DataViewPrototype.setUint8); -var INCORRECT_SLICE = fails$X(function () { +var INCORRECT_SLICE = fails$Y(function () { return !new ArrayBuffer$3(2).slice(1, undefined).byteLength; }); @@ -4455,8 +4617,8 @@ $$4c({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE return un$ArrayBufferSlice(anObject$1t(this), start); // FF fix } var length = anObject$1t(this).byteLength; - var first = toAbsoluteIndex$3(start, length); - var fin = toAbsoluteIndex$3(end === undefined ? length : end, length); + var first = toAbsoluteIndex$4(start, length); + var fin = toAbsoluteIndex$4(end === undefined ? length : end, length); var result = new (speciesConstructor$e(this, ArrayBuffer$3))(toLength$9(fin - first)); var viewSource = new DataView$2(this); var viewTarget = new DataView$2(result); @@ -4478,14 +4640,14 @@ $$4b({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { }); var $$4a = _export; -var uncurryThis$13 = functionUncurryThis; -var fails$W = fails$1k; +var uncurryThis$14 = functionUncurryThis; +var fails$X = fails$1m; -var FORCED$l = fails$W(function () { +var FORCED$l = fails$X(function () { return new Date(16e11).getYear() !== 120; }); -var getFullYear = uncurryThis$13(Date.prototype.getFullYear); +var getFullYear = uncurryThis$14(Date.prototype.getFullYear); // `Date.prototype.getYear` method // https://tc39.es/ecma262/#sec-date.prototype.getyear @@ -4497,10 +4659,10 @@ $$4a({ target: 'Date', proto: true, forced: FORCED$l }, { // TODO: Remove from `core-js@4` var $$49 = _export; -var uncurryThis$12 = functionUncurryThis; +var uncurryThis$13 = functionUncurryThis; var $Date = Date; -var getTime$4 = uncurryThis$12($Date.prototype.getTime); +var getTime$4 = uncurryThis$13($Date.prototype.getTime); // `Date.now` method // https://tc39.es/ecma262/#sec-date.now @@ -4511,12 +4673,12 @@ $$49({ target: 'Date', stat: true }, { }); var $$48 = _export; -var uncurryThis$11 = functionUncurryThis; -var toIntegerOrInfinity$d = toIntegerOrInfinity$m; +var uncurryThis$12 = functionUncurryThis; +var toIntegerOrInfinity$f = toIntegerOrInfinity$o; var DatePrototype$3 = Date.prototype; -var getTime$3 = uncurryThis$11(DatePrototype$3.getTime); -var setFullYear = uncurryThis$11(DatePrototype$3.setFullYear); +var getTime$3 = uncurryThis$12(DatePrototype$3.getTime); +var setFullYear = uncurryThis$12(DatePrototype$3.setFullYear); // `Date.prototype.setYear` method // https://tc39.es/ecma262/#sec-date.prototype.setyear @@ -4524,7 +4686,7 @@ $$48({ target: 'Date', proto: true }, { setYear: function setYear(year) { // validate getTime$3(this); - var yi = toIntegerOrInfinity$d(year); + var yi = toIntegerOrInfinity$f(year); var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi; return setFullYear(this, yyyy); } @@ -4538,7 +4700,7 @@ $$47({ target: 'Date', proto: true }, { toGMTString: Date.prototype.toUTCString }); -var toIntegerOrInfinity$c = toIntegerOrInfinity$m; +var toIntegerOrInfinity$e = toIntegerOrInfinity$o; var toString$u = toString$z; var requireObjectCoercible$h = requireObjectCoercible$k; @@ -4549,25 +4711,25 @@ var $RangeError$a = RangeError; var stringRepeat = function repeat(count) { var str = toString$u(requireObjectCoercible$h(this)); var result = ''; - var n = toIntegerOrInfinity$c(count); + var n = toIntegerOrInfinity$e(count); if (n < 0 || n == Infinity) throw $RangeError$a('Wrong number of repetitions'); for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; return result; }; // https://github.com/tc39/proposal-string-pad-start-end -var uncurryThis$10 = functionUncurryThis; +var uncurryThis$11 = functionUncurryThis; var toLength$8 = toLength$d; var toString$t = toString$z; var $repeat$2 = stringRepeat; var requireObjectCoercible$g = requireObjectCoercible$k; -var repeat$3 = uncurryThis$10($repeat$2); -var stringSlice$f = uncurryThis$10(''.slice); +var repeat$3 = uncurryThis$11($repeat$2); +var stringSlice$f = uncurryThis$11(''.slice); var ceil = Math.ceil; // `String.prototype.{ padStart, padEnd }` methods implementation -var createMethod$5 = function (IS_END) { +var createMethod$4 = function (IS_END) { return function ($this, maxLength, fillString) { var S = toString$t(requireObjectCoercible$g($this)); var intMaxLength = toLength$8(maxLength); @@ -4585,35 +4747,35 @@ var createMethod$5 = function (IS_END) { var stringPad = { // `String.prototype.padStart` method // https://tc39.es/ecma262/#sec-string.prototype.padstart - start: createMethod$5(false), + start: createMethod$4(false), // `String.prototype.padEnd` method // https://tc39.es/ecma262/#sec-string.prototype.padend - end: createMethod$5(true) + end: createMethod$4(true) }; -var uncurryThis$$ = functionUncurryThis; -var fails$V = fails$1k; +var uncurryThis$10 = functionUncurryThis; +var fails$W = fails$1m; var padStart = stringPad.start; var $RangeError$9 = RangeError; var abs$7 = Math.abs; var DatePrototype$2 = Date.prototype; var n$DateToISOString = DatePrototype$2.toISOString; -var getTime$2 = uncurryThis$$(DatePrototype$2.getTime); -var getUTCDate = uncurryThis$$(DatePrototype$2.getUTCDate); -var getUTCFullYear = uncurryThis$$(DatePrototype$2.getUTCFullYear); -var getUTCHours = uncurryThis$$(DatePrototype$2.getUTCHours); -var getUTCMilliseconds = uncurryThis$$(DatePrototype$2.getUTCMilliseconds); -var getUTCMinutes = uncurryThis$$(DatePrototype$2.getUTCMinutes); -var getUTCMonth = uncurryThis$$(DatePrototype$2.getUTCMonth); -var getUTCSeconds = uncurryThis$$(DatePrototype$2.getUTCSeconds); +var getTime$2 = uncurryThis$10(DatePrototype$2.getTime); +var getUTCDate = uncurryThis$10(DatePrototype$2.getUTCDate); +var getUTCFullYear = uncurryThis$10(DatePrototype$2.getUTCFullYear); +var getUTCHours = uncurryThis$10(DatePrototype$2.getUTCHours); +var getUTCMilliseconds = uncurryThis$10(DatePrototype$2.getUTCMilliseconds); +var getUTCMinutes = uncurryThis$10(DatePrototype$2.getUTCMinutes); +var getUTCMonth = uncurryThis$10(DatePrototype$2.getUTCMonth); +var getUTCSeconds = uncurryThis$10(DatePrototype$2.getUTCSeconds); // `Date.prototype.toISOString` method implementation // https://tc39.es/ecma262/#sec-date.prototype.toisostring // PhantomJS / old WebKit fails here: -var dateToIsoString = (fails$V(function () { +var dateToIsoString = (fails$W(function () { return n$DateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; -}) || !fails$V(function () { +}) || !fails$W(function () { n$DateToISOString.call(new Date(NaN)); })) ? function toISOString() { if (!isFinite(getTime$2(this))) throw $RangeError$9('Invalid time value'); @@ -4642,11 +4804,11 @@ $$46({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISO }); var $$45 = _export; -var fails$U = fails$1k; -var toObject$k = toObject$z; +var fails$V = fails$1m; +var toObject$j = toObject$B; var toPrimitive$2 = toPrimitive$4; -var FORCED$k = fails$U(function () { +var FORCED$k = fails$V(function () { return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; }); @@ -4656,7 +4818,7 @@ var FORCED$k = fails$U(function () { $$45({ target: 'Date', proto: true, arity: 1, forced: FORCED$k }, { // eslint-disable-next-line no-unused-vars -- required for `.length` toJSON: function toJSON(key) { - var O = toObject$k(this); + var O = toObject$j(this); var pv = toPrimitive$2(O, 'number'); return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); } @@ -4691,14 +4853,14 @@ if (!hasOwn$k(DatePrototype$1, TO_PRIMITIVE)) { } // TODO: Remove from `core-js@4` -var uncurryThis$_ = functionUncurryThis; +var uncurryThis$$ = functionUncurryThis; var defineBuiltIn$f = defineBuiltIn$p; var DatePrototype = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING$1 = 'toString'; -var un$DateToString = uncurryThis$_(DatePrototype[TO_STRING$1]); -var getTime$1 = uncurryThis$_(DatePrototype.getTime); +var un$DateToString = uncurryThis$$(DatePrototype[TO_STRING$1]); +var getTime$1 = uncurryThis$$(DatePrototype.getTime); // `Date.prototype.toString` method // https://tc39.es/ecma262/#sec-date.prototype.tostring @@ -4711,14 +4873,14 @@ if (String(new Date(NaN)) != INVALID_DATE) { } var $$44 = _export; -var uncurryThis$Z = functionUncurryThis; +var uncurryThis$_ = functionUncurryThis; var toString$s = toString$z; -var charAt$g = uncurryThis$Z(''.charAt); -var charCodeAt$4 = uncurryThis$Z(''.charCodeAt); -var exec$a = uncurryThis$Z(/./.exec); -var numberToString$2 = uncurryThis$Z(1.0.toString); -var toUpperCase = uncurryThis$Z(''.toUpperCase); +var charAt$g = uncurryThis$_(''.charAt); +var charCodeAt$4 = uncurryThis$_(''.charCodeAt); +var exec$a = uncurryThis$_(/./.exec); +var numberToString$2 = uncurryThis$_(1.0.toString); +var toUpperCase = uncurryThis$_(''.toUpperCase); var raw = /[\w*+\-./@]/; @@ -4753,16 +4915,16 @@ $$44({ global: true }, { } }); -var uncurryThis$Y = functionUncurryThis; +var uncurryThis$Z = functionUncurryThis; var aCallable$R = aCallable$Y; var isObject$p = isObject$C; var hasOwn$j = hasOwnProperty_1; -var arraySlice$a = arraySlice$e; +var arraySlice$8 = arraySlice$c; var NATIVE_BIND = functionBindNative; var $Function = Function; -var concat$3 = uncurryThis$Y([].concat); -var join$7 = uncurryThis$Y([].join); +var concat$3 = uncurryThis$Z([].concat); +var join$7 = uncurryThis$Z([].join); var factories = {}; var construct = function (C, argsLength, args) { @@ -4777,9 +4939,9 @@ var construct = function (C, argsLength, args) { var functionBind = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) { var F = aCallable$R(this); var Prototype = F.prototype; - var partArgs = arraySlice$a(arguments, 1); + var partArgs = arraySlice$8(arguments, 1); var boundFunction = function bound(/* args... */) { - var args = concat$3(partArgs, arraySlice$a(arguments)); + var args = concat$3(partArgs, arraySlice$8(arguments)); return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); }; if (isObject$p(Prototype)) boundFunction.prototype = Prototype; @@ -4788,12 +4950,12 @@ var functionBind = NATIVE_BIND ? $Function.bind : function bind(that /* , ...arg // TODO: Remove from `core-js@4` var $$43 = _export; -var bind$p = functionBind; +var bind$o = functionBind; // `Function.prototype.bind` method // https://tc39.es/ecma262/#sec-function.prototype.bind -$$43({ target: 'Function', proto: true, forced: Function.bind !== bind$p }, { - bind: bind$p +$$43({ target: 'Function', proto: true, forced: Function.bind !== bind$o }, { + bind: bind$o }); var isCallable$j = isCallable$E; @@ -4821,13 +4983,13 @@ if (!(HAS_INSTANCE in FunctionPrototype$1)) { var DESCRIPTORS$s = descriptors; var FUNCTION_NAME_EXISTS = functionName.EXISTS; -var uncurryThis$X = functionUncurryThis; +var uncurryThis$Y = functionUncurryThis; var defineProperty$8 = objectDefineProperty.f; var FunctionPrototype = Function.prototype; -var functionToString = uncurryThis$X(FunctionPrototype.toString); +var functionToString = uncurryThis$Y(FunctionPrototype.toString); var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; -var regExpExec$4 = uncurryThis$X(nameRE.exec); +var regExpExec$4 = uncurryThis$Y(nameRE.exec); var NAME = 'name'; // Function instances `.name` property @@ -4846,27 +5008,27 @@ if (DESCRIPTORS$s && !FUNCTION_NAME_EXISTS) { } var $$42 = _export; -var global$H = global$Z; +var global$I = global$_; // `globalThis` object // https://tc39.es/ecma262/#sec-globalthis $$42({ global: true }, { - globalThis: global$H + globalThis: global$I }); -var global$G = global$Z; +var global$H = global$_; var setToStringTag$7 = setToStringTag$d; // JSON[@@toStringTag] property // https://tc39.es/ecma262/#sec-json-@@tostringtag -setToStringTag$7(global$G.JSON, 'JSON', true); +setToStringTag$7(global$H.JSON, 'JSON', true); var internalMetadata = {exports: {}}; // FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it -var fails$T = fails$1k; +var fails$U = fails$1m; -var arrayBufferNonExtensible = fails$T(function () { +var arrayBufferNonExtensible = fails$U(function () { if (typeof ArrayBuffer == 'function') { var buffer = new ArrayBuffer(8); // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe @@ -4874,32 +5036,32 @@ var arrayBufferNonExtensible = fails$T(function () { } }); -var fails$S = fails$1k; +var fails$T = fails$1m; var isObject$n = isObject$C; -var classof$c = classofRaw$1; +var classof$d = classofRaw$1; var ARRAY_BUFFER_NON_EXTENSIBLE$2 = arrayBufferNonExtensible; // eslint-disable-next-line es-x/no-object-isextensible -- safe var $isExtensible$2 = Object.isExtensible; -var FAILS_ON_PRIMITIVES$9 = fails$S(function () { $isExtensible$2(1); }); +var FAILS_ON_PRIMITIVES$9 = fails$T(function () { $isExtensible$2(1); }); // `Object.isExtensible` method // https://tc39.es/ecma262/#sec-object.isextensible var objectIsExtensible = (FAILS_ON_PRIMITIVES$9 || ARRAY_BUFFER_NON_EXTENSIBLE$2) ? function isExtensible(it) { if (!isObject$n(it)) return false; - if (ARRAY_BUFFER_NON_EXTENSIBLE$2 && classof$c(it) == 'ArrayBuffer') return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE$2 && classof$d(it) == 'ArrayBuffer') return false; return $isExtensible$2 ? $isExtensible$2(it) : true; } : $isExtensible$2; -var fails$R = fails$1k; +var fails$S = fails$1m; -var freezing = !fails$R(function () { +var freezing = !fails$S(function () { // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing return Object.isExtensible(Object.preventExtensions({})); }); var $$41 = _export; -var uncurryThis$W = functionUncurryThis; +var uncurryThis$X = functionUncurryThis; var hiddenKeys = hiddenKeys$6; var isObject$m = isObject$C; var hasOwn$i = hasOwnProperty_1; @@ -4957,7 +5119,7 @@ var enable = function () { meta.enable = function () { /* empty */ }; REQUIRED = true; var getOwnPropertyNames = getOwnPropertyNamesModule.f; - var splice = uncurryThis$W([].splice); + var splice = uncurryThis$X([].splice); var test = {}; test[METADATA] = 1; @@ -4989,8 +5151,8 @@ var meta = internalMetadata.exports = { hiddenKeys[METADATA] = true; var $$40 = _export; -var global$F = global$Z; -var uncurryThis$V = functionUncurryThis; +var global$G = global$_; +var uncurryThis$W = functionUncurryThis; var isForced$3 = isForced_1; var defineBuiltIn$e = defineBuiltIn$p; var InternalMetadataModule$1 = internalMetadata.exports; @@ -4998,7 +5160,7 @@ var iterate$H = iterate$J; var anInstance$b = anInstance$d; var isCallable$i = isCallable$E; var isObject$l = isObject$C; -var fails$Q = fails$1k; +var fails$R = fails$1m; var checkCorrectnessOfIteration$2 = checkCorrectnessOfIteration$4; var setToStringTag$6 = setToStringTag$d; var inheritIfRequired$4 = inheritIfRequired$6; @@ -5007,13 +5169,13 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; var ADDER = IS_MAP ? 'set' : 'add'; - var NativeConstructor = global$F[CONSTRUCTOR_NAME]; + var NativeConstructor = global$G[CONSTRUCTOR_NAME]; var NativePrototype = NativeConstructor && NativeConstructor.prototype; var Constructor = NativeConstructor; var exported = {}; var fixMethod = function (KEY) { - var uncurriedNativeMethod = uncurryThis$V(NativePrototype[KEY]); + var uncurriedNativeMethod = uncurryThis$W(NativePrototype[KEY]); defineBuiltIn$e(NativePrototype, KEY, KEY == 'add' ? function add(value) { uncurriedNativeMethod(this, value === 0 ? 0 : value); @@ -5033,7 +5195,7 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { var REPLACE = isForced$3( CONSTRUCTOR_NAME, - !isCallable$i(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$Q(function () { + !isCallable$i(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$R(function () { new NativeConstructor().entries().next(); })) ); @@ -5047,12 +5209,12 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { // early implementations not supports chaining var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails$Q(function () { instance.has(1); }); + var THROWS_ON_PRIMITIVES = fails$R(function () { instance.has(1); }); // most early implementations doesn't supports iterables, most modern - not close it correctly // eslint-disable-next-line no-new -- required for testing var ACCEPT_ITERABLES = checkCorrectnessOfIteration$2(function (iterable) { new NativeConstructor(iterable); }); // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails$Q(function () { + var BUGGY_ZERO = !IS_WEAK && fails$R(function () { // V8 ~ Chromium 42- fails only with 5+ elements var $instance = new NativeConstructor(); var index = 5; @@ -5096,7 +5258,7 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { var defineProperty$6 = objectDefineProperty.f; var create$b = objectCreate$1; var defineBuiltIns$7 = defineBuiltIns$9; -var bind$o = functionBindContext; +var bind$n = functionBindContext; var anInstance$a = anInstance$d; var iterate$G = iterate$J; var defineIterator$1 = defineIterator$3; @@ -5209,7 +5371,7 @@ var collectionStrong$2 = { // https://tc39.es/ecma262/#sec-set.prototype.foreach forEach: function forEach(callbackfn /* , that = undefined */) { var state = getInternalState(this); - var boundFunction = bind$o(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var boundFunction = bind$n(callbackfn, arguments.length > 1 ? arguments[1] : undefined); var entry; while (entry = entry ? entry.next : state.first) { boundFunction(entry.value, entry.key, this); @@ -5530,12 +5692,12 @@ $$3T({ target: 'Math', stat: true, arity: 2, forced: BUGGY }, { }); var $$3S = _export; -var fails$P = fails$1k; +var fails$Q = fails$1m; // eslint-disable-next-line es-x/no-math-imul -- required for testing var $imul = Math.imul; -var FORCED$i = fails$P(function () { +var FORCED$i = fails$Q(function () { return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2; }); @@ -5600,14 +5762,14 @@ $$3O({ target: 'Math', stat: true }, { }); var $$3N = _export; -var fails$O = fails$1k; +var fails$P = fails$1m; var expm1$1 = mathExpm1; var abs$2 = Math.abs; var exp$1 = Math.exp; var E = Math.E; -var FORCED$h = fails$O(function () { +var FORCED$h = fails$P(function () { // eslint-disable-next-line es-x/no-math-sinh -- required for testing return Math.sinh(-2e-17) != -2e-17; }); @@ -5653,28 +5815,28 @@ $$3L({ target: 'Math', stat: true }, { trunc: trunc }); -var uncurryThis$U = functionUncurryThis; +var uncurryThis$V = functionUncurryThis; // `thisNumberValue` abstract operation // https://tc39.es/ecma262/#sec-thisnumbervalue -var thisNumberValue$4 = uncurryThis$U(1.0.valueOf); +var thisNumberValue$4 = uncurryThis$V(1.0.valueOf); // a string of all valid unicode whitespaces var whitespaces$5 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; -var uncurryThis$T = functionUncurryThis; +var uncurryThis$U = functionUncurryThis; var requireObjectCoercible$f = requireObjectCoercible$k; var toString$r = toString$z; var whitespaces$4 = whitespaces$5; -var replace$8 = uncurryThis$T(''.replace); +var replace$8 = uncurryThis$U(''.replace); var whitespace = '[' + whitespaces$4 + ']'; var ltrim = RegExp('^' + whitespace + whitespace + '*'); var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation -var createMethod$4 = function (TYPE) { +var createMethod$3 = function (TYPE) { return function ($this) { var string = toString$r(requireObjectCoercible$f($this)); if (TYPE & 1) string = replace$8(string, ltrim, ''); @@ -5686,18 +5848,18 @@ var createMethod$4 = function (TYPE) { var stringTrim = { // `String.prototype.{ trimLeft, trimStart }` methods // https://tc39.es/ecma262/#sec-string.prototype.trimstart - start: createMethod$4(1), + start: createMethod$3(1), // `String.prototype.{ trimRight, trimEnd }` methods // https://tc39.es/ecma262/#sec-string.prototype.trimend - end: createMethod$4(2), + end: createMethod$3(2), // `String.prototype.trim` method // https://tc39.es/ecma262/#sec-string.prototype.trim - trim: createMethod$4(3) + trim: createMethod$3(3) }; var DESCRIPTORS$q = descriptors; -var global$E = global$Z; -var uncurryThis$S = functionUncurryThis; +var global$F = global$_; +var uncurryThis$T = functionUncurryThis; var isForced$2 = isForced_1; var defineBuiltIn$d = defineBuiltIn$p; var hasOwn$h = hasOwnProperty_1; @@ -5705,7 +5867,7 @@ var inheritIfRequired$3 = inheritIfRequired$6; var isPrototypeOf$5 = objectIsPrototypeOf; var isSymbol$2 = isSymbol$7; var toPrimitive$1 = toPrimitive$4; -var fails$N = fails$1k; +var fails$O = fails$1m; var getOwnPropertyNames$3 = objectGetOwnPropertyNames.f; var getOwnPropertyDescriptor$8 = objectGetOwnPropertyDescriptor.f; var defineProperty$5 = objectDefineProperty.f; @@ -5713,11 +5875,11 @@ var thisNumberValue$3 = thisNumberValue$4; var trim$2 = stringTrim.trim; var NUMBER = 'Number'; -var NativeNumber = global$E[NUMBER]; +var NativeNumber = global$F[NUMBER]; var NumberPrototype = NativeNumber.prototype; -var TypeError$5 = global$E.TypeError; -var arraySlice$9 = uncurryThis$S(''.slice); -var charCodeAt$3 = uncurryThis$S(''.charCodeAt); +var TypeError$5 = global$F.TypeError; +var arraySlice$7 = uncurryThis$T(''.slice); +var charCodeAt$3 = uncurryThis$T(''.charCodeAt); // `ToNumeric` abstract operation // https://tc39.es/ecma262/#sec-tonumeric @@ -5744,7 +5906,7 @@ var toNumber = function (argument) { case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i default: return +it; } - digits = arraySlice$9(it, 2); + digits = arraySlice$7(it, 2); length = digits.length; for (index = 0; index < length; index++) { code = charCodeAt$3(digits, index); @@ -5763,7 +5925,7 @@ if (isForced$2(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); var dummy = this; // check on 1..constructor(foo) case - return isPrototypeOf$5(NumberPrototype, dummy) && fails$N(function () { thisNumberValue$3(dummy); }) + return isPrototypeOf$5(NumberPrototype, dummy) && fails$O(function () { thisNumberValue$3(dummy); }) ? inheritIfRequired$3(Object(n), dummy, NumberWrapper) : n; }; for (var keys$1 = DESCRIPTORS$q ? getOwnPropertyNames$3(NativeNumber) : ( @@ -5780,20 +5942,20 @@ if (isForced$2(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu } NumberWrapper.prototype = NumberPrototype; NumberPrototype.constructor = NumberWrapper; - defineBuiltIn$d(global$E, NUMBER, NumberWrapper, { constructor: true }); + defineBuiltIn$d(global$F, NUMBER, NumberWrapper, { constructor: true }); } var $$3K = _export; // `Number.EPSILON` constant // https://tc39.es/ecma262/#sec-number.epsilon -$$3K({ target: 'Number', stat: true }, { +$$3K({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { EPSILON: Math.pow(2, -52) }); -var global$D = global$Z; +var global$E = global$_; -var globalIsFinite = global$D.isFinite; +var globalIsFinite = global$E.isFinite; // `Number.isFinite` method // https://tc39.es/ecma262/#sec-number.isfinite @@ -5857,7 +6019,7 @@ var $$3F = _export; // `Number.MAX_SAFE_INTEGER` constant // https://tc39.es/ecma262/#sec-number.max_safe_integer -$$3F({ target: 'Number', stat: true }, { +$$3F({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF }); @@ -5865,24 +6027,24 @@ var $$3E = _export; // `Number.MIN_SAFE_INTEGER` constant // https://tc39.es/ecma262/#sec-number.min_safe_integer -$$3E({ target: 'Number', stat: true }, { +$$3E({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, { MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF }); -var global$C = global$Z; -var fails$M = fails$1k; -var uncurryThis$R = functionUncurryThis; +var global$D = global$_; +var fails$N = fails$1m; +var uncurryThis$S = functionUncurryThis; var toString$q = toString$z; var trim$1 = stringTrim.trim; var whitespaces$3 = whitespaces$5; -var charAt$f = uncurryThis$R(''.charAt); -var n$ParseFloat = global$C.parseFloat; -var Symbol$2 = global$C.Symbol; +var charAt$f = uncurryThis$S(''.charAt); +var n$ParseFloat = global$D.parseFloat; +var Symbol$2 = global$D.Symbol; var ITERATOR$5 = Symbol$2 && Symbol$2.iterator; var FORCED$g = 1 / n$ParseFloat(whitespaces$3 + '-0') !== -Infinity // MS Edge 18- broken with boxed symbols - || (ITERATOR$5 && !fails$M(function () { n$ParseFloat(Object(ITERATOR$5)); })); + || (ITERATOR$5 && !fails$N(function () { n$ParseFloat(Object(ITERATOR$5)); })); // `parseFloat` method // https://tc39.es/ecma262/#sec-parsefloat-string @@ -5902,21 +6064,21 @@ $$3D({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat$1 } parseFloat: parseFloat$1 }); -var global$B = global$Z; -var fails$L = fails$1k; -var uncurryThis$Q = functionUncurryThis; +var global$C = global$_; +var fails$M = fails$1m; +var uncurryThis$R = functionUncurryThis; var toString$p = toString$z; var trim = stringTrim.trim; var whitespaces$2 = whitespaces$5; -var $parseInt$1 = global$B.parseInt; -var Symbol$1 = global$B.Symbol; +var $parseInt$1 = global$C.parseInt; +var Symbol$1 = global$C.Symbol; var ITERATOR$4 = Symbol$1 && Symbol$1.iterator; var hex = /^[+-]?0x/i; -var exec$9 = uncurryThis$Q(hex.exec); +var exec$9 = uncurryThis$R(hex.exec); var FORCED$f = $parseInt$1(whitespaces$2 + '08') !== 8 || $parseInt$1(whitespaces$2 + '0x16') !== 22 // MS Edge 18- broken with boxed symbols - || (ITERATOR$4 && !fails$L(function () { $parseInt$1(Object(ITERATOR$4)); })); + || (ITERATOR$4 && !fails$M(function () { $parseInt$1(Object(ITERATOR$4)); })); // `parseInt` method // https://tc39.es/ecma262/#sec-parseint-string-radix @@ -5936,12 +6098,12 @@ $$3C({ target: 'Number', stat: true, forced: Number.parseInt != parseInt$3 }, { }); var $$3B = _export; -var uncurryThis$P = functionUncurryThis; -var toIntegerOrInfinity$b = toIntegerOrInfinity$m; +var uncurryThis$Q = functionUncurryThis; +var toIntegerOrInfinity$d = toIntegerOrInfinity$o; var thisNumberValue$2 = thisNumberValue$4; var $repeat$1 = stringRepeat; var log10 = mathLog10; -var fails$K = fails$1k; +var fails$L = fails$1m; var $RangeError$8 = RangeError; var $String$1 = String; @@ -5950,9 +6112,9 @@ var abs = Math.abs; var floor$5 = Math.floor; var pow$2 = Math.pow; var round$1 = Math.round; -var un$ToExponential = uncurryThis$P(1.0.toExponential); -var repeat$2 = uncurryThis$P($repeat$1); -var stringSlice$e = uncurryThis$P(''.slice); +var un$ToExponential = uncurryThis$Q(1.0.toExponential); +var repeat$2 = uncurryThis$Q($repeat$1); +var stringSlice$e = uncurryThis$Q(''.slice); // Edge 17- var ROUNDS_PROPERLY = un$ToExponential(-6.9e-11, 4) === '-6.9000e-11' @@ -5964,16 +6126,16 @@ var ROUNDS_PROPERLY = un$ToExponential(-6.9e-11, 4) === '-6.9000e-11' && un$ToExponential(25, 0) === '3e+1'; // IE8- -var THROWS_ON_INFINITY_FRACTION = fails$K(function () { +var THROWS_ON_INFINITY_FRACTION = fails$L(function () { un$ToExponential(1, Infinity); -}) && fails$K(function () { +}) && fails$L(function () { un$ToExponential(1, -Infinity); }); // Safari <11 && FF <50 -var PROPER_NON_FINITE_THIS_CHECK = !fails$K(function () { +var PROPER_NON_FINITE_THIS_CHECK = !fails$L(function () { un$ToExponential(Infinity, Infinity); -}) && !fails$K(function () { +}) && !fails$L(function () { un$ToExponential(NaN, Infinity); }); @@ -5985,7 +6147,7 @@ $$3B({ target: 'Number', proto: true, forced: FORCED$e }, { toExponential: function toExponential(fractionDigits) { var x = thisNumberValue$2(this); if (fractionDigits === undefined) return un$ToExponential(x); - var f = toIntegerOrInfinity$b(fractionDigits); + var f = toIntegerOrInfinity$d(fractionDigits); if (!$isFinite(x)) return String(x); // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation if (f < 0 || f > 20) throw $RangeError$8('Incorrect fraction digits'); @@ -6035,18 +6197,18 @@ $$3B({ target: 'Number', proto: true, forced: FORCED$e }, { }); var $$3A = _export; -var uncurryThis$O = functionUncurryThis; -var toIntegerOrInfinity$a = toIntegerOrInfinity$m; +var uncurryThis$P = functionUncurryThis; +var toIntegerOrInfinity$c = toIntegerOrInfinity$o; var thisNumberValue$1 = thisNumberValue$4; var $repeat = stringRepeat; -var fails$J = fails$1k; +var fails$K = fails$1m; var $RangeError$7 = RangeError; var $String = String; var floor$4 = Math.floor; -var repeat$1 = uncurryThis$O($repeat); -var stringSlice$d = uncurryThis$O(''.slice); -var un$ToFixed = uncurryThis$O(1.0.toFixed); +var repeat$1 = uncurryThis$P($repeat); +var stringSlice$d = uncurryThis$P(''.slice); +var un$ToFixed = uncurryThis$P(1.0.toFixed); var pow$1 = function (x, n, acc) { return n === 0 ? acc : n % 2 === 1 ? pow$1(x, n - 1, acc * x) : pow$1(x * x, n / 2, acc); @@ -6096,12 +6258,12 @@ var dataToString = function (data) { } return s; }; -var FORCED$d = fails$J(function () { +var FORCED$d = fails$K(function () { return un$ToFixed(0.00008, 3) !== '0.000' || un$ToFixed(0.9, 0) !== '1' || un$ToFixed(1.255, 2) !== '1.25' || un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128'; -}) || !fails$J(function () { +}) || !fails$K(function () { // V8 ~ Android 4.3- un$ToFixed({}); }); @@ -6111,7 +6273,7 @@ var FORCED$d = fails$J(function () { $$3A({ target: 'Number', proto: true, forced: FORCED$d }, { toFixed: function toFixed(fractionDigits) { var number = thisNumberValue$1(this); - var fractDigits = toIntegerOrInfinity$a(fractionDigits); + var fractDigits = toIntegerOrInfinity$c(fractionDigits); var data = [0, 0, 0, 0, 0, 0]; var sign = ''; var result = '0'; @@ -6166,16 +6328,16 @@ $$3A({ target: 'Number', proto: true, forced: FORCED$d }, { }); var $$3z = _export; -var uncurryThis$N = functionUncurryThis; -var fails$I = fails$1k; +var uncurryThis$O = functionUncurryThis; +var fails$J = fails$1m; var thisNumberValue = thisNumberValue$4; -var un$ToPrecision = uncurryThis$N(1.0.toPrecision); +var un$ToPrecision = uncurryThis$O(1.0.toPrecision); -var FORCED$c = fails$I(function () { +var FORCED$c = fails$J(function () { // IE7- return un$ToPrecision(1, undefined) !== '1'; -}) || !fails$I(function () { +}) || !fails$J(function () { // V8 ~ Android 4.3- un$ToPrecision({}); }); @@ -6191,24 +6353,24 @@ $$3z({ target: 'Number', proto: true, forced: FORCED$c }, { }); var DESCRIPTORS$p = descriptors; -var uncurryThis$M = functionUncurryThis; +var uncurryThis$N = functionUncurryThis; var call$U = functionCall; -var fails$H = fails$1k; +var fails$I = fails$1m; var objectKeys$3 = objectKeys$6; var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; var propertyIsEnumerableModule = objectPropertyIsEnumerable; -var toObject$j = toObject$z; -var IndexedObject$3 = indexedObject; +var toObject$i = toObject$B; +var IndexedObject$2 = indexedObject; // eslint-disable-next-line es-x/no-object-assign -- safe var $assign = Object.assign; // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing var defineProperty$4 = Object.defineProperty; -var concat$2 = uncurryThis$M([].concat); +var concat$2 = uncurryThis$N([].concat); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign -var objectAssign = !$assign || fails$H(function () { +var objectAssign = !$assign || fails$I(function () { // should have correct order of operations (Edge bug) if (DESCRIPTORS$p && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', { enumerable: true, @@ -6229,13 +6391,13 @@ var objectAssign = !$assign || fails$H(function () { alphabet.split('').forEach(function (chr) { B[chr] = chr; }); return $assign({}, A)[symbol] != 7 || objectKeys$3($assign({}, B)).join('') != alphabet; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` - var T = toObject$j(target); + var T = toObject$i(target); var argumentsLength = arguments.length; var index = 1; var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; var propertyIsEnumerable = propertyIsEnumerableModule.f; while (argumentsLength > index) { - var S = IndexedObject$3(arguments[index++]); + var S = IndexedObject$2(arguments[index++]); var keys = getOwnPropertySymbols ? concat$2(objectKeys$3(S), getOwnPropertySymbols(S)) : objectKeys$3(S); var length = keys.length; var j = 0; @@ -6268,12 +6430,12 @@ $$3x({ target: 'Object', stat: true, sham: !DESCRIPTORS$o }, { create: create$a }); -var global$A = global$Z; -var fails$G = fails$1k; +var global$B = global$_; +var fails$H = fails$1m; var WEBKIT$1 = engineWebkitVersion; // Forced replacement object prototype accessors methods -var objectPrototypeAccessorsForced = !fails$G(function () { +var objectPrototypeAccessorsForced = !fails$H(function () { // This feature detection crashes old WebKit // https://github.com/zloirock/core-js/issues/232 if (WEBKIT$1 && WEBKIT$1 < 535) return; @@ -6281,14 +6443,14 @@ var objectPrototypeAccessorsForced = !fails$G(function () { // In FF throws only define methods // eslint-disable-next-line no-undef, no-useless-call, es-x/no-legacy-object-prototype-accessor-methods -- required for testing __defineSetter__.call(null, key, function () { /* empty */ }); - delete global$A[key]; + delete global$B[key]; }); var $$3w = _export; var DESCRIPTORS$n = descriptors; var FORCED$b = objectPrototypeAccessorsForced; var aCallable$Q = aCallable$Y; -var toObject$i = toObject$z; +var toObject$h = toObject$B; var definePropertyModule$4 = objectDefineProperty; // `Object.prototype.__defineGetter__` method @@ -6296,7 +6458,7 @@ var definePropertyModule$4 = objectDefineProperty; if (DESCRIPTORS$n) { $$3w({ target: 'Object', proto: true, forced: FORCED$b }, { __defineGetter__: function __defineGetter__(P, getter) { - definePropertyModule$4.f(toObject$i(this), P, { get: aCallable$Q(getter), enumerable: true, configurable: true }); + definePropertyModule$4.f(toObject$h(this), P, { get: aCallable$Q(getter), enumerable: true, configurable: true }); } }); } @@ -6327,7 +6489,7 @@ var $$3t = _export; var DESCRIPTORS$k = descriptors; var FORCED$a = objectPrototypeAccessorsForced; var aCallable$P = aCallable$Y; -var toObject$h = toObject$z; +var toObject$g = toObject$B; var definePropertyModule$3 = objectDefineProperty; // `Object.prototype.__defineSetter__` method @@ -6335,22 +6497,22 @@ var definePropertyModule$3 = objectDefineProperty; if (DESCRIPTORS$k) { $$3t({ target: 'Object', proto: true, forced: FORCED$a }, { __defineSetter__: function __defineSetter__(P, setter) { - definePropertyModule$3.f(toObject$h(this), P, { set: aCallable$P(setter), enumerable: true, configurable: true }); + definePropertyModule$3.f(toObject$g(this), P, { set: aCallable$P(setter), enumerable: true, configurable: true }); } }); } var DESCRIPTORS$j = descriptors; -var uncurryThis$L = functionUncurryThis; +var uncurryThis$M = functionUncurryThis; var objectKeys$2 = objectKeys$6; var toIndexedObject$9 = toIndexedObject$k; var $propertyIsEnumerable = objectPropertyIsEnumerable.f; -var propertyIsEnumerable = uncurryThis$L($propertyIsEnumerable); -var push$h = uncurryThis$L([].push); +var propertyIsEnumerable = uncurryThis$M($propertyIsEnumerable); +var push$h = uncurryThis$M([].push); // `Object.{ entries, values }` methods implementation -var createMethod$3 = function (TO_ENTRIES) { +var createMethod$2 = function (TO_ENTRIES) { return function (it) { var O = toIndexedObject$9(it); var keys = objectKeys$2(O); @@ -6371,10 +6533,10 @@ var createMethod$3 = function (TO_ENTRIES) { var objectToArray = { // `Object.entries` method // https://tc39.es/ecma262/#sec-object.entries - entries: createMethod$3(true), + entries: createMethod$2(true), // `Object.values` method // https://tc39.es/ecma262/#sec-object.values - values: createMethod$3(false) + values: createMethod$2(false) }; var $$3s = _export; @@ -6390,13 +6552,13 @@ $$3s({ target: 'Object', stat: true }, { var $$3r = _export; var FREEZING$3 = freezing; -var fails$F = fails$1k; +var fails$G = fails$1m; var isObject$j = isObject$C; var onFreeze$2 = internalMetadata.exports.onFreeze; // eslint-disable-next-line es-x/no-object-freeze -- safe var $freeze = Object.freeze; -var FAILS_ON_PRIMITIVES$8 = fails$F(function () { $freeze(1); }); +var FAILS_ON_PRIMITIVES$8 = fails$G(function () { $freeze(1); }); // `Object.freeze` method // https://tc39.es/ecma262/#sec-object.freeze @@ -6423,12 +6585,12 @@ $$3q({ target: 'Object', stat: true }, { }); var $$3p = _export; -var fails$E = fails$1k; +var fails$F = fails$1m; var toIndexedObject$8 = toIndexedObject$k; var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; var DESCRIPTORS$i = descriptors; -var FAILS_ON_PRIMITIVES$7 = fails$E(function () { nativeGetOwnPropertyDescriptor$1(1); }); +var FAILS_ON_PRIMITIVES$7 = fails$F(function () { nativeGetOwnPropertyDescriptor$1(1); }); var FORCED$9 = !DESCRIPTORS$i || FAILS_ON_PRIMITIVES$7; // `Object.getOwnPropertyDescriptor` method @@ -6465,11 +6627,11 @@ $$3o({ target: 'Object', stat: true, sham: !DESCRIPTORS$h }, { }); var $$3n = _export; -var fails$D = fails$1k; +var fails$E = fails$1m; var getOwnPropertyNames$2 = objectGetOwnPropertyNamesExternal.f; // eslint-disable-next-line es-x/no-object-getownpropertynames -- required for testing -var FAILS_ON_PRIMITIVES$6 = fails$D(function () { return !Object.getOwnPropertyNames(1); }); +var FAILS_ON_PRIMITIVES$6 = fails$E(function () { return !Object.getOwnPropertyNames(1); }); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames @@ -6478,18 +6640,18 @@ $$3n({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$6 }, { }); var $$3m = _export; -var fails$C = fails$1k; -var toObject$g = toObject$z; +var fails$D = fails$1m; +var toObject$f = toObject$B; var nativeGetPrototypeOf = objectGetPrototypeOf$1; var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter; -var FAILS_ON_PRIMITIVES$5 = fails$C(function () { nativeGetPrototypeOf(1); }); +var FAILS_ON_PRIMITIVES$5 = fails$D(function () { nativeGetPrototypeOf(1); }); // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof $$3m({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$5, sham: !CORRECT_PROTOTYPE_GETTER$1 }, { getPrototypeOf: function getPrototypeOf(it) { - return nativeGetPrototypeOf(toObject$g(it)); + return nativeGetPrototypeOf(toObject$f(it)); } }); @@ -6530,64 +6692,64 @@ $$3j({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensib }); var $$3i = _export; -var fails$B = fails$1k; +var fails$C = fails$1m; var isObject$i = isObject$C; -var classof$b = classofRaw$1; +var classof$c = classofRaw$1; var ARRAY_BUFFER_NON_EXTENSIBLE$1 = arrayBufferNonExtensible; // eslint-disable-next-line es-x/no-object-isfrozen -- safe var $isFrozen = Object.isFrozen; -var FAILS_ON_PRIMITIVES$4 = fails$B(function () { $isFrozen(1); }); +var FAILS_ON_PRIMITIVES$4 = fails$C(function () { $isFrozen(1); }); // `Object.isFrozen` method // https://tc39.es/ecma262/#sec-object.isfrozen $$3i({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 || ARRAY_BUFFER_NON_EXTENSIBLE$1 }, { isFrozen: function isFrozen(it) { if (!isObject$i(it)) return true; - if (ARRAY_BUFFER_NON_EXTENSIBLE$1 && classof$b(it) == 'ArrayBuffer') return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE$1 && classof$c(it) == 'ArrayBuffer') return true; return $isFrozen ? $isFrozen(it) : false; } }); var $$3h = _export; -var fails$A = fails$1k; +var fails$B = fails$1m; var isObject$h = isObject$C; -var classof$a = classofRaw$1; +var classof$b = classofRaw$1; var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible; // eslint-disable-next-line es-x/no-object-issealed -- safe var $isSealed = Object.isSealed; -var FAILS_ON_PRIMITIVES$3 = fails$A(function () { $isSealed(1); }); +var FAILS_ON_PRIMITIVES$3 = fails$B(function () { $isSealed(1); }); // `Object.isSealed` method // https://tc39.es/ecma262/#sec-object.issealed $$3h({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3 || ARRAY_BUFFER_NON_EXTENSIBLE }, { isSealed: function isSealed(it) { if (!isObject$h(it)) return true; - if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$a(it) == 'ArrayBuffer') return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$b(it) == 'ArrayBuffer') return true; return $isSealed ? $isSealed(it) : false; } }); var $$3g = _export; -var toObject$f = toObject$z; +var toObject$e = toObject$B; var nativeKeys = objectKeys$6; -var fails$z = fails$1k; +var fails$A = fails$1m; -var FAILS_ON_PRIMITIVES$2 = fails$z(function () { nativeKeys(1); }); +var FAILS_ON_PRIMITIVES$2 = fails$A(function () { nativeKeys(1); }); // `Object.keys` method // https://tc39.es/ecma262/#sec-object.keys $$3g({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$2 }, { keys: function keys(it) { - return nativeKeys(toObject$f(it)); + return nativeKeys(toObject$e(it)); } }); var $$3f = _export; var DESCRIPTORS$g = descriptors; var FORCED$8 = objectPrototypeAccessorsForced; -var toObject$e = toObject$z; +var toObject$d = toObject$B; var toPropertyKey$4 = toPropertyKey$9; var getPrototypeOf$7 = objectGetPrototypeOf$1; var getOwnPropertyDescriptor$7 = objectGetOwnPropertyDescriptor.f; @@ -6597,7 +6759,7 @@ var getOwnPropertyDescriptor$7 = objectGetOwnPropertyDescriptor.f; if (DESCRIPTORS$g) { $$3f({ target: 'Object', proto: true, forced: FORCED$8 }, { __lookupGetter__: function __lookupGetter__(P) { - var O = toObject$e(this); + var O = toObject$d(this); var key = toPropertyKey$4(P); var desc; do { @@ -6610,7 +6772,7 @@ if (DESCRIPTORS$g) { var $$3e = _export; var DESCRIPTORS$f = descriptors; var FORCED$7 = objectPrototypeAccessorsForced; -var toObject$d = toObject$z; +var toObject$c = toObject$B; var toPropertyKey$3 = toPropertyKey$9; var getPrototypeOf$6 = objectGetPrototypeOf$1; var getOwnPropertyDescriptor$6 = objectGetOwnPropertyDescriptor.f; @@ -6620,7 +6782,7 @@ var getOwnPropertyDescriptor$6 = objectGetOwnPropertyDescriptor.f; if (DESCRIPTORS$f) { $$3e({ target: 'Object', proto: true, forced: FORCED$7 }, { __lookupSetter__: function __lookupSetter__(P) { - var O = toObject$d(this); + var O = toObject$c(this); var key = toPropertyKey$3(P); var desc; do { @@ -6634,11 +6796,11 @@ var $$3d = _export; var isObject$g = isObject$C; var onFreeze$1 = internalMetadata.exports.onFreeze; var FREEZING$2 = freezing; -var fails$y = fails$1k; +var fails$z = fails$1m; // eslint-disable-next-line es-x/no-object-preventextensions -- safe var $preventExtensions = Object.preventExtensions; -var FAILS_ON_PRIMITIVES$1 = fails$y(function () { $preventExtensions(1); }); +var FAILS_ON_PRIMITIVES$1 = fails$z(function () { $preventExtensions(1); }); // `Object.preventExtensions` method // https://tc39.es/ecma262/#sec-object.preventextensions @@ -6652,11 +6814,11 @@ var $$3c = _export; var isObject$f = isObject$C; var onFreeze = internalMetadata.exports.onFreeze; var FREEZING$1 = freezing; -var fails$x = fails$1k; +var fails$y = fails$1m; // eslint-disable-next-line es-x/no-object-seal -- safe var $seal = Object.seal; -var FAILS_ON_PRIMITIVES = fails$x(function () { $seal(1); }); +var FAILS_ON_PRIMITIVES = fails$y(function () { $seal(1); }); // `Object.seal` method // https://tc39.es/ecma262/#sec-object.seal @@ -6676,12 +6838,12 @@ $$3b({ target: 'Object', stat: true }, { }); var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; -var classof$9 = classof$k; +var classof$a = classof$l; // `Object.prototype.toString` method implementation // https://tc39.es/ecma262/#sec-object.prototype.tostring var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { - return '[object ' + classof$9(this) + ']'; + return '[object ' + classof$a(this) + ']'; }; var TO_STRING_TAG_SUPPORT = toStringTagSupport; @@ -6734,26 +6896,26 @@ var userAgent$4 = engineUserAgent; var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$4); -var global$z = global$Z; +var global$A = global$_; var apply$l = functionApply$1; -var bind$n = functionBindContext; +var bind$m = functionBindContext; var isCallable$h = isCallable$E; var hasOwn$f = hasOwnProperty_1; -var fails$w = fails$1k; +var fails$x = fails$1m; var html = html$2; -var arraySlice$8 = arraySlice$e; +var arraySlice$6 = arraySlice$c; var createElement = documentCreateElement$2; var validateArgumentsLength$7 = validateArgumentsLength$8; var IS_IOS$1 = engineIsIos; -var IS_NODE$4 = engineIsNode; +var IS_NODE$5 = engineIsNode; -var set$1 = global$z.setImmediate; -var clear = global$z.clearImmediate; -var process$3 = global$z.process; -var Dispatch = global$z.Dispatch; -var Function$2 = global$z.Function; -var MessageChannel = global$z.MessageChannel; -var String$1 = global$z.String; +var set$1 = global$A.setImmediate; +var clear = global$A.clearImmediate; +var process$3 = global$A.process; +var Dispatch = global$A.Dispatch; +var Function$2 = global$A.Function; +var MessageChannel = global$A.MessageChannel; +var String$1 = global$A.String; var counter = 0; var queue$1 = {}; var ONREADYSTATECHANGE = 'onreadystatechange'; @@ -6761,7 +6923,7 @@ var location, defer, channel, port; try { // Deno throws a ReferenceError on `location` access without `--location` flag - location = global$z.location; + location = global$A.location; } catch (error) { /* empty */ } var run = function (id) { @@ -6784,7 +6946,7 @@ var listener = function (event) { var post = function (id) { // old engines have not location.origin - global$z.postMessage(String$1(id), location.protocol + '//' + location.host); + global$A.postMessage(String$1(id), location.protocol + '//' + location.host); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: @@ -6792,7 +6954,7 @@ if (!set$1 || !clear) { set$1 = function setImmediate(handler) { validateArgumentsLength$7(arguments.length, 1); var fn = isCallable$h(handler) ? handler : Function$2(handler); - var args = arraySlice$8(arguments, 1); + var args = arraySlice$6(arguments, 1); queue$1[++counter] = function () { apply$l(fn, undefined, args); }; @@ -6803,7 +6965,7 @@ if (!set$1 || !clear) { delete queue$1[id]; }; // Node.js 0.8- - if (IS_NODE$4) { + if (IS_NODE$5) { defer = function (id) { process$3.nextTick(runner(id)); }; @@ -6818,18 +6980,18 @@ if (!set$1 || !clear) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; - defer = bind$n(port.postMessage, port); + defer = bind$m(port.postMessage, port); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if ( - global$z.addEventListener && - isCallable$h(global$z.postMessage) && - !global$z.importScripts && + global$A.addEventListener && + isCallable$h(global$A.postMessage) && + !global$A.importScripts && location && location.protocol !== 'file:' && - !fails$w(post) + !fails$x(post) ) { defer = post; - global$z.addEventListener('message', listener, false); + global$A.addEventListener('message', listener, false); // IE8- } else if (ONREADYSTATECHANGE in createElement('script')) { defer = function (id) { @@ -6852,29 +7014,29 @@ var task$1 = { }; var userAgent$3 = engineUserAgent; -var global$y = global$Z; +var global$z = global$_; -var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$3) && global$y.Pebble !== undefined; +var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$3) && global$z.Pebble !== undefined; var userAgent$2 = engineUserAgent; var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$2); -var global$x = global$Z; -var bind$m = functionBindContext; +var global$y = global$_; +var bind$l = functionBindContext; var getOwnPropertyDescriptor$5 = objectGetOwnPropertyDescriptor.f; var macrotask = task$1.set; var IS_IOS = engineIsIos; var IS_IOS_PEBBLE = engineIsIosPebble; var IS_WEBOS_WEBKIT = engineIsWebosWebkit; -var IS_NODE$3 = engineIsNode; +var IS_NODE$4 = engineIsNode; -var MutationObserver = global$x.MutationObserver || global$x.WebKitMutationObserver; -var document$2 = global$x.document; -var process$2 = global$x.process; -var Promise$4 = global$x.Promise; +var MutationObserver = global$y.MutationObserver || global$y.WebKitMutationObserver; +var document$2 = global$y.document; +var process$2 = global$y.process; +var Promise$4 = global$y.Promise; // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` -var queueMicrotaskDescriptor = getOwnPropertyDescriptor$5(global$x, 'queueMicrotask'); +var queueMicrotaskDescriptor = getOwnPropertyDescriptor$5(global$y, 'queueMicrotask'); var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; var flush, head, last, notify$1, toggle, node, promise, then; @@ -6883,7 +7045,7 @@ var flush, head, last, notify$1, toggle, node, promise, then; if (!queueMicrotask) { flush = function () { var parent, fn; - if (IS_NODE$3 && (parent = process$2.domain)) parent.exit(); + if (IS_NODE$4 && (parent = process$2.domain)) parent.exit(); while (head) { fn = head.fn; head = head.next; @@ -6900,7 +7062,7 @@ if (!queueMicrotask) { // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 - if (!IS_IOS && !IS_NODE$3 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) { + if (!IS_IOS && !IS_NODE$4 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) { toggle = true; node = document$2.createTextNode(''); new MutationObserver(flush).observe(node, { characterData: true }); @@ -6913,12 +7075,12 @@ if (!queueMicrotask) { promise = Promise$4.resolve(undefined); // workaround of WebKit ~ iOS Safari 10.1 bug promise.constructor = Promise$4; - then = bind$m(promise.then, promise); + then = bind$l(promise.then, promise); notify$1 = function () { then(flush); }; // Node.js without promises - } else if (IS_NODE$3) { + } else if (IS_NODE$4) { notify$1 = function () { process$2.nextTick(flush); }; @@ -6930,7 +7092,7 @@ if (!queueMicrotask) { // - setTimeout } else { // strange IE + webpack dev server bug - use .bind(global) - macrotask = bind$m(macrotask, global$x); + macrotask = bind$l(macrotask, global$y); notify$1 = function () { macrotask(flush); }; @@ -6946,10 +7108,10 @@ var microtask$2 = queueMicrotask || function (fn) { } last = task; }; -var global$w = global$Z; +var global$x = global$_; var hostReportErrors$2 = function (a, b) { - var console = global$w.console; + var console = global$x.console; if (console && console.error) { arguments.length == 1 ? console.error(a) : console.error(a, b); } @@ -6987,25 +7149,25 @@ Queue$1.prototype = { var queue = Queue$1; -var global$v = global$Z; +var global$w = global$_; -var promiseNativeConstructor = global$v.Promise; +var promiseNativeConstructor = global$w.Promise; var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object'; -var global$u = global$Z; +var global$v = global$_; var NativePromiseConstructor$4 = promiseNativeConstructor; var isCallable$g = isCallable$E; var isForced$1 = isForced_1; var inspectSource$1 = inspectSource$5; var wellKnownSymbol$m = wellKnownSymbol$K; -var IS_BROWSER = engineIsBrowser; +var IS_BROWSER$1 = engineIsBrowser; var V8_VERSION = engineV8Version; NativePromiseConstructor$4 && NativePromiseConstructor$4.prototype; var SPECIES$1 = wellKnownSymbol$m('species'); var SUBCLASSING = false; -var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$g(global$u.PromiseRejectionEvent); +var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$g(global$v.PromiseRejectionEvent); var FORCED_PROMISE_CONSTRUCTOR$5 = isForced$1('Promise', function () { var PROMISE_CONSTRUCTOR_SOURCE = inspectSource$1(NativePromiseConstructor$4); @@ -7028,7 +7190,7 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced$1('Promise', function () { SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; if (!SUBCLASSING) return true; // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1; + return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER$1 && !NATIVE_PROMISE_REJECTION_EVENT$1; }); var promiseConstructorDetection = { @@ -7059,8 +7221,8 @@ newPromiseCapability$2.f = function (C) { }; var $$37 = _export; -var IS_NODE$2 = engineIsNode; -var global$t = global$Z; +var IS_NODE$3 = engineIsNode; +var global$u = global$_; var call$T = functionCall; var defineBuiltIn$b = defineBuiltIn$p; var setPrototypeOf$1 = objectSetPrototypeOf$1; @@ -7090,13 +7252,13 @@ var setInternalState$f = InternalStateModule$f.set; var NativePromisePrototype$2 = NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype; var PromiseConstructor = NativePromiseConstructor$3; var PromisePrototype = NativePromisePrototype$2; -var TypeError$4 = global$t.TypeError; -var document$1 = global$t.document; -var process$1 = global$t.process; +var TypeError$4 = global$u.TypeError; +var document$1 = global$u.document; +var process$1 = global$u.process; var newPromiseCapability$1 = newPromiseCapabilityModule$6.f; var newGenericPromiseCapability = newPromiseCapability$1; -var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$t.dispatchEvent); +var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$u.dispatchEvent); var UNHANDLED_REJECTION = 'unhandledrejection'; var REJECTION_HANDLED = 'rejectionhandled'; var PENDING = 0; @@ -7169,26 +7331,26 @@ var dispatchEvent = function (name, promise, reason) { event.promise = promise; event.reason = reason; event.initEvent(name, false, true); - global$t.dispatchEvent(event); + global$u.dispatchEvent(event); } else event = { promise: promise, reason: reason }; - if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$t['on' + name])) handler(event); + if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$u['on' + name])) handler(event); else if (name === UNHANDLED_REJECTION) hostReportErrors$1('Unhandled promise rejection', reason); }; var onUnhandled = function (state) { - call$T(task, global$t, function () { + call$T(task, global$u, function () { var promise = state.facade; var value = state.value; var IS_UNHANDLED = isUnhandled(state); var result; if (IS_UNHANDLED) { result = perform$5(function () { - if (IS_NODE$2) { + if (IS_NODE$3) { process$1.emit('unhandledRejection', value, promise); } else dispatchEvent(UNHANDLED_REJECTION, promise, value); }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - state.rejection = IS_NODE$2 || isUnhandled(state) ? UNHANDLED : HANDLED; + state.rejection = IS_NODE$3 || isUnhandled(state) ? UNHANDLED : HANDLED; if (result.error) throw result.value; } }); @@ -7199,15 +7361,15 @@ var isUnhandled = function (state) { }; var onHandleUnhandled = function (state) { - call$T(task, global$t, function () { + call$T(task, global$u, function () { var promise = state.facade; - if (IS_NODE$2) { + if (IS_NODE$3) { process$1.emit('rejectionHandled', promise); } else dispatchEvent(REJECTION_HANDLED, promise, state.value); }); }; -var bind$l = function (fn, state, unwrap) { +var bind$k = function (fn, state, unwrap) { return function (value) { fn(state, value, unwrap); }; @@ -7234,8 +7396,8 @@ var internalResolve = function (state, value, unwrap) { var wrapper = { done: false }; try { call$T(then, value, - bind$l(internalResolve, wrapper, state), - bind$l(internalReject, wrapper, state) + bind$k(internalResolve, wrapper, state), + bind$k(internalReject, wrapper, state) ); } catch (error) { internalReject(wrapper, error, state); @@ -7260,7 +7422,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) { call$T(Internal, this); var state = getInternalPromiseState(this); try { - executor(bind$l(internalResolve, state), bind$l(internalReject, state)); + executor(bind$k(internalResolve, state), bind$k(internalReject, state)); } catch (error) { internalReject(state, error); } @@ -7290,7 +7452,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) { state.parent = true; reaction.ok = isCallable$f(onFulfilled) ? onFulfilled : true; reaction.fail = isCallable$f(onRejected) && onRejected; - reaction.domain = IS_NODE$2 ? process$1.domain : undefined; + reaction.domain = IS_NODE$3 ? process$1.domain : undefined; if (state.state == PENDING) state.reactions.add(reaction); else microtask$1(function () { callReaction(reaction, state); @@ -7302,8 +7464,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) { var promise = new Internal(); var state = getInternalPromiseState(promise); this.promise = promise; - this.resolve = bind$l(internalResolve, state); - this.reject = bind$l(internalReject, state); + this.resolve = bind$k(internalResolve, state); + this.reject = bind$k(internalReject, state); }; newPromiseCapabilityModule$6.f = newPromiseCapability$1 = function (C) { @@ -7578,7 +7740,7 @@ $$30({ target: 'Promise', stat: true }, { var $$2$ = _export; var NativePromiseConstructor = promiseNativeConstructor; -var fails$v = fails$1k; +var fails$w = fails$1m; var getBuiltIn$v = getBuiltIn$L; var isCallable$d = isCallable$E; var speciesConstructor$c = speciesConstructor$f; @@ -7588,7 +7750,7 @@ var defineBuiltIn$9 = defineBuiltIn$p; var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829 -var NON_GENERIC = !!NativePromiseConstructor && fails$v(function () { +var NON_GENERIC = !!NativePromiseConstructor && fails$w(function () { // eslint-disable-next-line unicorn/no-thenable -- required for testing NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ }); }); @@ -7622,10 +7784,10 @@ var $$2_ = _export; var functionApply = functionApply$1; var aCallable$I = aCallable$Y; var anObject$1q = anObject$1G; -var fails$u = fails$1k; +var fails$v = fails$1m; // MS Edge argumentsList argument is optional -var OPTIONAL_ARGUMENTS_LIST = !fails$u(function () { +var OPTIONAL_ARGUMENTS_LIST = !fails$v(function () { // eslint-disable-next-line es-x/no-reflect -- required for testing Reflect.apply(function () { /* empty */ }); }); @@ -7641,12 +7803,12 @@ $$2_({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { var $$2Z = _export; var getBuiltIn$u = getBuiltIn$L; var apply$k = functionApply$1; -var bind$k = functionBind; +var bind$j = functionBind; var aConstructor$3 = aConstructor$5; var anObject$1p = anObject$1G; var isObject$c = isObject$C; var create$9 = objectCreate$1; -var fails$t = fails$1k; +var fails$u = fails$1m; var nativeConstruct = getBuiltIn$u('Reflect', 'construct'); var ObjectPrototype = Object.prototype; @@ -7656,12 +7818,12 @@ var push$g = [].push; // https://tc39.es/ecma262/#sec-reflect.construct // MS Edge supports only 2 arguments and argumentsList argument is optional // FF Nightly sets third argument as `new.target`, but does not create `this` from it -var NEW_TARGET_BUG = fails$t(function () { +var NEW_TARGET_BUG = fails$u(function () { function F() { /* empty */ } return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); }); -var ARGS_BUG = !fails$t(function () { +var ARGS_BUG = !fails$u(function () { nativeConstruct(function () { /* empty */ }); }); @@ -7685,7 +7847,7 @@ $$2Z({ target: 'Reflect', stat: true, forced: FORCED$6, sham: FORCED$6 }, { // w/o altered newTarget, lot of arguments case var $args = [null]; apply$k(push$g, $args, args); - return new (apply$k(bind$k, Target, $args))(); + return new (apply$k(bind$j, Target, $args))(); } // with altered newTarget, not support built-in constructors var proto = newTarget.prototype; @@ -7700,10 +7862,10 @@ var DESCRIPTORS$e = descriptors; var anObject$1o = anObject$1G; var toPropertyKey$2 = toPropertyKey$9; var definePropertyModule$2 = objectDefineProperty; -var fails$s = fails$1k; +var fails$t = fails$1m; // MS Edge has broken Reflect.defineProperty - throwing instead of returning false -var ERROR_INSTEAD_OF_FALSE = fails$s(function () { +var ERROR_INSTEAD_OF_FALSE = fails$t(function () { // eslint-disable-next-line es-x/no-reflect -- required for testing Reflect.defineProperty(definePropertyModule$2.f({}, 1, { value: 1 }), 1, { value: 2 }); }); @@ -7851,7 +8013,7 @@ var call$M = functionCall; var anObject$1h = anObject$1G; var isObject$a = isObject$C; var isDataDescriptor = isDataDescriptor$2; -var fails$r = fails$1k; +var fails$s = fails$1m; var definePropertyModule$1 = objectDefineProperty; var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor; var getPrototypeOf$4 = objectGetPrototypeOf$1; @@ -7885,7 +8047,7 @@ function set(target, propertyKey, V /* , receiver */) { // MS Edge 17-18 Reflect.set allows setting the property to object // with non-writable property on the prototype -var MS_EDGE_BUG = fails$r(function () { +var MS_EDGE_BUG = fails$s(function () { var Constructor = function () { /* empty */ }; var object = definePropertyModule$1.f(new Constructor(), 'a', { configurable: true }); // eslint-disable-next-line es-x/no-reflect -- required for testing @@ -7917,17 +8079,17 @@ if (objectSetPrototypeOf) $$2O({ target: 'Reflect', stat: true }, { }); var $$2N = _export; -var global$s = global$Z; +var global$t = global$_; var setToStringTag$3 = setToStringTag$d; $$2N({ global: true }, { Reflect: {} }); // Reflect[@@toStringTag] property // https://tc39.es/ecma262/#sec-reflect-@@tostringtag -setToStringTag$3(global$s.Reflect, 'Reflect', true); +setToStringTag$3(global$t.Reflect, 'Reflect', true); var isObject$9 = isObject$C; -var classof$8 = classofRaw$1; +var classof$9 = classofRaw$1; var wellKnownSymbol$l = wellKnownSymbol$K; var MATCH$2 = wellKnownSymbol$l('match'); @@ -7936,7 +8098,7 @@ var MATCH$2 = wellKnownSymbol$l('match'); // https://tc39.es/ecma262/#sec-isregexp var isRegexp = function (it) { var isRegExp; - return isObject$9(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$8(it) == 'RegExp'); + return isObject$9(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$9(it) == 'RegExp'); }; var anObject$1f = anObject$1G; @@ -7952,6 +8114,7 @@ var regexpFlags$1 = function () { if (that.multiline) result += 'm'; if (that.dotAll) result += 's'; if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; if (that.sticky) result += 'y'; return result; }; @@ -7969,13 +8132,13 @@ var regexpGetFlags = function (R) { ? call$L(regExpFlags$1, R) : flags; }; -var fails$q = fails$1k; -var global$r = global$Z; +var fails$r = fails$1m; +var global$s = global$_; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError -var $RegExp$2 = global$r.RegExp; +var $RegExp$2 = global$s.RegExp; -var UNSUPPORTED_Y$3 = fails$q(function () { +var UNSUPPORTED_Y$3 = fails$r(function () { var re = $RegExp$2('a', 'y'); re.lastIndex = 2; return re.exec('abcd') != null; @@ -7983,11 +8146,11 @@ var UNSUPPORTED_Y$3 = fails$q(function () { // UC Browser bug // https://github.com/zloirock/core-js/issues/1008 -var MISSED_STICKY$2 = UNSUPPORTED_Y$3 || fails$q(function () { +var MISSED_STICKY$2 = UNSUPPORTED_Y$3 || fails$r(function () { return !$RegExp$2('a', 'y').sticky; }); -var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$q(function () { +var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$r(function () { // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 var re = $RegExp$2('^r', 'gy'); re.lastIndex = 2; @@ -8000,35 +8163,35 @@ var regexpStickyHelpers = { UNSUPPORTED_Y: UNSUPPORTED_Y$3 }; -var fails$p = fails$1k; -var global$q = global$Z; +var fails$q = fails$1m; +var global$r = global$_; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError -var $RegExp$1 = global$q.RegExp; +var $RegExp$1 = global$r.RegExp; -var regexpUnsupportedDotAll = fails$p(function () { +var regexpUnsupportedDotAll = fails$q(function () { var re = $RegExp$1('.', 's'); return !(re.dotAll && re.exec('\n') && re.flags === 's'); }); -var fails$o = fails$1k; -var global$p = global$Z; +var fails$p = fails$1m; +var global$q = global$_; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError -var $RegExp = global$p.RegExp; +var $RegExp = global$q.RegExp; -var regexpUnsupportedNcg = fails$o(function () { +var regexpUnsupportedNcg = fails$p(function () { var re = $RegExp('(?b)', 'g'); return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$c') !== 'bc'; }); var DESCRIPTORS$c = descriptors; -var global$o = global$Z; -var uncurryThis$K = functionUncurryThis; +var global$p = global$_; +var uncurryThis$L = functionUncurryThis; var isForced = isForced_1; var inheritIfRequired$2 = inheritIfRequired$6; -var createNonEnumerableProperty$9 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$9 = createNonEnumerableProperty$i; var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; var isPrototypeOf$3 = objectIsPrototypeOf; var isRegExp$4 = isRegexp; @@ -8037,23 +8200,23 @@ var getRegExpFlags$4 = regexpGetFlags; var stickyHelpers$2 = regexpStickyHelpers; var proxyAccessor = proxyAccessor$2; var defineBuiltIn$8 = defineBuiltIn$p; -var fails$n = fails$1k; +var fails$o = fails$1m; var hasOwn$c = hasOwnProperty_1; -var enforceInternalState$1 = internalState.enforce; +var enforceInternalState$2 = internalState.enforce; var setSpecies$2 = setSpecies$7; var wellKnownSymbol$k = wellKnownSymbol$K; var UNSUPPORTED_DOT_ALL$2 = regexpUnsupportedDotAll; var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg; var MATCH$1 = wellKnownSymbol$k('match'); -var NativeRegExp = global$o.RegExp; +var NativeRegExp = global$p.RegExp; var RegExpPrototype$6 = NativeRegExp.prototype; -var SyntaxError$2 = global$o.SyntaxError; -var exec$8 = uncurryThis$K(RegExpPrototype$6.exec); -var charAt$e = uncurryThis$K(''.charAt); -var replace$7 = uncurryThis$K(''.replace); -var stringIndexOf$4 = uncurryThis$K(''.indexOf); -var stringSlice$c = uncurryThis$K(''.slice); +var SyntaxError$2 = global$p.SyntaxError; +var exec$8 = uncurryThis$L(RegExpPrototype$6.exec); +var charAt$e = uncurryThis$L(''.charAt); +var replace$7 = uncurryThis$L(''.replace); +var stringIndexOf$4 = uncurryThis$L(''.indexOf); +var stringSlice$c = uncurryThis$L(''.slice); // TODO: Use only propper RegExpIdentifierName var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; var re1 = /a/g; @@ -8066,7 +8229,7 @@ var MISSED_STICKY$1 = stickyHelpers$2.MISSED_STICKY; var UNSUPPORTED_Y$2 = stickyHelpers$2.UNSUPPORTED_Y; var BASE_FORCED = DESCRIPTORS$c && - (!CORRECT_NEW || MISSED_STICKY$1 || UNSUPPORTED_DOT_ALL$2 || UNSUPPORTED_NCG$1 || fails$n(function () { + (!CORRECT_NEW || MISSED_STICKY$1 || UNSUPPORTED_DOT_ALL$2 || UNSUPPORTED_NCG$1 || fails$o(function () { re2[MATCH$1] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; @@ -8185,7 +8348,7 @@ if (isForced('RegExp', BASE_FORCED)) { result = inheritIfRequired$2(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$6, RegExpWrapper); if (dotAll || sticky || groups.length) { - state = enforceInternalState$1(result); + state = enforceInternalState$2(result); if (dotAll) { state.dotAll = true; state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); @@ -8208,7 +8371,7 @@ if (isForced('RegExp', BASE_FORCED)) { RegExpPrototype$6.constructor = RegExpWrapper; RegExpWrapper.prototype = RegExpPrototype$6; - defineBuiltIn$8(global$o, 'RegExp', RegExpWrapper, { constructor: true }); + defineBuiltIn$8(global$p, 'RegExp', RegExpWrapper, { constructor: true }); } // https://tc39.es/ecma262/#sec-get-regexp-@@species @@ -8225,7 +8388,7 @@ var defineBuiltInAccessor$8 = function (target, name, descriptor) { var DESCRIPTORS$b = descriptors; var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll; -var classof$7 = classofRaw$1; +var classof$8 = classofRaw$1; var defineBuiltInAccessor$7 = defineBuiltInAccessor$8; var getInternalState$d = internalState.get; @@ -8241,7 +8404,7 @@ if (DESCRIPTORS$b && UNSUPPORTED_DOT_ALL$1) { if (this === RegExpPrototype$5) return undefined; // We can't use InternalStateModule.getterFor because // we don't add metadata for regexps created by a literal. - if (classof$7(this) === 'RegExp') { + if (classof$8(this) === 'RegExp') { return !!getInternalState$d(this).dotAll; } throw $TypeError$j('Incompatible receiver, RegExp required'); @@ -8252,7 +8415,7 @@ if (DESCRIPTORS$b && UNSUPPORTED_DOT_ALL$1) { /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ var call$K = functionCall; -var uncurryThis$J = functionUncurryThis; +var uncurryThis$K = functionUncurryThis; var toString$m = toString$z; var regexpFlags = regexpFlags$1; var stickyHelpers$1 = regexpStickyHelpers; @@ -8265,10 +8428,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg; var nativeReplace = shared$2('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; -var charAt$d = uncurryThis$J(''.charAt); -var indexOf$1 = uncurryThis$J(''.indexOf); -var replace$6 = uncurryThis$J(''.replace); -var stringSlice$b = uncurryThis$J(''.slice); +var charAt$d = uncurryThis$K(''.charAt); +var indexOf$1 = uncurryThis$K(''.indexOf); +var replace$6 = uncurryThis$K(''.replace); +var stringSlice$b = uncurryThis$K(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; @@ -8375,16 +8538,53 @@ $$2M({ target: 'RegExp', proto: true, forced: /./.exec !== exec$7 }, { exec: exec$7 }); +var global$o = global$_; var DESCRIPTORS$a = descriptors; var defineBuiltInAccessor$6 = defineBuiltInAccessor$8; var regExpFlags = regexpFlags$1; -var fails$m = fails$1k; +var fails$n = fails$1m; + +// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError +var RegExp$2 = global$o.RegExp; +var RegExpPrototype$4 = RegExp$2.prototype; + +var FORCED$5 = DESCRIPTORS$a && fails$n(function () { + var INDICES_SUPPORT = true; + try { + RegExp$2('.', 'd'); + } catch (error) { + INDICES_SUPPORT = false; + } + + var O = {}; + // modern V8 bug + var calls = ''; + var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; + + var addGetter = function (key, chr) { + // eslint-disable-next-line es-x/no-object-defineproperty -- safe + Object.defineProperty(O, key, { get: function () { + calls += chr; + return true; + } }); + }; + + var pairs = { + dotAll: 's', + global: 'g', + ignoreCase: 'i', + multiline: 'm', + sticky: 'y' + }; + + if (INDICES_SUPPORT) pairs.hasIndices = 'd'; -var RegExpPrototype$4 = RegExp.prototype; + for (var key in pairs) addGetter(key, pairs[key]); -var FORCED$5 = DESCRIPTORS$a && fails$m(function () { // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe - return Object.getOwnPropertyDescriptor(RegExpPrototype$4, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy'; + var result = Object.getOwnPropertyDescriptor(RegExpPrototype$4, 'flags').get.call(O); + + return result !== expected || calls !== expected; }); // `RegExp.prototype.flags` getter @@ -8396,7 +8596,7 @@ if (FORCED$5) defineBuiltInAccessor$6(RegExpPrototype$4, 'flags', { var DESCRIPTORS$9 = descriptors; var MISSED_STICKY = regexpStickyHelpers.MISSED_STICKY; -var classof$6 = classofRaw$1; +var classof$7 = classofRaw$1; var defineBuiltInAccessor$5 = defineBuiltInAccessor$8; var getInternalState$b = internalState.get; @@ -8412,7 +8612,7 @@ if (DESCRIPTORS$9 && MISSED_STICKY) { if (this === RegExpPrototype$3) return undefined; // We can't use InternalStateModule.getterFor because // we don't add metadata for regexps created by a literal. - if (classof$6(this) === 'RegExp') { + if (classof$7(this) === 'RegExp') { return !!getInternalState$b(this).sticky; } throw $TypeError$i('Incompatible receiver, RegExp required'); @@ -8424,7 +8624,7 @@ if (DESCRIPTORS$9 && MISSED_STICKY) { var $$2L = _export; var call$J = functionCall; -var uncurryThis$I = functionUncurryThis; +var uncurryThis$J = functionUncurryThis; var isCallable$c = isCallable$E; var isObject$8 = isObject$C; @@ -8439,7 +8639,7 @@ var DELEGATES_TO_EXEC = function () { }(); var $TypeError$h = TypeError; -var un$Test = uncurryThis$I(/./.test); +var un$Test = uncurryThis$J(/./.test); // `RegExp.prototype.test` method // https://tc39.es/ecma262/#sec-regexp.prototype.test @@ -8459,14 +8659,14 @@ var PROPER_FUNCTION_NAME$1 = functionName.PROPER; var defineBuiltIn$7 = defineBuiltIn$p; var anObject$1e = anObject$1G; var $toString$2 = toString$z; -var fails$l = fails$1k; +var fails$m = fails$1m; var getRegExpFlags$3 = regexpGetFlags; var TO_STRING = 'toString'; var RegExpPrototype$2 = RegExp.prototype; var n$ToString = RegExpPrototype$2[TO_STRING]; -var NOT_GENERIC = fails$l(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); +var NOT_GENERIC = fails$m(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); // FF44- RegExp#toString has a wrong name var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && n$ToString.name != TO_STRING; @@ -8491,15 +8691,15 @@ collection$2('Set', function (init) { }, collectionStrong); var $$2K = _export; -var uncurryThis$H = functionUncurryThis; +var uncurryThis$I = functionUncurryThis; var requireObjectCoercible$e = requireObjectCoercible$k; -var toIntegerOrInfinity$9 = toIntegerOrInfinity$m; +var toIntegerOrInfinity$b = toIntegerOrInfinity$o; var toString$l = toString$z; -var fails$k = fails$1k; +var fails$l = fails$1m; -var charAt$c = uncurryThis$H(''.charAt); +var charAt$c = uncurryThis$I(''.charAt); -var FORCED$4 = fails$k(function () { +var FORCED$4 = fails$l(function () { // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe return '𠮷'.at(-2) !== '\uD842'; }); @@ -8510,25 +8710,25 @@ $$2K({ target: 'String', proto: true, forced: FORCED$4 }, { at: function at(index) { var S = toString$l(requireObjectCoercible$e(this)); var len = S.length; - var relativeIndex = toIntegerOrInfinity$9(index); + var relativeIndex = toIntegerOrInfinity$b(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; return (k < 0 || k >= len) ? undefined : charAt$c(S, k); } }); -var uncurryThis$G = functionUncurryThis; -var toIntegerOrInfinity$8 = toIntegerOrInfinity$m; +var uncurryThis$H = functionUncurryThis; +var toIntegerOrInfinity$a = toIntegerOrInfinity$o; var toString$k = toString$z; var requireObjectCoercible$d = requireObjectCoercible$k; -var charAt$b = uncurryThis$G(''.charAt); -var charCodeAt$2 = uncurryThis$G(''.charCodeAt); -var stringSlice$a = uncurryThis$G(''.slice); +var charAt$b = uncurryThis$H(''.charAt); +var charCodeAt$2 = uncurryThis$H(''.charCodeAt); +var stringSlice$a = uncurryThis$H(''.slice); -var createMethod$2 = function (CONVERT_TO_STRING) { +var createMethod$1 = function (CONVERT_TO_STRING) { return function ($this, pos) { var S = toString$k(requireObjectCoercible$d($this)); - var position = toIntegerOrInfinity$8(pos); + var position = toIntegerOrInfinity$a(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; @@ -8547,10 +8747,10 @@ var createMethod$2 = function (CONVERT_TO_STRING) { var stringMultibyte = { // `String.prototype.codePointAt` method // https://tc39.es/ecma262/#sec-string.prototype.codepointat - codeAt: createMethod$2(false), + codeAt: createMethod$1(false), // `String.prototype.at` method // https://github.com/mathiasbynens/String.prototype.at - charAt: createMethod$2(true) + charAt: createMethod$1(true) }; var $$2J = _export; @@ -8591,7 +8791,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) { }; var $$2I = _export; -var uncurryThis$F = functionUncurryThis; +var uncurryThis$G = functionUncurryThis; var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f; var toLength$7 = toLength$d; var toString$j = toString$z; @@ -8600,9 +8800,9 @@ var requireObjectCoercible$c = requireObjectCoercible$k; var correctIsRegExpLogic$2 = correctIsRegexpLogic; // eslint-disable-next-line es-x/no-string-prototype-endswith -- safe -var un$EndsWith = uncurryThis$F(''.endsWith); -var slice$1 = uncurryThis$F(''.slice); -var min$6 = Math.min; +var un$EndsWith = uncurryThis$G(''.endsWith); +var slice$2 = uncurryThis$G(''.slice); +var min$7 = Math.min; var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$2('endsWith'); // https://github.com/zloirock/core-js/pull/702 @@ -8619,23 +8819,23 @@ $$2I({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS notARegExp$2(searchString); var endPosition = arguments.length > 1 ? arguments[1] : undefined; var len = that.length; - var end = endPosition === undefined ? len : min$6(toLength$7(endPosition), len); + var end = endPosition === undefined ? len : min$7(toLength$7(endPosition), len); var search = toString$j(searchString); return un$EndsWith ? un$EndsWith(that, search, end) - : slice$1(that, end - search.length, end) === search; + : slice$2(that, end - search.length, end) === search; } }); var $$2H = _export; -var uncurryThis$E = functionUncurryThis; -var toAbsoluteIndex$2 = toAbsoluteIndex$a; +var uncurryThis$F = functionUncurryThis; +var toAbsoluteIndex$3 = toAbsoluteIndex$b; var $RangeError$6 = RangeError; var fromCharCode$3 = String.fromCharCode; // eslint-disable-next-line es-x/no-string-fromcodepoint -- required for testing var $fromCodePoint = String.fromCodePoint; -var join$6 = uncurryThis$E([].join); +var join$6 = uncurryThis$F([].join); // length should be 1, old FF problem var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1; @@ -8651,7 +8851,7 @@ $$2H({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { var code; while (length > i) { code = +arguments[i++]; - if (toAbsoluteIndex$2(code, 0x10FFFF) !== code) throw $RangeError$6(code + ' is not a valid code point'); + if (toAbsoluteIndex$3(code, 0x10FFFF) !== code) throw $RangeError$6(code + ' is not a valid code point'); elements[i] = code < 0x10000 ? fromCharCode$3(code) : fromCharCode$3(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00); @@ -8660,13 +8860,13 @@ $$2H({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { }); var $$2G = _export; -var uncurryThis$D = functionUncurryThis; +var uncurryThis$E = functionUncurryThis; var notARegExp$1 = notARegexp; var requireObjectCoercible$b = requireObjectCoercible$k; var toString$i = toString$z; var correctIsRegExpLogic$1 = correctIsRegexpLogic; -var stringIndexOf$3 = uncurryThis$D(''.indexOf); +var stringIndexOf$3 = uncurryThis$E(''.indexOf); // `String.prototype.includes` method // https://tc39.es/ecma262/#sec-string.prototype.includes @@ -8712,12 +8912,12 @@ defineIterator(String, 'String', function (iterated) { // TODO: Remove from `core-js@4` since it's moved to entry points -var uncurryThis$C = functionUncurryThis; +var uncurryThis$D = functionUncurryThis; var defineBuiltIn$6 = defineBuiltIn$p; var regexpExec$2 = regexpExec$3; -var fails$j = fails$1k; +var fails$k = fails$1m; var wellKnownSymbol$i = wellKnownSymbol$K; -var createNonEnumerableProperty$8 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$8 = createNonEnumerableProperty$i; var SPECIES = wellKnownSymbol$i('species'); var RegExpPrototype$1 = RegExp.prototype; @@ -8725,14 +8925,14 @@ var RegExpPrototype$1 = RegExp.prototype; var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol$i(KEY); - var DELEGATES_TO_SYMBOL = !fails$j(function () { + var DELEGATES_TO_SYMBOL = !fails$k(function () { // String methods call symbol-named RegEp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; }); - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$j(function () { + var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$k(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; @@ -8761,9 +8961,9 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { !DELEGATES_TO_EXEC || FORCED ) { - var uncurriedNativeRegExpMethod = uncurryThis$C(/./[SYMBOL]); + var uncurriedNativeRegExpMethod = uncurryThis$D(/./[SYMBOL]); var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var uncurriedNativeMethod = uncurryThis$C(nativeMethod); + var uncurriedNativeMethod = uncurryThis$D(nativeMethod); var $exec = regexp.exec; if ($exec === regexpExec$2 || $exec === RegExpPrototype$1.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { @@ -8795,7 +8995,7 @@ var advanceStringIndex$4 = function (S, index, unicode) { var call$I = functionCall; var anObject$1d = anObject$1G; var isCallable$b = isCallable$E; -var classof$5 = classofRaw$1; +var classof$6 = classofRaw$1; var regexpExec$1 = regexpExec$3; var $TypeError$f = TypeError; @@ -8809,7 +9009,7 @@ var regexpExecAbstract = function (R, S) { if (result !== null) anObject$1d(result); return result; } - if (classof$5(R) === 'RegExp') return call$I(regexpExec$1, R, S); + if (classof$6(R) === 'RegExp') return call$I(regexpExec$1, R, S); throw $TypeError$f('RegExp#exec called on incompatible receiver'); }; @@ -8863,18 +9063,18 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall /* eslint-disable es-x/no-string-prototype-matchall -- safe */ var $$2F = _export; var call$G = functionCall; -var uncurryThis$B = functionUncurryThis; +var uncurryThis$C = functionUncurryThis; var createIteratorConstructor$5 = createIteratorConstructor$7; var requireObjectCoercible$9 = requireObjectCoercible$k; var toLength$5 = toLength$d; var toString$f = toString$z; var anObject$1b = anObject$1G; -var classof$4 = classofRaw$1; +var classof$5 = classofRaw$1; var isRegExp$2 = isRegexp; var getRegExpFlags$2 = regexpGetFlags; var getMethod$d = getMethod$i; var defineBuiltIn$5 = defineBuiltIn$p; -var fails$i = fails$1k; +var fails$j = fails$1m; var wellKnownSymbol$h = wellKnownSymbol$K; var speciesConstructor$b = speciesConstructor$f; var advanceStringIndex$2 = advanceStringIndex$4; @@ -8889,10 +9089,10 @@ var setInternalState$d = InternalStateModule$d.set; var getInternalState$9 = InternalStateModule$d.getterFor(REGEXP_STRING_ITERATOR); var RegExpPrototype = RegExp.prototype; var $TypeError$e = TypeError; -var stringIndexOf$2 = uncurryThis$B(''.indexOf); -var un$MatchAll = uncurryThis$B(''.matchAll); +var stringIndexOf$2 = uncurryThis$C(''.indexOf); +var un$MatchAll = uncurryThis$C(''.matchAll); -var WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails$i(function () { +var WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails$j(function () { un$MatchAll('a', /./); }); @@ -8946,7 +9146,7 @@ $$2F({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { } if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp); matcher = getMethod$d(regexp, MATCH_ALL); - if (matcher === undefined && IS_PURE$2 && classof$4(regexp) == 'RegExp') matcher = $matchAll; + if (matcher === undefined && IS_PURE$2 && classof$5(regexp) == 'RegExp') matcher = $matchAll; if (matcher) return call$G(matcher, regexp, O); } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp); S = toString$f(O); @@ -8987,20 +9187,20 @@ $$2D({ target: 'String', proto: true, forced: WEBKIT_BUG }, { }); var $$2C = _export; -var uncurryThis$A = functionUncurryThis; +var uncurryThis$B = functionUncurryThis; var toIndexedObject$6 = toIndexedObject$k; -var toObject$c = toObject$z; +var toObject$b = toObject$B; var toString$e = toString$z; -var lengthOfArrayLike$f = lengthOfArrayLike$x; +var lengthOfArrayLike$f = lengthOfArrayLike$A; -var push$f = uncurryThis$A([].push); -var join$5 = uncurryThis$A([].join); +var push$f = uncurryThis$B([].push); +var join$5 = uncurryThis$B([].join); // `String.raw` method // https://tc39.es/ecma262/#sec-string.raw $$2C({ target: 'String', stat: true }, { raw: function raw(template) { - var rawTemplate = toIndexedObject$6(toObject$c(template).raw); + var rawTemplate = toIndexedObject$6(toObject$b(template).raw); var literalSegments = lengthOfArrayLike$f(rawTemplate); var argumentsLength = arguments.length; var elements = []; @@ -9022,13 +9222,13 @@ $$2B({ target: 'String', proto: true }, { repeat: repeat }); -var uncurryThis$z = functionUncurryThis; -var toObject$b = toObject$z; +var uncurryThis$A = functionUncurryThis; +var toObject$a = toObject$B; var floor$3 = Math.floor; -var charAt$8 = uncurryThis$z(''.charAt); -var replace$5 = uncurryThis$z(''.replace); -var stringSlice$9 = uncurryThis$z(''.slice); +var charAt$8 = uncurryThis$A(''.charAt); +var replace$5 = uncurryThis$A(''.replace); +var stringSlice$9 = uncurryThis$A(''.slice); var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; @@ -9039,7 +9239,7 @@ var getSubstitution$2 = function (matched, str, position, captures, namedCapture var m = captures.length; var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; if (namedCaptures !== undefined) { - namedCaptures = toObject$b(namedCaptures); + namedCaptures = toObject$a(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } return replace$5(replacement, symbols, function (match, ch) { @@ -9069,12 +9269,12 @@ var getSubstitution$2 = function (matched, str, position, captures, namedCapture var apply$j = functionApply$1; var call$F = functionCall; -var uncurryThis$y = functionUncurryThis; +var uncurryThis$z = functionUncurryThis; var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic; -var fails$h = fails$1k; +var fails$i = fails$1m; var anObject$1a = anObject$1G; var isCallable$a = isCallable$E; -var toIntegerOrInfinity$7 = toIntegerOrInfinity$m; +var toIntegerOrInfinity$9 = toIntegerOrInfinity$o; var toLength$4 = toLength$d; var toString$d = toString$z; var requireObjectCoercible$8 = requireObjectCoercible$k; @@ -9085,12 +9285,12 @@ var regExpExec$1 = regexpExecAbstract; var wellKnownSymbol$g = wellKnownSymbol$K; var REPLACE$1 = wellKnownSymbol$g('replace'); -var max$4 = Math.max; -var min$5 = Math.min; -var concat$1 = uncurryThis$y([].concat); -var push$e = uncurryThis$y([].push); -var stringIndexOf$1 = uncurryThis$y(''.indexOf); -var stringSlice$8 = uncurryThis$y(''.slice); +var max$5 = Math.max; +var min$6 = Math.min; +var concat$1 = uncurryThis$z([].concat); +var push$e = uncurryThis$z([].push); +var stringIndexOf$1 = uncurryThis$z(''.indexOf); +var stringSlice$8 = uncurryThis$z(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); @@ -9111,7 +9311,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { return false; })(); -var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$h(function () { +var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$i(function () { var re = /./; re.exec = function () { var result = []; @@ -9177,7 +9377,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall result = results[i]; var matched = toString$d(result[0]); - var position = max$4(min$5(toIntegerOrInfinity$7(result.index), S.length), 0); + var position = max$5(min$6(toIntegerOrInfinity$9(result.index), S.length), 0); var captures = []; // NOTE: This is equivalent to // captures = result.slice(1).map(maybeToString) @@ -9205,7 +9405,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall var $$2A = _export; var call$E = functionCall; -var uncurryThis$x = functionUncurryThis; +var uncurryThis$y = functionUncurryThis; var requireObjectCoercible$7 = requireObjectCoercible$k; var isCallable$9 = isCallable$E; var isRegExp$1 = isRegexp; @@ -9217,10 +9417,10 @@ var wellKnownSymbol$f = wellKnownSymbol$K; var REPLACE = wellKnownSymbol$f('replace'); var $TypeError$d = TypeError; -var indexOf = uncurryThis$x(''.indexOf); -uncurryThis$x(''.replace); -var stringSlice$7 = uncurryThis$x(''.slice); -var max$3 = Math.max; +var indexOf = uncurryThis$y(''.indexOf); +uncurryThis$y(''.replace); +var stringSlice$7 = uncurryThis$y(''.slice); +var max$4 = Math.max; var stringIndexOf = function (string, searchValue, fromIndex) { if (fromIndex > string.length) return -1; @@ -9253,7 +9453,7 @@ $$2A({ target: 'String', proto: true }, { functionalReplace = isCallable$9(replaceValue); if (!functionalReplace) replaceValue = toString$c(replaceValue); searchLength = searchString.length; - advanceBy = max$3(1, searchLength); + advanceBy = max$4(1, searchLength); position = stringIndexOf(string, searchString, 0); while (position !== -1) { replacement = functionalReplace @@ -9309,7 +9509,7 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC var apply$i = functionApply$1; var call$C = functionCall; -var uncurryThis$w = functionUncurryThis; +var uncurryThis$x = functionUncurryThis; var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; var isRegExp = isRegexp; var anObject$18 = anObject$1G; @@ -9319,23 +9519,23 @@ var advanceStringIndex = advanceStringIndex$4; var toLength$3 = toLength$d; var toString$a = toString$z; var getMethod$9 = getMethod$i; -var arraySlice$7 = arraySliceSimple; +var arraySlice$5 = arraySliceSimple; var callRegExpExec = regexpExecAbstract; var regexpExec = regexpExec$3; var stickyHelpers = regexpStickyHelpers; -var fails$g = fails$1k; +var fails$h = fails$1m; var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; var MAX_UINT32 = 0xFFFFFFFF; -var min$4 = Math.min; +var min$5 = Math.min; var $push = [].push; -var exec$6 = uncurryThis$w(/./.exec); -var push$d = uncurryThis$w($push); -var stringSlice$6 = uncurryThis$w(''.slice); +var exec$6 = uncurryThis$x(/./.exec); +var push$d = uncurryThis$x($push); +var stringSlice$6 = uncurryThis$x(''.slice); // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec // Weex JS has frozen built-in prototypes, so use try / catch wrapper -var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$g(function () { +var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$h(function () { // eslint-disable-next-line regexp/no-empty-group -- required for testing var re = /(?:)/; var originalExec = re.exec; @@ -9380,7 +9580,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa lastIndex = separatorCopy.lastIndex; if (lastIndex > lastLastIndex) { push$d(output, stringSlice$6(string, lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) apply$i($push, output, arraySlice$7(match, 1)); + if (match.length > 1 && match.index < string.length) apply$i($push, output, arraySlice$5(match, 1)); lastLength = match[0].length; lastLastIndex = lastIndex; if (output.length >= lim) break; @@ -9390,7 +9590,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa if (lastLastIndex === string.length) { if (lastLength || !exec$6(separatorCopy, '')) push$d(output, ''); } else push$d(output, stringSlice$6(string, lastLastIndex)); - return output.length > lim ? arraySlice$7(output, 0, lim) : output; + return output.length > lim ? arraySlice$5(output, 0, lim) : output; }; // Chakra, V8 } else if ('0'.split(undefined, 0).length) { @@ -9444,7 +9644,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa var e; if ( z === null || - (e = min$4(toLength$3(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p + (e = min$5(toLength$3(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p ) { q = advanceStringIndex(S, q, unicodeMatching); } else { @@ -9464,7 +9664,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); var $$2z = _export; -var uncurryThis$v = functionUncurryThis; +var uncurryThis$w = functionUncurryThis; var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f; var toLength$2 = toLength$d; var toString$9 = toString$z; @@ -9473,9 +9673,9 @@ var requireObjectCoercible$4 = requireObjectCoercible$k; var correctIsRegExpLogic = correctIsRegexpLogic; // eslint-disable-next-line es-x/no-string-prototype-startswith -- safe -var un$StartsWith = uncurryThis$v(''.startsWith); -var stringSlice$5 = uncurryThis$v(''.slice); -var min$3 = Math.min; +var un$StartsWith = uncurryThis$w(''.startsWith); +var stringSlice$5 = uncurryThis$w(''.slice); +var min$4 = Math.min; var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); // https://github.com/zloirock/core-js/pull/702 @@ -9490,7 +9690,7 @@ $$2z({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_R startsWith: function startsWith(searchString /* , position = 0 */) { var that = toString$9(requireObjectCoercible$4(this)); notARegExp(searchString); - var index = toLength$2(min$3(arguments.length > 1 ? arguments[1] : undefined, that.length)); + var index = toLength$2(min$4(arguments.length > 1 ? arguments[1] : undefined, that.length)); var search = toString$9(searchString); return un$StartsWith ? un$StartsWith(that, search, index) @@ -9499,14 +9699,14 @@ $$2z({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_R }); var $$2y = _export; -var uncurryThis$u = functionUncurryThis; +var uncurryThis$v = functionUncurryThis; var requireObjectCoercible$3 = requireObjectCoercible$k; -var toIntegerOrInfinity$6 = toIntegerOrInfinity$m; +var toIntegerOrInfinity$8 = toIntegerOrInfinity$o; var toString$8 = toString$z; -var stringSlice$4 = uncurryThis$u(''.slice); -var max$2 = Math.max; -var min$2 = Math.min; +var stringSlice$4 = uncurryThis$v(''.slice); +var max$3 = Math.max; +var min$3 = Math.min; // eslint-disable-next-line unicorn/prefer-string-slice, es-x/no-string-prototype-substr -- required for testing var FORCED$3 = !''.substr || 'ab'.substr(-1) !== 'b'; @@ -9517,19 +9717,19 @@ $$2y({ target: 'String', proto: true, forced: FORCED$3 }, { substr: function substr(start, length) { var that = toString$8(requireObjectCoercible$3(this)); var size = that.length; - var intStart = toIntegerOrInfinity$6(start); + var intStart = toIntegerOrInfinity$8(start); var intLength, intEnd; if (intStart === Infinity) intStart = 0; - if (intStart < 0) intStart = max$2(size + intStart, 0); - intLength = length === undefined ? size : toIntegerOrInfinity$6(length); + if (intStart < 0) intStart = max$3(size + intStart, 0); + intLength = length === undefined ? size : toIntegerOrInfinity$8(length); if (intLength <= 0 || intLength === Infinity) return ''; - intEnd = min$2(intStart + intLength, size); + intEnd = min$3(intStart + intLength, size); return intStart >= intEnd ? '' : stringSlice$4(that, intStart, intEnd); } }); var PROPER_FUNCTION_NAME = functionName.PROPER; -var fails$f = fails$1k; +var fails$g = fails$1m; var whitespaces$1 = whitespaces$5; var non = '\u200B\u0085\u180E'; @@ -9537,7 +9737,7 @@ var non = '\u200B\u0085\u180E'; // check that a method works with the correct list // of whitespaces and has a correct name var stringTrimForced = function (METHOD_NAME) { - return fails$f(function () { + return fails$g(function () { return !!whitespaces$1[METHOD_NAME]() || non[METHOD_NAME]() !== non || (PROPER_FUNCTION_NAME && whitespaces$1[METHOD_NAME].name !== METHOD_NAME); @@ -9622,12 +9822,12 @@ $$2t({ target: 'String', proto: true, name: 'trimStart', forced: ''.trimStart != trimStart: trimStart }); -var uncurryThis$t = functionUncurryThis; +var uncurryThis$u = functionUncurryThis; var requireObjectCoercible$2 = requireObjectCoercible$k; var toString$7 = toString$z; var quot = /"/g; -var replace$4 = uncurryThis$t(''.replace); +var replace$4 = uncurryThis$u(''.replace); // `CreateHTML` abstract operation // https://tc39.es/ecma262/#sec-createhtml @@ -9638,12 +9838,12 @@ var createHtml = function (string, tag, attribute, value) { return p1 + '>' + S + ''; }; -var fails$e = fails$1k; +var fails$f = fails$1m; // check the existence of a method, lowercase // of a tag and escaping quotes in arguments var stringHtmlForced = function (METHOD_NAME) { - return fails$e(function () { + return fails$f(function () { var test = ''[METHOD_NAME]('"'); return test !== test.toLowerCase() || test.split('"').length > 3; }); @@ -9809,34 +10009,34 @@ var typedArrayConstructor = {exports: {}}; /* eslint-disable no-new -- required for testing */ -var global$n = global$Z; -var fails$d = fails$1k; +var global$n = global$_; +var fails$e = fails$1m; var checkCorrectnessOfIteration = checkCorrectnessOfIteration$4; var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; var ArrayBuffer$2 = global$n.ArrayBuffer; var Int8Array$3 = global$n.Int8Array; -var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fails$d(function () { +var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fails$e(function () { Int8Array$3(1); -}) || !fails$d(function () { +}) || !fails$e(function () { new Int8Array$3(-1); }) || !checkCorrectnessOfIteration(function (iterable) { new Int8Array$3(); new Int8Array$3(null); new Int8Array$3(1.5); new Int8Array$3(iterable); -}, true) || fails$d(function () { +}, true) || fails$e(function () { // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill return new Int8Array$3(new ArrayBuffer$2(2), 1, undefined).length !== 1; }); -var toIntegerOrInfinity$5 = toIntegerOrInfinity$m; +var toIntegerOrInfinity$7 = toIntegerOrInfinity$o; var $RangeError$5 = RangeError; var toPositiveInteger$5 = function (it) { - var result = toIntegerOrInfinity$5(it); + var result = toIntegerOrInfinity$7(it); if (result < 0) throw $RangeError$5("The argument can't be less than 0"); return result; }; @@ -9851,11 +10051,11 @@ var toOffset$2 = function (it, BYTES) { return offset; }; -var bind$j = functionBindContext; +var bind$i = functionBindContext; var call$B = functionCall; var aConstructor$2 = aConstructor$5; -var toObject$a = toObject$z; -var lengthOfArrayLike$e = lengthOfArrayLike$x; +var toObject$9 = toObject$B; +var lengthOfArrayLike$e = lengthOfArrayLike$A; var getIterator$8 = getIterator$b; var getIteratorMethod$5 = getIteratorMethod$9; var isArrayIteratorMethod = isArrayIteratorMethod$3; @@ -9863,7 +10063,7 @@ var aTypedArrayConstructor$4 = arrayBufferViewCore.aTypedArrayConstructor; var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) { var C = aConstructor$2(this); - var O = toObject$a(source); + var O = toObject$9(source); var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; @@ -9878,7 +10078,7 @@ var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) { } } if (mapping && argumentsLength > 2) { - mapfn = bind$j(mapfn, arguments[2]); + mapfn = bind$i(mapfn, arguments[2]); } length = lengthOfArrayLike$e(O); result = new (aTypedArrayConstructor$4(C))(length); @@ -9889,7 +10089,7 @@ var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) { }; var $$2f = _export; -var global$m = global$Z; +var global$m = global$_; var call$A = functionCall; var DESCRIPTORS$8 = descriptors; var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$2 = typedArrayConstructorsRequireWrappers; @@ -9897,14 +10097,14 @@ var ArrayBufferViewCore$A = arrayBufferViewCore; var ArrayBufferModule = arrayBuffer; var anInstance$8 = anInstance$d; var createPropertyDescriptor$3 = createPropertyDescriptor$c; -var createNonEnumerableProperty$7 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$7 = createNonEnumerableProperty$i; var isIntegralNumber = isIntegralNumber$3; var toLength$1 = toLength$d; var toIndex = toIndex$2; var toOffset$1 = toOffset$2; var toPropertyKey$1 = toPropertyKey$9; var hasOwn$b = hasOwnProperty_1; -var classof$3 = classof$k; +var classof$4 = classof$l; var isObject$7 = isObject$C; var isSymbol$1 = isSymbol$7; var create$7 = objectCreate$1; @@ -9921,6 +10121,7 @@ var inheritIfRequired$1 = inheritIfRequired$6; var getInternalState$8 = InternalStateModule$c.get; var setInternalState$c = InternalStateModule$c.set; +var enforceInternalState$1 = InternalStateModule$c.enforce; var nativeDefineProperty = definePropertyModule.f; var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; var round = Math.round; @@ -9929,7 +10130,6 @@ var ArrayBuffer$1 = ArrayBufferModule.ArrayBuffer; var ArrayBufferPrototype = ArrayBuffer$1.prototype; var DataView$1 = ArrayBufferModule.DataView; var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore$A.NATIVE_ARRAY_BUFFER_VIEWS; -var TYPED_ARRAY_CONSTRUCTOR$5 = ArrayBufferViewCore$A.TYPED_ARRAY_CONSTRUCTOR; var TYPED_ARRAY_TAG = ArrayBufferViewCore$A.TYPED_ARRAY_TAG; var TypedArray = ArrayBufferViewCore$A.TypedArray; var TypedArrayPrototype$1 = ArrayBufferViewCore$A.TypedArrayPrototype; @@ -9955,7 +10155,7 @@ var addGetter = function (it, key) { var isArrayBuffer = function (it) { var klass; - return isPrototypeOf$2(ArrayBufferPrototype, it) || (klass = classof$3(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; + return isPrototypeOf$2(ArrayBufferPrototype, it) || (klass = classof$4(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; }; var isTypedArrayIndex = function (target, key) { @@ -10106,7 +10306,7 @@ if (DESCRIPTORS$8) { createNonEnumerableProperty$7(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); } - createNonEnumerableProperty$7(TypedArrayConstructorPrototype, TYPED_ARRAY_CONSTRUCTOR$5, TypedArrayConstructor); + enforceInternalState$1(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor; if (TYPED_ARRAY_TAG) { createNonEnumerableProperty$7(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); @@ -10221,8 +10421,8 @@ createTypedArrayConstructor('Uint32', function (init) { }); var ArrayBufferViewCore$z = arrayBufferViewCore; -var lengthOfArrayLike$d = lengthOfArrayLike$x; -var toIntegerOrInfinity$4 = toIntegerOrInfinity$m; +var lengthOfArrayLike$d = lengthOfArrayLike$A; +var toIntegerOrInfinity$6 = toIntegerOrInfinity$o; var aTypedArray$w = ArrayBufferViewCore$z.aTypedArray; var exportTypedArrayMethod$x = ArrayBufferViewCore$z.exportTypedArrayMethod; @@ -10232,16 +10432,16 @@ var exportTypedArrayMethod$x = ArrayBufferViewCore$z.exportTypedArrayMethod; exportTypedArrayMethod$x('at', function at(index) { var O = aTypedArray$w(this); var len = lengthOfArrayLike$d(O); - var relativeIndex = toIntegerOrInfinity$4(index); + var relativeIndex = toIntegerOrInfinity$6(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; return (k < 0 || k >= len) ? undefined : O[k]; }); -var uncurryThis$s = functionUncurryThis; +var uncurryThis$t = functionUncurryThis; var ArrayBufferViewCore$y = arrayBufferViewCore; var $ArrayCopyWithin = arrayCopyWithin; -var u$ArrayCopyWithin = uncurryThis$s($ArrayCopyWithin); +var u$ArrayCopyWithin = uncurryThis$t($ArrayCopyWithin); var aTypedArray$v = ArrayBufferViewCore$y.aTypedArray; var exportTypedArrayMethod$w = ArrayBufferViewCore$y.exportTypedArrayMethod; @@ -10269,7 +10469,7 @@ var $TypeError$c = TypeError; // `ToBigInt` abstract operation // https://tc39.es/ecma262/#sec-tobigint -var toBigInt$1 = function (argument) { +var toBigInt$2 = function (argument) { var prim = toPrimitive(argument, 'number'); if (typeof prim == 'number') throw $TypeError$c("Can't convert number to bigint"); // eslint-disable-next-line es-x/no-bigint -- safe @@ -10278,18 +10478,18 @@ var toBigInt$1 = function (argument) { var ArrayBufferViewCore$w = arrayBufferViewCore; var $fill = arrayFill$1; -var toBigInt = toBigInt$1; -var classof$2 = classof$k; +var toBigInt$1 = toBigInt$2; +var classof$3 = classof$l; var call$z = functionCall; -var uncurryThis$r = functionUncurryThis; -var fails$c = fails$1k; +var uncurryThis$s = functionUncurryThis; +var fails$d = fails$1m; var aTypedArray$t = ArrayBufferViewCore$w.aTypedArray; var exportTypedArrayMethod$u = ArrayBufferViewCore$w.exportTypedArrayMethod; -var slice = uncurryThis$r(''.slice); +var slice$1 = uncurryThis$s(''.slice); // V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18 -var CONVERSION_BUG = fails$c(function () { +var CONVERSION_BUG = fails$d(function () { var count = 0; // eslint-disable-next-line es-x/no-typed-arrays -- safe new Int8Array(2).fill({ valueOf: function () { return count++; } }); @@ -10301,11 +10501,11 @@ var CONVERSION_BUG = fails$c(function () { exportTypedArrayMethod$u('fill', function fill(value /* , start, end */) { var length = arguments.length; aTypedArray$t(this); - var actualValue = slice(classof$2(this), 0, 3) === 'Big' ? toBigInt(value) : +value; + var actualValue = slice$1(classof$3(this), 0, 3) === 'Big' ? toBigInt$1(value) : +value; return call$z($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined); }, CONVERSION_BUG); -var lengthOfArrayLike$c = lengthOfArrayLike$x; +var lengthOfArrayLike$c = lengthOfArrayLike$A; var arrayFromConstructorAndList$5 = function (Constructor, list) { var index = 0; @@ -10318,13 +10518,13 @@ var arrayFromConstructorAndList$5 = function (Constructor, list) { var ArrayBufferViewCore$v = arrayBufferViewCore; var speciesConstructor$9 = speciesConstructor$f; -var TYPED_ARRAY_CONSTRUCTOR$4 = ArrayBufferViewCore$v.TYPED_ARRAY_CONSTRUCTOR; var aTypedArrayConstructor$2 = ArrayBufferViewCore$v.aTypedArrayConstructor; +var getTypedArrayConstructor$4 = ArrayBufferViewCore$v.getTypedArrayConstructor; // a part of `TypedArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#typedarray-species-create var typedArraySpeciesConstructor$5 = function (originalArray) { - return aTypedArrayConstructor$2(speciesConstructor$9(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR$4])); + return aTypedArrayConstructor$2(speciesConstructor$9(originalArray, getTypedArrayConstructor$4(originalArray))); }; var arrayFromConstructorAndList$4 = arrayFromConstructorAndList$5; @@ -10373,15 +10573,39 @@ exportTypedArrayMethod$r('findIndex', function findIndex(predicate /* , thisArg }); var ArrayBufferViewCore$r = arrayBufferViewCore; -var $forEach$1 = arrayIteration.forEach; +var $findLast = arrayIterationFromLast.findLast; var aTypedArray$p = ArrayBufferViewCore$r.aTypedArray; var exportTypedArrayMethod$q = ArrayBufferViewCore$r.exportTypedArrayMethod; +// `%TypedArray%.prototype.findLast` method +// https://github.com/tc39/proposal-array-find-from-last +exportTypedArrayMethod$q('findLast', function findLast(predicate /* , thisArg */) { + return $findLast(aTypedArray$p(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); + +var ArrayBufferViewCore$q = arrayBufferViewCore; +var $findLastIndex = arrayIterationFromLast.findLastIndex; + +var aTypedArray$o = ArrayBufferViewCore$q.aTypedArray; +var exportTypedArrayMethod$p = ArrayBufferViewCore$q.exportTypedArrayMethod; + +// `%TypedArray%.prototype.findLastIndex` method +// https://github.com/tc39/proposal-array-find-from-last +exportTypedArrayMethod$p('findLastIndex', function findLastIndex(predicate /* , thisArg */) { + return $findLastIndex(aTypedArray$o(this), predicate, arguments.length > 1 ? arguments[1] : undefined); +}); + +var ArrayBufferViewCore$p = arrayBufferViewCore; +var $forEach$1 = arrayIteration.forEach; + +var aTypedArray$n = ArrayBufferViewCore$p.aTypedArray; +var exportTypedArrayMethod$o = ArrayBufferViewCore$p.exportTypedArrayMethod; + // `%TypedArray%.prototype.forEach` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach -exportTypedArrayMethod$q('forEach', function forEach(callbackfn /* , thisArg */) { - $forEach$1(aTypedArray$p(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +exportTypedArrayMethod$o('forEach', function forEach(callbackfn /* , thisArg */) { + $forEach$1(aTypedArray$n(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$1 = typedArrayConstructorsRequireWrappers; @@ -10392,47 +10616,47 @@ var typedArrayFrom = typedArrayFrom$2; // https://tc39.es/ecma262/#sec-%typedarray%.from exportTypedArrayStaticMethod$2('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$1); -var ArrayBufferViewCore$q = arrayBufferViewCore; +var ArrayBufferViewCore$o = arrayBufferViewCore; var $includes = arrayIncludes.includes; -var aTypedArray$o = ArrayBufferViewCore$q.aTypedArray; -var exportTypedArrayMethod$p = ArrayBufferViewCore$q.exportTypedArrayMethod; +var aTypedArray$m = ArrayBufferViewCore$o.aTypedArray; +var exportTypedArrayMethod$n = ArrayBufferViewCore$o.exportTypedArrayMethod; // `%TypedArray%.prototype.includes` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes -exportTypedArrayMethod$p('includes', function includes(searchElement /* , fromIndex */) { - return $includes(aTypedArray$o(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); +exportTypedArrayMethod$n('includes', function includes(searchElement /* , fromIndex */) { + return $includes(aTypedArray$m(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); -var ArrayBufferViewCore$p = arrayBufferViewCore; +var ArrayBufferViewCore$n = arrayBufferViewCore; var $indexOf = arrayIncludes.indexOf; -var aTypedArray$n = ArrayBufferViewCore$p.aTypedArray; -var exportTypedArrayMethod$o = ArrayBufferViewCore$p.exportTypedArrayMethod; +var aTypedArray$l = ArrayBufferViewCore$n.aTypedArray; +var exportTypedArrayMethod$m = ArrayBufferViewCore$n.exportTypedArrayMethod; // `%TypedArray%.prototype.indexOf` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof -exportTypedArrayMethod$o('indexOf', function indexOf(searchElement /* , fromIndex */) { - return $indexOf(aTypedArray$n(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); +exportTypedArrayMethod$m('indexOf', function indexOf(searchElement /* , fromIndex */) { + return $indexOf(aTypedArray$l(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); -var global$l = global$Z; -var fails$b = fails$1k; -var uncurryThis$q = functionUncurryThis; -var ArrayBufferViewCore$o = arrayBufferViewCore; +var global$l = global$_; +var fails$c = fails$1m; +var uncurryThis$r = functionUncurryThis; +var ArrayBufferViewCore$m = arrayBufferViewCore; var ArrayIterators = es_array_iterator; var wellKnownSymbol$e = wellKnownSymbol$K; var ITERATOR$3 = wellKnownSymbol$e('iterator'); var Uint8Array$1 = global$l.Uint8Array; -var arrayValues = uncurryThis$q(ArrayIterators.values); -var arrayKeys = uncurryThis$q(ArrayIterators.keys); -var arrayEntries = uncurryThis$q(ArrayIterators.entries); -var aTypedArray$m = ArrayBufferViewCore$o.aTypedArray; -var exportTypedArrayMethod$n = ArrayBufferViewCore$o.exportTypedArrayMethod; +var arrayValues = uncurryThis$r(ArrayIterators.values); +var arrayKeys = uncurryThis$r(ArrayIterators.keys); +var arrayEntries = uncurryThis$r(ArrayIterators.entries); +var aTypedArray$k = ArrayBufferViewCore$m.aTypedArray; +var exportTypedArrayMethod$l = ArrayBufferViewCore$m.exportTypedArrayMethod; var TypedArrayPrototype = Uint8Array$1 && Uint8Array$1.prototype; -var GENERIC = !fails$b(function () { +var GENERIC = !fails$c(function () { TypedArrayPrototype[ITERATOR$3].call([1]); }); @@ -10442,73 +10666,73 @@ var ITERATOR_IS_VALUES = !!TypedArrayPrototype && TypedArrayPrototype.values.name === 'values'; var typedArrayValues = function values() { - return arrayValues(aTypedArray$m(this)); + return arrayValues(aTypedArray$k(this)); }; // `%TypedArray%.prototype.entries` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries -exportTypedArrayMethod$n('entries', function entries() { - return arrayEntries(aTypedArray$m(this)); +exportTypedArrayMethod$l('entries', function entries() { + return arrayEntries(aTypedArray$k(this)); }, GENERIC); // `%TypedArray%.prototype.keys` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys -exportTypedArrayMethod$n('keys', function keys() { - return arrayKeys(aTypedArray$m(this)); +exportTypedArrayMethod$l('keys', function keys() { + return arrayKeys(aTypedArray$k(this)); }, GENERIC); // `%TypedArray%.prototype.values` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.values -exportTypedArrayMethod$n('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); +exportTypedArrayMethod$l('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); // `%TypedArray%.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator -exportTypedArrayMethod$n(ITERATOR$3, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); +exportTypedArrayMethod$l(ITERATOR$3, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); -var ArrayBufferViewCore$n = arrayBufferViewCore; -var uncurryThis$p = functionUncurryThis; +var ArrayBufferViewCore$l = arrayBufferViewCore; +var uncurryThis$q = functionUncurryThis; -var aTypedArray$l = ArrayBufferViewCore$n.aTypedArray; -var exportTypedArrayMethod$m = ArrayBufferViewCore$n.exportTypedArrayMethod; -var $join = uncurryThis$p([].join); +var aTypedArray$j = ArrayBufferViewCore$l.aTypedArray; +var exportTypedArrayMethod$k = ArrayBufferViewCore$l.exportTypedArrayMethod; +var $join = uncurryThis$q([].join); // `%TypedArray%.prototype.join` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join -exportTypedArrayMethod$m('join', function join(separator) { - return $join(aTypedArray$l(this), separator); +exportTypedArrayMethod$k('join', function join(separator) { + return $join(aTypedArray$j(this), separator); }); -var ArrayBufferViewCore$m = arrayBufferViewCore; +var ArrayBufferViewCore$k = arrayBufferViewCore; var apply$h = functionApply$1; var $lastIndexOf = arrayLastIndexOf; -var aTypedArray$k = ArrayBufferViewCore$m.aTypedArray; -var exportTypedArrayMethod$l = ArrayBufferViewCore$m.exportTypedArrayMethod; +var aTypedArray$i = ArrayBufferViewCore$k.aTypedArray; +var exportTypedArrayMethod$j = ArrayBufferViewCore$k.exportTypedArrayMethod; // `%TypedArray%.prototype.lastIndexOf` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof -exportTypedArrayMethod$l('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { +exportTypedArrayMethod$j('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { var length = arguments.length; - return apply$h($lastIndexOf, aTypedArray$k(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); + return apply$h($lastIndexOf, aTypedArray$i(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); }); -var ArrayBufferViewCore$l = arrayBufferViewCore; +var ArrayBufferViewCore$j = arrayBufferViewCore; var $map = arrayIteration.map; var typedArraySpeciesConstructor$3 = typedArraySpeciesConstructor$5; -var aTypedArray$j = ArrayBufferViewCore$l.aTypedArray; -var exportTypedArrayMethod$k = ArrayBufferViewCore$l.exportTypedArrayMethod; +var aTypedArray$h = ArrayBufferViewCore$j.aTypedArray; +var exportTypedArrayMethod$i = ArrayBufferViewCore$j.exportTypedArrayMethod; // `%TypedArray%.prototype.map` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.map -exportTypedArrayMethod$k('map', function map(mapfn /* , thisArg */) { - return $map(aTypedArray$j(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { +exportTypedArrayMethod$i('map', function map(mapfn /* , thisArg */) { + return $map(aTypedArray$h(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { return new (typedArraySpeciesConstructor$3(O))(length); }); }); -var ArrayBufferViewCore$k = arrayBufferViewCore; +var ArrayBufferViewCore$i = arrayBufferViewCore; var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = typedArrayConstructorsRequireWrappers; -var aTypedArrayConstructor$1 = ArrayBufferViewCore$k.aTypedArrayConstructor; -var exportTypedArrayStaticMethod$1 = ArrayBufferViewCore$k.exportTypedArrayStaticMethod; +var aTypedArrayConstructor$1 = ArrayBufferViewCore$i.aTypedArrayConstructor; +var exportTypedArrayStaticMethod$1 = ArrayBufferViewCore$i.exportTypedArrayStaticMethod; // `%TypedArray%.of` method // https://tc39.es/ecma262/#sec-%typedarray%.of @@ -10520,43 +10744,43 @@ exportTypedArrayStaticMethod$1('of', function of(/* ...items */) { return result; }, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); -var ArrayBufferViewCore$j = arrayBufferViewCore; +var ArrayBufferViewCore$h = arrayBufferViewCore; var $reduce = arrayReduce.left; -var aTypedArray$i = ArrayBufferViewCore$j.aTypedArray; -var exportTypedArrayMethod$j = ArrayBufferViewCore$j.exportTypedArrayMethod; +var aTypedArray$g = ArrayBufferViewCore$h.aTypedArray; +var exportTypedArrayMethod$h = ArrayBufferViewCore$h.exportTypedArrayMethod; // `%TypedArray%.prototype.reduce` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce -exportTypedArrayMethod$j('reduce', function reduce(callbackfn /* , initialValue */) { +exportTypedArrayMethod$h('reduce', function reduce(callbackfn /* , initialValue */) { var length = arguments.length; - return $reduce(aTypedArray$i(this), callbackfn, length, length > 1 ? arguments[1] : undefined); + return $reduce(aTypedArray$g(this), callbackfn, length, length > 1 ? arguments[1] : undefined); }); -var ArrayBufferViewCore$i = arrayBufferViewCore; +var ArrayBufferViewCore$g = arrayBufferViewCore; var $reduceRight = arrayReduce.right; -var aTypedArray$h = ArrayBufferViewCore$i.aTypedArray; -var exportTypedArrayMethod$i = ArrayBufferViewCore$i.exportTypedArrayMethod; +var aTypedArray$f = ArrayBufferViewCore$g.aTypedArray; +var exportTypedArrayMethod$g = ArrayBufferViewCore$g.exportTypedArrayMethod; // `%TypedArray%.prototype.reduceRicht` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright -exportTypedArrayMethod$i('reduceRight', function reduceRight(callbackfn /* , initialValue */) { +exportTypedArrayMethod$g('reduceRight', function reduceRight(callbackfn /* , initialValue */) { var length = arguments.length; - return $reduceRight(aTypedArray$h(this), callbackfn, length, length > 1 ? arguments[1] : undefined); + return $reduceRight(aTypedArray$f(this), callbackfn, length, length > 1 ? arguments[1] : undefined); }); -var ArrayBufferViewCore$h = arrayBufferViewCore; +var ArrayBufferViewCore$f = arrayBufferViewCore; -var aTypedArray$g = ArrayBufferViewCore$h.aTypedArray; -var exportTypedArrayMethod$h = ArrayBufferViewCore$h.exportTypedArrayMethod; +var aTypedArray$e = ArrayBufferViewCore$f.aTypedArray; +var exportTypedArrayMethod$f = ArrayBufferViewCore$f.exportTypedArrayMethod; var floor$2 = Math.floor; // `%TypedArray%.prototype.reverse` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse -exportTypedArrayMethod$h('reverse', function reverse() { +exportTypedArrayMethod$f('reverse', function reverse() { var that = this; - var length = aTypedArray$g(that).length; + var length = aTypedArray$e(that).length; var middle = floor$2(length / 2); var index = 0; var value; @@ -10567,22 +10791,22 @@ exportTypedArrayMethod$h('reverse', function reverse() { } return that; }); -var global$k = global$Z; +var global$k = global$_; var call$y = functionCall; -var ArrayBufferViewCore$g = arrayBufferViewCore; -var lengthOfArrayLike$b = lengthOfArrayLike$x; +var ArrayBufferViewCore$e = arrayBufferViewCore; +var lengthOfArrayLike$b = lengthOfArrayLike$A; var toOffset = toOffset$2; -var toIndexedObject$5 = toObject$z; -var fails$a = fails$1k; +var toIndexedObject$5 = toObject$B; +var fails$b = fails$1m; var RangeError$2 = global$k.RangeError; var Int8Array$2 = global$k.Int8Array; var Int8ArrayPrototype = Int8Array$2 && Int8Array$2.prototype; var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; -var aTypedArray$f = ArrayBufferViewCore$g.aTypedArray; -var exportTypedArrayMethod$g = ArrayBufferViewCore$g.exportTypedArrayMethod; +var aTypedArray$d = ArrayBufferViewCore$e.aTypedArray; +var exportTypedArrayMethod$e = ArrayBufferViewCore$e.exportTypedArrayMethod; -var WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails$a(function () { +var WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails$b(function () { // eslint-disable-next-line es-x/no-typed-arrays -- required for testing var array = new Uint8ClampedArray(2); call$y($set, array, { length: 1, 0: 3 }, 1); @@ -10590,7 +10814,7 @@ var WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails$a(function () { }); // https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other -var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore$g.NATIVE_ARRAY_BUFFER_VIEWS && fails$a(function () { +var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore$e.NATIVE_ARRAY_BUFFER_VIEWS && fails$b(function () { var array = new Int8Array$2(2); array.set(1); array.set('2', 1); @@ -10599,8 +10823,8 @@ var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBuffer // `%TypedArray%.prototype.set` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set -exportTypedArrayMethod$g('set', function set(arrayLike /* , offset */) { - aTypedArray$f(this); +exportTypedArrayMethod$e('set', function set(arrayLike /* , offset */) { + aTypedArray$d(this); var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); var src = toIndexedObject$5(arrayLike); if (WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS) return call$y($set, this, src, offset); @@ -10611,23 +10835,23 @@ exportTypedArrayMethod$g('set', function set(arrayLike /* , offset */) { while (index < len) this[offset + index] = src[index++]; }, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); -var ArrayBufferViewCore$f = arrayBufferViewCore; +var ArrayBufferViewCore$d = arrayBufferViewCore; var typedArraySpeciesConstructor$2 = typedArraySpeciesConstructor$5; -var fails$9 = fails$1k; -var arraySlice$6 = arraySlice$e; +var fails$a = fails$1m; +var arraySlice$4 = arraySlice$c; -var aTypedArray$e = ArrayBufferViewCore$f.aTypedArray; -var exportTypedArrayMethod$f = ArrayBufferViewCore$f.exportTypedArrayMethod; +var aTypedArray$c = ArrayBufferViewCore$d.aTypedArray; +var exportTypedArrayMethod$d = ArrayBufferViewCore$d.exportTypedArrayMethod; -var FORCED$2 = fails$9(function () { +var FORCED$2 = fails$a(function () { // eslint-disable-next-line es-x/no-typed-arrays -- required for testing new Int8Array(1).slice(); }); // `%TypedArray%.prototype.slice` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice -exportTypedArrayMethod$f('slice', function slice(start, end) { - var list = arraySlice$6(aTypedArray$e(this), start, end); +exportTypedArrayMethod$d('slice', function slice(start, end) { + var list = arraySlice$4(aTypedArray$c(this), start, end); var C = typedArraySpeciesConstructor$2(this); var index = 0; var length = list.length; @@ -10636,44 +10860,44 @@ exportTypedArrayMethod$f('slice', function slice(start, end) { return result; }, FORCED$2); -var ArrayBufferViewCore$e = arrayBufferViewCore; +var ArrayBufferViewCore$c = arrayBufferViewCore; var $some$1 = arrayIteration.some; -var aTypedArray$d = ArrayBufferViewCore$e.aTypedArray; -var exportTypedArrayMethod$e = ArrayBufferViewCore$e.exportTypedArrayMethod; +var aTypedArray$b = ArrayBufferViewCore$c.aTypedArray; +var exportTypedArrayMethod$c = ArrayBufferViewCore$c.exportTypedArrayMethod; // `%TypedArray%.prototype.some` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.some -exportTypedArrayMethod$e('some', function some(callbackfn /* , thisArg */) { - return $some$1(aTypedArray$d(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +exportTypedArrayMethod$c('some', function some(callbackfn /* , thisArg */) { + return $some$1(aTypedArray$b(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); -var global$j = global$Z; -var uncurryThis$o = functionUncurryThis; -var fails$8 = fails$1k; +var global$j = global$_; +var uncurryThis$p = functionUncurryThis; +var fails$9 = fails$1m; var aCallable$H = aCallable$Y; var internalSort = arraySort$1; -var ArrayBufferViewCore$d = arrayBufferViewCore; +var ArrayBufferViewCore$b = arrayBufferViewCore; var FF = engineFfVersion; var IE_OR_EDGE = engineIsIeOrEdge; -var V8 = engineV8Version; +var V8$1 = engineV8Version; var WEBKIT = engineWebkitVersion; -var aTypedArray$c = ArrayBufferViewCore$d.aTypedArray; -var exportTypedArrayMethod$d = ArrayBufferViewCore$d.exportTypedArrayMethod; +var aTypedArray$a = ArrayBufferViewCore$b.aTypedArray; +var exportTypedArrayMethod$b = ArrayBufferViewCore$b.exportTypedArrayMethod; var Uint16Array = global$j.Uint16Array; -var un$Sort = Uint16Array && uncurryThis$o(Uint16Array.prototype.sort); +var un$Sort = Uint16Array && uncurryThis$p(Uint16Array.prototype.sort); // WebKit -var ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails$8(function () { +var ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails$9(function () { un$Sort(new Uint16Array(2), null); -}) && fails$8(function () { +}) && fails$9(function () { un$Sort(new Uint16Array(2), {}); })); -var STABLE_SORT = !!un$Sort && !fails$8(function () { +var STABLE_SORT = !!un$Sort && !fails$9(function () { // feature detection can be too slow, so check engines versions - if (V8) return V8 < 74; + if (V8$1) return V8$1 < 74; if (FF) return FF < 67; if (IE_OR_EDGE) return true; if (WEBKIT) return WEBKIT < 602; @@ -10711,78 +10935,78 @@ var getSortCompare = function (comparefn) { // `%TypedArray%.prototype.sort` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort -exportTypedArrayMethod$d('sort', function sort(comparefn) { +exportTypedArrayMethod$b('sort', function sort(comparefn) { if (comparefn !== undefined) aCallable$H(comparefn); if (STABLE_SORT) return un$Sort(this, comparefn); - return internalSort(aTypedArray$c(this), getSortCompare(comparefn)); + return internalSort(aTypedArray$a(this), getSortCompare(comparefn)); }, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); -var ArrayBufferViewCore$c = arrayBufferViewCore; +var ArrayBufferViewCore$a = arrayBufferViewCore; var toLength = toLength$d; -var toAbsoluteIndex$1 = toAbsoluteIndex$a; +var toAbsoluteIndex$2 = toAbsoluteIndex$b; var typedArraySpeciesConstructor$1 = typedArraySpeciesConstructor$5; -var aTypedArray$b = ArrayBufferViewCore$c.aTypedArray; -var exportTypedArrayMethod$c = ArrayBufferViewCore$c.exportTypedArrayMethod; +var aTypedArray$9 = ArrayBufferViewCore$a.aTypedArray; +var exportTypedArrayMethod$a = ArrayBufferViewCore$a.exportTypedArrayMethod; // `%TypedArray%.prototype.subarray` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray -exportTypedArrayMethod$c('subarray', function subarray(begin, end) { - var O = aTypedArray$b(this); +exportTypedArrayMethod$a('subarray', function subarray(begin, end) { + var O = aTypedArray$9(this); var length = O.length; - var beginIndex = toAbsoluteIndex$1(begin, length); + var beginIndex = toAbsoluteIndex$2(begin, length); var C = typedArraySpeciesConstructor$1(O); return new C( O.buffer, O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex$1(end, length)) - beginIndex) + toLength((end === undefined ? length : toAbsoluteIndex$2(end, length)) - beginIndex) ); }); -var global$i = global$Z; +var global$i = global$_; var apply$g = functionApply$1; -var ArrayBufferViewCore$b = arrayBufferViewCore; -var fails$7 = fails$1k; -var arraySlice$5 = arraySlice$e; +var ArrayBufferViewCore$9 = arrayBufferViewCore; +var fails$8 = fails$1m; +var arraySlice$3 = arraySlice$c; var Int8Array$1 = global$i.Int8Array; -var aTypedArray$a = ArrayBufferViewCore$b.aTypedArray; -var exportTypedArrayMethod$b = ArrayBufferViewCore$b.exportTypedArrayMethod; +var aTypedArray$8 = ArrayBufferViewCore$9.aTypedArray; +var exportTypedArrayMethod$9 = ArrayBufferViewCore$9.exportTypedArrayMethod; var $toLocaleString = [].toLocaleString; // iOS Safari 6.x fails here -var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails$7(function () { +var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails$8(function () { $toLocaleString.call(new Int8Array$1(1)); }); -var FORCED$1 = fails$7(function () { +var FORCED$1 = fails$8(function () { return [1, 2].toLocaleString() != new Int8Array$1([1, 2]).toLocaleString(); -}) || !fails$7(function () { +}) || !fails$8(function () { Int8Array$1.prototype.toLocaleString.call([1, 2]); }); // `%TypedArray%.prototype.toLocaleString` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring -exportTypedArrayMethod$b('toLocaleString', function toLocaleString() { +exportTypedArrayMethod$9('toLocaleString', function toLocaleString() { return apply$g( $toLocaleString, - TO_LOCALE_STRING_BUG ? arraySlice$5(aTypedArray$a(this)) : aTypedArray$a(this), - arraySlice$5(arguments) + TO_LOCALE_STRING_BUG ? arraySlice$3(aTypedArray$8(this)) : aTypedArray$8(this), + arraySlice$3(arguments) ); }, FORCED$1); -var exportTypedArrayMethod$a = arrayBufferViewCore.exportTypedArrayMethod; -var fails$6 = fails$1k; -var global$h = global$Z; -var uncurryThis$n = functionUncurryThis; +var exportTypedArrayMethod$8 = arrayBufferViewCore.exportTypedArrayMethod; +var fails$7 = fails$1m; +var global$h = global$_; +var uncurryThis$o = functionUncurryThis; var Uint8Array = global$h.Uint8Array; var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}; var arrayToString = [].toString; -var join$4 = uncurryThis$n([].join); +var join$4 = uncurryThis$o([].join); -if (fails$6(function () { arrayToString.call({}); })) { +if (fails$7(function () { arrayToString.call({}); })) { arrayToString = function toString() { return join$4(this); }; @@ -10792,16 +11016,16 @@ var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; // `%TypedArray%.prototype.toString` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring -exportTypedArrayMethod$a('toString', arrayToString, IS_NOT_ARRAY_METHOD); +exportTypedArrayMethod$8('toString', arrayToString, IS_NOT_ARRAY_METHOD); var $$2e = _export; -var uncurryThis$m = functionUncurryThis; +var uncurryThis$n = functionUncurryThis; var toString$6 = toString$z; var fromCharCode$2 = String.fromCharCode; -var charAt$7 = uncurryThis$m(''.charAt); -var exec$5 = uncurryThis$m(/./.exec); -var stringSlice$3 = uncurryThis$m(''.slice); +var charAt$7 = uncurryThis$n(''.charAt); +var exec$5 = uncurryThis$n(/./.exec); +var stringSlice$3 = uncurryThis$n(''.slice); var hex2 = /^[\da-f]{2}$/i; var hex4 = /^[\da-f]{4}$/i; @@ -10839,7 +11063,7 @@ $$2e({ global: true }, { } }); -var uncurryThis$l = functionUncurryThis; +var uncurryThis$m = functionUncurryThis; var defineBuiltIns$6 = defineBuiltIns$9; var getWeakData = internalMetadata.exports.getWeakData; var anObject$17 = anObject$1G; @@ -10854,7 +11078,7 @@ var setInternalState$b = InternalStateModule$b.set; var internalStateGetterFor = InternalStateModule$b.getterFor; var find$1 = ArrayIterationModule.find; var findIndex = ArrayIterationModule.findIndex; -var splice$1 = uncurryThis$l([].splice); +var splice$1 = uncurryThis$m([].splice); var id = 0; // fallback for uncaught frozen keys @@ -10969,8 +11193,8 @@ var collectionWeak$2 = { } }; -var global$g = global$Z; -var uncurryThis$k = functionUncurryThis; +var global$g = global$_; +var uncurryThis$l = functionUncurryThis; var defineBuiltIns$5 = defineBuiltIns$9; var InternalMetadataModule = internalMetadata.exports; var collection$1 = collection$4; @@ -11000,10 +11224,10 @@ if (NATIVE_WEAK_MAP && IS_IE11) { InternalWeakMap = collectionWeak$1.getConstructor(wrapper, 'WeakMap', true); InternalMetadataModule.enable(); var WeakMapPrototype = $WeakMap.prototype; - var nativeDelete = uncurryThis$k(WeakMapPrototype['delete']); - var nativeHas = uncurryThis$k(WeakMapPrototype.has); - var nativeGet = uncurryThis$k(WeakMapPrototype.get); - var nativeSet = uncurryThis$k(WeakMapPrototype.set); + var nativeDelete = uncurryThis$l(WeakMapPrototype['delete']); + var nativeHas = uncurryThis$l(WeakMapPrototype.has); + var nativeGet = uncurryThis$l(WeakMapPrototype.get); + var nativeSet = uncurryThis$l(WeakMapPrototype.set); defineBuiltIns$5(WeakMapPrototype, { 'delete': function (key) { if (isObject$5(key) && !isExtensible(key)) { @@ -11046,7 +11270,7 @@ collection('WeakSet', function (init) { return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionWeak); -var global$f = global$Z; +var global$f = global$_; var shared$1 = sharedStore; var isCallable$8 = isCallable$E; var getPrototypeOf$3 = objectGetPrototypeOf$1; @@ -11158,7 +11382,7 @@ var getAsyncIterator$3 = function (it, usingIterator) { return method ? anObject$15(call$x(method, it)) : new AsyncFromSyncIterator$3(getIterator$7(it)); }; -var global$e = global$Z; +var global$e = global$_; var entryVirtual = function (CONSTRUCTOR) { return global$e[CONSTRUCTOR].prototype; @@ -11169,11 +11393,11 @@ var entryVirtual = function (CONSTRUCTOR) { var call$w = functionCall; var aCallable$G = aCallable$Y; var anObject$14 = anObject$1G; -var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$5; +var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$7; var getBuiltIn$r = getBuiltIn$L; var getMethod$6 = getMethod$i; -var createMethod$1 = function (TYPE) { +var createMethod = function (TYPE) { var IS_TO_ARRAY = TYPE == 0; var IS_FOR_EACH = TYPE == 1; var IS_EVERY = TYPE == 2; @@ -11247,15 +11471,15 @@ var createMethod$1 = function (TYPE) { }; var asyncIteratorIteration = { - toArray: createMethod$1(0), - forEach: createMethod$1(1), - every: createMethod$1(2), - some: createMethod$1(3), - find: createMethod$1(4) + toArray: createMethod(0), + forEach: createMethod(1), + every: createMethod(2), + some: createMethod(3), + find: createMethod(4) }; -var bind$i = functionBindContext; -var toObject$9 = toObject$z; +var bind$h = functionBindContext; +var toObject$8 = toObject$B; var isConstructor$4 = isConstructor$a; var getAsyncIterator$2 = getAsyncIterator$3; var getIterator$6 = getIterator$b; @@ -11278,8 +11502,8 @@ var arrayFromAsync$1 = function fromAsync(asyncItems /* , mapfn = undefined, thi var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var thisArg = argumentsLength > 2 ? arguments[2] : undefined; return new (getBuiltIn$q('Promise'))(function (resolve) { - var O = toObject$9(asyncItems); - if (mapfn !== undefined) mapfn = bind$i(mapfn, thisArg); + var O = toObject$8(asyncItems); + if (mapfn !== undefined) mapfn = bind$h(mapfn, thisArg); var usingAsyncIterator = getMethod$5(O, ASYNC_ITERATOR$1); var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod$4(O) || arrayIterator; var A = isConstructor$4(C) ? new C() : []; @@ -11302,7 +11526,7 @@ $$2d({ target: 'Array', stat: true, forced: true }, { // TODO: remove from `core-js@4` var $$2c = _export; var $filterReject$3 = arrayIteration.filterReject; -var addToUnscopables$b = addToUnscopables$l; +var addToUnscopables$b = addToUnscopables$n; // `Array.prototype.filterOut` method // https://github.com/tc39/proposal-array-filtering @@ -11316,7 +11540,7 @@ addToUnscopables$b('filterOut'); var $$2b = _export; var $filterReject$2 = arrayIteration.filterReject; -var addToUnscopables$a = addToUnscopables$l; +var addToUnscopables$a = addToUnscopables$n; // `Array.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering @@ -11328,87 +11552,24 @@ $$2b({ target: 'Array', proto: true, forced: true }, { addToUnscopables$a('filterReject'); -var bind$h = functionBindContext; -var IndexedObject$2 = indexedObject; -var toObject$8 = toObject$z; -var lengthOfArrayLike$a = lengthOfArrayLike$x; - -// `Array.prototype.{ findLast, findLastIndex }` methods implementation -var createMethod = function (TYPE) { - var IS_FIND_LAST_INDEX = TYPE == 1; - return function ($this, callbackfn, that) { - var O = toObject$8($this); - var self = IndexedObject$2(O); - var boundFunction = bind$h(callbackfn, that); - var index = lengthOfArrayLike$a(self); - var value, result; - while (index-- > 0) { - value = self[index]; - result = boundFunction(value, index, O); - if (result) switch (TYPE) { - case 0: return value; // findLast - case 1: return index; // findLastIndex - } - } - return IS_FIND_LAST_INDEX ? -1 : undefined; - }; -}; - -var arrayIterationFromLast = { - // `Array.prototype.findLast` method - // https://github.com/tc39/proposal-array-find-from-last - findLast: createMethod(0), - // `Array.prototype.findLastIndex` method - // https://github.com/tc39/proposal-array-find-from-last - findLastIndex: createMethod(1) -}; - -var $$2a = _export; -var $findLast$1 = arrayIterationFromLast.findLast; -var addToUnscopables$9 = addToUnscopables$l; - -// `Array.prototype.findLast` method -// https://github.com/tc39/proposal-array-find-from-last -$$2a({ target: 'Array', proto: true }, { - findLast: function findLast(callbackfn /* , that = undefined */) { - return $findLast$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -addToUnscopables$9('findLast'); - -var $$29 = _export; -var $findLastIndex$1 = arrayIterationFromLast.findLastIndex; -var addToUnscopables$8 = addToUnscopables$l; - -// `Array.prototype.findLastIndex` method -// https://github.com/tc39/proposal-array-find-from-last -$$29({ target: 'Array', proto: true }, { - findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) { - return $findLastIndex$1(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } -}); - -addToUnscopables$8('findLastIndex'); - var bind$g = functionBindContext; -var uncurryThis$j = functionUncurryThis; +var uncurryThis$k = functionUncurryThis; var IndexedObject$1 = indexedObject; -var toObject$7 = toObject$z; +var toObject$7 = toObject$B; var toPropertyKey = toPropertyKey$9; -var lengthOfArrayLike$9 = lengthOfArrayLike$x; +var lengthOfArrayLike$a = lengthOfArrayLike$A; var objectCreate = objectCreate$1; var arrayFromConstructorAndList$3 = arrayFromConstructorAndList$5; var $Array$4 = Array; -var push$c = uncurryThis$j([].push); +var push$c = uncurryThis$k([].push); -var arrayGroupBy = function ($this, callbackfn, that, specificConstructor) { +var arrayGroup = function ($this, callbackfn, that, specificConstructor) { var O = toObject$7($this); var self = IndexedObject$1(O); var boundFunction = bind$g(callbackfn, that); var target = objectCreate(null); - var length = lengthOfArrayLike$9(self); + var length = lengthOfArrayLike$a(self); var index = 0; var Constructor, key, value; for (;length > index; index++) { @@ -11428,62 +11589,97 @@ var arrayGroupBy = function ($this, callbackfn, that, specificConstructor) { } return target; }; -var $$28 = _export; -var $groupBy$1 = arrayGroupBy; +var $$2a = _export; +var $group$2 = arrayGroup; +var addToUnscopables$9 = addToUnscopables$n; + +// `Array.prototype.group` method +// https://github.com/tc39/proposal-array-grouping +$$2a({ target: 'Array', proto: true }, { + group: function group(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group$2(this, callbackfn, thisArg); + } +}); + +addToUnscopables$9('group'); + +// TODO: Remove from `core-js@4` +var $$29 = _export; +var $group$1 = arrayGroup; var arrayMethodIsStrict$1 = arrayMethodIsStrict$b; -var addToUnscopables$7 = addToUnscopables$l; +var addToUnscopables$8 = addToUnscopables$n; // `Array.prototype.groupBy` method // https://github.com/tc39/proposal-array-grouping // https://bugs.webkit.org/show_bug.cgi?id=236541 -$$28({ target: 'Array', proto: true, forced: !arrayMethodIsStrict$1('groupBy') }, { +$$29({ target: 'Array', proto: true, forced: !arrayMethodIsStrict$1('groupBy') }, { groupBy: function groupBy(callbackfn /* , thisArg */) { var thisArg = arguments.length > 1 ? arguments[1] : undefined; - return $groupBy$1(this, callbackfn, thisArg); + return $group$1(this, callbackfn, thisArg); } }); -addToUnscopables$7('groupBy'); +addToUnscopables$8('groupBy'); -var $$27 = _export; var getBuiltIn$p = getBuiltIn$L; var bind$f = functionBindContext; -var uncurryThis$i = functionUncurryThis; +var uncurryThis$j = functionUncurryThis; var IndexedObject = indexedObject; -var toObject$6 = toObject$z; -var lengthOfArrayLike$8 = lengthOfArrayLike$x; -var arrayMethodIsStrict = arrayMethodIsStrict$b; -var addToUnscopables$6 = addToUnscopables$l; +var toObject$6 = toObject$B; +var lengthOfArrayLike$9 = lengthOfArrayLike$A; var Map$5 = getBuiltIn$p('Map'); var MapPrototype$2 = Map$5.prototype; -var mapGet$1 = uncurryThis$i(MapPrototype$2.get); -var mapHas$2 = uncurryThis$i(MapPrototype$2.has); -var mapSet$2 = uncurryThis$i(MapPrototype$2.set); -var push$b = uncurryThis$i([].push); +var mapGet$1 = uncurryThis$j(MapPrototype$2.get); +var mapHas$2 = uncurryThis$j(MapPrototype$2.has); +var mapSet$2 = uncurryThis$j(MapPrototype$2.set); +var push$b = uncurryThis$j([].push); + +// `Array.prototype.groupToMap` method +// https://github.com/tc39/proposal-array-grouping +var arrayGroupToMap = function groupToMap(callbackfn /* , thisArg */) { + var O = toObject$6(this); + var self = IndexedObject(O); + var boundFunction = bind$f(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var map = new Map$5(); + var length = lengthOfArrayLike$9(self); + var index = 0; + var key, value; + for (;length > index; index++) { + value = self[index]; + key = boundFunction(value, index, O); + if (mapHas$2(map, key)) push$b(mapGet$1(map, key), value); + else mapSet$2(map, key, [value]); + } return map; +}; + +// TODO: Remove from `core-js@4` +var $$28 = _export; +var arrayMethodIsStrict = arrayMethodIsStrict$b; +var addToUnscopables$7 = addToUnscopables$n; +var $groupToMap$1 = arrayGroupToMap; // `Array.prototype.groupByToMap` method // https://github.com/tc39/proposal-array-grouping // https://bugs.webkit.org/show_bug.cgi?id=236541 -$$27({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupByToMap') }, { - groupByToMap: function groupByToMap(callbackfn /* , thisArg */) { - var O = toObject$6(this); - var self = IndexedObject(O); - var boundFunction = bind$f(callbackfn, arguments.length > 1 ? arguments[1] : undefined); - var map = new Map$5(); - var length = lengthOfArrayLike$8(self); - var index = 0; - var key, value; - for (;length > index; index++) { - value = self[index]; - key = boundFunction(value, index, O); - if (mapHas$2(map, key)) push$b(mapGet$1(map, key), value); - else mapSet$2(map, key, [value]); - } return map; - } +$$28({ target: 'Array', proto: true, name: 'groupToMap', forced: !arrayMethodIsStrict('groupByToMap') }, { + groupByToMap: $groupToMap$1 +}); + +addToUnscopables$7('groupByToMap'); + +var $$27 = _export; +var addToUnscopables$6 = addToUnscopables$n; +var $groupToMap = arrayGroupToMap; + +// `Array.prototype.groupToMap` method +// https://github.com/tc39/proposal-array-grouping +$$27({ target: 'Array', proto: true }, { + groupToMap: $groupToMap }); -addToUnscopables$6('groupByToMap'); +addToUnscopables$6('groupToMap'); var $$26 = _export; var isArray = isArray$8; @@ -11516,9 +11712,9 @@ $$26({ target: 'Array', stat: true, sham: true, forced: true }, { // TODO: Remove from `core-js@4` var DESCRIPTORS$7 = descriptors; -var addToUnscopables$5 = addToUnscopables$l; -var toObject$5 = toObject$z; -var lengthOfArrayLike$7 = lengthOfArrayLike$x; +var addToUnscopables$5 = addToUnscopables$n; +var toObject$5 = toObject$B; +var lengthOfArrayLike$8 = lengthOfArrayLike$A; var defineBuiltInAccessor$4 = defineBuiltInAccessor$8; // `Array.prototype.lastIndex` getter @@ -11528,7 +11724,7 @@ if (DESCRIPTORS$7) { configurable: true, get: function lastIndex() { var O = toObject$5(this); - var len = lengthOfArrayLike$7(O); + var len = lengthOfArrayLike$8(O); return len == 0 ? 0 : len - 1; } }); @@ -11538,9 +11734,9 @@ if (DESCRIPTORS$7) { // TODO: Remove from `core-js@4` var DESCRIPTORS$6 = descriptors; -var addToUnscopables$4 = addToUnscopables$l; -var toObject$4 = toObject$z; -var lengthOfArrayLike$6 = lengthOfArrayLike$x; +var addToUnscopables$4 = addToUnscopables$n; +var toObject$4 = toObject$B; +var lengthOfArrayLike$7 = lengthOfArrayLike$A; var defineBuiltInAccessor$3 = defineBuiltInAccessor$8; // `Array.prototype.lastIndex` accessor @@ -11550,12 +11746,12 @@ if (DESCRIPTORS$6) { configurable: true, get: function lastItem() { var O = toObject$4(this); - var len = lengthOfArrayLike$6(O); + var len = lengthOfArrayLike$7(O); return len == 0 ? undefined : O[len - 1]; }, set: function lastItem(value) { var O = toObject$4(this); - var len = lengthOfArrayLike$6(O); + var len = lengthOfArrayLike$7(O); return O[len == 0 ? 0 : len - 1] = value; } }); @@ -11563,12 +11759,12 @@ if (DESCRIPTORS$6) { addToUnscopables$4('lastItem'); } -var lengthOfArrayLike$5 = lengthOfArrayLike$x; +var lengthOfArrayLike$6 = lengthOfArrayLike$A; // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed var arrayToReversed$2 = function (O, C) { - var len = lengthOfArrayLike$5(O); + var len = lengthOfArrayLike$6(O); var A = new C(len); var k = 0; for (; k < len; k++) A[k] = O[len - k - 1]; @@ -11578,7 +11774,7 @@ var arrayToReversed$2 = function (O, C) { var $$25 = _export; var arrayToReversed$1 = arrayToReversed$2; var toIndexedObject$4 = toIndexedObject$k; -var addToUnscopables$3 = addToUnscopables$l; +var addToUnscopables$3 = addToUnscopables$n; var $Array$3 = Array; @@ -11593,15 +11789,15 @@ $$25({ target: 'Array', proto: true }, { addToUnscopables$3('toReversed'); var $$24 = _export; -var uncurryThis$h = functionUncurryThis; +var uncurryThis$i = functionUncurryThis; var aCallable$F = aCallable$Y; var toIndexedObject$3 = toIndexedObject$k; var arrayFromConstructorAndList$2 = arrayFromConstructorAndList$5; var getVirtual = entryVirtual; -var addToUnscopables$2 = addToUnscopables$l; +var addToUnscopables$2 = addToUnscopables$n; var $Array$2 = Array; -var sort$1 = uncurryThis$h(getVirtual('Array').sort); +var sort$1 = uncurryThis$i(getVirtual('Array').sort); // `Array.prototype.toSorted` method // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSorted @@ -11616,81 +11812,69 @@ $$24({ target: 'Array', proto: true }, { addToUnscopables$2('toSorted'); -var lengthOfArrayLike$4 = lengthOfArrayLike$x; -var doesNotExceedSafeInteger = doesNotExceedSafeInteger$5; -var toAbsoluteIndex = toAbsoluteIndex$a; -var toIntegerOrInfinity$3 = toIntegerOrInfinity$m; - -var max$1 = Math.max; -var min$1 = Math.min; - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSpliced -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced -var arrayToSpliced$2 = function (O, C, args) { - var start = args[0]; - var deleteCount = args[1]; - var len = lengthOfArrayLike$4(O); - var actualStart = toAbsoluteIndex(start, len); - var argumentsLength = args.length; - var k = 0; - var insertCount, actualDeleteCount, newLen, A; - if (argumentsLength === 0) { - insertCount = actualDeleteCount = 0; - } else if (argumentsLength === 1) { - insertCount = 0; - actualDeleteCount = len - actualStart; - } else { - insertCount = argumentsLength - 2; - actualDeleteCount = min$1(max$1(toIntegerOrInfinity$3(deleteCount), 0), len - actualStart); - } - newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); - A = new C(newLen); - - for (; k < actualStart; k++) A[k] = O[k]; - for (; k < actualStart + insertCount; k++) A[k] = args[k - actualStart + 2]; - for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; - - return A; -}; - var $$23 = _export; +var addToUnscopables$1 = addToUnscopables$n; +var doesNotExceedSafeInteger = doesNotExceedSafeInteger$7; +var lengthOfArrayLike$5 = lengthOfArrayLike$A; +var toAbsoluteIndex$1 = toAbsoluteIndex$b; var toIndexedObject$2 = toIndexedObject$k; -var arraySlice$4 = arraySlice$e; -var arrayToSpliced$1 = arrayToSpliced$2; -var addToUnscopables$1 = addToUnscopables$l; +var toIntegerOrInfinity$5 = toIntegerOrInfinity$o; var $Array$1 = Array; +var max$2 = Math.max; +var min$2 = Math.min; // `Array.prototype.toSpliced` method // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSpliced -$$23({ target: 'Array', proto: true, arity: 2 }, { - // eslint-disable-next-line no-unused-vars -- required for .length +$$23({ target: 'Array', proto: true }, { toSpliced: function toSpliced(start, deleteCount /* , ...items */) { - return arrayToSpliced$1(toIndexedObject$2(this), $Array$1, arraySlice$4(arguments)); + var O = toIndexedObject$2(this); + var len = lengthOfArrayLike$5(O); + var actualStart = toAbsoluteIndex$1(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min$2(max$2(toIntegerOrInfinity$5(deleteCount), 0), len - actualStart); + } + newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = $Array$1(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; } }); addToUnscopables$1('toSpliced'); var getBuiltIn$o = getBuiltIn$L; -var uncurryThis$g = functionUncurryThis; +var uncurryThis$h = functionUncurryThis; var aCallable$E = aCallable$Y; -var lengthOfArrayLike$3 = lengthOfArrayLike$x; -var toObject$3 = toObject$z; +var lengthOfArrayLike$4 = lengthOfArrayLike$A; +var toObject$3 = toObject$B; var arraySpeciesCreate = arraySpeciesCreate$6; var Map$4 = getBuiltIn$o('Map'); var MapPrototype$1 = Map$4.prototype; -var mapForEach = uncurryThis$g(MapPrototype$1.forEach); -var mapHas$1 = uncurryThis$g(MapPrototype$1.has); -var mapSet$1 = uncurryThis$g(MapPrototype$1.set); -var push$a = uncurryThis$g([].push); +var mapForEach = uncurryThis$h(MapPrototype$1.forEach); +var mapHas$1 = uncurryThis$h(MapPrototype$1.has); +var mapSet$1 = uncurryThis$h(MapPrototype$1.set); +var push$a = uncurryThis$h([].push); // `Array.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique var arrayUniqueBy$2 = function uniqueBy(resolver) { var that = toObject$3(this); - var length = lengthOfArrayLike$3(that); + var length = lengthOfArrayLike$4(that); var result = arraySpeciesCreate(that, 0); var map = new Map$4(); var resolverFunction = resolver != null ? aCallable$E(resolver) : function (value) { @@ -11709,7 +11893,7 @@ var arrayUniqueBy$2 = function uniqueBy(resolver) { }; var $$22 = _export; -var addToUnscopables = addToUnscopables$l; +var addToUnscopables = addToUnscopables$n; var uniqueBy = arrayUniqueBy$2; // `Array.prototype.uniqueBy` method @@ -11720,16 +11904,16 @@ $$22({ target: 'Array', proto: true, forced: true }, { addToUnscopables('uniqueBy'); -var lengthOfArrayLike$2 = lengthOfArrayLike$x; -var toIntegerOrInfinity$2 = toIntegerOrInfinity$m; +var lengthOfArrayLike$3 = lengthOfArrayLike$A; +var toIntegerOrInfinity$4 = toIntegerOrInfinity$o; var $RangeError$3 = RangeError; // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with var arrayWith$2 = function (O, C, index, value) { - var len = lengthOfArrayLike$2(O); - var relativeIndex = toIntegerOrInfinity$2(index); + var len = lengthOfArrayLike$3(O); + var relativeIndex = toIntegerOrInfinity$4(index); var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; if (actualIndex >= len || actualIndex < 0) throw $RangeError$3('Incorrect index'); var A = new C(len); @@ -11755,7 +11939,7 @@ $$21({ target: 'Array', proto: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$20 = _export; var anInstance$6 = anInstance$d; -var createNonEnumerableProperty$6 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$6 = createNonEnumerableProperty$i; var hasOwn$9 = hasOwnProperty_1; var wellKnownSymbol$a = wellKnownSymbol$K; var AsyncIteratorPrototype$2 = asyncIteratorPrototype; @@ -11785,7 +11969,7 @@ var call$v = functionCall; var aCallable$D = aCallable$Y; var anObject$13 = anObject$1G; var create$5 = objectCreate$1; -var createNonEnumerableProperty$5 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$5 = createNonEnumerableProperty$i; var defineBuiltIns$3 = defineBuiltIns$9; var wellKnownSymbol$9 = wellKnownSymbol$K; var InternalStateModule$9 = internalState; @@ -12067,7 +12251,7 @@ $$1V({ target: 'AsyncIterator', proto: true, real: true, forced: true }, { var $$1U = _export; var apply$b = functionApply$1; var anObject$_ = anObject$1G; -var toObject$2 = toObject$z; +var toObject$2 = toObject$B; var isPrototypeOf$1 = objectIsPrototypeOf; var AsyncIteratorPrototype = asyncIteratorPrototype; var createAsyncIteratorProxy$2 = asyncIteratorCreateProxy; @@ -12436,7 +12620,7 @@ $$1M({ global: true, forced: true }, { }); var $$1L = _export; -var uncurryThis$f = functionUncurryThis; +var uncurryThis$g = functionUncurryThis; var $isCallable = isCallable$E; var inspectSource = inspectSource$5; var hasOwn$8 = hasOwnProperty_1; @@ -12445,7 +12629,7 @@ var DESCRIPTORS$4 = descriptors; // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; var classRegExp = /^\s*class\b/; -var exec$4 = uncurryThis$f(classRegExp.exec); +var exec$4 = uncurryThis$g(classRegExp.exec); var isClassConstructor = function (argument) { try { @@ -12475,24 +12659,24 @@ $$1K({ target: 'Function', stat: true, forced: true }, { }); var $$1J = _export; -var uncurryThis$e = functionUncurryThis; +var uncurryThis$f = functionUncurryThis; var aCallable$y = aCallable$Y; // `Function.prototype.unThis` method // https://github.com/js-choi/proposal-function-un-this $$1J({ target: 'Function', proto: true, forced: true }, { unThis: function unThis() { - return uncurryThis$e(aCallable$y(this)); + return uncurryThis$f(aCallable$y(this)); } }); // https://github.com/tc39/proposal-iterator-helpers var $$1I = _export; -var global$d = global$Z; +var global$d = global$_; var anInstance$5 = anInstance$d; var isCallable$7 = isCallable$E; -var createNonEnumerableProperty$4 = createNonEnumerableProperty$j; -var fails$5 = fails$1k; +var createNonEnumerableProperty$4 = createNonEnumerableProperty$i; +var fails$6 = fails$1m; var hasOwn$7 = hasOwnProperty_1; var wellKnownSymbol$7 = wellKnownSymbol$K; var IteratorPrototype$2 = iteratorsCore.IteratorPrototype; @@ -12505,7 +12689,7 @@ var NativeIterator = global$d.Iterator; var FORCED = !isCallable$7(NativeIterator) || NativeIterator.prototype !== IteratorPrototype$2 // FF44- non-standard `Iterator` passes previous tests - || !fails$5(function () { NativeIterator({}); }); + || !fails$6(function () { NativeIterator({}); }); var IteratorConstructor = function Iterator() { anInstance$5(this, IteratorPrototype$2); @@ -12529,7 +12713,7 @@ var call$r = functionCall; var aCallable$x = aCallable$Y; var anObject$W = anObject$1G; var create$2 = objectCreate$1; -var createNonEnumerableProperty$3 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$3 = createNonEnumerableProperty$i; var defineBuiltIns$2 = defineBuiltIns$9; var wellKnownSymbol$6 = wellKnownSymbol$K; var InternalStateModule$7 = internalState; @@ -12768,7 +12952,7 @@ $$1B({ target: 'Iterator', proto: true, real: true, forced: true }, { var $$1A = _export; var apply$3 = functionApply$1; var anObject$O = anObject$1G; -var toObject$1 = toObject$z; +var toObject$1 = toObject$B; var isPrototypeOf = objectIsPrototypeOf; var IteratorPrototype = iteratorsCore.IteratorPrototype; var createIteratorProxy$2 = iteratorCreateProxy; @@ -13099,12 +13283,12 @@ $$1n({ target: 'Map', stat: true, forced: true }, { var $$1m = _export; var call$j = functionCall; -var uncurryThis$d = functionUncurryThis; +var uncurryThis$e = functionUncurryThis; var aCallable$l = aCallable$Y; var getIterator$3 = getIterator$b; var iterate$o = iterate$J; -var push$7 = uncurryThis$d([].push); +var push$7 = uncurryThis$e([].push); // `Map.groupBy` method // https://github.com/tc39/proposal-collection-methods @@ -13255,11 +13439,11 @@ $$1g({ target: 'Map', proto: true, real: true, arity: 1, forced: true }, { } }); -var arraySlice$3 = arraySlice$e; +var arraySlice$2 = arraySlice$c; // https://tc39.github.io/proposal-setmap-offrom/ var collectionOf = function of() { - return new this(arraySlice$3(arguments)); + return new this(arraySlice$2(arguments)); }; var $$1f = _export; @@ -13400,14 +13584,14 @@ $$1a({ target: 'Map', proto: true, real: true, forced: true }, { var $$19 = _export; -var min = Math.min; -var max = Math.max; +var min$1 = Math.min; +var max$1 = Math.max; // `Math.clamp` method // https://rwaldron.github.io/proposal-math-extensions/ $$19({ target: 'Math', stat: true, forced: true }, { clamp: function clamp(x, lower, upper) { - return min(upper, max(lower, x)); + return min$1(upper, max$1(lower, x)); } }); @@ -13415,7 +13599,7 @@ var $$18 = _export; // `Math.DEG_PER_RAD` constant // https://rwaldron.github.io/proposal-math-extensions/ -$$18({ target: 'Math', stat: true, forced: true }, { +$$18({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { DEG_PER_RAD: Math.PI / 180 }); @@ -13509,7 +13693,7 @@ var $$12 = _export; // `Math.RAD_PER_DEG` constant // https://rwaldron.github.io/proposal-math-extensions/ -$$12({ target: 'Math', stat: true, forced: true }, { +$$12({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { RAD_PER_DEG: 180 / Math.PI }); @@ -13601,8 +13785,8 @@ $$Z({ target: 'Math', stat: true, forced: true }, { }); var $$Y = _export; -var uncurryThis$c = functionUncurryThis; -var toIntegerOrInfinity$1 = toIntegerOrInfinity$m; +var uncurryThis$d = functionUncurryThis; +var toIntegerOrInfinity$3 = toIntegerOrInfinity$o; var parseInt$2 = numberParseInt; var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; @@ -13611,10 +13795,10 @@ var $RangeError$1 = RangeError; var $SyntaxError = SyntaxError; var $TypeError$2 = TypeError; var valid = /^[\da-z]+$/; -var charAt$6 = uncurryThis$c(''.charAt); -var exec$3 = uncurryThis$c(valid.exec); -var numberToString$1 = uncurryThis$c(1.0.toString); -var stringSlice$2 = uncurryThis$c(''.slice); +var charAt$6 = uncurryThis$d(''.charAt); +var exec$3 = uncurryThis$d(valid.exec); +var numberToString$1 = uncurryThis$d(1.0.toString); +var stringSlice$2 = uncurryThis$d(''.slice); // `Number.fromString` method // https://github.com/tc39/proposal-number-fromstring @@ -13629,7 +13813,7 @@ $$Y({ target: 'Number', stat: true, forced: true }, { string = stringSlice$2(string, 1); if (!string.length) throw $SyntaxError(INVALID_NUMBER_REPRESENTATION); } - R = radix === undefined ? 10 : toIntegerOrInfinity$1(radix); + R = radix === undefined ? 10 : toIntegerOrInfinity$3(radix); if (R < 2 || R > 36) throw $RangeError$1(INVALID_RADIX); if (!exec$3(valid, string) || numberToString$1(mathNum = parseInt$2(string, R), R) !== string) { throw $SyntaxError(INVALID_NUMBER_REPRESENTATION); @@ -13653,7 +13837,7 @@ var InternalStateModule$5 = internalState; var createIteratorConstructor$2 = createIteratorConstructor$7; var hasOwn$6 = hasOwnProperty_1; var objectKeys$1 = objectKeys$6; -var toObject = toObject$z; +var toObject = toObject$B; var OBJECT_ITERATOR = 'Object Iterator'; var setInternalState$5 = InternalStateModule$5.set; @@ -13722,7 +13906,7 @@ $$U({ target: 'Object', stat: true, forced: true }, { } }); -var global$c = global$Z; +var global$c = global$_; var isCallable$5 = isCallable$E; var wellKnownSymbol$5 = wellKnownSymbol$K; @@ -14004,12 +14188,12 @@ $$Q({ target: 'Promise', stat: true, forced: true }, { var getBuiltIn$d = getBuiltIn$L; -var uncurryThis$b = functionUncurryThis; +var uncurryThis$c = functionUncurryThis; var shared = shared$9.exports; var Map$2 = getBuiltIn$d('Map'); var WeakMap$1 = getBuiltIn$d('WeakMap'); -var push$6 = uncurryThis$b([].push); +var push$6 = uncurryThis$c([].push); var metadata = shared('metadata'); var store$1 = metadata.store || (metadata.store = new WeakMap$1()); @@ -14129,14 +14313,14 @@ $$N({ target: 'Reflect', stat: true }, { // TODO: Remove from `core-js@4` var $$M = _export; -var uncurryThis$a = functionUncurryThis; +var uncurryThis$b = functionUncurryThis; var ReflectMetadataModule$5 = reflectMetadata; var anObject$n = anObject$1G; var getPrototypeOf$1 = objectGetPrototypeOf$1; var $arrayUniqueBy$1 = arrayUniqueBy$2; -var arrayUniqueBy$1 = uncurryThis$a($arrayUniqueBy$1); -var concat = uncurryThis$a([].concat); +var arrayUniqueBy$1 = uncurryThis$b($arrayUniqueBy$1); +var concat = uncurryThis$b([].concat); var ordinaryOwnMetadataKeys$1 = ReflectMetadataModule$5.keys; var toMetadataKey$5 = ReflectMetadataModule$5.toKey; @@ -14470,13 +14654,13 @@ $$w({ target: 'Set', proto: true, real: true, forced: true }, { }); var $$v = _export; -var uncurryThis$9 = functionUncurryThis; +var uncurryThis$a = functionUncurryThis; var anObject$8 = anObject$1G; var toString$5 = toString$z; var getSetIterator$3 = getSetIterator$7; var iterate$6 = iterate$J; -var arrayJoin = uncurryThis$9([].join); +var arrayJoin = uncurryThis$a([].join); var push$5 = [].push; // `Set.prototype.join` method @@ -14621,7 +14805,7 @@ $$p({ target: 'Set', proto: true, real: true, forced: true }, { var $$o = _export; var charAt$5 = stringMultibyte.charAt; var requireObjectCoercible$1 = requireObjectCoercible$k; -var toIntegerOrInfinity = toIntegerOrInfinity$m; +var toIntegerOrInfinity$2 = toIntegerOrInfinity$o; var toString$4 = toString$z; // `String.prototype.at` method @@ -14630,29 +14814,29 @@ $$o({ target: 'String', proto: true, forced: true }, { at: function at(index) { var S = toString$4(requireObjectCoercible$1(this)); var len = S.length; - var relativeIndex = toIntegerOrInfinity(index); + var relativeIndex = toIntegerOrInfinity$2(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; return (k < 0 || k >= len) ? undefined : charAt$5(S, k); } }); var $$n = _export; -var uncurryThis$8 = functionUncurryThis; +var uncurryThis$9 = functionUncurryThis; var toIndexedObject = toIndexedObject$k; var toString$3 = toString$z; -var lengthOfArrayLike$1 = lengthOfArrayLike$x; +var lengthOfArrayLike$2 = lengthOfArrayLike$A; var $TypeError = TypeError; var ArrayPrototype = Array.prototype; -var push$4 = uncurryThis$8(ArrayPrototype.push); -var join$3 = uncurryThis$8(ArrayPrototype.join); +var push$4 = uncurryThis$9(ArrayPrototype.push); +var join$3 = uncurryThis$9(ArrayPrototype.join); // `String.cooked` method // https://github.com/tc39/proposal-string-cooked $$n({ target: 'String', stat: true, forced: true }, { cooked: function cooked(template /* , ...substitutions */) { var cookedTemplate = toIndexedObject(template); - var literalSegments = lengthOfArrayLike$1(cookedTemplate); + var literalSegments = lengthOfArrayLike$2(cookedTemplate); var argumentsLength = arguments.length; var elements = []; var i = 0; @@ -14705,45 +14889,52 @@ $$m({ target: 'String', proto: true, forced: true }, { } }); -var defineWellKnownSymbol$6 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$7 = defineWellKnownSymbol$m; // `Symbol.asyncDispose` well-known symbol // https://github.com/tc39/proposal-using-statement -defineWellKnownSymbol$6('asyncDispose'); +defineWellKnownSymbol$7('asyncDispose'); -var defineWellKnownSymbol$5 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$6 = defineWellKnownSymbol$m; // `Symbol.dispose` well-known symbol // https://github.com/tc39/proposal-using-statement -defineWellKnownSymbol$5('dispose'); +defineWellKnownSymbol$6('dispose'); -var defineWellKnownSymbol$4 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$5 = defineWellKnownSymbol$m; // `Symbol.matcher` well-known symbol // https://github.com/tc39/proposal-pattern-matching -defineWellKnownSymbol$4('matcher'); +defineWellKnownSymbol$5('matcher'); -var defineWellKnownSymbol$3 = defineWellKnownSymbol$l; +// TODO: Remove from `core-js@4` +var defineWellKnownSymbol$4 = defineWellKnownSymbol$m; // `Symbol.metadata` well-known symbol // https://github.com/tc39/proposal-decorators -defineWellKnownSymbol$3('metadata'); +defineWellKnownSymbol$4('metadata'); + +var defineWellKnownSymbol$3 = defineWellKnownSymbol$m; -var defineWellKnownSymbol$2 = defineWellKnownSymbol$l; +// `Symbol.metadataKey` well-known symbol +// https://github.com/tc39/proposal-decorator-metadata +defineWellKnownSymbol$3('metadataKey'); + +var defineWellKnownSymbol$2 = defineWellKnownSymbol$m; // `Symbol.observable` well-known symbol // https://github.com/tc39/proposal-observable defineWellKnownSymbol$2('observable'); // TODO: remove from `core-js@4` -var defineWellKnownSymbol$1 = defineWellKnownSymbol$l; +var defineWellKnownSymbol$1 = defineWellKnownSymbol$m; // `Symbol.patternMatch` well-known symbol // https://github.com/tc39/proposal-pattern-matching defineWellKnownSymbol$1('patternMatch'); // TODO: remove from `core-js@4` -var defineWellKnownSymbol = defineWellKnownSymbol$l; +var defineWellKnownSymbol = defineWellKnownSymbol$m; defineWellKnownSymbol('replaceAll'); @@ -14751,11 +14942,11 @@ defineWellKnownSymbol('replaceAll'); var getBuiltIn$5 = getBuiltIn$L; var aConstructor = aConstructor$5; var arrayFromAsync = arrayFromAsync$1; -var ArrayBufferViewCore$a = arrayBufferViewCore; +var ArrayBufferViewCore$8 = arrayBufferViewCore; var arrayFromConstructorAndList$1 = arrayFromConstructorAndList$5; -var aTypedArrayConstructor = ArrayBufferViewCore$a.aTypedArrayConstructor; -var exportTypedArrayStaticMethod = ArrayBufferViewCore$a.exportTypedArrayStaticMethod; +var aTypedArrayConstructor = ArrayBufferViewCore$8.aTypedArrayConstructor; +var exportTypedArrayStaticMethod = ArrayBufferViewCore$8.exportTypedArrayStaticMethod; // `%TypedArray%.fromAsync` method // https://github.com/tc39/proposal-array-from-async @@ -14773,61 +14964,37 @@ exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , map }, true); // TODO: Remove from `core-js@4` -var ArrayBufferViewCore$9 = arrayBufferViewCore; +var ArrayBufferViewCore$7 = arrayBufferViewCore; var $filterReject$1 = arrayIteration.filterReject; var fromSpeciesAndList$2 = typedArrayFromSpeciesAndList; -var aTypedArray$9 = ArrayBufferViewCore$9.aTypedArray; -var exportTypedArrayMethod$9 = ArrayBufferViewCore$9.exportTypedArrayMethod; +var aTypedArray$7 = ArrayBufferViewCore$7.aTypedArray; +var exportTypedArrayMethod$7 = ArrayBufferViewCore$7.exportTypedArrayMethod; // `%TypedArray%.prototype.filterOut` method // https://github.com/tc39/proposal-array-filtering -exportTypedArrayMethod$9('filterOut', function filterOut(callbackfn /* , thisArg */) { - var list = $filterReject$1(aTypedArray$9(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +exportTypedArrayMethod$7('filterOut', function filterOut(callbackfn /* , thisArg */) { + var list = $filterReject$1(aTypedArray$7(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); return fromSpeciesAndList$2(this, list); }, true); -var ArrayBufferViewCore$8 = arrayBufferViewCore; +var ArrayBufferViewCore$6 = arrayBufferViewCore; var $filterReject = arrayIteration.filterReject; var fromSpeciesAndList$1 = typedArrayFromSpeciesAndList; -var aTypedArray$8 = ArrayBufferViewCore$8.aTypedArray; -var exportTypedArrayMethod$8 = ArrayBufferViewCore$8.exportTypedArrayMethod; +var aTypedArray$6 = ArrayBufferViewCore$6.aTypedArray; +var exportTypedArrayMethod$6 = ArrayBufferViewCore$6.exportTypedArrayMethod; // `%TypedArray%.prototype.filterReject` method // https://github.com/tc39/proposal-array-filtering -exportTypedArrayMethod$8('filterReject', function filterReject(callbackfn /* , thisArg */) { - var list = $filterReject(aTypedArray$8(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); +exportTypedArrayMethod$6('filterReject', function filterReject(callbackfn /* , thisArg */) { + var list = $filterReject(aTypedArray$6(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); return fromSpeciesAndList$1(this, list); }, true); -var ArrayBufferViewCore$7 = arrayBufferViewCore; -var $findLast = arrayIterationFromLast.findLast; - -var aTypedArray$7 = ArrayBufferViewCore$7.aTypedArray; -var exportTypedArrayMethod$7 = ArrayBufferViewCore$7.exportTypedArrayMethod; - -// `%TypedArray%.prototype.findLast` method -// https://github.com/tc39/proposal-array-find-from-last -exportTypedArrayMethod$7('findLast', function findLast(predicate /* , thisArg */) { - return $findLast(aTypedArray$7(this), predicate, arguments.length > 1 ? arguments[1] : undefined); -}); - -var ArrayBufferViewCore$6 = arrayBufferViewCore; -var $findLastIndex = arrayIterationFromLast.findLastIndex; - -var aTypedArray$6 = ArrayBufferViewCore$6.aTypedArray; -var exportTypedArrayMethod$6 = ArrayBufferViewCore$6.exportTypedArrayMethod; - -// `%TypedArray%.prototype.findLastIndex` method -// https://github.com/tc39/proposal-array-find-from-last -exportTypedArrayMethod$6('findLastIndex', function findLastIndex(predicate /* , thisArg */) { - return $findLastIndex(aTypedArray$6(this), predicate, arguments.length > 1 ? arguments[1] : undefined); -}); - // TODO: Remove from `core-js@4` var ArrayBufferViewCore$5 = arrayBufferViewCore; -var $groupBy = arrayGroupBy; +var $group = arrayGroup; var typedArraySpeciesConstructor = typedArraySpeciesConstructor$5; var aTypedArray$5 = ArrayBufferViewCore$5.aTypedArray; @@ -14837,7 +15004,7 @@ var exportTypedArrayMethod$5 = ArrayBufferViewCore$5.exportTypedArrayMethod; // https://github.com/tc39/proposal-array-grouping exportTypedArrayMethod$5('groupBy', function groupBy(callbackfn /* , thisArg */) { var thisArg = arguments.length > 1 ? arguments[1] : undefined; - return $groupBy(aTypedArray$5(this), callbackfn, thisArg, typedArraySpeciesConstructor); + return $group(aTypedArray$5(this), callbackfn, thisArg, typedArraySpeciesConstructor); }, true); var arrayToReversed = arrayToReversed$2; @@ -14845,56 +15012,103 @@ var ArrayBufferViewCore$4 = arrayBufferViewCore; var aTypedArray$4 = ArrayBufferViewCore$4.aTypedArray; var exportTypedArrayMethod$4 = ArrayBufferViewCore$4.exportTypedArrayMethod; -var TYPED_ARRAY_CONSTRUCTOR$3 = ArrayBufferViewCore$4.TYPED_ARRAY_CONSTRUCTOR; +var getTypedArrayConstructor$3 = ArrayBufferViewCore$4.getTypedArrayConstructor; // `%TypedArray%.prototype.toReversed` method // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed exportTypedArrayMethod$4('toReversed', function toReversed() { - return arrayToReversed(aTypedArray$4(this), this[TYPED_ARRAY_CONSTRUCTOR$3]); + return arrayToReversed(aTypedArray$4(this), getTypedArrayConstructor$3(this)); }); var ArrayBufferViewCore$3 = arrayBufferViewCore; -var uncurryThis$7 = functionUncurryThis; +var uncurryThis$8 = functionUncurryThis; var aCallable$1 = aCallable$Y; var arrayFromConstructorAndList = arrayFromConstructorAndList$5; var aTypedArray$3 = ArrayBufferViewCore$3.aTypedArray; +var getTypedArrayConstructor$2 = ArrayBufferViewCore$3.getTypedArrayConstructor; var exportTypedArrayMethod$3 = ArrayBufferViewCore$3.exportTypedArrayMethod; -var TYPED_ARRAY_CONSTRUCTOR$2 = ArrayBufferViewCore$3.TYPED_ARRAY_CONSTRUCTOR; -var sort = uncurryThis$7(ArrayBufferViewCore$3.TypedArrayPrototype.sort); +var sort = uncurryThis$8(ArrayBufferViewCore$3.TypedArrayPrototype.sort); // `%TypedArray%.prototype.toSorted` method // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSorted exportTypedArrayMethod$3('toSorted', function toSorted(compareFn) { if (compareFn !== undefined) aCallable$1(compareFn); var O = aTypedArray$3(this); - var A = arrayFromConstructorAndList(O[TYPED_ARRAY_CONSTRUCTOR$2], O); + var A = arrayFromConstructorAndList(getTypedArrayConstructor$2(O), O); return sort(A, compareFn); }); var ArrayBufferViewCore$2 = arrayBufferViewCore; -var arraySlice$2 = arraySlice$e; -var arrayToSpliced = arrayToSpliced$2; +var lengthOfArrayLike$1 = lengthOfArrayLike$A; +var toAbsoluteIndex = toAbsoluteIndex$b; +var toIntegerOrInfinity$1 = toIntegerOrInfinity$o; +var fails$5 = fails$1m; var aTypedArray$2 = ArrayBufferViewCore$2.aTypedArray; +var getTypedArrayConstructor$1 = ArrayBufferViewCore$2.getTypedArrayConstructor; var exportTypedArrayMethod$2 = ArrayBufferViewCore$2.exportTypedArrayMethod; -var TYPED_ARRAY_CONSTRUCTOR$1 = ArrayBufferViewCore$2.TYPED_ARRAY_CONSTRUCTOR; +var max = Math.max; +var min = Math.min; + +// some early implementations, like WebKit, does not follow the final semantic +var PROPER_ORDER$1 = !fails$5(function () { + // eslint-disable-next-line es-x/no-typed-arrays -- required for testing + var array = new Int8Array([1]); + + var spliced = array.toSpliced(1, 0, { + valueOf: function () { + array[0] = 2; + return 3; + } + }); + + return spliced[0] !== 2 || spliced[1] !== 3; +}); // `%TypedArray%.prototype.toSpliced` method // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced -// eslint-disable-next-line no-unused-vars -- required for .length exportTypedArrayMethod$2('toSpliced', function toSpliced(start, deleteCount /* , ...items */) { - return arrayToSpliced(aTypedArray$2(this), this[TYPED_ARRAY_CONSTRUCTOR$1], arraySlice$2(arguments)); -}, { arity: 2 }); + var O = aTypedArray$2(this); + var C = getTypedArrayConstructor$1(O); + var len = lengthOfArrayLike$1(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, convertedItems, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + actualDeleteCount = min(max(toIntegerOrInfinity$1(deleteCount), 0), len - actualStart); + insertCount = argumentsLength - 2; + if (insertCount) { + convertedItems = new C(insertCount); + for (var i = 2; i < argumentsLength; i++) { + convertedItems[i - 2] = arguments[i]; + } + } + } + newLen = len + insertCount - actualDeleteCount; + A = new C(newLen); -var uncurryThis$6 = functionUncurryThis; + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = convertedItems[k - actualStart]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; +}, !PROPER_ORDER$1); + +var uncurryThis$7 = functionUncurryThis; var ArrayBufferViewCore$1 = arrayBufferViewCore; var $arrayUniqueBy = arrayUniqueBy$2; var fromSpeciesAndList = typedArrayFromSpeciesAndList; var aTypedArray$1 = ArrayBufferViewCore$1.aTypedArray; var exportTypedArrayMethod$1 = ArrayBufferViewCore$1.exportTypedArrayMethod; -var arrayUniqueBy = uncurryThis$6($arrayUniqueBy); +var arrayUniqueBy = uncurryThis$7($arrayUniqueBy); // `%TypedArray%.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique @@ -14902,27 +15116,44 @@ exportTypedArrayMethod$1('uniqueBy', function uniqueBy(resolver) { return fromSpeciesAndList(this, arrayUniqueBy(aTypedArray$1(this), resolver)); }, true); +var classof$2 = classof$l; +var uncurryThis$6 = functionUncurryThis; + +var slice = uncurryThis$6(''.slice); + +var isBigIntArray$1 = function (it) { + return slice(classof$2(it), 0, 3) === 'Big'; +}; + var arrayWith = arrayWith$2; var ArrayBufferViewCore = arrayBufferViewCore; -// var toIntegerOrInfinity = require('../internals/to-integer-or-infinity'); -// var toBigInt = require('../internals/to-big-int'); -// var classof = require('../internals/classof'); -// var uncurryThis = require('../internals/function-uncurry-this'); +var isBigIntArray = isBigIntArray$1; +var toIntegerOrInfinity = toIntegerOrInfinity$o; +var toBigInt = toBigInt$2; var aTypedArray = ArrayBufferViewCore.aTypedArray; +var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; -// var slice = uncurryThis(''.slice); + +var PROPER_ORDER = !!function () { + try { + // eslint-disable-next-line no-throw-literal, es-x/no-typed-arrays -- required for testing + new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); + } catch (error) { + // some early implementations, like WebKit, does not follow the final semantic + // https://github.com/tc39/proposal-change-array-by-copy/pull/86 + return error === 8; + } +}(); // `%TypedArray%.prototype.with` method // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with exportTypedArrayMethod('with', { 'with': function (index, value) { - // aTypedArray(this); - // var relativeIndex = toIntegerOrInfinity(index); - // var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value; - // return arrayWith(this, this[TYPED_ARRAY_CONSTRUCTOR], relativeIndex, actualValue); - return arrayWith(aTypedArray(this), this[TYPED_ARRAY_CONSTRUCTOR], index, value); -} }['with']); + var O = aTypedArray(this); + var relativeIndex = toIntegerOrInfinity(index); + var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; + return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); +} }['with'], !PROPER_ORDER); var $$l = _export; var deleteAll$1 = collectionDeleteAll; @@ -15019,7 +15250,7 @@ var base64Map = { var $$c = _export; var getBuiltIn$4 = getBuiltIn$L; var uncurryThis$5 = functionUncurryThis; -var fails$4 = fails$1k; +var fails$4 = fails$1m; var toString$1 = toString$z; var hasOwn$5 = hasOwnProperty_1; var validateArgumentsLength$6 = validateArgumentsLength$8; @@ -15078,7 +15309,7 @@ $$c({ global: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ENCODING_CH var $$b = _export; var getBuiltIn$3 = getBuiltIn$L; var uncurryThis$4 = functionUncurryThis; -var fails$3 = fails$1k; +var fails$3 = fails$1m; var toString = toString$z; var validateArgumentsLength$5 = validateArgumentsLength$8; var itoc = base64Map.itoc; @@ -15163,11 +15394,11 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2; -var global$b = global$Z; +var global$b = global$_; var DOMIterables$1 = domIterables; var DOMTokenListPrototype$1 = domTokenListPrototype; var forEach = arrayForEach; -var createNonEnumerableProperty$2 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$2 = createNonEnumerableProperty$i; var handlePrototype$1 = function (CollectionPrototype) { // some Chrome versions have non-configurable methods on DOMTokenList @@ -15186,11 +15417,11 @@ for (var COLLECTION_NAME$1 in DOMIterables$1) { handlePrototype$1(DOMTokenListPrototype$1); -var global$a = global$Z; +var global$a = global$_; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var ArrayIteratorMethods = es_array_iterator; -var createNonEnumerableProperty$1 = createNonEnumerableProperty$j; +var createNonEnumerableProperty$1 = createNonEnumerableProperty$i; var wellKnownSymbol$2 = wellKnownSymbol$K; var ITERATOR$2 = wellKnownSymbol$2('iterator'); @@ -15225,12 +15456,12 @@ for (var COLLECTION_NAME in DOMIterables) { handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); -var IS_NODE$1 = engineIsNode; +var IS_NODE$2 = engineIsNode; var tryNodeRequire$1 = function (name) { try { // eslint-disable-next-line no-new-func -- safe - if (IS_NODE$1) return Function('return require("' + name + '")')(); + if (IS_NODE$2) return Function('return require("' + name + '")')(); } catch (error) { /* empty */ } }; @@ -15265,7 +15496,7 @@ var domExceptionConstants = { var $$a = _export; var tryNodeRequire = tryNodeRequire$1; var getBuiltIn$2 = getBuiltIn$L; -var fails$2 = fails$1k; +var fails$2 = fails$1m; var create$1 = objectCreate$1; var createPropertyDescriptor$2 = createPropertyDescriptor$c; var defineProperty$1 = objectDefineProperty.f; @@ -15467,7 +15698,7 @@ var DOM_EXCEPTION = 'DOMException'; setToStringTag$2(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); var $$8 = _export; -var global$9 = global$Z; +var global$9 = global$_; var clearImmediate = task$1.clear; // `clearImmediate` method @@ -15477,7 +15708,7 @@ $$8({ global: true, bind: true, enumerable: true, forced: global$9.clearImmediat }); var $$7 = _export; -var global$8 = global$Z; +var global$8 = global$_; var setImmediate = task$1.set; // `setImmediate` method @@ -15487,11 +15718,11 @@ $$7({ global: true, bind: true, enumerable: true, forced: global$8.setImmediate }); var $$6 = _export; -var global$7 = global$Z; +var global$7 = global$_; var microtask = microtask$2; var aCallable = aCallable$Y; var validateArgumentsLength$4 = validateArgumentsLength$8; -var IS_NODE = engineIsNode; +var IS_NODE$1 = engineIsNode; var process = global$7.process; @@ -15501,16 +15732,20 @@ $$6({ global: true, enumerable: true, dontCallGetSet: true }, { queueMicrotask: function queueMicrotask(fn) { validateArgumentsLength$4(arguments.length, 1); aCallable(fn); - var domain = IS_NODE && process.domain; + var domain = IS_NODE$1 && process.domain; microtask(domain ? domain.bind(fn) : fn); } }); +/* global Deno -- Deno case */ + +var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; + var $$5 = _export; -var global$6 = global$Z; +var global$6 = global$_; var getBuiltin = getBuiltIn$L; var uncurryThis$3 = functionUncurryThis; -var fails$1 = fails$1k; +var fails$1 = fails$1m; var uid = uid$6; var isCallable$2 = isCallable$E; var isConstructor = isConstructor$a; @@ -15518,14 +15753,18 @@ var isObject$1 = isObject$C; var isSymbol = isSymbol$7; var iterate = iterate$J; var anObject$1 = anObject$1G; -var classof$1 = classof$k; +var classof$1 = classof$l; var hasOwn$2 = hasOwnProperty_1; var createProperty = createProperty$9; -var createNonEnumerableProperty = createNonEnumerableProperty$j; -var lengthOfArrayLike = lengthOfArrayLike$x; +var createNonEnumerableProperty = createNonEnumerableProperty$i; +var lengthOfArrayLike = lengthOfArrayLike$A; var validateArgumentsLength$3 = validateArgumentsLength$8; var getRegExpFlags = regexpGetFlags; var ERROR_STACK_INSTALLABLE = errorStackInstallable; +var V8 = engineV8Version; +var IS_BROWSER = engineIsBrowser; +var IS_DENO = engineIsDeno; +var IS_NODE = engineIsNode; var Object$1 = global$6.Object; var Date$1 = global$6.Date; @@ -15568,11 +15807,11 @@ var checkBasicSemantic = function (structuredCloneImplementation) { }) && structuredCloneImplementation; }; -var checkErrorsCloning = function (structuredCloneImplementation) { +var checkErrorsCloning = function (structuredCloneImplementation, $Error) { return !fails$1(function () { - var error = new Error$1(); + var error = new $Error(); var test = structuredCloneImplementation({ a: error, b: error }); - return !(test && test.a === test.b && test.a instanceof Error$1); + return !(test && test.a === test.b && test.a instanceof $Error); }); }; @@ -15587,12 +15826,16 @@ var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) { // FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+ // FF and Safari implementations can't clone errors // https://bugzilla.mozilla.org/show_bug.cgi?id=1556604 -// Chrome <103 returns `null` if cloned object contains multiple references to one error +// Chrome <102 returns `null` if cloned object contains multiple references to one error // https://bugs.chromium.org/p/v8/issues/detail?id=12542 +// NodeJS implementation can't clone DOMExceptions +// https://github.com/nodejs/node/issues/41038 // no one of current implementations supports new (html/5749) error cloning semantic var nativeStructuredClone = global$6.structuredClone; -var FORCED_REPLACEMENT = !checkErrorsCloning(nativeStructuredClone) || !checkNewErrorsCloningSemantic(nativeStructuredClone); +var FORCED_REPLACEMENT = !checkErrorsCloning(nativeStructuredClone, Error$1) + || !checkErrorsCloning(nativeStructuredClone, DOMException) + || !checkNewErrorsCloningSemantic(nativeStructuredClone); // Chrome 82+, Safari 14.1+, Deno 1.11+ // Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException` @@ -15904,6 +16147,9 @@ var structuredCloneInternal = function (value, map) { }; var PROPER_TRANSFER = nativeStructuredClone && !fails$1(function () { + // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; var buffer = new ArrayBuffer(8); var clone = nativeStructuredClone(buffer, { transfer: [buffer] }); return buffer.byteLength != 0 || clone.byteLength != 8; @@ -15979,11 +16225,11 @@ $$5({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REP } }); -var global$5 = global$Z; +var global$5 = global$_; var apply = functionApply$1; var isCallable$1 = isCallable$E; var userAgent = engineUserAgent; -var arraySlice$1 = arraySlice$e; +var arraySlice$1 = arraySlice$c; var validateArgumentsLength$2 = validateArgumentsLength$8; var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check @@ -16012,7 +16258,7 @@ var schedulersFix = { }; var $$4 = _export; -var global$4 = global$Z; +var global$4 = global$_; var setInterval = schedulersFix.setInterval; // ie9- setInterval additional parameters fix @@ -16022,7 +16268,7 @@ $$4({ global: true, bind: true, forced: global$4.setInterval !== setInterval }, }); var $$3 = _export; -var global$3 = global$Z; +var global$3 = global$_; var setTimeout$1 = schedulersFix.setTimeout; // ie9- setTimeout additional parameters fix @@ -16031,7 +16277,7 @@ $$3({ global: true, bind: true, forced: global$3.setTimeout !== setTimeout$1 }, setTimeout: setTimeout$1 }); -var fails = fails$1k; +var fails = fails$1m; var wellKnownSymbol$1 = wellKnownSymbol$K; var IS_PURE = isPure; @@ -16250,7 +16496,7 @@ var stringPunycodeToAscii = function (input) { // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` var $$2 = _export; -var global$2 = global$Z; +var global$2 = global$_; var call$1 = functionCall; var uncurryThis$1 = functionUncurryThis; var DESCRIPTORS$1 = descriptors; @@ -16264,7 +16510,7 @@ var anInstance$1 = anInstance$d; var isCallable = isCallable$E; var hasOwn$1 = hasOwnProperty_1; var bind$1 = functionBindContext; -var classof = classof$k; +var classof = classof$l; var anObject = anObject$1G; var isObject = isObject$C; var $toString$1 = toString$z; @@ -16644,7 +16890,7 @@ var web_urlSearchParams_constructor = { var $$1 = _export; var DESCRIPTORS = descriptors; var USE_NATIVE_URL = nativeUrl; -var global$1 = global$Z; +var global$1 = global$_; var bind = functionBindContext; var uncurryThis = functionUncurryThis; var defineBuiltIn = defineBuiltIn$p; diff --git a/test/function/samples/deprecated/compact/_config.js b/test/function/samples/deprecated/compact/_config.js index 30ce0c74921..08b0fa589f2 100644 --- a/test/function/samples/deprecated/compact/_config.js +++ b/test/function/samples/deprecated/compact/_config.js @@ -14,6 +14,11 @@ module.exports = { cycle: ['main.js', 'main.js'], importer: 'main.js', message: 'Circular dependency: main.js -> main.js' + }, + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' } ], context: { diff --git a/test/function/samples/deprecated/context-resolve-id/_config.js b/test/function/samples/deprecated/context-resolve-id/_config.js deleted file mode 100644 index e5ac08e41e1..00000000000 --- a/test/function/samples/deprecated/context-resolve-id/_config.js +++ /dev/null @@ -1,86 +0,0 @@ -const assert = require('assert'); -const path = require('path'); - -module.exports = { - description: 'correctly returns string or null for the context resolveId helper', - context: { - require(id) { - switch (id) { - case 'external-name': - return { value: 'external name' }; - case 'external-object': - return { value: 'external object' }; - case 'resolveto-unresolved': - return { value: 'unresolved' }; - default: - throw new Error(`Unexpected import ${id}`); - } - } - }, - warnings: [ - { - code: 'DEPRECATED_FEATURE', - message: - 'The "this.resolveId" plugin context function used by plugin at position 1 is deprecated. The "this.resolve" plugin context function should be used instead.', - plugin: 'at position 1' - }, - { - code: 'UNRESOLVED_IMPORT', - importer: 'main.js', - message: - "'resolveto-unresolved' is imported by main.js, but could not be resolved – treating it as an external dependency", - source: 'resolveto-unresolved', - url: 'https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency' - } - ], - options: { - strictDeprecations: false, - plugins: [ - { - resolveId(id, importer) { - if (id.startsWith('resolveto-')) { - const resolutionId = id.slice('resolveto-'.length); - return this.resolveId(resolutionId, importer).then(resolvedId => { - if (!resolvedId) { - assert.strictEqual(resolutionId, 'unresolved'); - assert.strictEqual(resolvedId, null); - } else { - if (typeof resolvedId !== 'string') { - throw new Error( - `Only valid resolveId return types are string and null, found ${typeof resolvedId} ${JSON.stringify( - resolvedId - )}` - ); - } - return { - id: resolvedId, - external: resolvedId.startsWith('external') - }; - } - }); - } - } - }, - { - resolveId(id) { - switch (id) { - case 'object': - return { - id: path.join(__dirname, 'existing-object.js'), - external: false - }; - case 'external-object': - return { - id: 'external-object', - external: true - }; - case 'name': - return path.join(__dirname, 'existing-name.js'); - case 'external-name': - return false; - } - } - } - ] - } -}; diff --git a/test/function/samples/deprecated/context-resolve-id/existing-name.js b/test/function/samples/deprecated/context-resolve-id/existing-name.js deleted file mode 100644 index d7aebd0e184..00000000000 --- a/test/function/samples/deprecated/context-resolve-id/existing-name.js +++ /dev/null @@ -1 +0,0 @@ -export const value = 'existing name'; diff --git a/test/function/samples/deprecated/context-resolve-id/existing-object.js b/test/function/samples/deprecated/context-resolve-id/existing-object.js deleted file mode 100644 index fb5c62510d0..00000000000 --- a/test/function/samples/deprecated/context-resolve-id/existing-object.js +++ /dev/null @@ -1 +0,0 @@ -export const value = 'existing object'; diff --git a/test/function/samples/deprecated/context-resolve-id/main.js b/test/function/samples/deprecated/context-resolve-id/main.js deleted file mode 100644 index 188a3921e2e..00000000000 --- a/test/function/samples/deprecated/context-resolve-id/main.js +++ /dev/null @@ -1,11 +0,0 @@ -import { value as name } from 'resolveto-name'; -import { value as externalName } from 'resolveto-external-name'; -import { value as object } from 'resolveto-object'; -import { value as externalObject } from 'resolveto-external-object'; -import { value as unresolved } from 'resolveto-unresolved'; - -assert.strictEqual(externalName, 'external name'); -assert.strictEqual(externalObject, 'external object'); -assert.strictEqual(name, 'existing name'); -assert.strictEqual(object, 'existing object'); -assert.strictEqual(unresolved, 'unresolved'); diff --git a/test/function/samples/deprecated/deconflicts-interop-boolean/_config.js b/test/function/samples/deprecated/deconflicts-interop-boolean/_config.js index 01fb5ca2888..fa488ae7c81 100644 --- a/test/function/samples/deprecated/deconflicts-interop-boolean/_config.js +++ b/test/function/samples/deprecated/deconflicts-interop-boolean/_config.js @@ -13,5 +13,13 @@ module.exports = { require: () => { return Object.defineProperty({ foo: 'foo', default: 'bar' }, '__esModule', { value: true }); } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The boolean value "true" for the "output.interop" option is deprecated. Use "auto" instead.', + url: 'https://rollupjs.org/guide/en/#outputinterop' + } + ] }; diff --git a/test/function/samples/deprecated/dynamic-import-duplicates/_config.js b/test/function/samples/deprecated/dynamic-import-duplicates/_config.js index c71c26f5b04..8fe7b79a4fd 100644 --- a/test/function/samples/deprecated/dynamic-import-duplicates/_config.js +++ b/test/function/samples/deprecated/dynamic-import-duplicates/_config.js @@ -11,5 +11,12 @@ module.exports = { return exports.promise.then(y => { assert.equal(y, 42); }); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/dynamic-import-inlining/_config.js b/test/function/samples/deprecated/dynamic-import-inlining/_config.js index c71c26f5b04..8fe7b79a4fd 100644 --- a/test/function/samples/deprecated/dynamic-import-inlining/_config.js +++ b/test/function/samples/deprecated/dynamic-import-inlining/_config.js @@ -11,5 +11,12 @@ module.exports = { return exports.promise.then(y => { assert.equal(y, 42); }); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/dynamic-import-name-warn/_config.js b/test/function/samples/deprecated/dynamic-import-name-warn/_config.js index c9b5c1ad736..29ec0a81284 100644 --- a/test/function/samples/deprecated/dynamic-import-name-warn/_config.js +++ b/test/function/samples/deprecated/dynamic-import-name-warn/_config.js @@ -27,6 +27,11 @@ module.exports = { ); }, warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.dynamicImportFunction" option is deprecated. Use the "renderDynamicImport" plugin hook instead.' + }, { code: 'INVALID_OPTION', message: diff --git a/test/function/samples/deprecated/dynamic-import-name/_config.js b/test/function/samples/deprecated/dynamic-import-name/_config.js index afb4f3ba114..c11b24b5e28 100644 --- a/test/function/samples/deprecated/dynamic-import-name/_config.js +++ b/test/function/samples/deprecated/dynamic-import-name/_config.js @@ -24,5 +24,12 @@ module.exports = { }, exports() { assert.ok(imported); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.dynamicImportFunction" option is deprecated. Use the "renderDynamicImport" plugin hook instead.' + } + ] }; diff --git a/test/function/samples/deprecated/emit-asset/asset-source-missing-2/_config.js b/test/function/samples/deprecated/emit-asset/asset-source-missing-2/_config.js deleted file mode 100644 index 4b973d7d804..00000000000 --- a/test/function/samples/deprecated/emit-asset/asset-source-missing-2/_config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - description: 'throws when not setting the asset source and accessing the asset URL', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - load() { - return `export default import.meta.ROLLUP_ASSET_URL_${this.emitAsset('test.ext')};`; - } - } - }, - generateError: { - code: 'ASSET_NOT_FINALISED', - message: - 'Plugin error - Unable to get file name for asset "test.ext". Ensure that the source is set and that generate is called first.' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/asset-source-missing-2/main.js b/test/function/samples/deprecated/emit-asset/asset-source-missing-2/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/asset-source-missing-2/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/asset-source-missing-3/_config.js b/test/function/samples/deprecated/emit-asset/asset-source-missing-3/_config.js deleted file mode 100644 index 131b79c50c8..00000000000 --- a/test/function/samples/deprecated/emit-asset/asset-source-missing-3/_config.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - description: 'throws when setting an empty asset source', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - buildStart() { - const assetId = this.emitAsset('test.ext'); - this.setAssetSource(assetId, null); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: - 'Could not set source for asset "test.ext", asset source needs to be a string, Uint8Array or Buffer.', - plugin: 'test-plugin', - pluginCode: 'VALIDATION_ERROR' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/asset-source-missing-3/main.js b/test/function/samples/deprecated/emit-asset/asset-source-missing-3/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/asset-source-missing-3/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/asset-source-missing/_config.js b/test/function/samples/deprecated/emit-asset/asset-source-missing/_config.js deleted file mode 100644 index 59b5946f927..00000000000 --- a/test/function/samples/deprecated/emit-asset/asset-source-missing/_config.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - description: 'throws when not setting the asset source', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - load() { - this.emitAsset('test.ext'); - } - } - }, - generateError: { - code: 'ASSET_SOURCE_MISSING', - message: 'Plugin error creating asset "test.ext" - no asset source set.' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/asset-source-missing/main.js b/test/function/samples/deprecated/emit-asset/asset-source-missing/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/asset-source-missing/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/invalid-asset-id/_config.js b/test/function/samples/deprecated/emit-asset/invalid-asset-id/_config.js deleted file mode 100644 index 85f8e8fe64f..00000000000 --- a/test/function/samples/deprecated/emit-asset/invalid-asset-id/_config.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - description: 'throws for invalid asset ids', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - load() { - return `export default import.meta.ROLLUP_ASSET_URL_invalid;`; - } - } - }, - generateError: { - code: 'FILE_NOT_FOUND', - message: 'Plugin error - Unable to get file name for unknown file "invalid".' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/invalid-asset-id/main.js b/test/function/samples/deprecated/emit-asset/invalid-asset-id/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/invalid-asset-id/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/invalid-asset-name/_config.js b/test/function/samples/deprecated/emit-asset/invalid-asset-name/_config.js deleted file mode 100644 index f807478d8f4..00000000000 --- a/test/function/samples/deprecated/emit-asset/invalid-asset-name/_config.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - description: 'throws for invalid asset names', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - buildStart() { - this.emitAsset('/test.ext', 'content'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: - 'The "fileName" or "name" properties of emitted files must be strings that are neither absolute nor relative paths, received "/test.ext".', - plugin: 'test-plugin', - pluginCode: 'VALIDATION_ERROR' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/invalid-asset-name/main.js b/test/function/samples/deprecated/emit-asset/invalid-asset-name/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/invalid-asset-name/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/_config.js b/test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/_config.js deleted file mode 100644 index 1f536fd748d..00000000000 --- a/test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/_config.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = { - description: 'throws for invalid asset ids', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - buildStart() { - this.setAssetSource('invalid', 'content'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: 'Plugin error - Unable to set the source for unknown asset "invalid".', - plugin: 'test-plugin', - pluginCode: 'ASSET_NOT_FOUND' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/main.js b/test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/invalid-set-asset-source-id/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/set-asset-source-transform/_config.js b/test/function/samples/deprecated/emit-asset/set-asset-source-transform/_config.js deleted file mode 100644 index a65b559c360..00000000000 --- a/test/function/samples/deprecated/emit-asset/set-asset-source-transform/_config.js +++ /dev/null @@ -1,26 +0,0 @@ -const path = require('path'); - -module.exports = { - description: 'throws when setting the asset source in the transform hook', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - transform(code) { - const assetId = this.emitAsset('test.ext'); - this.setAssetSource(assetId, 'asdf'); - return code; - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'transform', - id: path.join(__dirname, 'main.js'), - message: - 'setAssetSource cannot be called in transform for caching reasons. Use emitFile with a source, or call setAssetSource in another hook.', - plugin: 'test-plugin', - pluginCode: 'INVALID_SETASSETSOURCE', - watchFiles: [path.join(__dirname, 'main.js')] - } -}; diff --git a/test/function/samples/deprecated/emit-asset/set-asset-source-transform/main.js b/test/function/samples/deprecated/emit-asset/set-asset-source-transform/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/set-asset-source-transform/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-asset/set-asset-source-twice/_config.js b/test/function/samples/deprecated/emit-asset/set-asset-source-twice/_config.js deleted file mode 100644 index 1f6d657d302..00000000000 --- a/test/function/samples/deprecated/emit-asset/set-asset-source-twice/_config.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - description: 'throws when setting the asset source twice', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - buildEnd() { - const assetId = this.emitAsset('test.ext'); - this.setAssetSource(assetId, 'hello world'); - this.setAssetSource(assetId, 'another'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildEnd', - message: 'Unable to set the source for asset "test.ext", source already set.', - plugin: 'test-plugin', - pluginCode: 'ASSET_SOURCE_ALREADY_SET' - } -}; diff --git a/test/function/samples/deprecated/emit-asset/set-asset-source-twice/main.js b/test/function/samples/deprecated/emit-asset/set-asset-source-twice/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-asset/set-asset-source-twice/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/_config.js b/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/_config.js deleted file mode 100644 index 42a48e679eb..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/_config.js +++ /dev/null @@ -1,26 +0,0 @@ -let chunkId; - -module.exports = { - description: 'Throws when accessing the filename in renderStart', - options: { - strictDeprecations: false, - input: 'main.js', - plugins: { - name: 'test-plugin', - buildStart() { - chunkId = this.emitChunk('chunk.js'); - }, - renderStart() { - this.getChunkFileName(chunkId); - } - } - }, - generateError: { - code: 'PLUGIN_ERROR', - hook: 'renderStart', - message: - 'Plugin error - Unable to get file name for chunk "chunk.js". Ensure that generate is called first.', - plugin: 'test-plugin', - pluginCode: 'CHUNK_NOT_GENERATED' - } -}; diff --git a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/chunk.js b/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/chunk.js deleted file mode 100644 index 36b1d61dd25..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/chunk.js +++ /dev/null @@ -1 +0,0 @@ -console.log('chunk'); diff --git a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/main.js b/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/main.js deleted file mode 100644 index c0b933d7b56..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available-render-start/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('main'); diff --git a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/_config.js b/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/_config.js deleted file mode 100644 index 52a5ee32ae1..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/_config.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = { - description: 'Throws when accessing the filename before it has been generated', - options: { - strictDeprecations: false, - input: 'main.js', - plugins: { - name: 'test-plugin', - buildStart() { - const chunkId = this.emitChunk('chunk.js'); - this.getChunkFileName(chunkId); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: - 'Plugin error - Unable to get file name for chunk "chunk.js". Ensure that generate is called first.', - plugin: 'test-plugin', - pluginCode: 'CHUNK_NOT_GENERATED' - } -}; diff --git a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/chunk.js b/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/chunk.js deleted file mode 100644 index 36b1d61dd25..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/chunk.js +++ /dev/null @@ -1 +0,0 @@ -console.log('chunk'); diff --git a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/main.js b/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/main.js deleted file mode 100644 index c0b933d7b56..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-filename-not-available/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('main'); diff --git a/test/function/samples/deprecated/emit-chunk/chunk-not-found/_config.js b/test/function/samples/deprecated/emit-chunk/chunk-not-found/_config.js deleted file mode 100644 index c731c60c9c5..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-not-found/_config.js +++ /dev/null @@ -1,19 +0,0 @@ -const path = require('path'); - -module.exports = { - description: 'Throws if an emitted entry chunk cannot be resolved', - options: { - strictDeprecations: false, - input: 'main.js', - plugins: { - buildStart() { - this.emitChunk('not-found.js'); - } - } - }, - error: { - code: 'UNRESOLVED_ENTRY', - message: 'Could not resolve entry module (not-found.js).', - watchFiles: [path.join(__dirname, 'main.js')] - } -}; diff --git a/test/function/samples/deprecated/emit-chunk/chunk-not-found/main.js b/test/function/samples/deprecated/emit-chunk/chunk-not-found/main.js deleted file mode 100644 index c0b933d7b56..00000000000 --- a/test/function/samples/deprecated/emit-chunk/chunk-not-found/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('main'); diff --git a/test/function/samples/deprecated/emit-chunk/invalid-chunk-id/_config.js b/test/function/samples/deprecated/emit-chunk/invalid-chunk-id/_config.js deleted file mode 100644 index 5f131d72bd5..00000000000 --- a/test/function/samples/deprecated/emit-chunk/invalid-chunk-id/_config.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - description: 'throws for invalid chunk ids', - options: { - strictDeprecations: false, - plugins: { - name: 'test-plugin', - load() { - return `export default import.meta.ROLLUP_CHUNK_URL_invalid;`; - } - } - }, - generateError: { - code: 'FILE_NOT_FOUND', - message: 'Plugin error - Unable to get file name for unknown file "invalid".' - } -}; diff --git a/test/function/samples/deprecated/emit-chunk/invalid-chunk-id/main.js b/test/function/samples/deprecated/emit-chunk/invalid-chunk-id/main.js deleted file mode 100644 index c4b940fc952..00000000000 --- a/test/function/samples/deprecated/emit-chunk/invalid-chunk-id/main.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('should not build'); diff --git a/test/function/samples/deprecated/emit-chunk/modules-loaded/_config.js b/test/function/samples/deprecated/emit-chunk/modules-loaded/_config.js deleted file mode 100644 index da093620bc8..00000000000 --- a/test/function/samples/deprecated/emit-chunk/modules-loaded/_config.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - description: 'Throws when adding a chunk after the modules have finished loading', - options: { - strictDeprecations: false, - input: 'main.js', - plugins: { - name: 'test-plugin', - buildEnd() { - this.emitChunk('chunk.js'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildEnd', - message: 'Cannot emit chunks after module loading has finished.', - plugin: 'test-plugin', - pluginCode: 'INVALID_ROLLUP_PHASE' - } -}; diff --git a/test/function/samples/deprecated/emit-chunk/modules-loaded/chunk.js b/test/function/samples/deprecated/emit-chunk/modules-loaded/chunk.js deleted file mode 100644 index a9244a453fb..00000000000 --- a/test/function/samples/deprecated/emit-chunk/modules-loaded/chunk.js +++ /dev/null @@ -1 +0,0 @@ -throw new Error('Not executed'); diff --git a/test/function/samples/deprecated/emit-chunk/modules-loaded/main.js b/test/function/samples/deprecated/emit-chunk/modules-loaded/main.js deleted file mode 100644 index c0b933d7b56..00000000000 --- a/test/function/samples/deprecated/emit-chunk/modules-loaded/main.js +++ /dev/null @@ -1 +0,0 @@ -console.log('main'); diff --git a/test/function/samples/deprecated/emit-chunk/no-input/_config.js b/test/function/samples/deprecated/emit-chunk/no-input/_config.js deleted file mode 100644 index 7536323ba6a..00000000000 --- a/test/function/samples/deprecated/emit-chunk/no-input/_config.js +++ /dev/null @@ -1,21 +0,0 @@ -module.exports = { - description: 'It is not necessary to provide an input if a dynamic entry is emitted', - options: { - strictDeprecations: false, - input: undefined, - plugins: { - name: 'test-plugin', - buildStart() { - this.emitChunk('chunk.js'); - } - } - }, - warnings: [ - { - code: 'DEPRECATED_FEATURE', - message: - 'The "this.emitChunk" plugin context function used by plugin test-plugin is deprecated. The "this.emitFile" plugin context function should be used instead.', - plugin: 'test-plugin' - } - ] -}; diff --git a/test/function/samples/deprecated/emit-chunk/no-input/chunk.js b/test/function/samples/deprecated/emit-chunk/no-input/chunk.js deleted file mode 100644 index c40c320ba58..00000000000 --- a/test/function/samples/deprecated/emit-chunk/no-input/chunk.js +++ /dev/null @@ -1 +0,0 @@ -assert.equal(42, 42); diff --git a/test/function/samples/deprecated/inline-dynamic-imports-bundle/_config.js b/test/function/samples/deprecated/inline-dynamic-imports-bundle/_config.js index ce23254e2ce..39f0738b74e 100644 --- a/test/function/samples/deprecated/inline-dynamic-imports-bundle/_config.js +++ b/test/function/samples/deprecated/inline-dynamic-imports-bundle/_config.js @@ -14,5 +14,12 @@ module.exports = { ]); } } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/inline-imports-with-manual/_config.js b/test/function/samples/deprecated/inline-imports-with-manual/_config.js index 907a12634e4..e84d3ec9c3b 100644 --- a/test/function/samples/deprecated/inline-imports-with-manual/_config.js +++ b/test/function/samples/deprecated/inline-imports-with-manual/_config.js @@ -13,5 +13,6 @@ module.exports = { message: 'Invalid value for option "output.manualChunks" - this option is not supported for "output.inlineDynamicImports".', url: 'https://rollupjs.org/guide/en/#outputmanualchunks' - } + }, + warnings: [] }; diff --git a/test/function/samples/deprecated/inline-imports-with-multiple-array/_config.js b/test/function/samples/deprecated/inline-imports-with-multiple-array/_config.js index dff057acf9b..1436e3072ee 100644 --- a/test/function/samples/deprecated/inline-imports-with-multiple-array/_config.js +++ b/test/function/samples/deprecated/inline-imports-with-multiple-array/_config.js @@ -10,5 +10,6 @@ module.exports = { message: 'Invalid value for option "output.inlineDynamicImports" - multiple inputs are not supported when "output.inlineDynamicImports" is true.', url: 'https://rollupjs.org/guide/en/#outputinlinedynamicimports' - } + }, + warnings: [] }; diff --git a/test/function/samples/deprecated/inline-imports-with-multiple-object/_config.js b/test/function/samples/deprecated/inline-imports-with-multiple-object/_config.js index ca38de58603..d3df98d1c3b 100644 --- a/test/function/samples/deprecated/inline-imports-with-multiple-object/_config.js +++ b/test/function/samples/deprecated/inline-imports-with-multiple-object/_config.js @@ -10,5 +10,12 @@ module.exports = { message: 'Invalid value for option "output.inlineDynamicImports" - multiple inputs are not supported when "output.inlineDynamicImports" is true.', url: 'https://rollupjs.org/guide/en/#outputinlinedynamicimports' - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/interop-false/_config.js b/test/function/samples/deprecated/interop-false/_config.js index f50a6495ea5..4651e9ab514 100644 --- a/test/function/samples/deprecated/interop-false/_config.js +++ b/test/function/samples/deprecated/interop-false/_config.js @@ -57,5 +57,13 @@ module.exports = { throw new Error(`Unexpected import "${id}"`); } } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The boolean value "false" for the "output.interop" option is deprecated. Use "esModule", "default" or "defaultOnly" instead.', + url: 'https://rollupjs.org/guide/en/#outputinterop' + } + ] }; diff --git a/test/function/samples/deprecated/interop-true-live-bindings/_config.js b/test/function/samples/deprecated/interop-true-live-bindings/_config.js index aa0adf12c4d..13a9669136b 100644 --- a/test/function/samples/deprecated/interop-true-live-bindings/_config.js +++ b/test/function/samples/deprecated/interop-true-live-bindings/_config.js @@ -57,5 +57,13 @@ module.exports = { throw new Error(`Unexpected import "${id}"`); } } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The boolean value "true" for the "output.interop" option is deprecated. Use "auto" instead.', + url: 'https://rollupjs.org/guide/en/#outputinterop' + } + ] }; diff --git a/test/function/samples/deprecated/interop-true-no-live-bindings/_config.js b/test/function/samples/deprecated/interop-true-no-live-bindings/_config.js index d53d739e94c..5bba6bb7ecc 100644 --- a/test/function/samples/deprecated/interop-true-no-live-bindings/_config.js +++ b/test/function/samples/deprecated/interop-true-no-live-bindings/_config.js @@ -44,5 +44,13 @@ module.exports = { throw new Error(`Unexpected import "${id}"`); } } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The boolean value "true" for the "output.interop" option is deprecated. Use "auto" instead.', + url: 'https://rollupjs.org/guide/en/#outputinterop' + } + ] }; diff --git a/test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/_config.js b/test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/_config.js deleted file mode 100644 index 45fe156dc40..00000000000 --- a/test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/_config.js +++ /dev/null @@ -1,24 +0,0 @@ -const assert = require('assert'); - -module.exports = { - description: 'imports from pure external modules that are used should not be omitted', - options: { - strictDeprecations: false, - external: ['warning'], - treeshake: { - pureExternalModules: ['warning'] - } - }, - context: { - require: id => { - if (id === 'warning') return arg => assert.equal(arg, 'hi'); - throw new Error('Unexpected import', id); - } - }, - warnings: [ - { - code: 'DEPRECATED_FEATURE', - message: `The "treeshake.pureExternalModules" option is deprecated. The "treeshake.moduleSideEffects" option should be used instead. "treeshake.pureExternalModules: true" is equivalent to "treeshake.moduleSideEffects: 'no-external'"` - } - ] -}; diff --git a/test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/main.js b/test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/main.js deleted file mode 100644 index 992a4573f52..00000000000 --- a/test/function/samples/deprecated/keep-used-imports-from-pure-external-modules/main.js +++ /dev/null @@ -1,3 +0,0 @@ -import warning from 'warning'; - -warning('hi'); diff --git a/test/function/samples/deprecated/manual-chunks-conflict/_config.js b/test/function/samples/deprecated/manual-chunks-conflict/_config.js index 8ef99e03397..0784b63bbb2 100644 --- a/test/function/samples/deprecated/manual-chunks-conflict/_config.js +++ b/test/function/samples/deprecated/manual-chunks-conflict/_config.js @@ -13,5 +13,6 @@ module.exports = { generateError: { code: 'INVALID_CHUNK', message: `Cannot assign dep.js to the "dep2" chunk as it is already in the "dep1" chunk.` - } + }, + warnings: [] }; diff --git a/test/function/samples/deprecated/manual-chunks-info/_config.js b/test/function/samples/deprecated/manual-chunks-info/_config.js index 3e410ca2161..44dcf747df5 100644 --- a/test/function/samples/deprecated/manual-chunks-info/_config.js +++ b/test/function/samples/deprecated/manual-chunks-info/_config.js @@ -288,5 +288,6 @@ module.exports = { ); } } - } + }, + warnings: [] }; diff --git a/test/function/samples/deprecated/manual-chunks-preserve-modules/_config.js b/test/function/samples/deprecated/manual-chunks-preserve-modules/_config.js index adb29a8dbca..de258b20125 100644 --- a/test/function/samples/deprecated/manual-chunks-preserve-modules/_config.js +++ b/test/function/samples/deprecated/manual-chunks-preserve-modules/_config.js @@ -13,5 +13,6 @@ module.exports = { message: 'Invalid value for option "output.manualChunks" - this option is not supported for "output.preserveModules".', url: 'https://rollupjs.org/guide/en/#outputmanualchunks' - } + }, + warnings: [] }; diff --git a/test/function/samples/deprecated/name-conflict-symbol/_config.js b/test/function/samples/deprecated/name-conflict-symbol/_config.js index 87812cfdceb..b21115f0bbf 100644 --- a/test/function/samples/deprecated/name-conflict-symbol/_config.js +++ b/test/function/samples/deprecated/name-conflict-symbol/_config.js @@ -11,5 +11,12 @@ module.exports = { exports(exports) { assert.strictEqual(exports.Symbol, null); assert.strictEqual(exports.toString(), '[object Module]'); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js b/test/function/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js index 229c2f06ac5..2ec429ad920 100644 --- a/test/function/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/dynamic-import-default-mode/_config.js @@ -15,5 +15,12 @@ module.exports = { assert.strictEqual(foo[Symbol.toStringTag], 'Module'); assert.strictEqual(Object.prototype.toString.call(foo), '[object Module]'); assert.strictEqual(foo.default, 42); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/dynamic-import/_config.js b/test/function/samples/deprecated/namespace-tostring/dynamic-import/_config.js index 8e2345f65d2..290d2965863 100644 --- a/test/function/samples/deprecated/namespace-tostring/dynamic-import/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/dynamic-import/_config.js @@ -18,5 +18,12 @@ module.exports = { assert.deepStrictEqual(copied, { bar: 42 }); assert.strictEqual(Object.prototype.toString.call(copied), '[object Object]'); assert.strictEqual(copied[Symbol.toStringTag], undefined); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/entry-default/_config.js b/test/function/samples/deprecated/namespace-tostring/entry-default/_config.js index 157a349ffe1..567b7d97fce 100644 --- a/test/function/samples/deprecated/namespace-tostring/entry-default/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/entry-default/_config.js @@ -13,5 +13,12 @@ module.exports = { assert.strictEqual(exports[Symbol.toStringTag], undefined); assert.strictEqual(Object.prototype.toString.call(exports), '[object Object]'); assert.strictEqual(exports.foo, 42); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/entry-named/_config.js b/test/function/samples/deprecated/namespace-tostring/entry-named/_config.js index f4d48b27188..59f3e02561a 100644 --- a/test/function/samples/deprecated/namespace-tostring/entry-named/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/entry-named/_config.js @@ -18,5 +18,12 @@ module.exports = { assert.deepStrictEqual(copied, { foo: 42 }); assert.strictEqual(Object.prototype.toString.call(copied), '[object Object]'); assert.strictEqual(copied[Symbol.toStringTag], undefined); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/external-namespaces/_config.js b/test/function/samples/deprecated/namespace-tostring/external-namespaces/_config.js index 21ac84c6eb5..d856f9cf321 100644 --- a/test/function/samples/deprecated/namespace-tostring/external-namespaces/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/external-namespaces/_config.js @@ -25,5 +25,12 @@ module.exports = { require() { return { foo: 42 }; } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/inlined-namespace/_config.js b/test/function/samples/deprecated/namespace-tostring/inlined-namespace/_config.js index 70d5429e572..da23f1267c7 100644 --- a/test/function/samples/deprecated/namespace-tostring/inlined-namespace/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/inlined-namespace/_config.js @@ -5,5 +5,12 @@ module.exports = { output: { namespaceToStringTag: true } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/interop-property-descriptor/_config.js b/test/function/samples/deprecated/namespace-tostring/interop-property-descriptor/_config.js index 3b6363a482d..f77d40fe85d 100644 --- a/test/function/samples/deprecated/namespace-tostring/interop-property-descriptor/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/interop-property-descriptor/_config.js @@ -16,5 +16,12 @@ module.exports = { return id.split('-')[1]; } } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/namespace-tostring/property-descriptor/_config.js b/test/function/samples/deprecated/namespace-tostring/property-descriptor/_config.js index aeac0e0efff..c12c3a3f423 100644 --- a/test/function/samples/deprecated/namespace-tostring/property-descriptor/_config.js +++ b/test/function/samples/deprecated/namespace-tostring/property-descriptor/_config.js @@ -5,5 +5,12 @@ module.exports = { output: { namespaceToStringTag: true } - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/nested-inlined-dynamic-import-1/_config.js b/test/function/samples/deprecated/nested-inlined-dynamic-import-1/_config.js index 8ab6e162777..2c5fd7e0246 100644 --- a/test/function/samples/deprecated/nested-inlined-dynamic-import-1/_config.js +++ b/test/function/samples/deprecated/nested-inlined-dynamic-import-1/_config.js @@ -9,5 +9,12 @@ module.exports = { }, exports(exports) { return exports().then(result => assert.strictEqual(result, 43)); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "inlineDynamicImports" option is deprecated. Use the "output.inlineDynamicImports" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/plugin-module-ids/_config.js b/test/function/samples/deprecated/plugin-module-ids/_config.js index 4faf1e294a2..8fcaac3409c 100644 --- a/test/function/samples/deprecated/plugin-module-ids/_config.js +++ b/test/function/samples/deprecated/plugin-module-ids/_config.js @@ -21,5 +21,13 @@ module.exports = { }, bundle() { assert.ok(rendered); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'Accessing "this.moduleIds" on the plugin context by plugin at position 1 is deprecated. The "this.getModuleIds" plugin context function should be used instead.', + plugin: 'at position 1' + } + ] }; diff --git a/test/function/samples/deprecated/preserveModules/mixed-exports/_config.js b/test/function/samples/deprecated/preserveModules/mixed-exports/_config.js index 239d8f84960..be4b11c9385 100644 --- a/test/function/samples/deprecated/preserveModules/mixed-exports/_config.js +++ b/test/function/samples/deprecated/preserveModules/mixed-exports/_config.js @@ -8,6 +8,11 @@ module.exports = { preserveModules: true }, warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.' + }, { code: 'MIXED_EXPORTS', id: path.join(__dirname, 'main.js'), diff --git a/test/function/samples/deprecated/preserveModules/virtual-modules-conflict/_config.js b/test/function/samples/deprecated/preserveModules/virtual-modules-conflict/_config.js index 0f024647c97..e26520edc46 100644 --- a/test/function/samples/deprecated/preserveModules/virtual-modules-conflict/_config.js +++ b/test/function/samples/deprecated/preserveModules/virtual-modules-conflict/_config.js @@ -29,5 +29,12 @@ module.exports = { ['main.js', '_virtual/_virtualModule.js', '_virtual/_virtualModule2.js'] ) ); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/preserveModules/virtual-modules/_config.js b/test/function/samples/deprecated/preserveModules/virtual-modules/_config.js index ece89c970b4..6e181d257ee 100644 --- a/test/function/samples/deprecated/preserveModules/virtual-modules/_config.js +++ b/test/function/samples/deprecated/preserveModules/virtual-modules/_config.js @@ -29,5 +29,12 @@ module.exports = { ['main.js', '_virtual/_virtualModule.js', 'lib/lib.js'] ) ); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/reexport-ns/_config.js b/test/function/samples/deprecated/reexport-ns/_config.js index 60fecaa0d22..b1dae2ca191 100644 --- a/test/function/samples/deprecated/reexport-ns/_config.js +++ b/test/function/samples/deprecated/reexport-ns/_config.js @@ -13,5 +13,12 @@ module.exports = { assert.strictEqual(typeof exports.maths, 'object'); assert.strictEqual(exports[Symbol.toStringTag], 'Module'); assert.strictEqual(exports.maths.external, true); - } + }, + warnings: [ + { + code: 'DEPRECATED_FEATURE', + message: + 'The "output.namespaceToStringTag" option is deprecated. Use the "output.generatedCode.symbols" option instead.' + } + ] }; diff --git a/test/function/samples/deprecated/resolve-id-external/_config.js b/test/function/samples/deprecated/resolve-id-external/_config.js index f03887bea14..65e426652fc 100644 --- a/test/function/samples/deprecated/resolve-id-external/_config.js +++ b/test/function/samples/deprecated/resolve-id-external/_config.js @@ -79,7 +79,9 @@ module.exports = { }, warnings(warnings) { for (const warning of warnings) { - assert.strictEqual(warning.code, 'UNUSED_EXTERNAL_IMPORT'); + if (warning.code !== 'UNUSED_EXTERNAL_IMPORT' && warning.code !== 'DEPRECATED_FEATURE') { + throw new Error(`Unexpected warning code "${warning.code}"`); + } } } }; diff --git a/test/function/samples/deprecated/resolve-id/_config.js b/test/function/samples/deprecated/resolve-id/_config.js index 19f254b2b42..461318f1db0 100644 --- a/test/function/samples/deprecated/resolve-id/_config.js +++ b/test/function/samples/deprecated/resolve-id/_config.js @@ -85,5 +85,10 @@ module.exports = { ); } } + }, + warnings(warnings) { + for (const warning of warnings) { + assert.strictEqual(warning.code, 'DEPRECATED_FEATURE'); + } } }; diff --git a/test/function/samples/deprecations/ROLLUP_ASSET_URL/_config.js b/test/function/samples/deprecations/ROLLUP_ASSET_URL/_config.js deleted file mode 100644 index 1537c66604a..00000000000 --- a/test/function/samples/deprecations/ROLLUP_ASSET_URL/_config.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = { - description: 'marks ROLLUP_ASSET_URL as deprecated', - options: { - plugins: { - load() { - return `export default import.meta.ROLLUP_ASSET_URL_${this.emitFile({ - type: 'asset', - name: 'asset', - source: 'asset' - })};`; - } - } - }, - generateError: { - code: 'DEPRECATED_FEATURE', - message: - 'Using the "ROLLUP_ASSET_URL_" prefix to reference files is deprecated. Use the "ROLLUP_FILE_URL_" prefix instead.' - } -}; diff --git a/test/function/samples/deprecations/ROLLUP_ASSET_URL/main.js b/test/function/samples/deprecations/ROLLUP_ASSET_URL/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/ROLLUP_ASSET_URL/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/ROLLUP_CHUNK_URL/_config.js b/test/function/samples/deprecations/ROLLUP_CHUNK_URL/_config.js deleted file mode 100644 index eac2bdb901b..00000000000 --- a/test/function/samples/deprecations/ROLLUP_CHUNK_URL/_config.js +++ /dev/null @@ -1,26 +0,0 @@ -module.exports = { - description: 'marks ROLLUP_CHUNK_URL as deprecated', - options: { - plugins: { - resolveId(id) { - if (id === 'chunk') { - return id; - } - }, - load(id) { - if (id === 'chunk') { - return "console.log('chunk')"; - } - return `export default import.meta.ROLLUP_CHUNK_URL_${this.emitFile({ - type: 'chunk', - id: 'chunk' - })};`; - } - } - }, - generateError: { - code: 'DEPRECATED_FEATURE', - message: - 'Using the "ROLLUP_CHUNK_URL_" prefix to reference files is deprecated. Use the "ROLLUP_FILE_URL_" prefix instead.' - } -}; diff --git a/test/function/samples/deprecations/ROLLUP_CHUNK_URL/main.js b/test/function/samples/deprecations/ROLLUP_CHUNK_URL/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/ROLLUP_CHUNK_URL/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/resolveAssetUrl/_config.js b/test/function/samples/deprecations/resolveAssetUrl/_config.js deleted file mode 100644 index 25e521c58c9..00000000000 --- a/test/function/samples/deprecations/resolveAssetUrl/_config.js +++ /dev/null @@ -1,14 +0,0 @@ -module.exports = { - description: 'marks the resolveAssetUrl hook as deprecated', - options: { - plugins: { - resolveAssetUrl() {} - } - }, - error: { - code: 'DEPRECATED_FEATURE', - message: - 'The "resolveAssetUrl" hook used by plugin at position 1 is deprecated. The "resolveFileUrl" hook should be used instead.', - plugin: 'at position 1' - } -}; diff --git a/test/function/samples/deprecations/resolveAssetUrl/main.js b/test/function/samples/deprecations/resolveAssetUrl/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/resolveAssetUrl/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/this-emitAsset/_config.js b/test/function/samples/deprecations/this-emitAsset/_config.js deleted file mode 100644 index 1a7a563a557..00000000000 --- a/test/function/samples/deprecations/this-emitAsset/_config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - description: 'marks this.emitAsset as deprecated', - options: { - plugins: { - buildStart() { - this.emitAsset('asset', 'asset'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: `The "this.emitAsset" plugin context function used by plugin at position 1 is deprecated. The "this.emitFile" plugin context function should be used instead.`, - plugin: 'at position 1', - pluginCode: 'DEPRECATED_FEATURE' - } -}; diff --git a/test/function/samples/deprecations/this-emitAsset/main.js b/test/function/samples/deprecations/this-emitAsset/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/this-emitAsset/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/this-emitChunk/_config.js b/test/function/samples/deprecations/this-emitChunk/_config.js deleted file mode 100644 index 207a79446f1..00000000000 --- a/test/function/samples/deprecations/this-emitChunk/_config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - description: 'marks this.emitChunk as deprecated', - options: { - plugins: { - buildStart() { - this.emitChunk('chunk'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: `The "this.emitChunk" plugin context function used by plugin at position 1 is deprecated. The "this.emitFile" plugin context function should be used instead.`, - plugin: 'at position 1', - pluginCode: 'DEPRECATED_FEATURE' - } -}; diff --git a/test/function/samples/deprecations/this-emitChunk/main.js b/test/function/samples/deprecations/this-emitChunk/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/this-emitChunk/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/this-getAssetFileName/_config.js b/test/function/samples/deprecations/this-getAssetFileName/_config.js deleted file mode 100644 index 85f86ebcdd2..00000000000 --- a/test/function/samples/deprecations/this-getAssetFileName/_config.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - description: 'marks this.getAssetFileName as deprecated', - options: { - plugins: { - renderChunk() { - this.getAssetFileName(this.emitFile({ type: 'asset', name: 'asset', source: 'asset' })); - } - } - }, - generateError: { - code: 'PLUGIN_ERROR', - hook: 'renderChunk', - message: - 'The "this.getAssetFileName" plugin context function used by plugin at position 1 is deprecated. The "this.getFileName" plugin context function should be used instead.', - plugin: 'at position 1', - pluginCode: 'DEPRECATED_FEATURE' - } -}; diff --git a/test/function/samples/deprecations/this-getAssetFileName/main.js b/test/function/samples/deprecations/this-getAssetFileName/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/this-getAssetFileName/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/this-getChunkFileName/_config.js b/test/function/samples/deprecations/this-getChunkFileName/_config.js deleted file mode 100644 index 641cde735ea..00000000000 --- a/test/function/samples/deprecations/this-getChunkFileName/_config.js +++ /dev/null @@ -1,23 +0,0 @@ -let chunkReferenceId; - -module.exports = { - description: 'marks this.getChunkFileName as deprecated', - options: { - plugins: { - buildStart() { - chunkReferenceId = this.emitFile({ type: 'chunk', id: 'chunk' }); - }, - renderChunk() { - this.getChunkFileName(chunkReferenceId); - } - } - }, - generateError: { - code: 'PLUGIN_ERROR', - hook: 'renderChunk', - message: - 'The "this.getChunkFileName" plugin context function used by plugin at position 1 is deprecated. The "this.getFileName" plugin context function should be used instead.', - plugin: 'at position 1', - pluginCode: 'DEPRECATED_FEATURE' - } -}; diff --git a/test/function/samples/deprecations/this-getChunkFileName/chunk.js b/test/function/samples/deprecations/this-getChunkFileName/chunk.js deleted file mode 100644 index 820c7c052bc..00000000000 --- a/test/function/samples/deprecations/this-getChunkFileName/chunk.js +++ /dev/null @@ -1 +0,0 @@ -assert.equal(1, 1); diff --git a/test/function/samples/deprecations/this-getChunkFileName/main.js b/test/function/samples/deprecations/this-getChunkFileName/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/this-getChunkFileName/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/this-isExternal/_config.js b/test/function/samples/deprecations/this-isExternal/_config.js deleted file mode 100644 index 5c322a5ccd9..00000000000 --- a/test/function/samples/deprecations/this-isExternal/_config.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - description: 'marks this.isExternal as deprecated', - options: { - plugins: { - buildStart() { - this.isExternal('external'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: - 'The "this.isExternal" plugin context function used by plugin at position 1 is deprecated. The "this.resolve" plugin context function should be used instead.', - plugin: 'at position 1', - pluginCode: 'DEPRECATED_FEATURE' - } -}; diff --git a/test/function/samples/deprecations/this-isExternal/main.js b/test/function/samples/deprecations/this-isExternal/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/this-isExternal/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/this-resolveId/_config.js b/test/function/samples/deprecations/this-resolveId/_config.js deleted file mode 100644 index 6ecacb3cf80..00000000000 --- a/test/function/samples/deprecations/this-resolveId/_config.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - description: 'marks this.resolveId as deprecated', - options: { - plugins: { - buildStart() { - this.resolveId('external'); - } - } - }, - error: { - code: 'PLUGIN_ERROR', - hook: 'buildStart', - message: - 'The "this.resolveId" plugin context function used by plugin at position 1 is deprecated. The "this.resolve" plugin context function should be used instead.', - plugin: 'at position 1', - pluginCode: 'DEPRECATED_FEATURE' - } -}; diff --git a/test/function/samples/deprecations/this-resolveId/main.js b/test/function/samples/deprecations/this-resolveId/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/this-resolveId/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/function/samples/deprecations/treeshake-pureExternalModules/_config.js b/test/function/samples/deprecations/treeshake-pureExternalModules/_config.js deleted file mode 100644 index bc0a9aa5e7a..00000000000 --- a/test/function/samples/deprecations/treeshake-pureExternalModules/_config.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - description: 'marks the treeshake.pureExternalModules option as deprecated', - options: { - treeshake: { pureExternalModules: true } - }, - error: { - code: 'DEPRECATED_FEATURE', - message: `The "treeshake.pureExternalModules" option is deprecated. The "treeshake.moduleSideEffects" option should be used instead. "treeshake.pureExternalModules: true" is equivalent to "treeshake.moduleSideEffects: 'no-external'"` - } -}; diff --git a/test/function/samples/deprecations/treeshake-pureExternalModules/main.js b/test/function/samples/deprecations/treeshake-pureExternalModules/main.js deleted file mode 100644 index f8a2d88d245..00000000000 --- a/test/function/samples/deprecations/treeshake-pureExternalModules/main.js +++ /dev/null @@ -1,11 +0,0 @@ -const foo = {}; - -function doIt(x) { - if (foo[x]) { - return true; - } - foo[x] = true; -} - -doIt('x'); -assert.ok(doIt('x'), 'foo was not reassigned'); diff --git a/test/hooks/index.js b/test/hooks/index.js index b776bb9e808..b2421740f9d 100644 --- a/test/hooks/index.js +++ b/test/hooks/index.js @@ -147,45 +147,6 @@ describe('hooks', () => { }); }); - it('supports isExternal on plugin context', () => - rollup.rollup({ - input: 'input', - external: ['test'], - plugins: [ - loader({ input: `alert('hello')` }), - { - buildStart() { - assert.strictEqual(this.isExternal('test'), true); - assert.strictEqual(this.isExternal('another'), false); - } - } - ] - })); - - it('supports resolveId on plugin context', () => - rollup - .rollup({ - input: 'input', - plugins: [ - loader({ - input: `import 'test'`, - dep1: `import 'next'`, - dep2: `alert('hello')` - }), - { - resolveId(id) { - if (id === 'test') return 'dep1'; - if (id === 'next') return this.resolveId('final'); - if (id === 'final') return 'dep2'; - } - } - ] - }) - .then(bundle => bundle.generate({ format: 'es' })) - .then(({ output: [output] }) => { - assert.strictEqual(output.code, `alert('hello');\n`); - })); - it('caches chunk emission in transform hook', () => { let cache; return rollup @@ -1009,29 +970,6 @@ describe('hooks', () => { }); }); - it('passes bundle object to generateBundle hook', () => - rollup - .rollup({ - input: 'input', - plugins: [ - loader({ input: `alert('hello')` }), - { - transform() { - const assetId = this.emitAsset('test.ext', 'hello world'); - return `export default import.meta.ROLLUP_ASSET_URL_${assetId};`; - }, - generateBundle(options, outputBundle, isWrite) { - assert.strictEqual(outputBundle['assets/test-0a676135.ext'].source, 'hello world'); - assert.strictEqual( - outputBundle['input.js'].code, - `var input = new URL('assets/test-0a676135.ext', import.meta.url).href;\n\nexport { input as default };\n` - ); - } - } - ] - }) - .then(bundle => bundle.generate({ format: 'es' }))); - it('supports closeBundle hook', () => { let closeBundleCalls = 0; return rollup @@ -1120,270 +1058,4 @@ describe('hooks', () => { assert.strictEqual(output[0].fileName, 'test:input'); }); }); - - describe('deprecated', () => { - it('caches chunk emission in transform hook', () => { - let cache; - return rollup - .rollup({ - input: 'input', - plugins: [ - loader({ input: '', chunk: "console.log('chunk');" }), - { - transform(code, id) { - if (id === 'input') { - return `export default import.meta.ROLLUP_CHUNK_URL_${this.emitChunk('chunk')};`; - } - } - } - ] - }) - .then(bundle => { - cache = bundle.cache; - return bundle.generate({ format: 'es' }); - }) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('chunk-928cb70b.js', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'chunk-928cb70b.js'); - assert.strictEqual(output[1].code, `console.log('chunk');\n`); - - return rollup.rollup({ - cache, - input: 'input', - plugins: [ - loader({ input: '', chunk: "console.log('chunk');" }), - { - transform() { - assert.fail('Should cache transform'); - } - } - ] - }); - }) - .then(bundle => { - cache = bundle.cache; - return bundle.generate({ format: 'es' }); - }) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('chunk-928cb70b.js', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'chunk-928cb70b.js'); - assert.strictEqual(output[1].code, `console.log('chunk');\n`); - - return rollup.rollup({ - cache, - input: 'input', - plugins: [ - loader({ input: '', chunk: "console.log('chunk');" }), - { - transform() { - assert.fail('Should cache transform'); - } - } - ] - }); - }) - .then(bundle => bundle.generate({ format: 'es' })) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('chunk-928cb70b.js', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'chunk-928cb70b.js'); - assert.strictEqual(output[1].code, `console.log('chunk');\n`); - }); - }); - - it('caches asset emission in transform hook', () => { - let cache; - return rollup - .rollup({ - input: 'input', - plugins: [ - loader({ input: '' }), - { - transform() { - const assetId = this.emitAsset('test.ext', 'hello world'); - return `export default import.meta.ROLLUP_ASSET_URL_${assetId};`; - } - } - ] - }) - .then(bundle => { - cache = bundle.cache; - return bundle.generate({ format: 'es' }); - }) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('assets/test-0a676135.ext', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - - return rollup.rollup({ - cache, - input: 'input', - plugins: [ - loader({ input: '' }), - { - transform() { - assert.fail('Should cache transform'); - } - } - ] - }); - }) - .then(bundle => { - cache = bundle.cache; - return bundle.generate({ format: 'es' }); - }) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('assets/test-0a676135.ext', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - - return rollup.rollup({ - cache, - input: 'input', - plugins: [ - loader({ input: '' }), - { - transform() { - assert.fail('Should cache transform'); - } - } - ] - }); - }) - .then(bundle => bundle.generate({ format: 'es' })) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('assets/test-0a676135.ext', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - }); - }); - - it('opts-out transform hook cache for custom cache', () => { - let runs = 0; - let cache; - return rollup - .rollup({ - input: 'input', - plugins: [ - loader({ input: '' }), - { - name: 'x', - transform() { - this.cache.set('asdf', 'asdf'); - runs++; - const assetId = this.emitAsset('test.ext', 'hello world'); - return `export default import.meta.ROLLUP_ASSET_URL_${assetId};`; - } - } - ] - }) - .then(bundle => { - cache = bundle.cache; - return bundle.generate({ format: 'es' }); - }) - .then(({ output }) => { - assert.strictEqual( - output[0].code, - `var input = new URL('assets/test-0a676135.ext', import.meta.url).href;\n\nexport { input as default };\n` - ); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - assert.strictEqual(output[1].fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output[1].source, 'hello world'); - - return rollup.rollup({ - cache, - input: 'input', - plugins: [ - loader({ input: '' }), - { - name: 'x', - transform() { - runs++; - return `alert('hello world')`; - } - } - ] - }); - }) - .then(bundle => bundle.generate({ format: 'es' })) - .then(({ output }) => { - assert.strictEqual(runs, 2); - assert.strictEqual(output[0].code.trim(), `alert('hello world');`); - assert.strictEqual(output.length, 1); - }); - }); - - it('allows setting asset source at generateBundle', () => { - let assetId; - return rollup - .rollup({ - input: 'input', - plugins: [ - loader({ input: `alert('hello')` }), - { - transform() { - return ''; - }, - generateBundle() { - assetId = this.emitAsset('test.ext'); - this.setAssetSource(assetId, 'hello world'); - } - } - ] - }) - .then(bundle => bundle.generate({ format: 'es' })) - .then(({ output: [, output] }) => { - assert.strictEqual(output.source, 'hello world'); - }); - }); - - it('allows setting asset source separately', () => { - let assetId; - return rollup - .rollup({ - input: 'input', - plugins: [ - loader({ input: `alert('hello')` }), - { - transform() { - assetId = this.emitAsset('test.ext'); - return ''; - }, - generateBundle() { - this.setAssetSource(assetId, 'hello world'); - } - } - ] - }) - .then(bundle => bundle.generate({ format: 'es' })) - .then(({ output: [, output] }) => { - assert.strictEqual(output.fileName, 'assets/test-0a676135.ext'); - assert.strictEqual(output.source, 'hello world'); - }); - }); - }); }); diff --git a/test/watch/index.js b/test/watch/index.js index 0e8a7dd7883..7094649bef0 100644 --- a/test/watch/index.js +++ b/test/watch/index.js @@ -1262,7 +1262,7 @@ describe('rollup.watch', () => { it('rebuilds immediately by default', async () => { await copy('test/watch/samples/basic', 'test/_tmp/input'); - await wait(100); + await wait(200); watcher = rollup.watch({ input: 'test/_tmp/input/main.js', output: { diff --git a/tsconfig.json b/tsconfig.json index a9b3c3819ad..98073ffb21c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ "resolveJsonModule": true, "skipLibCheck": true, "strict": true, - "target": "ES2018", + "target": "ES2019", "useDefineForClassFields": false }, "include": ["typings/**/*.d.ts", "src", "cli", "browser", "rollup.config.ts"],