From eec9d9532b58a528b7e204f74f23b3d0c46ea329 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Fri, 29 Dec 2023 18:33:26 -0700 Subject: [PATCH] feat: support ESLint 9 Also: - test: switch to flat config --- .eslintrc.json | 46 - .github/workflows/feature.yaml | 2 +- CONTRIBUTING.md | 2 +- eslint.config.mjs | 72 ++ package.json | 19 +- pnpm-lock.yaml | 1116 +++++++++-------- src/iterateJsdoc.js | 6 +- src/rules/noUndefinedTypes.js | 1 + test/.eslintrc.json | 7 - test/iterateJsdoc.js | 2 +- test/rules/assertions/checkAccess.js | 10 +- test/rules/assertions/checkExamples.js | 2 +- test/rules/assertions/checkIndentation.js | 10 +- test/rules/assertions/checkParamNames.js | 110 +- test/rules/assertions/checkPropertyNames.js | 6 - test/rules/assertions/checkTagNames.js | 29 +- test/rules/assertions/flatConfig.js | 5 +- test/rules/assertions/informativeDocs.js | 126 +- test/rules/assertions/matchDescription.js | 30 +- test/rules/assertions/noMissingSyntax.js | 6 +- test/rules/assertions/noMultiAsterisks.js | 6 +- test/rules/assertions/noRestrictedSyntax.js | 51 +- test/rules/assertions/noUndefinedTypes.js | 66 +- test/rules/assertions/requireDescription.js | 14 +- .../requireDescriptionCompleteSentence.js | 2 +- test/rules/assertions/requireJsdoc.js | 549 ++++---- test/rules/assertions/requireParam.js | 149 ++- test/rules/assertions/requireReturns.js | 135 +- test/rules/assertions/requireReturnsCheck.js | 63 +- test/rules/assertions/requireThrows.js | 5 +- test/rules/assertions/requireYields.js | 37 +- test/rules/assertions/requireYieldsCheck.js | 7 +- test/rules/assertions/tagLines.js | 6 +- test/rules/assertions/validTypes.js | 16 +- test/rules/data/.eslintrc.json | 22 - test/rules/data/eslint.config.mjs | 26 + test/rules/index.js | 6 +- tsconfig-prod.json | 1 + tsconfig.json | 1 + 39 files changed, 1625 insertions(+), 1144 deletions(-) delete mode 100644 .eslintrc.json create mode 100644 eslint.config.mjs delete mode 100644 test/.eslintrc.json delete mode 100644 test/rules/data/.eslintrc.json create mode 100644 test/rules/data/eslint.config.mjs diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index feb42684b..000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "env": { - "node": true, - "browser": false - }, - "extends": ["canonical", "canonical/jsdoc"], - "overrides": [ - { - "files": ".ncurc.js", - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": false - }, - "sourceType": "script" - }, - "rules": { - "import/no-commonjs": 0, - "strict": [ - "error", - "global" - ] - } - } - ], - "settings": { - "jsdoc": { - "mode": "typescript" - } - }, - "root": true, - "rules": { - "array-element-newline": 0, - "filenames/match-regex": 0, - "import/extensions": 0, - "import/no-useless-path-segments": 0, - "prefer-named-capture-group": 0, - "unicorn/no-array-reduce": 0, - "unicorn/no-unsafe-regex": 0, - "unicorn/prefer-array-some": 0, - "unicorn/prevent-abbreviations": 0, - "unicorn/import-index": 0, - "linebreak-style": 0, - "no-inline-comments": 0, - "no-extra-parens": 0 - } -} diff --git a/.github/workflows/feature.yaml b/.github/workflows/feature.yaml index c2074cb2f..85dd75ae0 100644 --- a/.github/workflows/feature.yaml +++ b/.github/workflows/feature.yaml @@ -15,6 +15,7 @@ jobs: with: node-version: '20' - run: pnpm install + - run: pnpm build - run: pnpm lint timeout-minutes: 10 test: @@ -39,7 +40,6 @@ jobs: fail-fast: false matrix: node_js_version: - - '16' - '18' - '20' build: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3bfd4fb33..a78596308 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,7 +54,7 @@ Tests are expected. Each rule file should be in CamelCase (despite the rule name Each rule file should be an ESM default export of an object that has `valid` and `invalid` array properties containing the tests. Tests of each type should be provided. -`parserOptions` will be `ecmaVersion: 6` by default, but tests can override `parserOptions` +`languageOptions` will be `ecmaVersion: 6` by default, but tests can override `languageOptions` with their own. See ESLint's [RuleTester](https://eslint.org/docs/developer-guide/nodejs-api#ruletester) diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 000000000..f1cdfc662 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,72 @@ +import globals from 'globals'; +import jsdoc from './dist/index.js'; +// import canonical from 'eslint-config-canonical'; +// import canonicalJsdoc from 'eslint-config-canonical/jsdoc.js'; + +const common = { + linterOptions: { + reportUnusedDisableDirectives: 0 + }, + plugins: { + jsdoc + } +}; + +export default [ + // canonical, + // canonicalJsdoc, + { + ...common, + files: ['.ncurc.js'], + languageOptions: { + parserOptions: { + ecmaFeatures: { + impliedStrict: false + }, + }, + sourceType: 'script' + }, + rules: { + 'import/no-commonjs': 0, + strict: [ + 'error', + 'global' + ] + } + }, + { + ...common, + files: ['test/**/*.js'], + rules: { + 'no-restricted-syntax': 0, + 'unicorn/prevent-abbreviations': 0 + } + }, + { + ...common, + ignores: ['dist/**/*.js', '.ignore/**/*.js'], + languageOptions: { + globals: globals.node + }, + settings: { + jsdoc: { + mode: 'typescript' + } + }, + rules: { + 'array-element-newline': 0, + 'filenames/match-regex': 0, + 'import/extensions': 0, + 'import/no-useless-path-segments': 0, + 'prefer-named-capture-group': 0, + 'unicorn/no-array-reduce': 0, + 'unicorn/no-unsafe-regex': 0, + 'unicorn/prefer-array-some': 0, + 'unicorn/prevent-abbreviations': 0, + 'unicorn/import-index': 0, + 'linebreak-style': 0, + 'no-inline-comments': 0, + 'no-extra-parens': 0 + } + } +]; diff --git a/package.json b/package.json index 8612b687d..be8b6f101 100644 --- a/package.json +++ b/package.json @@ -18,15 +18,15 @@ "description": "JSDoc linting rules for ESLint.", "devDependencies": { "@babel/cli": "^7.23.4", - "@babel/core": "^7.23.6", + "@babel/core": "^7.23.7", "@babel/eslint-parser": "^7.23.3", "@babel/node": "^7.22.19", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-transform-flow-strip-types": "^7.23.3", - "@babel/preset-env": "^7.23.6", - "@babel/register": "^7.22.15", + "@babel/preset-env": "^7.23.7", + "@babel/register": "^7.23.7", "@es-joy/escodegen": "^3.5.1", - "@es-joy/jsdoc-eslint-parser": "^0.21.0", + "@es-joy/jsdoc-eslint-parser": "^0.21.1", "@hkdobrev/run-if-changed": "^0.3.1", "@semantic-release/commit-analyzer": "^11.1.0", "@semantic-release/github": "^9.2.6", @@ -39,7 +39,7 @@ "@types/json-schema": "^7.0.15", "@types/lodash.defaultsdeep": "^4.6.9", "@types/mocha": "^10.0.6", - "@types/node": "^20.10.5", + "@types/node": "^20.10.6", "@types/semver": "^7.5.6", "@types/spdx-expression-parse": "^3.0.5", "@typescript-eslint/parser": "^6.16.0", @@ -49,11 +49,12 @@ "chai": "^4.3.10", "cross-env": "^7.0.3", "decamelize": "^5.0.1", - "eslint": "8.56.0", + "eslint": "9.0.0-alpha.0", "eslint-config-canonical": "~42.8.0", "espree": "^9.6.1", "gitdown": "^3.1.5", "glob": "^10.3.10", + "globals": "^13.24.0", "husky": "^8.0.3", "jsdoc-type-pratt-parser": "^4.0.0", "json-schema": "^0.4.0", @@ -67,7 +68,7 @@ "typescript": "5.3.3" }, "engines": { - "node": ">=16" + "node": ">=18" }, "keywords": [ "eslint", @@ -113,7 +114,7 @@ "statements": 100 }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" }, "repository": { "type": "git", @@ -132,7 +133,7 @@ "create-options": "node ./src/bin/generateOptions.mjs", "install-offline": "pnpm install --prefer-offline --no-audit", "lint": "npm run lint-arg -- .", - "lint-arg": "eslint --report-unused-disable-directives", + "lint-arg": "eslint --report-unused-disable-directives=false", "lint-fix": "npm run lint-arg -- --fix .", "prepare": "husky install", "test-no-cov": "cross-env BABEL_ENV=test mocha", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc32521eb..329c23ee2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,34 +36,34 @@ dependencies: devDependencies: '@babel/cli': specifier: ^7.23.4 - version: 7.23.4(@babel/core@7.23.6) + version: 7.23.4(@babel/core@7.23.7) '@babel/core': - specifier: ^7.23.6 - version: 7.23.6 + specifier: ^7.23.7 + version: 7.23.7 '@babel/eslint-parser': specifier: ^7.23.3 - version: 7.23.3(@babel/core@7.23.6)(eslint@8.56.0) + version: 7.23.3(@babel/core@7.23.7)(eslint@9.0.0-alpha.0) '@babel/node': specifier: ^7.22.19 - version: 7.22.19(@babel/core@7.23.6) + version: 7.22.19(@babel/core@7.23.7) '@babel/plugin-syntax-class-properties': specifier: ^7.12.13 - version: 7.12.13(@babel/core@7.23.6) + version: 7.12.13(@babel/core@7.23.7) '@babel/plugin-transform-flow-strip-types': specifier: ^7.23.3 - version: 7.23.3(@babel/core@7.23.6) + version: 7.23.3(@babel/core@7.23.7) '@babel/preset-env': - specifier: ^7.23.6 - version: 7.23.6(@babel/core@7.23.6) + specifier: ^7.23.7 + version: 7.23.7(@babel/core@7.23.7) '@babel/register': - specifier: ^7.22.15 - version: 7.22.15(@babel/core@7.23.6) + specifier: ^7.23.7 + version: 7.23.7(@babel/core@7.23.7) '@es-joy/escodegen': specifier: ^3.5.1 version: 3.5.1 '@es-joy/jsdoc-eslint-parser': - specifier: ^0.21.0 - version: 0.21.0 + specifier: ^0.21.1 + version: 0.21.1 '@hkdobrev/run-if-changed': specifier: ^0.3.1 version: 0.3.1 @@ -101,8 +101,8 @@ devDependencies: specifier: ^10.0.6 version: 10.0.6 '@types/node': - specifier: ^20.10.5 - version: 20.10.5 + specifier: ^20.10.6 + version: 20.10.6 '@types/semver': specifier: ^7.5.6 version: 7.5.6 @@ -111,7 +111,7 @@ devDependencies: version: 3.0.5 '@typescript-eslint/parser': specifier: ^6.16.0 - version: 6.16.0(eslint@8.56.0)(typescript@5.3.3) + version: 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) babel-plugin-add-module-exports: specifier: ^1.0.4 version: 1.0.4 @@ -131,11 +131,11 @@ devDependencies: specifier: ^5.0.1 version: 5.0.1 eslint: - specifier: 8.56.0 - version: 8.56.0 + specifier: 9.0.0-alpha.0 + version: 9.0.0-alpha.0 eslint-config-canonical: specifier: ~42.8.0 - version: 42.8.0(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(@types/eslint@8.56.0)(@types/node@20.10.5)(eslint@8.56.0)(graphql@16.8.1)(typescript@5.3.3) + version: 42.8.0(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(@types/eslint@8.56.0)(@types/node@20.10.6)(eslint@9.0.0-alpha.0)(graphql@16.8.1)(typescript@5.3.3) espree: specifier: ^9.6.1 version: 9.6.1 @@ -145,6 +145,9 @@ devDependencies: glob: specifier: ^10.3.10 version: 10.3.10 + globals: + specifier: ^13.24.0 + version: 13.24.0 husky: specifier: ^8.0.3 version: 8.0.3 @@ -203,14 +206,14 @@ packages: - encoding dev: true - /@babel/cli@7.23.4(@babel/core@7.23.6): + /@babel/cli@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-j3luA9xGKCXVyCa5R7lJvOMM+Kc2JEnAEIgz2ggtjQ/j5YUVgfsg/WsG95bbsgq7YLHuiCOzMnoSasuY16qiCw==} engines: {node: '>=6.9.0'} hasBin: true peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@jridgewell/trace-mapping': 0.3.20 commander: 4.1.1 convert-source-map: 2.0.0 @@ -236,19 +239,19 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/core@7.23.6: - resolution: {integrity: sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==} + /@babel/core@7.23.7: + resolution: {integrity: sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.1 '@babel/code-frame': 7.23.5 '@babel/generator': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.6) - '@babel/helpers': 7.23.6 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helpers': 7.23.7 '@babel/parser': 7.23.6 '@babel/template': 7.22.15 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.7 '@babel/types': 7.23.6 convert-source-map: 2.0.0 debug: 4.3.4(supports-color@8.1.1) @@ -259,29 +262,43 @@ packages: - supports-color dev: true - /@babel/eslint-parser@7.23.3(@babel/core@7.23.6)(eslint@8.56.0): + /@babel/eslint-parser@7.23.3(@babel/core@7.23.7)(eslint@8.56.0): resolution: {integrity: sha512-9bTuNlyx7oSstodm1cR1bECj4fkiknsDa1YniISkJemMY3DGhJNYBECbe6QD/q54mp2J8VO66jW3/7uP//iFCw==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: '@babel/core': ^7.11.0 eslint: ^7.5.0 || ^8.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 eslint: 8.56.0 eslint-visitor-keys: 2.1.0 semver: 6.3.1 dev: true - /@babel/eslint-plugin@7.23.5(@babel/eslint-parser@7.23.3)(eslint@8.56.0): + /@babel/eslint-parser@7.23.3(@babel/core@7.23.7)(eslint@9.0.0-alpha.0): + resolution: {integrity: sha512-9bTuNlyx7oSstodm1cR1bECj4fkiknsDa1YniISkJemMY3DGhJNYBECbe6QD/q54mp2J8VO66jW3/7uP//iFCw==} + engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} + peerDependencies: + '@babel/core': ^7.11.0 + eslint: ^7.5.0 || ^8.0.0 + dependencies: + '@babel/core': 7.23.7 + '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 + eslint: 9.0.0-alpha.0 + eslint-visitor-keys: 2.1.0 + semver: 6.3.1 + dev: true + + /@babel/eslint-plugin@7.23.5(@babel/eslint-parser@7.23.3)(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-03+E/58Hoo/ui69gR+beFdGpplpoVK0BSIdke2iw4/Bz7eGN0ssRenNlnU4nmbkowNQOPCStKSwFr8H6DiY49g==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: '@babel/eslint-parser': ^7.11.0 eslint: ^7.5.0 || ^8.0.0 dependencies: - '@babel/eslint-parser': 7.23.3(@babel/core@7.23.6)(eslint@8.56.0) - eslint: 8.56.0 + '@babel/eslint-parser': 7.23.3(@babel/core@7.23.7)(eslint@9.0.0-alpha.0) + eslint: 9.0.0-alpha.0 eslint-rule-composer: 0.3.0 dev: true @@ -320,42 +337,42 @@ packages: semver: 6.3.1 dev: true - /@babel/helper-create-class-features-plugin@7.23.6(@babel/core@7.23.6): + /@babel/helper-create-class-features-plugin@7.23.6(@babel/core@7.23.7): resolution: {integrity: sha512-cBXU1vZni/CpGF29iTu4YRbOZt3Wat6zCoMDxRF1MayiEc4URxOj31tT65HUM0CRpMowA3HCJaAOVOUnMf96cw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.6) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 semver: 6.3.1 dev: true - /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.6): + /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.7): resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-annotate-as-pure': 7.22.5 regexpu-core: 5.3.2 semver: 6.3.1 dev: true - /@babel/helper-define-polyfill-provider@0.4.4(@babel/core@7.23.6): + /@babel/helper-define-polyfill-provider@0.4.4(@babel/core@7.23.7): resolution: {integrity: sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 debug: 4.3.4(supports-color@8.1.1) @@ -399,13 +416,13 @@ packages: '@babel/types': 7.23.6 dev: true - /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.6): + /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 @@ -425,25 +442,25 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.6): + /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.7): resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-wrap-function': 7.22.20 dev: true - /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.6): + /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.7): resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 @@ -494,12 +511,12 @@ packages: '@babel/types': 7.23.6 dev: true - /@babel/helpers@7.23.6: - resolution: {integrity: sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==} + /@babel/helpers@7.23.7: + resolution: {integrity: sha512-6AMnjCoC8wjqBzDHkuqpa7jAKwvMo4dC+lr/TFBz+ucfulO1XMpDnwWPGBNwClOKZ8h6xn5N81W/R5OrcKtCbQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.22.15 - '@babel/traverse': 7.23.6 + '@babel/traverse': 7.23.7 '@babel/types': 7.23.6 transitivePeerDependencies: - supports-color @@ -514,15 +531,15 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/node@7.22.19(@babel/core@7.23.6): + /@babel/node@7.22.19(@babel/core@7.23.7): resolution: {integrity: sha512-VsKSO9aEHdO16NdtqkJfrXZ9Sxlna1BVnBbToWr1KGdI3cyIk6KqOoa8mWvpK280lJDOwJqxvnl994KmLhq1Yw==} engines: {node: '>=6.9.0'} hasBin: true peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/register': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/register': 7.23.7(@babel/core@7.23.7) commander: 4.1.1 core-js: 3.34.0 node-environment-flags: 1.0.6 @@ -538,904 +555,904 @@ packages: '@babel/types': 7.23.6 dev: true - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.6): + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.23.6): + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.13.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.6) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.7) dev: true - /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.3(@babel/core@7.23.6): - resolution: {integrity: sha512-XaJak1qcityzrX0/IU5nKHb34VaibwP3saKqG6a/tppelgllOH13LUann4ZCIBcVOeE6H18K4Vx9QKkVww3z/w==} + /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.6): + /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.7): resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 dev: true - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.6): + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.7): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.6): + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.7): resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.6): + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.7): resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-flow@7.23.3(@babel/core@7.23.6): + /@babel/plugin-syntax-flow@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-YZiAIpkJAwQXBJLIQbRFayR5c+gJ35Vcz3bg954k7cd73zqjvhacJuL9RbrzPz8qPmZdgqP6EUKwy0PCNhaaPA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.23.6): + /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.23.6): + /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.6): + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.7): resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.6): + /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.6): + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.7): resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.6): + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.7): resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.6): + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.7): resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.6): + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.7): resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.6): + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.7): resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.6): + /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.7): resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-async-generator-functions@7.23.4(@babel/core@7.23.6): - resolution: {integrity: sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw==} + /@babel/plugin-transform-async-generator-functions@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-PdxEpL71bJp1byMG0va5gwQcXHxuEYC/BgI/e88mGTtohbZN28O5Yit0Plkkm/dBzCF/BxmbNcses1RH1T+urA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.6) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.6) + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.7) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.6) + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.6) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-classes@7.23.5(@babel/core@7.23.6): + /@babel/plugin-transform-classes@7.23.5(@babel/core@7.23.7): resolution: {integrity: sha512-jvOTR4nicqYC9yzOHIhXG5emiFEOpappSJAl73SDSEDcybD+Puuze8Tnpb9p9qEyYup24tq891gkaygIFvWDqg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.6) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 dev: true - /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 '@babel/template': 7.22.15 dev: true - /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.6) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.6) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-flow-strip-types@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-flow-strip-types@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-26/pQTf9nQSNVJCrLB1IkHUKyPxR+lMrH2QDPG89+Znu9rAMbtrybdbWeE9bb7gzjmE5iXHEY+e0HUwM6Co93Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-flow': 7.23.3(@babel/core@7.23.6) + '@babel/plugin-syntax-flow': 7.23.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.23.6): + /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.23.7): resolution: {integrity: sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true - /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-function-name': 7.23.0 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.6) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-literals@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-literals@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.6) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-simple-access': 7.22.5 dev: true - /@babel/plugin-transform-modules-systemjs@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-modules-systemjs@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.6) + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-identifier': 7.22.20 dev: true - /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.6): + /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.7): resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.6) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.6) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-object-rest-spread@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-object-rest-spread@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.6) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.6) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.6) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.6) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.6) + '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.6) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.7) dev: true - /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.23.6): + /@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.23.7): resolution: {integrity: sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.6) + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.7) '@babel/types': 7.23.6 dev: true - /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 regenerator-transform: 0.15.2 dev: true - /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-spread@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-spread@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true - /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.23.6): + /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.23.7): resolution: {integrity: sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/preset-env@7.23.6(@babel/core@7.23.6): - resolution: {integrity: sha512-2XPn/BqKkZCpzYhUUNZ1ssXw7DcXfKQEjv/uXZUXgaebCMYmkEsfZ2yY+vv+xtXv50WmL5SGhyB6/xsWxIvvOQ==} + /@babel/preset-env@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-SY27X/GtTz/L4UryMNJ6p4fH4nsgWbz84y9FE0bQeWJP6O5BhgVCt53CotQKHCOeXJel8VyhlhujhlltKms/CA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.6) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.6) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.6) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.6) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.6) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.6) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.6) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.6) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.6) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.6) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.6) - '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-async-generator-functions': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-classes': 7.23.5(@babel/core@7.23.6) - '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.23.6) - '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-modules-systemjs': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.6) - '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-object-rest-spread': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.23.6) - '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.6) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.6) - babel-plugin-polyfill-corejs2: 0.4.7(@babel/core@7.23.6) - babel-plugin-polyfill-corejs3: 0.8.7(@babel/core@7.23.6) - babel-plugin-polyfill-regenerator: 0.5.4(@babel/core@7.23.6) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.23.7) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.7) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.7) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.7) + '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-async-generator-functions': 7.23.7(@babel/core@7.23.7) + '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-classes': 7.23.5(@babel/core@7.23.7) + '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.23.7) + '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-systemjs': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.7) + '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-object-rest-spread': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.7) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.7) + babel-plugin-polyfill-corejs2: 0.4.7(@babel/core@7.23.7) + babel-plugin-polyfill-corejs3: 0.8.7(@babel/core@7.23.7) + babel-plugin-polyfill-regenerator: 0.5.4(@babel/core@7.23.7) core-js-compat: 3.34.0 semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.6): + /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.7): resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/helper-plugin-utils': 7.22.5 '@babel/types': 7.23.6 esutils: 2.0.3 dev: true - /@babel/register@7.22.15(@babel/core@7.23.6): - resolution: {integrity: sha512-V3Q3EqoQdn65RCgTLwauZaTfd1ShhwPmbBv+1dkZV/HpCGMKVyn6oFcRlI7RaKqiDQjX2Qd3AuoEguBgdjIKlg==} + /@babel/register@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-EjJeB6+kvpk+Y5DAkEAmbOBEFkh9OASx0huoEkqYTFxAZHzOAX2Oh5uwAUuL2rUddqfM0SA+KPXV2TbzoZ2kvQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 @@ -1489,6 +1506,24 @@ packages: - supports-color dev: true + /@babel/traverse@7.23.7: + resolution: {integrity: sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.23.5 + '@babel/generator': 7.23.6 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/parser': 7.23.6 + '@babel/types': 7.23.6 + debug: 4.3.4(supports-color@8.1.1) + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/types@7.23.6: resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} engines: {node: '>=6.9.0'} @@ -1523,12 +1558,12 @@ packages: engines: {node: '>=4.0'} dev: true - /@es-joy/jsdoc-eslint-parser@0.21.0: - resolution: {integrity: sha512-h9gNCACJEslhdoWi3V3x8DS8kloJEizO/ZjCYGe0M24UnkdY1OUyP8uQw/pMbYeACMgz9lWtr8S+EthiMfNlHQ==} + /@es-joy/jsdoc-eslint-parser@0.21.1: + resolution: {integrity: sha512-SZopkdH2PHgdr/tMa32m/74cLzHPXuBqyTqoODA3ExlHC3u47Fy/5wBacoA+6uOnjwVP4tVDi2gtqS4vX+6F7g==} engines: {node: '>=18.0.0'} dependencies: - '@babel/core': 7.23.6 - '@babel/eslint-parser': 7.23.3(@babel/core@7.23.6)(eslint@8.56.0) + '@babel/core': 7.23.7 + '@babel/eslint-parser': 7.23.3(@babel/core@7.23.7)(eslint@8.56.0) '@es-joy/jsdoccomment': 0.41.0 '@typescript-eslint/parser': 6.16.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 @@ -1556,6 +1591,16 @@ packages: eslint-visitor-keys: 3.4.3 dev: true + /@eslint-community/eslint-utils@4.4.0(eslint@9.0.0-alpha.0): + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + dependencies: + eslint: 9.0.0-alpha.0 + eslint-visitor-keys: 3.4.3 + dev: true + /@eslint-community/regexpp@4.10.0: resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} @@ -1578,26 +1623,48 @@ packages: - supports-color dev: true + /@eslint/eslintrc@3.0.0: + resolution: {integrity: sha512-R8p3jN1kdWvFRiRfgpUxZ4PMgfJJFt6NuLGDnnqLb7RKmsd5Xa0KqRMjmaqRO7e38ZbG/9zKPgDjeJeqsDofSA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + ajv: 6.12.6 + debug: 4.3.4(supports-color@8.1.1) + espree: 9.6.1 + globals: 13.24.0 + ignore: 5.3.0 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + dev: true + /@eslint/js@8.56.0: resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@graphql-eslint/eslint-plugin@3.20.1(@babel/core@7.23.6)(@types/node@20.10.5)(graphql@16.8.1): + /@eslint/js@9.0.0-alpha.0: + resolution: {integrity: sha512-SsmCfB6P+1D7RbUjWxi206LMt3jmiVXolUHIgR2ZeJGKyXdNtXY6t3yl8mkfO1XuCJM9iGHMKzQm9H52UyuSpQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dev: true + + /@graphql-eslint/eslint-plugin@3.20.1(@babel/core@7.23.7)(@types/node@20.10.6)(graphql@16.8.1): resolution: {integrity: sha512-RbwVlz1gcYG62sECR1u0XqMh8w5e5XMCCZoMvPQ3nJzEBCTfXLGX727GBoRmSvY1x4gJmqNZ1lsOX7lZY14RIw==} engines: {node: '>=12'} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@babel/code-frame': 7.23.5 - '@graphql-tools/code-file-loader': 7.3.23(@babel/core@7.23.6)(graphql@16.8.1) - '@graphql-tools/graphql-tag-pluck': 7.5.2(@babel/core@7.23.6)(graphql@16.8.1) + '@graphql-tools/code-file-loader': 7.3.23(@babel/core@7.23.7)(graphql@16.8.1) + '@graphql-tools/graphql-tag-pluck': 7.5.2(@babel/core@7.23.7)(graphql@16.8.1) '@graphql-tools/utils': 9.2.1(graphql@16.8.1) chalk: 4.1.2 debug: 4.3.4(supports-color@8.1.1) fast-glob: 3.3.2 graphql: 16.8.1 - graphql-config: 4.5.0(@types/node@20.10.5)(graphql@16.8.1) + graphql-config: 4.5.0(@types/node@20.10.6)(graphql@16.8.1) graphql-depth-limit: 1.1.0(graphql@16.8.1) lodash.lowercase: 4.3.0 tslib: 2.6.2 @@ -1623,12 +1690,12 @@ packages: value-or-promise: 1.0.12 dev: true - /@graphql-tools/code-file-loader@7.3.23(@babel/core@7.23.6)(graphql@16.8.1): + /@graphql-tools/code-file-loader@7.3.23(@babel/core@7.23.7)(graphql@16.8.1): resolution: {integrity: sha512-8Wt1rTtyTEs0p47uzsPJ1vAtfAx0jmxPifiNdmo9EOCuUPyQGEbMaik/YkqZ7QUFIEYEQu+Vgfo8tElwOPtx5Q==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: - '@graphql-tools/graphql-tag-pluck': 7.5.2(@babel/core@7.23.6)(graphql@16.8.1) + '@graphql-tools/graphql-tag-pluck': 7.5.2(@babel/core@7.23.7)(graphql@16.8.1) '@graphql-tools/utils': 9.2.1(graphql@16.8.1) globby: 11.1.0 graphql: 16.8.1 @@ -1672,7 +1739,7 @@ packages: - utf-8-validate dev: true - /@graphql-tools/executor-http@0.1.10(@types/node@20.10.5)(graphql@16.8.1): + /@graphql-tools/executor-http@0.1.10(@types/node@20.10.6)(graphql@16.8.1): resolution: {integrity: sha512-hnAfbKv0/lb9s31LhWzawQ5hghBfHS+gYWtqxME6Rl0Aufq9GltiiLBcl7OVVOnkLF0KhwgbYP1mB5VKmgTGpg==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 @@ -1683,7 +1750,7 @@ packages: dset: 3.1.3 extract-files: 11.0.0 graphql: 16.8.1 - meros: 1.3.0(@types/node@20.10.5) + meros: 1.3.0(@types/node@20.10.6) tslib: 2.6.2 value-or-promise: 1.0.12 transitivePeerDependencies: @@ -1732,13 +1799,13 @@ packages: unixify: 1.0.0 dev: true - /@graphql-tools/graphql-tag-pluck@7.5.2(@babel/core@7.23.6)(graphql@16.8.1): + /@graphql-tools/graphql-tag-pluck@7.5.2(@babel/core@7.23.7)(graphql@16.8.1): resolution: {integrity: sha512-RW+H8FqOOLQw0BPXaahYepVSRjuOHw+7IL8Opaa5G5uYGOBxoXR7DceyQ7BcpMgktAOOmpDNQ2WtcboChOJSRA==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: '@babel/parser': 7.23.6 - '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.6) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.7) '@babel/traverse': 7.23.6 '@babel/types': 7.23.6 '@graphql-tools/utils': 9.2.1(graphql@16.8.1) @@ -1806,7 +1873,7 @@ packages: value-or-promise: 1.0.12 dev: true - /@graphql-tools/url-loader@7.17.18(@types/node@20.10.5)(graphql@16.8.1): + /@graphql-tools/url-loader@7.17.18(@types/node@20.10.6)(graphql@16.8.1): resolution: {integrity: sha512-ear0CiyTj04jCVAxi7TvgbnGDIN2HgqzXzwsfcqiVg9cvjT40NcMlZ2P1lZDgqMkZ9oyLTV8Bw6j+SyG6A+xPw==} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 @@ -1814,7 +1881,7 @@ packages: '@ardatan/sync-fetch': 0.0.1 '@graphql-tools/delegate': 9.0.35(graphql@16.8.1) '@graphql-tools/executor-graphql-ws': 0.0.14(graphql@16.8.1) - '@graphql-tools/executor-http': 0.1.10(@types/node@20.10.5)(graphql@16.8.1) + '@graphql-tools/executor-http': 0.1.10(@types/node@20.10.6)(graphql@16.8.1) '@graphql-tools/executor-legacy-ws': 0.0.11(graphql@16.8.1) '@graphql-tools/utils': 9.2.1(graphql@16.8.1) '@graphql-tools/wrap': 9.4.2(graphql@16.8.1) @@ -2337,8 +2404,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.10.5: - resolution: {integrity: sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==} + /@types/node@20.10.6: + resolution: {integrity: sha512-Vac8H+NlRNNlAmDfGUP7b5h/KA+AtWIzuXy0E6OyP8f1tCLYAtPvKRRDJjAPqhpCb0t6U2j7/xqAuLEebW2kiw==} dependencies: undici-types: 5.26.5 dev: true @@ -2358,10 +2425,10 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.10.5 + '@types/node': 20.10.6 dev: true - /@typescript-eslint/eslint-plugin@6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@6.16.0(@typescript-eslint/parser@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-O5f7Kv5o4dLWQtPX4ywPPa+v9G+1q1x8mz0Kr0pXUtKsevo+gIJHLkGc8RxaZWtP8RrhwhSNIWThnW42K9/0rQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2373,13 +2440,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.16.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) '@typescript-eslint/scope-manager': 6.16.0 - '@typescript-eslint/type-utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.16.0 debug: 4.3.4(supports-color@8.1.1) - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 graphemer: 1.4.0 ignore: 5.3.0 natural-compare: 1.4.0 @@ -2390,14 +2457,14 @@ packages: - supports-color dev: true - /@typescript-eslint/experimental-utils@5.62.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/experimental-utils@5.62.0(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/utils': 5.62.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint: 9.0.0-alpha.0 transitivePeerDependencies: - supports-color - typescript @@ -2424,6 +2491,27 @@ packages: - supports-color dev: true + /@typescript-eslint/parser@6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3): + resolution: {integrity: sha512-H2GM3eUo12HpKZU9njig3DF5zJ58ja6ahj1GoHEHOgQvYxzoFJJEvC1MQ7T2l9Ha+69ZSOn7RTxOdpC/y3ikMw==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/scope-manager': 6.16.0 + '@typescript-eslint/types': 6.16.0 + '@typescript-eslint/typescript-estree': 6.16.0(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.16.0 + debug: 4.3.4(supports-color@8.1.1) + eslint: 9.0.0-alpha.0 + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/scope-manager@5.62.0: resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2440,7 +2528,7 @@ packages: '@typescript-eslint/visitor-keys': 6.16.0 dev: true - /@typescript-eslint/type-utils@6.16.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-ThmrEOcARmOnoyQfYkHw/DX2SEYBalVECmoldVuH6qagKROp/jMnfXpAU/pAIWub9c4YTxga+XwgAkoA0pxfmg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2451,9 +2539,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 6.16.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) debug: 4.3.4(supports-color@8.1.1) - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 ts-api-utils: 1.0.3(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: @@ -2513,19 +2601,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/utils@5.62.0(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 eslint-scope: 5.1.1 semver: 7.5.4 transitivePeerDependencies: @@ -2533,19 +2621,19 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.16.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/utils@6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 '@typescript-eslint/scope-manager': 6.16.0 '@typescript-eslint/types': 6.16.0 '@typescript-eslint/typescript-estree': 6.16.0(typescript@5.3.3) - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -2971,38 +3059,38 @@ packages: - supports-color dev: true - /babel-plugin-polyfill-corejs2@0.4.7(@babel/core@7.23.6): + /babel-plugin-polyfill-corejs2@0.4.7(@babel/core@7.23.7): resolution: {integrity: sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.6 - '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-corejs3@0.8.7(@babel/core@7.23.6): + /babel-plugin-polyfill-corejs3@0.8.7(@babel/core@7.23.7): resolution: {integrity: sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) core-js-compat: 3.34.0 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-regenerator@0.5.4(@babel/core@7.23.6): + /babel-plugin-polyfill-regenerator@0.5.4(@babel/core@7.23.7): resolution: {integrity: sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.6 - '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.6) + '@babel/core': 7.23.7 + '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) transitivePeerDependencies: - supports-color dev: true @@ -4109,59 +4197,59 @@ packages: lodash.zip: 4.2.0 dev: true - /eslint-compat-utils@0.1.2(eslint@8.56.0): + /eslint-compat-utils@0.1.2(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 dev: true - /eslint-config-canonical@42.8.0(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(@types/eslint@8.56.0)(@types/node@20.10.5)(eslint@8.56.0)(graphql@16.8.1)(typescript@5.3.3): + /eslint-config-canonical@42.8.0(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(@types/eslint@8.56.0)(@types/node@20.10.6)(eslint@9.0.0-alpha.0)(graphql@16.8.1)(typescript@5.3.3): resolution: {integrity: sha512-Jurs2GnTq9ISNwSt+ryYPy35smrfFQXGSTi9dLJvGqDP3bAI27U9TkUNozCwPNb0hxy8gsvwy2tA4IO8TV1Kcg==} engines: {node: '>=16.0.0'} peerDependencies: eslint: ^8.30.0 dependencies: - '@babel/core': 7.23.6 - '@babel/eslint-parser': 7.23.3(@babel/core@7.23.6)(eslint@8.56.0) - '@babel/eslint-plugin': 7.23.5(@babel/eslint-parser@7.23.3)(eslint@8.56.0) - '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.6) - '@graphql-eslint/eslint-plugin': 3.20.1(@babel/core@7.23.6)(@types/node@20.10.5)(graphql@16.8.1) + '@babel/core': 7.23.7 + '@babel/eslint-parser': 7.23.3(@babel/core@7.23.7)(eslint@9.0.0-alpha.0) + '@babel/eslint-plugin': 7.23.5(@babel/eslint-parser@7.23.3)(eslint@9.0.0-alpha.0) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.7) + '@graphql-eslint/eslint-plugin': 3.20.1(@babel/core@7.23.7)(@types/node@20.10.6)(graphql@16.8.1) '@next/eslint-plugin-next': 13.5.6 '@rushstack/eslint-patch': 1.6.1 - '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 - eslint-config-prettier: 9.1.0(eslint@8.56.0) - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@8.56.0) - eslint-plugin-ava: 14.0.0(eslint@8.56.0) - eslint-plugin-canonical: 4.18.0(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-cypress: 2.15.1(eslint@8.56.0) - eslint-plugin-eslint-comments: 3.2.0(eslint@8.56.0) - eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(eslint@8.56.0) - eslint-plugin-fp: 2.3.0(eslint@8.56.0) - eslint-plugin-import: /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) - eslint-plugin-jest: 27.6.0(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-jsdoc: 46.9.1(eslint@8.56.0) - eslint-plugin-jsonc: 2.11.2(eslint@8.56.0) - eslint-plugin-jsx-a11y: 6.8.0(eslint@8.56.0) - eslint-plugin-lodash: 7.4.0(eslint@8.56.0) - eslint-plugin-mocha: 10.2.0(eslint@8.56.0) + '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint: 9.0.0-alpha.0 + eslint-config-prettier: 9.1.0(eslint@9.0.0-alpha.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@9.0.0-alpha.0) + eslint-plugin-ava: 14.0.0(eslint@9.0.0-alpha.0) + eslint-plugin-canonical: 4.18.0(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint-plugin-cypress: 2.15.1(eslint@9.0.0-alpha.0) + eslint-plugin-eslint-comments: 3.2.0(eslint@9.0.0-alpha.0) + eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(eslint@9.0.0-alpha.0) + eslint-plugin-fp: 2.3.0(eslint@9.0.0-alpha.0) + eslint-plugin-import: /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0) + eslint-plugin-jest: 27.6.0(@typescript-eslint/eslint-plugin@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint-plugin-jsdoc: 46.9.1(eslint@9.0.0-alpha.0) + eslint-plugin-jsonc: 2.11.2(eslint@9.0.0-alpha.0) + eslint-plugin-jsx-a11y: 6.8.0(eslint@9.0.0-alpha.0) + eslint-plugin-lodash: 7.4.0(eslint@9.0.0-alpha.0) + eslint-plugin-mocha: 10.2.0(eslint@9.0.0-alpha.0) eslint-plugin-modules-newline: 0.0.6 - eslint-plugin-n: 16.5.0(eslint@8.56.0) - eslint-plugin-prettier: 5.1.2(@types/eslint@8.56.0)(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1) - eslint-plugin-promise: 6.1.1(eslint@8.56.0) - eslint-plugin-react: 7.33.2(eslint@8.56.0) - eslint-plugin-react-hooks: 4.6.0(eslint@8.56.0) - eslint-plugin-regexp: 1.15.0(eslint@8.56.0) - eslint-plugin-simple-import-sort: 10.0.0(eslint@8.56.0) - eslint-plugin-typescript-sort-keys: 3.1.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-unicorn: 48.0.1(eslint@8.56.0) - eslint-plugin-vitest: 0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-yml: 1.11.0(eslint@8.56.0) - eslint-plugin-zod: 1.4.0(eslint@8.56.0) + eslint-plugin-n: 16.5.0(eslint@9.0.0-alpha.0) + eslint-plugin-prettier: 5.1.2(@types/eslint@8.56.0)(eslint-config-prettier@9.1.0)(eslint@9.0.0-alpha.0)(prettier@3.1.1) + eslint-plugin-promise: 6.1.1(eslint@9.0.0-alpha.0) + eslint-plugin-react: 7.33.2(eslint@9.0.0-alpha.0) + eslint-plugin-react-hooks: 4.6.0(eslint@9.0.0-alpha.0) + eslint-plugin-regexp: 1.15.0(eslint@9.0.0-alpha.0) + eslint-plugin-simple-import-sort: 10.0.0(eslint@9.0.0-alpha.0) + eslint-plugin-typescript-sort-keys: 3.1.0(@typescript-eslint/parser@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint-plugin-unicorn: 48.0.1(eslint@9.0.0-alpha.0) + eslint-plugin-vitest: 0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint-plugin-yml: 1.11.0(eslint@9.0.0-alpha.0) + eslint-plugin-zod: 1.4.0(eslint@9.0.0-alpha.0) prettier: 3.1.1 ramda: 0.29.1 yaml-eslint-parser: 1.2.2 @@ -4183,13 +4271,13 @@ packages: - vitest dev: true - /eslint-config-prettier@9.1.0(eslint@8.56.0): + /eslint-config-prettier@9.1.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 dev: true /eslint-import-resolver-node@0.3.9: @@ -4202,7 +4290,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@8.56.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -4211,9 +4299,9 @@ packages: dependencies: debug: 4.3.4(supports-color@8.1.1) enhanced-resolve: 5.15.0 - eslint: 8.56.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) - eslint-plugin-import: /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0) + eslint-plugin-import: /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0) fast-glob: 3.3.2 get-tsconfig: 4.7.2 is-core-module: 2.13.1 @@ -4225,7 +4313,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -4246,24 +4334,24 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.16.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) debug: 3.2.7 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@8.56.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@9.0.0-alpha.0) transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-ava@14.0.0(eslint@8.56.0): + /eslint-plugin-ava@14.0.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-XmKT6hppaipwwnLVwwvQliSU6AF1QMHiNoLD5JQfzhUhf0jY7CO0O624fQrE+Y/fTb9vbW8r77nKf7M/oHulxw==} engines: {node: '>=14.17 <15 || >=16.4'} peerDependencies: eslint: '>=8.26.0' dependencies: enhance-visitors: 1.0.0 - eslint: 8.56.0 - eslint-utils: 3.0.0(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-utils: 3.0.0(eslint@9.0.0-alpha.0) espree: 9.6.1 espurify: 2.1.1 import-modules: 2.1.0 @@ -4272,15 +4360,15 @@ packages: resolve-from: 5.0.0 dev: true - /eslint-plugin-canonical@4.18.0(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@8.56.0)(typescript@5.3.3): + /eslint-plugin-canonical@4.18.0(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-0Egc0FKOnCRdu3bFEJhfHkdkusIgW0UxdemukkowZQnQsnf12FHSJ7K26b+tZ5pKB7cTyECSaqvEpoIJfplX4g==} engines: {node: '>=16.0.0'} dependencies: - '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) chance: 1.1.11 debug: 4.3.4(supports-color@8.1.1) - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@8.56.0) - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.16.0)(eslint-plugin-i@2.29.1)(eslint@9.0.0-alpha.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0) is-get-set-prop: 1.0.0 is-js-type: 2.0.0 is-obj-prop: 1.0.0 @@ -4301,39 +4389,39 @@ packages: - typescript dev: true - /eslint-plugin-cypress@2.15.1(eslint@8.56.0): + /eslint-plugin-cypress@2.15.1(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-eLHLWP5Q+I4j2AWepYq0PgFEei9/s5LvjuSqWrxurkg1YZ8ltxdvMNmdSf0drnsNo57CTgYY/NIHHLRSWejR7w==} peerDependencies: eslint: '>= 3.2.1' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 globals: 13.24.0 dev: true - /eslint-plugin-es-x@7.5.0(eslint@8.56.0): + /eslint-plugin-es-x@7.5.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '>=8' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) '@eslint-community/regexpp': 4.10.0 - eslint: 8.56.0 - eslint-compat-utils: 0.1.2(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-compat-utils: 0.1.2(eslint@9.0.0-alpha.0) dev: true - /eslint-plugin-eslint-comments@3.2.0(eslint@8.56.0): + /eslint-plugin-eslint-comments@3.2.0(eslint@9.0.0-alpha.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.56.0 + eslint: 9.0.0-alpha.0 ignore: 5.3.0 dev: true - /eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(eslint@8.56.0): + /eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.23.3)(@babel/plugin-transform-react-jsx@7.23.4)(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-dX8l6qUL6O+fYPtpNRideCFSpmWOUVx5QcaGLVqe/vlDiBSe4vYljDWDETwnyFzpl7By/WVIu6rcrniCgH9BqQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -4341,27 +4429,27 @@ packages: '@babel/plugin-transform-react-jsx': ^7.14.9 eslint: ^8.1.0 dependencies: - '@babel/plugin-syntax-flow': 7.23.3(@babel/core@7.23.6) - '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.23.6) - eslint: 8.56.0 + '@babel/plugin-syntax-flow': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.23.7) + eslint: 9.0.0-alpha.0 lodash: 4.17.21 string-natural-compare: 3.0.1 dev: true - /eslint-plugin-fp@2.3.0(eslint@8.56.0): + /eslint-plugin-fp@2.3.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-3n2oHibwoIxAht9/+ZaTldhI6brXORgl8oNXqZd+d9xuAQt2SBJ2/aml0oQRMWvXrgsz2WG6wfC++NjzSG3prA==} engines: {node: '>=4.0.0'} peerDependencies: eslint: '>=3' dependencies: create-eslint-index: 1.0.0 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 eslint-ast-utils: 1.1.0 lodash: 4.17.21 req-all: 0.1.0 dev: true - /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0): + /eslint-plugin-i@2.29.1(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-ORizX37MelIWLbMyqI7hi8VJMf7A0CskMmYkB+lkCX3aF4pkGV7kwx5bSEb4qx7Yce2rAf9s34HqDRPjGRZPNQ==} engines: {node: '>=12'} peerDependencies: @@ -4369,9 +4457,9 @@ packages: dependencies: debug: 4.3.4(supports-color@8.1.1) doctrine: 3.0.0 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.16.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@9.0.0-alpha.0) get-tsconfig: 4.7.2 is-glob: 4.0.3 minimatch: 3.1.2 @@ -4383,7 +4471,7 @@ packages: - supports-color dev: true - /eslint-plugin-jest@27.6.0(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3): + /eslint-plugin-jest@27.6.0(@typescript-eslint/eslint-plugin@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-MTlusnnDMChbElsszJvrwD1dN3x6nZl//s4JD23BxB6MgR66TZlL064su24xEIS3VACfAoHV1vgyMgPw8nkdng==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4396,15 +4484,15 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + '@typescript-eslint/utils': 5.62.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint: 9.0.0-alpha.0 transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-jsdoc@46.9.1(eslint@8.56.0): + /eslint-plugin-jsdoc@46.9.1(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-11Ox5LCl2wY7gGkp9UOyew70o9qvii1daAH+h/MFobRVRNcy7sVlH+jm0HQdgcvcru6285GvpjpUyoa051j03Q==} engines: {node: '>=16'} peerDependencies: @@ -4415,7 +4503,7 @@ packages: comment-parser: 1.4.1 debug: 4.3.4(supports-color@8.1.1) escape-string-regexp: 4.0.0 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 esquery: 1.5.0 is-builtin-module: 3.2.1 semver: 7.5.4 @@ -4424,22 +4512,22 @@ packages: - supports-color dev: true - /eslint-plugin-jsonc@2.11.2(eslint@8.56.0): + /eslint-plugin-jsonc@2.11.2(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-F6A0MZhIGRBPOswzzn4tJFXXkPLiLwJaMlQwz/Qj1qx+bV5MCn79vBeJh2ynMmtqqHloi54KDCnsT/KWrcCcnQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - eslint: 8.56.0 - eslint-compat-utils: 0.1.2(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) + eslint: 9.0.0-alpha.0 + eslint-compat-utils: 0.1.2(eslint@9.0.0-alpha.0) espree: 9.6.1 graphemer: 1.4.0 jsonc-eslint-parser: 2.4.0 natural-compare: 1.4.0 dev: true - /eslint-plugin-jsx-a11y@6.8.0(eslint@8.56.0): + /eslint-plugin-jsx-a11y@6.8.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==} engines: {node: '>=4.0'} peerDependencies: @@ -4455,7 +4543,7 @@ packages: damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 es-iterator-helpers: 1.0.15 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 hasown: 2.0.0 jsx-ast-utils: 3.3.5 language-tags: 1.0.9 @@ -4464,24 +4552,24 @@ packages: object.fromentries: 2.0.7 dev: true - /eslint-plugin-lodash@7.4.0(eslint@8.56.0): + /eslint-plugin-lodash@7.4.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-Tl83UwVXqe1OVeBRKUeWcfg6/pCW1GTRObbdnbEJgYwjxp5Q92MEWQaH9+dmzbRt6kvYU1Mp893E79nJiCSM8A==} engines: {node: '>=10'} peerDependencies: eslint: '>=2' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 lodash: 4.17.21 dev: true - /eslint-plugin-mocha@10.2.0(eslint@8.56.0): + /eslint-plugin-mocha@10.2.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ==} engines: {node: '>=14.0.0'} peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.56.0 - eslint-utils: 3.0.0(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-utils: 3.0.0(eslint@9.0.0-alpha.0) rambda: 7.5.0 dev: true @@ -4492,16 +4580,16 @@ packages: requireindex: 1.1.0 dev: true - /eslint-plugin-n@16.5.0(eslint@8.56.0): + /eslint-plugin-n@16.5.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-Hw02Bj1QrZIlKyj471Tb1jSReTl4ghIMHGuBGiMVmw+s0jOPbI4CBuYpGbZr+tdQ+VAvSK6FDSta3J4ib/SKHQ==} engines: {node: '>=16.0.0'} peerDependencies: eslint: '>=7.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) builtins: 5.0.1 - eslint: 8.56.0 - eslint-plugin-es-x: 7.5.0(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-plugin-es-x: 7.5.0(eslint@9.0.0-alpha.0) get-tsconfig: 4.7.2 ignore: 5.3.0 is-builtin-module: 3.2.1 @@ -4511,7 +4599,7 @@ packages: semver: 7.5.4 dev: true - /eslint-plugin-prettier@5.1.2(@types/eslint@8.56.0)(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1): + /eslint-plugin-prettier@5.1.2(@types/eslint@8.56.0)(eslint-config-prettier@9.1.0)(eslint@9.0.0-alpha.0)(prettier@3.1.1): resolution: {integrity: sha512-dhlpWc9vOwohcWmClFcA+HjlvUpuyynYs0Rf+L/P6/0iQE6vlHW9l5bkfzN62/Stm9fbq8ku46qzde76T1xlSg==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -4526,32 +4614,32 @@ packages: optional: true dependencies: '@types/eslint': 8.56.0 - eslint: 8.56.0 - eslint-config-prettier: 9.1.0(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-config-prettier: 9.1.0(eslint@9.0.0-alpha.0) prettier: 3.1.1 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 dev: true - /eslint-plugin-promise@6.1.1(eslint@8.56.0): + /eslint-plugin-promise@6.1.1(eslint@9.0.0-alpha.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.56.0 + eslint: 9.0.0-alpha.0 dev: true - /eslint-plugin-react-hooks@4.6.0(eslint@8.56.0): + /eslint-plugin-react-hooks@4.6.0(eslint@9.0.0-alpha.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.56.0 + eslint: 9.0.0-alpha.0 dev: true - /eslint-plugin-react@7.33.2(eslint@8.56.0): + /eslint-plugin-react@7.33.2(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==} engines: {node: '>=4'} peerDependencies: @@ -4562,7 +4650,7 @@ packages: array.prototype.tosorted: 1.1.2 doctrine: 2.1.0 es-iterator-helpers: 1.0.15 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.5 minimatch: 3.1.2 @@ -4576,16 +4664,16 @@ packages: string.prototype.matchall: 4.0.10 dev: true - /eslint-plugin-regexp@1.15.0(eslint@8.56.0): + /eslint-plugin-regexp@1.15.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-YEtQPfdudafU7RBIFci81R/Q1yErm0mVh3BkGnXD2Dk8DLwTFdc2ITYH1wCnHKim2gnHfPFgrkh+b2ozyyU7ag==} engines: {node: ^12 || >=14} peerDependencies: eslint: '>=6.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) '@eslint-community/regexpp': 4.10.0 comment-parser: 1.4.1 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 grapheme-splitter: 1.0.4 jsdoctypeparser: 9.0.0 refa: 0.11.0 @@ -4593,15 +4681,15 @@ packages: scslre: 0.2.0 dev: true - /eslint-plugin-simple-import-sort@10.0.0(eslint@8.56.0): + /eslint-plugin-simple-import-sort@10.0.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==} peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 dev: true - /eslint-plugin-typescript-sort-keys@3.1.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3): + /eslint-plugin-typescript-sort-keys@3.1.0(@typescript-eslint/parser@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-rgZeYfEguqKni/V7sbmgFu9/94UDAQd7YqNd0J7Qhw7SdLIGd0iBk2KgpjhRhe2ge4rPSLDIdFWwUiDqBOst6Q==} engines: {node: '>= 16'} peerDependencies: @@ -4609,9 +4697,9 @@ packages: eslint: ^7 || ^8 typescript: ^3 || ^4 || ^5 dependencies: - '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/experimental-utils': 5.62.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint: 9.0.0-alpha.0 json-schema: 0.4.0 natural-compare-lite: 1.4.0 typescript: 5.3.3 @@ -4619,17 +4707,17 @@ packages: - supports-color dev: true - /eslint-plugin-unicorn@48.0.1(eslint@8.56.0): + /eslint-plugin-unicorn@48.0.1(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.44.0' dependencies: '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) ci-info: 3.9.0 clean-regexp: 1.0.0 - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -4643,7 +4731,7 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-vitest@0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@8.56.0)(typescript@5.3.3): + /eslint-plugin-vitest@0.3.20(@typescript-eslint/eslint-plugin@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3): resolution: {integrity: sha512-O05k4j9TGMOkkghj9dRgpeLDyOSiVIxQWgNDPfhYPm5ioJsehcYV/zkRLekQs+c8+RBCVXucSED3fYOyy2EoWA==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -4656,23 +4744,23 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.16.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/eslint-plugin': 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@9.0.0-alpha.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.16.0(eslint@9.0.0-alpha.0)(typescript@5.3.3) + eslint: 9.0.0-alpha.0 transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-yml@1.11.0(eslint@8.56.0): + /eslint-plugin-yml@1.11.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-NBZP1NDGy0u38pY5ieix75jxS9GNOJy9xd4gQa0rU4gWbfEsVhKDwuFaQ6RJpDbv6Lq5TtcAZS/YnAc0oeRw0w==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4(supports-color@8.1.1) - eslint: 8.56.0 - eslint-compat-utils: 0.1.2(eslint@8.56.0) + eslint: 9.0.0-alpha.0 + eslint-compat-utils: 0.1.2(eslint@9.0.0-alpha.0) lodash: 4.17.21 natural-compare: 1.4.0 yaml-eslint-parser: 1.2.2 @@ -4680,13 +4768,13 @@ packages: - supports-color dev: true - /eslint-plugin-zod@1.4.0(eslint@8.56.0): + /eslint-plugin-zod@1.4.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-i9WzQGw2X5fQcuQh33mA8DQjZJM/yuyZvs1Fc5EyTidX7Ed/g832+1FEQ4u5gtXy+jZ+DVsB5+oMHj4tIOfeZg==} engines: {node: '>=12'} peerDependencies: eslint: '>=8.1.0' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 dev: true /eslint-rule-composer@0.3.0: @@ -4710,13 +4798,13 @@ packages: estraverse: 5.3.0 dev: true - /eslint-utils@3.0.0(eslint@8.56.0): + /eslint-utils@3.0.0(eslint@9.0.0-alpha.0): resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.56.0 + eslint: 9.0.0-alpha.0 eslint-visitor-keys: 2.1.0 dev: true @@ -4777,6 +4865,50 @@ packages: - supports-color dev: true + /eslint@9.0.0-alpha.0: + resolution: {integrity: sha512-21yCNcPYvXtvn3RrqPQP5+2X3LAqkfuPWSkxdkQyftorCYwUgu0rTNXxWAy8sSeBBDoVpHfeg2UTI15H26wkXQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + hasBin: true + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0-alpha.0) + '@eslint-community/regexpp': 4.10.0 + '@eslint/eslintrc': 3.0.0 + '@eslint/js': 9.0.0-alpha.0 + '@humanwhocodes/config-array': 0.11.13 + '@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 + debug: 4.3.4(supports-color@8.1.1) + escape-string-regexp: 4.0.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.5.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 6.0.1 + find-up: 5.0.0 + glob-parent: 6.0.2 + globals: 13.24.0 + graphemer: 1.4.0 + ignore: 5.3.0 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + is-path-inside: 3.0.3 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.4.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.3 + strip-ansi: 6.0.1 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + dev: true + /espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -5486,7 +5618,7 @@ packages: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} dev: true - /graphql-config@4.5.0(@types/node@20.10.5)(graphql@16.8.1): + /graphql-config@4.5.0(@types/node@20.10.6)(graphql@16.8.1): resolution: {integrity: sha512-x6D0/cftpLUJ0Ch1e5sj1TZn6Wcxx4oMfmhaG9shM0DKajA9iR+j1z86GSTQ19fShbGvrSSvbIQsHku6aQ6BBw==} engines: {node: '>= 10.0.0'} peerDependencies: @@ -5500,7 +5632,7 @@ packages: '@graphql-tools/json-file-loader': 7.4.18(graphql@16.8.1) '@graphql-tools/load': 7.8.14(graphql@16.8.1) '@graphql-tools/merge': 8.4.2(graphql@16.8.1) - '@graphql-tools/url-loader': 7.17.18(@types/node@20.10.5)(graphql@16.8.1) + '@graphql-tools/url-loader': 7.17.18(@types/node@20.10.6)(graphql@16.8.1) '@graphql-tools/utils': 9.2.1(graphql@16.8.1) cosmiconfig: 8.0.0 graphql: 16.8.1 @@ -6297,7 +6429,7 @@ packages: resolution: {integrity: sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -6309,7 +6441,7 @@ packages: resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.6 + '@babel/core': 7.23.7 '@babel/parser': 7.23.6 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 @@ -6897,7 +7029,7 @@ packages: engines: {node: '>= 8'} dev: true - /meros@1.3.0(@types/node@20.10.5): + /meros@1.3.0(@types/node@20.10.6): resolution: {integrity: sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w==} engines: {node: '>=13'} peerDependencies: @@ -6906,7 +7038,7 @@ packages: '@types/node': optional: true dependencies: - '@types/node': 20.10.5 + '@types/node': 20.10.6 dev: true /micro-spelling-correcter@1.1.1: diff --git a/src/iterateJsdoc.js b/src/iterateJsdoc.js index 0dbee3cbd..ecb509824 100644 --- a/src/iterateJsdoc.js +++ b/src/iterateJsdoc.js @@ -1805,7 +1805,7 @@ const getUtils = ( * @returns {Settings|false} */ const getSettings = (context) => { - /* eslint-disable canonical/sort-keys */ + /* dslint-disable canonical/sort-keys */ const settings = { // All rules ignorePrivate: Boolean(context.settings.jsdoc?.ignorePrivate), @@ -1838,7 +1838,7 @@ const getSettings = (context) => { // Many rules contexts: context.settings.jsdoc?.contexts, }; - /* eslint-enable canonical/sort-keys */ + /* dslint-enable canonical/sort-keys */ jsdocUtils.setTagStructure(settings.mode); try { @@ -2375,7 +2375,7 @@ const checkFile = (iterator, ruleConfig) => { export { getSettings, - // eslint-disable-next-line unicorn/prefer-export-from -- Avoid experimental parser + // dslint-disable-next-line unicorn/prefer-export-from -- Avoid experimental parser parseComment, }; diff --git a/src/rules/noUndefinedTypes.js b/src/rules/noUndefinedTypes.js index e05745e9e..4813fdb0a 100644 --- a/src/rules/noUndefinedTypes.js +++ b/src/rules/noUndefinedTypes.js @@ -179,6 +179,7 @@ export default iterateJsdoc(({ // If the file is a module, concat the variables from the module scope. .concat( + /* istanbul ignore next */ cjsOrESMScope ? globalScope.childScopes.flatMap(({ variables, diff --git a/test/.eslintrc.json b/test/.eslintrc.json deleted file mode 100644 index 2da33cd3f..000000000 --- a/test/.eslintrc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "canonical/mocha", - "rules": { - "no-restricted-syntax": 0, - "unicorn/prevent-abbreviations": 0 - } -} diff --git a/test/iterateJsdoc.js b/test/iterateJsdoc.js index f26900855..945086ec2 100644 --- a/test/iterateJsdoc.js +++ b/test/iterateJsdoc.js @@ -1,5 +1,5 @@ import { - // eslint-disable-next-line import/no-named-default + // dslint-disable-next-line import/no-named-default default as iterateJsdoc, parseComment, } from '../src/iterateJsdoc.js'; diff --git a/test/rules/assertions/checkAccess.js b/test/rules/assertions/checkAccess.js index 2b12f2279..876dfd04d 100644 --- a/test/rules/assertions/checkAccess.js +++ b/test/rules/assertions/checkAccess.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -98,7 +100,9 @@ export default { message: 'Missing valid JSDoc @access level.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -260,7 +264,9 @@ export default { myClassField = 1 } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/checkExamples.js b/test/rules/assertions/checkExamples.js index efc829d9c..476594557 100644 --- a/test/rules/assertions/checkExamples.js +++ b/test/rules/assertions/checkExamples.js @@ -1179,7 +1179,7 @@ export default { export default {}; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, diff --git a/test/rules/assertions/checkIndentation.js b/test/rules/assertions/checkIndentation.js index 4cdedf05e..ee2c9630e 100644 --- a/test/rules/assertions/checkIndentation.js +++ b/test/rules/assertions/checkIndentation.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -323,7 +325,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -339,7 +343,9 @@ export default { return (Base: Function) => {}; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, ], }; diff --git a/test/rules/assertions/checkParamNames.js b/test/rules/assertions/checkParamNames.js index 410e9eebb..a666ff877 100644 --- a/test/rules/assertions/checkParamNames.js +++ b/test/rules/assertions/checkParamNames.js @@ -1,8 +1,5 @@ -// After `importMeta` no longer experimental, we can use this ESM -// approach over `__dirname`? -// import {fileURLToPath} from 'url'; -// import {join, dirname} from 'path'; -// join(dirname(fileURLToPath(import.meta.url)), '@babel/eslint-parser') +import * as typescriptEslintParser from '@typescript-eslint/parser'; +import * as babelEslintParser from '@babel/eslint-parser'; export default { invalid: [ @@ -293,6 +290,9 @@ export default { message: 'Duplicate @param "foo"', }, ], + languageOptions: { + sourceType: 'script', + }, options: [ { enableFixer: true, @@ -544,8 +544,8 @@ export default { message: 'Expected @param names to be "property". Got "prop".', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -565,8 +565,8 @@ export default { message: 'Missing @param "prop.bar"', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -603,8 +603,8 @@ export default { message: '@param "prop.bar" does not exist on prop', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -625,8 +625,8 @@ export default { message: '@param "options.bar" does not exist on options', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -710,7 +710,7 @@ export default { checkRestProperty: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -737,7 +737,7 @@ export default { checkRestProperty: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -830,7 +830,9 @@ export default { checkRestProperty: true, }, ], - parser: require.resolve('@babel/eslint-parser'), + languageOptions: { + parser: babelEslintParser + }, }, { code: ` @@ -860,7 +862,9 @@ export default { message: '@param "options.four" does not exist on options', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -993,7 +997,7 @@ export default { useDefaultObjectProperties: false, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1175,7 +1179,9 @@ export default { message: 'Expected @param names to be "bar". Got "barr".', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, ], valid: [ @@ -1326,8 +1332,8 @@ export default { constructor(private property: string) {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1342,8 +1348,8 @@ export default { constructor(options: { foo: string, bar: string }) {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1358,8 +1364,8 @@ export default { constructor({ foo, bar }: { foo: string, bar: string }) {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1374,8 +1380,8 @@ export default { constructor({ foo, bar }: { foo: string, bar: string }) {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1451,7 +1457,7 @@ export default { function quux ({foo, ...extra}) { } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -1516,7 +1522,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1531,7 +1539,9 @@ export default { input; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1546,7 +1556,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1577,8 +1589,8 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1636,7 +1648,7 @@ export default { }) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1677,7 +1689,7 @@ export default { useDefaultObjectProperties: true, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1714,7 +1726,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1733,7 +1747,9 @@ export default { */ function foo(this: void, arg1: number): void; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1744,7 +1760,9 @@ export default { function foo(this: void, arg1: number): void; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1759,7 +1777,9 @@ export default { } `, ignoreReadme: true, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1775,7 +1795,9 @@ export default { } `, ignoreReadme: true, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1793,7 +1815,9 @@ export default { ): Color; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1807,7 +1831,9 @@ export default { return bar; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, ], }; diff --git a/test/rules/assertions/checkPropertyNames.js b/test/rules/assertions/checkPropertyNames.js index 6455b109a..9e1d70d3a 100644 --- a/test/rules/assertions/checkPropertyNames.js +++ b/test/rules/assertions/checkPropertyNames.js @@ -1,9 +1,3 @@ -// After `importMeta` no longer experimental, we can use this ESM -// approach over `__dirname`? -// import {fileURLToPath} from 'url'; -// import {join, dirname} from 'path'; -// join(dirname(fileURLToPath(import.meta.url)), '@babel/eslint-parser') - export default { invalid: [ { diff --git a/test/rules/assertions/checkTagNames.js b/test/rules/assertions/checkTagNames.js index 0ab13c5df..33cf4fe48 100644 --- a/test/rules/assertions/checkTagNames.js +++ b/test/rules/assertions/checkTagNames.js @@ -1,3 +1,4 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; import { closureTags, jsdocTags, @@ -1069,7 +1070,9 @@ export default { typed: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1082,7 +1085,9 @@ export default { typed: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1107,7 +1112,9 @@ export default { typed: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1120,7 +1127,9 @@ export default { typed: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1135,7 +1144,9 @@ export default { typed: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1391,8 +1402,8 @@ export default { // ... } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1440,7 +1451,9 @@ export default { ConvertToBase64(): boolean; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/flatConfig.js b/test/rules/assertions/flatConfig.js index 02b876389..986e85eba 100644 --- a/test/rules/assertions/flatConfig.js +++ b/test/rules/assertions/flatConfig.js @@ -15,10 +15,7 @@ export default { `, languageOptions: { parser: tsParser, - parserOptions: { - ecmaVersion: 2_020, - sourceType: 'module', - }, + sourceType: 'module', }, // Need manual setting here until fixing: // https://github.com/eslint/eslint/pull/16944 diff --git a/test/rules/assertions/informativeDocs.js b/test/rules/assertions/informativeDocs.js index 3b33641fe..5dbb8f27e 100644 --- a/test/rules/assertions/informativeDocs.js +++ b/test/rules/assertions/informativeDocs.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -23,7 +25,9 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -150,8 +154,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -168,8 +172,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -186,8 +190,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -204,8 +208,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -222,8 +226,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -240,8 +244,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -258,8 +262,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -276,8 +280,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -292,8 +296,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -311,8 +315,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -327,8 +331,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -343,8 +347,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -361,8 +365,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -377,8 +381,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -393,8 +397,8 @@ export default { message: 'This description only repeats the name it describes.', }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -516,7 +520,9 @@ export default { /** Informative info user id. */ let userId: string; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -584,8 +590,8 @@ export default { def; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -596,8 +602,8 @@ export default { accessor def; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -608,8 +614,8 @@ export default { def() {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -620,8 +626,8 @@ export default { abstract accessor def; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -632,8 +638,8 @@ export default { abstract def(); } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -644,8 +650,8 @@ export default { abstract def; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -654,8 +660,8 @@ export default { /** abc */ namespace Def {} `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -667,8 +673,8 @@ export default { def() {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -677,8 +683,8 @@ export default { /** abc */ declare function def(); `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -687,8 +693,8 @@ export default { /** abc */ enum Def {} `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -699,8 +705,8 @@ export default { ghi, } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -709,8 +715,8 @@ export default { /** abc */ interface Def {} `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -719,8 +725,8 @@ export default { /** abc */ type Def = {}; `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, @@ -729,8 +735,8 @@ export default { /** abc */ type Def = {}; `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, ecmaVersion: 2_022, }, }, diff --git a/test/rules/assertions/matchDescription.js b/test/rules/assertions/matchDescription.js index 776dedb62..db3dd406b 100644 --- a/test/rules/assertions/matchDescription.js +++ b/test/rules/assertions/matchDescription.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -796,7 +798,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -820,7 +824,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -985,7 +991,9 @@ export default { matchDescription: '^\\S[\\s\\S]*\\S$', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1361,7 +1369,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1379,7 +1389,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1640,7 +1652,9 @@ export default { matchDescription: '^\\S[\\s\\S]*\\S$', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1661,7 +1675,9 @@ export default { matchDescription: '^\\S[\\s\\S]*\\S$', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/noMissingSyntax.js b/test/rules/assertions/noMissingSyntax.js index 0caffef09..833082c83 100644 --- a/test/rules/assertions/noMissingSyntax.js +++ b/test/rules/assertions/noMissingSyntax.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -148,7 +150,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/noMultiAsterisks.js b/test/rules/assertions/noMultiAsterisks.js index a48ee517d..174d17662 100644 --- a/test/rules/assertions/noMultiAsterisks.js +++ b/test/rules/assertions/noMultiAsterisks.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -447,7 +449,9 @@ export default { // } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/noRestrictedSyntax.js b/test/rules/assertions/noRestrictedSyntax.js index 459d1905e..0f6f3b8d3 100644 --- a/test/rules/assertions/noRestrictedSyntax.js +++ b/test/rules/assertions/noRestrictedSyntax.js @@ -1,3 +1,6 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; +import * as jsdocEslintParser from '@es-joy/jsdoc-eslint-parser/typescript.js'; + export default { invalid: [ { @@ -343,7 +346,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -393,7 +398,9 @@ export default { ], }, ], - parser: require.resolve('@es-joy/jsdoc-eslint-parser/typescript.js'), + languageOptions: { + parser: jsdocEslintParser, + } }, { code: ` @@ -570,7 +577,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -596,7 +605,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -622,7 +633,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -650,7 +663,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -826,7 +841,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -861,7 +878,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -978,7 +997,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -998,7 +1019,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1018,7 +1041,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1040,7 +1065,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/noUndefinedTypes.js b/test/rules/assertions/noUndefinedTypes.js index 80f82b1f3..266adfacc 100644 --- a/test/rules/assertions/noUndefinedTypes.js +++ b/test/rules/assertions/noUndefinedTypes.js @@ -1,3 +1,7 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; +import * as babelEslintParser from '@babel/eslint-parser'; +import globals from 'globals'; + export default { invalid: [ { @@ -575,8 +579,10 @@ export default { } `, - env: { - es6: true, + languageOptions: { + globals: { + Promise: 'readonly', + }, }, }, { @@ -607,7 +613,7 @@ export default { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -622,8 +628,8 @@ export default { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, }, { @@ -637,8 +643,8 @@ export default { } `, - env: { - node: false, + languageOptions: { + globals: globals.node, }, }, { @@ -654,7 +660,7 @@ export default { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -670,8 +676,10 @@ export default { } `, - globals: { - HisType: true, + languageOptions: { + globals: { + HisType: true, + }, }, }, { @@ -1019,8 +1027,10 @@ export default { } }; `, - env: { - es6: true, + languageOptions: { + globals: { + Promise: 'readonly', + }, }, }, { @@ -1035,8 +1045,10 @@ export default { return Promise.resolve(value); }; `, - env: { - es6: true, + languageOptions: { + globals: { + Promise: 'readonly', + }, }, settings: { jsdoc: { @@ -1053,8 +1065,10 @@ export default { * @typedef {ValueType} ValueFunc */ `, - env: { - es6: true, + languageOptions: { + globals: { + Promise: 'readonly', + }, }, settings: { jsdoc: { @@ -1130,7 +1144,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1179,9 +1195,11 @@ export default { .once('end', () => resolve(data)); }); }; - `, - env: { - es6: true, + `, + languageOptions: { + globals: { + Promise: 'readonly', + }, }, ignoreReadme: true, }, @@ -1295,7 +1313,9 @@ export default { } } `, - parser: require.resolve('@babel/eslint-parser'), + languageOptions: { + parser: babelEslintParser + }, settings: { jsdoc: { mode: 'typescript', @@ -1370,7 +1390,7 @@ export default { markVariablesAsUsed: false, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1391,7 +1411,7 @@ export default { disableReporting: true, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, diff --git a/test/rules/assertions/requireDescription.js b/test/rules/assertions/requireDescription.js index 004cf45c5..5dfbb67a6 100644 --- a/test/rules/assertions/requireDescription.js +++ b/test/rules/assertions/requireDescription.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -270,7 +272,9 @@ export default { descriptionStyle: 'tag', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -911,7 +915,9 @@ export default { descriptionStyle: 'tag', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -929,7 +935,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/requireDescriptionCompleteSentence.js b/test/rules/assertions/requireDescriptionCompleteSentence.js index cf385b629..3c0ffc7d9 100644 --- a/test/rules/assertions/requireDescriptionCompleteSentence.js +++ b/test/rules/assertions/requireDescriptionCompleteSentence.js @@ -1472,7 +1472,7 @@ export default { foo() } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, diff --git a/test/rules/assertions/requireJsdoc.js b/test/rules/assertions/requireJsdoc.js index 772f63219..b6fa0af78 100644 --- a/test/rules/assertions/requireJsdoc.js +++ b/test/rules/assertions/requireJsdoc.js @@ -1,6 +1,6 @@ -/** - * @see https://github.com/eslint/eslint/blob/master/tests/lib/rules/require-jsdoc.js - */ +import * as typescriptEslintParser from '@typescript-eslint/parser'; +import * as babelEslintParser from '@babel/eslint-parser'; +import globals from 'globals'; export default { invalid: [ @@ -48,7 +48,9 @@ export default { catchJerry(): boolean; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -94,7 +96,9 @@ export default { jerry: number; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -131,7 +135,9 @@ export default { bar(): string; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -169,7 +175,9 @@ export default { bar: string; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -217,7 +225,9 @@ export default { meow(): void; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -388,7 +398,7 @@ function quux (foo) { }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -423,7 +433,7 @@ function quux (foo) { } export var test2 = test; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -456,7 +466,7 @@ function quux (foo) { }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -489,7 +499,7 @@ function quux (foo) { }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -519,7 +529,7 @@ function quux (foo) { }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, settings: { @@ -561,7 +571,7 @@ function quux (foo) { }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -594,7 +604,7 @@ function quux (foo) { }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -627,7 +637,7 @@ function quux (foo) { */ export default function () {} `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -660,7 +670,7 @@ function quux (foo) { */ export default () => {} `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -693,7 +703,7 @@ function quux (foo) { */ export default (function () {}) `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -726,7 +736,7 @@ function quux (foo) { */ export default class {} `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -859,7 +869,7 @@ function quux (foo) { this.a = xs; } }`, - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -902,7 +912,7 @@ function quux (foo) { this.a = xs; } }`, - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -945,7 +955,7 @@ function quux (foo) { this.a = xs; } }`, - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -988,7 +998,7 @@ function quux (foo) { this.a = xs; } }`, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1031,7 +1041,7 @@ function quux (foo) { this.a = xs; } }`, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1059,7 +1069,7 @@ function quux (foo) { */ var myFunction = () => {} `, - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -1087,7 +1097,7 @@ function quux (foo) { */ var myFunction = () => () => {} `, - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -1140,7 +1150,7 @@ function quux (foo) { */ bar() {}} `, - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -1225,8 +1235,8 @@ function quux (foo) { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1258,8 +1268,8 @@ function quux (foo) { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1295,8 +1305,8 @@ function quux (foo) { } } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1334,8 +1344,8 @@ function quux (foo) { } } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1375,8 +1385,8 @@ function quux (foo) { } } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1414,8 +1424,8 @@ function quux (foo) { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1452,8 +1462,8 @@ function quux (foo) { test.prototype.method = function() {} `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1493,8 +1503,8 @@ function quux (foo) { test: test } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1532,8 +1542,8 @@ function quux (foo) { test: test } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1571,8 +1581,8 @@ function quux (foo) { } module.exports = Test; `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -1630,7 +1640,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1665,7 +1675,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1700,7 +1710,7 @@ function quux (foo) { } export default quux; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1733,7 +1743,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1768,7 +1778,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1804,7 +1814,7 @@ function quux (foo) { var test2 = 2; export { test, test2 } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1839,7 +1849,7 @@ function quux (foo) { } export { test as test2 } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1872,7 +1882,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1907,7 +1917,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1942,7 +1952,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1977,7 +1987,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -2009,7 +2019,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -2019,8 +2029,8 @@ function quux (foo) { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -2056,8 +2066,8 @@ function quux (foo) { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -2086,7 +2096,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { ecmaVersion: 6, sourceType: 'module', }, @@ -2097,8 +2107,8 @@ function quux (foo) { } `, - env: { - node: true, + languageOptions: { + globals: globals.node, }, errors: [ { @@ -2127,7 +2137,7 @@ function quux (foo) { } `, - parserOptions: { + languageOptions: { ecmaVersion: 6, sourceType: 'module', }, @@ -2204,7 +2214,9 @@ function quux (foo) { meow(): void; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -2234,31 +2246,33 @@ function quux (foo) { someProperty: boolean; // Flow type annotation. } `, - parser: require.resolve('@babel/eslint-parser'), - parserOptions: { - babelOptions: { - env: { - test: { - plugins: [ - 'istanbul', - ], + languageOptions: { + parser: babelEslintParser, + parserOptions: { + babelOptions: { + env: { + test: { + plugins: [ + 'istanbul', + ], + }, }, - }, - plugins: [ - '@babel/plugin-transform-flow-strip-types', - '@babel/plugin-syntax-class-properties', - 'add-module-exports', - ], - presets: [ - [ - '@babel/preset-env', - { - targets: { - node: 12, + plugins: [ + '@babel/plugin-transform-flow-strip-types', + '@babel/plugin-syntax-class-properties', + 'add-module-exports', + ], + presets: [ + [ + '@babel/preset-env', + { + targets: { + node: 12, + }, }, - }, + ], ], - ], + }, }, }, }, @@ -2299,7 +2313,7 @@ function quux (foo) { } } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -2349,8 +2363,8 @@ function quux (foo) { } } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -2423,8 +2437,8 @@ function quux (foo) { } } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -2514,8 +2528,8 @@ function quux (foo) { */ export const loginSuccessAction = (): BaseActionPayload => ({ type: LOGIN_SUCCESSFUL }); `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -2569,7 +2583,9 @@ function quux (foo) { helpers?: { [key in string]: AnyFunction }; }; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -2709,7 +2725,9 @@ function quux (foo) { return arg; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -2765,7 +2783,9 @@ function quux (foo) { return arg; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -2863,8 +2883,8 @@ function quux (foo) { tail: boolean; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -2893,8 +2913,8 @@ function quux (foo) { @Entity('users') export class User {} `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3111,7 +3131,9 @@ function quux (foo) { anotherFunc() {} } `, - parser: require.resolve('@babel/eslint-parser'), + languageOptions: { + parser: babelEslintParser, + } }, { code: ` @@ -3141,8 +3163,8 @@ function quux (foo) { A, B } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3176,8 +3198,8 @@ function quux (foo) { aVar: string; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3205,8 +3227,8 @@ function quux (foo) { */ export type testType = string | number; `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3256,8 +3278,8 @@ function quux (foo) { quux(): void; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3300,7 +3322,9 @@ function quux (foo) { public value = new EventEmitter(); } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -3560,8 +3584,8 @@ function quux (foo) { public disabled = false; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3594,7 +3618,7 @@ function quux (foo) { */ export default (arg) => arg; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -3639,7 +3663,7 @@ function quux (foo) { inner(); } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -3684,7 +3708,7 @@ function quux (foo) { inner(); }; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -3722,8 +3746,8 @@ function quux (foo) { public disabled = false; } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3762,7 +3786,9 @@ function quux (foo) { public foo?: number; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -3804,7 +3830,9 @@ function quux (foo) { two: number; }; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -3852,7 +3880,9 @@ function quux (foo) { two: number; }; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -4079,7 +4109,9 @@ function quux (foo) { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -4123,7 +4155,9 @@ function quux (foo) { // ... } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -4152,11 +4186,13 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { - ecmaFeatures: { - jsx: true, - }, + languageOptions: { + parser: typescriptEslintParser, + parserOptions: { + ecmaFeatures: { + jsx: true, + }, + } }, }, ], @@ -4179,7 +4215,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` /** This is comment */ @@ -4199,7 +4237,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` /** This is comment */ @@ -4223,7 +4263,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` /** This is comment */ @@ -4246,7 +4288,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` /** This is comment */ @@ -4268,7 +4312,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` /** @@ -4365,6 +4411,9 @@ function quux (foo) { var object = { name: 'key'}; Object.keys(object).forEach(function() {}) `, + languageOptions: { + sourceType: 'script', + }, }, { code: ` @@ -4477,7 +4526,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4503,7 +4552,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4529,7 +4578,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, sourceType: 'module', }, @@ -4556,7 +4605,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, sourceType: 'module', }, @@ -4576,7 +4625,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4593,7 +4642,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4610,7 +4659,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4627,7 +4676,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4644,7 +4693,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4657,7 +4706,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4688,7 +4737,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4715,7 +4764,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, }, }, @@ -4753,9 +4802,9 @@ function quux (foo) { module.exports = { prop: { prop2: test.method } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4778,9 +4827,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4803,9 +4852,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4832,9 +4881,9 @@ function quux (foo) { exports.someMethod = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4861,9 +4910,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4882,9 +4931,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4909,9 +4958,9 @@ function quux (foo) { module.exports = { prop: window } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4938,9 +4987,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4962,9 +5011,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -4994,9 +5043,9 @@ function quux (foo) { module.exports = { prop: { prop2: test } } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -5018,9 +5067,9 @@ function quux (foo) { } } module.exports = Test; - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -5048,7 +5097,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5071,7 +5120,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5093,7 +5142,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5114,7 +5163,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5135,7 +5184,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5158,7 +5207,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5181,7 +5230,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5203,7 +5252,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5226,7 +5275,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5249,7 +5298,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5269,7 +5318,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -5311,9 +5360,9 @@ function quux (foo) { export function someMethod() { } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -5327,7 +5376,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, sourceType: 'module', }, @@ -5336,9 +5385,9 @@ function quux (foo) { export function someMethod() { } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -5352,7 +5401,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 6, sourceType: 'module', }, @@ -5361,9 +5410,9 @@ function quux (foo) { exports.someMethod = function() { } - `, - env: { - node: true, + `, + languageOptions: { + globals: globals.node, }, options: [ { @@ -5406,7 +5455,7 @@ function quux (foo) { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, { @@ -5428,8 +5477,8 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5452,8 +5501,8 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, { @@ -5475,8 +5524,8 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5499,8 +5548,8 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, { @@ -5522,8 +5571,8 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5546,8 +5595,8 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5571,12 +5620,14 @@ function quux (foo) { }, }, ], - parser: require.resolve('@babel/eslint-parser'), - parserOptions: { - ecmaFeatures: { - jsx: true, - }, + languageOptions: { ecmaVersion: 2_017, + parser: babelEslintParser, + parserOptions: { + ecmaFeatures: { + jsx: true, + }, + }, sourceType: 'module', }, }, @@ -5598,8 +5649,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5621,8 +5672,8 @@ function quux (foo) { publicOnly: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5650,7 +5701,9 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -5676,8 +5729,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5711,8 +5764,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5737,8 +5790,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5763,8 +5816,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -5954,7 +6007,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -5974,7 +6029,9 @@ function quux (foo) { publicOnly: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -6019,7 +6076,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -6040,8 +6099,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -6174,7 +6233,9 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, { code: ` @@ -6197,8 +6258,8 @@ function quux (foo) { }, }, ], - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -6233,7 +6294,9 @@ function quux (foo) { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser, + } }, ], }; diff --git a/test/rules/assertions/requireParam.js b/test/rules/assertions/requireParam.js index ee72c5644..c8b6968a3 100644 --- a/test/rules/assertions/requireParam.js +++ b/test/rules/assertions/requireParam.js @@ -1,8 +1,5 @@ -// After `importMeta` no longer experimental, we can use this ESM -// approach over `__dirname`? -// import {fileURLToPath} from 'url'; -// import {join, dirname} from 'path'; -// join(dirname(fileURLToPath(import.meta.url)), '@babel/eslint-parser') +import * as typescriptEslintParser from '@typescript-eslint/parser'; +import * as babelEslintParser from '@babel/eslint-parser'; export default { invalid: [ @@ -1040,8 +1037,8 @@ export default { constructor(private property: string, private foo: number) {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1334,7 +1331,9 @@ export default { TestMethod(id: number): void; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1375,7 +1374,9 @@ export default { abstract TestFunction(id); } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1416,7 +1417,9 @@ export default { TestMethod(id); } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1445,7 +1448,9 @@ export default { */ declare let TestFunction: (id) => void; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1474,7 +1479,9 @@ export default { */ let TestFunction: (id) => void; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1511,7 +1518,9 @@ export default { return processor(10); } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1546,7 +1555,9 @@ export default { return processor(10); } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1579,7 +1590,9 @@ export default { public Test: (id: number) => string; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1616,7 +1629,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1649,7 +1664,9 @@ export default { Test: (id: number) => string; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1682,7 +1699,9 @@ export default { TestMethod(): (id: number) => string; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1711,7 +1730,9 @@ export default { */ function test(): (id: number) => string; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1746,7 +1767,9 @@ export default { return (id) => \`\${id}\`; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1837,7 +1860,9 @@ export default { ) {} } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1903,7 +1928,9 @@ export default { ) {} } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1933,7 +1960,7 @@ export default { function quux ({num, ...extra}) { } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -1967,7 +1994,7 @@ export default { function quux ({opts: {num, ...extra}}) { } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -1996,7 +2023,7 @@ export default { // } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_015, }, }, @@ -2024,7 +2051,7 @@ export default { // } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_015, }, }, @@ -2145,7 +2172,9 @@ export default { } }; `, - parser: require.resolve('@babel/eslint-parser'), + languageOptions: { + parser: babelEslintParser, + } }, /* eslint-disable no-tabs */ { @@ -2345,7 +2374,7 @@ export default { export function testFn1 ({ prop = { a: 1, b: 2 } }) { } `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -2406,7 +2435,9 @@ export default { */ export function myPublicFunction(foo: number, bar: number, baz: number) {} `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2421,7 +2452,7 @@ export default { firstFloor = true, verbose = false, ): void {} - `, + `, errors: [ { message: 'Missing JSDoc @param "verbose" declaration.', @@ -2448,8 +2479,10 @@ export default { firstFloor = true, verbose = false, ): void {} - `, - parser: require.resolve('@typescript-eslint/parser'), + `, + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2495,7 +2528,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, ], valid: [ @@ -3062,7 +3097,9 @@ export default { /** @const {boolean} test */ const test = something?.find(_ => _) `, - parser: require.resolve('@babel/eslint-parser'), + languageOptions: { + parser: babelEslintParser, + } }, { code: ` @@ -3111,8 +3148,8 @@ export default { constructor(private property: string) {} } `, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -3160,7 +3197,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3198,7 +3237,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3253,7 +3294,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3276,7 +3319,7 @@ export default { function quux ({num, ...extra}) { } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -3295,7 +3338,7 @@ export default { enableRestElementFixer: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_015, }, }, @@ -3313,7 +3356,7 @@ export default { enableRestElementFixer: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_015, }, }, @@ -3356,7 +3399,9 @@ export default { } } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3484,7 +3529,7 @@ export default { useDefaultObjectProperties: false, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -3510,7 +3555,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3542,7 +3589,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3556,7 +3605,9 @@ export default { return bar; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -3569,7 +3620,9 @@ export default { return bar; } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/requireReturns.js b/test/rules/assertions/requireReturns.js index 5388bbfd7..b5ca25de9 100644 --- a/test/rules/assertions/requireReturns.js +++ b/test/rules/assertions/requireReturns.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -155,7 +157,7 @@ export default { forceRequireReturn: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -177,7 +179,7 @@ export default { forceRequireReturn: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -199,7 +201,7 @@ export default { forceRequireReturn: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -221,7 +223,7 @@ export default { forceRequireReturn: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -347,7 +349,7 @@ export default { forceReturnsWithAsync: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -479,7 +481,7 @@ export default { forceReturnsWithAsync: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -503,7 +505,7 @@ export default { forceReturnsWithAsync: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -527,7 +529,7 @@ export default { checkGetters: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -805,6 +807,9 @@ export default { message: 'Missing JSDoc @returns declaration.', }, ], + languageOptions: { + sourceType: 'script' + } }, { code: ` @@ -1175,7 +1180,7 @@ export default { }, ], ignoreReadme: true, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1337,7 +1342,7 @@ export default { }, ], ignoreReadme: true, - parserOptions: { + languageOptions: { ecmaVersion: 2_020, }, }, @@ -1397,7 +1402,7 @@ export default { }, ], ignoreReadme: true, - parserOptions: { + languageOptions: { ecmaVersion: 2_020, }, }, @@ -1429,7 +1434,9 @@ export default { }, ], ignoreReadme: true, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1457,7 +1464,9 @@ export default { }, ], ignoreReadme: true, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1527,7 +1536,7 @@ export default { }, ], ignoreReadme: true, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1572,7 +1581,7 @@ export default { forceReturnsWithAsync: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1596,7 +1605,7 @@ export default { forceReturnsWithAsync: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1668,7 +1677,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1684,7 +1695,9 @@ export default { message: 'Missing JSDoc @returns declaration.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1701,7 +1714,9 @@ export default { message: 'Missing JSDoc @returns declaration.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1716,7 +1731,9 @@ export default { message: 'Missing JSDoc @returns declaration.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1736,7 +1753,9 @@ export default { forceRequireReturn: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1756,7 +1775,9 @@ export default { forceRequireReturn: true, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1773,7 +1794,7 @@ export default { message: 'Missing JSDoc @returns declaration.', }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1792,7 +1813,7 @@ export default { message: 'Missing JSDoc @returns declaration.', }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, sourceType: 'module', }, @@ -1828,7 +1849,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1875,7 +1898,7 @@ export default { publicOnly: true, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1903,7 +1926,7 @@ export default { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1930,7 +1953,7 @@ export default { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1957,7 +1980,7 @@ export default { }, }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -2315,7 +2338,7 @@ export default { forceRequireReturn: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2332,7 +2355,7 @@ export default { forceReturnsWithAsync: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2343,7 +2366,7 @@ export default { */ async function quux () {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2354,7 +2377,7 @@ export default { */ const quux = async function () {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2365,7 +2388,7 @@ export default { */ const quux = async () => {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2382,7 +2405,7 @@ export default { export default foo; `, - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -2426,7 +2449,7 @@ export default { return; } `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2551,7 +2574,7 @@ export default { checkGetters: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2569,7 +2592,7 @@ export default { checkGetters: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2587,7 +2610,7 @@ export default { checkGetters: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2772,7 +2795,7 @@ export default { return new Promise(resolve => resolve()); } `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -2795,7 +2818,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2805,7 +2830,9 @@ export default { export const sleep = (ms: number) => new Promise((res) => setTimeout(res, ms)); `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2816,7 +2843,9 @@ export default { return new Promise((res) => setTimeout(res, ms)); }; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2827,7 +2856,9 @@ export default { */ export function readFixture(path: string): Promise; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2838,7 +2869,9 @@ export default { */ export function readFixture(path: string): void; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2847,7 +2880,9 @@ export default { */ export function readFixture(path: string): void; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2856,7 +2891,9 @@ export default { */ export function readFixture(path: string); `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -2883,7 +2920,9 @@ export default { ], }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/requireReturnsCheck.js b/test/rules/assertions/requireReturnsCheck.js index 3a8f5df9b..91d313e59 100755 --- a/test/rules/assertions/requireReturnsCheck.js +++ b/test/rules/assertions/requireReturnsCheck.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -170,7 +172,7 @@ export default { exemptAsync: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -187,7 +189,7 @@ export default { message: 'JSDoc @returns declaration present but return expression not available in function.', }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, settings: { @@ -214,7 +216,7 @@ export default { exemptGenerators: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, settings: { @@ -290,7 +292,7 @@ export default { exemptAsync: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -316,7 +318,7 @@ export default { reportMissingReturnForUndefinedTypes: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -389,7 +391,9 @@ export default { message: 'JSDoc @returns declaration present but return expression not available in function.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -409,7 +413,9 @@ export default { message: 'JSDoc @returns declaration present but return expression not available in function.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -450,7 +456,9 @@ export default { message: 'JSDoc @returns declaration present but return expression not available in function.', }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -752,7 +760,7 @@ export default { */ async function quux() {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -763,7 +771,7 @@ export default { */ const quux = async function () {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -774,7 +782,7 @@ export default { */ const quux = async () => {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1106,6 +1114,9 @@ export default { } } `, + languageOptions: { + sourceType: 'script' + } }, { code: ` @@ -1131,7 +1142,7 @@ export default { return 5; } `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1149,7 +1160,7 @@ export default { exemptAsync: false, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1187,7 +1198,7 @@ export default { reportMissingReturnForUndefinedTypes: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -1228,7 +1239,7 @@ export default { */ function * quux() {} `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, settings: { @@ -1249,7 +1260,7 @@ export default { exemptGenerators: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, settings: { @@ -1281,7 +1292,9 @@ export default { */ export function readFixture(path: string): Promise; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1295,7 +1308,9 @@ export default { */ export function readFixture(path: string): Promise; `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1311,7 +1326,9 @@ export default { return new Promise(() => {}); } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1325,7 +1342,9 @@ export default { */ export function readFixture(path: string); `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1540,7 +1559,9 @@ export default { interface I {} } `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` diff --git a/test/rules/assertions/requireThrows.js b/test/rules/assertions/requireThrows.js index 34944f33e..7164d49a4 100644 --- a/test/rules/assertions/requireThrows.js +++ b/test/rules/assertions/requireThrows.js @@ -192,6 +192,9 @@ export default { message: 'Missing JSDoc @throws declaration.', }, ], + languageOptions: { + sourceType: 'script' + }, }, { code: ` @@ -454,7 +457,7 @@ export default { throw Error("bar"); } `, - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, diff --git a/test/rules/assertions/requireYields.js b/test/rules/assertions/requireYields.js index d389eec79..998ba5156 100644 --- a/test/rules/assertions/requireYields.js +++ b/test/rules/assertions/requireYields.js @@ -238,7 +238,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -262,7 +262,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 8, }, }, @@ -286,7 +286,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -310,7 +310,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -466,7 +466,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -490,7 +490,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -535,7 +535,7 @@ export default { message: 'Missing JSDoc @yields declaration.', }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -559,7 +559,7 @@ export default { withGeneratorTag: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -584,7 +584,7 @@ export default { nextWithGeneratorTag: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -911,6 +911,9 @@ export default { message: 'Missing JSDoc @yields declaration.', }, ], + languageOptions: { + sourceType: 'script' + } }, { code: ` @@ -1216,7 +1219,7 @@ export default { }, ], ignoreReadme: true, - parserOptions: { + languageOptions: { ecmaVersion: 2_020, }, }, @@ -1270,7 +1273,7 @@ export default { }, ], ignoreReadme: true, - parserOptions: { + languageOptions: { ecmaVersion: 2_020, }, }, @@ -1297,7 +1300,7 @@ export default { ], }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1326,7 +1329,7 @@ export default { ], }, ], - parserOptions: { + languageOptions: { sourceType: 'module', }, }, @@ -1623,7 +1626,7 @@ export default { forceRequireYields: true, }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -1634,7 +1637,7 @@ export default { */ async function * quux () {} `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -1645,7 +1648,7 @@ export default { */ const quux = async function * () {} `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -1675,7 +1678,7 @@ export default { yield; } `, - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, diff --git a/test/rules/assertions/requireYieldsCheck.js b/test/rules/assertions/requireYieldsCheck.js index b9ca7a6cf..72749aeb6 100644 --- a/test/rules/assertions/requireYieldsCheck.js +++ b/test/rules/assertions/requireYieldsCheck.js @@ -290,7 +290,7 @@ export default { message: 'JSDoc @yields declaration present but yield expression not available in function.', }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -307,7 +307,7 @@ export default { message: 'JSDoc @yields declaration present but yield expression not available in function.', }, ], - parserOptions: { + languageOptions: { ecmaVersion: 2_018, }, }, @@ -724,6 +724,9 @@ export default { } } `, + languageOptions: { + sourceType: 'script' + } }, { code: ` diff --git a/test/rules/assertions/tagLines.js b/test/rules/assertions/tagLines.js index 15b732974..c8aff20b4 100644 --- a/test/rules/assertions/tagLines.js +++ b/test/rules/assertions/tagLines.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -1155,7 +1157,9 @@ export default { startLines: 1, }, ], - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, ], }; diff --git a/test/rules/assertions/validTypes.js b/test/rules/assertions/validTypes.js index fe605976b..c201e9486 100644 --- a/test/rules/assertions/validTypes.js +++ b/test/rules/assertions/validTypes.js @@ -1,3 +1,5 @@ +import * as typescriptEslintParser from '@typescript-eslint/parser'; + export default { invalid: [ { @@ -1480,7 +1482,9 @@ export default { */ function foo(bar) {} `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1659,7 +1663,9 @@ export default { */ type ComplicatedType = never `, - parser: require.resolve('@typescript-eslint/parser'), + languageOptions: { + parser: typescriptEslintParser + }, }, { code: ` @@ -1683,8 +1689,8 @@ export default { } `, ignoreReadme: true, - parser: require.resolve('@typescript-eslint/parser'), - parserOptions: { + languageOptions: { + parser: typescriptEslintParser, sourceType: 'module', }, }, @@ -1773,7 +1779,7 @@ export default { } `, ignoreReadme: true, - parserOptions: { + languageOptions: { ecmaVersion: 2_017, }, }, diff --git a/test/rules/data/.eslintrc.json b/test/rules/data/.eslintrc.json deleted file mode 100644 index 400140f30..000000000 --- a/test/rules/data/.eslintrc.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "root": true, - "parserOptions": { - "ecmaVersion": 8 - }, - "overrides": [{ - "files": ["*.md"], - "parser": "@babel/eslint-parser" - }], - "rules": { - "semi": ["error", "always"], - "id-length": [ - 1, - { - "exceptions": [ - "_" - ], - "min": 2 - } - ] - } -} diff --git a/test/rules/data/eslint.config.mjs b/test/rules/data/eslint.config.mjs new file mode 100644 index 000000000..37b5ae603 --- /dev/null +++ b/test/rules/data/eslint.config.mjs @@ -0,0 +1,26 @@ +import babelEslintParser from '@babel/eslint-parser'; + +export default [{ + files: ['*.md'], + languageOptions: { + parser: babelEslintParser + } +}, { + languageOptions: { + parserOptions: { + ecmaVersion: 8 + } + }, + rules: { + semi: ['error', 'always'], + 'id-length': [ + 1, + { + exceptions: [ + '_' + ], + min: 2 + } + ] + } +}]; diff --git a/test/rules/index.js b/test/rules/index.js index ce84976ea..54599466b 100644 --- a/test/rules/index.js +++ b/test/rules/index.js @@ -44,7 +44,7 @@ const main = async () => { config.rules[ruleName] ); - const parserOptions = { + const languageOptions = { ecmaVersion: 6, }; @@ -82,7 +82,7 @@ const main = async () => { let count = 0; assertions.invalid = assertions.invalid.map((assertion) => { Reflect.deleteProperty(assertion, 'ignoreReadme'); - assertion.parserOptions = defaultsDeep(assertion.parserOptions, parserOptions); + assertion.languageOptions = defaultsDeep(assertion.languageOptions, languageOptions); for (const error of /** @type {import('eslint').RuleTester.TestCaseError[]} */ ( assertion.errors || [] )) { @@ -122,7 +122,7 @@ const main = async () => { throw new Error(`Valid assertions for rule ${ruleName} should not have an \`output\` property.`); } - assertion.parserOptions = defaultsDeep(assertion.parserOptions, parserOptions); + assertion.languageOptions = defaultsDeep(assertion.languageOptions, languageOptions); return assertion; }); diff --git a/tsconfig-prod.json b/tsconfig-prod.json index ff919479f..18f0ee592 100644 --- a/tsconfig-prod.json +++ b/tsconfig-prod.json @@ -10,6 +10,7 @@ "declaration": true, "declarationMap": true, "strict": true, + "skipLibCheck": true, "target": "es2017", "outDir": "dist" }, diff --git a/tsconfig.json b/tsconfig.json index a939edb7d..7a3d8d669 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "declaration": true, "declarationMap": true, "strict": true, + "skipLibCheck": true, "target": "es2017", "outDir": "dist" },