diff --git a/.github/actions/setup-swift/action.yml b/.github/actions/setup-swift/action.yml index 4721b10a8d..f1b374487f 100644 --- a/.github/actions/setup-swift/action.yml +++ b/.github/actions/setup-swift/action.yml @@ -31,7 +31,7 @@ runs: fi echo "version=$VERSION" | tee -a $GITHUB_OUTPUT - - uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf # Please update the corresponding SHA in the CLI's CodeQL Action Integration Test. + - uses: swift-actions/setup-swift@cdcbe8e35d3801acd82d7109285e6ab22c9212c2 # Please update the corresponding SHA in the CLI's CodeQL Action Integration Test. if: runner.os == 'Linux' && steps.get_swift_version.outputs.version != 'null' with: swift-version: "${{ steps.get_swift_version.outputs.version }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ff1285267..0f5b6c1e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,9 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] -- Fixed a bug in CodeQL Action 2.21.3 onwards that affected beta support for [Project Lombok](https://projectlombok.org/) when analyzing Java. The environment variable `CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS` will now be respected if it was manually configured in the workflow. [#1844](https://github.com/github/codeql-action/pull/1844) - Update default CodeQL bundle version to 2.14.3. [#1845](https://github.com/github/codeql-action/pull/1845) +- Fixed a bug in CodeQL Action 2.21.3 onwards that affected beta support for [Project Lombok](https://projectlombok.org/) when analyzing Java. The environment variable `CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS` will now be respected if it was manually configured in the workflow. [#1844](https://github.com/github/codeql-action/pull/1844) +- Enable support for Kotlin 1.9.20 when running with CodeQL CLI v2.13.4 through v2.14.3. [#1853](https://github.com/github/codeql-action/pull/1853) ## 2.21.4 - 14 Aug 2023 diff --git a/README.md b/README.md index d0b1ce801e..781f2aa192 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ The underlying CodeQL CLI, used in this action, is licensed under the [GitHub Co ## Usage -We recommend using default setup to configure CodeQL analysis for your repository. For more information, see "[Configuring default setup for code scanning](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-default-setup-for-code-scanning)." +We recommend using default setup to configure CodeQL analysis for your repository. For more information, see "[Configuring default setup for code scanning](https://docs.github.com/en/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning)." -You can also configure advanced setup for a repository to find security vulnerabilities in your code using a highly customizable code scanning configuration. For more information, see "[Configuring advanced setup for code scanning](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-advanced-setup-for-code-scanning)" and "[Customizing code scanning](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning)." +You can also configure advanced setup for a repository to find security vulnerabilities in your code using a highly customizable code scanning configuration. For more information, see "[Configuring advanced setup for code scanning](https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/configuring-advanced-setup-for-code-scanning)" and "[Customizing your advanced setup for code scanning](https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning)." ## Troubleshooting diff --git a/lib/init-action.js b/lib/init-action.js index 2d84812718..903f4cfb46 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -179,6 +179,11 @@ async function run() { if (await features.getValue(feature_flags_1.Feature.DisableKotlinAnalysisEnabled)) { core.exportVariable("CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN", "true"); } + const kotlinLimitVar = "CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT"; + if ((await (0, util_1.codeQlVersionAbove)(codeql, "2.13.4")) && + !(await (0, util_1.codeQlVersionAbove)(codeql, "2.14.4"))) { + core.exportVariable(kotlinLimitVar, "1.9.20"); + } if (config.languages.includes(languages_1.Language.java)) { const envVar = "CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS"; if (process.env[envVar]) { diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 0d8c005c81..d923a5c7b7 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AACtC,+BAAoC;AAEpC,iDAKwB;AACxB,6CAAgD;AAGhD,iDAA6D;AAC7D,+CAAuC;AACvC,mDAAoD;AACpD,iCAA4E;AAC5E,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAKyB;AACzB,iDAAmD;AACnD,iCAagB;AAChB,yCAA8C;AAgD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,uBAA2C,EAC3C,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,MAAM,EACN,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QAChD,kBAAkB,EAAE,iBAAiB,IAAI,EAAE;KAC5C,CAAC;IAEF,MAAM,uBAAuB,GAA4B,EAAE,CAAC;IAE5D,IAAI,uBAAuB,KAAK,SAAS,EAAE;QACzC,uB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MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AACtC,+BAAoC;AAEpC,iDAKwB;AACxB,6CAAgD;AAGhD,iDAA6D;AAC7D,+CAAuC;AACvC,mDAAoD;AACpD,iCAA4E;AAC5E,2CAAuC;AACvC,uCAAqD;AACrD,6CAAkD;AAClD,iDAA6C;AAC7C,mDAKyB;AACzB,iDAAmD;AACnD,iCAcgB;AAChB,yCAA8C;AAgD9C,KAAK,UAAU,yBAAyB,CACtC,SAAe,EACf,MAAsC,EACtC,uBAA2C,EAC3C,sBAA2C,EAC3C,WAAwB,EACxB,YAAoB,EACpB,MAAc,EACd,KAAa;IAEb,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,MAAM,EACN,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,IAAA,qBAAc,EAAC,MAAM,CAAC,EAC5B,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,KAAK,CACb,CAAC;IAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAgB,EAAC,WAAW,CAAC,CAAC;IAExD,MAAM,gBAAgB,GAAqB;QACzC,GAAG,gBAAgB;QACnB,WAAW,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC,IAAI,EAAE;QAC5C,sBAAsB,EAAE,YAAY;QACpC,YAAY,EAAE,WAAW,IAAI,0BAAW,CAAC,OAAO;QAChD,kBAAkB,EAAE,iBAAiB,IAAI,EAAE;KAC5C,CAAC;IAEF,MAAM,uBAAuB,GAA4B,EAAE,CAAC;IAE5D,IAAI,uBAAuB,KAAK,SAAS,EAAE;QACzC,uBAAuB,CAAC,0BAA0B;YAChD,uBAAuB,CAAC;KAC3B;IACD,IAAI,sBAAs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ED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;KACnE;IACD,MAAM,IAAA,sBAAe,GAAE,CAAC;AAC1B,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index b326abce58..c13f59b9a9 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -41,6 +41,14 @@ "uuid": "^3.3.3" } }, + "node_modules/@actions/cache/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/@actions/cache/node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -926,16 +934,16 @@ "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.4.0.tgz", - "integrity": "sha512-62o2Hmc7Gs3p8SLfbXcipjWAa6qk2wZGChXG2JbBtYpwSRmti/9KHLqfbLs9uDigOexG+3PaQ9G2g3201FWLKg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.4.1.tgz", + "integrity": "sha512-3F5PtBzUW0dYlq77Lcqo13fv+58KDwUib3BddilE8ajPJT+faGgxmI9Sw+I8ZS22BYwoir9ZhNXcLi+S+I2bkw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/type-utils": "6.4.0", - "@typescript-eslint/utils": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/type-utils": "6.4.1", + "@typescript-eslint/utils": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -961,15 +969,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.4.0.tgz", - "integrity": "sha512-I1Ah1irl033uxjxO9Xql7+biL3YD7w9IU8zF+xlzD/YxY6a4b7DYA08PXUUCbm2sEljwJF6ERFy2kTGAGcNilg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.4.1.tgz", + "integrity": "sha512-610G6KHymg9V7EqOaNBMtD1GgpAmGROsmfHJPXNLCU9bfIuLrkdOygltK784F6Crboyd5tBFayPB7Sf0McrQwg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/typescript-estree": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/typescript-estree": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4" }, "engines": { @@ -989,13 +997,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.4.0.tgz", - "integrity": "sha512-TUS7vaKkPWDVvl7GDNHFQMsMruD+zhkd3SdVW0d7b+7Zo+bd/hXJQ8nsiUZMi1jloWo6c9qt3B7Sqo+flC1nig==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.4.1.tgz", + "integrity": "sha512-p/OavqOQfm4/Hdrr7kvacOSFjwQ2rrDVJRPxt/o0TOWdFnjJptnjnZ+sYDR7fi4OimvIuKp+2LCkc+rt9fIW+A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0" + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1006,13 +1014,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.4.0.tgz", - "integrity": "sha512-TvqrUFFyGY0cX3WgDHcdl2/mMCWCDv/0thTtx/ODMY1QhEiyFtv/OlLaNIiYLwRpAxAtOLOY9SUf1H3Q3dlwAg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.4.1.tgz", + "integrity": "sha512-7ON8M8NXh73SGZ5XvIqWHjgX2f+vvaOarNliGhjrJnv1vdjG0LVIz+ToYfPirOoBi56jxAKLfsLm40+RvxVVXA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.4.0", - "@typescript-eslint/utils": "6.4.0", + "@typescript-eslint/typescript-estree": "6.4.1", + "@typescript-eslint/utils": "6.4.1", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1033,9 +1041,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.4.0.tgz", - "integrity": "sha512-+FV9kVFrS7w78YtzkIsNSoYsnOtrYVnKWSTVXoL1761CsCRv5wpDOINgsXpxD67YCLZtVQekDDyaxfjVWUJmmg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.4.1.tgz", + "integrity": "sha512-zAAopbNuYu++ijY1GV2ylCsQsi3B8QvfPHVqhGdDcbx/NK5lkqMnCGU53amAjccSpk+LfeONxwzUhDzArSfZJg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1046,13 +1054,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.4.0.tgz", - "integrity": "sha512-iDPJArf/K2sxvjOR6skeUCNgHR/tCQXBsa+ee1/clRKr3olZjZ/dSkXPZjG6YkPtnW6p5D1egeEPMCW6Gn4yLA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.4.1.tgz", + "integrity": "sha512-xF6Y7SatVE/OyV93h1xGgfOkHr2iXuo8ip0gbfzaKeGGuKiAnzS+HtVhSPx8Www243bwlW8IF7X0/B62SzFftg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1073,17 +1081,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.4.0.tgz", - "integrity": "sha512-BvvwryBQpECPGo8PwF/y/q+yacg8Hn/2XS+DqL/oRsOPK+RPt29h5Ui5dqOKHDlbXrAeHUTnyG3wZA0KTDxRZw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.4.1.tgz", + "integrity": "sha512-F/6r2RieNeorU0zhqZNv89s9bDZSovv3bZQpUNOmmQK1L80/cV4KEu95YUJWi75u5PhboFoKUJBnZ4FQcoqhDw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/typescript-estree": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/typescript-estree": "6.4.1", "semver": "^7.5.4" }, "engines": { @@ -1098,12 +1106,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.4.0.tgz", - "integrity": "sha512-yJSfyT+uJm+JRDWYRYdCm2i+pmvXJSMtPR9Cq5/XQs4QIgNoLcoRtDdzsLbLsFM/c6um6ohQkg/MLxWvoIndJA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.4.1.tgz", + "integrity": "sha512-y/TyRJsbZPkJIZQXrHfdnxVnxyKegnpEvnRGNam7s3TRR2ykGefEWOhaef00/UUN3IZxizS7BTO3svd3lCOJRQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.4.0", + "@typescript-eslint/types": "6.4.1", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -2678,9 +2686,9 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz", - "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==", + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz", + "integrity": "sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==", "dev": true, "dependencies": { "array-includes": "^3.1.6", @@ -2692,13 +2700,12 @@ "eslint-import-resolver-node": "^0.3.7", "eslint-module-utils": "^2.8.0", "has": "^1.0.3", - "is-core-module": "^2.12.1", + "is-core-module": "^2.13.0", "is-glob": "^4.0.3", "minimatch": "^3.1.2", "object.fromentries": "^2.0.6", "object.groupby": "^1.0.0", "object.values": "^1.1.6", - "resolve": "^1.22.3", "semver": "^6.3.1", "tsconfig-paths": "^3.14.2" }, @@ -3761,9 +3768,9 @@ } }, "node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -4475,9 +4482,9 @@ } }, "node_modules/nock": { - "version": "13.3.2", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.2.tgz", - "integrity": "sha512-CwbljitiWJhF1gL83NbanhoKs1l23TDlRioNraPTZrzZIEooPemrHRj5m0FZCPkB1ecdYCSWWGcHysJgX/ngnQ==", + "version": "13.3.3", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.3.tgz", + "integrity": "sha512-z+KUlILy9SK/RjpeXDiDUEAq4T94ADPHE3qaRkf66mpEhzc/ytOMm3Bwdrbq6k1tMWkbdujiKim3G2tfQARuJw==", "dev": true, "dependencies": { "debug": "^4.1.0", diff --git a/node_modules/@actions/cache/node_modules/.bin/semver b/node_modules/@actions/cache/node_modules/.bin/semver new file mode 120000 index 0000000000..5aaadf42c4 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/.bin/semver @@ -0,0 +1 @@ +../semver/bin/semver.js \ No newline at end of file diff --git a/node_modules/@actions/cache/node_modules/semver/LICENSE b/node_modules/@actions/cache/node_modules/semver/LICENSE new file mode 100644 index 0000000000..19129e315f --- /dev/null +++ b/node_modules/@actions/cache/node_modules/semver/LICENSE @@ -0,0 +1,15 @@ +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/@actions/cache/node_modules/semver/README.md b/node_modules/@actions/cache/node_modules/semver/README.md new file mode 100644 index 0000000000..2293a14fdc --- /dev/null +++ b/node_modules/@actions/cache/node_modules/semver/README.md @@ -0,0 +1,443 @@ +semver(1) -- The semantic versioner for npm +=========================================== + +## Install + +```bash +npm install semver +```` + +## Usage + +As a node module: + +```js +const semver = require('semver') + +semver.valid('1.2.3') // '1.2.3' +semver.valid('a.b.c') // null +semver.clean(' =v1.2.3 ') // '1.2.3' +semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true +semver.gt('1.2.3', '9.8.7') // false +semver.lt('1.2.3', '9.8.7') // true +semver.minVersion('>=1.0.0') // '1.0.0' +semver.valid(semver.coerce('v2')) // '2.0.0' +semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7' +``` + +As a command-line utility: + +``` +$ semver -h + +A JavaScript implementation of the https://semver.org/ specification +Copyright Isaac Z. Schlueter + +Usage: semver [options] [ [...]] +Prints valid versions sorted by SemVer precedence + +Options: +-r --range + Print versions that match the specified range. + +-i --increment [] + Increment a version by the specified level. Level can + be one of: major, minor, patch, premajor, preminor, + prepatch, or prerelease. Default level is 'patch'. + Only one version may be specified. + +--preid + Identifier to be used to prefix premajor, preminor, + prepatch or prerelease version increments. + +-l --loose + Interpret versions and ranges loosely + +-p --include-prerelease + Always include prerelease versions in range matching + +-c --coerce + Coerce a string into SemVer if possible + (does not imply --loose) + +--rtl + Coerce version strings right to left + +--ltr + Coerce version strings left to right (default) + +Program exits successfully if any valid version satisfies +all supplied ranges, and prints all satisfying versions. + +If no satisfying versions are found, then exits failure. + +Versions are printed in ascending order, so supplying +multiple versions to the utility will just sort them. +``` + +## Versions + +A "version" is described by the `v2.0.0` specification found at +. + +A leading `"="` or `"v"` character is stripped off and ignored. + +## Ranges + +A `version range` is a set of `comparators` which specify versions +that satisfy the range. + +A `comparator` is composed of an `operator` and a `version`. The set +of primitive `operators` is: + +* `<` Less than +* `<=` Less than or equal to +* `>` Greater than +* `>=` Greater than or equal to +* `=` Equal. If no operator is specified, then equality is assumed, + so this operator is optional, but MAY be included. + +For example, the comparator `>=1.2.7` would match the versions +`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6` +or `1.1.0`. + +Comparators can be joined by whitespace to form a `comparator set`, +which is satisfied by the **intersection** of all of the comparators +it includes. + +A range is composed of one or more comparator sets, joined by `||`. A +version matches a range if and only if every comparator in at least +one of the `||`-separated comparator sets is satisfied by the version. + +For example, the range `>=1.2.7 <1.3.0` would match the versions +`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`, +or `1.1.0`. + +The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`, +`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`. + +### Prerelease Tags + +If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then +it will only be allowed to satisfy comparator sets if at least one +comparator with the same `[major, minor, patch]` tuple also has a +prerelease tag. + +For example, the range `>1.2.3-alpha.3` would be allowed to match the +version `1.2.3-alpha.7`, but it would *not* be satisfied by +`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater +than" `1.2.3-alpha.3` according to the SemVer sort rules. The version +range only accepts prerelease tags on the `1.2.3` version. The +version `3.4.5` *would* satisfy the range, because it does not have a +prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`. + +The purpose for this behavior is twofold. First, prerelease versions +frequently are updated very quickly, and contain many breaking changes +that are (by the author's design) not yet fit for public consumption. +Therefore, by default, they are excluded from range matching +semantics. + +Second, a user who has opted into using a prerelease version has +clearly indicated the intent to use *that specific* set of +alpha/beta/rc versions. By including a prerelease tag in the range, +the user is indicating that they are aware of the risk. However, it +is still not appropriate to assume that they have opted into taking a +similar risk on the *next* set of prerelease versions. + +Note that this behavior can be suppressed (treating all prerelease +versions as if they were normal versions, for the purpose of range +matching) by setting the `includePrerelease` flag on the options +object to any +[functions](https://github.com/npm/node-semver#functions) that do +range matching. + +#### Prerelease Identifiers + +The method `.inc` takes an additional `identifier` string argument that +will append the value of the string as a prerelease identifier: + +```javascript +semver.inc('1.2.3', 'prerelease', 'beta') +// '1.2.4-beta.0' +``` + +command-line example: + +```bash +$ semver 1.2.3 -i prerelease --preid beta +1.2.4-beta.0 +``` + +Which then can be used to increment further: + +```bash +$ semver 1.2.4-beta.0 -i prerelease +1.2.4-beta.1 +``` + +### Advanced Range Syntax + +Advanced range syntax desugars to primitive comparators in +deterministic ways. + +Advanced ranges may be combined in the same way as primitive +comparators using white space or `||`. + +#### Hyphen Ranges `X.Y.Z - A.B.C` + +Specifies an inclusive set. + +* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4` + +If a partial version is provided as the first version in the inclusive +range, then the missing pieces are replaced with zeroes. + +* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4` + +If a partial version is provided as the second version in the +inclusive range, then all versions that start with the supplied parts +of the tuple are accepted, but nothing that would be greater than the +provided tuple parts. + +* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0` +* `1.2.3 - 2` := `>=1.2.3 <3.0.0` + +#### X-Ranges `1.2.x` `1.X` `1.2.*` `*` + +Any of `X`, `x`, or `*` may be used to "stand in" for one of the +numeric values in the `[major, minor, patch]` tuple. + +* `*` := `>=0.0.0` (Any version satisfies) +* `1.x` := `>=1.0.0 <2.0.0` (Matching major version) +* `1.2.x` := `>=1.2.0 <1.3.0` (Matching major and minor versions) + +A partial version range is treated as an X-Range, so the special +character is in fact optional. + +* `""` (empty string) := `*` := `>=0.0.0` +* `1` := `1.x.x` := `>=1.0.0 <2.0.0` +* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0` + +#### Tilde Ranges `~1.2.3` `~1.2` `~1` + +Allows patch-level changes if a minor version is specified on the +comparator. Allows minor-level changes if not. + +* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0` +* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0` (Same as `1.2.x`) +* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0` (Same as `1.x`) +* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0` +* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0` (Same as `0.2.x`) +* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0` (Same as `0.x`) +* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0` Note that prereleases in + the `1.2.3` version will be allowed, if they are greater than or + equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but + `1.2.4-beta.2` would not, because it is a prerelease of a + different `[major, minor, patch]` tuple. + +#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4` + +Allows changes that do not modify the left-most non-zero element in the +`[major, minor, patch]` tuple. In other words, this allows patch and +minor updates for versions `1.0.0` and above, patch updates for +versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`. + +Many authors treat a `0.x` version as if the `x` were the major +"breaking-change" indicator. + +Caret ranges are ideal when an author may make breaking changes +between `0.2.4` and `0.3.0` releases, which is a common practice. +However, it presumes that there will *not* be breaking changes between +`0.2.4` and `0.2.5`. It allows for changes that are presumed to be +additive (but non-breaking), according to commonly observed practices. + +* `^1.2.3` := `>=1.2.3 <2.0.0` +* `^0.2.3` := `>=0.2.3 <0.3.0` +* `^0.0.3` := `>=0.0.3 <0.0.4` +* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0` Note that prereleases in + the `1.2.3` version will be allowed, if they are greater than or + equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but + `1.2.4-beta.2` would not, because it is a prerelease of a + different `[major, minor, patch]` tuple. +* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4` Note that prereleases in the + `0.0.3` version *only* will be allowed, if they are greater than or + equal to `beta`. So, `0.0.3-pr.2` would be allowed. + +When parsing caret ranges, a missing `patch` value desugars to the +number `0`, but will allow flexibility within that value, even if the +major and minor versions are both `0`. + +* `^1.2.x` := `>=1.2.0 <2.0.0` +* `^0.0.x` := `>=0.0.0 <0.1.0` +* `^0.0` := `>=0.0.0 <0.1.0` + +A missing `minor` and `patch` values will desugar to zero, but also +allow flexibility within those values, even if the major version is +zero. + +* `^1.x` := `>=1.0.0 <2.0.0` +* `^0.x` := `>=0.0.0 <1.0.0` + +### Range Grammar + +Putting all this together, here is a Backus-Naur grammar for ranges, +for the benefit of parser authors: + +```bnf +range-set ::= range ( logical-or range ) * +logical-or ::= ( ' ' ) * '||' ( ' ' ) * +range ::= hyphen | simple ( ' ' simple ) * | '' +hyphen ::= partial ' - ' partial +simple ::= primitive | partial | tilde | caret +primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial +partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? +xr ::= 'x' | 'X' | '*' | nr +nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) * +tilde ::= '~' partial +caret ::= '^' partial +qualifier ::= ( '-' pre )? ( '+' build )? +pre ::= parts +build ::= parts +parts ::= part ( '.' part ) * +part ::= nr | [-0-9A-Za-z]+ +``` + +## Functions + +All methods and classes take a final `options` object argument. All +options in this object are `false` by default. The options supported +are: + +- `loose` Be more forgiving about not-quite-valid semver strings. + (Any resulting output will always be 100% strict compliant, of + course.) For backwards compatibility reasons, if the `options` + argument is a boolean value instead of an object, it is interpreted + to be the `loose` param. +- `includePrerelease` Set to suppress the [default + behavior](https://github.com/npm/node-semver#prerelease-tags) of + excluding prerelease tagged versions from ranges unless they are + explicitly opted into. + +Strict-mode Comparators and Ranges will be strict about the SemVer +strings that they parse. + +* `valid(v)`: Return the parsed version, or null if it's not valid. +* `inc(v, release)`: Return the version incremented by the release + type (`major`, `premajor`, `minor`, `preminor`, `patch`, + `prepatch`, or `prerelease`), or null if it's not valid + * `premajor` in one call will bump the version up to the next major + version and down to a prerelease of that major version. + `preminor`, and `prepatch` work the same way. + * If called from a non-prerelease version, the `prerelease` will work the + same as `prepatch`. It increments the patch version, then makes a + prerelease. If the input version is already a prerelease it simply + increments it. +* `prerelease(v)`: Returns an array of prerelease components, or null + if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]` +* `major(v)`: Return the major version number. +* `minor(v)`: Return the minor version number. +* `patch(v)`: Return the patch version number. +* `intersects(r1, r2, loose)`: Return true if the two supplied ranges + or comparators intersect. +* `parse(v)`: Attempt to parse a string as a semantic version, returning either + a `SemVer` object or `null`. + +### Comparison + +* `gt(v1, v2)`: `v1 > v2` +* `gte(v1, v2)`: `v1 >= v2` +* `lt(v1, v2)`: `v1 < v2` +* `lte(v1, v2)`: `v1 <= v2` +* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent, + even if they're not the exact same string. You already know how to + compare strings. +* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`. +* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call + the corresponding function above. `"==="` and `"!=="` do simple + string comparison, but are included for completeness. Throws if an + invalid comparison string is provided. +* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if + `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. +* `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions + in descending order when passed to `Array.sort()`. +* `compareBuild(v1, v2)`: The same as `compare` but considers `build` when two versions + are equal. Sorts in ascending order if passed to `Array.sort()`. + `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. +* `diff(v1, v2)`: Returns difference between two versions by the release type + (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), + or null if the versions are the same. + +### Comparators + +* `intersects(comparator)`: Return true if the comparators intersect + +### Ranges + +* `validRange(range)`: Return the valid range or null if it's not valid +* `satisfies(version, range)`: Return true if the version satisfies the + range. +* `maxSatisfying(versions, range)`: Return the highest version in the list + that satisfies the range, or `null` if none of them do. +* `minSatisfying(versions, range)`: Return the lowest version in the list + that satisfies the range, or `null` if none of them do. +* `minVersion(range)`: Return the lowest version that can possibly match + the given range. +* `gtr(version, range)`: Return `true` if version is greater than all the + versions possible in the range. +* `ltr(version, range)`: Return `true` if version is less than all the + versions possible in the range. +* `outside(version, range, hilo)`: Return true if the version is outside + the bounds of the range in either the high or low direction. The + `hilo` argument must be either the string `'>'` or `'<'`. (This is + the function called by `gtr` and `ltr`.) +* `intersects(range)`: Return true if any of the ranges comparators intersect + +Note that, since ranges may be non-contiguous, a version might not be +greater than a range, less than a range, *or* satisfy a range! For +example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9` +until `2.0.0`, so the version `1.2.10` would not be greater than the +range (because `2.0.1` satisfies, which is higher), nor less than the +range (since `1.2.8` satisfies, which is lower), and it also does not +satisfy the range. + +If you want to know if a version satisfies or does not satisfy a +range, use the `satisfies(version, range)` function. + +### Coercion + +* `coerce(version, options)`: Coerces a string to semver if possible + +This aims to provide a very forgiving translation of a non-semver string to +semver. It looks for the first digit in a string, and consumes all +remaining characters which satisfy at least a partial semver (e.g., `1`, +`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer +versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All +surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes +`3.4.0`). Only text which lacks digits will fail coercion (`version one` +is not valid). The maximum length for any semver component considered for +coercion is 16 characters; longer components will be ignored +(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any +semver component is `Integer.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value +components are invalid (`9999999999999999.4.7.4` is likely invalid). + +If the `options.rtl` flag is set, then `coerce` will return the right-most +coercible tuple that does not share an ending index with a longer coercible +tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not +`4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of +any other overlapping SemVer tuple. + +### Clean + +* `clean(version)`: Clean a string to be a valid semver if possible + +This will return a cleaned and trimmed semver version. If the provided version is not valid a null will be returned. This does not work for ranges. + +ex. +* `s.clean(' = v 2.1.5foo')`: `null` +* `s.clean(' = v 2.1.5foo', { loose: true })`: `'2.1.5-foo'` +* `s.clean(' = v 2.1.5-foo')`: `null` +* `s.clean(' = v 2.1.5-foo', { loose: true })`: `'2.1.5-foo'` +* `s.clean('=v2.1.5')`: `'2.1.5'` +* `s.clean(' =v2.1.5')`: `2.1.5` +* `s.clean(' 2.1.5 ')`: `'2.1.5'` +* `s.clean('~1.0.0')`: `null` diff --git a/node_modules/@actions/cache/node_modules/semver/bin/semver.js b/node_modules/@actions/cache/node_modules/semver/bin/semver.js new file mode 100755 index 0000000000..666034a75d --- /dev/null +++ b/node_modules/@actions/cache/node_modules/semver/bin/semver.js @@ -0,0 +1,174 @@ +#!/usr/bin/env node +// Standalone semver comparison program. +// Exits successfully and prints matching version(s) if +// any supplied version is valid and passes all tests. + +var argv = process.argv.slice(2) + +var versions = [] + +var range = [] + +var inc = null + +var version = require('../package.json').version + +var loose = false + +var includePrerelease = false + +var coerce = false + +var rtl = false + +var identifier + +var semver = require('../semver') + +var reverse = false + +var options = {} + +main() + +function main () { + if (!argv.length) return help() + while (argv.length) { + var a = argv.shift() + var indexOfEqualSign = a.indexOf('=') + if (indexOfEqualSign !== -1) { + a = a.slice(0, indexOfEqualSign) + argv.unshift(a.slice(indexOfEqualSign + 1)) + } + switch (a) { + case '-rv': case '-rev': case '--rev': case '--reverse': + reverse = true + break + case '-l': case '--loose': + loose = true + break + case '-p': case '--include-prerelease': + includePrerelease = true + break + case '-v': case '--version': + versions.push(argv.shift()) + break + case '-i': case '--inc': case '--increment': + switch (argv[0]) { + case 'major': case 'minor': case 'patch': case 'prerelease': + case 'premajor': case 'preminor': case 'prepatch': + inc = argv.shift() + break + default: + inc = 'patch' + break + } + break + case '--preid': + identifier = argv.shift() + break + case '-r': case '--range': + range.push(argv.shift()) + break + case '-c': case '--coerce': + coerce = true + break + case '--rtl': + rtl = true + break + case '--ltr': + rtl = false + break + case '-h': case '--help': case '-?': + return help() + default: + versions.push(a) + break + } + } + + var options = { loose: loose, includePrerelease: includePrerelease, rtl: rtl } + + versions = versions.map(function (v) { + return coerce ? (semver.coerce(v, options) || { version: v }).version : v + }).filter(function (v) { + return semver.valid(v) + }) + if (!versions.length) return fail() + if (inc && (versions.length !== 1 || range.length)) { return failInc() } + + for (var i = 0, l = range.length; i < l; i++) { + versions = versions.filter(function (v) { + return semver.satisfies(v, range[i], options) + }) + if (!versions.length) return fail() + } + return success(versions) +} + +function failInc () { + console.error('--inc can only be used on a single version with no range') + fail() +} + +function fail () { process.exit(1) } + +function success () { + var compare = reverse ? 'rcompare' : 'compare' + versions.sort(function (a, b) { + return semver[compare](a, b, options) + }).map(function (v) { + return semver.clean(v, options) + }).map(function (v) { + return inc ? semver.inc(v, inc, options, identifier) : v + }).forEach(function (v, i, _) { console.log(v) }) +} + +function help () { + console.log(['SemVer ' + version, + '', + 'A JavaScript implementation of the https://semver.org/ specification', + 'Copyright Isaac Z. Schlueter', + '', + 'Usage: semver [options] [ [...]]', + 'Prints valid versions sorted by SemVer precedence', + '', + 'Options:', + '-r --range ', + ' Print versions that match the specified range.', + '', + '-i --increment []', + ' Increment a version by the specified level. Level can', + ' be one of: major, minor, patch, premajor, preminor,', + " prepatch, or prerelease. Default level is 'patch'.", + ' Only one version may be specified.', + '', + '--preid ', + ' Identifier to be used to prefix premajor, preminor,', + ' prepatch or prerelease version increments.', + '', + '-l --loose', + ' Interpret versions and ranges loosely', + '', + '-p --include-prerelease', + ' Always include prerelease versions in range matching', + '', + '-c --coerce', + ' Coerce a string into SemVer if possible', + ' (does not imply --loose)', + '', + '--rtl', + ' Coerce version strings right to left', + '', + '--ltr', + ' Coerce version strings left to right (default)', + '', + 'Program exits successfully if any valid version satisfies', + 'all supplied ranges, and prints all satisfying versions.', + '', + 'If no satisfying versions are found, then exits failure.', + '', + 'Versions are printed in ascending order, so supplying', + 'multiple versions to the utility will just sort them.' + ].join('\n')) +} diff --git a/node_modules/@actions/cache/node_modules/semver/package.json b/node_modules/@actions/cache/node_modules/semver/package.json new file mode 100644 index 0000000000..6b970a629f --- /dev/null +++ b/node_modules/@actions/cache/node_modules/semver/package.json @@ -0,0 +1,38 @@ +{ + "name": "semver", + "version": "6.3.1", + "description": "The semantic version parser used by npm.", + "main": "semver.js", + "scripts": { + "test": "tap test/ --100 --timeout=30", + "lint": "echo linting disabled", + "postlint": "template-oss-check", + "template-oss-apply": "template-oss-apply --force", + "lintfix": "npm run lint -- --fix", + "snap": "tap test/ --100 --timeout=30", + "posttest": "npm run lint" + }, + "devDependencies": { + "@npmcli/template-oss": "4.17.0", + "tap": "^12.7.0" + }, + "license": "ISC", + "repository": { + "type": "git", + "url": "https://github.com/npm/node-semver.git" + }, + "bin": { + "semver": "./bin/semver.js" + }, + "files": [ + "bin", + "range.bnf", + "semver.js" + ], + "author": "GitHub Inc.", + "templateOSS": { + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", + "content": "./scripts/template-oss", + "version": "4.17.0" + } +} diff --git a/node_modules/@actions/cache/node_modules/semver/range.bnf b/node_modules/@actions/cache/node_modules/semver/range.bnf new file mode 100644 index 0000000000..d4c6ae0d76 --- /dev/null +++ b/node_modules/@actions/cache/node_modules/semver/range.bnf @@ -0,0 +1,16 @@ +range-set ::= range ( logical-or range ) * +logical-or ::= ( ' ' ) * '||' ( ' ' ) * +range ::= hyphen | simple ( ' ' simple ) * | '' +hyphen ::= partial ' - ' partial +simple ::= primitive | partial | tilde | caret +primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial +partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? +xr ::= 'x' | 'X' | '*' | nr +nr ::= '0' | [1-9] ( [0-9] ) * +tilde ::= '~' partial +caret ::= '^' partial +qualifier ::= ( '-' pre )? ( '+' build )? +pre ::= parts +build ::= parts +parts ::= part ( '.' part ) * +part ::= nr | [-0-9A-Za-z]+ diff --git a/node_modules/@actions/cache/node_modules/semver/semver.js b/node_modules/@actions/cache/node_modules/semver/semver.js new file mode 100644 index 0000000000..39319c13ca --- /dev/null +++ b/node_modules/@actions/cache/node_modules/semver/semver.js @@ -0,0 +1,1643 @@ +exports = module.exports = SemVer + +var debug +/* istanbul ignore next */ +if (typeof process === 'object' && + process.env && + process.env.NODE_DEBUG && + /\bsemver\b/i.test(process.env.NODE_DEBUG)) { + debug = function () { + var args = Array.prototype.slice.call(arguments, 0) + args.unshift('SEMVER') + console.log.apply(console, args) + } +} else { + debug = function () {} +} + +// Note: this is the semver.org version of the spec that it implements +// Not necessarily the package version of this code. +exports.SEMVER_SPEC_VERSION = '2.0.0' + +var MAX_LENGTH = 256 +var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || + /* istanbul ignore next */ 9007199254740991 + +// Max safe segment length for coercion. +var MAX_SAFE_COMPONENT_LENGTH = 16 + +var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6 + +// The actual regexps go on exports.re +var re = exports.re = [] +var safeRe = exports.safeRe = [] +var src = exports.src = [] +var t = exports.tokens = {} +var R = 0 + +function tok (n) { + t[n] = R++ +} + +var LETTERDASHNUMBER = '[a-zA-Z0-9-]' + +// Replace some greedy regex tokens to prevent regex dos issues. These regex are +// used internally via the safeRe object since all inputs in this library get +// normalized first to trim and collapse all extra whitespace. The original +// regexes are exported for userland consumption and lower level usage. A +// future breaking change could export the safer regex only with a note that +// all input should have extra whitespace removed. +var safeRegexReplacements = [ + ['\\s', 1], + ['\\d', MAX_LENGTH], + [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH], +] + +function makeSafeRe (value) { + for (var i = 0; i < safeRegexReplacements.length; i++) { + var token = safeRegexReplacements[i][0] + var max = safeRegexReplacements[i][1] + value = value + .split(token + '*').join(token + '{0,' + max + '}') + .split(token + '+').join(token + '{1,' + max + '}') + } + return value +} + +// The following Regular Expressions can be used for tokenizing, +// validating, and parsing SemVer version strings. + +// ## Numeric Identifier +// A single `0`, or a non-zero digit followed by zero or more digits. + +tok('NUMERICIDENTIFIER') +src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' +tok('NUMERICIDENTIFIERLOOSE') +src[t.NUMERICIDENTIFIERLOOSE] = '\\d+' + +// ## Non-numeric Identifier +// Zero or more digits, followed by a letter or hyphen, and then zero or +// more letters, digits, or hyphens. + +tok('NONNUMERICIDENTIFIER') +src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*' + +// ## Main Version +// Three dot-separated numeric identifiers. + +tok('MAINVERSION') +src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIER] + ')' + +tok('MAINVERSIONLOOSE') +src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' + +// ## Pre-release Version Identifier +// A numeric identifier, or a non-numeric identifier. + +tok('PRERELEASEIDENTIFIER') +src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + + '|' + src[t.NONNUMERICIDENTIFIER] + ')' + +tok('PRERELEASEIDENTIFIERLOOSE') +src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + + '|' + src[t.NONNUMERICIDENTIFIER] + ')' + +// ## Pre-release Version +// Hyphen, followed by one or more dot-separated pre-release version +// identifiers. + +tok('PRERELEASE') +src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + + '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' + +tok('PRERELEASELOOSE') +src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + + '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' + +// ## Build Metadata Identifier +// Any combination of digits, letters, or hyphens. + +tok('BUILDIDENTIFIER') +src[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+' + +// ## Build Metadata +// Plus sign, followed by one or more period-separated build metadata +// identifiers. + +tok('BUILD') +src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + + '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' + +// ## Full Version String +// A main version, followed optionally by a pre-release version and +// build metadata. + +// Note that the only major, minor, patch, and pre-release sections of +// the version string are capturing groups. The build metadata is not a +// capturing group, because it should not ever be used in version +// comparison. + +tok('FULL') +tok('FULLPLAIN') +src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + + src[t.PRERELEASE] + '?' + + src[t.BUILD] + '?' + +src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' + +// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. +// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty +// common in the npm registry. +tok('LOOSEPLAIN') +src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + + src[t.PRERELEASELOOSE] + '?' + + src[t.BUILD] + '?' + +tok('LOOSE') +src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' + +tok('GTLT') +src[t.GTLT] = '((?:<|>)?=?)' + +// Something like "2.*" or "1.2.x". +// Note that "x.x" is a valid xRange identifer, meaning "any version" +// Only the first item is strictly required. +tok('XRANGEIDENTIFIERLOOSE') +src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' +tok('XRANGEIDENTIFIER') +src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' + +tok('XRANGEPLAIN') +src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:' + src[t.PRERELEASE] + ')?' + + src[t.BUILD] + '?' + + ')?)?' + +tok('XRANGEPLAINLOOSE') +src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:' + src[t.PRERELEASELOOSE] + ')?' + + src[t.BUILD] + '?' + + ')?)?' + +tok('XRANGE') +src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' +tok('XRANGELOOSE') +src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' + +// Coercion. +// Extract anything that could conceivably be a part of a valid semver +tok('COERCE') +src[t.COERCE] = '(^|[^\\d])' + + '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + + '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + + '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + + '(?:$|[^\\d])' +tok('COERCERTL') +re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') +safeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g') + +// Tilde ranges. +// Meaning is "reasonably at or greater than" +tok('LONETILDE') +src[t.LONETILDE] = '(?:~>?)' + +tok('TILDETRIM') +src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' +re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') +safeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g') +var tildeTrimReplace = '$1~' + +tok('TILDE') +src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' +tok('TILDELOOSE') +src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' + +// Caret ranges. +// Meaning is "at least and backwards compatible with" +tok('LONECARET') +src[t.LONECARET] = '(?:\\^)' + +tok('CARETTRIM') +src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' +re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') +safeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g') +var caretTrimReplace = '$1^' + +tok('CARET') +src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' +tok('CARETLOOSE') +src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' + +// A simple gt/lt/eq thing, or just "" to indicate "any version" +tok('COMPARATORLOOSE') +src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' +tok('COMPARATOR') +src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' + +// An expression to strip any whitespace between the gtlt and the thing +// it modifies, so that `> 1.2.3` ==> `>1.2.3` +tok('COMPARATORTRIM') +src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + + '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' + +// this one has to use the /g flag +re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') +safeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g') +var comparatorTrimReplace = '$1$2$3' + +// Something like `1.2.3 - 1.2.4` +// Note that these all use the loose form, because they'll be +// checked against either the strict or loose comparator form +// later. +tok('HYPHENRANGE') +src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + + '\\s+-\\s+' + + '(' + src[t.XRANGEPLAIN] + ')' + + '\\s*$' + +tok('HYPHENRANGELOOSE') +src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + + '\\s+-\\s+' + + '(' + src[t.XRANGEPLAINLOOSE] + ')' + + '\\s*$' + +// Star ranges basically just allow anything at all. +tok('STAR') +src[t.STAR] = '(<|>)?=?\\s*\\*' + +// Compile to actual regexp objects. +// All are flag-free, unless they were created above with a flag. +for (var i = 0; i < R; i++) { + debug(i, src[i]) + if (!re[i]) { + re[i] = new RegExp(src[i]) + + // Replace all greedy whitespace to prevent regex dos issues. These regex are + // used internally via the safeRe object since all inputs in this library get + // normalized first to trim and collapse all extra whitespace. The original + // regexes are exported for userland consumption and lower level usage. A + // future breaking change could export the safer regex only with a note that + // all input should have extra whitespace removed. + safeRe[i] = new RegExp(makeSafeRe(src[i])) + } +} + +exports.parse = parse +function parse (version, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (version instanceof SemVer) { + return version + } + + if (typeof version !== 'string') { + return null + } + + if (version.length > MAX_LENGTH) { + return null + } + + var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL] + if (!r.test(version)) { + return null + } + + try { + return new SemVer(version, options) + } catch (er) { + return null + } +} + +exports.valid = valid +function valid (version, options) { + var v = parse(version, options) + return v ? v.version : null +} + +exports.clean = clean +function clean (version, options) { + var s = parse(version.trim().replace(/^[=v]+/, ''), options) + return s ? s.version : null +} + +exports.SemVer = SemVer + +function SemVer (version, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + if (version instanceof SemVer) { + if (version.loose === options.loose) { + return version + } else { + version = version.version + } + } else if (typeof version !== 'string') { + throw new TypeError('Invalid Version: ' + version) + } + + if (version.length > MAX_LENGTH) { + throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') + } + + if (!(this instanceof SemVer)) { + return new SemVer(version, options) + } + + debug('SemVer', version, options) + this.options = options + this.loose = !!options.loose + + var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]) + + if (!m) { + throw new TypeError('Invalid Version: ' + version) + } + + this.raw = version + + // these are actually numbers + this.major = +m[1] + this.minor = +m[2] + this.patch = +m[3] + + if (this.major > MAX_SAFE_INTEGER || this.major < 0) { + throw new TypeError('Invalid major version') + } + + if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { + throw new TypeError('Invalid minor version') + } + + if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { + throw new TypeError('Invalid patch version') + } + + // numberify any prerelease numeric ids + if (!m[4]) { + this.prerelease = [] + } else { + this.prerelease = m[4].split('.').map(function (id) { + if (/^[0-9]+$/.test(id)) { + var num = +id + if (num >= 0 && num < MAX_SAFE_INTEGER) { + return num + } + } + return id + }) + } + + this.build = m[5] ? m[5].split('.') : [] + this.format() +} + +SemVer.prototype.format = function () { + this.version = this.major + '.' + this.minor + '.' + this.patch + if (this.prerelease.length) { + this.version += '-' + this.prerelease.join('.') + } + return this.version +} + +SemVer.prototype.toString = function () { + return this.version +} + +SemVer.prototype.compare = function (other) { + debug('SemVer.compare', this.version, this.options, other) + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + return this.compareMain(other) || this.comparePre(other) +} + +SemVer.prototype.compareMain = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + return compareIdentifiers(this.major, other.major) || + compareIdentifiers(this.minor, other.minor) || + compareIdentifiers(this.patch, other.patch) +} + +SemVer.prototype.comparePre = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + // NOT having a prerelease is > having one + if (this.prerelease.length && !other.prerelease.length) { + return -1 + } else if (!this.prerelease.length && other.prerelease.length) { + return 1 + } else if (!this.prerelease.length && !other.prerelease.length) { + return 0 + } + + var i = 0 + do { + var a = this.prerelease[i] + var b = other.prerelease[i] + debug('prerelease compare', i, a, b) + if (a === undefined && b === undefined) { + return 0 + } else if (b === undefined) { + return 1 + } else if (a === undefined) { + return -1 + } else if (a === b) { + continue + } else { + return compareIdentifiers(a, b) + } + } while (++i) +} + +SemVer.prototype.compareBuild = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + var i = 0 + do { + var a = this.build[i] + var b = other.build[i] + debug('prerelease compare', i, a, b) + if (a === undefined && b === undefined) { + return 0 + } else if (b === undefined) { + return 1 + } else if (a === undefined) { + return -1 + } else if (a === b) { + continue + } else { + return compareIdentifiers(a, b) + } + } while (++i) +} + +// preminor will bump the version up to the next minor release, and immediately +// down to pre-release. premajor and prepatch work the same way. +SemVer.prototype.inc = function (release, identifier) { + switch (release) { + case 'premajor': + this.prerelease.length = 0 + this.patch = 0 + this.minor = 0 + this.major++ + this.inc('pre', identifier) + break + case 'preminor': + this.prerelease.length = 0 + this.patch = 0 + this.minor++ + this.inc('pre', identifier) + break + case 'prepatch': + // If this is already a prerelease, it will bump to the next version + // drop any prereleases that might already exist, since they are not + // relevant at this point. + this.prerelease.length = 0 + this.inc('patch', identifier) + this.inc('pre', identifier) + break + // If the input is a non-prerelease version, this acts the same as + // prepatch. + case 'prerelease': + if (this.prerelease.length === 0) { + this.inc('patch', identifier) + } + this.inc('pre', identifier) + break + + case 'major': + // If this is a pre-major version, bump up to the same major version. + // Otherwise increment major. + // 1.0.0-5 bumps to 1.0.0 + // 1.1.0 bumps to 2.0.0 + if (this.minor !== 0 || + this.patch !== 0 || + this.prerelease.length === 0) { + this.major++ + } + this.minor = 0 + this.patch = 0 + this.prerelease = [] + break + case 'minor': + // If this is a pre-minor version, bump up to the same minor version. + // Otherwise increment minor. + // 1.2.0-5 bumps to 1.2.0 + // 1.2.1 bumps to 1.3.0 + if (this.patch !== 0 || this.prerelease.length === 0) { + this.minor++ + } + this.patch = 0 + this.prerelease = [] + break + case 'patch': + // If this is not a pre-release version, it will increment the patch. + // If it is a pre-release it will bump up to the same patch version. + // 1.2.0-5 patches to 1.2.0 + // 1.2.0 patches to 1.2.1 + if (this.prerelease.length === 0) { + this.patch++ + } + this.prerelease = [] + break + // This probably shouldn't be used publicly. + // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. + case 'pre': + if (this.prerelease.length === 0) { + this.prerelease = [0] + } else { + var i = this.prerelease.length + while (--i >= 0) { + if (typeof this.prerelease[i] === 'number') { + this.prerelease[i]++ + i = -2 + } + } + if (i === -1) { + // didn't increment anything + this.prerelease.push(0) + } + } + if (identifier) { + // 1.2.0-beta.1 bumps to 1.2.0-beta.2, + // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 + if (this.prerelease[0] === identifier) { + if (isNaN(this.prerelease[1])) { + this.prerelease = [identifier, 0] + } + } else { + this.prerelease = [identifier, 0] + } + } + break + + default: + throw new Error('invalid increment argument: ' + release) + } + this.format() + this.raw = this.version + return this +} + +exports.inc = inc +function inc (version, release, loose, identifier) { + if (typeof (loose) === 'string') { + identifier = loose + loose = undefined + } + + try { + return new SemVer(version, loose).inc(release, identifier).version + } catch (er) { + return null + } +} + +exports.diff = diff +function diff (version1, version2) { + if (eq(version1, version2)) { + return null + } else { + var v1 = parse(version1) + var v2 = parse(version2) + var prefix = '' + if (v1.prerelease.length || v2.prerelease.length) { + prefix = 'pre' + var defaultResult = 'prerelease' + } + for (var key in v1) { + if (key === 'major' || key === 'minor' || key === 'patch') { + if (v1[key] !== v2[key]) { + return prefix + key + } + } + } + return defaultResult // may be undefined + } +} + +exports.compareIdentifiers = compareIdentifiers + +var numeric = /^[0-9]+$/ +function compareIdentifiers (a, b) { + var anum = numeric.test(a) + var bnum = numeric.test(b) + + if (anum && bnum) { + a = +a + b = +b + } + + return a === b ? 0 + : (anum && !bnum) ? -1 + : (bnum && !anum) ? 1 + : a < b ? -1 + : 1 +} + +exports.rcompareIdentifiers = rcompareIdentifiers +function rcompareIdentifiers (a, b) { + return compareIdentifiers(b, a) +} + +exports.major = major +function major (a, loose) { + return new SemVer(a, loose).major +} + +exports.minor = minor +function minor (a, loose) { + return new SemVer(a, loose).minor +} + +exports.patch = patch +function patch (a, loose) { + return new SemVer(a, loose).patch +} + +exports.compare = compare +function compare (a, b, loose) { + return new SemVer(a, loose).compare(new SemVer(b, loose)) +} + +exports.compareLoose = compareLoose +function compareLoose (a, b) { + return compare(a, b, true) +} + +exports.compareBuild = compareBuild +function compareBuild (a, b, loose) { + var versionA = new SemVer(a, loose) + var versionB = new SemVer(b, loose) + return versionA.compare(versionB) || versionA.compareBuild(versionB) +} + +exports.rcompare = rcompare +function rcompare (a, b, loose) { + return compare(b, a, loose) +} + +exports.sort = sort +function sort (list, loose) { + return list.sort(function (a, b) { + return exports.compareBuild(a, b, loose) + }) +} + +exports.rsort = rsort +function rsort (list, loose) { + return list.sort(function (a, b) { + return exports.compareBuild(b, a, loose) + }) +} + +exports.gt = gt +function gt (a, b, loose) { + return compare(a, b, loose) > 0 +} + +exports.lt = lt +function lt (a, b, loose) { + return compare(a, b, loose) < 0 +} + +exports.eq = eq +function eq (a, b, loose) { + return compare(a, b, loose) === 0 +} + +exports.neq = neq +function neq (a, b, loose) { + return compare(a, b, loose) !== 0 +} + +exports.gte = gte +function gte (a, b, loose) { + return compare(a, b, loose) >= 0 +} + +exports.lte = lte +function lte (a, b, loose) { + return compare(a, b, loose) <= 0 +} + +exports.cmp = cmp +function cmp (a, op, b, loose) { + switch (op) { + case '===': + if (typeof a === 'object') + a = a.version + if (typeof b === 'object') + b = b.version + return a === b + + case '!==': + if (typeof a === 'object') + a = a.version + if (typeof b === 'object') + b = b.version + return a !== b + + case '': + case '=': + case '==': + return eq(a, b, loose) + + case '!=': + return neq(a, b, loose) + + case '>': + return gt(a, b, loose) + + case '>=': + return gte(a, b, loose) + + case '<': + return lt(a, b, loose) + + case '<=': + return lte(a, b, loose) + + default: + throw new TypeError('Invalid operator: ' + op) + } +} + +exports.Comparator = Comparator +function Comparator (comp, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (comp instanceof Comparator) { + if (comp.loose === !!options.loose) { + return comp + } else { + comp = comp.value + } + } + + if (!(this instanceof Comparator)) { + return new Comparator(comp, options) + } + + comp = comp.trim().split(/\s+/).join(' ') + debug('comparator', comp, options) + this.options = options + this.loose = !!options.loose + this.parse(comp) + + if (this.semver === ANY) { + this.value = '' + } else { + this.value = this.operator + this.semver.version + } + + debug('comp', this) +} + +var ANY = {} +Comparator.prototype.parse = function (comp) { + var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR] + var m = comp.match(r) + + if (!m) { + throw new TypeError('Invalid comparator: ' + comp) + } + + this.operator = m[1] !== undefined ? m[1] : '' + if (this.operator === '=') { + this.operator = '' + } + + // if it literally is just '>' or '' then allow anything. + if (!m[2]) { + this.semver = ANY + } else { + this.semver = new SemVer(m[2], this.options.loose) + } +} + +Comparator.prototype.toString = function () { + return this.value +} + +Comparator.prototype.test = function (version) { + debug('Comparator.test', version, this.options.loose) + + if (this.semver === ANY || version === ANY) { + return true + } + + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options) + } catch (er) { + return false + } + } + + return cmp(version, this.operator, this.semver, this.options) +} + +Comparator.prototype.intersects = function (comp, options) { + if (!(comp instanceof Comparator)) { + throw new TypeError('a Comparator is required') + } + + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + var rangeTmp + + if (this.operator === '') { + if (this.value === '') { + return true + } + rangeTmp = new Range(comp.value, options) + return satisfies(this.value, rangeTmp, options) + } else if (comp.operator === '') { + if (comp.value === '') { + return true + } + rangeTmp = new Range(this.value, options) + return satisfies(comp.semver, rangeTmp, options) + } + + var sameDirectionIncreasing = + (this.operator === '>=' || this.operator === '>') && + (comp.operator === '>=' || comp.operator === '>') + var sameDirectionDecreasing = + (this.operator === '<=' || this.operator === '<') && + (comp.operator === '<=' || comp.operator === '<') + var sameSemVer = this.semver.version === comp.semver.version + var differentDirectionsInclusive = + (this.operator === '>=' || this.operator === '<=') && + (comp.operator === '>=' || comp.operator === '<=') + var oppositeDirectionsLessThan = + cmp(this.semver, '<', comp.semver, options) && + ((this.operator === '>=' || this.operator === '>') && + (comp.operator === '<=' || comp.operator === '<')) + var oppositeDirectionsGreaterThan = + cmp(this.semver, '>', comp.semver, options) && + ((this.operator === '<=' || this.operator === '<') && + (comp.operator === '>=' || comp.operator === '>')) + + return sameDirectionIncreasing || sameDirectionDecreasing || + (sameSemVer && differentDirectionsInclusive) || + oppositeDirectionsLessThan || oppositeDirectionsGreaterThan +} + +exports.Range = Range +function Range (range, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (range instanceof Range) { + if (range.loose === !!options.loose && + range.includePrerelease === !!options.includePrerelease) { + return range + } else { + return new Range(range.raw, options) + } + } + + if (range instanceof Comparator) { + return new Range(range.value, options) + } + + if (!(this instanceof Range)) { + return new Range(range, options) + } + + this.options = options + this.loose = !!options.loose + this.includePrerelease = !!options.includePrerelease + + // First reduce all whitespace as much as possible so we do not have to rely + // on potentially slow regexes like \s*. This is then stored and used for + // future error messages as well. + this.raw = range + .trim() + .split(/\s+/) + .join(' ') + + // First, split based on boolean or || + this.set = this.raw.split('||').map(function (range) { + return this.parseRange(range.trim()) + }, this).filter(function (c) { + // throw out any that are not relevant for whatever reason + return c.length + }) + + if (!this.set.length) { + throw new TypeError('Invalid SemVer Range: ' + this.raw) + } + + this.format() +} + +Range.prototype.format = function () { + this.range = this.set.map(function (comps) { + return comps.join(' ').trim() + }).join('||').trim() + return this.range +} + +Range.prototype.toString = function () { + return this.range +} + +Range.prototype.parseRange = function (range) { + var loose = this.options.loose + // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` + var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE] + range = range.replace(hr, hyphenReplace) + debug('hyphen replace', range) + // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` + range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace) + debug('comparator trim', range, safeRe[t.COMPARATORTRIM]) + + // `~ 1.2.3` => `~1.2.3` + range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace) + + // `^ 1.2.3` => `^1.2.3` + range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace) + + // normalize spaces + range = range.split(/\s+/).join(' ') + + // At this point, the range is completely trimmed and + // ready to be split into comparators. + + var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR] + var set = range.split(' ').map(function (comp) { + return parseComparator(comp, this.options) + }, this).join(' ').split(/\s+/) + if (this.options.loose) { + // in loose mode, throw out any that are not valid comparators + set = set.filter(function (comp) { + return !!comp.match(compRe) + }) + } + set = set.map(function (comp) { + return new Comparator(comp, this.options) + }, this) + + return set +} + +Range.prototype.intersects = function (range, options) { + if (!(range instanceof Range)) { + throw new TypeError('a Range is required') + } + + return this.set.some(function (thisComparators) { + return ( + isSatisfiable(thisComparators, options) && + range.set.some(function (rangeComparators) { + return ( + isSatisfiable(rangeComparators, options) && + thisComparators.every(function (thisComparator) { + return rangeComparators.every(function (rangeComparator) { + return thisComparator.intersects(rangeComparator, options) + }) + }) + ) + }) + ) + }) +} + +// take a set of comparators and determine whether there +// exists a version which can satisfy it +function isSatisfiable (comparators, options) { + var result = true + var remainingComparators = comparators.slice() + var testComparator = remainingComparators.pop() + + while (result && remainingComparators.length) { + result = remainingComparators.every(function (otherComparator) { + return testComparator.intersects(otherComparator, options) + }) + + testComparator = remainingComparators.pop() + } + + return result +} + +// Mostly just for testing and legacy API reasons +exports.toComparators = toComparators +function toComparators (range, options) { + return new Range(range, options).set.map(function (comp) { + return comp.map(function (c) { + return c.value + }).join(' ').trim().split(' ') + }) +} + +// comprised of xranges, tildes, stars, and gtlt's at this point. +// already replaced the hyphen ranges +// turn into a set of JUST comparators. +function parseComparator (comp, options) { + debug('comp', comp, options) + comp = replaceCarets(comp, options) + debug('caret', comp) + comp = replaceTildes(comp, options) + debug('tildes', comp) + comp = replaceXRanges(comp, options) + debug('xrange', comp) + comp = replaceStars(comp, options) + debug('stars', comp) + return comp +} + +function isX (id) { + return !id || id.toLowerCase() === 'x' || id === '*' +} + +// ~, ~> --> * (any, kinda silly) +// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 +// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 +// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 +// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 +// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 +function replaceTildes (comp, options) { + return comp.trim().split(/\s+/).map(function (comp) { + return replaceTilde(comp, options) + }).join(' ') +} + +function replaceTilde (comp, options) { + var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE] + return comp.replace(r, function (_, M, m, p, pr) { + debug('tilde', comp, _, M, m, p, pr) + var ret + + if (isX(M)) { + ret = '' + } else if (isX(m)) { + ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' + } else if (isX(p)) { + // ~1.2 == >=1.2.0 <1.3.0 + ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' + } else if (pr) { + debug('replaceTilde pr', pr) + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + } else { + // ~1.2.3 == >=1.2.3 <1.3.0 + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + (+m + 1) + '.0' + } + + debug('tilde return', ret) + return ret + }) +} + +// ^ --> * (any, kinda silly) +// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 +// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 +// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 +// ^1.2.3 --> >=1.2.3 <2.0.0 +// ^1.2.0 --> >=1.2.0 <2.0.0 +function replaceCarets (comp, options) { + return comp.trim().split(/\s+/).map(function (comp) { + return replaceCaret(comp, options) + }).join(' ') +} + +function replaceCaret (comp, options) { + debug('caret', comp, options) + var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET] + return comp.replace(r, function (_, M, m, p, pr) { + debug('caret', comp, _, M, m, p, pr) + var ret + + if (isX(M)) { + ret = '' + } else if (isX(m)) { + ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' + } else if (isX(p)) { + if (M === '0') { + ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' + } else { + ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' + } + } else if (pr) { + debug('replaceCaret pr', pr) + if (M === '0') { + if (m === '0') { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + m + '.' + (+p + 1) + } else { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + } + } else { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + (+M + 1) + '.0.0' + } + } else { + debug('no pr') + if (M === '0') { + if (m === '0') { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + m + '.' + (+p + 1) + } else { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + (+m + 1) + '.0' + } + } else { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + (+M + 1) + '.0.0' + } + } + + debug('caret return', ret) + return ret + }) +} + +function replaceXRanges (comp, options) { + debug('replaceXRanges', comp, options) + return comp.split(/\s+/).map(function (comp) { + return replaceXRange(comp, options) + }).join(' ') +} + +function replaceXRange (comp, options) { + comp = comp.trim() + var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE] + return comp.replace(r, function (ret, gtlt, M, m, p, pr) { + debug('xRange', comp, ret, gtlt, M, m, p, pr) + var xM = isX(M) + var xm = xM || isX(m) + var xp = xm || isX(p) + var anyX = xp + + if (gtlt === '=' && anyX) { + gtlt = '' + } + + // if we're including prereleases in the match, then we need + // to fix this to -0, the lowest possible prerelease value + pr = options.includePrerelease ? '-0' : '' + + if (xM) { + if (gtlt === '>' || gtlt === '<') { + // nothing is allowed + ret = '<0.0.0-0' + } else { + // nothing is forbidden + ret = '*' + } + } else if (gtlt && anyX) { + // we know patch is an x, because we have any x at all. + // replace X with 0 + if (xm) { + m = 0 + } + p = 0 + + if (gtlt === '>') { + // >1 => >=2.0.0 + // >1.2 => >=1.3.0 + // >1.2.3 => >= 1.2.4 + gtlt = '>=' + if (xm) { + M = +M + 1 + m = 0 + p = 0 + } else { + m = +m + 1 + p = 0 + } + } else if (gtlt === '<=') { + // <=0.7.x is actually <0.8.0, since any 0.7.x should + // pass. Similarly, <=7.x is actually <8.0.0, etc. + gtlt = '<' + if (xm) { + M = +M + 1 + } else { + m = +m + 1 + } + } + + ret = gtlt + M + '.' + m + '.' + p + pr + } else if (xm) { + ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr + } else if (xp) { + ret = '>=' + M + '.' + m + '.0' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + pr + } + + debug('xRange return', ret) + + return ret + }) +} + +// Because * is AND-ed with everything else in the comparator, +// and '' means "any version", just remove the *s entirely. +function replaceStars (comp, options) { + debug('replaceStars', comp, options) + // Looseness is ignored here. star is always as loose as it gets! + return comp.trim().replace(safeRe[t.STAR], '') +} + +// This function is passed to string.replace(re[t.HYPHENRANGE]) +// M, m, patch, prerelease, build +// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 +// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do +// 1.2 - 3.4 => >=1.2.0 <3.5.0 +function hyphenReplace ($0, + from, fM, fm, fp, fpr, fb, + to, tM, tm, tp, tpr, tb) { + if (isX(fM)) { + from = '' + } else if (isX(fm)) { + from = '>=' + fM + '.0.0' + } else if (isX(fp)) { + from = '>=' + fM + '.' + fm + '.0' + } else { + from = '>=' + from + } + + if (isX(tM)) { + to = '' + } else if (isX(tm)) { + to = '<' + (+tM + 1) + '.0.0' + } else if (isX(tp)) { + to = '<' + tM + '.' + (+tm + 1) + '.0' + } else if (tpr) { + to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr + } else { + to = '<=' + to + } + + return (from + ' ' + to).trim() +} + +// if ANY of the sets match ALL of its comparators, then pass +Range.prototype.test = function (version) { + if (!version) { + return false + } + + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options) + } catch (er) { + return false + } + } + + for (var i = 0; i < this.set.length; i++) { + if (testSet(this.set[i], version, this.options)) { + return true + } + } + return false +} + +function testSet (set, version, options) { + for (var i = 0; i < set.length; i++) { + if (!set[i].test(version)) { + return false + } + } + + if (version.prerelease.length && !options.includePrerelease) { + // Find the set of versions that are allowed to have prereleases + // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 + // That should allow `1.2.3-pr.2` to pass. + // However, `1.2.4-alpha.notready` should NOT be allowed, + // even though it's within the range set by the comparators. + for (i = 0; i < set.length; i++) { + debug(set[i].semver) + if (set[i].semver === ANY) { + continue + } + + if (set[i].semver.prerelease.length > 0) { + var allowed = set[i].semver + if (allowed.major === version.major && + allowed.minor === version.minor && + allowed.patch === version.patch) { + return true + } + } + } + + // Version has a -pre, but it's not one of the ones we like. + return false + } + + return true +} + +exports.satisfies = satisfies +function satisfies (version, range, options) { + try { + range = new Range(range, options) + } catch (er) { + return false + } + return range.test(version) +} + +exports.maxSatisfying = maxSatisfying +function maxSatisfying (versions, range, options) { + var max = null + var maxSV = null + try { + var rangeObj = new Range(range, options) + } catch (er) { + return null + } + versions.forEach(function (v) { + if (rangeObj.test(v)) { + // satisfies(v, range, options) + if (!max || maxSV.compare(v) === -1) { + // compare(max, v, true) + max = v + maxSV = new SemVer(max, options) + } + } + }) + return max +} + +exports.minSatisfying = minSatisfying +function minSatisfying (versions, range, options) { + var min = null + var minSV = null + try { + var rangeObj = new Range(range, options) + } catch (er) { + return null + } + versions.forEach(function (v) { + if (rangeObj.test(v)) { + // satisfies(v, range, options) + if (!min || minSV.compare(v) === 1) { + // compare(min, v, true) + min = v + minSV = new SemVer(min, options) + } + } + }) + return min +} + +exports.minVersion = minVersion +function minVersion (range, loose) { + range = new Range(range, loose) + + var minver = new SemVer('0.0.0') + if (range.test(minver)) { + return minver + } + + minver = new SemVer('0.0.0-0') + if (range.test(minver)) { + return minver + } + + minver = null + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i] + + comparators.forEach(function (comparator) { + // Clone to avoid manipulating the comparator's semver object. + var compver = new SemVer(comparator.semver.version) + switch (comparator.operator) { + case '>': + if (compver.prerelease.length === 0) { + compver.patch++ + } else { + compver.prerelease.push(0) + } + compver.raw = compver.format() + /* fallthrough */ + case '': + case '>=': + if (!minver || gt(minver, compver)) { + minver = compver + } + break + case '<': + case '<=': + /* Ignore maximum versions */ + break + /* istanbul ignore next */ + default: + throw new Error('Unexpected operation: ' + comparator.operator) + } + }) + } + + if (minver && range.test(minver)) { + return minver + } + + return null +} + +exports.validRange = validRange +function validRange (range, options) { + try { + // Return '*' instead of '' so that truthiness works. + // This will throw if it's invalid anyway + return new Range(range, options).range || '*' + } catch (er) { + return null + } +} + +// Determine if version is less than all the versions possible in the range +exports.ltr = ltr +function ltr (version, range, options) { + return outside(version, range, '<', options) +} + +// Determine if version is greater than all the versions possible in the range. +exports.gtr = gtr +function gtr (version, range, options) { + return outside(version, range, '>', options) +} + +exports.outside = outside +function outside (version, range, hilo, options) { + version = new SemVer(version, options) + range = new Range(range, options) + + var gtfn, ltefn, ltfn, comp, ecomp + switch (hilo) { + case '>': + gtfn = gt + ltefn = lte + ltfn = lt + comp = '>' + ecomp = '>=' + break + case '<': + gtfn = lt + ltefn = gte + ltfn = gt + comp = '<' + ecomp = '<=' + break + default: + throw new TypeError('Must provide a hilo val of "<" or ">"') + } + + // If it satisifes the range it is not outside + if (satisfies(version, range, options)) { + return false + } + + // From now on, variable terms are as if we're in "gtr" mode. + // but note that everything is flipped for the "ltr" function. + + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i] + + var high = null + var low = null + + comparators.forEach(function (comparator) { + if (comparator.semver === ANY) { + comparator = new Comparator('>=0.0.0') + } + high = high || comparator + low = low || comparator + if (gtfn(comparator.semver, high.semver, options)) { + high = comparator + } else if (ltfn(comparator.semver, low.semver, options)) { + low = comparator + } + }) + + // If the edge version comparator has a operator then our version + // isn't outside it + if (high.operator === comp || high.operator === ecomp) { + return false + } + + // If the lowest version comparator has an operator and our version + // is less than it then it isn't higher than the range + if ((!low.operator || low.operator === comp) && + ltefn(version, low.semver)) { + return false + } else if (low.operator === ecomp && ltfn(version, low.semver)) { + return false + } + } + return true +} + +exports.prerelease = prerelease +function prerelease (version, options) { + var parsed = parse(version, options) + return (parsed && parsed.prerelease.length) ? parsed.prerelease : null +} + +exports.intersects = intersects +function intersects (r1, r2, options) { + r1 = new Range(r1, options) + r2 = new Range(r2, options) + return r1.intersects(r2) +} + +exports.coerce = coerce +function coerce (version, options) { + if (version instanceof SemVer) { + return version + } + + if (typeof version === 'number') { + version = String(version) + } + + if (typeof version !== 'string') { + return null + } + + options = options || {} + + var match = null + if (!options.rtl) { + match = version.match(safeRe[t.COERCE]) + } else { + // Find the right-most coercible string that does not share + // a terminus with a more left-ward coercible string. + // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' + // + // Walk through the string checking with a /g regexp + // Manually set the index so as to pick up overlapping matches. + // Stop when we get a match that ends at the string end, since no + // coercible string can be more right-ward without the same terminus. + var next + while ((next = safeRe[t.COERCERTL].exec(version)) && + (!match || match.index + match[0].length !== version.length) + ) { + if (!match || + next.index + next[0].length !== match.index + match[0].length) { + match = next + } + safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length + } + // leave it in a clean state + safeRe[t.COERCERTL].lastIndex = -1 + } + + if (match === null) { + return null + } + + return parse(match[2] + + '.' + (match[3] || '0') + + '.' + (match[4] || '0'), options) +} diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js index d2b4ff1b2a..17cf116918 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js @@ -82,14 +82,14 @@ exports.default = util.createRule({ ImportDeclaration(node) { const source = node.source.value; // sourceImports is the object containing all the specifics for a particular import source, type or value - const sourceImports = sourceImportsMap[source] ?? - (sourceImportsMap[source] = { - source, - reportValueImports: [], - typeOnlyNamedImport: null, - valueOnlyNamedImport: null, - valueImport: null, // if only value imports - }); + sourceImportsMap[source] ??= { + source, + reportValueImports: [], + typeOnlyNamedImport: null, + valueOnlyNamedImport: null, + valueImport: null, // if only value imports + }; + const sourceImports = sourceImportsMap[source]; if (node.importKind === 'type') { if (!sourceImports.typeOnlyNamedImport && node.specifiers.every(specifier => specifier.type === utils_1.AST_NODE_TYPES.ImportSpecifier)) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map index eeb47346e2..b9bf8d1325 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-type-imports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAuChC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,yBAAyB;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,0CAA0C;SACxD;QACD,QAAQ,EAAE;YACR,aAAa,EACX,2EAA2E;YAC7E,uBAAuB,EACrB,iDAAiD;YACnD,kBAAkB,EAAE,+CAA+C;YACnE,qBAAqB,EACnB,8DAA8D;YAChE,iBAAiB,EACf,4DAA4D;YAC9D,aAAa,EAAE,8CAA8C;YAC7D,uBAAuB,EAAE,4CAA4C;SACtE;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;qBAC1C;oBACD,uBAAuB,EAAE;wBACvB,IAAI,EAAE,SAAS;qBAChB;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;qBACvD;iBACF;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,OAAO,EAAE,MAAM;KAChB;IAED,cAAc,EAAE;QACd;YACE,MAAM,EAAE,cAAc;YACtB,uBAAuB,EAAE,IAAI;YAC7B,QAAQ,EAAE,uBAAuB;SAClC;KACF;IAED,MAAM,C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AAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAChC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAC9D,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAC5D,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;QAED,QAAQ,CAAC,CAAC,yCAAyC,CACjD,KAAyB,EACzB,IAA8B;YAE9B,iCAAiC;YACjC,uBAAuB;YACvB,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAC/B,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,EAClD,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAChC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAC9D,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAC5D,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-type-imports.js","sourceRoot":"","sources":["../../src/rules/consistent-type-imports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AAuChC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IACl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AC,yCAAyC,CACjD,KAAyB,EACzB,IAA8B;YAE9B,iCAAiC;YACjC,uBAAuB;YACvB,MAAM,SAAS,GAAG,IAAI,CAAC,UAAU,CAC/B,UAAU,CAAC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,EAClD,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CACvD,CAAC;YACF,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAChC,UAAU,CAAC,aAAa,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,EAC9D,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAC5D,CAAC;YACF,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js index d644860464..3db75bcb4e 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js @@ -34,11 +34,20 @@ const isTruthyLiteral = (type) => tsutils.isTrueLiteralType(type) || (type.isLiteral() && !!type.value); const isPossiblyFalsy = (type) => tsutils .unionTypeParts(type) + // Intersections like `string & {}` can also be possibly falsy, + // requiring us to look into the intersection. + .flatMap(type => tsutils.intersectionTypeParts(type)) // PossiblyFalsy flag includes literal values, so exclude ones that // are definitely truthy .filter(t => !isTruthyLiteral(t)) .some(type => (0, util_1.isTypeFlagSet)(type, ts.TypeFlags.PossiblyFalsy)); -const isPossiblyTruthy = (type) => tsutils.unionTypeParts(type).some(type => !tsutils.isFalsyType(type)); +const isPossiblyTruthy = (type) => tsutils + .unionTypeParts(type) + .map(type => tsutils.intersectionTypeParts(type)) + .some(intersectionParts => +// It is possible to define intersections that are always falsy, +// like `"" & { __brand: string }`. +intersectionParts.every(type => !tsutils.isFalsyType(type))); // Nullish utilities const nullishFlag = ts.TypeFlags.Undefined | ts.TypeFlags.Null; const isNullishType = (type) => (0, util_1.isTypeFlagSet)(type, nullishFlag); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map index b2808afe7e..99b2b97b6d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAaiB;AAEjB,uBAAuB;AACvB,UAAU;AACV,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,YAAY;IACZ,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAErC,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;IACrB,mEAAmE;IACnE,wBAAwB;KACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;KAChC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE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EAAE,iCAAiC;YACjD,mCAAmC,EAAE,6BAA6B;YAClE,iCAAiC,EAAE,2BAA2B;SAC/D,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-condition.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-condition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAaiB;AAEjB,uBAAuB;AACvB,UAAU;AACV,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC;IAC/B,YAAY;IACZ,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAErC,MAAM,eAAe,GAAG,CAAC,IAAa,EAAW,EAAE,CACjD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;IACrB,+DAA+D;IAC/D,8CAA8C;KAC7C,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACrD,mEAAmE;IACnE,wBAAwB;KACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;KAChC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAA,oBAAa,EAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;AAEnE,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAW,EAAE,CAClD,OAAO;KACJ,cAAc,CAAC,IAAI,CAAC;KACpB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;KAChD,IAAI,CAAC,iBAAiB,CAAC,EAAE;AACxB,gEAAgE;AAChE,mCAAmC;AACnC,iBAAiB,CAAC,KAAK,CAAC,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int/eslint-plugin/dist/rules/unified-signatures.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js index f3b193c00d..5c7589d195 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js @@ -329,7 +329,7 @@ exports.default = util.createRule({ currentScope = scopes.pop(); } function addOverload(signature, key, containingNode) { - key = key ?? getOverloadKey(signature); + key ??= getOverloadKey(signature); if (currentScope && (containingNode || signature).parent === currentScope.parent) { const overloads = currentScope.overloads.get(key); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map index 351a465ea6..f40148e4ad 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map @@ -1 +1 @@ -{"version":3,"file":"unified-signatures.js","sourceRoot":"","sources":["../../src/rules/unified-signatures.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AA4DhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,kGAAkG;YACpG,oCAAoC;YACpC,WAAW,EAAE,QAAQ;SACtB;QACD,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE;YACR,qBAAqB,EAAE,+CAA+C;YACtE,uBAAuB,EACrB,oDAAoD;YACtD,yBAAyB,EACvB,wDAAwD;SAC3D;QACD,MAAM,EAAE;YACN;gBACE,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,gCAAgC,EAAE;wBAChC,WAAW,EACT,gIAAgI;wBAClI,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,IAAI,EAAE,QAAQ;aACf;S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AAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;QAC/C,IAAI,CACL,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,IAAkB;IACzC,QAAQ,IAAI,CAAC,IAAI,EAAE;QACjB,KAAK,sBAAc,CAAC,+BAA+B;YACjD,OAAO,aAAa,CAAC;QACvB,KAAK,sBAAc,CAAC,0BAA0B;YAC5C,OAAO,IAAI,CAAC;QACd,OAAO,CAAC,CAAC;YACP,MAAM,EAAE,GAAG,EAAE,GAAG,IAAwB,CAAC;YAEzC,OAAO,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAE,GAAwB,CAAC,GAAG,CAAC;SACrE;KACF;AACH,CAAC;AAED,SAAS,sBAAsB,CAAC,KAAoB;IAClD,QAAQ,KAAK,CAAC,IAAI,EAAE;QAClB,KAAK,sBAAc,CAAC,UAAU;YAC5B,OAAO,KAAK,CAAC,IAAI,CAAC;QACpB,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,sBAAsB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAChD;YACE,OAAO,SAAS,CAAC;KACpB;AACH,CAAC;AACD,SAAS,YAAY,CAAC,IAAmB;IACvC,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,CAAC;AACjD,CAAC"} \ No newline at end of file +{"version":3,"file":"unified-signatures.js","sourceRoot":"","sources":["../../src/rules/unified-signatures.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAgC;AA4DhC,kBAAe,IAAI,CAAC,UAAU,CAAsB;IAClD,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,kGAAkG;YACpG,oCAAoC;YACpC,WAAW,EAAE,QAAQ;SACtB;QACD,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE;YACR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CAAC,MAAM;QACb,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AAED,SAAS,cAAc,CAAC,IAAkB;IACxC,MAAM,IAAI,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAEnC,OAAO,CACL,CAAE,IAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;QACjD,CAAE,IAAyB,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;QAC/C,IAAI,CACL,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,IAAkB;IACzC,QAAQ,IAAI,CAAC,IAAI,EAAE;QACjB,KAAK,sBAAc,CAAC,+BAA+B;YACjD,OAAO,aAAa,CAAC;QACvB,KAAK,sBAAc,CAAC,0BAA0B;YAC5C,OAAO,IAAI,CAAC;QACd,OAAO,CAAC,CAAC;YACP,MAAM,EAAE,GAAG,EAAE,GAAG,IAAwB,CAAC;YAEzC,OAAO,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAE,GAAwB,CAAC,GAAG,CAAC;SACrE;KACF;AACH,CAAC;AAED,SAAS,sBAAsB,CAAC,KAAoB;IAClD,QAAQ,KAAK,CAAC,IAAI,EAAE;QAClB,KAAK,sBAAc,CAAC,UAAU;YAC5B,OAAO,KAAK,CAAC,IAAI,CAAC;QACpB,KAAK,sBAAc,CAAC,WAAW;YAC7B,OAAO,sBAAsB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAChD;YACE,OAAO,SAAS,CAAC;KACpB;AACH,CAAC;AACD,SAAS,YAAY,CAAC,IAAmB;IACvC,OAAO,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,CAAC;AACjD,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md index b4d1e217b2..ee16967668 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/member-ordering.md @@ -814,7 +814,7 @@ interface Foo { #### Sorting Alphabetically Case Insensitive Within Member Groups -This config specifies that within each `memberTypes` group, members are in an alphabetic case-sensitive order. +This config specifies that within each `memberTypes` group, members are in an alphabetic case-insensitive order. You can copy and paste the default order from [Default Configuration](#default-configuration). ```jsonc diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index 88c6b95137..bab3a9374a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/package.json +++ b/node_modules/@typescript-eslint/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "6.4.0", + "version": "6.4.1", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -57,10 +57,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/type-utils": "6.4.0", - "@typescript-eslint/utils": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/type-utils": "6.4.1", + "@typescript-eslint/utils": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -73,17 +73,21 @@ "@types/marked": "*", "@types/natural-compare": "*", "@types/prettier": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "6.4.0", - "@typescript-eslint/rule-tester": "6.4.0", + "@typescript-eslint/rule-schema-to-typescript-types": "6.4.1", + "@typescript-eslint/rule-tester": "6.4.1", "ajv": "^6.12.6", "chalk": "^5.3.0", "cross-fetch": "*", - "jest-specific-snapshot": "*", + "grapheme-splitter": "^1.0.4", + "jest": "29.6.2", + "jest-specific-snapshot": "^8.0.0", "json-schema": "*", "markdown-table": "^3.0.3", "marked": "^5.1.1", - "prettier": "*", + "prettier": "^2.8.4", + "rimraf": "*", "title-case": "^3.0.3", + "tsx": "*", "typescript": "*" }, "peerDependencies": { @@ -99,5 +103,5 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/parser/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/parser/_ts4.3/dist/index.d.ts deleted file mode 100644 index 1e80294e65..0000000000 --- a/node_modules/@typescript-eslint/parser/_ts4.3/dist/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export { parse, parseForESLint, ParserOptions } from './parser'; -export { ParserServices, ParserServicesWithTypeInformation, ParserServicesWithoutTypeInformation, clearCaches, createProgram, } from '@typescript-eslint/typescript-estree'; -export declare const version: string; -export declare const meta: { - name: string; - version: string; -}; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/parser/_ts4.3/dist/parser.d.ts b/node_modules/@typescript-eslint/parser/_ts4.3/dist/parser.d.ts deleted file mode 100644 index 4794b915e5..0000000000 --- a/node_modules/@typescript-eslint/parser/_ts4.3/dist/parser.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { ScopeManager } from '@typescript-eslint/scope-manager'; -import type { TSESTree } from '@typescript-eslint/types'; -import { ParserOptions } from '@typescript-eslint/types'; -import type { ParserServices } from '@typescript-eslint/typescript-estree'; -import { visitorKeys } from '@typescript-eslint/visitor-keys'; -import type * as ts from 'typescript'; -interface ParseForESLintResult { - ast: TSESTree.Program & { - range?: [ - number, - number - ]; - tokens?: TSESTree.Token[]; - comments?: TSESTree.Comment[]; - }; - services: ParserServices; - visitorKeys: typeof visitorKeys; - scopeManager: ScopeManager; -} -declare function parse(code: ts.SourceFile | string, options?: ParserOptions): ParseForESLintResult['ast']; -declare function parseForESLint(code: ts.SourceFile | string, options?: ParserOptions | null): ParseForESLintResult; -export { parse, parseForESLint, ParserOptions }; -//# sourceMappingURL=parser.d.ts.map diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index 36782666e4..e1e0c41c48 100644 --- a/node_modules/@typescript-eslint/parser/package.json +++ b/node_modules/@typescript-eslint/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "6.4.0", + "version": "6.4.1", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -51,14 +51,19 @@ "eslint": "^7.0.0 || ^8.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/typescript-estree": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/typescript-estree": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4" }, "devDependencies": { + "@types/glob": "*", + "downlevel-dts": "*", "glob": "*", + "jest": "29.6.2", + "prettier": "^2.8.4", + "rimraf": "*", "typescript": "*" }, "peerDependenciesMeta": { @@ -77,5 +82,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map index dbc4104b80..8194d1b715 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QA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AAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;IAOjE,SAAS,CAAC,iBAAiB,CACzB,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI,GAAG,SAAS,EAClD,cAAc,EAAE,OAAO,GACtB,IAAI;IA4CP,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAIjE,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI;IAMnD,SAAS,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,kBAAkB,GAAG,IAAI;IAIrE,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,GAAG,IAAI;IAIjE,SAAS,CAAC,0BAA0B,CAClC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,GACxC,IAAI;IAIP,SAAS,CAAC,4BAA4B,CACpC,IAAI,EAAE,QAAQ,CAAC,4BAA4B,GAC1C,IAAI;IAIP,SAAS,CAAC,0BAA0B,CAClC,IAAI,EAAE,QAAQ,CAAC,0BAA0B,GACxC,IAAI;IAIP,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;IAIrD,SAAS,CAAC,iBAAiB,IAAI,IAAI;IAInC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,WAAW,GAAG,IAAI;CAOxD;AAsCD,OAAO,EAAE,YAAY,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js index 1c492a119a..7a3464c68a 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js @@ -120,10 +120,9 @@ class ClassVisitor extends Visitor_1.Visitor { * ) {} * } */ - withMethodDecorators = - withMethodDecorators || - (methodNode.kind !== 'set' && - node.params.some(param => param.decorators.length)); + withMethodDecorators ||= + methodNode.kind !== 'set' && + node.params.some(param => param.decorators.length); if (!withMethodDecorators && methodNode.kind === 'set') { const keyName = getLiteralMethodKeyName(methodNode); /** diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map index 45a98f01c7..d9c98ce39a 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map @@ -1 +1 @@ -{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAyE;AAEzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAM,YAAa,SAAQ,iBAAO;IAKhC,YACE,UAAsB,EACtB,IAA0D,EAC1D,qBAA8B;QAE9B,KAAK,CAAC,UAAU,CAAC,CAAC;QATX,0CAAiE;QACjE,2CAAwB;QACxB,sDAAgC;QAQvC,uBAAA,IAAI,4BAAe,UAAU,MAAA,CAAC;QAC9B,uBAAA,IAAI,2BAAc,IAAI,MAAA,CAAC;QACvB,uBAAA,IAAI,uCAA0B,qBAAqB,MAAA,CAAC;IACtD,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,IAA0D,EAC1D,qBAA8B;QAE9B,MAAM,YAAY,GAAG,IAAI,YAAY,CACnC,UAAU,EACV,IAAI,EACJ,qBAAqB,CACtB,CAAC;QACF,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAsC;QAC1C,+DAA+D;QAC/D,IAAI,IAAI,IAAI,IAAI,CAAC,IA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A,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;SACvB;KACF;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE;QACxE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;KACtB;IACD,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,oDAA0D;AAE1D,8CAAyE;AAEzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAM,YAAa,SAAQ,iBAAO;IAKhC,YACE,UAAsB,EACtB,IAA0D,EAC1D,qBAA8B;QAE9B,KAAK,CAAC,UAAU,CAAC,CAAC;QATX,0CAAiE;QACjE,2CAAwB;QACxB,sDAAgC;QAQvC,uBAAA,IAAI,4BAAe,UAAU,MAAA,CAAC;QAC9B,uBAAA,IAAI,2BAAc,IAAI,MAAA,CAAC;QACvB,uBAAA,IAAI,uCAA0B,qBAAqB,MAAA,CAAC;IACtD,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,IAA0D,EAC1D,qBAA8B;QAE9B,MAAM,YAAY,GAAG,IAAI,YAAY,CACnC,UAAU,EACV,IAAI,EACJ,qBAAqB,CACtB,CAAC;QACF,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAsC;QAC1C,+DAA+D;QAC/D,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YAC7B,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SACnB;aAAM;YACL,uBAAA,IAAI,gCAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SAC9B;IACH,CAAC;IAED,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IAET,UAAU,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AAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/scope-manager/package.json b/node_modules/@typescript-eslint/scope-manager/package.json index d15748f686..9b8a23a311 100644 --- a/node_modules/@typescript-eslint/scope-manager/package.json +++ b/node_modules/@typescript-eslint/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "6.4.0", + "version": "6.4.1", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -44,16 +44,16 @@ "typecheck": "nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0" + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1" }, "devDependencies": { "@types/glob": "*", - "@typescript-eslint/typescript-estree": "6.4.0", + "@typescript-eslint/typescript-estree": "6.4.1", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", - "prettier": "*", + "prettier": "^2.8.4", "pretty-format": "*", "rimraf": "*", "typescript": "*" @@ -69,5 +69,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/TypeOrValueSpecifier.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/TypeOrValueSpecifier.d.ts deleted file mode 100644 index bf7bcb0101..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/TypeOrValueSpecifier.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import type { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -import type * as ts from 'typescript'; -interface FileSpecifier { - from: 'file'; - name: string[] | string; - path?: string; -} -interface LibSpecifier { - from: 'lib'; - name: string[] | string; -} -interface PackageSpecifier { - from: 'package'; - name: string[] | string; - package: string; -} -export type TypeOrValueSpecifier = FileSpecifier | LibSpecifier | PackageSpecifier | string; -export declare const typeOrValueSpecifierSchema: JSONSchema4; -export declare function typeMatchesSpecifier(type: ts.Type, specifier: TypeOrValueSpecifier, program: ts.Program): boolean; -export {}; -//# sourceMappingURL=TypeOrValueSpecifier.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/containsAllTypesByName.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/containsAllTypesByName.d.ts deleted file mode 100644 index 0955796747..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/containsAllTypesByName.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as ts from 'typescript'; -/** - * @param type Type being checked by name. - * @param allowAny Whether to consider `any` and `unknown` to match. - * @param allowedNames Symbol names checking on the type. - * @param matchAnyInstead Whether to instead just check if any parts match, rather than all parts. - * @returns Whether the type is, extends, or contains the allowed names (or all matches the allowed names, if mustMatchAll is true). - */ -export declare function containsAllTypesByName(type: ts.Type, allowAny: boolean, allowedNames: Set, matchAnyInstead?: boolean): boolean; -//# sourceMappingURL=containsAllTypesByName.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getConstrainedTypeAtLocation.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getConstrainedTypeAtLocation.d.ts deleted file mode 100644 index fa28224a6d..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getConstrainedTypeAtLocation.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { ParserServicesWithTypeInformation, TSESTree } from '@typescript-eslint/typescript-estree'; -import type * as ts from 'typescript'; -/** - * Resolves the given node's type. Will resolve to the type's generic constraint, if it has one. - */ -export declare function getConstrainedTypeAtLocation(services: ParserServicesWithTypeInformation, node: TSESTree.Node): ts.Type; -//# sourceMappingURL=getConstrainedTypeAtLocation.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getContextualType.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getContextualType.d.ts deleted file mode 100644 index 44bb8ab747..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getContextualType.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import * as ts from 'typescript'; -/** - * Returns the contextual type of a given node. - * Contextual type is the type of the target the node is going into. - * i.e. the type of a called function's parameter, or the defined type of a variable declaration - */ -export declare function getContextualType(checker: ts.TypeChecker, node: ts.Expression): ts.Type | undefined; -//# sourceMappingURL=getContextualType.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getDeclaration.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getDeclaration.d.ts deleted file mode 100644 index e367d9eeee..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getDeclaration.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { ParserServicesWithTypeInformation, TSESTree } from '@typescript-eslint/typescript-estree'; -import type * as ts from 'typescript'; -/** - * Gets the declaration for the given variable - */ -export declare function getDeclaration(services: ParserServicesWithTypeInformation, node: TSESTree.Node): ts.Declaration | null; -//# sourceMappingURL=getDeclaration.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getSourceFileOfNode.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getSourceFileOfNode.d.ts deleted file mode 100644 index 4855880fa0..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getSourceFileOfNode.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import * as ts from 'typescript'; -/** - * Gets the source file for a given node - */ -export declare function getSourceFileOfNode(node: ts.Node): ts.SourceFile; -//# sourceMappingURL=getSourceFileOfNode.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTokenAtPosition.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTokenAtPosition.d.ts deleted file mode 100644 index c63d08204d..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTokenAtPosition.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as ts from 'typescript'; -export declare function getTokenAtPosition(sourceFile: ts.SourceFile, position: number): ts.Node; -//# sourceMappingURL=getTokenAtPosition.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTypeArguments.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTypeArguments.d.ts deleted file mode 100644 index 478937689e..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTypeArguments.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type * as ts from 'typescript'; -export declare function getTypeArguments(type: ts.TypeReference, checker: ts.TypeChecker): readonly ts.Type[]; -//# sourceMappingURL=getTypeArguments.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTypeName.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTypeName.d.ts deleted file mode 100644 index 1d46b978ef..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/getTypeName.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import * as ts from 'typescript'; -/** - * Get the type name of a given type. - * @param typeChecker The context sensitive TypeScript TypeChecker. - * @param type The type to get the name of. - */ -export declare function getTypeName(typeChecker: ts.TypeChecker, type: ts.Type): string; -//# sourceMappingURL=getTypeName.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/index.d.ts deleted file mode 100644 index c5b373cd23..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -export * from './containsAllTypesByName'; -export * from './getConstrainedTypeAtLocation'; -export * from './getContextualType'; -export * from './getDeclaration'; -export * from './getSourceFileOfNode'; -export * from './getTokenAtPosition'; -export * from './getTypeArguments'; -export * from './getTypeName'; -export * from './isTypeReadonly'; -export * from './isUnsafeAssignment'; -export * from './predicates'; -export * from './propertyTypes'; -export * from './requiresQuoting'; -export * from './TypeOrValueSpecifier'; -export * from './typeFlagUtils'; -export { getDecorators, getModifiers, typescriptVersionIsAtLeast, } from '@typescript-eslint/typescript-estree'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/isTypeReadonly.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/isTypeReadonly.d.ts deleted file mode 100644 index 994e951090..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/isTypeReadonly.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import type { JSONSchema4 } from '@typescript-eslint/utils/json-schema'; -import * as ts from 'typescript'; -import type { TypeOrValueSpecifier } from './TypeOrValueSpecifier'; -export interface ReadonlynessOptions { - readonly treatMethodsAsReadonly?: boolean; - readonly allow?: TypeOrValueSpecifier[]; -} -export declare const readonlynessOptionsSchema: { - type: "object"; - additionalProperties: false; - properties: { - treatMethodsAsReadonly: { - type: "boolean"; - }; - allow: { - type: "array"; - items: JSONSchema4; - }; - }; -}; -export declare const readonlynessOptionsDefaults: ReadonlynessOptions; -/** - * Checks if the given type is readonly - */ -declare function isTypeReadonly(program: ts.Program, type: ts.Type, options?: ReadonlynessOptions): boolean; -export { isTypeReadonly }; -//# sourceMappingURL=isTypeReadonly.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/isUnsafeAssignment.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/isUnsafeAssignment.d.ts deleted file mode 100644 index e57dd42c8c..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/isUnsafeAssignment.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { TSESTree } from '@typescript-eslint/utils'; -import type * as ts from 'typescript'; -/** - * Does a simple check to see if there is an any being assigned to a non-any type. - * - * This also checks generic positions to ensure there's no unsafe sub-assignments. - * Note: in the case of generic positions, it makes the assumption that the two types are the same. - * - * @example See tests for examples - * - * @returns false if it's safe, or an object with the two types if it's unsafe - */ -export declare function isUnsafeAssignment(type: ts.Type, receiver: ts.Type, checker: ts.TypeChecker, senderNode: TSESTree.Node | null): false | { - sender: ts.Type; - receiver: ts.Type; -}; -//# sourceMappingURL=isUnsafeAssignment.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/predicates.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/predicates.d.ts deleted file mode 100644 index 895f506402..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/predicates.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import * as ts from 'typescript'; -/** - * Checks if the given type is (or accepts) nullable - * @param isReceiver true if the type is a receiving type (i.e. the type of a called function's parameter) - */ -export declare function isNullableType(type: ts.Type, { isReceiver, allowUndefined, }?: { - isReceiver?: boolean; - allowUndefined?: boolean; -}): boolean; -/** - * Checks if the given type is either an array type, - * or a union made up solely of array types. - */ -export declare function isTypeArrayTypeOrUnionOfArrayTypes(type: ts.Type, checker: ts.TypeChecker): boolean; -/** - * @returns true if the type is `never` - */ -export declare function isTypeNeverType(type: ts.Type): boolean; -/** - * @returns true if the type is `unknown` - */ -export declare function isTypeUnknownType(type: ts.Type): boolean; -export declare function isTypeReferenceType(type: ts.Type): type is ts.TypeReference; -/** - * @returns true if the type is `any` - */ -export declare function isTypeAnyType(type: ts.Type): boolean; -/** - * @returns true if the type is `any[]` - */ -export declare function isTypeAnyArrayType(type: ts.Type, checker: ts.TypeChecker): boolean; -/** - * @returns true if the type is `unknown[]` - */ -export declare function isTypeUnknownArrayType(type: ts.Type, checker: ts.TypeChecker): boolean; -export declare enum AnyType { - Any = 0, - AnyArray = 1, - Safe = 2 -} -/** - * @returns `AnyType.Any` if the type is `any`, `AnyType.AnyArray` if the type is `any[]` or `readonly any[]`, - * otherwise it returns `AnyType.Safe`. - */ -export declare function isAnyOrAnyArrayTypeDiscriminated(node: ts.Node, checker: ts.TypeChecker): AnyType; -/** - * @returns Whether a type is an instance of the parent type, including for the parent's base types. - */ -export declare function typeIsOrHasBaseType(type: ts.Type, parentType: ts.Type): boolean; -export declare function isTypeBigIntLiteralType(type: ts.Type): type is ts.BigIntLiteralType; -export declare function isTypeTemplateLiteralType(type: ts.Type): type is ts.TemplateLiteralType; -//# sourceMappingURL=predicates.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/propertyTypes.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/propertyTypes.d.ts deleted file mode 100644 index 3f5d8e597d..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/propertyTypes.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type * as ts from 'typescript'; -export declare function getTypeOfPropertyOfName(checker: ts.TypeChecker, type: ts.Type, name: string, escapedName?: ts.__String): ts.Type | undefined; -export declare function getTypeOfPropertyOfType(checker: ts.TypeChecker, type: ts.Type, property: ts.Symbol): ts.Type | undefined; -//# sourceMappingURL=propertyTypes.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/requiresQuoting.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/requiresQuoting.d.ts deleted file mode 100644 index aa63f84cdd..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/requiresQuoting.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as ts from 'typescript'; -declare function requiresQuoting(name: string, target?: ts.ScriptTarget): boolean; -export { requiresQuoting }; -//# sourceMappingURL=requiresQuoting.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/typeFlagUtils.d.ts b/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/typeFlagUtils.d.ts deleted file mode 100644 index 956076dcf9..0000000000 --- a/node_modules/@typescript-eslint/type-utils/_ts4.3/dist/typeFlagUtils.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as ts from 'typescript'; -/** - * Gets all of the type flags in a type, iterating through unions automatically. - */ -export declare function getTypeFlags(type: ts.Type): ts.TypeFlags; -/** - * @param flagsToCheck The composition of one or more `ts.TypeFlags`. - * @param isReceiver Whether the type is a receiving type (e.g. the type of a - * called function's parameter). - * @remarks - * Note that if the type is a union, this function will decompose it into the - * parts and get the flags of every union constituent. If this is not desired, - * use the `isTypeFlag` function from tsutils. - */ -export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags, isReceiver?: boolean): boolean; -//# sourceMappingURL=typeFlagUtils.d.ts.map diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index 337f19bb2d..6d8e9848a3 100644 --- a/node_modules/@typescript-eslint/type-utils/package.json +++ b/node_modules/@typescript-eslint/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "6.4.0", + "version": "6.4.1", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -45,14 +45,18 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "6.4.0", - "@typescript-eslint/utils": "6.4.0", + "@typescript-eslint/typescript-estree": "6.4.1", + "@typescript-eslint/utils": "6.4.1", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, "devDependencies": { - "@typescript-eslint/parser": "6.4.0", - "ajv": "^8.12.0", + "@typescript-eslint/parser": "6.4.1", + "ajv": "^6.10.0", + "downlevel-dts": "*", + "jest": "29.6.2", + "prettier": "^2.8.4", + "rimraf": "*", "typescript": "*" }, "peerDependencies": { @@ -74,5 +78,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/types/package.json index bae6c070b6..1fa7d8af1b 100644 --- a/node_modules/@typescript-eslint/types/package.json +++ b/node_modules/@typescript-eslint/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "6.4.0", + "version": "6.4.1", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", @@ -73,6 +73,10 @@ } }, "devDependencies": { + "downlevel-dts": "*", + "prettier": "^2.8.4", + "rimraf": "*", + "tsx": "*", "typescript": "*" }, "funding": { @@ -86,5 +90,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ast-converter.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ast-converter.d.ts deleted file mode 100644 index f1e315bb5a..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ast-converter.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { SourceFile } from 'typescript'; -import type { ASTMaps } from './convert'; -import type { ParseSettings } from './parseSettings'; -import type { TSESTree } from './ts-estree'; -export declare function astConverter(ast: SourceFile, parseSettings: ParseSettings, shouldPreserveNodeMaps: boolean): { - estree: TSESTree.Program; - astMaps: ASTMaps; -}; -//# sourceMappingURL=ast-converter.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/clear-caches.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/clear-caches.d.ts deleted file mode 100644 index 7e85085b94..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/clear-caches.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Clears all of the internal caches. - * Generally you shouldn't need or want to use this. - * Examples of intended uses: - * - In tests to reset parser state to keep tests isolated. - * - In custom lint tooling that iteratively lints one project at a time to prevent OOMs. - */ -export declare function clearCaches(): void; -export declare const clearProgramCache: typeof clearCaches; -//# sourceMappingURL=clear-caches.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/convert-comments.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/convert-comments.d.ts deleted file mode 100644 index 1776f65558..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/convert-comments.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import * as ts from 'typescript'; -import type { TSESTree } from './ts-estree'; -/** - * Convert all comments for the given AST. - * @param ast the AST object - * @param code the TypeScript code - * @returns the converted ESTreeComment - * @private - */ -export declare function convertComments(ast: ts.SourceFile, code: string): TSESTree.Comment[]; -//# sourceMappingURL=convert-comments.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/convert.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/convert.d.ts deleted file mode 100644 index 746fed140c..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/convert.d.ts +++ /dev/null @@ -1,142 +0,0 @@ -import * as ts from 'typescript'; -import type { TSError } from './node-utils'; -import type { ParserWeakMap, ParserWeakMapESTreeToTSNode } from './parser-options'; -import type { SemanticOrSyntacticError } from './semantic-or-syntactic-errors'; -import type { TSESTree, TSNode } from './ts-estree'; -export interface ConverterOptions { - allowInvalidAST?: boolean; - errorOnUnknownASTType?: boolean; - shouldPreserveNodeMaps?: boolean; - suppressDeprecatedPropertyWarnings?: boolean; -} -/** - * Extends and formats a given error object - * @param error the error object - * @returns converted error object - */ -export declare function convertError(error: SemanticOrSyntacticError | ts.DiagnosticWithLocation): TSError; -export interface ASTMaps { - esTreeNodeToTSNodeMap: ParserWeakMapESTreeToTSNode; - tsNodeToESTreeNodeMap: ParserWeakMap; -} -export declare class Converter { - #private; - private readonly ast; - private readonly options; - private readonly esTreeNodeToTSNodeMap; - private readonly tsNodeToESTreeNodeMap; - private allowPattern; - /** - * Converts a TypeScript node into an ESTree node - * @param ast the full TypeScript AST - * @param options additional options for the conversion - * @returns the converted ESTreeNode - */ - constructor(ast: ts.SourceFile, options?: ConverterOptions); - getASTMaps(): ASTMaps; - convertProgram(): TSESTree.Program; - /** - * Converts a TypeScript node into an ESTree node. - * @param node the child ts.Node - * @param parent parentNode - * @param allowPattern flag to determine if patterns are allowed - * @returns the converted ESTree node - */ - private converter; - /** - * Fixes the exports of the given ts.Node - * @param node the ts.Node - * @param result result - * @returns the ESTreeNode with fixed exports - */ - private fixExports; - /** - * Register specific TypeScript node into map with first ESTree node provided - */ - private registerTSNodeInNodeMap; - /** - * Converts a TypeScript node into an ESTree node. - * @param child the child ts.Node - * @param parent parentNode - * @returns the converted ESTree node - */ - private convertPattern; - /** - * Converts a TypeScript node into an ESTree node. - * @param child the child ts.Node - * @param parent parentNode - * @returns the converted ESTree node - */ - private convertChild; - private createNode; - private convertBindingNameWithTypeAnnotation; - /** - * Converts a child into a type annotation. This creates an intermediary - * TypeAnnotation node to match what Flow does. - * @param child The TypeScript AST node to convert. - * @param parent parentNode - * @returns The type annotation node. - */ - private convertTypeAnnotation; - /** - * Coverts body Nodes and add a directive field to StringLiterals - * @param nodes of ts.Node - * @param parent parentNode - * @returns Array of body statements - */ - private convertBodyExpressions; - /** - * Converts a ts.Node's typeArguments to TSTypeParameterInstantiation node - * @param typeArguments ts.NodeArray typeArguments - * @param node parent used to create this node - * @returns TypeParameterInstantiation node - */ - private convertTypeArgumentsToTypeParameterInstantiation; - /** - * Converts a ts.Node's typeParameters to TSTypeParameterDeclaration node - * @param typeParameters ts.Node typeParameters - * @returns TypeParameterDeclaration node - */ - private convertTSTypeParametersToTypeParametersDeclaration; - /** - * Converts an array of ts.Node parameters into an array of ESTreeNode params - * @param parameters An array of ts.Node params to be converted - * @returns an array of converted ESTreeNode params - */ - private convertParameters; - private convertChainExpression; - /** - * For nodes that are copied directly from the TypeScript AST into - * ESTree mostly as-is. The only difference is the addition of a type - * property instead of a kind property. Recursively copies all children. - */ - private deeplyCopy; - private convertJSXIdentifier; - private convertJSXNamespaceOrIdentifier; - /** - * Converts a TypeScript JSX node.tagName into an ESTree node.name - * @param node the tagName object from a JSX ts.Node - * @param parent - * @returns the converted ESTree name object - */ - private convertJSXTagName; - private convertMethodSignature; - private convertAssertClasue; - /** - * Uses the provided range location to adjust the location data of the given Node - * @param result The node that will have its location data mutated - * @param childRange The child node range used to expand location - */ - private fixParentLocation; - private assertModuleSpecifier; - /** - * Converts a TypeScript node into an ESTree node. - * The core of the conversion logic: - * Identify and convert each relevant TypeScript SyntaxKind - * @param node the child ts.Node - * @param parent parentNode - * @returns the converted ESTree node - */ - private convertNode; -} -//# sourceMappingURL=convert.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/WatchCompilerHostOfConfigFile.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/WatchCompilerHostOfConfigFile.d.ts deleted file mode 100644 index f6c74cb2e6..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type * as ts from 'typescript'; -interface DirectoryStructureHost { - readDirectory?(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[]; -} -interface CachedDirectoryStructureHost extends DirectoryStructureHost { - readDirectory(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[]; -} -interface WatchCompilerHostOfConfigFile extends ts.WatchCompilerHostOfConfigFile { - onCachedDirectoryStructureHostCreate(host: CachedDirectoryStructureHost): void; - extraFileExtensions?: readonly ts.FileExtensionInfo[]; -} -export { WatchCompilerHostOfConfigFile }; -//# sourceMappingURL=WatchCompilerHostOfConfigFile.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createDefaultProgram.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createDefaultProgram.d.ts deleted file mode 100644 index 2c651b289b..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createDefaultProgram.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { ParseSettings } from '../parseSettings'; -import type { ASTAndDefiniteProgram } from './shared'; -/** - * @param parseSettings Internal settings for parsing the file - * @returns If found, returns the source file corresponding to the code and the containing program - * @deprecated - * This is a legacy option that comes with severe performance penalties. - * Please do not use it. - */ -declare function createDefaultProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram | undefined; -export { createDefaultProgram }; -//# sourceMappingURL=createDefaultProgram.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createIsolatedProgram.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createIsolatedProgram.d.ts deleted file mode 100644 index f13b9e3835..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createIsolatedProgram.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { ParseSettings } from '../parseSettings'; -import type { ASTAndDefiniteProgram } from './shared'; -/** - * @param code The code of the file being linted - * @returns Returns a new source file and program corresponding to the linted code - */ -declare function createIsolatedProgram(parseSettings: ParseSettings): ASTAndDefiniteProgram; -export { createIsolatedProgram }; -//# sourceMappingURL=createIsolatedProgram.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts deleted file mode 100644 index e223dfecb8..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectProgram.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as ts from 'typescript'; -import type { ParseSettings } from '../parseSettings'; -import type { ASTAndDefiniteProgram } from './shared'; -/** - * @param parseSettings Internal settings for parsing the file - * @returns If found, the source file corresponding to the code and the containing program - */ -declare function createProjectProgram(parseSettings: ParseSettings, programsForProjects: readonly ts.Program[]): ASTAndDefiniteProgram | undefined; -export { createProjectProgram }; -//# sourceMappingURL=createProjectProgram.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts deleted file mode 100644 index e0137373c0..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createProjectService.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type * as ts from 'typescript/lib/tsserverlibrary'; -export type TypeScriptProjectService = ts.server.ProjectService; -export declare function createProjectService(): TypeScriptProjectService; -//# sourceMappingURL=createProjectService.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createSourceFile.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createSourceFile.d.ts deleted file mode 100644 index e3e342462e..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/createSourceFile.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import * as ts from 'typescript'; -import type { ParseSettings } from '../parseSettings'; -import type { ASTAndNoProgram } from './shared'; -declare function createSourceFile(parseSettings: ParseSettings): ts.SourceFile; -declare function createNoProgram(parseSettings: ParseSettings): ASTAndNoProgram; -export { createSourceFile, createNoProgram }; -//# sourceMappingURL=createSourceFile.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/describeFilePath.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/describeFilePath.d.ts deleted file mode 100644 index 88ae9a7a58..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/describeFilePath.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare function describeFilePath(filePath: string, tsconfigRootDir: string): string; -//# sourceMappingURL=describeFilePath.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/getScriptKind.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/getScriptKind.d.ts deleted file mode 100644 index c8e8074691..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/getScriptKind.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as ts from 'typescript'; -declare function getScriptKind(filePath: string, jsx: boolean): ts.ScriptKind; -declare function getLanguageVariant(scriptKind: ts.ScriptKind): ts.LanguageVariant; -export { getScriptKind, getLanguageVariant }; -//# sourceMappingURL=getScriptKind.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/getWatchProgramsForProjects.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/getWatchProgramsForProjects.d.ts deleted file mode 100644 index 4afce3b3f9..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/getWatchProgramsForProjects.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import * as ts from 'typescript'; -import type { ParseSettings } from '../parseSettings'; -/** - * Clear all of the parser caches. - * This should only be used in testing to ensure the parser is clean between tests. - */ -declare function clearWatchCaches(): void; -/** - * Calculate project environments using options provided by consumer and paths from config - * @param parseSettings Internal settings for parsing the file - * @returns The programs corresponding to the supplied tsconfig paths - */ -declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; -export { clearWatchCaches, getWatchProgramsForProjects }; -//# sourceMappingURL=getWatchProgramsForProjects.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts deleted file mode 100644 index c9eeee25b6..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/shared.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { Program } from 'typescript'; -import * as ts from 'typescript'; -import type { ParseSettings } from '../parseSettings'; -interface ASTAndNoProgram { - ast: ts.SourceFile; - program: null; -} -interface ASTAndDefiniteProgram { - ast: ts.SourceFile; - program: ts.Program; -} -type ASTAndProgram = ASTAndDefiniteProgram | ASTAndNoProgram; -/** - * Compiler options required to avoid critical functionality issues - */ -declare const CORE_COMPILER_OPTIONS: ts.CompilerOptions; -declare function createDefaultCompilerOptionsFromExtra(parseSettings: ParseSettings): ts.CompilerOptions; -type CanonicalPath = string & { - __brand: unknown; -}; -declare function getCanonicalFileName(filePath: string): CanonicalPath; -declare function ensureAbsolutePath(p: string, tsconfigRootDir: string): string; -declare function canonicalDirname(p: CanonicalPath): CanonicalPath; -declare function getAstFromProgram(currentProgram: Program, filePath: string): ASTAndDefiniteProgram | undefined; -/** - * Hash content for compare content. - * @param content hashed contend - * @returns hashed result - */ -declare function createHash(content: string): string; -export { ASTAndDefiniteProgram, ASTAndNoProgram, ASTAndProgram, CORE_COMPILER_OPTIONS, canonicalDirname, CanonicalPath, createDefaultCompilerOptionsFromExtra, createHash, ensureAbsolutePath, getCanonicalFileName, getAstFromProgram, }; -//# sourceMappingURL=shared.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts deleted file mode 100644 index e118ba7dae..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/create-program/useProvidedPrograms.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as ts from 'typescript'; -import type { ASTAndDefiniteProgram } from './shared'; -export interface ProvidedProgramsSettings { - filePath: string; - tsconfigRootDir: string; -} -declare function useProvidedPrograms(programInstances: Iterable, { filePath, tsconfigRootDir }: ProvidedProgramsSettings): ASTAndDefiniteProgram | undefined; -/** - * Utility offered by parser to help consumers construct their own program instance. - * - * @param configFile the path to the tsconfig.json file, relative to `projectDirectory` - * @param projectDirectory the project directory to use as the CWD, defaults to `process.cwd()` - */ -declare function createProgramFromConfigFile(configFile: string, projectDirectory?: string): ts.Program; -export { useProvidedPrograms, createProgramFromConfigFile }; -//# sourceMappingURL=useProvidedPrograms.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/createParserServices.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/createParserServices.d.ts deleted file mode 100644 index 7fba420f2e..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/createParserServices.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type * as ts from 'typescript'; -import type { ASTMaps } from './convert'; -import type { ParserServices } from './parser-options'; -export declare function createParserServices(astMaps: ASTMaps, program: ts.Program | null): ParserServices; -//# sourceMappingURL=createParserServices.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/getModifiers.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/getModifiers.d.ts deleted file mode 100644 index a83e51187a..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/getModifiers.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as ts from 'typescript'; -export declare function getModifiers(node: ts.Node | null | undefined, includeIllegalModifiers?: boolean): ts.Modifier[] | undefined; -export declare function getDecorators(node: ts.Node | null | undefined, includeIllegalDecorators?: boolean): ts.Decorator[] | undefined; -//# sourceMappingURL=getModifiers.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/index.d.ts deleted file mode 100644 index cfcaa9f520..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export { AST, parse, parseAndGenerateServices, ParseAndGenerateServicesResult, } from './parser'; -export { ParserServices, ParserServicesWithTypeInformation, ParserServicesWithoutTypeInformation, TSESTreeOptions, } from './parser-options'; -export { simpleTraverse } from './simple-traverse'; -export * from './ts-estree'; -export { createProgramFromConfigFile as createProgram } from './create-program/useProvidedPrograms'; -export * from './create-program/getScriptKind'; -export { getCanonicalFileName } from './create-program/shared'; -export { typescriptVersionIsAtLeast } from './version-check'; -export * from './getModifiers'; -export { TSError } from './node-utils'; -export * from './clear-caches'; -export declare const version: string; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/jsx/xhtml-entities.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/jsx/xhtml-entities.d.ts deleted file mode 100644 index c7ce37547e..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/jsx/xhtml-entities.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare const xhtmlEntities: Record; -//# sourceMappingURL=xhtml-entities.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/node-utils.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/node-utils.d.ts deleted file mode 100644 index 261a31015e..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/node-utils.d.ts +++ /dev/null @@ -1,255 +0,0 @@ -import * as ts from 'typescript'; -import type { TSESTree, TSNode } from './ts-estree'; -import { AST_NODE_TYPES, AST_TOKEN_TYPES } from './ts-estree'; -declare const SyntaxKind: typeof ts.SyntaxKind; -type LogicalOperatorKind = ts.SyntaxKind.AmpersandAmpersandToken | ts.SyntaxKind.BarBarToken | ts.SyntaxKind.QuestionQuestionToken; -interface TokenToText extends TSESTree.PunctuatorTokenToText, TSESTree.BinaryOperatorToText { - [SyntaxKind.ImportKeyword]: 'import'; - [SyntaxKind.NewKeyword]: 'new'; - [SyntaxKind.KeyOfKeyword]: 'keyof'; - [SyntaxKind.ReadonlyKeyword]: 'readonly'; - [SyntaxKind.UniqueKeyword]: 'unique'; -} -type AssignmentOperatorKind = keyof TSESTree.AssignmentOperatorToText; -type BinaryOperatorKind = keyof TSESTree.BinaryOperatorToText; -/** - * Returns true if the given ts.Token is a logical operator - * @param operator the operator token - * @returns is a logical operator - */ -export declare function isLogicalOperator(operator: ts.BinaryOperatorToken): operator is ts.Token; -export declare function isESTreeBinaryOperator(operator: ts.BinaryOperatorToken): operator is ts.Token; -type TokenForTokenKind = T extends keyof TokenToText ? TokenToText[T] : string | undefined; -/** - * Returns the string form of the given TSToken SyntaxKind - * @param kind the token's SyntaxKind - * @returns the token applicable token as a string - */ -export declare function getTextForTokenKind(kind: T): TokenForTokenKind; -/** - * Returns true if the given ts.Node is a valid ESTree class member - * @param node TypeScript AST node - * @returns is valid ESTree class member - */ -export declare function isESTreeClassMember(node: ts.Node): boolean; -/** - * Checks if a ts.Node has a modifier - * @param modifierKind TypeScript SyntaxKind modifier - * @param node TypeScript AST node - * @returns has the modifier specified - */ -export declare function hasModifier(modifierKind: ts.KeywordSyntaxKind, node: ts.Node): boolean; -/** - * Get last last modifier in ast - * @param node TypeScript AST node - * @returns returns last modifier if present or null - */ -export declare function getLastModifier(node: ts.Node): ts.Modifier | null; -/** - * Returns true if the given ts.Token is a comma - * @param token the TypeScript token - * @returns is comma - */ -export declare function isComma(token: ts.Node): token is ts.Token; -/** - * Returns true if the given ts.Node is a comment - * @param node the TypeScript node - * @returns is comment - */ -export declare function isComment(node: ts.Node): boolean; -/** - * Returns the binary expression type of the given ts.Token - * @param operator the operator token - * @returns the binary expression type - */ -export declare function getBinaryExpressionType(operator: ts.BinaryOperatorToken): { - type: AST_NODE_TYPES.AssignmentExpression; - operator: TokenForTokenKind; -} | { - type: AST_NODE_TYPES.BinaryExpression; - operator: TokenForTokenKind; -} | { - type: AST_NODE_TYPES.LogicalExpression; - operator: TokenForTokenKind; -}; -/** - * Returns line and column data for the given positions, - * @param pos position to check - * @param ast the AST object - * @returns line and column - */ -export declare function getLineAndCharacterFor(pos: number, ast: ts.SourceFile): TSESTree.Position; -/** - * Returns line and column data for the given start and end positions, - * for the given AST - * @param range start end data - * @param ast the AST object - * @returns the loc data - */ -export declare function getLocFor(range: TSESTree.Range, ast: ts.SourceFile): TSESTree.SourceLocation; -/** - * Check whatever node can contain directive - * @param node - * @returns returns true if node can contain directive - */ -export declare function canContainDirective(node: ts.Block | ts.ClassStaticBlockDeclaration | ts.ModuleBlock | ts.SourceFile): boolean; -/** - * Returns range for the given ts.Node - * @param node the ts.Node or ts.Token - * @param ast the AST object - * @returns the range data - */ -export declare function getRange(node: Pick, ast: ts.SourceFile): [ - number, - number -]; -/** - * Returns true if a given ts.Node is a JSX token - * @param node ts.Node to be checked - * @returns is a JSX token - */ -export declare function isJSXToken(node: ts.Node): boolean; -/** - * Returns the declaration kind of the given ts.Node - * @param node TypeScript AST node - * @returns declaration kind - */ -export declare function getDeclarationKind(node: ts.VariableDeclarationList): 'const' | 'let' | 'var'; -/** - * Gets a ts.Node's accessibility level - * @param node The ts.Node - * @returns accessibility "public", "protected", "private", or null - */ -export declare function getTSNodeAccessibility(node: ts.Node): 'private' | 'protected' | 'public' | undefined; -/** - * Finds the next token based on the previous one and its parent - * Had to copy this from TS instead of using TS's version because theirs doesn't pass the ast to getChildren - * @param previousToken The previous TSToken - * @param parent The parent TSNode - * @param ast The TS AST - * @returns the next TSToken - */ -export declare function findNextToken(previousToken: ts.TextRange, parent: ts.Node, ast: ts.SourceFile): ts.Node | undefined; -/** - * Find the first matching ancestor based on the given predicate function. - * @param node The current ts.Node - * @param predicate The predicate function to apply to each checked ancestor - * @returns a matching parent ts.Node - */ -export declare function findFirstMatchingAncestor(node: ts.Node, predicate: (node: ts.Node) => boolean): ts.Node | undefined; -/** - * Returns true if a given ts.Node has a JSX token within its hierarchy - * @param node ts.Node to be checked - * @returns has JSX ancestor - */ -export declare function hasJSXAncestor(node: ts.Node): boolean; -/** - * Unescape the text content of string literals, e.g. & -> & - * @param text The escaped string literal text. - * @returns The unescaped string literal text. - */ -export declare function unescapeStringLiteralText(text: string): string; -/** - * Returns true if a given ts.Node is a computed property - * @param node ts.Node to be checked - * @returns is Computed Property - */ -export declare function isComputedProperty(node: ts.Node): node is ts.ComputedPropertyName; -/** - * Returns true if a given ts.Node is optional (has QuestionToken) - * @param node ts.Node to be checked - * @returns is Optional - */ -export declare function isOptional(node: { - questionToken?: ts.QuestionToken; -}): boolean; -/** - * Returns true if the node is an optional chain node - */ -export declare function isChainExpression(node: TSESTree.Node): node is TSESTree.ChainExpression; -/** - * Returns true of the child of property access expression is an optional chain - */ -export declare function isChildUnwrappableOptionalChain(node: ts.CallExpression | ts.ElementAccessExpression | ts.NonNullExpression | ts.PropertyAccessExpression, child: TSESTree.Node): boolean; -/** - * Returns the type of a given ts.Token - * @param token the ts.Token - * @returns the token type - */ -export declare function getTokenType(token: ts.Identifier | ts.Token): Exclude; -/** - * Extends and formats a given ts.Token, for a given AST - * @param token the ts.Token - * @param ast the AST object - * @returns the converted Token - */ -export declare function convertToken(token: ts.Token, ast: ts.SourceFile): TSESTree.Token; -/** - * Converts all tokens for the given AST - * @param ast the AST object - * @returns the converted Tokens - */ -export declare function convertTokens(ast: ts.SourceFile): TSESTree.Token[]; -export declare class TSError extends Error { - readonly fileName: string; - readonly location: { - start: { - line: number; - column: number; - offset: number; - }; - end: { - line: number; - column: number; - offset: number; - }; - }; - constructor(message: string, fileName: string, location: { - start: { - line: number; - column: number; - offset: number; - }; - end: { - line: number; - column: number; - offset: number; - }; - }); - get index(): number; - get lineNumber(): number; - get column(): number; -} -/** - * @param message the error message - * @param ast the AST object - * @param startIndex the index at which the error starts - * @param endIndex the index at which the error ends - * @returns converted error object - */ -export declare function createError(message: string, ast: ts.SourceFile, startIndex: number, endIndex?: number): TSError; -export declare function nodeHasIllegalDecorators(node: ts.Node): node is ts.Node & { - illegalDecorators: ts.Node[]; -}; -/** - * @param n the TSNode - * @param ast the TS AST - */ -export declare function nodeHasTokens(n: ts.Node, ast: ts.SourceFile): boolean; -/** - * Like `forEach`, but suitable for use with numbers and strings (which may be falsy). - * @template T - * @template U - * @param array - * @param callback - */ -export declare function firstDefined(array: readonly T[] | undefined, callback: (element: T, index: number) => U | undefined): U | undefined; -export declare function identifierIsThisKeyword(id: ts.Identifier): boolean; -export declare function isThisIdentifier(node: ts.Node | undefined): node is ts.Identifier; -export declare function isThisInTypeQuery(node: ts.Node): boolean; -export declare function nodeIsPresent(node: ts.Node | undefined): node is ts.Node; -export declare function getContainingFunction(node: ts.Node): ts.SignatureDeclaration | undefined; -export declare function nodeCanBeDecorated(node: TSNode): boolean; -export declare function getNamespaceModifiers(node: ts.ModuleDeclaration): ts.Modifier[] | undefined; -export {}; -//# sourceMappingURL=node-utils.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/ExpiringCache.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/ExpiringCache.d.ts deleted file mode 100644 index 7b9400f3e7..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/ExpiringCache.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { CacheDurationSeconds } from '@typescript-eslint/types'; -export declare const DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS = 30; -export interface CacheLike { - get(key: Key): Value | void; - set(key: Key, value: Value): this; -} -/** - * A map with key-level expiration. - */ -export declare class ExpiringCache implements CacheLike { - #private; - constructor(cacheDurationSeconds: CacheDurationSeconds); - set(key: TKey, value: TValue): this; - get(key: TKey): TValue | undefined; - clear(): void; -} -//# sourceMappingURL=ExpiringCache.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts deleted file mode 100644 index b1f9af3f36..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/createParseSettings.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type * as ts from 'typescript'; -import type { TSESTreeOptions } from '../parser-options'; -import type { MutableParseSettings } from './index'; -export declare function createParseSettings(code: ts.SourceFile | string, options?: Partial): MutableParseSettings; -export declare function clearTSConfigMatchCache(): void; -export declare function clearTSServerProjectService(): void; -//# sourceMappingURL=createParseSettings.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/getProjectConfigFiles.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/getProjectConfigFiles.d.ts deleted file mode 100644 index 37f127798f..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/getProjectConfigFiles.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { ParseSettings } from '.'; -/** - * Checks for a matching TSConfig to a file including its parent directories, - * permanently caching results under each directory it checks. - * - * @remarks - * We don't (yet!) have a way to attach file watchers on disk, but still need to - * cache file checks for rapid subsequent calls to fs.existsSync. See discussion - * in https://github.com/typescript-eslint/typescript-eslint/issues/101. - */ -export declare function getProjectConfigFiles(parseSettings: Pick, project: string[] | string | true | null | undefined): string[] | null; -//# sourceMappingURL=getProjectConfigFiles.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts deleted file mode 100644 index 89ba140d74..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/index.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -import type * as ts from 'typescript'; -import type * as tsserverlibrary from 'typescript/lib/tsserverlibrary'; -import type { CanonicalPath } from '../create-program/shared'; -import type { TSESTree } from '../ts-estree'; -import type { CacheLike } from './ExpiringCache'; -type DebugModule = 'eslint' | 'typescript-eslint' | 'typescript'; -/** - * Internal settings used by the parser to run on a file. - */ -export interface MutableParseSettings { - /** - * Prevents the parser from throwing an error if it receives an invalid AST from TypeScript. - */ - allowInvalidAST: boolean; - /** - * Code of the file being parsed, or raw source file containing it. - */ - code: ts.SourceFile | string; - /** - * Full text of the file being parsed. - */ - codeFullText: string; - /** - * Whether the `comment` parse option is enabled. - */ - comment: boolean; - /** - * If the `comment` parse option is enabled, retrieved comments. - */ - comments: TSESTree.Comment[]; - /** - * @deprecated - * This is a legacy option that comes with severe performance penalties. - * Please do not use it. - */ - DEPRECATED__createDefaultProgram: boolean; - /** - * Which debug areas should be logged. - */ - debugLevel: Set; - /** - * Whether to error if TypeScript reports a semantic or syntactic error diagnostic. - */ - errorOnTypeScriptSyntacticAndSemanticIssues: boolean; - /** - * Whether to error if an unknown AST node type is encountered. - */ - errorOnUnknownASTType: boolean; - /** - * Experimental: TypeScript server to power program creation. - */ - EXPERIMENTAL_projectService: tsserverlibrary.server.ProjectService | undefined; - /** - * Whether TS should use the source files for referenced projects instead of the compiled .d.ts files. - * - * @remarks - * This feature is not yet optimized, and is likely to cause OOMs for medium to large projects. - * This flag REQUIRES at least TS v3.9, otherwise it does nothing. - */ - EXPERIMENTAL_useSourceOfProjectReferenceRedirect: boolean; - /** - * Any non-standard file extensions which will be parsed. - */ - extraFileExtensions: string[]; - /** - * Path of the file being parsed. - */ - filePath: string; - /** - * Whether parsing of JSX is enabled. - * - * @remarks The applicable file extension is still required. - */ - jsx: boolean; - /** - * Whether to add `loc` information to each node. - */ - loc: boolean; - /** - * Log function, if not `console.log`. - */ - log: (message: string) => void; - /** - * Whether two-way AST node maps are preserved during the AST conversion process. - */ - preserveNodeMaps?: boolean; - /** - * One or more instances of TypeScript Program objects to be used for type information. - */ - programs: Iterable | null; - /** - * Normalized paths to provided project paths. - */ - projects: readonly CanonicalPath[]; - /** - * Whether to add the `range` property to AST nodes. - */ - range: boolean; - /** - * Whether this is part of a single run, rather than a long-running process. - */ - singleRun: boolean; - /** - * Whether deprecated AST properties should skip calling console.warn on accesses. - */ - suppressDeprecatedPropertyWarnings: boolean; - /** - * If the `tokens` parse option is enabled, retrieved tokens. - */ - tokens: TSESTree.Token[] | null; - /** - * Caches searches for TSConfigs from project directories. - */ - tsconfigMatchCache: CacheLike; - /** - * The absolute path to the root directory for all provided `project`s. - */ - tsconfigRootDir: string; -} -export type ParseSettings = Readonly; -export {}; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/inferSingleRun.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/inferSingleRun.d.ts deleted file mode 100644 index 3807c572cc..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/inferSingleRun.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { TSESTreeOptions } from '../parser-options'; -/** - * ESLint (and therefore typescript-eslint) is used in both "single run"/one-time contexts, - * such as an ESLint CLI invocation, and long-running sessions (such as continuous feedback - * on a file in an IDE). - * - * When typescript-eslint handles TypeScript Program management behind the scenes, this distinction - * is important because there is significant overhead to managing the so called Watch Programs - * needed for the long-running use-case. We therefore use the following logic to figure out which - * of these contexts applies to the current execution. - * - * @returns Whether this is part of a single run, rather than a long-running process. - */ -export declare function inferSingleRun(options: TSESTreeOptions | undefined): boolean; -//# sourceMappingURL=inferSingleRun.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/resolveProjectList.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/resolveProjectList.d.ts deleted file mode 100644 index adb8f85275..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/resolveProjectList.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import type { CanonicalPath } from '../create-program/shared'; -import type { TSESTreeOptions } from '../parser-options'; -export declare function clearGlobCache(): void; -/** - * Normalizes, sanitizes, resolves and filters the provided project paths - */ -export declare function resolveProjectList(options: Readonly<{ - cacheLifetime?: TSESTreeOptions['cacheLifetime']; - project: string[] | null; - projectFolderIgnoreList: TSESTreeOptions['projectFolderIgnoreList']; - singleRun: boolean; - tsconfigRootDir: string; -}>): readonly CanonicalPath[]; -/** - * Exported for testing purposes only - * @internal - */ -export declare function clearGlobResolutionCache(): void; -//# sourceMappingURL=resolveProjectList.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/warnAboutTSVersion.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/warnAboutTSVersion.d.ts deleted file mode 100644 index 8044bd4ece..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parseSettings/warnAboutTSVersion.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import type { ParseSettings } from './index'; -export declare function warnAboutTSVersion(parseSettings: ParseSettings): void; -//# sourceMappingURL=warnAboutTSVersion.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts deleted file mode 100644 index 30d2c35eb1..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser-options.d.ts +++ /dev/null @@ -1,192 +0,0 @@ -import type { CacheDurationSeconds, DebugLevel } from '@typescript-eslint/types'; -import type * as ts from 'typescript'; -import type { TSESTree, TSESTreeToTSNode, TSNode, TSToken } from './ts-estree'; -interface ParseOptions { - /** - * Prevents the parser from throwing an error if it receives an invalid AST from TypeScript. - * This case only usually occurs when attempting to lint invalid code. - */ - allowInvalidAST?: boolean; - /** - * create a top-level comments array containing all comments - */ - comment?: boolean; - /** - * An array of modules to turn explicit debugging on for. - * - 'typescript-eslint' is the same as setting the env var `DEBUG=typescript-eslint:*` - * - 'eslint' is the same as setting the env var `DEBUG=eslint:*` - * - 'typescript' is the same as setting `extendedDiagnostics: true` in your tsconfig compilerOptions - * - * For convenience, also supports a boolean: - * - true === ['typescript-eslint'] - * - false === [] - */ - debugLevel?: DebugLevel; - /** - * Cause the parser to error if it encounters an unknown AST node type (useful for testing). - * This case only usually occurs when TypeScript releases new features. - */ - errorOnUnknownASTType?: boolean; - /** - * Absolute (or relative to `cwd`) path to the file being parsed. - */ - filePath?: string; - /** - * Enable parsing of JSX. - * For more details, see https://www.typescriptlang.org/docs/handbook/jsx.html - * - * NOTE: this setting does not effect known file types (.js, .cjs, .mjs, .jsx, .ts, .mts, .cts, .tsx, .json) because the - * TypeScript compiler has its own internal handling for known file extensions. - * - * For the exact behavior, see https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/parser#parseroptionsecmafeaturesjsx - */ - jsx?: boolean; - /** - * Controls whether the `loc` information to each node. - * The `loc` property is an object which contains the exact line/column the node starts/ends on. - * This is similar to the `range` property, except it is line/column relative. - */ - loc?: boolean; - loggerFn?: false | ((message: string) => void); - /** - * Controls whether the `range` property is included on AST nodes. - * The `range` property is a [number, number] which indicates the start/end index of the node in the file contents. - * This is similar to the `loc` property, except this is the absolute index. - */ - range?: boolean; - /** - * Set to true to create a top-level array containing all tokens from the file. - */ - tokens?: boolean; - /** - * Whether deprecated AST properties should skip calling console.warn on accesses. - */ - suppressDeprecatedPropertyWarnings?: boolean; -} -interface ParseAndGenerateServicesOptions extends ParseOptions { - /** - * Causes the parser to error if the TypeScript compiler returns any unexpected syntax/semantic errors. - */ - errorOnTypeScriptSyntacticAndSemanticIssues?: boolean; - /** - * ***EXPERIMENTAL FLAG*** - Use this at your own risk. - * - * Whether to create a shared TypeScript server to power program creation. - * - * @see https://github.com/typescript-eslint/typescript-eslint/issues/6575 - */ - EXPERIMENTAL_useProjectService?: boolean; - /** - * ***EXPERIMENTAL FLAG*** - Use this at your own risk. - * - * Causes TS to use the source files for referenced projects instead of the compiled .d.ts files. - * This feature is not yet optimized, and is likely to cause OOMs for medium to large projects. - * - * This flag REQUIRES at least TS v3.9, otherwise it does nothing. - * - * @see https://github.com/typescript-eslint/typescript-eslint/issues/2094 - */ - EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean; - /** - * When `project` is provided, this controls the non-standard file extensions which will be parsed. - * It accepts an array of file extensions, each preceded by a `.`. - */ - extraFileExtensions?: string[]; - /** - * Absolute (or relative to `tsconfigRootDir`) path to the file being parsed. - * When `project` is provided, this is required, as it is used to fetch the file from the TypeScript compiler's cache. - */ - filePath?: string; - /** - * Allows the user to control whether or not two-way AST node maps are preserved - * during the AST conversion process. - * - * By default: the AST node maps are NOT preserved, unless `project` has been specified, - * in which case the maps are made available on the returned `parserServices`. - * - * NOTE: If `preserveNodeMaps` is explicitly set by the user, it will be respected, - * regardless of whether or not `project` is in use. - */ - preserveNodeMaps?: boolean; - /** - * Absolute (or relative to `tsconfigRootDir`) paths to the tsconfig(s), - * or `true` to find the nearest tsconfig.json to the file. - * If this is provided, type information will be returned. - */ - project?: string[] | string | true | null; - /** - * If you provide a glob (or globs) to the project option, you can use this option to ignore certain folders from - * being matched by the globs. - * This accepts an array of globs to ignore. - * - * By default, this is set to ["**\/node_modules/**"] - */ - projectFolderIgnoreList?: string[]; - /** - * The absolute path to the root directory for all provided `project`s. - */ - tsconfigRootDir?: string; - /** - * An array of one or more instances of TypeScript Program objects to be used for type information. - * This overrides any program or programs that would have been computed from the `project` option. - * All linted files must be part of the provided program(s). - */ - programs?: ts.Program[] | null; - /** - * @deprecated - this flag will be removed in the next major. - * Do not rely on the behavior provided by this flag. - */ - DEPRECATED__createDefaultProgram?: boolean; - /** - * ESLint (and therefore typescript-eslint) is used in both "single run"/one-time contexts, - * such as an ESLint CLI invocation, and long-running sessions (such as continuous feedback - * on a file in an IDE). - * - * When typescript-eslint handles TypeScript Program management behind the scenes, this distinction - * is important because there is significant overhead to managing the so called Watch Programs - * needed for the long-running use-case. - * - * When allowAutomaticSingleRunInference is enabled, we will use common heuristics to infer - * whether or not ESLint is being used as part of a single run. - */ - allowAutomaticSingleRunInference?: boolean; - /** - * Granular control of the expiry lifetime of our internal caches. - * You can specify the number of seconds as an integer number, or the string - * 'Infinity' if you never want the cache to expire. - * - * By default cache entries will be evicted after 30 seconds, or will persist - * indefinitely if `allowAutomaticSingleRunInference = true` AND the parser - * infers that it is a single run. - */ - cacheLifetime?: { - /** - * Glob resolution for `parserOptions.project` values. - */ - glob?: CacheDurationSeconds; - }; -} -export type TSESTreeOptions = ParseAndGenerateServicesOptions; -export interface ParserWeakMap { - get(key: TKey): TValue; - has(key: unknown): boolean; -} -export interface ParserWeakMapESTreeToTSNode { - get(key: TKeyBase): TSESTreeToTSNode; - has(key: unknown): boolean; -} -export interface ParserServicesNodeMaps { - esTreeNodeToTSNodeMap: ParserWeakMapESTreeToTSNode; - tsNodeToESTreeNodeMap: ParserWeakMap; -} -export interface ParserServicesWithTypeInformation extends ParserServicesNodeMaps { - program: ts.Program; - getSymbolAtLocation: (node: TSESTree.Node) => ts.Symbol | undefined; - getTypeAtLocation: (node: TSESTree.Node) => ts.Type; -} -export interface ParserServicesWithoutTypeInformation extends ParserServicesNodeMaps { - program: null; -} -export type ParserServices = ParserServicesWithoutTypeInformation | ParserServicesWithTypeInformation; -export {}; -//# sourceMappingURL=parser-options.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser.d.ts deleted file mode 100644 index 3cef547492..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/parser.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type * as ts from 'typescript'; -import type { ParserServices, TSESTreeOptions } from './parser-options'; -import type { TSESTree } from './ts-estree'; -declare function clearProgramCache(): void; -interface EmptyObject { -} -type AST = TSESTree.Program & (T['comment'] extends true ? { - comments: TSESTree.Comment[]; -} : EmptyObject) & (T['tokens'] extends true ? { - tokens: TSESTree.Token[]; -} : EmptyObject); -interface ParseAndGenerateServicesResult { - ast: AST; - services: ParserServices; -} -declare function parse(code: string, options?: T): AST; -declare function clearParseAndGenerateServicesCalls(): void; -declare function parseAndGenerateServices(code: ts.SourceFile | string, options: T): ParseAndGenerateServicesResult; -export { AST, parse, parseAndGenerateServices, ParseAndGenerateServicesResult, clearProgramCache, clearParseAndGenerateServicesCalls, }; -//# sourceMappingURL=parser.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/semantic-or-syntactic-errors.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/semantic-or-syntactic-errors.d.ts deleted file mode 100644 index 0eced6b884..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/semantic-or-syntactic-errors.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type { Diagnostic, Program, SourceFile } from 'typescript'; -export interface SemanticOrSyntacticError extends Diagnostic { - message: string; -} -/** - * By default, diagnostics from the TypeScript compiler contain all errors - regardless of whether - * they are related to generic ECMAScript standards, or TypeScript-specific constructs. - * - * Therefore, we filter out all diagnostics, except for the ones we explicitly want to consider when - * the user opts in to throwing errors on semantic issues. - */ -export declare function getFirstSemanticOrSyntacticError(program: Program, ast: SourceFile): SemanticOrSyntacticError | undefined; -//# sourceMappingURL=semantic-or-syntactic-errors.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/simple-traverse.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/simple-traverse.d.ts deleted file mode 100644 index 00044ae769..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/simple-traverse.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { VisitorKeys } from '@typescript-eslint/visitor-keys'; -import type { TSESTree } from './ts-estree'; -type SimpleTraverseOptions = Readonly<{ - visitorKeys?: Readonly; - enter: (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void; -} | { - visitorKeys?: Readonly; - visitors: Record void>; -}>; -export declare function simpleTraverse(startingNode: TSESTree.Node, options: SimpleTraverseOptions, setParentPointers?: boolean): void; -export {}; -//# sourceMappingURL=simple-traverse.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/source-files.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/source-files.d.ts deleted file mode 100644 index 1f734b5a9e..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/source-files.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as ts from 'typescript'; -export declare function isSourceFile(code: unknown): code is ts.SourceFile; -export declare function getCodeText(code: ts.SourceFile | string): string; -//# sourceMappingURL=source-files.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/estree-to-ts-node-types.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/estree-to-ts-node-types.d.ts deleted file mode 100644 index 223ceb578e..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/estree-to-ts-node-types.d.ts +++ /dev/null @@ -1,178 +0,0 @@ -import type { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types'; -import type * as ts from 'typescript'; -import type { TSNode } from './ts-nodes'; -export interface EstreeToTsNodeTypes { - [AST_NODE_TYPES.AccessorProperty]: ts.PropertyDeclaration; - [AST_NODE_TYPES.ArrayExpression]: ts.ArrayLiteralExpression; - [AST_NODE_TYPES.ArrayPattern]: ts.ArrayBindingPattern | ts.ArrayLiteralExpression; - [AST_NODE_TYPES.ArrowFunctionExpression]: ts.ArrowFunction; - [AST_NODE_TYPES.AssignmentExpression]: ts.BinaryExpression; - [AST_NODE_TYPES.AssignmentPattern]: ts.BinaryExpression | ts.BindingElement | ts.ParameterDeclaration | ts.ShorthandPropertyAssignment; - [AST_NODE_TYPES.AwaitExpression]: ts.AwaitExpression; - [AST_NODE_TYPES.BinaryExpression]: ts.BinaryExpression; - [AST_NODE_TYPES.BlockStatement]: ts.Block; - [AST_NODE_TYPES.BreakStatement]: ts.BreakStatement; - [AST_NODE_TYPES.CallExpression]: ts.CallExpression; - [AST_NODE_TYPES.CatchClause]: ts.CatchClause; - [AST_NODE_TYPES.ChainExpression]: ts.CallExpression | ts.ElementAccessExpression | ts.NonNullExpression | ts.PropertyAccessExpression; - [AST_NODE_TYPES.ClassBody]: ts.ClassDeclaration | ts.ClassExpression; - [AST_NODE_TYPES.ClassDeclaration]: ts.ClassDeclaration; - [AST_NODE_TYPES.ClassExpression]: ts.ClassExpression; - [AST_NODE_TYPES.PropertyDefinition]: ts.PropertyDeclaration; - [AST_NODE_TYPES.ConditionalExpression]: ts.ConditionalExpression; - [AST_NODE_TYPES.ContinueStatement]: ts.ContinueStatement; - [AST_NODE_TYPES.DebuggerStatement]: ts.DebuggerStatement; - [AST_NODE_TYPES.Decorator]: ts.Decorator; - [AST_NODE_TYPES.DoWhileStatement]: ts.DoStatement; - [AST_NODE_TYPES.EmptyStatement]: ts.EmptyStatement; - [AST_NODE_TYPES.ExportAllDeclaration]: ts.ExportDeclaration; - [AST_NODE_TYPES.ExportDefaultDeclaration]: ts.ClassDeclaration | ts.ClassExpression | ts.EnumDeclaration | ts.ExportAssignment | ts.FunctionDeclaration | ts.InterfaceDeclaration | ts.ModuleDeclaration | ts.TypeAliasDeclaration | ts.VariableStatement; - [AST_NODE_TYPES.ExportNamedDeclaration]: ts.ClassDeclaration | ts.ClassExpression | ts.EnumDeclaration | ts.ExportDeclaration | ts.FunctionDeclaration | ts.ImportEqualsDeclaration | ts.InterfaceDeclaration | ts.ModuleDeclaration | ts.TypeAliasDeclaration | ts.VariableStatement; - [AST_NODE_TYPES.ExportSpecifier]: ts.ExportSpecifier; - [AST_NODE_TYPES.ExpressionStatement]: ts.ExpressionStatement; - [AST_NODE_TYPES.ForInStatement]: ts.ForInStatement; - [AST_NODE_TYPES.ForOfStatement]: ts.ForOfStatement; - [AST_NODE_TYPES.ForStatement]: ts.ForStatement; - [AST_NODE_TYPES.FunctionDeclaration]: ts.FunctionDeclaration; - [AST_NODE_TYPES.FunctionExpression]: ts.ConstructorDeclaration | ts.FunctionExpression | ts.GetAccessorDeclaration | ts.MethodDeclaration | ts.SetAccessorDeclaration; - [AST_NODE_TYPES.Identifier]: ts.ConstructorDeclaration | ts.Identifier | ts.Token; - [AST_NODE_TYPES.PrivateIdentifier]: ts.PrivateIdentifier; - [AST_NODE_TYPES.IfStatement]: ts.IfStatement; - [AST_NODE_TYPES.ImportAttribute]: ts.AssertEntry; - [AST_NODE_TYPES.ImportDeclaration]: ts.ImportDeclaration; - [AST_NODE_TYPES.ImportDefaultSpecifier]: ts.ImportClause; - [AST_NODE_TYPES.ImportExpression]: ts.CallExpression; - [AST_NODE_TYPES.ImportNamespaceSpecifier]: ts.NamespaceImport; - [AST_NODE_TYPES.ImportSpecifier]: ts.ImportSpecifier; - [AST_NODE_TYPES.JSXAttribute]: ts.JsxAttribute; - [AST_NODE_TYPES.JSXClosingElement]: ts.JsxClosingElement; - [AST_NODE_TYPES.JSXClosingFragment]: ts.JsxClosingFragment; - [AST_NODE_TYPES.JSXElement]: ts.JsxElement | ts.JsxSelfClosingElement; - [AST_NODE_TYPES.JSXEmptyExpression]: ts.JsxExpression; - [AST_NODE_TYPES.JSXExpressionContainer]: ts.JsxExpression; - [AST_NODE_TYPES.JSXFragment]: ts.JsxFragment; - [AST_NODE_TYPES.JSXIdentifier]: ts.Identifier | ts.ThisExpression; - [AST_NODE_TYPES.JSXOpeningElement]: ts.JsxOpeningElement | ts.JsxSelfClosingElement; - [AST_NODE_TYPES.JSXOpeningFragment]: ts.JsxOpeningFragment; - [AST_NODE_TYPES.JSXSpreadAttribute]: ts.JsxSpreadAttribute; - [AST_NODE_TYPES.JSXSpreadChild]: ts.JsxExpression; - [AST_NODE_TYPES.JSXMemberExpression]: ts.PropertyAccessExpression; - [AST_NODE_TYPES.JSXNamespacedName]: ts.JsxNamespacedName; - [AST_NODE_TYPES.JSXText]: ts.JsxText; - [AST_NODE_TYPES.LabeledStatement]: ts.LabeledStatement; - [AST_NODE_TYPES.Literal]: ts.BigIntLiteral | ts.BooleanLiteral | ts.NullLiteral | ts.NumericLiteral | ts.RegularExpressionLiteral | ts.StringLiteral; - [AST_NODE_TYPES.LogicalExpression]: ts.BinaryExpression; - [AST_NODE_TYPES.MemberExpression]: ts.ElementAccessExpression | ts.PropertyAccessExpression; - [AST_NODE_TYPES.MetaProperty]: ts.MetaProperty; - [AST_NODE_TYPES.MethodDefinition]: ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.MethodDeclaration | ts.SetAccessorDeclaration; - [AST_NODE_TYPES.NewExpression]: ts.NewExpression; - [AST_NODE_TYPES.ObjectExpression]: ts.ObjectLiteralExpression; - [AST_NODE_TYPES.ObjectPattern]: ts.ObjectBindingPattern | ts.ObjectLiteralExpression; - [AST_NODE_TYPES.Program]: ts.SourceFile; - [AST_NODE_TYPES.Property]: ts.BindingElement | ts.GetAccessorDeclaration | ts.MethodDeclaration | ts.PropertyAssignment | ts.SetAccessorDeclaration | ts.ShorthandPropertyAssignment; - [AST_NODE_TYPES.RestElement]: ts.BindingElement | ts.ParameterDeclaration | ts.SpreadAssignment | ts.SpreadElement; - [AST_NODE_TYPES.ReturnStatement]: ts.ReturnStatement; - [AST_NODE_TYPES.SequenceExpression]: ts.BinaryExpression; - [AST_NODE_TYPES.SpreadElement]: ts.SpreadAssignment | ts.SpreadElement; - [AST_NODE_TYPES.StaticBlock]: ts.ClassStaticBlockDeclaration; - [AST_NODE_TYPES.Super]: ts.SuperExpression; - [AST_NODE_TYPES.SwitchCase]: ts.CaseClause | ts.DefaultClause; - [AST_NODE_TYPES.SwitchStatement]: ts.SwitchStatement; - [AST_NODE_TYPES.TaggedTemplateExpression]: ts.TaggedTemplateExpression; - [AST_NODE_TYPES.TemplateElement]: ts.NoSubstitutionTemplateLiteral | ts.TemplateHead | ts.TemplateMiddle | ts.TemplateTail; - [AST_NODE_TYPES.TemplateLiteral]: ts.NoSubstitutionTemplateLiteral | ts.TemplateExpression; - [AST_NODE_TYPES.ThisExpression]: ts.Identifier | ts.KeywordTypeNode | ts.ThisExpression; - [AST_NODE_TYPES.ThrowStatement]: ts.ThrowStatement; - [AST_NODE_TYPES.TryStatement]: ts.TryStatement; - [AST_NODE_TYPES.TSAbstractAccessorProperty]: ts.PropertyDeclaration; - [AST_NODE_TYPES.TSAbstractPropertyDefinition]: ts.PropertyDeclaration; - [AST_NODE_TYPES.TSAbstractMethodDefinition]: ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.MethodDeclaration | ts.SetAccessorDeclaration; - [AST_NODE_TYPES.TSArrayType]: ts.ArrayTypeNode; - [AST_NODE_TYPES.TSAsExpression]: ts.AsExpression; - [AST_NODE_TYPES.TSCallSignatureDeclaration]: ts.CallSignatureDeclaration; - [AST_NODE_TYPES.TSClassImplements]: ts.ExpressionWithTypeArguments; - [AST_NODE_TYPES.TSConditionalType]: ts.ConditionalTypeNode; - [AST_NODE_TYPES.TSConstructorType]: ts.ConstructorTypeNode; - [AST_NODE_TYPES.TSConstructSignatureDeclaration]: ts.ConstructSignatureDeclaration; - [AST_NODE_TYPES.TSDeclareFunction]: ts.FunctionDeclaration; - [AST_NODE_TYPES.TSEnumDeclaration]: ts.EnumDeclaration; - [AST_NODE_TYPES.TSEnumMember]: ts.EnumMember; - [AST_NODE_TYPES.TSExportAssignment]: ts.ExportAssignment; - [AST_NODE_TYPES.TSExternalModuleReference]: ts.ExternalModuleReference; - [AST_NODE_TYPES.TSFunctionType]: ts.FunctionTypeNode; - [AST_NODE_TYPES.TSImportEqualsDeclaration]: ts.ImportEqualsDeclaration; - [AST_NODE_TYPES.TSImportType]: ts.ImportTypeNode; - [AST_NODE_TYPES.TSIndexedAccessType]: ts.IndexedAccessTypeNode; - [AST_NODE_TYPES.TSIndexSignature]: ts.IndexSignatureDeclaration; - [AST_NODE_TYPES.TSInferType]: ts.InferTypeNode; - [AST_NODE_TYPES.TSInterfaceDeclaration]: ts.InterfaceDeclaration; - [AST_NODE_TYPES.TSInterfaceBody]: ts.InterfaceDeclaration; - [AST_NODE_TYPES.TSInterfaceHeritage]: ts.ExpressionWithTypeArguments; - [AST_NODE_TYPES.TSIntersectionType]: ts.IntersectionTypeNode; - [AST_NODE_TYPES.TSInstantiationExpression]: ts.ExpressionWithTypeArguments; - [AST_NODE_TYPES.TSSatisfiesExpression]: ts.SatisfiesExpression; - [AST_NODE_TYPES.TSLiteralType]: ts.LiteralTypeNode; - [AST_NODE_TYPES.TSMappedType]: ts.MappedTypeNode; - [AST_NODE_TYPES.TSMethodSignature]: ts.GetAccessorDeclaration | ts.MethodSignature | ts.SetAccessorDeclaration; - [AST_NODE_TYPES.TSModuleBlock]: ts.ModuleBlock; - [AST_NODE_TYPES.TSModuleDeclaration]: ts.ModuleDeclaration; - [AST_NODE_TYPES.TSNamedTupleMember]: ts.NamedTupleMember; - [AST_NODE_TYPES.TSNamespaceExportDeclaration]: ts.NamespaceExportDeclaration; - [AST_NODE_TYPES.TSNonNullExpression]: ts.NonNullExpression; - [AST_NODE_TYPES.TSOptionalType]: ts.OptionalTypeNode; - [AST_NODE_TYPES.TSParameterProperty]: ts.ParameterDeclaration; - [AST_NODE_TYPES.TSPropertySignature]: ts.PropertySignature; - [AST_NODE_TYPES.TSQualifiedName]: ts.Identifier | ts.QualifiedName; - [AST_NODE_TYPES.TSRestType]: ts.NamedTupleMember | ts.RestTypeNode; - [AST_NODE_TYPES.TSThisType]: ts.ThisTypeNode; - [AST_NODE_TYPES.TSTupleType]: ts.TupleTypeNode; - [AST_NODE_TYPES.TSTemplateLiteralType]: ts.TemplateLiteralTypeNode; - [AST_NODE_TYPES.TSTypeAliasDeclaration]: ts.TypeAliasDeclaration; - [AST_NODE_TYPES.TSTypeAnnotation]: undefined; - [AST_NODE_TYPES.TSTypeAssertion]: ts.TypeAssertion; - [AST_NODE_TYPES.TSTypeLiteral]: ts.TypeLiteralNode; - [AST_NODE_TYPES.TSTypeOperator]: ts.TypeOperatorNode; - [AST_NODE_TYPES.TSTypeParameter]: ts.TypeParameterDeclaration; - [AST_NODE_TYPES.TSTypeParameterDeclaration]: undefined; - [AST_NODE_TYPES.TSTypeParameterInstantiation]: ts.CallExpression | ts.ExpressionWithTypeArguments | ts.ImportTypeNode | ts.JsxOpeningElement | ts.JsxSelfClosingElement | ts.NewExpression | ts.TaggedTemplateExpression | ts.TypeQueryNode | ts.TypeReferenceNode; - [AST_NODE_TYPES.TSTypePredicate]: ts.TypePredicateNode; - [AST_NODE_TYPES.TSTypeQuery]: ts.ImportTypeNode | ts.TypeQueryNode; - [AST_NODE_TYPES.TSTypeReference]: ts.TypeReferenceNode; - [AST_NODE_TYPES.TSUnionType]: ts.UnionTypeNode; - [AST_NODE_TYPES.UpdateExpression]: ts.PostfixUnaryExpression | ts.PrefixUnaryExpression; - [AST_NODE_TYPES.UnaryExpression]: ts.DeleteExpression | ts.PostfixUnaryExpression | ts.PrefixUnaryExpression | ts.TypeOfExpression | ts.VoidExpression; - [AST_NODE_TYPES.VariableDeclaration]: ts.VariableDeclarationList | ts.VariableStatement; - [AST_NODE_TYPES.VariableDeclarator]: ts.VariableDeclaration; - [AST_NODE_TYPES.WhileStatement]: ts.WhileStatement; - [AST_NODE_TYPES.WithStatement]: ts.WithStatement; - [AST_NODE_TYPES.YieldExpression]: ts.YieldExpression; - [AST_NODE_TYPES.TSEmptyBodyFunctionExpression]: ts.ConstructorDeclaration | ts.FunctionExpression | ts.GetAccessorDeclaration | ts.MethodDeclaration | ts.SetAccessorDeclaration; - [AST_NODE_TYPES.TSAbstractKeyword]: ts.Token; - [AST_NODE_TYPES.TSNullKeyword]: ts.KeywordTypeNode | ts.NullLiteral; - [AST_NODE_TYPES.TSAnyKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSBigIntKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSBooleanKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSIntrinsicKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSNeverKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSNumberKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSObjectKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSStringKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSSymbolKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSUnknownKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSVoidKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSUndefinedKeyword]: ts.KeywordTypeNode; - [AST_NODE_TYPES.TSAsyncKeyword]: ts.Token; - [AST_NODE_TYPES.TSDeclareKeyword]: ts.Token; - [AST_NODE_TYPES.TSExportKeyword]: ts.Token; - [AST_NODE_TYPES.TSStaticKeyword]: ts.Token; - [AST_NODE_TYPES.TSPublicKeyword]: ts.Token; - [AST_NODE_TYPES.TSPrivateKeyword]: ts.Token; - [AST_NODE_TYPES.TSProtectedKeyword]: ts.Token; - [AST_NODE_TYPES.TSReadonlyKeyword]: ts.Token; -} -/** - * Maps TSESTree AST Node type to the expected TypeScript AST Node type(s). - * This mapping is based on the internal logic of the parser. - */ -export type TSESTreeToTSNode = Extract | TSNode, EstreeToTsNodeTypes[T['type']]>; -//# sourceMappingURL=estree-to-ts-node-types.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/index.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/index.d.ts deleted file mode 100644 index d1a0cc80b5..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree, } from '@typescript-eslint/types'; -export * from './ts-nodes'; -export * from './estree-to-ts-node-types'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/ts-nodes.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/ts-nodes.d.ts deleted file mode 100644 index aef7695603..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/ts-estree/ts-nodes.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import type * as ts from 'typescript'; -declare module 'typescript' { - interface AssertClause extends ts.Node { - } - interface AssertEntry extends ts.Node { - } - interface SatisfiesExpression extends ts.Node { - } - interface JsxNamespacedName extends ts.Node { - } -} -export type TSToken = ts.Token; -export type TSNode = ts.AssertClause | ts.AssertEntry | ts.Modifier | ts.Identifier | ts.PrivateIdentifier | ts.QualifiedName | ts.ComputedPropertyName | ts.Decorator | ts.TypeParameterDeclaration | ts.CallSignatureDeclaration | ts.ConstructSignatureDeclaration | ts.VariableDeclaration | ts.VariableDeclarationList | ts.ParameterDeclaration | ts.BindingElement | ts.PropertySignature | ts.PropertyDeclaration | ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.SpreadAssignment | ts.ObjectBindingPattern | ts.ArrayBindingPattern | ts.FunctionDeclaration | ts.MethodSignature | ts.MethodDeclaration | ts.ConstructorDeclaration | ts.SemicolonClassElement | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.IndexSignatureDeclaration | ts.KeywordTypeNode | ts.ImportTypeNode | ts.ThisTypeNode | ts.ClassStaticBlockDeclaration | ts.ConstructorTypeNode | ts.FunctionTypeNode | ts.TypeReferenceNode | ts.TypePredicateNode | ts.TypeQueryNode | ts.TypeLiteralNode | ts.ArrayTypeNode | ts.NamedTupleMember | ts.TupleTypeNode | ts.OptionalTypeNode | ts.RestTypeNode | ts.UnionTypeNode | ts.IntersectionTypeNode | ts.ConditionalTypeNode | ts.InferTypeNode | ts.ParenthesizedTypeNode | ts.TypeOperatorNode | ts.IndexedAccessTypeNode | ts.MappedTypeNode | ts.LiteralTypeNode | ts.StringLiteral | ts.OmittedExpression | ts.PartiallyEmittedExpression | ts.PrefixUnaryExpression | ts.PostfixUnaryExpression | ts.NullLiteral | ts.BooleanLiteral | ts.ThisExpression | ts.SuperExpression | ts.ImportExpression | ts.DeleteExpression | ts.TypeOfExpression | ts.VoidExpression | ts.AwaitExpression | ts.YieldExpression | ts.SyntheticExpression | ts.BinaryExpression | ts.ConditionalExpression | ts.FunctionExpression | ts.ArrowFunction | ts.RegularExpressionLiteral | ts.NoSubstitutionTemplateLiteral | ts.NumericLiteral | ts.BigIntLiteral | ts.TemplateHead | ts.TemplateMiddle | ts.TemplateTail | ts.TemplateExpression | ts.TemplateSpan | ts.ParenthesizedExpression | ts.ArrayLiteralExpression | ts.SpreadElement | ts.ObjectLiteralExpression | ts.PropertyAccessExpression | ts.ElementAccessExpression | ts.CallExpression | ts.ExpressionWithTypeArguments | ts.NewExpression | ts.TaggedTemplateExpression | ts.AsExpression | ts.TypeAssertion | ts.NonNullExpression | ts.MetaProperty | ts.JsxElement | ts.JsxOpeningElement | ts.JsxSelfClosingElement | ts.JsxFragment | ts.JsxOpeningFragment | ts.JsxClosingFragment | ts.JsxAttribute | ts.JsxSpreadAttribute | ts.JsxClosingElement | ts.JsxExpression | ts.JsxNamespacedName | ts.JsxText | ts.NotEmittedStatement | ts.CommaListExpression | ts.EmptyStatement | ts.DebuggerStatement | ts.MissingDeclaration | ts.Block | ts.VariableStatement | ts.ExpressionStatement | ts.IfStatement | ts.DoStatement | ts.WhileStatement | ts.ForStatement | ts.ForInStatement | ts.ForOfStatement | ts.BreakStatement | ts.ContinueStatement | ts.ReturnStatement | ts.WithStatement | ts.SwitchStatement | ts.CaseBlock | ts.CaseClause | ts.DefaultClause | ts.LabeledStatement | ts.ThrowStatement | ts.TryStatement | ts.CatchClause | ts.ClassDeclaration | ts.ClassExpression | ts.InterfaceDeclaration | ts.HeritageClause | ts.TypeAliasDeclaration | ts.EnumMember | ts.EnumDeclaration | ts.ModuleDeclaration | ts.ModuleBlock | ts.ImportEqualsDeclaration | ts.ExternalModuleReference | ts.ImportDeclaration | ts.ImportClause | ts.NamespaceImport | ts.NamespaceExportDeclaration | ts.ExportDeclaration | ts.NamedImports | ts.NamedExports | ts.ImportSpecifier | ts.ExportSpecifier | ts.ExportAssignment | ts.SourceFile | ts.Bundle | ts.InputFiles | ts.UnparsedSource | ts.JsonMinusNumericLiteral | ts.TemplateLiteralTypeNode | ts.SatisfiesExpression | ts.JSDoc | ts.JSDocTypeExpression | ts.JSDocUnknownTag | ts.JSDocAugmentsTag | ts.JSDocClassTag | ts.JSDocEnumTag | ts.JSDocThisTag | ts.JSDocTemplateTag | ts.JSDocReturnTag | ts.JSDocTypeTag | ts.JSDocTypedefTag | ts.JSDocCallbackTag | ts.JSDocSignature | ts.JSDocPropertyTag | ts.JSDocParameterTag | ts.JSDocTypeLiteral | ts.JSDocFunctionType | ts.JSDocAllType | ts.JSDocUnknownType | ts.JSDocNullableType | ts.JSDocNonNullableType | ts.JSDocOptionalType | ts.JSDocVariadicType | ts.JSDocAuthorTag; -//# sourceMappingURL=ts-nodes.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/use-at-your-own-risk.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/use-at-your-own-risk.d.ts deleted file mode 100644 index 758c253421..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/use-at-your-own-risk.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './create-program/getScriptKind'; -export * from './ast-converter'; -export type { ParseSettings } from './parseSettings'; -export * from './getModifiers'; -export { typescriptVersionIsAtLeast } from './version-check'; -export { getCanonicalFileName } from './create-program/shared'; -//# sourceMappingURL=use-at-your-own-risk.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts deleted file mode 100644 index 08f2f5c97a..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/useProgramFromProjectService.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { server } from 'typescript/lib/tsserverlibrary'; -import type { ASTAndDefiniteProgram } from './create-program/shared'; -import type { MutableParseSettings } from './parseSettings'; -export declare function useProgramFromProjectService(projectService: server.ProjectService, parseSettings: Readonly): ASTAndDefiniteProgram | undefined; -//# sourceMappingURL=useProgramFromProjectService.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/version-check.d.ts b/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/version-check.d.ts deleted file mode 100644 index 6d1146dbba..0000000000 --- a/node_modules/@typescript-eslint/typescript-estree/_ts4.3/dist/version-check.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare const typescriptVersionIsAtLeast: Record<"4.3" | "4.4" | "4.5" | "4.6" | "4.7" | "4.8" | "4.9" | "5.0" | "5.1" | "5.2", boolean>; -export { typescriptVersionIsAtLeast }; -//# sourceMappingURL=version-check.d.ts.map diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map index 63301dedc4..b6d07a9666 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA8CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AAgED;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CAuHd;AAkQD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.d.ts","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA8CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AAgED;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CAsHd;AAkQD,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js index 2d26d2b1dc..04f55aec3f 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js @@ -146,8 +146,7 @@ function getWatchProgramsForProjects(parseSettings) { } if (fileList.has(filePath)) { log('Found existing program for file. %s', filePath); - updatedProgram = - updatedProgram ?? existingWatch.getProgram().getProgram(); + updatedProgram ??= existingWatch.getProgram().getProgram(); // sets parent pointers in source files updatedProgram.getTypeChecker(); return [updatedProgram]; diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map index fb59bf3521..2675429509 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js.map @@ -1 +1 @@ -{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAC1B,4CAAoB;AACpB,+CAAiC;AAGjC,kDAA8C;AAE9C,qCAKkB;AAGlB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAGjC,CAAC;AAEJ;;;GAGG;AACH,MAAM,4BAA4B,GAAG,IAAI,GAAG,EAGzC,CAAC;AACJ,MAAM,8BAA8B,GAAG,IAAI,GAAG,EAG3C,CAAC;AA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,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC;KACvB;IAED;;;;;;OAMG;IACH,GAAG,CACD,0FAA0F,EAC1F,QAAQ,CACT,CAAC;IAEF,MAAM,aAAa,GAAG,cAAc,CAAC,gBAAgB,EAAE,CAAC;IACxD,6FAA6F;IAC7F,MAAM,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,YAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,IAAI,CAAC,WAAW,EAAE;QAChB,sGAAsG;QACtG,OAAO,IAAI,CAAC;KACb;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE;QACvB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CAAC,6BAA6B,EAAE,WAAW,CAAC,CAAC;IAChD,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAC9B,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,CAAC,CACjD,CAAC;IAEF,2EAA2E;IAC3E,oBAAoB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"getWatchProgramsForProjects.js","sourceRoot":"","sources":["../../src/create-program/getWatchProgramsForProjects.ts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AAC,CAAC;IAE1C,cAAc,GAAG,aAAa,CAAC,UAAU,EAAE,CAAC,UAAU,EAAE,CAAC;IACzD,UAAU,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC;KACvB;IAED,GAAG,CACD,uGAAuG,EACvG,QAAQ,CACT,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/typescript-estree/package.json index a72b20f6c5..a79e2e3e81 100644 --- a/node_modules/@typescript-eslint/typescript-estree/package.json +++ b/node_modules/@typescript-eslint/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "6.4.0", + "version": "6.4.1", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -52,8 +52,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -64,8 +64,11 @@ "@babel/code-frame": "*", "@babel/parser": "*", "glob": "*", - "jest-specific-snapshot": "*", + "jest": "29.6.2", + "jest-specific-snapshot": "^8.0.0", "make-dir": "*", + "prettier": "^2.8.4", + "rimraf": "*", "tmp": "*", "typescript": "*" }, @@ -85,5 +88,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/PatternMatcher.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/PatternMatcher.d.ts deleted file mode 100644 index d1bf2f26a8..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -interface PatternMatcher { - /** - * Iterate all matched parts in a given string. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-execall} - */ - execAll(str: string): IterableIterator; - /** - * Check whether this pattern matches a given string or not. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-test} - */ - test(str: string): boolean; - /** - * Replace all matched parts by a given replacer. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#matcher-symbol-replace} - * @example - * const { PatternMatcher } = require("eslint-utils") - * const matcher = new PatternMatcher(/\\p{Script=Greek}/g) - * - * module.exports = { - * meta: {}, - * create(context) { - * return { - * "Literal[regex]"(node) { - * const replacedPattern = node.regex.pattern.replace( - * matcher, - * "[\\u0370-\\u0373\\u0375-\\u0377\\u037A-\\u037D\\u037F\\u0384\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03E1\\u03F0-\\u03FF\\u1D26-\\u1D2A\\u1D5D-\\u1D61\\u1D66-\\u1D6A\\u1DBF\\u1F00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FC4\\u1FC6-\\u1FD3\\u1FD6-\\u1FDB\\u1FDD-\\u1FEF\\u1FF2-\\u1FF4\\u1FF6-\\u1FFE\\u2126\\uAB65]|\\uD800[\\uDD40-\\uDD8E\\uDDA0]|\\uD834[\\uDE00-\\uDE45]" - * ) - * }, - * } - * }, - * } - */ - [Symbol.replace](str: string, replacer: string | ((...strs: string[]) => string)): string; -} -/** - * The class to find a pattern in strings as handling escape sequences. - * It ignores the found pattern if it's escaped with `\`. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class} - */ -declare const PatternMatcher: new (pattern: RegExp, options?: { - escaped?: boolean; -}) => PatternMatcher; -export { PatternMatcher }; -//# sourceMappingURL=PatternMatcher.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts deleted file mode 100644 index dffb91178b..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import type * as TSESLint from '../../ts-eslint'; -import type { TSESTree } from '../../ts-estree'; -declare const ReferenceTrackerREAD: unique symbol; -declare const ReferenceTrackerCALL: unique symbol; -declare const ReferenceTrackerCONSTRUCT: unique symbol; -declare const ReferenceTrackerESM: unique symbol; -interface ReferenceTracker { - /** - * Iterate the references that the given `traceMap` determined. - * This method starts to search from global variables. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateglobalreferences} - */ - iterateGlobalReferences(traceMap: ReferenceTracker.TraceMap): IterableIterator>; - /** - * Iterate the references that the given `traceMap` determined. - * This method starts to search from `require()` expression. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iteratecjsreferences} - */ - iterateCjsReferences(traceMap: ReferenceTracker.TraceMap): IterableIterator>; - /** - * Iterate the references that the given `traceMap` determined. - * This method starts to search from `import`/`export` declarations. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#tracker-iterateesmreferences} - */ - iterateEsmReferences(traceMap: ReferenceTracker.TraceMap): IterableIterator>; -} -interface ReferenceTrackerStatic { - new (globalScope: TSESLint.Scope.Scope, options?: { - /** - * The mode which determines how the `tracker.iterateEsmReferences()` method scans CommonJS modules. - * If this is `"strict"`, the method binds CommonJS modules to the default export. Otherwise, the method binds - * CommonJS modules to both the default export and named exports. Optional. Default is `"strict"`. - */ - mode?: 'legacy' | 'strict'; - /** - * The name list of Global Object. Optional. Default is `["global", "globalThis", "self", "window"]`. - */ - globalObjectNames?: readonly string[]; - }): ReferenceTracker; - readonly READ: typeof ReferenceTrackerREAD; - readonly CALL: typeof ReferenceTrackerCALL; - readonly CONSTRUCT: typeof ReferenceTrackerCONSTRUCT; - readonly ESM: typeof ReferenceTrackerESM; -} -declare namespace ReferenceTracker { - type READ = ReferenceTrackerStatic['READ']; - type CALL = ReferenceTrackerStatic['CALL']; - type CONSTRUCT = ReferenceTrackerStatic['CONSTRUCT']; - type ESM = ReferenceTrackerStatic['ESM']; - type ReferenceType = CALL | CONSTRUCT | READ; - type TraceMap = Record>; - interface TraceMapElement { - [ReferenceTrackerREAD]?: T; - [ReferenceTrackerCALL]?: T; - [ReferenceTrackerCONSTRUCT]?: T; - [ReferenceTrackerESM]?: true; - [key: string]: TraceMapElement; - } - interface FoundReference { - node: TSESTree.Node; - path: readonly string[]; - type: ReferenceType; - info: T; - } -} -/** - * The tracker for references. This provides reference tracking for global variables, CommonJS modules, and ES modules. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class} - */ -declare const ReferenceTracker: ReferenceTrackerStatic; -export { ReferenceTracker }; -//# sourceMappingURL=ReferenceTracker.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/astUtilities.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/astUtilities.d.ts deleted file mode 100644 index 3870837859..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/astUtilities.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import type * as TSESLint from '../../ts-eslint'; -import type { TSESTree } from '../../ts-estree'; -/** - * Get the proper location of a given function node to report. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionheadlocation} - */ -declare const getFunctionHeadLocation: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode: TSESLint.SourceCode) => TSESTree.SourceLocation; -/** - * Get the name and kind of a given function node. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getfunctionnamewithkind} - */ -declare const getFunctionNameWithKind: (node: TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclaration | TSESTree.FunctionExpression, sourceCode?: TSESLint.SourceCode) => string; -/** - * Get the property name of a given property node. - * If the node is a computed property, this tries to compute the property name by the getStringIfConstant function. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getpropertyname} - * @returns The property name of the node. If the property name is not constant then it returns `null`. - */ -declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.MethodDefinition | TSESTree.Property | TSESTree.PropertyDefinition, initialScope?: TSESLint.Scope.Scope) => string | null; -/** - * Get the value of a given node if it can decide the value statically. - * If the 2nd parameter `initialScope` was given, this function tries to resolve identifier references which are in the - * given node as much as possible. In the resolving way, it does on the assumption that built-in global objects have - * not been modified. - * For example, it considers `Symbol.iterator`, ` String.raw``hello`` `, and `Object.freeze({a: 1}).a` as static. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue} - * @returns The `{ value: any }` shaped object. The `value` property is the static value. If it couldn't compute the - * static value of the node, it returns `null`. - */ -declare const getStaticValue: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => { - value: unknown; -} | null; -/** - * Get the string value of a given node. - * This function is a tiny wrapper of the getStaticValue function. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstringifconstant} - */ -declare const getStringIfConstant: (node: TSESTree.Node, initialScope?: TSESLint.Scope.Scope) => string | null; -/** - * Check whether a given node has any side effect or not. - * The side effect means that it may modify a certain variable or object member. This function considers the node which - * contains the following types as the node which has side effects: - * - `AssignmentExpression` - * - `AwaitExpression` - * - `CallExpression` - * - `ImportExpression` - * - `NewExpression` - * - `UnaryExpression([operator = "delete"])` - * - `UpdateExpression` - * - `YieldExpression` - * - When `options.considerGetters` is `true`: - * - `MemberExpression` - * - When `options.considerImplicitTypeConversion` is `true`: - * - `BinaryExpression([operator = "==" | "!=" | "<" | "<=" | ">" | ">=" | "<<" | ">>" | ">>>" | "+" | "-" | "*" | "/" | "%" | "|" | "^" | "&" | "in"])` - * - `MemberExpression([computed = true])` - * - `MethodDefinition([computed = true])` - * - `Property([computed = true])` - * - `UnaryExpression([operator = "-" | "+" | "!" | "~"])` - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#hassideeffect} - */ -declare const hasSideEffect: (node: TSESTree.Node, sourceCode: TSESLint.SourceCode, options?: { - considerGetters?: boolean; - considerImplicitTypeConversion?: boolean; -}) => boolean; -declare const isParenthesized: { - (node: TSESTree.Node, sourceCode: TSESLint.SourceCode): boolean; - (times: number, node: TSESTree.Node, sourceCode: TSESLint.SourceCode): boolean; -}; -export { getFunctionHeadLocation, getFunctionNameWithKind, getPropertyName, getStaticValue, getStringIfConstant, hasSideEffect, isParenthesized, }; -//# sourceMappingURL=astUtilities.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/index.d.ts deleted file mode 100644 index ea4158a450..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './astUtilities'; -export * from './PatternMatcher'; -export * from './predicates'; -export * from './ReferenceTracker'; -export * from './scopeAnalysis'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/predicates.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/predicates.d.ts deleted file mode 100644 index 7749f58a1c..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/predicates.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { TSESTree } from '../../ts-estree'; -type IsSpecificTokenFunction = (token: TSESTree.Token) => token is SpecificToken; -type IsNotSpecificTokenFunction = (token: TSESTree.Token) => token is Exclude; -type PunctuatorTokenWithValue = TSESTree.PunctuatorToken & { - value: Value; -}; -type IsPunctuatorTokenWithValueFunction = IsSpecificTokenFunction>; -type IsNotPunctuatorTokenWithValueFunction = IsNotSpecificTokenFunction>; -declare const isArrowToken: IsPunctuatorTokenWithValueFunction<"=>">; -declare const isNotArrowToken: IsNotPunctuatorTokenWithValueFunction<"=>">; -declare const isClosingBraceToken: IsPunctuatorTokenWithValueFunction<"}">; -declare const isNotClosingBraceToken: IsNotPunctuatorTokenWithValueFunction<"}">; -declare const isClosingBracketToken: IsPunctuatorTokenWithValueFunction<"]">; -declare const isNotClosingBracketToken: IsNotPunctuatorTokenWithValueFunction<"]">; -declare const isClosingParenToken: IsPunctuatorTokenWithValueFunction<")">; -declare const isNotClosingParenToken: IsNotPunctuatorTokenWithValueFunction<")">; -declare const isColonToken: IsPunctuatorTokenWithValueFunction<":">; -declare const isNotColonToken: IsNotPunctuatorTokenWithValueFunction<":">; -declare const isCommaToken: IsPunctuatorTokenWithValueFunction<",">; -declare const isNotCommaToken: IsNotPunctuatorTokenWithValueFunction<",">; -declare const isCommentToken: IsSpecificTokenFunction; -declare const isNotCommentToken: IsNotSpecificTokenFunction; -declare const isOpeningBraceToken: IsPunctuatorTokenWithValueFunction<"{">; -declare const isNotOpeningBraceToken: IsNotPunctuatorTokenWithValueFunction<"{">; -declare const isOpeningBracketToken: IsPunctuatorTokenWithValueFunction<"[">; -declare const isNotOpeningBracketToken: IsNotPunctuatorTokenWithValueFunction<"[">; -declare const isOpeningParenToken: IsPunctuatorTokenWithValueFunction<"(">; -declare const isNotOpeningParenToken: IsNotPunctuatorTokenWithValueFunction<"(">; -declare const isSemicolonToken: IsPunctuatorTokenWithValueFunction<";">; -declare const isNotSemicolonToken: IsNotPunctuatorTokenWithValueFunction<";">; -export { isArrowToken, isClosingBraceToken, isClosingBracketToken, isClosingParenToken, isColonToken, isCommaToken, isCommentToken, isNotArrowToken, isNotClosingBraceToken, isNotClosingBracketToken, isNotClosingParenToken, isNotColonToken, isNotCommaToken, isNotCommentToken, isNotOpeningBraceToken, isNotOpeningBracketToken, isNotOpeningParenToken, isNotSemicolonToken, isOpeningBraceToken, isOpeningBracketToken, isOpeningParenToken, isSemicolonToken, }; -//# sourceMappingURL=predicates.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts deleted file mode 100644 index 36c85061a2..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type * as TSESLint from '../../ts-eslint'; -import type { TSESTree } from '../../ts-estree'; -/** - * Get the variable of a given name. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#findvariable} - */ -declare const findVariable: (initialScope: TSESLint.Scope.Scope, nameOrNode: TSESTree.Identifier | string) => TSESLint.Scope.Variable | null; -/** - * Get the innermost scope which contains a given node. - * - * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#getinnermostscope} - * @returns The innermost scope which contains the given node. - * If such scope doesn't exist then it returns the 1st argument `initialScope`. - */ -declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope; -export { findVariable, getInnermostScope }; -//# sourceMappingURL=scopeAnalysis.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/helpers.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/helpers.d.ts deleted file mode 100644 index 6e8265292d..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/helpers.d.ts +++ /dev/null @@ -1,1207 +0,0 @@ -import type { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree } from '../ts-estree'; -export declare const isNodeOfType: (nodeType: NodeType) => (node: TSESTree.Node | null | undefined) => node is Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract; -export declare const isNodeOfTypes: (nodeTypes: NodeTypes) => (node: TSESTree.Node | null | undefined) => node is Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract; -export declare const isNodeOfTypeWithConditions: | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract, Conditions extends Partial>(nodeType: NodeType, conditions: Conditions) => (node: TSESTree.Node | null | undefined) => node is Conditions & ExtractedNode; -export declare const isTokenOfTypeWithConditions: | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract, Conditions extends Partial>(tokenType: TokenType, conditions: Conditions) => (token: TSESTree.Token | null | undefined) => token is Conditions & ExtractedToken; -export declare const isNotTokenOfTypeWithConditions: | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract, Conditions extends Partial>(tokenType: TokenType, conditions: Conditions) => (token: TSESTree.Token | null | undefined) => token is Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude | Exclude; -//# sourceMappingURL=helpers.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/index.d.ts deleted file mode 100644 index a38350b436..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export * from './eslint-utils'; -export * from './helpers'; -export * from './misc'; -export * from './predicates'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/misc.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/misc.d.ts deleted file mode 100644 index cedfa9996e..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/misc.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { TSESTree } from '../ts-estree'; -declare const LINEBREAK_MATCHER: RegExp; -/** - * Determines whether two adjacent tokens are on the same line - */ -declare function isTokenOnSameLine(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean; -export { isTokenOnSameLine, LINEBREAK_MATCHER }; -//# sourceMappingURL=misc.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/predicates.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/predicates.d.ts deleted file mode 100644 index 07217ba00d..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ast-utils/predicates.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import type { TSESTree } from '../ts-estree'; -declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is { - value: "?."; -} & TSESTree.PunctuatorToken; -declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; -declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is { - value: "!"; -} & TSESTree.PunctuatorToken; -declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken; -/** - * Returns true if and only if the node represents: foo?.() or foo.bar?.() - */ -declare const isOptionalCallExpression: (node: TSESTree.Node | null | undefined) => node is { - optional: boolean; -} & TSESTree.CallExpression; -/** - * Returns true if and only if the node represents logical OR - */ -declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefined) => node is Partial & TSESTree.LogicalExpression; -/** - * Checks if a node is a type assertion: - * ``` - * x as foo - * x - * ``` - */ -declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion; -declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclarator; -declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression; -declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; -declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName; -declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType; -declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType; -declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName; -/** - * Checks if a node is a constructor method. - */ -declare const isConstructor: (node: TSESTree.Node | null | undefined) => node is (Partial & TSESTree.MethodDefinitionComputedName) | (Partial & TSESTree.MethodDefinitionNonComputedName); -/** - * Checks if a node is a setter method. - */ -declare function isSetter(node: TSESTree.Node | undefined): node is { - kind: 'set'; -} & (TSESTree.MethodDefinition | TSESTree.Property); -declare const isIdentifier: (node: TSESTree.Node | null | undefined) => node is TSESTree.Identifier; -/** - * Checks if a node represents an `await …` expression. - */ -declare const isAwaitExpression: (node: TSESTree.Node | null | undefined) => node is TSESTree.AwaitExpression; -/** - * Checks if a possible token is the `await` keyword. - */ -declare const isAwaitKeyword: (token: TSESTree.Token | null | undefined) => token is { - value: "await"; -} & TSESTree.IdentifierToken; -/** - * Checks if a possible token is the `type` keyword. - */ -declare const isTypeKeyword: (token: TSESTree.Token | null | undefined) => token is { - value: "type"; -} & TSESTree.IdentifierToken; -/** - * Checks if a possible token is the `import` keyword. - */ -declare const isImportKeyword: (token: TSESTree.Token | null | undefined) => token is { - value: "import"; -} & TSESTree.KeywordToken; -declare const isLoop: (node: TSESTree.Node | null | undefined) => node is TSESTree.DoWhileStatement | TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement | TSESTree.WhileStatement; -export { isAwaitExpression, isAwaitKeyword, isConstructor, isClassOrTypeElement, isFunction, isFunctionOrFunctionType, isFunctionType, isIdentifier, isImportKeyword, isLoop, isLogicalOrOperator, isNonNullAssertionPunctuator, isNotNonNullAssertionPunctuator, isNotOptionalChainPunctuator, isOptionalChainPunctuator, isOptionalCallExpression, isSetter, isTSConstructorType, isTSFunctionType, isTypeAssertion, isTypeKeyword, isVariableDeclarator, }; -//# sourceMappingURL=predicates.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/InferTypesFromRule.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/InferTypesFromRule.d.ts deleted file mode 100644 index f6286ae28f..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/InferTypesFromRule.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type { RuleCreateFunction, RuleModule } from '../ts-eslint'; -/** - * Uses type inference to fetch the TOptions type from the given RuleModule - */ -type InferOptionsTypeFromRule = T extends RuleModule ? TOptions : T extends RuleCreateFunction ? TOptions : unknown; -/** - * Uses type inference to fetch the TMessageIds type from the given RuleModule - */ -type InferMessageIdsTypeFromRule = T extends RuleModule ? TMessageIds : T extends RuleCreateFunction ? TMessageIds : unknown; -export { InferOptionsTypeFromRule, InferMessageIdsTypeFromRule }; -//# sourceMappingURL=InferTypesFromRule.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/RuleCreator.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/RuleCreator.d.ts deleted file mode 100644 index bf62537d8a..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/RuleCreator.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { RuleContext, RuleListener, RuleMetaData, RuleMetaDataDocs, RuleModule } from '../ts-eslint/Rule'; -export type NamedCreateRuleMetaDocs = Omit; -export type NamedCreateRuleMeta = Omit, 'docs'> & { - docs: NamedCreateRuleMetaDocs; -}; -export interface RuleCreateAndOptions { - create: (context: Readonly>, optionsWithDefault: Readonly) => RuleListener; - defaultOptions: Readonly; -} -export interface RuleWithMeta extends RuleCreateAndOptions { - meta: RuleMetaData; -} -export interface RuleWithMetaAndName extends RuleCreateAndOptions { - meta: NamedCreateRuleMeta; - name: string; -} -/** - * Creates reusable function to create rules with default options and docs URLs. - * - * @param urlCreator Creates a documentation URL for a given rule name. - * @returns Function to create a rule with the docs URL format. - */ -export declare function RuleCreator(urlCreator: (ruleName: string) => string): ({ name, meta, ...rule }: Readonly>) => RuleModule; -export declare namespace RuleCreator { - var withoutDocs: typeof createRule; -} -/** - * Creates a well-typed TSESLint custom ESLint rule without a docs URL. - * - * @returns Well-typed TSESLint custom ESLint rule. - * @remarks It is generally better to provide a docs URL function to RuleCreator. - */ -declare function createRule({ create, defaultOptions, meta, }: Readonly>): RuleModule; -export {}; -//# sourceMappingURL=RuleCreator.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/applyDefault.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/applyDefault.d.ts deleted file mode 100644 index b0c9405e62..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/applyDefault.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Pure function - doesn't mutate either parameter! - * Uses the default options and overrides with the options provided by the user - * @param defaultOptions the defaults - * @param userOptions the user opts - * @returns the options with defaults - */ -declare function applyDefault(defaultOptions: Readonly, userOptions: Readonly | null): TDefault; -export { applyDefault }; -//# sourceMappingURL=applyDefault.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/deepMerge.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/deepMerge.d.ts deleted file mode 100644 index cb2f93a20b..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/deepMerge.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -type ObjectLike = Record; -/** - * Check if the variable contains an object strictly rejecting arrays - * @param obj an object - * @returns `true` if obj is an object - */ -declare function isObjectNotArray(obj: unknown): obj is T; -/** - * Pure function - doesn't mutate either parameter! - * Merges two objects together deeply, overwriting the properties in first with the properties in second - * @param first The first object - * @param second The second object - * @returns a new object - */ -export declare function deepMerge(first?: ObjectLike, second?: ObjectLike): Record; -export { isObjectNotArray }; -//# sourceMappingURL=deepMerge.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/getParserServices.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/getParserServices.d.ts deleted file mode 100644 index f41880ffcf..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/getParserServices.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type * as TSESLint from '../ts-eslint'; -import type { ParserServices, ParserServicesWithTypeInformation } from '../ts-estree'; -/** - * Try to retrieve type-aware parser service from context. - * This **_will_** throw if it is not available. - */ -declare function getParserServices(context: Readonly>): ParserServicesWithTypeInformation; -/** - * Try to retrieve type-aware parser service from context. - * This **_will_** throw if it is not available. - */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: false): ParserServicesWithTypeInformation; -/** - * Try to retrieve type-aware parser service from context. - * This **_will not_** throw if it is not available. - */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: true): ParserServices; -/** - * Try to retrieve type-aware parser service from context. - * This may or may not throw if it is not available, depending on if `allowWithoutFullTypeInformation` is `true` - */ -declare function getParserServices(context: Readonly>, allowWithoutFullTypeInformation: boolean): ParserServices; -export { getParserServices }; -//# sourceMappingURL=getParserServices.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/index.d.ts deleted file mode 100644 index 0e310469b5..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './applyDefault'; -export * from './getParserServices'; -export * from './InferTypesFromRule'; -export * from './RuleCreator'; -export * from './deepMerge'; -export * from './nullThrows'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/nullThrows.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/nullThrows.d.ts deleted file mode 100644 index 570292949e..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/eslint-utils/nullThrows.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * A set of common reasons for calling nullThrows - */ -declare const NullThrowsReasons: { - readonly MissingParent: "Expected node to have a parent."; - readonly MissingToken: (token: string, thing: string) => string; -}; -/** - * Assert that a value must not be null or undefined. - * This is a nice explicit alternative to the non-null assertion operator. - */ -declare function nullThrows(value: T | null | undefined, message: string): T; -export { nullThrows, NullThrowsReasons }; -//# sourceMappingURL=nullThrows.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts deleted file mode 100644 index d46b0be94e..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import * as ASTUtils from './ast-utils'; -import * as ESLintUtils from './eslint-utils'; -import * as JSONSchema from './json-schema'; -import * as TSESLint from './ts-eslint'; -import * as TSUtils from './ts-utils'; -export { ASTUtils, ESLintUtils, JSONSchema, TSESLint, TSUtils }; -export * from './ts-estree'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/json-schema.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/json-schema.d.ts deleted file mode 100644 index 15777d7e71..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/json-schema.d.ts +++ /dev/null @@ -1,388 +0,0 @@ -/** - * This is a fork of https://github.com/DefinitelyTyped/DefinitelyTyped/blob/13f63c2eb8d7479caf01ab8d72f9e3683368a8f5/types/json-schema/index.d.ts - * We intentionally fork this because: - * - ESLint ***ONLY*** supports JSONSchema v4 - * - We want to provide stricter types - */ -/** - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1 - */ -export type JSONSchema4TypeName = 'any' | 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string'; -/** - * @see https://tools.ietf.org/html/draft-zyp-json-schema-04#section-3.5 - */ -export type JSONSchema4Type = boolean | number | string | null; -export type JSONSchema4TypeExtended = JSONSchema4Type | JSONSchema4Array | JSONSchema4Object; -export interface JSONSchema4Object { - [key: string]: JSONSchema4TypeExtended; -} -export interface JSONSchema4Array extends Array { -} -/** - * Meta schema - * - * Recommended values: - * - 'http://json-schema.org/schema#' - * - 'http://json-schema.org/hyper-schema#' - * - 'http://json-schema.org/draft-04/schema#' - * - 'http://json-schema.org/draft-04/hyper-schema#' - * - 'http://json-schema.org/draft-03/schema#' - * - 'http://json-schema.org/draft-03/hyper-schema#' - * - * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5 - */ -export type JSONSchema4Version = string; -/** - * JSON Schema V4 - * @see https://tools.ietf.org/html/draft-zyp-json-schema-04 - */ -export type JSONSchema4 = JSONSchema4AllOfSchema | JSONSchema4AnyOfSchema | JSONSchema4AnySchema | JSONSchema4ArraySchema | JSONSchema4BooleanSchema | JSONSchema4MultiSchema | JSONSchema4NullSchema | JSONSchema4NumberSchema | JSONSchema4ObjectSchema | JSONSchema4OneOfSchema | JSONSchema4RefSchema | JSONSchema4StringSchema; -interface JSONSchema4Base { - id?: string | undefined; - $schema?: JSONSchema4Version | undefined; - /** - * A single type, or a union of simple types - */ - type?: JSONSchema4TypeName | JSONSchema4TypeName[] | undefined; - /** - * Path to a schema defined in `definitions`/`$defs` that will form the base - * for this schema. - * - * If you are defining an "array" schema (`schema: [ ... ]`) for your rule - * then you should prefix this with `items/0` so that the validator can find - * your definitions. - * - * eg: `'#/items/0/definitions/myDef'` - * - * Otherwise if you are defining an "object" schema (`schema: { ... }`) for - * your rule you can directly reference your definitions - * - * eg: `'#/definitions/myDef'` - */ - $ref?: string | undefined; - /** - * This attribute is a string that provides a short description of the - * instance property. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.21 - */ - title?: string | undefined; - /** - * This attribute is a string that provides a full description of the of - * purpose the instance property. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.22 - */ - description?: string | undefined; - /** - * Reusable definitions that can be referenced via `$ref` - */ - definitions?: Record | undefined; - /** - * Reusable definitions that can be referenced via `$ref` - */ - $defs?: Record | undefined; - /** - * The value of this property MUST be another schema which will provide - * a base schema which the current schema will inherit from. The - * inheritance rules are such that any instance that is valid according - * to the current schema MUST be valid according to the referenced - * schema. This MAY also be an array, in which case, the instance MUST - * be valid for all the schemas in the array. A schema that extends - * another schema MAY define additional attributes, constrain existing - * attributes, or add other constraints. - * - * Conceptually, the behavior of extends can be seen as validating an - * instance against all constraints in the extending schema as well as - * the extended schema(s). - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.26 - */ - extends?: string[] | string | undefined; - /** - * The default value for the item if not present - */ - default?: JSONSchema4TypeExtended | undefined; - /** - * This attribute indicates if the instance must have a value, and not - * be undefined. This is false by default, making the instance - * optional. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.7 - */ - required?: string[] | boolean | undefined; - /** - * (NOT) Must not be valid against the given schema - */ - not?: JSONSchema4 | undefined; - /** - * (AND) Must be valid against all of the sub-schemas - */ - allOf?: JSONSchema4[] | undefined; - /** - * (OR) Must be valid against any of the sub-schemas - */ - anyOf?: JSONSchema4[] | undefined; - /** - * (XOR) Must be valid against exactly one of the sub-schemas - */ - oneOf?: JSONSchema4[] | undefined; -} -export interface JSONSchema4RefSchema extends JSONSchema4Base { - type?: undefined; - $ref: string; -} -export interface JSONSchema4AllOfSchema extends JSONSchema4Base { - type?: undefined; - allOf: JSONSchema4[]; -} -export interface JSONSchema4AnyOfSchema extends JSONSchema4Base { - type?: undefined; - anyOf: JSONSchema4[]; -} -export interface JSONSchema4OneOfSchema extends JSONSchema4Base { - type?: undefined; - oneOf: JSONSchema4[]; -} -export interface JSONSchema4MultiSchema extends Omit, Omit, Omit, Omit, Omit, Omit, Omit { - type: JSONSchema4TypeName[]; - /** - * This provides an enumeration of all possible values that are valid - * for the instance property. This MUST be an array, and each item in - * the array represents a possible value for the instance value. If - * this attribute is defined, the instance value MUST be one of the - * values in the array in order for the schema to be valid. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.19 - */ - enum?: JSONSchema4Type[]; -} -/** - * @see https://json-schema.org/understanding-json-schema/reference/object.html - */ -export interface JSONSchema4ObjectSchema extends JSONSchema4Base { - type: 'object'; - /** - * This attribute defines a schema for all properties that are not - * explicitly defined in an object type definition. If specified, the - * value MUST be a schema or a boolean. If false is provided, no - * additional properties are allowed beyond the properties defined in - * the schema. The default value is an empty schema which allows any - * value for additional properties. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.4 - */ - additionalProperties?: JSONSchema4 | boolean | undefined; - /** - * This attribute is an object with property definitions that define the - * valid values of instance object property values. When the instance - * value is an object, the property values of the instance object MUST - * conform to the property definitions in this object. In this object, - * each property definition's value MUST be a schema, and the property's - * name MUST be the name of the instance property that it defines. The - * instance property value MUST be valid according to the schema from - * the property definition. Properties are considered unordered, the - * order of the instance properties MAY be in any order. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.2 - */ - properties?: Record | undefined; - /** - * This attribute is an object that defines the schema for a set of - * property names of an object instance. The name of each property of - * this attribute's object is a regular expression pattern in the ECMA - * 262/Perl 5 format, while the value is a schema. If the pattern - * matches the name of a property on the instance object, the value of - * the instance's property MUST be valid against the pattern name's - * schema value. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.3 - */ - patternProperties?: Record | undefined; - /** - * The `dependencies` keyword conditionally applies a sub-schema when a given - * property is present. This schema is applied in the same way `allOf` applies - * schemas. Nothing is merged or extended. Both schemas apply independently. - */ - dependencies?: Record | undefined; - /** - * The maximum number of properties allowed for record-style schemas - */ - maxProperties?: number | undefined; - /** - * The minimum number of properties required for record-style schemas - */ - minProperties?: number | undefined; -} -/** - * @see https://json-schema.org/understanding-json-schema/reference/array.html - */ -export interface JSONSchema4ArraySchema extends JSONSchema4Base { - type: 'array'; - /** - * May only be defined when "items" is defined, and is a tuple of JSONSchemas. - * - * This provides a definition for additional items in an array instance - * when tuple definitions of the items is provided. This can be false - * to indicate additional items in the array are not allowed, or it can - * be a schema that defines the schema of the additional items. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.6 - */ - additionalItems?: JSONSchema4 | boolean | undefined; - /** - * This attribute defines the allowed items in an instance array, and - * MUST be a schema or an array of schemas. The default value is an - * empty schema which allows any value for items in the instance array. - * - * When this attribute value is a schema and the instance value is an - * array, then all the items in the array MUST be valid according to the - * schema. - * - * When this attribute value is an array of schemas and the instance - * value is an array, each position in the instance array MUST conform - * to the schema in the corresponding position for this array. This - * called tuple typing. When tuple typing is used, additional items are - * allowed, disallowed, or constrained by the "additionalItems" - * (Section 5.6) attribute using the same rules as - * "additionalProperties" (Section 5.4) for objects. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.5 - */ - items?: JSONSchema4 | JSONSchema4[] | undefined; - /** - * Defines the maximum length of an array - */ - maxItems?: number | undefined; - /** - * Defines the minimum length of an array - */ - minItems?: number | undefined; - /** - * Enforces that all items in the array are unique - */ - uniqueItems?: boolean | undefined; -} -/** - * @see https://json-schema.org/understanding-json-schema/reference/string.html - */ -export interface JSONSchema4StringSchema extends JSONSchema4Base { - type: 'string'; - /** - * The maximum allowed length for the string - */ - maxLength?: number | undefined; - /** - * The minimum allowed length for the string - */ - minLength?: number | undefined; - /** - * The `pattern` keyword is used to restrict a string to a particular regular - * expression. The regular expression syntax is the one defined in JavaScript - * (ECMA 262 specifically) with Unicode support. - * - * When defining the regular expressions, it’s important to note that the - * string is considered valid if the expression matches anywhere within the - * string. For example, the regular expression "p" will match any string with - * a p in it, such as "apple" not just a string that is simply "p". Therefore, - * it is usually less confusing, as a matter of course, to surround the - * regular expression in ^...$, for example, "^p$", unless there is a good - * reason not to do so. - */ - pattern?: string | undefined; - /** - * The `format` keyword allows for basic semantic identification of certain - * kinds of string values that are commonly used. - * - * For example, because JSON doesn’t have a “DateTime” type, dates need to be - * encoded as strings. `format` allows the schema author to indicate that the - * string value should be interpreted as a date. - * - * ajv v6 provides a few built-in formats - all other strings will cause AJV - * to throw during schema compilation - */ - format?: 'date-time' | 'date' | 'email' | 'hostname' | 'ipv4' | 'ipv6' | 'json-pointer-uri-fragment' | 'json-pointer' | 'regex' | 'relative-json-pointer' | 'time' | 'uri-reference' | 'uri-template' | 'uri' | 'url' | 'uuid' | undefined; - enum?: string[] | undefined; -} -/** - * @see https://json-schema.org/understanding-json-schema/reference/numeric.html - */ -export interface JSONSchema4NumberSchema extends JSONSchema4Base { - type: 'integer' | 'number'; - /** - * Numbers can be restricted to a multiple of a given number, using the - * `multipleOf` keyword. It may be set to any positive number. - */ - multipleOf?: number | undefined; - /** - * The maximum allowed value for the number - */ - maximum?: number | undefined; - /** - * The minimum allowed value for the number - */ - minimum?: number | undefined; - /** - * The exclusive minimum allowed value for the number - * - `true` = `x < maximum` - * - `false` = `x <= maximum` - * - * Default is `false` - */ - exclusiveMaximum?: boolean | undefined; - /** - * Indicates whether or not `minimum` is the inclusive or exclusive minimum - * - `true` = `x > minimum` - * - `false` = `x ≥ minimum` - * - * Default is `false` - */ - exclusiveMinimum?: boolean | undefined; - /** - * This provides an enumeration of all possible values that are valid - * for the instance property. This MUST be an array, and each item in - * the array represents a possible value for the instance value. If - * this attribute is defined, the instance value MUST be one of the - * values in the array in order for the schema to be valid. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.19 - */ - enum?: number[] | undefined; -} -/** - * @see https://json-schema.org/understanding-json-schema/reference/boolean.html - */ -export interface JSONSchema4BooleanSchema extends JSONSchema4Base { - type: 'boolean'; - /** - * This provides an enumeration of all possible values that are valid - * for the instance property. This MUST be an array, and each item in - * the array represents a possible value for the instance value. If - * this attribute is defined, the instance value MUST be one of the - * values in the array in order for the schema to be valid. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.19 - */ - enum?: boolean[] | undefined; -} -/** - * @see https://json-schema.org/understanding-json-schema/reference/null.html - */ -export interface JSONSchema4NullSchema extends JSONSchema4Base { - type: 'null'; - /** - * This provides an enumeration of all possible values that are valid - * for the instance property. This MUST be an array, and each item in - * the array represents a possible value for the instance value. If - * this attribute is defined, the instance value MUST be one of the - * values in the array in order for the schema to be valid. - * - * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.19 - */ - enum?: null[] | undefined; -} -export interface JSONSchema4AnySchema extends JSONSchema4Base { - type: 'any'; -} -export {}; -//# sourceMappingURL=json-schema.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/AST.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/AST.d.ts deleted file mode 100644 index 11e4eb40cc..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/AST.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { AST_TOKEN_TYPES, TSESTree } from '../ts-estree'; -declare namespace AST { - type TokenType = AST_TOKEN_TYPES; - type Token = TSESTree.Token; - type SourceLocation = TSESTree.SourceLocation; - type Range = TSESTree.Range; -} -export { AST }; -//# sourceMappingURL=AST.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/CLIEngine.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/CLIEngine.d.ts deleted file mode 100644 index 978414d55c..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/CLIEngine.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import type { Linter } from './Linter'; -import type { RuleMetaData, RuleModule } from './Rule'; -declare namespace CLIEngine { - interface Options { - allowInlineConfig?: boolean; - baseConfig?: false | Record; - cache?: boolean; - cacheFile?: string; - cacheLocation?: string; - configFile?: string; - cwd?: string; - envs?: string[]; - errorOnUnmatchedPattern?: boolean; - extensions?: string[]; - fix?: boolean; - globals?: string[]; - ignore?: boolean; - ignorePath?: string; - ignorePattern?: string[] | string; - useEslintrc?: boolean; - parser?: string; - parserOptions?: Linter.ParserOptions; - plugins?: string[]; - resolvePluginsRelativeTo?: string; - rules?: Record; - rulePaths?: string[]; - reportUnusedDisableDirectives?: boolean; - } - interface LintResult { - filePath: string; - messages: Linter.LintMessage[]; - errorCount: number; - warningCount: number; - fixableErrorCount: number; - fixableWarningCount: number; - output?: string; - source?: string; - } - interface LintReport { - results: LintResult[]; - errorCount: number; - warningCount: number; - fixableErrorCount: number; - fixableWarningCount: number; - usedDeprecatedRules: DeprecatedRuleUse[]; - } - interface DeprecatedRuleUse { - ruleId: string; - replacedBy: string[]; - } - interface LintResultData { - rulesMeta: Record>; - } - type Formatter = (results: LintResult[], data?: LintResultData) => string; -} -/** - * The underlying utility that runs the ESLint command line interface. This object will read the filesystem for - * configuration and file information but will not output any results. Instead, it allows you direct access to the - * important information so you can deal with the output yourself. - * @deprecated use the ESLint class instead - */ -declare const CLIEngine: { - new (options: CLIEngine.Options): { - /** - * Add a plugin by passing its configuration - * @param name Name of the plugin. - * @param pluginObject Plugin configuration object. - */ - addPlugin(name: string, pluginObject: Linter.Plugin): void; - /** - * Executes the current configuration on an array of file and directory names. - * @param patterns An array of file and directory names. - * @returns The results for all files that were linted. - */ - executeOnFiles(patterns: string[]): CLIEngine.LintReport; - /** - * Executes the current configuration on text. - * @param text A string of JavaScript code to lint. - * @param filename An optional string representing the texts filename. - * @param warnIgnored Always warn when a file is ignored - * @returns The results for the linting. - */ - executeOnText(text: string, filename?: string, warnIgnored?: boolean): CLIEngine.LintReport; - /** - * Returns a configuration object for the given file based on the CLI options. - * This is the same logic used by the ESLint CLI executable to determine configuration for each file it processes. - * @param filePath The path of the file to retrieve a config object for. - * @returns A configuration object for the file. - */ - getConfigForFile(filePath: string): Linter.Config; - /** - * Returns the formatter representing the given format. - * @param format The name of the format to load or the path to a custom formatter. - * @returns The formatter function. - */ - getFormatter(format?: string): CLIEngine.Formatter; - /** - * Checks if a given path is ignored by ESLint. - * @param filePath The path of the file to check. - * @returns Whether or not the given path is ignored. - */ - isPathIgnored(filePath: string): boolean; - /** - * Resolves the patterns passed into `executeOnFiles()` into glob-based patterns for easier handling. - * @param patterns The file patterns passed on the command line. - * @returns The equivalent glob patterns. - */ - resolveFileGlobPatterns(patterns: string[]): string[]; - getRules(): Map>; - }; - /** - * Returns results that only contains errors. - * @param results The results to filter. - * @returns The filtered results. - */ - getErrorResults(results: CLIEngine.LintResult[]): CLIEngine.LintResult[]; - /** - * Returns the formatter representing the given format or null if the `format` is not a string. - * @param format The name of the format to load or the path to a custom formatter. - * @returns The formatter function. - */ - getFormatter(format?: string): CLIEngine.Formatter; - /** - * Outputs fixes from the given results to files. - * @param report The report object created by CLIEngine. - */ - outputFixes(report: CLIEngine.LintReport): void; - version: string; -} | undefined; -export { CLIEngine }; -//# sourceMappingURL=CLIEngine.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/ESLint.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/ESLint.d.ts deleted file mode 100644 index 0380d2688a..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/ESLint.d.ts +++ /dev/null @@ -1,376 +0,0 @@ -import type { Linter } from './Linter'; -declare class ESLintBase { - /** - * Creates a new instance of the main ESLint API. - * @param options The options for this instance. - */ - constructor(options?: ESLint.ESLintOptions); - /** - * This method calculates the configuration for a given file, which can be useful for debugging purposes. - * - It resolves and merges extends and overrides settings into the top level configuration. - * - It resolves the parser setting to absolute paths. - * - It normalizes the plugins setting to align short names. (e.g., eslint-plugin-foo → foo) - * - It adds the processor setting if a legacy file extension processor is matched. - * - It doesn't interpret the env setting to the globals and parserOptions settings, so the result object contains - * the env setting as is. - * @param filePath The path to the file whose configuration you would like to calculate. Directory paths are forbidden - * because ESLint cannot handle the overrides setting. - * @returns The promise that will be fulfilled with a configuration object. - */ - calculateConfigForFile(filePath: string): Promise; - /** - * This method checks if a given file is ignored by your configuration. - * @param filePath The path to the file you want to check. - * @returns The promise that will be fulfilled with whether the file is ignored or not. If the file is ignored, then - * it will return true. - */ - isPathIgnored(filePath: string): Promise; - /** - * This method lints the files that match the glob patterns and then returns the results. - * @param patterns The lint target files. This can contain any of file paths, directory paths, and glob patterns. - * @returns The promise that will be fulfilled with an array of LintResult objects. - */ - lintFiles(patterns: string[] | string): Promise; - /** - * This method lints the given source code text and then returns the results. - * - * By default, this method uses the configuration that applies to files in the current working directory (the cwd - * constructor option). If you want to use a different configuration, pass options.filePath, and ESLint will load the - * same configuration that eslint.lintFiles() would use for a file at options.filePath. - * - * If the options.filePath value is configured to be ignored, this method returns an empty array. If the - * options.warnIgnored option is set along with the options.filePath option, this method returns a LintResult object. - * In that case, the result may contain a warning that indicates the file was ignored. - * @param code The source code text to check. - * @param options The options. - * @returns The promise that will be fulfilled with an array of LintResult objects. This is an array (despite there - * being only one lint result) in order to keep the interfaces between this and the eslint.lintFiles() - * method similar. - */ - lintText(code: string, options?: ESLint.LintTextOptions): Promise; - /** - * This method loads a formatter. Formatters convert lint results to a human- or machine-readable string. - * @param name TThe path to the file you want to check. - * The following values are allowed: - * - undefined. In this case, loads the "stylish" built-in formatter. - * - A name of built-in formatters. - * - A name of third-party formatters. For examples: - * -- `foo` will load eslint-formatter-foo. - * -- `@foo` will load `@foo/eslint-formatter`. - * -- `@foo/bar` will load `@foo/eslint-formatter-bar`. - * - A path to the file that defines a formatter. The path must contain one or more path separators (/) in order to distinguish if it's a path or not. For example, start with ./. - * @returns The promise that will be fulfilled with a Formatter object. - */ - loadFormatter(name?: string): Promise; - /** - * This method copies the given results and removes warnings. The returned value contains only errors. - * @param results The LintResult objects to filter. - * @returns The filtered LintResult objects. - */ - static getErrorResults(results: ESLint.LintResult): ESLint.LintResult; - /** - * This method writes code modified by ESLint's autofix feature into its respective file. If any of the modified - * files don't exist, this method does nothing. - * @param results The LintResult objects to write. - * @returns The promise that will be fulfilled after all files are written. - */ - static outputFixes(results: ESLint.LintResult): Promise; - /** - * The version text. - */ - static readonly version: string; -} -declare namespace ESLint { - interface ESLintOptions { - /** - * If false is present, ESLint suppresses directive comments in source code. - * If this option is false, it overrides the noInlineConfig setting in your configurations. - */ - allowInlineConfig?: boolean; - /** - * Configuration object, extended by all configurations used with this instance. - * You can use this option to define the default settings that will be used if your configuration files don't - * configure it. - */ - baseConfig?: Linter.Config | null; - /** - * If true is present, the eslint.lintFiles() method caches lint results and uses it if each target file is not - * changed. Please mind that ESLint doesn't clear the cache when you upgrade ESLint plugins. In that case, you have - * to remove the cache file manually. The eslint.lintText() method doesn't use caches even if you pass the - * options.filePath to the method. - */ - cache?: boolean; - /** - * The eslint.lintFiles() method writes caches into this file. - */ - cacheLocation?: string; - /** - * The working directory. This must be an absolute path. - */ - cwd?: string; - /** - * Unless set to false, the eslint.lintFiles() method will throw an error when no target files are found. - */ - errorOnUnmatchedPattern?: boolean; - /** - * If you pass directory paths to the eslint.lintFiles() method, ESLint checks the files in those directories that - * have the given extensions. For example, when passing the src/ directory and extensions is [".js", ".ts"], ESLint - * will lint *.js and *.ts files in src/. If extensions is null, ESLint checks *.js files and files that match - * overrides[].files patterns in your configuration. - * Note: This option only applies when you pass directory paths to the eslint.lintFiles() method. - * If you pass glob patterns, ESLint will lint all files matching the glob pattern regardless of extension. - */ - extensions?: string[] | null; - /** - * If true is present, the eslint.lintFiles() and eslint.lintText() methods work in autofix mode. - * If a predicate function is present, the methods pass each lint message to the function, then use only the - * lint messages for which the function returned true. - */ - fix?: boolean | ((message: ESLint.LintMessage) => boolean); - /** - * The types of the rules that the eslint.lintFiles() and eslint.lintText() methods use for autofix. - */ - fixTypes?: ('directive' | 'layout' | 'problem' | 'suggestion')[] | null; - /** - * If false is present, the eslint.lintFiles() method doesn't interpret glob patterns. - */ - globInputPaths?: boolean; - /** - * If false is present, the eslint.lintFiles() method doesn't respect `.eslintignore` files or ignorePatterns in - * your configuration. - */ - ignore?: boolean; - /** - * The path to a file ESLint uses instead of `$CWD/.eslintignore`. - * If a path is present and the file doesn't exist, this constructor will throw an error. - */ - ignorePath?: string; - /** - * Configuration object, overrides all configurations used with this instance. - * You can use this option to define the settings that will be used even if your configuration files configure it. - */ - overrideConfig?: Linter.ConfigOverride | null; - /** - * The path to a configuration file, overrides all configurations used with this instance. - * The options.overrideConfig option is applied after this option is applied. - */ - overrideConfigFile?: string | null; - /** - * The plugin implementations that ESLint uses for the plugins setting of your configuration. - * This is a map-like object. Those keys are plugin IDs and each value is implementation. - */ - plugins?: Record | null; - /** - * The severity to report unused eslint-disable directives. - * If this option is a severity, it overrides the reportUnusedDisableDirectives setting in your configurations. - */ - reportUnusedDisableDirectives?: Linter.SeverityString | null; - /** - * The path to a directory where plugins should be resolved from. - * If null is present, ESLint loads plugins from the location of the configuration file that contains the plugin - * setting. - * If a path is present, ESLint loads all plugins from there. - */ - resolvePluginsRelativeTo?: string | null; - /** - * An array of paths to directories to load custom rules from. - */ - rulePaths?: string[]; - /** - * If false is present, ESLint doesn't load configuration files (.eslintrc.* files). - * Only the configuration of the constructor options is valid. - */ - useEslintrc?: boolean; - } - interface DeprecatedRuleInfo { - /** - * The rule ID. - */ - ruleId: string; - /** - * The rule IDs that replace this deprecated rule. - */ - replacedBy: string[]; - } - /** - * The LintResult value is the information of the linting result of each file. - */ - interface LintResult { - /** - * The number of errors. This includes fixable errors. - */ - errorCount: number; - /** - * The number of fatal errors. - * @since 7.32.0 - */ - fatalErrorCount?: number; - /** - * The absolute path to the file of this result. This is the string "" if the file path is unknown (when you - * didn't pass the options.filePath option to the eslint.lintText() method). - */ - filePath: string; - /** - * The number of errors that can be fixed automatically by the fix constructor option. - */ - fixableErrorCount: number; - /** - * The number of warnings that can be fixed automatically by the fix constructor option. - */ - fixableWarningCount: number; - /** - * The array of LintMessage objects. - */ - messages: ESLint.LintMessage[]; - /** - * The source code of the file that was linted, with as many fixes applied as possible. - */ - output?: string; - /** - * The original source code text. This property is undefined if any messages didn't exist or the output - * property exists. - */ - source?: string; - /** - * The array of SuppressedLintMessage objects. - * - * @since 8.8.0 - */ - suppressedMessages?: SuppressedLintMessage[]; - /** - * The information about the deprecated rules that were used to check this file. - */ - usedDeprecatedRules: DeprecatedRuleInfo[]; - /** - * The number of warnings. This includes fixable warnings. - */ - warningCount: number; - } - interface LintTextOptions { - /** - * The path to the file of the source code text. If omitted, the result.filePath becomes the string "". - */ - filePath?: string; - /** - * If true is present and the options.filePath is a file ESLint should ignore, this method returns a lint result - * contains a warning message. - */ - warnIgnored?: boolean; - } - /** - * The LintMessage value is the information of each linting error. - */ - interface LintMessage { - /** - * The 1-based column number of the begin point of this message. - */ - column: number | undefined; - /** - * The 1-based column number of the end point of this message. This property is undefined if this message - * is not a range. - */ - endColumn: number | undefined; - /** - * The 1-based line number of the end point of this message. This property is undefined if this - * message is not a range. - */ - endLine: number | undefined; - /** - * `true` if this is a fatal error unrelated to a rule, like a parsing error. - * @since 7.24.0 - */ - fatal?: boolean | undefined; - /** - * The EditInfo object of autofix. This property is undefined if this message is not fixable. - */ - fix: EditInfo | undefined; - /** - * The 1-based line number of the begin point of this message. - */ - line: number | undefined; - /** - * The error message - */ - message: string; - /** - * The rule name that generates this lint message. If this message is generated by the ESLint core rather than - * rules, this is null. - */ - ruleId: string | null; - /** - * The severity of this message. 1 means warning and 2 means error. - */ - severity: 1 | 2; - /** - * The list of suggestions. Each suggestion is the pair of a description and an EditInfo object to fix code. API - * users such as editor integrations can choose one of them to fix the problem of this message. This property is - * undefined if this message doesn't have any suggestions. - */ - suggestions: { - desc: string; - fix: EditInfo; - }[] | undefined; - } - /** - * The SuppressedLintMessage value is the information of each suppressed linting error. - */ - interface SuppressedLintMessage extends ESLint.LintMessage { - /** - * The list of suppressions. - */ - suppressions?: { - /** - * Right now, this is always `directive` - */ - kind: string; - /** - * The free text description added after the `--` in the comment - */ - justification: string; - }[]; - } - /** - * The EditInfo value is information to edit text. - * - * This edit information means replacing the range of the range property by the text property value. It's like - * sourceCodeText.slice(0, edit.range[0]) + edit.text + sourceCodeText.slice(edit.range[1]). Therefore, it's an add - * if the range[0] and range[1] property values are the same value, and it's removal if the text property value is - * empty string. - */ - interface EditInfo { - /** - * The pair of 0-based indices in source code text to remove. - */ - range: [ - number, - number - ]; - /** - * The text to add. - */ - text: string; - } - /** - * The Formatter value is the object to convert the LintResult objects to text. - */ - interface Formatter { - /** - * The method to convert the LintResult objects to text. - * Promise return supported since 8.4.0 - */ - format(results: LintResult[]): Promise | string; - } -} -declare const _ESLint: typeof ESLintBase; -/** - * The ESLint class is the primary class to use in Node.js applications. - * This class depends on the Node.js fs module and the file system, so you cannot use it in browsers. - * - * If you want to lint code on browsers, use the Linter class instead. - * - * @since 7.0.0 - */ -declare class ESLint extends _ESLint { -} -export { ESLint }; -//# sourceMappingURL=ESLint.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Linter.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Linter.d.ts deleted file mode 100644 index 2766f7dfe0..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Linter.d.ts +++ /dev/null @@ -1,327 +0,0 @@ -import type { ParserServices, TSESTree } from '../ts-estree'; -import type { ParserOptions as TSParserOptions } from './ParserOptions'; -import type { RuleCreateFunction, RuleFix, RuleModule, SharedConfigurationSettings } from './Rule'; -import type { Scope } from './Scope'; -import type { SourceCode } from './SourceCode'; -export type MinimalRuleModule = Partial, 'create'>> & Pick, 'create'>; -declare class LinterBase { - /** - * Initialize the Linter. - * @param config the config object - */ - constructor(config?: Linter.LinterOptions); - /** - * Define a new parser module - * @param parserId Name of the parser - * @param parserModule The parser object - */ - defineParser(parserId: string, parserModule: Linter.ParserModule): void; - /** - * Defines a new linting rule. - * @param ruleId A unique rule identifier - * @param ruleModule Function from context to object mapping AST node types to event handlers - */ - defineRule(ruleId: string, ruleModule: MinimalRuleModule | RuleCreateFunction): void; - /** - * Defines many new linting rules. - * @param rulesToDefine map from unique rule identifier to rule - */ - defineRules(rulesToDefine: Record | RuleCreateFunction>): void; - /** - * Gets an object with all loaded rules. - * @returns All loaded rules - */ - getRules(): Map>; - /** - * Gets the `SourceCode` object representing the parsed source. - * @returns The `SourceCode` object. - */ - getSourceCode(): SourceCode; - /** - * Verifies the text against the rules specified by the second argument. - * @param textOrSourceCode The text to parse or a SourceCode object. - * @param config An ESLintConfig instance to configure everything. - * @param filenameOrOptions The optional filename of the file being checked. - * If this is not set, the filename will default to '' in the rule context. - * If this is an object, then it has "filename", "allowInlineConfig", and some properties. - * @returns The results as an array of messages or an empty array if no messages. - */ - verify(textOrSourceCode: SourceCode | string, config: Linter.Config, filenameOrOptions?: Linter.VerifyOptions | string): Linter.LintMessage[]; - /** - * Performs multiple autofix passes over the text until as many fixes as possible have been applied. - * @param code The source text to apply fixes to. - * @param config The ESLint config object to use. - * @param options The ESLint options object to use. - * @returns The result of the fix operation as returned from the SourceCodeFixer. - */ - verifyAndFix(code: string, config: Linter.Config, options: Linter.FixOptions): Linter.FixReport; - /** - * The version from package.json. - */ - readonly version: string; - /** - * The version from package.json. - */ - static readonly version: string; -} -declare namespace Linter { - export interface LinterOptions { - /** - * path to a directory that should be considered as the current working directory. - */ - cwd?: string; - } - export type Severity = 0 | 1 | 2; - export type SeverityString = 'error' | 'off' | 'warn'; - export type RuleLevel = Severity | SeverityString; - export type RuleLevelAndOptions = [ - RuleLevel, - ...unknown[] - ]; - export type RuleEntry = RuleLevel | RuleLevelAndOptions; - export type RulesRecord = Partial>; - export type GlobalVariableOptionBase = 'off' | 'readonly' | 'writable'; - export type GlobalVariableOption = GlobalVariableOptionBase | boolean; - export type GlobalsConfig = Record; - export type EnvironmentConfig = Record; - interface BaseConfig { - $schema?: string; - /** - * The environment settings. - */ - env?: EnvironmentConfig; - /** - * The path to other config files or the package name of shareable configs. - */ - extends?: string[] | string; - /** - * The global variable settings. - */ - globals?: GlobalsConfig; - /** - * The flag that disables directive comments. - */ - noInlineConfig?: boolean; - /** - * The override settings per kind of files. - */ - overrides?: ConfigOverride[]; - /** - * The path to a parser or the package name of a parser. - */ - parser?: string; - /** - * The parser options. - */ - parserOptions?: ParserOptions; - /** - * The plugin specifiers. - */ - plugins?: string[]; - /** - * The processor specifier. - */ - processor?: string; - /** - * The flag to report unused `eslint-disable` comments. - */ - reportUnusedDisableDirectives?: boolean; - /** - * The rule settings. - */ - rules?: RulesRecord; - /** - * The shared settings. - */ - settings?: SharedConfigurationSettings; - } - export interface ConfigOverride extends BaseConfig { - excludedFiles?: string[] | string; - files: string[] | string; - } - export interface Config extends BaseConfig { - /** - * The glob patterns that ignore to lint. - */ - ignorePatterns?: string[] | string; - /** - * The root flag. - */ - root?: boolean; - } - export type ParserOptions = TSParserOptions; - export interface VerifyOptions { - /** - * Allow/disallow inline comments' ability to change config once it is set. Defaults to true if not supplied. - * Useful if you want to validate JS without comments overriding rules. - */ - allowInlineConfig?: boolean; - /** - * if `true` then the linter doesn't make `fix` properties into the lint result. - */ - disableFixes?: boolean; - /** - * the filename of the source code. - */ - filename?: string; - /** - * the predicate function that selects adopt code blocks. - */ - filterCodeBlock?: (filename: string, text: string) => boolean; - /** - * postprocessor for report messages. - * If provided, this should accept an array of the message lists - * for each code block returned from the preprocessor, apply a mapping to - * the messages as appropriate, and return a one-dimensional array of - * messages. - */ - postprocess?: Processor['postprocess']; - /** - * preprocessor for source text. - * If provided, this should accept a string of source text, and return an array of code blocks to lint. - */ - preprocess?: Processor['preprocess']; - /** - * Adds reported errors for unused `eslint-disable` directives. - */ - reportUnusedDisableDirectives?: SeverityString | boolean; - } - export interface FixOptions extends VerifyOptions { - /** - * Determines whether fixes should be applied. - */ - fix?: boolean; - } - export interface LintSuggestion { - desc: string; - fix: RuleFix; - messageId?: string; - } - export interface LintMessage { - /** - * The 1-based column number. - */ - column: number; - /** - * The 1-based column number of the end location. - */ - endColumn?: number; - /** - * The 1-based line number of the end location. - */ - endLine?: number; - /** - * If `true` then this is a fatal error. - */ - fatal?: true; - /** - * Information for autofix. - */ - fix?: RuleFix; - /** - * The 1-based line number. - */ - line: number; - /** - * The error message. - */ - message: string; - messageId?: string; - nodeType: string; - /** - * The ID of the rule which makes this message. - */ - ruleId: string | null; - /** - * The severity of this message. - */ - severity: Severity; - source: string | null; - /** - * Information for suggestions - */ - suggestions?: LintSuggestion[]; - } - export interface FixReport { - /** - * True, if the code was fixed - */ - fixed: boolean; - /** - * Fixed code text (might be the same as input if no fixes were applied). - */ - output: string; - /** - * Collection of all messages for the given code - */ - messages: LintMessage[]; - } - export type ParserModule = { - parse(text: string, options?: ParserOptions): TSESTree.Program; - } | { - parseForESLint(text: string, options?: ParserOptions): ESLintParseResult; - }; - export interface ESLintParseResult { - ast: TSESTree.Program; - services?: ParserServices; - scopeManager?: Scope.ScopeManager; - visitorKeys?: SourceCode.VisitorKeys; - } - export interface Processor { - /** - * The function to extract code blocks. - */ - preprocess?: (text: string, filename: string) => (string | { - text: string; - filename: string; - })[]; - /** - * The function to merge messages. - */ - postprocess?: (messagesList: Linter.LintMessage[][], filename: string) => Linter.LintMessage[]; - /** - * If `true` then it means the processor supports autofix. - */ - supportsAutofix?: boolean; - } - export interface Environment { - /** - * The definition of global variables. - */ - globals?: Record; - /** - * The parser options that will be enabled under this environment. - */ - parserOptions?: ParserOptions; - } - export interface Plugin { - /** - * The definition of plugin configs. - */ - configs?: Record; - /** - * The definition of plugin environments. - */ - environments?: Record; - /** - * The definition of plugin processors. - */ - processors?: Record; - /** - * The definition of plugin rules. - */ - rules?: Record>; - } - export {}; -} -declare const Linter_base: typeof LinterBase; -/** - * The Linter object does the actual evaluation of the JavaScript code. It doesn't do any filesystem operations, it - * simply parses and reports on the code. In particular, the Linter object does not process configuration objects - * or files. - */ -declare class Linter extends Linter_base { -} -export { Linter }; -//# sourceMappingURL=Linter.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/ParserOptions.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/ParserOptions.d.ts deleted file mode 100644 index 3956b84ec0..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/ParserOptions.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { DebugLevel, EcmaVersion, ParserOptions, SourceType, } from '@typescript-eslint/types'; -//# sourceMappingURL=ParserOptions.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts deleted file mode 100644 index 96c6d107b6..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Rule.d.ts +++ /dev/null @@ -1,418 +0,0 @@ -import type { JSONSchema4 } from '../json-schema'; -import type { ParserServices, TSESTree } from '../ts-estree'; -import type { AST } from './AST'; -import type { Linter } from './Linter'; -import type { Scope } from './Scope'; -import type { SourceCode } from './SourceCode'; -export type RuleRecommendation = 'recommended' | 'strict' | 'stylistic'; -interface RuleMetaDataDocs { - /** - * Concise description of the rule - */ - description: string; - /** - * The recommendation level for the rule. - * Used by the build tools to generate the recommended and strict configs. - * Exclude to not include it as a recommendation. - */ - recommended?: RuleRecommendation; - /** - * The URL of the rule's docs - */ - url?: string; - /** - * Does the rule require us to create a full TypeScript Program in order for it - * to type-check code. This is only used for documentation purposes. - */ - requiresTypeChecking?: boolean; - /** - * Does the rule extend (or is it based off of) an ESLint code rule? - * Alternately accepts the name of the base rule, in case the rule has been renamed. - * This is only used for documentation purposes. - */ - extendsBaseRule?: boolean | string; -} -interface RuleMetaData { - /** - * True if the rule is deprecated, false otherwise - */ - deprecated?: boolean; - /** - * Documentation for the rule, unnecessary for custom rules/plugins - */ - docs?: RuleMetaDataDocs; - /** - * The fixer category. Omit if there is no fixer - */ - fixable?: 'code' | 'whitespace'; - /** - * Specifies whether rules can return suggestions. Omit if there is no suggestions - */ - hasSuggestions?: boolean; - /** - * A map of messages which the rule can report. - * The key is the messageId, and the string is the parameterised error string. - * See: https://eslint.org/docs/developer-guide/working-with-rules#messageids - */ - messages: Record; - /** - * The type of rule. - * - `"problem"` means the rule is identifying code that either will cause an error or may cause a confusing behavior. Developers should consider this a high priority to resolve. - * - `"suggestion"` means the rule is identifying something that could be done in a better way but no errors will occur if the code isn’t changed. - * - `"layout"` means the rule cares primarily about whitespace, semicolons, commas, and parentheses, all the parts of the program that determine how the code looks rather than how it executes. These rules work on parts of the code that aren’t specified in the AST. - */ - type: 'layout' | 'problem' | 'suggestion'; - /** - * The name of the rule this rule was replaced by, if it was deprecated. - */ - replacedBy?: readonly string[]; - /** - * The options schema. Supply an empty array if there are no options. - */ - schema: JSONSchema4 | readonly JSONSchema4[]; -} -interface RuleFix { - range: Readonly; - text: string; -} -interface RuleFixer { - insertTextAfter(nodeOrToken: TSESTree.Node | TSESTree.Token, text: string): RuleFix; - insertTextAfterRange(range: Readonly, text: string): RuleFix; - insertTextBefore(nodeOrToken: TSESTree.Node | TSESTree.Token, text: string): RuleFix; - insertTextBeforeRange(range: Readonly, text: string): RuleFix; - remove(nodeOrToken: TSESTree.Node | TSESTree.Token): RuleFix; - removeRange(range: Readonly): RuleFix; - replaceText(nodeOrToken: TSESTree.Node | TSESTree.Token, text: string): RuleFix; - replaceTextRange(range: Readonly, text: string): RuleFix; -} -interface SuggestionReportDescriptor extends Omit, 'fix'> { - readonly fix: ReportFixFunction; -} -type ReportFixFunction = (fixer: RuleFixer) => IterableIterator | RuleFix | readonly RuleFix[] | null; -type ReportSuggestionArray = SuggestionReportDescriptor[]; -type ReportDescriptorMessageData = Readonly>; -interface ReportDescriptorBase { - /** - * The parameters for the message string associated with `messageId`. - */ - readonly data?: ReportDescriptorMessageData; - /** - * The fixer function. - */ - readonly fix?: ReportFixFunction | null; - /** - * The messageId which is being reported. - */ - readonly messageId: TMessageIds; -} -interface ReportDescriptorWithSuggestion extends ReportDescriptorBase { - /** - * 6.7's Suggestions API - */ - readonly suggest?: Readonly> | null; -} -interface ReportDescriptorNodeOptionalLoc { - /** - * The Node or AST Token which the report is being attached to - */ - readonly node: TSESTree.Node | TSESTree.Token; - /** - * An override of the location of the report - */ - readonly loc?: Readonly | Readonly; -} -interface ReportDescriptorLocOnly { - /** - * An override of the location of the report - */ - loc: Readonly | Readonly; -} -type ReportDescriptor = ReportDescriptorWithSuggestion & (ReportDescriptorLocOnly | ReportDescriptorNodeOptionalLoc); -/** - * Plugins can add their settings using declaration - * merging against this interface. - */ -type SharedConfigurationSettings = Record; -interface RuleContext { - /** - * The rule ID. - */ - id: string; - /** - * An array of the configured options for this rule. - * This array does not include the rule severity. - */ - options: TOptions; - /** - * The name of the parser from configuration. - */ - parserPath: string; - /** - * The parser options configured for this run - */ - parserOptions: Linter.ParserOptions; - /** - * An object containing parser-provided services for rules - */ - parserServices?: ParserServices; - /** - * The shared settings from configuration. - * We do not have any shared settings in this plugin. - */ - settings: SharedConfigurationSettings; - /** - * Returns an array of the ancestors of the currently-traversed node, starting at - * the root of the AST and continuing through the direct parent of the current node. - * This array does not include the currently-traversed node itself. - */ - getAncestors(): TSESTree.Node[]; - /** - * Returns a list of variables declared by the given node. - * This information can be used to track references to variables. - */ - getDeclaredVariables(node: TSESTree.Node): readonly Scope.Variable[]; - /** - * Returns the current working directory passed to Linter. - * It is a path to a directory that should be considered as the current working directory. - * @since 6.6.0 - */ - getCwd(): string; - /** - * The current working directory passed to Linter. - * It is a path to a directory that should be considered as the current working directory. - * @since 8.40.0 - */ - cwd: string; - /** - * Returns the filename associated with the source. - */ - getFilename(): string; - /** - * The filename associated with the source. - * @since 8.40.0 - */ - filename: string; - /** - * Returns the full path of the file on disk without any code block information (unlike `getFilename()`). - * @since 7.28.0 - */ - getPhysicalFilename?(): string; - /** - * The full path of the file on disk without any code block information (unlike `filename`). - * @since 8.40.0 - */ - physicalFilename?: string; - /** - * Returns the scope of the currently-traversed node. - * This information can be used track references to variables. - */ - getScope(): Scope.Scope; - /** - * Returns a SourceCode object that you can use to work with the source that - * was passed to ESLint. - */ - getSourceCode(): Readonly; - /** - * A SourceCode object that you can use to work with the source that - * was passed to ESLint. - * @since 8.40.0 - */ - sourceCode: Readonly; - /** - * Marks a variable with the given name in the current scope as used. - * This affects the no-unused-vars rule. - */ - markVariableAsUsed(name: string): boolean; - /** - * Reports a problem in the code. - */ - report(descriptor: ReportDescriptor): void; -} -type RuleFunction = (node: T) => void; -interface RuleListenerBaseSelectors { - ArrayExpression?: RuleFunction; - ArrayPattern?: RuleFunction; - ArrowFunctionExpression?: RuleFunction; - AssignmentExpression?: RuleFunction; - AssignmentPattern?: RuleFunction; - AwaitExpression?: RuleFunction; - BigIntLiteral?: RuleFunction; - BinaryExpression?: RuleFunction; - BlockStatement?: RuleFunction; - BreakStatement?: RuleFunction; - CallExpression?: RuleFunction; - CatchClause?: RuleFunction; - ChainExpression?: RuleFunction; - ClassBody?: RuleFunction; - ClassDeclaration?: RuleFunction; - ClassExpression?: RuleFunction; - ConditionalExpression?: RuleFunction; - ContinueStatement?: RuleFunction; - DebuggerStatement?: RuleFunction; - Decorator?: RuleFunction; - DoWhileStatement?: RuleFunction; - EmptyStatement?: RuleFunction; - ExportAllDeclaration?: RuleFunction; - ExportDefaultDeclaration?: RuleFunction; - ExportNamedDeclaration?: RuleFunction; - ExportSpecifier?: RuleFunction; - ExpressionStatement?: RuleFunction; - ForInStatement?: RuleFunction; - ForOfStatement?: RuleFunction; - ForStatement?: RuleFunction; - FunctionDeclaration?: RuleFunction; - FunctionExpression?: RuleFunction; - Identifier?: RuleFunction; - IfStatement?: RuleFunction; - ImportDeclaration?: RuleFunction; - ImportDefaultSpecifier?: RuleFunction; - ImportExpression?: RuleFunction; - ImportNamespaceSpecifier?: RuleFunction; - ImportSpecifier?: RuleFunction; - JSXAttribute?: RuleFunction; - JSXClosingElement?: RuleFunction; - JSXClosingFragment?: RuleFunction; - JSXElement?: RuleFunction; - JSXEmptyExpression?: RuleFunction; - JSXExpressionContainer?: RuleFunction; - JSXFragment?: RuleFunction; - JSXIdentifier?: RuleFunction; - JSXMemberExpression?: RuleFunction; - JSXOpeningElement?: RuleFunction; - JSXOpeningFragment?: RuleFunction; - JSXSpreadAttribute?: RuleFunction; - JSXSpreadChild?: RuleFunction; - JSXText?: RuleFunction; - LabeledStatement?: RuleFunction; - Literal?: RuleFunction; - LogicalExpression?: RuleFunction; - MemberExpression?: RuleFunction; - MetaProperty?: RuleFunction; - MethodDefinition?: RuleFunction; - NewExpression?: RuleFunction; - ObjectExpression?: RuleFunction; - ObjectPattern?: RuleFunction; - Program?: RuleFunction; - Property?: RuleFunction; - PropertyDefinition?: RuleFunction; - RestElement?: RuleFunction; - ReturnStatement?: RuleFunction; - SequenceExpression?: RuleFunction; - SpreadElement?: RuleFunction; - Super?: RuleFunction; - SwitchCase?: RuleFunction; - SwitchStatement?: RuleFunction; - TaggedTemplateExpression?: RuleFunction; - TemplateElement?: RuleFunction; - TemplateLiteral?: RuleFunction; - ThisExpression?: RuleFunction; - ThrowStatement?: RuleFunction; - TryStatement?: RuleFunction; - TSAbstractKeyword?: RuleFunction; - TSAbstractMethodDefinition?: RuleFunction; - TSAbstractPropertyDefinition?: RuleFunction; - TSAnyKeyword?: RuleFunction; - TSArrayType?: RuleFunction; - TSAsExpression?: RuleFunction; - TSAsyncKeyword?: RuleFunction; - TSBigIntKeyword?: RuleFunction; - TSBooleanKeyword?: RuleFunction; - TSCallSignatureDeclaration?: RuleFunction; - TSClassImplements?: RuleFunction; - TSConditionalType?: RuleFunction; - TSConstructorType?: RuleFunction; - TSConstructSignatureDeclaration?: RuleFunction; - TSDeclareFunction?: RuleFunction; - TSDeclareKeyword?: RuleFunction; - TSEmptyBodyFunctionExpression?: RuleFunction; - TSEnumDeclaration?: RuleFunction; - TSEnumMember?: RuleFunction; - TSExportAssignment?: RuleFunction; - TSExportKeyword?: RuleFunction; - TSExternalModuleReference?: RuleFunction; - TSFunctionType?: RuleFunction; - TSImportEqualsDeclaration?: RuleFunction; - TSImportType?: RuleFunction; - TSIndexedAccessType?: RuleFunction; - TSIndexSignature?: RuleFunction; - TSInferType?: RuleFunction; - TSInterfaceBody?: RuleFunction; - TSInterfaceDeclaration?: RuleFunction; - TSInterfaceHeritage?: RuleFunction; - TSIntersectionType?: RuleFunction; - TSLiteralType?: RuleFunction; - TSMappedType?: RuleFunction; - TSMethodSignature?: RuleFunction; - TSModuleBlock?: RuleFunction; - TSModuleDeclaration?: RuleFunction; - TSNamespaceExportDeclaration?: RuleFunction; - TSNeverKeyword?: RuleFunction; - TSNonNullExpression?: RuleFunction; - TSNullKeyword?: RuleFunction; - TSNumberKeyword?: RuleFunction; - TSObjectKeyword?: RuleFunction; - TSOptionalType?: RuleFunction; - TSParameterProperty?: RuleFunction; - TSPrivateKeyword?: RuleFunction; - TSPropertySignature?: RuleFunction; - TSProtectedKeyword?: RuleFunction; - TSPublicKeyword?: RuleFunction; - TSQualifiedName?: RuleFunction; - TSReadonlyKeyword?: RuleFunction; - TSRestType?: RuleFunction; - TSStaticKeyword?: RuleFunction; - TSStringKeyword?: RuleFunction; - TSSymbolKeyword?: RuleFunction; - TSThisType?: RuleFunction; - TSTupleType?: RuleFunction; - TSTypeAliasDeclaration?: RuleFunction; - TSTypeAnnotation?: RuleFunction; - TSTypeAssertion?: RuleFunction; - TSTypeLiteral?: RuleFunction; - TSTypeOperator?: RuleFunction; - TSTypeParameter?: RuleFunction; - TSTypeParameterDeclaration?: RuleFunction; - TSTypeParameterInstantiation?: RuleFunction; - TSTypePredicate?: RuleFunction; - TSTypeQuery?: RuleFunction; - TSTypeReference?: RuleFunction; - TSUndefinedKeyword?: RuleFunction; - TSUnionType?: RuleFunction; - TSUnknownKeyword?: RuleFunction; - TSVoidKeyword?: RuleFunction; - UnaryExpression?: RuleFunction; - UpdateExpression?: RuleFunction; - VariableDeclaration?: RuleFunction; - VariableDeclarator?: RuleFunction; - WhileStatement?: RuleFunction; - WithStatement?: RuleFunction; - YieldExpression?: RuleFunction; -} -type RuleListenerExitSelectors = { - [K in keyof RuleListenerBaseSelectors as `${K}:exit`]: RuleListenerBaseSelectors[K]; -}; -type RuleListenerCatchAllBaseCase = Record; -interface RuleListenerExtension { -} -type RuleListener = RuleListenerBaseSelectors & RuleListenerCatchAllBaseCase & RuleListenerExitSelectors; -interface RuleModule { - /** - * Default options the rule will be run with - */ - defaultOptions: TOptions; - /** - * Metadata about the rule - */ - meta: RuleMetaData; - /** - * Function which returns an object with methods that ESLint calls to “visit” - * nodes while traversing the abstract syntax tree. - */ - create(context: Readonly>): TRuleListener; -} -type AnyRuleModule = RuleModule; -type RuleCreateFunction = (context: Readonly>) => RuleListener; -type AnyRuleCreateFunction = RuleCreateFunction; -export { AnyRuleCreateFunction, AnyRuleModule, ReportDescriptor, ReportDescriptorMessageData, ReportFixFunction, ReportSuggestionArray, RuleContext, RuleCreateFunction, RuleFix, RuleFixer, RuleFunction, RuleListener, RuleListenerExtension, RuleMetaData, RuleMetaDataDocs, RuleModule, SharedConfigurationSettings, }; -//# sourceMappingURL=Rule.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/RuleTester.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/RuleTester.d.ts deleted file mode 100644 index 61134add30..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/RuleTester.d.ts +++ /dev/null @@ -1,161 +0,0 @@ -import type { AST_NODE_TYPES, AST_TOKEN_TYPES } from '../ts-estree'; -import type { Linter } from './Linter'; -import type { ParserOptions } from './ParserOptions'; -import type { ReportDescriptorMessageData, RuleCreateFunction, RuleModule, SharedConfigurationSettings } from './Rule'; -interface ValidTestCase> { - /** - * Name for the test case. - * @since 8.1.0 - */ - readonly name?: string; - /** - * Code for the test case. - */ - readonly code: string; - /** - * Environments for the test case. - */ - readonly env?: Readonly>; - /** - * The fake filename for the test case. Useful for rules that make assertion about filenames. - */ - readonly filename?: string; - /** - * The additional global variables. - */ - readonly globals?: Record; - /** - * Options for the test case. - */ - readonly options?: Readonly; - /** - * The absolute path for the parser. - */ - readonly parser?: string; - /** - * Options for the parser. - */ - readonly parserOptions?: Readonly; - /** - * Settings for the test case. - */ - readonly settings?: Readonly; - /** - * Run this case exclusively for debugging in supported test frameworks. - * @since 7.29.0 - */ - readonly only?: boolean; -} -interface SuggestionOutput { - /** - * Reported message ID. - */ - readonly messageId: TMessageIds; - /** - * The data used to fill the message template. - */ - readonly data?: ReportDescriptorMessageData; - /** - * NOTE: Suggestions will be applied as a stand-alone change, without triggering multi-pass fixes. - * Each individual error has its own suggestion, so you have to show the correct, _isolated_ output for each suggestion. - */ - readonly output: string; -} -interface InvalidTestCase> extends ValidTestCase { - /** - * Expected errors. - */ - readonly errors: readonly TestCaseError[]; - /** - * The expected code after autofixes are applied. If set to `null`, the test runner will assert that no autofix is suggested. - */ - readonly output?: string | null; -} -interface TestCaseError { - /** - * The 1-based column number of the reported start location. - */ - readonly column?: number; - /** - * The data used to fill the message template. - */ - readonly data?: ReportDescriptorMessageData; - /** - * The 1-based column number of the reported end location. - */ - readonly endColumn?: number; - /** - * The 1-based line number of the reported end location. - */ - readonly endLine?: number; - /** - * The 1-based line number of the reported start location. - */ - readonly line?: number; - /** - * Reported message ID. - */ - readonly messageId: TMessageIds; - /** - * Reported suggestions. - */ - readonly suggestions?: readonly SuggestionOutput[] | null; - /** - * The type of the reported AST node. - */ - readonly type?: AST_NODE_TYPES | AST_TOKEN_TYPES; -} -/** - * @param text a string describing the rule - * @param callback the test callback - */ -type RuleTesterTestFrameworkFunction = (text: string, callback: () => void) => void; -interface RunTests> { - readonly valid: readonly (ValidTestCase | string)[]; - readonly invalid: readonly InvalidTestCase[]; -} -interface RuleTesterConfig extends Linter.Config { - readonly parser: string; - readonly parserOptions?: Readonly; -} -declare class RuleTesterBase { - /** - * Creates a new instance of RuleTester. - * @param testerConfig extra configuration for the tester - */ - constructor(testerConfig?: RuleTesterConfig); - /** - * Adds a new rule test to execute. - * @param ruleName The name of the rule to run. - * @param rule The rule to test. - * @param test The collection of tests to run. - */ - run>(ruleName: string, rule: RuleModule, tests: RunTests): void; - /** - * If you supply a value to this property, the rule tester will call this instead of using the version defined on - * the global namespace. - */ - static get describe(): RuleTesterTestFrameworkFunction; - static set describe(value: RuleTesterTestFrameworkFunction | undefined); - /** - * If you supply a value to this property, the rule tester will call this instead of using the version defined on - * the global namespace. - */ - static get it(): RuleTesterTestFrameworkFunction; - static set it(value: RuleTesterTestFrameworkFunction | undefined); - /** - * If you supply a value to this property, the rule tester will call this instead of using the version defined on - * the global namespace. - */ - static get itOnly(): RuleTesterTestFrameworkFunction; - static set itOnly(value: RuleTesterTestFrameworkFunction | undefined); - /** - * Define a rule for one particular run of tests. - */ - defineRule>(name: string, rule: RuleCreateFunction | RuleModule): void; -} -declare const RuleTester_base: typeof RuleTesterBase; -declare class RuleTester extends RuleTester_base { -} -export { InvalidTestCase, SuggestionOutput, RuleTester, RuleTesterConfig, RuleTesterTestFrameworkFunction, RunTests, TestCaseError, ValidTestCase, }; -//# sourceMappingURL=RuleTester.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Scope.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Scope.d.ts deleted file mode 100644 index c9fbe9665f..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/Scope.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import * as scopeManager from '@typescript-eslint/scope-manager'; -declare namespace Scope { - type ScopeManager = scopeManager.ScopeManager; - type Reference = scopeManager.Reference; - type Variable = scopeManager.ESLintScopeVariable | scopeManager.Variable; - type Scope = scopeManager.Scope; - const ScopeType: typeof scopeManager.ScopeType; - type DefinitionType = scopeManager.Definition; - type Definition = scopeManager.Definition; - const DefinitionType: typeof scopeManager.DefinitionType; - namespace Definitions { - type CatchClauseDefinition = scopeManager.CatchClauseDefinition; - type ClassNameDefinition = scopeManager.ClassNameDefinition; - type FunctionNameDefinition = scopeManager.FunctionNameDefinition; - type ImplicitGlobalVariableDefinition = scopeManager.ImplicitGlobalVariableDefinition; - type ImportBindingDefinition = scopeManager.ImportBindingDefinition; - type ParameterDefinition = scopeManager.ParameterDefinition; - type TSEnumMemberDefinition = scopeManager.TSEnumMemberDefinition; - type TSEnumNameDefinition = scopeManager.TSEnumNameDefinition; - type TSModuleNameDefinition = scopeManager.TSModuleNameDefinition; - type TypeDefinition = scopeManager.TypeDefinition; - type VariableDefinition = scopeManager.VariableDefinition; - } - namespace Scopes { - type BlockScope = scopeManager.BlockScope; - type CatchScope = scopeManager.CatchScope; - type ClassScope = scopeManager.ClassScope; - type ConditionalTypeScope = scopeManager.ConditionalTypeScope; - type ForScope = scopeManager.ForScope; - type FunctionExpressionNameScope = scopeManager.FunctionExpressionNameScope; - type FunctionScope = scopeManager.FunctionScope; - type FunctionTypeScope = scopeManager.FunctionTypeScope; - type GlobalScope = scopeManager.GlobalScope; - type MappedTypeScope = scopeManager.MappedTypeScope; - type ModuleScope = scopeManager.ModuleScope; - type SwitchScope = scopeManager.SwitchScope; - type TSEnumScope = scopeManager.TSEnumScope; - type TSModuleScope = scopeManager.TSModuleScope; - type TypeScope = scopeManager.TypeScope; - type WithScope = scopeManager.WithScope; - } -} -export { Scope }; -//# sourceMappingURL=Scope.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/SourceCode.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/SourceCode.d.ts deleted file mode 100644 index bbacb98fb8..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/SourceCode.d.ts +++ /dev/null @@ -1,344 +0,0 @@ -import type { ParserServices, TSESTree } from '../ts-estree'; -import type { Scope } from './Scope'; -declare class TokenStore { - /** - * Checks whether any comments exist or not between the given 2 nodes. - * @param left The node to check. - * @param right The node to check. - * @returns `true` if one or more comments exist. - */ - commentsExistBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token): boolean; - /** - * Gets all comment tokens directly after the given node or token. - * @param nodeOrToken The AST node or token to check for adjacent comment tokens. - * @returns An array of comments in occurrence order. - */ - getCommentsAfter(nodeOrToken: TSESTree.Node | TSESTree.Token): TSESTree.Comment[]; - /** - * Gets all comment tokens directly before the given node or token. - * @param nodeOrToken The AST node or token to check for adjacent comment tokens. - * @returns An array of comments in occurrence order. - */ - getCommentsBefore(nodeOrToken: TSESTree.Node | TSESTree.Token): TSESTree.Comment[]; - /** - * Gets all comment tokens inside the given node. - * @param node The AST node to get the comments for. - * @returns An array of comments in occurrence order. - */ - getCommentsInside(node: TSESTree.Node): TSESTree.Comment[]; - /** - * Gets the first token of the given node. - * @param node The AST node. - * @param option The option object. If this is a number then it's `options.skip`. If this is a function then it's `options.filter`. - * @returns An object representing the token. - */ - getFirstToken(node: TSESTree.Node, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets the first token between two non-overlapping nodes. - * @param left Node before the desired token range. - * @param right Node after the desired token range. - * @param option The option object. If this is a number then it's `options.skip`. If this is a function then it's `options.filter`. - * @returns An object representing the token. - */ - getFirstTokenBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets the first `count` tokens of the given node. - * @param node The AST node. - * @param options The option object. If this is a number then it's `options.count`. If this is a function then it's `options.filter`. - * @returns Tokens. - */ - getFirstTokens(node: TSESTree.Node, options?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets the first `count` tokens between two non-overlapping nodes. - * @param left Node before the desired token range. - * @param right Node after the desired token range. - * @param options The option object. If this is a number then it's `options.count`. If this is a function then it's `options.filter`. - * @returns Tokens between left and right. - */ - getFirstTokensBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets the last token of the given node. - * @param node The AST node. - * @param option The option object. If this is a number then it's `options.skip`. If this is a function then it's `options.filter`. - * @returns An object representing the token. - */ - getLastToken(node: TSESTree.Node, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets the last token between two non-overlapping nodes. - * @param left Node before the desired token range. - * @param right Node after the desired token range. - * @param option The option object. If this is a number then it's `options.skip`. If this is a function then it's `options.filter`. - * @returns An object representing the token. - */ - getLastTokenBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets the last `count` tokens of the given node. - * @param node The AST node. - * @param options The option object. If this is a number then it's `options.count`. If this is a function then it's `options.filter`. - * @returns Tokens. - */ - getLastTokens(node: TSESTree.Node, options?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets the last `count` tokens between two non-overlapping nodes. - * @param left Node before the desired token range. - * @param right Node after the desired token range. - * @param options The option object. If this is a number then it's `options.count`. If this is a function then it's `options.filter`. - * @returns Tokens between left and right. - */ - getLastTokensBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets the token that follows a given node or token. - * @param node The AST node or token. - * @param option The option object. If this is a number then it's `options.skip`. If this is a function then it's `options.filter`. - * @returns An object representing the token. - */ - getTokenAfter(node: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets the token that precedes a given node or token. - * @param node The AST node or token. - * @param options The option object - * @returns An object representing the token. - */ - getTokenBefore(node: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets the token starting at the specified index. - * @param offset Index of the start of the token's range. - * @param option The option object. If this is a number then it's `options.skip`. If this is a function then it's `options.filter`. - * @returns The token starting at index, or null if no such token. - */ - getTokenByRangeStart(offset: number, options?: T): SourceCode.ReturnTypeFromOptions | null; - /** - * Gets all tokens that are related to the given node. - * @param node The AST node. - * @param beforeCount The number of tokens before the node to retrieve. - * @param afterCount The number of tokens after the node to retrieve. - * @returns Array of objects representing tokens. - */ - getTokens(node: TSESTree.Node, beforeCount?: number, afterCount?: number): TSESTree.Token[]; - /** - * Gets all tokens that are related to the given node. - * @param node The AST node. - * @param options The option object. If this is a function then it's `options.filter`. - * @returns Array of objects representing tokens. - */ - getTokens(node: TSESTree.Node, options: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets the `count` tokens that follows a given node or token. - * @param node The AST node. - * @param options The option object. If this is a number then it's `options.count`. If this is a function then it's `options.filter`. - * @returns Tokens. - */ - getTokensAfter(node: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets the `count` tokens that precedes a given node or token. - * @param node The AST node. - * @param options The option object. If this is a number then it's `options.count`. If this is a function then it's `options.filter`. - * @returns Tokens. - */ - getTokensBefore(node: TSESTree.Node | TSESTree.Token, options?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets all of the tokens between two non-overlapping nodes. - * @param left Node before the desired token range. - * @param right Node after the desired token range. - * @param options The option object. If this is a function then it's `options.filter`. - * @returns Tokens between left and right. - */ - getTokensBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token, padding?: T): SourceCode.ReturnTypeFromOptions[]; - /** - * Gets all of the tokens between two non-overlapping nodes. - * @param left Node before the desired token range. - * @param right Node after the desired token range. - * @param padding Number of extra tokens on either side of center. - * @returns Tokens between left and right. - */ - getTokensBetween(left: TSESTree.Node | TSESTree.Token, right: TSESTree.Node | TSESTree.Token, padding?: number): SourceCode.ReturnTypeFromOptions[]; -} -declare class SourceCodeBase extends TokenStore { - /** - * Represents parsed source code. - * @param text The source code text. - * @param ast The Program node of the AST representing the code. This AST should be created from the text that BOM was stripped. - */ - constructor(text: string, ast: SourceCode.Program); - /** - * Represents parsed source code. - * @param config The config object. - */ - constructor(config: SourceCode.SourceCodeConfig); - /** - * The parsed AST for the source code. - */ - ast: SourceCode.Program; - /** - * Retrieves an array containing all comments in the source code. - * @returns An array of comment nodes. - */ - getAllComments(): TSESTree.Comment[]; - /** - * Converts a (line, column) pair into a range index. - * @param loc A line/column location - * @returns The range index of the location in the file. - */ - getIndexFromLoc(location: TSESTree.Position): number; - /** - * Gets the entire source text split into an array of lines. - * @returns The source text as an array of lines. - */ - getLines(): string[]; - /** - * Converts a source text index into a (line, column) pair. - * @param index The index of a character in a file - * @returns A {line, column} location object with a 0-indexed column - */ - getLocFromIndex(index: number): TSESTree.Position; - /** - * Gets the deepest node containing a range index. - * @param index Range index of the desired node. - * @returns The node if found or `null` if not found. - */ - getNodeByRangeIndex(index: number): TSESTree.Node | null; - /** - * Gets the source code for the given node. - * @param node The AST node to get the text for. - * @param beforeCount The number of characters before the node to retrieve. - * @param afterCount The number of characters after the node to retrieve. - * @returns The text representing the AST node. - */ - getText(node?: TSESTree.Node | TSESTree.Token, beforeCount?: number, afterCount?: number): string; - /** - * The flag to indicate that the source code has Unicode BOM. - */ - hasBOM: boolean; - /** - * Determines if two nodes or tokens have at least one whitespace character - * between them. Order does not matter. Returns false if the given nodes or - * tokens overlap. - * @since 6.7.0 - * @param first The first node or token to check between. - * @param second The second node or token to check between. - * @returns True if there is a whitespace character between any of the tokens found between the two given nodes or tokens. - */ - isSpaceBetween?(first: TSESTree.Node | TSESTree.Token, second: TSESTree.Node | TSESTree.Token): boolean; - /** - * Determines if two nodes or tokens have at least one whitespace character - * between them. Order does not matter. Returns false if the given nodes or - * tokens overlap. - * For backward compatibility, this method returns true if there are - * `JSXText` tokens that contain whitespace between the two. - * @param first The first node or token to check between. - * @param second The second node or token to check between. - * @returns {boolean} True if there is a whitespace character between - * any of the tokens found between the two given nodes or tokens. - * @deprecated in favor of isSpaceBetween - */ - isSpaceBetweenTokens(first: TSESTree.Token, second: TSESTree.Token): boolean; - /** - * The source code split into lines according to ECMA-262 specification. - * This is done to avoid each rule needing to do so separately. - */ - lines: string[]; - /** - * The indexes in `text` that each line starts - */ - lineStartIndices: number[]; - /** - * The parser services of this source code. - */ - parserServices: ParserServices; - /** - * The scope of this source code. - */ - scopeManager: Scope.ScopeManager | null; - /** - * The original text source code. BOM was stripped from this text. - */ - text: string; - /** - * All of the tokens and comments in the AST. - * - * TODO: rename to 'tokens' - */ - tokensAndComments: TSESTree.Token[]; - /** - * The visitor keys to traverse AST. - */ - visitorKeys: SourceCode.VisitorKeys; - /** - * Split the source code into multiple lines based on the line delimiters. - * @param text Source code as a string. - * @returns Array of source code lines. - */ - static splitLines(text: string): string[]; -} -declare namespace SourceCode { - interface Program extends TSESTree.Program { - comments: TSESTree.Comment[]; - tokens: TSESTree.Token[]; - } - interface SourceCodeConfig { - /** - * The Program node of the AST representing the code. This AST should be created from the text that BOM was stripped. - */ - ast: Program; - /** - * The parser services. - */ - parserServices: ParserServices | null; - /** - * The scope of this source code. - */ - scopeManager: Scope.ScopeManager | null; - /** - * The source code text. - */ - text: string; - /** - * The visitor keys to traverse AST. - */ - visitorKeys: VisitorKeys | null; - } - type VisitorKeys = Record; - type FilterPredicate = (token: TSESTree.Token) => boolean; - type GetFilterPredicate = TFilter extends ((token: TSESTree.Token) => token is infer U extends TSESTree.Token) ? U : TDefault; - type GetFilterPredicateFromOptions = TOptions extends { - filter?: FilterPredicate; - } ? GetFilterPredicate : GetFilterPredicate; - type ReturnTypeFromOptions = T extends { - includeComments: true; - } ? GetFilterPredicateFromOptions : GetFilterPredicateFromOptions>; - type CursorWithSkipOptions = FilterPredicate | number | { - /** - * The predicate function to choose tokens. - */ - filter?: FilterPredicate; - /** - * The flag to iterate comments as well. - */ - includeComments?: boolean; - /** - * The count of tokens the cursor skips. - */ - skip?: number; - }; - type CursorWithCountOptions = FilterPredicate | number | { - /** - * The predicate function to choose tokens. - */ - filter?: FilterPredicate; - /** - * The flag to iterate comments as well. - */ - includeComments?: boolean; - /** - * The maximum count of tokens the cursor iterates. - */ - count?: number; - }; -} -declare const SourceCode_base: typeof SourceCodeBase; -declare class SourceCode extends SourceCode_base { -} -export { SourceCode }; -//# sourceMappingURL=SourceCode.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/index.d.ts deleted file mode 100644 index 2b6338ef44..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-eslint/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -export * from './AST'; -export * from './CLIEngine'; -export * from './ESLint'; -export * from './Linter'; -export * from './ParserOptions'; -export * from './Rule'; -export * from './RuleTester'; -export * from './Scope'; -export * from './SourceCode'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-estree.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-estree.d.ts deleted file mode 100644 index 5148e9401b..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-estree.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree, } from '@typescript-eslint/types'; -export type { ParserServices, ParserServicesWithTypeInformation, ParserServicesWithoutTypeInformation, } from '@typescript-eslint/typescript-estree'; -//# sourceMappingURL=ts-estree.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/index.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/index.d.ts deleted file mode 100644 index 1d4a5e93cf..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './isArray'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/isArray.d.ts b/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/isArray.d.ts deleted file mode 100644 index b5deef148b..0000000000 --- a/node_modules/@typescript-eslint/utils/_ts4.3/dist/ts-utils/isArray.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export declare function isArray(arg: unknown): arg is readonly unknown[]; -//# sourceMappingURL=isArray.d.ts.map diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts b/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts index 966fd6b1c6..aa151adf30 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts @@ -74,7 +74,7 @@ declare class ESLintBase { * @param results The LintResult objects to write. * @returns The promise that will be fulfilled after all files are written. */ - static outputFixes(results: ESLint.LintResult): Promise; + static outputFixes(results: ESLint.LintResult[]): Promise; /** * The version text. */ @@ -149,7 +149,7 @@ declare namespace ESLint { * Configuration object, overrides all configurations used with this instance. * You can use this option to define the settings that will be used even if your configuration files configure it. */ - overrideConfig?: Linter.ConfigOverride | null; + overrideConfig?: Linter.Config | null; /** * The path to a configuration file, overrides all configurations used with this instance. * The options.overrideConfig option is applied after this option is applied. diff --git a/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map b/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map index 6ac75b1111..664e3bee17 100644 --- a/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +++ b/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ESLint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GAAG,CAAC,CAAC;QAChB;;;;WAIG;QACH,WAAW,EACP;YACE,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,QAAQ,CAAC;SACf,EAAE,GACH,SAAS,CAAC;KACf;IAED;;OAEG;IACH,UAAiB,qBAAsB,SAAQ,MAAM,CAAC,WAAW;QAC/D;;WAEG;QACH,YAAY,CAAC,EAAE;YACb;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YACb;;eAEG;YACH,aAAa,EAAE,MAAM,CAAC;SACvB,EAAE,CAAC;KACL;IAED;;;;;;;OAOG;IACH,UAAiB,QAAQ;QACvB;;WAEG;QACH,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACxB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB;;;WAGG;QACH,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;KACzD;CACF;AAKD,QAAA,MAAM,OAAO,mBAKY,CAAC;AAE1B;;;;;;;GAOG;AACH,cAAM,MAAO,SAAQ,OAAO;CAAG;AAE/B,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"ESLint.d.ts","sourceRoot":"","sources":["../../src/ts-eslint/ESLint.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,OAAO,OAAO,UAAU;IACtB;;;OAGG;gBACS,OAAO,CAAC,EAAE,MAAM,CAAC,aAAa;IAE1C;;;;;;;;;;;OAWG;IACH,sBAAsB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;IAChE;;;;;OAKG;IACH,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IACjD;;;;OAIG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM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,CAAC,CAAC;QACxB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KACd;IAED;;OAEG;IACH,UAAiB,SAAS;QACxB;;;WAGG;QACH,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;KACzD;CACF;AAKD,QAAA,MAAM,OAAO,mBAKY,CAAC;AAE1B;;;;;;;GAOG;AACH,cAAM,MAAO,SAAQ,OAAO;CAAG;AAE/B,OAAO,EAAE,MAAM,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/utils/package.json index 318d09603c..cea9da3345 100644 --- a/node_modules/@typescript-eslint/utils/package.json +++ b/node_modules/@typescript-eslint/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "6.4.0", + "version": "6.4.1", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -68,16 +68,20 @@ "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/typescript-estree": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/typescript-estree": "6.4.1", "semver": "^7.5.4" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0" }, "devDependencies": { - "@typescript-eslint/parser": "6.4.0", + "@typescript-eslint/parser": "6.4.1", + "downlevel-dts": "*", + "jest": "29.6.2", + "prettier": "^2.8.4", + "rimraf": "*", "typescript": "*" }, "funding": { @@ -91,5 +95,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/get-keys.d.ts b/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/get-keys.d.ts deleted file mode 100644 index 1f57baa3e9..0000000000 --- a/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/get-keys.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { TSESTree } from '@typescript-eslint/types'; -declare const getKeys: (node: TSESTree.Node) => readonly string[]; -export { getKeys }; -//# sourceMappingURL=get-keys.d.ts.map diff --git a/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/index.d.ts b/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/index.d.ts deleted file mode 100644 index ed381a9a4c..0000000000 --- a/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { getKeys } from './get-keys'; -export { visitorKeys, VisitorKeys } from './visitor-keys'; -//# sourceMappingURL=index.d.ts.map diff --git a/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/visitor-keys.d.ts b/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/visitor-keys.d.ts deleted file mode 100644 index eae0c71057..0000000000 --- a/node_modules/@typescript-eslint/visitor-keys/_ts4.3/dist/visitor-keys.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -type VisitorKeys = Record; -declare const visitorKeys: VisitorKeys; -export { visitorKeys, VisitorKeys }; -//# sourceMappingURL=visitor-keys.d.ts.map diff --git a/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/visitor-keys/package.json index c6be82f431..7bee2b0e5a 100644 --- a/node_modules/@typescript-eslint/visitor-keys/package.json +++ b/node_modules/@typescript-eslint/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "6.4.0", + "version": "6.4.1", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -45,11 +45,16 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "6.4.0", + "@typescript-eslint/types": "6.4.1", "eslint-visitor-keys": "^3.4.1" }, "devDependencies": { - "@types/eslint-visitor-keys": "*" + "@types/eslint-visitor-keys": "*", + "downlevel-dts": "*", + "jest": "29.6.2", + "prettier": "^2.8.4", + "rimraf": "*", + "typescript": "*" }, "funding": { "type": "opencollective", @@ -62,5 +67,5 @@ ] } }, - "gitHead": "14bea42e4864c72d28f502e0d15e675fe8bd729a" + "gitHead": "ef1367eeed112fd6bbb94e0c9bd56d7e167a1a59" } diff --git a/node_modules/eslint-plugin-import/CHANGELOG.md b/node_modules/eslint-plugin-import/CHANGELOG.md index b7af776f86..4d5b23d828 100644 --- a/node_modules/eslint-plugin-import/CHANGELOG.md +++ b/node_modules/eslint-plugin-import/CHANGELOG.md @@ -6,6 +6,14 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ## [Unreleased] +## [2.28.1] - 2023-08-18 + +### Fixed +- [`order`]: revert breaking change to single nested group ([#2854], thanks [@yndajas]) + +### Changed +- [Docs] remove duplicate fixable notices in docs ([#2850], thanks [@bmish]) + ## [2.28.0] - 2023-07-27 ### Fixed @@ -1079,6 +1087,8 @@ for info on changes for earlier releases. [`memo-parser`]: ./memo-parser/README.md +[#2854]: https://github.com/import-js/eslint-plugin-import/pull/2854 +[#2850]: https://github.com/import-js/eslint-plugin-import/pull/2850 [#2842]: https://github.com/import-js/eslint-plugin-import/pull/2842 [#2835]: https://github.com/import-js/eslint-plugin-import/pull/2835 [#2832]: https://github.com/import-js/eslint-plugin-import/pull/2832 @@ -1537,7 +1547,8 @@ for info on changes for earlier releases. [#119]: https://github.com/import-js/eslint-plugin-import/issues/119 [#89]: https://github.com/import-js/eslint-plugin-import/issues/89 -[Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...HEAD +[Unreleased]: https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...HEAD +[2.28.1]: https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1 [2.28.0]: https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0 [2.27.5]: https://github.com/import-js/eslint-plugin-import/compare/v2.27.4...v2.27.5 [2.27.4]: https://github.com/import-js/eslint-plugin-import/compare/v2.27.3...v2.27.4 @@ -1883,5 +1894,6 @@ for info on changes for earlier releases. [@wtgtybhertgeghgtwtg]: https://github.com/wtgtybhertgeghgtwtg [@xM8WVqaG]: https://github.com/xM8WVqaG [@xpl]: https://github.com/xpl +[@yndajas]: https://github.com/yndajas [@yordis]: https://github.com/yordis [@zloirock]: https://github.com/zloirock diff --git a/node_modules/eslint-plugin-import/CONTRIBUTING.md b/node_modules/eslint-plugin-import/CONTRIBUTING.md index 2a79e7139e..871e90ad8c 100644 --- a/node_modules/eslint-plugin-import/CONTRIBUTING.md +++ b/node_modules/eslint-plugin-import/CONTRIBUTING.md @@ -6,15 +6,15 @@ Thanks for your interest in helping out! Here are a **few** _weird_ tricks to ~~ When opening an [issue](#issues): -- [ ] search open/closed issues -- [ ] discuss bug/enhancement in new or old issue + - [ ] search open/closed issues + - [ ] discuss bug/enhancement in new or old issue [PR](#prs) time: -- [ ] write tests -- [ ] implement feature/fix bug -- [ ] update docs -- [ ] make a note in change log + - [ ] write tests + - [ ] implement feature/fix bug + - [ ] update docs + - [ ] make a note in change log Remember, you don't need to do it all yourself; any of these are helpful! 😎 @@ -22,10 +22,10 @@ Remember, you don't need to do it all yourself; any of these are helpful! 😎 If you are new to `eslint`, below are a few resources that will help you to familiarize yourself with the project. -- Watch [this presentation](https://www.youtube.com/watch?v=2W9tUnALrLg) to learn the fundamental concept of Abstract Syntax Trees (AST) and the way `eslint` works under the hood. -- Familiarize yourself with the [AST explorer](https://astexplorer.net/) tool. Look into rules in `docs/rules`, create patterns in the rules, then analyze its AST. -- Explore the blog posts on how to create a custom rule. [One blog post](https://blog.yonatan.dev/writing-a-custom-eslint-rule-to-spot-undeclared-props/). [Second blog post](https://betterprogramming.pub/creating-custom-eslint-rules-cdc579694608). -- Read the official `eslint` [developer guide](https://eslint.org/docs/latest/developer-guide/architecture/). + - Watch [this presentation](https://www.youtube.com/watch?v=2W9tUnALrLg) to learn the fundamental concept of Abstract Syntax Trees (AST) and the way `eslint` works under the hood. + - Familiarize yourself with the [AST explorer](https://astexplorer.net/) tool. Look into rules in `docs/rules`, create patterns in the rules, then analyze its AST. + - Explore the blog posts on how to create a custom rule. [One blog post](https://blog.yonatan.dev/writing-a-custom-eslint-rule-to-spot-undeclared-props/). [Second blog post](https://betterprogramming.pub/creating-custom-eslint-rules-cdc579694608). + - Read the official `eslint` [developer guide](https://eslint.org/docs/latest/developer-guide/architecture/). ## Issues diff --git a/node_modules/eslint-plugin-import/README.md b/node_modules/eslint-plugin-import/README.md index ca99b8fafb..1baa0069b3 100644 --- a/node_modules/eslint-plugin-import/README.md +++ b/node_modules/eslint-plugin-import/README.md @@ -131,7 +131,7 @@ rules: # etc... ``` -# TypeScript +## TypeScript You may use the following snippet or assemble your own config using the granular settings described below it. @@ -154,7 +154,7 @@ settings: [`@typescript-eslint/parser`]: https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser [`eslint-import-resolver-typescript`]: https://github.com/import-js/eslint-import-resolver-typescript -# Resolvers +## Resolvers With the advent of module bundlers and the current state of modules and module syntax specs, it's not always obvious where `import x from 'module'` should look @@ -175,7 +175,7 @@ resolvers are just npm packages, so [third party packages are supported](https:/ You can reference resolvers in several ways (in order of precedence): -- as a conventional `eslint-import-resolver` name, like `eslint-import-resolver-foo`: + - as a conventional `eslint-import-resolver` name, like `eslint-import-resolver-foo`: ```yaml # .eslintrc.yml @@ -195,7 +195,7 @@ module.exports = { } ``` -- with a full npm module name, like `my-awesome-npm-module`: + - with a full npm module name, like `my-awesome-npm-module`: ```yaml # .eslintrc.yml @@ -214,7 +214,7 @@ module.exports = { } ``` -- with a filesystem path to resolver, defined in this example as a `computed property` name: + - with a filesystem path to resolver, defined in this example as a `computed property` name: ```js // .eslintrc.js @@ -336,11 +336,11 @@ If you are using `yarn` PnP as your package manager, add the `.yarn` folder and Each item in this array is either a folder's name, its subpath, or its absolute prefix path: -- `jspm_modules` will match any file or folder named `jspm_modules` or which has a direct or non-direct parent named `jspm_modules`, e.g. `/home/me/project/jspm_modules` or `/home/me/project/jspm_modules/some-pkg/index.js`. + - `jspm_modules` will match any file or folder named `jspm_modules` or which has a direct or non-direct parent named `jspm_modules`, e.g. `/home/me/project/jspm_modules` or `/home/me/project/jspm_modules/some-pkg/index.js`. -- `packages/core` will match any path that contains these two segments, for example `/home/me/project/packages/core/src/utils.js`. + - `packages/core` will match any path that contains these two segments, for example `/home/me/project/packages/core/src/utils.js`. -- `/home/me/project/packages` will only match files and directories inside this directory, and the directory itself. + - `/home/me/project/packages` will only match files and directories inside this directory, and the directory itself. Please note that incomplete names are not allowed here so `components` won't match `bower_components` and `packages/ui` won't match `packages/ui-utils` (but will match `packages/ui/utils`). diff --git a/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md b/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md index 54c09049ef..41d98e4e1f 100644 --- a/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md +++ b/node_modules/eslint-plugin-import/docs/rules/consistent-type-specifier-style.md @@ -37,8 +37,8 @@ This rule includes a fixer that will automatically convert your specifiers to th The rule accepts a single string option which may be one of: -- `'prefer-inline'` - enforces that named type-only specifiers are only ever written with an inline marker; and never as part of a top-level, type-only import. -- `'prefer-top-level'` - enforces that named type-only specifiers only ever written as part of a top-level, type-only import; and never with an inline marker. + - `'prefer-inline'` - enforces that named type-only specifiers are only ever written with an inline marker; and never as part of a top-level, type-only import. + - `'prefer-top-level'` - enforces that named type-only specifiers only ever written as part of a top-level, type-only import; and never with an inline marker. By default the rule will use the `prefer-inline` option. diff --git a/node_modules/eslint-plugin-import/docs/rules/default.md b/node_modules/eslint-plugin-import/docs/rules/default.md index ffbbdc166a..9f8c919bf3 100644 --- a/node_modules/eslint-plugin-import/docs/rules/default.md +++ b/node_modules/eslint-plugin-import/docs/rules/default.md @@ -19,7 +19,6 @@ A module path that is [ignored] or not [unambiguously an ES module] will not be [ignored]: ../README.md#importignore [unambiguously an ES module]: https://github.com/bmeck/UnambiguousJavaScriptGrammar - ## Rule Details Given: @@ -54,7 +53,6 @@ import bar from './bar' // no default export found in ./bar import baz from './baz' // no default export found in ./baz ``` - ## When Not To Use It If you are using CommonJS and/or modifying the exported namespace of any module at @@ -65,10 +63,9 @@ either, so such a situation will be reported in the importing module. ## Further Reading -- Lee Byron's [ES7] export proposal -- [`import/ignore`] setting -- [`jsnext:main`] (Rollup) - + - Lee Byron's [ES7] export proposal + - [`import/ignore`] setting + - [`jsnext:main`] (Rollup) [ES7]: https://github.com/leebyron/ecmascript-more-export-from [`import/ignore`]: ../../README.md#importignore diff --git a/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md b/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md index 472a366485..35ae9df516 100644 --- a/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md +++ b/node_modules/eslint-plugin-import/docs/rules/dynamic-import-chunkname.md @@ -7,8 +7,10 @@ This rule reports any dynamic imports without a webpackChunkName specified in a This rule enforces naming of webpack chunks in dynamic imports. When you don't explicitly name chunks, webpack will autogenerate chunk names that are not consistent across builds, which prevents long-term browser caching. ## Rule Details + This rule runs against `import()` by default, but can be configured to also run against an alternative dynamic-import function, e.g. 'dynamicImport.' You can also configure the regex format you'd like to accept for the webpackChunkName - for example, if we don't want the number 6 to show up in our chunk names: + ```javascript { "dynamic-import-chunkname": [2, { @@ -19,6 +21,7 @@ You can also configure the regex format you'd like to accept for the webpackChun ``` ### invalid + The following patterns are invalid: ```javascript @@ -53,7 +56,9 @@ import( 'someModule', ); ``` + ### valid + The following patterns are valid: ```javascript diff --git a/node_modules/eslint-plugin-import/docs/rules/export.md b/node_modules/eslint-plugin-import/docs/rules/export.md index 115d2d8b29..54a8a39cf3 100644 --- a/node_modules/eslint-plugin-import/docs/rules/export.md +++ b/node_modules/eslint-plugin-import/docs/rules/export.md @@ -17,6 +17,7 @@ export default makeClass // Multiple default exports. ``` or + ```js export const foo = function () { /*...*/ } // Multiple exports of name 'foo'. @@ -31,6 +32,6 @@ intent to rename, etc. ## Further Reading -- Lee Byron's [ES7] export proposal + - Lee Byron's [ES7] export proposal [ES7]: https://github.com/leebyron/ecmascript-more-export-from diff --git a/node_modules/eslint-plugin-import/docs/rules/exports-last.md b/node_modules/eslint-plugin-import/docs/rules/exports-last.md index 6b3e4bac40..56e947e94b 100644 --- a/node_modules/eslint-plugin-import/docs/rules/exports-last.md +++ b/node_modules/eslint-plugin-import/docs/rules/exports-last.md @@ -4,7 +4,6 @@ This rule enforces that all exports are declared at the bottom of the file. This rule will report any export declarations that comes before any non-export statements. - ## This will be reported ```JS @@ -45,7 +44,7 @@ export const str = 'foo' If you don't mind exports being sprinkled throughout a file, you may not want to enable this rule. -#### ES6 exports only +### ES6 exports only The exports-last rule is currently only working on ES6 exports. You may not want to enable this rule if you're using CommonJS exports. diff --git a/node_modules/eslint-plugin-import/docs/rules/extensions.md b/node_modules/eslint-plugin-import/docs/rules/extensions.md index df4f341287..946ccb7bf8 100644 --- a/node_modules/eslint-plugin-import/docs/rules/extensions.md +++ b/node_modules/eslint-plugin-import/docs/rules/extensions.md @@ -10,13 +10,13 @@ In order to provide a consistent use of file extensions across your code base, t This rule either takes one string option, one object option, or a string and an object option. If it is the string `"never"` (the default value), then the rule forbids the use for any extension. If it is the string `"always"`, then the rule enforces the use of extensions for all import statements. If it is the string `"ignorePackages"`, then the rule enforces the use of extensions for all import statements except package imports. -``` +```json "import/extensions": [, "never" | "always" | "ignorePackages"] ``` By providing an object you can configure each extension separately. -``` +```json "import/extensions": [, { : "never" | "always" | "ignorePackages" }] @@ -26,7 +26,7 @@ By providing an object you can configure each extension separately. By providing both a string and an object, the string will set the default setting for all extensions, and the object can be used to set granular overrides for specific extensions. -``` +```json "import/extensions": [ , "never" | "always" | "ignorePackages", @@ -40,7 +40,7 @@ For example, `["error", "never", { "svg": "always" }]` would require that all ex `ignorePackages` can be set as a separate boolean option like this: -``` +```json "import/extensions": [ , "never" | "always" | "ignorePackages", @@ -62,7 +62,7 @@ When disallowing the use of certain extensions this rule makes an exception and For example, given the following folder structure: -``` +```pt ├── foo │   ├── bar.js │   ├── bar.json diff --git a/node_modules/eslint-plugin-import/docs/rules/first.md b/node_modules/eslint-plugin-import/docs/rules/first.md index 21904e2fa1..c765a29739 100644 --- a/node_modules/eslint-plugin-import/docs/rules/first.md +++ b/node_modules/eslint-plugin-import/docs/rules/first.md @@ -57,6 +57,7 @@ Given that, see [#255] for the reasoning. ### With Fixer This rule contains a fixer to reorder in-body import to top, the following criteria applied: + 1. Never re-order relative to each other, even if `absolute-first` is set. 2. If an import creates an identifier, and that identifier is referenced at module level *before* the import itself, that won't be re-ordered. @@ -67,8 +68,8 @@ enable this rule. ## Further Reading -- [`import/order`]: a major step up from `absolute-first` -- Issue [#255] + - [`import/order`]: a major step up from `absolute-first` + - Issue [#255] [`import/order`]: ./order.md [#255]: https://github.com/import-js/eslint-plugin-import/issues/255 diff --git a/node_modules/eslint-plugin-import/docs/rules/group-exports.md b/node_modules/eslint-plugin-import/docs/rules/group-exports.md index 67e76de2fe..9fb212de6a 100644 --- a/node_modules/eslint-plugin-import/docs/rules/group-exports.md +++ b/node_modules/eslint-plugin-import/docs/rules/group-exports.md @@ -71,7 +71,6 @@ export {first} export type {firstType} ``` - ### Invalid ```js diff --git a/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md b/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md index 1da74f6818..1ecbca64d3 100644 --- a/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md +++ b/node_modules/eslint-plugin-import/docs/rules/max-dependencies.md @@ -47,6 +47,7 @@ Ignores `type` imports. Type imports are a feature released in TypeScript 3.8, y Given `{"max": 2, "ignoreTypeImports": true}`: + ### Fail ```ts @@ -55,6 +56,7 @@ import b from './b'; import c from './c'; ``` + ### Pass ```ts diff --git a/node_modules/eslint-plugin-import/docs/rules/named.md b/node_modules/eslint-plugin-import/docs/rules/named.md index 6d376defac..44f8dc6584 100644 --- a/node_modules/eslint-plugin-import/docs/rules/named.md +++ b/node_modules/eslint-plugin-import/docs/rules/named.md @@ -18,7 +18,6 @@ A module path that is [ignored] or not [unambiguously an ES module] will not be [unambiguously an ES module]: https://github.com/bmeck/UnambiguousJavaScriptGrammar [Flow]: https://flow.org/ - ## Rule Details Given: @@ -94,10 +93,9 @@ runtime, you will likely see false positives with this rule. ## Further Reading -- [`import/ignore`] setting -- [`jsnext:main`] deprecation -- [`pkg.module`] (Rollup) - + - [`import/ignore`] setting + - [`jsnext:main`] deprecation + - [`pkg.module`] (Rollup) [`jsnext:main`]: https://github.com/jsforum/jsforum/issues/5 [`pkg.module`]: https://github.com/rollup/rollup/wiki/pkg.module diff --git a/node_modules/eslint-plugin-import/docs/rules/namespace.md b/node_modules/eslint-plugin-import/docs/rules/namespace.md index 5ac25b750d..1a177f5819 100644 --- a/node_modules/eslint-plugin-import/docs/rules/namespace.md +++ b/node_modules/eslint-plugin-import/docs/rules/namespace.md @@ -30,6 +30,7 @@ redefinition of the namespace in an intermediate scope. Adherence to the ESLint For [ES7], reports if an exported namespace would be empty (no names exported from the referenced module.) Given: + ```js // @module ./named-exports export const a = 1 @@ -44,7 +45,9 @@ export class ExportedClass { } // ES7 export * as deep from './deep' ``` + and: + ```js // @module ./deep export const e = "MC2" @@ -94,9 +97,9 @@ still can't be statically analyzed any further. ## Further Reading -- Lee Byron's [ES7] export proposal -- [`import/ignore`] setting -- [`jsnext:main`](Rollup) + - Lee Byron's [ES7] export proposal + - [`import/ignore`] setting + - [`jsnext:main`](Rollup) [ES7]: https://github.com/leebyron/ecmascript-more-export-from [`import/ignore`]: ../../README.md#importignore diff --git a/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md b/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md index ed0a5b678f..fec6b23aca 100644 --- a/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md +++ b/node_modules/eslint-plugin-import/docs/rules/newline-after-import.md @@ -5,14 +5,14 @@ Enforces having one or more empty lines after the last top-level import statement or require call. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule. ## Rule Details -This rule supports the following options: -- `count` which sets the number of newlines that are enforced after the last top-level import statement or require call. This option defaults to `1`. +This rule supports the following options: -- `considerComments` which enforces the rule on comments after the last import-statement as well when set to true. This option defaults to `false`. + - `count` which sets the number of newlines that are enforced after the last top-level import statement or require call. This option defaults to `1`. + + - `considerComments` which enforces the rule on comments after the last import-statement as well when set to true. This option defaults to `false`. Valid: @@ -104,6 +104,7 @@ const FOO = 'BAR' ``` ## Example options usage + ```json { "rules": { @@ -112,7 +113,6 @@ const FOO = 'BAR' } ``` - ## When Not To Use It If you like to visually group module imports with its usage, you don't want to use this rule. diff --git a/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md b/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md index a796f9d574..48fb9532bd 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-absolute-path.md @@ -38,9 +38,9 @@ By default, only ES6 imports and CommonJS `require` calls will have this rule en You may provide an options object providing true/false for any of -- `esmodule`: defaults to `true` -- `commonjs`: defaults to `true` -- `amd`: defaults to `false` + - `esmodule`: defaults to `true` + - `commonjs`: defaults to `true` + - `amd`: defaults to `false` If `{ amd: true }` is provided, dependency paths for AMD-style `define` and `require` calls will be resolved: diff --git a/node_modules/eslint-plugin-import/docs/rules/no-amd.md b/node_modules/eslint-plugin-import/docs/rules/no-amd.md index 155c19b3ca..6e592ba758 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-amd.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-amd.md @@ -33,5 +33,5 @@ Special thanks to @xjamundx for donating his no-define rule as a start to this. ## Further Reading -- [`no-commonjs`](./no-commonjs.md): report CommonJS `require` and `exports` -- Source: https://github.com/xjamundx/eslint-plugin-modules + - [`no-commonjs`](./no-commonjs.md): report CommonJS `require` and `exports` + - Source: diff --git a/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md b/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md index d3c88f94e0..70efb84501 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-anonymous-default-export.md @@ -28,6 +28,7 @@ The complete default configuration looks like this. ## Rule Details ### Fail + ```js export default [] @@ -48,6 +49,7 @@ export default new Foo() ``` ### Pass + ```js const foo = 123 export default foo diff --git a/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md b/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md index 09a6b44010..4dc9c8c5d9 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-commonjs.md @@ -86,12 +86,11 @@ don't want this rule. It is also fairly noisy if you have a larger codebase that is being transitioned from CommonJS to ES6 modules. - ## Contributors Special thanks to @xjamundx for donating the module.exports and exports.* bits. ## Further Reading -- [`no-amd`](./no-amd.md): report on AMD `require`, `define` -- Source: https://github.com/xjamundx/eslint-plugin-modules + - [`no-amd`](./no-amd.md): report on AMD `require`, `define` + - Source: diff --git a/node_modules/eslint-plugin-import/docs/rules/no-cycle.md b/node_modules/eslint-plugin-import/docs/rules/no-cycle.md index 6635ba73f0..76e96f95f2 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-cycle.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-cycle.md @@ -24,7 +24,6 @@ for that, see [`no-self-import`]. This rule ignores type-only imports in Flow and TypeScript syntax (`import type` and `import typeof`), which have no runtime effect. - ## Rule Details ### Options @@ -103,9 +102,9 @@ this rule enabled. ## Further Reading -- [Original inspiring issue](https://github.com/import-js/eslint-plugin-import/issues/941) -- Rule to detect that module imports itself: [`no-self-import`] -- [`import/external-module-folders`] setting + - [Original inspiring issue](https://github.com/import-js/eslint-plugin-import/issues/941) + - Rule to detect that module imports itself: [`no-self-import`] + - [`import/external-module-folders`] setting [`no-self-import`]: ./no-self-import.md diff --git a/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md b/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md index 641fc1a8f4..a647d77ad5 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-deprecated.md @@ -3,7 +3,7 @@ Reports use of a deprecated name, as indicated by a JSDoc block with a `@deprecated` -tag or TomDoc `Deprecated: ` comment. +tag or TomDoc `Deprecated:` comment. using a JSDoc `@deprecated` tag: @@ -45,19 +45,18 @@ export function multiply(six, nine) { Only JSDoc is enabled by default. Other documentation styles can be enabled with the `import/docstyle` setting. - ```yaml # .eslintrc.yml settings: import/docstyle: ['jsdoc', 'tomdoc'] ``` -### Worklist +## Worklist -- [x] report explicit imports on the import node -- [x] support namespaces - - [x] should bubble up through deep namespaces (#157) -- [x] report explicit imports at reference time (at the identifier) similar to namespace -- [x] mark module deprecated if file JSDoc has a @deprecated tag? -- [ ] don't flag redeclaration of imported, deprecated names -- [ ] flag destructuring + - [x] report explicit imports on the import node + - [x] support namespaces + - [x] should bubble up through deep namespaces (#157) + - [x] report explicit imports at reference time (at the identifier) similar to namespace + - [x] mark module deprecated if file JSDoc has a @deprecated tag? + - [ ] don't flag redeclaration of imported, deprecated names + - [ ] flag destructuring diff --git a/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md b/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md index dd741c21a5..29c16f15d1 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-duplicates.md @@ -7,7 +7,6 @@ Reports if a resolved path is imported more than once. -+(fixable) The `--fix` option on the [command line] automatically fixes some problems reported by this rule. ESLint core has a similar rule ([`no-duplicate-imports`](https://eslint.org/docs/rules/no-duplicate-imports)), but this version is different in two key ways: @@ -18,6 +17,7 @@ is different in two key ways: ## Rule Details Valid: + ```js import SomeDefaultClass, * as names from './mod' // Flow `type` import from same module is fine @@ -53,6 +53,7 @@ Config: ``` And then the following code becomes valid: + ```js import minifiedMod from './mod?minify' import noCommentsMod from './mod?comments=0' @@ -60,6 +61,7 @@ import originalMod from './mod' ``` It will still catch duplicates when using the same module and the exact same query string: + ```js import SomeDefaultClass from './mod?minify' diff --git a/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md b/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md index 7bf4d695cf..85821d8afe 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-empty-named-blocks.md @@ -9,35 +9,41 @@ Reports the use of empty named import blocks. ## Rule Details ### Valid + ```js import { mod } from 'mod' import Default, { mod } from 'mod' ``` When using typescript + ```js import type { mod } from 'mod' ``` When using flow + ```js import typeof { mod } from 'mod' ``` ### Invalid + ```js import {} from 'mod' import Default, {} from 'mod' ``` When using typescript + ```js import type Default, {} from 'mod' import type {} from 'mod' ``` When using flow + ```js import typeof {} from 'mod' import typeof Default, {} from 'mod' -``` \ No newline at end of file +``` diff --git a/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md b/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md index 660875d1da..547e5c2e57 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-extraneous-dependencies.md @@ -7,7 +7,7 @@ The closest parent `package.json` will be used. If no `package.json` is found, t Modules have to be installed for this rule to work. -### Options +## Options This rule supports the following options: @@ -60,6 +60,7 @@ folder layouts: ## Rule Details Given the following `package.json`: + ```json { "name": "my-project", @@ -88,7 +89,6 @@ Given the following `package.json`: } ``` - ## Fail ```js @@ -117,7 +117,6 @@ var foo = require('./foo'); import type { MyType } from 'foo'; ``` - ## Pass ```js @@ -135,7 +134,6 @@ import type { MyType } from 'foo'; import react from 'react'; ``` - ## When Not To Use It If you do not have a `package.json` file in your project. diff --git a/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md b/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md index 08aacfcc34..1c57226495 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-import-module-exports.md @@ -12,7 +12,8 @@ If you have multiple entry points or are using `js:next` this rule includes an ## Options -#### `exceptions` +### `exceptions` + - An array of globs. The rule will be omitted from any file that matches a glob in the options array. For example, the following setting will omit the rule in the `some-file.js` file. @@ -43,6 +44,7 @@ console.log(baz) ``` ### Pass + Given the following package.json: ```json @@ -75,4 +77,5 @@ module.exports = foo; ``` ### Further Reading + - [webpack issue #4039](https://github.com/webpack/webpack/issues/4039) diff --git a/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md b/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md index 47f7490da6..433b55140d 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-internal-modules.md @@ -8,14 +8,14 @@ Use this rule to prevent importing the submodules of other modules. This rule has two mutally exclusive options that are arrays of [minimatch/glob patterns](https://github.com/isaacs/node-glob#glob-primer) patterns: -- `allow` that include paths and import statements that can be imported with reaching. -- `forbid` that exclude paths and import statements that can be imported with reaching. + - `allow` that include paths and import statements that can be imported with reaching. + - `forbid` that exclude paths and import statements that can be imported with reaching. ### Examples Given the following folder structure: -``` +```pt my-project ├── actions │ └── getUser.js @@ -33,7 +33,8 @@ my-project ``` And the .eslintrc file: -``` + +```json { ... "rules": { @@ -76,7 +77,7 @@ export { settings } from '../app'; Given the following folder structure: -``` +```pt my-project ├── actions │ └── getUser.js @@ -94,7 +95,8 @@ my-project ``` And the .eslintrc file: -``` + +```json { ... "rules": { diff --git a/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md b/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md index f0a6251c19..ce51627858 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-mutable-exports.md @@ -43,8 +43,8 @@ export function getCount() {} // reported here: exported function is reassigned To prevent general reassignment of these identifiers, exported or not, you may want to enable the following core ESLint rules: -- [no-func-assign] -- [no-class-assign] + - [no-func-assign] + - [no-class-assign] [no-func-assign]: https://eslint.org/docs/rules/no-func-assign [no-class-assign]: https://eslint.org/docs/rules/no-class-assign diff --git a/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md b/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md index 5e0f5069e9..e8935fb7df 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-named-as-default-member.md @@ -17,13 +17,12 @@ Furthermore, [in Babel 5 this is actually how things worked][blog]. This was fixed in Babel 6. Before upgrading an existing codebase to Babel 6, it can be useful to run this lint rule. - [blog]: https://kentcdodds.com/blog/misunderstanding-es6-modules-upgrading-babel-tears-and-a-solution - ## Rule Details Given: + ```js // foo.js export default 'foo'; @@ -31,11 +30,13 @@ export const bar = 'baz'; ``` ...this would be valid: + ```js import foo, {bar} from './foo.js'; ``` ...and the following would be reported: + ```js // Caution: `foo` also has a named export `bar`. // Check if you meant to write `import {bar} from './foo.js'` instead. diff --git a/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md b/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md index b3715e6c44..043d699424 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-named-as-default.md @@ -8,12 +8,13 @@ Reports use of an exported name as the locally imported name of a default export Rationale: using an exported name as the name of the default export is likely... -- *misleading*: others familiar with `foo.js` probably expect the name to be `foo` -- *a mistake*: only needed to import `bar` and forgot the brackets (the case that is prompting this) + - _misleading_: others familiar with `foo.js` probably expect the name to be `foo` + - _a mistake_: only needed to import `bar` and forgot the brackets (the case that is prompting this) ## Rule Details Given: + ```js // foo.js export default 'foo'; @@ -21,11 +22,13 @@ export const bar = 'baz'; ``` ...this would be valid: + ```js import foo from './foo.js'; ``` ...and this would be reported: + ```js // message: Using exported name 'bar' as identifier for default export. import bar from './foo.js'; @@ -43,8 +46,8 @@ export bar from './foo.js'; ## Further Reading -- ECMAScript Proposal: [export ns from] -- ECMAScript Proposal: [export default from] + - ECMAScript Proposal: [export ns from] + - ECMAScript Proposal: [export default from] [export ns from]: https://github.com/leebyron/ecmascript-export-ns-from [export default from]: https://github.com/leebyron/ecmascript-export-default-from diff --git a/node_modules/eslint-plugin-import/docs/rules/no-named-default.md b/node_modules/eslint-plugin-import/docs/rules/no-named-default.md index 2f3d54b807..05860cde1e 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-named-default.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-named-default.md @@ -13,6 +13,7 @@ Note that type imports, as used by [Flow], are always ignored. ## Rule Details Given: + ```js // foo.js export default 'foo'; @@ -20,12 +21,14 @@ export const bar = 'baz'; ``` ...these would be valid: + ```js import foo from './foo.js'; import foo, { bar } from './foo.js'; ``` ...and these would be reported: + ```js // message: Using exported name 'bar' as identifier for default export. import { default as foo } from './foo.js'; diff --git a/node_modules/eslint-plugin-import/docs/rules/no-namespace.md b/node_modules/eslint-plugin-import/docs/rules/no-namespace.md index 5545bce229..c7346515a5 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-namespace.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-namespace.md @@ -6,14 +6,13 @@ Enforce a convention of not using namespace (a.k.a. "wildcard" `*`) imports. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule, provided that the namespace object is only used for direct member access, e.g. `namespace.a`. -The `--fix` functionality for this rule requires ESLint 5 or newer. +The rule is auto-fixable when the namespace object is only used for direct member access, e.g. `namespace.a`. -### Options +## Options This rule supports the following options: -- `ignore`: array of glob strings for modules that should be ignored by the rule. + - `ignore`: array of glob strings for modules that should be ignored by the rule. ## Rule Details diff --git a/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md b/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md index 624c27e059..5cbc907286 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-nodejs-modules.md @@ -4,11 +4,11 @@ Forbid the use of Node.js builtin modules. Can be useful for client-side web projects that do not have access to those modules. -### Options +## Options This rule supports the following options: -- `allow`: Array of names of allowed modules. Defaults to an empty array. + - `allow`: Array of names of allowed modules. Defaults to an empty array. ## Rule Details diff --git a/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md b/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md index 4919de94e5..4014ed9859 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-relative-packages.md @@ -9,13 +9,11 @@ Use this rule to prevent importing packages through relative paths. It's useful in Yarn/Lerna workspaces, were it's possible to import a sibling package using `../package` relative path, while direct `package` is the correct one. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule. - -### Examples +## Examples Given the following folder structure: -``` +```pt my-project ├── packages │ ├── foo @@ -28,7 +26,8 @@ my-project ``` And the .eslintrc file: -``` + +```json { ... "rules": { diff --git a/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md b/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md index e5684eb1cf..c1f9784871 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-relative-parent-imports.md @@ -8,7 +8,7 @@ This rule is useful for enforcing tree-like folder structures instead of complex To fix violations of this rule there are three general strategies. Given this example: -``` +```pt numbers └── three.js add.js @@ -32,51 +32,51 @@ You can, 1. Move the file to be in a sibling folder (or higher) of the dependency. -`three.js` could be be in the same folder as `add.js`: + `three.js` could be be in the same folder as `add.js`: -``` -three.js -add.js -``` + ```pt + three.js + add.js + ``` -or since `add` doesn't have any imports, it could be in it's own directory (namespace): + or since `add` doesn't have any imports, it could be in it's own directory (namespace): -``` -math -└── add.js -three.js -``` + ```pt + math + └── add.js + three.js + ``` 2. Pass the dependency as an argument at runtime (dependency injection) -```js -// three.js -export default function three(add) { - return add([1, 2]); -} + ```js + // three.js + export default function three(add) { + return add([1, 2]); + } -// somewhere else when you use `three.js`: -import add from './add'; -import three from './numbers/three'; -console.log(three(add)); -``` + // somewhere else when you use `three.js`: + import add from './add'; + import three from './numbers/three'; + console.log(three(add)); + ``` 3. Make the dependency a package so it's globally available to all files in your project: -```js -import add from 'add'; // from https://www.npmjs.com/package/add -export default function three() { - return add([1,2]); -} -``` + ```js + import add from 'add'; // from https://www.npmjs.com/package/add + export default function three() { + return add([1,2]); + } + ``` These are (respectively) static, dynamic & global solutions to graph-like dependency resolution. -### Examples +## Examples Given the following folder structure: -``` +```pt my-project ├── lib │ ├── a.js @@ -85,7 +85,8 @@ my-project ``` And the .eslintrc file: -``` + +```json { ... "rules": { diff --git a/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md b/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md index 344c33bb67..293f3ba009 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-restricted-paths.md @@ -13,25 +13,26 @@ This rule has one option. The option is an object containing the definition of a The default value for `basePath` is the current working directory. Each zone consists of the `target` paths, a `from` paths, and an optional `except` and `message` attribute. -- `target` contains the paths where the restricted imports should be applied. It can be expressed by - - directory string path that matches all its containing files - - glob pattern matching all the targeted files - - an array of multiple of the two types above -- `from` paths define the folders that are not allowed to be used in an import. It can be expressed by - - directory string path that matches all its containing files - - glob pattern matching all the files restricted to be imported - - an array of multiple directory string path - - an array of multiple glob patterns -- `except` may be defined for a zone, allowing exception paths that would otherwise violate the related `from`. Note that it does not alter the behaviour of `target` in any way. - - in case `from` contains only glob patterns, `except` must be an array of glob patterns as well - - in case `from` contains only directory path, `except` is relative to `from` and cannot backtrack to a parent directory -- `message` - will be displayed in case of the rule violation. + + - `target` contains the paths where the restricted imports should be applied. It can be expressed by + - directory string path that matches all its containing files + - glob pattern matching all the targeted files + - an array of multiple of the two types above + - `from` paths define the folders that are not allowed to be used in an import. It can be expressed by + - directory string path that matches all its containing files + - glob pattern matching all the files restricted to be imported + - an array of multiple directory string path + - an array of multiple glob patterns + - `except` may be defined for a zone, allowing exception paths that would otherwise violate the related `from`. Note that it does not alter the behaviour of `target` in any way. + - in case `from` contains only glob patterns, `except` must be an array of glob patterns as well + - in case `from` contains only directory path, `except` is relative to `from` and cannot backtrack to a parent directory + - `message` - will be displayed in case of the rule violation. ### Examples Given the following folder structure: -``` +```pt my-project ├── client │ └── foo.js @@ -58,7 +59,7 @@ import baz from '../client/baz'; Given the following folder structure: -``` +```pt my-project ├── client │ └── foo.js @@ -74,7 +75,7 @@ and the current file being linted is `my-project/server/one/a.js`. and the current configuration is set to: -``` +```json { "zones": [ { "target": "./tests/files/restricted-paths/server/one", "from": "./tests/files/restricted-paths/server", @@ -99,7 +100,7 @@ import b from './b' Given the following folder structure: -``` +```pt my-project ├── client └── foo.js @@ -111,7 +112,7 @@ my-project and the current configuration is set to: -``` +```json { "zones": [ { "target": "./tests/files/restricted-paths/client/!(sub-module)/**/*", "from": "./tests/files/restricted-paths/client/sub-module/**/*", @@ -134,7 +135,7 @@ import b from './baz' Given the following folder structure: -``` +```pt my-project └── one └── a.js @@ -149,7 +150,7 @@ my-project and the current configuration is set to: -``` +```json { "zones": [ { @@ -195,4 +196,3 @@ import a from '../one/a' ```js import a from './a' ``` - diff --git a/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md b/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md index 6f763e9737..617395e2c3 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-unassigned-import.md @@ -3,12 +3,13 @@ With both CommonJS' `require` and the ES6 modules' `import` syntax, it is possible to import a module but not to use its result. This can be done explicitly by not assigning the module to as variable. Doing so can mean either of the following things: -- The module is imported but not used -- The module has side-effects (like [`should`](https://www.npmjs.com/package/should)). Having side-effects, makes it hard to know whether the module is actually used or can be removed. It can also make it harder to test or mock parts of your application. + + - The module is imported but not used + - The module has side-effects (like [`should`](https://www.npmjs.com/package/should)). Having side-effects, makes it hard to know whether the module is actually used or can be removed. It can also make it harder to test or mock parts of your application. This rule aims to remove modules with side-effects by reporting when a module is imported but not assigned. -### Options +## Options This rule supports the following option: @@ -16,7 +17,6 @@ This rule supports the following option: Note that the globs start from the where the linter is executed (usually project root), but not from each file that includes the source. Learn more in both the pass and fail examples below. - ## Fail ```js @@ -28,7 +28,6 @@ import '../styles/app.css' // {"allow": ["styles/*.css"]} ``` - ## Pass ```js diff --git a/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md b/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md index 13f7928877..ca1da39c00 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-unresolved.md @@ -50,6 +50,7 @@ const { default: x } = require('./foo') // ignored ``` Both may be provided, too: + ```js /*eslint import/no-unresolved: [2, { commonjs: true, amd: true }]*/ const { default: x } = require('./foo') // reported if './foo' is not found @@ -84,7 +85,6 @@ const { default: x } = require('./foo') // reported if './foo' is actually './Fo The `caseSensitive` option does not detect case for the current working directory. The `caseSensitiveStrict` option allows checking `cwd` in resolved path. By default, the option is disabled. - ```js /*eslint import/no-unresolved: [2, { caseSensitiveStrict: true }]*/ @@ -102,9 +102,9 @@ If you're using a module bundler other than Node or Webpack, you may end up with ## Further Reading -- [Resolver plugins](../../README.md#resolvers) -- [Node resolver](https://npmjs.com/package/eslint-import-resolver-node) (default) -- [Webpack resolver](https://npmjs.com/package/eslint-import-resolver-webpack) -- [`import/ignore`] global setting + - [Resolver plugins](../../README.md#resolvers) + - [Node resolver](https://npmjs.com/package/eslint-import-resolver-node) (default) + - [Webpack resolver](https://npmjs.com/package/eslint-import-resolver-webpack) + - [`import/ignore`] global setting [`import/ignore`]: ../../README.md#importignore diff --git a/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md b/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md index a8e1a3c182..53c2479272 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-unused-modules.md @@ -3,19 +3,20 @@ Reports: - - modules without any exports - - individual exports not being statically `import`ed or `require`ed from other modules in the same project - - dynamic imports are supported if argument is a literal string + - modules without any exports + - individual exports not being statically `import`ed or `require`ed from other modules in the same project + - dynamic imports are supported if argument is a literal string ## Rule Details ### Usage -In order for this plugin to work, at least one of the options `missingExports` or `unusedExports` must be enabled (see "Options" section below). In the future, these options will be enabled by default (see https://github.com/import-js/eslint-plugin-import/issues/1324) +In order for this plugin to work, at least one of the options `missingExports` or `unusedExports` must be enabled (see "Options" section below). In the future, these options will be enabled by default (see ) Example: -``` + +```json "rules: { ...otherRules, "import/no-unused-modules": [1, {"unusedExports": true}] @@ -26,14 +27,15 @@ Example: This rule takes the following option: -- **`missingExports`**: if `true`, files without any exports are reported (defaults to `false`) -- **`unusedExports`**: if `true`, exports without any static usage within other modules are reported (defaults to `false`) -- `src`: an array with files/paths to be analyzed. It only applies to unused exports. Defaults to `process.cwd()`, if not provided -- `ignoreExports`: an array with files/paths for which unused exports will not be reported (e.g module entry points in a published package) - + - **`missingExports`**: if `true`, files without any exports are reported (defaults to `false`) + - **`unusedExports`**: if `true`, exports without any static usage within other modules are reported (defaults to `false`) + - `src`: an array with files/paths to be analyzed. It only applies to unused exports. Defaults to `process.cwd()`, if not provided + - `ignoreExports`: an array with files/paths for which unused exports will not be reported (e.g module entry points in a published package) ### Example for missing exports + #### The following will be reported + ```js const class MyClass { /*...*/ } @@ -45,18 +47,23 @@ function makeClass() { return new MyClass(...arguments) } ```js export default function () { /*...*/ } ``` + ```js export const foo = function () { /*...*/ } ``` + ```js export { foo, bar } ``` + ```js export { foo as bar } ``` ### Example for unused exports + given file-f: + ```js import { e } from 'file-a' import { f } from 'file-b' @@ -65,24 +72,32 @@ export { default, i0 } from 'file-d' // both will be reported export const j = 99 // will be reported ``` + and file-d: + ```js export const i0 = 9 // will not be reported export const i1 = 9 // will be reported export default () => {} // will not be reported ``` + and file-c: + ```js export const h = 8 // will not be reported export default () => {} // will be reported, as export * only considers named exports and ignores default exports ``` + and file-b: + ```js import two, { b, c, doAnything } from 'file-a' export const f = 6 // will not be reported ``` + and file-a: + ```js const b = 2 const c = 3 @@ -102,6 +117,7 @@ export default 5 // will not be reported ``` #### Important Note + Exports from files listed as a main file (`main`, `browser`, or `bin` fields in `package.json`) will be ignored by default. This only applies if the `package.json` is not set to `private: true` ## When not to use diff --git a/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md b/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md index c8dc67727a..22c4bf965b 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-useless-path-segments.md @@ -10,7 +10,7 @@ Use this rule to prevent unnecessary path segments in import and require stateme Given the following folder structure: -``` +```pt my-project ├── app.js ├── footer.js @@ -62,6 +62,7 @@ import fs from "fs"; ### noUselessIndex If you want to detect unnecessary `/index` or `/index.js` (depending on the specified file extensions, see below) imports in your paths, you can enable the option `noUselessIndex`. By default it is set to `false`: + ```js "import/no-useless-path-segments": ["error", { noUselessIndex: true, diff --git a/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md b/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md index e1b7a4bd9d..291b1c058a 100644 --- a/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md +++ b/node_modules/eslint-plugin-import/docs/rules/no-webpack-loader-syntax.md @@ -5,6 +5,7 @@ Forbid Webpack loader syntax in imports. [Webpack](https://webpack.js.org) allows specifying the [loaders](https://webpack.js.org/concepts/loaders/) to use in the import source string using a special syntax like this: + ```js var moduleWithOneLoader = require("my-loader!./my-awesome-module"); ``` diff --git a/node_modules/eslint-plugin-import/docs/rules/order.md b/node_modules/eslint-plugin-import/docs/rules/order.md index e3deacaf24..2335699e6c 100644 --- a/node_modules/eslint-plugin-import/docs/rules/order.md +++ b/node_modules/eslint-plugin-import/docs/rules/order.md @@ -5,7 +5,6 @@ Enforce a convention in the order of `require()` / `import` statements. -+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule. With the [`groups`](#groups-array) option set to `["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"]` the order is as shown in the following example: @@ -37,7 +36,6 @@ Unassigned imports are ignored, as the order they are imported in may be importa Statements using the ES6 `import` syntax must appear before any `require()` statements. - ## Fail ```ts @@ -55,7 +53,6 @@ var path = require('path'); import foo from './foo'; // `import` statements must be before `require` statement ``` - ## Pass ```ts @@ -84,11 +81,12 @@ var path = require('path'); This rule supports the following options: -### `groups: [array]`: +### `groups: [array]` How groups are defined, and the order to respect. `groups` must be an array of `string` or [`string`]. The only allowed `string`s are: `"builtin"`, `"external"`, `"internal"`, `"unknown"`, `"parent"`, `"sibling"`, `"index"`, `"object"`, `"type"`. The enforced order is the same as the order of each element in a group. Omitted types are implicitly grouped together as the last element. Example: + ```ts [ 'builtin', // Built-in types are first @@ -98,6 +96,7 @@ The enforced order is the same as the order of each element in a group. Omitted // Then the rest: internal and external type ] ``` + The default value is `["builtin", "external", "parent", "sibling", "index"]`. You can set the options like this: @@ -120,7 +119,7 @@ You can set the options like this: ] ``` -### `pathGroups: [array of objects]`: +### `pathGroups: [array of objects]` To be able to group by paths mostly needed with aliases pathGroups can be defined. @@ -146,7 +145,7 @@ Properties of the objects } ``` -### `distinctGroup: [boolean]`: +### `distinctGroup: [boolean]` This changes how `pathGroups[].position` affects grouping. The property is most useful when `newlines-between` is set to `always` and at least 1 `pathGroups` entry has a `position` property set. @@ -155,6 +154,7 @@ By default, in the context of a particular `pathGroup` entry, when setting `posi Note that currently, `distinctGroup` defaults to `true`. However, in a later update, the default will change to `false` Example: + ```json { "import/order": ["error", { @@ -171,12 +171,13 @@ Example: } ``` -### `pathGroupsExcludedImportTypes: [array]`: +### `pathGroupsExcludedImportTypes: [array]` This defines import types that are not handled by configured pathGroups. This is mostly needed when you want to handle path groups that look like external imports. Example: + ```json { "import/order": ["error", { @@ -195,6 +196,7 @@ Example: You can also use `patterns`(e.g., `react`, `react-router-dom`, etc). Example: + ```json { "import/order": [ @@ -212,16 +214,17 @@ Example: ] } ``` + The default value is `["builtin", "external", "object"]`. -### `newlines-between: [ignore|always|always-and-inside-groups|never]`: +### `newlines-between: [ignore|always|always-and-inside-groups|never]` Enforces or forbids new lines between import groups: -- If set to `ignore`, no errors related to new lines between import groups will be reported. -- If set to `always`, at least one new line between each group will be enforced, and new lines inside a group will be forbidden. To prevent multiple lines between imports, core `no-multiple-empty-lines` rule can be used. -- If set to `always-and-inside-groups`, it will act like `always` except newlines are allowed inside import groups. -- If set to `never`, no new lines are allowed in the entire import section. + - If set to `ignore`, no errors related to new lines between import groups will be reported. + - If set to `always`, at least one new line between each group will be enforced, and new lines inside a group will be forbidden. To prevent multiple lines between imports, core `no-multiple-empty-lines` rule can be used. + - If set to `always-and-inside-groups`, it will act like `always` except newlines are allowed inside import groups. + - If set to `never`, no new lines are allowed in the entire import section. The default value is `"ignore"`. @@ -285,15 +288,16 @@ import index from './'; import sibling from './foo'; ``` -### `alphabetize: {order: asc|desc|ignore, orderImportKind: asc|desc|ignore, caseInsensitive: true|false}`: +### `alphabetize: {order: asc|desc|ignore, orderImportKind: asc|desc|ignore, caseInsensitive: true|false}` Sort the order within each group in alphabetical manner based on **import path**: -- `order`: use `asc` to sort in ascending order, and `desc` to sort in descending order (default: `ignore`). -- `orderImportKind`: use `asc` to sort in ascending order various import kinds, e.g. imports prefixed with `type` or `typeof`, with same import path. Use `desc` to sort in descending order (default: `ignore`). -- `caseInsensitive`: use `true` to ignore case, and `false` to consider case (default: `false`). + - `order`: use `asc` to sort in ascending order, and `desc` to sort in descending order (default: `ignore`). + - `orderImportKind`: use `asc` to sort in ascending order various import kinds, e.g. imports prefixed with `type` or `typeof`, with same import path. Use `desc` to sort in descending order (default: `ignore`). + - `caseInsensitive`: use `true` to ignore case, and `false` to consider case (default: `false`). Example setting: + ```ts alphabetize: { order: 'asc', /* sort in ascending order. Options: ['ignore', 'asc', 'desc'] */ @@ -323,9 +327,9 @@ import React, { PureComponent } from 'react'; import { compose, apply } from 'xcompose'; ``` -### `warnOnUnassignedImports: true|false`: +### `warnOnUnassignedImports: true|false` -* default: `false` + - default: `false` Warns when unassigned imports are out of order. These warning will not be fixed with `--fix` because unassigned imports are used for side-effects and changing the @@ -352,9 +356,9 @@ import './styles.css'; ## Related -- [`import/external-module-folders`] setting + - [`import/external-module-folders`] setting -- [`import/internal-regex`] setting + - [`import/internal-regex`] setting [`import/external-module-folders`]: ../../README.md#importexternal-module-folders diff --git a/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md b/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md index 5d335f4c12..e2a7bacd73 100644 --- a/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md +++ b/node_modules/eslint-plugin-import/docs/rules/prefer-default-export.md @@ -6,12 +6,12 @@ In exporting files, this rule checks if there is default export or not. ## Rule Details -##### rule schema: +### rule schema ```javascript "import/prefer-default-export": [ ( "off" | "warn" | "error" ), - { "target": "single" | "any" } // default is "single" + { "target": "single" | "any" } // default is "single" ] ``` @@ -109,7 +109,6 @@ How to setup config file for this rule: } ``` - The following patterns are *not* considered warnings: ```javascript diff --git a/node_modules/eslint-plugin-import/docs/rules/unambiguous.md b/node_modules/eslint-plugin-import/docs/rules/unambiguous.md index da77a7453f..e9e5bf73da 100644 --- a/node_modules/eslint-plugin-import/docs/rules/unambiguous.md +++ b/node_modules/eslint-plugin-import/docs/rules/unambiguous.md @@ -32,6 +32,7 @@ export {} // simple way to mark side-effects-only file as 'module' without any i ``` ...whereas the following file would be reported: + ```js (function x() { return 42 })() ``` @@ -48,9 +49,9 @@ a `module`. ## Further Reading -- [Unambiguous JavaScript Grammar] -- [`parserOptions.sourceType`] -- [node-eps#13](https://github.com/nodejs/node-eps/issues/13) + - [Unambiguous JavaScript Grammar] + - [`parserOptions.sourceType`] + - [node-eps#13](https://github.com/nodejs/node-eps/issues/13) [`parserOptions.sourceType`]: https://eslint.org/docs/user-guide/configuring#specifying-parser-options [Unambiguous JavaScript Grammar]: https://github.com/nodejs/node-eps/blob/HEAD/002-es-modules.md#32-determining-if-source-is-an-es-module diff --git a/node_modules/eslint-plugin-import/lib/rules/order.js b/node_modules/eslint-plugin-import/lib/rules/order.js index 3b5c86253d..4b735ae4b4 100644 --- a/node_modules/eslint-plugin-import/lib/rules/order.js +++ b/node_modules/eslint-plugin-import/lib/rules/order.js @@ -422,10 +422,6 @@ var types = ['builtin', 'external', 'internal', 'unknown', 'parent', 'sibling', // Example: { index: 0, sibling: 1, parent: 1, external: 1, builtin: 2, internal: 2 } // Will throw an error if it contains a type that does not exist, or has a duplicate function convertGroupsToRanks(groups) { - if (groups.length === 1) { - // TODO: remove this `if` and fix the bug - return convertGroupsToRanks(groups[0]); - } var rankObject = groups.reduce(function (res, group, index) { [].concat(group).forEach(function (groupItem) { if (types.indexOf(groupItem) === -1) { @@ -786,4 +782,4 @@ module.exports = { }return reportAndReset;}() }; }return importOrderRule;}() }; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9vcmRlci5qcyJdLCJuYW1lcyI6WyJkZWZhdWx0R3JvdXBzIiwicmV2ZXJzZSIsImFycmF5IiwibWFwIiwidiIsInJhb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fSxcbiAgICAgICAgICBwYXRoR3JvdXBzRXhjbHVkZWRJbXBvcnRUeXBlczoge1xuICAgICAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIGRpc3RpbmN0R3JvdXA6IHtcbiAgICAgICAgICAgIHR5cGU6ICdib29sZWFuJyxcbiAgICAgICAgICAgIGRlZmF1bHQ6IGRlZmF1bHREaXN0aW5jdEdyb3VwLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgcGF0aEdyb3Vwczoge1xuICAgICAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgICAgIGl0ZW1zOiB7XG4gICAgICAgICAgICAgIHR5cGU6ICdvYmplY3QnLFxuICAgICAgICAgICAgICBwcm9wZXJ0aWVzOiB7XG4gICAgICAgICAgICAgICAgcGF0dGVybjoge1xuICAgICAgICAgICAgICAgICAgdHlwZTogJ3N0cmluZycsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBwYXR0ZXJuT3B0aW9uczoge1xuICAgICAgICAgICAgICAgICAgdHlwZTogJ29iamVjdCcsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBncm91cDoge1xuICAgICAgICAgICAgICAgICAgdHlwZTogJ3N0cmluZycsXG4gICAgICAgICAgICAgICAgICBlbnVtOiB0eXBlcyxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiB7XG4gICAgICAgICAgICAgICAgICB0eXBlOiAnc3RyaW5nJyxcbiAgICAgICAgICAgICAgICAgIGVudW06IFsnYWZ0ZXInLCAnYmVmb3JlJ10sXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgYWRkaXRpb25hbFByb3BlcnRpZXM6IGZhbHNlLFxuICAgICAgICAgICAgICByZXF1aXJlZDogWydwYXR0ZXJuJywgJ2dyb3VwJ10sXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH0sXG4gICAgICAgICAgJ25ld2xpbmVzLWJldHdlZW4nOiB7XG4gICAgICAgICAgICBlbnVtOiBbXG4gICAgICAgICAgICAgICdpZ25vcmUnLFxuICAgICAgICAgICAgICAnYWx3YXlzJyxcbiAgICAgICAgICAgICAgJ2Fsd2F5cy1hbmQtaW5zaWRlLWdyb3VwcycsXG4gICAgICAgICAgICAgICduZXZlcicsXG4gICAgICAgICAgICBdLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgYWxwaGFiZXRpemU6IHtcbiAgICAgICAgICAgIHR5cGU6ICdvYmplY3QnLFxuICAgICAgICAgICAgcHJvcGVydGllczoge1xuICAgICAgICAgICAgICBjYXNlSW5zZW5zaXRpdmU6IHtcbiAgICAgICAgICAgICAgICB0eXBlOiAnYm9vbGVhbicsXG4gICAgICAgICAgICAgICAgZGVmYXVsdDogZmFsc2UsXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgIG9yZGVyOiB7XG4gICAgICAgICAgICAgICAgZW51bTogWydpZ25vcmUnLCAnYXNjJywgJ2Rlc2MnXSxcbiAgICAgICAgICAgICAgICBkZWZhdWx0OiAnaWdub3JlJyxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgb3JkZXJJbXBvcnRLaW5kOiB7XG4gICAgICAgICAgICAgICAgZW51bTogWydpZ25vcmUnLCAnYXNjJywgJ2Rlc2MnXSxcbiAgICAgICAgICAgICAgICBkZWZhdWx0OiAnaWdub3JlJyxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBhZGRpdGlvbmFsUHJvcGVydGllczogZmFsc2UsXG4gICAgICAgICAgfSxcbiAgICAgICAgICB3YXJuT25VbmFzc2lnbmVkSW1wb3J0czoge1xuICAgICAgICAgICAgdHlwZTogJ2Jvb2xlYW4nLFxuICAgICAgICAgICAgZGVmYXVsdDogZmFsc2UsXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgICAg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YXRoR3JvdXBzLFxuICAgICAgICBtYXhQb3NpdGlvbixcbiAgICAgIH07XG4gICAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICAgIC8vIE1hbGZvcm1lZCBjb25maWd1cmF0aW9uXG4gICAgICByZXR1cm4ge1xuICAgICAgICBQcm9ncmFtKG5vZGUpIHtcbiAgICAgICAgICBjb250ZXh0LnJlcG9ydChub2RlLCBlcnJvci5tZXNzYWdlKTtcbiAgICAgICAgfSxcbiAgICAgIH07XG4gICAgfVxuICAgIGNvbnN0IGltcG9ydE1hcCA9IG5ldyBNYXAoKTtcblxuICAgIGZ1bmN0aW9uIGdldEJsb2NrSW1wb3J0cyhub2RlKSB7XG4gICAgICBpZiAoIWltcG9ydE1hcC5oYXMobm9kZSkpIHtcbiAgICAgICAgaW1wb3J0TWFwLnNldChub2RlLCBbXSk7XG4gICAgICB9XG4gICAgICByZXR1cm4gaW1wb3J0TWFwLmdldChub2RlKTtcbiAgICB9XG5cbiAgICByZXR1cm4ge1xuICAgICAgSW1wb3J0RGVjbGFyYXRpb246IGZ1bmN0aW9uIGhhbmRsZUltcG9ydHMobm9kZSkge1xuICAgICAgICAvLyBJZ25vcmluZyB1bmFzc2lnbmVkIGltcG9ydHMgdW5sZXNzIHdhcm5PblVuYXNzaWduZWRJbXBvcnRzIGlzIHNldFxuICAgICAgICBpZiAobm9kZS5zcGVjaWZpZXJzLmxlbmd0aCB8fCBvcHRpb25zLndhcm5PblVuYXNzaWduZWRJbXBvcnRzKSB7XG4gICAgICAgICAgY29uc3QgbmFtZSA9IG5vZGUuc291cmNlLnZhbHVlO1xuICAgICAgICAgIHJlZ2lzdGVyTm9kZShcbiAgICAgICAgICAgIGNvbnRleHQsXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICAgIHZhbHVlOiBuYW1lLFxuICAgICAgICAgICAgICBkaXNwbGF5TmFtZTogbmFtZSxcbiAgICAgICAgICAgICAgdHlwZTogJ2ltcG9ydCcsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgcmFua3MsXG4gICAgICAgICAgICBnZXRCbG9ja0ltcG9ydHMobm9kZS5wYXJlbnQpLFxuICAgICAgICAgICAgcGF0aEdyb3Vwc0V4Y2x1ZGVkSW1wb3J0VHlwZXMsXG4gICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgfSxcbiAgICAgIFRTSW1wb3J0RXF1YWxzRGVjbGFyYXRpb246IGZ1bmN0aW9uIGhhbmRsZUltcG9ydHMobm9kZSkge1xuICAgICAgICBsZXQgZGlzcGxheU5hbWU7XG4gICAgICAgIGxldCB2YWx1ZTtcbiAgICAgICAgbGV0IHR5cGU7XG4gICAgICAgIC8vIHNraXAgXCJleHBvcnQgaW1wb3J0XCJzXG4gICAgICAgIGlmIChub2RlLmlzRXhwb3J0KSB7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIGlmIChub2RlLm1vZHVsZVJlZmVyZW5jZS50eXBlID09PSAnVFNFeHRlcm5hbE1vZHVsZVJlZmVyZW5jZScpIHtcbiAgICAgICAgICB2YWx1ZSA9IG5vZGUubW9kdWxlUmVmZXJlbmNlLmV4cHJlc3Npb24udmFsdWU7XG4gICAgICAgICAgZGlzcGxheU5hbWUgPSB2YWx1ZTtcbiAgICAgICAgICB0eXBlID0gJ2ltcG9ydCc7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgdmFsdWUgPSAnJztcbiAgICAgICAgICBkaXNwbGF5TmFtZSA9IGNvbnRleHQuZ2V0U291cmNlQ29kZSgpLmdldFRleHQobm9kZS5tb2R1bGVSZWZlcmVuY2UpO1xuICAgICAgICAgIHR5cGUgPSAnaW1wb3J0Om9iamVjdCc7XG4gICAgICAgIH1cbiAgICAgICAgcmVnaXN0ZXJOb2RlKFxuICAgICAgICAgIGNvbnRleHQsXG4gICAgICAgICAge1xuICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgIHZhbHVlLFxuICAgICAgICAgICAgZGlzcGxheU5hbWUsXG4gICAgICAgICAgICB0eXBlLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgcmFua3MsXG4gICAgICAgICAgZ2V0QmxvY2tJbXBvcnRzKG5vZGUucGFyZW50KSxcbiAgICAgICAgICBwYXRoR3JvdXBzRXhjbHVkZWRJbXBvcnRUeXBlcyxcbiAgICAgICAgKTtcbiAgICAgIH0sXG4gICAgICBDYWxsRXhwcmVzc2lvbjogZnVuY3Rpb24gaGFuZGxlUmVxdWlyZXMobm9kZSkge1xuICAgICAgICBpZiAoIWlzU3RhdGljUmVxdWlyZShub2RlKSkge1xuICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgICBjb25zdCBibG9jayA9IGdldFJlcXVpcmVCbG9jayhub2RlKTtcbiAgICAgICAgaWYgKCFibG9jaykge1xuICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgICBjb25zdCBuYW1lID0gbm9kZS5hcmd1bWVudHNbMF0udmFsdWU7XG4gICAgICAgIHJlZ2lzdGVyTm9kZShcbiAgICAgICAgICBjb250ZXh0LFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIG5vZGUsXG4gICAgICAgICAgICB2YWx1ZTogbmFtZSxcbiAgICAgICAgICAgIGRpc3BsYXlOYW1lOiBuYW1lLFxuICAgICAgICAgICAgdHlwZTogJ3JlcXVpcmUnLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgcmFua3MsXG4gICAgICAgICAgZ2V0QmxvY2tJbXBvcnRzKGJsb2NrKSxcbiAgICAgICAgICBwYXRoR3JvdXBzRXhjbHVkZWRJbXBvcnRUeXBlcyxcbiAgICAgICAgKTtcbiAgICAgIH0sXG4gICAgICAnUHJvZ3JhbTpleGl0JzogZnVuY3Rpb24gcmVwb3J0QW5kUmVzZXQoKSB7XG4gICAgICAgIGltcG9ydE1hcC5mb3JFYWNoKChpbXBvcnRlZCkgPT4ge1xuICAgICAgICAgIGlmIChuZXdsaW5lc0JldHdlZW5JbXBvcnRzICE9PSAnaWdub3JlJykge1xuICAgICAgICAgICAgbWFrZU5ld2xpbmVzQmV0d2VlblJlcG9ydChjb250ZXh0LCBpbXBvcnRlZCwgbmV3bGluZXNCZXR3ZWVuSW1wb3J0cywgZGlzdGluY3RHcm91cCk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKGFscGhhYmV0aXplLm9yZGVyICE9PSAnaWdub3JlJykge1xuICAgICAgICAgICAgbXV0YXRlUmFua3NUb0FscGhhYmV0aXplKGltcG9ydGVkLCBhbHBoYWJldGl6ZSk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgbWFrZU91dE9mT3JkZXJSZXBvcnQoY29udGV4dCwgaW1wb3J0ZWQpO1xuICAgICAgICB9KTtcblxuICAgICAgICBpbXBvcnRNYXAuY2xlYXIoKTtcbiAgICAgIH0sXG4gICAgfTtcbiAgfSxcbn07XG4iXX0= \ No newline at end of file +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ydWxlcy9vcmRlci5qcyJdLCJuYW1lcyI6WyJkZWZhdWx0R3JvdXBzIiwicmV2ZXJzZSIsImFycmF5IiwibWFwIiwidiIsInJhbmsiLCJnZXRUb2tlbnNPckNvbW1lbnRzQWZ0ZXIiLCJzb3VyY2VDb2RlIiwibm9kZSIsImNvdW50IiwiY3VycmVudE5vZGVPclRva2VuIiwicmVzdWx0IiwiaSIsImdldFRva2VuT3JDb21tZW50QWZ0ZXIiLCJwdXNoIiwiZ2V0VG9rZW5zT3JDb21tZW50c0JlZm9yZSIsImdldFRva2VuT3JDb21tZW50QmVmb3JlIiwidGFrZVRva2Vuc0FmdGVyV2hpbGUiLCJjb25kaXRpb24iLCJ0b2tlbnMiLCJsZW5ndGgiLCJ0YWtlVG9rZW5zQmVmb3JlV2hpbGUiLCJmaW5kT3V0T2ZPcmRlciIsImltcG9ydGVkIiwibWF4U2Vl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c3VnZ2VzdGlvbicsXG4gICAgZG9jczoge1xuICAgICAgY2F0ZWdvcnk6ICdTdHlsZSBndWlkZScsXG4gICAgICBkZXNjcmlwdGlvbjogJ0VuZm9yY2UgYSBjb252ZW50aW9uIGluIG1vZHVsZSBpbXBvcnQgb3JkZXIuJyxcbiAgICAgIHVybDogZG9jc1VybCgnb3JkZXInKSxcbiAgICB9LFxuXG4gICAgZml4YWJsZTogJ2NvZGUnLFxuICAgIHNjaGVtYTogW1xuICAgICAge1xuICAgICAgICB0eXBlOiAnb2JqZWN0JyxcbiAgICAgICAgcHJvcGVydGllczoge1xuICAgICAgICAgIGdyb3Vwczoge1xuICAgICAgICAgICAgdHlwZTogJ2FycmF5JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIHBhdGhHcm91cHNFeGNsdWRlZEltcG9ydFR5cGVzOiB7XG4gICAgICAgICAgICB0eXBlOiAnYXJyYXknLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgZGlzdGluY3RHcm91cDoge1xuICAgICAgICAgICAgdHlwZTogJ2Jvb2xlYW4nLFxuICAgICAgICAgICAgZGVmYXVsdDogZGVmYXVsdERpc3RpbmN0R3JvdXAsXG4gICAgICAgICAgfSxcbiAgICAgICAgICBwYXRoR3JvdXBzOiB7XG4gICAgICAgICAgICB0eXBlOiAnYXJyYXknLFxuICAgICAgICAgICAgaXRlbXM6IHtcbiAgICAgICAgICAgICAgdHlwZTogJ29iamVjdCcsXG4gICAgICAgICAgICAgIHByb3BlcnRpZXM6IHtcbiAgICAgICAgICAgICAgICBwYXR0ZXJuOiB7XG4gICAgICAgICAgICAgICAgICB0eXBlOiAnc3RyaW5nJyxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIHBhdHRlcm5PcHRpb25zOiB7XG4gICAgICAgICAgICAgICAgICB0eXBlOiAnb2JqZWN0JyxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIGdyb3VwOiB7XG4gICAgICAgICAgICAgICAgICB0eXBlOiAnc3RyaW5nJyxcbiAgICAgICAgICAgICAgICAgIGVudW06IHR5cGVzLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IHtcbiAgICAgICAgICAgICAgICAgIHR5cGU6ICdzdHJpbmcnLFxuICAgICAgICAgICAgICAgICAgZW51bTogWydhZnRlcicsICdiZWZvcmUnXSxcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICBhZGRpdGlvbmFsUHJvcGVydGllczogZmFsc2UsXG4gICAgICAgICAgICAgIHJlcXVpcmVkOiBbJ3BhdHRlcm4nLCAnZ3JvdXAnXSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgICAnbmV3bGluZXMtYmV0d2Vlbic6IHtcbiAgICAgICAgICAgIGVudW06IFtcbiAgICAgICAgICAgICAgJ2lnbm9yZScsXG4gICAgICAgICAgICAgICdhbHdheXMnLFxuICAgICAgICAgICAgICAnYWx3YXlzLWFuZC1pbnNpZGUtZ3JvdXBzJyxcbiAgICAgICAgICAgICAgJ25ldmVyJyxcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgfSxcbiAgICAgICAgICBhbHBoYWJldGl6ZToge1xuICAgICAgICAgICAgdHlwZTogJ29iamVjdCcsXG4gICAgICAgICAgICBwcm9wZXJ0aWVzOiB7XG4gICAgICAgICAgICAgIGNhc2VJbnNlbnNpdGl2ZToge1xuICAgICAgICAgICAgICAgIHR5cGU6ICdib29sZWFuJyxcbiAgICAgICAgICAgICAgICBkZWZhdWx0OiBmYWxzZSxcbiAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgb3JkZXI6IHtcbiAgICAgICAgICAgICAgICBlbnVtOiBbJ2lnbm9yZScsICdhc2MnLCAnZGVzYyddLFxuICAgICAgICAgICAgICAgIGRlZmF1bHQ6ICdpZ25vcmUnLFxuICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAg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9uVW5hc3NpZ25lZEltcG9ydHMgaXMgc2V0XG4gICAgICAgIGlmIChub2RlLnNwZWNpZmllcnMubGVuZ3RoIHx8IG9wdGlvbnMud2Fybk9uVW5hc3NpZ25lZEltcG9ydHMpIHtcbiAgICAgICAgICBjb25zdCBuYW1lID0gbm9kZS5zb3VyY2UudmFsdWU7XG4gICAgICAgICAgcmVnaXN0ZXJOb2RlKFxuICAgICAgICAgICAgY29udGV4dCxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgICAgdmFsdWU6IG5hbWUsXG4gICAgICAgICAgICAgIGRpc3BsYXlOYW1lOiBuYW1lLFxuICAgICAgICAgICAgICB0eXBlOiAnaW1wb3J0JyxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICByYW5rcyxcbiAgICAgICAgICAgIGdldEJsb2NrSW1wb3J0cyhub2RlLnBhcmVudCksXG4gICAgICAgICAgICBwYXRoR3JvdXBzRXhjbHVkZWRJbXBvcnRUeXBlcyxcbiAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICB9LFxuICAgICAgVFNJbXBvcnRFcXVhbHNEZWNsYXJhdGlvbjogZnVuY3Rpb24gaGFuZGxlSW1wb3J0cyhub2RlKSB7XG4gICAgICAgIGxldCBkaXNwbGF5TmFtZTtcbiAgICAgICAgbGV0IHZhbHVlO1xuICAgICAgICBsZXQgdHlwZTtcbiAgICAgICAgLy8gc2tpcCBcImV4cG9ydCBpbXBvcnRcInNcbiAgICAgICAgaWYgKG5vZGUuaXNFeHBvcnQpIHtcbiAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cbiAgICAgICAgaWYgKG5vZGUubW9kdWxlUmVmZXJlbmNlLnR5cGUgPT09ICdUU0V4dGVybmFsTW9kdWxlUmVmZXJlbmNlJykge1xuICAgICAgICAgIHZhbHVlID0gbm9kZS5tb2R1bGVSZWZlcmVuY2UuZXhwcmVzc2lvbi52YWx1ZTtcbiAgICAgICAgICBkaXNwbGF5TmFtZSA9IHZhbHVlO1xuICAgICAgICAgIHR5cGUgPSAnaW1wb3J0JztcbiAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICB2YWx1ZSA9ICcnO1xuICAgICAgICAgIGRpc3BsYXlOYW1lID0gY29udGV4dC5nZXRTb3VyY2VDb2RlKCkuZ2V0VGV4dChub2RlLm1vZHVsZVJlZmVyZW5jZSk7XG4gICAgICAgICAgdHlwZSA9ICdpbXBvcnQ6b2JqZWN0JztcbiAgICAgICAgfVxuICAgICAgICByZWdpc3Rlck5vZGUoXG4gICAgICAgICAgY29udGV4dCxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBub2RlLFxuICAgICAgICAgICAgdmFsdWUsXG4gICAgICAgICAgICBkaXNwbGF5TmFtZSxcbiAgICAgICAgICAgIHR5cGUsXG4gICAgICAgICAgfSxcbiAgICAgICAgICByYW5rcyxcbiAgICAgICAgICBnZXRCbG9ja0ltcG9ydHMobm9kZS5wYXJlbnQpLFxuICAgICAgICAgIHBhdGhHcm91cHNFeGNsdWRlZEltcG9ydFR5cGVzLFxuICAgICAgICApO1xuICAgICAgfSxcbiAgICAgIENhbGxFeHByZXNzaW9uOiBmdW5jdGlvbiBoYW5kbGVSZXF1aXJlcyhub2RlKSB7XG4gICAgICAgIGlmICghaXNTdGF0aWNSZXF1aXJlKG5vZGUpKSB7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIGNvbnN0IGJsb2NrID0gZ2V0UmVxdWlyZUJsb2NrKG5vZGUpO1xuICAgICAgICBpZiAoIWJsb2NrKSB7XG4gICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIGNvbnN0IG5hbWUgPSBub2RlLmFyZ3VtZW50c1swXS52YWx1ZTtcbiAgICAgICAgcmVnaXN0ZXJOb2RlKFxuICAgICAgICAgIGNvbnRleHQsXG4gICAgICAgICAge1xuICAgICAgICAgICAgbm9kZSxcbiAgICAgICAgICAgIHZhbHVlOiBuYW1lLFxuICAgICAgICAgICAgZGlzcGxheU5hbWU6IG5hbWUsXG4gICAgICAgICAgICB0eXBlOiAncmVxdWlyZScsXG4gICAgICAgICAgfSxcbiAgICAgICAgICByYW5rcyxcbiAgICAgICAgICBnZXRCbG9ja0ltcG9ydHMoYmxvY2spLFxuICAgICAgICAgIHBhdGhHcm91cHNFeGNsdWRlZEltcG9ydFR5cGVzLFxuICAgICAgICApO1xuICAgICAgfSxcbiAgICAgICdQcm9ncmFtOmV4aXQnOiBmdW5jdGlvbiByZXBvcnRBbmRSZXNldCgpIHtcbiAgICAgICAgaW1wb3J0TWFwLmZvckVhY2goKGltcG9ydGVkKSA9PiB7XG4gICAgICAgICAgaWYgKG5ld2xpbmVzQmV0d2VlbkltcG9ydHMgIT09ICdpZ25vcmUnKSB7XG4gICAgICAgICAgICBtYWtlTmV3bGluZXNCZXR3ZWVuUmVwb3J0KGNvbnRleHQsIGltcG9ydGVkLCBuZXdsaW5lc0JldHdlZW5JbXBvcnRzLCBkaXN0aW5jdEdyb3VwKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBpZiAoYWxwaGFiZXRpemUub3JkZXIgIT09ICdpZ25vcmUnKSB7XG4gICAgICAgICAgICBtdXRhdGVSYW5rc1RvQWxwaGFiZXRpemUoaW1wb3J0ZWQsIGFscGhhYmV0aXplKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBtYWtlT3V0T2ZPcmRlclJlcG9ydChjb250ZXh0LCBpbXBvcnRlZCk7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIGltcG9ydE1hcC5jbGVhcigpO1xuICAgICAgfSxcbiAgICB9O1xuICB9LFxufTtcbiJdfQ== \ No newline at end of file diff --git a/node_modules/eslint-plugin-import/memo-parser/README.md b/node_modules/eslint-plugin-import/memo-parser/README.md index 8a2a3cb5cd..741e0ed4d0 100644 --- a/node_modules/eslint-plugin-import/memo-parser/README.md +++ b/node_modules/eslint-plugin-import/memo-parser/README.md @@ -1,13 +1,11 @@ # eslint-plugin-import/memo-parser - -## NOTE! +## NOTE This used to improve performance, but as of ESLint 5 and v2 of this plugin, it seems to just consume a bunch of memory and slightly increase lint times. **Not recommended for use at this time!** - This parser is just a memoizing wrapper around some actual parser. To configure, just add your _actual_ parser to the `parserOptions`, like so: diff --git a/node_modules/eslint-plugin-import/package.json b/node_modules/eslint-plugin-import/package.json index 81905b59b2..6128a4e76b 100644 --- a/node_modules/eslint-plugin-import/package.json +++ b/node_modules/eslint-plugin-import/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-import", - "version": "2.28.0", + "version": "2.28.1", "description": "Import with sanity.", "engines": { "node": ">=4" @@ -24,7 +24,7 @@ "copy-metafiles": "node --require babel-register ./scripts/copyMetafiles", "watch": "npm run tests-only -- -- --watch", "pretest": "linklocal", - "posttest": "eslint . && npm run update:eslint-docs -- --check", + "posttest": "eslint . && npm run update:eslint-docs -- --check && markdownlint \"**/*.md\"", "mocha": "cross-env BABEL_ENV=test nyc mocha", "tests-only": "npm run mocha tests/src", "test": "npm run tests-only", @@ -85,8 +85,10 @@ "fs-copy-file-sync": "^1.1.1", "glob": "^7.2.3", "in-publish": "^2.0.1", + "jackspeak": "=2.1.1", "linklocal": "^2.8.2", "lodash.isarray": "^4.0.0", + "markdownlint-cli": "^0.35.0", "mocha": "^3.5.3", "npm-which": "^3.0.1", "nyc": "^11.9.0", @@ -110,13 +112,12 @@ "eslint-import-resolver-node": "^0.3.7", "eslint-module-utils": "^2.8.0", "has": "^1.0.3", - "is-core-module": "^2.12.1", + "is-core-module": "^2.13.0", "is-glob": "^4.0.3", "minimatch": "^3.1.2", "object.fromentries": "^2.0.6", "object.groupby": "^1.0.0", "object.values": "^1.1.6", - "resolve": "^1.22.3", "semver": "^6.3.1", "tsconfig-paths": "^3.14.2" } diff --git a/node_modules/is-core-module/CHANGELOG.md b/node_modules/is-core-module/CHANGELOG.md index 028384aee9..f44fd84595 100644 --- a/node_modules/is-core-module/CHANGELOG.md +++ b/node_modules/is-core-module/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v2.13.0](https://github.com/inspect-js/is-core-module/compare/v2.12.1...v2.13.0) - 2023-08-05 + +### Commits + +- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `semver`, `tape` [`c75b263`](https://github.com/inspect-js/is-core-module/commit/c75b263d047cb53430c3970107e5eb64d6cd6c0c) +- [New] `node:test/reporters` and `wasi`/`node:wasi` are in v18.17 [`d76cbf8`](https://github.com/inspect-js/is-core-module/commit/d76cbf8e9b208acfd98913fed5a5f45cb15fe5dc) + ## [v2.12.1](https://github.com/inspect-js/is-core-module/compare/v2.12.0...v2.12.1) - 2023-05-16 ### Commits diff --git a/node_modules/is-core-module/core.json b/node_modules/is-core-module/core.json index af29f0b734..3cda693d7d 100644 --- a/node_modules/is-core-module/core.json +++ b/node_modules/is-core-module/core.json @@ -115,7 +115,7 @@ "sys": [">= 0.4 && < 0.7", ">= 0.8"], "node:sys": [">= 14.18 && < 15", ">= 16"], "test/reporters": ">= 19.9 && < 20.2", - "node:test/reporters": [">= 19.9", ">= 20"], + "node:test/reporters": [">= 18.17 && < 19", ">= 19.9", ">= 20"], "node:test": [">= 16.17 && < 17", ">= 18"], "timers": true, "node:timers": [">= 14.18 && < 15", ">= 16"], @@ -149,8 +149,8 @@ "node:v8": [">= 14.18 && < 15", ">= 16"], "vm": true, "node:vm": [">= 14.18 && < 15", ">= 16"], - "wasi": [">= 13.4 && < 13.5", ">= 20"], - "node:wasi": ">= 20", + "wasi": [">= 13.4 && < 13.5", ">= 18.17 && < 19", ">= 20"], + "node:wasi": [">= 18.17 && < 19", ">= 20"], "worker_threads": ">= 11.7", "node:worker_threads": [">= 14.18 && < 15", ">= 16"], "zlib": ">= 0.5", diff --git a/node_modules/is-core-module/package.json b/node_modules/is-core-module/package.json index fa943aad8f..2271bb0f55 100644 --- a/node_modules/is-core-module/package.json +++ b/node_modules/is-core-module/package.json @@ -1,6 +1,6 @@ { "name": "is-core-module", - "version": "2.12.1", + "version": "2.13.0", "description": "Is this specifier a node.js core module?", "main": "index.js", "sideEffects": false, @@ -45,8 +45,8 @@ "has": "^1.0.3" }, "devDependencies": { - "@ljharb/eslint-config": "^21.0.1", - "aud": "^2.0.2", + "@ljharb/eslint-config": "^21.1.0", + "aud": "^2.0.3", "auto-changelog": "^2.4.0", "eslint": "=8.8.0", "in-publish": "^2.0.1", @@ -54,8 +54,8 @@ "npmignore": "^0.3.0", "nyc": "^10.3.2", "safe-publish-latest": "^2.0.0", - "semver": "^6.3.0", - "tape": "^5.6.3" + "semver": "^6.3.1", + "tape": "^5.6.6" }, "auto-changelog": { "output": "CHANGELOG.md", diff --git a/node_modules/nock/README.md b/node_modules/nock/README.md index d465a5d9fc..2f70d9f06c 100644 --- a/node_modules/nock/README.md +++ b/node_modules/nock/README.md @@ -1005,7 +1005,7 @@ const scope = nock('http://example.com') .reply(200, 'Persisting all the way') ``` -Note that while a persisted scope will always intercept the requests, it is considered "done" after the first interception, and they are pushed to the bottom of the stack after consumption. +Note that while a persisted scope will always intercept the requests, it is considered "done" after the first interception. If you want to stop persisting an individual persisted mock you can call `persist(false)`: diff --git a/node_modules/nock/lib/intercept.js b/node_modules/nock/lib/intercept.js index a6220484af..d02ee41847 100644 --- a/node_modules/nock/lib/intercept.js +++ b/node_modules/nock/lib/intercept.js @@ -110,7 +110,7 @@ function addInterceptor(key, interceptor, scope, scopeOptions, host) { } function remove(interceptor) { - if (--interceptor.counter > 0) { + if (interceptor.__nock_scope.shouldPersist() || --interceptor.counter > 0) { return } @@ -122,12 +122,6 @@ function remove(interceptor) { // matching instance. I'm also not sure why we couldn't delete _all_ // matching instances. interceptors.some(function (thisInterceptor, i) { - if (interceptor.__nock_scope.shouldPersist()) { - return thisInterceptor === interceptor - ? interceptors.push(interceptors.splice(i, 1)[0]) - : false - } - return thisInterceptor === interceptor ? interceptors.splice(i, 1) : false }) } diff --git a/node_modules/nock/package.json b/node_modules/nock/package.json index 954bc3460d..f729ca33c2 100644 --- a/node_modules/nock/package.json +++ b/node_modules/nock/package.json @@ -7,7 +7,7 @@ "testing", "isolation" ], - "version": "13.3.2", + "version": "13.3.3", "author": "Pedro Teixeira ", "repository": { "type": "git", diff --git a/package-lock.json b/package-lock.json index f596584905..f6c21530c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,17 +45,17 @@ "@types/node": "16.11.22", "@types/semver": "^7.5.0", "@types/sinon": "^10.0.16", - "@typescript-eslint/eslint-plugin": "^6.4.0", - "@typescript-eslint/parser": "^6.4.0", + "@typescript-eslint/eslint-plugin": "^6.4.1", + "@typescript-eslint/parser": "^6.4.1", "ava": "^5.3.1", "eslint": "^8.47.0", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-github": "^4.9.2", - "eslint-plugin-import": "^2.28.0", + "eslint-plugin-import": "^2.28.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.5", - "nock": "^13.3.2", + "nock": "^13.3.3", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^15.2.0", "typescript": "^5.1.6" @@ -98,6 +98,14 @@ "uuid": "^3.3.3" } }, + "node_modules/@actions/cache/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/@actions/cache/node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", @@ -983,16 +991,16 @@ "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.4.0.tgz", - "integrity": "sha512-62o2Hmc7Gs3p8SLfbXcipjWAa6qk2wZGChXG2JbBtYpwSRmti/9KHLqfbLs9uDigOexG+3PaQ9G2g3201FWLKg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.4.1.tgz", + "integrity": "sha512-3F5PtBzUW0dYlq77Lcqo13fv+58KDwUib3BddilE8ajPJT+faGgxmI9Sw+I8ZS22BYwoir9ZhNXcLi+S+I2bkw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/type-utils": "6.4.0", - "@typescript-eslint/utils": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/type-utils": "6.4.1", + "@typescript-eslint/utils": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -1018,15 +1026,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.4.0.tgz", - "integrity": "sha512-I1Ah1irl033uxjxO9Xql7+biL3YD7w9IU8zF+xlzD/YxY6a4b7DYA08PXUUCbm2sEljwJF6ERFy2kTGAGcNilg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.4.1.tgz", + "integrity": "sha512-610G6KHymg9V7EqOaNBMtD1GgpAmGROsmfHJPXNLCU9bfIuLrkdOygltK784F6Crboyd5tBFayPB7Sf0McrQwg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/typescript-estree": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/typescript-estree": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4" }, "engines": { @@ -1046,13 +1054,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.4.0.tgz", - "integrity": "sha512-TUS7vaKkPWDVvl7GDNHFQMsMruD+zhkd3SdVW0d7b+7Zo+bd/hXJQ8nsiUZMi1jloWo6c9qt3B7Sqo+flC1nig==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.4.1.tgz", + "integrity": "sha512-p/OavqOQfm4/Hdrr7kvacOSFjwQ2rrDVJRPxt/o0TOWdFnjJptnjnZ+sYDR7fi4OimvIuKp+2LCkc+rt9fIW+A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0" + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1063,13 +1071,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.4.0.tgz", - "integrity": "sha512-TvqrUFFyGY0cX3WgDHcdl2/mMCWCDv/0thTtx/ODMY1QhEiyFtv/OlLaNIiYLwRpAxAtOLOY9SUf1H3Q3dlwAg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.4.1.tgz", + "integrity": "sha512-7ON8M8NXh73SGZ5XvIqWHjgX2f+vvaOarNliGhjrJnv1vdjG0LVIz+ToYfPirOoBi56jxAKLfsLm40+RvxVVXA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.4.0", - "@typescript-eslint/utils": "6.4.0", + "@typescript-eslint/typescript-estree": "6.4.1", + "@typescript-eslint/utils": "6.4.1", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -1090,9 +1098,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.4.0.tgz", - "integrity": "sha512-+FV9kVFrS7w78YtzkIsNSoYsnOtrYVnKWSTVXoL1761CsCRv5wpDOINgsXpxD67YCLZtVQekDDyaxfjVWUJmmg==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.4.1.tgz", + "integrity": "sha512-zAAopbNuYu++ijY1GV2ylCsQsi3B8QvfPHVqhGdDcbx/NK5lkqMnCGU53amAjccSpk+LfeONxwzUhDzArSfZJg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -1103,13 +1111,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.4.0.tgz", - "integrity": "sha512-iDPJArf/K2sxvjOR6skeUCNgHR/tCQXBsa+ee1/clRKr3olZjZ/dSkXPZjG6YkPtnW6p5D1egeEPMCW6Gn4yLA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.4.1.tgz", + "integrity": "sha512-xF6Y7SatVE/OyV93h1xGgfOkHr2iXuo8ip0gbfzaKeGGuKiAnzS+HtVhSPx8Www243bwlW8IF7X0/B62SzFftg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/visitor-keys": "6.4.0", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/visitor-keys": "6.4.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1130,17 +1138,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.4.0.tgz", - "integrity": "sha512-BvvwryBQpECPGo8PwF/y/q+yacg8Hn/2XS+DqL/oRsOPK+RPt29h5Ui5dqOKHDlbXrAeHUTnyG3wZA0KTDxRZw==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.4.1.tgz", + "integrity": "sha512-F/6r2RieNeorU0zhqZNv89s9bDZSovv3bZQpUNOmmQK1L80/cV4KEu95YUJWi75u5PhboFoKUJBnZ4FQcoqhDw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.4.0", - "@typescript-eslint/types": "6.4.0", - "@typescript-eslint/typescript-estree": "6.4.0", + "@typescript-eslint/scope-manager": "6.4.1", + "@typescript-eslint/types": "6.4.1", + "@typescript-eslint/typescript-estree": "6.4.1", "semver": "^7.5.4" }, "engines": { @@ -1155,12 +1163,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.4.0.tgz", - "integrity": "sha512-yJSfyT+uJm+JRDWYRYdCm2i+pmvXJSMtPR9Cq5/XQs4QIgNoLcoRtDdzsLbLsFM/c6um6ohQkg/MLxWvoIndJA==", + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.4.1.tgz", + "integrity": "sha512-y/TyRJsbZPkJIZQXrHfdnxVnxyKegnpEvnRGNam7s3TRR2ykGefEWOhaef00/UUN3IZxizS7BTO3svd3lCOJRQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.4.0", + "@typescript-eslint/types": "6.4.1", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -2735,9 +2743,9 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.28.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz", - "integrity": "sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q==", + "version": "2.28.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz", + "integrity": "sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A==", "dev": true, "dependencies": { "array-includes": "^3.1.6", @@ -2749,13 +2757,12 @@ "eslint-import-resolver-node": "^0.3.7", "eslint-module-utils": "^2.8.0", "has": "^1.0.3", - "is-core-module": "^2.12.1", + "is-core-module": "^2.13.0", "is-glob": "^4.0.3", "minimatch": "^3.1.2", "object.fromentries": "^2.0.6", "object.groupby": "^1.0.0", "object.values": "^1.1.6", - "resolve": "^1.22.3", "semver": "^6.3.1", "tsconfig-paths": "^3.14.2" }, @@ -3818,9 +3825,9 @@ } }, "node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", + "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -4532,9 +4539,9 @@ } }, "node_modules/nock": { - "version": "13.3.2", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.2.tgz", - "integrity": "sha512-CwbljitiWJhF1gL83NbanhoKs1l23TDlRioNraPTZrzZIEooPemrHRj5m0FZCPkB1ecdYCSWWGcHysJgX/ngnQ==", + "version": "13.3.3", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.3.3.tgz", + "integrity": "sha512-z+KUlILy9SK/RjpeXDiDUEAq4T94ADPHE3qaRkf66mpEhzc/ytOMm3Bwdrbq6k1tMWkbdujiKim3G2tfQARuJw==", "dev": true, "dependencies": { "debug": "^4.1.0", diff --git a/package.json b/package.json index e269363863..f660b2ee09 100644 --- a/package.json +++ b/package.json @@ -60,17 +60,17 @@ "@types/node": "16.11.22", "@types/semver": "^7.5.0", "@types/sinon": "^10.0.16", - "@typescript-eslint/eslint-plugin": "^6.4.0", - "@typescript-eslint/parser": "^6.4.0", + "@typescript-eslint/eslint-plugin": "^6.4.1", + "@typescript-eslint/parser": "^6.4.1", "ava": "^5.3.1", "eslint": "^8.47.0", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-github": "^4.9.2", - "eslint-plugin-import": "^2.28.0", + "eslint-plugin-import": "^2.28.1", "eslint-plugin-no-async-foreach": "^0.1.1", "micromatch": "4.0.5", - "nock": "^13.3.2", + "nock": "^13.3.3", "removeNPMAbsolutePaths": "3.0.1", "sinon": "^15.2.0", "typescript": "^5.1.6" diff --git a/src/init-action.ts b/src/init-action.ts index f030dfa003..3d0f1e6ddf 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -31,6 +31,7 @@ import { checkDiskUsage, checkForTimeout, checkGitHubVersionInRange, + codeQlVersionAbove, DEFAULT_DEBUG_ARTIFACT_NAME, DEFAULT_DEBUG_DATABASE_NAME, getMemoryFlagValue, @@ -346,6 +347,15 @@ async function run() { core.exportVariable("CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN", "true"); } + const kotlinLimitVar = + "CODEQL_EXTRACTOR_KOTLIN_OVERRIDE_MAXIMUM_VERSION_LIMIT"; + if ( + (await codeQlVersionAbove(codeql, "2.13.4")) && + !(await codeQlVersionAbove(codeql, "2.14.4")) + ) { + core.exportVariable(kotlinLimitVar, "1.9.20"); + } + if (config.languages.includes(Language.java)) { const envVar = "CODEQL_EXTRACTOR_JAVA_RUN_ANNOTATION_PROCESSORS"; if (process.env[envVar]) {