diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml index 0a7ad9fd..adfb44c1 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml @@ -52,15 +52,8 @@ body: attributes: label: Environment description: | - Describe the environment the issue is happening in. This information is used to for reproduction and debugging. + Describe the environment the issue is happening in. This information is used to for reproduction and debugging. Run and paste the output of: `npx envinfo --system --npmPackages webpack,esbuild-loader --binaries`. placeholder: | - - System: OS: CPU: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09804904..97a89188 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,19 +9,35 @@ jobs: name: Release runs-on: ubuntu-latest timeout-minutes: 10 + steps: - name: Checkout - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v3 with: - node-version: 16.x - - name: Install dependencies - run: npx ci + node-version-file: '.nvmrc' + + - name: Setup pnpm + uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + run_install: true + + - name: Build + run: pnpm build + - name: Test - run: npm run test + env: + NODE_OPTIONS: --openssl-legacy-provider + run: pnpm test + + - name: Lint + run: pnpm lint + - name: Release env: GH_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx semantic-release + run: pnpm dlx semantic-release diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5894eebd..e9091f8b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,20 +9,32 @@ jobs: name: Test runs-on: ubuntu-latest timeout-minutes: 10 - strategy: - matrix: - node-version: [10.x, 16.x] + steps: - name: Checkout - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} - - name: Install dependencies - run: npx ci - - name: Lint - if: ${{ matrix.node-version == '14.x' }} - run: npm run lint + node-version-file: '.nvmrc' + + - name: Setup pnpm + uses: pnpm/action-setup@v2.2.2 + with: + version: 7 + run_install: true + + - name: Build + run: pnpm build + - name: Test - run: npm run test --if-present + env: + NODE_OPTIONS: --openssl-legacy-provider + run: pnpm test + + - name: Test Node.js v12 + run: pnpm --use-node-version=12.22.12 test + + - name: Lint + run: pnpm lint diff --git a/.gitignore b/.gitignore index 49cd9be6..2953a339 100644 --- a/.gitignore +++ b/.gitignore @@ -18,8 +18,8 @@ node_modules/ # Output of 'npm pack' *.tgz -# Jest coverage data -coverage - # Distribution files dist + +# Cache +.eslintcache diff --git a/.nvmrc b/.nvmrc index 976bea8d..0e9dc6b5 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.19.0 +v18.13.0 diff --git a/README.md b/README.md index 455c31c6..f1b99a32 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,12 @@ Alternatively, you can also pass it in directly via the [`tsconfigRaw` option](h ⚠️ esbuild only supports a subset of `tsconfig` options [(see `TransformOptions` interface)](https://github.com/evanw/esbuild/blob/88821b7e7d46737f633120f91c65f662eace0bcf/lib/shared/types.ts#L159-L165) and does not do type-checks. It's recommended to use a type-aware IDE or `tsc --noEmit` for type-checking instead. It is also recommended to enable [`isolatedModules`](https://www.typescriptlang.org/tsconfig#isolatedModules) and [`esModuleInterop`](https://www.typescriptlang.org/tsconfig/#esModuleInterop) options in your `tsconfig` by the [esbuild docs](https://esbuild.github.io/content-types/#typescript-caveats). +#### `tsconfig.json` Paths +Use [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin) to add support for `tsconfig.json#paths`. + +Since esbuild-loader only uses esbuild to transform code, it cannot help Webpack with resolving [tsconfig.json#paths](https://www.typescriptlang.org/tsconfig/paths.html). + + ### JS Minification (eg. Terser) You can replace JS minifiers like Terser or UglifyJs. Checkout the [benchmarks](https://github.com/privatenumber/minification-benchmarks) to see how much faster esbuild is. The `target` option tells esbuild that it can use newer JS syntax to perform better minification. @@ -336,7 +342,7 @@ Type: `boolean` Minify JS using equivalent but shorter syntax. #### legalComments -Type: `'none' | 'inline' | 'eof'` +Type: `'none' | 'inline' | 'eof' | 'external'` Default: `'inline'` @@ -415,11 +421,13 @@ Consider these type-checking alternatives: - Running `tsc --noEmit` to type check - Integrating type-checking to your Webpack build as a separate process using [`fork-ts-checker-webpack-plugin`](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) -## 🌱 Other Webpack plugins +## 💞 Related + +#### [tsx](https://github.com/esbuild-kit/tsx) +Node.js enhanced with esbuild to run TypeScript and ESM. #### [instant-mocha](https://github.com/privatenumber/instant-mocha) Webpack-integrated Mocha test-runner with Webpack 5 support. - #### [webpack-localize-assets-plugin](https://github.com/privatenumber/webpack-localize-assets-plugin) Localize/i18nalize your Webpack build. Optimized for multiple locales! diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 7f6272b5..00000000 --- a/jest.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - testEnvironment: 'node', - transform: { - '\\.ts$': './test/jest.esbuild-transformer.js', - }, -}; diff --git a/package.json b/package.json index 069665fc..28f04a90 100644 --- a/package.json +++ b/package.json @@ -21,39 +21,46 @@ ], "main": "./dist/index.js", "types": "./dist/index.d.ts", + "imports": { + "#esbuild-loader": { + "types": "./src/index.ts", + "development": "./src/index.ts", + "default": "./dist/index.js" + } + }, "scripts": { "build": "tsc", - "pretest": "npm run build", - "test": "jest --coverage", - "lint": "eslint ." + "test": "tsx tests", + "dev": "tsx watch --conditions=development tests", + "lint": "eslint --cache ." }, "peerDependencies": { "webpack": "^4.40.0 || ^5.0.0" }, "dependencies": { - "esbuild": "^0.15.6", + "esbuild": "^0.16.17", "joycon": "^3.0.1", "json5": "^2.2.0", "loader-utils": "^2.0.0", "tapable": "^2.2.0", - "webpack-sources": "^2.2.0" + "webpack-sources": "^1.4.3" }, "devDependencies": { - "@pvtnbr/eslint-config": "^0.26.2", - "@types/jest": "^27.0.3", + "@pvtnbr/eslint-config": "^0.33.0", "@types/loader-utils": "^2.0.3", - "@types/node": "^18.0.4", - "@types/webpack": "^4.41.32", - "@types/webpack-sources": "^3.2.0", - "css-loader": "^5.2.0", - "eslint": "^8.19.0", - "jest": "^27.4.4", - "memfs": "^3.4.0", - "mini-css-extract-plugin": "^1.4.0", - "typescript": "^4.7.4", - "unionfs": "^4.4.0", + "@types/mini-css-extract-plugin": "^2.5.1", + "@types/node": "^18.11.18", + "@types/webpack": "^4.41.33", + "@types/webpack-sources": "^0.1.9", + "css-loader": "^5.2.7", + "eslint": "^8.31.0", + "manten": "^0.6.0", + "memfs": "^3.4.13", + "mini-css-extract-plugin": "^1.6.2", + "tsx": "^3.12.2", + "typescript": "^4.9.4", "webpack": "^4.44.2", - "webpack-test-utils": "^1.1.0", + "webpack-test-utils": "^2.1.0", "webpack5": "npm:webpack@^5.0.0" }, "eslintConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2a9df9bd..6c6916aa 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,54 +1,54 @@ lockfileVersion: 5.4 specifiers: - '@pvtnbr/eslint-config': ^0.26.2 - '@types/jest': ^27.0.3 + '@pvtnbr/eslint-config': ^0.33.0 '@types/loader-utils': ^2.0.3 - '@types/node': ^18.0.4 - '@types/webpack': ^4.41.32 - '@types/webpack-sources': ^3.2.0 - css-loader: ^5.2.0 - esbuild: ^0.15.6 - eslint: ^8.19.0 - jest: ^27.4.4 + '@types/mini-css-extract-plugin': ^2.5.1 + '@types/node': ^18.11.18 + '@types/webpack': ^4.41.33 + '@types/webpack-sources': ^0.1.9 + css-loader: ^5.2.7 + esbuild: ^0.16.17 + eslint: ^8.31.0 joycon: ^3.0.1 json5: ^2.2.0 loader-utils: ^2.0.0 - memfs: ^3.4.0 - mini-css-extract-plugin: ^1.4.0 + manten: ^0.6.0 + memfs: ^3.4.13 + mini-css-extract-plugin: ^1.6.2 tapable: ^2.2.0 - typescript: ^4.7.4 - unionfs: ^4.4.0 + tsx: ^3.12.2 + typescript: ^4.9.4 webpack: ^4.44.2 - webpack-sources: ^2.2.0 - webpack-test-utils: ^1.1.0 + webpack-sources: ^1.4.3 + webpack-test-utils: ^2.1.0 webpack5: npm:webpack@^5.0.0 dependencies: - esbuild: 0.15.6 + esbuild: 0.16.17 joycon: 3.0.1 json5: 2.2.0 loader-utils: 2.0.0 tapable: 2.2.0 - webpack-sources: 2.3.1 + webpack-sources: 1.4.3 devDependencies: - '@pvtnbr/eslint-config': 0.26.2_4x5o4skxv6sl53vpwefgt23khm - '@types/jest': 27.0.3 + '@pvtnbr/eslint-config': 0.33.0_iukboom6ndih5an6iafl45j2fe '@types/loader-utils': 2.0.3 - '@types/node': 18.0.4 - '@types/webpack': 4.41.32 - '@types/webpack-sources': 3.2.0 + '@types/mini-css-extract-plugin': 2.5.1_webpack@4.46.0 + '@types/node': 18.11.18 + '@types/webpack': 4.41.33 + '@types/webpack-sources': 0.1.9 css-loader: 5.2.7_webpack@4.46.0 - eslint: 8.19.0 - jest: 27.4.4 - memfs: 3.4.0 + eslint: 8.31.0 + manten: 0.6.0 + memfs: 3.4.13 mini-css-extract-plugin: 1.6.2_webpack@4.46.0 - typescript: 4.7.4 - unionfs: 4.4.0 + tsx: 3.12.2 + typescript: 4.9.4 webpack: 4.46.0 - webpack-test-utils: 1.1.0_webpack@4.46.0 - webpack5: /webpack/5.73.0_esbuild@0.15.6 + webpack-test-utils: 2.1.0_webpack@4.46.0 + webpack5: /webpack/5.75.0_esbuild@0.16.17 packages: @@ -59,367 +59,265 @@ packages: '@babel/highlight': 7.16.0 dev: true - /@babel/compat-data/7.16.4: - resolution: {integrity: sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==} - engines: {node: '>=6.9.0'} - dev: true - - /@babel/core/7.16.0: - resolution: {integrity: sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.16.0 - '@babel/generator': 7.16.0 - '@babel/helper-compilation-targets': 7.16.3_@babel+core@7.16.0 - '@babel/helper-module-transforms': 7.16.0 - '@babel/helpers': 7.16.3 - '@babel/parser': 7.16.4 - '@babel/template': 7.16.0 - '@babel/traverse': 7.16.3 - '@babel/types': 7.16.0 - convert-source-map: 1.8.0 - debug: 4.3.4 - gensync: 1.0.0-beta.2 - json5: 2.2.1 - semver: 6.3.0 - source-map: 0.5.7 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/generator/7.16.0: - resolution: {integrity: sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.16.0 - jsesc: 2.5.2 - source-map: 0.5.7 - dev: true - - /@babel/helper-compilation-targets/7.16.3_@babel+core@7.16.0: - resolution: {integrity: sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/compat-data': 7.16.4 - '@babel/core': 7.16.0 - '@babel/helper-validator-option': 7.14.5 - browserslist: 4.21.2 - semver: 6.3.0 - dev: true - - /@babel/helper-function-name/7.16.0: - resolution: {integrity: sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==} + /@babel/code-frame/7.18.6: + resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-get-function-arity': 7.16.0 - '@babel/template': 7.16.0 - '@babel/types': 7.16.0 + '@babel/highlight': 7.18.6 dev: true - /@babel/helper-get-function-arity/7.16.0: - resolution: {integrity: sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.16.0 - dev: true - - /@babel/helper-hoist-variables/7.16.0: - resolution: {integrity: sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.16.0 - dev: true - - /@babel/helper-member-expression-to-functions/7.16.0: - resolution: {integrity: sha512-bsjlBFPuWT6IWhl28EdrQ+gTvSvj5tqVP5Xeftp07SEuz5pLnsXZuDkDD3Rfcxy0IsHmbZ+7B2/9SHzxO0T+sQ==} + /@babel/helper-validator-identifier/7.18.6: + resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.16.0 dev: true - /@babel/helper-module-imports/7.16.0: - resolution: {integrity: sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==} + /@babel/helper-validator-identifier/7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.16.0 dev: true - /@babel/helper-module-transforms/7.16.0: - resolution: {integrity: sha512-My4cr9ATcaBbmaEa8M0dZNA74cfI6gitvUAskgDtAFmAqyFKDSHQo5YstxPbN+lzHl2D9l/YOEFqb2mtUh4gfA==} + /@babel/highlight/7.16.0: + resolution: {integrity: sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-module-imports': 7.16.0 - '@babel/helper-replace-supers': 7.16.0 - '@babel/helper-simple-access': 7.16.0 - '@babel/helper-split-export-declaration': 7.16.0 '@babel/helper-validator-identifier': 7.18.6 - '@babel/template': 7.16.0 - '@babel/traverse': 7.16.3 - '@babel/types': 7.16.0 - transitivePeerDependencies: - - supports-color + chalk: 2.4.2 + js-tokens: 4.0.0 dev: true - /@babel/helper-optimise-call-expression/7.16.0: - resolution: {integrity: sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==} + /@babel/highlight/7.18.6: + resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.16.0 - dev: true - - /@babel/helper-plugin-utils/7.14.5: - resolution: {integrity: sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==} - engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier': 7.19.1 + chalk: 2.4.2 + js-tokens: 4.0.0 dev: true - /@babel/helper-replace-supers/7.16.0: - resolution: {integrity: sha512-TQxuQfSCdoha7cpRNJvfaYxxxzmbxXw/+6cS7V02eeDYyhxderSoMVALvwupA54/pZcOTtVeJ0xccp1nGWladA==} - engines: {node: '>=6.9.0'} + /@esbuild-kit/cjs-loader/2.4.1: + resolution: {integrity: sha512-lhc/XLith28QdW0HpHZvZKkorWgmCNT7sVelMHDj3HFdTfdqkwEKvT+aXVQtNAmCC39VJhunDkWhONWB7335mg==} dependencies: - '@babel/helper-member-expression-to-functions': 7.16.0 - '@babel/helper-optimise-call-expression': 7.16.0 - '@babel/traverse': 7.16.3 - '@babel/types': 7.16.0 - transitivePeerDependencies: - - supports-color + '@esbuild-kit/core-utils': 3.0.0 + get-tsconfig: 4.3.0 dev: true - /@babel/helper-simple-access/7.16.0: - resolution: {integrity: sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==} - engines: {node: '>=6.9.0'} + /@esbuild-kit/core-utils/3.0.0: + resolution: {integrity: sha512-TXmwH9EFS3DC2sI2YJWJBgHGhlteK0Xyu1VabwetMULfm3oYhbrsWV5yaSr2NTWZIgDGVLHbRf0inxbjXqAcmQ==} dependencies: - '@babel/types': 7.16.0 + esbuild: 0.15.18 + source-map-support: 0.5.21 dev: true - /@babel/helper-split-export-declaration/7.16.0: - resolution: {integrity: sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==} - engines: {node: '>=6.9.0'} + /@esbuild-kit/esm-loader/2.5.4: + resolution: {integrity: sha512-afmtLf6uqxD5IgwCzomtqCYIgz/sjHzCWZFvfS5+FzeYxOURPUo4QcHtqJxbxWOMOogKriZanN/1bJQE/ZL93A==} dependencies: - '@babel/types': 7.16.0 + '@esbuild-kit/core-utils': 3.0.0 + get-tsconfig: 4.3.0 dev: true - /@babel/helper-validator-identifier/7.18.6: - resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} - engines: {node: '>=6.9.0'} + /@esbuild/android-arm/0.15.18: + resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true dev: true + optional: true - /@babel/helper-validator-option/7.14.5: - resolution: {integrity: sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==} - engines: {node: '>=6.9.0'} - dev: true + /@esbuild/android-arm/0.16.17: + resolution: {integrity: sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + optional: true - /@babel/helpers/7.16.3: - resolution: {integrity: sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.16.0 - '@babel/traverse': 7.16.3 - '@babel/types': 7.16.0 - transitivePeerDependencies: - - supports-color - dev: true + /@esbuild/android-arm64/0.16.17: + resolution: {integrity: sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + optional: true - /@babel/highlight/7.16.0: - resolution: {integrity: sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.18.6 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true + /@esbuild/android-x64/0.16.17: + resolution: {integrity: sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + optional: true - /@babel/parser/7.16.4: - resolution: {integrity: sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.16.0 - dev: true + /@esbuild/darwin-arm64/0.16.17: + resolution: {integrity: sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + optional: true - /@babel/parser/7.16.6: - resolution: {integrity: sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.16.0 - dev: true + /@esbuild/darwin-x64/0.16.17: + resolution: {integrity: sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + optional: true - /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.16.0: - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/freebsd-arm64/0.16.17: + resolution: {integrity: sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + optional: true - /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.16.0: - resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/freebsd-x64/0.16.17: + resolution: {integrity: sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + optional: true - /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.16.0: - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-arm/0.16.17: + resolution: {integrity: sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.16.0: - resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-arm64/0.16.17: + resolution: {integrity: sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.16.0: - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-ia32/0.16.17: + resolution: {integrity: sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.16.0: - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 + /@esbuild/linux-loong64/0.15.18: + resolution: {integrity: sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true dev: true + optional: true - /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.16.0: - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-loong64/0.16.17: + resolution: {integrity: sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.16.0: - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-mips64el/0.16.17: + resolution: {integrity: sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.16.0: - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-ppc64/0.16.17: + resolution: {integrity: sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.16.0: - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-riscv64/0.16.17: + resolution: {integrity: sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.16.0: - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-s390x/0.16.17: + resolution: {integrity: sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.16.0: - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/linux-x64/0.16.17: + resolution: {integrity: sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + optional: true - /@babel/plugin-syntax-typescript/7.16.0_@babel+core@7.16.0: - resolution: {integrity: sha512-Xv6mEXqVdaqCBfJFyeab0fH2DnUoMsDmhamxsSi4j8nLd4Vtw213WMJr55xxqipC/YVWyPY3K0blJncPYji+dQ==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.16.0 - '@babel/helper-plugin-utils': 7.14.5 - dev: true + /@esbuild/netbsd-x64/0.16.17: + resolution: {integrity: sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + optional: true - /@babel/template/7.16.0: - resolution: {integrity: sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.16.0 - '@babel/parser': 7.16.6 - '@babel/types': 7.16.0 - dev: true + /@esbuild/openbsd-x64/0.16.17: + resolution: {integrity: sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + optional: true - /@babel/traverse/7.16.3: - resolution: {integrity: sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.16.0 - '@babel/generator': 7.16.0 - '@babel/helper-function-name': 7.16.0 - '@babel/helper-hoist-variables': 7.16.0 - '@babel/helper-split-export-declaration': 7.16.0 - '@babel/parser': 7.16.4 - '@babel/types': 7.16.0 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true + /@esbuild/sunos-x64/0.16.17: + resolution: {integrity: sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + optional: true - /@babel/types/7.16.0: - resolution: {integrity: sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.18.6 - to-fast-properties: 2.0.0 - dev: true + /@esbuild/win32-arm64/0.16.17: + resolution: {integrity: sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + optional: true - /@bcoe/v8-coverage/0.2.3: - resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - dev: true + /@esbuild/win32-ia32/0.16.17: + resolution: {integrity: sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + optional: true - /@esbuild/linux-loong64/0.15.6: - resolution: {integrity: sha512-hqmVU2mUjH6J2ZivHphJ/Pdse2ZD+uGCHK0uvsiLDk/JnSedEVj77CiVUnbMKuU4tih1TZZL8tG9DExQg/GZsw==} + /@esbuild/win32-x64/0.16.17: + resolution: {integrity: sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==} engines: {node: '>=12'} - cpu: [loong64] - os: [linux] + cpu: [x64] + os: [win32] requiresBuild: true optional: true - /@eslint/eslintrc/1.3.0: - resolution: {integrity: sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==} + /@eslint/eslintrc/1.4.1: + resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 9.3.2 - globals: 13.16.0 - ignore: 5.2.0 + espree: 9.4.1 + globals: 13.19.0 + ignore: 5.2.4 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 @@ -428,8 +326,8 @@ packages: - supports-color dev: true - /@humanwhocodes/config-array/0.9.5: - resolution: {integrity: sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==} + /@humanwhocodes/config-array/0.11.8: + resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -439,214 +337,38 @@ packages: - supports-color dev: true - /@humanwhocodes/object-schema/1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - dev: true - - /@istanbuljs/load-nyc-config/1.1.0: - resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} - engines: {node: '>=8'} - dependencies: - camelcase: 5.3.1 - find-up: 4.1.0 - get-package-type: 0.1.0 - js-yaml: 3.14.1 - resolve-from: 5.0.0 - dev: true - - /@istanbuljs/schema/0.1.3: - resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} - engines: {node: '>=8'} - dev: true - - /@jest/console/27.4.2: - resolution: {integrity: sha512-xknHThRsPB/To1FUbi6pCe43y58qFC03zfb6R7fDb/FfC7k2R3i1l+izRBJf8DI46KhYGRaF14Eo9A3qbBoixg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - chalk: 4.1.2 - jest-message-util: 27.4.2 - jest-util: 27.4.2 - slash: 3.0.0 - dev: true - - /@jest/core/27.4.4: - resolution: {integrity: sha512-xBNPVqYAdAiAMXnb4ugx9Cdmr0S52lBsLbQMR/sGBRO0810VSPKiuSDtuup6qdkK1e9vxbv3KK3IAP1QFAp8mw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/console': 27.4.2 - '@jest/reporters': 27.4.4 - '@jest/test-result': 27.4.2 - '@jest/transform': 27.4.4 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - emittery: 0.8.1 - exit: 0.1.2 - graceful-fs: 4.2.10 - jest-changed-files: 27.4.2 - jest-config: 27.4.4 - jest-haste-map: 27.4.4 - jest-message-util: 27.4.2 - jest-regex-util: 27.4.0 - jest-resolve: 27.4.4 - jest-resolve-dependencies: 27.4.4 - jest-runner: 27.4.4 - jest-runtime: 27.4.4 - jest-snapshot: 27.4.4 - jest-util: 27.4.2 - jest-validate: 27.4.2 - jest-watcher: 27.4.2 - micromatch: 4.0.4 - rimraf: 3.0.2 - slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - ts-node - - utf-8-validate - dev: true - - /@jest/environment/27.4.4: - resolution: {integrity: sha512-q+niMx7cJgt/t/b6dzLOh4W8Ef/8VyKG7hxASK39jakijJzbFBGpptx3RXz13FFV7OishQ9lTbv+dQ5K3EhfDQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/fake-timers': 27.4.2 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - jest-mock: 27.4.2 - dev: true - - /@jest/fake-timers/27.4.2: - resolution: {integrity: sha512-f/Xpzn5YQk5adtqBgvw1V6bF8Nx3hY0OIRRpCvWcfPl0EAjdqWPdhH3t/3XpiWZqtjIEHDyMKP9ajpva1l4Zmg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - '@sinonjs/fake-timers': 8.1.0 - '@types/node': 18.0.4 - jest-message-util: 27.4.2 - jest-mock: 27.4.2 - jest-util: 27.4.2 - dev: true - - /@jest/globals/27.4.4: - resolution: {integrity: sha512-bqpqQhW30BOreXM8bA8t8JbOQzsq/WnPTnBl+It3UxAD9J8yxEAaBEylHx1dtBapAr/UBk8GidXbzmqnee8tYQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/environment': 27.4.4 - '@jest/types': 27.4.2 - expect: 27.4.2 - dev: true - - /@jest/reporters/27.4.4: - resolution: {integrity: sha512-ssyJSw9B9Awb1QaxDhIPSs4de1b7SE2kv7tqFehQL13xpn5HUkMYZK/ufTOXiCAnXFOZS+XDl1GaQ/LmJAzI1A==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@bcoe/v8-coverage': 0.2.3 - '@jest/console': 27.4.2 - '@jest/test-result': 27.4.2 - '@jest/transform': 27.4.4 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - chalk: 4.1.2 - collect-v8-coverage: 1.0.1 - exit: 0.1.2 - glob: 7.2.0 - graceful-fs: 4.2.10 - istanbul-lib-coverage: 3.2.0 - istanbul-lib-instrument: 4.0.3 - istanbul-lib-report: 3.0.0 - istanbul-lib-source-maps: 4.0.1 - istanbul-reports: 3.1.1 - jest-haste-map: 27.4.4 - jest-resolve: 27.4.4 - jest-util: 27.4.2 - jest-worker: 27.5.1 - slash: 3.0.0 - source-map: 0.6.1 - string-length: 4.0.2 - terminal-link: 2.1.1 - v8-to-istanbul: 8.1.0 - transitivePeerDependencies: - - supports-color - dev: true - - /@jest/source-map/27.4.0: - resolution: {integrity: sha512-Ntjx9jzP26Bvhbm93z/AKcPRj/9wrkI88/gK60glXDx1q+IeI0rf7Lw2c89Ch6ofonB0On/iRDreQuQ6te9pgQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - callsites: 3.1.0 - graceful-fs: 4.2.10 - source-map: 0.6.1 + /@humanwhocodes/module-importer/1.0.1: + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} dev: true - /@jest/test-result/27.4.2: - resolution: {integrity: sha512-kr+bCrra9jfTgxHXHa2UwoQjxvQk3Am6QbpAiJ5x/50LW8llOYrxILkqY0lZRW/hu8FXesnudbql263+EW9iNA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/console': 27.4.2 - '@jest/types': 27.4.2 - '@types/istanbul-lib-coverage': 2.0.3 - collect-v8-coverage: 1.0.1 + /@humanwhocodes/object-schema/1.2.1: + resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} dev: true - /@jest/test-sequencer/27.4.4: - resolution: {integrity: sha512-mCh+d4JTGTtX7vr13d7q2GHJy33nAobEwtEJ8X3u7R8+0ImVO2eAsQzsLfX8lyvdYHBxYABhqbYuaUNo42/pQw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/expect-utils/29.3.1: + resolution: {integrity: sha512-wlrznINZI5sMjwvUoLVk617ll/UYfGIZNxmbU+Pa7wmkL4vYzhV9R2pwVqUh4NWWuLQWkI8+8mOkxs//prKQ3g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/test-result': 27.4.2 - graceful-fs: 4.2.10 - jest-haste-map: 27.4.4 - jest-runtime: 27.4.4 - transitivePeerDependencies: - - supports-color + jest-get-type: 29.2.0 dev: true - /@jest/transform/27.4.4: - resolution: {integrity: sha512-7U/nDSrGsGzL7+X8ScNFV71w8u8knJQWSa9C2xsrrKLMOgb+rWuCG4VAyWke/53BU96GnT+Ka81xCAHA5gk6zA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/schemas/29.0.0: + resolution: {integrity: sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.16.0 - '@jest/types': 27.4.2 - babel-plugin-istanbul: 6.1.1 - chalk: 4.1.2 - convert-source-map: 1.8.0 - fast-json-stable-stringify: 2.1.0 - graceful-fs: 4.2.10 - jest-haste-map: 27.4.4 - jest-regex-util: 27.4.0 - jest-util: 27.4.2 - micromatch: 4.0.4 - pirates: 4.0.4 - slash: 3.0.0 - source-map: 0.6.1 - write-file-atomic: 3.0.3 - transitivePeerDependencies: - - supports-color + '@sinclair/typebox': 0.24.51 dev: true - /@jest/types/27.4.2: - resolution: {integrity: sha512-j35yw0PMTPpZsUoOBiuHzr1zTYoad1cVIE0ajEjcrJONxxrko/IRGKkXx3os0Nsi4Hu3+5VmDbVfq5WhG/pWAg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /@jest/types/29.3.1: + resolution: {integrity: sha512-d0S0jmmTpjnhCmNpApgX3jrUZgZ22ivKJRvL2lli5hpCRoNnp1f85r2/wpKfXuYu8E7Jjh1hGfhPyup1NM5AmA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: + '@jest/schemas': 29.0.0 '@types/istanbul-lib-coverage': 2.0.3 '@types/istanbul-reports': 3.0.1 - '@types/node': 18.0.4 - '@types/yargs': 16.0.4 + '@types/node': 18.11.18 + '@types/yargs': 17.0.19 chalk: 4.1.2 dev: true @@ -656,7 +378,7 @@ packages: dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.14 - '@jridgewell/trace-mapping': 0.3.14 + '@jridgewell/trace-mapping': 0.3.17 dev: true /@jridgewell/resolve-uri/3.1.0: @@ -673,15 +395,15 @@ packages: resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==} dependencies: '@jridgewell/gen-mapping': 0.3.2 - '@jridgewell/trace-mapping': 0.3.14 + '@jridgewell/trace-mapping': 0.3.17 dev: true /@jridgewell/sourcemap-codec/1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} dev: true - /@jridgewell/trace-mapping/0.3.14: - resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==} + /@jridgewell/trace-mapping/0.3.17: + resolution: {integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==} dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 @@ -705,11 +427,11 @@ packages: engines: {node: '>= 8'} dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.13.0 + fastq: 1.15.0 dev: true - /@pkgr/utils/2.3.0: - resolution: {integrity: sha512-7dIJ9CRVzBnqyEl7diUHPUFJf/oty2SeoVzcMocc5PeOUDK9KGzvgIBjGRRzzlRDaOjh3ADwH0WeibQvi3ls2Q==} + /@pkgr/utils/2.3.1: + resolution: {integrity: sha512-wfzX8kc1PMyUILA+1Z/EqoE4UCXGy0iRGMhPwdfae1+f0OXlLqCk+By+aMzgJBzR9AzS4CDizioG6Ss1gvAFJw==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} dependencies: cross-spawn: 7.0.3 @@ -717,92 +439,50 @@ packages: open: 8.4.0 picocolors: 1.0.0 tiny-glob: 0.2.9 - tslib: 2.4.0 + tslib: 2.4.1 dev: true - /@pvtnbr/eslint-config/0.26.2_4x5o4skxv6sl53vpwefgt23khm: - resolution: {integrity: sha512-VdTcALE4s7aZr/HGhxLFj8f3p7pJZq9/PQ1f0jnBwh5PQUgI9n0c4p0Clkuir4Z4UATcYh0QDc45TqGsH5THBQ==} + /@pvtnbr/eslint-config/0.33.0_iukboom6ndih5an6iafl45j2fe: + resolution: {integrity: sha512-27Zs5L1LKtT4DKfFPalPTjImCiU3UMvfTMIModuFWn7nhGhbv4SEUPo5pc8fYoTgmAlnwp/NNMhw3yUUFZKyzw==} peerDependencies: eslint: ^7.15.0 || ^8.0.0 dependencies: - '@typescript-eslint/eslint-plugin': 5.30.6_2vt5mtrqleafs33qg2bhpmbaqm - '@typescript-eslint/parser': 5.30.6_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/eslint-plugin': 5.48.1_3jon24igvnqaqexgwtxk6nkpse + '@typescript-eslint/parser': 5.48.1_iukboom6ndih5an6iafl45j2fe confusing-browser-globals: 1.0.11 - eslint: 8.19.0 - eslint-import-resolver-typescript: 3.2.5_q2xwze32dd33a2fc2qubwr4ie4 - eslint-plugin-eslint-comments: 3.2.0_eslint@8.19.0 - eslint-plugin-import: 2.26.0_txgtzxbwwbsdf6liwdfp2zycdy - eslint-plugin-jsonc: 2.3.1_eslint@8.19.0 - eslint-plugin-markdown: 2.2.1_eslint@8.19.0 + eslint: 8.31.0 + eslint-import-resolver-typescript: 3.5.3_hnftvkj7qg3s6bbigj4pr6djxy + eslint-plugin-eslint-comments: 3.2.0_eslint@8.31.0 + eslint-plugin-import: 2.27.4_2ac3tknkazjoq5fxmuugu665ny + eslint-plugin-jsonc: 2.6.0_eslint@8.31.0 + eslint-plugin-markdown: 3.0.0_eslint@8.31.0 eslint-plugin-no-use-extend-native: 0.5.0 - eslint-plugin-node: 11.1.0_eslint@8.19.0 - eslint-plugin-promise: 6.0.0_eslint@8.19.0 - eslint-plugin-react: 7.30.1_eslint@8.19.0 - eslint-plugin-react-hooks: 4.6.0_eslint@8.19.0 - eslint-plugin-regexp: 1.7.0_eslint@8.19.0 - eslint-plugin-unicorn: 42.0.0_eslint@8.19.0 - eslint-plugin-vue: 9.2.0_eslint@8.19.0 + eslint-plugin-node: 11.1.0_eslint@8.31.0 + eslint-plugin-promise: 6.1.1_eslint@8.31.0 + eslint-plugin-react: 7.32.0_eslint@8.31.0 + eslint-plugin-react-hooks: 4.6.0_eslint@8.31.0 + eslint-plugin-regexp: 1.12.0_eslint@8.31.0 + eslint-plugin-unicorn: 44.0.2_eslint@8.31.0 + eslint-plugin-vue: 9.8.0_eslint@8.31.0 transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color - typescript dev: true - /@sinonjs/commons/1.8.3: - resolution: {integrity: sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==} - dependencies: - type-detect: 4.0.8 - dev: true - - /@sinonjs/fake-timers/8.1.0: - resolution: {integrity: sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==} - dependencies: - '@sinonjs/commons': 1.8.3 - dev: true - - /@tootallnate/once/1.1.2: - resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==} - engines: {node: '>= 6'} - dev: true - - /@types/babel__core/7.1.17: - resolution: {integrity: sha512-6zzkezS9QEIL8yCBvXWxPTJPNuMeECJVxSOhxNY/jfq9LxOTHivaYTqr37n9LknWWRTIkzqH2UilS5QFvfa90A==} - dependencies: - '@babel/parser': 7.16.4 - '@babel/types': 7.16.0 - '@types/babel__generator': 7.6.3 - '@types/babel__template': 7.4.1 - '@types/babel__traverse': 7.14.2 - dev: true - - /@types/babel__generator/7.6.3: - resolution: {integrity: sha512-/GWCmzJWqV7diQW54smJZzWbSFf4QYtF71WCKhcx6Ru/tFyQIY2eiiITcCAeuPbNSvT9YCGkVMqqvSk2Z0mXiA==} - dependencies: - '@babel/types': 7.16.0 - dev: true - - /@types/babel__template/7.4.1: - resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} - dependencies: - '@babel/parser': 7.16.4 - '@babel/types': 7.16.0 - dev: true - - /@types/babel__traverse/7.14.2: - resolution: {integrity: sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA==} - dependencies: - '@babel/types': 7.16.0 + /@sinclair/typebox/0.24.51: + resolution: {integrity: sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==} dev: true /@types/eslint-scope/3.7.4: resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} dependencies: - '@types/eslint': 8.4.5 + '@types/eslint': 8.4.10 '@types/estree': 0.0.51 dev: true - /@types/eslint/8.4.5: - resolution: {integrity: sha512-dhsC09y1gpJWnK+Ff4SGvCuSnk9DaU0BJZSzOwa6GVSg65XtTugLBITDAAzRU5duGBoXBHpdR/9jHGxJjNflJQ==} + /@types/eslint/8.4.10: + resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==} dependencies: '@types/estree': 0.0.51 '@types/json-schema': 7.0.11 @@ -812,12 +492,6 @@ packages: resolution: {integrity: sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==} dev: true - /@types/graceful-fs/4.1.5: - resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==} - dependencies: - '@types/node': 18.0.4 - dev: true - /@types/istanbul-lib-coverage/2.0.3: resolution: {integrity: sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==} dev: true @@ -834,13 +508,6 @@ packages: '@types/istanbul-lib-report': 3.0.0 dev: true - /@types/jest/27.0.3: - resolution: {integrity: sha512-cmmwv9t7gBYt7hNKH5Spu7Kuu/DotGa+Ff+JGRKZ4db5eh8PnKS4LuebJ3YLUoyOyIHraTGyULn23YtEAm0VSg==} - dependencies: - jest-diff: 27.4.2 - pretty-format: 27.4.2 - dev: true - /@types/json-schema/7.0.11: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true @@ -852,8 +519,8 @@ packages: /@types/loader-utils/2.0.3: resolution: {integrity: sha512-sDXXzZnTLXgdso54/iOpAFSDgqhVXabCvwGAt77Agadh/Xk0QYgOk520r3tpOouI098gyqGIFywx8Op1voc3vQ==} dependencies: - '@types/node': 18.0.4 - '@types/webpack': 4.41.32 + '@types/node': 18.11.18 + '@types/webpack': 4.41.33 dev: true /@types/mdast/3.0.10: @@ -862,16 +529,25 @@ packages: '@types/unist': 2.0.6 dev: true - /@types/node/18.0.4: - resolution: {integrity: sha512-M0+G6V0Y4YV8cqzHssZpaNCqvYwlCiulmm0PwpNLF55r/+cT8Ol42CHRU1SEaYFH2rTwiiE1aYg/2g2rrtGdPA==} + /@types/mini-css-extract-plugin/2.5.1_webpack@4.46.0: + resolution: {integrity: sha512-evjjtJttaUexgg3au9ZJFy76tV9mySwX3a4Jl82BuormBYluWLRt0xk2urWrhOdPgDWzulRFyotwYOJTmkSgKw==} + deprecated: This is a stub types definition. mini-css-extract-plugin provides its own type definitions, so you do not need this installed. + dependencies: + mini-css-extract-plugin: 1.6.2_webpack@4.46.0 + transitivePeerDependencies: + - webpack + dev: true + + /@types/node/18.11.18: + resolution: {integrity: sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==} dev: true /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true - /@types/prettier/2.4.2: - resolution: {integrity: sha512-ekoj4qOQYp7CvjX8ZDBgN86w3MqQhLE1hczEJbEIjgFEumDy+na/4AJAbLXfgEWFNB2pKadM5rPFtuSGMWK7xA==} + /@types/semver/7.3.13: + resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} dev: true /@types/source-list-map/0.1.2: @@ -896,18 +572,26 @@ packages: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true + /@types/webpack-sources/0.1.9: + resolution: {integrity: sha512-bvzMnzqoK16PQIC8AYHNdW45eREJQMd6WG/msQWX5V2+vZmODCOPb4TJcbgRljTZZTwTM4wUMcsI8FftNA7new==} + dependencies: + '@types/node': 18.11.18 + '@types/source-list-map': 0.1.2 + source-map: 0.6.1 + dev: true + /@types/webpack-sources/3.2.0: resolution: {integrity: sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg==} dependencies: - '@types/node': 18.0.4 + '@types/node': 18.11.18 '@types/source-list-map': 0.1.2 source-map: 0.7.4 dev: true - /@types/webpack/4.41.32: - resolution: {integrity: sha512-cb+0ioil/7oz5//7tZUSwbrSAN/NWHrQylz5cW8G0dWTcF/g+/dSdMlKVZspBYuMAN1+WnwHrkxiRrLcwd0Heg==} + /@types/webpack/4.41.33: + resolution: {integrity: sha512-PPajH64Ft2vWevkerISMtnZ8rTs4YmRbs+23c402J0INmxDKCrhZNvwZYtzx96gY2wAtXdrK1BS2fiC8MlLr3g==} dependencies: - '@types/node': 18.0.4 + '@types/node': 18.11.18 '@types/tapable': 1.0.8 '@types/uglify-js': 3.13.1 '@types/webpack-sources': 3.2.0 @@ -919,14 +603,14 @@ packages: resolution: {integrity: sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw==} dev: true - /@types/yargs/16.0.4: - resolution: {integrity: sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw==} + /@types/yargs/17.0.19: + resolution: {integrity: sha512-cAx3qamwaYX9R0fzOIZAlFpo4A+1uBVCxqpKz9D26uTF4srRXaGTTsikQmaotCtNdbhzyUH7ft6p9ktz9s6UNQ==} dependencies: '@types/yargs-parser': 20.2.1 dev: true - /@typescript-eslint/eslint-plugin/5.30.6_2vt5mtrqleafs33qg2bhpmbaqm: - resolution: {integrity: sha512-J4zYMIhgrx4MgnZrSDD7sEnQp7FmhKNOaqaOpaoQ/SfdMfRB/0yvK74hTnvH+VQxndZynqs5/Hn4t+2/j9bADg==} + /@typescript-eslint/eslint-plugin/5.48.1_3jon24igvnqaqexgwtxk6nkpse: + resolution: {integrity: sha512-9nY5K1Rp2ppmpb9s9S2aBiF3xo5uExCehMDmYmmFqqyxgenbHJ3qbarcLt4ITgaD6r/2ypdlcFRdcuVPnks+fQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -936,24 +620,24 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.30.6_4x5o4skxv6sl53vpwefgt23khm - '@typescript-eslint/scope-manager': 5.30.6 - '@typescript-eslint/type-utils': 5.30.6_4x5o4skxv6sl53vpwefgt23khm - '@typescript-eslint/utils': 5.30.6_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/parser': 5.48.1_iukboom6ndih5an6iafl45j2fe + '@typescript-eslint/scope-manager': 5.48.1 + '@typescript-eslint/type-utils': 5.48.1_iukboom6ndih5an6iafl45j2fe + '@typescript-eslint/utils': 5.48.1_iukboom6ndih5an6iafl45j2fe debug: 4.3.4 - eslint: 8.19.0 - functional-red-black-tree: 1.0.1 - ignore: 5.2.0 + eslint: 8.31.0 + ignore: 5.2.4 + natural-compare-lite: 1.4.0 regexpp: 3.2.0 - semver: 7.3.7 - tsutils: 3.21.0_typescript@4.7.4 - typescript: 4.7.4 + semver: 7.3.8 + tsutils: 3.21.0_typescript@4.9.4 + typescript: 4.9.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.30.6_4x5o4skxv6sl53vpwefgt23khm: - resolution: {integrity: sha512-gfF9lZjT0p2ZSdxO70Xbw8w9sPPJGfAdjK7WikEjB3fcUI/yr9maUVEdqigBjKincUYNKOmf7QBMiTf719kbrA==} + /@typescript-eslint/parser/5.48.1_iukboom6ndih5an6iafl45j2fe: + resolution: {integrity: sha512-4yg+FJR/V1M9Xoq56SF9Iygqm+r5LMXvheo6DQ7/yUWynQ4YfCRnsKuRgqH4EQ5Ya76rVwlEpw4Xu+TgWQUcdA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -962,26 +646,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.30.6 - '@typescript-eslint/types': 5.30.6 - '@typescript-eslint/typescript-estree': 5.30.6_typescript@4.7.4 + '@typescript-eslint/scope-manager': 5.48.1 + '@typescript-eslint/types': 5.48.1 + '@typescript-eslint/typescript-estree': 5.48.1_typescript@4.9.4 debug: 4.3.4 - eslint: 8.19.0 - typescript: 4.7.4 + eslint: 8.31.0 + typescript: 4.9.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.30.6: - resolution: {integrity: sha512-Hkq5PhLgtVoW1obkqYH0i4iELctEKixkhWLPTYs55doGUKCASvkjOXOd/pisVeLdO24ZX9D6yymJ/twqpJiG3g==} + /@typescript-eslint/scope-manager/5.48.1: + resolution: {integrity: sha512-S035ueRrbxRMKvSTv9vJKIWgr86BD8s3RqoRZmsSh/s8HhIs90g6UlK8ZabUSjUZQkhVxt7nmZ63VJ9dcZhtDQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.30.6 - '@typescript-eslint/visitor-keys': 5.30.6 + '@typescript-eslint/types': 5.48.1 + '@typescript-eslint/visitor-keys': 5.48.1 dev: true - /@typescript-eslint/type-utils/5.30.6_4x5o4skxv6sl53vpwefgt23khm: - resolution: {integrity: sha512-GFVVzs2j0QPpM+NTDMXtNmJKlF842lkZKDSanIxf+ArJsGeZUIaeT4jGg+gAgHt7AcQSFwW7htzF/rbAh2jaVA==} + /@typescript-eslint/type-utils/5.48.1_iukboom6ndih5an6iafl45j2fe: + resolution: {integrity: sha512-Hyr8HU8Alcuva1ppmqSYtM/Gp0q4JOp1F+/JH5D1IZm/bUBrV0edoewQZiEc1r6I8L4JL21broddxK8HAcZiqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -990,22 +674,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.30.6_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/typescript-estree': 5.48.1_typescript@4.9.4 + '@typescript-eslint/utils': 5.48.1_iukboom6ndih5an6iafl45j2fe debug: 4.3.4 - eslint: 8.19.0 - tsutils: 3.21.0_typescript@4.7.4 - typescript: 4.7.4 + eslint: 8.31.0 + tsutils: 3.21.0_typescript@4.9.4 + typescript: 4.9.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.30.6: - resolution: {integrity: sha512-HdnP8HioL1F7CwVmT4RaaMX57RrfqsOMclZc08wGMiDYJBsLGBM7JwXM4cZJmbWLzIR/pXg1kkrBBVpxTOwfUg==} + /@typescript-eslint/types/5.48.1: + resolution: {integrity: sha512-xHyDLU6MSuEEdIlzrrAerCGS3T7AA/L8Hggd0RCYBi0w3JMvGYxlLlXHeg50JI9Tfg5MrtsfuNxbS/3zF1/ATg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.30.6_typescript@4.7.4: - resolution: {integrity: sha512-Z7TgPoeYUm06smfEfYF0RBkpF8csMyVnqQbLYiGgmUSTaSXTP57bt8f0UFXstbGxKIreTwQCujtaH0LY9w9B+A==} + /@typescript-eslint/typescript-estree/5.48.1_typescript@4.9.4: + resolution: {integrity: sha512-Hut+Osk5FYr+sgFh8J/FHjqX6HFcDzTlWLrFqGoK5kVUN3VBHF/QzZmAsIXCQ8T/W9nQNBTqalxi1P3LSqWnRA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -1013,48 +698,46 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.30.6 - '@typescript-eslint/visitor-keys': 5.30.6 + '@typescript-eslint/types': 5.48.1 + '@typescript-eslint/visitor-keys': 5.48.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.3.7 - tsutils: 3.21.0_typescript@4.7.4 - typescript: 4.7.4 + semver: 7.3.8 + tsutils: 3.21.0_typescript@4.9.4 + typescript: 4.9.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.30.6_4x5o4skxv6sl53vpwefgt23khm: - resolution: {integrity: sha512-xFBLc/esUbLOJLk9jKv0E9gD/OH966M40aY9jJ8GiqpSkP2xOV908cokJqqhVd85WoIvHVHYXxSFE4cCSDzVvA==} + /@typescript-eslint/utils/5.48.1_iukboom6ndih5an6iafl45j2fe: + resolution: {integrity: sha512-SmQuSrCGUOdmGMwivW14Z0Lj8dxG1mOFZ7soeJ0TQZEJcs3n5Ndgkg0A4bcMFzBELqLJ6GTHnEU+iIoaD6hFGA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.11 - '@typescript-eslint/scope-manager': 5.30.6 - '@typescript-eslint/types': 5.30.6 - '@typescript-eslint/typescript-estree': 5.30.6_typescript@4.7.4 - eslint: 8.19.0 + '@types/semver': 7.3.13 + '@typescript-eslint/scope-manager': 5.48.1 + '@typescript-eslint/types': 5.48.1 + '@typescript-eslint/typescript-estree': 5.48.1_typescript@4.9.4 + eslint: 8.31.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.19.0 + eslint-utils: 3.0.0_eslint@8.31.0 + semver: 7.3.8 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys/5.30.6: - resolution: {integrity: sha512-41OiCjdL2mCaSDi2SvYbzFLlqqlm5v1ZW9Ym55wXKL/Rx6OOB1IbuFGo71Fj6Xy90gJDFTlgOS+vbmtGHPTQQA==} + /@typescript-eslint/visitor-keys/5.48.1: + resolution: {integrity: sha512-Ns0XBwmfuX7ZknznfXozgnydyR8F6ev/KEGePP4i74uL3ArsKbEhJ7raeKr1JSa997DBDwol/4a0Y+At82c9dA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.30.6 + '@typescript-eslint/types': 5.48.1 eslint-visitor-keys: 3.3.0 dev: true - /@unts/get-tsconfig/4.1.1: - resolution: {integrity: sha512-8mPf1bBzF2S+fyuyYOQWjDcaJTTgJ14UAnXW9I3KwrqioRWG1byRXHwciYdqXpbdOiu7Fg4WJbymBIakGk+aMA==} - dev: true - /@webassemblyjs/ast/1.11.1: resolution: {integrity: sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==} dependencies: @@ -1296,36 +979,20 @@ packages: resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} dev: true - /abab/2.0.5: - resolution: {integrity: sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==} - dev: true - - /acorn-globals/6.0.0: - resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==} - dependencies: - acorn: 7.4.1 - acorn-walk: 7.2.0 - dev: true - - /acorn-import-assertions/1.8.0_acorn@8.7.1: + /acorn-import-assertions/1.8.0_acorn@8.8.1: resolution: {integrity: sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==} peerDependencies: acorn: ^8 dependencies: - acorn: 8.7.1 + acorn: 8.8.1 dev: true - /acorn-jsx/5.3.2_acorn@8.7.1: + /acorn-jsx/5.3.2_acorn@8.8.1: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - acorn: 8.7.1 - dev: true - - /acorn-walk/7.2.0: - resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==} - engines: {node: '>=0.4.0'} + acorn: 8.8.1 dev: true /acorn/6.4.2: @@ -1334,27 +1001,12 @@ packages: hasBin: true dev: true - /acorn/7.4.1: - resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} - engines: {node: '>=0.4.0'} - hasBin: true - dev: true - - /acorn/8.7.1: - resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==} + /acorn/8.8.1: + resolution: {integrity: sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==} engines: {node: '>=0.4.0'} hasBin: true dev: true - /agent-base/6.0.2: - resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} - engines: {node: '>= 6.0.0'} - dependencies: - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: true - /ajv-errors/1.0.1_ajv@6.12.6: resolution: {integrity: sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==} peerDependencies: @@ -1377,14 +1029,7 @@ packages: fast-deep-equal: 3.1.3 fast-json-stable-stringify: 2.1.0 json-schema-traverse: 0.4.1 - uri-js: 4.4.1 - dev: true - - /ansi-escapes/4.3.2: - resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.21.3 + uri-js: 4.4.1 dev: true /ansi-regex/5.0.1: @@ -1433,12 +1078,6 @@ packages: resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==} dev: true - /argparse/1.0.10: - resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} - dependencies: - sprintf-js: 1.0.3 - dev: true - /argparse/2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} dev: true @@ -1458,14 +1097,14 @@ packages: engines: {node: '>=0.10.0'} dev: true - /array-includes/3.1.5: - resolution: {integrity: sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==} + /array-includes/3.1.6: + resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 - get-intrinsic: 1.1.2 + es-abstract: 1.21.1 + get-intrinsic: 1.1.3 is-string: 1.0.7 dev: true @@ -1479,24 +1118,34 @@ packages: engines: {node: '>=0.10.0'} dev: true - /array.prototype.flat/1.3.0: - resolution: {integrity: sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==} + /array.prototype.flat/1.3.1: + resolution: {integrity: sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 dev: true - /array.prototype.flatmap/1.3.0: - resolution: {integrity: sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==} + /array.prototype.flatmap/1.3.1: + resolution: {integrity: sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 + es-shim-unscopables: 1.0.0 + dev: true + + /array.prototype.tosorted/1.1.1: + resolution: {integrity: sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 + get-intrinsic: 1.1.3 dev: true /asn1.js/5.4.1: @@ -1525,87 +1174,15 @@ packages: dev: true optional: true - /asynckit/0.4.0: - resolution: {integrity: sha1-x57Zf380y48robyXkLzDZkdLS3k=} - dev: true - /atob/2.1.2: resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==} engines: {node: '>= 4.5.0'} hasBin: true dev: true - /babel-jest/27.4.4_@babel+core@7.16.0: - resolution: {integrity: sha512-+6RVutZxOQgJkt4svgTHPFtOQlVe9dUg3wrimIAM38pY6hL/nsL8glfFSUjD9jNVjaVjzkCzj6loFFecrjr9Qw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - peerDependencies: - '@babel/core': ^7.8.0 - dependencies: - '@babel/core': 7.16.0 - '@jest/transform': 27.4.4 - '@jest/types': 27.4.2 - '@types/babel__core': 7.1.17 - babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 27.4.0_@babel+core@7.16.0 - chalk: 4.1.2 - graceful-fs: 4.2.10 - slash: 3.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-istanbul/6.1.1: - resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} - engines: {node: '>=8'} - dependencies: - '@babel/helper-plugin-utils': 7.14.5 - '@istanbuljs/load-nyc-config': 1.1.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-instrument: 5.1.0 - test-exclude: 6.0.0 - transitivePeerDependencies: - - supports-color - dev: true - - /babel-plugin-jest-hoist/27.4.0: - resolution: {integrity: sha512-Jcu7qS4OX5kTWBc45Hz7BMmgXuJqRnhatqpUhnzGC3OBYpOmf2tv6jFNwZpwM7wU7MUuv2r9IPS/ZlYOuburVw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@babel/template': 7.16.0 - '@babel/types': 7.16.0 - '@types/babel__core': 7.1.17 - '@types/babel__traverse': 7.14.2 - dev: true - - /babel-preset-current-node-syntax/1.0.1_@babel+core@7.16.0: - resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.16.0 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.16.0 - '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.16.0 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.16.0 - '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.16.0 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.16.0 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.16.0 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.16.0 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.16.0 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.16.0 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.16.0 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.16.0 - '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.16.0 - dev: true - - /babel-preset-jest/27.4.0_@babel+core@7.16.0: - resolution: {integrity: sha512-NK4jGYpnBvNxcGo7/ZpZJr51jCGT+3bwwpVIDY2oNfTxJJldRtB4VAcYdgp1loDE50ODuTu+yBjpMAswv5tlpg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.16.0 - babel-plugin-jest-hoist: 27.4.0 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.16.0 + /available-typed-arrays/1.0.5: + resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} + engines: {node: '>= 0.4'} dev: true /balanced-match/1.0.2: @@ -1703,10 +1280,6 @@ packages: resolution: {integrity: sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=} dev: true - /browser-process-hrtime/1.0.0: - resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==} - dev: true - /browserify-aes/1.2.0: resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} dependencies: @@ -1762,21 +1335,15 @@ packages: pako: 1.0.11 dev: true - /browserslist/4.21.2: - resolution: {integrity: sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==} + /browserslist/4.21.4: + resolution: {integrity: sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001366 - electron-to-chromium: 1.4.188 - node-releases: 2.0.6 - update-browserslist-db: 1.0.4_browserslist@4.21.2 - dev: true - - /bser/2.1.1: - resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} - dependencies: - node-int64: 0.4.0 + caniuse-lite: 1.0.30001443 + electron-to-chromium: 1.4.284 + node-releases: 2.0.8 + update-browserslist-db: 1.0.10_browserslist@4.21.4 dev: true /buffer-from/1.1.2: @@ -1843,7 +1410,7 @@ packages: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} dependencies: function-bind: 1.1.1 - get-intrinsic: 1.1.2 + get-intrinsic: 1.1.3 dev: true /callsites/3.1.0: @@ -1851,18 +1418,8 @@ packages: engines: {node: '>=6'} dev: true - /camelcase/5.3.1: - resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} - engines: {node: '>=6'} - dev: true - - /camelcase/6.2.1: - resolution: {integrity: sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==} - engines: {node: '>=10'} - dev: true - - /caniuse-lite/1.0.30001366: - resolution: {integrity: sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==} + /caniuse-lite/1.0.30001443: + resolution: {integrity: sha512-jUo8svymO8+Mkj3qbUbVjR8zv8LUGpGkUM/jKvc9SO2BvjCI980dp9fQbf/dyLs6RascPzgR4nhAKFA4OHeSaA==} dev: true /chalk/2.4.2: @@ -1882,11 +1439,6 @@ packages: supports-color: 7.2.0 dev: true - /char-regex/1.0.2: - resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} - engines: {node: '>=10'} - dev: true - /character-entities-legacy/1.1.4: resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} dev: true @@ -1947,14 +1499,15 @@ packages: engines: {node: '>=6.0'} dev: true - /ci-info/3.3.0: - resolution: {integrity: sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==} - dev: true - /ci-info/3.3.2: resolution: {integrity: sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==} dev: true + /ci-info/3.7.1: + resolution: {integrity: sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w==} + engines: {node: '>=8'} + dev: true + /cipher-base/1.0.4: resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} dependencies: @@ -1962,10 +1515,6 @@ packages: safe-buffer: 5.2.1 dev: true - /cjs-module-lexer/1.2.2: - resolution: {integrity: sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==} - dev: true - /class-utils/0.3.6: resolution: {integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==} engines: {node: '>=0.10.0'} @@ -1983,23 +1532,6 @@ packages: escape-string-regexp: 1.0.5 dev: true - /cliui/7.0.4: - resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} - dependencies: - string-width: 4.2.3 - strip-ansi: 6.0.1 - wrap-ansi: 7.0.0 - dev: true - - /co/4.6.0: - resolution: {integrity: sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=} - engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} - dev: true - - /collect-v8-coverage/1.0.1: - resolution: {integrity: sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==} - dev: true - /collection-visit/1.0.0: resolution: {integrity: sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=} engines: {node: '>=0.10.0'} @@ -2033,13 +1565,6 @@ packages: resolution: {integrity: sha512-ecORCqbSFP7Wm8Y6lyqMJjexBQqXSF7SSeaTyGGphogUjBlFP9m9o08wy86HL2uB7fMTxtOUzLMk7ogKcxMg1w==} dev: true - /combined-stream/1.0.8: - resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} - engines: {node: '>= 0.8'} - dependencies: - delayed-stream: 1.0.0 - dev: true - /commander/2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} dev: true @@ -2083,12 +1608,6 @@ packages: resolution: {integrity: sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=} dev: true - /convert-source-map/1.8.0: - resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} - dependencies: - safe-buffer: 5.1.2 - dev: true - /copy-concurrently/1.0.5: resolution: {integrity: sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==} dependencies: @@ -2177,7 +1696,7 @@ packages: postcss-modules-values: 4.0.0_postcss@8.3.6 postcss-value-parser: 4.1.0 schema-utils: 3.1.1 - semver: 7.3.5 + semver: 7.3.8 webpack: 4.46.0 dev: true @@ -2187,34 +1706,10 @@ packages: hasBin: true dev: true - /cssom/0.3.8: - resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} - dev: true - - /cssom/0.4.4: - resolution: {integrity: sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==} - dev: true - - /cssstyle/2.3.0: - resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} - engines: {node: '>=8'} - dependencies: - cssom: 0.3.8 - dev: true - /cyclist/1.0.1: resolution: {integrity: sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=} dev: true - /data-urls/2.0.0: - resolution: {integrity: sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==} - engines: {node: '>=10'} - dependencies: - abab: 2.0.5 - whatwg-mimetype: 2.3.0 - whatwg-url: 8.7.0 - dev: true - /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -2249,28 +1744,15 @@ packages: ms: 2.1.2 dev: true - /decimal.js/10.3.1: - resolution: {integrity: sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==} - dev: true - /decode-uri-component/0.2.0: resolution: {integrity: sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=} engines: {node: '>=0.10'} dev: true - /dedent/0.7.0: - resolution: {integrity: sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=} - dev: true - /deep-is/0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true - /deepmerge/4.2.2: - resolution: {integrity: sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==} - engines: {node: '>=0.10.0'} - dev: true - /define-lazy-prop/2.0.0: resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} engines: {node: '>=8'} @@ -2306,11 +1788,6 @@ packages: isobject: 3.0.1 dev: true - /delayed-stream/1.0.0: - resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=} - engines: {node: '>=0.4.0'} - dev: true - /des.js/1.0.1: resolution: {integrity: sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==} dependencies: @@ -2318,14 +1795,9 @@ packages: minimalistic-assert: 1.0.1 dev: true - /detect-newline/3.1.0: - resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} - engines: {node: '>=8'} - dev: true - - /diff-sequences/27.4.0: - resolution: {integrity: sha512-YqiQzkrsmHMH5uuh8OdQFU9/ZpADnwzml8z0O5HvRNda+5UZsaX/xN+AAxfR2hWq1Y7HZnAzO9J5lJXOuDz2Ww==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /diff-sequences/29.3.1: + resolution: {integrity: sha512-hlM3QR272NXCi4pq+N4Kok4kOp6EsgOM3ZSpJI7Da3UAs+Ttsi8MRmB6trM/lhyzUxGfOgnpkHtgqm5Q/CTcfQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true /diffie-hellman/5.0.3: @@ -2362,13 +1834,6 @@ packages: engines: {node: '>=0.4', npm: '>=1.2'} dev: true - /domexception/2.0.1: - resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==} - engines: {node: '>=8'} - dependencies: - webidl-conversions: 5.0.0 - dev: true - /duplexify/3.7.1: resolution: {integrity: sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==} dependencies: @@ -2378,8 +1843,8 @@ packages: stream-shift: 1.0.1 dev: true - /electron-to-chromium/1.4.188: - resolution: {integrity: sha512-Zpa1+E+BVmD/orkyz1Z2dAT1XNUuVAHB3GrogfyY66dXN0ZWSsygI8+u6QTDai1ZayLcATDJpcv2Z2AZjEcr1A==} + /electron-to-chromium/1.4.284: + resolution: {integrity: sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==} dev: true /elliptic/6.5.4: @@ -2394,15 +1859,6 @@ packages: minimalistic-crypto-utils: 1.0.1 dev: true - /emittery/0.8.1: - resolution: {integrity: sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==} - engines: {node: '>=10'} - dev: true - - /emoji-regex/8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: true - /emojis-list/3.0.0: resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} engines: {node: '>= 4'} @@ -2422,8 +1878,8 @@ packages: tapable: 1.1.3 dev: true - /enhanced-resolve/5.10.0: - resolution: {integrity: sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ==} + /enhanced-resolve/5.12.0: + resolution: {integrity: sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==} engines: {node: '>=10.13.0'} dependencies: graceful-fs: 4.2.10 @@ -2443,39 +1899,58 @@ packages: is-arrayish: 0.2.1 dev: true - /es-abstract/1.20.1: - resolution: {integrity: sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==} + /es-abstract/1.21.1: + resolution: {integrity: sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==} engines: {node: '>= 0.4'} dependencies: + available-typed-arrays: 1.0.5 call-bind: 1.0.2 + es-set-tostringtag: 2.0.1 es-to-primitive: 1.2.1 function-bind: 1.1.1 function.prototype.name: 1.1.5 - get-intrinsic: 1.1.2 + get-intrinsic: 1.1.3 get-symbol-description: 1.0.0 + globalthis: 1.0.3 + gopd: 1.0.1 has: 1.0.3 has-property-descriptors: 1.0.0 + has-proto: 1.0.1 has-symbols: 1.0.3 - internal-slot: 1.0.3 - is-callable: 1.2.4 + internal-slot: 1.0.4 + is-array-buffer: 3.0.1 + is-callable: 1.2.7 is-negative-zero: 2.0.2 is-regex: 1.1.4 is-shared-array-buffer: 1.0.2 is-string: 1.0.7 + is-typed-array: 1.1.10 is-weakref: 1.0.2 object-inspect: 1.12.2 object-keys: 1.1.1 - object.assign: 4.1.2 + object.assign: 4.1.4 regexp.prototype.flags: 1.4.3 - string.prototype.trimend: 1.0.5 - string.prototype.trimstart: 1.0.5 + safe-regex-test: 1.0.0 + string.prototype.trimend: 1.0.6 + string.prototype.trimstart: 1.0.6 + typed-array-length: 1.0.4 unbox-primitive: 1.0.2 + which-typed-array: 1.1.9 dev: true /es-module-lexer/0.9.3: resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==} dev: true + /es-set-tostringtag/2.0.1: + resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.1.3 + has: 1.0.3 + has-tostringtag: 1.0.0 + dev: true + /es-shim-unscopables/1.0.0: resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} dependencies: @@ -2486,198 +1961,249 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} dependencies: - is-callable: 1.2.4 + is-callable: 1.2.7 is-date-object: 1.0.5 is-symbol: 1.0.4 dev: true - /esbuild-android-64/0.15.6: - resolution: {integrity: sha512-Z1CHSgB1crVQi2LKSBwSkpaGtaloVz0ZIYcRMsvHc3uSXcR/x5/bv9wcZspvH/25lIGTaViosciS/NS09ERmVA==} + /esbuild-android-64/0.15.18: + resolution: {integrity: sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==} engines: {node: '>=12'} cpu: [x64] os: [android] requiresBuild: true + dev: true optional: true - /esbuild-android-arm64/0.15.6: - resolution: {integrity: sha512-mvM+gqNxqKm2pCa3dnjdRzl7gIowuc4ga7P7c3yHzs58Im8v/Lfk1ixSgQ2USgIywT48QWaACRa3F4MG7djpSw==} + /esbuild-android-arm64/0.15.18: + resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true + dev: true optional: true - /esbuild-darwin-64/0.15.6: - resolution: {integrity: sha512-BsfVt3usScAfGlXJiGtGamwVEOTM8AiYiw1zqDWhGv6BncLXCnTg1As+90mxWewdTZKq3iIy8s9g8CKkrrAXVw==} + /esbuild-darwin-64/0.15.18: + resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} engines: {node: '>=12'} cpu: [x64] os: [darwin] requiresBuild: true + dev: true optional: true - /esbuild-darwin-arm64/0.15.6: - resolution: {integrity: sha512-CnrAeJaEpPakUobhqO4wVSA4Zm6TPaI5UY4EsI62j9mTrjIyQPXA1n4Ju6Iu5TVZRnEqV6q8blodgYJ6CJuwCA==} + /esbuild-darwin-arm64/0.15.18: + resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] requiresBuild: true + dev: true optional: true - /esbuild-freebsd-64/0.15.6: - resolution: {integrity: sha512-+qFdmqi+jkAsxsNJkaWVrnxEUUI50nu6c3MBVarv3RCDCbz7ZS1a4ZrdkwEYFnKcVWu6UUE0Kkb1SQ1yGEG6sg==} + /esbuild-freebsd-64/0.15.18: + resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] requiresBuild: true + dev: true optional: true - /esbuild-freebsd-arm64/0.15.6: - resolution: {integrity: sha512-KtQkQOhnNciXm2yrTYZMD3MOm2zBiiwFSU+dkwNbcfDumzzUprr1x70ClTdGuZwieBS1BM/k0KajRQX7r504Xw==} + /esbuild-freebsd-arm64/0.15.18: + resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true optional: true - /esbuild-linux-32/0.15.6: - resolution: {integrity: sha512-IAkDNz3TpxwISTGVdQijwyHBZrbFgLlRi5YXcvaEHtgbmayLSDcJmH5nV1MFgo/x2QdKcHBkOYHdjhKxUAcPwg==} + /esbuild-linux-32/0.15.18: + resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-64/0.15.6: - resolution: {integrity: sha512-gQPksyrEYfA4LJwyfTQWAZaVZCx4wpaLrSzo2+Xc9QLC+i/sMWmX31jBjrn4nLJCd79KvwCinto36QC7BEIU/A==} + /esbuild-linux-64/0.15.18: + resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} engines: {node: '>=12'} cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-arm/0.15.6: - resolution: {integrity: sha512-xZ0Bq2aivsthDjA/ytQZzxrxIZbG0ATJYMJxNeOIBc1zUjpbVpzBKgllOZMsTSXMHFHGrow6TnCcgwqY0+oEoQ==} + /esbuild-linux-arm/0.15.18: + resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} engines: {node: '>=12'} cpu: [arm] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-arm64/0.15.6: - resolution: {integrity: sha512-aovDkclFa6C9EdZVBuOXxqZx83fuoq8097xZKhEPSygwuy4Lxs8J4anHG7kojAsR+31lfUuxzOo2tHxv7EiNHA==} + /esbuild-linux-arm64/0.15.18: + resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} engines: {node: '>=12'} cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-mips64le/0.15.6: - resolution: {integrity: sha512-wVpW8wkWOGizsCqCwOR/G3SHwhaecpGy3fic9BF1r7vq4djLjUcA8KunDaBCjJ6TgLQFhJ98RjDuyEf8AGjAvw==} + /esbuild-linux-mips64le/0.15.18: + resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-ppc64le/0.15.6: - resolution: {integrity: sha512-z6w6gsPH/Y77uchocluDC8tkCg9rfkcPTePzZKNr879bF4tu7j9t255wuNOCE396IYEGxY7y8u2HJ9i7kjCLVw==} + /esbuild-linux-ppc64le/0.15.18: + resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-riscv64/0.15.6: - resolution: {integrity: sha512-pfK/3MJcmbfU399TnXW5RTPS1S+ID6ra+CVj9TFZ2s0q9Ja1F5A1VirUUvViPkjiw+Kq3zveyn6U09Wg1zJXrw==} + /esbuild-linux-riscv64/0.15.18: + resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-linux-s390x/0.15.6: - resolution: {integrity: sha512-OZeeDu32liefcwAE63FhVqM4heWTC8E3MglOC7SK0KYocDdY/6jyApw0UDkDHlcEK9mW6alX/SH9r3PDjcCo/Q==} + /esbuild-linux-s390x/0.15.18: + resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} engines: {node: '>=12'} cpu: [s390x] os: [linux] requiresBuild: true + dev: true optional: true - /esbuild-netbsd-64/0.15.6: - resolution: {integrity: sha512-kaxw61wcHMyiEsSsi5ut1YYs/hvTC2QkxJwyRvC2Cnsz3lfMLEu8zAjpBKWh9aU/N0O/gsRap4wTur5GRuSvBA==} + /esbuild-netbsd-64/0.15.18: + resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] requiresBuild: true + dev: true optional: true - /esbuild-openbsd-64/0.15.6: - resolution: {integrity: sha512-CuoY60alzYfIZapUHqFXqXbj88bbRJu8Fp9okCSHRX2zWIcGz4BXAHXiG7dlCye5nFVrY72psesLuWdusyf2qw==} + /esbuild-openbsd-64/0.15.18: + resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] requiresBuild: true + dev: true optional: true - /esbuild-sunos-64/0.15.6: - resolution: {integrity: sha512-1ceefLdPWcd1nW/ZLruPEYxeUEAVX0YHbG7w+BB4aYgfknaLGotI/ZvPWUZpzhC8l1EybrVlz++lm3E6ODIJOg==} + /esbuild-sunos-64/0.15.18: + resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} engines: {node: '>=12'} cpu: [x64] os: [sunos] requiresBuild: true + dev: true optional: true - /esbuild-windows-32/0.15.6: - resolution: {integrity: sha512-pBqdOsKqCD5LRYiwF29PJRDJZi7/Wgkz46u3d17MRFmrLFcAZDke3nbdDa1c8YgY78RiemudfCeAemN8EBlIpA==} + /esbuild-windows-32/0.15.18: + resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} engines: {node: '>=12'} cpu: [ia32] os: [win32] requiresBuild: true + dev: true optional: true - /esbuild-windows-64/0.15.6: - resolution: {integrity: sha512-KpPOh4aTOo//g9Pk2oVAzXMpc9Sz9n5A9sZTmWqDSXCiiachfFhbuFlsKBGATYCVitXfmBIJ4nNYYWSOdz4hQg==} + /esbuild-windows-64/0.15.18: + resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} engines: {node: '>=12'} cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true - /esbuild-windows-arm64/0.15.6: - resolution: {integrity: sha512-DB3G2x9OvFEa00jV+OkDBYpufq5x/K7a6VW6E2iM896DG4ZnAvJKQksOsCPiM1DUaa+DrijXAQ/ZOcKAqf/3Hg==} + /esbuild-windows-arm64/0.15.18: + resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} engines: {node: '>=12'} cpu: [arm64] os: [win32] requiresBuild: true + dev: true optional: true - /esbuild/0.15.6: - resolution: {integrity: sha512-sgLOv3l4xklvXzzczhRwKRotyrfyZ2i1fCS6PTOLPd9wevDPArGU8HFtHrHCOcsMwTjLjzGm15gvC8uxVzQf+w==} + /esbuild/0.15.18: + resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.15.18 + '@esbuild/linux-loong64': 0.15.18 + esbuild-android-64: 0.15.18 + esbuild-android-arm64: 0.15.18 + esbuild-darwin-64: 0.15.18 + esbuild-darwin-arm64: 0.15.18 + esbuild-freebsd-64: 0.15.18 + esbuild-freebsd-arm64: 0.15.18 + esbuild-linux-32: 0.15.18 + esbuild-linux-64: 0.15.18 + esbuild-linux-arm: 0.15.18 + esbuild-linux-arm64: 0.15.18 + esbuild-linux-mips64le: 0.15.18 + esbuild-linux-ppc64le: 0.15.18 + esbuild-linux-riscv64: 0.15.18 + esbuild-linux-s390x: 0.15.18 + esbuild-netbsd-64: 0.15.18 + esbuild-openbsd-64: 0.15.18 + esbuild-sunos-64: 0.15.18 + esbuild-windows-32: 0.15.18 + esbuild-windows-64: 0.15.18 + esbuild-windows-arm64: 0.15.18 + dev: true + + /esbuild/0.16.17: + resolution: {integrity: sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/linux-loong64': 0.15.6 - esbuild-android-64: 0.15.6 - esbuild-android-arm64: 0.15.6 - esbuild-darwin-64: 0.15.6 - esbuild-darwin-arm64: 0.15.6 - esbuild-freebsd-64: 0.15.6 - esbuild-freebsd-arm64: 0.15.6 - esbuild-linux-32: 0.15.6 - esbuild-linux-64: 0.15.6 - esbuild-linux-arm: 0.15.6 - esbuild-linux-arm64: 0.15.6 - esbuild-linux-mips64le: 0.15.6 - esbuild-linux-ppc64le: 0.15.6 - esbuild-linux-riscv64: 0.15.6 - esbuild-linux-s390x: 0.15.6 - esbuild-netbsd-64: 0.15.6 - esbuild-openbsd-64: 0.15.6 - esbuild-sunos-64: 0.15.6 - esbuild-windows-32: 0.15.6 - esbuild-windows-64: 0.15.6 - esbuild-windows-arm64: 0.15.6 + '@esbuild/android-arm': 0.16.17 + '@esbuild/android-arm64': 0.16.17 + '@esbuild/android-x64': 0.16.17 + '@esbuild/darwin-arm64': 0.16.17 + '@esbuild/darwin-x64': 0.16.17 + '@esbuild/freebsd-arm64': 0.16.17 + '@esbuild/freebsd-x64': 0.16.17 + '@esbuild/linux-arm': 0.16.17 + '@esbuild/linux-arm64': 0.16.17 + '@esbuild/linux-ia32': 0.16.17 + '@esbuild/linux-loong64': 0.16.17 + '@esbuild/linux-mips64el': 0.16.17 + '@esbuild/linux-ppc64': 0.16.17 + '@esbuild/linux-riscv64': 0.16.17 + '@esbuild/linux-s390x': 0.16.17 + '@esbuild/linux-x64': 0.16.17 + '@esbuild/netbsd-x64': 0.16.17 + '@esbuild/openbsd-x64': 0.16.17 + '@esbuild/sunos-x64': 0.16.17 + '@esbuild/win32-arm64': 0.16.17 + '@esbuild/win32-ia32': 0.16.17 + '@esbuild/win32-x64': 0.16.17 /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -2699,59 +2225,50 @@ packages: engines: {node: '>=10'} dev: true - /escodegen/2.0.0: - resolution: {integrity: sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==} - engines: {node: '>=6.0'} - hasBin: true - dependencies: - esprima: 4.0.1 - estraverse: 5.3.0 - esutils: 2.0.3 - optionator: 0.8.3 - optionalDependencies: - source-map: 0.6.1 - dev: true - - /eslint-import-resolver-node/0.3.6: - resolution: {integrity: sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==} + /eslint-import-resolver-node/0.3.7: + resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==} dependencies: debug: 3.2.7 + is-core-module: 2.11.0 resolve: 1.22.1 transitivePeerDependencies: - supports-color dev: true - /eslint-import-resolver-typescript/3.2.5_q2xwze32dd33a2fc2qubwr4ie4: - resolution: {integrity: sha512-yEBi/EWxFFMjcZTBxrgdu5cFAXB2atOhYDhp0P0yHqjZa5YiPNqQVt4/lNNVWwW7Kf8IIZmyeBboWOgsfffe7w==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + /eslint-import-resolver-typescript/3.5.3_hnftvkj7qg3s6bbigj4pr6djxy: + resolution: {integrity: sha512-njRcKYBc3isE42LaTcJNVANR3R99H9bAxBDMNDr2W7yq5gYPxbU3MkdhsQukxZ/Xg9C2vcyLlDsbKfRDg0QvCQ==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '*' eslint-plugin-import: '*' dependencies: debug: 4.3.4 - enhanced-resolve: 5.10.0 - eslint: 8.19.0 - eslint-plugin-import: 2.26.0_txgtzxbwwbsdf6liwdfp2zycdy - get-tsconfig: /@unts/get-tsconfig/4.1.1 - globby: 13.1.2 - is-core-module: 2.9.0 + enhanced-resolve: 5.12.0 + eslint: 8.31.0 + eslint-plugin-import: 2.27.4_2ac3tknkazjoq5fxmuugu665ny + get-tsconfig: 4.3.0 + globby: 13.1.3 + is-core-module: 2.11.0 is-glob: 4.0.3 - synckit: 0.7.2 + synckit: 0.8.4 transitivePeerDependencies: - supports-color dev: true - /eslint-module-utils/2.7.3_adcwpkg4usihyvzg6ysrflevky: - resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} + /eslint-module-utils/2.7.4_v73lhamtbyinynmwa5fn7kpmfq: + resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' + eslint: '*' eslint-import-resolver-node: '*' eslint-import-resolver-typescript: '*' eslint-import-resolver-webpack: '*' peerDependenciesMeta: '@typescript-eslint/parser': optional: true + eslint: + optional: true eslint-import-resolver-node: optional: true eslint-import-resolver-typescript: @@ -2759,39 +2276,39 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.30.6_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/parser': 5.48.1_iukboom6ndih5an6iafl45j2fe debug: 3.2.7 - eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 3.2.5_q2xwze32dd33a2fc2qubwr4ie4 - find-up: 2.1.0 + eslint: 8.31.0 + eslint-import-resolver-node: 0.3.7 + eslint-import-resolver-typescript: 3.5.3_hnftvkj7qg3s6bbigj4pr6djxy transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-es/3.0.1_eslint@8.19.0: + /eslint-plugin-es/3.0.1_eslint@8.31.0: resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.19.0 + eslint: 8.31.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-eslint-comments/3.2.0_eslint@8.19.0: + /eslint-plugin-eslint-comments/3.2.0_eslint@8.31.0: resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} engines: {node: '>=6.5.0'} peerDependencies: eslint: '>=4.19.1' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.19.0 - ignore: 5.2.0 + eslint: 8.31.0 + ignore: 5.2.4 dev: true - /eslint-plugin-import/2.26.0_txgtzxbwwbsdf6liwdfp2zycdy: - resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} + /eslint-plugin-import/2.27.4_2ac3tknkazjoq5fxmuugu665ny: + resolution: {integrity: sha512-Z1jVt1EGKia1X9CnBCkpAOhWy8FgQ7OmJ/IblEkT82yrFU/xJaxwujaTzLWqigewwynRQ9mmHfX9MtAfhxm0sA==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -2800,20 +2317,22 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.30.6_4x5o4skxv6sl53vpwefgt23khm - array-includes: 3.1.5 - array.prototype.flat: 1.3.0 - debug: 2.6.9 + '@typescript-eslint/parser': 5.48.1_iukboom6ndih5an6iafl45j2fe + array-includes: 3.1.6 + array.prototype.flat: 1.3.1 + array.prototype.flatmap: 1.3.1 + debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.19.0 - eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3_adcwpkg4usihyvzg6ysrflevky + eslint: 8.31.0 + eslint-import-resolver-node: 0.3.7 + eslint-module-utils: 2.7.4_v73lhamtbyinynmwa5fn7kpmfq has: 1.0.3 - is-core-module: 2.9.0 + is-core-module: 2.11.0 is-glob: 4.0.3 minimatch: 3.1.2 - object.values: 1.1.5 + object.values: 1.1.6 resolve: 1.22.1 + semver: 6.3.0 tsconfig-paths: 3.14.1 transitivePeerDependencies: - eslint-import-resolver-typescript @@ -2821,25 +2340,25 @@ packages: - supports-color dev: true - /eslint-plugin-jsonc/2.3.1_eslint@8.19.0: - resolution: {integrity: sha512-8sgWGWiVRMFL6xGawRymrE4RjZJgiU0rXYgFFb71wvdwuUkPgWSvfFtc8jfwcgjjqFjis8vzCUFsg7SciMEDWw==} + /eslint-plugin-jsonc/2.6.0_eslint@8.31.0: + resolution: {integrity: sha512-4bA9YTx58QaWalua1Q1b82zt7eZMB7i+ed8q8cKkbKP75ofOA2SXbtFyCSok7RY6jIXeCqQnKjN9If8zCgv6PA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.19.0 - eslint-utils: 3.0.0_eslint@8.19.0 + eslint: 8.31.0 + eslint-utils: 3.0.0_eslint@8.31.0 jsonc-eslint-parser: 2.1.0 natural-compare: 1.4.0 dev: true - /eslint-plugin-markdown/2.2.1_eslint@8.19.0: - resolution: {integrity: sha512-FgWp4iyYvTFxPwfbxofTvXxgzPsDuSKHQy2S+a8Ve6savbujey+lgrFFbXQA0HPygISpRYWYBjooPzhYSF81iA==} - engines: {node: ^8.10.0 || ^10.12.0 || >= 12.0.0} + /eslint-plugin-markdown/3.0.0_eslint@8.31.0: + resolution: {integrity: sha512-hRs5RUJGbeHDLfS7ELanT0e29Ocyssf/7kBM+p7KluY5AwngGkDf8Oyu4658/NZSGTTq05FZeWbkxXtbVyHPwg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: - eslint: '>=6.0.0' + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.19.0 + eslint: 8.31.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color @@ -2855,71 +2374,72 @@ packages: is-proto-prop: 2.0.0 dev: true - /eslint-plugin-node/11.1.0_eslint@8.19.0: + /eslint-plugin-node/11.1.0_eslint@8.31.0: resolution: {integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=5.16.0' dependencies: - eslint: 8.19.0 - eslint-plugin-es: 3.0.1_eslint@8.19.0 + eslint: 8.31.0 + eslint-plugin-es: 3.0.1_eslint@8.31.0 eslint-utils: 2.1.0 - ignore: 5.2.0 + ignore: 5.2.4 minimatch: 3.1.2 resolve: 1.22.1 semver: 6.3.0 dev: true - /eslint-plugin-promise/6.0.0_eslint@8.19.0: - resolution: {integrity: sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==} + /eslint-plugin-promise/6.1.1_eslint@8.31.0: + resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.19.0 + eslint: 8.31.0 dev: true - /eslint-plugin-react-hooks/4.6.0_eslint@8.19.0: + /eslint-plugin-react-hooks/4.6.0_eslint@8.31.0: resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 dependencies: - eslint: 8.19.0 + eslint: 8.31.0 dev: true - /eslint-plugin-react/7.30.1_eslint@8.19.0: - resolution: {integrity: sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg==} + /eslint-plugin-react/7.32.0_eslint@8.31.0: + resolution: {integrity: sha512-vSBi1+SrPiLZCGvxpiZIa28fMEUaMjXtCplrvxcIxGzmFiYdsXQDwInEjuv5/i/2CTTxbkS87tE8lsQ0Qxinbw==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 dependencies: - array-includes: 3.1.5 - array.prototype.flatmap: 1.3.0 + array-includes: 3.1.6 + array.prototype.flatmap: 1.3.1 + array.prototype.tosorted: 1.1.1 doctrine: 2.1.0 - eslint: 8.19.0 + eslint: 8.31.0 estraverse: 5.3.0 - jsx-ast-utils: 3.3.2 + jsx-ast-utils: 3.3.3 minimatch: 3.1.2 - object.entries: 1.1.5 - object.fromentries: 2.0.5 - object.hasown: 1.1.1 - object.values: 1.1.5 + object.entries: 1.1.6 + object.fromentries: 2.0.6 + object.hasown: 1.1.2 + object.values: 1.1.6 prop-types: 15.8.1 resolve: 2.0.0-next.4 semver: 6.3.0 - string.prototype.matchall: 4.0.7 + string.prototype.matchall: 4.0.8 dev: true - /eslint-plugin-regexp/1.7.0_eslint@8.19.0: - resolution: {integrity: sha512-nmhXqrEP+O+dz2z5MSkc41u/4fA8oakweoCUdfYwox7DBhzadEqZz8T+s6/UiY0NIU0kv+3UrzBfhPp4wUxbaA==} + /eslint-plugin-regexp/1.12.0_eslint@8.31.0: + resolution: {integrity: sha512-A1lnzOqHC22Ve8PZJgcw5pDHk5Sxp7J/pY86u027lVEGpUwe7dhZVVsy3SCm/cN438Zts8e9c09KGIVK4IixuA==} engines: {node: ^12 || >=14} peerDependencies: eslint: '>=6.0.0' dependencies: comment-parser: 1.3.1 - eslint: 8.19.0 - eslint-utils: 3.0.0_eslint@8.19.0 + eslint: 8.31.0 + eslint-utils: 3.0.0_eslint@8.31.0 grapheme-splitter: 1.0.4 jsdoctypeparser: 9.0.0 refa: 0.9.1 @@ -2928,42 +2448,42 @@ packages: scslre: 0.1.6 dev: true - /eslint-plugin-unicorn/42.0.0_eslint@8.19.0: - resolution: {integrity: sha512-ixBsbhgWuxVaNlPTT8AyfJMlhyC5flCJFjyK3oKE8TRrwBnaHvUbuIkCM1lqg8ryYrFStL/T557zfKzX4GKSlg==} - engines: {node: '>=12'} + /eslint-plugin-unicorn/44.0.2_eslint@8.31.0: + resolution: {integrity: sha512-GLIDX1wmeEqpGaKcnMcqRvMVsoabeF0Ton0EX4Th5u6Kmf7RM9WBl705AXFEsns56ESkEs0uyelLuUTvz9Tr0w==} + engines: {node: '>=14.18'} peerDependencies: - eslint: '>=8.8.0' + eslint: '>=8.23.1' dependencies: - '@babel/helper-validator-identifier': 7.18.6 - ci-info: 3.3.2 + '@babel/helper-validator-identifier': 7.19.1 + ci-info: 3.7.1 clean-regexp: 1.0.0 - eslint: 8.19.0 - eslint-utils: 3.0.0_eslint@8.19.0 + eslint: 8.31.0 + eslint-utils: 3.0.0_eslint@8.31.0 esquery: 1.4.0 indent-string: 4.0.0 - is-builtin-module: 3.1.0 + is-builtin-module: 3.2.0 lodash: 4.17.21 pluralize: 8.0.0 read-pkg-up: 7.0.1 regexp-tree: 0.1.24 safe-regex: 2.1.1 - semver: 7.3.7 + semver: 7.3.8 strip-indent: 3.0.0 dev: true - /eslint-plugin-vue/9.2.0_eslint@8.19.0: - resolution: {integrity: sha512-W2hc+NUXoce8sZtWgZ45miQTy6jNyuSdub5aZ1IBune4JDeAyzucYX0TzkrQ1jMO52sNUDYlCIHDoaNePe0p5g==} + /eslint-plugin-vue/9.8.0_eslint@8.31.0: + resolution: {integrity: sha512-E/AXwcTzunyzM83C2QqDHxepMzvI2y6x+mmeYHbVDQlKFqmKYvRrhaVixEeeG27uI44p9oKDFiyCRw4XxgtfHA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.19.0 - eslint-utils: 3.0.0_eslint@8.19.0 + eslint: 8.31.0 + eslint-utils: 3.0.0_eslint@8.31.0 natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 6.0.10 - semver: 7.3.7 - vue-eslint-parser: 9.0.3_eslint@8.19.0 + postcss-selector-parser: 6.0.11 + semver: 7.3.8 + vue-eslint-parser: 9.1.0_eslint@8.31.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -3000,13 +2520,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.19.0: + /eslint-utils/3.0.0_eslint@8.31.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.19.0 + eslint: 8.31.0 eslint-visitor-keys: 2.1.0 dev: true @@ -3025,13 +2545,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.19.0: - resolution: {integrity: sha512-SXOPj3x9VKvPe81TjjUJCYlV4oJjQw68Uek+AM0X4p+33dj2HY5bpTZOgnQHcG2eAm1mtCU9uNMnJi7exU/kYw==} + /eslint/8.31.0: + resolution: {integrity: sha512-0tQQEVdmPZ1UtUKXjX7EMm9BlgJ08G90IhWh0PKDCb3ZLsgAOHI8fYSIzYVZej92zsgq+ft0FGsxhJ3xo2tbuA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.3.0 - '@humanwhocodes/config-array': 0.9.5 + '@eslint/eslintrc': 1.4.1 + '@humanwhocodes/config-array': 0.11.8 + '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 @@ -3039,20 +2561,23 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.19.0 + eslint-utils: 3.0.0_eslint@8.31.0 eslint-visitor-keys: 3.3.0 - espree: 9.3.2 + espree: 9.4.1 esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 - functional-red-black-tree: 1.0.1 + find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.16.0 - ignore: 5.2.0 + globals: 13.19.0 + grapheme-splitter: 1.0.4 + ignore: 5.2.4 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 + is-path-inside: 3.0.3 + js-sdsl: 4.2.0 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -3064,26 +2589,19 @@ packages: strip-ansi: 6.0.1 strip-json-comments: 3.1.1 text-table: 0.2.0 - v8-compile-cache: 2.3.0 transitivePeerDependencies: - supports-color dev: true - /espree/9.3.2: - resolution: {integrity: sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==} + /espree/9.4.1: + resolution: {integrity: sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.7.1 - acorn-jsx: 5.3.2_acorn@8.7.1 + acorn: 8.8.1 + acorn-jsx: 5.3.2_acorn@8.8.1 eslint-visitor-keys: 3.3.0 dev: true - /esprima/4.0.1: - resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} - engines: {node: '>=4'} - hasBin: true - dev: true - /esquery/1.4.0: resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} engines: {node: '>=0.10'} @@ -3125,26 +2643,6 @@ packages: safe-buffer: 5.2.1 dev: true - /execa/5.1.1: - resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} - engines: {node: '>=10'} - dependencies: - cross-spawn: 7.0.3 - get-stream: 6.0.1 - human-signals: 2.1.0 - is-stream: 2.0.1 - merge-stream: 2.0.0 - npm-run-path: 4.0.1 - onetime: 5.1.2 - signal-exit: 3.0.6 - strip-final-newline: 2.0.0 - dev: true - - /exit/0.1.2: - resolution: {integrity: sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=} - engines: {node: '>= 0.8.0'} - dev: true - /expand-brackets/2.1.4: resolution: {integrity: sha1-t3c14xXOMPa27/D4OwQVGiJEliI=} engines: {node: '>=0.10.0'} @@ -3160,16 +2658,15 @@ packages: - supports-color dev: true - /expect/27.4.2: - resolution: {integrity: sha512-BjAXIDC6ZOW+WBFNg96J22D27Nq5ohn+oGcuP2rtOtcjuxNoV9McpQ60PcQWhdFOSBIQdR72e+4HdnbZTFSTyg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /expect/29.3.1: + resolution: {integrity: sha512-gGb1yTgU30Q0O/tQq+z30KBWv24ApkMgFUpvKBkyLUBL68Wv8dHdJxTBZFl/iT8K/bqDHvUYRH6IIN3rToopPA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.4.2 - ansi-styles: 5.2.0 - jest-get-type: 27.4.0 - jest-matcher-utils: 27.4.2 - jest-message-util: 27.4.2 - jest-regex-util: 27.4.0 + '@jest/expect-utils': 29.3.1 + jest-get-type: 29.2.0 + jest-matcher-utils: 29.3.1 + jest-message-util: 29.3.1 + jest-util: 29.3.1 dev: true /extend-shallow/2.0.1: @@ -3207,8 +2704,8 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true - /fast-glob/3.2.11: - resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==} + /fast-glob/3.2.12: + resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} engines: {node: '>=8.6.0'} dependencies: '@nodelib/fs.stat': 2.0.5 @@ -3226,18 +2723,12 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fastq/1.13.0: - resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} + /fastq/1.15.0: + resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} dependencies: reusify: 1.0.4 dev: true - /fb-watchman/2.0.1: - resolution: {integrity: sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==} - dependencies: - bser: 2.1.1 - dev: true - /figgy-pudding/3.5.2: resolution: {integrity: sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==} dev: true @@ -3280,13 +2771,6 @@ packages: pkg-dir: 3.0.0 dev: true - /find-up/2.1.0: - resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} - engines: {node: '>=4'} - dependencies: - locate-path: 2.0.0 - dev: true - /find-up/3.0.0: resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} engines: {node: '>=6'} @@ -3302,16 +2786,24 @@ packages: path-exists: 4.0.0 dev: true + /find-up/5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: true + /flat-cache/3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flatted: 3.2.6 + flatted: 3.2.7 rimraf: 3.0.2 dev: true - /flatted/3.2.6: - resolution: {integrity: sha512-0sQoMh9s0BYsm+12Huy/rkKxVu4R1+r96YX5cG44rHV0pQ6iC3Q+mkoMFaGWObMFYQxCVT+ssG1ksneA2MI9KQ==} + /flatted/3.2.7: + resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} dev: true /flush-write-stream/1.1.1: @@ -3321,20 +2813,17 @@ packages: readable-stream: 2.3.7 dev: true + /for-each/0.3.3: + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + dependencies: + is-callable: 1.2.7 + dev: true + /for-in/1.0.2: resolution: {integrity: sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=} engines: {node: '>=0.10.0'} dev: true - /form-data/3.0.1: - resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} - engines: {node: '>= 6'} - dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 - dev: true - /fragment-cache/0.2.1: resolution: {integrity: sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=} engines: {node: '>=0.10.0'} @@ -3353,8 +2842,8 @@ packages: resolution: {integrity: sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==} dev: true - /fs-require/1.4.0: - resolution: {integrity: sha512-ZytCzc6QAE0lprblNErZJuDVNoT0JPRSBCUXIMrIB0mLlwcAppbE5fqUyqC8zhgrrR3+whvpKLxOqtk8EnSbeA==} + /fs-require/1.6.0: + resolution: {integrity: sha512-zk5lFDV09Ef+CwOuPI/Q46lNdyzypPH/dB4Ywnyt40l2yqe5Z8ZJBGFaaYHwOwXAtKJEW4lSsn6V26erlEXVGA==} dev: true /fs-write-stream-atomic/1.0.10: @@ -3400,57 +2889,37 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 functions-have-names: 1.2.3 dev: true - /functional-red-black-tree/1.0.1: - resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} - dev: true - /functions-have-names/1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} dev: true - /gensync/1.0.0-beta.2: - resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} - engines: {node: '>=6.9.0'} - dev: true - - /get-caller-file/2.0.5: - resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} - engines: {node: 6.* || 8.* || >= 10.*} - dev: true - - /get-intrinsic/1.1.2: - resolution: {integrity: sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==} + /get-intrinsic/1.1.3: + resolution: {integrity: sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==} dependencies: function-bind: 1.1.1 has: 1.0.3 has-symbols: 1.0.3 dev: true - /get-package-type/0.1.0: - resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} - engines: {node: '>=8.0.0'} - dev: true - /get-set-props/0.1.0: resolution: {integrity: sha512-7oKuKzAGKj0ag+eWZwcGw2fjiZ78tXnXQoBgY0aU7ZOxTu4bB7hSuQSDgtKy978EDH062P5FmD2EWiDpQS9K9Q==} engines: {node: '>=0.10.0'} dev: true - /get-stream/6.0.1: - resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} - engines: {node: '>=10'} - dev: true - /get-symbol-description/1.0.0: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - get-intrinsic: 1.1.2 + get-intrinsic: 1.1.3 + dev: true + + /get-tsconfig/4.3.0: + resolution: {integrity: sha512-YCcF28IqSay3fqpIu5y3Krg/utCBHBeoflkZyHj/QcqI2nrLPC3ZegS9CmIo+hJb8K7aiGsuUl7PwWVjNG2HQQ==} dev: true /get-value/2.0.6: @@ -3495,18 +2964,31 @@ packages: path-is-absolute: 1.0.1 dev: true - /globals/11.12.0: - resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} - engines: {node: '>=4'} + /glob/7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 dev: true - /globals/13.16.0: - resolution: {integrity: sha512-A1lrQfpNF+McdPOnnFqY3kSN0AFTy485bTi1bkLk4mVPODIUEcSfhHgRqA+QdXPksrSTTztYXx37NFV+GpGk3Q==} + /globals/13.19.0: + resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==} engines: {node: '>=8'} dependencies: type-fest: 0.20.2 dev: true + /globalthis/1.0.3: + resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} + engines: {node: '>= 0.4'} + dependencies: + define-properties: 1.1.4 + dev: true + /globalyzer/0.1.0: resolution: {integrity: sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==} dev: true @@ -3517,19 +2999,19 @@ packages: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.2.11 - ignore: 5.2.0 + fast-glob: 3.2.12 + ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 dev: true - /globby/13.1.2: - resolution: {integrity: sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==} + /globby/13.1.3: + resolution: {integrity: sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 - fast-glob: 3.2.11 - ignore: 5.2.0 + fast-glob: 3.2.12 + ignore: 5.2.4 merge2: 1.4.1 slash: 4.0.0 dev: true @@ -3538,6 +3020,12 @@ packages: resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} dev: true + /gopd/1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + dependencies: + get-intrinsic: 1.1.3 + dev: true + /graceful-fs/4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} dev: true @@ -3563,7 +3051,12 @@ packages: /has-property-descriptors/1.0.0: resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} dependencies: - get-intrinsic: 1.1.2 + get-intrinsic: 1.1.3 + dev: true + + /has-proto/1.0.1: + resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} + engines: {node: '>= 0.4'} dev: true /has-symbols/1.0.3: @@ -3627,69 +3120,25 @@ packages: /hash.js/1.1.7: resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} - dependencies: - inherits: 2.0.4 - minimalistic-assert: 1.0.1 - dev: true - - /hmac-drbg/1.0.1: - resolution: {integrity: sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=} - dependencies: - hash.js: 1.1.7 - minimalistic-assert: 1.0.1 - minimalistic-crypto-utils: 1.0.1 - dev: true - - /hosted-git-info/2.8.9: - resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - dev: true - - /html-encoding-sniffer/2.0.1: - resolution: {integrity: sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==} - engines: {node: '>=10'} - dependencies: - whatwg-encoding: 1.0.5 - dev: true - - /html-escaper/2.0.2: - resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} - dev: true - - /http-proxy-agent/4.0.1: - resolution: {integrity: sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==} - engines: {node: '>= 6'} - dependencies: - '@tootallnate/once': 1.1.2 - agent-base: 6.0.2 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: true - - /https-browserify/1.0.0: - resolution: {integrity: sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=} + dependencies: + inherits: 2.0.4 + minimalistic-assert: 1.0.1 dev: true - /https-proxy-agent/5.0.0: - resolution: {integrity: sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==} - engines: {node: '>= 6'} + /hmac-drbg/1.0.1: + resolution: {integrity: sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=} dependencies: - agent-base: 6.0.2 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color + hash.js: 1.1.7 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 dev: true - /human-signals/2.1.0: - resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} - engines: {node: '>=10.17.0'} + /hosted-git-info/2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} dev: true - /iconv-lite/0.4.24: - resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} - engines: {node: '>=0.10.0'} - dependencies: - safer-buffer: 2.1.2 + /https-browserify/1.0.0: + resolution: {integrity: sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=} dev: true /icss-utils/5.1.0_postcss@8.3.6: @@ -3709,8 +3158,8 @@ packages: resolution: {integrity: sha1-xg7taebY/bazEEofy8ocGS3FtQE=} dev: true - /ignore/5.2.0: - resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} + /ignore/5.2.4: + resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} dev: true @@ -3722,15 +3171,6 @@ packages: resolve-from: 4.0.0 dev: true - /import-local/3.0.2: - resolution: {integrity: sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==} - engines: {node: '>=8'} - hasBin: true - dependencies: - pkg-dir: 4.2.0 - resolve-cwd: 3.0.0 - dev: true - /imurmurhash/0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -3764,11 +3204,11 @@ packages: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} dev: true - /internal-slot/1.0.3: - resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==} + /internal-slot/1.0.4: + resolution: {integrity: sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.1.2 + get-intrinsic: 1.1.3 has: 1.0.3 side-channel: 1.0.4 dev: true @@ -3798,8 +3238,16 @@ packages: is-decimal: 1.0.4 dev: true + /is-array-buffer/3.0.1: + resolution: {integrity: sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==} + dependencies: + call-bind: 1.0.2 + get-intrinsic: 1.1.3 + is-typed-array: 1.1.10 + dev: true + /is-arrayish/0.2.1: - resolution: {integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=} + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} dev: true /is-bigint/1.0.4: @@ -3836,20 +3284,20 @@ packages: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} dev: true - /is-builtin-module/3.1.0: - resolution: {integrity: sha512-OV7JjAgOTfAFJmHZLvpSTb4qi0nIILDV1gWPYDnDJUTNFM5aGlRAhk4QcT8i7TuAleeEV5Fdkqn3t4mS+Q11fg==} + /is-builtin-module/3.2.0: + resolution: {integrity: sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==} engines: {node: '>=6'} dependencies: builtin-modules: 3.3.0 dev: true - /is-callable/1.2.4: - resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==} + /is-callable/1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} dev: true - /is-core-module/2.9.0: - resolution: {integrity: sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==} + /is-core-module/2.11.0: + resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} dependencies: has: 1.0.3 dev: true @@ -3920,16 +3368,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /is-fullwidth-code-point/3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - dev: true - - /is-generator-fn/2.1.0: - resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} - engines: {node: '>=6'} - dev: true - /is-get-set-prop/1.0.0: resolution: {integrity: sha512-DvAYZ1ZgGUz4lzxKMPYlt08qAUqyG9ckSg2pIjfvcQ7+pkVNUHk8yVLXOnCLe5WKXhLop8oorWFBJHpwWQpszQ==} dependencies: @@ -3993,6 +3431,11 @@ packages: obj-props: 1.4.0 dev: true + /is-path-inside/3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + dev: true + /is-plain-object/2.0.4: resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} engines: {node: '>=0.10.0'} @@ -4000,10 +3443,6 @@ packages: isobject: 3.0.1 dev: true - /is-potential-custom-element-name/1.0.1: - resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} - dev: true - /is-proto-prop/2.0.0: resolution: {integrity: sha512-jl3NbQ/fGLv5Jhan4uX+Ge9ohnemqyblWVVCpAvtTQzNFvV2xhJq+esnkIbYQ9F1nITXoLfDDQLp7LBw/zzncg==} dependencies: @@ -4025,11 +3464,6 @@ packages: call-bind: 1.0.2 dev: true - /is-stream/2.0.1: - resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} - engines: {node: '>=8'} - dev: true - /is-string/1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} @@ -4044,8 +3478,15 @@ packages: has-symbols: 1.0.3 dev: true - /is-typedarray/1.0.0: - resolution: {integrity: sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=} + /is-typed-array/1.1.10: + resolution: {integrity: sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==} + engines: {node: '>= 0.4'} + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 dev: true /is-weakref/1.0.2: @@ -4091,541 +3532,76 @@ packages: engines: {node: '>=0.10.0'} dev: true - /istanbul-lib-coverage/3.2.0: - resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} - engines: {node: '>=8'} - dev: true - - /istanbul-lib-instrument/4.0.3: - resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.16.0 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.0 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-lib-instrument/5.1.0: - resolution: {integrity: sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==} - engines: {node: '>=8'} - dependencies: - '@babel/core': 7.16.0 - '@babel/parser': 7.16.4 - '@istanbuljs/schema': 0.1.3 - istanbul-lib-coverage: 3.2.0 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-lib-report/3.0.0: - resolution: {integrity: sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==} - engines: {node: '>=8'} - dependencies: - istanbul-lib-coverage: 3.2.0 - make-dir: 3.1.0 - supports-color: 7.2.0 - dev: true - - /istanbul-lib-source-maps/4.0.1: - resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} - engines: {node: '>=10'} - dependencies: - debug: 4.3.4 - istanbul-lib-coverage: 3.2.0 - source-map: 0.6.1 - transitivePeerDependencies: - - supports-color - dev: true - - /istanbul-reports/3.1.1: - resolution: {integrity: sha512-q1kvhAXWSsXfMjCdNHNPKZZv94OlspKnoGv+R9RGbnqOOQ0VbNfLFgQDVgi7hHenKsndGq3/o0OBdzDXthWcNw==} - engines: {node: '>=8'} - dependencies: - html-escaper: 2.0.2 - istanbul-lib-report: 3.0.0 - dev: true - - /jest-changed-files/27.4.2: - resolution: {integrity: sha512-/9x8MjekuzUQoPjDHbBiXbNEBauhrPU2ct7m8TfCg69ywt1y/N+yYwGh3gCpnqUS3klYWDU/lSNgv+JhoD2k1A==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - execa: 5.1.1 - throat: 6.0.1 - dev: true - - /jest-circus/27.4.4: - resolution: {integrity: sha512-4DWhvQerDq5X4GaqhEUoZiBhuNdKDGr0geW0iJwarbDljAmGaGOErKQG+z2PBr0vgN05z7tsGSY51mdWr8E4xg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/environment': 27.4.4 - '@jest/test-result': 27.4.2 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - chalk: 4.1.2 - co: 4.6.0 - dedent: 0.7.0 - expect: 27.4.2 - is-generator-fn: 2.1.0 - jest-each: 27.4.2 - jest-matcher-utils: 27.4.2 - jest-message-util: 27.4.2 - jest-runtime: 27.4.4 - jest-snapshot: 27.4.4 - jest-util: 27.4.2 - pretty-format: 27.4.2 - slash: 3.0.0 - stack-utils: 2.0.5 - throat: 6.0.1 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-cli/27.4.4: - resolution: {integrity: sha512-+MfsHnZPUOBigCBURuQFRpgYoPCgmIFkICkqt4SrramZCUp/UAuWcst4pMZb84O3VU8JyKJmnpGG4qH8ClQloA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 27.4.4 - '@jest/test-result': 27.4.2 - '@jest/types': 27.4.2 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.10 - import-local: 3.0.2 - jest-config: 27.4.4 - jest-util: 27.4.2 - jest-validate: 27.4.2 - prompts: 2.4.2 - yargs: 16.2.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - ts-node - - utf-8-validate - dev: true - - /jest-config/27.4.4: - resolution: {integrity: sha512-6lxg0ugO6KS2zKEbpdDwBzu1IT0Xg4/VhxXMuBu+z/5FvBjLCEMTaWQm3bCaGCZUR9j9FK4DzUIxyhIgn6kVEg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - peerDependencies: - ts-node: '>=9.0.0' - peerDependenciesMeta: - ts-node: - optional: true - dependencies: - '@babel/core': 7.16.0 - '@jest/test-sequencer': 27.4.4 - '@jest/types': 27.4.2 - babel-jest: 27.4.4_@babel+core@7.16.0 - chalk: 4.1.2 - ci-info: 3.3.0 - deepmerge: 4.2.2 - glob: 7.2.0 - graceful-fs: 4.2.10 - jest-circus: 27.4.4 - jest-environment-jsdom: 27.4.4 - jest-environment-node: 27.4.4 - jest-get-type: 27.4.0 - jest-jasmine2: 27.4.4 - jest-regex-util: 27.4.0 - jest-resolve: 27.4.4 - jest-runner: 27.4.4 - jest-util: 27.4.2 - jest-validate: 27.4.2 - micromatch: 4.0.4 - pretty-format: 27.4.2 - slash: 3.0.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-diff/27.4.2: - resolution: {integrity: sha512-ujc9ToyUZDh9KcqvQDkk/gkbf6zSaeEg9AiBxtttXW59H/AcqEYp1ciXAtJp+jXWva5nAf/ePtSsgWwE5mqp4Q==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - chalk: 4.1.2 - diff-sequences: 27.4.0 - jest-get-type: 27.4.0 - pretty-format: 27.4.2 - dev: true - - /jest-docblock/27.4.0: - resolution: {integrity: sha512-7TBazUdCKGV7svZ+gh7C8esAnweJoG+SvcF6Cjqj4l17zA2q1cMwx2JObSioubk317H+cjcHgP+7fTs60paulg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - detect-newline: 3.1.0 - dev: true - - /jest-each/27.4.2: - resolution: {integrity: sha512-53V2MNyW28CTruB3lXaHNk6PkiIFuzdOC9gR3C6j8YE/ACfrPnz+slB0s17AgU1TtxNzLuHyvNlLJ+8QYw9nBg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - chalk: 4.1.2 - jest-get-type: 27.4.0 - jest-util: 27.4.2 - pretty-format: 27.4.2 - dev: true - - /jest-environment-jsdom/27.4.4: - resolution: {integrity: sha512-cYR3ndNfHBqQgFvS1RL7dNqSvD//K56j/q1s2ygNHcfTCAp12zfIromO1w3COmXrxS8hWAh7+CmZmGCIoqGcGA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/environment': 27.4.4 - '@jest/fake-timers': 27.4.2 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - jest-mock: 27.4.2 - jest-util: 27.4.2 - jsdom: 16.7.0 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-environment-node/27.4.4: - resolution: {integrity: sha512-D+v3lbJ2GjQTQR23TK0kY3vFVmSeea05giInI41HHOaJnAwOnmUHTZgUaZL+VxUB43pIzoa7PMwWtCVlIUoVoA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/environment': 27.4.4 - '@jest/fake-timers': 27.4.2 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - jest-mock: 27.4.2 - jest-util: 27.4.2 - dev: true - - /jest-get-type/27.4.0: - resolution: {integrity: sha512-tk9o+ld5TWq41DkK14L4wox4s2D9MtTpKaAVzXfr5CUKm5ZK2ExcaFE0qls2W71zE/6R2TxxrK9w2r6svAFDBQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dev: true - - /jest-haste-map/27.4.4: - resolution: {integrity: sha512-kvspmHmgPIZoDaqUsvsJFTaspuxhATvdO6wsFNGNSi8kfdiOCEEvECNbht8xG+eE5Ol88JyJmp2D7RF4dYo85Q==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - '@types/graceful-fs': 4.1.5 - '@types/node': 18.0.4 - anymatch: 3.1.2 - fb-watchman: 2.0.1 - graceful-fs: 4.2.10 - jest-regex-util: 27.4.0 - jest-serializer: 27.4.0 - jest-util: 27.4.2 - jest-worker: 27.5.1 - micromatch: 4.0.4 - walker: 1.0.8 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /jest-jasmine2/27.4.4: - resolution: {integrity: sha512-ygk2tUgtLeN3ouj4KEYw9p81GLI1EKrnvourPULN5gdgB482PH5op9gqaRG0IenbJhBbbRwiSvh5NoBoQZSqdA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-diff/29.3.1: + resolution: {integrity: sha512-vU8vyiO7568tmin2lA3r2DP8oRvzhvRcD4DjpXc6uGveQodyk7CKLhQlCSiwgx3g0pFaE88/KLZ0yaTWMc4Uiw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/traverse': 7.16.3 - '@jest/environment': 27.4.4 - '@jest/source-map': 27.4.0 - '@jest/test-result': 27.4.2 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 chalk: 4.1.2 - co: 4.6.0 - expect: 27.4.2 - is-generator-fn: 2.1.0 - jest-each: 27.4.2 - jest-matcher-utils: 27.4.2 - jest-message-util: 27.4.2 - jest-runtime: 27.4.4 - jest-snapshot: 27.4.4 - jest-util: 27.4.2 - pretty-format: 27.4.2 - throat: 6.0.1 - transitivePeerDependencies: - - supports-color + diff-sequences: 29.3.1 + jest-get-type: 29.2.0 + pretty-format: 29.3.1 dev: true - /jest-leak-detector/27.4.2: - resolution: {integrity: sha512-ml0KvFYZllzPBJWDei3mDzUhyp/M4ubKebX++fPaudpe8OsxUE+m+P6ciVLboQsrzOCWDjE20/eXew9QMx/VGw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - jest-get-type: 27.4.0 - pretty-format: 27.4.2 + /jest-get-type/29.2.0: + resolution: {integrity: sha512-uXNJlg8hKFEnDgFsrCjznB+sTxdkuqiCL6zMgA75qEbAJjJYTs9XPrvDctrEig2GDow22T/LvHgO57iJhXB/UA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /jest-matcher-utils/27.4.2: - resolution: {integrity: sha512-jyP28er3RRtMv+fmYC/PKG8wvAmfGcSNproVTW2Y0P/OY7/hWUOmsPfxN1jOhM+0u2xU984u2yEagGivz9OBGQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-matcher-utils/29.3.1: + resolution: {integrity: sha512-fkRMZUAScup3txIKfMe3AIZZmPEjWEdsPJFK3AIy5qRohWqQFg1qrmKfYXR9qEkNc7OdAu2N4KPHibEmy4HPeQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: chalk: 4.1.2 - jest-diff: 27.4.2 - jest-get-type: 27.4.0 - pretty-format: 27.4.2 + jest-diff: 29.3.1 + jest-get-type: 29.2.0 + pretty-format: 29.3.1 dev: true - /jest-message-util/27.4.2: - resolution: {integrity: sha512-OMRqRNd9E0DkBLZpFtZkAGYOXl6ZpoMtQJWTAREJKDOFa0M6ptB7L67tp+cszMBkvSgKOhNtQp2Vbcz3ZZKo/w==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-message-util/29.3.1: + resolution: {integrity: sha512-lMJTbgNcDm5z+6KDxWtqOFWlGQxD6XaYwBqHR8kmpkP+WWWG90I35kdtQHY67Ay5CSuydkTBbJG+tH9JShFCyA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@babel/code-frame': 7.16.0 - '@jest/types': 27.4.2 + '@jest/types': 29.3.1 '@types/stack-utils': 2.0.1 chalk: 4.1.2 graceful-fs: 4.2.10 - micromatch: 4.0.4 - pretty-format: 27.4.2 + micromatch: 4.0.5 + pretty-format: 29.3.1 slash: 3.0.0 stack-utils: 2.0.5 dev: true - /jest-mock/27.4.2: - resolution: {integrity: sha512-PDDPuyhoukk20JrQKeofK12hqtSka7mWH0QQuxSNgrdiPsrnYYLS6wbzu/HDlxZRzji5ylLRULeuI/vmZZDrYA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - dev: true - - /jest-pnp-resolver/1.2.2_jest-resolve@27.4.4: - resolution: {integrity: sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==} - engines: {node: '>=6'} - peerDependencies: - jest-resolve: '*' - peerDependenciesMeta: - jest-resolve: - optional: true - dependencies: - jest-resolve: 27.4.4 - dev: true - - /jest-regex-util/27.4.0: - resolution: {integrity: sha512-WeCpMpNnqJYMQoOjm1nTtsgbR4XHAk1u00qDoNBQoykM280+/TmgA5Qh5giC1ecy6a5d4hbSsHzpBtu5yvlbEg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dev: true - - /jest-resolve-dependencies/27.4.4: - resolution: {integrity: sha512-iAnpCXh81sd9nbyqySvm5/aV9X6JZKE0dQyFXTC8tptXcdrgS0vjPFy+mEgzPHxXw+tq4TQupuTa0n8OXwRIxw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - jest-regex-util: 27.4.0 - jest-snapshot: 27.4.4 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-resolve/27.4.4: - resolution: {integrity: sha512-Yh5jK3PBmDbm01Rc8pT0XqpBlTPEGwWp7cN61ijJuwony/tR2Taof3TLy6yfNiuRS8ucUOPO7NBYm3ei38kkcg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - chalk: 4.1.2 - graceful-fs: 4.2.10 - jest-haste-map: 27.4.4 - jest-pnp-resolver: 1.2.2_jest-resolve@27.4.4 - jest-util: 27.4.2 - jest-validate: 27.4.2 - resolve: 1.20.0 - resolve.exports: 1.1.0 - slash: 3.0.0 - dev: true - - /jest-runner/27.4.4: - resolution: {integrity: sha512-AXv/8Q0Xf1puWnDf52m7oLrK7sXcv6re0V/kItwTSVHJbX7Oebm07oGFQqGmq0R0mhO1zpmB3OpqRuaCN2elPA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/console': 27.4.2 - '@jest/environment': 27.4.4 - '@jest/test-result': 27.4.2 - '@jest/transform': 27.4.4 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - chalk: 4.1.2 - emittery: 0.8.1 - exit: 0.1.2 - graceful-fs: 4.2.10 - jest-docblock: 27.4.0 - jest-environment-jsdom: 27.4.4 - jest-environment-node: 27.4.4 - jest-haste-map: 27.4.4 - jest-leak-detector: 27.4.2 - jest-message-util: 27.4.2 - jest-resolve: 27.4.4 - jest-runtime: 27.4.4 - jest-util: 27.4.2 - jest-worker: 27.5.1 - source-map-support: 0.5.21 - throat: 6.0.1 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - utf-8-validate - dev: true - - /jest-runtime/27.4.4: - resolution: {integrity: sha512-tZGay6P6vXJq8t4jVFAUzYHx+lzIHXjz+rj1XBk6mAR1Lwtf5kz0Uun7qNuU+oqpZu4+hhuxpUfXb6j30bEPqA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/console': 27.4.2 - '@jest/environment': 27.4.4 - '@jest/globals': 27.4.4 - '@jest/source-map': 27.4.0 - '@jest/test-result': 27.4.2 - '@jest/transform': 27.4.4 - '@jest/types': 27.4.2 - '@types/yargs': 16.0.4 - chalk: 4.1.2 - cjs-module-lexer: 1.2.2 - collect-v8-coverage: 1.0.1 - execa: 5.1.1 - exit: 0.1.2 - glob: 7.2.0 - graceful-fs: 4.2.10 - jest-haste-map: 27.4.4 - jest-message-util: 27.4.2 - jest-mock: 27.4.2 - jest-regex-util: 27.4.0 - jest-resolve: 27.4.4 - jest-snapshot: 27.4.4 - jest-util: 27.4.2 - jest-validate: 27.4.2 - slash: 3.0.0 - strip-bom: 4.0.0 - yargs: 16.2.0 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-serializer/27.4.0: - resolution: {integrity: sha512-RDhpcn5f1JYTX2pvJAGDcnsNTnsV9bjYPU8xcV+xPwOXnUPOQwf4ZEuiU6G9H1UztH+OapMgu/ckEVwO87PwnQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@types/node': 18.0.4 - graceful-fs: 4.2.10 - dev: true - - /jest-snapshot/27.4.4: - resolution: {integrity: sha512-yy+rpCvYMOjTl7IMuaMI9OP9WT229zi8BhdNHm6e6mttAOIzvIiCxFoZ6yRxaV3HDPPgMryi+ReX2b8+IQJdPA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@babel/core': 7.16.0 - '@babel/generator': 7.16.0 - '@babel/parser': 7.16.4 - '@babel/plugin-syntax-typescript': 7.16.0_@babel+core@7.16.0 - '@babel/traverse': 7.16.3 - '@babel/types': 7.16.0 - '@jest/transform': 27.4.4 - '@jest/types': 27.4.2 - '@types/babel__traverse': 7.14.2 - '@types/prettier': 2.4.2 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.16.0 - chalk: 4.1.2 - expect: 27.4.2 - graceful-fs: 4.2.10 - jest-diff: 27.4.2 - jest-get-type: 27.4.0 - jest-haste-map: 27.4.4 - jest-matcher-utils: 27.4.2 - jest-message-util: 27.4.2 - jest-resolve: 27.4.4 - jest-util: 27.4.2 - natural-compare: 1.4.0 - pretty-format: 27.4.2 - semver: 7.3.5 - transitivePeerDependencies: - - supports-color - dev: true - - /jest-util/27.4.2: - resolution: {integrity: sha512-YuxxpXU6nlMan9qyLuxHaMMOzXAl5aGZWCSzben5DhLHemYQxCc4YK+4L3ZrCutT8GPQ+ui9k5D8rUJoDioMnA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /jest-util/29.3.1: + resolution: {integrity: sha512-7YOVZaiX7RJLv76ZfHt4nbNEzzTRiMW/IiOG7ZOKmTXmoGBxUDefgMAxQubu6WPVqP5zSzAdZG0FfLcC7HOIFQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.4.2 - '@types/node': 18.0.4 + '@jest/types': 29.3.1 + '@types/node': 18.11.18 chalk: 4.1.2 - ci-info: 3.3.0 + ci-info: 3.3.2 graceful-fs: 4.2.10 picomatch: 2.3.1 dev: true - /jest-validate/27.4.2: - resolution: {integrity: sha512-hWYsSUej+Fs8ZhOm5vhWzwSLmVaPAxRy+Mr+z5MzeaHm9AxUpXdoVMEW4R86y5gOobVfBsMFLk4Rb+QkiEpx1A==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/types': 27.4.2 - camelcase: 6.2.1 - chalk: 4.1.2 - jest-get-type: 27.4.0 - leven: 3.1.0 - pretty-format: 27.4.2 - dev: true - - /jest-watcher/27.4.2: - resolution: {integrity: sha512-NJvMVyyBeXfDezhWzUOCOYZrUmkSCiatpjpm+nFUid74OZEHk6aMLrZAukIiFDwdbqp6mTM6Ui1w4oc+8EobQg==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - '@jest/test-result': 27.4.2 - '@jest/types': 27.4.2 - '@types/node': 18.0.4 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - jest-util: 27.4.2 - string-length: 4.0.2 - dev: true - /jest-worker/27.5.1: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 18.0.4 + '@types/node': 18.11.18 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest/27.4.4: - resolution: {integrity: sha512-AXwEIFa58Uf1Jno3/KSo5HZZ0/2Xwqvfrz0/3bmTwImkFlbOvz5vARAW9nTrxRLkojjkitaZ1KNKAtw3JRFAaA==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 27.4.4 - import-local: 3.0.2 - jest-cli: 27.4.4 - transitivePeerDependencies: - - bufferutil - - canvas - - supports-color - - ts-node - - utf-8-validate - dev: true - /joycon/3.0.1: resolution: {integrity: sha512-SJcJNBg32dGgxhPtM0wQqxqV0ax9k/9TaUskGDSJkSFSQOEWWvQ3zzWdGQRIUry2j1zA5+ReH13t0Mf3StuVZA==} engines: {node: '>=10'} dev: false + /js-sdsl/4.2.0: + resolution: {integrity: sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==} + dev: true + /js-tokens/4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} dev: true @@ -4635,14 +3611,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /js-yaml/3.14.1: - resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} - hasBin: true - dependencies: - argparse: 1.0.10 - esprima: 4.0.1 - dev: true - /js-yaml/4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -4656,54 +3624,6 @@ packages: hasBin: true dev: true - /jsdom/16.7.0: - resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==} - engines: {node: '>=10'} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - dependencies: - abab: 2.0.5 - acorn: 8.7.1 - acorn-globals: 6.0.0 - cssom: 0.4.4 - cssstyle: 2.3.0 - data-urls: 2.0.0 - decimal.js: 10.3.1 - domexception: 2.0.1 - escodegen: 2.0.0 - form-data: 3.0.1 - html-encoding-sniffer: 2.0.1 - http-proxy-agent: 4.0.1 - https-proxy-agent: 5.0.0 - is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.0 - parse5: 6.0.1 - saxes: 5.0.1 - symbol-tree: 3.2.4 - tough-cookie: 4.0.0 - w3c-hr-time: 1.0.2 - w3c-xmlserializer: 2.0.0 - webidl-conversions: 6.1.0 - whatwg-encoding: 1.0.5 - whatwg-mimetype: 2.3.0 - whatwg-url: 8.7.0 - ws: 7.5.6 - xml-name-validator: 3.0.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: true - - /jsesc/2.5.2: - resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} - engines: {node: '>=4'} - hasBin: true - dev: true - /json-parse-better-errors/1.0.2: resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} dev: true @@ -4734,28 +3654,22 @@ packages: dependencies: minimist: 1.2.5 - /json5/2.2.1: - resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} - engines: {node: '>=6'} - hasBin: true - dev: true - /jsonc-eslint-parser/2.1.0: resolution: {integrity: sha512-qCRJWlbP2v6HbmKW7R3lFbeiVWHo+oMJ0j+MizwvauqnCV/EvtAeEeuCgoc/ErtsuoKgYB8U4Ih8AxJbXoE6/g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.7.1 + acorn: 8.8.1 eslint-visitor-keys: 3.3.0 - espree: 9.3.2 - semver: 7.3.7 + espree: 9.4.1 + semver: 7.3.8 dev: true - /jsx-ast-utils/3.3.2: - resolution: {integrity: sha512-4ZCADZHRkno244xlNnn4AOG6sRQ7iBZ5BbgZ4vW4y5IZw7cVUD1PPeblm1xx/nfmMxPdt/LHsXZW8z/j58+l9Q==} + /jsx-ast-utils/3.3.3: + resolution: {integrity: sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==} engines: {node: '>=4.0'} dependencies: - array-includes: 3.1.5 - object.assign: 4.1.2 + array-includes: 3.1.6 + object.assign: 4.1.4 dev: true /kind-of/3.2.2: @@ -4782,24 +3696,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /kleur/3.0.3: - resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} - engines: {node: '>=6'} - dev: true - - /leven/3.1.0: - resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} - engines: {node: '>=6'} - dev: true - - /levn/0.3.0: - resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.1.2 - type-check: 0.3.2 - dev: true - /levn/0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -4839,14 +3735,6 @@ packages: emojis-list: 3.0.0 json5: 2.2.0 - /locate-path/2.0.0: - resolution: {integrity: sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==} - engines: {node: '>=4'} - dependencies: - p-locate: 2.0.0 - path-exists: 3.0.0 - dev: true - /locate-path/3.0.0: resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} engines: {node: '>=6'} @@ -4862,6 +3750,13 @@ packages: p-locate: 4.1.0 dev: true + /locate-path/6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: true + /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} dev: true @@ -4903,17 +3798,10 @@ packages: semver: 5.7.1 dev: true - /make-dir/3.1.0: - resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} - engines: {node: '>=8'} - dependencies: - semver: 6.3.0 - dev: true - - /makeerror/1.0.12: - resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} + /manten/0.6.0: + resolution: {integrity: sha512-8OqNXWdPnP1xJ6F6wi1uY/T1pKFkZ+T0/BQxSkuTS5SKKyOPWj4yLWFsE9k0Z4CuyHz1DHB9/B/SOCGCRgQmMA==} dependencies: - tmpl: 1.0.5 + expect: 29.3.1 dev: true /map-cache/0.2.2: @@ -4952,8 +3840,8 @@ packages: resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} dev: true - /memfs/3.4.0: - resolution: {integrity: sha512-o/RfP0J1d03YwsAxyHxAYs2kyJp55AFkMazlFAZFR2I2IXkxiUTXRabJ6RmNNCQ83LAD2jy52Khj0m3OffpNdA==} + /memfs/3.4.13: + resolution: {integrity: sha512-omTM41g3Skpvx5dSYeZIbXKcXoAVc/AoMNwn9TKx++L/gaen/+4TTttmu8ZSch5vfVJ8uJvGbroTsIlslRg6lg==} engines: {node: '>= 4.0.0'} dependencies: fs-monkey: 1.0.3 @@ -5013,14 +3901,6 @@ packages: - supports-color dev: true - /micromatch/4.0.4: - resolution: {integrity: sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==} - engines: {node: '>=8.6'} - dependencies: - braces: 3.0.2 - picomatch: 2.3.1 - dev: true - /micromatch/4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} @@ -5049,11 +3929,6 @@ packages: mime-db: 1.52.0 dev: true - /mimic-fn/2.1.0: - resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} - engines: {node: '>=6'} - dev: true - /min-indent/1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} @@ -5088,8 +3963,8 @@ packages: /minimist/1.2.5: resolution: {integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==} - /minimist/1.2.6: - resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} + /minimist/1.2.7: + resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==} dev: true /mississippi/3.0.0: @@ -5176,6 +4051,10 @@ packages: - supports-color dev: true + /natural-compare-lite/1.4.0: + resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} + dev: true + /natural-compare/1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true @@ -5184,10 +4063,6 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: true - /node-int64/0.4.0: - resolution: {integrity: sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=} - dev: true - /node-libs-browser/2.2.1: resolution: {integrity: sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==} dependencies: @@ -5216,8 +4091,8 @@ packages: vm-browserify: 1.1.2 dev: true - /node-releases/2.0.6: - resolution: {integrity: sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==} + /node-releases/2.0.8: + resolution: {integrity: sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==} dev: true /normalize-package-data/2.5.0: @@ -5242,23 +4117,12 @@ packages: engines: {node: '>=0.10.0'} dev: true - /npm-run-path/4.0.1: - resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} - engines: {node: '>=8'} - dependencies: - path-key: 3.1.1 - dev: true - /nth-check/2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} dependencies: boolbase: 1.0.0 dev: true - /nwsapi/2.2.0: - resolution: {integrity: sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==} - dev: true - /obj-props/1.4.0: resolution: {integrity: sha512-p7p/7ltzPDiBs6DqxOrIbtRdwxxVRBj5ROukeNb9RgA+fawhrz5n2hpNz8DDmYR//tviJSj7nUnlppGmONkjiQ==} engines: {node: '>=0.10.0'} @@ -5294,8 +4158,8 @@ packages: isobject: 3.0.1 dev: true - /object.assign/4.1.2: - resolution: {integrity: sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==} + /object.assign/4.1.4: + resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 @@ -5304,29 +4168,29 @@ packages: object-keys: 1.1.1 dev: true - /object.entries/1.1.5: - resolution: {integrity: sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==} + /object.entries/1.1.6: + resolution: {integrity: sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 dev: true - /object.fromentries/2.0.5: - resolution: {integrity: sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==} + /object.fromentries/2.0.6: + resolution: {integrity: sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 dev: true - /object.hasown/1.1.1: - resolution: {integrity: sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==} + /object.hasown/1.1.2: + resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==} dependencies: define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 dev: true /object.pick/1.3.0: @@ -5336,13 +4200,13 @@ packages: isobject: 3.0.1 dev: true - /object.values/1.1.5: - resolution: {integrity: sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==} + /object.values/1.1.6: + resolution: {integrity: sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 dev: true /once/1.4.0: @@ -5351,13 +4215,6 @@ packages: wrappy: 1.0.2 dev: true - /onetime/5.1.2: - resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} - engines: {node: '>=6'} - dependencies: - mimic-fn: 2.1.0 - dev: true - /open/8.4.0: resolution: {integrity: sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==} engines: {node: '>=12'} @@ -5367,18 +4224,6 @@ packages: is-wsl: 2.2.0 dev: true - /optionator/0.8.3: - resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} - engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.3.0 - prelude-ls: 1.1.2 - type-check: 0.3.2 - word-wrap: 1.2.3 - dev: true - /optionator/0.9.1: resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} engines: {node: '>= 0.8.0'} @@ -5395,13 +4240,6 @@ packages: resolution: {integrity: sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=} dev: true - /p-limit/1.3.0: - resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} - engines: {node: '>=4'} - dependencies: - p-try: 1.0.0 - dev: true - /p-limit/2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} @@ -5409,11 +4247,11 @@ packages: p-try: 2.2.0 dev: true - /p-locate/2.0.0: - resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} - engines: {node: '>=4'} + /p-limit/3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} dependencies: - p-limit: 1.3.0 + yocto-queue: 0.1.0 dev: true /p-locate/3.0.0: @@ -5430,9 +4268,11 @@ packages: p-limit: 2.3.0 dev: true - /p-try/1.0.0: - resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} - engines: {node: '>=4'} + /p-locate/5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 dev: true /p-try/2.2.0: @@ -5484,16 +4324,12 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.16.0 + '@babel/code-frame': 7.18.6 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 dev: true - /parse5/6.0.1: - resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} - dev: true - /pascalcase/0.1.1: resolution: {integrity: sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=} engines: {node: '>=0.10.0'} @@ -5567,11 +4403,6 @@ packages: engines: {node: '>=6'} dev: true - /pirates/4.0.4: - resolution: {integrity: sha512-ZIrVPH+A52Dw84R0L3/VS9Op04PuQ2SEoJL6bkshmiTic/HldyW9Tf7oH5mhJZBK7NmDx27vSMrYEXPXclpDKw==} - engines: {node: '>= 6'} - dev: true - /pkg-dir/3.0.0: resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} engines: {node: '>=6'} @@ -5579,13 +4410,6 @@ packages: find-up: 3.0.0 dev: true - /pkg-dir/4.2.0: - resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} - engines: {node: '>=8'} - dependencies: - find-up: 4.1.0 - dev: true - /pluralize/8.0.0: resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} engines: {node: '>=4'} @@ -5613,7 +4437,7 @@ packages: dependencies: icss-utils: 5.1.0_postcss@8.3.6 postcss: 8.3.6 - postcss-selector-parser: 6.0.6 + postcss-selector-parser: 6.0.11 postcss-value-parser: 4.1.0 dev: true @@ -5624,7 +4448,7 @@ packages: postcss: ^8.1.0 dependencies: postcss: 8.3.6 - postcss-selector-parser: 6.0.6 + postcss-selector-parser: 6.0.11 dev: true /postcss-modules-values/4.0.0_postcss@8.3.6: @@ -5637,16 +4461,8 @@ packages: postcss: 8.3.6 dev: true - /postcss-selector-parser/6.0.10: - resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} - engines: {node: '>=4'} - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - dev: true - - /postcss-selector-parser/6.0.6: - resolution: {integrity: sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==} + /postcss-selector-parser/6.0.11: + resolution: {integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 @@ -5666,24 +4482,18 @@ packages: source-map-js: 0.6.2 dev: true - /prelude-ls/1.1.2: - resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} - engines: {node: '>= 0.8.0'} - dev: true - /prelude-ls/1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} dev: true - /pretty-format/27.4.2: - resolution: {integrity: sha512-p0wNtJ9oLuvgOQDEIZ9zQjZffK7KtyR6Si0jnXULIDwrlNF8Cuir3AZP0hHv0jmKuNN/edOnbMjnzd4uTcmWiw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + /pretty-format/29.3.1: + resolution: {integrity: sha512-FyLnmb1cYJV8biEIiRyzRFvs2lry7PPIvOqKVe1GCUEYg4YGmlx1qG9EJNMxArYm7piII4qb8UV1Pncq5dxmcg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/types': 27.4.2 - ansi-regex: 5.0.1 + '@jest/schemas': 29.0.0 ansi-styles: 5.2.0 - react-is: 17.0.2 + react-is: 18.2.0 dev: true /process-nextick-args/2.0.1: @@ -5706,14 +4516,6 @@ packages: bluebird: 3.7.2 dev: true - /prompts/2.4.2: - resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} - engines: {node: '>= 6'} - dependencies: - kleur: 3.0.3 - sisteransi: 1.0.5 - dev: true - /prop-types/15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} dependencies: @@ -5731,10 +4533,6 @@ packages: resolution: {integrity: sha1-0/wRS6BplaRexok/SEzrHXj19HY=} dev: true - /psl/1.8.0: - resolution: {integrity: sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==} - dev: true - /public-encrypt/4.0.3: resolution: {integrity: sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==} dependencies: @@ -5813,8 +4611,8 @@ packages: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} dev: true - /react-is/17.0.2: - resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + /react-is/18.2.0: + resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} dev: true /read-pkg-up/7.0.1: @@ -5939,50 +4737,21 @@ packages: engines: {node: '>=0.10'} dev: true - /require-directory/2.1.1: - resolution: {integrity: sha1-jGStX9MNqxyXbiNE/+f3kqam30I=} - engines: {node: '>=0.10.0'} - dev: true - - /resolve-cwd/3.0.0: - resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} - engines: {node: '>=8'} - dependencies: - resolve-from: 5.0.0 - dev: true - /resolve-from/4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} dev: true - /resolve-from/5.0.0: - resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} - engines: {node: '>=8'} - dev: true - /resolve-url/0.2.1: resolution: {integrity: sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=} deprecated: https://github.com/lydell/resolve-url#deprecated dev: true - /resolve.exports/1.1.0: - resolution: {integrity: sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==} - engines: {node: '>=10'} - dev: true - - /resolve/1.20.0: - resolution: {integrity: sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==} - dependencies: - is-core-module: 2.9.0 - path-parse: 1.0.7 - dev: true - /resolve/1.22.1: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true dependencies: - is-core-module: 2.9.0 + is-core-module: 2.11.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true @@ -5991,7 +4760,7 @@ packages: resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} hasBin: true dependencies: - is-core-module: 2.9.0 + is-core-module: 2.11.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true @@ -6017,7 +4786,7 @@ packages: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} hasBin: true dependencies: - glob: 7.2.0 + glob: 7.2.3 dev: true /ripemd160/2.0.2: @@ -6047,6 +4816,14 @@ packages: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: true + /safe-regex-test/1.0.0: + resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} + dependencies: + call-bind: 1.0.2 + get-intrinsic: 1.1.3 + is-regex: 1.1.4 + dev: true + /safe-regex/1.1.0: resolution: {integrity: sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==} dependencies: @@ -6063,13 +4840,6 @@ packages: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} dev: true - /saxes/5.0.1: - resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==} - engines: {node: '>=10'} - dependencies: - xmlchars: 2.2.0 - dev: true - /schema-utils/1.0.0: resolution: {integrity: sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==} engines: {node: '>= 4'} @@ -6106,16 +4876,8 @@ packages: hasBin: true dev: true - /semver/7.3.5: - resolution: {integrity: sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - - /semver/7.3.7: - resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==} + /semver/7.3.8: + resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} engines: {node: '>=10'} hasBin: true dependencies: @@ -6172,18 +4934,10 @@ packages: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: call-bind: 1.0.2 - get-intrinsic: 1.1.2 + get-intrinsic: 1.1.3 object-inspect: 1.12.2 dev: true - /signal-exit/3.0.6: - resolution: {integrity: sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==} - dev: true - - /sisteransi/1.0.5: - resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} - dev: true - /slash/3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -6273,7 +5027,7 @@ packages: resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} dependencies: spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.11 + spdx-license-ids: 3.0.12 dev: true /spdx-exceptions/2.3.0: @@ -6284,11 +5038,11 @@ packages: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: spdx-exceptions: 2.3.0 - spdx-license-ids: 3.0.11 + spdx-license-ids: 3.0.12 dev: true - /spdx-license-ids/3.0.11: - resolution: {integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==} + /spdx-license-ids/3.0.12: + resolution: {integrity: sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==} dev: true /split-string/3.1.0: @@ -6298,10 +5052,6 @@ packages: extend-shallow: 3.0.2 dev: true - /sprintf-js/1.0.3: - resolution: {integrity: sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=} - dev: true - /ssri/6.0.2: resolution: {integrity: sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==} dependencies: @@ -6351,50 +5101,33 @@ packages: resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==} dev: true - /string-length/4.0.2: - resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} - engines: {node: '>=10'} - dependencies: - char-regex: 1.0.2 - strip-ansi: 6.0.1 - dev: true - - /string-width/4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - dev: true - - /string.prototype.matchall/4.0.7: - resolution: {integrity: sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==} + /string.prototype.matchall/4.0.8: + resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 - get-intrinsic: 1.1.2 + es-abstract: 1.21.1 + get-intrinsic: 1.1.3 has-symbols: 1.0.3 - internal-slot: 1.0.3 + internal-slot: 1.0.4 regexp.prototype.flags: 1.4.3 side-channel: 1.0.4 dev: true - /string.prototype.trimend/1.0.5: - resolution: {integrity: sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==} + /string.prototype.trimend/1.0.6: + resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 dev: true - /string.prototype.trimstart/1.0.5: - resolution: {integrity: sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==} + /string.prototype.trimstart/1.0.6: + resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==} dependencies: call-bind: 1.0.2 define-properties: 1.1.4 - es-abstract: 1.20.1 + es-abstract: 1.21.1 dev: true /string_decoder/1.1.1: @@ -6421,16 +5154,6 @@ packages: engines: {node: '>=4'} dev: true - /strip-bom/4.0.0: - resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} - engines: {node: '>=8'} - dev: true - - /strip-final-newline/2.0.0: - resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} - engines: {node: '>=6'} - dev: true - /strip-indent/3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} @@ -6464,29 +5187,17 @@ packages: has-flag: 4.0.0 dev: true - /supports-hyperlinks/2.2.0: - resolution: {integrity: sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==} - engines: {node: '>=8'} - dependencies: - has-flag: 4.0.0 - supports-color: 7.2.0 - dev: true - /supports-preserve-symlinks-flag/1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} dev: true - /symbol-tree/3.2.4: - resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - dev: true - - /synckit/0.7.2: - resolution: {integrity: sha512-CSZRtSRZ8RhJGMtWyLRqlarmWPPlsgZJHtV6cz0VTHNOg+R7UBoE2eNPQmB5Qrhtk3RX2AAcJmVwMXFULVQSwg==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + /synckit/0.8.4: + resolution: {integrity: sha512-Dn2ZkzMdSX827QbowGbU/4yjWuvNaCoScLLoMo/yKbu+P4GBR6cRGKZH27k6a9bRzdqcyd1DE96pQtQ6uNkmyw==} + engines: {node: ^14.18.0 || >=16.0.0} dependencies: - '@pkgr/utils': 2.3.0 - tslib: 2.4.0 + '@pkgr/utils': 2.3.1 + tslib: 2.4.1 dev: true /tapable/1.1.3: @@ -6504,14 +5215,6 @@ packages: engines: {node: '>=6'} dev: true - /terminal-link/2.1.1: - resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} - engines: {node: '>=8'} - dependencies: - ansi-escapes: 4.3.2 - supports-hyperlinks: 2.2.0 - dev: true - /terser-webpack-plugin/1.4.5_webpack@4.46.0: resolution: {integrity: sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==} engines: {node: '>= 6.9.0'} @@ -6530,8 +5233,8 @@ packages: worker-farm: 1.7.0 dev: true - /terser-webpack-plugin/5.3.3_z4yymv2ofhzdrhm7ih4alosyki: - resolution: {integrity: sha512-Fx60G5HNYknNTNQnzQ1VePRuu89ZVYWfjRAeT5rITuCY/1b08s49e5kSQwHDirKZWuoKOBRFS98EUUoZ9kLEwQ==} + /terser-webpack-plugin/5.3.6_h5vyqageqm634ioygmnxx6wkla: + resolution: {integrity: sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==} engines: {node: '>= 10.13.0'} peerDependencies: '@swc/core': '*' @@ -6546,12 +5249,12 @@ packages: uglify-js: optional: true dependencies: - '@jridgewell/trace-mapping': 0.3.14 - esbuild: 0.15.6 + '@jridgewell/trace-mapping': 0.3.17 + esbuild: 0.16.17 jest-worker: 27.5.1 schema-utils: 3.1.1 serialize-javascript: 6.0.0 - terser: 5.14.2 + terser: 5.16.1 webpack: 4.46.0 dev: true @@ -6560,40 +5263,27 @@ packages: engines: {node: '>=6.0.0'} hasBin: true dependencies: - acorn: 8.7.1 + acorn: 8.8.1 commander: 2.20.3 source-map: 0.6.1 source-map-support: 0.5.21 dev: true - /terser/5.14.2: - resolution: {integrity: sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==} + /terser/5.16.1: + resolution: {integrity: sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==} engines: {node: '>=10'} hasBin: true dependencies: '@jridgewell/source-map': 0.3.2 - acorn: 8.7.1 + acorn: 8.8.1 commander: 2.20.3 source-map-support: 0.5.21 dev: true - /test-exclude/6.0.0: - resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} - engines: {node: '>=8'} - dependencies: - '@istanbuljs/schema': 0.1.3 - glob: 7.2.0 - minimatch: 3.1.2 - dev: true - /text-table/0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} dev: true - /throat/6.0.1: - resolution: {integrity: sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==} - dev: true - /through2/2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} dependencies: @@ -6615,19 +5305,10 @@ packages: globrex: 0.1.2 dev: true - /tmpl/1.0.5: - resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - dev: true - /to-arraybuffer/1.0.1: resolution: {integrity: sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=} dev: true - /to-fast-properties/2.0.0: - resolution: {integrity: sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=} - engines: {node: '>=4'} - dev: true - /to-object-path/0.3.0: resolution: {integrity: sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=} engines: {node: '>=0.10.0'} @@ -6660,28 +5341,12 @@ packages: safe-regex: 1.1.0 dev: true - /tough-cookie/4.0.0: - resolution: {integrity: sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==} - engines: {node: '>=6'} - dependencies: - psl: 1.8.0 - punycode: 2.1.1 - universalify: 0.1.2 - dev: true - - /tr46/2.1.0: - resolution: {integrity: sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==} - engines: {node: '>=8'} - dependencies: - punycode: 2.1.1 - dev: true - /tsconfig-paths/3.14.1: resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==} dependencies: '@types/json5': 0.0.29 json5: 1.0.1 - minimist: 1.2.6 + minimist: 1.2.7 strip-bom: 3.0.0 dev: true @@ -6689,29 +5354,33 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tslib/2.4.0: - resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} + /tslib/2.4.1: + resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} dev: true - /tsutils/3.21.0_typescript@4.7.4: + /tsutils/3.21.0_typescript@4.9.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} 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' dependencies: tslib: 1.14.1 - typescript: 4.7.4 + typescript: 4.9.4 dev: true - /tty-browserify/0.0.0: - resolution: {integrity: sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=} + /tsx/3.12.2: + resolution: {integrity: sha512-ykAEkoBg30RXxeOMVeZwar+JH632dZn9EUJVyJwhfag62k6UO/dIyJEV58YuLF6e5BTdV/qmbQrpkWqjq9cUnQ==} + hasBin: true + dependencies: + '@esbuild-kit/cjs-loader': 2.4.1 + '@esbuild-kit/core-utils': 3.0.0 + '@esbuild-kit/esm-loader': 2.5.4 + optionalDependencies: + fsevents: 2.3.2 dev: true - /type-check/0.3.2: - resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.1.2 + /tty-browserify/0.0.0: + resolution: {integrity: sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=} dev: true /type-check/0.4.0: @@ -6721,21 +5390,11 @@ packages: prelude-ls: 1.2.1 dev: true - /type-detect/4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} - engines: {node: '>=4'} - dev: true - /type-fest/0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} dev: true - /type-fest/0.21.3: - resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} - engines: {node: '>=10'} - dev: true - /type-fest/0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} @@ -6746,18 +5405,20 @@ packages: engines: {node: '>=8'} dev: true - /typedarray-to-buffer/3.1.5: - resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} + /typed-array-length/1.0.4: + resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} dependencies: - is-typedarray: 1.0.0 + call-bind: 1.0.2 + for-each: 0.3.3 + is-typed-array: 1.1.10 dev: true /typedarray/0.0.6: resolution: {integrity: sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=} dev: true - /typescript/4.7.4: - resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} + /typescript/4.9.4: + resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==} engines: {node: '>=4.2.0'} hasBin: true dev: true @@ -6805,11 +5466,6 @@ packages: '@types/unist': 2.0.6 dev: true - /universalify/0.1.2: - resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} - engines: {node: '>= 4.0.0'} - dev: true - /unset-value/1.0.0: resolution: {integrity: sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=} engines: {node: '>=0.10.0'} @@ -6824,13 +5480,13 @@ packages: dev: true optional: true - /update-browserslist-db/1.0.4_browserslist@4.21.2: - resolution: {integrity: sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==} + /update-browserslist-db/1.0.10_browserslist@4.21.4: + resolution: {integrity: sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.21.2 + browserslist: 4.21.4 escalade: 3.1.1 picocolors: 1.0.0 dev: true @@ -6874,19 +5530,6 @@ packages: inherits: 2.0.3 dev: true - /v8-compile-cache/2.3.0: - resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==} - dev: true - - /v8-to-istanbul/8.1.0: - resolution: {integrity: sha512-/PRhfd8aTNp9Ggr62HPzXg2XasNFGy5PBt0Rp04du7/8GNNSgxFL6WBTkgMKSL9bFjH+8kKEG3f37FmxiTqUUA==} - engines: {node: '>=10.12.0'} - dependencies: - '@types/istanbul-lib-coverage': 2.0.3 - convert-source-map: 1.8.0 - source-map: 0.7.4 - dev: true - /validate-npm-package-license/3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -6898,43 +5541,24 @@ packages: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: true - /vue-eslint-parser/9.0.3_eslint@8.19.0: - resolution: {integrity: sha512-yL+ZDb+9T0ELG4VIFo/2anAOz8SvBdlqEnQnvJ3M7Scq56DvtjY0VY88bByRZB0D4J0u8olBcfrXTVONXsh4og==} + /vue-eslint-parser/9.1.0_eslint@8.31.0: + resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.19.0 + eslint: 8.31.0 eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 - espree: 9.3.2 + espree: 9.4.1 esquery: 1.4.0 lodash: 4.17.21 - semver: 7.3.7 + semver: 7.3.8 transitivePeerDependencies: - supports-color dev: true - /w3c-hr-time/1.0.2: - resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} - dependencies: - browser-process-hrtime: 1.0.0 - dev: true - - /w3c-xmlserializer/2.0.0: - resolution: {integrity: sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==} - engines: {node: '>=10'} - dependencies: - xml-name-validator: 3.0.0 - dev: true - - /walker/1.0.8: - resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} - dependencies: - makeerror: 1.0.12 - dev: true - /watchpack-chokidar2/2.0.1: resolution: {integrity: sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==} requiresBuild: true @@ -6965,43 +5589,24 @@ packages: graceful-fs: 4.2.10 dev: true - /webidl-conversions/5.0.0: - resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==} - engines: {node: '>=8'} - dev: true - - /webidl-conversions/6.1.0: - resolution: {integrity: sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==} - engines: {node: '>=10.4'} - dev: true - /webpack-sources/1.4.3: resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} dependencies: source-list-map: 2.0.1 source-map: 0.6.1 - dev: true - - /webpack-sources/2.3.1: - resolution: {integrity: sha512-y9EI9AO42JjEcrTJFOYmVywVZdKVUfOvDUPsJea5GIr1JOEGFVqwlY2K098fFoIjOkDzHn2AjRvM8dsBZu+gCA==} - engines: {node: '>=10.13.0'} - dependencies: - source-list-map: 2.0.1 - source-map: 0.6.1 - dev: false /webpack-sources/3.2.3: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} engines: {node: '>=10.13.0'} dev: true - /webpack-test-utils/1.1.0_webpack@4.46.0: - resolution: {integrity: sha512-zJaJZsa3v8jFx41uiVSF6V/8wd4zuX/DtDZkm7t8f8WlxP0W3Iwj3BikZx4C45EX7+yTUBWmKbkknoSsaIhFmw==} + /webpack-test-utils/2.1.0_webpack@4.46.0: + resolution: {integrity: sha512-n7d+DyS70krYewAeV4xu4IU0LyKQXcGDYdibIUOnOiwmNJFhcns5ekF39T3+iEQZhBlYiZyGmaFqguOF1KvMSw==} peerDependencies: webpack: ^4.40.0 || ^5.0.0 dependencies: - fs-require: 1.4.0 - memfs: 3.4.0 + fs-require: 1.6.0 + memfs: 3.4.13 unionfs: 4.4.0 webpack: 4.46.0 dev: true @@ -7046,8 +5651,8 @@ packages: - supports-color dev: true - /webpack/5.73.0_esbuild@0.15.6: - resolution: {integrity: sha512-svjudQRPPa0YiOYa2lM/Gacw0r6PvxptHj4FuEKQ2kX05ZLkjbVc5MnPs6its5j7IZljnIqSVo/OsY2X0IpHGA==} + /webpack/5.75.0_esbuild@0.16.17: + resolution: {integrity: sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -7061,11 +5666,11 @@ packages: '@webassemblyjs/ast': 1.11.1 '@webassemblyjs/wasm-edit': 1.11.1 '@webassemblyjs/wasm-parser': 1.11.1 - acorn: 8.7.1 - acorn-import-assertions: 1.8.0_acorn@8.7.1 - browserslist: 4.21.2 + acorn: 8.8.1 + acorn-import-assertions: 1.8.0_acorn@8.8.1 + browserslist: 4.21.4 chrome-trace-event: 1.0.3 - enhanced-resolve: 5.10.0 + enhanced-resolve: 5.12.0 es-module-lexer: 0.9.3 eslint-scope: 5.1.1 events: 3.3.0 @@ -7077,7 +5682,7 @@ packages: neo-async: 2.6.2 schema-utils: 3.1.1 tapable: 2.2.1 - terser-webpack-plugin: 5.3.3_z4yymv2ofhzdrhm7ih4alosyki + terser-webpack-plugin: 5.3.6_h5vyqageqm634ioygmnxx6wkla watchpack: 2.4.0 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -7086,25 +5691,6 @@ packages: - uglify-js dev: true - /whatwg-encoding/1.0.5: - resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} - dependencies: - iconv-lite: 0.4.24 - dev: true - - /whatwg-mimetype/2.3.0: - resolution: {integrity: sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==} - dev: true - - /whatwg-url/8.7.0: - resolution: {integrity: sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==} - engines: {node: '>=10'} - dependencies: - lodash: 4.17.21 - tr46: 2.1.0 - webidl-conversions: 6.1.0 - dev: true - /which-boxed-primitive/1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} dependencies: @@ -7115,6 +5701,18 @@ packages: is-symbol: 1.0.4 dev: true + /which-typed-array/1.1.9: + resolution: {integrity: sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==} + engines: {node: '>= 0.4'} + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.2 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 + is-typed-array: 1.1.10 + dev: true + /which/2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} @@ -7134,54 +5732,15 @@ packages: errno: 0.1.8 dev: true - /wrap-ansi/7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - dev: true - /wrappy/1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - /write-file-atomic/3.0.3: - resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==} - dependencies: - imurmurhash: 0.1.4 - is-typedarray: 1.0.0 - signal-exit: 3.0.6 - typedarray-to-buffer: 3.1.5 - dev: true - - /ws/7.5.6: - resolution: {integrity: sha512-6GLgCqo2cy2A2rjCNFlxQS6ZljG/coZfZXclldI8FB/1G3CCI36Zd8xy2HrFVACi8tfk5XrgLQEk+P0Tnz9UcA==} - engines: {node: '>=8.3.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - - /xml-name-validator/3.0.0: - resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==} - dev: true - /xml-name-validator/4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} dev: true - /xmlchars/2.2.0: - resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} - dev: true - /xtend/4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -7191,11 +5750,6 @@ packages: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} dev: true - /y18n/5.0.8: - resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} - engines: {node: '>=10'} - dev: true - /yallist/3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} dev: true @@ -7204,20 +5758,7 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: true - /yargs-parser/20.2.9: - resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} - engines: {node: '>=10'} - dev: true - - /yargs/16.2.0: - resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + /yocto-queue/0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} - dependencies: - cliui: 7.0.4 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 20.2.9 dev: true diff --git a/src/@types/webpack.d.ts b/src/@types/webpack.d.ts index aed0c224..25733668 100644 --- a/src/@types/webpack.d.ts +++ b/src/@types/webpack.d.ts @@ -5,6 +5,13 @@ declare module 'webpack' { namespace compilation { interface Compilation { getAssets(): Asset[]; + + // From Webpack 5 + emitAsset( + file: string, + source: Source, + assetInfo?: AssetInfo, + ): void; } } diff --git a/src/index.ts b/src/index.ts index a20f5e14..d9ec947b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,3 +4,4 @@ import ESBuildMinifyPlugin from './minify-plugin'; export default esbuildLoader; export { ESBuildPlugin, ESBuildMinifyPlugin }; +export * from './interfaces'; diff --git a/src/minify-plugin.ts b/src/minify-plugin.ts index 623c4f94..5ce5cdf7 100644 --- a/src/minify-plugin.ts +++ b/src/minify-plugin.ts @@ -1,5 +1,8 @@ import { transform as defaultEsbuildTransform } from 'esbuild'; -import { RawSource, SourceMapSource } from 'webpack-sources'; +import { + RawSource as WP4RawSource, + SourceMapSource as WP4SourceMapSource, +} from 'webpack-sources'; import webpack from 'webpack'; import type { SyncHook, SyncBailHook, AsyncSeriesHook, HookMap, @@ -107,7 +110,13 @@ class ESBuildMinifyPlugin { private async transformAssets( compilation: Compilation, ): Promise { - const { options: { devtool } } = compilation.compiler; + const { compiler } = compilation; + const { options: { devtool } } = compiler; + + // @ts-expect-error Only exists on Webpack 5 + const sources = compiler.webpack?.sources; + const SourceMapSource = (sources ? sources.SourceMapSource : WP4SourceMapSource); + const RawSource = (sources ? sources.RawSource : WP4RawSource); const sourcemap = ( // TODO: drop support for esbuild sourcemap in future so it all goes through WP API @@ -139,7 +148,20 @@ class ESBuildMinifyPlugin { await Promise.all(assets.map(async (asset) => { const assetIsCss = isCssFile.test(asset.name); - const { source, map } = asset.source.sourceAndMap(); + let source: string | Buffer | ArrayBuffer; + let map = null; + + if (asset.source.sourceAndMap) { + const sourceAndMap = asset.source.sourceAndMap(); + source = sourceAndMap.source; + map = sourceAndMap.map; + } else { + source = asset.source.source(); + if (asset.source.map) { + map = asset.source.map(); + } + } + const sourceAsString = source.toString(); const result = await this.transform(sourceAsString, { ...transformOptions, @@ -152,6 +174,13 @@ class ESBuildMinifyPlugin { sourcefile: asset.name, }); + if (result.legalComments) { + compilation.emitAsset( + `${asset.name}.LEGAL.txt`, + new RawSource(result.legalComments), + ); + } + compilation.updateAsset( asset.name, ( diff --git a/test/__snapshots__/loader.test.ts.snap b/test/__snapshots__/loader.test.ts.snap deleted file mode 100644 index 70152671..00000000 --- a/test/__snapshots__/loader.test.ts.snap +++ /dev/null @@ -1,205 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Webpack 4 Loader ambigious ts/tsx ts via tsx 2 1`] = `1`; - -exports[`Webpack 4 Loader js 1`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader tsx 1`] = ` -Array [ - Array [ - "Fragment", - null, - Array [ - "div", - null, - "hello world", - ], - ], - Array [ - "div", - Object { - "className": "class-name", - }, - "content", - ], -] -`; - -exports[`Webpack 4 Loader tsx w/ tsconfig 1`] = ` -Array [ - Array [ - "Fragment", - null, - Array [ - "div", - null, - "hello world", - ], - ], - Array [ - "div", - Object { - "className": "class-name", - }, - "content", - ], -] -`; - -exports[`Webpack 4 target 1`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader ambigious ts/tsx ts via tsx 2 1`] = `1`; - -exports[`Webpack 5 Loader js 1`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader tsx 1`] = ` -Array [ - Array [ - "Fragment", - null, - Array [ - "div", - null, - "hello world", - ], - ], - Array [ - "div", - Object { - "className": "class-name", - }, - "content", - ], -] -`; - -exports[`Webpack 5 Loader tsx w/ tsconfig 1`] = ` -Array [ - Array [ - "Fragment", - null, - Array [ - "div", - null, - "hello world", - ], - ], - Array [ - "div", - Object { - "className": "class-name", - }, - "content", - ], -] -`; - -exports[`Webpack 5 target 1`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; diff --git a/test/__snapshots__/minify.test.ts.snap b/test/__snapshots__/minify.test.ts.snap deleted file mode 100644 index 429410c4..00000000 --- a/test/__snapshots__/minify.test.ts.snap +++ /dev/null @@ -1,1320 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Webpack 4 Loader + Minification minify 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol!=\\"undefined\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n==null?void 0:n.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r!=null?r:r=2,n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader + Minification minify chunks 1`] = ` -"module.exports=function(u){var f={},o={0:0};function r(t){if(f[t])return f[t].exports;var n=f[t]={i:t,l:!1,exports:{}};return u[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.e=function(n){var e=[];if(o[n]!==0){var i=require(\\"./\\"+({1:\\"named-chunk-bar\\",2:\\"named-chunk-foo\\"}[n]||n)+\\".js\\"),a=i.modules,s=i.ids;for(var c in a)u[c]=a[c];for(var l=0;l(await r).default+(await t).default}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify chunks 2`] = ` -"exports.ids=[2],exports.modules=[,function(t,o,s){\\"use strict\\";s.r(o),o.default=\\"foo\\"}]; -" -`; - -exports[`Webpack 4 Loader + Minification minify chunks 3`] = ` -"exports.ids=[1],exports.modules={2:function(u,s,t){\\"use strict\\";t.r(s),s.default=\\"bar\\"}}; -" -`; - -exports[`Webpack 4 Loader + Minification minify chunks filtered using "exclude" 1`] = ` -"module.exports=function(u){var f={},o={0:0};function r(t){if(f[t])return f[t].exports;var n=f[t]={i:t,l:!1,exports:{}};return u[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.e=function(n){var e=[];if(o[n]!==0){var i=require(\\"./\\"+({1:\\"named-chunk-bar\\",2:\\"named-chunk-foo\\"}[n]||n)+\\".js\\"),a=i.modules,s=i.ids;for(var c in a)u[c]=a[c];for(var l=0;l(await r).default+(await t).default}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify chunks filtered using "exclude" 2`] = ` -"exports.ids=[2],exports.modules=[,function(t,o,s){\\"use strict\\";s.r(o),o.default=\\"foo\\"}]; -" -`; - -exports[`Webpack 4 Loader + Minification minify chunks filtered using "exclude" 3`] = ` -"exports.ids = [1]; -exports.modules = { - -/***/ 2: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -\\"use strict\\"; -__webpack_require__.r(__webpack_exports__); - - /* harmony default export */ __webpack_exports__[\\"default\\"] = ('bar'); - - -/***/ }) - -};;" -`; - -exports[`Webpack 4 Loader + Minification minify chunks filtered using "include" 1`] = ` -"module.exports=function(u){var f={},o={0:0};function r(t){if(f[t])return f[t].exports;var n=f[t]={i:t,l:!1,exports:{}};return u[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.e=function(n){var e=[];if(o[n]!==0){var i=require(\\"./\\"+({1:\\"named-chunk-bar\\",2:\\"named-chunk-foo\\"}[n]||n)+\\".js\\"),a=i.modules,s=i.ids;for(var c in a)u[c]=a[c];for(var l=0;l(await r).default+(await t).default}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify chunks filtered using "include" 2`] = ` -"exports.ids = [2]; -exports.modules = [ -/* 0 */, -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -\\"use strict\\"; -__webpack_require__.r(__webpack_exports__); - - /* harmony default export */ __webpack_exports__[\\"default\\"] = ('foo'); - - -/***/ }) -];;" -`; - -exports[`Webpack 4 Loader + Minification minify chunks filtered using "include" 3`] = ` -"exports.ids=[1],exports.modules={2:function(u,s,t){\\"use strict\\";t.r(s),s.default=\\"bar\\"}}; -" -`; - -exports[`Webpack 4 Loader + Minification minify w/ devtool inline-source-map 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n?.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r??(r=2),n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; - -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy9zcmMvZm9vLmpzIiwid2VicGFjazovLy8vc3JjL2luZGV4LmpzIl0sIm5hbWVzIjpbImluc3RhbGxlZE1vZHVsZXMiLCJfX3dlYnBhY2tfcmVxdWlyZV9fIiwibW9kdWxlSWQiLCJtb2R1bGUiLCJtb2R1bGVzIiwiZXhwb3J0cyIsIm5hbWUiLCJnZXR0ZXIiLCJ2YWx1ZSIsIm1vZGUiLCJucyIsImtleSIsIm9iamVjdCIsInByb3BlcnR5IiwiZXMyMDE2IiwiZXMyMDE3IiwiZXMyMDE4IiwieSIsIngiLCJlczIwMTkiLCJlczIwMjAiLCJvYmoiLCJlczIwMjEiLCJhIiwiZXNuZXh0IiwiX3giLCJ4X2ZuIl0sIm1hcHBpbmdzIjoiMkJBQ0UsSUFBSUEsRUFBbUIsQ0FBQyxFQUd4QixTQUFTQyxFQUFvQkMsRUFBVSxDQUd0QyxHQUFHRixFQUFpQkUsR0FDbkIsT0FBT0YsRUFBaUJFLEdBQVUsUUFHbkMsSUFBSUMsRUFBU0gsRUFBaUJFLEdBQVksQ0FDekMsRUFBR0EsRUFDSCxFQUFHLEdBQ0gsUUFBUyxDQUFDLENBQ1gsRUFHQSxPQUFBRSxFQUFRRixHQUFVLEtBQUtDLEVBQU8sUUFBU0EsRUFBUUEsRUFBTyxRQUFTRixDQUFtQixFQUdsRkUsRUFBTyxFQUFJLEdBR0pBLEVBQU8sT0FDZixDQUlBLE9BQUFGLEVBQW9CLEVBQUlHLEVBR3hCSCxFQUFvQixFQUFJRCxFQUd4QkMsRUFBb0IsRUFBSSxTQUFTSSxFQUFTQyxFQUFNQyxFQUFRLENBQ25ETixFQUFvQixFQUFFSSxFQUFTQyxDQUFJLEdBQ3RDLE9BQU8sZUFBZUQsRUFBU0MsRUFBTSxDQUFFLFdBQVksR0FBTSxJQUFLQyxDQUFPLENBQUMsQ0FFeEUsRUFHQU4sRUFBb0IsRUFBSSxTQUFTSSxFQUFTLENBQ3RDLE9BQU8sT0FBVyxLQUFlLE9BQU8sYUFDMUMsT0FBTyxlQUFlQSxFQUFTLE9BQU8sWUFBYSxDQUFFLE1BQU8sUUFBUyxDQUFDLEVBRXZFLE9BQU8sZUFBZUEsRUFBUyxhQUFjLENBQUUsTUFBTyxFQUFLLENBQUMsQ0FDN0QsRUFPQUosRUFBb0IsRUFBSSxTQUFTTyxFQUFPQyxFQUFNLENBRzdDLEdBRkdBLEVBQU8sSUFBR0QsRUFBUVAsRUFBb0JPLENBQUssR0FDM0NDLEVBQU8sR0FDTkEsRUFBTyxHQUFNLE9BQU9ELEdBQVUsVUFBWUEsR0FBU0EsRUFBTSxXQUFZLE9BQU9BLEVBQ2hGLElBQUlFLEVBQUssT0FBTyxPQUFPLElBQUksRUFHM0IsR0FGQVQsRUFBb0IsRUFBRVMsQ0FBRSxFQUN4QixPQUFPLGVBQWVBLEVBQUksVUFBVyxDQUFFLFdBQVksR0FBTSxNQUFPRixDQUFNLENBQUMsRUFDcEVDLEVBQU8sR0FBSyxPQUFPRCxHQUFTLFNBQVUsUUFBUUcsS0FBT0gsRUFBT1AsRUFBb0IsRUFBRVMsRUFBSUMsRUFBSyxTQUFTQSxFQUFLLENBQUUsT0FBT0gsRUFBTUcsRUFBTSxFQUFFLEtBQUssS0FBTUEsQ0FBRyxDQUFDLEVBQ2xKLE9BQU9ELENBQ1IsRUFHQVQsRUFBb0IsRUFBSSxTQUFTRSxFQUFRLENBQ3hDLElBQUlJLEVBQVNKLEdBQVVBLEVBQU8sV0FDN0IsVUFBc0IsQ0FBRSxPQUFPQSxFQUFPLE9BQVksRUFDbEQsVUFBNEIsQ0FBRSxPQUFPQSxDQUFRLEVBQzlDLE9BQUFGLEVBQW9CLEVBQUVNLEVBQVEsSUFBS0EsQ0FBTSxFQUNsQ0EsQ0FDUixFQUdBTixFQUFvQixFQUFJLFNBQVNXLEVBQVFDLEVBQVUsQ0FBRSxPQUFPLE9BQU8sVUFBVSxlQUFlLEtBQUtELEVBQVFDLENBQVEsQ0FBRyxFQUdwSFosRUFBb0IsRUFBSSxHQUlqQkEsRUFBb0JBLEVBQW9CLEVBQUksQ0FBQyxDLGdyQ0NsRnRELFdBQ2VhLEVBQVMsS0FBTSxDQUFDLEVBRWhCQyxFQUFTLFdBRVRDLEdBQVUsSUFBTSxDQUM1QixNQUFNQyxFQUFJLENBQUUsRUFBRyxDQUFFLEVBQ2pCLElBQUlDLEVBQUksS0FBSUQsQ0FBQyxFQUViLE9BRFEsRUFBS0EsRUFBTCxHQUVULEdBQUcsRUFFVUUsR0FBVSxJQUFNLENBQzVCLEdBQUksQ0FDSCxNQUFPLEtBQ1IsTUFBRSxDQUFPLENBQ1YsR0FBRyxFQUVVQyxHQUFVLElBQU0sQ0FsQi9CLE1BbUJHLE1BQU1DLEVBQU0sQ0FDWCxTQUFVLENBQ1gsRUFDQSxNQUFPLENBQ05BLEdBQUssVUFDTCxFQUFBQSxFQUFJLE9BQUosT0FBWSxFQUNaLENBQ0QsQ0FDRCxHQUFHLEVBRVVDLEdBQVUsSUFBTSxDQUM1QixJQUFJQyxFQUNBTCxFQUFJLEVBQ1IsTUFBTUQsRUFBSSxFQUNWLE1BQU8sQ0FDTk0sTUFBTSxHQUNOTCxNQUFNRCxFQUNQLENBQ0QsR0FBRyxFQUVVTyxHQUFVLElBQU0sQ0F2Qy9CLFlBQUFDLEVBQUEsSUFBQUEsSUFBQSxFQUFBQyxFQXdDRyxNQUFPLENBQ04sS0FBTSxDQUFOLGNBQVEsV0FBSSxDQUFDLENBQUQsQ0FBRyxHQUNmLE9BQU0sQ0FBZ0IsRUFBZCxFQUFSLEVBQWUsSUFBSSxDQUFDLEVBQXBCLElBQ0EsT0FBTSxDQUFOLGNBQVEsVUFBUSxFQUFSLGdCQUFFLFVBQUcsQ0FBQyxFQUFkLElBQ0EsT0FBTSxDQUFOLGNBQVEsT0FBQUQsRUFBQSxRQUFHLEVBQUhBLEVBQUEsWUFBUixJQUNBLE9BQU0sQ0FBWSxFQUFIQSxFQUFBLFlBQVAsRUFBUixFQUFlQSxFQUFQLFFBQVIsSUFDQSxPQUFNLENBQWlCLEVBQVJBLEVBQUEsWUFBQUMsRUFBRSxVQUFHLENBQUMsRUFBYixFQUFSLEVBQWVELEdBQWYsR0FDQSxHQUNELENBQ0QsR0FBRyxFQy9DWSxpQiIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIiBcdC8vIFRoZSBtb2R1bGUgY2FjaGVcbiBcdHZhciBpbnN0YWxsZWRNb2R1bGVzID0ge307XG5cbiBcdC8vIFRoZSByZXF1aXJlIGZ1bmN0aW9uXG4gXHRmdW5jdGlvbiBfX3dlYnBhY2tfcmVxdWlyZV9fKG1vZHVsZUlkKSB7XG5cbiBcdFx0Ly8gQ2hlY2sgaWYgbW9kdWxlIGlzIGluIGNhY2hlXG4gXHRcdGlmKGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdKSB7XG4gXHRcdFx0cmV0dXJuIGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdLmV4cG9ydHM7XG4gXHRcdH1cbiBcdFx0Ly8gQ3JlYXRlIGEgbmV3IG1vZHVsZSAoYW5kIHB1dCBpdCBpbnRvIHRoZSBjYWNoZSlcbiBcdFx0dmFyIG1vZHVsZSA9IGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdID0ge1xuIFx0XHRcdGk6IG1vZHVsZUlkLFxuIFx0XHRcdGw6IGZhbHNlLFxuIFx0XHRcdGV4cG9ydHM6IHt9XG4gXHRcdH07XG5cbiBcdFx0Ly8gRXhlY3V0ZSB0aGUgbW9kdWxlIGZ1bmN0aW9uXG4gXHRcdG1vZHVsZXNbbW9kdWxlSWRdLmNhbGwobW9kdWxlLmV4cG9ydHMsIG1vZHVsZSwgbW9kdWxlLmV4cG9ydHMsIF9fd2VicGFja19yZXF1aXJlX18pO1xuXG4gXHRcdC8vIEZsYWcgdGhlIG1vZHVsZSBhcyBsb2FkZWRcbiBcdFx0bW9kdWxlLmwgPSB0cnVlO1xuXG4gXHRcdC8vIFJldHVybiB0aGUgZXhwb3J0cyBvZiB0aGUgbW9kdWxlXG4gXHRcdHJldHVybiBtb2R1bGUuZXhwb3J0cztcbiBcdH1cblxuXG4gXHQvLyBleHBvc2UgdGhlIG1vZHVsZXMgb2JqZWN0IChfX3dlYnBhY2tfbW9kdWxlc19fKVxuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5tID0gbW9kdWxlcztcblxuIFx0Ly8gZXhwb3NlIHRoZSBtb2R1bGUgY2FjaGVcbiBcdF9fd2VicGFja19yZXF1aXJlX18uYyA9IGluc3RhbGxlZE1vZHVsZXM7XG5cbiBcdC8vIGRlZmluZSBnZXR0ZXIgZnVuY3Rpb24gZm9yIGhhcm1vbnkgZXhwb3J0c1xuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5kID0gZnVuY3Rpb24oZXhwb3J0cywgbmFtZSwgZ2V0dGVyKSB7XG4gXHRcdGlmKCFfX3dlYnBhY2tfcmVxdWlyZV9fLm8oZXhwb3J0cywgbmFtZSkpIHtcbiBcdFx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgbmFtZSwgeyBlbnVtZXJhYmxlOiB0cnVlLCBnZXQ6IGdldHRlciB9KTtcbiBcdFx0fVxuIFx0fTtcblxuIFx0Ly8gZGVmaW5lIF9fZXNNb2R1bGUgb24gZXhwb3J0c1xuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5yID0gZnVuY3Rpb24oZXhwb3J0cykge1xuIFx0XHRpZih0eXBlb2YgU3ltYm9sICE9PSAndW5kZWZpbmVkJyAmJiBTeW1ib2wudG9TdHJpbmdUYWcpIHtcbiBcdFx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgU3ltYm9sLnRvU3RyaW5nVGFnLCB7IHZhbHVlOiAnTW9kdWxlJyB9KTtcbiBcdFx0fVxuIFx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgJ19fZXNNb2R1bGUnLCB7IHZhbHVlOiB0cnVlIH0pO1xuIFx0fTtcblxuIFx0Ly8gY3JlYXRlIGEgZmFrZSBuYW1lc3BhY2Ugb2JqZWN0XG4gXHQvLyBtb2RlICYgMTogdmFsdWUgaXMgYSBtb2R1bGUgaWQsIHJlcXVpcmUgaXRcbiBcdC8vIG1vZGUgJiAyOiBtZXJnZSBhbGwgcHJvcGVydGllcyBvZiB2YWx1ZSBpbnRvIHRoZSBuc1xuIFx0Ly8gbW9kZSAmIDQ6IHJldHVybiB2YWx1ZSB3aGVuIGFscmVhZHkgbnMgb2JqZWN0XG4gXHQvLyBtb2RlICYgOHwxOiBiZWhhdmUgbGlrZSByZXF1aXJlXG4gXHRfX3dlYnBhY2tfcmVxdWlyZV9fLnQgPSBmdW5jdGlvbih2YWx1ZSwgbW9kZSkge1xuIFx0XHRpZihtb2RlICYgMSkgdmFsdWUgPSBfX3dlYnBhY2tfcmVxdWlyZV9fKHZhbHVlKTtcbiBcdFx0aWYobW9kZSAmIDgpIHJldHVybiB2YWx1ZTtcbiBcdFx0aWYoKG1vZGUgJiA0KSAmJiB0eXBlb2YgdmFsdWUgPT09ICdvYmplY3QnICYmIHZhbHVlICYmIHZhbHVlLl9fZXNNb2R1bGUpIHJldHVybiB2YWx1ZTtcbiBcdFx0dmFyIG5zID0gT2JqZWN0LmNyZWF0ZShudWxsKTtcbiBcdFx0X193ZWJwYWNrX3JlcXVpcmVfXy5yKG5zKTtcbiBcdFx0T2JqZWN0LmRlZmluZVByb3BlcnR5KG5zLCAnZGVmYXVsdCcsIHsgZW51bWVyYWJsZTogdHJ1ZSwgdmFsdWU6IHZhbHVlIH0pO1xuIFx0XHRpZihtb2RlICYgMiAmJiB0eXBlb2YgdmFsdWUgIT0gJ3N0cmluZycpIGZvcih2YXIga2V5IGluIHZhbHVlKSBfX3dlYnBhY2tfcmVxdWlyZV9fLmQobnMsIGtleSwgZnVuY3Rpb24oa2V5KSB7IHJldHVybiB2YWx1ZVtrZXldOyB9LmJpbmQobnVsbCwga2V5KSk7XG4gXHRcdHJldHVybiBucztcbiBcdH07XG5cbiBcdC8vIGdldERlZmF1bHRFeHBvcnQgZnVuY3Rpb24gZm9yIGNvbXBhdGliaWxpdHkgd2l0aCBub24taGFybW9ueSBtb2R1bGVzXG4gXHRfX3dlYnBhY2tfcmVxdWlyZV9fLm4gPSBmdW5jdGlvbihtb2R1bGUpIHtcbiBcdFx0dmFyIGdldHRlciA9IG1vZHVsZSAmJiBtb2R1bGUuX19lc01vZHVsZSA/XG4gXHRcdFx0ZnVuY3Rpb24gZ2V0RGVmYXVsdCgpIHsgcmV0dXJuIG1vZHVsZVsnZGVmYXVsdCddOyB9IDpcbiBcdFx0XHRmdW5jdGlvbiBnZXRNb2R1bGVFeHBvcnRzKCkgeyByZXR1cm4gbW9kdWxlOyB9O1xuIFx0XHRfX3dlYnBhY2tfcmVxdWlyZV9fLmQoZ2V0dGVyLCAnYScsIGdldHRlcik7XG4gXHRcdHJldHVybiBnZXR0ZXI7XG4gXHR9O1xuXG4gXHQvLyBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGxcbiBcdF9fd2VicGFja19yZXF1aXJlX18ubyA9IGZ1bmN0aW9uKG9iamVjdCwgcHJvcGVydHkpIHsgcmV0dXJuIE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChvYmplY3QsIHByb3BlcnR5KTsgfTtcblxuIFx0Ly8gX193ZWJwYWNrX3B1YmxpY19wYXRoX19cbiBcdF9fd2VicGFja19yZXF1aXJlX18ucCA9IFwiXCI7XG5cblxuIFx0Ly8gTG9hZCBlbnRyeSBtb2R1bGUgYW5kIHJldHVybiBleHBvcnRzXG4gXHRyZXR1cm4gX193ZWJwYWNrX3JlcXVpcmVfXyhfX3dlYnBhY2tfcmVxdWlyZV9fLnMgPSAwKTtcbiIsIlxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTYgPSAxMCAqKiA0O1xuXG5cdFx0ZXhwb3J0IGNvbnN0IGVzMjAxNyA9IHR5cGVvZiAoYXN5bmMgKCkgPT4ge30pO1xuXG5cdFx0ZXhwb3J0IGNvbnN0IGVzMjAxOCA9ICgoKSA9PiB7XG5cdFx0XHRjb25zdCB5ID0geyBhOiAxIH1cblx0XHRcdGxldCB4ID0gey4uLnl9XG5cdFx0XHRsZXQgey4uLnp9ID0geVxuXHRcdFx0cmV0dXJuIHo7XG5cdFx0fSkoKTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTkgPSAoKCkgPT4ge1xuXHRcdFx0dHJ5IHtcblx0XHRcdFx0cmV0dXJuICd0cnknXG5cdFx0XHR9IGNhdGNoIHt9XG5cdFx0fSkoKTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMjAgPSAoKCkgPT4ge1xuXHRcdFx0Y29uc3Qgb2JqID0ge1xuXHRcdFx0XHRwcm9wZXJ0eTogMSxcblx0XHRcdH07XG5cdFx0XHRyZXR1cm4gW1xuXHRcdFx0XHRvYmo/LnByb3BlcnR5LFxuXHRcdFx0XHRvYmoucHJvcCA/PyAyLFxuXHRcdFx0XHRpbXBvcnQubWV0YSxcblx0XHRcdF07XG5cdFx0fSkoKTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMjEgPSAoKCkgPT4ge1xuXHRcdFx0bGV0IGE7XG5cdFx0XHRsZXQgeCA9IDA7XG5cdFx0XHRjb25zdCB5ID0gMztcblx0XHRcdHJldHVybiBbXG5cdFx0XHRcdGEgPz89IDIsXG5cdFx0XHRcdHggfHw9IHksXG5cdFx0XHRdO1xuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXNuZXh0ID0gKCgpID0+IHtcblx0XHRcdHJldHVybiBbXG5cdFx0XHRcdGNsYXNzIHsgeCA9IDI7IH0sXG5cdFx0XHRcdGNsYXNzIHsgc3RhdGljIHggPSAxOyB9LFxuXHRcdFx0XHRjbGFzcyB7ICN4KCkge30gfSxcblx0XHRcdFx0Y2xhc3MgeyAjeCB9LFxuXHRcdFx0XHRjbGFzcyB7IHN0YXRpYyAjeCB9LFxuXHRcdFx0XHRjbGFzcyB7IHN0YXRpYyAjeCgpIHt9IH0sXG5cdFx0XHRcdDFfMDAwXzAwMF8wMDAsXG5cdFx0XHRdO1xuXHRcdH0pKCk7XG5cdCIsIlxuXHRcdGltcG9ydCAqIGFzIGFsbCBmcm9tICcuL2Zvby5qcydcblx0XHRleHBvcnQgZGVmYXVsdCBhbGxcblx0Il0sInNvdXJjZVJvb3QiOiIifQ==" -`; - -exports[`Webpack 4 Loader + Minification minify w/ devtool source-map 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n?.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r??(r=2),n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; - -//# sourceMappingURL=index.js.map" -`; - -exports[`Webpack 4 Loader + Minification minify w/ no devtool 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol!=\\"undefined\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch(r){}})(),T=(()=>{var r;const n={property:1};return[n==null?void 0:n.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r!=null?r:r=2,n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify w/ no devtool 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader + Minification minify w/ query strings 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol!=\\"undefined\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n==null?void 0:n.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r!=null?r:r=2,n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify w/ query strings 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader + Minification minify w/ source-map option 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n?.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r??(r=2),n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minify w/ source-map option and source-map plugin external 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n?.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r??(r=2),n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; - -//# sourceMappingURL=index.js.map" -`; - -exports[`Webpack 4 Loader + Minification minify w/ source-map option and source-map plugin external 2`] = `"{\\"version\\":3,\\"sources\\":[\\"webpack:///webpack/bootstrap\\",\\"webpack:////src/foo.js\\",\\"webpack:////src/index.js\\"],\\"names\\":[\\"installedModules\\",\\"__webpack_require__\\",\\"moduleId\\",\\"module\\",\\"modules\\",\\"exports\\",\\"name\\",\\"getter\\",\\"value\\",\\"mode\\",\\"ns\\",\\"key\\",\\"object\\",\\"property\\",\\"es2016\\",\\"es2017\\",\\"es2018\\",\\"y\\",\\"x\\",\\"es2019\\",\\"es2020\\",\\"obj\\",\\"es2021\\",\\"a\\",\\"esnext\\",\\"_x\\",\\"x_fn\\"],\\"mappings\\":\\"2BACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,EAAU,CAGtC,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAU,QAGnC,IAAIC,EAASH,EAAiBE,GAAY,CACzC,EAAGA,EACH,EAAG,GACH,QAAS,CAAC,CACX,EAGA,OAAAE,EAAQF,GAAU,KAAKC,EAAO,QAASA,EAAQA,EAAO,QAASF,CAAmB,EAGlFE,EAAO,EAAI,GAGJA,EAAO,OACf,CAIA,OAAAF,EAAoB,EAAIG,EAGxBH,EAAoB,EAAID,EAGxBC,EAAoB,EAAI,SAASI,EAASC,EAAMC,EAAQ,CACnDN,EAAoB,EAAEI,EAASC,CAAI,GACtC,OAAO,eAAeD,EAASC,EAAM,CAAE,WAAY,GAAM,IAAKC,CAAO,CAAC,CAExE,EAGAN,EAAoB,EAAI,SAASI,EAAS,CACtC,OAAO,OAAW,KAAe,OAAO,aAC1C,OAAO,eAAeA,EAAS,OAAO,YAAa,CAAE,MAAO,QAAS,CAAC,EAEvE,OAAO,eAAeA,EAAS,aAAc,CAAE,MAAO,EAAK,CAAC,CAC7D,EAOAJ,EAAoB,EAAI,SAASO,EAAOC,EAAM,CAG7C,GAFGA,EAAO,IAAGD,EAAQP,EAAoBO,CAAK,GAC3CC,EAAO,GACNA,EAAO,GAAM,OAAOD,GAAU,UAAYA,GAASA,EAAM,WAAY,OAAOA,EAChF,IAAIE,EAAK,OAAO,OAAO,IAAI,EAG3B,GAFAT,EAAoB,EAAES,CAAE,EACxB,OAAO,eAAeA,EAAI,UAAW,CAAE,WAAY,GAAM,MAAOF,CAAM,CAAC,EACpEC,EAAO,GAAK,OAAOD,GAAS,SAAU,QAAQG,KAAOH,EAAOP,EAAoB,EAAES,EAAIC,EAAK,SAASA,EAAK,CAAE,OAAOH,EAAMG,EAAM,EAAE,KAAK,KAAMA,CAAG,CAAC,EAClJ,OAAOD,CACR,EAGAT,EAAoB,EAAI,SAASE,EAAQ,CACxC,IAAII,EAASJ,GAAUA,EAAO,WAC7B,UAAsB,CAAE,OAAOA,EAAO,OAAY,EAClD,UAA4B,CAAE,OAAOA,CAAQ,EAC9C,OAAAF,EAAoB,EAAEM,EAAQ,IAAKA,CAAM,EAClCA,CACR,EAGAN,EAAoB,EAAI,SAASW,EAAQC,EAAU,CAAE,OAAO,OAAO,UAAU,eAAe,KAAKD,EAAQC,CAAQ,CAAG,EAGpHZ,EAAoB,EAAI,GAIjBA,EAAoBA,EAAoB,EAAI,CAAC,C,grCClFtD,WACea,EAAS,KAAM,CAAC,EAEhBC,EAAS,WAETC,GAAU,IAAM,CAC5B,MAAMC,EAAI,CAAE,EAAG,CAAE,EACjB,IAAIC,EAAI,KAAID,CAAC,EAEb,OADQ,EAAKA,EAAL,GAET,GAAG,EAEUE,GAAU,IAAM,CAC5B,GAAI,CACH,MAAO,KACR,MAAE,CAAO,CACV,GAAG,EAEUC,GAAU,IAAM,CAlB/B,MAmBG,MAAMC,EAAM,CACX,SAAU,CACX,EACA,MAAO,CACNA,GAAK,UACL,EAAAA,EAAI,OAAJ,OAAY,EACZ,CACD,CACD,GAAG,EAEUC,GAAU,IAAM,CAC5B,IAAIC,EACAL,EAAI,EACR,MAAMD,EAAI,EACV,MAAO,CACNM,MAAM,GACNL,MAAMD,EACP,CACD,GAAG,EAEUO,GAAU,IAAM,CAvC/B,YAAAC,EAAA,IAAAA,IAAA,EAAAC,EAwCG,MAAO,CACN,KAAM,CAAN,cAAQ,WAAI,CAAC,CAAD,CAAG,GACf,OAAM,CAAgB,EAAd,EAAR,EAAe,IAAI,CAAC,EAApB,IACA,OAAM,CAAN,cAAQ,UAAQ,EAAR,gBAAE,UAAG,CAAC,EAAd,IACA,OAAM,CAAN,cAAQ,OAAAD,EAAA,QAAG,EAAHA,EAAA,YAAR,IACA,OAAM,CAAY,EAAHA,EAAA,YAAP,EAAR,EAAeA,EAAP,QAAR,IACA,OAAM,CAAiB,EAARA,EAAA,YAAAC,EAAE,UAAG,CAAC,EAAb,EAAR,EAAeD,GAAf,GACA,GACD,CACD,GAAG,EC/CY,iB\\",\\"file\\":\\"index.js\\",\\"sourcesContent\\":[\\" \\\\t// The module cache\\\\n \\\\tvar installedModules = {};\\\\n\\\\n \\\\t// The require function\\\\n \\\\tfunction __webpack_require__(moduleId) {\\\\n\\\\n \\\\t\\\\t// Check if module is in cache\\\\n \\\\t\\\\tif(installedModules[moduleId]) {\\\\n \\\\t\\\\t\\\\treturn installedModules[moduleId].exports;\\\\n \\\\t\\\\t}\\\\n \\\\t\\\\t// Create a new module (and put it into the cache)\\\\n \\\\t\\\\tvar module = installedModules[moduleId] = {\\\\n \\\\t\\\\t\\\\ti: moduleId,\\\\n \\\\t\\\\t\\\\tl: false,\\\\n \\\\t\\\\t\\\\texports: {}\\\\n \\\\t\\\\t};\\\\n\\\\n \\\\t\\\\t// Execute the module function\\\\n \\\\t\\\\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\\\\n\\\\n \\\\t\\\\t// Flag the module as loaded\\\\n \\\\t\\\\tmodule.l = true;\\\\n\\\\n \\\\t\\\\t// Return the exports of the module\\\\n \\\\t\\\\treturn module.exports;\\\\n \\\\t}\\\\n\\\\n\\\\n \\\\t// expose the modules object (__webpack_modules__)\\\\n \\\\t__webpack_require__.m = modules;\\\\n\\\\n \\\\t// expose the module cache\\\\n \\\\t__webpack_require__.c = installedModules;\\\\n\\\\n \\\\t// define getter function for harmony exports\\\\n \\\\t__webpack_require__.d = function(exports, name, getter) {\\\\n \\\\t\\\\tif(!__webpack_require__.o(exports, name)) {\\\\n \\\\t\\\\t\\\\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\\\\n \\\\t\\\\t}\\\\n \\\\t};\\\\n\\\\n \\\\t// define __esModule on exports\\\\n \\\\t__webpack_require__.r = function(exports) {\\\\n \\\\t\\\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\\\n \\\\t\\\\t\\\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\\\n \\\\t\\\\t}\\\\n \\\\t\\\\tObject.defineProperty(exports, '__esModule', { value: true });\\\\n \\\\t};\\\\n\\\\n \\\\t// create a fake namespace object\\\\n \\\\t// mode & 1: value is a module id, require it\\\\n \\\\t// mode & 2: merge all properties of value into the ns\\\\n \\\\t// mode & 4: return value when already ns object\\\\n \\\\t// mode & 8|1: behave like require\\\\n \\\\t__webpack_require__.t = function(value, mode) {\\\\n \\\\t\\\\tif(mode & 1) value = __webpack_require__(value);\\\\n \\\\t\\\\tif(mode & 8) return value;\\\\n \\\\t\\\\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\\\\n \\\\t\\\\tvar ns = Object.create(null);\\\\n \\\\t\\\\t__webpack_require__.r(ns);\\\\n \\\\t\\\\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\\\\n \\\\t\\\\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\\\\n \\\\t\\\\treturn ns;\\\\n \\\\t};\\\\n\\\\n \\\\t// getDefaultExport function for compatibility with non-harmony modules\\\\n \\\\t__webpack_require__.n = function(module) {\\\\n \\\\t\\\\tvar getter = module && module.__esModule ?\\\\n \\\\t\\\\t\\\\tfunction getDefault() { return module['default']; } :\\\\n \\\\t\\\\t\\\\tfunction getModuleExports() { return module; };\\\\n \\\\t\\\\t__webpack_require__.d(getter, 'a', getter);\\\\n \\\\t\\\\treturn getter;\\\\n \\\\t};\\\\n\\\\n \\\\t// Object.prototype.hasOwnProperty.call\\\\n \\\\t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\\\\n\\\\n \\\\t// __webpack_public_path__\\\\n \\\\t__webpack_require__.p = \\\\\\"\\\\\\";\\\\n\\\\n\\\\n \\\\t// Load entry module and return exports\\\\n \\\\treturn __webpack_require__(__webpack_require__.s = 0);\\\\n\\",\\"\\\\n\\\\t\\\\texport const es2016 = 10 ** 4;\\\\n\\\\n\\\\t\\\\texport const es2017 = typeof (async () => {});\\\\n\\\\n\\\\t\\\\texport const es2018 = (() => {\\\\n\\\\t\\\\t\\\\tconst y = { a: 1 }\\\\n\\\\t\\\\t\\\\tlet x = {...y}\\\\n\\\\t\\\\t\\\\tlet {...z} = y\\\\n\\\\t\\\\t\\\\treturn z;\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const es2019 = (() => {\\\\n\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\treturn 'try'\\\\n\\\\t\\\\t\\\\t} catch {}\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const es2020 = (() => {\\\\n\\\\t\\\\t\\\\tconst obj = {\\\\n\\\\t\\\\t\\\\t\\\\tproperty: 1,\\\\n\\\\t\\\\t\\\\t};\\\\n\\\\t\\\\t\\\\treturn [\\\\n\\\\t\\\\t\\\\t\\\\tobj?.property,\\\\n\\\\t\\\\t\\\\t\\\\tobj.prop ?? 2,\\\\n\\\\t\\\\t\\\\t\\\\timport.meta,\\\\n\\\\t\\\\t\\\\t];\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const es2021 = (() => {\\\\n\\\\t\\\\t\\\\tlet a;\\\\n\\\\t\\\\t\\\\tlet x = 0;\\\\n\\\\t\\\\t\\\\tconst y = 3;\\\\n\\\\t\\\\t\\\\treturn [\\\\n\\\\t\\\\t\\\\t\\\\ta ??= 2,\\\\n\\\\t\\\\t\\\\t\\\\tx ||= y,\\\\n\\\\t\\\\t\\\\t];\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const esnext = (() => {\\\\n\\\\t\\\\t\\\\treturn [\\\\n\\\\t\\\\t\\\\t\\\\tclass { x = 2; },\\\\n\\\\t\\\\t\\\\t\\\\tclass { static x = 1; },\\\\n\\\\t\\\\t\\\\t\\\\tclass { #x() {} },\\\\n\\\\t\\\\t\\\\t\\\\tclass { #x },\\\\n\\\\t\\\\t\\\\t\\\\tclass { static #x },\\\\n\\\\t\\\\t\\\\t\\\\tclass { static #x() {} },\\\\n\\\\t\\\\t\\\\t\\\\t1_000_000_000,\\\\n\\\\t\\\\t\\\\t];\\\\n\\\\t\\\\t})();\\\\n\\\\t\\",\\"\\\\n\\\\t\\\\timport * as all from './foo.js'\\\\n\\\\t\\\\texport default all\\\\n\\\\t\\"],\\"sourceRoot\\":\\"\\"}"`; - -exports[`Webpack 4 Loader + Minification minify w/ source-map option and source-map plugin inline 1`] = ` -"module.exports=function(h){var i={};function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return h[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}return o.m=h,o.c=i,o.d=function(t,s,f){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:f})},o.r=function(t){typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(t,\\"__esModule\\",{value:!0})},o.t=function(t,s){if(s&1&&(t=o(t)),s&8||s&4&&typeof t==\\"object\\"&&t&&t.__esModule)return t;var f=Object.create(null);if(o.r(f),Object.defineProperty(f,\\"default\\",{enumerable:!0,value:t}),s&2&&typeof t!=\\"string\\")for(var p in t)o.d(f,p,function(v){return t[v]}.bind(null,p));return f},o.n=function(t){var s=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(s,\\"a\\",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p=\\"\\",o(o.s=0)}([function(h,i,o){\\"use strict\\";o.r(i);var t={};o.r(t),o.d(t,\\"es2016\\",function(){return m}),o.d(t,\\"es2017\\",function(){return w}),o.d(t,\\"es2018\\",function(){return W}),o.d(t,\\"es2019\\",function(){return E}),o.d(t,\\"es2020\\",function(){return T}),o.d(t,\\"es2021\\",function(){return z}),o.d(t,\\"esnext\\",function(){return _});var s=Object.defineProperty,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,j=Math.pow,P=(r,n,e)=>n in r?s(r,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[n]=e,S=(r,n)=>{for(var e in n||(n={}))p.call(n,e)&&P(r,e,n[e]);if(f)for(var e of f(n))v.call(n,e)&&P(r,e,n[e]);return r},b=(r,n)=>{var e={};for(var a in r)p.call(r,a)&&n.indexOf(a)<0&&(e[a]=r[a]);if(r!=null&&f)for(var a of f(r))n.indexOf(a)<0&&v.call(r,a)&&(e[a]=r[a]);return e},g=(r,n,e)=>(P(r,typeof n!=\\"symbol\\"?n+\\"\\":n,e),e),O=(r,n,e)=>{if(n.has(r))throw TypeError(\\"Cannot add the same private member more than once\\");n instanceof WeakSet?n.add(r):n.set(r,e)},C=(r,n,e)=>new Promise((a,d)=>{var x=c=>{try{l(e.next(c))}catch(u){d(u)}},y=c=>{try{l(e.throw(c))}catch(u){d(u)}},l=c=>c.done?a(c.value):Promise.resolve(c.value).then(x,y);l((e=e.apply(r,n)).next())});const M={},m=j(10,4),w=\\"function\\",W=(()=>{const r={a:1};let n=S({},r);return b(r,[])})(),E=(()=>{try{return\\"try\\"}catch{}})(),T=(()=>{var r;const n={property:1};return[n?.property,(r=n.prop)!=null?r:2,M]})(),z=(()=>{let r,n=0;const e=3;return[r??(r=2),n||(n=e)]})(),_=(()=>{var r,n,e,a,d,x,y,l,c,u,A;return[class{constructor(){g(this,\\"x\\",2)}},(r=class{},g(r,\\"x\\",1),r),(a=class{constructor(){O(this,n)}},n=new WeakSet,e=function(){},a),(x=class{constructor(){O(this,d,void 0)}},d=new WeakMap,x),(y=class{},l=new WeakMap,O(y,l,void 0),y),(u=class{},c=new WeakSet,A=function(){},O(u,c),u),1e9]})();var D=i.default=t}]).default; - -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vLy9zcmMvZm9vLmpzIiwid2VicGFjazovLy8vc3JjL2luZGV4LmpzIl0sIm5hbWVzIjpbImluc3RhbGxlZE1vZHVsZXMiLCJfX3dlYnBhY2tfcmVxdWlyZV9fIiwibW9kdWxlSWQiLCJtb2R1bGUiLCJtb2R1bGVzIiwiZXhwb3J0cyIsIm5hbWUiLCJnZXR0ZXIiLCJ2YWx1ZSIsIm1vZGUiLCJucyIsImtleSIsIm9iamVjdCIsInByb3BlcnR5IiwiZXMyMDE2IiwiZXMyMDE3IiwiZXMyMDE4IiwieSIsIngiLCJlczIwMTkiLCJlczIwMjAiLCJvYmoiLCJlczIwMjEiLCJhIiwiZXNuZXh0IiwiX3giLCJ4X2ZuIl0sIm1hcHBpbmdzIjoiMkJBQ0UsSUFBSUEsRUFBbUIsQ0FBQyxFQUd4QixTQUFTQyxFQUFvQkMsRUFBVSxDQUd0QyxHQUFHRixFQUFpQkUsR0FDbkIsT0FBT0YsRUFBaUJFLEdBQVUsUUFHbkMsSUFBSUMsRUFBU0gsRUFBaUJFLEdBQVksQ0FDekMsRUFBR0EsRUFDSCxFQUFHLEdBQ0gsUUFBUyxDQUFDLENBQ1gsRUFHQSxPQUFBRSxFQUFRRixHQUFVLEtBQUtDLEVBQU8sUUFBU0EsRUFBUUEsRUFBTyxRQUFTRixDQUFtQixFQUdsRkUsRUFBTyxFQUFJLEdBR0pBLEVBQU8sT0FDZixDQUlBLE9BQUFGLEVBQW9CLEVBQUlHLEVBR3hCSCxFQUFvQixFQUFJRCxFQUd4QkMsRUFBb0IsRUFBSSxTQUFTSSxFQUFTQyxFQUFNQyxFQUFRLENBQ25ETixFQUFvQixFQUFFSSxFQUFTQyxDQUFJLEdBQ3RDLE9BQU8sZUFBZUQsRUFBU0MsRUFBTSxDQUFFLFdBQVksR0FBTSxJQUFLQyxDQUFPLENBQUMsQ0FFeEUsRUFHQU4sRUFBb0IsRUFBSSxTQUFTSSxFQUFTLENBQ3RDLE9BQU8sT0FBVyxLQUFlLE9BQU8sYUFDMUMsT0FBTyxlQUFlQSxFQUFTLE9BQU8sWUFBYSxDQUFFLE1BQU8sUUFBUyxDQUFDLEVBRXZFLE9BQU8sZUFBZUEsRUFBUyxhQUFjLENBQUUsTUFBTyxFQUFLLENBQUMsQ0FDN0QsRUFPQUosRUFBb0IsRUFBSSxTQUFTTyxFQUFPQyxFQUFNLENBRzdDLEdBRkdBLEVBQU8sSUFBR0QsRUFBUVAsRUFBb0JPLENBQUssR0FDM0NDLEVBQU8sR0FDTkEsRUFBTyxHQUFNLE9BQU9ELEdBQVUsVUFBWUEsR0FBU0EsRUFBTSxXQUFZLE9BQU9BLEVBQ2hGLElBQUlFLEVBQUssT0FBTyxPQUFPLElBQUksRUFHM0IsR0FGQVQsRUFBb0IsRUFBRVMsQ0FBRSxFQUN4QixPQUFPLGVBQWVBLEVBQUksVUFBVyxDQUFFLFdBQVksR0FBTSxNQUFPRixDQUFNLENBQUMsRUFDcEVDLEVBQU8sR0FBSyxPQUFPRCxHQUFTLFNBQVUsUUFBUUcsS0FBT0gsRUFBT1AsRUFBb0IsRUFBRVMsRUFBSUMsRUFBSyxTQUFTQSxFQUFLLENBQUUsT0FBT0gsRUFBTUcsRUFBTSxFQUFFLEtBQUssS0FBTUEsQ0FBRyxDQUFDLEVBQ2xKLE9BQU9ELENBQ1IsRUFHQVQsRUFBb0IsRUFBSSxTQUFTRSxFQUFRLENBQ3hDLElBQUlJLEVBQVNKLEdBQVVBLEVBQU8sV0FDN0IsVUFBc0IsQ0FBRSxPQUFPQSxFQUFPLE9BQVksRUFDbEQsVUFBNEIsQ0FBRSxPQUFPQSxDQUFRLEVBQzlDLE9BQUFGLEVBQW9CLEVBQUVNLEVBQVEsSUFBS0EsQ0FBTSxFQUNsQ0EsQ0FDUixFQUdBTixFQUFvQixFQUFJLFNBQVNXLEVBQVFDLEVBQVUsQ0FBRSxPQUFPLE9BQU8sVUFBVSxlQUFlLEtBQUtELEVBQVFDLENBQVEsQ0FBRyxFQUdwSFosRUFBb0IsRUFBSSxHQUlqQkEsRUFBb0JBLEVBQW9CLEVBQUksQ0FBQyxDLGdyQ0NsRnRELFdBQ2VhLEVBQVMsS0FBTSxDQUFDLEVBRWhCQyxFQUFTLFdBRVRDLEdBQVUsSUFBTSxDQUM1QixNQUFNQyxFQUFJLENBQUUsRUFBRyxDQUFFLEVBQ2pCLElBQUlDLEVBQUksS0FBSUQsQ0FBQyxFQUViLE9BRFEsRUFBS0EsRUFBTCxHQUVULEdBQUcsRUFFVUUsR0FBVSxJQUFNLENBQzVCLEdBQUksQ0FDSCxNQUFPLEtBQ1IsTUFBRSxDQUFPLENBQ1YsR0FBRyxFQUVVQyxHQUFVLElBQU0sQ0FsQi9CLE1BbUJHLE1BQU1DLEVBQU0sQ0FDWCxTQUFVLENBQ1gsRUFDQSxNQUFPLENBQ05BLEdBQUssVUFDTCxFQUFBQSxFQUFJLE9BQUosT0FBWSxFQUNaLENBQ0QsQ0FDRCxHQUFHLEVBRVVDLEdBQVUsSUFBTSxDQUM1QixJQUFJQyxFQUNBTCxFQUFJLEVBQ1IsTUFBTUQsRUFBSSxFQUNWLE1BQU8sQ0FDTk0sTUFBTSxHQUNOTCxNQUFNRCxFQUNQLENBQ0QsR0FBRyxFQUVVTyxHQUFVLElBQU0sQ0F2Qy9CLFlBQUFDLEVBQUEsSUFBQUEsSUFBQSxFQUFBQyxFQXdDRyxNQUFPLENBQ04sS0FBTSxDQUFOLGNBQVEsV0FBSSxDQUFDLENBQUQsQ0FBRyxHQUNmLE9BQU0sQ0FBZ0IsRUFBZCxFQUFSLEVBQWUsSUFBSSxDQUFDLEVBQXBCLElBQ0EsT0FBTSxDQUFOLGNBQVEsVUFBUSxFQUFSLGdCQUFFLFVBQUcsQ0FBQyxFQUFkLElBQ0EsT0FBTSxDQUFOLGNBQVEsT0FBQUQsRUFBQSxRQUFHLEVBQUhBLEVBQUEsWUFBUixJQUNBLE9BQU0sQ0FBWSxFQUFIQSxFQUFBLFlBQVAsRUFBUixFQUFlQSxFQUFQLFFBQVIsSUFDQSxPQUFNLENBQWlCLEVBQVJBLEVBQUEsWUFBQUMsRUFBRSxVQUFHLENBQUMsRUFBYixFQUFSLEVBQWVELEdBQWYsR0FDQSxHQUNELENBQ0QsR0FBRyxFQy9DWSxpQiIsImZpbGUiOiJpbmRleC5qcyIsInNvdXJjZXNDb250ZW50IjpbIiBcdC8vIFRoZSBtb2R1bGUgY2FjaGVcbiBcdHZhciBpbnN0YWxsZWRNb2R1bGVzID0ge307XG5cbiBcdC8vIFRoZSByZXF1aXJlIGZ1bmN0aW9uXG4gXHRmdW5jdGlvbiBfX3dlYnBhY2tfcmVxdWlyZV9fKG1vZHVsZUlkKSB7XG5cbiBcdFx0Ly8gQ2hlY2sgaWYgbW9kdWxlIGlzIGluIGNhY2hlXG4gXHRcdGlmKGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdKSB7XG4gXHRcdFx0cmV0dXJuIGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdLmV4cG9ydHM7XG4gXHRcdH1cbiBcdFx0Ly8gQ3JlYXRlIGEgbmV3IG1vZHVsZSAoYW5kIHB1dCBpdCBpbnRvIHRoZSBjYWNoZSlcbiBcdFx0dmFyIG1vZHVsZSA9IGluc3RhbGxlZE1vZHVsZXNbbW9kdWxlSWRdID0ge1xuIFx0XHRcdGk6IG1vZHVsZUlkLFxuIFx0XHRcdGw6IGZhbHNlLFxuIFx0XHRcdGV4cG9ydHM6IHt9XG4gXHRcdH07XG5cbiBcdFx0Ly8gRXhlY3V0ZSB0aGUgbW9kdWxlIGZ1bmN0aW9uXG4gXHRcdG1vZHVsZXNbbW9kdWxlSWRdLmNhbGwobW9kdWxlLmV4cG9ydHMsIG1vZHVsZSwgbW9kdWxlLmV4cG9ydHMsIF9fd2VicGFja19yZXF1aXJlX18pO1xuXG4gXHRcdC8vIEZsYWcgdGhlIG1vZHVsZSBhcyBsb2FkZWRcbiBcdFx0bW9kdWxlLmwgPSB0cnVlO1xuXG4gXHRcdC8vIFJldHVybiB0aGUgZXhwb3J0cyBvZiB0aGUgbW9kdWxlXG4gXHRcdHJldHVybiBtb2R1bGUuZXhwb3J0cztcbiBcdH1cblxuXG4gXHQvLyBleHBvc2UgdGhlIG1vZHVsZXMgb2JqZWN0IChfX3dlYnBhY2tfbW9kdWxlc19fKVxuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5tID0gbW9kdWxlcztcblxuIFx0Ly8gZXhwb3NlIHRoZSBtb2R1bGUgY2FjaGVcbiBcdF9fd2VicGFja19yZXF1aXJlX18uYyA9IGluc3RhbGxlZE1vZHVsZXM7XG5cbiBcdC8vIGRlZmluZSBnZXR0ZXIgZnVuY3Rpb24gZm9yIGhhcm1vbnkgZXhwb3J0c1xuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5kID0gZnVuY3Rpb24oZXhwb3J0cywgbmFtZSwgZ2V0dGVyKSB7XG4gXHRcdGlmKCFfX3dlYnBhY2tfcmVxdWlyZV9fLm8oZXhwb3J0cywgbmFtZSkpIHtcbiBcdFx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgbmFtZSwgeyBlbnVtZXJhYmxlOiB0cnVlLCBnZXQ6IGdldHRlciB9KTtcbiBcdFx0fVxuIFx0fTtcblxuIFx0Ly8gZGVmaW5lIF9fZXNNb2R1bGUgb24gZXhwb3J0c1xuIFx0X193ZWJwYWNrX3JlcXVpcmVfXy5yID0gZnVuY3Rpb24oZXhwb3J0cykge1xuIFx0XHRpZih0eXBlb2YgU3ltYm9sICE9PSAndW5kZWZpbmVkJyAmJiBTeW1ib2wudG9TdHJpbmdUYWcpIHtcbiBcdFx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgU3ltYm9sLnRvU3RyaW5nVGFnLCB7IHZhbHVlOiAnTW9kdWxlJyB9KTtcbiBcdFx0fVxuIFx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgJ19fZXNNb2R1bGUnLCB7IHZhbHVlOiB0cnVlIH0pO1xuIFx0fTtcblxuIFx0Ly8gY3JlYXRlIGEgZmFrZSBuYW1lc3BhY2Ugb2JqZWN0XG4gXHQvLyBtb2RlICYgMTogdmFsdWUgaXMgYSBtb2R1bGUgaWQsIHJlcXVpcmUgaXRcbiBcdC8vIG1vZGUgJiAyOiBtZXJnZSBhbGwgcHJvcGVydGllcyBvZiB2YWx1ZSBpbnRvIHRoZSBuc1xuIFx0Ly8gbW9kZSAmIDQ6IHJldHVybiB2YWx1ZSB3aGVuIGFscmVhZHkgbnMgb2JqZWN0XG4gXHQvLyBtb2RlICYgOHwxOiBiZWhhdmUgbGlrZSByZXF1aXJlXG4gXHRfX3dlYnBhY2tfcmVxdWlyZV9fLnQgPSBmdW5jdGlvbih2YWx1ZSwgbW9kZSkge1xuIFx0XHRpZihtb2RlICYgMSkgdmFsdWUgPSBfX3dlYnBhY2tfcmVxdWlyZV9fKHZhbHVlKTtcbiBcdFx0aWYobW9kZSAmIDgpIHJldHVybiB2YWx1ZTtcbiBcdFx0aWYoKG1vZGUgJiA0KSAmJiB0eXBlb2YgdmFsdWUgPT09ICdvYmplY3QnICYmIHZhbHVlICYmIHZhbHVlLl9fZXNNb2R1bGUpIHJldHVybiB2YWx1ZTtcbiBcdFx0dmFyIG5zID0gT2JqZWN0LmNyZWF0ZShudWxsKTtcbiBcdFx0X193ZWJwYWNrX3JlcXVpcmVfXy5yKG5zKTtcbiBcdFx0T2JqZWN0LmRlZmluZVByb3BlcnR5KG5zLCAnZGVmYXVsdCcsIHsgZW51bWVyYWJsZTogdHJ1ZSwgdmFsdWU6IHZhbHVlIH0pO1xuIFx0XHRpZihtb2RlICYgMiAmJiB0eXBlb2YgdmFsdWUgIT0gJ3N0cmluZycpIGZvcih2YXIga2V5IGluIHZhbHVlKSBfX3dlYnBhY2tfcmVxdWlyZV9fLmQobnMsIGtleSwgZnVuY3Rpb24oa2V5KSB7IHJldHVybiB2YWx1ZVtrZXldOyB9LmJpbmQobnVsbCwga2V5KSk7XG4gXHRcdHJldHVybiBucztcbiBcdH07XG5cbiBcdC8vIGdldERlZmF1bHRFeHBvcnQgZnVuY3Rpb24gZm9yIGNvbXBhdGliaWxpdHkgd2l0aCBub24taGFybW9ueSBtb2R1bGVzXG4gXHRfX3dlYnBhY2tfcmVxdWlyZV9fLm4gPSBmdW5jdGlvbihtb2R1bGUpIHtcbiBcdFx0dmFyIGdldHRlciA9IG1vZHVsZSAmJiBtb2R1bGUuX19lc01vZHVsZSA/XG4gXHRcdFx0ZnVuY3Rpb24gZ2V0RGVmYXVsdCgpIHsgcmV0dXJuIG1vZHVsZVsnZGVmYXVsdCddOyB9IDpcbiBcdFx0XHRmdW5jdGlvbiBnZXRNb2R1bGVFeHBvcnRzKCkgeyByZXR1cm4gbW9kdWxlOyB9O1xuIFx0XHRfX3dlYnBhY2tfcmVxdWlyZV9fLmQoZ2V0dGVyLCAnYScsIGdldHRlcik7XG4gXHRcdHJldHVybiBnZXR0ZXI7XG4gXHR9O1xuXG4gXHQvLyBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGxcbiBcdF9fd2VicGFja19yZXF1aXJlX18ubyA9IGZ1bmN0aW9uKG9iamVjdCwgcHJvcGVydHkpIHsgcmV0dXJuIE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHkuY2FsbChvYmplY3QsIHByb3BlcnR5KTsgfTtcblxuIFx0Ly8gX193ZWJwYWNrX3B1YmxpY19wYXRoX19cbiBcdF9fd2VicGFja19yZXF1aXJlX18ucCA9IFwiXCI7XG5cblxuIFx0Ly8gTG9hZCBlbnRyeSBtb2R1bGUgYW5kIHJldHVybiBleHBvcnRzXG4gXHRyZXR1cm4gX193ZWJwYWNrX3JlcXVpcmVfXyhfX3dlYnBhY2tfcmVxdWlyZV9fLnMgPSAwKTtcbiIsIlxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTYgPSAxMCAqKiA0O1xuXG5cdFx0ZXhwb3J0IGNvbnN0IGVzMjAxNyA9IHR5cGVvZiAoYXN5bmMgKCkgPT4ge30pO1xuXG5cdFx0ZXhwb3J0IGNvbnN0IGVzMjAxOCA9ICgoKSA9PiB7XG5cdFx0XHRjb25zdCB5ID0geyBhOiAxIH1cblx0XHRcdGxldCB4ID0gey4uLnl9XG5cdFx0XHRsZXQgey4uLnp9ID0geVxuXHRcdFx0cmV0dXJuIHo7XG5cdFx0fSkoKTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTkgPSAoKCkgPT4ge1xuXHRcdFx0dHJ5IHtcblx0XHRcdFx0cmV0dXJuICd0cnknXG5cdFx0XHR9IGNhdGNoIHt9XG5cdFx0fSkoKTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMjAgPSAoKCkgPT4ge1xuXHRcdFx0Y29uc3Qgb2JqID0ge1xuXHRcdFx0XHRwcm9wZXJ0eTogMSxcblx0XHRcdH07XG5cdFx0XHRyZXR1cm4gW1xuXHRcdFx0XHRvYmo/LnByb3BlcnR5LFxuXHRcdFx0XHRvYmoucHJvcCA/PyAyLFxuXHRcdFx0XHRpbXBvcnQubWV0YSxcblx0XHRcdF07XG5cdFx0fSkoKTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMjEgPSAoKCkgPT4ge1xuXHRcdFx0bGV0IGE7XG5cdFx0XHRsZXQgeCA9IDA7XG5cdFx0XHRjb25zdCB5ID0gMztcblx0XHRcdHJldHVybiBbXG5cdFx0XHRcdGEgPz89IDIsXG5cdFx0XHRcdHggfHw9IHksXG5cdFx0XHRdO1xuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXNuZXh0ID0gKCgpID0+IHtcblx0XHRcdHJldHVybiBbXG5cdFx0XHRcdGNsYXNzIHsgeCA9IDI7IH0sXG5cdFx0XHRcdGNsYXNzIHsgc3RhdGljIHggPSAxOyB9LFxuXHRcdFx0XHRjbGFzcyB7ICN4KCkge30gfSxcblx0XHRcdFx0Y2xhc3MgeyAjeCB9LFxuXHRcdFx0XHRjbGFzcyB7IHN0YXRpYyAjeCB9LFxuXHRcdFx0XHRjbGFzcyB7IHN0YXRpYyAjeCgpIHt9IH0sXG5cdFx0XHRcdDFfMDAwXzAwMF8wMDAsXG5cdFx0XHRdO1xuXHRcdH0pKCk7XG5cdCIsIlxuXHRcdGltcG9ydCAqIGFzIGFsbCBmcm9tICcuL2Zvby5qcydcblx0XHRleHBvcnQgZGVmYXVsdCBhbGxcblx0Il0sInNvdXJjZVJvb3QiOiIifQ==" -`; - -exports[`Webpack 4 Loader + Minification minify with custom implementation - real 1`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader + Minification minify with custom implementation 1`] = `"export function foo() { return \\"MY_CUSTOM_ESBUILD_IMPLEMENTATION\\"; }"`; - -exports[`Webpack 4 Loader + Minification minifyIdentifiers 1`] = ` -"module.exports = function(h) { - var i = {}; - function o(t) { - if (i[t]) { - return i[t].exports; - } - var s = i[t] = { - i: t, - l: false, - exports: {} - }; - h[t].call(s.exports, s, s.exports, o); - s.l = true; - return s.exports; - } - o.m = h; - o.c = i; - o.d = function(t, s, f) { - if (!o.o(t, s)) { - Object.defineProperty(t, s, { enumerable: true, get: f }); - } - }; - o.r = function(t) { - if (typeof Symbol !== \\"undefined\\" && Symbol.toStringTag) { - Object.defineProperty(t, Symbol.toStringTag, { value: \\"Module\\" }); - } - Object.defineProperty(t, \\"__esModule\\", { value: true }); - }; - o.t = function(t, s) { - if (s & 1) - t = o(t); - if (s & 8) - return t; - if (s & 4 && typeof t === \\"object\\" && t && t.__esModule) - return t; - var f = /* @__PURE__ */ Object.create(null); - o.r(f); - Object.defineProperty(f, \\"default\\", { enumerable: true, value: t }); - if (s & 2 && typeof t != \\"string\\") - for (var p in t) - o.d(f, p, function(v) { - return t[v]; - }.bind(null, p)); - return f; - }; - o.n = function(t) { - var s = t && t.__esModule ? function f() { - return t[\\"default\\"]; - } : function f() { - return t; - }; - o.d(s, \\"a\\", s); - return s; - }; - o.o = function(t, s) { - return Object.prototype.hasOwnProperty.call(t, s); - }; - o.p = \\"\\"; - return o(o.s = 0); -}([ - function(h, i, o) { - \\"use strict\\"; - o.r(i); - var t = {}; - o.r(t); - o.d(t, \\"es2016\\", function() { - return m; - }); - o.d(t, \\"es2017\\", function() { - return w; - }); - o.d(t, \\"es2018\\", function() { - return W; - }); - o.d(t, \\"es2019\\", function() { - return E; - }); - o.d(t, \\"es2020\\", function() { - return T; - }); - o.d(t, \\"es2021\\", function() { - return _; - }); - o.d(t, \\"esnext\\", function() { - return z; - }); - var s = Object.defineProperty; - var f = Object.getOwnPropertySymbols; - var p = Object.prototype.hasOwnProperty; - var v = Object.prototype.propertyIsEnumerable; - var j = Math.pow; - var P = (r, n, e) => n in r ? s(r, n, { enumerable: true, configurable: true, writable: true, value: e }) : r[n] = e; - var S = (r, n) => { - for (var e in n || (n = {})) - if (p.call(n, e)) - P(r, e, n[e]); - if (f) - for (var e of f(n)) { - if (v.call(n, e)) - P(r, e, n[e]); - } - return r; - }; - var b = (r, n) => { - var e = {}; - for (var a in r) - if (p.call(r, a) && n.indexOf(a) < 0) - e[a] = r[a]; - if (r != null && f) - for (var a of f(r)) { - if (n.indexOf(a) < 0 && v.call(r, a)) - e[a] = r[a]; - } - return e; - }; - var g = (r, n, e) => { - P(r, typeof n !== \\"symbol\\" ? n + \\"\\" : n, e); - return e; - }; - var O = (r, n, e) => { - if (n.has(r)) - throw TypeError(\\"Cannot add the same private member more than once\\"); - n instanceof WeakSet ? n.add(r) : n.set(r, e); - }; - var C = (r, n, e) => { - return new Promise((a, d) => { - var x = (c) => { - try { - l(e.next(c)); - } catch (u) { - d(u); - } - }; - var y = (c) => { - try { - l(e.throw(c)); - } catch (u) { - d(u); - } - }; - var l = (c) => c.done ? a(c.value) : Promise.resolve(c.value).then(x, y); - l((e = e.apply(r, n)).next()); - }); - }; - const M = {}; - const m = j(10, 4); - const w = \\"function\\"; - const W = (() => { - const r = { a: 1 }; - let n = S({}, r); - let e = b(r, []); - return e; - })(); - const E = (() => { - try { - return \\"try\\"; - } catch (r) { - } - })(); - const T = (() => { - var r; - const n = { - property: 1 - }; - return [ - n == null ? void 0 : n.property, - (r = n.prop) != null ? r : 2, - M - ]; - })(); - const _ = (() => { - let r; - let n = 0; - const e = 3; - return [ - r != null ? r : r = 2, - n || (n = e) - ]; - })(); - const z = (() => { - var r, n, e, a, d, x, y, l, c, u, A; - return [ - class { - constructor() { - g(this, \\"x\\", 2); - } - }, - (r = class { - }, g(r, \\"x\\", 1), r), - (a = class { - constructor() { - O(this, n); - } - }, n = /* @__PURE__ */ new WeakSet(), e = function() { - }, a), - (x = class { - constructor() { - O(this, d, void 0); - } - }, d = /* @__PURE__ */ new WeakMap(), x), - (y = class { - }, l = /* @__PURE__ */ new WeakMap(), O(y, l, void 0), y), - (u = class { - }, c = /* @__PURE__ */ new WeakSet(), A = function() { - }, O(u, c), u), - 1e9 - ]; - })(); - var D = i[\\"default\\"] = t; - } -])[\\"default\\"]; -" -`; - -exports[`Webpack 4 Loader + Minification minifyIdentifiers 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader + Minification minifySyntax 1`] = ` -"module.exports = function(modules) { - var installedModules = {}; - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) - return installedModules[moduleId].exports; - var module2 = installedModules[moduleId] = { - i: moduleId, - l: !1, - exports: {} - }; - return modules[moduleId].call(module2.exports, module2, module2.exports, __webpack_require__), module2.l = !0, module2.exports; - } - return __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.d = function(exports, name, getter) { - __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, { enumerable: !0, get: getter }); - }, __webpack_require__.r = function(exports) { - typeof Symbol != \\"undefined\\" && Symbol.toStringTag && Object.defineProperty(exports, Symbol.toStringTag, { value: \\"Module\\" }), Object.defineProperty(exports, \\"__esModule\\", { value: !0 }); - }, __webpack_require__.t = function(value, mode) { - if (mode & 1 && (value = __webpack_require__(value)), mode & 8 || mode & 4 && typeof value == \\"object\\" && value && value.__esModule) - return value; - var ns = /* @__PURE__ */ Object.create(null); - if (__webpack_require__.r(ns), Object.defineProperty(ns, \\"default\\", { enumerable: !0, value }), mode & 2 && typeof value != \\"string\\") - for (var key in value) - __webpack_require__.d(ns, key, function(key2) { - return value[key2]; - }.bind(null, key)); - return ns; - }, __webpack_require__.n = function(module2) { - var getter = module2 && module2.__esModule ? function() { - return module2.default; - } : function() { - return module2; - }; - return __webpack_require__.d(getter, \\"a\\", getter), getter; - }, __webpack_require__.o = function(object, property) { - return Object.prototype.hasOwnProperty.call(object, property); - }, __webpack_require__.p = \\"\\", __webpack_require__(__webpack_require__.s = 0); -}([ - function(module2, __webpack_exports__, __webpack_require__) { - \\"use strict\\"; - __webpack_require__.r(__webpack_exports__); - var foo_namespaceObject = {}; - __webpack_require__.r(foo_namespaceObject), __webpack_require__.d(foo_namespaceObject, \\"es2016\\", function() { - return es2016; - }), __webpack_require__.d(foo_namespaceObject, \\"es2017\\", function() { - return es2017; - }), __webpack_require__.d(foo_namespaceObject, \\"es2018\\", function() { - return es2018; - }), __webpack_require__.d(foo_namespaceObject, \\"es2019\\", function() { - return es2019; - }), __webpack_require__.d(foo_namespaceObject, \\"es2020\\", function() { - return es2020; - }), __webpack_require__.d(foo_namespaceObject, \\"es2021\\", function() { - return es2021; - }), __webpack_require__.d(foo_namespaceObject, \\"esnext\\", function() { - return esnext; - }); - var __defProp = Object.defineProperty, __getOwnPropSymbols = Object.getOwnPropertySymbols, __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable, __pow = Math.pow, __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => { - for (var prop in b || (b = {})) - __hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]); - if (__getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(b)) - __propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]); - return a; - }, __objRest = (source, exclude) => { - var target = {}; - for (var prop in source) - __hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0 && (target[prop] = source[prop]); - if (source != null && __getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(source)) - exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop) && (target[prop] = source[prop]); - return target; - }, __publicField = (obj, key, value) => (__defNormalProp(obj, typeof key != \\"symbol\\" ? key + \\"\\" : key, value), value), __privateAdd = (obj, member, value) => { - if (member.has(obj)) - throw TypeError(\\"Cannot add the same private member more than once\\"); - member instanceof WeakSet ? member.add(obj) : member.set(obj, value); - }, __async = (__this, __arguments, generator) => new Promise((resolve, reject) => { - var fulfilled = (value) => { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } - }, rejected = (value) => { - try { - step(generator.throw(value)); - } catch (e) { - reject(e); - } - }, step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); - step((generator = generator.apply(__this, __arguments)).next()); - }); - const import_meta = {}, es2016 = __pow(10, 4), es2017 = \\"function\\", es2018 = (() => { - const y = { a: 1 }; - let x = __spreadValues({}, y); - return __objRest(y, []); - })(), es2019 = (() => { - try { - return \\"try\\"; - } catch { - } - })(), es2020 = (() => { - var _a; - const obj = { - property: 1 - }; - return [ - obj == null ? void 0 : obj.property, - (_a = obj.prop) != null ? _a : 2, - import_meta - ]; - })(), es2021 = (() => { - let a, x = 0; - const y = 3; - return [ - a != null ? a : a = 2, - x || (x = y) - ]; - })(), esnext = (() => { - var _a, _x, x_fn, _b, _x2, _c, _d, _x3, _x4, _e, x_fn2; - return [ - class { - constructor() { - __publicField(this, \\"x\\", 2); - } - }, - (_a = class { - }, __publicField(_a, \\"x\\", 1), _a), - (_b = class { - constructor() { - __privateAdd(this, _x); - } - }, _x = /* @__PURE__ */ new WeakSet(), x_fn = function() { - }, _b), - (_c = class { - constructor() { - __privateAdd(this, _x2, void 0); - } - }, _x2 = /* @__PURE__ */ new WeakMap(), _c), - (_d = class { - }, _x3 = /* @__PURE__ */ new WeakMap(), __privateAdd(_d, _x3, void 0), _d), - (_e = class { - }, _x4 = /* @__PURE__ */ new WeakSet(), x_fn2 = function() { - }, __privateAdd(_e, _x4), _e), - 1e9 - ]; - })(); - var src = __webpack_exports__.default = foo_namespaceObject; - } -]).default; -" -`; - -exports[`Webpack 4 Loader + Minification minifySyntax 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 4 Loader + Minification minifyWhitespace 1`] = ` -"module.exports=function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var module2=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module2.exports,module2,module2.exports,__webpack_require__);module2.l=true;return module2.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{enumerable:true,get:getter})}};__webpack_require__.r=function(exports){if(typeof Symbol!==\\"undefined\\"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:\\"Module\\"})}Object.defineProperty(exports,\\"__esModule\\",{value:true})};__webpack_require__.t=function(value,mode){if(mode&1)value=__webpack_require__(value);if(mode&8)return value;if(mode&4&&typeof value===\\"object\\"&&value&&value.__esModule)return value;var ns=Object.create(null);__webpack_require__.r(ns);Object.defineProperty(ns,\\"default\\",{enumerable:true,value});if(mode&2&&typeof value!=\\"string\\")for(var key in value)__webpack_require__.d(ns,key,function(key2){return value[key2]}.bind(null,key));return ns};__webpack_require__.n=function(module2){var getter=module2&&module2.__esModule?function getDefault(){return module2[\\"default\\"]}:function getModuleExports(){return module2};__webpack_require__.d(getter,\\"a\\",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p=\\"\\";return __webpack_require__(__webpack_require__.s=0)}([function(module2,__webpack_exports__,__webpack_require__){\\"use strict\\";__webpack_require__.r(__webpack_exports__);var foo_namespaceObject={};__webpack_require__.r(foo_namespaceObject);__webpack_require__.d(foo_namespaceObject,\\"es2016\\",function(){return es2016});__webpack_require__.d(foo_namespaceObject,\\"es2017\\",function(){return es2017});__webpack_require__.d(foo_namespaceObject,\\"es2018\\",function(){return es2018});__webpack_require__.d(foo_namespaceObject,\\"es2019\\",function(){return es2019});__webpack_require__.d(foo_namespaceObject,\\"es2020\\",function(){return es2020});__webpack_require__.d(foo_namespaceObject,\\"es2021\\",function(){return es2021});__webpack_require__.d(foo_namespaceObject,\\"esnext\\",function(){return esnext});var __defProp=Object.defineProperty;var __getOwnPropSymbols=Object.getOwnPropertySymbols;var __hasOwnProp=Object.prototype.hasOwnProperty;var __propIsEnum=Object.prototype.propertyIsEnumerable;var __pow=Math.pow;var __defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:true,configurable:true,writable:true,value}):obj[key]=value;var __spreadValues=(a,b)=>{for(var prop in b||(b={}))if(__hasOwnProp.call(b,prop))__defNormalProp(a,prop,b[prop]);if(__getOwnPropSymbols)for(var prop of __getOwnPropSymbols(b)){if(__propIsEnum.call(b,prop))__defNormalProp(a,prop,b[prop])}return a};var __objRest=(source,exclude)=>{var target={};for(var prop in source)if(__hasOwnProp.call(source,prop)&&exclude.indexOf(prop)<0)target[prop]=source[prop];if(source!=null&&__getOwnPropSymbols)for(var prop of __getOwnPropSymbols(source)){if(exclude.indexOf(prop)<0&&__propIsEnum.call(source,prop))target[prop]=source[prop]}return target};var __publicField=(obj,key,value)=>{__defNormalProp(obj,typeof key!==\\"symbol\\"?key+\\"\\":key,value);return value};var __privateAdd=(obj,member,value)=>{if(member.has(obj))throw TypeError(\\"Cannot add the same private member more than once\\");member instanceof WeakSet?member.add(obj):member.set(obj,value)};var __async=(__this,__arguments,generator)=>{return new Promise((resolve,reject)=>{var fulfilled=value=>{try{step(generator.next(value))}catch(e){reject(e)}};var rejected=value=>{try{step(generator.throw(value))}catch(e){reject(e)}};var step=x=>x.done?resolve(x.value):Promise.resolve(x.value).then(fulfilled,rejected);step((generator=generator.apply(__this,__arguments)).next())})};const import_meta={};const es2016=__pow(10,4);const es2017=\\"function\\";const es2018=(()=>{const y={a:1};let x=__spreadValues({},y);let z=__objRest(y,[]);return z})();const es2019=(()=>{try{return\\"try\\"}catch(e){}})();const es2020=(()=>{var _a;const obj={property:1};return[obj==null?void 0:obj.property,(_a=obj.prop)!=null?_a:2,import_meta]})();const es2021=(()=>{let a;let x=0;const y=3;return[a!=null?a:a=2,x||(x=y)]})();const esnext=(()=>{var _a,_x,x_fn,_b,_x2,_c,_d,_x3,_x4,_e,x_fn2;return[class{constructor(){__publicField(this,\\"x\\",2)}},(_a=class{},__publicField(_a,\\"x\\",1),_a),(_b=class{constructor(){__privateAdd(this,_x)}},_x=new WeakSet,x_fn=function(){},_b),(_c=class{constructor(){__privateAdd(this,_x2,void 0)}},_x2=new WeakMap,_c),(_d=class{},_x3=new WeakMap,__privateAdd(_d,_x3,void 0),_d),(_e=class{},_x4=new WeakSet,x_fn2=function(){},__privateAdd(_e,_x4),_e),1e9]})();var src=__webpack_exports__[\\"default\\"]=foo_namespaceObject}])[\\"default\\"]; -" -`; - -exports[`Webpack 4 Loader + Minification minifyWhitespace 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minify 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol!=\\"undefined\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t==null?void 0:t.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e!=null?e:e=2,t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minify chunks 1`] = ` -"(()=>{\\"use strict\\";var _={},l={};function e(r){var a=l[r];if(a!==void 0)return a.exports;var t=l[r]={exports:{}};return _[r](t,t.exports,e),t.exports}e.m=_,e.d=(r,a)=>{for(var t in a)e.o(a,t)&&!e.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:a[t]})},e.f={},e.e=r=>Promise.all(Object.keys(e.f).reduce((a,t)=>(e.f[t](r,a),a),[])),e.u=r=>\\"\\"+{376:\\"named-chunk-bar\\",600:\\"named-chunk-foo\\"}[r]+\\".js\\",e.o=(r,a)=>Object.prototype.hasOwnProperty.call(r,a),e.r=r=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(r,\\"__esModule\\",{value:!0})},(()=>{var r={826:1},a=t=>{var n=t.modules,f=t.ids,i=t.runtime;for(var o in n)e.o(n,o)&&(e.m[o]=n[o]);i&&i(e);for(var u=0;u{r[t]||a(require(\\"./\\"+e.u(t)))}})();var s={};e.d(s,{default:()=>b});const c=e.e(600).then(e.bind(e,717)),d=e.e(376).then(e.bind(e,825)),b=async()=>(await c).default+(await d).default;module.exports=s.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify chunks 2`] = ` -"\\"use strict\\";exports.id=600,exports.ids=[600],exports.modules={717:(t,s,d)=>{d.r(s),d.d(s,{default:()=>o});const o=\\"foo\\"}}; -" -`; - -exports[`Webpack 5 Loader + Minification minify chunks 3`] = ` -"\\"use strict\\";exports.id=376,exports.ids=[376],exports.modules={825:(o,s,d)=>{d.r(s),d.d(s,{default:()=>t});const t=\\"bar\\"}}; -" -`; - -exports[`Webpack 5 Loader + Minification minify chunks filtered using "exclude" 1`] = ` -"(()=>{\\"use strict\\";var _={},l={};function e(r){var a=l[r];if(a!==void 0)return a.exports;var t=l[r]={exports:{}};return _[r](t,t.exports,e),t.exports}e.m=_,e.d=(r,a)=>{for(var t in a)e.o(a,t)&&!e.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:a[t]})},e.f={},e.e=r=>Promise.all(Object.keys(e.f).reduce((a,t)=>(e.f[t](r,a),a),[])),e.u=r=>\\"\\"+{376:\\"named-chunk-bar\\",600:\\"named-chunk-foo\\"}[r]+\\".js\\",e.o=(r,a)=>Object.prototype.hasOwnProperty.call(r,a),e.r=r=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(r,\\"__esModule\\",{value:!0})},(()=>{var r={826:1},a=t=>{var n=t.modules,f=t.ids,i=t.runtime;for(var o in n)e.o(n,o)&&(e.m[o]=n[o]);i&&i(e);for(var u=0;u{r[t]||a(require(\\"./\\"+e.u(t)))}})();var s={};e.d(s,{default:()=>b});const c=e.e(600).then(e.bind(e,717)),d=e.e(376).then(e.bind(e,825)),b=async()=>(await c).default+(await d).default;module.exports=s.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify chunks filtered using "exclude" 2`] = ` -"\\"use strict\\";exports.id=600,exports.ids=[600],exports.modules={717:(t,s,d)=>{d.r(s),d.d(s,{default:()=>o});const o=\\"foo\\"}}; -" -`; - -exports[`Webpack 5 Loader + Minification minify chunks filtered using "exclude" 3`] = ` -"\\"use strict\\"; -exports.id = 376; -exports.ids = [376]; -exports.modules = { - -/***/ 825: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ \\"default\\": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); - - /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ('bar'); - - -/***/ }) - -}; -;" -`; - -exports[`Webpack 5 Loader + Minification minify chunks filtered using "include" 1`] = ` -"(()=>{\\"use strict\\";var _={},l={};function e(r){var a=l[r];if(a!==void 0)return a.exports;var t=l[r]={exports:{}};return _[r](t,t.exports,e),t.exports}e.m=_,e.d=(r,a)=>{for(var t in a)e.o(a,t)&&!e.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:a[t]})},e.f={},e.e=r=>Promise.all(Object.keys(e.f).reduce((a,t)=>(e.f[t](r,a),a),[])),e.u=r=>\\"\\"+{376:\\"named-chunk-bar\\",600:\\"named-chunk-foo\\"}[r]+\\".js\\",e.o=(r,a)=>Object.prototype.hasOwnProperty.call(r,a),e.r=r=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(r,\\"__esModule\\",{value:!0})},(()=>{var r={826:1},a=t=>{var n=t.modules,f=t.ids,i=t.runtime;for(var o in n)e.o(n,o)&&(e.m[o]=n[o]);i&&i(e);for(var u=0;u{r[t]||a(require(\\"./\\"+e.u(t)))}})();var s={};e.d(s,{default:()=>b});const c=e.e(600).then(e.bind(e,717)),d=e.e(376).then(e.bind(e,825)),b=async()=>(await c).default+(await d).default;module.exports=s.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify chunks filtered using "include" 2`] = ` -"\\"use strict\\"; -exports.id = 600; -exports.ids = [600]; -exports.modules = { - -/***/ 717: -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ \\"default\\": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); - - /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ('foo'); - - -/***/ }) - -}; -;" -`; - -exports[`Webpack 5 Loader + Minification minify chunks filtered using "include" 3`] = ` -"\\"use strict\\";exports.id=376,exports.ids=[376],exports.modules={825:(o,s,d)=>{d.r(s),d.d(s,{default:()=>t});const t=\\"bar\\"}}; -" -`; - -exports[`Webpack 5 Loader + Minification minify w/ devtool inline-source-map 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t?.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e??(e=2),t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); - -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vL3dlYnBhY2svcnVudGltZS9kZWZpbmUgcHJvcGVydHkgZ2V0dGVycyIsIndlYnBhY2s6Ly8vd2VicGFjay9ydW50aW1lL2hhc093blByb3BlcnR5IHNob3J0aGFuZCIsIndlYnBhY2s6Ly8vd2VicGFjay9ydW50aW1lL21ha2UgbmFtZXNwYWNlIG9iamVjdCIsIndlYnBhY2s6Ly8vLi9zcmMvZm9vLmpzIiwid2VicGFjazovLy8uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJfX3dlYnBhY2tfcmVxdWlyZV9fIiwiZXhwb3J0cyIsImRlZmluaXRpb24iLCJrZXkiLCJvYmoiLCJwcm9wIiwiZXMyMDE2IiwiZXMyMDE3IiwiZXMyMDE4IiwieSIsIngiLCJlczIwMTkiLCJlczIwMjAiLCJlczIwMjEiLCJhIiwiZXNuZXh0IiwiX3giLCJ4X2ZuIl0sIm1hcHBpbmdzIjoibUJBQ0EsSUFBSUEsRUFBc0IsQ0FBQyxFQ0EzQkEsRUFBb0IsRUFBSSxDQUFDQyxFQUFTQyxJQUFlLENBQ2hELFFBQVFDLEtBQU9ELEVBQ1hGLEVBQW9CLEVBQUVFLEVBQVlDLENBQUcsR0FBSyxDQUFDSCxFQUFvQixFQUFFQyxFQUFTRSxDQUFHLEdBQy9FLE9BQU8sZUFBZUYsRUFBU0UsRUFBSyxDQUFFLFdBQVksR0FBTSxJQUFLRCxFQUFXQyxFQUFLLENBQUMsQ0FHakYsRUNQQUgsRUFBb0IsRUFBSSxDQUFDSSxFQUFLQyxJQUFVLE9BQU8sVUFBVSxlQUFlLEtBQUtELEVBQUtDLENBQUksRUNDdEZMLEVBQW9CLEVBQUtDLEdBQVksQ0FDakMsT0FBTyxPQUFXLEtBQWUsT0FBTyxhQUMxQyxPQUFPLGVBQWVBLEVBQVMsT0FBTyxZQUFhLENBQUUsTUFBTyxRQUFTLENBQUMsRUFFdkUsT0FBTyxlQUFlQSxFQUFTLGFBQWMsQ0FBRSxNQUFPLEVBQUssQ0FBQyxDQUM3RCxFLDBnQ0NOQSxXQUNlSyxFQUFTLEtBQU0sQ0FBQyxFQUVoQkMsRUFBUyxXQUVUQyxHQUFVLElBQU0sQ0FDNUIsTUFBTUMsRUFBSSxDQUFFLEVBQUcsQ0FBRSxFQUNqQixJQUFJQyxFQUFJLEtBQUlELENBQUMsRUFFYixPQURRLEVBQUtBLEVBQUwsR0FFVCxHQUFHLEVBRVVFLEdBQVUsSUFBTSxDQUM1QixHQUFJLENBQ0gsTUFBTyxLQUNSLE1BQUUsQ0FBTyxDQUNWLEdBQUcsRUFFVUMsR0FBVSxJQUFNLENBbEIvQixNQW1CRyxNQUFNUixFQUFNLENBQ1gsU0FBVSxDQUNYLEVBQ0EsTUFBTyxDQUNOQSxHQUFLLFVBQ0wsRUFBQUEsRUFBSSxPQUFKLE9BQVksRUFDWixDQUNELENBQ0QsR0FBRyxFQUVVUyxHQUFVLElBQU0sQ0FDNUIsSUFBSUMsRUFDQUosRUFBSSxFQUNSLE1BQU1ELEVBQUksRUFDVixNQUFPLENBQ05LLE1BQU0sR0FDTkosTUFBTUQsRUFDUCxDQUNELEdBQUcsRUFFVU0sR0FBVSxJQUFNLENBdkMvQixZQUFBQyxFQUFBLElBQUFBLElBQUEsRUFBQUMsRUF3Q0csTUFBTyxDQUNOLEtBQU0sQ0FBTixjQUFRLFdBQUksQ0FBQyxDQUFELENBQUcsR0FDZixPQUFNLENBQWdCLEVBQWQsRUFBUixFQUFlLElBQUksQ0FBQyxFQUFwQixJQUNBLE9BQU0sQ0FBTixjQUFRLFVBQVEsRUFBUixnQkFBRSxVQUFHLENBQUMsRUFBZCxJQUNBLE9BQU0sQ0FBTixjQUFRLE9BQUFELEVBQUEsUUFBRyxFQUFIQSxFQUFBLFlBQVIsSUFDQSxPQUFNLENBQVksRUFBSEEsRUFBQSxZQUFQLEVBQVIsRUFBZUEsRUFBUCxRQUFSLElBQ0EsT0FBTSxDQUFpQixFQUFSQSxFQUFBLFlBQUFDLEVBQUUsVUFBRyxDQUFDLEVBQWIsRUFBUixFQUFlRCxHQUFmLEdBQ0EsR0FDRCxDQUNELEdBQUcsRUMvQ0gsRUFBZSxFIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gVGhlIHJlcXVpcmUgc2NvcGVcbnZhciBfX3dlYnBhY2tfcmVxdWlyZV9fID0ge307XG5cbiIsIi8vIGRlZmluZSBnZXR0ZXIgZnVuY3Rpb25zIGZvciBoYXJtb255IGV4cG9ydHNcbl9fd2VicGFja19yZXF1aXJlX18uZCA9IChleHBvcnRzLCBkZWZpbml0aW9uKSA9PiB7XG5cdGZvcih2YXIga2V5IGluIGRlZmluaXRpb24pIHtcblx0XHRpZihfX3dlYnBhY2tfcmVxdWlyZV9fLm8oZGVmaW5pdGlvbiwga2V5KSAmJiAhX193ZWJwYWNrX3JlcXVpcmVfXy5vKGV4cG9ydHMsIGtleSkpIHtcblx0XHRcdE9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBrZXksIHsgZW51bWVyYWJsZTogdHJ1ZSwgZ2V0OiBkZWZpbml0aW9uW2tleV0gfSk7XG5cdFx0fVxuXHR9XG59OyIsIl9fd2VicGFja19yZXF1aXJlX18ubyA9IChvYmosIHByb3ApID0+IChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwob2JqLCBwcm9wKSkiLCIvLyBkZWZpbmUgX19lc01vZHVsZSBvbiBleHBvcnRzXG5fX3dlYnBhY2tfcmVxdWlyZV9fLnIgPSAoZXhwb3J0cykgPT4ge1xuXHRpZih0eXBlb2YgU3ltYm9sICE9PSAndW5kZWZpbmVkJyAmJiBTeW1ib2wudG9TdHJpbmdUYWcpIHtcblx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgU3ltYm9sLnRvU3RyaW5nVGFnLCB7IHZhbHVlOiAnTW9kdWxlJyB9KTtcblx0fVxuXHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgJ19fZXNNb2R1bGUnLCB7IHZhbHVlOiB0cnVlIH0pO1xufTsiLCJcblx0XHRleHBvcnQgY29uc3QgZXMyMDE2ID0gMTAgKiogNDtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTcgPSB0eXBlb2YgKGFzeW5jICgpID0+IHt9KTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTggPSAoKCkgPT4ge1xuXHRcdFx0Y29uc3QgeSA9IHsgYTogMSB9XG5cdFx0XHRsZXQgeCA9IHsuLi55fVxuXHRcdFx0bGV0IHsuLi56fSA9IHlcblx0XHRcdHJldHVybiB6O1xuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXMyMDE5ID0gKCgpID0+IHtcblx0XHRcdHRyeSB7XG5cdFx0XHRcdHJldHVybiAndHJ5J1xuXHRcdFx0fSBjYXRjaCB7fVxuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXMyMDIwID0gKCgpID0+IHtcblx0XHRcdGNvbnN0IG9iaiA9IHtcblx0XHRcdFx0cHJvcGVydHk6IDEsXG5cdFx0XHR9O1xuXHRcdFx0cmV0dXJuIFtcblx0XHRcdFx0b2JqPy5wcm9wZXJ0eSxcblx0XHRcdFx0b2JqLnByb3AgPz8gMixcblx0XHRcdFx0aW1wb3J0Lm1ldGEsXG5cdFx0XHRdO1xuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXMyMDIxID0gKCgpID0+IHtcblx0XHRcdGxldCBhO1xuXHRcdFx0bGV0IHggPSAwO1xuXHRcdFx0Y29uc3QgeSA9IDM7XG5cdFx0XHRyZXR1cm4gW1xuXHRcdFx0XHRhID8/PSAyLFxuXHRcdFx0XHR4IHx8PSB5LFxuXHRcdFx0XTtcblx0XHR9KSgpO1xuXG5cdFx0ZXhwb3J0IGNvbnN0IGVzbmV4dCA9ICgoKSA9PiB7XG5cdFx0XHRyZXR1cm4gW1xuXHRcdFx0XHRjbGFzcyB7IHggPSAyOyB9LFxuXHRcdFx0XHRjbGFzcyB7IHN0YXRpYyB4ID0gMTsgfSxcblx0XHRcdFx0Y2xhc3MgeyAjeCgpIHt9IH0sXG5cdFx0XHRcdGNsYXNzIHsgI3ggfSxcblx0XHRcdFx0Y2xhc3MgeyBzdGF0aWMgI3ggfSxcblx0XHRcdFx0Y2xhc3MgeyBzdGF0aWMgI3goKSB7fSB9LFxuXHRcdFx0XHQxXzAwMF8wMDBfMDAwLFxuXHRcdFx0XTtcblx0XHR9KSgpO1xuXHQiLCJcblx0XHRpbXBvcnQgKiBhcyBhbGwgZnJvbSAnLi9mb28uanMnXG5cdFx0ZXhwb3J0IGRlZmF1bHQgYWxsXG5cdCJdLCJzb3VyY2VSb290IjoiIn0=" -`; - -exports[`Webpack 5 Loader + Minification minify w/ devtool source-map 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t?.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e??(e=2),t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); - -//# sourceMappingURL=index.js.map" -`; - -exports[`Webpack 5 Loader + Minification minify w/ no devtool 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol!=\\"undefined\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch(e){}})(),W=(()=>{var e;const t={property:1};return[t==null?void 0:t.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e!=null?e:e=2,t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify w/ no devtool 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minify w/ query strings 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol!=\\"undefined\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t==null?void 0:t.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e!=null?e:e=2,t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify w/ query strings 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minify w/ source-map option 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t?.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e??(e=2),t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); -" -`; - -exports[`Webpack 5 Loader + Minification minify w/ source-map option and source-map plugin external 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t?.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e??(e=2),t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); - -//# sourceMappingURL=index.js.map" -`; - -exports[`Webpack 5 Loader + Minification minify w/ source-map option and source-map plugin external 2`] = `"{\\"version\\":3,\\"sources\\":[\\"webpack:///webpack/bootstrap\\",\\"webpack:///webpack/runtime/define property getters\\",\\"webpack:///webpack/runtime/hasOwnProperty shorthand\\",\\"webpack:///webpack/runtime/make namespace object\\",\\"webpack:///./src/foo.js\\",\\"webpack:///./src/index.js\\"],\\"names\\":[\\"__webpack_require__\\",\\"exports\\",\\"definition\\",\\"key\\",\\"obj\\",\\"prop\\",\\"es2016\\",\\"es2017\\",\\"es2018\\",\\"y\\",\\"x\\",\\"es2019\\",\\"es2020\\",\\"es2021\\",\\"a\\",\\"esnext\\",\\"_x\\",\\"x_fn\\"],\\"mappings\\":\\"mBACA,IAAIA,EAAsB,CAAC,ECA3BA,EAAoB,EAAI,CAACC,EAASC,IAAe,CAChD,QAAQC,KAAOD,EACXF,EAAoB,EAAEE,EAAYC,CAAG,GAAK,CAACH,EAAoB,EAAEC,EAASE,CAAG,GAC/E,OAAO,eAAeF,EAASE,EAAK,CAAE,WAAY,GAAM,IAAKD,EAAWC,EAAK,CAAC,CAGjF,ECPAH,EAAoB,EAAI,CAACI,EAAKC,IAAU,OAAO,UAAU,eAAe,KAAKD,EAAKC,CAAI,ECCtFL,EAAoB,EAAKC,GAAY,CACjC,OAAO,OAAW,KAAe,OAAO,aAC1C,OAAO,eAAeA,EAAS,OAAO,YAAa,CAAE,MAAO,QAAS,CAAC,EAEvE,OAAO,eAAeA,EAAS,aAAc,CAAE,MAAO,EAAK,CAAC,CAC7D,E,0gCCNA,WACeK,EAAS,KAAM,CAAC,EAEhBC,EAAS,WAETC,GAAU,IAAM,CAC5B,MAAMC,EAAI,CAAE,EAAG,CAAE,EACjB,IAAIC,EAAI,KAAID,CAAC,EAEb,OADQ,EAAKA,EAAL,GAET,GAAG,EAEUE,GAAU,IAAM,CAC5B,GAAI,CACH,MAAO,KACR,MAAE,CAAO,CACV,GAAG,EAEUC,GAAU,IAAM,CAlB/B,MAmBG,MAAMR,EAAM,CACX,SAAU,CACX,EACA,MAAO,CACNA,GAAK,UACL,EAAAA,EAAI,OAAJ,OAAY,EACZ,CACD,CACD,GAAG,EAEUS,GAAU,IAAM,CAC5B,IAAIC,EACAJ,EAAI,EACR,MAAMD,EAAI,EACV,MAAO,CACNK,MAAM,GACNJ,MAAMD,EACP,CACD,GAAG,EAEUM,GAAU,IAAM,CAvC/B,YAAAC,EAAA,IAAAA,IAAA,EAAAC,EAwCG,MAAO,CACN,KAAM,CAAN,cAAQ,WAAI,CAAC,CAAD,CAAG,GACf,OAAM,CAAgB,EAAd,EAAR,EAAe,IAAI,CAAC,EAApB,IACA,OAAM,CAAN,cAAQ,UAAQ,EAAR,gBAAE,UAAG,CAAC,EAAd,IACA,OAAM,CAAN,cAAQ,OAAAD,EAAA,QAAG,EAAHA,EAAA,YAAR,IACA,OAAM,CAAY,EAAHA,EAAA,YAAP,EAAR,EAAeA,EAAP,QAAR,IACA,OAAM,CAAiB,EAARA,EAAA,YAAAC,EAAE,UAAG,CAAC,EAAb,EAAR,EAAeD,GAAf,GACA,GACD,CACD,GAAG,EC/CH,EAAe,E\\",\\"file\\":\\"index.js\\",\\"sourcesContent\\":[\\"// The require scope\\\\nvar __webpack_require__ = {};\\\\n\\\\n\\",\\"// define getter functions for harmony exports\\\\n__webpack_require__.d = (exports, definition) => {\\\\n\\\\tfor(var key in definition) {\\\\n\\\\t\\\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\\\n\\\\t\\\\t\\\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n};\\",\\"__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\\",\\"// define __esModule on exports\\\\n__webpack_require__.r = (exports) => {\\\\n\\\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\\\n\\\\t\\\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\\\n\\\\t}\\\\n\\\\tObject.defineProperty(exports, '__esModule', { value: true });\\\\n};\\",\\"\\\\n\\\\t\\\\texport const es2016 = 10 ** 4;\\\\n\\\\n\\\\t\\\\texport const es2017 = typeof (async () => {});\\\\n\\\\n\\\\t\\\\texport const es2018 = (() => {\\\\n\\\\t\\\\t\\\\tconst y = { a: 1 }\\\\n\\\\t\\\\t\\\\tlet x = {...y}\\\\n\\\\t\\\\t\\\\tlet {...z} = y\\\\n\\\\t\\\\t\\\\treturn z;\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const es2019 = (() => {\\\\n\\\\t\\\\t\\\\ttry {\\\\n\\\\t\\\\t\\\\t\\\\treturn 'try'\\\\n\\\\t\\\\t\\\\t} catch {}\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const es2020 = (() => {\\\\n\\\\t\\\\t\\\\tconst obj = {\\\\n\\\\t\\\\t\\\\t\\\\tproperty: 1,\\\\n\\\\t\\\\t\\\\t};\\\\n\\\\t\\\\t\\\\treturn [\\\\n\\\\t\\\\t\\\\t\\\\tobj?.property,\\\\n\\\\t\\\\t\\\\t\\\\tobj.prop ?? 2,\\\\n\\\\t\\\\t\\\\t\\\\timport.meta,\\\\n\\\\t\\\\t\\\\t];\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const es2021 = (() => {\\\\n\\\\t\\\\t\\\\tlet a;\\\\n\\\\t\\\\t\\\\tlet x = 0;\\\\n\\\\t\\\\t\\\\tconst y = 3;\\\\n\\\\t\\\\t\\\\treturn [\\\\n\\\\t\\\\t\\\\t\\\\ta ??= 2,\\\\n\\\\t\\\\t\\\\t\\\\tx ||= y,\\\\n\\\\t\\\\t\\\\t];\\\\n\\\\t\\\\t})();\\\\n\\\\n\\\\t\\\\texport const esnext = (() => {\\\\n\\\\t\\\\t\\\\treturn [\\\\n\\\\t\\\\t\\\\t\\\\tclass { x = 2; },\\\\n\\\\t\\\\t\\\\t\\\\tclass { static x = 1; },\\\\n\\\\t\\\\t\\\\t\\\\tclass { #x() {} },\\\\n\\\\t\\\\t\\\\t\\\\tclass { #x },\\\\n\\\\t\\\\t\\\\t\\\\tclass { static #x },\\\\n\\\\t\\\\t\\\\t\\\\tclass { static #x() {} },\\\\n\\\\t\\\\t\\\\t\\\\t1_000_000_000,\\\\n\\\\t\\\\t\\\\t];\\\\n\\\\t\\\\t})();\\\\n\\\\t\\",\\"\\\\n\\\\t\\\\timport * as all from './foo.js'\\\\n\\\\t\\\\texport default all\\\\n\\\\t\\"],\\"sourceRoot\\":\\"\\"}"`; - -exports[`Webpack 5 Loader + Minification minify w/ source-map option and source-map plugin inline 1`] = ` -"(()=>{\\"use strict\\";var o={};o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{typeof Symbol<\\"u\\"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})};var d={};o.d(d,{default:()=>z});var u={};o.r(u),o.d(u,{es2016:()=>S,es2017:()=>j,es2018:()=>g,es2019:()=>M,es2020:()=>W,es2021:()=>E,esnext:()=>T});var O=Object.defineProperty,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,r)=>t in e?O(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))y.call(t,r)&&v(e,r,t[r]);if(p)for(var r of p(t))w.call(t,r)&&v(e,r,t[r]);return e},x=(e,t)=>{var r={};for(var a in e)y.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&p)for(var a of p(e))t.indexOf(a)<0&&w.call(e,a)&&(r[a]=e[a]);return r},h=(e,t,r)=>(v(e,typeof t!=\\"symbol\\"?t+\\"\\":t,r),r),i=(e,t,r)=>{if(t.has(e))throw TypeError(\\"Cannot add the same private member more than once\\");t instanceof WeakSet?t.add(e):t.set(e,r)},q=(e,t,r)=>new Promise((a,c)=>{var f=n=>{try{l(r.next(n))}catch(s){c(s)}},_=n=>{try{l(r.throw(n))}catch(s){c(s)}},l=n=>n.done?a(n.value):Promise.resolve(n.value).then(f,_);l((r=r.apply(e,t)).next())});const P={},S=m(10,4),j=\\"function\\",g=(()=>{const e={a:1};let t=b({},e);return x(e,[])})(),M=(()=>{try{return\\"try\\"}catch{}})(),W=(()=>{var e;const t={property:1};return[t?.property,(e=t.prop)!=null?e:2,P]})(),E=(()=>{let e,t=0;const r=3;return[e??(e=2),t||(t=r)]})(),T=(()=>{var e,t,r,a,c,f,_,l,n,s,I;return[class{constructor(){h(this,\\"x\\",2)}},(e=class{},h(e,\\"x\\",1),e),(a=class{constructor(){i(this,t)}},t=new WeakSet,r=function(){},a),(f=class{constructor(){i(this,c,void 0)}},c=new WeakMap,f),(_=class{},l=new WeakMap,i(_,l,void 0),_),(s=class{},n=new WeakSet,I=function(){},i(s,n),s),1e9]})(),z=u;module.exports=d.default})(); - -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay9ib290c3RyYXAiLCJ3ZWJwYWNrOi8vL3dlYnBhY2svcnVudGltZS9kZWZpbmUgcHJvcGVydHkgZ2V0dGVycyIsIndlYnBhY2s6Ly8vd2VicGFjay9ydW50aW1lL2hhc093blByb3BlcnR5IHNob3J0aGFuZCIsIndlYnBhY2s6Ly8vd2VicGFjay9ydW50aW1lL21ha2UgbmFtZXNwYWNlIG9iamVjdCIsIndlYnBhY2s6Ly8vLi9zcmMvZm9vLmpzIiwid2VicGFjazovLy8uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJfX3dlYnBhY2tfcmVxdWlyZV9fIiwiZXhwb3J0cyIsImRlZmluaXRpb24iLCJrZXkiLCJvYmoiLCJwcm9wIiwiZXMyMDE2IiwiZXMyMDE3IiwiZXMyMDE4IiwieSIsIngiLCJlczIwMTkiLCJlczIwMjAiLCJlczIwMjEiLCJhIiwiZXNuZXh0IiwiX3giLCJ4X2ZuIl0sIm1hcHBpbmdzIjoibUJBQ0EsSUFBSUEsRUFBc0IsQ0FBQyxFQ0EzQkEsRUFBb0IsRUFBSSxDQUFDQyxFQUFTQyxJQUFlLENBQ2hELFFBQVFDLEtBQU9ELEVBQ1hGLEVBQW9CLEVBQUVFLEVBQVlDLENBQUcsR0FBSyxDQUFDSCxFQUFvQixFQUFFQyxFQUFTRSxDQUFHLEdBQy9FLE9BQU8sZUFBZUYsRUFBU0UsRUFBSyxDQUFFLFdBQVksR0FBTSxJQUFLRCxFQUFXQyxFQUFLLENBQUMsQ0FHakYsRUNQQUgsRUFBb0IsRUFBSSxDQUFDSSxFQUFLQyxJQUFVLE9BQU8sVUFBVSxlQUFlLEtBQUtELEVBQUtDLENBQUksRUNDdEZMLEVBQW9CLEVBQUtDLEdBQVksQ0FDakMsT0FBTyxPQUFXLEtBQWUsT0FBTyxhQUMxQyxPQUFPLGVBQWVBLEVBQVMsT0FBTyxZQUFhLENBQUUsTUFBTyxRQUFTLENBQUMsRUFFdkUsT0FBTyxlQUFlQSxFQUFTLGFBQWMsQ0FBRSxNQUFPLEVBQUssQ0FBQyxDQUM3RCxFLDBnQ0NOQSxXQUNlSyxFQUFTLEtBQU0sQ0FBQyxFQUVoQkMsRUFBUyxXQUVUQyxHQUFVLElBQU0sQ0FDNUIsTUFBTUMsRUFBSSxDQUFFLEVBQUcsQ0FBRSxFQUNqQixJQUFJQyxFQUFJLEtBQUlELENBQUMsRUFFYixPQURRLEVBQUtBLEVBQUwsR0FFVCxHQUFHLEVBRVVFLEdBQVUsSUFBTSxDQUM1QixHQUFJLENBQ0gsTUFBTyxLQUNSLE1BQUUsQ0FBTyxDQUNWLEdBQUcsRUFFVUMsR0FBVSxJQUFNLENBbEIvQixNQW1CRyxNQUFNUixFQUFNLENBQ1gsU0FBVSxDQUNYLEVBQ0EsTUFBTyxDQUNOQSxHQUFLLFVBQ0wsRUFBQUEsRUFBSSxPQUFKLE9BQVksRUFDWixDQUNELENBQ0QsR0FBRyxFQUVVUyxHQUFVLElBQU0sQ0FDNUIsSUFBSUMsRUFDQUosRUFBSSxFQUNSLE1BQU1ELEVBQUksRUFDVixNQUFPLENBQ05LLE1BQU0sR0FDTkosTUFBTUQsRUFDUCxDQUNELEdBQUcsRUFFVU0sR0FBVSxJQUFNLENBdkMvQixZQUFBQyxFQUFBLElBQUFBLElBQUEsRUFBQUMsRUF3Q0csTUFBTyxDQUNOLEtBQU0sQ0FBTixjQUFRLFdBQUksQ0FBQyxDQUFELENBQUcsR0FDZixPQUFNLENBQWdCLEVBQWQsRUFBUixFQUFlLElBQUksQ0FBQyxFQUFwQixJQUNBLE9BQU0sQ0FBTixjQUFRLFVBQVEsRUFBUixnQkFBRSxVQUFHLENBQUMsRUFBZCxJQUNBLE9BQU0sQ0FBTixjQUFRLE9BQUFELEVBQUEsUUFBRyxFQUFIQSxFQUFBLFlBQVIsSUFDQSxPQUFNLENBQVksRUFBSEEsRUFBQSxZQUFQLEVBQVIsRUFBZUEsRUFBUCxRQUFSLElBQ0EsT0FBTSxDQUFpQixFQUFSQSxFQUFBLFlBQUFDLEVBQUUsVUFBRyxDQUFDLEVBQWIsRUFBUixFQUFlRCxHQUFmLEdBQ0EsR0FDRCxDQUNELEdBQUcsRUMvQ0gsRUFBZSxFIiwiZmlsZSI6ImluZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gVGhlIHJlcXVpcmUgc2NvcGVcbnZhciBfX3dlYnBhY2tfcmVxdWlyZV9fID0ge307XG5cbiIsIi8vIGRlZmluZSBnZXR0ZXIgZnVuY3Rpb25zIGZvciBoYXJtb255IGV4cG9ydHNcbl9fd2VicGFja19yZXF1aXJlX18uZCA9IChleHBvcnRzLCBkZWZpbml0aW9uKSA9PiB7XG5cdGZvcih2YXIga2V5IGluIGRlZmluaXRpb24pIHtcblx0XHRpZihfX3dlYnBhY2tfcmVxdWlyZV9fLm8oZGVmaW5pdGlvbiwga2V5KSAmJiAhX193ZWJwYWNrX3JlcXVpcmVfXy5vKGV4cG9ydHMsIGtleSkpIHtcblx0XHRcdE9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBrZXksIHsgZW51bWVyYWJsZTogdHJ1ZSwgZ2V0OiBkZWZpbml0aW9uW2tleV0gfSk7XG5cdFx0fVxuXHR9XG59OyIsIl9fd2VicGFja19yZXF1aXJlX18ubyA9IChvYmosIHByb3ApID0+IChPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwob2JqLCBwcm9wKSkiLCIvLyBkZWZpbmUgX19lc01vZHVsZSBvbiBleHBvcnRzXG5fX3dlYnBhY2tfcmVxdWlyZV9fLnIgPSAoZXhwb3J0cykgPT4ge1xuXHRpZih0eXBlb2YgU3ltYm9sICE9PSAndW5kZWZpbmVkJyAmJiBTeW1ib2wudG9TdHJpbmdUYWcpIHtcblx0XHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgU3ltYm9sLnRvU3RyaW5nVGFnLCB7IHZhbHVlOiAnTW9kdWxlJyB9KTtcblx0fVxuXHRPYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgJ19fZXNNb2R1bGUnLCB7IHZhbHVlOiB0cnVlIH0pO1xufTsiLCJcblx0XHRleHBvcnQgY29uc3QgZXMyMDE2ID0gMTAgKiogNDtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTcgPSB0eXBlb2YgKGFzeW5jICgpID0+IHt9KTtcblxuXHRcdGV4cG9ydCBjb25zdCBlczIwMTggPSAoKCkgPT4ge1xuXHRcdFx0Y29uc3QgeSA9IHsgYTogMSB9XG5cdFx0XHRsZXQgeCA9IHsuLi55fVxuXHRcdFx0bGV0IHsuLi56fSA9IHlcblx0XHRcdHJldHVybiB6O1xuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXMyMDE5ID0gKCgpID0+IHtcblx0XHRcdHRyeSB7XG5cdFx0XHRcdHJldHVybiAndHJ5J1xuXHRcdFx0fSBjYXRjaCB7fVxuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXMyMDIwID0gKCgpID0+IHtcblx0XHRcdGNvbnN0IG9iaiA9IHtcblx0XHRcdFx0cHJvcGVydHk6IDEsXG5cdFx0XHR9O1xuXHRcdFx0cmV0dXJuIFtcblx0XHRcdFx0b2JqPy5wcm9wZXJ0eSxcblx0XHRcdFx0b2JqLnByb3AgPz8gMixcblx0XHRcdFx0aW1wb3J0Lm1ldGEsXG5cdFx0XHRdO1xuXHRcdH0pKCk7XG5cblx0XHRleHBvcnQgY29uc3QgZXMyMDIxID0gKCgpID0+IHtcblx0XHRcdGxldCBhO1xuXHRcdFx0bGV0IHggPSAwO1xuXHRcdFx0Y29uc3QgeSA9IDM7XG5cdFx0XHRyZXR1cm4gW1xuXHRcdFx0XHRhID8/PSAyLFxuXHRcdFx0XHR4IHx8PSB5LFxuXHRcdFx0XTtcblx0XHR9KSgpO1xuXG5cdFx0ZXhwb3J0IGNvbnN0IGVzbmV4dCA9ICgoKSA9PiB7XG5cdFx0XHRyZXR1cm4gW1xuXHRcdFx0XHRjbGFzcyB7IHggPSAyOyB9LFxuXHRcdFx0XHRjbGFzcyB7IHN0YXRpYyB4ID0gMTsgfSxcblx0XHRcdFx0Y2xhc3MgeyAjeCgpIHt9IH0sXG5cdFx0XHRcdGNsYXNzIHsgI3ggfSxcblx0XHRcdFx0Y2xhc3MgeyBzdGF0aWMgI3ggfSxcblx0XHRcdFx0Y2xhc3MgeyBzdGF0aWMgI3goKSB7fSB9LFxuXHRcdFx0XHQxXzAwMF8wMDBfMDAwLFxuXHRcdFx0XTtcblx0XHR9KSgpO1xuXHQiLCJcblx0XHRpbXBvcnQgKiBhcyBhbGwgZnJvbSAnLi9mb28uanMnXG5cdFx0ZXhwb3J0IGRlZmF1bHQgYWxsXG5cdCJdLCJzb3VyY2VSb290IjoiIn0=" -`; - -exports[`Webpack 5 Loader + Minification minify with custom implementation - real 1`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minify with custom implementation 1`] = `"export function foo() { return \\"MY_CUSTOM_ESBUILD_IMPLEMENTATION\\"; }"`; - -exports[`Webpack 5 Loader + Minification minifyIdentifiers 1`] = ` -"(() => { - \\"use strict\\"; - var o = {}; - (() => { - o.d = (e, t) => { - for (var r in t) { - if (o.o(t, r) && !o.o(e, r)) { - Object.defineProperty(e, r, { enumerable: true, get: t[r] }); - } - } - }; - })(); - (() => { - o.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t); - })(); - (() => { - o.r = (e) => { - if (typeof Symbol !== \\"undefined\\" && Symbol.toStringTag) { - Object.defineProperty(e, Symbol.toStringTag, { value: \\"Module\\" }); - } - Object.defineProperty(e, \\"__esModule\\", { value: true }); - }; - })(); - var d = {}; - o.d(d, { - \\"default\\": () => I - }); - var u = {}; - o.r(u); - o.d(u, { - \\"es2016\\": () => S, - \\"es2017\\": () => j, - \\"es2018\\": () => g, - \\"es2019\\": () => M, - \\"es2020\\": () => W, - \\"es2021\\": () => E, - \\"esnext\\": () => T - }); - ; - var O = Object.defineProperty; - var p = Object.getOwnPropertySymbols; - var y = Object.prototype.hasOwnProperty; - var w = Object.prototype.propertyIsEnumerable; - var m = Math.pow; - var v = (e, t, r) => t in e ? O(e, t, { enumerable: true, configurable: true, writable: true, value: r }) : e[t] = r; - var b = (e, t) => { - for (var r in t || (t = {})) - if (y.call(t, r)) - v(e, r, t[r]); - if (p) - for (var r of p(t)) { - if (w.call(t, r)) - v(e, r, t[r]); - } - return e; - }; - var x = (e, t) => { - var r = {}; - for (var a in e) - if (y.call(e, a) && t.indexOf(a) < 0) - r[a] = e[a]; - if (e != null && p) - for (var a of p(e)) { - if (t.indexOf(a) < 0 && w.call(e, a)) - r[a] = e[a]; - } - return r; - }; - var h = (e, t, r) => { - v(e, typeof t !== \\"symbol\\" ? t + \\"\\" : t, r); - return r; - }; - var i = (e, t, r) => { - if (t.has(e)) - throw TypeError(\\"Cannot add the same private member more than once\\"); - t instanceof WeakSet ? t.add(e) : t.set(e, r); - }; - var z = (e, t, r) => { - return new Promise((a, c) => { - var f = (n) => { - try { - l(r.next(n)); - } catch (s) { - c(s); - } - }; - var _ = (n) => { - try { - l(r.throw(n)); - } catch (s) { - c(s); - } - }; - var l = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(f, _); - l((r = r.apply(e, t)).next()); - }); - }; - const P = {}; - const S = m(10, 4); - const j = \\"function\\"; - const g = (() => { - const e = { a: 1 }; - let t = b({}, e); - let r = x(e, []); - return r; - })(); - const M = (() => { - try { - return \\"try\\"; - } catch (e) { - } - })(); - const W = (() => { - var e; - const t = { - property: 1 - }; - return [ - t == null ? void 0 : t.property, - (e = t.prop) != null ? e : 2, - P - ]; - })(); - const E = (() => { - let e; - let t = 0; - const r = 3; - return [ - e != null ? e : e = 2, - t || (t = r) - ]; - })(); - const T = (() => { - var e, t, r, a, c, f, _, l, n, s, q; - return [ - class { - constructor() { - h(this, \\"x\\", 2); - } - }, - (e = class { - }, h(e, \\"x\\", 1), e), - (a = class { - constructor() { - i(this, t); - } - }, t = /* @__PURE__ */ new WeakSet(), r = function() { - }, a), - (f = class { - constructor() { - i(this, c, void 0); - } - }, c = /* @__PURE__ */ new WeakMap(), f), - (_ = class { - }, l = /* @__PURE__ */ new WeakMap(), i(_, l, void 0), _), - (s = class { - }, n = /* @__PURE__ */ new WeakSet(), q = function() { - }, i(s, n), s), - 1e9 - ]; - })(); - ; - const I = u; - module.exports = d[\\"default\\"]; -})(); -" -`; - -exports[`Webpack 5 Loader + Minification minifyIdentifiers 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minifySyntax 1`] = ` -"(() => { - \\"use strict\\"; - var __webpack_require__ = {}; - __webpack_require__.d = (exports, definition) => { - for (var key in definition) - __webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key) && Object.defineProperty(exports, key, { enumerable: !0, get: definition[key] }); - }, __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop), __webpack_require__.r = (exports) => { - typeof Symbol != \\"undefined\\" && Symbol.toStringTag && Object.defineProperty(exports, Symbol.toStringTag, { value: \\"Module\\" }), Object.defineProperty(exports, \\"__esModule\\", { value: !0 }); - }; - var __webpack_exports__ = {}; - __webpack_require__.d(__webpack_exports__, { - default: () => src - }); - var foo_namespaceObject = {}; - __webpack_require__.r(foo_namespaceObject), __webpack_require__.d(foo_namespaceObject, { - es2016: () => es2016, - es2017: () => es2017, - es2018: () => es2018, - es2019: () => es2019, - es2020: () => es2020, - es2021: () => es2021, - esnext: () => esnext - }); - var __defProp = Object.defineProperty, __getOwnPropSymbols = Object.getOwnPropertySymbols, __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable, __pow = Math.pow, __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => { - for (var prop in b || (b = {})) - __hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]); - if (__getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(b)) - __propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]); - return a; - }, __objRest = (source, exclude) => { - var target = {}; - for (var prop in source) - __hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0 && (target[prop] = source[prop]); - if (source != null && __getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(source)) - exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop) && (target[prop] = source[prop]); - return target; - }, __publicField = (obj, key, value) => (__defNormalProp(obj, typeof key != \\"symbol\\" ? key + \\"\\" : key, value), value), __privateAdd = (obj, member, value) => { - if (member.has(obj)) - throw TypeError(\\"Cannot add the same private member more than once\\"); - member instanceof WeakSet ? member.add(obj) : member.set(obj, value); - }, __async = (__this, __arguments, generator) => new Promise((resolve, reject) => { - var fulfilled = (value) => { - try { - step(generator.next(value)); - } catch (e) { - reject(e); - } - }, rejected = (value) => { - try { - step(generator.throw(value)); - } catch (e) { - reject(e); - } - }, step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected); - step((generator = generator.apply(__this, __arguments)).next()); - }); - const import_meta = {}, es2016 = __pow(10, 4), es2017 = \\"function\\", es2018 = (() => { - const y = { a: 1 }; - let x = __spreadValues({}, y); - return __objRest(y, []); - })(), es2019 = (() => { - try { - return \\"try\\"; - } catch { - } - })(), es2020 = (() => { - var _a; - const obj = { - property: 1 - }; - return [ - obj == null ? void 0 : obj.property, - (_a = obj.prop) != null ? _a : 2, - import_meta - ]; - })(), es2021 = (() => { - let a, x = 0; - const y = 3; - return [ - a != null ? a : a = 2, - x || (x = y) - ]; - })(), esnext = (() => { - var _a, _x, x_fn, _b, _x2, _c, _d, _x3, _x4, _e, x_fn2; - return [ - class { - constructor() { - __publicField(this, \\"x\\", 2); - } - }, - (_a = class { - }, __publicField(_a, \\"x\\", 1), _a), - (_b = class { - constructor() { - __privateAdd(this, _x); - } - }, _x = /* @__PURE__ */ new WeakSet(), x_fn = function() { - }, _b), - (_c = class { - constructor() { - __privateAdd(this, _x2, void 0); - } - }, _x2 = /* @__PURE__ */ new WeakMap(), _c), - (_d = class { - }, _x3 = /* @__PURE__ */ new WeakMap(), __privateAdd(_d, _x3, void 0), _d), - (_e = class { - }, _x4 = /* @__PURE__ */ new WeakSet(), x_fn2 = function() { - }, __privateAdd(_e, _x4), _e), - 1e9 - ]; - })(), src = foo_namespaceObject; - module.exports = __webpack_exports__.default; -})(); -" -`; - -exports[`Webpack 5 Loader + Minification minifySyntax 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; - -exports[`Webpack 5 Loader + Minification minifyWhitespace 1`] = ` -"(()=>{\\"use strict\\";var __webpack_require__={};(()=>{__webpack_require__.d=(exports,definition)=>{for(var key in definition){if(__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)){Object.defineProperty(exports,key,{enumerable:true,get:definition[key]})}}}})();(()=>{__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop)})();(()=>{__webpack_require__.r=exports=>{if(typeof Symbol!==\\"undefined\\"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:\\"Module\\"})}Object.defineProperty(exports,\\"__esModule\\",{value:true})}})();var __webpack_exports__={};__webpack_require__.d(__webpack_exports__,{\\"default\\":()=>src});var foo_namespaceObject={};__webpack_require__.r(foo_namespaceObject);__webpack_require__.d(foo_namespaceObject,{\\"es2016\\":()=>es2016,\\"es2017\\":()=>es2017,\\"es2018\\":()=>es2018,\\"es2019\\":()=>es2019,\\"es2020\\":()=>es2020,\\"es2021\\":()=>es2021,\\"esnext\\":()=>esnext});;var __defProp=Object.defineProperty;var __getOwnPropSymbols=Object.getOwnPropertySymbols;var __hasOwnProp=Object.prototype.hasOwnProperty;var __propIsEnum=Object.prototype.propertyIsEnumerable;var __pow=Math.pow;var __defNormalProp=(obj,key,value)=>key in obj?__defProp(obj,key,{enumerable:true,configurable:true,writable:true,value}):obj[key]=value;var __spreadValues=(a,b)=>{for(var prop in b||(b={}))if(__hasOwnProp.call(b,prop))__defNormalProp(a,prop,b[prop]);if(__getOwnPropSymbols)for(var prop of __getOwnPropSymbols(b)){if(__propIsEnum.call(b,prop))__defNormalProp(a,prop,b[prop])}return a};var __objRest=(source,exclude)=>{var target={};for(var prop in source)if(__hasOwnProp.call(source,prop)&&exclude.indexOf(prop)<0)target[prop]=source[prop];if(source!=null&&__getOwnPropSymbols)for(var prop of __getOwnPropSymbols(source)){if(exclude.indexOf(prop)<0&&__propIsEnum.call(source,prop))target[prop]=source[prop]}return target};var __publicField=(obj,key,value)=>{__defNormalProp(obj,typeof key!==\\"symbol\\"?key+\\"\\":key,value);return value};var __privateAdd=(obj,member,value)=>{if(member.has(obj))throw TypeError(\\"Cannot add the same private member more than once\\");member instanceof WeakSet?member.add(obj):member.set(obj,value)};var __async=(__this,__arguments,generator)=>{return new Promise((resolve,reject)=>{var fulfilled=value=>{try{step(generator.next(value))}catch(e){reject(e)}};var rejected=value=>{try{step(generator.throw(value))}catch(e){reject(e)}};var step=x=>x.done?resolve(x.value):Promise.resolve(x.value).then(fulfilled,rejected);step((generator=generator.apply(__this,__arguments)).next())})};const import_meta={};const es2016=__pow(10,4);const es2017=\\"function\\";const es2018=(()=>{const y={a:1};let x=__spreadValues({},y);let z=__objRest(y,[]);return z})();const es2019=(()=>{try{return\\"try\\"}catch(e){}})();const es2020=(()=>{var _a;const obj={property:1};return[obj==null?void 0:obj.property,(_a=obj.prop)!=null?_a:2,import_meta]})();const es2021=(()=>{let a;let x=0;const y=3;return[a!=null?a:a=2,x||(x=y)]})();const esnext=(()=>{var _a,_x,x_fn,_b,_x2,_c,_d,_x3,_x4,_e,x_fn2;return[class{constructor(){__publicField(this,\\"x\\",2)}},(_a=class{},__publicField(_a,\\"x\\",1),_a),(_b=class{constructor(){__privateAdd(this,_x)}},_x=new WeakSet,x_fn=function(){},_b),(_c=class{constructor(){__privateAdd(this,_x2,void 0)}},_x2=new WeakMap,_c),(_d=class{},_x3=new WeakMap,__privateAdd(_d,_x3,void 0),_d),(_e=class{},_x4=new WeakSet,x_fn2=function(){},__privateAdd(_e,_x4),_e),1e9]})();;const src=foo_namespaceObject;module.exports=__webpack_exports__[\\"default\\"]})(); -" -`; - -exports[`Webpack 5 Loader + Minification minifyWhitespace 2`] = ` -Object { - "es2016": 10000, - "es2017": "function", - "es2018": Object { - "a": 1, - }, - "es2019": "try", - "es2020": Array [ - 1, - 2, - Object {}, - ], - "es2021": Array [ - 2, - 3, - ], - "esnext": Array [ - [Function], - [Function], - [Function], - [Function], - [Function], - [Function], - 1000000000, - ], -} -`; diff --git a/test/fixtures.ts b/test/fixtures.ts deleted file mode 100644 index c523aa17..00000000 --- a/test/fixtures.ts +++ /dev/null @@ -1,235 +0,0 @@ -// These files cannot be at the root and must be in a directory -// Webpack v4 uses the directory name for the entry variable -// https://github.com/webpack/webpack/blob/v4.46.0/lib/optimize/ConcatenatedModule.js#L1048 - -const js = { - '/src/index.js': ` - import * as all from './foo.js' - export default all - `, - - '/src/foo.js': ` - export const es2016 = 10 ** 4; - - export const es2017 = typeof (async () => {}); - - export const es2018 = (() => { - const y = { a: 1 } - let x = {...y} - let {...z} = y - return z; - })(); - - export const es2019 = (() => { - try { - return 'try' - } catch {} - })(); - - export const es2020 = (() => { - const obj = { - property: 1, - }; - return [ - obj?.property, - obj.prop ?? 2, - import.meta, - ]; - })(); - - export const es2021 = (() => { - let a; - let x = 0; - const y = 3; - return [ - a ??= 2, - x ||= y, - ]; - })(); - - export const esnext = (() => { - return [ - class { x = 2; }, - class { static x = 1; }, - class { #x() {} }, - class { #x }, - class { static #x }, - class { static #x() {} }, - 1_000_000_000, - ]; - })(); - `, -}; - -const ts = { - '/src/index.js': ` - import { foo } from './foo.ts' - export default foo() - `, - - '/src/foo.ts': ` - import type {Type} from 'foo' - - interface Foo {} - - type Foo = number - - declare module 'foo' {} - - enum BasicEnum { - Left, - Right, - } - - enum NamedEnum { - SomeEnum = 'some-value', - } - - export const a = BasicEnum.Left; - - export const b = NamedEnum.SomeEnum; - - export function foo(): string { - return 'foo' - } - - // For "ts as tsx" test - const bar = (value: T) => fn(); - `, -}; - -const ts2 = { - '/src/index.js': ` - export { default } from './foo.ts' - `, - - '/src/foo.ts': ` - const testFn = ( - l: obj, - options: { [key in obj]: V }, - ): V => { - return options[l]; - }; - - export default testFn; - `, -}; - -const tsAmbiguous = { - '/src/index.js': ` - export { default } from './foo.ts' - `, - - '/src/foo.ts': ` - export default () => 1/g - `, -}; - -const tsx = { - '/src/index.js': ` - import Foo, { HelloWorld } from './foo.tsx' - export default [ - HelloWorld, - (new Foo()).render(), - ]; - `, - - '/src/foo.tsx': ` - export const HelloWorld = <>
hello world
; - - export default class Foo { - render() { - return
content
- } - } - `, -}; - -const tsxAmbiguous = { - '/src/index.js': ` - export { default } from './foo.tsx' - `, - - '/src/foo.tsx': ` - export default () => 1/g - `, -}; - -const invalidTsx = { - '/src/index.js': ` - import usePrevious from './use-previous.tsx' - console.log(usePrevious) - `, - - '/src/use-previous.tsx': ` - const usePrevious = (value: T) => { - const ref = useRef(); - return ref.current; - }; - - export default usePrevious; - `, -}; - -const tsConfig = { - '/src/index.js': ` - export { default } from './foo.ts' - `, - '/src/foo.ts': ` - export default class A { a } - `, -}; - -const webpackChunks = { - '/src/index.js': ` - const Foo = import(/* webpackChunkName: "named-chunk-foo" */'./foo.js') - const Bar = import(/* webpackChunkName: "named-chunk-bar" */'./bar.js') - - export default async () => (await Foo).default + (await Bar).default; - `, - - '/src/foo.js': ` - export default 'foo'; - `, - - '/src/bar.js': ` - export default 'bar'; - `, -}; - -const css = { - '/src/index.js': ` - import './styles.css'; - `, - - '/src/styles.css': ` - div { - color: red; - } - - span { - margin: 0px 10px; - } - `, -}; - -const legalComments = { - '/src/index.js': ` - //! legal comment - globalCall(); - `, -}; - -export { - js, - ts, - ts2, - tsAmbiguous, - tsx, - tsxAmbiguous, - invalidTsx, - tsConfig, - webpackChunks, - css, - legalComments, -}; diff --git a/test/jest.esbuild-transformer.js b/test/jest.esbuild-transformer.js deleted file mode 100644 index febef2cc..00000000 --- a/test/jest.esbuild-transformer.js +++ /dev/null @@ -1,9 +0,0 @@ -const { transformSync } = require('esbuild'); - -exports.process = (code, sourcefile) => transformSync(code, { - target: 'node12', - format: 'cjs', - loader: 'ts', - sourcemap: 'inline', - sourcefile, -}).code; diff --git a/test/loader.test.ts b/test/loader.test.ts deleted file mode 100644 index d268fa21..00000000 --- a/test/loader.test.ts +++ /dev/null @@ -1,422 +0,0 @@ -import webpack4 from 'webpack'; -import webpack5 from 'webpack5'; -import { build } from 'webpack-test-utils'; -import { MinifyPluginOptions } from '../dist/interfaces.js'; -import * as fixtures from './fixtures'; -import { configureEsbuildLoader } from './utils'; - -type WebpackSourceMapDevToolPlugin = - | webpack4.SourceMapDevToolPlugin - | webpack5.SourceMapDevToolPlugin; - -describe.each([ - ['Webpack 4', webpack4], - ['Webpack 5', webpack5], -])('%s', (_name, webpack) => { - describe('Error handling', () => { - test('tsx handled as ts', async () => { - const built = await build(fixtures.tsx, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx$/, - loader: 'esbuild-loader', - options: { - loader: 'ts', - }, - }); - }, webpack); - - expect(built.stats.hasErrors()).toBe(true); - const [error] = built.stats.compilation.errors; - expect(error.message).toMatch('Unexpected ">"'); - }); - - test('invalid tsx', async () => { - const built = await build(fixtures.invalidTsx, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx?$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - }, - }); - }, webpack); - - expect(built.stats.hasErrors()).toBe(true); - const [error] = built.stats.compilation.errors; - expect(error.message).toMatch('Unexpected "const"'); - }); - - test('invalid implementation option', async () => { - const runWithImplementation = async (implementation: MinifyPluginOptions['implementation']) => { - const built = await build(fixtures.tsx, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.js?$/, - loader: 'esbuild-loader', - options: { - implementation, - }, - }); - }, webpack); - - expect(built.stats.hasErrors()).toBe(true); - const [error] = built.stats.compilation.errors; - throw error; - }; - - // @ts-expect-error testing invalid type - await expect(runWithImplementation({})).rejects.toThrow( - 'esbuild-loader: options.implementation.transform must be an ESBuild transform function. Received undefined', - ); - - // @ts-expect-error testing invalid type - await expect(runWithImplementation({ transform: 123 })).rejects.toThrow( - 'esbuild-loader: options.implementation.transform must be an ESBuild transform function. Received number', - ); - }); - }); - - describe('Loader', () => { - test('js', async () => { - const built = await build(fixtures.js, configureEsbuildLoader, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect( - built.require('/dist'), - ).toMatchSnapshot(); - }); - - test('ts', async () => { - const built = await build(fixtures.ts, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.ts$/, - loader: 'esbuild-loader', - options: { - loader: 'ts', - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.require('/dist')).toBe('foo'); - }); - - test('tsx', async () => { - const built = await build(fixtures.tsx, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - jsxFactory: 'createElement', - jsxFragment: 'Fragment', - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - built.fs.writeFileSync( - '/dist/index.js', - `const createElement = (...args) => args, Fragment = "Fragment";${dist}`, - ); - - expect( - built.require('/dist'), - ).toMatchSnapshot(); - }); - - test('ts w/ tsconfig', async () => { - const builtA = await build(fixtures.tsConfig, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.ts$/, - loader: 'esbuild-loader', - options: { - loader: 'ts', - }, - }); - }, webpack); - - expect(builtA.stats.hasWarnings()).toBe(false); - expect(builtA.stats.hasErrors()).toBe(false); - - const distA = builtA.fs.readFileSync('/dist/index.js', 'utf8'); - - const builtB = await build(fixtures.tsConfig, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.ts$/, - loader: 'esbuild-loader', - options: { - loader: 'ts', - tsconfigRaw: { - compilerOptions: { - useDefineForClassFields: true, - }, - }, - }, - }); - }, webpack); - - expect(builtB.stats.hasWarnings()).toBe(false); - expect(builtB.stats.hasErrors()).toBe(false); - - const distB = builtB.fs.readFileSync('/dist/index.js', 'utf8'); - expect(distB).not.toBe(distA); - }); - - test('tsx w/ tsconfig', async () => { - const built = await build(fixtures.tsx, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - tsconfigRaw: { - compilerOptions: { - jsxFactory: 'customFactory', - jsxFragmentFactory: 'customFragment', - }, - }, - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - built.fs.writeFileSync( - '/dist/index.js', - `const customFactory = (...args) => args, customFragment = "Fragment";${dist}`, - ); - - expect( - built.require('/dist'), - ).toMatchSnapshot(); - }); - - test('custom esbuild transform function', async () => { - const built = await build(fixtures.ts, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx?$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - implementation: { - transform: async () => ({ - code: 'export function foo() { return "MY_CUSTOM_ESBUILD_IMPLEMENTATION"; }', - map: '', - warnings: [], - }), - }, - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - - expect(dist).toContain('MY_CUSTOM_ESBUILD_IMPLEMENTATION'); - }); - - describe('ambigious ts/tsx', () => { - test('ts via tsx', async () => { - const built = await build(fixtures.ts, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx?$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.require('/dist')).toBe('foo'); - }); - - test('ts via tsx 2', async () => { - const built = await build(fixtures.ts2, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx?$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect( - built.require('/dist')('a', { a: 1 }), - ).toMatchSnapshot(); - }); - - test('ambiguous ts', async () => { - const built = await build(fixtures.tsAmbiguous, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx?$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(dist).toContain('(() => 1 < /a>/g)'); - }); - - test('ambiguous tsx', async () => { - const built = await build(fixtures.tsxAmbiguous, (config) => { - configureEsbuildLoader(config); - - config.module.rules.push({ - test: /\.tsx?$/, - loader: 'esbuild-loader', - options: { - loader: 'tsx', - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(dist).toContain('React.createElement'); - }); - }); - }); - - // Targets - test('target', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.module.rules[0].options = { - target: 'es2015', - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.require('/dist')).toMatchSnapshot(); - }); - - describe('Source-map', () => { - test('source-map eval', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.devtool = 'eval-source-map'; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(dist).toContain('eval'); - }); - - test('source-map inline', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.devtool = 'inline-source-map'; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(dist).toContain('sourceMappingURL'); - }); - - test('source-map file', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.devtool = 'source-map'; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const { assets } = built.stats.compilation; - - expect(assets).toHaveProperty(['index.js']); - expect(assets).toHaveProperty(['index.js.map']); - }); - - test('source-map plugin', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - delete config.devtool; - (config.plugins as WebpackSourceMapDevToolPlugin[]).push( - new webpack.SourceMapDevToolPlugin({}), - ); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(dist).toContain('sourceMappingURL'); - }); - }); - - test('webpack magic comments', async () => { - const built = await build(fixtures.webpackChunks, configureEsbuildLoader, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const { assets } = built.stats.compilation; - - expect(assets).toHaveProperty(['index.js']); - expect(assets).toHaveProperty(['named-chunk-foo.js']); - expect(assets).toHaveProperty(['named-chunk-bar.js']); - expect(await built.require('/dist')()).toBe('foobar'); - }); -}); diff --git a/test/minify.test.ts b/test/minify.test.ts deleted file mode 100644 index f8b0f1e3..00000000 --- a/test/minify.test.ts +++ /dev/null @@ -1,675 +0,0 @@ -import webpack4 from 'webpack'; -import webpack5 from 'webpack5'; -import MiniCssExtractPlugin from 'mini-css-extract-plugin'; -import { RawSource } from 'webpack-sources'; -import * as esbuild from 'esbuild'; -import { build } from 'webpack-test-utils'; -import { MinifyPluginOptions } from '../dist/interfaces.js'; -import { ESBuildMinifyPlugin } from '../dist/index.js'; -// import { build, getFile } from './utils'; -import * as fixtures from './fixtures'; -import { configureEsbuildLoader } from './utils'; - -describe.each([ - ['Webpack 4', webpack4], - ['Webpack 5', webpack5], -])('%s Loader + Minification', (_name, webpack) => { - describe('Error handling', () => { - test('invalid implementation option', async () => { - const runWithImplementation = async (implementation: MinifyPluginOptions['implementation']) => { - await build(fixtures.js, (config) => { - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - implementation, - }), - ], - }; - }, webpack); - }; - - await expect( - // @ts-expect-error testing invalid type - runWithImplementation({}), - ).rejects.toThrow( - 'ESBuildMinifyPlugin: implementation.transform must be an ESBuild transform function. Received undefined', - ); - - await expect( - // @ts-expect-error testing invalid type - runWithImplementation({ transform: 123 }), - ).rejects.toThrow( - 'ESBuildMinifyPlugin: implementation.transform must be an ESBuild transform function. Received number', - ); - }); - }); - - test('minify', async () => { - const builtUnminified = await build(fixtures.js, null, webpack); - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - target: 'es2019', - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(builtUnminified.stats.hash).not.toBe(built.stats.hash); - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - test('minifyWhitespace', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - minifyWhitespace: true, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - test('minifyIdentifiers', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - minifyIdentifiers: true, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - test('minifySyntax', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - target: 'es2019', - minifySyntax: true, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - test('minify chunks', async () => { - const built = await build(fixtures.webpackChunks, (config) => { - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin()], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/named-chunk-foo.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/named-chunk-bar.js', 'utf8')).toMatchSnapshot(); - }); - - test('minify chunks filtered using "include"', async () => { - const built = await build(fixtures.webpackChunks, (config) => { - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin({ - include: /(index|bar)/, - })], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - // The string "__webpack_require__" is only present in unminified chunks - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).not.toContain('__webpack_require__'); - expect(built.fs.readFileSync('/dist/named-chunk-foo.js', 'utf8')).toContain('__webpack_require__'); - expect(built.fs.readFileSync('/dist/named-chunk-bar.js', 'utf8')).not.toContain('__webpack_require__'); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/named-chunk-foo.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/named-chunk-bar.js', 'utf8')).toMatchSnapshot(); - }); - - test('minify chunks filtered using "exclude"', async () => { - const built = await build(fixtures.webpackChunks, (config) => { - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - exclude: /bar/, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - // The string "__webpack_require__" is only present in unminified chunks - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).not.toContain('__webpack_require__'); - expect(built.fs.readFileSync('/dist/named-chunk-foo.js', 'utf8')).not.toContain('__webpack_require__'); - expect(built.fs.readFileSync('/dist/named-chunk-bar.js', 'utf8')).toContain('__webpack_require__'); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/named-chunk-foo.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/named-chunk-bar.js', 'utf8')).toMatchSnapshot(); - }); - - test('minify w/ no devtool', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - delete config.devtool; - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin({ - target: 'es2015', - })], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.js', 'utf8'); - - expect(file).toMatchSnapshot(); - expect(file).not.toContain('//# sourceURL'); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - test('minify w/ devtool inline-source-map', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.devtool = 'inline-source-map'; - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin(), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(file).toContain('//# sourceMappingURL=data:application/'); - expect(file).toMatchSnapshot(); - }); - - test('minify w/ devtool source-map', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.devtool = 'source-map'; - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin()], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(file).toContain('//# sourceMappingURL=index.js.map'); - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - }); - - test('minify w/ source-map option', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - delete config.devtool; - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - sourcemap: true, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - }); - - test('minify w/ source-map option and source-map plugin inline', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - delete config.devtool; - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - sourcemap: true, - }), - ], - }; - - config.plugins.push(new webpack.SourceMapDevToolPlugin({})); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - }); - - test('minify w/ source-map option and source-map plugin external', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - delete config.devtool; - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - sourcemap: true, - }), - ], - }; - - config.plugins.push( - new webpack.SourceMapDevToolPlugin({ - filename: 'index.js.map', - }), - ); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.fs.readFileSync('/dist/index.js', 'utf8')).toMatchSnapshot(); - expect(built.fs.readFileSync('/dist/index.js.map', 'utf8')).toMatchSnapshot(); - }); - - test('minify w/ query strings', async () => { - const builtUnminified = await build(fixtures.js, (config) => { - config.output.filename = '[name].js?foo=bar'; - config.output.chunkFilename = '[name].js?foo=bar'; - }, webpack); - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.output.filename = '[name].js?foo=bar'; - config.output.chunkFilename = '[name].js?foo=bar'; - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - target: 'es2019', - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(builtUnminified.stats.hash).not.toBe(built.stats.hash); - - // Note: the actual file name does not include the query string - const file = built.fs.readFileSync('/dist/index.js', 'utf8'); - - expect(file).toMatchSnapshot(); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - test('minify w/ legalComments - default is inline', async () => { - const builtDefault = await build(fixtures.legalComments, (config) => { - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin(), - ], - }; - }, webpack); - - const builtInline = await build(fixtures.legalComments, (config) => { - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - legalComments: 'inline', - }), - ], - }; - }, webpack); - - const fileInline = builtInline.fs.readFileSync('/dist/index.js', 'utf8'); - const fileDefault = builtDefault.fs.readFileSync('/dist/index.js', 'utf8'); - - expect(fileDefault).toMatch('//! legal comment'); - expect(fileDefault).toBe(fileInline); - }); - - test('minify w/ legalComments - eof', async () => { - const built = await build(fixtures.legalComments, (config) => { - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - legalComments: 'eof', - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.js').toString(); - expect(file.trim().endsWith('//! legal comment')).toBe(true); - }); - - test('minify w/ legalComments - none', async () => { - const built = await build(fixtures.legalComments, (config) => { - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - legalComments: 'none', - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(file).not.toMatch('//! legal comment'); - }); - - test('minify with custom implementation', async () => { - const builtUnminified = await build(fixtures.js); - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - implementation: { - transform: async () => ({ - code: 'export function foo() { return "MY_CUSTOM_ESBUILD_IMPLEMENTATION"; }', - map: '', - warnings: [], - }), - }, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(builtUnminified.stats.hash).not.toBe(built.stats.hash); - - const content = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(content).toContain('MY_CUSTOM_ESBUILD_IMPLEMENTATION'); - expect(content).toMatchSnapshot(); - }); - - test('minify with custom implementation - real', async () => { - const builtUnminified = await build(fixtures.js); - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - target: 'es2019', - implementation: esbuild, - }), - ], - }; - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(builtUnminified.stats.hash).not.toBe(built.stats.hash); - expect(built.require('/dist')).toMatchSnapshot(); - }); - - describe('CSS', () => { - test('minify via loader', async () => { - const built = await build(fixtures.css, (config) => { - configureEsbuildLoader(config); - - config.module.rules[1].use.push({ - loader: 'esbuild-loader', - options: { - loader: 'css', - minify: true, - }, - }); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.js', 'utf8'); - expect(file).toContain('div{color:red}'); - }); - - test('minify', async () => { - const built = await build(fixtures.css, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - css: true, - }), - ], - }; - - config.module.rules[1].use.unshift(MiniCssExtractPlugin.loader); - config.plugins.push(new MiniCssExtractPlugin()); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.css').toString(); - expect(file.trim()).not.toMatch(/\s{2,}/); - }); - - test('exclude css', async () => { - const built = await build(fixtures.css, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - css: true, - exclude: /\.css$/, - }), - ], - }; - - config.module.rules[1].use.unshift(MiniCssExtractPlugin.loader); - config.plugins.push(new MiniCssExtractPlugin()); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const file = built.fs.readFileSync('/dist/index.css').toString(); - expect(file.trim()).toMatch(/\s{2,}/); - }); - - test('minify w/ source-map', async () => { - const built = await build(fixtures.css, (config) => { - configureEsbuildLoader(config); - - config.devtool = 'source-map'; - config.optimization = { - minimize: true, - minimizer: [ - new ESBuildMinifyPlugin({ - css: true, - }), - ], - }; - - config.module.rules[1].use.unshift(MiniCssExtractPlugin.loader); - config.plugins.push(new MiniCssExtractPlugin()); - }, webpack); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const cssFile = built.fs.readFileSync('/dist/index.css').toString(); - const css = cssFile.trim().split('\n'); - expect(css[0]).not.toMatch(/\s{2,}/); - expect(css[2]).toMatch(/sourceMappingURL/); - - const sourcemapFile = built.fs.readFileSync('/dist/index.css.map', 'utf8'); - expect(sourcemapFile).toMatch(/styles\.css/); - }); - }); -}); - -describe('Webpack 5', () => { - test('Stats', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin()], - }; - }, webpack5); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - expect(built.stats.toString().includes('[minimized]')).toBe(true); - }); - - test('Minifies new assets', async () => { - const built = await build(fixtures.js, (config) => { - configureEsbuildLoader(config); - - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin()], - }; - - config.plugins.push({ - apply(compiler) { - compiler.hooks.compilation.tap('test', (compilation) => { - compilation.hooks.processAssets.tap( - { name: 'test' }, - () => { - compilation.emitAsset( - 'test.js', - new RawSource('const value = 1;\n\nexport default value;'), - ); - }, - ); - }); - }, - }); - }, webpack5); - - expect(built.stats.hasWarnings()).toBe(false); - expect(built.stats.hasErrors()).toBe(false); - - const asset = built.stats.compilation.getAsset('test.js'); - - expect(asset.info.minimized).toBe(true); - - const file = built.fs.readFileSync('/dist/test.js', 'utf8'); - expect(file).toBe('const e=1;export default 1;\n'); - }); - - test('Doesn\'t minify minimized assets', async () => { - const sourceAndMap = jest.fn(); - - await build(fixtures.js, (config) => { - config.optimization = { - minimize: true, - minimizer: [new ESBuildMinifyPlugin()], - }; - - config.plugins.push({ - apply(compiler) { - compiler.hooks.compilation.tap('test', (compilation) => { - compilation.hooks.processAssets.tap( - { name: 'test' }, - () => { - const asset = new RawSource(''); - - asset.sourceAndMap = sourceAndMap; - - compilation.emitAsset( - 'test.js', - asset, - { minimized: true }, - ); - }, - ); - }); - }, - }); - }, webpack5); - - expect(sourceAndMap).not.toBeCalled(); - }); -}); diff --git a/test/tsconfig.json b/test/tsconfig.json deleted file mode 100644 index 8983f05a..00000000 --- a/test/tsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "..", - "include": [ - "." - ], - -} diff --git a/test/utils.ts b/test/utils.ts deleted file mode 100644 index 8b26d11a..00000000 --- a/test/utils.ts +++ /dev/null @@ -1,24 +0,0 @@ -import webpack4 from 'webpack'; -import webpack5 from 'webpack5'; - -const esbuildLoaderPath = require.resolve('../src/'); - -export function configureEsbuildLoader( - config: T) { - config.resolveLoader.alias = { - 'esbuild-loader': esbuildLoaderPath, - }; - - config.module.rules.push( - { - test: /\.js$/, - loader: 'esbuild-loader', - }, - { - test: /\.css$/, - use: [ - 'css-loader', - ], - }, - ); -} diff --git a/tests/fixtures.ts b/tests/fixtures.ts new file mode 100644 index 00000000..670e7b68 --- /dev/null +++ b/tests/fixtures.ts @@ -0,0 +1,182 @@ +export const exportFile = ( + name: string, + code: string, +) => ({ + '/src/index.js': `export { default } from "./${name}"`, + [`/src/${name}`]: code, +}); + +const trySyntax = ( + name: string, + code: string, +) => ` +(() => { + try { + ${code} + return ${JSON.stringify(name)}; + } catch (error) { + return error; + } +})() +`; + +export const js = exportFile( + 'js.js', + `export default [${[ + trySyntax( + 'es2016 - Exponentiation operator', + '10 ** 4', + ), + + trySyntax( + 'es2017 - Async functions', + 'typeof (async () => {})', + ), + + // trySyntax( + // 'es2018 - Asynchronous iteration', + // 'for await (let x of []) {}', + // ), + + trySyntax( + 'es2018 - Spread properties', + 'let x = {...Object}', + ), + + trySyntax( + 'es2018 - Rest properties', + 'let {...x} = Object', + ), + + trySyntax( + 'es2019 - Optional catch binding', + 'try {} catch {}', + ), + + trySyntax( + 'es2020 - Optional chaining', + 'Object?.keys', + ), + + trySyntax( + 'es2020 - Nullish coalescing', + 'Object ?? true', + ), + + trySyntax( + 'es2020 - import.meta', + 'import.meta', + ), + + trySyntax( + 'es2021 - Logical assignment operators', + 'let a = false; a ??= true; a ||= true; a &&= true;', + ), + + trySyntax( + 'es2022 - Class instance fields', + '(class { x })', + ), + + trySyntax( + 'es2022 - Static class fields', + '(class { static x })', + ), + + trySyntax( + 'es2022 - Private instance methods', + '(class { #x() {} })', + ), + + trySyntax( + 'es2022 - Private instance fields', + '(class { #x })', + ), + + trySyntax( + 'es2022 - Private static methods', + '(class { static #x() {} })', + ), + + trySyntax( + 'es2022 - Private static fields', + '(class { static #x })', + ), + + // trySyntax( + // 'es2022 - Ergonomic brand checks', + // '(class { #brand; static isC(obj) { return try obj.#brand; } })', + // ), + + trySyntax( + 'es2022 - Class static blocks', + '(class { static {} })', + ), + + // trySyntax( + // 'esnext - Import assertions', + // 'import "x" assert {}', + // ), + + ].join(',')}];`, +); + +export const ts = exportFile( + 'ts.ts', + ` + import type {Type} from 'foo' + + interface Foo {} + + type Foo = number + + declare module 'foo' {} + + enum BasicEnum { + Left, + Right, + } + + enum NamedEnum { + SomeEnum = 'some-value', + } + + export const a = BasicEnum.Left; + + export const b = NamedEnum.SomeEnum; + + export default function foo(): string { + return 'foo' + } + + // For "ts as tsx" test + const bar = (value: T) => fn(); + `, +); + +export const blank = { + '/src/index.js': '', +}; + +export const minification = { + '/src/index.js': 'export default ( stringVal ) => { return stringVal }', +}; + +export const legalComments = { + '/src/index.js': ` + //! legal comment + globalCall(); + `, +}; + +export const css = { + '/src/index.js': 'import "./styles.css"', + '/src/styles.css': ` + div { + color: red; + } + span { + margin: 0px 10px; + } + `, +}; diff --git a/tests/index.ts b/tests/index.ts new file mode 100644 index 00000000..6331ba5b --- /dev/null +++ b/tests/index.ts @@ -0,0 +1,14 @@ +import { describe } from 'manten'; +import webpack4 from 'webpack'; +import webpack5 from 'webpack5'; + +describe('esbuild-loader', ({ describe, runTestSuite }) => { + for (const webpack of [webpack4, webpack5]) { + describe(`Webpack ${webpack.version![0]}`, ({ runTestSuite }) => { + runTestSuite(import('./specs/loader.js'), webpack); + runTestSuite(import('./specs/plugin.js'), webpack); + }); + } + + runTestSuite(import('./specs/webpack5.js')); +}); diff --git a/tests/specs/loader.ts b/tests/specs/loader.ts new file mode 100644 index 00000000..85e869ea --- /dev/null +++ b/tests/specs/loader.ts @@ -0,0 +1,428 @@ +import { testSuite, expect } from 'manten'; +import { build } from 'webpack-test-utils'; +import webpack4 from 'webpack'; +import webpack5 from 'webpack5'; +import { + configureEsbuildLoader, + configureCssLoader, +} from '../utils'; +import * as fixtures from '../fixtures.js'; +import type { MinifyPluginOptions } from '#esbuild-loader'; + +const { exportFile } = fixtures; + +export default testSuite(({ describe }, webpack: typeof webpack4 | typeof webpack5) => { + describe('Loader', ({ test, describe }) => { + describe('Error handling', ({ test }) => { + test('tsx fails to be parsed as ts', async () => { + const built = await build( + exportFile( + 'tsx.tsx', + 'export default
hello world
', + ), + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx$/, + options: { + loader: 'ts', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasErrors()).toBe(true); + const [error] = built.stats.compilation.errors; + expect(error.message).toMatch('Transform failed with 1 error'); + }); + }); + + test('transforms syntax', async () => { + const built = await build( + fixtures.js, + configureEsbuildLoader, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + expect(built.require('/dist')).toStrictEqual([ + 'es2016 - Exponentiation operator', + 'es2017 - Async functions', + 'es2018 - Spread properties', + 'es2018 - Rest properties', + 'es2019 - Optional catch binding', + 'es2020 - Optional chaining', + 'es2020 - Nullish coalescing', + 'es2020 - import.meta', + 'es2021 - Logical assignment operators', + 'es2022 - Class instance fields', + 'es2022 - Static class fields', + 'es2022 - Private instance methods', + 'es2022 - Private instance fields', + 'es2022 - Private static methods', + 'es2022 - Private static fields', + 'es2022 - Class static blocks', + ]); + }); + + test('transforms TypeScript', async () => { + const built = await build( + fixtures.ts, + (config) => { + configureEsbuildLoader(config, { + test: /\.ts$/, + options: { + loader: 'ts', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + expect(built.require('/dist')()).toBe('foo'); + }); + + test('transforms TSX', async () => { + const built = await build( + exportFile( + 'tsx.tsx', + 'export default (<>
hello world
)', + ), + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx$/, + options: { + loader: 'tsx', + jsxFactory: 'Array', + jsxFragment: '"Fragment"', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + expect(built.require('/dist')).toStrictEqual([ + 'Fragment', + null, + [ + 'div', + null, + 'hello world', + ], + ]); + }); + + test('tsconfig', async () => { + const built = await build( + exportFile( + 'tsx.tsx', + 'export default (
hello world
)', + ), + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx$/, + options: { + loader: 'tsx', + tsconfigRaw: { + compilerOptions: { + jsxFactory: 'Array', + }, + }, + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + expect(built.require('/dist/index.js')).toStrictEqual(['div', null, 'hello world']); + }); + + describe('implementation', ({ test }) => { + test('error', async () => { + const runWithImplementation = async ( + implementation: MinifyPluginOptions['implementation'], + ) => { + const built = await build( + fixtures.blank, + (config) => { + configureEsbuildLoader(config, { + options: { + implementation, + }, + }); + }, + webpack, + ); + + expect(built.stats.hasErrors()).toBe(true); + const [error] = built.stats.compilation.errors; + throw error; + }; + + // @ts-expect-error testing invalid type + await expect(runWithImplementation({})).rejects.toThrow( + 'esbuild-loader: options.implementation.transform must be an ESBuild transform function. Received undefined', + ); + + // @ts-expect-error testing invalid type + await expect(runWithImplementation({ transform: 123 })).rejects.toThrow( + 'esbuild-loader: options.implementation.transform must be an ESBuild transform function. Received number', + ); + }); + + test('custom transform function', async () => { + const built = await build( + fixtures.blank, + (config) => { + configureEsbuildLoader(config, { + options: { + implementation: { + transform: async () => ({ + code: 'export default "CUSTOM_ESBUILD_IMPLEMENTATION"', + map: '', + warnings: [], + }), + }, + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(dist).toContain('CUSTOM_ESBUILD_IMPLEMENTATION'); + }); + }); + + describe('ambigious ts/tsx', () => { + test('ts via tsx', async () => { + const built = await build( + fixtures.ts, + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx?$/, + options: { + loader: 'tsx', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + expect(built.require('/dist')()).toBe('foo'); + }); + + test('ts via tsx 2', async () => { + const built = await build( + exportFile( + 'ts.ts', ` + export default ( + l: obj, + options: { [key in obj]: V }, + ): V => { + return options[l]; + }; + `, + ), + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx?$/, + options: { + loader: 'tsx', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + expect(built.require('/dist')('a', { a: 1 })).toBe(1); + }); + + test('ambiguous ts', async () => { + const built = await build( + exportFile( + 'ts.ts', + 'export default () => 1/g', + ), + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx?$/, + options: { + loader: 'tsx', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(dist).toContain('(() => 1 < /a>/g)'); + }); + + test('ambiguous tsx', async () => { + const built = await build( + exportFile( + 'tsx.tsx', + 'export default () => 1/g', + ), + (config) => { + configureEsbuildLoader(config, { + test: /\.tsx?$/, + options: { + loader: 'tsx', + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(dist).toContain('React.createElement'); + }); + }); + + describe('Source-map', ({ test }) => { + test('source-map eval', async () => { + const built = await build( + fixtures.js, + (config) => { + configureEsbuildLoader(config); + config.devtool = 'eval-source-map'; + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(dist).toContain('eval('); + }); + + test('source-map inline', async () => { + const built = await build( + fixtures.js, + (config) => { + configureEsbuildLoader(config); + config.devtool = 'inline-source-map'; + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(dist).toContain('sourceMappingURL'); + }); + + test('source-map file', async () => { + const built = await build( + fixtures.js, + (config) => { + configureEsbuildLoader(config); + config.devtool = 'source-map'; + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const { assets } = built.stats.compilation; + expect(assets).toHaveProperty(['index.js']); + expect(assets).toHaveProperty(['index.js.map']); + }); + + test('source-map plugin', async () => { + const built = await build( + fixtures.js, + (config) => { + configureEsbuildLoader(config); + + delete config.devtool; + config.plugins!.push( + new webpack.SourceMapDevToolPlugin({}) as any, + ); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const dist = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(dist).toContain('sourceMappingURL'); + }); + }); + + test('webpack magic comments', async () => { + const built = await build({ + '/src/index.js': ` + const chunkA = import(/* webpackChunkName: "named-chunk-foo" */'./chunk-a.js') + const chunkB = import(/* webpackChunkName: "named-chunk-bar" */'./chunk-b.js') + export default async () => (await chunkA).default + (await chunkB).default; + `, + '/src/chunk-a.js': 'export default 1', + '/src/chunk-b.js': 'export default 2', + }, configureEsbuildLoader, webpack); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const { assets } = built.stats.compilation; + expect(assets).toHaveProperty(['index.js']); + expect(assets).toHaveProperty(['named-chunk-foo.js']); + expect(assets).toHaveProperty(['named-chunk-bar.js']); + expect(await built.require('/dist')()).toBe(3); + }); + + test('CSS minification', async () => { + const built = await build( + fixtures.css, + (config) => { + configureEsbuildLoader(config); + const cssRule = configureCssLoader(config); + cssRule.use.push({ + loader: 'esbuild-loader', + options: { + loader: 'css', + minify: true, + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const code = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(code).toContain('div{color:red}'); + }); + }); +}); diff --git a/tests/specs/plugin.ts b/tests/specs/plugin.ts new file mode 100644 index 00000000..a056b64f --- /dev/null +++ b/tests/specs/plugin.ts @@ -0,0 +1,592 @@ +import { testSuite, expect } from 'manten'; +import { build } from 'webpack-test-utils'; +import webpack4 from 'webpack'; +import webpack5 from 'webpack5'; +import * as esbuild from 'esbuild'; +import { + configureEsbuildMinifyPlugin, + configureMiniCssExtractPlugin, +} from '../utils'; +import * as fixtures from '../fixtures.js'; +import type { MinifyPluginOptions } from '#esbuild-loader'; + +const assertMinified = (code: string) => { + expect(code).not.toMatch(/\s{2,}/); + expect(code).not.toMatch('stringVal'); + expect(code).not.toMatch('return '); +}; + +export default testSuite(({ describe }, webpack: typeof webpack4 | typeof webpack5) => { + describe('Plugin', ({ test, describe }) => { + describe('Minify JS', ({ test }) => { + test('minify', async () => { + const built = await build( + fixtures.minification, + (config) => { + configureEsbuildMinifyPlugin(config); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const exportedFunction = built.require('/dist/'); + expect(exportedFunction('hello world')).toBe('hello world'); + assertMinified(exportedFunction.toString()); + }); + + test('minifyWhitespace', async () => { + const built = await build( + fixtures.minification, + (config) => { + configureEsbuildMinifyPlugin(config, { + minifyWhitespace: true, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const exportedFunction = built.require('/dist/'); + expect(exportedFunction('hello world')).toBe('hello world'); + + const code = exportedFunction.toString(); + expect(code).not.toMatch(/\s{2,}/); + expect(code).toMatch('stringVal'); + expect(code).toMatch('return '); + }); + + test('minifyIdentifiers', async () => { + const built = await build( + fixtures.minification, + (config) => { + configureEsbuildMinifyPlugin(config, { + minifyIdentifiers: true, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const exportedFunction = built.require('/dist/'); + expect(exportedFunction('hello world')).toBe('hello world'); + + const code = exportedFunction.toString(); + expect(code).toMatch(/\s{2,}/); + expect(code).not.toMatch('stringVal'); + expect(code).toMatch('return '); + }); + + test('minifySyntax', async () => { + const built = await build( + fixtures.minification, + (config) => { + configureEsbuildMinifyPlugin(config, { + minifySyntax: true, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const exportedFunction = built.require('/dist/'); + expect(exportedFunction('hello world')).toBe('hello world'); + + const code = exportedFunction.toString(); + expect(code).toMatch(/\s/); + expect(code).toMatch('stringVal'); + expect(code).not.toMatch('return '); + }); + + test('minify chunks & filter using include/exclude', async () => { + const built = await build({ + '/src/index.js': ` + const foo = import(/* webpackChunkName: "named-chunk-foo" */'./foo.js') + const bar = import(/* webpackChunkName: "named-chunk-bar" */'./bar.js') + const baz = import(/* webpackChunkName: "named-chunk-baz" */'./baz.js') + export default [foo, bar, baz]; + `, + '/src/foo.js': fixtures.minification['/src/index.js'], + '/src/bar.js': fixtures.minification['/src/index.js'], + '/src/baz.js': fixtures.minification['/src/index.js'], + }, (config) => { + configureEsbuildMinifyPlugin(config, { + include: /ba./, + exclude: /baz/, + }); + }, webpack); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const chunkFoo = built.fs.readFileSync('/dist/named-chunk-foo.js', 'utf8').toString(); + + // The string "__webpack_require__" is only present in unminified chunks + expect(chunkFoo).toContain('__webpack_require__'); + + const chunkBar = built.fs.readFileSync('/dist/named-chunk-bar.js', 'utf8').toString(); + expect(chunkBar).not.toContain('__webpack_require__'); + assertMinified(chunkBar); + + const chunkBaz = built.fs.readFileSync('/dist/named-chunk-baz.js', 'utf8').toString(); + expect(chunkBaz).toContain('__webpack_require__'); + }); + + describe('devtool', ({ test }) => { + test('minify w/ no devtool', async () => { + const built = await build( + fixtures.blank, + (config) => { + delete config.devtool; + configureEsbuildMinifyPlugin(config); + }, + webpack, + ); + + const { stats } = built; + expect(stats.hasWarnings()).toBe(false); + expect(stats.hasErrors()).toBe(false); + expect( + Object.keys(stats.compilation.assets).length, + ).toBe(1); + + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).not.toContain('//# sourceURL'); + }); + + test('minify w/ devtool inline-source-map', async () => { + const built = await build( + fixtures.blank, + (config) => { + config.devtool = 'inline-source-map'; + configureEsbuildMinifyPlugin(config); + }, + webpack, + ); + + const { stats } = built; + expect(stats.hasWarnings()).toBe(false); + expect(stats.hasErrors()).toBe(false); + expect( + Object.keys(stats.compilation.assets).length, + ).toBe(1); + + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).toContain('//# sourceMappingURL=data:application/'); + }); + + test('minify w/ devtool source-map', async () => { + const built = await build( + fixtures.blank, + (config) => { + config.devtool = 'source-map'; + configureEsbuildMinifyPlugin(config); + }, + webpack, + ); + + const { stats } = built; + expect(stats.hasWarnings()).toBe(false); + expect(stats.hasErrors()).toBe(false); + expect( + Object.keys(stats.compilation.assets), + ).toStrictEqual([ + 'index.js', + 'index.js.map', + ]); + + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).toContain('//# sourceMappingURL=index.js.map'); + }); + + // TODO: This doesn't work, so maybe we should just remove the option? + // test('minify w/ plugin sourcemap option', async () => { + // const built = await build({ + // '/src/index.js': '', + // }, (config) => { + // delete config.devtool; + // configureEsbuildMinifyPlugin(config, { + // sourcemap: true, + // }); + // }, webpack); + + // const { stats } = built; + // expect(stats.hasWarnings()).toBe(false); + // expect(stats.hasErrors()).toBe(false); + // expect( + // Object.keys(stats.compilation.assets), + // ).toStrictEqual([ + // 'index.js', + // // 'index.js.map', + // ]); + + // const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + // expect(file).toContain('//# sourceMappingURL=index.js.map'); + // }); + + test('minify w/ source-map option and source-map plugin inline', async () => { + const built = await build( + fixtures.blank, + (config) => { + delete config.devtool; + configureEsbuildMinifyPlugin(config, { + sourcemap: true, + }); + + config.plugins!.push( + new webpack.SourceMapDevToolPlugin({}) as any, + ); + }, + webpack, + ); + + const { stats } = built; + expect(stats.hasWarnings()).toBe(false); + expect(stats.hasErrors()).toBe(false); + expect( + Object.keys(stats.compilation.assets).length, + ).toBe(1); + + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).toContain('//# sourceMappingURL=data:application/'); + }); + + test('minify w/ source-map option and source-map plugin external', async () => { + const built = await build( + fixtures.blank, + (config) => { + delete config.devtool; + configureEsbuildMinifyPlugin(config, { + sourcemap: true, + }); + + config.plugins!.push( + new webpack.SourceMapDevToolPlugin({ + filename: 'index.js.map', + }) as any, + ); + }, + webpack, + ); + + const { stats } = built; + expect(stats.hasWarnings()).toBe(false); + expect(stats.hasErrors()).toBe(false); + expect( + Object.keys(stats.compilation.assets), + ).toStrictEqual([ + 'index.js', + 'index.js.map', + ]); + + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).toContain('//# sourceMappingURL=index.js.map'); + }); + }); + + test('minify w/ query strings', async () => { + const built = await build( + { + '/src/index.js': 'import(/* webpackChunkName: "chunk" */"./chunk.js")', + '/src/chunk.js': '', + }, + (config) => { + config.output!.filename = '[name].js?foo=bar'; + config.output!.chunkFilename = '[name].js?foo=bar'; + + configureEsbuildMinifyPlugin(config); + }, + webpack, + ); + + const { stats } = built; + expect(stats.hasWarnings()).toBe(false); + expect(stats.hasErrors()).toBe(false); + expect( + Object.keys(stats.compilation.assets).sort(), + ).toStrictEqual([ + 'chunk.js?foo=bar', + 'index.js?foo=bar', + ]); + + // The actual file name does not include the query string + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).toMatch('?foo=bar'); + }); + + describe('legalComments', ({ test }) => { + test('minify w/ legalComments - default is inline', async () => { + const builtDefault = await build( + fixtures.legalComments, + (config) => { + configureEsbuildMinifyPlugin(config); + }, + webpack, + ); + + const builtInline = await build( + fixtures.legalComments, + (config) => { + configureEsbuildMinifyPlugin(config, { + legalComments: 'inline', + }); + }, + webpack, + ); + + const fileInline = builtInline.fs.readFileSync('/dist/index.js', 'utf8'); + const fileDefault = builtDefault.fs.readFileSync('/dist/index.js', 'utf8'); + + expect(fileDefault).toMatch('//! legal comment'); + expect(fileDefault).toBe(fileInline); + }); + + test('minify w/ legalComments - eof', async () => { + const built = await build( + fixtures.legalComments, + (config) => { + configureEsbuildMinifyPlugin(config, { + legalComments: 'eof', + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const file = built.fs.readFileSync('/dist/index.js').toString(); + expect(file.trim().endsWith('//! legal comment')).toBe(true); + }); + + test('minify w/ legalComments - none', async () => { + const built = await build( + fixtures.legalComments, + (config) => { + configureEsbuildMinifyPlugin(config, { + legalComments: 'none', + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).not.toMatch('//! legal comment'); + }); + + test('minify w/ legalComments - external', async () => { + const built = await build( + fixtures.legalComments, + (config) => { + configureEsbuildMinifyPlugin(config, { + legalComments: 'external', + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + expect(Object.keys(built.stats.compilation.assets)).toStrictEqual([ + 'index.js', + 'index.js.LEGAL.txt', + ]); + const file = built.fs.readFileSync('/dist/index.js', 'utf8'); + expect(file).not.toMatch('//! legal comment'); + + const extracted = built.fs.readFileSync('/dist/index.js.LEGAL.txt', 'utf8'); + expect(extracted).toMatch('//! legal comment'); + }); + }); + }); + + describe('implementation', ({ test }) => { + test('error', async () => { + const runWithImplementation = async (implementation: MinifyPluginOptions['implementation']) => { + await build( + fixtures.blank, + (config) => { + configureEsbuildMinifyPlugin(config, { + implementation, + }); + }, + webpack, + ); + }; + + await expect( + // @ts-expect-error testing invalid type + runWithImplementation({}), + ).rejects.toThrow( + 'ESBuildMinifyPlugin: implementation.transform must be an ESBuild transform function. Received undefined', + ); + + await expect( + // @ts-expect-error testing invalid type + runWithImplementation({ transform: 123 }), + ).rejects.toThrow( + 'ESBuildMinifyPlugin: implementation.transform must be an ESBuild transform function. Received number', + ); + }); + + test('customizable', async () => { + const code = 'export function foo() { return "CUSTOM_ESBUILD_IMPLEMENTATION"; }'; + const built = await build( + fixtures.blank, + (config) => { + configureEsbuildMinifyPlugin(config, { + implementation: { + transform: async () => ({ + code, + map: '', + warnings: [], + }), + }, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + expect( + built.fs.readFileSync('/dist/index.js', 'utf8'), + ).toBe(code); + }); + + test('customize with real esbuild', async () => { + const built = await build( + fixtures.minification, + (config) => { + configureEsbuildMinifyPlugin(config, { + implementation: esbuild, + }); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const exportedFunction = built.require('/dist/'); + expect(exportedFunction('hello world')).toBe('hello world'); + assertMinified(exportedFunction.toString()); + }); + }); + + describe('CSS', () => { + test('minify CSS asset', async () => { + const built = await build( + fixtures.css, + (config) => { + configureEsbuildMinifyPlugin(config, { + css: true, + }); + configureMiniCssExtractPlugin(config); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const file = built.fs.readFileSync('/dist/index.css').toString(); + expect(file.trim()).not.toMatch(/\s{2,}/); + }); + + test('exclude', async () => { + const built = await build( + fixtures.css, + (config) => { + configureEsbuildMinifyPlugin(config, { + css: true, + exclude: /index\.css$/, + }); + configureMiniCssExtractPlugin(config); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const file = built.fs.readFileSync('/dist/index.css').toString(); + expect(file.trim()).toMatch(/\s{2,}/); + }); + + test('minify w/ source-map', async () => { + const built = await build( + fixtures.css, + (config) => { + config.devtool = 'source-map'; + configureEsbuildMinifyPlugin(config, { + css: true, + }); + configureMiniCssExtractPlugin(config); + }, + webpack, + ); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const cssFile = built.fs.readFileSync('/dist/index.css').toString(); + const css = cssFile.trim().split('\n'); + expect(css[0]).not.toMatch(/\s{2,}/); + expect(css[2]).toMatch(/sourceMappingURL/); + + const sourcemapFile = built.fs.readFileSync('/dist/index.css.map', 'utf8'); + expect(sourcemapFile).toMatch(/styles\.css/); + }); + }); + + test('supports Source without #sourceAndMap()', async () => { + const createSource = (content: string) => ({ + source: () => content, + size: () => Buffer.byteLength(content), + }); + + const built = await build({ '/src/index.js': '' }, (config) => { + configureEsbuildMinifyPlugin(config); + + config.plugins!.push({ + apply(compiler) { + compiler.hooks.compilation.tap('test', (compilation) => { + compilation.hooks.processAssets.tap( + { name: 'test' }, + () => { + compilation.emitAsset( + 'test.js', + createSource(' 1 + 1'), + ); + }, + ); + }); + }, + }); + }, webpack5); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + expect(Object.keys(built.stats.compilation.assets)).toStrictEqual([ + 'index.js', + 'test.js', + ]); + expect( + built.fs.readFileSync('/dist/test.js', 'utf8'), + ).toBe('1+1;\n'); + }); + }); +}); diff --git a/tests/specs/webpack5.ts b/tests/specs/webpack5.ts new file mode 100644 index 00000000..22e5c93d --- /dev/null +++ b/tests/specs/webpack5.ts @@ -0,0 +1,83 @@ +import { testSuite, expect } from 'manten'; +import { build } from 'webpack-test-utils'; +import webpack5 from 'webpack5'; +import { RawSource } from 'webpack-sources'; +import { configureEsbuildMinifyPlugin } from '../utils'; + +export default testSuite(({ describe }) => { + describe('Webpack 5', ({ test }) => { + test('Stats', async () => { + const built = await build({ '/src/index.js': '' }, (config) => { + configureEsbuildMinifyPlugin(config); + }, webpack5); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + expect(built.stats.toString().includes('[minimized]')).toBe(true); + }); + + test('Minifies new assets', async () => { + const built = await build({ '/src/index.js': '' }, (config) => { + configureEsbuildMinifyPlugin(config); + + config.plugins!.push({ + apply(compiler) { + compiler.hooks.compilation.tap('test', (compilation) => { + compilation.hooks.processAssets.tap( + { name: 'test' }, + () => { + compilation.emitAsset( + 'test.js', + new RawSource('const value = 1;\n\nexport default value;'), + ); + }, + ); + }); + }, + }); + }, webpack5); + + expect(built.stats.hasWarnings()).toBe(false); + expect(built.stats.hasErrors()).toBe(false); + + const asset = built.stats.compilation.getAsset('test.js'); + expect(asset!.info.minimized).toBe(true); + + const file = built.fs.readFileSync('/dist/test.js', 'utf8'); + expect(file).toBe('const e=1;export default 1;\n'); + }); + + test('Doesnt minify minimized assets', async () => { + let sourceAndMapCalled = false; + await build({ '/src/index.js': '' }, (config) => { + configureEsbuildMinifyPlugin(config); + + config.plugins!.push({ + apply(compiler) { + compiler.hooks.compilation.tap('test', (compilation) => { + compilation.hooks.processAssets.tap( + { name: 'test' }, + () => { + const asset = new RawSource(''); + + // @ts-expect-error overwriting to make sure it's not called + asset.sourceAndMap = () => { + sourceAndMapCalled = true; + }; + + compilation.emitAsset( + 'test.js', + asset, + { minimized: true }, + ); + }, + ); + }); + }, + }); + }, webpack5); + + expect(sourceAndMapCalled).toBe(false); + }); + }); +}); diff --git a/tests/tsconfig.json b/tests/tsconfig.json new file mode 100644 index 00000000..d8e40f5b --- /dev/null +++ b/tests/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "..", + "include": ["."] +} diff --git a/tests/utils.ts b/tests/utils.ts new file mode 100644 index 00000000..f25a83da --- /dev/null +++ b/tests/utils.ts @@ -0,0 +1,60 @@ +import type webpack4 from 'webpack'; +import type webpack5 from 'webpack5'; +import MiniCssExtractPlugin from 'mini-css-extract-plugin'; +import { ESBuildMinifyPlugin, type MinifyPluginOptions } from '#esbuild-loader'; + +const esbuildLoaderPath = require.resolve('../src/'); + +export type Webpack = typeof webpack4 | typeof webpack5; + +export type WebpackConfiguration = webpack4.Configuration | webpack5.Configuration; + +type RuleSetUseItem = webpack4.RuleSetUseItem & webpack5.RuleSetUseItem; + +export const configureEsbuildLoader = ( + config: WebpackConfiguration, + options?: any, +) => { + config.resolveLoader!.alias = { + 'esbuild-loader': esbuildLoaderPath, + }; + + config.module!.rules!.push({ + test: /\.js$/, + loader: 'esbuild-loader', + ...options, + }); +}; + +export const configureEsbuildMinifyPlugin = ( + config: WebpackConfiguration, + options?: MinifyPluginOptions, +) => { + config.optimization = { + minimize: true, + minimizer: [ + new ESBuildMinifyPlugin(options), + ], + }; +}; + +export const configureCssLoader = ( + config: WebpackConfiguration, +) => { + const cssRule = { + test: /\.css$/, + use: [ + 'css-loader', + ] as RuleSetUseItem[], + }; + config.module!.rules!.push(cssRule); + return cssRule; +}; + +export const configureMiniCssExtractPlugin = ( + config: WebpackConfiguration, +) => { + const cssRule = configureCssLoader(config); + cssRule.use.unshift(MiniCssExtractPlugin.loader); + config.plugins!.push(new MiniCssExtractPlugin()); +}; diff --git a/tsconfig.json b/tsconfig.json index 125683d1..5edfdd0c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "outDir": "dist", - "module": "commonjs", + "module": "Node16", // Node 10 "target": "ES2018",