diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index a1c2db7db0..91d7a1de20 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -455,9 +455,9 @@ } }, "node_modules/@eslint/js": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.0.tgz", - "integrity": "sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug==", + "version": "9.9.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.1.tgz", + "integrity": "sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -527,6 +527,15 @@ "node": ">= 8" } }, + "node_modules/@nolyfill/is-core-module": { + "version": "1.0.39", + "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz", + "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==", + "dev": true, + "engines": { + "node": ">=12.4.0" + } + }, "node_modules/@octokit/auth-token": { "version": "2.5.0", "license": "MIT", @@ -916,16 +925,16 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz", - "integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.2.0.tgz", + "integrity": "sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/type-utils": "8.1.0", - "@typescript-eslint/utils": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/type-utils": "8.2.0", + "@typescript-eslint/utils": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -949,15 +958,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz", - "integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.2.0.tgz", + "integrity": "sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4" }, "engines": { @@ -977,13 +986,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz", - "integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz", + "integrity": "sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0" + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -994,13 +1003,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz", - "integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.2.0.tgz", + "integrity": "sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/utils": "8.2.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -1018,9 +1027,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz", - "integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz", + "integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1031,13 +1040,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz", - "integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz", + "integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -1083,15 +1092,15 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz", - "integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.2.0.tgz", + "integrity": "sha512-O46eaYKDlV3TvAVDNcoDzd5N550ckSe8G4phko++OCSC1dYIb9LTc3HDGYdWqWIAT5qDUKphO6sd9RrpIJJPfg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0" + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1105,12 +1114,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz", - "integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz", + "integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/types": "8.2.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -1995,9 +2004,10 @@ } }, "node_modules/debug": { - "version": "4.3.4", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, - "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -2238,9 +2248,10 @@ "license": "MIT" }, "node_modules/enhanced-resolve": { - "version": "5.12.0", + "version": "5.17.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz", + "integrity": "sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==", "dev": true, - "license": "MIT", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -2462,16 +2473,18 @@ } }, "node_modules/eslint-import-resolver-typescript": { - "version": "3.6.1", - "dev": true, - "license": "ISC", - "dependencies": { - "debug": "^4.3.4", - "enhanced-resolve": "^5.12.0", - "eslint-module-utils": "^2.7.4", - "fast-glob": "^3.3.1", - "get-tsconfig": "^4.5.0", - "is-core-module": "^2.11.0", + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.3.tgz", + "integrity": "sha512-ud9aw4szY9cCT1EWWdGv1L1XR6hh2PaRWif0j2QjQ0pgTY/69iw+W0Z4qZv5wHahOl8isEr+k/JnyAqNQkLkIA==", + "dev": true, + "dependencies": { + "@nolyfill/is-core-module": "1.0.39", + "debug": "^4.3.5", + "enhanced-resolve": "^5.15.0", + "eslint-module-utils": "^2.8.1", + "fast-glob": "^3.3.2", + "get-tsconfig": "^4.7.5", + "is-bun-module": "^1.0.2", "is-glob": "^4.0.3" }, "engines": { @@ -2482,13 +2495,23 @@ }, "peerDependencies": { "eslint": "*", - "eslint-plugin-import": "*" + "eslint-plugin-import": "*", + "eslint-plugin-import-x": "*" + }, + "peerDependenciesMeta": { + "eslint-plugin-import": { + "optional": true + }, + "eslint-plugin-import-x": { + "optional": true + } } }, "node_modules/eslint-module-utils": { - "version": "2.8.0", + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.2.tgz", + "integrity": "sha512-3XnC5fDyc8M4J2E8pt8pmSVRX2M+5yWMCfI/kDZwauQeFgzQOuhcRBFKjTeJagqgk4sFKxe1mvNVnaWwImx/Tg==", "dev": true, - "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -3262,8 +3285,9 @@ "license": "Apache-2.0" }, "node_modules/fast-glob": { - "version": "3.3.1", - "license": "MIT", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -3515,9 +3539,10 @@ } }, "node_modules/get-tsconfig": { - "version": "4.6.2", + "version": "4.7.6", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.6.tgz", + "integrity": "sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==", "dev": true, - "license": "MIT", "dependencies": { "resolve-pkg-maps": "^1.0.0" }, @@ -3841,6 +3866,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-bun-module": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.1.0.tgz", + "integrity": "sha512-4mTAVPlrXpaN3jtF0lsnPCMGnq4+qZjVIKq0HCpfcqf8OC1SM5oATCIAPM5V5FN05qp2NNnFndphmdZS9CV3hA==", + "dev": true, + "dependencies": { + "semver": "^7.6.3" + } + }, "node_modules/is-callable": { "version": "1.2.7", "dev": true, @@ -4479,9 +4513,10 @@ } }, "node_modules/nock": { - "version": "13.5.4", + "version": "13.5.5", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.5.tgz", + "integrity": "sha512-XKYnqUrCwXC8DGG1xX4YH5yNIrlh9c065uaMZZHUoeUUINTOyt+x/G+ezYk0Ft6ExSREVIs+qBJDK503viTfFA==", "dev": true, - "license": "MIT", "dependencies": { "debug": "^4.1.0", "json-stringify-safe": "^5.0.1", @@ -5094,8 +5129,9 @@ }, "node_modules/resolve-pkg-maps": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", "dev": true, - "license": "MIT", "funding": { "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" } @@ -5669,8 +5705,9 @@ }, "node_modules/tapable": { "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=6" } diff --git a/node_modules/@eslint/js/package.json b/node_modules/@eslint/js/package.json index 3120dd3767..fb2a149d1e 100644 --- a/node_modules/@eslint/js/package.json +++ b/node_modules/@eslint/js/package.json @@ -1,6 +1,6 @@ { "name": "@eslint/js", - "version": "9.9.0", + "version": "9.9.1", "description": "ESLint JavaScript language implementation", "main": "./src/index.js", "scripts": {}, diff --git a/node_modules/@nolyfill/is-core-module/LICENSE b/node_modules/@nolyfill/is-core-module/LICENSE new file mode 100644 index 0000000000..f7be747d78 --- /dev/null +++ b/node_modules/@nolyfill/is-core-module/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Sukka + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@nolyfill/is-core-module/index.d.ts b/node_modules/@nolyfill/is-core-module/index.d.ts new file mode 100644 index 0000000000..8c0bd0dd49 --- /dev/null +++ b/node_modules/@nolyfill/is-core-module/index.d.ts @@ -0,0 +1,3 @@ +declare const isCore: (x: string, _nodeVersion?: any) => boolean; + +export = isCore; diff --git a/node_modules/@nolyfill/is-core-module/index.js b/node_modules/@nolyfill/is-core-module/index.js new file mode 100644 index 0000000000..24cbbc5375 --- /dev/null +++ b/node_modules/@nolyfill/is-core-module/index.js @@ -0,0 +1 @@ +"use strict";const e=require("module"),s=new Set(["assert/strict","node:assert/strict","diagnostics_channel","node:diagnostics_channel","dns/promises","node:dns/promises","fs/promises","node:fs/promises","inspector/promises","node:inspector/promises","path/posix","node:path/posix","path/win32","node:path/win32","readline/promises","node:readline/promises","node:sea","stream/consumers","node:stream/consumers","stream/promises","node:stream/promises","stream/web","node:stream/web","node:test/reporters","test/mock_loader","node:test/mock_loader","node:test","timers/promises","node:timers/promises","util/types","node:util/types","wasi","node:wasi"].concat(e.builtinModules,e.builtinModules.map(e=>"node:"+e)));module.exports=(e,o)=>s.has(e); \ No newline at end of file diff --git a/node_modules/@nolyfill/is-core-module/package.json b/node_modules/@nolyfill/is-core-module/package.json new file mode 100644 index 0000000000..20f492c6ab --- /dev/null +++ b/node_modules/@nolyfill/is-core-module/package.json @@ -0,0 +1,35 @@ +{ + "name": "@nolyfill/is-core-module", + "version": "1.0.39", + "repository": { + "type": "git", + "url": "https://github.com/SukkaW/nolyfill", + "directory": "packages/manual/is-core-module" + }, + "main": "./index.js", + "types": "./index.d.ts", + "files": [ + "**/*.js", + "*.d.ts", + "*.js" + ], + "exports": { + ".": "./index.js", + "./index.js": "./index.js", + "./package.json": "./package.json" + }, + "license": "MIT", + "devDependencies": { + "@rollup/plugin-commonjs": "^26.0.1", + "@rollup/plugin-node-resolve": "^15.2.3", + "@rollup/plugin-replace": "^5.0.7", + "ljharb-is-core-module": "npm:is-core-module@^2.15.0", + "resolve-pkg": "^2.0.0" + }, + "engines": { + "node": ">=12.4.0" + }, + "scripts": { + "build": "rollup -c rollup.config.ts --configPlugin swc3" + } +} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js index 2c15d095c2..d5e1e16bf0 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js @@ -82,6 +82,7 @@ exports.default = (0, util_1.createRule)({ errorStringArrayReadonly: "Array type using '{{className}}<{{type}}>' is forbidden. Use '{{readonlyPrefix}}{{type}}' instead.", errorStringArraySimple: "Array type using '{{className}}<{{type}}>' is forbidden for simple types. Use '{{readonlyPrefix}}{{type}}[]' instead.", errorStringGenericSimple: "Array type using '{{readonlyPrefix}}{{type}}[]' is forbidden for non-simple types. Use '{{className}}<{{type}}>' instead.", + errorStringArraySimpleReadonly: "Array type using '{{className}}<{{type}}>' is forbidden for simple types. Use '{{readonlyPrefix}}{{type}}' instead.", }, schema: [ { @@ -179,7 +180,9 @@ exports.default = (0, util_1.createRule)({ ? isReadonlyWithGenericArrayType ? 'errorStringArrayReadonly' : 'errorStringArray' - : 'errorStringArraySimple'; + : isReadonlyArrayType && node.typeName.name !== 'ReadonlyArray' + ? 'errorStringArraySimpleReadonly' + : 'errorStringArraySimple'; if (!typeParams || typeParams.length === 0) { // Create an 'any' array context.report({ diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map index 645f45f1a7..9c0267ef6a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map @@ -1 +1 @@ -{"version":3,"file":"array-type.js","sourceRoot":"","sources":["../../src/rules/array-type.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAsD;AAEtD;;;GAGG;AACH,SAAS,YAAY,CAAC,IAAmB;IACvC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,aAAa,CAAC;QAClC,KAAK,sBAAc,CAAC,WAAW,CAAC;QAChC,KAAK,sBAAc,CAAC,kBAAkB,CAAC;QACvC,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,IAAI,CAAC;QACd,KAAK,sBAAc,CAAC,eAAe;YACjC,IACE,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;gBAChD,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO,EAC9B,CAAC;gBACD,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CA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AAC;oBACb,IAAI;oBACJ,SAAS;oBACT,IAAI,EAAE;wBACJ,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO;wBAC7D,cAAc;wBACd,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;qBAC3B;oBACD,GAAG,CAAC,KAAK;wBACP,OAAO;4BACL,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC;4BAC7D,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;yBAC5D,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"array-type.js","sourceRoot":"","sources":["../../src/rules/array-type.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAsD;AAEtD;;;GAGG;AACH,SAAS,YAAY,CAAC,IAAmB;IACvC,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,KAAK,sBAAc,CAAC,UAAU,CAAC;QAC/B,KAAK,sBAAc,CAAC,YAAY,CAAC;QACjC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,gBAAgB,CAAC;QACrC,KAAK,sBAAc,CAAC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int-plugin/dist/rules/consistent-generic-constructors.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js index 997ccd56c6..4fe741c2b3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js @@ -73,7 +73,7 @@ exports.default = (0, util_1.createRule)({ } return [ fixer.remove(typeArguments), - fixer.insertTextAfter(getIDToAttachAnnotation(), ': ' + typeAnnotation), + fixer.insertTextAfter(getIDToAttachAnnotation(), `: ${typeAnnotation}`), ]; }, }); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map index f4674e4d35..1c2de3df2a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map @@ -1 +1 @@ -{"version":3,"file":"consistent-generic-constructors.js","sourceRoot":"","sources":["../../src/rules/consistent-generic-constructors.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAoE;AAKpE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,wGAAwG;YAC1G,WAAW,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE;YACR,oBAAoB,EAClB,gFAAgF;YAClF,iBAAiB,EACf,2FAA2F;SAC9F;QACD,OAAO,EAAE,MAAM;QACf,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,iBAAiB,EAAE,aAAa,CAAC;aACzC;SACF;KACF;IACD,cAAc,EAAE,CAAC,aAAa,CAAC;IAC/B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,C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C,UAAU;yBACf,iBAAiB,CAAC,GAAG,CAAC,aAAa,CAAC;yBACpC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;oBACzC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,mBAAmB;wBAC9B,CAAC,GAAG,CAAC,KAAK;4BACR,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;4BAC/B,KAAK,MAAM,OAAO,IAAI,aAAa,EAAE,CAAC;gCACpC,MAAM,KAAK,CAAC,eAAe,CACzB,GAAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CACpC,CAAC;4BACJ,CAAC;4BACD,MAAM,KAAK,CAAC,eAAe,CACzB,GAAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAC9C,CAAC;4BACF,IAAI,CAAC,SAAS,EAAE,CAAC;gCACf,MAAM,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;4BAChD,CAAC;wBACH,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"consistent-generic-constructors.js","sourceRoot":"","sources":["../../src/rules/consistent-generic-constructors.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAoE;AAKpE,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,iCAAiC;IACvC,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,wGAAwG;YAC1G,WAAW,EAAE,WAAW;SACzB;QACD,QAAQ,EAAE;YACR,oBAAoB,EAClB,gFAAgF;YAClF,iBAAiB,EACf,2FAA2F;SA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CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,KAAK,KAAK,GAAG,CAAC;oBAC9D,MAAM,aAAa,GAAG,IAAI,GAAG,CAC3B,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,CACjD,CAAC;oBACF,OAAO,CAAC,UAAU;yBACf,iBAAiB,CAAC,GAAG,CAAC,aAAa,CAAC;yBACpC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;oBACzC,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,mBAAmB;wBAC9B,CAAC,GAAG,CAAC,KAAK;4BACR,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;4BAC/B,KAAK,MAAM,OAAO,IAAI,aAAa,EAAE,CAAC;gCACpC,MAAM,KAAK,CAAC,eAAe,CACzB,GAAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CACpC,CAAC;4BACJ,CAAC;4BACD,MAAM,KAAK,CAAC,eAAe,CACzB,GAAG,CAAC,MAAM,EACV,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAC9C,CAAC;4BACF,IAAI,CAAC,SAAS,EAAE,CAAC;gCACf,MAAM,KAAK,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;4BAChD,CAAC;wBACH,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js index 7dec52e756..632b09de01 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js @@ -97,7 +97,7 @@ function getEnumKeyForLiteral(enumLiterals, literal) { case ts.SyntaxKind.Identifier: return `${enumName}.${memberNameIdentifier.text}`; case ts.SyntaxKind.StringLiteral: { - const memberName = memberNameIdentifier.text.replace(/'/g, "\\'"); + const memberName = memberNameIdentifier.text.replaceAll("'", "\\'"); return `${enumName}['${memberName}']`; } case ts.SyntaxKind.ComputedPropertyName: diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map index c96d88f301..726984ccaf 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/enum-utils/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/enum-utils/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,0CAMC;AAWD,oCAKC;AAgBD,oDAkCC;AA1GD,sDAAwC;AACxC,+CAAiC;AAEjC,qCAA2C;AAE3C;;;;;;;GAOG;AACH,SAAS,eAAe,CAAC,WAA2B,EAAE,IAAa;IACjE,oEAAoE;IACpE,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAG,CAAC;IACjC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,WAAW,CAAC,iBAAiB,CACjC,MAAM,CAAC,gBAAkC,CAAC,MAAM,CAClD,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,MAAM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,oBAAoB,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC;gBAErE;oBACE,MAAM;YACV,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/enum-utils/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,0CAMC;AAWD,oCAKC;AAgBD,oDAkCC;AA1GD,sDAAwC;AACxC,+CAAiC;AAEjC,qCAA2C;AAE3C;;;;;;;GAOG;AACH,SAAS,eAAe,CAAC,WAA2B,EAAE,IAAa;IACjE,oEAAoE;IACpE,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAG,CAAC;IACjC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;QAChE,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,WAAW,CAAC,iBAAiB,CACjC,MAAM,CAAC,gBAAkC,CAAC,MAAM,CAClD,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,eAAe,CAAC,IAAa;IAC3C,OAAO,OAAO;SACX,cAAc,CAAC,IAAI,CAAC;SACpB,MAAM,CAAC,CAAC,OAAO,EAA6B,EAAE,CAC7C,IAAA,oBAAa,EAAC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,CACjD,CAAC;AACN,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,YAAY,CAC1B,WAA2B,EAC3B,IAAa;IAEb,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAClC,YAA8B,EAC9B,OAAgB;IAEhB,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,IAAI,WAAW,CAAC,KAAK,KAAK,OAAO,EAAE,CAAC;YAClC,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;YAE/B,MAAM,iBAAiB,GAAG,MAAM,CAAC,gBAAiC,CAAC;YACnE,MAAM,eAAe,GAAG,iBAAiB,CAAC,MAAM,CAAC;YAEjD,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,IAAI,CAAC;YACpD,MAAM,QAAQ,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;YAE3C,QAAQ,oBAAoB,CAAC,IAAI,EAAE,CAAC;gBAClC,KAAK,EAAE,CAAC,UAAU,CAAC,UAAU;oBAC3B,OAAO,GAAG,QAAQ,IAAI,oBAAoB,CAAC,IAAI,EAAE,CAAC;gBAEpD,KAAK,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;oBACjC,MAAM,UAAU,GAAG,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;oBAEpE,OAAO,GAAG,QAAQ,KAAK,UAAU,IAAI,CAAC;gBACxC,CAAC;gBAED,KAAK,EAAE,CAAC,UAAU,CAAC,oBAAoB;oBACrC,OAAO,GAAG,QAAQ,IAAI,oBAAoB,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC;gBAErE;oBACE,MAAM;YACV,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js index 858d5f7f34..e57ae80452 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js @@ -18,7 +18,7 @@ exports.default = (0, util_1.createRule)({ }, defaultOptions: ['always'], create(context, [mode]) { - // Make a custom context to adjust the the loc of reports where the base + // Make a custom context to adjust the loc of reports where the base // rule's behavior is a bit too aggressive with TS-specific syntax (namely, // type annotations). function getBaseContextOverride() { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map index 751615d465..a9723241e3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map @@ -1 +1 @@ -{"version":3,"file":"init-declarations.js","sourceRoot":"","sources":["../../src/rules/init-declarations.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAM1D,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,mBAAmB,CAAC,CAAC;AAKxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,eAAe,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM;QAC5B,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;KACjC;IACD,cAAc,EAAE,CAAC,QAAQ,CAAC;IAC1B,MAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC;QACpB,wEAAwE;QACxE,2EAA2E;QAC3E,qBAAqB;QACrB,SAAS,sBAAsB;YAC7B,MAAM,cAAc,GAA0B,UAAU,CAAC,EAAE;gBACzD,IAAI,MAAM,IAAI,UAAU,IAAI,UAAU,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;oBACnD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,UAAU,CAAC;oBACrC,gEAAgE;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,IAAI,CAAC,MAAM,CAAC;YAEtD,OAAO,QAAQ,EAAE,CAAC;gBAChB,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;oBACpD,QAAQ,CAAC,OAAO,EAChB,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;gBAED,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC7B,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH;;;GAGG;AACH,SAAS,YAAY,CACnB,IAAiC;IAEjC,MAAM,KAAK,GAAsB,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACjE,MAAM,GAAG,GAAsB;QAC7B,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI;QACzB,kEAAkE;QAClE,sEAAsE;QACtE,6DAA6D;QAC7D,MAAM,EACJ,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,GAAI,IAAI,CAAC,EAA0B,CAAC,IAAI,CAAC,MAAM;KACvE,CAAC;IAEF,OAAO;QACL,KAAK;QACL,GAAG;KACJ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"init-declarations.js","sourceRoot":"","sources":["../../src/rules/init-declarations.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAM1D,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,mBAAmB,CAAC,CAAC;AAKxD,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,eAAe,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM;QAC5B,QAAQ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AAsB,EAAE,CAAC,CAAC;QAExD,OAAO;YACL,0BAA0B,CAAC,IAAkC;gBAC3D,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;oBACtB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;wBACjB,OAAO;oBACT,CAAC;oBACD,IAAI,2BAA2B,CAAC,IAAI,CAAC,EAAE,CAAC;wBACtC,OAAO;oBACT,CAAC;gBACH,CAAC;gBAED,KAAK,CAAC,0BAA0B,CAAC,CAAC,IAAI,CAAC,CAAC;YAC1C,CAAC;SACF,CAAC;QAEF,SAAS,2BAA2B,CAClC,IAAkC;YAElC,IAAI,QAAQ,GAA8B,IAAI,CAAC,MAAM,CAAC;YAEtD,OAAO,QAAQ,EAAE,CAAC;gBAChB,IACE,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB;oBACpD,QAAQ,CAAC,OAAO,EAChB,CAAC;oBACD,OAAO,IAAI,CAAC;gBACd,CAAC;gBAED,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC7B,CAAC;YAED,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;CACF,CAAC,CAAC;AAEH;;;GAGG;AACH,SAAS,YAAY,CACnB,IAAiC;IAEjC,MAAM,KAAK,GAAsB,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACjE,MAAM,GAAG,GAAsB;QAC7B,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI;QACzB,kEAAkE;QAClE,sEAAsE;QACtE,6DAA6D;QAC7D,MAAM,EACJ,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,GAAI,IAAI,CAAC,EAA0B,CAAC,IAAI,CAAC,MAAM;KACvE,CAAC;IAEF,OAAO;QACL,KAAK;QACL,GAAG;KACJ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js index ecee2ccac8..0d837e82d4 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js @@ -506,7 +506,7 @@ function getLowestRank(ranks, target, order) { }); const lowestRank = order[lowest]; const lowestRanks = Array.isArray(lowestRank) ? lowestRank : [lowestRank]; - return lowestRanks.map(rank => rank.replace(/-/g, ' ')).join(', '); + return lowestRanks.map(rank => rank.replaceAll('-', ' ')).join(', '); } exports.default = (0, util_1.createRule)({ name: 'member-ordering', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map index ab571ab932..4f6439cc59 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map @@ -1 +1 @@ -{"version":3,"file":"member-ordering.js","sourceRoot":"","sources":["../../src/rules/member-ordering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,sDAAsD;;;;;;AAGtD,oDAA0D;AAC1D,sEAA6C;AAE7C,kCAKiB;AAgFjB,MAAM,WAAW,GAA2B;IAC1C,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,WAAmB,EAA0B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,WAAW;aAClB;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACL,IAAI,EAAE,WAAW;iBAClB;aACF;SACF;KACF;CACF,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,WAAmB,EAA0B,EAAE,CAAC,CAAC;IACrE,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,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AC;QAED,qEAAqE;QACrE,6DAA6D;QAC7D,OAAO;YACL,uCAAuC,CAAC,IAAI;gBAC1C,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;oBACzB,MAAM;gBACR,CAAC;YACH,CAAC;YACD,gBAAgB,CAAC,IAAI;gBACnB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAQ,EACnC,IAAI,CACL,CAAC;YACJ,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,OAAQ,EAC5C,IAAI,CACL,CAAC;YACJ,CAAC;YACD,sBAAsB,CAAC,IAAI;gBACzB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,OAAQ,EACtC,KAAK,CACN,CAAC;YACJ,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,oBAAoB,CAClB,IAAI,CAAC,OAAO,EACZ,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,OAAQ,EACxC,KAAK,CACN,CAAC;YACJ,CAAC;SACF,CAAC;QACF,4DAA4D;IAC9D,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"member-ordering.js","sourceRoot":"","sources":["../../src/rules/member-ordering.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,sDAAsD;;;;;;AAGtD,oDAA0D;AAC1D,sEAA6C;AAE7C,kCAKiB;AAgFjB,MAAM,WAAW,GAA2B;IAC1C,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,CAAC,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,WAAmB,EAA0B,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,I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O;gBACT,CAAC;gBACD,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC;gBAC1C,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;YACzC,CAAC;iBAAM,CAAC;gBACN,UAAU,CAAC,OAAO,CAAC,CAAC;YACtB,CAAC;QACH,CAAC;QAED,qEAAqE;QACrE,6DAA6D;QAC7D,OAAO;YACL,uCAAuC,CAAC,IAAI;gBAC1C,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;oBACzB,MAAM;gBACR,CAAC;YACH,CAAC;YACD,gBAAgB,CAAC,IAAI;gBACnB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAQ,EACnC,IAAI,CACL,CAAC;YACJ,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,OAAQ,EAC5C,IAAI,CACL,CAAC;YACJ,CAAC;YACD,sBAAsB,CAAC,IAAI;gBACzB,oBAAoB,CAClB,IAAI,CAAC,IAAI,CAAC,IAAI,EACd,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,OAAQ,EACtC,KAAK,CACN,CAAC;YACJ,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,oBAAoB,CAClB,IAAI,CAAC,OAAO,EACZ,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,OAAQ,EACxC,KAAK,CACN,CAAC;YACJ,CAAC;SACF,CAAC;QACF,4DAA4D;IAC9D,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js index 3e7bd69269..cee7f2d1f2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js @@ -5,7 +5,7 @@ exports.isMetaSelector = isMetaSelector; exports.isMethodOrPropertySelector = isMethodOrPropertySelector; const enums_1 = require("./enums"); function selectorTypeToMessageString(selectorType) { - const notCamelCase = selectorType.replace(/([A-Z])/g, ' $1'); + const notCamelCase = selectorType.replaceAll(/([A-Z])/g, ' $1'); return notCamelCase.charAt(0).toUpperCase() + notCamelCase.slice(1); } function isMetaSelector(selector) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map index c642a50403..0ced1e9a58 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/shared.ts"],"names":[],"mappings":";;AA4BE,kEAA2B;AAC3B,wCAAc;AACd,gEAA0B;AAxB5B,mCAAwC;AAExC,SAAS,2BAA2B,CAAC,YAA6B;IAChE,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAC7D,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC;AAED,SAAS,cAAc,CACrB,QAAsE;IAEtE,OAAO,QAAQ,IAAI,qBAAa,CAAC;AACnC,CAAC;AAED,SAAS,0BAA0B,CACjC,QAAsE;IAEtE,OAAO,CACL,QAAQ,KAAK,qBAAa,CAAC,MAAM,IAAI,QAAQ,KAAK,qBAAa,CAAC,QAAQ,CACzE,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/rules/naming-convention-utils/shared.ts"],"names":[],"mappings":";;AA4BE,kEAA2B;AAC3B,wCAAc;AACd,gEAA0B;AAxB5B,mCAAwC;AAExC,SAAS,2BAA2B,CAAC,YAA6B;IAChE,MAAM,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IAChE,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACtE,CAAC;AAED,SAAS,cAAc,CACrB,QAAsE;IAEtE,OAAO,QAAQ,IAAI,qBAAa,CAAC;AACnC,CAAC;AAED,SAAS,0BAA0B,CACjC,QAAsE;IAEtE,OAAO,CACL,QAAQ,KAAK,qBAAa,CAAC,MAAM,IAAI,QAAQ,KAAK,qBAAa,CAAC,QAAQ,CACzE,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js index c5e0a1f6d7..6b2370c5f2 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js @@ -48,8 +48,8 @@ exports.default = (0, util_1.createRule)({ floatingFixAwait: 'Add await operator.', floatingVoid: messageBaseVoid, floatingFixVoid: 'Add void operator to ignore.', - floatingUselessRejectionHandler: messageBase + ' ' + messageRejectionHandler, - floatingUselessRejectionHandlerVoid: messageBaseVoid + ' ' + messageRejectionHandler, + floatingUselessRejectionHandler: `${messageBase} ${messageRejectionHandler}`, + floatingUselessRejectionHandlerVoid: `${messageBaseVoid} ${messageRejectionHandler}`, floatingPromiseArray: messagePromiseArray, floatingPromiseArrayVoid: messagePromiseArrayVoid, }, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map index 463e537c76..bc9b1f3cdd 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map @@ -1 +1 @@ -{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAGjC,kCASiB;AAsBjB,MAAM,WAAW,GACf,4GAA4G,CAAC;AAE/G,MAAM,eAAe,GACnB,wGAAwG;IACxG,+DAA+D,CAAC;AAElE,MAAM,uBAAuB,GAC3B,6DAA6D,CAAC;AAEhE,MAAM,mBAAmB,GACvB,kIAAkI,CAAC;AAErI,MAAM,uBAAuB,GAC3B,kIAAkI;IAClI,4EAA4E,CAAC;AAE/E,kBAAe,IAAA,iBAAU,EAAqB;IAC5C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,6DAA6D;YAC/D,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,QAAQ,EAAE,WAAW;YACrB,gBAAgB,EAAE,qBAAqB;YACvC,YAAY,EAAE,eAAe;YAC7B,eAAe,EAAE,8BAA8B;YAC/C,+BAA+B,EAC7B,WAAW,GAAG,GAAG,GAAG,uBAAuB;YAC7C,mCAAmC,EACjC,eAAe,GAAG,GAAG,GAAG,uBAAuB;YACjD,oBAAoB,EAAE,mBAAmB;YACzC,wBAAwB,EAAE,uBAAuB;SAClD;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,yBAAyB,EAAE,gCAAyB,CAAC,UA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,CACvC,UAAmC;IAEnC,IACE,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC1D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,OAAO;QAC3C,UAAU,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,EAChC,CAAC;QACD,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACjC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,+BAA+B,CACtC,UAAmC;IAEnC,IACE,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC1D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM;QAC1C,UAAU,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,EAChC,CAAC;QACD,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACjC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,wBAAwB,CAC/B,UAAmC;IAEnC,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC/D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;QAC7C,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM;QAC1B,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"} \ No newline at end of file +{"version":3,"file":"no-floating-promises.js","sourceRoot":"","sources":["../../src/rules/no-floating-promises.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;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AAC,CAAC;IACjC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,+BAA+B,CACtC,UAAmC;IAEnC,IACE,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC1D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,MAAM;QAC1C,UAAU,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,EAChC,CAAC;QACD,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;IACjC,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,wBAAwB,CAC/B,UAAmC;IAEnC,OAAO,UAAU,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;QAC/D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QAC7D,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS;QAC7C,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM;QAC1B,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js index fcc74aaad2..faf6863c4f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js @@ -79,9 +79,9 @@ exports.default = (0, util_1.createRule)({ if (Array.isArray(allowInGenericTypeArguments)) { const fullyQualifiedName = context.sourceCode .getText(node.parent.parent.typeName) - .replace(/ /gu, ''); + .replaceAll(' ', ''); if (!allowInGenericTypeArguments - .map(s => s.replace(/ /gu, '')) + .map(s => s.replaceAll(' ', '')) .includes(fullyQualifiedName)) { context.report({ messageId: 'invalidVoidForGeneric', diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map index ad14a817d2..a1569264b3 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map @@ -1 +1 @@ -{"version":3,"file":"no-invalid-void-type.js","sourceRoot":"","sources":["../../src/rules/no-invalid-void-type.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAqC;AAerC,kBAAe,IAAA,iBAAU,EAAwB;IAC/C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,yDAAyD;YACtE,WAAW,EAAE,QAAQ;SACtB;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,qDAAqD;YACvD,6BAA6B,EAC3B,+DAA+D;YACjE,oBAAoB,EAAE,sCAAsC;YAC5D,+BAA+B,EAC7B,gEAAgE;YAClE,wCAAwC,EACtC,iGAAiG;YACnG,2BAA2B,EACzB,oDAAoD;SACvD;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,2BAA2B,EAAE;wBAC3B,KAAK,EAAE;4BACL,EAAE,IAAI,EAAE,SAAS,EAAE;4BACnB;gCACE,IAAI,EAAE,OAAO;gCACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gCACzB,QAAQ,EAAE,CAAC;6BACZ;yBACF;qBACF;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF;IACD,cAAc,EAAE;QACd,EAAE,2BAA2B,EAAE,IAAI,E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AAC,CAAC,2BAA2B;4BAC3B,CAAC,CAAC,8BAA8B,CAAC,IAAI,CAAC;4BACtC,CAAC,CAAC,oBAAoB;gCACpB,CAAC,CAAC,iCAAiC;gCACnC,CAAC,CAAC,sBAAsB;oBAChC,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,8BAA8B,CACrC,IAA4B;IAE5B,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW;QACpD,CAAC,CAAC,6BAA6B;QAC/B,CAAC,CAAC,+BAA+B,CAAC;AACtC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-invalid-void-type.js","sourceRoot":"","sources":["../../src/rules/no-invalid-void-type.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAqC;AAerC,kBAAe,IAAA,iBAAU,EAAwB;IAC/C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EAAE,yDAAyD;YACtE,WAAW,EAAE,QAAQ;SACtB;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,qDAAqD;YACvD,6BAA6B,EAC3B,+DAA+D;YACjE,oBAAoB,EAAE,sCAAsC;YAC5D,+BAA+B,EAC7B,gEAAgE;YAClE,wCAAwC,EACtC,iGAAiG;YACnG,2BAA2B,EACzB,oDAAoD;SACvD;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,2BAA2B,EAAE;wBAC3B,KAAK,EAAE;4BACL,EAAE,IAAI,EAAE,SAAS,EAAE;4BACnB;gCACE,IAAI,EAAE,OAAO;gCACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gCACzB,QAAQ,EAAE,CAAC;6BACZ;yBACF;qBACF;oBACD,oBAAoB,EAAE;wBACpB,IAAI,EAAE,SAAS;qBAChB;iB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,CAAC,MAAM,CAAC;oBACb,SAAS,EACP,2BAA2B,IAAI,oBAAoB;wBACjD,CAAC,CAAC,0CAA0C;wBAC5C,CAAC,CAAC,2BAA2B;4BAC3B,CAAC,CAAC,8BAA8B,CAAC,IAAI,CAAC;4BACtC,CAAC,CAAC,oBAAoB;gCACpB,CAAC,CAAC,iCAAiC;gCACnC,CAAC,CAAC,sBAAsB;oBAChC,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,8BAA8B,CACrC,IAA4B;IAE5B,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,WAAW;QACpD,CAAC,CAAC,6BAA6B;QAC/B,CAAC,CAAC,+BAA+B,CAAC;AACtC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js index d10ab7eed9..94fa56a156 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js @@ -88,6 +88,9 @@ function describeLiteralType(type) { // eslint-disable-next-line @typescript-eslint/no-base-to-string return type.value.toString(); } + if (tsutils.isIntrinsicErrorType(type) && type.aliasSymbol) { + return type.aliasSymbol.escapedName.toString(); + } if ((0, util_1.isTypeAnyType)(type)) { return 'any'; } @@ -170,6 +173,7 @@ exports.default = (0, util_1.createRule)({ primitiveOverridden: `{{primitive}} is overridden by the {{literal}} in this intersection type.`, overridden: `'{{typeName}}' is overridden by other types in this {{container}} type.`, overrides: `'{{typeName}}' overrides all other types in this {{container}} type.`, + errorTypeOverrides: `'{{typeName}}' is an 'error' type that acts as 'any' and overrides all other types in this {{container}} type.`, }, schema: [], type: 'suggestion', @@ -234,7 +238,9 @@ exports.default = (0, util_1.createRule)({ container: 'intersection', typeName, }, - messageId, + messageId: typeFlags === ts.TypeFlags.Any && typeName !== 'any' + ? 'errorTypeOverrides' + : messageId, node: typeNode, }); return true; @@ -335,7 +341,9 @@ exports.default = (0, util_1.createRule)({ container: 'union', typeName, }, - messageId: 'overrides', + messageId: typeFlags === ts.TypeFlags.Any && typeName !== 'any' + ? 'errorTypeOverrides' + : 'overrides', node: typeNode, }); return true; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map index 7a180d0b08..14b953488c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map @@ -1 +1 @@ -{"version":3,"file":"no-redundant-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-redundant-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AAEjB,MAAM,2BAA2B,GAAG;IAClC,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO;IACnD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;CAC3C,CAAC;AAEX,MAAM,gBAAgB,GAAG;IACvB,EAAE,CAAC,SAAS,CAAC,aAAa;IAC1B,EAAE,CAAC,SA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,QAAQ,EAAE,iBAAiB,CAAC,IAAI,mBAAmB,EAAE,CAAC;oBAChE,MAAM,OAAO,GAAG,IAAA,wBAAiB,EAC/B,iBAAiB,EACjB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAC/B,CAAC;oBAEF,KAAK,MAAM,CAAC,iBAAiB,EAAE,KAAK,CAAC,IAAI,OAAO,EAAE,CAAC;wBACjD,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE;gCACJ,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;gCACzD,SAAS,EAAE,sBAAsB,CAAC,iBAAiB,CAAC;6BACrD;4BACD,SAAS,EAAE,mBAAmB;4BAC9B,IAAI,EAAE,QAAQ;yBACf,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-redundant-type-constituents.js","sourceRoot":"","sources":["../../src/rules/no-redundant-type-constituents.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAoE;AACpE,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AAEjB,MAAM,2BAA2B,GAAG;IAClC,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO;IACnD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,MAAM;IACjD,CAAC,EAAE,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE,EAA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/no-restricted-types.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js index 6bda5fd258..bb4c0dbd58 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const util_1 = require("../util"); function removeSpaces(str) { - return str.replace(/\s/g, ''); + return str.replaceAll(/\s/g, ''); } function stringifyNode(node, sourceCode) { return removeSpaces(sourceCode.getText(node)); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js.map index 2e2f7dc873..182f214604 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-types.js.map @@ -1 +1 @@ -{"version":3,"file":"no-restricted-types.js","sourceRoot":"","sources":["../../src/rules/no-restricted-types.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAsD;AAuBtD,SAAS,YAAY,CAAC,GAAW;IAC/B,OAAO,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAChC,CAAC;AAED,SAAS,aAAa,CACpB,IAAmB,EACnB,UAA+B;IAE/B,OAAO,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAChD,CAAC;AAED,SAAS,gBAAgB,CACvB,UAAyE;IAEzE,IAAI,CAAC,UAAU,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACvC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;QACnC,OAAO,IAAI,UAAU,EAAE,CAAC;IAC1B,CAAC;IAED,IAAI,UAAU,CAAC,OAAO,EAAE,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AAI;gBACd,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC;oBAC9B,gBAAgB,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBACzB,gBAAgB,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAEhC,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;oBACvB,gBAAgB,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-restricted-types.js","sourceRoot":"","sources":["../../src/rules/no-restricted-types.ts"],"names":[],"mappings":";;AACA,oDAA0D;AAE1D,kCAAsD;AAuBtD,SAAS,YAAY,CAAC,GAAW;IAC/B,OAAO,GAAG,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,aAAa,CACpB,IAAmB,EACnB,UAA+B;IAE/B,OAAO,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAChD,CAAC;AAED,SAAS,gBAAgB,CACvB,UAAyE;IAEzE,IAAI,CAAC,UAAU,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;QACvC,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE,CAAC;QACnC,OAAO,IAAI,UAAU,EAAE,CAAC;IAC1B,CAAC;IAED,IAAI,UAAU,CAAC,OAAO,EAAE,CAAC;QACvB,OAAO,IAAI,UAAU,CAAC,OAAO,EAAE,CAAC;IAClC,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,MA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ACzB,CAAC;YACH,CAAC;YACD,aAAa,CAAC,IAAI;gBAChB,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBACzB,gBAAgB,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;gBAEhC,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;oBACvB,gBAAgB,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js index 270e2dffa8..66b61c2634 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js @@ -31,7 +31,7 @@ const evenNumOfBackslashesRegExp = /(? \\\` // \${ -> \${ // \\${ -> \\\${ - .replace(new RegExp(String(evenNumOfBackslashesRegExp.source) + '(`|\\${)', 'g'), '\\$1'); + .replaceAll(new RegExp(`${String(evenNumOfBackslashesRegExp.source)}(\`|\\\${)`, 'g'), '\\$1'); // `...${'...$'}{...` // ^^^^ if (nextCharacterIsOpeningCurlyBrace && diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map index df4349f652..0bf4d81c4a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-template-expression.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-template-expression.js","sourceRoot":"","sources":["../../src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a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js index 59c44bde8a..e3e723184a 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js @@ -76,25 +76,52 @@ exports.default = (0, util_1.createRule)({ tsutils.isStrictCompilerOptionEnabled(compilerOptions, 'strictNullChecks') && // ignore class properties as they are compile time guarded // also ignore function arguments as they can't be used before defined - ts.isVariableDeclaration(declaration) && + ts.isVariableDeclaration(declaration)) { + // For var declarations, we need to check whether the node + // is actually in a descendant of its declaration or not. If not, + // it may be used before defined. + // eg + // if (Math.random() < 0.5) { + // var x: number = 2; + // } else { + // x!.toFixed(); + // } + if (ts.isVariableDeclarationList(declaration.parent) && + // var + declaration.parent.flags === ts.NodeFlags.None && + // If they are not in the same file it will not exist. + // This situation must not occur using before defined. + services.tsNodeToESTreeNodeMap.has(declaration)) { + const declaratorNode = services.tsNodeToESTreeNodeMap.get(declaration); + const scope = context.sourceCode.getScope(node); + const declaratorScope = context.sourceCode.getScope(declaratorNode); + let parentScope = declaratorScope; + while ((parentScope = parentScope.upper)) { + if (parentScope === scope) { + return true; + } + } + } + if ( // is it `const x!: number` declaration.initializer === undefined && - declaration.exclamationToken === undefined && - declaration.type !== undefined) { - // check if the defined variable type has changed since assignment - const declarationType = checker.getTypeFromTypeNode(declaration.type); - const type = (0, util_1.getConstrainedTypeAtLocation)(services, node); - if (declarationType === type && - // `declare`s are never narrowed, so never skip them - !(ts.isVariableDeclarationList(declaration.parent) && - ts.isVariableStatement(declaration.parent.parent) && - tsutils.includesModifier((0, util_1.getModifiers)(declaration.parent.parent), ts.SyntaxKind.DeclareKeyword))) { - // possibly used before assigned, so just skip it - // better to false negative and skip it, than false positive and fix to compile erroring code - // - // no better way to figure this out right now - // https://github.com/Microsoft/TypeScript/issues/31124 - return true; + declaration.exclamationToken === undefined && + declaration.type !== undefined) { + // check if the defined variable type has changed since assignment + const declarationType = checker.getTypeFromTypeNode(declaration.type); + const type = (0, util_1.getConstrainedTypeAtLocation)(services, node); + if (declarationType === type && + // `declare`s are never narrowed, so never skip them + !(ts.isVariableDeclarationList(declaration.parent) && + ts.isVariableStatement(declaration.parent.parent) && + tsutils.includesModifier((0, util_1.getModifiers)(declaration.parent.parent), ts.SyntaxKind.DeclareKeyword))) { + // possibly used before assigned, so just skip it + // better to false negative and skip it, than false positive and fix to compile erroring code + // + // no better way to figure this out right now + // https://github.com/Microsoft/TypeScript/issues/31124 + return true; + } } } return false; diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map index dd54b3e1a0..d7c291f3f8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-assertion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA2E;AAC3E,sDAAwC;AACxC,+CAAiC;AAEjC,kCAWiB;AASjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,uEAAuE;YACzE,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,oBAAoB,EAClB,oFAAoF;YACtF,uBAAuB,EACrB,+FAA+F;SAClG;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,K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AAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;oCACzC,KAAK,CAAC,KAAK,KAAK,GAAG,CACtB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;gCAEF,2BAA2B;gCAC3B,iBAAiB;gCACjB,OAAO,KAAK,CAAC,WAAW,CAAC;oCACvB,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;oCAC5B,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;iCAC7B,CAAC,CAAC;4BACL,CAAC;4BACD,2CAA2C;4BAC3C,MAAM,OAAO,GAAG,IAAA,iBAAU,EACxB,OAAO,CAAC,UAAU,CAAC,aAAa,CAC9B,IAAI,CAAC,UAAU,EACf,KAAK,CAAC,EAAE,CACN,KAAK,CAAC,IAAI,KAAK,uBAAe,CAAC,UAAU;gCACzC,KAAK,CAAC,KAAK,KAAK,IAAI,CACvB,EACD,wBAAiB,CAAC,YAAY,CAAC,GAAG,EAAE,iBAAiB,CAAC,CACvD,CAAC;4BACF,MAAM,aAAa,GAAG,IAAA,iBAAU,EAC9B,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,EAAE;gCACzC,eAAe,EAAE,IAAI;6BACtB,CAAC,EACF,wBAAiB,CAAC,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAChD,CAAC;4BAEF,wBAAwB;4BACxB,wBAAwB;4BACxB,OAAO,KAAK,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBACpE,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC;gBAED,qDAAqD;YACvD,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-assertion.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-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,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js index 66bea5015f..056ced9d4f 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js @@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); +const node_path_1 = require("node:path"); const utils_1 = require("@typescript-eslint/utils"); -const path_1 = require("path"); const ts = __importStar(require("typescript")); const util_1 = require("../util"); exports.default = (0, util_1.createRule)({ @@ -52,7 +52,7 @@ exports.default = (0, util_1.createRule)({ [utils_1.AST_NODE_TYPES.TSUnknownKeyword, 'unknown'], ]); function checkRequiresGenericDeclarationDisambiguation(filename) { - const pathExt = (0, path_1.extname)(filename).toLocaleLowerCase(); + const pathExt = (0, node_path_1.extname)(filename).toLocaleLowerCase(); switch (pathExt) { case ts.Extension.Cts: case ts.Extension.Mts: diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map index 0d1d5d9cfc..24dbfb04f9 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-constraint.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-constraint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+BAA+B;AAC/B,+CAAiC;AAGjC,kCAAqC;AAOrC,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI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C;gBACD,6CAA6C;gBAC7C,OAAO,CACJ,IAAI,CAAC,MAA8C,CAAC,MAAM,CAAC,MAAM;oBAChE,CAAC;oBACH,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,GAAG;oBACxD,CAAC,IAAI,CAAC,OAAO,CACd,CAAC;YACJ,CAAC;YAED,IAAI,UAAU,EAAE,CAAC;gBACf,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE;wBACJ,UAAU;wBACV,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;qBACrB;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,6BAA6B;4BACxC,IAAI,EAAE;gCACJ,UAAU;6BACX;4BACD,GAAG,CAAC,KAAK;gCACP,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,sBAAsB,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CACpC,CAAC;4BACJ,CAAC;yBACF;qBACF;oBACD,SAAS,EAAE,uBAAuB;oBAClC,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC;QAEF,OAAO;YACL,0FAA0F,CACxF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACzB,CAAC;YACD,oFAAoF,CAClF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-constraint.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-constraint.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoC;AAGpC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,IAAI,CAAC,eAAe,IAAI,CAAC,wCAAwC,EAAE,CAAC;oBAClE,OAAO,KAAK,CAAC;gBACf,CAAC;gBACD,6CAA6C;gBAC7C,OAAO,CACJ,IAAI,CAAC,MAA8C,CAAC,MAAM,CAAC,MAAM;oBAChE,CAAC;oBACH,OAAO,CAAC,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,GAAG;oBACxD,CAAC,IAAI,CAAC,OAAO,CACd,CAAC;YACJ,CAAC;YAED,IAAI,UAAU,EAAE,CAAC;gBACf,OAAO,CAAC,MAAM,CAAC;oBACb,IAAI,EAAE;wBACJ,UAAU;wBACV,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI;qBACrB;oBACD,OAAO,EAAE;wBACP;4BACE,SAAS,EAAE,6BAA6B;4BACxC,IAAI,EAAE;gCACJ,UAAU;6BACX;4BACD,GAAG,CAAC,KAAK;gCACP,OAAO,KAAK,CAAC,gBAAgB,CAC3B,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,sBAAsB,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CACpC,CAAC;4BACJ,CAAC;yBACF;qBACF;oBACD,SAAS,EAAE,uBAAuB;oBAClC,IAAI;iBACL,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC;QAEF,OAAO;YACL,0FAA0F,CACxF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YACzB,CAAC;YACD,oFAAoF,CAClF,IAAiC;gBAEjC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACxB,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js index e684f0a4df..c7555c8015 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js @@ -246,7 +246,7 @@ function collectTypeParameterUsageCounts(checker, node, foundIdentifierUsages) { if (properties.length === 0) { // TS treats mapped types like `{[k in "a"]: T}` like `{a: T}`. // They have properties, so we need to avoid double-counting. - visitType(type.templateType, false); + visitType(type.templateType ?? type.constraintType, false); } } for (const typeArgument of type.aliasTypeArguments ?? []) { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map index f407a32f38..725e1249f5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-parameters.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unnecessary-type-parameters.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-parameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAGjC,kCAAwD;AAOxD,kBAAe,IAAA,iBAAU,EAAC;IACxB,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,oBAAoB,EAAE,IAAI;YAC1B,WAAW,EAAE,QAAQ;SACtB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,sEAAsE;SAC7E;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,SAAS;KAChB;IACD,IAAI,EAAE,gCAAgC;IACtC,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC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AC,CAAC,IAAI,CAAC,IAAI,CAAC;AACvC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unnecessary-type-parameters.js","sourceRoot":"","sources":["../../src/rules/no-unnecessary-type-parameters.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAGjC,kCAAwD;AAOxD,kBAAe,IAAA,iBAAU,EAAC;IACxB,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,0DAA0D;YACvE,oBAAoB,EAAE,IAAI;YAC1B,WAAW,EAAE,QAAQ;SACtB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,sEAAsE;SAC7E;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,SAAS;KAChB;IACD,IAAI,EAAE,gCAAgC;IACtC,MAAM,CAAC,OAAO;QACZ,MAAM,cAAc,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAElD,SAAS,SAAS,CAAC,IAA2B,EAAE,UAAkB;YAChE,MAAM,MAAM,GAAG,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACrD,IAAI,CACqB,CAAC;YAE5B,MAAM,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YACxD,IAAI,MAA8C,CAAC;YAEnD,KAAK,MAAM,aAAa,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,eAAe,GACnB,cAAc,CAAC,qBAAqB,CAAC,GAAG,CACtC,aAAa,CACd,CAAC;gBACJ,MAAM,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;gBAE3D,uEAAuE;gBACvE,yDAAyD;gBACzD,IACE,4BAA4B,CAC1B,eAAe,EACf,KAAK,CAAC,UAAU,EAChB,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC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,OAAoB,EACpB,kBAA2B;QAE3B,IAAI,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,OAAO;QACT,CAAC;QAED,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAEhC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,SAAS,CAAC,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED,SAAS,cAAc,CACrB,KAAyB,EACzB,kBAA2B;QAE3B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,SAAS,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAQD,SAAS,YAAY,CAAC,IAAa;IACjC,OAAO,eAAe,IAAI,IAAI,CAAC;AACjC,CAAC;AAMD,SAAS,cAAc,CAAC,IAAa;IACnC,OAAO,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;AACvC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js index 4b5628e507..3b05537c04 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js @@ -231,8 +231,8 @@ exports.default = (0, util_1.createRule)({ function createData(senderType, receiverType) { if (receiverType) { return { - sender: '`' + checker.typeToString(senderType) + '`', - receiver: '`' + checker.typeToString(receiverType) + '`', + sender: `\`${checker.typeToString(senderType)}\``, + receiver: `\`${checker.typeToString(receiverType)}\``, }; } return { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map index 73c2bf072a..a283127e4c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-assignment.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-assignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AAGxC,kCAYiB;AAWjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,wEAAwE;YAC1E,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EAAE,2CAA2C;YAC1D,iBAAiB,EAAE;gBACjB,qEAAqE;gBACrE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,kBAAkB,EAChB,0DAA0D;YAC5D,2BAA2B,EACzB,yEAAyE;YAC3E,gBAAgB,EACd,0EAA0E;YAC5E,iBAAiB,EAAE,mDAAmD;SACvE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAClD,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,kBAAkB,EAAE,CAAC;QAC9D,MAAM,gBAAgB,GAAG,OAAO,CAAC,6BAA6B,CAC5D,eAAe,EACf,gBAAgB,CACjB,CAAC;QAEF,0CAA0C;QAC1C,SAAS,2BAA2B,CAClC,YAA2B,EAC3B,UAAyB;YAEzB,IAAI,YAAY,CAAC,IA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AG,IAAA,iBAAU,EACtB,IAAI,CAAC,KAAK,EACV,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CACnD,CAAC;gBACF,IACE,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBACpD,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC3D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,eAAe,CACb,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,oCAEjB,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-assignment.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-assignment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AAGxC,kCAYiB;AAWjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,wEAAwE;YAC1E,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,aAAa,EAAE,2CAA2C;YAC1D,iBAAiB,EAAE;gBACjB,qEAAqE;gBACrE,2HAA2H;aAC5H,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,kBAAkB,EAChB,0DAA0D;YAC5D,2BAA2B,EACzB,yEAAyE;YAC3E,gBAAgB,EACd,0EAA0E;YAC5E,iBAAiB,EAAE,mDAAmD;SACvE;QACD,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,C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C,QAAQ,EAAE,OAAO,CAAC,EAAE,CAAC;oBACrE,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI,EAAE,IAAI;wBACV,SAAS,EAAE,mBAAmB;wBAC9B,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC;qBAC3B,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YACD,6BAA6B,CAAC,IAA2B;gBACvD,MAAM,KAAK,GAAG,IAAA,iBAAU,EACtB,IAAI,CAAC,KAAK,EACV,wBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CACnD,CAAC;gBACF,IACE,KAAK,CAAC,IAAI,KAAK,sBAAc,CAAC,sBAAsB;oBACpD,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB,EAC3D,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,eAAe,CACb,IAAI,CAAC,IAAI,EACT,KAAK,CAAC,UAAU,EAChB,KAAK,CAAC,UAAU,oCAEjB,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js index 77038d1575..02c1e2c39c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js @@ -30,12 +30,22 @@ const shared_1 = require("./enum-utils/shared"); /** * @returns Whether the right type is an unsafe comparison against any left type. */ -function typeViolates(leftTypeParts, right) { - const leftValueKinds = new Set(leftTypeParts.map(getEnumValueType)); - return ((leftValueKinds.has(ts.TypeFlags.Number) && - tsutils.isTypeFlagSet(right, ts.TypeFlags.Number | ts.TypeFlags.NumberLike)) || - (leftValueKinds.has(ts.TypeFlags.String) && - tsutils.isTypeFlagSet(right, ts.TypeFlags.String | ts.TypeFlags.StringLike))); +function typeViolates(leftTypeParts, rightType) { + const leftEnumValueTypes = new Set(leftTypeParts.map(getEnumValueType)); + return ((leftEnumValueTypes.has(ts.TypeFlags.Number) && isNumberLike(rightType)) || + (leftEnumValueTypes.has(ts.TypeFlags.String) && isStringLike(rightType))); +} +function isNumberLike(type) { + const typeParts = tsutils.intersectionTypeParts(type); + return typeParts.some(typePart => { + return tsutils.isTypeFlagSet(typePart, ts.TypeFlags.Number | ts.TypeFlags.NumberLike); + }); +} +function isStringLike(type) { + const typeParts = tsutils.intersectionTypeParts(type); + return typeParts.some(typePart => { + return tsutils.isTypeFlagSet(typePart, ts.TypeFlags.String | ts.TypeFlags.StringLike); + }); } /** * @returns What type a type's enum value is (number or string), if either. @@ -89,6 +99,13 @@ exports.default = (0, util_1.createRule)({ return false; } } + // We need to split the type into the union type parts in order to find + // valid enum comparisons like: + // + // ```ts + // declare const something: Fruit | Vegetable; + // something === Fruit.Apple; + // ``` const leftTypeParts = tsutils.unionTypeParts(leftType); const rightTypeParts = tsutils.unionTypeParts(rightType); // If a type exists in both sides, we consider this comparison safe: diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map index 9d72f33c68..c9b5e93ffe 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-enum-comparison.js.map @@ -1 +1 @@ -{"version":3,"file":"no-unsafe-enum-comparison.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-enum-comparison.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwE;AACxE,gDAI6B;AAE7B;;GAEG;AACH,SAAS,YAAY,CAAC,aAAwB,EAAE,KAAc;IAC5D,MAAM,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AC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,UAAU,CAAC,IAAI;gBACb,0BAA0B;gBAC1B,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;oBACtB,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;gBAExB,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gBACvE,MAAM,SAAS,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAE9D,IAAI,sBAAsB,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;oBAChD,OAAO,CAAC,MAAM,CAAC;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,IAAI;qBACL,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"no-unsafe-enum-comparison.js","sourceRoot":"","sources":["../../src/rules/no-unsafe-enum-comparison.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AACxC,+CAAiC;AAEjC,kCAAwE;AACxE,gDAI6B;AAE7B;;GAEG;AACH,SAAS,YAAY,CAAC,aAAwB,EAAE,SAAkB;IAChE,MAAM,kBAAkB,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAExE,OAAO,CACL,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC;QACxE,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC,CACzE,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CAAC,IAAa;IACjC,MAAM,SAAS,GA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C;oCAEF,IAAI,YAAY,EAAE,CAAC;wCACjB,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;oCACpD,CAAC;oCAED,OAAO,IAAI,CAAC;gCACd,CAAC;6BACF;yBACF;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;YAED,UAAU,CAAC,IAAI;gBACb,0BAA0B;gBAC1B,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;oBACtB,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;gBAExB,MAAM,QAAQ,GAAG,cAAc,CAAC,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;gBACvE,MAAM,SAAS,GAAG,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAE9D,IAAI,sBAAsB,CAAC,QAAQ,EAAE,SAAS,CAAC,EAAE,CAAC;oBAChD,OAAO,CAAC,MAAM,CAAC;wBACb,SAAS,EAAE,gBAAgB;wBAC3B,IAAI;qBACL,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js index 75afd66c0c..0ebcac5900 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js @@ -111,13 +111,11 @@ exports.default = (0, util_1.createRule)({ const isParentExported = node.parent.type === utils_1.AST_NODE_TYPES.ExportNamedDeclaration; if (node.type === utils_1.AST_NODE_TYPES.TSInterfaceDeclaration && isParentExported) { - const commentsText = comments.reduce((text, comment) => { - return (text + - (comment.type === utils_1.AST_TOKEN_TYPES.Line - ? `//${comment.value}` - : `/*${comment.value}*/`) + - '\n'); - }, ''); + const commentsText = comments + .map(({ type, value }) => type === utils_1.AST_TOKEN_TYPES.Line + ? `//${value}\n` + : `/*${value}*/\n`) + .join(''); // comments should move before export and not between export and interface declaration fixes.push(fixer.insertTextBefore(node.parent, commentsText)); } diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map index 1c7f6b6ac7..a7864499f5 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-function-type.js","sourceRoot":"","sources":["../../src/rules/prefer-function-type.ts"],"names":[],"mappings":";;;AACA,oDAA2E;AAE3E,kCAAqC;AAExB,QAAA,OAAO,GAAG;IACrB,CAAC,sBAAc,CAAC,aAAa,CAAC,EAAE,cAAc;IAC9C,CAAC,sBAAc,CAAC,sBAAsB,CAAC,EAAE,WAAW;CAC5C,CAAC;AAEX,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,yEAAyE;YAC3E,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,4BAA4B,EAC1B,6FAA6F;YAC/F,qCAAqC,EACnC,4JAA4J;SAC/J;QACD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;KACnB;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ;;;WAGG;QACH,SAAS,eAAe,CAAC,IAAqC;YAC5D,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC9B,OAAO,KAAK,CAAC;YACf,CAAC;YACD,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC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oBAChD,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;YACD,6BAA6B,CAC3B,IAAqC;gBAErC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC1D,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;gBACpD,CAAC;gBACD,uDAAuD;gBACvD,WAAW,GAAG,IAAI,CAAC;YACrB,CAAC;YACD,+EAA+E;YAC/E,sCAAsC;gBACpC,cAAc,IAAI,CAAC,CAAC;YACtB,CAAC;YACD,2CAA2C;gBACzC,cAAc,IAAI,CAAC,CAAC;YACtB,CAAC;YACD,mCAAmC,CAAC,IAA4B;gBAC9D,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;YACrC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-function-type.js","sourceRoot":"","sources":["../../src/rules/prefer-function-type.ts"],"names":[],"mappings":";;;AACA,oDAA2E;AAE3E,kCAAqC;AAExB,QAAA,OAAO,GAAG;IACrB,CAAC,sBAAc,CAAC,aAAa,CAAC,EAAE,cAAc;IAC9C,CAAC,sBAAc,CAAC,sBAAsB,CAAC,EAAE,WAAW;CAC5C,CAAC;AAEX,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,yEAAyE;YAC3E,WAAW,EAAE,WAAW;SACzB;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,4BAA4B,EAC1B,6FAA6F;YAC/F,qCAAqC,EACnC,4JAA4J;SAC/J;QACD,MAAM,EAAE,EAAE;QACV,IAAI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kE;gBAClE,WAAW,GAAG,EAAE,CAAC;YACnB,CAAC;YACD,mCAAmC,CAAC,IAAyB;gBAC3D,6DAA6D;gBAC7D,kFAAkF;gBAClF,sGAAsG;gBACtG,IAAI,cAAc,KAAK,CAAC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;oBAChD,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBACzB,CAAC;YACH,CAAC;YACD,6BAA6B,CAC3B,IAAqC;gBAErC,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBAC1D,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;gBACpD,CAAC;gBACD,uDAAuD;gBACvD,WAAW,GAAG,IAAI,CAAC;YACrB,CAAC;YACD,+EAA+E;YAC/E,sCAAsC;gBACpC,cAAc,IAAI,CAAC,CAAC;YACtB,CAAC;YACD,2CAA2C;gBACzC,cAAc,IAAI,CAAC,CAAC;YACtB,CAAC;YACD,mCAAmC,CAAC,IAA4B;gBAC9D,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;YACrC,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js index e6009c2a45..b5a7c4d350 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js @@ -132,7 +132,7 @@ exports.default = (0, util_1.createRule)({ // '\b': '\\b', }; const replaceRegex = new RegExp(Object.values(EscapeMap).join('|'), 'g'); - return str.replace(replaceRegex, char => EscapeMap[char]); + return str.replaceAll(replaceRegex, char => EscapeMap[char]); } function checkArrayIndexOf(node, allowFixing) { // Check if the comparison is equivalent to `includes()`. diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map index 28a7cfdbe6..f67d087d07 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map @@ -1 +1 @@ -{"version":3,"file":"prefer-includes.js","sourceRoot":"","sources":["../../src/rules/prefer-includes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA+D;AAE/D,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAKiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE;IAElB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EAAE,kCAAkC;YAClD,oBAAoB,EAClB,uDAAuD;SAC1D;QACD,MAAM,EAAE,EAAE;KACX;IAED,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,SAAS,QAAQ,CAAC,IAAmB,EAAE,KAAa;YAClD,MAAM,SAAS,GAAG,IAAA,qBAAc,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAC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,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,IAAI,UAAU,EAAE,CAAC;4BACf,MAAM,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;4BAC3C,MAAM,KAAK,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;wBAC5C,CAAC;wBACD,MAAM,KAAK,CAAC,eAAe,CACzB,OAAO,EACP,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,aAAa,YAAY,CAAC,IAAI,CAAC,IAAI,CACjE,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"prefer-includes.js","sourceRoot":"","sources":["../../src/rules/prefer-includes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAA+D;AAE/D,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAKiB;AAEjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE;IAElB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EAAE,iDAAiD;YAC9D,WAAW,EAAE,WAAW;YACxB,oBAAoB,EAAE,IAAI;SAC3B;QACD,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;YACR,cAAc,EAAE,kCAAkC;YAClD,oBAAoB,EAClB,uDAAuD;SAC1D;QACD,MAAM,EAAE,EAAE;KACX;IAED,MAAM,CAAC,OAAO;QACZ,MAAM,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACxE,MAAM,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,sBAAc,CAAC,gBAAgB;4BAChD,OAAO,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC;wBAEjD,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC/D,IAAI,UAAU,EAAE,CAAC;4BACf,MAAM,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;4BAC3C,MAAM,KAAK,CAAC,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;wBAC5C,CAAC;wBACD,MAAM,KAAK,CAAC,eAAe,CACzB,OAAO,EACP,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,aAAa,YAAY,CAAC,IAAI,CAAC,IAAI,CACjE,CAAC;oBACJ,CAAC;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js index cd80928f65..a8feae8c2c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js @@ -277,7 +277,7 @@ function getReportDescriptor(sourceCode, parserServices, node, operator, options const { left, right } = (() => { if (lastOperand.isYoda) { const unaryOperator = lastOperand.node.right.type === utils_1.AST_NODE_TYPES.UnaryExpression - ? lastOperand.node.right.operator + ' ' + ? `${lastOperand.node.right.operator} ` : ''; return { left: sourceCode.getText(lastOperand.node.left), @@ -285,7 +285,7 @@ function getReportDescriptor(sourceCode, parserServices, node, operator, options }; } const unaryOperator = lastOperand.node.left.type === utils_1.AST_NODE_TYPES.UnaryExpression - ? lastOperand.node.left.operator + ' ' + ? `${lastOperand.node.left.operator} ` : ''; return { left: unaryOperator + newCode, diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map index d65498cbc1..f28d7356b8 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain-utils/analyzeChain.js.map @@ -1 +1 @@ -{"version":3,"file":"analyzeChain.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/analyzeChain.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA+fA,oCAoHC;AA/mBD,oDAA0D;AAO1D,+CAA8C;AAC9C,+CAAiC;AAEjC,qCASoB;AACpB,mEAAgE;AAChE,iDAAoE;AAQpE,SAAS,YAAY,CACnB,cAAiD,EACjD,IAAmB,EACnB,UAAwB;IAExB,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACtE,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;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Q,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;YAChC,CAAC;iBAAM,IAAI,gBAAgB,iDAAiC,EAAE,CAAC;gBAC7D,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;YAC1C,CAAC;iBAAM,CAAC;gBACN,oEAAoE;gBACpE,qDAAqD;gBACrD,aAAa;YACf,CAAC;QACH,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,oBAAoB,EAAE,CAAC;AACzB,CAAC"} \ No newline at end of file +{"version":3,"file":"analyzeChain.js","sourceRoot":"","sources":["../../../src/rules/prefer-optional-chain-utils/analyzeChain.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA+fA,oCAoHC;AA/mBD,oDAA0D;AAO1D,+CAA8C;AAC9C,+CAAiC;AAEjC,qCASoB;AACpB,mEAAgE;AAChE,iDAAoE;AAQpE,SAAS,YAAY,CACnB,cAAiD,EACjD,IAAmB,EACnB,UAAwB;IAExB,MAAM,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAC,SAAS,CAAC,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;IACtE,MAAM,KAAK,GAAG,IAAA,6BAAc,EAAC,cAAc,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,IAAA,oBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC;YAClC,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAYD,MAAM,sBAAsB,GAAoB,CAC9C,cAAc,EACd,OAAO,EACP,KAAK,EACL,KAAK,EACL,EAAE;IACF,QAAQ,OAAO,CAAC,cAAc,EAAE,CAAC;QAC/B,kDAAkC,CAAC,CAAC,CAAC;YACnC,MAAM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pE,qDAAqD;gBACrD,aAAa;YACf,CAAC;QACH,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,oBAAoB,EAAE,CAAC;AACzB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js index 80732aaaba..6d53c1d66d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js @@ -39,7 +39,9 @@ exports.default = (0, util_1.createRule)({ schema: [], messages: { missingAwait: "{{name}} has no 'await' expression.", + removeAsync: "Remove 'async'.", }, + hasSuggestions: true, }, defaultOptions: [], create(context) { @@ -71,6 +73,72 @@ exports.default = (0, util_1.createRule)({ !scopeInfo.hasAwait && !isEmptyFunction(node) && !(scopeInfo.isGen && scopeInfo.isAsyncYield)) { + // If the function belongs to a method definition or + // property, then the function's range may not include the + // `async` keyword and we should look at the parent instead. + const nodeWithAsyncKeyword = (node.parent.type === utils_1.AST_NODE_TYPES.MethodDefinition && + node.parent.value === node) || + (node.parent.type === utils_1.AST_NODE_TYPES.Property && + node.parent.method && + node.parent.value === node) + ? node.parent + : node; + const asyncToken = (0, util_1.nullThrows)(context.sourceCode.getFirstToken(nodeWithAsyncKeyword, token => token.value === 'async'), 'The node is an async function, so it must have an "async" token.'); + const asyncRange = [ + asyncToken.range[0], + (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(asyncToken, { + includeComments: true, + }), 'There will always be a token after the "async" keyword.').range[0], + ]; + // Removing the `async` keyword can cause parsing errors if the + // current statement is relying on automatic semicolon insertion. + // If ASI is currently being used, then we should replace the + // `async` keyword with a semicolon. + const nextToken = (0, util_1.nullThrows)(context.sourceCode.getTokenAfter(asyncToken), 'There will always be a token after the "async" keyword.'); + const addSemiColon = nextToken.type === utils_1.AST_TOKEN_TYPES.Punctuator && + (nextToken.value === '[' || nextToken.value === '(') && + (nodeWithAsyncKeyword.type === utils_1.AST_NODE_TYPES.MethodDefinition || + (0, util_1.isStartOfExpressionStatement)(nodeWithAsyncKeyword)) && + (0, util_1.needsPrecedingSemicolon)(context.sourceCode, nodeWithAsyncKeyword); + const changes = [ + { range: asyncRange, replacement: addSemiColon ? ';' : undefined }, + ]; + // If there's a return type annotation and it's a + // `Promise`, we can also change the return type + // annotation to just `T` as part of the suggestion. + // Alternatively, if the function is a generator and + // the return type annotation is `AsyncGenerator`, + // then we can change it to `Generator`. + if (node.returnType?.typeAnnotation.type === + utils_1.AST_NODE_TYPES.TSTypeReference) { + if (scopeInfo.isGen) { + if (hasTypeName(node.returnType.typeAnnotation, 'AsyncGenerator')) { + changes.push({ + range: node.returnType.typeAnnotation.typeName.range, + replacement: 'Generator', + }); + } + } + else if (hasTypeName(node.returnType.typeAnnotation, 'Promise') && + node.returnType.typeAnnotation.typeArguments != null) { + const openAngle = (0, util_1.nullThrows)(context.sourceCode.getFirstToken(node.returnType.typeAnnotation, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && + token.value === '<'), 'There are type arguments, so the angle bracket will exist.'); + const closeAngle = (0, util_1.nullThrows)(context.sourceCode.getLastToken(node.returnType.typeAnnotation, token => token.type === utils_1.AST_TOKEN_TYPES.Punctuator && + token.value === '>'), 'There are type arguments, so the angle bracket will exist.'); + changes.push( + // Remove the closing angled bracket. + { range: closeAngle.range, replacement: undefined }, + // Remove the "Promise" identifier + // and the opening angled bracket. + { + range: [ + node.returnType.typeAnnotation.typeName.range[0], + openAngle.range[1], + ], + replacement: undefined, + }); + } + } context.report({ node, loc: (0, util_1.getFunctionHeadLoc)(node, context.sourceCode), @@ -78,6 +146,14 @@ exports.default = (0, util_1.createRule)({ data: { name: (0, util_1.upperCaseFirst)((0, util_1.getFunctionNameWithKind)(node)), }, + suggest: [ + { + messageId: 'removeAsync', + fix: (fixer) => changes.map(change => change.replacement !== undefined + ? fixer.replaceTextRange(change.range, change.replacement) + : fixer.removeRange(change.range)), + }, + ], }); } scopeInfo = scopeInfo.upper; @@ -171,4 +247,8 @@ function expandUnionOrIntersectionType(type) { } return [type]; } +function hasTypeName(typeReference, typeName) { + return (typeReference.typeName.type === utils_1.AST_NODE_TYPES.Identifier && + typeReference.typeName.name === typeName); +} //# sourceMappingURL=require-await.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map index 474c03510f..880f75f399 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map @@ -1 +1 @@ -{"version":3,"file":"require-await.js","sourceRoot":"","sources":["../../src/rules/require-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AAGxC,kCAMiB;AAcjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAAW,EACT,sFAAsF;YACxF,WAAW,EAAE,aAAa;YAC1B,oBAAoB,EAAE,IAAI;YAC1B,eAAe,EAAE,IAAI;SACtB;QACD,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE;YACR,YAAY,EAAE,qCAAqC;SACpD;KACF;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,MAAM,QAAQ,GAAG,IAAA,wBAAiB,EAAC,OAAO,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;QAElD,IAAI,SAAS,GAAqB,IAAI,CAAC;QAEvC;;WAEG;QACH,SAAS,aAAa,CAAC,IAAkB;YACvC,SAAS,GAAG;gBACV,KAAK,E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AC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAC5D,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC/B,cAAc,EAAE,CAAC;gBACnB,CAAC;YACH,CAAC;YACD,eAAe,CAAC,IAAI;gBAClB,uDAAuD;gBACvD,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,QAAQ,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;oBAC5D,OAAO;gBACT,CAAC;gBAED,MAAM,EAAE,UAAU,EAAE,GAAG,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;gBAChE,IAAI,UAAU,IAAI,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;oBAC7C,cAAc,EAAE,CAAC;gBACnB,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,SAAS,eAAe,CAAC,IAAkB;IACzC,OAAO,CACL,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;QAChD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,6BAA6B,CAAC,IAAa;IAClD,IAAI,IAAI,CAAC,qBAAqB,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO,CAAC,IAAI,CAAC,CAAC;AAChB,CAAC"} \ No newline at end of file +{"version":3,"file":"require-await.js","sourceRoot":"","sources":["../../src/rules/require-await.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA2E;AAE3E,sDAAwC;AAGxC,kCASiB;AAcjB,kBAAe,IAAA,iBAAU,EAAC;IACxB,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE;YACJ,WAA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O,CACL,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU;QACzD,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,CACzC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js index 8315a0c216..d38867d9dc 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js @@ -100,9 +100,7 @@ exports.default = (0, util_1.createRule)({ }, messages: { unbound: BASE_MESSAGE, - unboundWithoutThisAnnotation: BASE_MESSAGE + - '\n' + - 'If your function does not access `this`, you can annotate it with `this: void`, or consider using an arrow function instead.', + unboundWithoutThisAnnotation: `${BASE_MESSAGE}\nIf your function does not access \`this\`, you can annotate it with \`this: void\`, or consider using an arrow function instead.`, }, schema: [ { diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map index 3381b4ce12..3498472769 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map @@ -1 +1 @@ -{"version":3,"file":"unbound-method.js","sourceRoot":"","sources":["../../src/rules/unbound-method.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAcjB;;;;;;;;;;GAUG;AACH,MAAM,iBAAiB,GAAG;IACxB,QAAQ;IACR,QAAQ;IACR,QAAQ,EAAE,wEAAwE;IAClF,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,SAAS;IACT,SAAS;IACT,MAAM;IACN,MAAM;IACN,MAAM;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AAI,KAAK,MAAM,CAAC,IAAI;oBACnB,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK;wBACzC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBACpD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAChE,CAAC;QAEJ,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;QACxC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;QAE3B,KAAK,sBAAc,CAAC,iBAAiB;YACnC,IAAI,MAAM,CAAC,QAAQ,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;gBACrD,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,oFAAoF;YACpF,0CAA0C;YAC1C,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;IAC7B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"unbound-method.js","sourceRoot":"","sources":["../../src/rules/unbound-method.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,sDAAwC;AACxC,+CAAiC;AAEjC,kCAMiB;AAcjB;;;;;;;;;;GAUG;AACH,MAAM,iBAAiB,GAAG;IACxB,QAAQ;IACR,QAAQ;IACR,QAAQ,EAAE,wEAAwE;IAClF,QAAQ;IACR,QAAQ;IACR,OAAO;IACP,OAAO;IACP,MAAM;IACN,SAAS;IACT,SAAS;IACT,SAAS;IACT,MAAM;IACN,MAAM;IACN,MAAM;CACE,CAAC;AACX,MAAM,oBAAoB,GAAG,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C,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,KAAK;wBACzC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB;wBACpD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc,CAAC,CAAC,CAChE,CAAC;QAEJ,KAAK,sBAAc,CAAC,eAAe,CAAC;QACpC,KAAK,sBAAc,CAAC,mBAAmB,CAAC;QACxC,KAAK,sBAAc,CAAC,cAAc,CAAC;QACnC,KAAK,sBAAc,CAAC,eAAe;YACjC,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;QAE3B,KAAK,sBAAc,CAAC,iBAAiB;YACnC,IAAI,MAAM,CAAC,QAAQ,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;gBACrD,qEAAqE;gBACrE,OAAO,IAAI,CAAC;YACd,CAAC;YAED,oFAAoF;YACpF,0CAA0C;YAC1C,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;IAC7B,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js index e8dfba7db9..f7d9a75e43 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js @@ -26,25 +26,30 @@ Object.defineProperty(exports, "__esModule", { value: true }); const utils_1 = require("@typescript-eslint/utils"); const tsutils = __importStar(require("ts-api-utils")); const util_1 = require("../util"); -const useUnknownMessageBase = 'Prefer the safe `: unknown` for a catch callback variable.'; +const useUnknownMessageBase = 'Prefer the safe `: unknown` for a `{{method}}`{{append}} callback variable.'; +/** + * `x.memberName` => 'memberKey' + * + * `const mk = 'memberKey'; x[mk]` => 'memberKey' + * + * `const mk = 1234; x[mk]` => 1234 + */ +const getStaticMemberAccessKey = ({ computed, property }, scope) => computed ? (0, util_1.getStaticValue)(property, scope) : { value: property.name }; exports.default = (0, util_1.createRule)({ name: 'use-unknown-in-catch-callback-variable', meta: { docs: { - description: 'Enforce typing arguments in `.catch()` callbacks as `unknown`', + description: 'Enforce typing arguments in Promise rejection callbacks as `unknown`', requiresTypeChecking: true, recommended: 'strict', }, type: 'suggestion', messages: { useUnknown: useUnknownMessageBase, - useUnknownArrayDestructuringPattern: useUnknownMessageBase + ' The thrown error may not be iterable.', - useUnknownObjectDestructuringPattern: useUnknownMessageBase + - ' The thrown error may be nullable, or may not have the expected shape.', - useUnknownSpreadArgs: useUnknownMessageBase + - ' The argument list may contain a handler that does not use `unknown` for the catch callback variable.', - addUnknownTypeAnnotationSuggestion: 'Add an explicit `: unknown` type annotation to the catch variable.', - addUnknownRestTypeAnnotationSuggestion: 'Add an explicit `: [unknown]` type annotation to the catch rest variable.', + useUnknownArrayDestructuringPattern: `${useUnknownMessageBase} The thrown error may not be iterable.`, + useUnknownObjectDestructuringPattern: `${useUnknownMessageBase} The thrown error may be nullable, or may not have the expected shape.`, + addUnknownTypeAnnotationSuggestion: 'Add an explicit `: unknown` type annotation to the rejection callback variable.', + addUnknownRestTypeAnnotationSuggestion: 'Add an explicit `: [unknown]` type annotation to the rejection callback rest variable.', wrongTypeAnnotationSuggestion: 'Change existing type annotation to `: unknown`.', wrongRestTypeAnnotationSuggestion: 'Change existing type annotation to `: [unknown]`.', }, @@ -54,17 +59,8 @@ exports.default = (0, util_1.createRule)({ }, defaultOptions: [], create(context) { - const services = (0, util_1.getParserServices)(context); - const checker = services.program.getTypeChecker(); - function isPromiseCatchAccess(node) { - if (!(node.type === utils_1.AST_NODE_TYPES.MemberExpression && - isStaticMemberAccessOfValue(node, 'catch'))) { - return false; - } - const objectTsNode = services.esTreeNodeToTSNodeMap.get(node.object); - const tsNode = services.esTreeNodeToTSNodeMap.get(node); - return tsutils.isThenableType(checker, tsNode, checker.getTypeAtLocation(objectTsNode)); - } + const { program, esTreeNodeToTSNodeMap } = (0, util_1.getParserServices)(context); + const checker = program.getTypeChecker(); function isFlaggableHandlerType(type) { for (const unionPart of tsutils.unionTypeParts(type)) { const callSignatures = tsutils.getCallSignaturesOfType(unionPart); @@ -99,40 +95,11 @@ exports.default = (0, util_1.createRule)({ } return false; } - /** - * If passed an ordinary expression, this will check it as expected. - * - * If passed a spread element, it treats it as the union of unwrapped array/tuple type. - */ function shouldFlagArgument(node) { - const argument = services.esTreeNodeToTSNodeMap.get(node); + const argument = esTreeNodeToTSNodeMap.get(node); const typeOfArgument = checker.getTypeAtLocation(argument); return isFlaggableHandlerType(typeOfArgument); } - function shouldFlagMultipleSpreadArgs(argumentsList) { - // One could try to be clever about unpacking fixed length tuples and stuff - // like that, but there's no need, since this is all invalid use of `.catch` - // anyway at the end of the day. Instead, we'll just check whether any of the - // possible args types would violate the rule on its own. - return argumentsList.some(argument => shouldFlagArgument(argument)); - } - function shouldFlagSingleSpreadArg(node) { - const spreadArgs = services.esTreeNodeToTSNodeMap.get(node.argument); - const spreadArgsType = checker.getTypeAtLocation(spreadArgs); - if (checker.isArrayType(spreadArgsType)) { - const arrayType = checker.getTypeArguments(spreadArgsType)[0]; - return isFlaggableHandlerType(arrayType); - } - if (checker.isTupleType(spreadArgsType)) { - const firstType = checker.getTypeArguments(spreadArgsType).at(0); - if (!firstType) { - // empty spread args. Suspect code, but not a problem for this rule. - return false; - } - return isFlaggableHandlerType(firstType); - } - return true; - } /** * Analyzes the syntax of the catch argument and makes a best effort to pinpoint * why it's reporting, and to come up with a suggested fix if possible. @@ -140,7 +107,7 @@ exports.default = (0, util_1.createRule)({ * This function is explicitly operating under the assumption that the * rule _is reporting_, so it is not guaranteed to be sound to call otherwise. */ - function refineReportForNormalArgumentIfPossible(argument) { + function refineReportIfPossible(argument) { // Only know how to be helpful if a function literal has been provided. if (!(argument.type === utils_1.AST_NODE_TYPES.ArrowFunctionExpression || argument.type === utils_1.AST_NODE_TYPES.FunctionExpression)) { @@ -226,39 +193,45 @@ exports.default = (0, util_1.createRule)({ } } return { - CallExpression(node) { - if (node.arguments.length === 0 || !isPromiseCatchAccess(node.callee)) { + CallExpression({ arguments: args, callee }) { + if (callee.type !== utils_1.AST_NODE_TYPES.MemberExpression) { return; } - const firstArgument = node.arguments[0]; - // Deal with some special cases around spread element args. - // promise.catch(...handlers), promise.catch(...handlers, ...moreHandlers). - if (firstArgument.type === utils_1.AST_NODE_TYPES.SpreadElement) { - if (node.arguments.length === 1) { - if (shouldFlagSingleSpreadArg(firstArgument)) { - context.report({ - node: firstArgument, - messageId: 'useUnknown', - }); - } - } - else if (shouldFlagMultipleSpreadArgs(node.arguments)) { - context.report({ - node, - messageId: 'useUnknownSpreadArgs', - }); - } + const staticMemberAccessKey = getStaticMemberAccessKey(callee, context.sourceCode.getScope(callee)); + if (!staticMemberAccessKey) { + return; + } + const promiseMethodInfo = [ + { method: 'catch', append: '', argIndexToCheck: 0 }, + { method: 'then', append: ' rejection', argIndexToCheck: 1 }, + ].find(({ method }) => staticMemberAccessKey.value === method); + if (!promiseMethodInfo) { return; } - // First argument is an "ordinary" argument (i.e. not a spread argument) + // Need to be enough args to check + const { argIndexToCheck, ...data } = promiseMethodInfo; + if (args.length < argIndexToCheck + 1) { + return; + } + // Argument to check, and all arguments before it, must be "ordinary" arguments (i.e. no spread arguments) // promise.catch(f), promise.catch(() => {}), promise.catch(, <>) - if (shouldFlagArgument(firstArgument)) { + const argsToCheck = args.slice(0, argIndexToCheck + 1); + if (argsToCheck.some(({ type }) => type === utils_1.AST_NODE_TYPES.SpreadElement)) { + return; + } + if (!tsutils.isThenableType(checker, esTreeNodeToTSNodeMap.get(callee), checker.getTypeAtLocation(esTreeNodeToTSNodeMap.get(callee.object)))) { + return; + } + // the `some` check above has already excluded `SpreadElement`, so we are safe to assert the same + const node = argsToCheck[argIndexToCheck]; + if (shouldFlagArgument(node)) { // We are now guaranteed to report, but we have a bit of work to do // to determine exactly where, and whether we can fix it. - const overrides = refineReportForNormalArgumentIfPossible(firstArgument); + const overrides = refineReportIfPossible(node); context.report({ - node: firstArgument, + node, messageId: 'useUnknown', + data, ...overrides, }); } @@ -266,18 +239,4 @@ exports.default = (0, util_1.createRule)({ }; }, }); -/** - * Answers whether the member expression looks like - * `x.memberName`, `x['memberName']`, - * or even `const mn = 'memberName'; x[mn]` (or optional variants thereof). - */ -function isStaticMemberAccessOfValue(memberExpression, value, scope) { - if (!memberExpression.computed) { - // x.memberName case. - return memberExpression.property.name === value; - } - // x['memberName'] cases. - const staticValueResult = (0, util_1.getStaticValue)(memberExpression.property, scope); - return staticValueResult != null && value === staticValueResult.value; -} //# sourceMappingURL=use-unknown-in-catch-callback-variable.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map index 8895ac22c6..fd707d5150 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/rules/use-unknown-in-catch-callback-variable.js.map @@ -1 +1 @@ -{"version":3,"file":"use-unknown-in-catch-callback-variable.js","sourceRoot":"","sources":["../../src/rules/use-unknown-in-catch-callback-variable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAK1D,sDAAwC;AAGxC,kCAOiB;AAYjB,MAAM,qBAAqB,GACzB,4DAA4D,CAAC;AAE/D,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,+DAA+D;YACjE,oBAAoB,EAAE,IAAI;YAC1B,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ED,yBAAyB;IACzB,MAAM,iBAAiB,GAAG,IAAA,qBAAc,EAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3E,OAAO,iBAAiB,IAAI,IAAI,IAAI,KAAK,KAAK,iBAAiB,CAAC,KAAK,CAAC;AACxE,CAAC"} \ No newline at end of file +{"version":3,"file":"use-unknown-in-catch-callback-variable.js","sourceRoot":"","sources":["../../src/rules/use-unknown-in-catch-callback-variable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,oDAA0D;AAE1D,sDAAwC;AAGxC,kCAOiB;AAWjB,MAAM,qBAAqB,GACzB,6EAA6E,CAAC;AAEhF;;;;;;GAMG;AACH,MAAM,wBAAwB,GAAG,CAC/B,EAAE,QAAQ,EAAE,QAAQ,EAA6B,EACjD,KAAY,EACe,EAAE,CAC7B,QAAQ,CAAC,CAAC,CAAC,IAAA,qBAAc,EAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;AAExE,kBAAe,IAAA,iBAAU,EAAiB;IACxC,IAAI,EAAE,wCAAwC;IAC9C,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EACT,sEAAsE;YACxE,oBAAoB,EAAE,IAAI;YAC1B,WAAW,EAAE,QAAQ;SACtB;QACD,IAAI,EAAE,YAAY;QAClB,QAAQ,EAAE;YACR,UAAU,EAAE,qBAAqB;YACjC,mCAAmC,EAAE,GAAG,qBAAqB,wCAAwC;YACrG,oCAAoC,EAAE,GACpC,qBACF,wEAAwE;YACxE,kCAAkC,EAChC,iFAAiF;YACnF,sCAAsC,EACpC,wFAAwF;YAC1F,6BAA6B,EAC3B,iDAAiD;YACnD,iCAAiC,EAC/B,mDAAmD;SACtD;QACD,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,EAAE;QACV,cAAc,EAAE,IAAI;KACrB;IAED,cAAc,EAAE,EAAE;IAEl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ACvD,IAAI,IAAI,CAAC,MAAM,GAAG,eAAe,GAAG,CAAC,EAAE,CAAC;oBACtC,OAAO;gBACT,CAAC;gBAED,0GAA0G;gBAC1G,yFAAyF;gBACzF,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,eAAe,GAAG,CAAC,CAAC,CAAC;gBACvD,IACE,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,sBAAc,CAAC,aAAa,CAAC,EACrE,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,IACE,CAAC,OAAO,CAAC,cAAc,CACrB,OAAO,EACP,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,EACjC,OAAO,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CACpE,EACD,CAAC;oBACD,OAAO;gBACT,CAAC;gBAED,iGAAiG;gBACjG,MAAM,IAAI,GAAG,WAAW,CAAC,eAAe,CAGvC,CAAC;gBACF,IAAI,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC;oBAC7B,mEAAmE;oBACnE,yDAAyD;oBACzD,MAAM,SAAS,GAAG,sBAAsB,CAAC,IAAI,CAAC,CAAC;oBAC/C,OAAO,CAAC,MAAM,CAAC;wBACb,IAAI;wBACJ,SAAS,EAAE,YAAY;wBACvB,IAAI;wBACJ,GAAG,SAAS;qBACb,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js index 786ab0a53f..3639aa168c 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js @@ -9,7 +9,7 @@ const reRegExpChar = /[\\^$.*+?()[\]{}|]/g; const reHasRegExpChar = RegExp(reRegExpChar.source); function escapeRegExp(string = '') { return string && reHasRegExpChar.test(string) - ? string.replace(reRegExpChar, '\\$&') + ? string.replaceAll(reRegExpChar, '\\$&') : string; } //# sourceMappingURL=escapeRegExp.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map index c8362b5bf4..83b92aa642 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/escapeRegExp.js.map @@ -1 +1 @@ -{"version":3,"file":"escapeRegExp.js","sourceRoot":"","sources":["../../src/util/escapeRegExp.ts"],"names":[],"mappings":";;AAOA,oCAIC;AAXD;;;GAGG;AACH,MAAM,YAAY,GAAG,qBAAqB,CAAC;AAC3C,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;AAEpD,SAAgB,YAAY,CAAC,MAAM,GAAG,EAAE;IACtC,OAAO,MAAM,IAAI,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3C,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC;QACtC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"} \ No newline at end of file +{"version":3,"file":"escapeRegExp.js","sourceRoot":"","sources":["../../src/util/escapeRegExp.ts"],"names":[],"mappings":";;AAOA,oCAIC;AAXD;;;GAGG;AACH,MAAM,YAAY,GAAG,qBAAqB,CAAC;AAC3C,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;AAEpD,SAAgB,YAAY,CAAC,MAAM,GAAG,EAAE;IACtC,OAAO,MAAM,IAAI,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3C,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC;QACzC,CAAC,CAAC,MAAM,CAAC;AACb,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js index ac3fe8abb0..717cf8c5b1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js @@ -28,8 +28,10 @@ __exportStar(require("./getThisExpression"), exports); __exportStar(require("./getWrappingFixer"), exports); __exportStar(require("./isNodeEqual"), exports); __exportStar(require("./isNullLiteral"), exports); +__exportStar(require("./isStartOfExpressionStatement"), exports); __exportStar(require("./isUndefinedIdentifier"), exports); __exportStar(require("./misc"), exports); +__exportStar(require("./needsPrecedingSemiColon"), exports); __exportStar(require("./objectIterators"), exports); __exportStar(require("./scopeUtils"), exports); __exportStar(require("./types"), exports); diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map index 121a9645bf..60d010d518 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,yCAAuB;AACvB,oDAAkC;AAClC,+CAA6B;AAC7B,0CAAwB;AACxB,+CAA6B;AAC7B,oDAAkC;AAElC,sEAAsE;AACtE,gEAA8C;AAC9C,MAAM,EACJ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,iBAAiB,GAClB,GAAG,mBAAW,CAAC;AAMd,oCAAY;AACZ,8BAAS;AACT,4CAAgB;AAChB,8CAAiB;AACjB,gCAAU;AAGV,8CAAiB"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oDAAuD;AAEvD,6CAA2B;AAC3B,2DAAyC;AACzC,+CAA6B;AAC7B,uDAAqC;AACrC,0DAAwC;AACxC,yDAAuC;AACvC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,qDAAmC;AACnC,gDAA8B;AAC9B,kDAAgC;AAChC,iEAA+C;AAC/C,0DAAwC;AACxC,yCAAuB;AACvB,4DAA0C;AAC1C,oDAAkC;AAClC,+CAA6B;AAC7B,0CAAwB;AACxB,+CAA6B;AAC7B,oDAAkC;AAElC,sEAAsE;AACtE,gEAA8C;AAC9C,MAAM,EACJ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,iBAAiB,GAClB,GAAG,mBAAW,CAAC;AAMd,oCAAY;AACZ,8BAAS;AACT,4CAAgB;AAChB,8CAAiB;AACjB,gCAAU;AAGV,8CAAiB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js new file mode 100644 index 0000000000..8c3d7b41d9 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js @@ -0,0 +1,23 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.isStartOfExpressionStatement = isStartOfExpressionStatement; +const utils_1 = require("@typescript-eslint/utils"); +// The following is copied from `eslint`'s source code. +// https://github.com/eslint/eslint/blob/3a4eaf921543b1cd5d1df4ea9dec02fab396af2a/lib/rules/utils/ast-utils.js#L1026-L1041 +// Could be export { isStartOfExpressionStatement } from 'eslint/lib/rules/utils/ast-utils' +/** + * Tests if a node appears at the beginning of an ancestor ExpressionStatement node. + * @param node The node to check. + * @returns Whether the node appears at the beginning of an ancestor ExpressionStatement node. + */ +function isStartOfExpressionStatement(node) { + const start = node.range[0]; + let ancestor = node; + while ((ancestor = ancestor.parent) && ancestor.range[0] === start) { + if (ancestor.type === utils_1.AST_NODE_TYPES.ExpressionStatement) { + return true; + } + } + return false; +} +//# sourceMappingURL=isStartOfExpressionStatement.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js.map new file mode 100644 index 0000000000..194d5e545f --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/isStartOfExpressionStatement.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isStartOfExpressionStatement.js","sourceRoot":"","sources":["../../src/util/isStartOfExpressionStatement.ts"],"names":[],"mappings":";;AAWA,oEAUC;AApBD,oDAA0D;AAE1D,uDAAuD;AACvD,0HAA0H;AAC1H,2FAA2F;AAC3F;;;;GAIG;AACH,SAAgB,4BAA4B,CAAC,IAAmB;IAC9D,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC5B,IAAI,QAAQ,GAA8B,IAAI,CAAC;IAE/C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC;QACnE,IAAI,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,mBAAmB,EAAE,CAAC;YACzD,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js new file mode 100644 index 0000000000..eacafcc47f --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js @@ -0,0 +1,98 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.needsPrecedingSemicolon = needsPrecedingSemicolon; +const utils_1 = require("@typescript-eslint/utils"); +const ast_utils_1 = require("@typescript-eslint/utils/ast-utils"); +// The following is adapted from `eslint`'s source code. +// https://github.com/eslint/eslint/blob/3a4eaf921543b1cd5d1df4ea9dec02fab396af2a/lib/rules/utils/ast-utils.js#L1043-L1132 +// Could be export { isStartOfExpressionStatement } from 'eslint/lib/rules/utils/ast-utils' +const BREAK_OR_CONTINUE = new Set([ + utils_1.AST_NODE_TYPES.BreakStatement, + utils_1.AST_NODE_TYPES.ContinueStatement, +]); +// Declaration types that must contain a string Literal node at the end. +const DECLARATIONS = new Set([ + utils_1.AST_NODE_TYPES.ExportAllDeclaration, + utils_1.AST_NODE_TYPES.ExportNamedDeclaration, + utils_1.AST_NODE_TYPES.ImportDeclaration, +]); +const IDENTIFIER_OR_KEYWORD = new Set([ + utils_1.AST_NODE_TYPES.Identifier, + utils_1.AST_TOKEN_TYPES.Keyword, +]); +// Keywords that can immediately precede an ExpressionStatement node, mapped to the their node types. +const NODE_TYPES_BY_KEYWORD = { + __proto__: null, + break: utils_1.AST_NODE_TYPES.BreakStatement, + continue: utils_1.AST_NODE_TYPES.ContinueStatement, + debugger: utils_1.AST_NODE_TYPES.DebuggerStatement, + do: utils_1.AST_NODE_TYPES.DoWhileStatement, + else: utils_1.AST_NODE_TYPES.IfStatement, + return: utils_1.AST_NODE_TYPES.ReturnStatement, + yield: utils_1.AST_NODE_TYPES.YieldExpression, +}; +/* + * Before an opening parenthesis, postfix `++` and `--` always trigger ASI; + * the tokens `:`, `;`, `{` and `=>` don't expect a semicolon, as that would count as an empty statement. + */ +const PUNCTUATORS = new Set([':', ';', '{', '=>', '++', '--']); +/* + * Statements that can contain an `ExpressionStatement` after a closing parenthesis. + * DoWhileStatement is an exception in that it always triggers ASI after the closing parenthesis. + */ +const STATEMENTS = new Set([ + utils_1.AST_NODE_TYPES.DoWhileStatement, + utils_1.AST_NODE_TYPES.ForInStatement, + utils_1.AST_NODE_TYPES.ForOfStatement, + utils_1.AST_NODE_TYPES.ForStatement, + utils_1.AST_NODE_TYPES.IfStatement, + utils_1.AST_NODE_TYPES.WhileStatement, + utils_1.AST_NODE_TYPES.WithStatement, +]); +/** + * Determines whether an opening parenthesis `(`, bracket `[` or backtick ``` ` ``` needs to be preceded by a semicolon. + * This opening parenthesis or bracket should be at the start of an `ExpressionStatement`, a `MethodDefinition` or at + * the start of the body of an `ArrowFunctionExpression`. + * @param sourceCode The source code object. + * @param node A node at the position where an opening parenthesis or bracket will be inserted. + * @returns Whether a semicolon is required before the opening parenthesis or bracket. + */ +function needsPrecedingSemicolon(sourceCode, node) { + const prevToken = sourceCode.getTokenBefore(node); + if (!prevToken || + (prevToken.type === utils_1.AST_TOKEN_TYPES.Punctuator && + PUNCTUATORS.has(prevToken.value))) { + return false; + } + const prevNode = sourceCode.getNodeByRangeIndex(prevToken.range[0]); + if (!prevNode) { + return false; + } + if ((0, ast_utils_1.isClosingParenToken)(prevToken)) { + return !STATEMENTS.has(prevNode.type); + } + if ((0, ast_utils_1.isClosingBraceToken)(prevToken)) { + return ((prevNode.type === utils_1.AST_NODE_TYPES.BlockStatement && + prevNode.parent.type === utils_1.AST_NODE_TYPES.FunctionExpression && + prevNode.parent.parent.type !== utils_1.AST_NODE_TYPES.MethodDefinition) || + (prevNode.type === utils_1.AST_NODE_TYPES.ClassBody && + prevNode.parent.type === utils_1.AST_NODE_TYPES.ClassExpression) || + prevNode.type === utils_1.AST_NODE_TYPES.ObjectExpression); + } + if (!prevNode.parent) { + return false; + } + if (IDENTIFIER_OR_KEYWORD.has(prevToken.type)) { + if (BREAK_OR_CONTINUE.has(prevNode.parent.type)) { + return false; + } + const keyword = prevToken.value; + const nodeType = NODE_TYPES_BY_KEYWORD[keyword]; + return prevNode.type !== nodeType; + } + if (prevToken.type === utils_1.AST_TOKEN_TYPES.String) { + return !DECLARATIONS.has(prevNode.parent.type); + } + return true; +} +//# sourceMappingURL=needsPrecedingSemiColon.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js.map b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js.map new file mode 100644 index 0000000000..f787c3d868 --- /dev/null +++ b/node_modules/@typescript-eslint/eslint-plugin/dist/util/needsPrecedingSemiColon.js.map @@ -0,0 +1 @@ +{"version":3,"file":"needsPrecedingSemiColon.js","sourceRoot":"","sources":["../../src/util/needsPrecedingSemiColon.ts"],"names":[],"mappings":";;AAqEA,0DAuDC;AA3HD,oDAA2E;AAC3E,kEAG4C;AAG5C,wDAAwD;AACxD,0HAA0H;AAC1H,2FAA2F;AAE3F,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,sBAAc,CAAC,cAAc;IAC7B,sBAAc,CAAC,iBAAiB;CACjC,CAAC,CAAC;AAEH,wEAAwE;AACxE,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,sBAAc,CAAC,oBAAoB;IACnC,sBAAc,CAAC,sBAAsB;IACrC,sBAAc,CAAC,iBAAiB;CACjC,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,IAAI,GAAG,CAAC;IACpC,sBAAc,CAAC,UAAU;IACzB,uBAAe,CAAC,OAAO;CACxB,CAAC,CAAC;AAEH,qGAAqG;AACrG,MAAM,qBAAqB,GAAmD;IAC5E,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,sBAAc,CAAC,cAAc;IACpC,QAAQ,EAAE,sBAAc,CAAC,iBAAiB;IAC1C,QAAQ,EAAE,sBAAc,CAAC,iBAAiB;IAC1C,EAAE,EAAE,sBAAc,CAAC,gBAAg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ACL,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,cAAc;YAC9C,QAAQ,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,kBAAkB;YAC1D,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAAC;YAClE,CAAC,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,SAAS;gBACzC,QAAQ,CAAC,MAAM,CAAC,IAAI,KAAK,sBAAc,CAAC,eAAe,CAAC;YAC1D,QAAQ,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,CAClD,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QACrB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,IAAI,qBAAqB,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,IAAI,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;YAChD,OAAO,KAAK,CAAC;QACf,CAAC;QAED,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC;QAChC,MAAM,QAAQ,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;QAEhD,OAAO,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC;IACpC,CAAC;IAED,IAAI,SAAS,CAAC,IAAI,KAAK,uBAAe,CAAC,MAAM,EAAE,CAAC;QAC9C,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx index 1b6170dcf8..74e86e07e1 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-unsafe-return.mdx @@ -13,7 +13,7 @@ The `any` type in TypeScript is a dangerous "escape hatch" from the type system. Using `any` disables many type checking rules and is generally best used only as a last resort or when prototyping code. Despite your best intentions, the `any` type can sometimes leak into your codebase. -Returning an an `any`-typed value from a function creates a potential type safety hole and source of bugs in your codebase. +Returning an `any`-typed value from a function creates a potential type safety hole and source of bugs in your codebase. This rule disallows returning `any` or `any[]` from a function and returning `Promise` from an async function. diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.mdx index 9b43187444..09afc8b973 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-use-before-define.mdx @@ -80,7 +80,7 @@ type StringOrNumber = string | number; ### `ignoreTypeReferences` If this is `true`, this rule ignores all type references, such as in type annotations and assertions. -If this is `false`, this will will check all type references. +If this is `false`, this will check all type references. Examples of **correct** code for the `{ "ignoreTypeReferences": true }` option: diff --git a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx index 8192950add..b7423b2d1d 100644 --- a/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx +++ b/node_modules/@typescript-eslint/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx @@ -1,5 +1,5 @@ --- -description: 'Enforce typing arguments in `.catch()` callbacks as `unknown`.' +description: 'Enforce typing arguments in Promise rejection callbacks as `unknown`.' --- import Tabs from '@theme/Tabs'; @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem'; > > See **https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable** for documentation. -This rule enforces that you always use the `unknown` type for the parameter of a `Promise.prototype.catch()` callback. +This rule enforces that you always use the `unknown` type for the parameter of a Promise rejection callback. @@ -26,6 +26,15 @@ Promise.reject(new Error('I will reject!')).catch((err: any) => { Promise.reject(new Error('I will reject!')).catch((err: Error) => { console.log(err); }); + +Promise.reject(new Error('I will reject!')).then( + result => { + console.log(result); + }, + err => { + console.log(err); + }, +); ``` @@ -70,7 +79,7 @@ Promise.reject(x).catch((err: unknown) => { ``` :::info -There is actually a way to have the `catch()` callback variable use the `unknown` type _without_ an explicit type annotation at the call sites, but it has the drawback that it involves overriding global type declarations. +There is actually a way to have the `catch()` and `then()` callback variables use the `unknown` type _without_ an explicit type annotation at the call sites, but it has the drawback that it involves overriding global type declarations. For example, the library [better-TypeScript-lib](https://github.com/uhyo/better-typescript-lib) sets this up globally for your project (see [the relevant lines in the better-TypeScript-lib source code](https://github.com/uhyo/better-typescript-lib/blob/c294e177d1cc2b1d1803febf8192a4c83a1fe028/lib/lib.es5.d.ts#L635) for details on how). For further reading on this, you may also want to look into @@ -81,4 +90,4 @@ For further reading on this, you may also want to look into If your codebase is not yet able to enable `useUnknownInCatchVariables`, it likely would be similarly difficult to enable this rule. -If you have modified the global type declarations in order to make `catch()` callbacks use the `unknown` type without an explicit type annotation, you do not need this rule. +If you have modified the global type declarations in order to make `then()` and `catch()` callbacks use the `unknown` type without an explicit type annotation, you do not need this rule. diff --git a/node_modules/@typescript-eslint/eslint-plugin/package.json b/node_modules/@typescript-eslint/eslint-plugin/package.json index ce6950b0aa..0663bea357 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": "8.1.0", + "version": "8.2.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -60,10 +60,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/type-utils": "8.1.0", - "@typescript-eslint/utils": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/type-utils": "8.2.0", + "@typescript-eslint/utils": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -74,8 +74,8 @@ "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "8.1.0", - "@typescript-eslint/rule-tester": "8.1.0", + "@typescript-eslint/rule-schema-to-typescript-types": "8.2.0", + "@typescript-eslint/rule-tester": "8.2.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/node_modules/@typescript-eslint/parser/package.json b/node_modules/@typescript-eslint/parser/package.json index b7bf12aa9a..b48ec43643 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": "8.1.0", + "version": "8.2.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -52,10 +52,10 @@ "eslint": "^8.57.0 || ^9.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js index c8681e4844..a95bbe3f73 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js @@ -392,7 +392,7 @@ class Referencer extends Visitor_1.Visitor { this.visitType(node.typeArguments); } PrivateIdentifier() { - // private identifiers are members on classes and thus have no variables to to reference + // private identifiers are members on classes and thus have no variables to reference } Program(node) { const globalScope = this.scopeManager.nestGlobalScope(node); diff --git a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map index ee6a5c8fc8..66c8e86566 100644 --- a/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +++ b/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map @@ -1 +1 @@ -{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AACA,oDAA0D;AAE1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAG5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAElD,2CAA4C;AAC5C,+CAA4C;AAE5C,uCAAoC;AAQpC,+CAA+C;AAC/C,MAAM,UAAW,SAAQ,iBAAO;IAC9B,UAAU,CAAgB;IAC1B,gBAAgB,CAAgB;IAChC,wBAAwB,GAAG,KAAK,CAAC;IACjC,gCAAgC,GAAG,KAAK,CAAC;IACzC,IAAI,CAAQ;IACI,YAAY,CAAe;IAE3C,YAAY,OAA0B,EAAE,YAA0B;QAChE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC;IAC1B,CAAC;IAIM,YAAY,CAAC,eAAsB;QACxC,IAAI,CAAC,eAAe,EAAE,CAAC;YACrB,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,YAAY,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AI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;gBACpE,IAAI,IAAI,EAAE,CAAC;oBACT,IAAI,CAAC,YAAY,EAAE,CAAC,cAAc,CAChC,OAAO,EACP,yBAAa,CAAC,KAAK,EACnB,IAAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAC;gBACJ,CAAC;YACH,CAAC,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAC;YAEF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAExB,qCAAqC;QACrC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAES,eAAe;QACvB,gFAAgF;IAClF,CAAC;CACF;AAEQ,gCAAU"} \ No newline at end of file +{"version":3,"file":"Referencer.js","sourceRoot":"","sources":["../../src/referencer/Referencer.ts"],"names":[],"mappings":";;;AACA,oDAA0D;AAE1D,sCAAmC;AACnC,8CASuB;AACvB,gCAA4C;AAG5C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAChD,qDAAkD;AAElD,2CAA4C;AAC5C,+CAA4C;AAE5C,uCAAoC;AAQpC,+CAA+C;AAC/C,MAAM,UAAW,SAAQ,iBAAO;IAC9B,UAAU,CAAgB;IAC1B,gBAAgB,CAAgB;IAChC,wBAAwB,GAAG,KAAK,CAAC;IACjC,gCAAgC,GAAG,KAAK,CAAC;IACzC,IAAI,CAAQ;IACI,YAAY,CAAe;IAE3C,YAAY,OA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CAAC,YAAY,EAAE,CAAC;QAE1B,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACrC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YAEvB,IAAI,CAAC,YAAY,CACf,IAAI,CAAC,EAAE,EACP,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE;gBAChB,mBAAmB,CAAC,gBAAgB,CAClC,OAAO,EACP,IAAI,+BAAkB,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAC5C,CAAC;gBAEF,IAAI,CAAC,uBAAuB,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;gBACpE,IAAI,IAAI,EAAE,CAAC;oBACT,IAAI,CAAC,YAAY,EAAE,CAAC,cAAc,CAChC,OAAO,EACP,yBAAa,CAAC,KAAK,EACnB,IAAI,EACJ,IAAI,EACJ,IAAI,CACL,CAAC;gBACJ,CAAC;YACH,CAAC,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAC;YAEF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAES,aAAa,CAAC,IAA4B;QAClD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAExB,qCAAqC;QACrC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QAEtC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEtB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IAES,eAAe;QACvB,gFAAgF;IAClF,CAAC;CACF;AAEQ,gCAAU"} \ 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 ffb256d6d0..b30053bd7b 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": "8.1.0", + "version": "8.2.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0" + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "8.1.0", + "@typescript-eslint/typescript-estree": "8.2.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.d.ts.map b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.d.ts.map index 35c18d2d69..de535b28d8 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.d.ts.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"typeDeclaredInFile.d.ts","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/typeDeclaredInFile.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,gBAAgB,EAAE,EAAE,CAAC,UAAU,EAAE,EACjC,OAAO,EAAE,EAAE,CAAC,OAAO,GAClB,OAAO,CAaT"} \ No newline at end of file +{"version":3,"file":"typeDeclaredInFile.d.ts","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/typeDeclaredInFile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAEtC,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,gBAAgB,EAAE,EAAE,CAAC,UAAU,EAAE,EACjC,OAAO,EAAE,EAAE,CAAC,OAAO,GAClB,OAAO,CAaT"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js index 473bb9b018..bcfb4d6b97 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js @@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.typeDeclaredInFile = typeDeclaredInFile; +const node_path_1 = __importDefault(require("node:path")); const typescript_estree_1 = require("@typescript-eslint/typescript-estree"); -const path_1 = __importDefault(require("path")); function typeDeclaredInFile(relativePath, declarationFiles, program) { if (relativePath === undefined) { const cwd = (0, typescript_estree_1.getCanonicalFileName)(program.getCurrentDirectory()); return declarationFiles.some(declaration => (0, typescript_estree_1.getCanonicalFileName)(declaration.fileName).startsWith(cwd)); } - const absolutePath = (0, typescript_estree_1.getCanonicalFileName)(path_1.default.join(program.getCurrentDirectory(), relativePath)); + const absolutePath = (0, typescript_estree_1.getCanonicalFileName)(node_path_1.default.join(program.getCurrentDirectory(), relativePath)); return declarationFiles.some(declaration => (0, typescript_estree_1.getCanonicalFileName)(declaration.fileName) === absolutePath); } //# sourceMappingURL=typeDeclaredInFile.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js.map b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js.map index 1862df80c1..47a8e8146e 100644 --- a/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js.map +++ b/node_modules/@typescript-eslint/type-utils/dist/typeOrValueSpecifiers/typeDeclaredInFile.js.map @@ -1 +1 @@ -{"version":3,"file":"typeDeclaredInFile.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/typeDeclaredInFile.ts"],"names":[],"mappings":";;;;;AAIA,gDAiBC;AArBD,4EAA4E;AAC5E,gDAAwB;AAGxB,SAAgB,kBAAkB,CAChC,YAAgC,EAChC,gBAAiC,EACjC,OAAmB;IAEnB,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,GAAG,GAAG,IAAA,wCAAoB,EAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAC;QAChE,OAAO,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CACzC,IAAA,wCAAoB,EAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAC3D,CAAC;IACJ,CAAC;IACD,MAAM,YAAY,GAAG,IAAA,wCAAoB,EACvC,cAAI,CAAC,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,YAAY,CAAC,CACvD,CAAC;IACF,OAAO,gBAAgB,CAAC,IAAI,CAC1B,WAAW,CAAC,EAAE,CAAC,IAAA,wCAAoB,EAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,YAAY,CAC3E,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"typeDeclaredInFile.js","sourceRoot":"","sources":["../../src/typeOrValueSpecifiers/typeDeclaredInFile.ts"],"names":[],"mappings":";;;;;AAKA,gDAiBC;AAtBD,0DAA6B;AAE7B,4EAA4E;AAG5E,SAAgB,kBAAkB,CAChC,YAAgC,EAChC,gBAAiC,EACjC,OAAmB;IAEnB,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,GAAG,GAAG,IAAA,wCAAoB,EAAC,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAC;QAChE,OAAO,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CACzC,IAAA,wCAAoB,EAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAC3D,CAAC;IACJ,CAAC;IACD,MAAM,YAAY,GAAG,IAAA,wCAAoB,EACvC,mBAAI,CAAC,IAAI,CAAC,OAAO,CAAC,mBAAmB,EAAE,EAAE,YAAY,CAAC,CACvD,CAAC;IACF,OAAO,gBAAgB,CAAC,IAAI,CAC1B,WAAW,CAAC,EAAE,CAAC,IAAA,wCAAoB,EAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,YAAY,CAC3E,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/type-utils/package.json b/node_modules/@typescript-eslint/type-utils/package.json index ea0b3c6128..9fd45bb64d 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": "8.1.0", + "version": "8.2.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,14 +46,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "8.1.0", - "@typescript-eslint/utils": "8.1.0", + "@typescript-eslint/typescript-estree": "8.2.0", + "@typescript-eslint/utils": "8.2.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "8.1.0", + "@typescript-eslint/parser": "8.2.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", diff --git a/node_modules/@typescript-eslint/types/package.json b/node_modules/@typescript-eslint/types/package.json index ec266c9c05..0e82e2c5c6 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": "8.1.0", + "version": "8.2.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js index d40a3d0ac9..0436646e6b 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js @@ -1744,7 +1744,7 @@ class Converter { .slice(0, -1) // `BigInt` doesn't accept numeric separator // and `bigint` property should not include numeric separator - .replace(/_/g, ''); + .replaceAll('_', ''); const value = typeof BigInt !== 'undefined' ? BigInt(bigint) : null; return this.createNode(node, { type: ts_estree_1.AST_NODE_TYPES.Literal, diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map index c73eba48f2..57efd7c9e9 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map @@ -1 +1 @@ -{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA,oCAQC;AAhED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAEjC,iDAA6D;AAE7D,6CA2BsB;AAOtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACH,GAAG,CAAgB;IACnB,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAA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;gBACrC,WAAW,CAAC,KAAK,GAAG,EAAE,CAAC,SAAS,CAAC,KAAK,EACtC,CAAC;gBACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,+EAA+E,CAChF,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,IACL,CAAC,IAAA,oCAAuB,EAAC,WAAW,CAAC;YACrC,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YAC1D,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,sBAAsB,EACzD,CAAC;YACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,4BAA4B,IAAI,sDAAsD,CACvF,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAx/GD,8BAw/GC"} \ No newline at end of file +{"version":3,"file":"convert.js","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAwDA,oCAQC;AAhED,2DAA2D;AAC3D,2SAA2S;AAC3S,+CAAiC;AAEjC,iDAA6D;AAE7D,6CA2BsB;AAOtB,2CAA6C;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AASjC;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2D;IAE3D,OAAO,IAAA,wBAAW,EAChB,CAAC,SAAS,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,IAAK,KAAK,CAAC,WAAsB,EACtE,KAAK,CAAC,IAAK,EACX,KAAK,CAAC,KAAM,CACb,CAAC;AACJ,CAAC;AAOD,MAAa,SAAS;IACH,GAAG,CAAgB;IACnB,OAAO,CAAmB;IAC1B,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IACtC,qBAAqB,GAAG,IAAI,OAAO,EAAE,CAAC;IAE/C,YAAY,GAAG,KAAK,CAAC;IAE7B;;;;;OAKG;IACH,YAAY,GAAkB,EAAE,OAA0B;QACxD,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI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,oCAAuB,EAAC,WAAW,CAAC;YACrC,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YAC1D,WAAW,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,sBAAsB,EACzD,CAAC;YACD,IAAI,CAAC,WAAW,CACd,WAAW,EACX,4BAA4B,IAAI,sDAAsD,CACvF,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAx/GD,8BAw/GC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts index 4b2df1b424..3e5f70aadf 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts @@ -1,10 +1,9 @@ -import * as ts from 'typescript'; +import type * 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; -export { createProjectProgram }; +export declare function createProjectProgram(parseSettings: ParseSettings, programsForProjects: readonly ts.Program[]): ASTAndDefiniteProgram; //# sourceMappingURL=createProjectProgram.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map index f46ad234bb..9057fb1b7d 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAgBtD;;;GAGG;AACH,iBAAS,oBAAoB,CAC3B,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CA+EvB;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js index 162a0c57ff..a2d4898f67 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js @@ -1,49 +1,14 @@ "use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.createProjectProgram = createProjectProgram; const debug_1 = __importDefault(require("debug")); -const path_1 = __importDefault(require("path")); -const ts = __importStar(require("typescript")); const node_utils_1 = require("../node-utils"); -const describeFilePath_1 = require("./describeFilePath"); +const createProjectProgramError_1 = require("./createProjectProgramError"); const shared_1 = require("./shared"); const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram'); -const DEFAULT_EXTRA_FILE_EXTENSIONS = [ - ts.Extension.Ts, - ts.Extension.Tsx, - ts.Extension.Js, - ts.Extension.Jsx, - ts.Extension.Mjs, - ts.Extension.Mts, - ts.Extension.Cjs, - ts.Extension.Cts, -]; /** * @param parseSettings Internal settings for parsing the file * @returns If found, the source file corresponding to the code and the containing program @@ -51,49 +16,9 @@ const DEFAULT_EXTRA_FILE_EXTENSIONS = [ function createProjectProgram(parseSettings, programsForProjects) { log('Creating project program for: %s', parseSettings.filePath); const astAndProgram = (0, node_utils_1.firstDefined)(programsForProjects, currentProgram => (0, shared_1.getAstFromProgram)(currentProgram, parseSettings.filePath)); - // The file was matched within the tsconfig - if (astAndProgram) { - return astAndProgram; - } - const describeProjectFilePath = (projectFile) => (0, describeFilePath_1.describeFilePath)(projectFile, parseSettings.tsconfigRootDir); - const describedFilePath = (0, describeFilePath_1.describeFilePath)(parseSettings.filePath, parseSettings.tsconfigRootDir); - const relativeProjects = Array.from(parseSettings.projects.values()).map(describeProjectFilePath); - const describedPrograms = relativeProjects.length === 1 - ? ` ${relativeProjects[0]}` - : `\n${relativeProjects.map(project => `- ${project}`).join('\n')}`; - const errorLines = [ - `ESLint was configured to run on \`${describedFilePath}\` using \`parserOptions.project\`:${describedPrograms}`, - ]; - let hasMatchedAnError = false; - const { extraFileExtensions } = parseSettings; - extraFileExtensions.forEach(extraExtension => { - if (!extraExtension.startsWith('.')) { - errorLines.push(`Found unexpected extension \`${extraExtension}\` specified with the \`parserOptions.extraFileExtensions\` option. Did you mean \`.${extraExtension}\`?`); - } - if (DEFAULT_EXTRA_FILE_EXTENSIONS.includes(extraExtension)) { - errorLines.push(`You unnecessarily included the extension \`${extraExtension}\` with the \`parserOptions.extraFileExtensions\` option. This extension is already handled by the parser by default.`); - } - }); - const fileExtension = path_1.default.extname(parseSettings.filePath); - if (!DEFAULT_EXTRA_FILE_EXTENSIONS.includes(fileExtension)) { - const nonStandardExt = `The extension for the file (\`${fileExtension}\`) is non-standard`; - if (extraFileExtensions.length > 0) { - if (!extraFileExtensions.includes(fileExtension)) { - errorLines.push(`${nonStandardExt}. It should be added to your existing \`parserOptions.extraFileExtensions\`.`); - hasMatchedAnError = true; - } - } - else { - errorLines.push(`${nonStandardExt}. You should add \`parserOptions.extraFileExtensions\` to your config.`); - hasMatchedAnError = true; - } - } - if (!hasMatchedAnError) { - const [describedInclusions, describedSpecifiers] = parseSettings.projects.size === 1 - ? ['that TSConfig does not', 'that TSConfig'] - : ['none of those TSConfigs', 'one of those TSConfigs']; - errorLines.push(`However, ${describedInclusions} include this file. Either:`, `- Change ESLint's list of included files to not include this file`, `- Change ${describedSpecifiers} to include this file`, `- Create a new TSConfig that includes this file and include it in your parserOptions.project`, `See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file`); + if (!astAndProgram) { + throw new Error((0, createProjectProgramError_1.createProjectProgramError)(parseSettings, programsForProjects).join('\n')); } - throw new Error(errorLines.join('\n')); + return astAndProgram; } //# sourceMappingURL=createProjectProgram.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map index 095164914e..f327ea8fb8 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+GS,oDAAoB;AA/G7B,kDAA0B;AAC1B,gDAAwB;AACxB,+CAAiC;AAEjC,8CAA6C;AAE7C,yDAAsD;AAEtD,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E,MAAM,6BAA6B,GAAG;IACpC,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,GAAG;CACI,CAAC;AAEvB;;;GAGG;AACH,SAAS,oBAAoB,CAC3B,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAA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,CAAC;IAEH,MAAM,aAAa,GAAG,cAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC3D,IAAI,CAAC,6BAA6B,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;QAC3D,MAAM,cAAc,GAAG,iCAAiC,aAAa,qBAAqB,CAAC;QAC3F,IAAI,mBAAmB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC;gBACjD,UAAU,CAAC,IAAI,CACb,GAAG,cAAc,8EAA8E,CAChG,CAAC;gBACF,iBAAiB,GAAG,IAAI,CAAC;YAC3B,CAAC;QACH,CAAC;aAAM,CAAC;YACN,UAAU,CAAC,IAAI,CACb,GAAG,cAAc,wEAAwE,CAC1F,CAAC;YACF,iBAAiB,GAAG,IAAI,CAAC;QAC3B,CAAC;IACH,CAAC;IAED,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,MAAM,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,GAC9C,aAAa,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC;YAC/B,CAAC,CAAC,CAAC,wBAAwB,EAAE,eAAe,CAAC;YAC7C,CAAC,CAAC,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;QAC5D,UAAU,CAAC,IAAI,CACb,YAAY,mBAAmB,6BAA6B,EAC5D,mEAAmE,EACnE,YAAY,mBAAmB,uBAAuB,EACtD,8FAA8F,EAC9F,0OAA0O,CAC3O,CAAC;IACJ,CAAC;IAED,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAeA,oDAiBC;AAhCD,kDAA0B;AAG1B,8CAA6C;AAE7C,2EAAwE;AAExE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAE9E;;;GAGG;AACH,SAAgB,oBAAoB,CAClC,aAA4B,EAC5B,mBAA0C;IAE1C,GAAG,CAAC,kCAAkC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEhE,MAAM,aAAa,GAAG,IAAA,yBAAY,EAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE,CACvE,IAAA,0BAAiB,EAAC,cAAc,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1D,CAAC;IAEF,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CACb,IAAA,qDAAyB,EAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CACzE,CAAC;IACJ,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts new file mode 100644 index 0000000000..c6c3702cb3 --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts @@ -0,0 +1,4 @@ +import * as ts from 'typescript'; +import type { ParseSettings } from '../parseSettings'; +export declare function createProjectProgramError(parseSettings: ParseSettings, programsForProjects: readonly ts.Program[]): string[]; +//# sourceMappingURL=createProjectProgramError.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts.map new file mode 100644 index 0000000000..6bab09e4d1 --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"createProjectProgramError.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgramError.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AActD,wBAAgB,yBAAyB,CACvC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,MAAM,EAAE,CAUV"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js new file mode 100644 index 0000000000..b8fb63fbfa --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js @@ -0,0 +1,108 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.createProjectProgramError = createProjectProgramError; +const node_path_1 = __importDefault(require("node:path")); +const ts = __importStar(require("typescript")); +const describeFilePath_1 = require("./describeFilePath"); +const DEFAULT_EXTRA_FILE_EXTENSIONS = new Set([ + ts.Extension.Ts, + ts.Extension.Tsx, + ts.Extension.Js, + ts.Extension.Jsx, + ts.Extension.Mjs, + ts.Extension.Mts, + ts.Extension.Cjs, + ts.Extension.Cts, +]); +function createProjectProgramError(parseSettings, programsForProjects) { + const describedFilePath = (0, describeFilePath_1.describeFilePath)(parseSettings.filePath, parseSettings.tsconfigRootDir); + return [ + getErrorStart(describedFilePath, parseSettings), + ...getErrorDetails(describedFilePath, parseSettings, programsForProjects), + ]; +} +function getErrorStart(describedFilePath, parseSettings) { + const relativeProjects = Array.from(parseSettings.projects.values()).map(projectFile => (0, describeFilePath_1.describeFilePath)(projectFile, parseSettings.tsconfigRootDir)); + const describedPrograms = relativeProjects.length === 1 + ? ` ${relativeProjects[0]}` + : `\n${relativeProjects.map(project => `- ${project}`).join('\n')}`; + return `ESLint was configured to run on \`${describedFilePath}\` using \`parserOptions.project\`:${describedPrograms}`; +} +function getErrorDetails(describedFilePath, parseSettings, programsForProjects) { + if (programsForProjects.length === 1 && + programsForProjects[0].getProjectReferences()?.length) { + return [ + `That TSConfig uses project "references" and doesn't include \`${describedFilePath}\` directly, which is not supported by \`parserOptions.project\`.`, + `Either:`, + `- Switch to \`parserOptions.projectService\``, + `- Use an ESLint-specific TSConfig`, + `See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#are-typescript-project-references-supported`, + ]; + } + const { extraFileExtensions } = parseSettings; + const details = []; + for (const extraExtension of extraFileExtensions) { + if (!extraExtension.startsWith('.')) { + details.push(`Found unexpected extension \`${extraExtension}\` specified with the \`parserOptions.extraFileExtensions\` option. Did you mean \`.${extraExtension}\`?`); + } + if (DEFAULT_EXTRA_FILE_EXTENSIONS.has(extraExtension)) { + details.push(`You unnecessarily included the extension \`${extraExtension}\` with the \`parserOptions.extraFileExtensions\` option. This extension is already handled by the parser by default.`); + } + } + const fileExtension = node_path_1.default.extname(parseSettings.filePath); + if (!DEFAULT_EXTRA_FILE_EXTENSIONS.has(fileExtension)) { + const nonStandardExt = `The extension for the file (\`${fileExtension}\`) is non-standard`; + if (extraFileExtensions.length > 0) { + if (!extraFileExtensions.includes(fileExtension)) { + return [ + ...details, + `${nonStandardExt}. It should be added to your existing \`parserOptions.extraFileExtensions\`.`, + ]; + } + } + else { + return [ + ...details, + `${nonStandardExt}. You should add \`parserOptions.extraFileExtensions\` to your config.`, + ]; + } + } + const [describedInclusions, describedSpecifiers] = parseSettings.projects.size === 1 + ? ['that TSConfig does not', 'that TSConfig'] + : ['none of those TSConfigs', 'one of those TSConfigs']; + return [ + ...details, + `However, ${describedInclusions} include this file. Either:`, + `- Change ESLint's list of included files to not include this file`, + `- Change ${describedSpecifiers} to include this file`, + `- Create a new TSConfig that includes this file and include it in your parserOptions.project`, + `See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file`, + ]; +} +//# sourceMappingURL=createProjectProgramError.js.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js.map new file mode 100644 index 0000000000..693a5a27dc --- /dev/null +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgramError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"createProjectProgramError.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgramError.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,8DAaC;AA/BD,0DAA6B;AAE7B,+CAAiC;AAGjC,yDAAsD;AAEtD,MAAM,6BAA6B,GAAG,IAAI,GAAG,CAAS;IACpD,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,EAAE;IACf,EAAE,CAAC,SAAS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC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BAAyB,EAAE,wBAAwB,CAAC,CAAC;IAE5D,OAAO;QACL,GAAG,OAAO;QACV,YAAY,mBAAmB,6BAA6B;QAC5D,mEAAmE;QACnE,YAAY,mBAAmB,uBAAuB;QACtD,8FAA8F;QAC9F,0OAA0O;KAC3O,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts index d85e23cbc7..1495484438 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts @@ -6,5 +6,5 @@ export interface ProjectServiceSettings { maximumDefaultProjectFileMatchCount: number; service: TypeScriptProjectService; } -export declare function createProjectService(optionsRaw: boolean | ProjectServiceOptions | undefined, jsDocParsingMode: ts.JSDocParsingMode | undefined): ProjectServiceSettings; +export declare function createProjectService(optionsRaw: boolean | ProjectServiceOptions | undefined, jsDocParsingMode: ts.JSDocParsingMode | undefined, tsconfigRootDir: string | undefined): ProjectServiceSettings; //# sourceMappingURL=createProjectService.d.ts.map \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map index 0306c8717f..632e53aff0 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA0B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,GAChD,sBAAsB,CAiHxB"} \ No newline at end of file +{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA0B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mCAAmC,EAAE,MAAM,CAAC;IAC5C,OAAO,EAAE,wBAAwB,CAAC;CACnC;AAED,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,GAAG,qBAAqB,GAAG,SAAS,EACvD,gBAAgB,EAAE,EAAE,CAAC,gBAAgB,GAAG,SAAS,EACjD,eAAe,EAAE,MAAM,GAAG,SAAS,GAClC,sBAAsB,CAiHxB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js index dfb056e0e7..1d9c3a9491 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js @@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.createProjectService = createProjectService; /* eslint-disable @typescript-eslint/no-empty-function -- for TypeScript APIs*/ -const node_path_1 = __importDefault(require("node:path")); const debug_1 = __importDefault(require("debug")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const validateDefaultProjectForFilesGlob_1 = require("./validateDefaultProjectForFilesGlob"); @@ -19,7 +18,7 @@ const doNothing = () => { }; const createStubFileWatcher = () => ({ close: doNothing, }); -function createProjectService(optionsRaw, jsDocParsingMode) { +function createProjectService(optionsRaw, jsDocParsingMode, tsconfigRootDir) { const options = typeof optionsRaw === 'object' ? optionsRaw : {}; (0, validateDefaultProjectForFilesGlob_1.validateDefaultProjectForFilesGlob)(options); // We import this lazily to avoid its cost for users who don't use the service @@ -97,7 +96,7 @@ function createProjectService(optionsRaw, jsDocParsingMode) { log('Enabling default project: %s', options.defaultProject); let configFile; try { - configFile = (0, getParsedConfigFile_1.getParsedConfigFile)(tsserver, options.defaultProject, node_path_1.default.dirname(options.defaultProject)); + configFile = (0, getParsedConfigFile_1.getParsedConfigFile)(tsserver, options.defaultProject, tsconfigRootDir); } catch (error) { throw new Error(`Could not read default project '${options.defaultProject}': ${error.message}`); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map index b4f6637b72..e48151af04 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectService.js.map @@ -1 +1 @@ -{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AAwCA,oDAoHC;AA5JD,+EAA+E;AAC/E,0DAA6B;AAE7B,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAC9E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EAAE;YACX,6BAA6B,EAAE,KAAK;SACrC;KACF,CAAC,CAAC;IAEH,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC;QAC3B,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;QAC5D,IAAI,UAAgC,CAAC;QAErC,IAAI,CAAC;YACH,UAAU,GAAG,IAAA,yCAAmB,EAC9B,QAAQ,EACR,OAAO,CAAC,cAAc,EACtB,mBAAI,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CACrC,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,mCAAmC,OAAO,CAAC,cAAc,MAAO,KAAe,CAAC,OAAO,EAAE,CAC1F,CAAC;QACJ,CAAC;QAED,OAAO,CAAC,qCAAqC;QAC3C,mFAAmF;QACnF,uFAAuF;QACvF,iFAAiF;QACjF,yHAAyH;QACzH,UAAU,CAAC,OAA4D,CACxE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AAsCA,oDAqHC;AA3JD,+EAA+E;AAC/E,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,0DAA0D,CAAC,CAAC;AAC9E,MAAM,cAAc,GAAG,IAAA,eAAK,EAC1B,kDAAkD,CACnD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,eAAK,EAC3B,mDAAmD,CACpD,CAAC;AACF,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AgC,CAAC;QAErC,IAAI,CAAC;YACH,UAAU,GAAG,IAAA,yCAAmB,EAC9B,QAAQ,EACR,OAAO,CAAC,cAAc,EACtB,eAAe,CAChB,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,mCAAmC,OAAO,CAAC,cAAc,MAAO,KAAe,CAAC,OAAO,EAAE,CAC1F,CAAC;QACJ,CAAC;QAED,OAAO,CAAC,qCAAqC;QAC3C,mFAAmF;QACnF,uFAAuF;QACvF,iFAAiF;QACjF,yHAAyH;QACzH,UAAU,CAAC,OAA4D,CACxE,CAAC;IACJ,CAAC;IAED,OAAO;QACL,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js index b47a922e0c..b474fc0383 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js @@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.describeFilePath = describeFilePath; -const path_1 = __importDefault(require("path")); +const node_path_1 = __importDefault(require("node:path")); function describeFilePath(filePath, tsconfigRootDir) { // If the TSConfig root dir is a parent of the filePath, use // `` as a prefix for the path. - const relative = path_1.default.relative(tsconfigRootDir, filePath); - if (relative && !relative.startsWith('..') && !path_1.default.isAbsolute(relative)) { + const relative = node_path_1.default.relative(tsconfigRootDir, filePath); + if (relative && !relative.startsWith('..') && !node_path_1.default.isAbsolute(relative)) { return `/${relative}`; } // Root-like Mac/Linux (~/*, ~*) or Windows (C:/*, /) paths that aren't diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map index 4d044fcd2a..50b9e8ab62 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/describeFilePath.js.map @@ -1 +1 @@ -{"version":3,"file":"describeFilePath.js","sourceRoot":"","sources":["../../src/create-program/describeFilePath.ts"],"names":[],"mappings":";;;;;AAEA,4CA4BC;AA9BD,gDAAwB;AAExB,SAAgB,gBAAgB,CAC9B,QAAgB,EAChB,eAAuB;IAEvB,4DAA4D;IAC5D,gDAAgD;IAChD,MAAM,QAAQ,GAAG,cAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;IAC1D,IAAI,QAAQ,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,cAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzE,OAAO,qBAAqB,QAAQ,EAAE,CAAC;IACzC,CAAC;IAED,uEAAuE;IACvE,+DAA+D;IAC/D,uEAAuE;IACvE,qEAAqE;IACrE,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,qEAAqE;IACrE,8CAA8C;IAC9C,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,yEAAyE;IACzE,uDAAuD;IACvD,OAAO,qBAAqB,QAAQ,EAAE,CAAC;AACzC,CAAC"} \ No newline at end of file +{"version":3,"file":"describeFilePath.js","sourceRoot":"","sources":["../../src/create-program/describeFilePath.ts"],"names":[],"mappings":";;;;;AAEA,4CA4BC;AA9BD,0DAA6B;AAE7B,SAAgB,gBAAgB,CAC9B,QAAgB,EAChB,eAAuB;IAEvB,4DAA4D;IAC5D,gDAAgD;IAChD,MAAM,QAAQ,GAAG,mBAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;IAC1D,IAAI,QAAQ,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzE,OAAO,qBAAqB,QAAQ,EAAE,CAAC;IACzC,CAAC;IAED,uEAAuE;IACvE,+DAA+D;IAC/D,uEAAuE;IACvE,qEAAqE;IACrE,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,qEAAqE;IACrE,8CAA8C;IAC9C,IAAI,eAAe,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,yEAAyE;IACzE,uDAAuD;IACvD,OAAO,qBAAqB,QAAQ,EAAE,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map index 192a8ff1d0..a635d18e57 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D;;;;;GAKG;AACH,iBAAS,mBAAmB,CAC1B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CAyCtB;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.d.ts","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D;;;;;GAKG;AACH,iBAAS,mBAAmB,CAC1B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,iBAAiB,CAyCtB;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js index fdc1c54c1a..4432ab9877 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js @@ -24,8 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getParsedConfigFile = getParsedConfigFile; -const fs = __importStar(require("fs")); -const path = __importStar(require("path")); +const fs = __importStar(require("node:fs")); +const path = __importStar(require("node:path")); const shared_1 = require("./shared"); /** * Utility offered by parser to help consumers parse a config file. diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map index e0b212561c..ff99e20219 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getParsedConfigFile.js.map @@ -1 +1 @@ -{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2DS,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YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getParsedConfigFile.js","sourceRoot":"","sources":["../../src/create-program/getParsedConfigFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4DS,kDAAmB;AA5D5B,4CAA8B;AAC9B,gDAAkC;AAIlC,qCAAiD;AAEjD;;;;;GAKG;AACH,SAAS,mBAAmB,CAC1B,QAAmB,EACnB,UAAkB,EAClB,gBAAyB;IAEzB,uEAAuE;IACvE,IAAI,QAAQ,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;QAC/B,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,QAAQ,CAAC,gCAAgC,CACtD,UAAU,EACV,8BAAqB,EACrB;QACE,mCAAmC,EAAE,IAAI,CAAC,EAAE;YAC1C,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,oCAAoC;QAClF,CAAC;QACD,UAAU,EAAE,EAAE,CAAC,UAAU;QACzB,mBAAmB;QACnB,aAAa,EAAE,QAAQ,CAAC,GAAG,CAAC,aAAa;QACzC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC;QAChD,yBAAyB,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB;KAClE,CACF,CAAC;IAEF,IAAI,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACpD,CAAC;IAED,oEAAoE;IACpE,OAAO,MAAO,CAAC;IAEf,SAAS,mBAAmB;QAC1B,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;IAC3E,CAAC;IAED,SAAS,iBAAiB,CAAC,WAA4B;QACrD,OAAO,QAAQ,CAAC,iBAAiB,CAAC,WAAW,EAAE;YAC7C,oBAAoB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAC5B,mBAAmB;YACnB,UAAU,EAAE,GAAG,EAAE,CAAC,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;AACH,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map index a53274ef91..07478346cb 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.d.ts","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,iBAAS,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,EAAE,CAAC,UAAU,CA8BpE;AAED,iBAAS,kBAAkB,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,eAAe,CAYzE;AAED,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js index aecc9749bb..6439f7c42c 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js @@ -28,10 +28,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.getScriptKind = getScriptKind; exports.getLanguageVariant = getLanguageVariant; -const path_1 = __importDefault(require("path")); +const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); function getScriptKind(filePath, jsx) { - const extension = path_1.default.extname(filePath).toLowerCase(); + const extension = node_path_1.default.extname(filePath).toLowerCase(); // note - we only respect the user's jsx setting for unknown extensions // this is so that we always match TS's internal script kind logic, preventing // weird errors due to a mismatch. diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map index dc922455a4..de104fcbdc 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map @@ -1 +1 @@ -{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDS,sCAAa;AAAE,gDAAkB;AAjD1C,gDAAwB;AACxB,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EA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AC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getScriptKind.js","sourceRoot":"","sources":["../../src/create-program/getScriptKind.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDS,sCAAa;AAAE,gDAAkB;AAlD1C,0DAA6B;AAE7B,+CAAiC;AAEjC,SAAS,aAAa,CAAC,QAAgB,EAAE,GAAY;IACnD,MAAM,SAAS,GAAG,mBAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAkB,CAAC;IACvE,uEAAuE;IACvE,8EAA8E;IAC9E,kCAAkC;IAClC,8HAA8H;IAC9H,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QACrB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC;QACtB,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAE1B,KAAK,EAAE,CAAC,SAAS,CAAC,GAAG;YACnB,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QAE3B,KAAK,EAAE,CAAC,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAE5B;YACE,mGAAmG;YACnG,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;IACtD,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,UAAyB;IACnD,8HAA8H;IAC9H,QAAQ,UAAU,EAAE,CAAC;QACnB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC;QACvB,KAAK,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QACtB,KAAK,EAAE,CAAC,UAAU,CAAC,IAAI;YACrB,OAAO,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC;QAEhC;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC;IACvC,CAAC;AACH,CAAC"} \ No newline at end of file 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 90961e84e8..03070a86bb 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;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,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":"AAGA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA8CtD;;;GAGG;AACH,iBAAS,gBAAgB,IAAI,IAAI,CAOhC;AA4DD;;;;GAIG;AACH,iBAAS,2BAA2B,CAClC,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,OAAO,EAAE,CA8Gd;AA6PD,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 2ca94042ca..0b17bf98b1 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 @@ -28,8 +28,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.clearWatchCaches = clearWatchCaches; exports.getWatchProgramsForProjects = getWatchProgramsForProjects; +const node_fs_1 = __importDefault(require("node:fs")); const debug_1 = __importDefault(require("debug")); -const fs_1 = __importDefault(require("fs")); const ts = __importStar(require("typescript")); const source_files_1 = require("../source-files"); const shared_1 = require("./shared"); @@ -258,7 +258,7 @@ function createWatchProgram(tsconfigPath, parseSettings) { return ts.createWatchProgram(watchCompilerHost); } function hasTSConfigChanged(tsconfigPath) { - const stat = fs_1.default.statSync(tsconfigPath); + const stat = node_fs_1.default.statSync(tsconfigPath); const lastModifiedAt = stat.mtimeMs; const cachedLastModifiedAt = tsconfigLastModifiedTimestampCache.get(tsconfigPath); tsconfigLastModifiedTimestampCache.set(tsconfigPath, lastModifiedAt); @@ -345,7 +345,7 @@ function maybeInvalidateProgram(existingWatch, filePath, tsconfigPath) { log('File was still not found in program after directory update - checking file deletions. %s', filePath); const rootFilenames = updatedProgram.getRootFileNames(); // use find because we only need to "delete" one file to cause typescript to do a full resync - const deletedFile = rootFilenames.find(file => !fs_1.default.existsSync(file)); + const deletedFile = rootFilenames.find(file => !node_fs_1.default.existsSync(file)); if (!deletedFile) { // There are no deleted files, so it must be the former case of the file not belonging to this program return null; 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 60a6716bb1..fe0c6eead8 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2eS,4CAAgB;AAAE,kEAA2B;AA3etD,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;AAEJ;;GAEG;AACH,MAAM,oBAAoB,GAAG,IAAI,GAAG,EAAqC,CAAC;AAE1E;;GAEG;AACH,MAAM,kCAAkC,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE5E,MAAM,mBAAmB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE7D;;;GAGG;AACH,SAAS,gBAAgB;IACvB,oBAAoB,CAAC,KAAK,EAAE,CAAC;IAC7B,4BAA4B,CAAC,KAAK,EAAE,CAAC;IACrC,8BAA8B,CAAC,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CAAC,EAAE,CAAC,CAAC,YAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,sGAAsG;QACtG,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,kBAAkB,GAAG,4BAA4B,CAAC,GAAG,CACzD,IAAA,6BAAoB,EAAC,WAAW,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,qCAAqC;QACrC,GAAG,CAAC,kDAAkD,EAAE,WAAW,CAAC,CAAC;QACrE,OAAO,cAAc,CAAC;IACxB,CAAC;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,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;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"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4eS,4CAAgB;AAAE,kEAA2B;AA5etD,sDAAyB;AAEzB,kDAA0B;AAC1B,+CAAiC;AAGjC,kDAA8C;AAE9C,qCAKkB;AAGlB,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E;;G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Aa,CAAC,QAAQ,CAAC,CAAC;IACpD,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,cAAc,CAAC;IACxB,CAAC;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/dist/create-program/shared.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map index aed1fd9ed3..33a7893822 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,eAAe;IACvB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,UAAU,qBAAqB;IAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,KAAK,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAUnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAItE;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAO3C;AAED,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,qCAAqC,EACrC,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,UAAU,eAAe;IACvB,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,IAAI,CAAC;CACf;AACD,UAAU,qBAAqB;IAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,CAAC;IACnB,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;CACrB;AACD,KAAK,aAAa,GAAG,qBAAqB,GAAG,eAAe,CAAC;AAE7D;;GAEG;AACH,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,eAQ/B,CAAC;AAYF,iBAAS,qCAAqC,CAC5C,aAAa,EAAE,aAAa,GAC3B,EAAE,CAAC,eAAe,CASpB;AAGD,KAAK,aAAa,GAAG,MAAM,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAUnD,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAM7D;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAItE;AAED,iBAAS,gBAAgB,CAAC,CAAC,EAAE,aAAa,GAAG,aAAa,CAEzD;AAmBD,iBAAS,iBAAiB,CACxB,cAAc,EAAE,OAAO,EACvB,QAAQ,EAAE,MAAM,GACf,qBAAqB,GAAG,SAAS,CAWnC;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAO3C;AAED,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,qCAAqC,EACrC,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,GAClB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js index 6498d31fef..a8297bb154 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js @@ -33,7 +33,7 @@ exports.createHash = createHash; exports.ensureAbsolutePath = ensureAbsolutePath; exports.getCanonicalFileName = getCanonicalFileName; exports.getAstFromProgram = getAstFromProgram; -const path_1 = __importDefault(require("path")); +const node_path_1 = __importDefault(require("node:path")); const ts = __importStar(require("typescript")); /** * Compiler options required to avoid critical functionality issues @@ -73,19 +73,19 @@ const correctPathCasing = useCaseSensitiveFileNames ? (filePath) => filePath : (filePath) => filePath.toLowerCase(); function getCanonicalFileName(filePath) { - let normalized = path_1.default.normalize(filePath); - if (normalized.endsWith(path_1.default.sep)) { + let normalized = node_path_1.default.normalize(filePath); + if (normalized.endsWith(node_path_1.default.sep)) { normalized = normalized.slice(0, -1); } return correctPathCasing(normalized); } function ensureAbsolutePath(p, tsconfigRootDir) { - return path_1.default.isAbsolute(p) + return node_path_1.default.isAbsolute(p) ? p - : path_1.default.join(tsconfigRootDir || process.cwd(), p); + : node_path_1.default.join(tsconfigRootDir || process.cwd(), p); } function canonicalDirname(p) { - return path_1.default.dirname(p); + return node_path_1.default.dirname(p); } const DEFINITION_EXTENSIONS = [ ts.Extension.Dts, @@ -96,7 +96,7 @@ function getExtension(fileName) { if (!fileName) { return null; } - return (DEFINITION_EXTENSIONS.find(definitionExt => fileName.endsWith(definitionExt)) ?? path_1.default.extname(fileName)); + return (DEFINITION_EXTENSIONS.find(definitionExt => fileName.endsWith(definitionExt)) ?? node_path_1.default.extname(fileName)); } function getAstFromProgram(currentProgram, filePath) { const ast = currentProgram.getSourceFile(filePath); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map index 730903b9da..04825698ac 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map @@ -1 +1 @@ -{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqIE,4CAAgB;AAEhB,sFAAqC;AACrC,gCAAU;AACV,gDAAkB;AAClB,oDAAoB;AACpB,8CAAiB;AA3InB,gDAAwB;AAExB,+CAAiC;AAcjC;;GAEG;AACH,MAAM,qBAAqB,GAAuB;IAChD,MAAM,EAAE,IAAI,EAAE,qDAAqD;IAEnE;;OAEG;IACH,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;CACzB,CAAC;AAyGA,sDAAqB;AAvGvB;;GAEG;AACH,MAAM,wBAAwB,GAAuB;IACnD,GAAG,qBAAqB;IACxB,oBAAoB,EAAE,IAAI;IAC1B,OAAO,EAAE,IAAI;IACb,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,SAAS,qCAAqC,CAC5C,aAA4B;IAE5B,I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AS,CAAC,GAAG;IAChB,EAAE,CAAC,SAAS,CAAC,IAAI;IACjB,EAAE,CAAC,SAAS,CAAC,IAAI;CACT,CAAC;AACX,SAAS,YAAY,CAAC,QAA4B;IAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,qBAAqB,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CACzC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CACjC,IAAI,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAC5B,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACxB,cAAuB,EACvB,QAAgB;IAEhB,MAAM,GAAG,GAAG,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAEnD,oFAAoF;IACpF,MAAM,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;IAC3C,MAAM,WAAW,GAAG,YAAY,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IAChD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,GAAG,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC;AACjD,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file +{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/create-program/shared.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsIE,4CAAgB;AAEhB,sFAAqC;AACrC,gCAAU;AACV,gDAAkB;AAClB,oDAAoB;AACpB,8CAAiB;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OAAe;IACjC,qCAAqC;IACrC,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,EAAE,UAAU,EAAE,CAAC;QACvB,OAAO,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map index 16dc240dce..052f579094 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.d.ts","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAKtD,iBAAS,mBAAmB,CAC1B,gBAAgB,EAAE,QAAQ,CAAC,EAAE,CAAC,OAAO,CAAC,EACtC,aAAa,EAAE,aAAa,GAC3B,qBAAqB,GAAG,SAAS,CAoCnC;AAED;;;;;GAKG;AACH,iBAAS,2BAA2B,CAClC,UAAU,EAAE,MAAM,EAClB,gBAAgB,CAAC,EAAE,MAAM,GACxB,EAAE,CAAC,OAAO,CAIZ;AAED,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js index f82362c3dd..45f38fc684 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js @@ -28,8 +28,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); exports.useProvidedPrograms = useProvidedPrograms; exports.createProgramFromConfigFile = createProgramFromConfigFile; +const path = __importStar(require("node:path")); const debug_1 = __importDefault(require("debug")); -const path = __importStar(require("path")); const ts = __importStar(require("typescript")); const getParsedConfigFile_1 = require("./getParsedConfigFile"); const shared_1 = require("./shared"); diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map index 84db8370da..07b65dc36f 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map @@ -1 +1 @@ -{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":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AAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoES,kDAAmB;AAAE,kEAA2B;AApEzD,gDAAkC;AAElC,kDAA0B;AAC1B,+CAAiC;AAGjC,+DAA4D;AAE5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,wDAAwD,CAAC,CAAC;AAE5E,SAAS,mBAAmB,CAC1B,gBAAsC,EACtC,aAA4B;IAE5B,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,IAAI,aAAgD,CAAC;IACrD,KAAK,MAAM,eAAe,IAAI,gBAAgB,EAAE,CAAC;QAC/C,aAAa,GAAG,IAAA,0BAAiB,EAAC,eAAe,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC3E,gDAAgD;QAChD,IAAI,aAAa,EAAE,CAAC;YAClB,MAAM;QACR,CAAC;IACH,CAAC;IAED,IAAI,aAAa,EAAE,CAAC;QAClB,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,iDAAiD;QACzF,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CACpC,aAAa,CAAC,eAAe,EAC7B,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,GAC7B,aAAa,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC;QAC7B,CAAC,CAAC,CAAC,SAAS,EAAE,YAAY,CAAC;QAC3B,CAAC,CAAC,CAAC,UAAU,EAAE,qBAAqB,CAAC,CAAC;IAE1C,MAAM,UAAU,GAAG;QACjB,kBAAkB,UAAU,oDAAoD;QAChF,iDAAiD,WAAW,KAAK,gBAAgB,EAAE;KACpF,CAAC;IAEF,MAAM,IAAI,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,SAAS,2BAA2B,CAClC,UAAkB,EAClB,gBAAyB;IAEzB,MAAM,MAAM,GAAG,IAAA,yCAAmB,EAAC,EAAE,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;IACrE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js index fc438408f7..388f597ca5 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js @@ -398,7 +398,7 @@ function hasJSXAncestor(node) { * @returns The unescaped string literal text. */ function unescapeStringLiteralText(text) { - return text.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g, entity => { + return text.replaceAll(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g, entity => { const item = entity.slice(1, -1); if (item[0] === '#') { const codePoint = item[1] === 'x' diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map index d518c77c43..1502120b2d 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"node-utils.js","sourceRoot":"","sources":["../src/node-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAmGA,8CAIC;AAED,wDAIC;AAUD,kDAMC;AAOD,kDAEC;AAQD,kCAMC;AAOD,0CAMC;AAOD,0BAIC;AAOD,8BAKC;AAgBD,0DAiCC;AAQD,wDASC;AASD,8BAMC;AAMD,kDAsBC;AAQD,4BAKC;AAkBD,gCAIC;AAOD,gDAiBC;AAOD,wDAoBC;AAUD,sCAuBC;AAQD,8DAYC;AAOD,wCAEC;AAOD,8DAcC;AAOD,gDAIC;AAOD,gCAIC;AAKD,8CAIC;AAKD,0EAaC;AAOD,oCAgGC;AAQD,oCAkCC;AAOD,sCAoBC;AAkDD,kCAYC;AAED,4DAOC;AAMD,sCAMC;AAKD,oCAeC;AAED,0DAOC;AAED,4CAQC;AAED,8CAUC;AAeD,sCAEC;AAGD,sDAIC;AA4BD,gDAuDC;AAED,0DA6BC;AAED,sDAkBC;AA/8BD,+CAAiC;AAEjC,iDAA8C;AAC9C,yDAAqD;AAErD,2CAA8D;AAC9D,mDAA6D;AAE7D,MAAM,WAAW,GAAG,0CAA0B,CAAC,KAAK,CAAC,CAAC;AAEtD,MAAM,UAAU,GAAG,EAAE,CAAC,UAAU,CAAC;AAMjC,MAAM,iBAAiB,GAAqC,IAAI,GAAG,CAAC;IAClE,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,uBAAuB;IAClC,UAAU,CAAC,qBAAqB;CACjC,CAAC,CAAC;AAaH,MAAM,oBAAoB,GAAwC,IAAI,GAAG,CAAC;IACxE,EAAE,CAAC,UAAU,CAAC,WAAW;IACzB,EAAE,CAAC,UAAU,CAAC,eAAe;IAC7B,EAAE,C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MAAM,eAAe,GAAG,IAAA,2BAAY,EAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;QAC/D,IAAI,eAAe,EAAE,MAAM,EAAE,CAAC;YAC5B,SAAS,GAAG,eAAe,CAAC;QAC9B,CAAC;QACD,iBAAiB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAC/C,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map index 1673d781c2..d8e0b89916 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.d.ts","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAKjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAwBpD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,eAAe,GAAE,OAAO,CAAC,eAAe,CAAM,GAC7C,oBAAoB,CA8ItB;AAED,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C;AAED,wBAAgB,2BAA2B,IAAI,IAAI,CAElD"} \ No newline at end of file +{"version":3,"file":"createParseSettings.d.ts","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAKjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAwBpD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,EAAE,CAAC,UAAU,GAAG,MAAM,EAC5B,eAAe,GAAE,OAAO,CAAC,eAAe,CAAM,GAC7C,oBAAoB,CA+ItB;AAED,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C;AAED,wBAAgB,2BAA2B,IAAI,IAAI,CAElD"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js index 4c8b40ae89..ff4507b9c6 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js @@ -110,7 +110,7 @@ function createParseSettings(code, tsestreeOptions = {}) { (tsestreeOptions.project && tsestreeOptions.projectService !== false && process.env.TYPESCRIPT_ESLINT_PROJECT_SERVICE === 'true') - ? (TSSERVER_PROJECT_SERVICE ??= (0, createProjectService_1.createProjectService)(tsestreeOptions.projectService, jsDocParsingMode)) + ? (TSSERVER_PROJECT_SERVICE ??= (0, createProjectService_1.createProjectService)(tsestreeOptions.projectService, jsDocParsingMode, tsconfigRootDir)) : undefined, range: tsestreeOptions.range === true, singleRun, diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map index 24facae355..4d8bff16bb 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/createParseSettings.js.map @@ -1 +1 @@ -{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,kDAiJC;AAED,0DAEC;AAED,kEAEC;AA9LD,kDAA0B;AAC1B,+CAAiC;A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C;QACjC,aAAa,CAAC,QAAQ,IAAI,IAAI;QAC9B,aAAa,CAAC,cAAc,IAAI,IAAI,EACpC,CAAC;QACD,aAAa,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,SAAS,CAAC;IAC9D,CAAC;IAED,IAAA,uCAAkB,EAAC,aAAa,EAAE,cAAc,CAAC,CAAC;IAElD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file +{"version":3,"file":"createParseSettings.js","sourceRoot":"","sources":["../../src/parseSettings/createParseSettings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,kDAkJC;AAED,0DAEC;AAED,kEAEC;AA/LD,kDAA0B;AAC1B,+CAAiC;AAGjC,iFAA8E;AAC9E,qDAA8D;AAE9D,kDAA+C;AAC/C,mDAGyB;AACzB,mEAAgE;AAEhE,qDAAkD;AAClD,6DAA0D;AAC1D,6DAA0D;AAE1D,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,8EAA8E,CAC/E,CAAC;AAEF,IAAI,oBAA0D,CAAC;AAC/D,IAAI,wBAAwB,GAAkC,IAAI,CAAC;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ACvB,CAAC;AAED,SAAgB,uBAAuB;IACrC,oBAAoB,EAAE,KAAK,EAAE,CAAC;AAChC,CAAC;AAED,SAAgB,2BAA2B;IACzC,wBAAwB,GAAG,IAAI,CAAC;AAClC,CAAC;AAED;;GAEG;AACH,SAAS,iBAAiB,CAAC,IAAa;IACtC,OAAO,IAAA,2BAAY,EAAC,IAAI,CAAC;QACvB,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;YACxB,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,GAAa;IAChC,OAAO,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC;AAC1C,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map index bf99e5dd4f..e5aa1d07e0 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.d.ts","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACnC,aAAa,EAAE,IAAI,CACjB,aAAa,EACb,UAAU,GAAG,oBAAoB,GAAG,iBAAiB,CACtD,EACD,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,GAClC,MAAM,EAAE,GAAG,IAAI,CAuCjB"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js index ab0ada1c50..dc4e699df1 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js @@ -27,9 +27,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getProjectConfigFiles = getProjectConfigFiles; +const fs = __importStar(require("node:fs")); +const path = __importStar(require("node:path")); const debug_1 = __importDefault(require("debug")); -const fs = __importStar(require("fs")); -const path = __importStar(require("path")); const log = (0, debug_1.default)('typescript-eslint:typescript-estree:getProjectConfigFiles'); /** * Checks for a matching TSConfig to a file including its parent directories, diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map index 53ca724aed..3ef50a5d00 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/getProjectConfigFiles.js.map @@ -1 +1 @@ -{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,uCAAyB;AACzB,2CAA6B;AAK7B,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file +{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,sDA6CC;AAhED,4CAA8B;AAC9B,gDAAkC;AAElC,kDAA0B;AAK1B,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;;;;;;;GAQG;AACH,SAAgB,qBAAqB,CACnC,aAGC,EACD,OAAmC;IAEnC,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;QACrB,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,EAAE,CAAC;YACzC,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,GAAG,CAAC,gDAAgD,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9E,IAAI,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,CAAC,SAAS,CAAC,CAAC;IAEvC,GAAG,CAAC;QACF,GAAG,CAAC,iCAAiC,EAAE,SAAS,CAAC,CAAC;QAClD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,MAAM,GACV,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC;YAC/C,CAAC,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,CAAC;QAEhD,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,MAAM,SAAS,IAAI,kBAAkB,EAAE,CAAC;gBAC3C,aAAa,CAAC,kBAAkB,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,CAAC;QAClB,CAAC;QAED,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QACpC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,QACC,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,SAAS,CAAC,MAAM,IAAI,aAAa,CAAC,eAAe,CAAC,MAAM,EACxD;IAEF,MAAM,IAAI,KAAK,CACb,gFAAgF,aAAa,CAAC,QAAQ,aAAa,aAAa,CAAC,eAAe,IAAI,CACrJ,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js index c6b874f1da..fcbc3ef47a 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js @@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { }; Object.defineProperty(exports, "__esModule", { value: true }); exports.inferSingleRun = inferSingleRun; -const path_1 = __importDefault(require("path")); +const node_path_1 = __importDefault(require("node:path")); /** * 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 @@ -49,7 +49,7 @@ function inferSingleRun(options) { // Default to single runs for CI processes. CI=true is set by most CI providers by default. process.env.CI === 'true' || // This will be true for invocations such as `npx eslint ...` and `./node_modules/.bin/eslint ...` - possibleEslintBinPaths.some(binPath => process.argv[1].endsWith(path_1.default.normalize(binPath)))) { + possibleEslintBinPaths.some(binPath => process.argv[1].endsWith(node_path_1.default.normalize(binPath)))) { return !process.argv.includes('--fix'); } } diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map index 732632788c..b35209d6dd 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map +++ b/node_modules/@typescript-eslint/typescript-estree/dist/parseSettings/inferSingleRun.js.map @@ -1 +1 @@ -{"version":3,"file":"inferSingleRun.js","sourceRoot":"","sources":["../../src/parseSettings/inferSingleRun.ts"],"names":[],"mappings":";;;;;AAgBA,wCAoDC;AApED,gDAAwB;AAIxB;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,OAAoC;IACjE,qEAAqE;IACrE,yEAAyE;IACzE,iEAAiE;IACjE,IAAI,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,CAAC;QACzC,OAAO,KAAK,CAAC;IACf,CAAC;IAED;IACE,2FAA2F;IAC3F,OAAO,EAAE,OAAO,IAAI,IAAI;QACxB,8FAA8F;QAC9F,uDAAuD;QACvD,OAAO,CAAC,QAAQ,IAAI,IAAI,EACxB,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,gHAAgH;IAChH,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,KAAK,OAAO,EAAE,CAAC;QAChD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,KAAK,MAAM,EAAE,CAAC;QAC/C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,gGAAgG;IAChG,IAAI,CAAC,OAAO,CAAC,mCAAmC,EAAE,CAAC;QACjD,MAAM,sBAAsB,GAAG;YAC7B,0BAA0B,EAAE,mBAAmB;YAC/C,mCAAmC,EAAE,YAAY;SAClD,CAAC;QACF;QACE,2FAA2F;QAC3F,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,MAAM;YACzB,kGAAkG;YAClG,sBAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CACpC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,cAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAClD,EACD,CAAC;YACD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file +{"version":3,"file":"inferSingleRun.js","sourceRoot":"","sources":["../../src/parseSettings/inferSingleRun.ts"],"names":[],"mappings":";;;;;AAgBA,wCAoDC;AApED,0DAA6B;AAI7B;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,OAAoC;IACjE,qEAAqE;IACrE,yEAAyE;IACzE,iEAAiE;IACjE,IAAI,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,CAAC;QACzC,OAAO,KAAK,CAAC;IACf,CAAC;IAED;IACE,2FAA2F;IAC3F,OAAO,EAAE,OAAO,IAAI,IAAI;QACxB,8FAA8F;QAC9F,uDAAuD;QACvD,OAAO,CAAC,QAAQ,IAAI,IAAI,EACxB,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,gHAAgH;IAChH,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,KAAK,OAAO,EAAE,CAAC;QAChD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,OAAO,CAAC,GAAG,CAAC,mBAAmB,KAAK,MAAM,EAAE,CAAC;QAC/C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,gGAAgG;IAChG,IAAI,CAAC,OAAO,CAAC,mCAAmC,EAAE,CAAC;QACjD,MAAM,sBAAsB,GAAG;YAC7B,0BAA0B,EAAE,mBAAmB;YAC/C,mCAAmC,EAAE,YAAY;SAClD,CAAC;QACF;QACE,2FAA2F;QAC3F,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,MAAM;YACzB,kGAAkG;YAClG,sBAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CACpC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,mBAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAClD,EACD,CAAC;YACD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;IAED;;;;;;OAMG;IACH,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js b/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js index e7573de272..fd3abc6882 100644 --- a/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +++ b/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js @@ -30,7 +30,7 @@ function getFirstSemanticOrSyntacticError(program, ast) { * "Debug Failure. Shouldn't ever directly check a JsxOpeningElement" * * For our current use-cases this is undesired behavior, so we just suppress it - * and log a a warning. + * and log a warning. */ /* istanbul ignore next */ console.warn(`Warning From TSC: "${e.message}`); // eslint-disable-line no-console diff --git a/node_modules/@typescript-eslint/typescript-estree/package.json b/node_modules/@typescript-eslint/typescript-estree/package.json index 70ed0cf386..05c9c708d6 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": "8.1.0", + "version": "8.2.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/visitor-keys": "8.1.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/visitor-keys": "8.2.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", diff --git a/node_modules/@typescript-eslint/utils/package.json b/node_modules/@typescript-eslint/utils/package.json index 7beaac1685..1d72c12a70 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": "8.1.0", + "version": "8.2.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -64,9 +64,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.1.0", - "@typescript-eslint/types": "8.1.0", - "@typescript-eslint/typescript-estree": "8.1.0" + "@typescript-eslint/scope-manager": "8.2.0", + "@typescript-eslint/types": "8.2.0", + "@typescript-eslint/typescript-estree": "8.2.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0" diff --git a/node_modules/@typescript-eslint/visitor-keys/package.json b/node_modules/@typescript-eslint/visitor-keys/package.json index 5f88d3bc3e..b36ae74093 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": "8.1.0", + "version": "8.2.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "8.1.0", + "@typescript-eslint/types": "8.2.0", "eslint-visitor-keys": "^3.4.3" }, "devDependencies": { diff --git a/node_modules/debug/package.json b/node_modules/debug/package.json index 3bcdc242fc..8eea055205 100644 --- a/node_modules/debug/package.json +++ b/node_modules/debug/package.json @@ -1,6 +1,6 @@ { "name": "debug", - "version": "4.3.4", + "version": "4.3.6", "repository": { "type": "git", "url": "git://github.com/debug-js/debug.git" @@ -16,7 +16,7 @@ "LICENSE", "README.md" ], - "author": "Josh Junon ", + "author": "Josh Junon (https://github.com/qix-)", "contributors": [ "TJ Holowaychuk ", "Nathan Rajlich (http://n8.io)", @@ -26,7 +26,7 @@ "scripts": { "lint": "xo", "test": "npm run test:node && npm run test:browser && npm run lint", - "test:node": "istanbul cover _mocha -- test.js", + "test:node": "istanbul cover _mocha -- test.js test.node.js", "test:browser": "karma start --single-run", "test:coverage": "cat ./coverage/lcov.info | coveralls" }, @@ -44,6 +44,7 @@ "karma-mocha": "^1.3.0", "mocha": "^5.2.0", "mocha-lcov-reporter": "^1.2.0", + "sinon": "^14.0.0", "xo": "^0.23.0" }, "peerDependenciesMeta": { diff --git a/node_modules/debug/src/browser.js b/node_modules/debug/src/browser.js index cd0fc35d1e..8d808e5889 100644 --- a/node_modules/debug/src/browser.js +++ b/node_modules/debug/src/browser.js @@ -125,6 +125,8 @@ function useColors() { return false; } + let m; + // Is webkit? http://stackoverflow.com/a/16459606/376773 // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || @@ -132,7 +134,7 @@ function useColors() { (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || // Is firefox >= v31? // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages - (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) || // Double check webkit in userAgent just in case we are in a worker (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); } diff --git a/node_modules/debug/src/node.js b/node_modules/debug/src/node.js index 79bc085cb0..715560a4ca 100644 --- a/node_modules/debug/src/node.js +++ b/node_modules/debug/src/node.js @@ -187,11 +187,11 @@ function getDate() { } /** - * Invokes `util.format()` with the specified arguments and writes to stderr. + * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr. */ function log(...args) { - return process.stderr.write(util.format(...args) + '\n'); + return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + '\n'); } /** diff --git a/node_modules/enhanced-resolve/README.md b/node_modules/enhanced-resolve/README.md index 644305c808..887590ecc9 100644 --- a/node_modules/enhanced-resolve/README.md +++ b/node_modules/enhanced-resolve/README.md @@ -1,5 +1,11 @@ # enhanced-resolve +[![npm][npm]][npm-url] +[![Build Status][build-status]][build-status-url] +[![codecov][codecov-badge]][codecov-url] +[![Install Size][size]][size-url] +[![GitHub Discussions][discussion]][discussion-url] + Offers an async require.resolve function. It's highly configurable. ## Features @@ -63,10 +69,10 @@ const myResolver = ResolverFactory.createResolver({ // resolve a file with the new resolver const context = {}; -const resolveContext = {}; const lookupStartPath = "/Users/webpack/some/root/dir"; const request = "./path/to-look-up.js"; -myResolver.resolve({}, lookupStartPath, request, resolveContext, ( +const resolveContext = {}; +myResolver.resolve(context, lookupStartPath, request, resolveContext, ( err /*Error*/, filepath /*string*/ ) => { @@ -83,7 +89,7 @@ myResolver.resolve({}, lookupStartPath, request, resolveContext, ( | extensionAlias | {} | An object which maps extension to extension aliases | | cachePredicate | function() { return true }; | A function which decides whether a request should be cached or not. An object is passed to the function with `path` and `request` properties. | | cacheWithContext | true | If unsafe cache is enabled, includes `request.context` in the cache key | -| conditionNames | ["node"] | A list of exports field condition names | +| conditionNames | [] | A list of exports field condition names | | descriptionFiles | ["package.json"] | A list of description files to read from | | enforceExtension | false | Enforce that a extension from extensions must be used | | exportsFields | ["exports"] | A list of exports fields in description files | @@ -146,8 +152,6 @@ enhanced-resolve will try to resolve requests containing `#` as path and as frag yarn test ``` -[![Build Status](https://secure.travis-ci.org/webpack/enhanced-resolve.png?branch=main)](http://travis-ci.org/webpack/enhanced-resolve) - ## Passing options from webpack If you are using `webpack`, and you want to pass custom options to `enhanced-resolve`, the options are passed from the `resolve` key of your webpack configuration e.g.: @@ -166,3 +170,14 @@ resolve: { Copyright (c) 2012-2019 JS Foundation and other contributors MIT (http://www.opensource.org/licenses/mit-license.php) + +[npm]: https://img.shields.io/npm/v/enhanced-resolve.svg +[npm-url]: https://www.npmjs.com/package/enhanced-resolve +[build-status]: https://github.com/webpack/enhanced-resolve/actions/workflows/test.yml/badge.svg?branch=master +[build-status-url]: https://github.com/webpack/enhanced-resolve/actions +[codecov-badge]: https://codecov.io/gh/webpack/enhanced-resolve/branch/main/graph/badge.svg?token=6B6NxtsZc3 +[codecov-url]: https://codecov.io/gh/webpack/enhanced-resolve +[size]: https://packagephobia.com/badge?p=enhanced-resolve +[size-url]: https://packagephobia.com/result?p=enhanced-resolve +[discussion]: https://img.shields.io/github/discussions/webpack/webpack +[discussion-url]: https://github.com/webpack/webpack/discussions diff --git a/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js b/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js index b7c79e2d33..765c835372 100644 --- a/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js +++ b/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js @@ -9,6 +9,7 @@ const DescriptionFileUtils = require("./DescriptionFileUtils"); const getInnerRequest = require("./getInnerRequest"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").JsonPrimitive} JsonPrimitive */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ @@ -49,13 +50,18 @@ module.exports = class AliasFieldPlugin { ); return callback(); } + /** @type {JsonPrimitive | undefined} */ const data = Object.prototype.hasOwnProperty.call( fieldData, innerRequest ) - ? fieldData[innerRequest] + ? /** @type {{[Key in string]: JsonPrimitive}} */ (fieldData)[ + innerRequest + ] : innerRequest.startsWith("./") - ? fieldData[innerRequest.slice(2)] + ? /** @type {{[Key in string]: JsonPrimitive}} */ (fieldData)[ + innerRequest.slice(2) + ] : undefined; if (data === innerRequest) return callback(); if (data === undefined) return callback(); @@ -71,10 +77,11 @@ module.exports = class AliasFieldPlugin { } return callback(null, ignoreObj); } + /** @type {ResolveRequest} */ const obj = { ...request, - path: request.descriptionFileRoot, - request: data, + path: /** @type {string} */ (request.descriptionFileRoot), + request: /** @type {string} */ (data), fullySpecified: false }; resolver.doResolve( @@ -85,7 +92,7 @@ module.exports = class AliasFieldPlugin { " with mapping '" + innerRequest + "' to '" + - data + + /** @type {string} */ (data) + "'", resolveContext, (err, result) => { diff --git a/node_modules/enhanced-resolve/lib/AliasPlugin.js b/node_modules/enhanced-resolve/lib/AliasPlugin.js index 76f8dbb435..bbe9724a08 100644 --- a/node_modules/enhanced-resolve/lib/AliasPlugin.js +++ b/node_modules/enhanced-resolve/lib/AliasPlugin.js @@ -11,7 +11,8 @@ const { PathType, getType } = require("./util/path"); /** @typedef {import("./Resolver")} Resolver */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ -/** @typedef {{alias: string|Array|false, name: string, onlyModule?: boolean}} AliasOption */ +/** @typedef {string | Array | false} Alias */ +/** @typedef {{alias: Alias, name: string, onlyModule?: boolean}} AliasOption */ module.exports = class AliasPlugin { /** @@ -31,6 +32,10 @@ module.exports = class AliasPlugin { */ apply(resolver) { const target = resolver.ensureHook(this.target); + /** + * @param {string} maybeAbsolutePath path + * @returns {null|string} absolute path with slash ending + */ const getAbsolutePathWithSlashEnding = maybeAbsolutePath => { const type = getType(maybeAbsolutePath); if (type === PathType.AbsolutePosix || type === PathType.AbsoluteWin) { @@ -38,6 +43,11 @@ module.exports = class AliasPlugin { } return null; }; + /** + * @param {string} path path + * @param {string} maybeSubPath sub path + * @returns {boolean} true, if path is sub path + */ const isSubPath = (path, maybeSubPath) => { const absolutePath = getAbsolutePathWithSlashEnding(maybeSubPath); if (!absolutePath) return false; @@ -51,6 +61,7 @@ module.exports = class AliasPlugin { forEachBail( this.options, (item, callback) => { + /** @type {boolean} */ let shouldStop = false; if ( innerRequest === item.name || @@ -59,7 +70,13 @@ module.exports = class AliasPlugin { ? innerRequest.startsWith(`${item.name}/`) : isSubPath(innerRequest, item.name))) ) { - const remainingRequest = innerRequest.substr(item.name.length); + /** @type {string} */ + const remainingRequest = innerRequest.slice(item.name.length); + /** + * @param {Alias} alias alias + * @param {(err?: null|Error, result?: null|ResolveRequest) => void} callback callback + * @returns {void} + */ const resolveWithAlias = (alias, callback) => { if (alias === false) { /** @type {ResolveRequest} */ @@ -79,6 +96,7 @@ module.exports = class AliasPlugin { ) { shouldStop = true; const newRequestStr = alias + remainingRequest; + /** @type {ResolveRequest} */ const obj = { ...request, request: newRequestStr, @@ -104,6 +122,11 @@ module.exports = class AliasPlugin { } return callback(); }; + /** + * @param {null|Error} [err] error + * @param {null|ResolveRequest} [result] result + * @returns {void} + */ const stoppingCallback = (err, result) => { if (err) return callback(err); diff --git a/node_modules/enhanced-resolve/lib/AppendPlugin.js b/node_modules/enhanced-resolve/lib/AppendPlugin.js index 2ab01e878c..45ad052bdb 100644 --- a/node_modules/enhanced-resolve/lib/AppendPlugin.js +++ b/node_modules/enhanced-resolve/lib/AppendPlugin.js @@ -6,6 +6,7 @@ "use strict"; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class AppendPlugin { @@ -29,6 +30,7 @@ module.exports = class AppendPlugin { resolver .getHook(this.source) .tapAsync("AppendPlugin", (request, resolveContext, callback) => { + /** @type {ResolveRequest} */ const obj = { ...request, path: request.path + this.appending, diff --git a/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js b/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js index 74dbd98281..cddf00e5ab 100644 --- a/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js +++ b/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js @@ -8,8 +8,20 @@ const nextTick = require("process").nextTick; /** @typedef {import("./Resolver").FileSystem} FileSystem */ +/** @typedef {import("./Resolver").PathLike} PathLike */ +/** @typedef {import("./Resolver").PathOrFileDescriptor} PathOrFileDescriptor */ /** @typedef {import("./Resolver").SyncFileSystem} SyncFileSystem */ +/** @typedef {FileSystem & SyncFileSystem} BaseFileSystem */ +/** + * @template T + * @typedef {import("./Resolver").FileSystemCallback} FileSystemCallback + */ + +/** + * @param {string} path path + * @returns {string} dirname + */ const dirname = path => { let idx = path.length - 1; while (idx >= 0) { @@ -22,6 +34,12 @@ const dirname = path => { return path.slice(0, idx); }; +/** + * @template T + * @param {FileSystemCallback[]} callbacks callbacks + * @param {Error | null} err error + * @param {T} result result + */ const runCallbacks = (callbacks, err, result) => { if (callbacks.length === 1) { callbacks[0](err, result); @@ -42,9 +60,9 @@ const runCallbacks = (callbacks, err, result) => { class OperationMergerBackend { /** - * @param {any} provider async method - * @param {any} syncProvider sync method - * @param {any} providerContext call context for the provider methods + * @param {Function | undefined} provider async method in filesystem + * @param {Function | undefined} syncProvider sync method in filesystem + * @param {BaseFileSystem} providerContext call context for the provider methods */ constructor(provider, syncProvider, providerContext) { this._provider = provider; @@ -53,38 +71,69 @@ class OperationMergerBackend { this._activeAsyncOperations = new Map(); this.provide = this._provider - ? (path, options, callback) => { + ? /** + * @param {PathLike | PathOrFileDescriptor} path path + * @param {object | FileSystemCallback | undefined} options options + * @param {FileSystemCallback=} callback callback + * @returns {any} result + */ + (path, options, callback) => { if (typeof options === "function") { - callback = options; + callback = /** @type {FileSystemCallback} */ (options); options = undefined; } + if ( + typeof path !== "string" && + !Buffer.isBuffer(path) && + !(path instanceof URL) && + typeof path !== "number" + ) { + /** @type {Function} */ + (callback)( + new TypeError("path must be a string, Buffer, URL or number") + ); + return; + } if (options) { - return this._provider.call( + return /** @type {Function} */ (this._provider).call( this._providerContext, path, options, callback ); } - if (typeof path !== "string") { - callback(new TypeError("path must be a string")); - return; - } let callbacks = this._activeAsyncOperations.get(path); if (callbacks) { callbacks.push(callback); return; } this._activeAsyncOperations.set(path, (callbacks = [callback])); - provider(path, (err, result) => { - this._activeAsyncOperations.delete(path); - runCallbacks(callbacks, err, result); - }); + /** @type {Function} */ + (provider)( + path, + /** + * @param {Error} err error + * @param {any} result result + */ + (err, result) => { + this._activeAsyncOperations.delete(path); + runCallbacks(callbacks, err, result); + } + ); } : null; this.provideSync = this._syncProvider - ? (path, options) => { - return this._syncProvider.call(this._providerContext, path, options); + ? /** + * @param {PathLike | PathOrFileDescriptor} path path + * @param {object=} options options + * @returns {any} result + */ + (path, options) => { + return /** @type {Function} */ (this._syncProvider).call( + this._providerContext, + path, + options + ); } : null; } @@ -117,21 +166,29 @@ const STORAGE_MODE_IDLE = 0; const STORAGE_MODE_SYNC = 1; const STORAGE_MODE_ASYNC = 2; +/** + * @callback Provide + * @param {PathLike | PathOrFileDescriptor} path path + * @param {any} options options + * @param {FileSystemCallback} callback callback + * @returns {void} + */ + class CacheBackend { /** * @param {number} duration max cache duration of items - * @param {any} provider async method - * @param {any} syncProvider sync method - * @param {any} providerContext call context for the provider methods + * @param {function | undefined} provider async method + * @param {function | undefined} syncProvider sync method + * @param {BaseFileSystem} providerContext call context for the provider methods */ constructor(duration, provider, syncProvider, providerContext) { this._duration = duration; this._provider = provider; this._syncProvider = syncProvider; this._providerContext = providerContext; - /** @type {Map} */ + /** @type {Map[]>} */ this._activeAsyncOperations = new Map(); - /** @type {Map }>} */ + /** @type {Map }>} */ this._data = new Map(); /** @type {Set[]} */ this._levels = []; @@ -147,21 +204,35 @@ class CacheBackend { /** @type {number | undefined} */ this._nextDecay = undefined; + // @ts-ignore this.provide = provider ? this.provide.bind(this) : null; + // @ts-ignore this.provideSync = syncProvider ? this.provideSync.bind(this) : null; } + /** + * @param {PathLike | PathOrFileDescriptor} path path + * @param {any} options options + * @param {FileSystemCallback} callback callback + * @returns {void} + */ provide(path, options, callback) { if (typeof options === "function") { callback = options; options = undefined; } - if (typeof path !== "string") { - callback(new TypeError("path must be a string")); + if ( + typeof path !== "string" && + !Buffer.isBuffer(path) && + !(path instanceof URL) && + typeof path !== "number" + ) { + callback(new TypeError("path must be a string, Buffer, URL or number")); return; } + const strPath = typeof path !== "string" ? path.toString() : path; if (options) { - return this._provider.call( + return /** @type {Function} */ (this._provider).call( this._providerContext, path, options, @@ -175,38 +246,66 @@ class CacheBackend { } // Check in cache - let cacheEntry = this._data.get(path); + let cacheEntry = this._data.get(strPath); if (cacheEntry !== undefined) { if (cacheEntry.err) return nextTick(callback, cacheEntry.err); return nextTick(callback, null, cacheEntry.result); } // Check if there is already the same operation running - let callbacks = this._activeAsyncOperations.get(path); + let callbacks = this._activeAsyncOperations.get(strPath); if (callbacks !== undefined) { callbacks.push(callback); return; } - this._activeAsyncOperations.set(path, (callbacks = [callback])); + this._activeAsyncOperations.set(strPath, (callbacks = [callback])); // Run the operation - this._provider.call(this._providerContext, path, (err, result) => { - this._activeAsyncOperations.delete(path); - this._storeResult(path, err, result); - - // Enter async mode if not yet done - this._enterAsyncMode(); - - runCallbacks(callbacks, err, result); - }); + /** @type {Function} */ + (this._provider).call( + this._providerContext, + path, + /** + * @param {Error | null} err error + * @param {any} [result] result + */ + (err, result) => { + this._activeAsyncOperations.delete(strPath); + this._storeResult(strPath, err, result); + + // Enter async mode if not yet done + this._enterAsyncMode(); + + runCallbacks( + /** @type {FileSystemCallback[]} */ (callbacks), + err, + result + ); + } + ); } + /** + * @param {PathLike | PathOrFileDescriptor} path path + * @param {any} options options + * @returns {any} result + */ provideSync(path, options) { - if (typeof path !== "string") { + if ( + typeof path !== "string" && + !Buffer.isBuffer(path) && + !(path instanceof URL) && + typeof path !== "number" + ) { throw new TypeError("path must be a string"); } + const strPath = typeof path !== "string" ? path.toString() : path; if (options) { - return this._syncProvider.call(this._providerContext, path, options); + return /** @type {Function} */ (this._syncProvider).call( + this._providerContext, + path, + options + ); } // In sync mode we may have to decay some cache items @@ -215,7 +314,7 @@ class CacheBackend { } // Check in cache - let cacheEntry = this._data.get(path); + let cacheEntry = this._data.get(strPath); if (cacheEntry !== undefined) { if (cacheEntry.err) throw cacheEntry.err; return cacheEntry.result; @@ -223,26 +322,36 @@ class CacheBackend { // Get all active async operations // This sync operation will also complete them - const callbacks = this._activeAsyncOperations.get(path); - this._activeAsyncOperations.delete(path); + const callbacks = this._activeAsyncOperations.get(strPath); + this._activeAsyncOperations.delete(strPath); // Run the operation // When in idle mode, we will enter sync mode let result; try { - result = this._syncProvider.call(this._providerContext, path); + result = /** @type {Function} */ (this._syncProvider).call( + this._providerContext, + path + ); } catch (err) { - this._storeResult(path, err, undefined); + this._storeResult(strPath, /** @type {Error} */ (err), undefined); this._enterSyncModeWhenIdle(); - if (callbacks) runCallbacks(callbacks, err, undefined); + if (callbacks) { + runCallbacks(callbacks, /** @type {Error} */ (err), undefined); + } throw err; } - this._storeResult(path, undefined, result); + this._storeResult(strPath, null, result); this._enterSyncModeWhenIdle(); - if (callbacks) runCallbacks(callbacks, undefined, result); + if (callbacks) { + runCallbacks(callbacks, null, result); + } return result; } + /** + * @param {string | Buffer | URL | number | (string | URL | Buffer | number)[] | Set} [what] what to purge + */ purge(what) { if (!what) { if (this._mode !== STORAGE_MODE_IDLE) { @@ -252,9 +361,15 @@ class CacheBackend { } this._enterIdleMode(); } - } else if (typeof what === "string") { + } else if ( + typeof what === "string" || + Buffer.isBuffer(what) || + what instanceof URL || + typeof what === "number" + ) { + const strWhat = typeof what !== "string" ? what.toString() : what; for (let [key, data] of this._data) { - if (key.startsWith(what)) { + if (key.startsWith(strWhat)) { this._data.delete(key); data.level.delete(key); } @@ -265,7 +380,8 @@ class CacheBackend { } else { for (let [key, data] of this._data) { for (const item of what) { - if (key.startsWith(item)) { + const strItem = typeof item !== "string" ? item.toString() : item; + if (key.startsWith(strItem)) { this._data.delete(key); data.level.delete(key); break; @@ -278,20 +394,35 @@ class CacheBackend { } } + /** + * @param {string | Buffer | URL | number | (string | URL | Buffer | number)[] | Set} [what] what to purge + */ purgeParent(what) { if (!what) { this.purge(); - } else if (typeof what === "string") { - this.purge(dirname(what)); + } else if ( + typeof what === "string" || + Buffer.isBuffer(what) || + what instanceof URL || + typeof what === "number" + ) { + const strWhat = typeof what !== "string" ? what.toString() : what; + this.purge(dirname(strWhat)); } else { const set = new Set(); for (const item of what) { - set.add(dirname(item)); + const strItem = typeof item !== "string" ? item.toString() : item; + set.add(dirname(strItem)); } this.purge(set); } } + /** + * @param {string} path path + * @param {Error | null} err error + * @param {any} result result + */ _storeResult(path, err, result) { if (this._data.has(path)) return; const level = this._levels[this._currentLevel]; @@ -310,8 +441,8 @@ class CacheBackend { if (this._data.size === 0) { this._enterIdleMode(); } else { - // @ts-ignore _nextDecay is always a number in sync mode - this._nextDecay += this._tickInterval; + /** @type {number} */ + (this._nextDecay) += this._tickInterval; } } @@ -335,8 +466,12 @@ class CacheBackend { break; case STORAGE_MODE_SYNC: this._runDecays(); - // @ts-ignore _runDecays may change the mode - if (this._mode === STORAGE_MODE_IDLE) return; + // _runDecays may change the mode + if ( + /** @type {STORAGE_MODE_IDLE | STORAGE_MODE_SYNC | STORAGE_MODE_ASYNC}*/ + (this._mode) === STORAGE_MODE_IDLE + ) + return; timeout = Math.max( 0, /** @type {number} */ (this._nextDecay) - Date.now() @@ -366,6 +501,16 @@ class CacheBackend { } } +/** + * @template {function} Provider + * @template {function} AsyncProvider + * @template FileSystem + * @param {number} duration duration in ms files are cached + * @param {Provider | undefined} provider provider + * @param {AsyncProvider | undefined} syncProvider sync provider + * @param {BaseFileSystem} providerContext provider context + * @returns {OperationMergerBackend | CacheBackend} backend + */ const createBackend = (duration, provider, syncProvider, providerContext) => { if (duration > 0) { return new CacheBackend(duration, provider, syncProvider, providerContext); @@ -374,6 +519,10 @@ const createBackend = (duration, provider, syncProvider, providerContext) => { }; module.exports = class CachedInputFileSystem { + /** + * @param {BaseFileSystem} fileSystem file system + * @param {number} duration duration in ms files are cached + */ constructor(fileSystem, duration) { this.fileSystem = fileSystem; @@ -408,7 +557,9 @@ module.exports = class CachedInputFileSystem { const readdir = this._readdirBackend.provide; this.readdir = /** @type {FileSystem["readdir"]} */ (readdir); const readdirSync = this._readdirBackend.provideSync; - this.readdirSync = /** @type {SyncFileSystem["readdirSync"]} */ (readdirSync); + this.readdirSync = /** @type {SyncFileSystem["readdirSync"]} */ ( + readdirSync + ); this._readFileBackend = createBackend( duration, @@ -419,40 +570,57 @@ module.exports = class CachedInputFileSystem { const readFile = this._readFileBackend.provide; this.readFile = /** @type {FileSystem["readFile"]} */ (readFile); const readFileSync = this._readFileBackend.provideSync; - this.readFileSync = /** @type {SyncFileSystem["readFileSync"]} */ (readFileSync); + this.readFileSync = /** @type {SyncFileSystem["readFileSync"]} */ ( + readFileSync + ); this._readJsonBackend = createBackend( duration, + // prettier-ignore this.fileSystem.readJson || (this.readFile && - ((path, callback) => { - // @ts-ignore - this.readFile(path, (err, buffer) => { - if (err) return callback(err); - if (!buffer || buffer.length === 0) - return callback(new Error("No file content")); - let data; - try { - data = JSON.parse(buffer.toString("utf-8")); - } catch (e) { - return callback(e); - } - callback(null, data); - }); - })), + ( + /** + * @param {string} path path + * @param {FileSystemCallback} callback + */ + (path, callback) => { + this.readFile(path, (err, buffer) => { + if (err) return callback(err); + if (!buffer || buffer.length === 0) + return callback(new Error("No file content")); + let data; + try { + data = JSON.parse(buffer.toString("utf-8")); + } catch (e) { + return callback(/** @type {Error} */ (e)); + } + callback(null, data); + }); + }) + ), + // prettier-ignore this.fileSystem.readJsonSync || (this.readFileSync && - (path => { - const buffer = this.readFileSync(path); - const data = JSON.parse(buffer.toString("utf-8")); - return data; - })), + ( + /** + * @param {string} path path + * @returns {any} result + */ + (path) => { + const buffer = this.readFileSync(path); + const data = JSON.parse(buffer.toString("utf-8")); + return data; + } + )), this.fileSystem ); const readJson = this._readJsonBackend.provide; this.readJson = /** @type {FileSystem["readJson"]} */ (readJson); const readJsonSync = this._readJsonBackend.provideSync; - this.readJsonSync = /** @type {SyncFileSystem["readJsonSync"]} */ (readJsonSync); + this.readJsonSync = /** @type {SyncFileSystem["readJsonSync"]} */ ( + readJsonSync + ); this._readlinkBackend = createBackend( duration, @@ -463,9 +631,27 @@ module.exports = class CachedInputFileSystem { const readlink = this._readlinkBackend.provide; this.readlink = /** @type {FileSystem["readlink"]} */ (readlink); const readlinkSync = this._readlinkBackend.provideSync; - this.readlinkSync = /** @type {SyncFileSystem["readlinkSync"]} */ (readlinkSync); + this.readlinkSync = /** @type {SyncFileSystem["readlinkSync"]} */ ( + readlinkSync + ); + + this._realpathBackend = createBackend( + duration, + this.fileSystem.realpath, + this.fileSystem.realpathSync, + this.fileSystem + ); + const realpath = this._realpathBackend.provide; + this.realpath = /** @type {FileSystem["realpath"]} */ (realpath); + const realpathSync = this._realpathBackend.provideSync; + this.realpathSync = /** @type {SyncFileSystem["realpathSync"]} */ ( + realpathSync + ); } + /** + * @param {string | Buffer | URL | number | (string | URL | Buffer | number)[] | Set} [what] what to purge + */ purge(what) { this._statBackend.purge(what); this._lstatBackend.purge(what); @@ -473,5 +659,6 @@ module.exports = class CachedInputFileSystem { this._readFileBackend.purge(what); this._readlinkBackend.purge(what); this._readJsonBackend.purge(what); + this._realpathBackend.purge(what); } }; diff --git a/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js b/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js index 48b2cd3e16..cc193f5861 100644 --- a/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js +++ b/node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js @@ -8,8 +8,14 @@ const basename = require("./getPaths").basename; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ +/** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class CloneBasenamePlugin { + /** + * @param {string | ResolveStepHook} source source + * @param {string | ResolveStepHook} target target + */ constructor(source, target) { this.source = source; this.target = target; @@ -24,8 +30,10 @@ module.exports = class CloneBasenamePlugin { resolver .getHook(this.source) .tapAsync("CloneBasenamePlugin", (request, resolveContext, callback) => { - const filename = basename(request.path); - const filePath = resolver.join(request.path, filename); + const requestPath = /** @type {string} */ (request.path); + const filename = /** @type {string} */ (basename(requestPath)); + const filePath = resolver.join(requestPath, filename); + /** @type {ResolveRequest} */ const obj = { ...request, path: filePath, diff --git a/node_modules/enhanced-resolve/lib/ConditionalPlugin.js b/node_modules/enhanced-resolve/lib/ConditionalPlugin.js index ebcec62d1a..0e6610763f 100644 --- a/node_modules/enhanced-resolve/lib/ConditionalPlugin.js +++ b/node_modules/enhanced-resolve/lib/ConditionalPlugin.js @@ -32,7 +32,7 @@ module.exports = class ConditionalPlugin { apply(resolver) { const target = resolver.ensureHook(this.target); const { test, message, allowAlternatives } = this; - const keys = Object.keys(test); + const keys = /** @type {(keyof ResolveRequest)[]} */ (Object.keys(test)); resolver .getHook(this.source) .tapAsync("ConditionalPlugin", (request, resolveContext, callback) => { diff --git a/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js b/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js index 83c0e08012..8bbdb72063 100644 --- a/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js +++ b/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js @@ -8,6 +8,7 @@ const DescriptionFileUtils = require("./DescriptionFileUtils"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class DescriptionFilePlugin { @@ -63,7 +64,8 @@ module.exports = class DescriptionFilePlugin { return callback(); } const relativePath = - "." + path.substr(result.directory.length).replace(/\\/g, "/"); + "." + path.slice(result.directory.length).replace(/\\/g, "/"); + /** @type {ResolveRequest} */ const obj = { ...request, descriptionFilePath: result.path, diff --git a/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js b/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js index 87e5f79d6e..ff53ad5f1c 100644 --- a/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js +++ b/node_modules/enhanced-resolve/lib/DescriptionFileUtils.js @@ -8,11 +8,14 @@ const forEachBail = require("./forEachBail"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").JsonObject} JsonObject */ +/** @typedef {import("./Resolver").JsonValue} JsonValue */ /** @typedef {import("./Resolver").ResolveContext} ResolveContext */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** * @typedef {Object} DescriptionFileInfo - * @property {any=} content + * @property {JsonObject=} content * @property {string} path * @property {string} directory */ @@ -23,6 +26,13 @@ const forEachBail = require("./forEachBail"); * @param {DescriptionFileInfo=} result */ +/** + * @typedef {Object} Result + * @property {string} path path to description file + * @property {string} directory directory of description file + * @property {JsonObject} content content of description file + */ + /** * @param {Resolver} resolver resolver * @param {string} directory directory @@ -46,12 +56,20 @@ function loadDescriptionFile( } forEachBail( filenames, + /** + * @param {string} filename filename + * @param {(err?: null|Error, result?: null|Result) => void} callback callback + * @returns {void} + */ (filename, callback) => { const descriptionFilePath = resolver.join(directory, filename); if (resolver.fileSystem.readJson) { resolver.fileSystem.readJson(descriptionFilePath, (err, content) => { if (err) { - if (typeof err.code !== "undefined") { + if ( + typeof (/** @type {NodeJS.ErrnoException} */ (err).code) !== + "undefined" + ) { if (resolveContext.missingDependencies) { resolveContext.missingDependencies.add(descriptionFilePath); } @@ -78,13 +96,15 @@ function loadDescriptionFile( if (resolveContext.fileDependencies) { resolveContext.fileDependencies.add(descriptionFilePath); } + + /** @type {JsonObject | undefined} */ let json; if (content) { try { json = JSON.parse(content.toString()); - } catch (e) { - return onJson(e); + } catch (/** @type {unknown} */ e) { + return onJson(/** @type {Error} */ (e)); } } else { return onJson(new Error("No content in file")); @@ -94,6 +114,11 @@ function loadDescriptionFile( }); } + /** + * @param {null|Error} [err] error + * @param {JsonObject} [content] content + * @returns {void} + */ function onJson(err, content) { if (err) { if (resolveContext.log) @@ -106,12 +131,17 @@ function loadDescriptionFile( return callback(err); } callback(null, { - content, + content: /** @type {JsonObject} */ (content), directory, path: descriptionFilePath }); } }, + /** + * @param {null|Error} [err] error + * @param {null|Result} [result] result + * @returns {void} + */ (err, result) => { if (err) return callback(err); if (result) { @@ -131,20 +161,21 @@ function loadDescriptionFile( } /** - * @param {any} content content + * @param {JsonObject} content content * @param {string|string[]} field field - * @returns {object|string|number|boolean|undefined} field data + * @returns {JsonValue | undefined} field data */ function getField(content, field) { if (!content) return undefined; if (Array.isArray(field)) { + /** @type {JsonValue} */ let current = content; for (let j = 0; j < field.length; j++) { if (current === null || typeof current !== "object") { current = null; break; } - current = current[field[j]]; + current = /** @type {JsonObject} */ (current)[field[j]]; } return current; } else { @@ -162,7 +193,7 @@ function cdUp(directory) { j = directory.lastIndexOf("\\"); const p = i < 0 ? j : j < 0 ? i : i < j ? j : i; if (p < 0) return null; - return directory.substr(0, p || 1); + return directory.slice(0, p || 1); } exports.loadDescriptionFile = loadDescriptionFile; diff --git a/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js b/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js index 45a514f5c1..671c1fee3b 100644 --- a/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js +++ b/node_modules/enhanced-resolve/lib/ExportsFieldPlugin.js @@ -5,14 +5,18 @@ "use strict"; -const path = require("path"); const DescriptionFileUtils = require("./DescriptionFileUtils"); const forEachBail = require("./forEachBail"); const { processExportsField } = require("./util/entrypoints"); const { parseIdentifier } = require("./util/identifier"); -const { checkImportsExportsFieldTarget } = require("./util/path"); +const { + invalidSegmentRegEx, + deprecatedInvalidSegmentRegEx +} = require("./util/path"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").JsonObject} JsonObject */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ /** @typedef {import("./util/entrypoints").ExportsField} ExportsField */ /** @typedef {import("./util/entrypoints").FieldProcessor} FieldProcessor */ @@ -29,7 +33,7 @@ module.exports = class ExportsFieldPlugin { this.target = target; this.conditionNames = conditionNames; this.fieldName = fieldNamePath; - /** @type {WeakMap} */ + /** @type {WeakMap} */ this.fieldProcessorCache = new WeakMap(); } @@ -58,11 +62,14 @@ module.exports = class ExportsFieldPlugin { request.query + request.fragment : request.request; - /** @type {ExportsField|null} */ - const exportsField = DescriptionFileUtils.getField( - request.descriptionFileData, - this.fieldName - ); + const exportsField = + /** @type {ExportsField|null|undefined} */ + ( + DescriptionFileUtils.getField( + /** @type {JsonObject} */ (request.descriptionFileData), + this.fieldName + ) + ); if (!exportsField) return callback(); if (request.directory) { @@ -73,30 +80,36 @@ module.exports = class ExportsFieldPlugin { ); } + /** @type {string[]} */ let paths; + /** @type {string | null} */ + let usedField; try { // We attach the cache to the description file instead of the exportsField value // because we use a WeakMap and the exportsField could be a string too. // Description file is always an object when exports field can be accessed. let fieldProcessor = this.fieldProcessorCache.get( - request.descriptionFileData + /** @type {JsonObject} */ (request.descriptionFileData) ); if (fieldProcessor === undefined) { fieldProcessor = processExportsField(exportsField); this.fieldProcessorCache.set( - request.descriptionFileData, + /** @type {JsonObject} */ (request.descriptionFileData), fieldProcessor ); } - paths = fieldProcessor(remainingRequest, this.conditionNames); - } catch (err) { + [paths, usedField] = fieldProcessor( + remainingRequest, + this.conditionNames + ); + } catch (/** @type {unknown} */ err) { if (resolveContext.log) { resolveContext.log( `Exports field in ${request.descriptionFilePath} can't be processed: ${err}` ); } - return callback(err); + return callback(/** @type {Error} */ (err)); } if (paths.length === 0) { @@ -109,23 +122,51 @@ module.exports = class ExportsFieldPlugin { forEachBail( paths, - (p, callback) => { + /** + * @param {string} p path + * @param {(err?: null|Error, result?: null|ResolveRequest) => void} callback callback + * @param {number} i index + * @returns {void} + */ + (p, callback, i) => { const parsedIdentifier = parseIdentifier(p); if (!parsedIdentifier) return callback(); const [relativePath, query, fragment] = parsedIdentifier; - const error = checkImportsExportsFieldTarget(relativePath); + if (relativePath.length === 0 || !relativePath.startsWith("./")) { + if (paths.length === i) { + return callback( + new Error( + `Invalid "exports" target "${p}" defined for "${usedField}" in the package config ${request.descriptionFilePath}, targets must start with "./"` + ) + ); + } + + return callback(); + } - if (error) { - return callback(error); + if ( + invalidSegmentRegEx.exec(relativePath.slice(2)) !== null && + deprecatedInvalidSegmentRegEx.test(relativePath.slice(2)) !== null + ) { + if (paths.length === i) { + return callback( + new Error( + `Invalid "exports" target "${p}" defined for "${usedField}" in the package config ${request.descriptionFilePath}, targets must start with "./"` + ) + ); + } + + return callback(); } + /** @type {ResolveRequest} */ const obj = { ...request, request: undefined, - path: path.join( + path: resolver.join( /** @type {string} */ (request.descriptionFileRoot), relativePath ), @@ -139,9 +180,19 @@ module.exports = class ExportsFieldPlugin { obj, "using exports field: " + p, resolveContext, - callback + (err, result) => { + if (err) return callback(err); + // Don't allow to continue - https://github.com/webpack/enhanced-resolve/issues/400 + if (result === undefined) return callback(null, null); + callback(null, result); + } ); }, + /** + * @param {null|Error} [err] error + * @param {null|ResolveRequest} [result] result + * @returns {void} + */ (err, result) => callback(err, result || null) ); }); diff --git a/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js b/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js index 76ce9b4054..a947990609 100644 --- a/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js +++ b/node_modules/enhanced-resolve/lib/ExtensionAliasPlugin.js @@ -36,27 +36,60 @@ module.exports = class ExtensionAliasPlugin { .tapAsync("ExtensionAliasPlugin", (request, resolveContext, callback) => { const requestPath = request.request; if (!requestPath || !requestPath.endsWith(extension)) return callback(); - const resolve = (alias, callback) => { - resolver.doResolve( + const isAliasString = typeof alias === "string"; + /** + * @param {string} alias extension alias + * @param {(err?: null|Error, result?: null|ResolveRequest) => void} callback callback + * @param {number} [index] index + * @returns {void} + */ + const resolve = (alias, callback, index) => { + const newRequest = `${requestPath.slice( + 0, + -extension.length + )}${alias}`; + + return resolver.doResolve( target, { ...request, - request: `${requestPath.slice(0, -extension.length)}${alias}`, + request: newRequest, fullySpecified: true }, `aliased from extension alias with mapping '${extension}' to '${alias}'`, resolveContext, - callback + (err, result) => { + // Throw error if we are on the last alias (for multiple aliases) and it failed, always throw if we are not an array or we have only one alias + if (!isAliasString && index) { + if (index !== this.options.alias.length) { + if (resolveContext.log) { + resolveContext.log( + `Failed to alias from extension alias with mapping '${extension}' to '${alias}' for '${newRequest}': ${err}` + ); + } + + return callback(null, result); + } + + return callback(err, result); + } else { + callback(err, result); + } + } ); }; - + /** + * @param {null|Error} [err] error + * @param {null|ResolveRequest} [result] result + * @returns {void} + */ const stoppingCallback = (err, result) => { if (err) return callback(err); if (result) return callback(null, result); // Don't allow other aliasing or raw request return callback(null, null); }; - if (typeof alias === "string") { + if (isAliasString) { resolve(alias, stoppingCallback); } else if (alias.length > 1) { forEachBail(alias, resolve, stoppingCallback); diff --git a/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js b/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js index 1807160f58..15cad76f90 100644 --- a/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js +++ b/node_modules/enhanced-resolve/lib/ImportsFieldPlugin.js @@ -5,14 +5,18 @@ "use strict"; -const path = require("path"); const DescriptionFileUtils = require("./DescriptionFileUtils"); const forEachBail = require("./forEachBail"); const { processImportsField } = require("./util/entrypoints"); const { parseIdentifier } = require("./util/identifier"); -const { checkImportsExportsFieldTarget } = require("./util/path"); +const { + invalidSegmentRegEx, + deprecatedInvalidSegmentRegEx +} = require("./util/path"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").JsonObject} JsonObject */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ /** @typedef {import("./util/entrypoints").FieldProcessor} FieldProcessor */ /** @typedef {import("./util/entrypoints").ImportsField} ImportsField */ @@ -39,7 +43,7 @@ module.exports = class ImportsFieldPlugin { this.targetPackage = targetPackage; this.conditionNames = conditionNames; this.fieldName = fieldNamePath; - /** @type {WeakMap} */ + /** @type {WeakMap} */ this.fieldProcessorCache = new WeakMap(); } @@ -61,11 +65,14 @@ module.exports = class ImportsFieldPlugin { const remainingRequest = request.request + request.query + request.fragment; - /** @type {ImportsField|null} */ - const importsField = DescriptionFileUtils.getField( - request.descriptionFileData, - this.fieldName - ); + const importsField = + /** @type {ImportsField|null|undefined} */ + ( + DescriptionFileUtils.getField( + /** @type {JsonObject} */ (request.descriptionFileData), + this.fieldName + ) + ); if (!importsField) return callback(); if (request.directory) { @@ -76,30 +83,36 @@ module.exports = class ImportsFieldPlugin { ); } + /** @type {string[]} */ let paths; + /** @type {string | null} */ + let usedField; try { // We attach the cache to the description file instead of the importsField value // because we use a WeakMap and the importsField could be a string too. // Description file is always an object when exports field can be accessed. let fieldProcessor = this.fieldProcessorCache.get( - request.descriptionFileData + /** @type {JsonObject} */ (request.descriptionFileData) ); if (fieldProcessor === undefined) { fieldProcessor = processImportsField(importsField); this.fieldProcessorCache.set( - request.descriptionFileData, + /** @type {JsonObject} */ (request.descriptionFileData), fieldProcessor ); } - paths = fieldProcessor(remainingRequest, this.conditionNames); - } catch (err) { + [paths, usedField] = fieldProcessor( + remainingRequest, + this.conditionNames + ); + } catch (/** @type {unknown} */ err) { if (resolveContext.log) { resolveContext.log( `Imports field in ${request.descriptionFilePath} can't be processed: ${err}` ); } - return callback(err); + return callback(/** @type {Error} */ (err)); } if (paths.length === 0) { @@ -112,26 +125,42 @@ module.exports = class ImportsFieldPlugin { forEachBail( paths, - (p, callback) => { + /** + * @param {string} p path + * @param {(err?: null|Error, result?: null|ResolveRequest) => void} callback callback + * @param {number} i index + * @returns {void} + */ + (p, callback, i) => { const parsedIdentifier = parseIdentifier(p); if (!parsedIdentifier) return callback(); const [path_, query, fragment] = parsedIdentifier; - const error = checkImportsExportsFieldTarget(path_); - - if (error) { - return callback(error); - } - switch (path_.charCodeAt(0)) { // should be relative case dotCode: { + if ( + invalidSegmentRegEx.exec(path_.slice(2)) !== null && + deprecatedInvalidSegmentRegEx.test(path_.slice(2)) !== null + ) { + if (paths.length === i) { + return callback( + new Error( + `Invalid "imports" target "${p}" defined for "${usedField}" in the package config ${request.descriptionFilePath}, targets must start with "./"` + ) + ); + } + + return callback(); + } + + /** @type {ResolveRequest} */ const obj = { ...request, request: undefined, - path: path.join( + path: resolver.join( /** @type {string} */ (request.descriptionFileRoot), path_ ), @@ -145,13 +174,19 @@ module.exports = class ImportsFieldPlugin { obj, "using imports field: " + p, resolveContext, - callback + (err, result) => { + if (err) return callback(err); + // Don't allow to continue - https://github.com/webpack/enhanced-resolve/issues/400 + if (result === undefined) return callback(null, null); + callback(null, result); + } ); break; } // package resolving default: { + /** @type {ResolveRequest} */ const obj = { ...request, request: path_, @@ -166,11 +201,21 @@ module.exports = class ImportsFieldPlugin { obj, "using imports field: " + p, resolveContext, - callback + (err, result) => { + if (err) return callback(err); + // Don't allow to continue - https://github.com/webpack/enhanced-resolve/issues/400 + if (result === undefined) return callback(null, null); + callback(null, result); + } ); } } }, + /** + * @param {null|Error} [err] error + * @param {null|ResolveRequest} [result] result + * @returns {void} + */ (err, result) => callback(err, result || null) ); }); diff --git a/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js b/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js index 356af1d633..21c2cae01c 100644 --- a/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js +++ b/node_modules/enhanced-resolve/lib/JoinRequestPartPlugin.js @@ -6,6 +6,7 @@ "use strict"; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ const namespaceStartCharCode = "@".charCodeAt(0); @@ -38,7 +39,12 @@ module.exports = class JoinRequestPartPlugin { i = req.indexOf("/", i + 1); } - let moduleName, remainingRequest, fullySpecified; + /** @type {string} */ + let moduleName; + /** @type {string} */ + let remainingRequest; + /** @type {boolean} */ + let fullySpecified; if (i < 0) { moduleName = req; remainingRequest = "."; @@ -46,11 +52,16 @@ module.exports = class JoinRequestPartPlugin { } else { moduleName = req.slice(0, i); remainingRequest = "." + req.slice(i); - fullySpecified = request.fullySpecified; + fullySpecified = /** @type {boolean} */ (request.fullySpecified); } + /** @type {ResolveRequest} */ const obj = { ...request, - path: resolver.join(request.path, moduleName), + path: resolver.join( + /** @type {string} */ + (request.path), + moduleName + ), relativePath: request.relativePath && resolver.join(request.relativePath, moduleName), diff --git a/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js b/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js index 69db197f1b..2ac99e972d 100644 --- a/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js +++ b/node_modules/enhanced-resolve/lib/JoinRequestPlugin.js @@ -6,6 +6,7 @@ "use strict"; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class JoinRequestPlugin { @@ -27,12 +28,15 @@ module.exports = class JoinRequestPlugin { resolver .getHook(this.source) .tapAsync("JoinRequestPlugin", (request, resolveContext, callback) => { + const requestPath = /** @type {string} */ (request.path); + const requestRequest = /** @type {string} */ (request.request); + /** @type {ResolveRequest} */ const obj = { ...request, - path: resolver.join(request.path, request.request), + path: resolver.join(requestPath, requestRequest), relativePath: request.relativePath && - resolver.join(request.relativePath, request.request), + resolver.join(request.relativePath, requestRequest), request: undefined }; resolver.doResolve(target, obj, null, resolveContext, callback); diff --git a/node_modules/enhanced-resolve/lib/LogInfoPlugin.js b/node_modules/enhanced-resolve/lib/LogInfoPlugin.js index 13c93f1417..d8b92070b0 100644 --- a/node_modules/enhanced-resolve/lib/LogInfoPlugin.js +++ b/node_modules/enhanced-resolve/lib/LogInfoPlugin.js @@ -6,8 +6,12 @@ "use strict"; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class LogInfoPlugin { + /** + * @param {string | ResolveStepHook} source source + */ constructor(source) { this.source = source; } diff --git a/node_modules/enhanced-resolve/lib/MainFieldPlugin.js b/node_modules/enhanced-resolve/lib/MainFieldPlugin.js index 55346182dd..645b7df240 100644 --- a/node_modules/enhanced-resolve/lib/MainFieldPlugin.js +++ b/node_modules/enhanced-resolve/lib/MainFieldPlugin.js @@ -9,7 +9,10 @@ const path = require("path"); const DescriptionFileUtils = require("./DescriptionFileUtils"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").JsonObject} JsonObject */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ + /** @typedef {{name: string|Array, forceRelative: boolean}} MainFieldOptions */ const alreadyTriedMainField = Symbol("alreadyTriedMainField"); @@ -37,15 +40,20 @@ module.exports = class MainFieldPlugin { .tapAsync("MainFieldPlugin", (request, resolveContext, callback) => { if ( request.path !== request.descriptionFileRoot || - request[alreadyTriedMainField] === request.descriptionFilePath || + /** @type {ResolveRequest & { [alreadyTriedMainField]?: string }} */ + (request)[alreadyTriedMainField] === request.descriptionFilePath || !request.descriptionFilePath ) return callback(); const filename = path.basename(request.descriptionFilePath); - let mainModule = DescriptionFileUtils.getField( - request.descriptionFileData, - this.options.name - ); + let mainModule = + /** @type {string|null|undefined} */ + ( + DescriptionFileUtils.getField( + /** @type {JsonObject} */ (request.descriptionFileData), + this.options.name + ) + ); if ( !mainModule || @@ -57,6 +65,7 @@ module.exports = class MainFieldPlugin { } if (this.options.forceRelative && !/^\.\.?\//.test(mainModule)) mainModule = "./" + mainModule; + /** @type {ResolveRequest & { [alreadyTriedMainField]?: string }} */ const obj = { ...request, request: mainModule, diff --git a/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js b/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js index bb7530e44b..651377b2ac 100644 --- a/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js +++ b/node_modules/enhanced-resolve/lib/ModulesInHierarchicalDirectoriesPlugin.js @@ -9,6 +9,7 @@ const forEachBail = require("./forEachBail"); const getPaths = require("./getPaths"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class ModulesInHierarchicalDirectoriesPlugin { @@ -35,7 +36,7 @@ module.exports = class ModulesInHierarchicalDirectoriesPlugin { "ModulesInHierarchicalDirectoriesPlugin", (request, resolveContext, callback) => { const fs = resolver.fileSystem; - const addrs = getPaths(request.path) + const addrs = getPaths(/** @type {string} */ (request.path)) .paths.map(p => { return this.directories.map(d => resolver.join(p, d)); }) @@ -45,9 +46,15 @@ module.exports = class ModulesInHierarchicalDirectoriesPlugin { }, []); forEachBail( addrs, + /** + * @param {string} addr addr + * @param {(err?: null|Error, result?: null|ResolveRequest) => void} callback callback + * @returns {void} + */ (addr, callback) => { fs.stat(addr, (err, stat) => { if (!err && stat && stat.isDirectory()) { + /** @type {ResolveRequest} */ const obj = { ...request, path: addr, diff --git a/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js b/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js index c00643c564..b7e5168810 100644 --- a/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js +++ b/node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js @@ -6,6 +6,7 @@ "use strict"; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class ModulesInRootPlugin { @@ -29,6 +30,7 @@ module.exports = class ModulesInRootPlugin { resolver .getHook(this.source) .tapAsync("ModulesInRootPlugin", (request, resolveContext, callback) => { + /** @type {ResolveRequest} */ const obj = { ...request, path: this.path, diff --git a/node_modules/enhanced-resolve/lib/ParsePlugin.js b/node_modules/enhanced-resolve/lib/ParsePlugin.js index 188a4e8c11..b7db0b07ec 100644 --- a/node_modules/enhanced-resolve/lib/ParsePlugin.js +++ b/node_modules/enhanced-resolve/lib/ParsePlugin.js @@ -31,6 +31,7 @@ module.exports = class ParsePlugin { .getHook(this.source) .tapAsync("ParsePlugin", (request, resolveContext, callback) => { const parsed = resolver.parse(/** @type {string} */ (request.request)); + /** @type {ResolveRequest} */ const obj = { ...request, ...parsed, ...this.requestOptions }; if (request.query && !parsed.query) { obj.query = request.query; @@ -46,6 +47,7 @@ module.exports = class ParsePlugin { // There is an edge-case where a request with # can be a path or a fragment -> try both if (obj.request && !obj.query && obj.fragment) { const directory = obj.fragment.endsWith("/"); + /** @type {ResolveRequest} */ const alternative = { ...obj, directory, diff --git a/node_modules/enhanced-resolve/lib/PnpPlugin.js b/node_modules/enhanced-resolve/lib/PnpPlugin.js index cecb7ddc47..d3d98bad92 100644 --- a/node_modules/enhanced-resolve/lib/PnpPlugin.js +++ b/node_modules/enhanced-resolve/lib/PnpPlugin.js @@ -7,9 +7,10 @@ /** @typedef {import("./Resolver")} Resolver */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** * @typedef {Object} PnpApiImpl - * @property {function(string, string, object): string} resolveToUnqualified + * @property {function(string, string, object): string | null} resolveToUnqualified */ module.exports = class PnpPlugin { @@ -17,11 +18,13 @@ module.exports = class PnpPlugin { * @param {string | ResolveStepHook} source source * @param {PnpApiImpl} pnpApi pnpApi * @param {string | ResolveStepHook} target target + * @param {string | ResolveStepHook} alternateTarget alternateTarget */ - constructor(source, pnpApi, target) { + constructor(source, pnpApi, target, alternateTarget) { this.source = source; this.pnpApi = pnpApi; this.target = target; + this.alternateTarget = alternateTarget; } /** @@ -29,7 +32,9 @@ module.exports = class PnpPlugin { * @returns {void} */ apply(resolver) { + /** @type {ResolveStepHook} */ const target = resolver.ensureHook(this.target); + const alternateTarget = resolver.ensureHook(this.alternateTarget); resolver .getHook(this.source) .tapAsync("PnpPlugin", (request, resolveContext, callback) => { @@ -45,32 +50,57 @@ module.exports = class PnpPlugin { const packageName = packageMatch[0]; const innerRequest = `.${req.slice(packageName.length)}`; + /** @type {string|undefined|null} */ let resolution; + /** @type {string|undefined|null} */ let apiResolution; try { resolution = this.pnpApi.resolveToUnqualified(packageName, issuer, { considerBuiltins: false }); + + if (resolution === null) { + // This is either not a PnP managed issuer or it's a Node builtin + // Try to continue resolving with our alternatives + resolver.doResolve( + alternateTarget, + request, + "issuer is not managed by a pnpapi", + resolveContext, + (err, result) => { + if (err) return callback(err); + if (result) return callback(null, result); + // Skip alternatives + return callback(null, null); + } + ); + return; + } + if (resolveContext.fileDependencies) { apiResolution = this.pnpApi.resolveToUnqualified("pnpapi", issuer, { considerBuiltins: false }); } - } catch (error) { + } catch (/** @type {unknown} */ error) { if ( - error.code === "MODULE_NOT_FOUND" && - error.pnpCode === "UNDECLARED_DEPENDENCY" + /** @type {Error & { code: string }} */ + (error).code === "MODULE_NOT_FOUND" && + /** @type {Error & { pnpCode: string }} */ + (error).pnpCode === "UNDECLARED_DEPENDENCY" ) { // This is not a PnP managed dependency. // Try to continue resolving with our alternatives if (resolveContext.log) { resolveContext.log(`request is not managed by the pnpapi`); - for (const line of error.message.split("\n").filter(Boolean)) + for (const line of /** @type {Error} */ (error).message + .split("\n") + .filter(Boolean)) resolveContext.log(` ${line}`); } return callback(); } - return callback(error); + return callback(/** @type {Error} */ (error)); } if (resolution === packageName) return callback(); @@ -78,7 +108,7 @@ module.exports = class PnpPlugin { if (apiResolution && resolveContext.fileDependencies) { resolveContext.fileDependencies.add(apiResolution); } - + /** @type {ResolveRequest} */ const obj = { ...request, path: resolution, diff --git a/node_modules/enhanced-resolve/lib/Resolver.js b/node_modules/enhanced-resolve/lib/Resolver.js index 875b435f34..fdb73dc1a0 100644 --- a/node_modules/enhanced-resolve/lib/Resolver.js +++ b/node_modules/enhanced-resolve/lib/Resolver.js @@ -17,18 +17,9 @@ const { /** @typedef {import("./ResolverFactory").ResolveOptions} ResolveOptions */ -/** - * @typedef {Object} FileSystemStats - * @property {function(): boolean} isDirectory - * @property {function(): boolean} isFile - */ +/** @typedef {Error & { details?: string }} ErrorWithDetail */ -/** - * @typedef {Object} FileSystemDirent - * @property {Buffer | string} name - * @property {function(): boolean} isDirectory - * @property {function(): boolean} isFile - */ +/** @typedef {(err: ErrorWithDetail | null, res?: string | false, req?: ResolveRequest) => void} ResolveCallback */ /** * @typedef {Object} PossibleFileSystemError @@ -41,28 +32,244 @@ const { /** * @template T * @callback FileSystemCallback - * @param {PossibleFileSystemError & Error | null | undefined} err + * @param {PossibleFileSystemError & Error | null} err * @param {T=} result */ +/** + * @typedef {string | Buffer | URL} PathLike + */ + +/** + * @typedef {PathLike | number} PathOrFileDescriptor + */ + +/** + * @typedef {Object} ObjectEncodingOptions + * @property {BufferEncoding | null | undefined} [encoding] + */ + +/** @typedef {function(NodeJS.ErrnoException | null, string=): void} StringCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, Buffer=): void} BufferCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, (string | Buffer)=): void} StringOrBufferCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, IStats=): void} StatsCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, IBigIntStats=): void} BigIntStatsCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, (IStats | IBigIntStats)=): void} StatsOrBigIntStatsCallback */ +/** @typedef {function(NodeJS.ErrnoException | Error | null, JsonObject=): void} ReadJsonCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, string[]=): void} ReaddirStringCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, Buffer[]=): void} ReaddirBufferCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, (string[] | Buffer[])=): void} ReaddirStringOrBufferCallback */ +/** @typedef {function(NodeJS.ErrnoException | null, Dirent[]=): void} ReaddirDirentCallback */ + +/** + * @template T + * @typedef {Object} IStatsBase + * @property {() => boolean} isFile + * @property {() => boolean} isDirectory + * @property {() => boolean} isBlockDevice + * @property {() => boolean} isCharacterDevice + * @property {() => boolean} isSymbolicLink + * @property {() => boolean} isFIFO + * @property {() => boolean} isSocket + * @property {T} dev + * @property {T} ino + * @property {T} mode + * @property {T} nlink + * @property {T} uid + * @property {T} gid + * @property {T} rdev + * @property {T} size + * @property {T} blksize + * @property {T} blocks + * @property {T} atimeMs + * @property {T} mtimeMs + * @property {T} ctimeMs + * @property {T} birthtimeMs + * @property {Date} atime + * @property {Date} mtime + * @property {Date} ctime + * @property {Date} birthtime + */ + +/** + * @typedef {IStatsBase} IStats + */ + +/** + * @typedef {IStatsBase & { atimeNs: bigint, mtimeNs: bigint, ctimeNs: bigint, birthtimeNs: bigint }} IBigIntStats + */ + +/** + * @typedef {Object} Dirent + * @property {() => boolean} isFile + * @property {() => boolean} isDirectory + * @property {() => boolean} isBlockDevice + * @property {() => boolean} isCharacterDevice + * @property {() => boolean} isSymbolicLink + * @property {() => boolean} isFIFO + * @property {() => boolean} isSocket + * @property {string} name + * @property {string} path + */ + +/** + * @typedef {Object} StatOptions + * @property {(boolean | undefined)=} bigint + */ + +/** + * @typedef {Object} StatSyncOptions + * @property {(boolean | undefined)=} bigint + * @property {(boolean | undefined)=} throwIfNoEntry + */ + +/** + * @typedef {{ + * (path: PathOrFileDescriptor, options: ({ encoding?: null | undefined, flag?: string | undefined } & import("events").Abortable) | undefined | null, callback: BufferCallback): void; + * (path: PathOrFileDescriptor, options: ({ encoding: BufferEncoding, flag?: string | undefined } & import("events").Abortable) | BufferEncoding, callback: StringCallback): void; + * (path: PathOrFileDescriptor, options: (ObjectEncodingOptions & { flag?: string | undefined } & import("events").Abortable) | BufferEncoding | undefined | null, callback: StringOrBufferCallback): void; + * (path: PathOrFileDescriptor, callback: BufferCallback): void; + * }} ReadFile + */ + +/** + * @typedef {ObjectEncodingOptions | BufferEncoding | undefined | null} EncodingOption + */ + +/** + * @typedef {'buffer'| { encoding: 'buffer' }} BufferEncodingOption + */ + +/** + * @typedef {{ + * (path: PathOrFileDescriptor, options?: { encoding?: null | undefined, flag?: string | undefined } | null): Buffer; + * (path: PathOrFileDescriptor, options: { encoding: BufferEncoding, flag?: string | undefined } | BufferEncoding): string; + * (path: PathOrFileDescriptor, options?: (ObjectEncodingOptions & { flag?: string | undefined }) | BufferEncoding | null): string | Buffer; + * }} ReadFileSync + */ + +/** + * @typedef {{ + * (path: PathLike, options: { encoding: BufferEncoding | null, withFileTypes?: false | undefined, recursive?: boolean | undefined } | BufferEncoding | undefined | null, callback: ReaddirStringCallback): void; + * (path: PathLike, options: { encoding: 'buffer', withFileTypes?: false | undefined, recursive?: boolean | undefined } | 'buffer', callback: ReaddirBufferCallback): void; + * (path: PathLike, callback: ReaddirStringCallback): void; + * (path: PathLike, options: (ObjectEncodingOptions & { withFileTypes?: false | undefined, recursive?: boolean | undefined }) | BufferEncoding | undefined | null, callback: ReaddirStringOrBufferCallback): void; + * (path: PathLike, options: ObjectEncodingOptions & { withFileTypes: true, recursive?: boolean | undefined }, callback: ReaddirDirentCallback): void; + * }} Readdir + */ + +/** + * @typedef {{ + * (path: PathLike, options?: { encoding: BufferEncoding | null, withFileTypes?: false | undefined, recursive?: boolean | undefined } | BufferEncoding | null): string[]; + * (path: PathLike, options: { encoding: 'buffer', withFileTypes?: false | undefined, recursive?: boolean | undefined } | 'buffer'): Buffer[]; + * (path: PathLike, options?: (ObjectEncodingOptions & { withFileTypes?: false | undefined, recursive?: boolean | undefined }) | BufferEncoding | null): string[] | Buffer[]; + * (path: PathLike, options: ObjectEncodingOptions & { withFileTypes: true, recursive?: boolean | undefined }): Dirent[]; + * }} ReaddirSync + + /** + * @typedef {function(PathOrFileDescriptor, ReadJsonCallback): void} ReadJson + */ + +/** + * @typedef {function(PathOrFileDescriptor): JsonObject} ReadJsonSync + */ + +/** + * @typedef {{ + * (path: PathLike, options: EncodingOption, callback: StringCallback): void; + * (path: PathLike, options: BufferEncodingOption, callback: BufferCallback): void; + * (path: PathLike, options: EncodingOption, callback: StringOrBufferCallback): void; + * (path: PathLike, callback: StringCallback): void; + * }} Readlink + */ + +/** + * @typedef {{ + * (path: PathLike, options?: EncodingOption): string; + * (path: PathLike, options: BufferEncodingOption): Buffer; + * (path: PathLike, options?: EncodingOption): string | Buffer; + * }} ReadlinkSync + */ + +/** + * @typedef {{ + * (path: PathLike, callback: StatsCallback): void; + * (path: PathLike, options: (StatOptions & { bigint?: false | undefined }) | undefined, callback: StatsCallback): void; + * (path: PathLike, options: StatOptions & { bigint: true }, callback: BigIntStatsCallback): void; + * (path: PathLike, options: StatOptions | undefined, callback: StatsOrBigIntStatsCallback): void; + * }} LStat + */ + +/** + * @typedef {{ + * (path: PathLike, options?: undefined): IStats; + * (path: PathLike, options?: StatSyncOptions & { bigint?: false | undefined, throwIfNoEntry: false }): IStats | undefined; + * (path: PathLike, options: StatSyncOptions & { bigint: true, throwIfNoEntry: false }): IBigIntStats | undefined; + * (path: PathLike, options?: StatSyncOptions & { bigint?: false | undefined }): IStats; + * (path: PathLike, options: StatSyncOptions & { bigint: true }): IBigIntStats; + * (path: PathLike, options: StatSyncOptions & { bigint: boolean, throwIfNoEntry?: false | undefined }): IStats | IBigIntStats; + * (path: PathLike, options?: StatSyncOptions): IStats | IBigIntStats | undefined; + * }} LStatSync + */ + +/** + * @typedef {{ + * (path: PathLike, callback: StatsCallback): void; + * (path: PathLike, options: (StatOptions & { bigint?: false | undefined }) | undefined, callback: StatsCallback): void; + * (path: PathLike, options: StatOptions & { bigint: true }, callback: BigIntStatsCallback): void; + * (path: PathLike, options: StatOptions | undefined, callback: StatsOrBigIntStatsCallback): void; + * }} Stat + */ + +/** + * @typedef {{ + * (path: PathLike, options?: undefined): IStats; + * (path: PathLike, options?: StatSyncOptions & { bigint?: false | undefined, throwIfNoEntry: false }): IStats | undefined; + * (path: PathLike, options: StatSyncOptions & { bigint: true, throwIfNoEntry: false }): IBigIntStats | undefined; + * (path: PathLike, options?: StatSyncOptions & { bigint?: false | undefined }): IStats; + * (path: PathLike, options: StatSyncOptions & { bigint: true }): IBigIntStats; + * (path: PathLike, options: StatSyncOptions & { bigint: boolean, throwIfNoEntry?: false | undefined }): IStats | IBigIntStats; + * (path: PathLike, options?: StatSyncOptions): IStats | IBigIntStats | undefined; + * }} StatSync + */ + +/** + * @typedef {{ + * (path: PathLike, options: EncodingOption, callback: StringCallback): void; + * (path: PathLike, options: BufferEncodingOption, callback: BufferCallback): void; + * (path: PathLike, options: EncodingOption, callback: StringOrBufferCallback): void; + * (path: PathLike, callback: StringCallback): void; + * }} RealPath + */ + +/** + * @typedef {{ + * (path: PathLike, options?: EncodingOption): string; + * (path: PathLike, options: BufferEncodingOption): Buffer; + * (path: PathLike, options?: EncodingOption): string | Buffer; + * }} RealPathSync + */ + /** * @typedef {Object} FileSystem - * @property {(function(string, FileSystemCallback): void) & function(string, object, FileSystemCallback): void} readFile - * @property {(function(string, FileSystemCallback<(Buffer | string)[] | FileSystemDirent[]>): void) & function(string, object, FileSystemCallback<(Buffer | string)[] | FileSystemDirent[]>): void} readdir - * @property {((function(string, FileSystemCallback): void) & function(string, object, FileSystemCallback): void)=} readJson - * @property {(function(string, FileSystemCallback): void) & function(string, object, FileSystemCallback): void} readlink - * @property {(function(string, FileSystemCallback): void) & function(string, object, FileSystemCallback): void=} lstat - * @property {(function(string, FileSystemCallback): void) & function(string, object, FileSystemCallback): void} stat + * @property {ReadFile} readFile + * @property {Readdir} readdir + * @property {ReadJson=} readJson + * @property {Readlink} readlink + * @property {LStat=} lstat + * @property {Stat} stat + * @property {RealPath=} realpath */ /** * @typedef {Object} SyncFileSystem - * @property {function(string, object=): Buffer | string} readFileSync - * @property {function(string, object=): (Buffer | string)[] | FileSystemDirent[]} readdirSync - * @property {(function(string, object=): object)=} readJsonSync - * @property {function(string, object=): Buffer | string} readlinkSync - * @property {function(string, object=): FileSystemStats=} lstatSync - * @property {function(string, object=): FileSystemStats} statSync + * @property {ReadFileSync} readFileSync + * @property {ReaddirSync} readdirSync + * @property {ReadJsonSync=} readJsonSync + * @property {ReadlinkSync} readlinkSync + * @property {LStatSync=} lstatSync + * @property {StatSync} statSync + * @property {RealPathSync=} realpathSync */ /** @@ -76,15 +283,24 @@ const { * @property {boolean} internal */ +/** @typedef {string | number | boolean | null} JsonPrimitive */ +/** @typedef {JsonValue[]} JsonArray */ +/** @typedef {JsonPrimitive | JsonObject | JsonArray} JsonValue */ +/** @typedef {{[Key in string]: JsonValue} & {[Key in string]?: JsonValue | undefined}} JsonObject */ + /** * @typedef {Object} BaseResolveRequest * @property {string | false} path + * @property {object=} context * @property {string=} descriptionFilePath * @property {string=} descriptionFileRoot - * @property {object=} descriptionFileData + * @property {JsonObject=} descriptionFileData * @property {string=} relativePath * @property {boolean=} ignoreSymlinks * @property {boolean=} fullySpecified + * @property {string=} __innerRequest + * @property {string=} __innerRequest_request + * @property {string=} __innerRequest_relativePath */ /** @typedef {BaseResolveRequest & Partial} ResolveRequest */ @@ -94,7 +310,12 @@ const { * @typedef {string} StackEntry */ -/** @template T @typedef {{ add: (T) => void }} WriteOnlySet */ +/** + * @template T + * @typedef {{ add: (item: T) => void }} WriteOnlySet + */ + +/** @typedef {(function (ResolveRequest): void)} ResolveContextYield */ /** * Resolve context @@ -104,17 +325,29 @@ const { * @property {WriteOnlySet=} missingDependencies dependencies that was not found on file system * @property {Set=} stack set of hooks' calls. For instance, `resolve → parsedResolve → describedResolve`, * @property {(function(string): void)=} log log function - * @property {(function (ResolveRequest): void)=} yield yield result, if provided plugins can return several results + * @property {ResolveContextYield=} yield yield result, if provided plugins can return several results */ /** @typedef {AsyncSeriesBailHook<[ResolveRequest, ResolveContext], ResolveRequest | null>} ResolveStepHook */ +/** + * @typedef {Object} KnownHooks + * @property {SyncHook<[ResolveStepHook, ResolveRequest], void>} resolveStep + * @property {SyncHook<[ResolveRequest, Error]>} noResolve + * @property {ResolveStepHook} resolve + * @property {AsyncSeriesHook<[ResolveRequest, ResolveContext]>} result + */ + +/** + * @typedef {{[key: string]: ResolveStepHook}} EnsuredHooks + */ + /** * @param {string} str input string * @returns {string} in camel case */ function toCamelCase(str) { - return str.replace(/-([a-z])/g, str => str.substr(1).toUpperCase()); + return str.replace(/-([a-z])/g, str => str.slice(1).toUpperCase()); } class Resolver { @@ -144,17 +377,14 @@ class Resolver { constructor(fileSystem, options) { this.fileSystem = fileSystem; this.options = options; + /** @type {KnownHooks} */ this.hooks = { - /** @type {SyncHook<[ResolveStepHook, ResolveRequest], void>} */ resolveStep: new SyncHook(["hook", "request"], "resolveStep"), - /** @type {SyncHook<[ResolveRequest, Error]>} */ noResolve: new SyncHook(["request", "error"], "noResolve"), - /** @type {ResolveStepHook} */ resolve: new AsyncSeriesBailHook( ["request", "resolveContext"], "resolve" ), - /** @type {AsyncSeriesHook<[ResolveRequest, ResolveContext]>} */ result: new AsyncSeriesHook(["result", "resolveContext"], "result") }; } @@ -169,25 +399,29 @@ class Resolver { } name = toCamelCase(name); if (/^before/.test(name)) { - return /** @type {ResolveStepHook} */ (this.ensureHook( - name[6].toLowerCase() + name.substr(7) - ).withOptions({ - stage: -10 - })); + return /** @type {ResolveStepHook} */ ( + this.ensureHook(name[6].toLowerCase() + name.slice(7)).withOptions({ + stage: -10 + }) + ); } if (/^after/.test(name)) { - return /** @type {ResolveStepHook} */ (this.ensureHook( - name[5].toLowerCase() + name.substr(6) - ).withOptions({ - stage: 10 - })); + return /** @type {ResolveStepHook} */ ( + this.ensureHook(name[5].toLowerCase() + name.slice(6)).withOptions({ + stage: 10 + }) + ); } - const hook = this.hooks[name]; + /** @type {ResolveStepHook} */ + const hook = /** @type {KnownHooks & EnsuredHooks} */ (this.hooks)[name]; if (!hook) { - return (this.hooks[name] = new AsyncSeriesBailHook( + /** @type {KnownHooks & EnsuredHooks} */ + (this.hooks)[name] = new AsyncSeriesBailHook( ["request", "resolveContext"], name - )); + ); + + return /** @type {KnownHooks & EnsuredHooks} */ (this.hooks)[name]; } return hook; } @@ -202,20 +436,21 @@ class Resolver { } name = toCamelCase(name); if (/^before/.test(name)) { - return /** @type {ResolveStepHook} */ (this.getHook( - name[6].toLowerCase() + name.substr(7) - ).withOptions({ - stage: -10 - })); + return /** @type {ResolveStepHook} */ ( + this.getHook(name[6].toLowerCase() + name.slice(7)).withOptions({ + stage: -10 + }) + ); } if (/^after/.test(name)) { - return /** @type {ResolveStepHook} */ (this.getHook( - name[5].toLowerCase() + name.substr(6) - ).withOptions({ - stage: 10 - })); + return /** @type {ResolveStepHook} */ ( + this.getHook(name[5].toLowerCase() + name.slice(6)).withOptions({ + stage: 10 + }) + ); } - const hook = this.hooks[name]; + /** @type {ResolveStepHook} */ + const hook = /** @type {KnownHooks & EnsuredHooks} */ (this.hooks)[name]; if (!hook) { throw new Error(`Hook ${name} doesn't exist`); } @@ -254,7 +489,7 @@ class Resolver { * @param {string} path context path * @param {string} request request string * @param {ResolveContext} resolveContext resolve context - * @param {function(Error | null, (string|false)=, ResolveRequest=): void} callback callback function + * @param {ResolveCallback} callback callback function * @returns {void} */ resolve(context, path, request, resolveContext, callback) { @@ -267,29 +502,45 @@ class Resolver { if (!resolveContext) return callback(new Error("resolveContext argument is not set")); + /** @type {ResolveRequest} */ const obj = { context: context, path: path, request: request }; + /** @type {ResolveContextYield | undefined} */ let yield_; let yieldCalled = false; + /** @type {ResolveContextYield | undefined} */ let finishYield; if (typeof resolveContext.yield === "function") { const old = resolveContext.yield; + /** + * @param {ResolveRequest} obj object + */ yield_ = obj => { old(obj); yieldCalled = true; }; + /** + * @param {ResolveRequest} result result + * @returns {void} + */ finishYield = result => { - if (result) yield_(result); + if (result) { + /** @type {ResolveContextYield} */ (yield_)(result); + } callback(null); }; } const message = `resolve '${request}' in '${path}'`; + /** + * @param {ResolveRequest} result result + * @returns {void} + */ const finishResolved = result => { return callback( null, @@ -302,9 +553,13 @@ class Resolver { ); }; + /** + * @param {string[]} log logs + * @returns {void} + */ const finishWithoutResolve = log => { /** - * @type {Error & {details?: string}} + * @type {ErrorWithDetail} */ const error = new Error("Can't " + message); error.details = log.join("\n"); @@ -315,6 +570,7 @@ class Resolver { if (resolveContext.log) { // We need log anyway to capture it in case of an error const parentLog = resolveContext.log; + /** @type {string[]} */ const log = []; return this.doResolve( this.hooks.resolve, @@ -334,7 +590,12 @@ class Resolver { (err, result) => { if (err) return callback(err); - if (yieldCalled || (result && yield_)) return finishYield(result); + if (yieldCalled || (result && yield_)) { + return /** @type {ResolveContextYield} */ (finishYield)( + /** @type {ResolveRequest} */ (result) + ); + } + if (result) return finishResolved(result); return finishWithoutResolve(log); @@ -358,14 +619,19 @@ class Resolver { (err, result) => { if (err) return callback(err); - if (yieldCalled || (result && yield_)) return finishYield(result); + if (yieldCalled || (result && yield_)) { + return /** @type {ResolveContextYield} */ (finishYield)( + /** @type {ResolveRequest} */ (result) + ); + } + if (result) return finishResolved(result); // log is missing for the error details // so we redo the resolving for the log info // this is more expensive to the success case // is assumed by default - + /** @type {string[]} */ const log = []; return this.doResolve( @@ -381,7 +647,11 @@ class Resolver { if (err) return callback(err); // In a case that there is a race condition and yield will be called - if (yieldCalled || (result && yield_)) return finishYield(result); + if (yieldCalled || (result && yield_)) { + return /** @type {ResolveContextYield} */ (finishYield)( + /** @type {ResolveRequest} */ (result) + ); + } return finishWithoutResolve(log); } @@ -391,9 +661,18 @@ class Resolver { } } + /** + * @param {ResolveStepHook} hook hook + * @param {ResolveRequest} request request + * @param {null|string} message string + * @param {ResolveContext} resolveContext resolver context + * @param {(err?: null|Error, result?: ResolveRequest) => void} callback callback + * @returns {void} + */ doResolve(hook, request, message, resolveContext, callback) { const stackEntry = Resolver.createStackEntry(hook, request); + /** @type {Set | undefined} */ let newStack; if (resolveContext.stack) { newStack = new Set(resolveContext.stack); @@ -413,7 +692,11 @@ class Resolver { } newStack.add(stackEntry); } else { - newStack = new Set([stackEntry]); + // creating a set with new Set([item]) + // allocates a new array that has to be garbage collected + // this is an EXTREMELY hot path, so let's avoid it + newStack = new Set(); + newStack.add(stackEntry); } this.hooks.resolveStep.call(hook, request); @@ -465,17 +748,25 @@ class Resolver { part.module = this.isModule(part.request); part.directory = this.isDirectory(part.request); if (part.directory) { - part.request = part.request.substr(0, part.request.length - 1); + part.request = part.request.slice(0, -1); } } return part; } + /** + * @param {string} path path + * @returns {boolean} true, if the path is a module + */ isModule(path) { return getType(path) === PathType.Normal; } + /** + * @param {string} path path + * @returns {boolean} true, if the path is private + */ isPrivate(path) { return getType(path) === PathType.Internal; } @@ -488,10 +779,19 @@ class Resolver { return path.endsWith("/"); } + /** + * @param {string} path path + * @param {string} request request + * @returns {string} joined path + */ join(path, request) { return join(path, request); } + /** + * @param {string} path path + * @returns {string} normalized path + */ normalize(path) { return normalize(path); } diff --git a/node_modules/enhanced-resolve/lib/ResolverFactory.js b/node_modules/enhanced-resolve/lib/ResolverFactory.js index 6af60a5e66..59558c7fe5 100644 --- a/node_modules/enhanced-resolve/lib/ResolverFactory.js +++ b/node_modules/enhanced-resolve/lib/ResolverFactory.js @@ -41,14 +41,17 @@ const UseFilePlugin = require("./UseFilePlugin"); /** @typedef {import("./AliasPlugin").AliasOption} AliasOptionEntry */ /** @typedef {import("./ExtensionAliasPlugin").ExtensionAliasOption} ExtensionAliasOption */ /** @typedef {import("./PnpPlugin").PnpApiImpl} PnpApi */ +/** @typedef {import("./Resolver").EnsuredHooks} EnsuredHooks */ /** @typedef {import("./Resolver").FileSystem} FileSystem */ +/** @typedef {import("./Resolver").KnownHooks} KnownHooks */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").SyncFileSystem} SyncFileSystem */ /** @typedef {string|string[]|false} AliasOptionNewRequest */ /** @typedef {{[k: string]: AliasOptionNewRequest}} AliasOptions */ /** @typedef {{[k: string]: string|string[] }} ExtensionAliasOptions */ -/** @typedef {{apply: function(Resolver): void} | function(this: Resolver, Resolver): void} Plugin */ +/** @typedef {false | 0 | "" | null | undefined} Falsy */ +/** @typedef {{apply: function(Resolver): void} | (function(this: Resolver, Resolver): void) | Falsy} Plugin */ /** * @typedef {Object} UserResolveOptions @@ -122,8 +125,27 @@ function processPnpApiOption(option) { option === undefined && /** @type {NodeJS.ProcessVersions & {pnp: string}} */ versions.pnp ) { - // @ts-ignore - return require("pnpapi"); // eslint-disable-line node/no-missing-require + const _findPnpApi = + /** @type {function(string): PnpApi | null}} */ + ( + // @ts-ignore + require("module").findPnpApi + ); + + if (_findPnpApi) { + return { + resolveToUnqualified(request, issuer, opts) { + const pnpapi = _findPnpApi(issuer); + + if (!pnpapi) { + // Issuer isn't managed by PnP + return null; + } + + return pnpapi.resolveToUnqualified(request, issuer, opts); + } + }; + } } return option || null; @@ -141,7 +163,7 @@ function normalizeAlias(alias) { if (/\$$/.test(key)) { obj.onlyModule = true; - obj.name = key.substr(0, key.length - 1); + obj.name = key.slice(0, -1); } return obj; @@ -155,6 +177,7 @@ function normalizeAlias(alias) { */ function createOptions(options) { const mainFieldsSet = new Set(options.mainFields || ["main"]); + /** @type {ResolveOptions["mainFields"]} */ const mainFields = []; for (const item of mainFieldsSet) { @@ -301,6 +324,7 @@ exports.createResolver = function (options) { resolver.ensureHook("normalResolve"); resolver.ensureHook("internal"); resolver.ensureHook("rawModule"); + resolver.ensureHook("alternateRawModule"); resolver.ensureHook("module"); resolver.ensureHook("resolveAsModule"); resolver.ensureHook("undescribedResolveInPackage"); @@ -321,6 +345,7 @@ exports.createResolver = function (options) { // TODO remove in next major // cspell:word Interal // Backward-compat + // @ts-ignore resolver.hooks.newInteralResolve = resolver.hooks.newInternalResolve; // resolve @@ -333,7 +358,7 @@ exports.createResolver = function (options) { new UnsafeCachePlugin( source, cachePredicate, - unsafeCache, + /** @type {import("./UnsafeCachePlugin").Cache} */ (unsafeCache), cacheWithContext, `new-${source}` ) @@ -441,7 +466,20 @@ exports.createResolver = function (options) { ) ); plugins.push( - new PnpPlugin("raw-module", pnpApi, "undescribed-resolve-in-package") + new PnpPlugin( + "raw-module", + pnpApi, + "undescribed-resolve-in-package", + "alternate-raw-module" + ) + ); + + plugins.push( + new ModulesInHierarchicalDirectoriesPlugin( + "alternate-raw-module", + ["node_modules"], + "module" + ) ); } else { plugins.push( @@ -636,18 +674,24 @@ exports.createResolver = function (options) { plugins.push(new NextPlugin("existing-file", "resolved")); } + const resolved = + /** @type {KnownHooks & EnsuredHooks} */ + (resolver.hooks).resolved; + // resolved if (restrictions.size > 0) { - plugins.push(new RestrictionsPlugin(resolver.hooks.resolved, restrictions)); + plugins.push(new RestrictionsPlugin(resolved, restrictions)); } - plugins.push(new ResultPlugin(resolver.hooks.resolved)); + + plugins.push(new ResultPlugin(resolved)); //// RESOLVER //// for (const plugin of plugins) { if (typeof plugin === "function") { - plugin.call(resolver, resolver); - } else { + /** @type {function(this: Resolver, Resolver): void} */ + (plugin).call(resolver, resolver); + } else if (plugin) { plugin.apply(resolver); } } diff --git a/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js b/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js index 1d87a5f4a2..e52ca9d5b2 100644 --- a/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js +++ b/node_modules/enhanced-resolve/lib/RestrictionsPlugin.js @@ -11,6 +11,11 @@ const slashCode = "/".charCodeAt(0); const backslashCode = "\\".charCodeAt(0); +/** + * @param {string} path path + * @param {string} parent parent path + * @returns {boolean} true, if path is inside of parent + */ const isInside = (path, parent) => { if (!path.startsWith(parent)) return false; if (path.length === parent.length) return true; diff --git a/node_modules/enhanced-resolve/lib/RootsPlugin.js b/node_modules/enhanced-resolve/lib/RootsPlugin.js index ba495a0f29..1d299113ce 100644 --- a/node_modules/enhanced-resolve/lib/RootsPlugin.js +++ b/node_modules/enhanced-resolve/lib/RootsPlugin.js @@ -8,6 +8,7 @@ const forEachBail = require("./forEachBail"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ class RootsPlugin { @@ -38,8 +39,14 @@ class RootsPlugin { forEachBail( this.roots, + /** + * @param {string} root root + * @param {(err?: null|Error, result?: null|ResolveRequest) => void} callback callback + * @returns {void} + */ (root, callback) => { const path = resolver.join(root, req.slice(1)); + /** @type {ResolveRequest} */ const obj = { ...request, path, diff --git a/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js b/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js index 984f25abb5..a8dc1484b6 100644 --- a/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js +++ b/node_modules/enhanced-resolve/lib/SelfReferencePlugin.js @@ -8,6 +8,8 @@ const DescriptionFileUtils = require("./DescriptionFileUtils"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").JsonObject} JsonObject */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ const slashCode = "/".charCodeAt(0); @@ -40,13 +42,13 @@ module.exports = class SelfReferencePlugin { // Feature is only enabled when an exports field is present const exportsField = DescriptionFileUtils.getField( - request.descriptionFileData, + /** @type {JsonObject} */ (request.descriptionFileData), this.fieldName ); if (!exportsField) return callback(); const name = DescriptionFileUtils.getField( - request.descriptionFileData, + /** @type {JsonObject} */ (request.descriptionFileData), "name" ); if (typeof name !== "string") return callback(); @@ -57,7 +59,7 @@ module.exports = class SelfReferencePlugin { req.charCodeAt(name.length) === slashCode) ) { const remainingRequest = `.${req.slice(name.length)}`; - + /** @type {ResolveRequest} */ const obj = { ...request, request: remainingRequest, diff --git a/node_modules/enhanced-resolve/lib/SymlinkPlugin.js b/node_modules/enhanced-resolve/lib/SymlinkPlugin.js index 2d36f09400..7adab54844 100644 --- a/node_modules/enhanced-resolve/lib/SymlinkPlugin.js +++ b/node_modules/enhanced-resolve/lib/SymlinkPlugin.js @@ -10,6 +10,7 @@ const getPaths = require("./getPaths"); const { getType, PathType } = require("./util/path"); /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class SymlinkPlugin { @@ -33,7 +34,7 @@ module.exports = class SymlinkPlugin { .getHook(this.source) .tapAsync("SymlinkPlugin", (request, resolveContext, callback) => { if (request.ignoreSymlinks) return callback(); - const pathsResult = getPaths(request.path); + const pathsResult = getPaths(/** @type {string} */ (request.path)); const pathSegments = pathsResult.segments; const paths = pathsResult.paths; @@ -41,13 +42,18 @@ module.exports = class SymlinkPlugin { let idx = -1; forEachBail( paths, + /** + * @param {string} path path + * @param {(err?: null|Error, result?: null|number) => void} callback callback + * @returns {void} + */ (path, callback) => { idx++; if (resolveContext.fileDependencies) resolveContext.fileDependencies.add(path); fs.readlink(path, (err, result) => { if (!err && result) { - pathSegments[idx] = result; + pathSegments[idx] = /** @type {string} */ (result); containsSymlink = true; // Shortcut when absolute symlink found const resultType = getType(result.toString()); @@ -61,6 +67,11 @@ module.exports = class SymlinkPlugin { callback(); }); }, + /** + * @param {null|Error} [err] error + * @param {null|number} [idx] result + * @returns {void} + */ (err, idx) => { if (!containsSymlink) return callback(); const resultSegments = @@ -70,6 +81,7 @@ module.exports = class SymlinkPlugin { const result = resultSegments.reduceRight((a, b) => { return resolver.join(a, b); }); + /** @type {ResolveRequest} */ const obj = { ...request, path: result diff --git a/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js b/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js index ee9116fdbf..d1f1814ee3 100644 --- a/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js +++ b/node_modules/enhanced-resolve/lib/SyncAsyncFileSystemDecorator.js @@ -6,6 +6,8 @@ "use strict"; /** @typedef {import("./Resolver").FileSystem} FileSystem */ +/** @typedef {import("./Resolver").ReaddirStringCallback} ReaddirStringCallback */ +/** @typedef {import("./Resolver").StringCallback} StringCallback */ /** @typedef {import("./Resolver").SyncFileSystem} SyncFileSystem */ /** @@ -19,77 +21,200 @@ function SyncAsyncFileSystemDecorator(fs) { this.lstatSync = undefined; const lstatSync = fs.lstatSync; if (lstatSync) { - this.lstat = (arg, options, callback) => { - let result; - try { - result = lstatSync.call(fs, arg); - } catch (e) { - return (callback || options)(e); - } - (callback || options)(null, result); - }; - this.lstatSync = (arg, options) => lstatSync.call(fs, arg, options); + this.lstat = + /** @type {FileSystem["lstat"]} */ + ( + (arg, options, callback) => { + let result; + try { + result = /** @type {Function | undefined} */ (callback) + ? lstatSync.call(fs, arg, options) + : lstatSync.call(fs, arg); + } catch (e) { + return (callback || options)( + /** @type {NodeJS.ErrnoException | null} */ (e) + ); + } + + (callback || options)(null, /** @type {any} */ (result)); + } + ); + this.lstatSync = + /** @type {SyncFileSystem["lstatSync"]} */ + ((arg, options) => lstatSync.call(fs, arg, options)); } - this.stat = (arg, options, callback) => { - let result; - try { - result = callback ? fs.statSync(arg, options) : fs.statSync(arg); - } catch (e) { - return (callback || options)(e); - } - (callback || options)(null, result); - }; - this.statSync = (arg, options) => fs.statSync(arg, options); - - this.readdir = (arg, options, callback) => { - let result; - try { - result = fs.readdirSync(arg); - } catch (e) { - return (callback || options)(e); - } - (callback || options)(null, result); - }; - this.readdirSync = (arg, options) => fs.readdirSync(arg, options); - - this.readFile = (arg, options, callback) => { - let result; - try { - result = fs.readFileSync(arg); - } catch (e) { - return (callback || options)(e); - } - (callback || options)(null, result); - }; - this.readFileSync = (arg, options) => fs.readFileSync(arg, options); - - this.readlink = (arg, options, callback) => { - let result; - try { - result = fs.readlinkSync(arg); - } catch (e) { - return (callback || options)(e); - } - (callback || options)(null, result); - }; - this.readlinkSync = (arg, options) => fs.readlinkSync(arg, options); + this.stat = + /** @type {FileSystem["stat"]} */ + ( + (arg, options, callback) => { + let result; + try { + result = /** @type {Function | undefined} */ (callback) + ? fs.statSync(arg, options) + : fs.statSync(arg); + } catch (e) { + return (callback || options)( + /** @type {NodeJS.ErrnoException | null} */ (e) + ); + } + + (callback || options)(null, /** @type {any} */ (result)); + } + ); + this.statSync = + /** @type {SyncFileSystem["statSync"]} */ + ((arg, options) => fs.statSync(arg, options)); + + this.readdir = + /** @type {FileSystem["readdir"]} */ + ( + (arg, options, callback) => { + let result; + try { + result = /** @type {Function | undefined} */ (callback) + ? fs.readdirSync( + arg, + /** @type {Exclude[1], ReaddirStringCallback>} */ + (options) + ) + : fs.readdirSync(arg); + } catch (e) { + return (callback || options)( + /** @type {NodeJS.ErrnoException | null} */ (e) + ); + } + + (callback || options)(null, /** @type {any} */ (result)); + } + ); + this.readdirSync = + /** @type {SyncFileSystem["readdirSync"]} */ + ( + (arg, options) => + fs.readdirSync( + arg, + /** @type {Parameters[1]} */ (options) + ) + ); + + this.readFile = + /** @type {FileSystem["readFile"]} */ + ( + (arg, options, callback) => { + let result; + try { + result = /** @type {Function | undefined} */ (callback) + ? fs.readFileSync(arg, options) + : fs.readFileSync(arg); + } catch (e) { + return (callback || options)( + /** @type {NodeJS.ErrnoException | null} */ (e) + ); + } + + (callback || options)(null, /** @type {any} */ (result)); + } + ); + this.readFileSync = + /** @type {SyncFileSystem["readFileSync"]} */ + ((arg, options) => fs.readFileSync(arg, options)); + + this.readlink = + /** @type {FileSystem["readlink"]} */ + ( + (arg, options, callback) => { + let result; + try { + result = /** @type {Function | undefined} */ (callback) + ? fs.readlinkSync( + arg, + /** @type {Exclude[1], StringCallback>} */ + (options) + ) + : fs.readlinkSync(arg); + } catch (e) { + return (callback || options)( + /** @type {NodeJS.ErrnoException | null} */ (e) + ); + } + + (callback || options)(null, /** @type {any} */ (result)); + } + ); + this.readlinkSync = + /** @type {SyncFileSystem["readlinkSync"]} */ + ( + (arg, options) => + fs.readlinkSync( + arg, + /** @type {Parameters[1]} */ (options) + ) + ); this.readJson = undefined; this.readJsonSync = undefined; const readJsonSync = fs.readJsonSync; if (readJsonSync) { - this.readJson = (arg, options, callback) => { - let result; - try { - result = readJsonSync.call(fs, arg); - } catch (e) { - return (callback || options)(e); - } - (callback || options)(null, result); - }; + this.readJson = + /** @type {FileSystem["readJson"]} */ + ( + (arg, callback) => { + let result; + try { + result = readJsonSync.call(fs, arg); + } catch (e) { + return callback( + /** @type {NodeJS.ErrnoException | Error | null} */ (e) + ); + } + + callback(null, result); + } + ); + this.readJsonSync = + /** @type {SyncFileSystem["readJsonSync"]} */ + (arg => readJsonSync.call(fs, arg)); + } + + this.realpath = undefined; + this.realpathSync = undefined; + const realpathSync = fs.realpathSync; + if (realpathSync) { + this.realpath = + /** @type {FileSystem["realpath"]} */ + ( + (arg, options, callback) => { + let result; + try { + result = /** @type {Function | undefined} */ (callback) + ? realpathSync.call( + fs, + arg, + /** @type {Exclude>[1], StringCallback>} */ + (options) + ) + : realpathSync.call(fs, arg); + } catch (e) { + return (callback || options)( + /** @type {NodeJS.ErrnoException | null} */ (e) + ); + } - this.readJsonSync = (arg, options) => readJsonSync.call(fs, arg, options); + (callback || options)(null, /** @type {any} */ (result)); + } + ); + this.realpathSync = + /** @type {SyncFileSystem["realpathSync"]} */ + ( + (arg, options) => + realpathSync.call( + fs, + arg, + /** @type {Parameters>[1]} */ + (options) + ) + ); } } module.exports = SyncAsyncFileSystemDecorator; diff --git a/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js b/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js index a2f07f4315..e6c01498e9 100644 --- a/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js +++ b/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js @@ -8,8 +8,15 @@ /** @typedef {import("./Resolver")} Resolver */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ -/** @typedef {{[k: string]: any}} Cache */ +/** @typedef {import("./Resolver").ResolveContextYield} ResolveContextYield */ +/** @typedef {{[k: string]: ResolveRequest | ResolveRequest[] | undefined}} Cache */ +/** + * @param {string} type type of cache + * @param {ResolveRequest} request request + * @param {boolean} withContext cache with context? + * @returns {string} cache id + */ function getCacheId(type, request, withContext) { return JSON.stringify({ type, @@ -64,11 +71,14 @@ module.exports = class UnsafeCachePlugin { } return callback(null, null); } - return callback(null, cacheEntry); + return callback(null, /** @type {ResolveRequest} */ (cacheEntry)); } + /** @type {ResolveContextYield|undefined} */ let yieldFn; + /** @type {ResolveContextYield|undefined} */ let yield_; + /** @type {ResolveRequest[]} */ const yieldResult = []; if (isYield) { yieldFn = resolveContext.yield; @@ -86,7 +96,10 @@ module.exports = class UnsafeCachePlugin { if (err) return callback(err); if (isYield) { if (result) yieldResult.push(result); - for (const result of yieldResult) yieldFn(result); + for (const result of yieldResult) { + /** @type {ResolveContextYield} */ + (yieldFn)(result); + } this.cache[cacheId] = yieldResult; return callback(null, null); } diff --git a/node_modules/enhanced-resolve/lib/UseFilePlugin.js b/node_modules/enhanced-resolve/lib/UseFilePlugin.js index 3d664d82ed..14aebdd486 100644 --- a/node_modules/enhanced-resolve/lib/UseFilePlugin.js +++ b/node_modules/enhanced-resolve/lib/UseFilePlugin.js @@ -6,6 +6,7 @@ "use strict"; /** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ module.exports = class UseFilePlugin { @@ -29,7 +30,12 @@ module.exports = class UseFilePlugin { resolver .getHook(this.source) .tapAsync("UseFilePlugin", (request, resolveContext, callback) => { - const filePath = resolver.join(request.path, this.filename); + const filePath = resolver.join( + /** @type {string} */ (request.path), + this.filename + ); + + /** @type {ResolveRequest} */ const obj = { ...request, path: filePath, diff --git a/node_modules/enhanced-resolve/lib/createInnerContext.js b/node_modules/enhanced-resolve/lib/createInnerContext.js index 0529356eb9..88c7a58e03 100644 --- a/node_modules/enhanced-resolve/lib/createInnerContext.js +++ b/node_modules/enhanced-resolve/lib/createInnerContext.js @@ -5,27 +5,37 @@ "use strict"; -module.exports = function createInnerContext( - options, - message, - messageOptional -) { +/** @typedef {import("./Resolver").ResolveContext} ResolveContext */ + +/** + * @param {ResolveContext} options options for inner context + * @param {null|string} message message to log + * @returns {ResolveContext} inner context + */ +module.exports = function createInnerContext(options, message) { let messageReported = false; let innerLog = undefined; if (options.log) { if (message) { + /** + * @param {string} msg message + */ innerLog = msg => { if (!messageReported) { - options.log(message); + /** @type {(function(string): void)} */ + (options.log)(message); messageReported = true; } - options.log(" " + msg); + + /** @type {(function(string): void)} */ + (options.log)(" " + msg); }; } else { innerLog = options.log; } } - const childContext = { + + return { log: innerLog, yield: options.yield, fileDependencies: options.fileDependencies, @@ -33,5 +43,4 @@ module.exports = function createInnerContext( missingDependencies: options.missingDependencies, stack: options.stack }; - return childContext; }; diff --git a/node_modules/enhanced-resolve/lib/forEachBail.js b/node_modules/enhanced-resolve/lib/forEachBail.js index 031a562e56..32a7250aa1 100644 --- a/node_modules/enhanced-resolve/lib/forEachBail.js +++ b/node_modules/enhanced-resolve/lib/forEachBail.js @@ -5,19 +5,44 @@ "use strict"; +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ + +/** + * @template T + * @template Z + * @callback Iterator + * @param {T} item item + * @param {(err?: null|Error, result?: null|Z) => void} callback callback + * @param {number} i index + * @returns {void} + */ + +/** + * @template T + * @template Z + * @param {T[]} array array + * @param {Iterator} iterator iterator + * @param {(err?: null|Error, result?: null|Z, i?: number) => void} callback callback after all items are iterated + * @returns {void} + */ module.exports = function forEachBail(array, iterator, callback) { if (array.length === 0) return callback(); let i = 0; const next = () => { + /** @type {boolean|undefined} */ let loop = undefined; - iterator(array[i++], (err, result) => { - if (err || result !== undefined || i >= array.length) { - return callback(err, result); - } - if (loop === false) while (next()); - loop = true; - }); + iterator( + array[i++], + (err, result) => { + if (err || result !== undefined || i >= array.length) { + return callback(err, result, i); + } + if (loop === false) while (next()); + loop = true; + }, + i + ); if (!loop) loop = false; return loop; }; diff --git a/node_modules/enhanced-resolve/lib/getInnerRequest.js b/node_modules/enhanced-resolve/lib/getInnerRequest.js index 04758142df..c34c10f21e 100644 --- a/node_modules/enhanced-resolve/lib/getInnerRequest.js +++ b/node_modules/enhanced-resolve/lib/getInnerRequest.js @@ -5,6 +5,14 @@ "use strict"; +/** @typedef {import("./Resolver")} Resolver */ +/** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ + +/** + * @param {Resolver} resolver resolver + * @param {ResolveRequest} request string + * @returns {string} inner request + */ module.exports = function getInnerRequest(resolver, request) { if ( typeof request.__innerRequest === "string" && @@ -12,6 +20,7 @@ module.exports = function getInnerRequest(resolver, request) { request.__innerRequest_relativePath === request.relativePath ) return request.__innerRequest; + /** @type {string|undefined} */ let innerRequest; if (request.request) { innerRequest = request.request; @@ -23,5 +32,5 @@ module.exports = function getInnerRequest(resolver, request) { } request.__innerRequest_request = request.request; request.__innerRequest_relativePath = request.relativePath; - return (request.__innerRequest = innerRequest); + return (request.__innerRequest = /** @type {string} */ (innerRequest)); }; diff --git a/node_modules/enhanced-resolve/lib/getPaths.js b/node_modules/enhanced-resolve/lib/getPaths.js index fad33e5c90..d5835b0d06 100644 --- a/node_modules/enhanced-resolve/lib/getPaths.js +++ b/node_modules/enhanced-resolve/lib/getPaths.js @@ -5,18 +5,22 @@ "use strict"; +/** + * @param {string} path path + * @returns {{paths: string[], segments: string[]}}} paths and segments + */ module.exports = function getPaths(path) { if (path === "/") return { paths: ["/"], segments: [""] }; const parts = path.split(/(.*?[\\/]+)/); const paths = [path]; const segments = [parts[parts.length - 1]]; let part = parts[parts.length - 1]; - path = path.substr(0, path.length - part.length - 1); + path = path.substring(0, path.length - part.length - 1); for (let i = parts.length - 2; i > 2; i -= 2) { paths.push(path); part = parts[i]; - path = path.substr(0, path.length - part.length) || "/"; - segments.push(part.substr(0, part.length - 1)); + path = path.substring(0, path.length - part.length) || "/"; + segments.push(part.slice(0, -1)); } part = parts[1]; segments.push(part); @@ -27,11 +31,15 @@ module.exports = function getPaths(path) { }; }; +/** + * @param {string} path path + * @returns {string|null} basename or null + */ module.exports.basename = function basename(path) { const i = path.lastIndexOf("/"), j = path.lastIndexOf("\\"); const p = i < 0 ? j : j < 0 ? i : i < j ? j : i; if (p < 0) return null; - const s = path.substr(p + 1); + const s = path.slice(p + 1); return s; }; diff --git a/node_modules/enhanced-resolve/lib/index.js b/node_modules/enhanced-resolve/lib/index.js index 0a6f437266..ab02cfa256 100644 --- a/node_modules/enhanced-resolve/lib/index.js +++ b/node_modules/enhanced-resolve/lib/index.js @@ -12,10 +12,23 @@ const ResolverFactory = require("./ResolverFactory"); /** @typedef {import("./PnpPlugin").PnpApiImpl} PnpApi */ /** @typedef {import("./Resolver")} Resolver */ /** @typedef {import("./Resolver").FileSystem} FileSystem */ +/** @typedef {import("./Resolver").ResolveCallback} ResolveCallback */ /** @typedef {import("./Resolver").ResolveContext} ResolveContext */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** @typedef {import("./ResolverFactory").Plugin} Plugin */ /** @typedef {import("./ResolverFactory").UserResolveOptions} ResolveOptions */ +/** @typedef {{ + * (context: object, path: string, request: string, resolveContext: ResolveContext, callback: ResolveCallback): void; + * (context: object, path: string, request: string, callback: ResolveCallback): void; + * (path: string, request: string, resolveContext: ResolveContext, callback: ResolveCallback): void; + * (path: string, request: string, callback: ResolveCallback): void; + * }} ResolveFunctionAsync + */ +/** @typedef {{ + * (context: object, path: string, request: string): string|false; + * (path: string, request: string): string|false; + * }} ResolveFunction + */ const nodeFileSystem = new CachedInputFileSystem(fs, 4000); @@ -28,19 +41,37 @@ const asyncResolver = ResolverFactory.createResolver({ extensions: [".js", ".json", ".node"], fileSystem: nodeFileSystem }); -function resolve(context, path, request, resolveContext, callback) { - if (typeof context === "string") { - callback = resolveContext; - resolveContext = request; - request = path; - path = context; - context = nodeContext; - } - if (typeof callback !== "function") { - callback = resolveContext; - } - asyncResolver.resolve(context, path, request, resolveContext, callback); -} + +/** + * @type {ResolveFunctionAsync} + */ +const resolve = + /** + * @param {object|string} context + * @param {string} path + * @param {string|ResolveContext|ResolveCallback} request + * @param {ResolveContext|ResolveCallback=} resolveContext + * @param {ResolveCallback=} callback + */ + (context, path, request, resolveContext, callback) => { + if (typeof context === "string") { + callback = /** @type {ResolveCallback} */ (resolveContext); + resolveContext = /** @type {ResolveContext} */ (request); + request = path; + path = context; + context = nodeContext; + } + if (typeof callback !== "function") { + callback = /** @type {ResolveCallback} */ (resolveContext); + } + asyncResolver.resolve( + context, + path, + /** @type {string} */ (request), + /** @type {ResolveContext} */ (resolveContext), + /** @type {ResolveCallback} */ (callback) + ); + }; const syncResolver = ResolverFactory.createResolver({ conditionNames: ["node"], @@ -48,50 +79,91 @@ const syncResolver = ResolverFactory.createResolver({ useSyncFileSystemCalls: true, fileSystem: nodeFileSystem }); -function resolveSync(context, path, request) { - if (typeof context === "string") { - request = path; - path = context; - context = nodeContext; - } - return syncResolver.resolveSync(context, path, request); -} +/** + * @type {ResolveFunction} + */ +const resolveSync = + /** + * @param {object|string} context + * @param {string} path + * @param {string=} request + */ + (context, path, request) => { + if (typeof context === "string") { + request = path; + path = context; + context = nodeContext; + } + return syncResolver.resolveSync( + context, + path, + /** @type {string} */ (request) + ); + }; + +/** @typedef {Omit & Partial>} ResolveOptionsOptionalFS */ + +/** + * @param {ResolveOptionsOptionalFS} options Resolver options + * @returns {ResolveFunctionAsync} Resolver function + */ function create(options) { - options = { + const resolver = ResolverFactory.createResolver({ fileSystem: nodeFileSystem, ...options - }; - const resolver = ResolverFactory.createResolver(options); + }); + /** + * @param {object|string} context Custom context + * @param {string} path Base path + * @param {string|ResolveContext|ResolveCallback} request String to resolve + * @param {ResolveContext|ResolveCallback=} resolveContext Resolve context + * @param {ResolveCallback=} callback Result callback + */ return function (context, path, request, resolveContext, callback) { if (typeof context === "string") { - callback = resolveContext; - resolveContext = request; + callback = /** @type {ResolveCallback} */ (resolveContext); + resolveContext = /** @type {ResolveContext} */ (request); request = path; path = context; context = nodeContext; } if (typeof callback !== "function") { - callback = resolveContext; + callback = /** @type {ResolveCallback} */ (resolveContext); } - resolver.resolve(context, path, request, resolveContext, callback); + resolver.resolve( + context, + path, + /** @type {string} */ (request), + /** @type {ResolveContext} */ (resolveContext), + callback + ); }; } +/** + * @param {ResolveOptionsOptionalFS} options Resolver options + * @returns {ResolveFunction} Resolver function + */ function createSync(options) { - options = { + const resolver = ResolverFactory.createResolver({ useSyncFileSystemCalls: true, fileSystem: nodeFileSystem, ...options - }; - const resolver = ResolverFactory.createResolver(options); + }); + /** + * @param {object|string} context custom context + * @param {string} path base path + * @param {string=} request request to resolve + * @returns {string|false} Resolved path or false + */ return function (context, path, request) { if (typeof context === "string") { request = path; path = context; context = nodeContext; } - return resolver.resolveSync(context, path, request); + return resolver.resolveSync(context, path, /** @type {string} */ (request)); }; } diff --git a/node_modules/enhanced-resolve/lib/util/entrypoints.js b/node_modules/enhanced-resolve/lib/util/entrypoints.js index b925d6268a..683a8e8029 100644 --- a/node_modules/enhanced-resolve/lib/util/entrypoints.js +++ b/node_modules/enhanced-resolve/lib/util/entrypoints.js @@ -11,20 +11,12 @@ /** @typedef {Record|ConditionalMapping|DirectMapping} ExportsField */ /** @typedef {Record} ImportsField */ -/** - * @typedef {Object} PathTreeNode - * @property {Map|null} children - * @property {MappingValue} folder - * @property {Map|null} wildcards - * @property {Map} files - */ - /** * Processing exports/imports field * @callback FieldProcessor * @param {string} request request * @param {Set} conditionNames condition names - * @returns {string[]} resolved paths + * @returns {[string[], string | null]} resolved paths with used field */ /* @@ -80,9 +72,11 @@ Conditional mapping nested in another conditional mapping is called nested mappi */ +const { parseIdentifier } = require("./identifier"); const slashCode = "/".charCodeAt(0); const dotCode = ".".charCodeAt(0); const hashCode = "#".charCodeAt(0); +const patternRegEx = /\*/g; /** * @param {ExportsField} exportsField the exports field @@ -92,7 +86,8 @@ module.exports.processExportsField = function processExportsField( exportsField ) { return createFieldProcessor( - buildExportsFieldPathTree(exportsField), + buildExportsField(exportsField), + request => (request.length === 0 ? "." : "./" + request), assertExportsFieldRequest, assertExportTarget ); @@ -106,27 +101,35 @@ module.exports.processImportsField = function processImportsField( importsField ) { return createFieldProcessor( - buildImportsFieldPathTree(importsField), + importsField, + request => "#" + request, assertImportsFieldRequest, assertImportTarget ); }; /** - * @param {PathTreeNode} treeRoot root + * @param {ExportsField | ImportsField} field root + * @param {(s: string) => string} normalizeRequest Normalize request, for `imports` field it adds `#`, for `exports` field it adds `.` or `./` * @param {(s: string) => string} assertRequest assertRequest * @param {(s: string, f: boolean) => void} assertTarget assertTarget * @returns {FieldProcessor} field processor */ -function createFieldProcessor(treeRoot, assertRequest, assertTarget) { +function createFieldProcessor( + field, + normalizeRequest, + assertRequest, + assertTarget +) { return function fieldProcessor(request, conditionNames) { request = assertRequest(request); - const match = findMatch(request, treeRoot); + const match = findMatch(normalizeRequest(request), field); - if (match === null) return []; + if (match === null) return [[], null]; - const [mapping, remainRequestIndex] = match; + const [mapping, remainingRequest, isSubpathMapping, isPattern, usedField] = + match; /** @type {DirectMapping|null} */ let direct = null; @@ -138,25 +141,22 @@ function createFieldProcessor(treeRoot, assertRequest, assertTarget) { ); // matching not found - if (direct === null) return []; + if (direct === null) return [[], null]; } else { direct = /** @type {DirectMapping} */ (mapping); } - const remainingRequest = - remainRequestIndex === request.length + 1 - ? undefined - : remainRequestIndex < 0 - ? request.slice(-remainRequestIndex - 1) - : request.slice(remainRequestIndex); - - return directMapping( - remainingRequest, - remainRequestIndex < 0, - direct, - conditionNames, - assertTarget - ); + return [ + directMapping( + remainingRequest, + isPattern, + isSubpathMapping, + direct, + conditionNames, + assertTarget + ), + usedField + ]; }; } @@ -205,18 +205,15 @@ function assertImportsFieldRequest(request) { * @param {boolean} expectFolder is folder expected */ function assertExportTarget(exp, expectFolder) { - if ( - exp.charCodeAt(0) === slashCode || - (exp.charCodeAt(0) === dotCode && exp.charCodeAt(1) !== slashCode) - ) { - throw new Error( - `Export should be relative path and start with "./", got ${JSON.stringify( - exp - )}.` - ); + const parsedIdentifier = parseIdentifier(exp); + + if (!parsedIdentifier) { + return; } - const isFolder = exp.charCodeAt(exp.length - 1) === slashCode; + const [relativePath] = parsedIdentifier; + const isFolder = + relativePath.charCodeAt(relativePath.length - 1) === slashCode; if (isFolder !== expectFolder) { throw new Error( @@ -236,7 +233,15 @@ function assertExportTarget(exp, expectFolder) { * @param {boolean} expectFolder is folder expected */ function assertImportTarget(imp, expectFolder) { - const isFolder = imp.charCodeAt(imp.length - 1) === slashCode; + const parsedIdentifier = parseIdentifier(imp); + + if (!parsedIdentifier) { + return; + } + + const [relativePath] = parsedIdentifier; + const isFolder = + relativePath.charCodeAt(relativePath.length - 1) === slashCode; if (isFolder !== expectFolder) { throw new Error( @@ -251,101 +256,95 @@ function assertImportTarget(imp, expectFolder) { } } +/** + * @param {string} a first string + * @param {string} b second string + * @returns {number} compare result + */ +function patternKeyCompare(a, b) { + const aPatternIndex = a.indexOf("*"); + const bPatternIndex = b.indexOf("*"); + const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; + const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; + + if (baseLenA > baseLenB) return -1; + if (baseLenB > baseLenA) return 1; + if (aPatternIndex === -1) return 1; + if (bPatternIndex === -1) return -1; + if (a.length > b.length) return -1; + if (b.length > a.length) return 1; + + return 0; +} + /** * Trying to match request to field * @param {string} request request - * @param {PathTreeNode} treeRoot path tree root - * @returns {[MappingValue, number]|null} match or null, number is negative and one less when it's a folder mapping, number is request.length + 1 for direct mappings + * @param {ExportsField | ImportsField} field exports or import field + * @returns {[MappingValue, string, boolean, boolean, string]|null} match or null, number is negative and one less when it's a folder mapping, number is request.length + 1 for direct mappings */ -function findMatch(request, treeRoot) { - if (request.length === 0) { - const value = treeRoot.files.get(""); - - return value ? [value, 1] : null; - } - +function findMatch(request, field) { if ( - treeRoot.children === null && - treeRoot.folder === null && - treeRoot.wildcards === null + Object.prototype.hasOwnProperty.call(field, request) && + !request.includes("*") && + !request.endsWith("/") ) { - const value = treeRoot.files.get(request); + const target = /** @type {{[k: string]: MappingValue}} */ (field)[request]; - return value ? [value, request.length + 1] : null; + return [target, "", false, false, request]; } - let node = treeRoot; - let lastNonSlashIndex = 0; - let slashIndex = request.indexOf("/", 0); - - /** @type {[MappingValue, number]|null} */ - let lastFolderMatch = null; - - const applyFolderMapping = () => { - const folderMapping = node.folder; - if (folderMapping) { - if (lastFolderMatch) { - lastFolderMatch[0] = folderMapping; - lastFolderMatch[1] = -lastNonSlashIndex - 1; - } else { - lastFolderMatch = [folderMapping, -lastNonSlashIndex - 1]; - } - } - }; + /** @type {string} */ + let bestMatch = ""; + /** @type {string|undefined} */ + let bestMatchSubpath; - const applyWildcardMappings = (wildcardMappings, remainingRequest) => { - if (wildcardMappings) { - for (const [key, target] of wildcardMappings) { - if (remainingRequest.startsWith(key)) { - if (!lastFolderMatch) { - lastFolderMatch = [target, lastNonSlashIndex + key.length]; - } else if (lastFolderMatch[1] < lastNonSlashIndex + key.length) { - lastFolderMatch[0] = target; - lastFolderMatch[1] = lastNonSlashIndex + key.length; - } - } + const keys = Object.getOwnPropertyNames(field); + + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + const patternIndex = key.indexOf("*"); + + if (patternIndex !== -1 && request.startsWith(key.slice(0, patternIndex))) { + const patternTrailer = key.slice(patternIndex + 1); + + if ( + request.length >= key.length && + request.endsWith(patternTrailer) && + patternKeyCompare(bestMatch, key) === 1 && + key.lastIndexOf("*") === patternIndex + ) { + bestMatch = key; + bestMatchSubpath = request.slice( + patternIndex, + request.length - patternTrailer.length + ); } } - }; - - while (slashIndex !== -1) { - applyFolderMapping(); - - const wildcardMappings = node.wildcards; - - if (!wildcardMappings && node.children === null) return lastFolderMatch; - - const folder = request.slice(lastNonSlashIndex, slashIndex); - - applyWildcardMappings(wildcardMappings, folder); - - if (node.children === null) return lastFolderMatch; - - const newNode = node.children.get(folder); - - if (!newNode) { - return lastFolderMatch; + // For legacy `./foo/` + else if ( + key[key.length - 1] === "/" && + request.startsWith(key) && + patternKeyCompare(bestMatch, key) === 1 + ) { + bestMatch = key; + bestMatchSubpath = request.slice(key.length); } - - node = newNode; - lastNonSlashIndex = slashIndex + 1; - slashIndex = request.indexOf("/", lastNonSlashIndex); } - const remainingRequest = - lastNonSlashIndex > 0 ? request.slice(lastNonSlashIndex) : request; + if (bestMatch === "") return null; - const value = node.files.get(remainingRequest); - - if (value) { - return [value, request.length + 1]; - } + const target = /** @type {{[k: string]: MappingValue}} */ (field)[bestMatch]; + const isSubpathMapping = bestMatch.endsWith("/"); + const isPattern = bestMatch.includes("*"); - applyFolderMapping(); - - applyWildcardMappings(node.wildcards, remainingRequest); - - return lastFolderMatch; + return [ + target, + /** @type {string} */ (bestMatchSubpath), + isSubpathMapping, + isPattern, + bestMatch + ]; } /** @@ -360,7 +359,8 @@ function isConditionalMapping(mapping) { /** * @param {string|undefined} remainingRequest remaining request when folder mapping, undefined for file mappings - * @param {boolean} subpathMapping true, for subpath mappings + * @param {boolean} isPattern true, if mapping is a pattern (contains "*") + * @param {boolean} isSubpathMapping true, for subpath mappings * @param {DirectMapping|null} mappingTarget direct export * @param {Set} conditionNames condition names * @param {(d: string, f: boolean) => void} assert asserting direct value @@ -368,7 +368,8 @@ function isConditionalMapping(mapping) { */ function directMapping( remainingRequest, - subpathMapping, + isPattern, + isSubpathMapping, mappingTarget, conditionNames, assert @@ -377,16 +378,29 @@ function directMapping( if (typeof mappingTarget === "string") { return [ - targetMapping(remainingRequest, subpathMapping, mappingTarget, assert) + targetMapping( + remainingRequest, + isPattern, + isSubpathMapping, + mappingTarget, + assert + ) ]; } + /** @type {string[]} */ const targets = []; for (const exp of mappingTarget) { if (typeof exp === "string") { targets.push( - targetMapping(remainingRequest, subpathMapping, exp, assert) + targetMapping( + remainingRequest, + isPattern, + isSubpathMapping, + exp, + assert + ) ); continue; } @@ -395,7 +409,8 @@ function directMapping( if (!mapping) continue; const innerExports = directMapping( remainingRequest, - subpathMapping, + isPattern, + isSubpathMapping, mapping, conditionNames, assert @@ -410,27 +425,43 @@ function directMapping( /** * @param {string|undefined} remainingRequest remaining request when folder mapping, undefined for file mappings - * @param {boolean} subpathMapping true, for subpath mappings + * @param {boolean} isPattern true, if mapping is a pattern (contains "*") + * @param {boolean} isSubpathMapping true, for subpath mappings * @param {string} mappingTarget direct export * @param {(d: string, f: boolean) => void} assert asserting direct value * @returns {string} mapping result */ function targetMapping( remainingRequest, - subpathMapping, + isPattern, + isSubpathMapping, mappingTarget, assert ) { if (remainingRequest === undefined) { assert(mappingTarget, false); + return mappingTarget; } - if (subpathMapping) { + + if (isSubpathMapping) { assert(mappingTarget, true); + return mappingTarget + remainingRequest; } + assert(mappingTarget, false); - return mappingTarget.replace(/\*/g, remainingRequest.replace(/\$/g, "$$")); + + let result = mappingTarget; + + if (isPattern) { + result = result.replace( + patternRegEx, + remainingRequest.replace(/\$/g, "$$") + ); + } + + return result; } /** @@ -444,21 +475,17 @@ function conditionalMapping(conditionalMapping_, conditionNames) { loop: while (lookup.length > 0) { const [mapping, conditions, j] = lookup[lookup.length - 1]; - const last = conditions.length - 1; for (let i = j; i < conditions.length; i++) { const condition = conditions[i]; - // assert default. Could be last only - if (i !== last) { - if (condition === "default") { - throw new Error("Default condition should be last one"); - } - } else if (condition === "default") { + if (condition === "default") { const innerMapping = mapping[condition]; // is nested if (isConditionalMapping(innerMapping)) { - const conditionalMapping = /** @type {ConditionalMapping} */ (innerMapping); + const conditionalMapping = /** @type {ConditionalMapping} */ ( + innerMapping + ); lookup[lookup.length - 1][2] = i + 1; lookup.push([conditionalMapping, Object.keys(conditionalMapping), 0]); continue loop; @@ -471,7 +498,9 @@ function conditionalMapping(conditionalMapping_, conditionNames) { const innerMapping = mapping[condition]; // is nested if (isConditionalMapping(innerMapping)) { - const conditionalMapping = /** @type {ConditionalMapping} */ (innerMapping); + const conditionalMapping = /** @type {ConditionalMapping} */ ( + innerMapping + ); lookup[lookup.length - 1][2] = i + 1; lookup.push([conditionalMapping, Object.keys(conditionalMapping), 0]); continue loop; @@ -487,93 +516,14 @@ function conditionalMapping(conditionalMapping_, conditionNames) { return null; } -/** - * Internal helper to create path tree node - * to ensure that each node gets the same hidden class - * @returns {PathTreeNode} node - */ -function createNode() { - return { - children: null, - folder: null, - wildcards: null, - files: new Map() - }; -} - -/** - * Internal helper for building path tree - * @param {PathTreeNode} root root - * @param {string} path path - * @param {MappingValue} target target - */ -function walkPath(root, path, target) { - if (path.length === 0) { - root.folder = target; - return; - } - - let node = root; - // Typical path tree can looks like - // root - // - files: ["a.js", "b.js"] - // - children: - // node1: - // - files: ["a.js", "b.js"] - let lastNonSlashIndex = 0; - let slashIndex = path.indexOf("/", 0); - - while (slashIndex !== -1) { - const folder = path.slice(lastNonSlashIndex, slashIndex); - let newNode; - - if (node.children === null) { - newNode = createNode(); - node.children = new Map(); - node.children.set(folder, newNode); - } else { - newNode = node.children.get(folder); - - if (!newNode) { - newNode = createNode(); - node.children.set(folder, newNode); - } - } - - node = newNode; - lastNonSlashIndex = slashIndex + 1; - slashIndex = path.indexOf("/", lastNonSlashIndex); - } - - if (lastNonSlashIndex >= path.length) { - node.folder = target; - } else { - const file = lastNonSlashIndex > 0 ? path.slice(lastNonSlashIndex) : path; - if (file.endsWith("*")) { - if (node.wildcards === null) node.wildcards = new Map(); - node.wildcards.set(file.slice(0, -1), target); - } else { - node.files.set(file, target); - } - } -} - /** * @param {ExportsField} field exports field - * @returns {PathTreeNode} tree root + * @returns {ExportsField} normalized exports field */ -function buildExportsFieldPathTree(field) { - const root = createNode(); - +function buildExportsField(field) { // handle syntax sugar, if exports field is direct mapping for "." - if (typeof field === "string") { - root.files.set("", field); - - return root; - } else if (Array.isArray(field)) { - root.files.set("", field.slice()); - - return root; + if (typeof field === "string" || Array.isArray(field)) { + return { ".": field }; } const keys = Object.keys(field); @@ -596,8 +546,7 @@ function buildExportsFieldPathTree(field) { i++; } - root.files.set("", field); - return root; + return { ".": field }; } throw new Error( @@ -608,7 +557,6 @@ function buildExportsFieldPathTree(field) { } if (key.length === 1) { - root.files.set("", field[key]); continue; } @@ -619,49 +567,7 @@ function buildExportsFieldPathTree(field) { )})` ); } - - walkPath(root, key.slice(2), field[key]); - } - - return root; -} - -/** - * @param {ImportsField} field imports field - * @returns {PathTreeNode} root - */ -function buildImportsFieldPathTree(field) { - const root = createNode(); - - const keys = Object.keys(field); - - for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - - if (key.charCodeAt(0) !== hashCode) { - throw new Error( - `Imports field key should start with "#" (key: ${JSON.stringify(key)})` - ); - } - - if (key.length === 1) { - throw new Error( - `Imports field key should have at least 2 characters (key: ${JSON.stringify( - key - )})` - ); - } - - if (key.charCodeAt(1) === slashCode) { - throw new Error( - `Imports field key should not start with "#/" (key: ${JSON.stringify( - key - )})` - ); - } - - walkPath(root, key.slice(1), field[key]); } - return root; + return field; } diff --git a/node_modules/enhanced-resolve/lib/util/identifier.js b/node_modules/enhanced-resolve/lib/util/identifier.js index 0c29ae4d98..d38cc39584 100644 --- a/node_modules/enhanced-resolve/lib/util/identifier.js +++ b/node_modules/enhanced-resolve/lib/util/identifier.js @@ -5,7 +5,8 @@ "use strict"; -const PATH_QUERY_FRAGMENT_REGEXP = /^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/; +const PATH_QUERY_FRAGMENT_REGEXP = + /^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/; /** * @param {string} identifier identifier diff --git a/node_modules/enhanced-resolve/lib/util/module-browser.js b/node_modules/enhanced-resolve/lib/util/module-browser.js new file mode 100644 index 0000000000..1258c22e15 --- /dev/null +++ b/node_modules/enhanced-resolve/lib/util/module-browser.js @@ -0,0 +1,8 @@ +/* + MIT License http://www.opensource.org/licenses/mit-license.php + Author Tobias Koppers @sokra +*/ + +"use strict"; + +module.exports = {}; diff --git a/node_modules/enhanced-resolve/lib/util/path.js b/node_modules/enhanced-resolve/lib/util/path.js index d7c148a4db..bbb0e4d4de 100644 --- a/node_modules/enhanced-resolve/lib/util/path.js +++ b/node_modules/enhanced-resolve/lib/util/path.js @@ -33,6 +33,14 @@ const PathType = Object.freeze({ }); exports.PathType = PathType; +const invalidSegmentRegEx = + /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i; +exports.invalidSegmentRegEx = invalidSegmentRegEx; + +const deprecatedInvalidSegmentRegEx = + /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; +exports.deprecatedInvalidSegmentRegEx = deprecatedInvalidSegmentRegEx; + /** * @param {string} p a path * @returns {PathType} type of path @@ -170,14 +178,16 @@ const join = (rootPath, request) => { }; exports.join = join; +/** @type {Map>} */ const joinCache = new Map(); /** * @param {string} rootPath the root path - * @param {string | undefined} request the request path + * @param {string} request the request path * @returns {string} the joined path */ const cachedJoin = (rootPath, request) => { + /** @type {string | undefined} */ let cacheEntry; let cache = joinCache.get(rootPath); if (cache === undefined) { @@ -191,33 +201,3 @@ const cachedJoin = (rootPath, request) => { return cacheEntry; }; exports.cachedJoin = cachedJoin; - -const checkImportsExportsFieldTarget = relativePath => { - let lastNonSlashIndex = 0; - let slashIndex = relativePath.indexOf("/", 1); - let cd = 0; - - while (slashIndex !== -1) { - const folder = relativePath.slice(lastNonSlashIndex, slashIndex); - - switch (folder) { - case "..": { - cd--; - if (cd < 0) - return new Error( - `Trying to access out of package scope. Requesting ${relativePath}` - ); - break; - } - case ".": - break; - default: - cd++; - break; - } - - lastNonSlashIndex = slashIndex + 1; - slashIndex = relativePath.indexOf("/", lastNonSlashIndex); - } -}; -exports.checkImportsExportsFieldTarget = checkImportsExportsFieldTarget; diff --git a/node_modules/enhanced-resolve/lib/util/process-browser.js b/node_modules/enhanced-resolve/lib/util/process-browser.js index 277f729d88..a99141fdd8 100644 --- a/node_modules/enhanced-resolve/lib/util/process-browser.js +++ b/node_modules/enhanced-resolve/lib/util/process-browser.js @@ -6,7 +6,13 @@ "use strict"; module.exports = { + /** + * @type {Record} + */ versions: {}, + /** + * @param {function} fn function + */ nextTick(fn) { const args = Array.prototype.slice.call(arguments, 1); Promise.resolve().then(function () { diff --git a/node_modules/enhanced-resolve/package.json b/node_modules/enhanced-resolve/package.json index 5ddabd6573..c5ae7206e1 100644 --- a/node_modules/enhanced-resolve/package.json +++ b/node_modules/enhanced-resolve/package.json @@ -1,6 +1,6 @@ { "name": "enhanced-resolve", - "version": "5.12.0", + "version": "5.17.1", "author": "Tobias Koppers @sokra", "description": "Offers a async require.resolve function. It's highly configurable.", "files": [ @@ -9,8 +9,8 @@ "LICENSE" ], "browser": { - "pnpapi": false, - "process": "./lib/util/process-browser.js" + "process": "./lib/util/process-browser.js", + "module": "./lib/util/module-browser.js" }, "dependencies": { "graceful-fs": "^4.2.4", @@ -18,8 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@types/mocha": "^8.0.3", - "@types/node": "^14.11.1", + "@types/graceful-fs": "^4.1.6", + "@types/jest": "^27.5.1", + "@types/node": "20.9.5", "cspell": "4.2.8", "eslint": "^7.9.0", "eslint-config-prettier": "^6.11.0", @@ -27,14 +28,12 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.1.4", "husky": "^6.0.0", + "jest": "^27.5.1", "lint-staged": "^10.4.0", "memfs": "^3.2.0", - "mocha": "^8.1.3", - "nyc": "^15.1.0", "prettier": "^2.1.2", - "should": "^13.2.3", - "tooling": "webpack/tooling#v1.14.0", - "typescript": "^4.2.0-beta" + "tooling": "webpack/tooling#v1.23.1", + "typescript": "^5.3.3" }, "engines": { "node": ">=10.13.0" @@ -43,24 +42,27 @@ "types": "types.d.ts", "homepage": "http://github.com/webpack/enhanced-resolve", "scripts": { - "lint": "yarn run code-lint && yarn run type-lint && yarn run special-lint && yarn run spelling", + "lint": "yarn run code-lint && yarn run type-lint && yarn typings-test && yarn run special-lint && yarn run spelling", "fix": "yarn run code-lint-fix && yarn run special-lint-fix", "code-lint": "eslint --cache lib test", "code-lint-fix": "eslint --cache lib test --fix", "type-lint": "tsc", + "typings-test": "tsc -p tsconfig.types.test.json", + "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html", "special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-file-header && node node_modules/tooling/generate-types", "special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write", "pretty": "prettier --loglevel warn --write \"lib/**/*.{js,json}\" \"test/*.js\"", "pretest": "yarn lint", - "spelling": "cspell \"**/*.*\"", - "test": "mocha --full-trace --check-leaks", - "test:only": "mocha --full-trace --check-leaks", + "spelling": "cspell \"**\"", + "test:only": "node_modules/.bin/jest", + "test:watch": "yarn test:only -- --watch", + "test:coverage": "yarn test:only -- --collectCoverageFrom=\"lib/**/*.js\" --coverage", + "test": "yarn test:coverage", "precover": "yarn lint", - "cover": "nyc --reporter=html node node_modules/mocha/bin/_mocha --full-trace --check-leaks", - "cover:ci": "nyc --reporter=lcovonly node node_modules/mocha/bin/_mocha --full-trace --check-leaks", "prepare": "husky install" }, "lint-staged": { + "*": "cspell --no-must-find-files", "*.js": "eslint --cache" }, "repository": { diff --git a/node_modules/enhanced-resolve/types.d.ts b/node_modules/enhanced-resolve/types.d.ts index 01436533e1..fc09289d60 100644 --- a/node_modules/enhanced-resolve/types.d.ts +++ b/node_modules/enhanced-resolve/types.d.ts @@ -4,10 +4,19 @@ * Run `yarn special-lint-fix` to update */ +import { Buffer } from "buffer"; import { AsyncSeriesBailHook, AsyncSeriesHook, SyncHook } from "tapable"; +import { URL as URL_Import } from "url"; +declare interface Abortable { + /** + * When provided the corresponding `AbortController` can be used to cancel an asynchronous action. + */ + signal?: AbortSignal; +} +type Alias = string | false | string[]; declare interface AliasOption { - alias: string | false | string[]; + alias: Alias; name: string; onlyModule?: boolean; } @@ -15,82 +24,124 @@ type AliasOptionNewRequest = string | false | string[]; declare interface AliasOptions { [index: string]: AliasOptionNewRequest; } +type BaseFileSystem = FileSystem & SyncFileSystem; declare interface BaseResolveRequest { path: string | false; + context?: object; descriptionFilePath?: string; descriptionFileRoot?: string; - descriptionFileData?: object; + descriptionFileData?: JsonObject; relativePath?: string; ignoreSymlinks?: boolean; fullySpecified?: boolean; + __innerRequest?: string; + __innerRequest_request?: string; + __innerRequest_relativePath?: string; } +type BufferEncoding = + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex"; +type BufferEncodingOption = "buffer" | { encoding: "buffer" }; declare class CachedInputFileSystem { - constructor(fileSystem?: any, duration?: any); - fileSystem: any; - lstat?: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - lstatSync?: (arg0: string, arg1?: object) => FileSystemStats; - stat: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - statSync: (arg0: string, arg1?: object) => FileSystemStats; - readdir: { - ( - arg0: string, - arg1: FileSystemCallback<(string | Buffer)[] | FileSystemDirent[]> - ): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback<(string | Buffer)[] | FileSystemDirent[]> - ): void; - }; - readdirSync: ( - arg0: string, - arg1?: object - ) => (string | Buffer)[] | FileSystemDirent[]; - readFile: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - readFileSync: (arg0: string, arg1?: object) => string | Buffer; - readJson?: { - (arg0: string, arg1: FileSystemCallback): void; - (arg0: string, arg1: object, arg2: FileSystemCallback): void; - }; - readJsonSync?: (arg0: string, arg1?: object) => object; - readlink: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - readlinkSync: (arg0: string, arg1?: object) => string | Buffer; - purge(what?: any): void; + constructor(fileSystem: BaseFileSystem, duration: number); + fileSystem: BaseFileSystem; + lstat?: LStat; + lstatSync?: LStatSync; + stat: Stat; + statSync: StatSync; + readdir: Readdir; + readdirSync: ReaddirSync; + readFile: ReadFile; + readFileSync: ReadFileSync; + readJson?: ( + arg0: PathOrFileDescriptor, + arg1: ( + arg0: null | Error | NodeJS.ErrnoException, + arg1?: JsonObject + ) => void + ) => void; + readJsonSync?: (arg0: PathOrFileDescriptor) => JsonObject; + readlink: Readlink; + readlinkSync: ReadlinkSync; + realpath?: RealPath; + realpathSync?: RealPathSync; + purge( + what?: + | string + | number + | Buffer + | URL_url + | (string | number | Buffer | URL_url)[] + | Set + ): void; } declare class CloneBasenamePlugin { - constructor(source?: any, target?: any); - source: any; - target: any; + constructor( + source: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >, + target: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + > + ); + source: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >; + target: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >; apply(resolver: Resolver): void; } +declare interface Dirent { + isFile: () => boolean; + isDirectory: () => boolean; + isBlockDevice: () => boolean; + isCharacterDevice: () => boolean; + isSymbolicLink: () => boolean; + isFIFO: () => boolean; + isSocket: () => boolean; + name: string; + path: string; +} +type EncodingOption = + | undefined + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | ObjectEncodingOptions; +type ErrorWithDetail = Error & { details?: string }; declare interface ExtensionAliasOption { alias: string | string[]; extension: string; @@ -99,71 +150,193 @@ declare interface ExtensionAliasOptions { [index: string]: string | string[]; } declare interface FileSystem { - readFile: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - readdir: { - ( - arg0: string, - arg1: FileSystemCallback<(string | Buffer)[] | FileSystemDirent[]> - ): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback<(string | Buffer)[] | FileSystemDirent[]> - ): void; - }; - readJson?: { - (arg0: string, arg1: FileSystemCallback): void; - (arg0: string, arg1: object, arg2: FileSystemCallback): void; - }; - readlink: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - lstat?: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; - stat: { - (arg0: string, arg1: FileSystemCallback): void; - ( - arg0: string, - arg1: object, - arg2: FileSystemCallback - ): void; - }; -} -declare interface FileSystemCallback { - (err?: null | (PossibleFileSystemError & Error), result?: T): any; + readFile: ReadFile; + readdir: Readdir; + readJson?: ( + arg0: PathOrFileDescriptor, + arg1: ( + arg0: null | Error | NodeJS.ErrnoException, + arg1?: JsonObject + ) => void + ) => void; + readlink: Readlink; + lstat?: LStat; + stat: Stat; + realpath?: RealPath; } -declare interface FileSystemDirent { - name: string | Buffer; - isDirectory: () => boolean; +type IBigIntStats = IStatsBase & { + atimeNs: bigint; + mtimeNs: bigint; + ctimeNs: bigint; + birthtimeNs: bigint; +}; +declare interface IStats { isFile: () => boolean; -} -declare interface FileSystemStats { isDirectory: () => boolean; + isBlockDevice: () => boolean; + isCharacterDevice: () => boolean; + isSymbolicLink: () => boolean; + isFIFO: () => boolean; + isSocket: () => boolean; + dev: number; + ino: number; + mode: number; + nlink: number; + uid: number; + gid: number; + rdev: number; + size: number; + blksize: number; + blocks: number; + atimeMs: number; + mtimeMs: number; + ctimeMs: number; + birthtimeMs: number; + atime: Date; + mtime: Date; + ctime: Date; + birthtime: Date; +} +declare interface IStatsBase { isFile: () => boolean; + isDirectory: () => boolean; + isBlockDevice: () => boolean; + isCharacterDevice: () => boolean; + isSymbolicLink: () => boolean; + isFIFO: () => boolean; + isSocket: () => boolean; + dev: T; + ino: T; + mode: T; + nlink: T; + uid: T; + gid: T; + rdev: T; + size: T; + blksize: T; + blocks: T; + atimeMs: T; + mtimeMs: T; + ctimeMs: T; + birthtimeMs: T; + atime: Date; + mtime: Date; + ctime: Date; + birthtime: Date; +} +declare interface Iterator { + ( + item: T, + callback: (err?: null | Error, result?: null | Z) => void, + i: number + ): void; +} +type JsonObject = { [index: string]: JsonValue } & { + [index: string]: + | undefined + | null + | string + | number + | boolean + | JsonObject + | JsonValue[]; +}; +type JsonValue = null | string | number | boolean | JsonObject | JsonValue[]; +declare interface KnownHooks { + resolveStep: SyncHook< + [ + AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >, + ResolveRequest + ] + >; + noResolve: SyncHook<[ResolveRequest, Error]>; + resolve: AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >; + result: AsyncSeriesHook<[ResolveRequest, ResolveContext]>; +} +declare interface LStat { + ( + path: PathLike, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: IStats) => void + ): void; + ( + path: PathLike, + options: undefined | (StatOptions & { bigint?: false }), + callback: (arg0: null | NodeJS.ErrnoException, arg1?: IStats) => void + ): void; + ( + path: PathLike, + options: StatOptions & { bigint: true }, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: IBigIntStats) => void + ): void; + ( + path: PathLike, + options: undefined | StatOptions, + callback: ( + arg0: null | NodeJS.ErrnoException, + arg1?: IStats | IBigIntStats + ) => void + ): void; +} +declare interface LStatSync { + (path: PathLike, options?: undefined): IStats; + ( + path: PathLike, + options?: StatSyncOptions & { bigint?: false; throwIfNoEntry: false } + ): undefined | IStats; + ( + path: PathLike, + options: StatSyncOptions & { bigint: true; throwIfNoEntry: false } + ): undefined | IBigIntStats; + (path: PathLike, options?: StatSyncOptions & { bigint?: false }): IStats; + (path: PathLike, options: StatSyncOptions & { bigint: true }): IBigIntStats; + ( + path: PathLike, + options: StatSyncOptions & { bigint: boolean; throwIfNoEntry?: false } + ): IStats | IBigIntStats; + (path: PathLike, options?: StatSyncOptions): + | undefined + | IStats + | IBigIntStats; } declare class LogInfoPlugin { - constructor(source?: any); - source: any; + constructor( + source: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + > + ); + source: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >; apply(resolver: Resolver): void; } +declare interface ObjectEncodingOptions { + encoding?: + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex"; +} declare interface ParsedIdentifier { request: string; query: string; @@ -173,22 +346,329 @@ declare interface ParsedIdentifier { file: boolean; internal: boolean; } +type PathLike = string | Buffer | URL_url; +type PathOrFileDescriptor = string | number | Buffer | URL_url; type Plugin = + | undefined + | null + | false + | "" + | 0 | { apply: (arg0: Resolver) => void } | ((this: Resolver, arg1: Resolver) => void); -declare interface PnpApiImpl { - resolveToUnqualified: (arg0: string, arg1: string, arg2: object) => string; +declare interface PnpApi { + resolveToUnqualified: ( + arg0: string, + arg1: string, + arg2: object + ) => null | string; } -declare interface PossibleFileSystemError { - code?: string; - errno?: number; - path?: string; - syscall?: string; +declare interface ReadFile { + ( + path: PathOrFileDescriptor, + options: + | undefined + | null + | ({ encoding?: null; flag?: string } & Abortable), + callback: (arg0: null | NodeJS.ErrnoException, arg1?: Buffer) => void + ): void; + ( + path: PathOrFileDescriptor, + options: + | ({ encoding: BufferEncoding; flag?: string } & Abortable) + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex", + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string) => void + ): void; + ( + path: PathOrFileDescriptor, + options: + | undefined + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | (ObjectEncodingOptions & { flag?: string } & Abortable), + callback: ( + arg0: null | NodeJS.ErrnoException, + arg1?: string | Buffer + ) => void + ): void; + ( + path: PathOrFileDescriptor, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: Buffer) => void + ): void; +} +declare interface ReadFileSync { + ( + path: PathOrFileDescriptor, + options?: null | { encoding?: null; flag?: string } + ): Buffer; + ( + path: PathOrFileDescriptor, + options: + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | { encoding: BufferEncoding; flag?: string } + ): string; + ( + path: PathOrFileDescriptor, + options?: + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | (ObjectEncodingOptions & { flag?: string }) + ): string | Buffer; +} +declare interface Readdir { + ( + path: PathLike, + options: + | undefined + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | { + encoding: + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex"; + withFileTypes?: false; + recursive?: boolean; + }, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string[]) => void + ): void; + ( + path: PathLike, + options: + | { encoding: "buffer"; withFileTypes?: false; recursive?: boolean } + | "buffer", + callback: (arg0: null | NodeJS.ErrnoException, arg1?: Buffer[]) => void + ): void; + ( + path: PathLike, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string[]) => void + ): void; + ( + path: PathLike, + options: + | undefined + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | (ObjectEncodingOptions & { + withFileTypes?: false; + recursive?: boolean; + }), + callback: ( + arg0: null | NodeJS.ErrnoException, + arg1?: string[] | Buffer[] + ) => void + ): void; + ( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean; + }, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: Dirent[]) => void + ): void; +} +declare interface ReaddirSync { + ( + path: PathLike, + options?: + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | { + encoding: + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex"; + withFileTypes?: false; + recursive?: boolean; + } + ): string[]; + ( + path: PathLike, + options: + | "buffer" + | { encoding: "buffer"; withFileTypes?: false; recursive?: boolean } + ): Buffer[]; + ( + path: PathLike, + options?: + | null + | "ascii" + | "utf8" + | "utf-8" + | "utf16le" + | "utf-16le" + | "ucs2" + | "ucs-2" + | "base64" + | "base64url" + | "latin1" + | "binary" + | "hex" + | (ObjectEncodingOptions & { withFileTypes?: false; recursive?: boolean }) + ): string[] | Buffer[]; + ( + path: PathLike, + options: ObjectEncodingOptions & { + withFileTypes: true; + recursive?: boolean; + } + ): Dirent[]; +} +declare interface Readlink { + ( + path: PathLike, + options: EncodingOption, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string) => void + ): void; + ( + path: PathLike, + options: BufferEncodingOption, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: Buffer) => void + ): void; + ( + path: PathLike, + options: EncodingOption, + callback: ( + arg0: null | NodeJS.ErrnoException, + arg1?: string | Buffer + ) => void + ): void; + ( + path: PathLike, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string) => void + ): void; +} +declare interface ReadlinkSync { + (path: PathLike, options?: EncodingOption): string; + (path: PathLike, options: BufferEncodingOption): Buffer; + (path: PathLike, options?: EncodingOption): string | Buffer; +} +declare interface RealPath { + ( + path: PathLike, + options: EncodingOption, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string) => void + ): void; + ( + path: PathLike, + options: BufferEncodingOption, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: Buffer) => void + ): void; + ( + path: PathLike, + options: EncodingOption, + callback: ( + arg0: null | NodeJS.ErrnoException, + arg1?: string | Buffer + ) => void + ): void; + ( + path: PathLike, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: string) => void + ): void; +} +declare interface RealPathSync { + (path: PathLike, options?: EncodingOption): string; + (path: PathLike, options: BufferEncodingOption): Buffer; + (path: PathLike, options?: EncodingOption): string | Buffer; } - -/** - * Resolve context - */ declare interface ResolveContext { contextDependencies?: WriteOnlySet; @@ -217,7 +697,58 @@ declare interface ResolveContext { */ yield?: (arg0: ResolveRequest) => void; } -declare interface ResolveOptions { +declare interface ResolveFunction { + (context: object, path: string, request: string): string | false; + (path: string, request: string): string | false; +} +declare interface ResolveFunctionAsync { + ( + context: object, + path: string, + request: string, + resolveContext: ResolveContext, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void + ): void; + ( + context: object, + path: string, + request: string, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void + ): void; + ( + path: string, + request: string, + resolveContext: ResolveContext, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void + ): void; + ( + path: string, + request: string, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void + ): void; +} +type ResolveOptionsOptionalFS = Omit< + ResolveOptionsResolverFactoryObject_2, + "fileSystem" +> & + Partial>; +declare interface ResolveOptionsResolverFactoryObject_1 { alias: AliasOption[]; fallback: AliasOption[]; aliasFields: Set; @@ -242,7 +773,7 @@ declare interface ResolveOptions { mainFields: { name: string[]; forceRelative: boolean }[]; mainFiles: Set; plugins: Plugin[]; - pnpApi: null | PnpApiImpl; + pnpApi: null | PnpApi; roots: Set; fullySpecified: boolean; resolveToContext: boolean; @@ -250,76 +781,7 @@ declare interface ResolveOptions { preferRelative: boolean; preferAbsolute: boolean; } -type ResolveRequest = BaseResolveRequest & Partial; -declare abstract class Resolver { - fileSystem: FileSystem; - options: ResolveOptions; - hooks: { - resolveStep: SyncHook< - [ - AsyncSeriesBailHook< - [ResolveRequest, ResolveContext], - null | ResolveRequest - >, - ResolveRequest - ] - >; - noResolve: SyncHook<[ResolveRequest, Error]>; - resolve: AsyncSeriesBailHook< - [ResolveRequest, ResolveContext], - null | ResolveRequest - >; - result: AsyncSeriesHook<[ResolveRequest, ResolveContext]>; - }; - ensureHook( - name: - | string - | AsyncSeriesBailHook< - [ResolveRequest, ResolveContext], - null | ResolveRequest - > - ): AsyncSeriesBailHook< - [ResolveRequest, ResolveContext], - null | ResolveRequest - >; - getHook( - name: - | string - | AsyncSeriesBailHook< - [ResolveRequest, ResolveContext], - null | ResolveRequest - > - ): AsyncSeriesBailHook< - [ResolveRequest, ResolveContext], - null | ResolveRequest - >; - resolveSync(context: object, path: string, request: string): string | false; - resolve( - context: object, - path: string, - request: string, - resolveContext: ResolveContext, - callback: ( - arg0: null | Error, - arg1?: string | false, - arg2?: ResolveRequest - ) => void - ): void; - doResolve( - hook?: any, - request?: any, - message?: any, - resolveContext?: any, - callback?: any - ): any; - parse(identifier: string): ParsedIdentifier; - isModule(path?: any): boolean; - isPrivate(path?: any): boolean; - isDirectory(path: string): boolean; - join(path?: any, request?: any): string; - normalize(path?: any): string; -} -declare interface UserResolveOptions { +declare interface ResolveOptionsResolverFactoryObject_2 { /** * A list of module alias configurations or an object which maps key to value */ @@ -427,7 +889,7 @@ declare interface UserResolveOptions { /** * A PnP API that should be used - null is "never", undefined is "auto" */ - pnpApi?: null | PnpApiImpl; + pnpApi?: null | PnpApi; /** * A list of root paths @@ -464,55 +926,209 @@ declare interface UserResolveOptions { */ preferAbsolute?: boolean; } +type ResolveRequest = BaseResolveRequest & Partial; +declare abstract class Resolver { + fileSystem: FileSystem; + options: ResolveOptionsResolverFactoryObject_1; + hooks: KnownHooks; + ensureHook( + name: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + > + ): AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >; + getHook( + name: + | string + | AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + > + ): AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >; + resolveSync(context: object, path: string, request: string): string | false; + resolve( + context: object, + path: string, + request: string, + resolveContext: ResolveContext, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void + ): void; + doResolve( + hook: AsyncSeriesBailHook< + [ResolveRequest, ResolveContext], + null | ResolveRequest + >, + request: ResolveRequest, + message: null | string, + resolveContext: ResolveContext, + callback: (err?: null | Error, result?: ResolveRequest) => void + ): void; + parse(identifier: string): ParsedIdentifier; + isModule(path: string): boolean; + isPrivate(path: string): boolean; + isDirectory(path: string): boolean; + join(path: string, request: string): string; + normalize(path: string): string; +} +declare interface Stat { + ( + path: PathLike, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: IStats) => void + ): void; + ( + path: PathLike, + options: undefined | (StatOptions & { bigint?: false }), + callback: (arg0: null | NodeJS.ErrnoException, arg1?: IStats) => void + ): void; + ( + path: PathLike, + options: StatOptions & { bigint: true }, + callback: (arg0: null | NodeJS.ErrnoException, arg1?: IBigIntStats) => void + ): void; + ( + path: PathLike, + options: undefined | StatOptions, + callback: ( + arg0: null | NodeJS.ErrnoException, + arg1?: IStats | IBigIntStats + ) => void + ): void; +} +declare interface StatOptions { + bigint?: boolean; +} +declare interface StatSync { + (path: PathLike, options?: undefined): IStats; + ( + path: PathLike, + options?: StatSyncOptions & { bigint?: false; throwIfNoEntry: false } + ): undefined | IStats; + ( + path: PathLike, + options: StatSyncOptions & { bigint: true; throwIfNoEntry: false } + ): undefined | IBigIntStats; + (path: PathLike, options?: StatSyncOptions & { bigint?: false }): IStats; + (path: PathLike, options: StatSyncOptions & { bigint: true }): IBigIntStats; + ( + path: PathLike, + options: StatSyncOptions & { bigint: boolean; throwIfNoEntry?: false } + ): IStats | IBigIntStats; + (path: PathLike, options?: StatSyncOptions): + | undefined + | IStats + | IBigIntStats; +} +declare interface StatSyncOptions { + bigint?: boolean; + throwIfNoEntry?: boolean; +} +declare interface SyncFileSystem { + readFileSync: ReadFileSync; + readdirSync: ReaddirSync; + readJsonSync?: (arg0: PathOrFileDescriptor) => JsonObject; + readlinkSync: ReadlinkSync; + lstatSync?: LStatSync; + statSync: StatSync; + realpathSync?: RealPathSync; +} + +/** + * `URL` class is a global reference for `require('url').URL` + * https://nodejs.org/api/url.html#the-whatwg-url-api + */ +declare interface URL_url extends URL_Import {} declare interface WriteOnlySet { - add: (T?: any) => void; + add: (item: T) => void; } declare function exports( - context?: any, - path?: any, - request?: any, - resolveContext?: any, - callback?: any + context: object, + path: string, + request: string, + resolveContext: ResolveContext, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void +): void; +declare function exports( + context: object, + path: string, + request: string, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void +): void; +declare function exports( + path: string, + request: string, + resolveContext: ResolveContext, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void +): void; +declare function exports( + path: string, + request: string, + callback: ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void ): void; declare namespace exports { - export const sync: ( - context?: any, - path?: any, - request?: any - ) => string | false; + export const sync: ResolveFunction; export function create( - options?: any - ): ( - context?: any, - path?: any, - request?: any, - resolveContext?: any, - callback?: any - ) => void; + options: ResolveOptionsOptionalFS + ): ResolveFunctionAsync; export namespace create { - export const sync: ( - options?: any - ) => (context?: any, path?: any, request?: any) => string | false; + export const sync: (options: ResolveOptionsOptionalFS) => ResolveFunction; } export namespace ResolverFactory { - export let createResolver: (options: UserResolveOptions) => Resolver; + export let createResolver: ( + options: ResolveOptionsResolverFactoryObject_2 + ) => Resolver; } - export const forEachBail: ( - array?: any, - iterator?: any, - callback?: any - ) => any; + export const forEachBail: ( + array: T[], + iterator: Iterator, + callback: (err?: null | Error, result?: null | Z, i?: number) => void + ) => void; + export type ResolveCallback = ( + err: null | ErrorWithDetail, + res?: string | false, + req?: ResolveRequest + ) => void; export { CachedInputFileSystem, CloneBasenamePlugin, LogInfoPlugin, - PnpApiImpl as PnpApi, + ResolveOptionsOptionalFS, + PnpApi, Resolver, FileSystem, ResolveContext, ResolveRequest, Plugin, - UserResolveOptions as ResolveOptions + ResolveOptionsResolverFactoryObject_2 as ResolveOptions, + ResolveFunctionAsync, + ResolveFunction }; } diff --git a/node_modules/eslint-import-resolver-typescript/README.md b/node_modules/eslint-import-resolver-typescript/README.md index 7815256822..44019d6566 100644 --- a/node_modules/eslint-import-resolver-typescript/README.md +++ b/node_modules/eslint-import-resolver-typescript/README.md @@ -58,6 +58,8 @@ pnpm i -D eslint-plugin-import eslint-import-resolver-typescript yarn add -D eslint-plugin-import eslint-import-resolver-typescript ``` +**Important when using `eslint-plugin-i` and `npm`**: Use `npm i -D eslint-plugin-import@eslint-plugin-i@latest eslint-import-resolver-typescript`, or you will end up with both `eslint-plugin-import` and `eslint-plugin-i` in your node_modules. + ## Configuration Add the following to your `.eslintrc` config: diff --git a/node_modules/eslint-import-resolver-typescript/lib/index.cjs b/node_modules/eslint-import-resolver-typescript/lib/index.cjs index be2b1c7cbd..36f032b975 100644 --- a/node_modules/eslint-import-resolver-typescript/lib/index.cjs +++ b/node_modules/eslint-import-resolver-typescript/lib/index.cjs @@ -2,12 +2,13 @@ var fs = require('node:fs'); var path = require('node:path'); +var isNodeCoreModule = require('@nolyfill/is-core-module'); var debug = require('debug'); var enhancedResolve = require('enhanced-resolve'); var hash_js = require('eslint-module-utils/hash.js'); var fg = require('fast-glob'); var getTsconfig = require('get-tsconfig'); -var isCore = require('is-core-module'); +var isBunModule = require('is-bun-module'); var isGlob = require('is-glob'); var __defProp = Object.defineProperty; @@ -92,7 +93,7 @@ let resolverCachedOptions; let resolver; const digestHashObject = (value) => hash_js.hashObject(value != null ? value : {}).digest("hex"); function resolve(source, file, options) { - var _a, _b, _c, _d; + var _a, _b, _c, _d, _e; if (!cachedOptions || previousOptionsHash !== (optionsHash = digestHashObject(options))) { previousOptionsHash = optionsHash; cachedOptions = __spreadProps(__spreadValues({}, options), { @@ -113,7 +114,7 @@ function resolve(source, file, options) { } log("looking for:", source); source = removeQuerystring(source); - if (isCore(source)) { + if (isNodeCoreModule(source) || isBunModule.isBunModule(source, (_e = process.versions.bun) != null ? _e : "latest")) { log("matched core:", source); return { found: true, diff --git a/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs b/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs index d0148725ee..56c2ebdfa9 100644 --- a/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs +++ b/node_modules/eslint-import-resolver-typescript/lib/index.es2020.mjs @@ -1,11 +1,12 @@ import fs from 'node:fs'; import path from 'node:path'; +import isNodeCoreModule from '@nolyfill/is-core-module'; import debug from 'debug'; import enhancedResolve from 'enhanced-resolve'; import { hashObject } from 'eslint-module-utils/hash.js'; import fg from 'fast-glob'; import { getTsconfig, createPathsMatcher } from 'get-tsconfig'; -import isCore from 'is-core-module'; +import { isBunModule } from 'is-bun-module'; import isGlob from 'is-glob'; const { globSync } = fg; @@ -92,7 +93,7 @@ function resolve(source, file, options) { } log("looking for:", source); source = removeQuerystring(source); - if (isCore(source)) { + if (isNodeCoreModule(source) || isBunModule(source, process.versions.bun ?? "latest")) { log("matched core:", source); return { found: true, diff --git a/node_modules/eslint-import-resolver-typescript/lib/index.js b/node_modules/eslint-import-resolver-typescript/lib/index.js index 4ea4939fb2..cabb7f7731 100644 --- a/node_modules/eslint-import-resolver-typescript/lib/index.js +++ b/node_modules/eslint-import-resolver-typescript/lib/index.js @@ -1,11 +1,12 @@ import fs from 'node:fs'; import path from 'node:path'; +import isNodeCoreModule from '@nolyfill/is-core-module'; import debug from 'debug'; import enhancedResolve from 'enhanced-resolve'; import { hashObject } from 'eslint-module-utils/hash.js'; import fg from 'fast-glob'; import { createPathsMatcher, getTsconfig } from 'get-tsconfig'; -import isCore from 'is-core-module'; +import { isBunModule } from 'is-bun-module'; import isGlob from 'is-glob'; const { globSync } = fg; const IMPORTER_NAME = 'eslint-import-resolver-typescript'; @@ -86,7 +87,8 @@ export function resolve(source, file, options) { } log('looking for:', source); source = removeQuerystring(source); - if (isCore(source)) { + if (isNodeCoreModule(source) || + isBunModule(source, (process.versions.bun ?? 'latest'))) { log('matched core:', source); return { found: true, diff --git a/node_modules/eslint-import-resolver-typescript/lib/index.js.map b/node_modules/eslint-import-resolver-typescript/lib/index.js.map index 33e97c6691..ae579caba3 100644 --- a/node_modules/eslint-import-resolver-typescript/lib/index.js.map +++ b/node_modules/eslint-import-resolver-typescript/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SA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,GAAG,MAAM,CAAC,CAAC;SACtE,CAAC;KACH,CAAA;IAED,OAAO,GAAG,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE;QACvC,IAAI,cAAqC,CAAA;QAEzC,IAAI,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;YACxB,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;YAC7C,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACzC,CAAC;aAAM,CAAC;YACN,cAAc,GAAG,WAAW,CAAC,WAAW,CAAC,CAAA;QAC3C,CAAC;QAED,OAAO,cAAc,IAAI,kBAAkB,CAAC,cAAc,CAAC,CAAA;IAC7D,CAAC,CAAC,CAAA;IAEF,oBAAoB,GAAG,OAAO,CAAA;AAChC,CAAC;AAKD,SAAS,mBAAmB,CAAC,UAAkB;IAC7C,IAAI,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QAC/B,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACvD,IAAI,YAAY,KAAK,UAAU,EAAE,CAAC;YAChC,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QAC9B,CAAC;IACH,CAAC;IACD,OAAO,UAAU,CAAA;AACnB,CAAC"} \ No newline at end of file diff --git a/node_modules/eslint-import-resolver-typescript/package.json b/node_modules/eslint-import-resolver-typescript/package.json index d28307c931..0d4b7d3a9e 100644 --- a/node_modules/eslint-import-resolver-typescript/package.json +++ b/node_modules/eslint-import-resolver-typescript/package.json @@ -1,6 +1,6 @@ { "name": "eslint-import-resolver-typescript", - "version": "3.6.1", + "version": "3.6.3", "type": "module", "description": "This plugin adds `TypeScript` support to `eslint-plugin-import`", "repository": "git+https://github.com/import-js/eslint-import-resolver-typescript", @@ -10,7 +10,7 @@ ], "funding": "https://opencollective.com/unts/projects/eslint-import-resolver-ts", "license": "ISC", - "packageManager": "pnpm@8.7.6", + "packageManager": "yarn@4.0.2", "engines": { "node": "^14.18.0 || >=16.0.0" }, @@ -41,40 +41,77 @@ "resolver", "plugin" ], + "scripts": { + "build": "run-p 'build:*'", + "build:r": "r -f cjs,es2020", + "build:ts": "tsc -b", + "lint": "run-p 'lint:*'", + "lint:es": "eslint src --cache -f friendly", + "lint:tsc": "tsc --noEmit", + "prepare": "simple-git-hooks", + "release": "changeset publish", + "test": "run-p 'test:*'", + "test:multipleEslintrcs": "eslint --ext ts,tsx tests/multipleEslintrcs", + "test:multipleTsconfigs": "eslint --ext ts,tsx tests/multipleTsconfigs", + "test:withJsExtension": "node tests/withJsExtension/test.js && eslint --ext ts,tsx tests/withJsExtension", + "test:withJsconfig": "eslint --ext js tests/withJsconfig", + "test:withPaths": "eslint --ext ts,tsx tests/withPaths", + "test:withPathsAndNestedBaseUrl": "eslint --ext ts,tsx tests/withPathsAndNestedBaseUrl", + "test:withQuerystring": "eslint --ext ts,tsx tests/withQuerystring", + "test:withoutPaths": "eslint --ext ts,tsx tests/withoutPaths", + "typecov": "type-coverage" + }, "peerDependencies": { "eslint": "*", - "eslint-plugin-import": "*" + "eslint-plugin-import": "*", + "eslint-plugin-import-x": "*" + }, + "peerDependenciesMeta": { + "eslint-plugin-import": { + "optional": true + }, + "eslint-plugin-import-x": { + "optional": true + } }, "dependencies": { - "debug": "^4.3.4", - "enhanced-resolve": "^5.12.0", - "eslint-module-utils": "^2.7.4", - "fast-glob": "^3.3.1", - "get-tsconfig": "^4.5.0", - "is-core-module": "^2.11.0", + "@nolyfill/is-core-module": "1.0.39", + "debug": "^4.3.5", + "enhanced-resolve": "^5.15.0", + "eslint-module-utils": "^2.8.1", + "fast-glob": "^3.3.2", + "get-tsconfig": "^4.7.5", + "is-bun-module": "^1.0.2", "is-glob": "^4.0.3" }, "devDependencies": { - "@1stg/lib-config": "^11.0.1", - "@changesets/changelog-github": "^0.4.8", - "@changesets/cli": "^2.26.2", - "@mozilla/glean": "^1.3.0", - "@types/debug": "^4.1.7", - "@types/is-core-module": "^2.2.0", - "@types/is-glob": "^4.0.2", - "@types/node": "^18.15.11", - "@types/unist": "^2.0.8", + "@1stg/lib-config": "^12.0.1", + "@changesets/changelog-github": "^0.5.0", + "@changesets/cli": "^2.27.7", + "@commitlint/cli": "^17.8.1", + "@mozilla/glean": "^3.0.0", + "@pkgr/rollup": "^4.1.3", + "@types/debug": "^4.1.12", + "@types/is-glob": "^4.0.4", + "@types/node": "^18.19.42", + "@types/unist": "^2.0.10", "dummy.js": "link:dummy.js", + "eslint": "^8.57.0", + "eslint-import-resolver-typescript": "link:.", + "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1", + "lint-staged": "^13.3.0", + "npm-run-all2": "^5.0.2", + "prettier": "^2.8.8", "react": "^18.2.0", - "size-limit": "^8.2.4", - "size-limit-preset-node-lib": "^0.2.0", - "type-coverage": "^2.25.0", - "typescript": "^5.0.4" + "simple-git-hooks": "^2.9.0", + "size-limit": "^11.0.0", + "size-limit-preset-node-lib": "^0.3.0", + "type-coverage": "^2.27.0", + "typescript": "^5.3.2" }, "resolutions": { "eslint-import-resolver-typescript": "link:.", - "eslint-plugin-import": "^2.27.5", - "prettier": "^2.8.7" + "prettier": "^2.8.8" }, "typeCoverage": { "atLeast": 100, @@ -85,24 +122,5 @@ "ignoreCatch": true, "strict": true, "update": true - }, - "scripts": { - "build": "run-p build:*", - "build:r": "r -f cjs,es2020", - "build:ts": "tsc -b", - "lint": "run-p lint:*", - "lint:es": "eslint src --cache -f friendly", - "lint:tsc": "tsc --noEmit", - "release": "changeset publish", - "test": "run-p test:*", - "test:multipleEslintrcs": "eslint --ext ts,tsx tests/multipleEslintrcs", - "test:multipleTsconfigs": "eslint --ext ts,tsx tests/multipleTsconfigs", - "test:withJsExtension": "node tests/withJsExtension/test.js && eslint --ext ts,tsx tests/withJsExtension", - "test:withJsconfig": "eslint --ext js tests/withJsconfig", - "test:withPaths": "eslint --ext ts,tsx tests/withPaths", - "test:withPathsAndNestedBaseUrl": "eslint --ext ts,tsx tests/withPathsAndNestedBaseUrl", - "test:withQuerystring": "eslint --ext ts,tsx tests/withQuerystring", - "test:withoutPaths": "eslint --ext ts,tsx tests/withoutPaths", - "typecov": "type-coverage" } -} \ No newline at end of file +} diff --git a/node_modules/eslint-module-utils/.nycrc b/node_modules/eslint-module-utils/.nycrc index 5d75e2157c..1084360870 100644 --- a/node_modules/eslint-module-utils/.nycrc +++ b/node_modules/eslint-module-utils/.nycrc @@ -2,10 +2,6 @@ "all": true, "check-coverage": false, "reporter": ["text-summary", "lcov", "text", "html", "json"], - "require": [ - "babel-register" - ], - "sourceMap": true, "instrument": false, "exclude": [ "coverage", diff --git a/node_modules/eslint-module-utils/CHANGELOG.md b/node_modules/eslint-module-utils/CHANGELOG.md index ae3588a390..43bd0e022b 100644 --- a/node_modules/eslint-module-utils/CHANGELOG.md +++ b/node_modules/eslint-module-utils/CHANGELOG.md @@ -5,6 +5,25 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange ## Unreleased +## v2.8.2 - 2024-08-25 + +### Fixed +- `parse`: also delete `parserOptions.projectService` ([#3039], thanks [@Mysak0CZ]) + +### Changed +- [types] use shared config (thanks [@ljharb]) +- [meta] add `exports`, `main` +- [meta] add `repository.directory` field +- [refactor] avoid hoisting + +## v2.8.1 - 2024-02-26 + +### Fixed +- `parse`: also delete `parserOptions.EXPERIMENTAL_useProjectService` ([#2963], thanks [@JoshuaKGoldberg]) + +### Changed +- add types (thanks [@ljharb]) + ## v2.8.0 - 2023-04-14 ### New @@ -131,6 +150,8 @@ Yanked due to critical issue with cache key resulting from #839. ### Fixed - `unambiguous.test()` regex is now properly in multiline mode +[#3039]: https://github.com/import-js/eslint-plugin-import/pull/3039 +[#2963]: https://github.com/import-js/eslint-plugin-import/pull/2963 [#2755]: https://github.com/import-js/eslint-plugin-import/pull/2755 [#2714]: https://github.com/import-js/eslint-plugin-import/pull/2714 [#2523]: https://github.com/import-js/eslint-plugin-import/pull/2523 @@ -169,12 +190,14 @@ Yanked due to critical issue with cache key resulting from #839. [@hulkish]: https://github.com/hulkish [@Hypnosphi]: https://github.com/Hypnosphi [@iamnapo]: https://github.com/iamnapo +[@JoshuaKGoldberg]: https://github.com/JoshuaKGoldberg [@JounQin]: https://github.com/JounQin [@kaiyoma]: https://github.com/kaiyoma [@leipert]: https://github.com/leipert [@manuth]: https://github.com/manuth [@maxkomarychev]: https://github.com/maxkomarychev [@mgwalker]: https://github.com/mgwalker +[@Mysak0CZ]: https://github.com/Mysak0CZ [@nicolo-ribaudo]: https://github.com/nicolo-ribaudo [@pmcelhaney]: https://github.com/pmcelhaney [@sergei-startsev]: https://github.com/sergei-startsev diff --git a/node_modules/eslint-module-utils/ModuleCache.d.ts b/node_modules/eslint-module-utils/ModuleCache.d.ts new file mode 100644 index 0000000000..72a72a0699 --- /dev/null +++ b/node_modules/eslint-module-utils/ModuleCache.d.ts @@ -0,0 +1,22 @@ +import type { ESLintSettings } from "./types"; + +export type CacheKey = unknown; +export type CacheObject = { + result: unknown; + lastSeen: ReturnType; +}; + +declare class ModuleCache { + map: Map; + + constructor(map?: Map); + + get(cacheKey: CacheKey, settings: ESLintSettings): T | undefined; + + set(cacheKey: CacheKey, result: T): T; + + static getSettings(settings: ESLintSettings): { lifetime: number } & Omit; +} +export default ModuleCache; + +export type { ModuleCache } diff --git a/node_modules/eslint-module-utils/ModuleCache.js b/node_modules/eslint-module-utils/ModuleCache.js index 4b1edc0eff..24c76849dd 100644 --- a/node_modules/eslint-module-utils/ModuleCache.js +++ b/node_modules/eslint-module-utils/ModuleCache.js @@ -4,26 +4,26 @@ exports.__esModule = true; const log = require('debug')('eslint-module-utils:ModuleCache'); +/** @type {import('./ModuleCache').ModuleCache} */ class ModuleCache { + /** @param {typeof import('./ModuleCache').ModuleCache.prototype.map} map */ constructor(map) { - this.map = map || new Map(); + this.map = map || /** @type {{typeof import('./ModuleCache').ModuleCache.prototype.map} */ new Map(); } - /** - * returns value for returning inline - * @param {[type]} cacheKey [description] - * @param {[type]} result [description] - */ + /** @type {typeof import('./ModuleCache').ModuleCache.prototype.set} */ set(cacheKey, result) { this.map.set(cacheKey, { result, lastSeen: process.hrtime() }); log('setting entry for', cacheKey); return result; } + /** @type {typeof import('./ModuleCache').ModuleCache.prototype.get} */ get(cacheKey, settings) { if (this.map.has(cacheKey)) { const f = this.map.get(cacheKey); // check freshness + // @ts-expect-error TS can't narrow properly from `has` and `get` if (process.hrtime(f.lastSeen)[0] < settings.lifetime) { return f.result; } } else { log('cache miss for', cacheKey); @@ -32,19 +32,21 @@ class ModuleCache { return undefined; } -} - -ModuleCache.getSettings = function (settings) { - const cacheSettings = Object.assign({ - lifetime: 30, // seconds - }, settings['import/cache']); + /** @type {typeof import('./ModuleCache').ModuleCache.getSettings} */ + static getSettings(settings) { + /** @type {ReturnType} */ + const cacheSettings = Object.assign({ + lifetime: 30, // seconds + }, settings['import/cache']); + + // parse infinity + // @ts-expect-error the lack of type overlap is because we're abusing `cacheSettings` as a temporary object + if (cacheSettings.lifetime === '∞' || cacheSettings.lifetime === 'Infinity') { + cacheSettings.lifetime = Infinity; + } - // parse infinity - if (cacheSettings.lifetime === '∞' || cacheSettings.lifetime === 'Infinity') { - cacheSettings.lifetime = Infinity; + return cacheSettings; } - - return cacheSettings; -}; +} exports.default = ModuleCache; diff --git a/node_modules/eslint-module-utils/declaredScope.d.ts b/node_modules/eslint-module-utils/declaredScope.d.ts new file mode 100644 index 0000000000..e37200d870 --- /dev/null +++ b/node_modules/eslint-module-utils/declaredScope.d.ts @@ -0,0 +1,8 @@ +import { Rule, Scope } from 'eslint'; + +declare function declaredScope( + context: Rule.RuleContext, + name: string +): Scope.Scope['type'] | undefined; + +export default declaredScope; diff --git a/node_modules/eslint-module-utils/declaredScope.js b/node_modules/eslint-module-utils/declaredScope.js index dd2a20149f..0f0a3d9458 100644 --- a/node_modules/eslint-module-utils/declaredScope.js +++ b/node_modules/eslint-module-utils/declaredScope.js @@ -2,9 +2,10 @@ exports.__esModule = true; +/** @type {import('./declaredScope').default} */ exports.default = function declaredScope(context, name) { const references = context.getScope().references; const reference = references.find((x) => x.identifier.name === name); - if (!reference) { return undefined; } + if (!reference || !reference.resolved) { return undefined; } return reference.resolved.scope.type; }; diff --git a/node_modules/eslint-module-utils/hash.d.ts b/node_modules/eslint-module-utils/hash.d.ts new file mode 100644 index 0000000000..5e4cf471bd --- /dev/null +++ b/node_modules/eslint-module-utils/hash.d.ts @@ -0,0 +1,14 @@ +import type { Hash } from 'crypto'; + +declare function hashArray(value: Array, hash?: Hash): Hash; + +declare function hashObject(value: T, hash?: Hash): Hash; + +declare function hashify( + value: Array | object | unknown, + hash?: Hash, +): Hash; + +export default hashify; + +export { hashArray, hashObject }; diff --git a/node_modules/eslint-module-utils/hash.js b/node_modules/eslint-module-utils/hash.js index b9bff25bd9..b3ce618b54 100644 --- a/node_modules/eslint-module-utils/hash.js +++ b/node_modules/eslint-module-utils/hash.js @@ -11,6 +11,7 @@ const createHash = require('crypto').createHash; const stringify = JSON.stringify; +/** @type {import('./hash').default} */ function hashify(value, hash) { if (!hash) { hash = createHash('sha256'); } @@ -26,6 +27,7 @@ function hashify(value, hash) { } exports.default = hashify; +/** @type {import('./hash').hashArray} */ function hashArray(array, hash) { if (!hash) { hash = createHash('sha256'); } @@ -41,13 +43,15 @@ function hashArray(array, hash) { hashify.array = hashArray; exports.hashArray = hashArray; -function hashObject(object, hash) { - if (!hash) { hash = createHash('sha256'); } +/** @type {import('./hash').hashObject} */ +function hashObject(object, optionalHash) { + const hash = optionalHash || createHash('sha256'); hash.update('{'); Object.keys(object).sort().forEach((key) => { hash.update(stringify(key)); hash.update(':'); + // @ts-expect-error the key is guaranteed to exist on the object here hashify(object[key], hash); hash.update(','); }); diff --git a/node_modules/eslint-module-utils/ignore.d.ts b/node_modules/eslint-module-utils/ignore.d.ts new file mode 100644 index 0000000000..53953b33e9 --- /dev/null +++ b/node_modules/eslint-module-utils/ignore.d.ts @@ -0,0 +1,12 @@ +import { Rule } from 'eslint'; +import type { ESLintSettings, Extension } from './types'; + +declare function ignore(path: string, context: Rule.RuleContext): boolean; + +declare function getFileExtensions(settings: ESLintSettings): Set; + +declare function hasValidExtension(path: string, context: Rule.RuleContext): path is `${string}${Extension}`; + +export default ignore; + +export { getFileExtensions, hasValidExtension } diff --git a/node_modules/eslint-module-utils/ignore.js b/node_modules/eslint-module-utils/ignore.js index e41d1e5a50..56f2ef7239 100644 --- a/node_modules/eslint-module-utils/ignore.js +++ b/node_modules/eslint-module-utils/ignore.js @@ -7,20 +7,14 @@ const extname = require('path').extname; const log = require('debug')('eslint-plugin-import:utils:ignore'); // one-shot memoized -let cachedSet; let lastSettings; -function validExtensions(context) { - if (cachedSet && context.settings === lastSettings) { - return cachedSet; - } - - lastSettings = context.settings; - cachedSet = makeValidExtensionSet(context.settings); - return cachedSet; -} +/** @type {Set} */ let cachedSet; +/** @type {import('./types').ESLintSettings} */ let lastSettings; +/** @type {import('./ignore').getFileExtensions} */ function makeValidExtensionSet(settings) { // start with explicit JS-parsed extensions - const exts = new Set(settings['import/extensions'] || [ '.js' ]); + /** @type {Set} */ + const exts = new Set(settings['import/extensions'] || ['.js']); // all alternate parser extensions are also valid if ('import/parsers' in settings) { @@ -37,6 +31,25 @@ function makeValidExtensionSet(settings) { } exports.getFileExtensions = makeValidExtensionSet; +/** @type {(context: import('eslint').Rule.RuleContext) => Set} */ +function validExtensions(context) { + if (cachedSet && context.settings === lastSettings) { + return cachedSet; + } + + lastSettings = context.settings; + cachedSet = makeValidExtensionSet(context.settings); + return cachedSet; +} + +/** @type {import('./ignore').hasValidExtension} */ +function hasValidExtension(path, context) { + // eslint-disable-next-line no-extra-parens + return validExtensions(context).has(/** @type {import('./types').Extension} */ (extname(path))); +} +exports.hasValidExtension = hasValidExtension; + +/** @type {import('./ignore').default} */ exports.default = function ignore(path, context) { // check extension whitelist first (cheap) if (!hasValidExtension(path, context)) { return true; } @@ -54,8 +67,3 @@ exports.default = function ignore(path, context) { return false; }; - -function hasValidExtension(path, context) { - return validExtensions(context).has(extname(path)); -} -exports.hasValidExtension = hasValidExtension; diff --git a/node_modules/eslint-module-utils/module-require.d.ts b/node_modules/eslint-module-utils/module-require.d.ts new file mode 100644 index 0000000000..91df90d616 --- /dev/null +++ b/node_modules/eslint-module-utils/module-require.d.ts @@ -0,0 +1,3 @@ +declare function moduleRequire(p: string): T; + +export default moduleRequire; diff --git a/node_modules/eslint-module-utils/module-require.js b/node_modules/eslint-module-utils/module-require.js index 96ef82ba51..14006c5dc6 100644 --- a/node_modules/eslint-module-utils/module-require.js +++ b/node_modules/eslint-module-utils/module-require.js @@ -6,23 +6,28 @@ const Module = require('module'); const path = require('path'); // borrowed from babel-eslint +/** @type {(filename: string) => Module} */ function createModule(filename) { const mod = new Module(filename); mod.filename = filename; + // @ts-expect-error _nodeModulesPaths are undocumented mod.paths = Module._nodeModulePaths(path.dirname(filename)); return mod; } +/** @type {import('./module-require').default} */ exports.default = function moduleRequire(p) { try { // attempt to get espree relative to eslint const eslintPath = require.resolve('eslint'); const eslintModule = createModule(eslintPath); + // @ts-expect-error _resolveFilename is undocumented return require(Module._resolveFilename(p, eslintModule)); } catch (err) { /* ignore */ } try { // try relative to entry point + // @ts-expect-error TODO: figure out what this is return require.main.require(p); } catch (err) { /* ignore */ } diff --git a/node_modules/eslint-module-utils/moduleVisitor.d.ts b/node_modules/eslint-module-utils/moduleVisitor.d.ts new file mode 100644 index 0000000000..6f30186d71 --- /dev/null +++ b/node_modules/eslint-module-utils/moduleVisitor.d.ts @@ -0,0 +1,26 @@ +import type { Rule } from 'eslint'; +import type { Node } from 'estree'; + +type Visitor = (source: Node, importer: unknown) => any; + +type Options = { + amd?: boolean; + commonjs?: boolean; + esmodule?: boolean; + ignore?: string[]; +}; + +declare function moduleVisitor( + visitor: Visitor, + options?: Options, +): object; + +export default moduleVisitor; + +export type Schema = NonNullable; + +declare function makeOptionsSchema(additionalProperties?: Partial): Schema + +declare const optionsSchema: Schema; + +export { makeOptionsSchema, optionsSchema }; diff --git a/node_modules/eslint-module-utils/moduleVisitor.js b/node_modules/eslint-module-utils/moduleVisitor.js index c312ca2d45..acdee6774f 100644 --- a/node_modules/eslint-module-utils/moduleVisitor.js +++ b/node_modules/eslint-module-utils/moduleVisitor.js @@ -2,50 +2,58 @@ exports.__esModule = true; +/** @typedef {import('estree').Node} Node */ +/** @typedef {{ arguments: import('estree').CallExpression['arguments'], callee: Node }} Call */ +/** @typedef {import('estree').ImportDeclaration | import('estree').ExportNamedDeclaration | import('estree').ExportAllDeclaration} Declaration */ + /** * Returns an object of node visitors that will call * 'visitor' with every discovered module path. * - * todo: correct function prototype for visitor - * @param {Function(String)} visitor [description] - * @param {[type]} options [description] - * @return {object} + * @type {(import('./moduleVisitor').default)} */ exports.default = function visitModules(visitor, options) { + const ignore = options && options.ignore; + const amd = !!(options && options.amd); + const commonjs = !!(options && options.commonjs); // if esmodule is not explicitly disabled, it is assumed to be enabled - options = Object.assign({ esmodule: true }, options); + const esmodule = !!Object.assign({ esmodule: true }, options).esmodule; - let ignoreRegExps = []; - if (options.ignore != null) { - ignoreRegExps = options.ignore.map((p) => new RegExp(p)); - } + const ignoreRegExps = ignore == null ? [] : ignore.map((p) => new RegExp(p)); + /** @type {(source: undefined | null | import('estree').Literal, importer: Parameters[1]) => void} */ function checkSourceValue(source, importer) { if (source == null) { return; } //? // handle ignore - if (ignoreRegExps.some((re) => re.test(source.value))) { return; } + if (ignoreRegExps.some((re) => re.test(String(source.value)))) { return; } // fire visitor visitor(source, importer); } // for import-y declarations + /** @type {(node: Declaration) => void} */ function checkSource(node) { checkSourceValue(node.source, node); } // for esmodule dynamic `import()` calls + /** @type {(node: import('estree').ImportExpression | import('estree').CallExpression) => void} */ function checkImportCall(node) { + /** @type {import('estree').Expression | import('estree').Literal | import('estree').CallExpression['arguments'][0]} */ let modulePath; // refs https://github.com/estree/estree/blob/HEAD/es2020.md#importexpression if (node.type === 'ImportExpression') { modulePath = node.source; } else if (node.type === 'CallExpression') { + // @ts-expect-error this structure is from an older version of eslint if (node.callee.type !== 'Import') { return; } if (node.arguments.length !== 1) { return; } modulePath = node.arguments[0]; + } else { + throw new TypeError('this should be unreachable'); } if (modulePath.type !== 'Literal') { return; } @@ -56,6 +64,7 @@ exports.default = function visitModules(visitor, options) { // for CommonJS `require` calls // adapted from @mctep: https://git.io/v4rAu + /** @type {(call: Call) => void} */ function checkCommon(call) { if (call.callee.type !== 'Identifier') { return; } if (call.callee.name !== 'require') { return; } @@ -68,6 +77,7 @@ exports.default = function visitModules(visitor, options) { checkSourceValue(modulePath, call); } + /** @type {(call: Call) => void} */ function checkAMD(call) { if (call.callee.type !== 'Identifier') { return; } if (call.callee.name !== 'require' && call.callee.name !== 'define') { return; } @@ -77,6 +87,7 @@ exports.default = function visitModules(visitor, options) { if (modules.type !== 'ArrayExpression') { return; } for (const element of modules.elements) { + if (!element) { continue; } if (element.type !== 'Literal') { continue; } if (typeof element.value !== 'string') { continue; } @@ -92,7 +103,7 @@ exports.default = function visitModules(visitor, options) { } const visitors = {}; - if (options.esmodule) { + if (esmodule) { Object.assign(visitors, { ImportDeclaration: checkSource, ExportNamedDeclaration: checkSource, @@ -102,12 +113,12 @@ exports.default = function visitModules(visitor, options) { }); } - if (options.commonjs || options.amd) { + if (commonjs || amd) { const currentCallExpression = visitors.CallExpression; - visitors.CallExpression = function (call) { + visitors.CallExpression = /** @type {(call: Call) => void} */ function (call) { if (currentCallExpression) { currentCallExpression(call); } - if (options.commonjs) { checkCommon(call); } - if (options.amd) { checkAMD(call); } + if (commonjs) { checkCommon(call); } + if (amd) { checkAMD(call); } }; } @@ -115,10 +126,11 @@ exports.default = function visitModules(visitor, options) { }; /** - * make an options schema for the module visitor, optionally - * adding extra fields. + * make an options schema for the module visitor, optionally adding extra fields. + * @type {import('./moduleVisitor').makeOptionsSchema} */ function makeOptionsSchema(additionalProperties) { + /** @type {import('./moduleVisitor').Schema} */ const base = { type: 'object', properties: { @@ -137,6 +149,7 @@ function makeOptionsSchema(additionalProperties) { if (additionalProperties) { for (const key in additionalProperties) { + // @ts-expect-error TS always has trouble with arbitrary object assignment/mutation base.properties[key] = additionalProperties[key]; } } @@ -146,8 +159,6 @@ function makeOptionsSchema(additionalProperties) { exports.makeOptionsSchema = makeOptionsSchema; /** - * json schema object for options parameter. can be used to build - * rule options schema object. - * @type {Object} + * json schema object for options parameter. can be used to build rule options schema object. */ exports.optionsSchema = makeOptionsSchema(); diff --git a/node_modules/eslint-module-utils/package.json b/node_modules/eslint-module-utils/package.json index d56c442b1a..6d69e2414a 100644 --- a/node_modules/eslint-module-utils/package.json +++ b/node_modules/eslint-module-utils/package.json @@ -1,17 +1,50 @@ { "name": "eslint-module-utils", - "version": "2.8.0", + "version": "2.8.2", "description": "Core utilities to support eslint-plugin-import and other module-related plugins.", "engines": { "node": ">=4" }, + "main": false, + "exports": { + "./ModuleCache": "./ModuleCache.js", + "./ModuleCache.js": "./ModuleCache.js", + "./declaredScope": "./declaredScope.js", + "./declaredScope.js": "./declaredScope.js", + "./hash": "./hash.js", + "./hash.js": "./hash.js", + "./ignore": "./ignore.js", + "./ignore.js": "./ignore.js", + "./module-require": "./module-require.js", + "./module-require.js": "./module-require.js", + "./moduleVisitor": "./moduleVisitor.js", + "./moduleVisitor.js": "./moduleVisitor.js", + "./parse": "./parse.js", + "./parse.js": "./parse.js", + "./pkgDir": "./pkgDir.js", + "./pkgDir.js": "./pkgDir.js", + "./pkgUp": "./pkgUp.js", + "./pkgUp.js": "./pkgUp.js", + "./readPkgUp": "./readPkgUp.js", + "./readPkgUp.js": "./readPkgUp.js", + "./resolve": "./resolve.js", + "./resolve.js": "./resolve.js", + "./unambiguous": "./unambiguous.js", + "./unambiguous.js": "./unambiguous.js", + "./visit": "./visit.js", + "./visit.js": "./visit.js", + "./package.json": "./package.json" + }, "scripts": { "prepublishOnly": "cp ../{LICENSE,.npmrc} ./", + "tsc": "tsc -p .", + "posttsc": "attw -P .", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", - "url": "git+https://github.com/import-js/eslint-plugin-import.git" + "url": "git+https://github.com/import-js/eslint-plugin-import.git", + "directory": "utils" }, "keywords": [ "eslint-plugin-import", @@ -28,9 +61,22 @@ "dependencies": { "debug": "^3.2.7" }, + "devDependencies": { + "@arethetypeswrong/cli": "^0.15.4", + "@ljharb/tsconfig": "^0.2.0", + "@types/debug": "^4.1.12", + "@types/eslint": "^8.56.3", + "@types/node": "^20.11.20", + "typescript": "next" + }, "peerDependenciesMeta": { "eslint": { "optional": true } + }, + "publishConfig": { + "ignore": [ + ".attw.json" + ] } } diff --git a/node_modules/eslint-module-utils/parse.d.ts b/node_modules/eslint-module-utils/parse.d.ts new file mode 100644 index 0000000000..f92ab3edc6 --- /dev/null +++ b/node_modules/eslint-module-utils/parse.d.ts @@ -0,0 +1,11 @@ +import { AST, Rule } from 'eslint'; + + + +declare function parse( + path: string, + content: string, + context: Rule.RuleContext +): AST.Program | null | undefined; + +export default parse; diff --git a/node_modules/eslint-module-utils/parse.js b/node_modules/eslint-module-utils/parse.js index 7646b3177c..75d527b008 100644 --- a/node_modules/eslint-module-utils/parse.js +++ b/node_modules/eslint-module-utils/parse.js @@ -2,12 +2,16 @@ exports.__esModule = true; +/** @typedef {`.${string}`} Extension */ +/** @typedef {NonNullable & { 'import/extensions'?: Extension[], 'import/parsers'?: { [k: string]: Extension[] }, 'import/cache'?: { lifetime: number | '∞' | 'Infinity' } }} ESLintSettings */ + const moduleRequire = require('./module-require').default; const extname = require('path').extname; const fs = require('fs'); const log = require('debug')('eslint-plugin-import:parse'); +/** @type {(parserPath: NonNullable) => unknown} */ function getBabelEslintVisitorKeys(parserPath) { if (parserPath.endsWith('index.js')) { const hypotheticalLocation = parserPath.replace('index.js', 'visitor-keys.js'); @@ -19,6 +23,7 @@ function getBabelEslintVisitorKeys(parserPath) { return null; } +/** @type {(parserPath: import('eslint').Rule.RuleContext['parserPath'], parserInstance: { VisitorKeys: unknown }, parsedResult?: { visitorKeys?: unknown }) => unknown} */ function keysFromParser(parserPath, parserInstance, parsedResult) { // Exposed by @typescript-eslint/parser and @babel/eslint-parser if (parsedResult && parsedResult.visitorKeys) { @@ -35,22 +40,69 @@ function keysFromParser(parserPath, parserInstance, parsedResult) { // this exists to smooth over the unintentional breaking change in v2.7. // TODO, semver-major: avoid mutating `ast` and return a plain object instead. +/** @type {(ast: T, visitorKeys: unknown) => T} */ function makeParseReturn(ast, visitorKeys) { if (ast) { + // @ts-expect-error see TODO ast.visitorKeys = visitorKeys; + // @ts-expect-error see TODO ast.ast = ast; } return ast; } +/** @type {(text: string) => string} */ function stripUnicodeBOM(text) { return text.charCodeAt(0) === 0xFEFF ? text.slice(1) : text; } +/** @type {(text: string) => string} */ function transformHashbang(text) { return text.replace(/^#!([^\r\n]+)/u, (_, captured) => `//${captured}`); } +/** @type {(path: string, context: import('eslint').Rule.RuleContext & { settings?: ESLintSettings }) => import('eslint').Rule.RuleContext['parserPath']} */ +function getParserPath(path, context) { + const parsers = context.settings['import/parsers']; + if (parsers != null) { + // eslint-disable-next-line no-extra-parens + const extension = /** @type {Extension} */ (extname(path)); + for (const parserPath in parsers) { + if (parsers[parserPath].indexOf(extension) > -1) { + // use this alternate parser + log('using alt parser:', parserPath); + return parserPath; + } + } + } + // default to use ESLint parser + return context.parserPath; +} + +/** @type {(path: string, context: import('eslint').Rule.RuleContext) => string | null | (import('eslint').Linter.ParserModule)} */ +function getParser(path, context) { + const parserPath = getParserPath(path, context); + if (parserPath) { + return parserPath; + } + if ( + !!context.languageOptions + && !!context.languageOptions.parser + && typeof context.languageOptions.parser !== 'string' + && ( + // @ts-expect-error TODO: figure out a better type + typeof context.languageOptions.parser.parse === 'function' + // @ts-expect-error TODO: figure out a better type + || typeof context.languageOptions.parser.parseForESLint === 'function' + ) + ) { + return context.languageOptions.parser; + } + + return null; +} + +/** @type {import('./parse').default} */ exports.default = function parse(path, content, context) { if (context == null) { throw new Error('need context to parse properly'); } @@ -81,6 +133,8 @@ exports.default = function parse(path, content, context) { // "project" or "projects" in parserOptions. Removing these options means the parser will // only parse one file in isolate mode, which is much, much faster. // https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962 + delete parserOptions.EXPERIMENTAL_useProjectService; + delete parserOptions.projectService; delete parserOptions.project; delete parserOptions.projects; @@ -96,10 +150,12 @@ exports.default = function parse(path, content, context) { try { const parserRaw = parser.parseForESLint(content, parserOptions); ast = parserRaw.ast; + // @ts-expect-error TODO: FIXME return makeParseReturn(ast, keysFromParser(parserOrPath, parser, parserRaw)); } catch (e) { console.warn(); console.warn('Error while parsing ' + parserOptions.filePath); + // @ts-expect-error e is almost certainly an Error here console.warn('Line ' + e.lineNumber + ', column ' + e.column + ': ' + e.message); } if (!ast || typeof ast !== 'object') { @@ -108,42 +164,12 @@ exports.default = function parse(path, content, context) { '`parseForESLint` from parser `' + (typeof parserOrPath === 'string' ? parserOrPath : '`context.languageOptions.parser`') + '` is invalid and will just be ignored' ); } else { + // @ts-expect-error TODO: FIXME return makeParseReturn(ast, keysFromParser(parserOrPath, parser, undefined)); } } const ast = parser.parse(content, parserOptions); + // @ts-expect-error TODO: FIXME return makeParseReturn(ast, keysFromParser(parserOrPath, parser, undefined)); }; - -function getParser(path, context) { - const parserPath = getParserPath(path, context); - if (parserPath) { - return parserPath; - } - const isFlat = context.languageOptions - && context.languageOptions.parser - && typeof context.languageOptions.parser !== 'string' - && ( - typeof context.languageOptions.parser.parse === 'function' - || typeof context.languageOptions.parser.parseForESLint === 'function' - ); - - return isFlat ? context.languageOptions.parser : null; -} - -function getParserPath(path, context) { - const parsers = context.settings['import/parsers']; - if (parsers != null) { - const extension = extname(path); - for (const parserPath in parsers) { - if (parsers[parserPath].indexOf(extension) > -1) { - // use this alternate parser - log('using alt parser:', parserPath); - return parserPath; - } - } - } - // default to use ESLint parser - return context.parserPath; -} diff --git a/node_modules/eslint-module-utils/pkgDir.d.ts b/node_modules/eslint-module-utils/pkgDir.d.ts new file mode 100644 index 0000000000..af01e2e9bf --- /dev/null +++ b/node_modules/eslint-module-utils/pkgDir.d.ts @@ -0,0 +1,3 @@ +declare function pkgDir(cwd: string): string | null; + +export default pkgDir; diff --git a/node_modules/eslint-module-utils/pkgDir.js b/node_modules/eslint-module-utils/pkgDir.js index 34412202f1..84c334680a 100644 --- a/node_modules/eslint-module-utils/pkgDir.js +++ b/node_modules/eslint-module-utils/pkgDir.js @@ -5,6 +5,7 @@ const pkgUp = require('./pkgUp').default; exports.__esModule = true; +/** @type {import('./pkgDir').default} */ exports.default = function (cwd) { const fp = pkgUp({ cwd }); return fp ? path.dirname(fp) : null; diff --git a/node_modules/eslint-module-utils/pkgUp.d.ts b/node_modules/eslint-module-utils/pkgUp.d.ts new file mode 100644 index 0000000000..6382457bec --- /dev/null +++ b/node_modules/eslint-module-utils/pkgUp.d.ts @@ -0,0 +1,3 @@ +declare function pkgUp(opts?: { cwd?: string }): string | null; + +export default pkgUp; diff --git a/node_modules/eslint-module-utils/pkgUp.js b/node_modules/eslint-module-utils/pkgUp.js index 889f62265f..076e59fd76 100644 --- a/node_modules/eslint-module-utils/pkgUp.js +++ b/node_modules/eslint-module-utils/pkgUp.js @@ -31,10 +31,13 @@ const path = require('path'); * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +/** @type {(filename: string | string[], cwd?: string) => string | null} */ function findUp(filename, cwd) { let dir = path.resolve(cwd || ''); const root = path.parse(dir).root; + /** @type {string[]} */ // @ts-expect-error TS sucks with concat const filenames = [].concat(filename); // eslint-disable-next-line no-constant-condition @@ -52,6 +55,7 @@ function findUp(filename, cwd) { } } +/** @type {import('./pkgUp').default} */ exports.default = function pkgUp(opts) { return findUp('package.json', opts && opts.cwd); }; diff --git a/node_modules/eslint-module-utils/readPkgUp.d.ts b/node_modules/eslint-module-utils/readPkgUp.d.ts new file mode 100644 index 0000000000..5fc1668879 --- /dev/null +++ b/node_modules/eslint-module-utils/readPkgUp.d.ts @@ -0,0 +1,5 @@ +import pkgUp from './pkgUp'; + +declare function readPkgUp(opts?: Parameters[0]): {} | { pkg: string, path: string }; + +export default readPkgUp; diff --git a/node_modules/eslint-module-utils/readPkgUp.js b/node_modules/eslint-module-utils/readPkgUp.js index d34fa6c818..08371931f2 100644 --- a/node_modules/eslint-module-utils/readPkgUp.js +++ b/node_modules/eslint-module-utils/readPkgUp.js @@ -5,6 +5,7 @@ exports.__esModule = true; const fs = require('fs'); const pkgUp = require('./pkgUp').default; +/** @type {(str: string) => string} */ function stripBOM(str) { return str.replace(/^\uFEFF/, ''); } @@ -35,6 +36,7 @@ function stripBOM(str) { * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +/** @type {import('./readPkgUp').default} */ exports.default = function readPkgUp(opts) { const fp = pkgUp(opts); diff --git a/node_modules/eslint-module-utils/resolve.d.ts b/node_modules/eslint-module-utils/resolve.d.ts new file mode 100644 index 0000000000..bb885bcfaf --- /dev/null +++ b/node_modules/eslint-module-utils/resolve.d.ts @@ -0,0 +1,30 @@ +import type { Rule } from 'eslint'; + +import type ModuleCache from './ModuleCache'; +import type { ESLintSettings } from './types'; + +export type ResultNotFound = { found: false, path?: undefined }; +export type ResultFound = { found: true, path: string | null }; +export type ResolvedResult = ResultNotFound | ResultFound; + +export type ResolverResolve = (modulePath: string, sourceFile:string, config: unknown) => ResolvedResult; +export type ResolverResolveImport = (modulePath: string, sourceFile:string, config: unknown) => string | undefined; +export type Resolver = { interfaceVersion?: 1 | 2, resolve: ResolverResolve, resolveImport: ResolverResolveImport }; + +declare function resolve( + p: string, + context: Rule.RuleContext, +): ResolvedResult['path']; + +export default resolve; + +declare function fileExistsWithCaseSync( + filepath: string | null, + cacheSettings: ESLintSettings, + strict: boolean +): boolean | ReturnType; + +declare function relative(modulePath: string, sourceFile: string, settings: ESLintSettings): ResolvedResult['path']; + + +export { fileExistsWithCaseSync, relative }; diff --git a/node_modules/eslint-module-utils/resolve.js b/node_modules/eslint-module-utils/resolve.js index 0ed5bdb0c9..5a3084351e 100644 --- a/node_modules/eslint-module-utils/resolve.js +++ b/node_modules/eslint-module-utils/resolve.js @@ -19,16 +19,30 @@ const fileExistsCache = new ModuleCache(); // Polyfill Node's `Module.createRequireFromPath` if not present (added in Node v10.12.0) // Use `Module.createRequire` if available (added in Node v12.2.0) -const createRequire = Module.createRequire || Module.createRequireFromPath || function (filename) { - const mod = new Module(filename, null); - mod.filename = filename; - mod.paths = Module._nodeModulePaths(path.dirname(filename)); - - mod._compile(`module.exports = require;`, filename); - - return mod.exports; -}; +const createRequire = Module.createRequire + // @ts-expect-error this only exists in older node + || Module.createRequireFromPath + || /** @type {(filename: string) => unknown} */ function (filename) { + const mod = new Module(filename, void null); + mod.filename = filename; + // @ts-expect-error _nodeModulePaths is undocumented + mod.paths = Module._nodeModulePaths(path.dirname(filename)); + + // @ts-expect-error _compile is undocumented + mod._compile(`module.exports = require;`, filename); + + return mod.exports; + }; + +/** @type {(resolver: object) => resolver is import('./resolve').Resolver} */ +function isResolverValid(resolver) { + if ('interfaceVersion' in resolver && resolver.interfaceVersion === 2) { + return 'resolve' in resolver && !!resolver.resolve && typeof resolver.resolve === 'function'; + } + return 'resolveImport' in resolver && !!resolver.resolveImport && typeof resolver.resolveImport === 'function'; +} +/** @type {(target: T, sourceFile?: string | null | undefined) => undefined | ReturnType} */ function tryRequire(target, sourceFile) { let resolved; try { @@ -51,7 +65,58 @@ function tryRequire(target, sourceFile) { return require(resolved); } +/** @type {>(resolvers: string[] | string | { [k: string]: string }, map: T) => T} */ +function resolverReducer(resolvers, map) { + if (Array.isArray(resolvers)) { + resolvers.forEach((r) => resolverReducer(r, map)); + return map; + } + + if (typeof resolvers === 'string') { + map.set(resolvers, null); + return map; + } + + if (typeof resolvers === 'object') { + for (const key in resolvers) { + map.set(key, resolvers[key]); + } + return map; + } + + const err = new Error('invalid resolver config'); + err.name = ERROR_NAME; + throw err; +} + +/** @type {(sourceFile: string) => string} */ +function getBaseDir(sourceFile) { + return pkgDir(sourceFile) || process.cwd(); +} + +/** @type {(name: string, sourceFile: string) => import('./resolve').Resolver} */ +function requireResolver(name, sourceFile) { + // Try to resolve package with conventional name + const resolver = tryRequire(`eslint-import-resolver-${name}`, sourceFile) + || tryRequire(name, sourceFile) + || tryRequire(path.resolve(getBaseDir(sourceFile), name)); + + if (!resolver) { + const err = new Error(`unable to load resolver "${name}".`); + err.name = ERROR_NAME; + throw err; + } + if (!isResolverValid(resolver)) { + const err = new Error(`${name} with invalid interface loaded as resolver`); + err.name = ERROR_NAME; + throw err; + } + + return resolver; +} + // https://stackoverflow.com/a/27382838 +/** @type {import('./resolve').fileExistsWithCaseSync} */ exports.fileExistsWithCaseSync = function fileExistsWithCaseSync(filepath, cacheSettings, strict) { // don't care if the FS is case-sensitive if (CASE_SENSITIVE_FS) { return true; } @@ -80,12 +145,10 @@ exports.fileExistsWithCaseSync = function fileExistsWithCaseSync(filepath, cache return result; }; -function relative(modulePath, sourceFile, settings) { - return fullResolve(modulePath, sourceFile, settings).path; -} - +/** @type {import('./types').ESLintSettings | null} */ let prevSettings = null; let memoizedHash = ''; +/** @type {(modulePath: string, sourceFile: string, settings: import('./types').ESLintSettings) => import('./resolve').ResolvedResult} */ function fullResolve(modulePath, sourceFile, settings) { // check if this is a bonus core module const coreSet = new Set(settings['import/core-modules']); @@ -105,10 +168,12 @@ function fullResolve(modulePath, sourceFile, settings) { const cachedPath = fileExistsCache.get(cacheKey, cacheSettings); if (cachedPath !== undefined) { return { found: true, path: cachedPath }; } + /** @type {(resolvedPath: string | null) => void} */ function cache(resolvedPath) { fileExistsCache.set(cacheKey, resolvedPath); } + /** @type {(resolver: import('./resolve').Resolver, config: unknown) => import('./resolve').ResolvedResult} */ function withResolver(resolver, config) { if (resolver.interfaceVersion === 2) { return resolver.resolve(modulePath, sourceFile, config); @@ -145,71 +210,22 @@ function fullResolve(modulePath, sourceFile, settings) { // cache(undefined) return { found: false }; } -exports.relative = relative; - -function resolverReducer(resolvers, map) { - if (Array.isArray(resolvers)) { - resolvers.forEach((r) => resolverReducer(r, map)); - return map; - } - - if (typeof resolvers === 'string') { - map.set(resolvers, null); - return map; - } - - if (typeof resolvers === 'object') { - for (const key in resolvers) { - map.set(key, resolvers[key]); - } - return map; - } - - const err = new Error('invalid resolver config'); - err.name = ERROR_NAME; - throw err; -} -function getBaseDir(sourceFile) { - return pkgDir(sourceFile) || process.cwd(); -} -function requireResolver(name, sourceFile) { - // Try to resolve package with conventional name - const resolver = tryRequire(`eslint-import-resolver-${name}`, sourceFile) - || tryRequire(name, sourceFile) - || tryRequire(path.resolve(getBaseDir(sourceFile), name)); - - if (!resolver) { - const err = new Error(`unable to load resolver "${name}".`); - err.name = ERROR_NAME; - throw err; - } - if (!isResolverValid(resolver)) { - const err = new Error(`${name} with invalid interface loaded as resolver`); - err.name = ERROR_NAME; - throw err; - } - - return resolver; -} - -function isResolverValid(resolver) { - if (resolver.interfaceVersion === 2) { - return resolver.resolve && typeof resolver.resolve === 'function'; - } else { - return resolver.resolveImport && typeof resolver.resolveImport === 'function'; - } +/** @type {import('./resolve').relative} */ +function relative(modulePath, sourceFile, settings) { + return fullResolve(modulePath, sourceFile, settings).path; } +exports.relative = relative; +/** @type {Set} */ const erroredContexts = new Set(); /** * Given - * @param {string} p - module path - * @param {object} context - ESLint context - * @return {string} - the full module filesystem path; - * null if package is core; - * undefined if not found + * @param p - module path + * @param context - ESLint context + * @return - the full module filesystem path; null if package is core; undefined if not found + * @type {import('./resolve').default} */ function resolve(p, context) { try { @@ -218,8 +234,11 @@ function resolve(p, context) { if (!erroredContexts.has(context)) { // The `err.stack` string starts with `err.name` followed by colon and `err.message`. // We're filtering out the default `err.name` because it adds little value to the message. + // @ts-expect-error this might be an Error let errMessage = err.message; + // @ts-expect-error this might be an Error if (err.name !== ERROR_NAME && err.stack) { + // @ts-expect-error this might be an Error errMessage = err.stack.replace(/^Error: /, ''); } context.report({ diff --git a/node_modules/eslint-module-utils/tsconfig.json b/node_modules/eslint-module-utils/tsconfig.json new file mode 100644 index 0000000000..9e6fbc5cc1 --- /dev/null +++ b/node_modules/eslint-module-utils/tsconfig.json @@ -0,0 +1,11 @@ +{ + "extends": "@ljharb/tsconfig", + "compilerOptions": { + "target": "ES2017", + "moduleResolution": "node", + "maxNodeModuleJsDepth": 0, + }, + "exclude": [ + "coverage", + ], +} diff --git a/node_modules/eslint-module-utils/types.d.ts b/node_modules/eslint-module-utils/types.d.ts new file mode 100644 index 0000000000..e0c4f5749d --- /dev/null +++ b/node_modules/eslint-module-utils/types.d.ts @@ -0,0 +1,9 @@ +import type { Rule } from 'eslint'; + +export type Extension = `.${string}`; + +export type ESLintSettings = NonNullable & { + 'import/extensions'?: Extension[]; + 'import/parsers'?: { [k: string]: Extension[] }; + 'import/cache'?: { lifetime: number | '∞' | 'Infinity' }; +}; diff --git a/node_modules/eslint-module-utils/unambiguous.d.ts b/node_modules/eslint-module-utils/unambiguous.d.ts new file mode 100644 index 0000000000..1679224189 --- /dev/null +++ b/node_modules/eslint-module-utils/unambiguous.d.ts @@ -0,0 +1,7 @@ +import type { AST } from 'eslint'; + +declare function isModule(ast: AST.Program): boolean; + +declare function test(content: string): boolean; + +export { isModule, test } diff --git a/node_modules/eslint-module-utils/unambiguous.js b/node_modules/eslint-module-utils/unambiguous.js index 24cb123157..20aabd1bd4 100644 --- a/node_modules/eslint-module-utils/unambiguous.js +++ b/node_modules/eslint-module-utils/unambiguous.js @@ -11,7 +11,7 @@ const pattern = /(^|;)\s*(export|import)((\s+\w)|(\s*[{*=]))|import\(/m; * * Not perfect, just a fast way to disqualify large non-ES6 modules and * avoid a parse. - * @type {RegExp} + * @type {import('./unambiguous').test} */ exports.test = function isMaybeUnambiguousModule(content) { return pattern.test(content); @@ -22,8 +22,7 @@ const unambiguousNodeType = /^(?:(?:Exp|Imp)ort.*Declaration|TSExportAssignment) /** * Given an AST, return true if the AST unambiguously represents a module. - * @param {Program node} ast - * @return {Boolean} + * @type {import('./unambiguous').isModule} */ exports.isModule = function isUnambiguousModule(ast) { return ast.body && ast.body.some((node) => unambiguousNodeType.test(node.type)); diff --git a/node_modules/eslint-module-utils/visit.d.ts b/node_modules/eslint-module-utils/visit.d.ts new file mode 100644 index 0000000000..50559aaab0 --- /dev/null +++ b/node_modules/eslint-module-utils/visit.d.ts @@ -0,0 +1,9 @@ +import type { Node } from 'estree'; + +declare function visit( + node: Node, + keys: { [k in Node['type']]?: (keyof Node)[] }, + visitorSpec: { [k in Node['type'] | `${Node['type']}:Exit`]?: Function } +): void; + +export default visit; diff --git a/node_modules/eslint-module-utils/visit.js b/node_modules/eslint-module-utils/visit.js index 6178faeaa0..dd0c6248da 100644 --- a/node_modules/eslint-module-utils/visit.js +++ b/node_modules/eslint-module-utils/visit.js @@ -2,24 +2,29 @@ exports.__esModule = true; +/** @type {import('./visit').default} */ exports.default = function visit(node, keys, visitorSpec) { if (!node || !keys) { return; } const type = node.type; - if (typeof visitorSpec[type] === 'function') { - visitorSpec[type](node); + const visitor = visitorSpec[type]; + if (typeof visitor === 'function') { + visitor(node); } const childFields = keys[type]; if (!childFields) { return; } childFields.forEach((fieldName) => { + // @ts-expect-error TS sucks with concat [].concat(node[fieldName]).forEach((item) => { visit(item, keys, visitorSpec); }); }); - if (typeof visitorSpec[`${type}:Exit`] === 'function') { - visitorSpec[`${type}:Exit`](node); + + const exit = visitorSpec[`${type}:Exit`]; + if (typeof exit === 'function') { + exit(node); } }; diff --git a/node_modules/fast-glob/README.md b/node_modules/fast-glob/README.md index be60874229..62d5cb7ac4 100644 --- a/node_modules/fast-glob/README.md +++ b/node_modules/fast-glob/README.md @@ -272,10 +272,10 @@ Returns the path with escaped special characters depending on the platform. * `@+!` before the opening parenthesis; * `\\` before non-special characters; * Windows: - * `(){}` + * `(){}[]` * `!` at the beginning of line; * `@+!` before the opening parenthesis; - * Characters like `*?|[]` cannot be used in the path ([windows_naming_conventions][windows_naming_conventions]), so they will not be escaped; + * Characters like `*?|` cannot be used in the path ([windows_naming_conventions][windows_naming_conventions]), so they will not be escaped; ```js fg.escapePath('!abc'); @@ -294,7 +294,7 @@ fg.win32.escapePath('C:\\Program Files (x86)\\**\\*'); Converts a path to a pattern depending on the platform, including special character escaping. * Posix. Works similarly to the `fg.posix.escapePath` method. -* Windows. Works similarly to the `fg.win32.escapePath` method, additionally converting backslashes to forward slashes in cases where they are not escape characters (`!()+@{}`). +* Windows. Works similarly to the `fg.win32.escapePath` method, additionally converting backslashes to forward slashes in cases where they are not escape characters (`!()+@{}[]`). ```js fg.convertPathToPattern('[OpenSource] mrmlnc – fast-glob (Deluxe Edition) 2014') + '/*.flac'; diff --git a/node_modules/fast-glob/out/utils/path.js b/node_modules/fast-glob/out/utils/path.js index 97a7b492ba..7b53b397b2 100644 --- a/node_modules/fast-glob/out/utils/path.js +++ b/node_modules/fast-glob/out/utils/path.js @@ -7,11 +7,11 @@ const IS_WINDOWS_PLATFORM = os.platform() === 'win32'; const LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; // ./ or .\\ /** * All non-escaped special characters. - * Posix: ()*?[\]{|}, !+@ before (, ! at the beginning, \\ before non-special characters. - * Windows: (){}, !+@ before (, ! at the beginning. + * Posix: ()*?[]{|}, !+@ before (, ! at the beginning, \\ before non-special characters. + * Windows: (){}[], !+@ before (, ! at the beginning. */ const POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g; -const WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([(){}]|^!|[!+@](?=\())/g; +const WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g; /** * The device path (\\.\ or \\?\). * https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#dos-device-paths @@ -22,7 +22,7 @@ const DOS_DEVICE_PATH_RE = /^\\\\([.?])/; * Windows: !()+@{} * https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions */ -const WINDOWS_BACKSLASHES_RE = /\\(?![!()+@{}])/g; +const WINDOWS_BACKSLASHES_RE = /\\(?![!()+@[\]{}])/g; /** * Designed to work only with simple paths: `dir\\file`. */ diff --git a/node_modules/fast-glob/out/utils/pattern.js b/node_modules/fast-glob/out/utils/pattern.js index 0f5e9ca730..d7d4e91b7d 100644 --- a/node_modules/fast-glob/out/utils/pattern.js +++ b/node_modules/fast-glob/out/utils/pattern.js @@ -134,7 +134,7 @@ function expandPatternsWithBraceExpansion(patterns) { } exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion; function expandBraceExpansion(pattern) { - const patterns = micromatch.braces(pattern, { expand: true, nodupes: true }); + const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true }); /** * Sort the patterns by length so that the same depth patterns are processed side by side. * `a/{b,}/{c,}/*` – `['a///*', 'a/b//*', 'a//c/*', 'a/b/c/*']` diff --git a/node_modules/fast-glob/package.json b/node_modules/fast-glob/package.json index bbcc0eabfc..770cc6e5e3 100644 --- a/node_modules/fast-glob/package.json +++ b/node_modules/fast-glob/package.json @@ -1,6 +1,6 @@ { "name": "fast-glob", - "version": "3.3.1", + "version": "3.3.2", "description": "It's a very fast and efficient glob library for Node.js", "license": "MIT", "repository": "mrmlnc/fast-glob", diff --git a/node_modules/get-tsconfig/README.md b/node_modules/get-tsconfig/README.md index 4b0904799f..c49c662792 100644 --- a/node_modules/get-tsconfig/README.md +++ b/node_modules/get-tsconfig/README.md @@ -1,4 +1,11 @@ -# get-tsconfig [![Latest version](https://badgen.net/npm/v/get-tsconfig)](https://npm.im/get-tsconfig) +

+ +

+

+ get-tsconfig +
+ +

Find and parse `tsconfig.json` files. @@ -9,26 +16,35 @@ Find and parse `tsconfig.json` files. - Resolves [`extends`](https://www.typescriptlang.org/tsconfig/#extends) - Fully typed `tsconfig.json` - Validates and throws parsing errors -- Tiny! `3.6 kB` Minified + Gzipped +- Tiny! `7 kB` Minified + Gzipped -## 🚀 Install +
+ +

+ + +

+

Already a sponsor? Join the discussion in the Development repo!

+ +## Install ```bash npm install get-tsconfig ``` -## 🙋‍♀️ Why? +## Why? For TypeScript related tooling to correctly parse `tsconfig.json` file without depending on TypeScript. -## ⚙️ API +## API -### getTsconfig(searchPath?, configName?) +### getTsconfig(searchPath?, configName?, cache?) Searches for a `tsconfig.json` file and parses it. Returns `null` if a config file cannot be found, or an object containing the path and parsed TSConfig object if found. Returns: ```ts type TsconfigResult = { + /** * The path to the tsconfig.json file */ @@ -55,6 +71,13 @@ Default: `tsconfig.json` The file name of the TypeScript config file. +#### cache +Type: `Map` + +Default: `new Map()` + +Optional cache for fs operations. + #### Example ```ts @@ -78,7 +101,7 @@ console.log(getTsconfig('.', 'jsconfig.json')) --- -### parseTsconfig(tsconfigPath) +### parseTsconfig(tsconfigPath, cache?) The `tsconfig.json` parser used internally by `getTsconfig`. Returns the parsed tsconfig as `TsConfigJsonResolved`. #### tsconfigPath @@ -86,6 +109,13 @@ Type: `string` Required path to the tsconfig file. +#### cache +Type: `Map` + +Default: `new Map()` + +Optional cache for fs operations. + #### Example ```ts @@ -95,8 +125,6 @@ import { parseTsconfig } from 'get-tsconfig' console.log(parseTsconfig('./path/to/tsconfig.custom.json')) ``` ---- - ### createFileMatcher(tsconfig: TsconfigResult, caseSensitivePaths?: boolean) Given a `tsconfig.json` file, it returns a file-matcher function that determines whether it should apply to a file path. @@ -157,7 +185,7 @@ import { getTsconfig, createPathsMatcher } from 'get-tsconfig' const tsconfig = getTsconfig() const pathsMatcher = createPathsMatcher(tsconfig) -function exampleResolver(request: string) { +const exampleResolver = (request: string) => { if (pathsMatcher) { const tryPaths = pathsMatcher(request) @@ -194,3 +222,10 @@ const parsedTsconfig = parseJsonConfigFileContent( path.dirname(tsconfigPath) ) ``` + +## Sponsors +

+ + + +

diff --git a/node_modules/get-tsconfig/dist/index.cjs b/node_modules/get-tsconfig/dist/index.cjs index 8fa637070f..5b6b4fa3d4 100755 --- a/node_modules/get-tsconfig/dist/index.cjs +++ b/node_modules/get-tsconfig/dist/index.cjs @@ -1,3 +1,7 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var fe=require("path"),re=require("fs"),ae=require("module"),pe=require("resolve-pkg-maps");function x(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var f=x(fe),h=x(re),ge=x(ae);function L(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}const X=(e,l)=>{for(;;){const i=f.default.posix.join(e,l);if(h.default.existsSync(i))return i;const n=f.default.dirname(e);if(n===e)return;e=n}},S=/^\.{1,2}(\/.*)?$/,V=e=>{const l=L(e);return S.test(l)?l:`./${l}`};function me(e,l=!1){const i=e.length;let n=0,t="",o=0,u=16,m=0,a=0,_=0,p=0,T=0;function k(s,r){let c=0,d=0;for(;c=48&&w<=57)d=d*16+w-48;else if(w>=65&&w<=70)d=d*16+w-65+10;else if(w>=97&&w<=102)d=d*16+w-97+10;else break;n++,c++}return c=i){s+=e.substring(r,n),T=2;break}const c=e.charCodeAt(n);if(c===34){s+=e.substring(r,n),n++;break}if(c===92){if(s+=e.substring(r,n),n++,n>=i){T=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=` -`;break;case 114:s+="\r";break;case 116:s+=" ";break;case 117:const w=k(4,!0);w>=0?s+=String.fromCharCode(w):T=4;break;default:T=5}r=n;continue}if(c>=0&&c<=31)if(N(c)){s+=e.substring(r,n),T=2;break}else T=6;n++}return s}function A(){if(t="",T=0,o=n,a=m,p=_,n>=i)return o=i,u=17;let s=e.charCodeAt(n);if(M(s)){do n++,t+=String.fromCharCode(s),s=e.charCodeAt(n);while(M(s));return u=15}if(N(s))return n++,t+=String.fromCharCode(s),s===13&&e.charCodeAt(n)===10&&(n++,t+=` -`),m++,_=n,u=14;switch(s){case 123:return n++,u=1;case 125:return n++,u=2;case 91:return n++,u=3;case 93:return n++,u=4;case 58:return n++,u=6;case 44:return n++,u=5;case 34:return n++,t=b(),u=10;case 47:const r=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n=12&&s<=15);return s}return{setPosition:j,getPosition:()=>n,scan:l?U:A,getToken:()=>u,getTokenValue:()=>t,getTokenOffset:()=>o,getTokenLength:()=>n-o,getTokenStartLine:()=>a,getTokenStartCharacter:()=>o-p,getTokenError:()=>T}}function M(e){return e===32||e===9}function N(e){return e===10||e===13}function $(e){return e>=48&&e<=57}var Y;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Y||(Y={}));var y;(function(e){e.DEFAULT={allowTrailingComma:!1}})(y||(y={}));function ke(e,l=[],i=y.DEFAULT){let n=null,t=[];const o=[];function u(a){Array.isArray(t)?t.push(a):n!==null&&(t[n]=a)}return be(e,{onObjectBegin:()=>{const a={};u(a),o.push(t),t=a,n=null},onObjectProperty:a=>{n=a},onObjectEnd:()=>{t=o.pop()},onArrayBegin:()=>{const a=[];u(a),o.push(t),t=a,n=null},onArrayEnd:()=>{t=o.pop()},onLiteralValue:u,onError:(a,_,p)=>{l.push({error:a,offset:_,length:p})}},i),t[0]}function be(e,l,i=y.DEFAULT){const n=me(e,!1),t=[];function o(g){return g?()=>g(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function u(g){return g?()=>g(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>t.slice()):()=>!0}function m(g){return g?O=>g(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function a(g){return g?O=>g(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>t.slice()):()=>!0}const _=u(l.onObjectBegin),p=a(l.onObjectProperty),T=o(l.onObjectEnd),k=u(l.onArrayBegin),j=o(l.onArrayEnd),v=a(l.onLiteralValue),b=m(l.onSeparator),A=o(l.onComment),B=m(l.onError),U=i&&i.disallowComments,s=i&&i.allowTrailingComma;function r(){for(;;){const g=n.scan();switch(n.getTokenError()){case 4:c(14);break;case 5:c(15);break;case 3:c(13);break;case 1:U||c(11);break;case 2:c(12);break;case 6:c(16);break}switch(g){case 12:case 13:U?c(10):A();break;case 16:c(1);break;case 15:case 14:break;default:return g}}}function c(g,O=[],q=[]){if(B(g),O.length+q.length>0){let F=n.getToken();for(;F!==17;){if(O.indexOf(F)!==-1){r();break}else if(q.indexOf(F)!==-1)break;F=r()}}}function d(g){const O=n.getTokenValue();return g?v(O):(p(O),t.push(O)),r(),!0}function w(){switch(n.getToken()){case 11:const g=n.getTokenValue();let O=Number(g);isNaN(O)&&(c(2),O=0),v(O);break;case 7:v(null);break;case 8:v(!0);break;case 9:v(!1);break;default:return!1}return r(),!0}function oe(){return n.getToken()!==10?(c(3,[],[2,5]),!1):(d(!1),n.getToken()===6?(b(":"),r(),P()||c(4,[],[2,5])):c(5,[],[2,5]),t.pop(),!0)}function ue(){_(),r();let g=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(g||c(4,[],[]),b(","),r(),n.getToken()===2&&s)break}else g&&c(6,[],[]);oe()||c(4,[],[2,5]),g=!0}return T(),n.getToken()!==2?c(7,[2],[]):r(),!0}function ce(){k(),r();let g=!0,O=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(O||c(4,[],[]),b(","),r(),n.getToken()===4&&s)break}else O&&c(6,[],[]);g?(t.push(0),g=!1):t[t.length-1]++,P()||c(4,[],[4,5]),O=!0}return j(),g||t.pop(),n.getToken()!==4?c(8,[4],[]):r(),!0}function P(){switch(n.getToken()){case 3:return ce();case 1:return ue();case 10:return d(!0);default:return w()}}return r(),n.getToken()===17?i.allowEmptyContent?!0:(c(4,[],[]),!1):P()?(n.getToken()!==17&&c(9,[],[]),!0):(c(4,[],[]),!1)}var Z;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(Z||(Z={}));var K;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(K||(K={}));const Te=ke;var C;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(C||(C={}));const ee=e=>Te(h.default.readFileSync(e,"utf8")),{existsSync:E}=h.default,ve=()=>{const{findPnpApi:e}=ge.default;return e&&e(process.cwd())},W=(e,l,i)=>{let n="tsconfig.json";const t=ee(e);if(t)if(!i&&t.exports)try{const[o]=pe.resolveExports(t.exports,l,["require","types"]);n=o}catch{return}else!l&&t.tsconfig&&(n=t.tsconfig);return f.default.join(e,"..",n)},J="package.json",R="tsconfig.json",we=(e,l)=>{let i=e;if(e===".."&&(i=f.default.join(i,R)),e[0]==="."&&(i=f.default.resolve(l,i)),f.default.isAbsolute(i)){if(E(i)){if(h.default.statSync(i).isFile())return i}else if(!i.endsWith(".json")){const k=`${i}.json`;if(E(k))return k}return}const[n,...t]=e.split("/"),o=n[0]==="@"?`${n}/${t.shift()}`:n,u=t.join("/"),m=ve();if(m){const{resolveRequest:k}=m;try{if(o===e){const j=k(f.default.join(o,J),l);if(j){const v=W(j,u);if(v&&E(v))return v}}else{let j;try{j=k(e,l,{extensions:[".json"]})}catch{j=k(f.default.join(e,R),l)}if(j)return j}}catch{}}const a=X(l,f.default.join("node_modules",o));if(!a||!h.default.statSync(a).isDirectory())return;const _=f.default.join(a,J);if(E(_)){const k=W(_,u);if(!k)return;if(E(k))return k}const p=f.default.join(a,u),T=p.endsWith(".json");if(!T){const k=`${p}.json`;if(E(k))return k}if(E(p)){if(h.default.statSync(p).isDirectory()){const k=f.default.join(p,J);if(E(k)){const v=W(k,"",!0);if(v&&E(v))return v}const j=f.default.join(p,R);if(E(j))return j}else if(T)return p}},Oe=(e,l)=>{var i;const n=we(e,l);if(!n)throw new Error(`File '${e}' not found.`);const t=G(n);if(delete t.references,(i=t.compilerOptions)!=null&&i.baseUrl){const{compilerOptions:o}=t;o.baseUrl=f.default.relative(l,f.default.join(f.default.dirname(n),o.baseUrl))||"./"}return t.files&&(t.files=t.files.map(o=>f.default.relative(l,f.default.join(f.default.dirname(n),o)))),t.include&&(t.include=t.include.map(o=>f.default.relative(l,f.default.join(f.default.dirname(n),o)))),t},G=e=>{let l;try{l=h.default.realpathSync(e)}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}const i=f.default.dirname(l);let n=ee(l)||{};if(typeof n!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);if(n.extends){const t=Array.isArray(n.extends)?n.extends:[n.extends];delete n.extends;for(const o of t.reverse()){const u=Oe(o,i),m={...u,...n,compilerOptions:{...u.compilerOptions,...n.compilerOptions}};u.watchOptions&&(m.watchOptions={...u.watchOptions,...n.watchOptions}),n=m}}if(n.compilerOptions){const{compilerOptions:t}=n;if(t.baseUrl){const o=f.default.resolve(i,t.baseUrl),u=V(f.default.relative(i,o));t.baseUrl=u}t.outDir&&(Array.isArray(n.exclude)||(n.exclude=[]),n.exclude.push(t.outDir),t.outDir=V(t.outDir))}else n.compilerOptions={};if(n.files&&(n.files=n.files.map(V)),n.include&&(n.include=n.include.map(L)),n.watchOptions){const{watchOptions:t}=n;t.excludeDirectories&&(t.excludeDirectories=t.excludeDirectories.map(o=>L(f.default.resolve(i,o))))}return n},je=(e=process.cwd(),l="tsconfig.json")=>{const i=X(L(e),l);if(!i)return null;const n=G(i);return{path:i,config:n}},Ae=/\*/g,ne=(e,l)=>{const i=e.match(Ae);if(i&&i.length>1)throw new Error(l)},de=e=>{if(e.includes("*")){const[l,i]=e.split("*");return{prefix:l,suffix:i}}return e},_e=({prefix:e,suffix:l},i)=>i.startsWith(e)&&i.endsWith(l),Ee=(e,l,i)=>Object.entries(e).map(([n,t])=>(ne(n,`Pattern '${n}' can have at most one '*' character.`),{pattern:de(n),substitutions:t.map(o=>{if(ne(o,`Substitution '${o}' in pattern '${n}' can have at most one '*' character.`),!l&&!S.test(o))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return f.default.resolve(i,o)})})),Le=e=>{if(!e.config.compilerOptions)return null;const{baseUrl:l,paths:i}=e.config.compilerOptions;if(!l&&!i)return null;const n=f.default.resolve(f.default.dirname(e.path),l||"."),t=i?Ee(i,l,n):[];return o=>{if(S.test(o))return[];const u=[];for(const p of t){if(p.pattern===o)return p.substitutions.map(L);typeof p.pattern!="string"&&u.push(p)}let m,a=-1;for(const p of u)_e(p.pattern,o)&&p.pattern.prefix.length>a&&(a=p.pattern.prefix.length,m=p);if(!m)return l?[L(f.default.join(n,o))]:[];const _=o.slice(m.pattern.prefix.length,o.length-m.pattern.suffix.length);return m.substitutions.map(p=>L(p.replace("*",_)))}},te=e=>{let l="";for(let i=0;iMath.floor(Math.random()*26),$e=e=>Array.from({length:e},()=>String.fromCodePoint(Ue()+(Math.random()>.5?he:Be))).join(""),Ne=(e=h.default)=>{const l=process.execPath;if(e.existsSync(l))return!e.existsSync(te(l));const i=`/${$e(10)}`;e.writeFileSync(i,"");const n=!e.existsSync(te(i));return e.unlinkSync(i),n},{join:D}=f.default.posix,z={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},Fe=e=>{const l=[...z.ts],i=[...z.cts],n=[...z.mts];return e!=null&&e.allowJs&&(l.push(".js",".jsx"),i.push(".cjs"),n.push(".mjs")),[...l,...i,...n]},ye=e=>{const l=[];if(!e)return l;const{outDir:i,declarationDir:n}=e;return i&&l.push(i),n&&l.push(n),l},ie=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),De=["node_modules","bower_components","jspm_packages"],Q=`(?!(${De.join("|")})(/|$))`,Ie=/(?:^|\/)[^.*?]+$/,le="**/*",I="[^/]",H="[^./]",se=process.platform==="win32",Pe=({config:e,path:l},i=Ne())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!f.default.isAbsolute(l))throw new Error("The tsconfig path must be absolute");se&&(l=L(l));const n=f.default.dirname(l),{files:t,include:o,exclude:u,compilerOptions:m}=e,a=t==null?void 0:t.map(b=>D(n,b)),_=Fe(m),p=i?"":"i",k=(u||ye(m)).map(b=>{const A=D(n,b),B=ie(A).replace(/\\\*\\\*\//g,"(.+/)?").replace(/\\\*/g,`${I}*`).replace(/\\\?/g,I);return new RegExp(`^${B}($|/)`,p)}),j=t||o?o:[le],v=j?j.map(b=>{let A=D(n,b);Ie.test(A)&&(A=D(A,le));const B=ie(A).replace(/\/\\\*\\\*/g,`(/${Q}${H}${I}*)*?`).replace(/(\/)?\\\*/g,(U,s)=>{const r=`(${H}|(\\.(?!min\\.js$))?)*`;return s?`/${Q}${H}${r}`:r}).replace(/(\/)?\\\?/g,(U,s)=>{const r=I;return s?`/${Q}${r}`:r});return new RegExp(`^${B}$`,p)}):void 0;return b=>{if(!f.default.isAbsolute(b))throw new Error("filePath must be absolute");if(se&&(b=L(b)),a!=null&&a.includes(b))return e;if(!(!_.some(A=>b.endsWith(A))||k.some(A=>A.test(b)))&&v&&v.some(A=>A.test(b)))return e}};exports.createFilesMatcher=Pe,exports.createPathsMatcher=Le,exports.getTsconfig=je,exports.parseTsconfig=G; +"use strict";var me=Object.defineProperty;var u=(e,t)=>me(e,"name",{value:t,configurable:!0});var p=require("path"),h=require("fs"),ke=require("module"),be=require("resolve-pkg-maps");function E(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}u(E,"slash");const M=u(e=>{const t=h[e];return(i,...n)=>{const s=`${e}:${n.join(":")}`;let o=i==null?void 0:i.get(s);return o===void 0&&(o=Reflect.apply(t,h,n),i==null||i.set(s,o)),o}},"cacheFs"),L=M("existsSync"),we=M("readFileSync"),I=M("statSync"),K=u((e,t,i)=>{for(;;){const n=p.posix.join(e,t);if(L(i,n))return n;const s=p.dirname(e);if(s===e)return;e=s}},"findUp"),W=/^\.{1,2}(\/.*)?$/,J=u(e=>{const t=E(e);return W.test(t)?t:`./${t}`},"normalizePath");function ve(e,t=!1){const i=e.length;let n=0,s="",o=0,l=16,f=0,c=0,w=0,A=0,k=0;function O(r,g){let a=0,_=0;for(;a=48&&j<=57)_=_*16+j-48;else if(j>=65&&j<=70)_=_*16+j-65+10;else if(j>=97&&j<=102)_=_*16+j-97+10;else break;n++,a++}return a=i){r+=e.substring(g,n),k=2;break}const a=e.charCodeAt(n);if(a===34){r+=e.substring(g,n),n++;break}if(a===92){if(r+=e.substring(g,n),n++,n>=i){k=2;break}switch(e.charCodeAt(n++)){case 34:r+='"';break;case 92:r+="\\";break;case 47:r+="/";break;case 98:r+="\b";break;case 102:r+="\f";break;case 110:r+=` +`;break;case 114:r+="\r";break;case 116:r+=" ";break;case 117:const j=O(4,!0);j>=0?r+=String.fromCharCode(j):k=4;break;default:k=5}g=n;continue}if(a>=0&&a<=31)if(x(a)){r+=e.substring(g,n),k=2;break}else k=6;n++}return r}u(b,"scanString");function B(){if(s="",k=0,o=n,c=f,A=w,n>=i)return o=i,l=17;let r=e.charCodeAt(n);if(R(r)){do n++,s+=String.fromCharCode(r),r=e.charCodeAt(n);while(R(r));return l=15}if(x(r))return n++,s+=String.fromCharCode(r),r===13&&e.charCodeAt(n)===10&&(n++,s+=` +`),f++,w=n,l=14;switch(r){case 123:return n++,l=1;case 125:return n++,l=2;case 91:return n++,l=3;case 93:return n++,l=4;case 58:return n++,l=6;case 44:return n++,l=5;case 34:return n++,s=b(),l=10;case 47:const g=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n=12&&r<=15);return r}return u(y,"scanNextNonTrivia"),{setPosition:v,getPosition:()=>n,scan:t?y:B,getToken:()=>l,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>n-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-A,getTokenError:()=>k}}u(ve,"createScanner");function R(e){return e===32||e===9}u(R,"isWhiteSpace");function x(e){return e===10||e===13}u(x,"isLineBreak");function F(e){return e>=48&&e<=57}u(F,"isDigit");var C;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(C||(C={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const N=200;new Array(N).fill(0).map((e,t)=>` +`+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`\r +`+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>` +`+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`\r +`+" ".repeat(t));var D;(function(e){e.DEFAULT={allowTrailingComma:!1}})(D||(D={}));function Te(e,t=[],i=D.DEFAULT){let n=null,s=[];const o=[];function l(c){Array.isArray(s)?s.push(c):n!==null&&(s[n]=c)}return u(l,"onValue"),Ae(e,{onObjectBegin:()=>{const c={};l(c),o.push(s),s=c,n=null},onObjectProperty:c=>{n=c},onObjectEnd:()=>{s=o.pop()},onArrayBegin:()=>{const c=[];l(c),o.push(s),s=c,n=null},onArrayEnd:()=>{s=o.pop()},onLiteralValue:l,onError:(c,w,A)=>{t.push({error:c,offset:w,length:A})}},i),s[0]}u(Te,"parse$1");function Ae(e,t,i=D.DEFAULT){const n=ve(e,!1),s=[];function o(m){return m?()=>m(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}u(o,"toNoArgVisit");function l(m){return m?()=>m(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>s.slice()):()=>!0}u(l,"toNoArgVisitWithPath");function f(m){return m?$=>m($,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}u(f,"toOneArgVisit");function c(m){return m?$=>m($,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>s.slice()):()=>!0}u(c,"toOneArgVisitWithPath");const w=l(t.onObjectBegin),A=c(t.onObjectProperty),k=o(t.onObjectEnd),O=l(t.onArrayBegin),v=o(t.onArrayEnd),T=c(t.onLiteralValue),b=f(t.onSeparator),B=o(t.onComment),U=f(t.onError),y=i&&i.disallowComments,r=i&&i.allowTrailingComma;function g(){for(;;){const m=n.scan();switch(n.getTokenError()){case 4:a(14);break;case 5:a(15);break;case 3:a(13);break;case 1:y||a(11);break;case 2:a(12);break;case 6:a(16);break}switch(m){case 12:case 13:y?a(10):B();break;case 16:a(1);break;case 15:case 14:break;default:return m}}}u(g,"scanNext");function a(m,$=[],Z=[]){if(U(m),$.length+Z.length>0){let P=n.getToken();for(;P!==17;){if($.indexOf(P)!==-1){g();break}else if(Z.indexOf(P)!==-1)break;P=g()}}}u(a,"handleError");function _(m){const $=n.getTokenValue();return m?T($):(A($),s.push($)),g(),!0}u(_,"parseString");function j(){switch(n.getToken()){case 11:const m=n.getTokenValue();let $=Number(m);isNaN($)&&(a(2),$=0),T($);break;case 7:T(null);break;case 8:T(!0);break;case 9:T(!1);break;default:return!1}return g(),!0}u(j,"parseLiteral");function pe(){return n.getToken()!==10?(a(3,[],[2,5]),!1):(_(!1),n.getToken()===6?(b(":"),g(),d()||a(4,[],[2,5])):a(5,[],[2,5]),s.pop(),!0)}u(pe,"parseProperty");function ae(){w(),g();let m=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(m||a(4,[],[]),b(","),g(),n.getToken()===2&&r)break}else m&&a(6,[],[]);pe()||a(4,[],[2,5]),m=!0}return k(),n.getToken()!==2?a(7,[2],[]):g(),!0}u(ae,"parseObject");function ge(){O(),g();let m=!0,$=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if($||a(4,[],[]),b(","),g(),n.getToken()===4&&r)break}else $&&a(6,[],[]);m?(s.push(0),m=!1):s[s.length-1]++,d()||a(4,[],[4,5]),$=!0}return v(),m||s.pop(),n.getToken()!==4?a(8,[4],[]):g(),!0}u(ge,"parseArray");function d(){switch(n.getToken()){case 3:return ge();case 1:return ae();case 10:return _(!0);default:return j()}}return u(d,"parseValue"),g(),n.getToken()===17?i.allowEmptyContent?!0:(a(4,[],[]),!1):d()?(n.getToken()!==17&&a(9,[],[]),!0):(a(4,[],[]),!1)}u(Ae,"visit");var ee;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ee||(ee={}));var ne;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(ne||(ne={}));const Oe=Te;var te;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(te||(te={}));const ie=u((e,t)=>Oe(we(t,e,"utf8")),"readJsonc"),G=Symbol("implicitBaseUrl"),je=u(()=>{const{findPnpApi:e}=ke;return e&&e(process.cwd())},"getPnpApi"),z=u((e,t,i,n)=>{const s=`resolveFromPackageJsonPath:${e}:${t}:${i}`;if(n!=null&&n.has(s))return n.get(s);const o=ie(e,n);if(!o)return;let l=t||"tsconfig.json";if(!i&&o.exports)try{const[f]=be.resolveExports(o.exports,t,["require","types"]);l=f}catch{return!1}else!t&&o.tsconfig&&(l=o.tsconfig);return l=p.join(e,"..",l),n==null||n.set(s,l),l},"resolveFromPackageJsonPath"),Q="package.json",H="tsconfig.json",$e=u((e,t,i)=>{let n=e;if(e===".."&&(n=p.join(n,H)),e[0]==="."&&(n=p.resolve(t,n)),p.isAbsolute(n)){if(L(i,n)){if(I(i,n).isFile())return n}else if(!n.endsWith(".json")){const v=`${n}.json`;if(L(i,v))return v}return}const[s,...o]=e.split("/"),l=s[0]==="@"?`${s}/${o.shift()}`:s,f=o.join("/"),c=je();if(c){const{resolveRequest:v}=c;try{if(l===e){const T=v(p.join(l,Q),t);if(T){const b=z(T,f,!1,i);if(b&&L(i,b))return b}}else{let T;try{T=v(e,t,{extensions:[".json"]})}catch{T=v(p.join(e,H),t)}if(T)return T}}catch{}}const w=K(p.resolve(t),p.join("node_modules",l),i);if(!w||!I(i,w).isDirectory())return;const A=p.join(w,Q);if(L(i,A)){const v=z(A,f,!1,i);if(v===!1)return;if(v&&L(i,v)&&I(i,v).isFile())return v}const k=p.join(w,f),O=k.endsWith(".json");if(!O){const v=`${k}.json`;if(L(i,v))return v}if(L(i,k)){if(I(i,k).isDirectory()){const v=p.join(k,Q);if(L(i,v)){const b=z(v,"",!0,i);if(b&&L(i,b))return b}const T=p.join(k,H);if(L(i,T))return T}else if(O)return k}},"resolveExtendsPath"),Be=u((e,t,i,n)=>{const s=$e(e,t,n);if(!s)throw new Error(`File '${e}' not found.`);if(i.has(s))throw new Error(`Circularity detected while resolving configuration: ${s}`);i.add(s);const o=p.dirname(s),l=se(s,n,i);delete l.references;const{compilerOptions:f}=l;if(f){const c=["baseUrl","outDir"];for(const w of c){const A=f[w];A&&(f[w]=E(p.relative(t,p.join(o,A)))||"./")}}return l.files&&(l.files=l.files.map(c=>E(p.relative(t,p.join(o,c))))),l.include&&(l.include=l.include.map(c=>E(p.relative(t,p.join(o,c))))),l.exclude&&(l.exclude=l.exclude.map(c=>E(p.relative(t,p.join(o,c))))),l},"resolveExtends"),se=u((e,t,i=new Set)=>{let n;try{n=ie(e,t)||{}}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}if(typeof n!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);const s=p.dirname(e);if(n.compilerOptions){const{compilerOptions:o}=n;o.paths&&!o.baseUrl&&(o[G]=s)}if(n.extends){const o=Array.isArray(n.extends)?n.extends:[n.extends];delete n.extends;for(const l of o.reverse()){const f=Be(l,s,new Set(i),t),c={...f,...n,compilerOptions:{...f.compilerOptions,...n.compilerOptions}};f.watchOptions&&(c.watchOptions={...f.watchOptions,...n.watchOptions}),n=c}}if(n.compilerOptions){const{compilerOptions:o}=n,l=["baseUrl","rootDir"];for(const c of l){const w=o[c];if(w){const A=p.resolve(s,w),k=J(p.relative(s,A));o[c]=k}}const{outDir:f}=o;f&&(Array.isArray(n.exclude)||(n.exclude=[]),n.exclude.includes(f)||n.exclude.push(f),o.outDir=J(f))}else n.compilerOptions={};if(n.files&&(n.files=n.files.map(J)),n.include&&(n.include=n.include.map(E)),n.watchOptions){const{watchOptions:o}=n;o.excludeDirectories&&(o.excludeDirectories=o.excludeDirectories.map(l=>E(p.resolve(s,l))))}return n},"_parseTsconfig"),le=u((e,t=new Map)=>se(p.resolve(e),t),"parseTsconfig"),_e=u((e=process.cwd(),t="tsconfig.json",i=new Map)=>{const n=K(E(e),t,i);if(!n)return null;const s=le(n,i);return{path:n,config:s}},"getTsconfig"),Ee=/\*/g,oe=u((e,t)=>{const i=e.match(Ee);if(i&&i.length>1)throw new Error(t)},"assertStarCount"),Le=u(e=>{if(e.includes("*")){const[t,i]=e.split("*");return{prefix:t,suffix:i}}return e},"parsePattern"),Ue=u(({prefix:e,suffix:t},i)=>i.startsWith(e)&&i.endsWith(t),"isPatternMatch"),ye=u((e,t,i)=>Object.entries(e).map(([n,s])=>(oe(n,`Pattern '${n}' can have at most one '*' character.`),{pattern:Le(n),substitutions:s.map(o=>{if(oe(o,`Substitution '${o}' in pattern '${n}' can have at most one '*' character.`),!t&&!W.test(o))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return p.resolve(i,o)})})),"parsePaths"),Fe=u(e=>{const{compilerOptions:t}=e.config;if(!t)return null;const{baseUrl:i,paths:n}=t;if(!i&&!n)return null;const s=G in t&&t[G],o=p.resolve(p.dirname(e.path),i||s||"."),l=n?ye(n,i,o):[];return f=>{if(W.test(f))return[];const c=[];for(const O of l){if(O.pattern===f)return O.substitutions.map(E);typeof O.pattern!="string"&&c.push(O)}let w,A=-1;for(const O of c)Ue(O.pattern,f)&&O.pattern.prefix.length>A&&(A=O.pattern.prefix.length,w=O);if(!w)return i?[E(p.join(o,f))]:[];const k=f.slice(w.pattern.prefix.length,f.length-w.pattern.suffix.length);return w.substitutions.map(O=>E(O.replace("*",k)))}},"createPathsMatcher"),re=u(e=>{let t="";for(let i=0;iMath.floor(Math.random()*26),"m"),Ie=u(e=>Array.from({length:e},()=>String.fromCodePoint(Pe()+(Math.random()>.5?Ne:xe))).join(""),"S"),De=u((e=h)=>{const t=process.execPath;if(e.existsSync(t))return!e.existsSync(re(t));const i=`/${Ie(10)}`;e.writeFileSync(i,"");const n=!e.existsSync(re(i));return e.unlinkSync(i),n},"l"),{join:V}=p.posix,q={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},Ve=u(e=>{const t=[...q.ts],i=[...q.cts],n=[...q.mts];return e!=null&&e.allowJs&&(t.push(".js",".jsx"),i.push(".cjs"),n.push(".mjs")),[...t,...i,...n]},"getSupportedExtensions"),Se=u(e=>{const t=[];if(!e)return t;const{outDir:i,declarationDir:n}=e;return i&&t.push(i),n&&t.push(n),t},"getDefaultExcludeSpec"),ue=u(e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,"\\$&"),"escapeForRegexp"),de=["node_modules","bower_components","jspm_packages"],X=`(?!(${de.join("|")})(/|$))`,he=/(?:^|\/)[^.*?]+$/,ce="**/*",S="[^/]",Y="[^./]",fe=process.platform==="win32",Me=u(({config:e,path:t},i=De())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!p.isAbsolute(t))throw new Error("The tsconfig path must be absolute");fe&&(t=E(t));const n=p.dirname(t),{files:s,include:o,exclude:l,compilerOptions:f}=e,c=s==null?void 0:s.map(b=>V(n,b)),w=Ve(f),A=i?"":"i",O=(l||Se(f)).map(b=>{const B=V(n,b),U=ue(B).replaceAll("\\*\\*/","(.+/)?").replaceAll("\\*",`${S}*`).replaceAll("\\?",S);return new RegExp(`^${U}($|/)`,A)}),v=s||o?o:[ce],T=v?v.map(b=>{let B=V(n,b);he.test(B)&&(B=V(B,ce));const U=ue(B).replaceAll("/\\*\\*",`(/${X}${Y}${S}*)*?`).replaceAll(/(\/)?\\\*/g,(y,r)=>{const g=`(${Y}|(\\.(?!min\\.js$))?)*`;return r?`/${X}${Y}${g}`:g}).replaceAll(/(\/)?\\\?/g,(y,r)=>{const g=S;return r?`/${X}${g}`:g});return new RegExp(`^${U}$`,A)}):void 0;return b=>{if(!p.isAbsolute(b))throw new Error("filePath must be absolute");if(fe&&(b=E(b)),c!=null&&c.includes(b))return e;if(!(!w.some(B=>b.endsWith(B))||O.some(B=>B.test(b)))&&T&&T.some(B=>B.test(b)))return e}},"createFilesMatcher");exports.createFilesMatcher=Me,exports.createPathsMatcher=Fe,exports.getTsconfig=_e,exports.parseTsconfig=le; diff --git a/node_modules/get-tsconfig/dist/index.d.cts b/node_modules/get-tsconfig/dist/index.d.cts index 618222dd48..2a63412e55 100644 --- a/node_modules/get-tsconfig/dist/index.d.cts +++ b/node_modules/get-tsconfig/dist/index.d.cts @@ -137,6 +137,7 @@ declare namespace TsConfigJson { | 'ESNext' | 'Node16' | 'NodeNext' + | 'Preserve' | 'None' // Lowercase alternatives | 'commonjs' @@ -150,6 +151,7 @@ declare namespace TsConfigJson { | 'esnext' | 'node16' | 'nodenext' + | 'preserve' | 'none'; export type NewLine = @@ -186,6 +188,7 @@ declare namespace TsConfigJson { | 'es2022' | 'esnext'; + // eslint-disable-next-line unicorn/prevent-abbreviations export type Lib = | 'ES5' | 'ES6' @@ -230,6 +233,14 @@ declare namespace TsConfigJson { | 'ES2021.Promise' | 'ES2021.String' | 'ES2021.WeakRef' + | 'ES2022' + | 'ES2022.Array' + | 'ES2022.Error' + | 'ES2022.Intl' + | 'ES2022.Object' + | 'ES2022.SharedMemory' + | 'ES2022.String' + | 'ES2022.RegExp' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' @@ -289,6 +300,14 @@ declare namespace TsConfigJson { | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' + | 'es2022' + | 'es2022.array' + | 'es2022.error' + | 'es2022.intl' + | 'es2022.object' + | 'es2022.sharedmemory' + | 'es2022.string' + | 'es2022.regexp' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' @@ -1307,10 +1326,11 @@ type TsConfigResult = { */ config: TsConfigJsonResolved; }; +type Cache = Map; -declare const getTsconfig: (searchPath?: string, configName?: string) => TsConfigResult | null; +declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache) => TsConfigResult | null; -declare const parseTsconfig: (tsconfigPath: string) => TsConfigJsonResolved; +declare const parseTsconfig: (tsconfigPath: string, cache?: Cache) => TsConfigJsonResolved; /** * Reference: @@ -1321,4 +1341,4 @@ declare const createPathsMatcher: (tsconfig: TsConfigResult) => ((specifier: str type FileMatcher = (filePath: string) => (TsConfigJsonResolved | undefined); declare const createFilesMatcher: ({ config, path: tsconfigPath, }: TsConfigResult, caseSensitivePaths?: boolean) => FileMatcher; -export { FileMatcher, TsConfigJson, TsConfigJsonResolved, TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig }; +export { type Cache, type FileMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig }; diff --git a/node_modules/get-tsconfig/dist/index.d.mts b/node_modules/get-tsconfig/dist/index.d.mts index 618222dd48..2a63412e55 100644 --- a/node_modules/get-tsconfig/dist/index.d.mts +++ b/node_modules/get-tsconfig/dist/index.d.mts @@ -137,6 +137,7 @@ declare namespace TsConfigJson { | 'ESNext' | 'Node16' | 'NodeNext' + | 'Preserve' | 'None' // Lowercase alternatives | 'commonjs' @@ -150,6 +151,7 @@ declare namespace TsConfigJson { | 'esnext' | 'node16' | 'nodenext' + | 'preserve' | 'none'; export type NewLine = @@ -186,6 +188,7 @@ declare namespace TsConfigJson { | 'es2022' | 'esnext'; + // eslint-disable-next-line unicorn/prevent-abbreviations export type Lib = | 'ES5' | 'ES6' @@ -230,6 +233,14 @@ declare namespace TsConfigJson { | 'ES2021.Promise' | 'ES2021.String' | 'ES2021.WeakRef' + | 'ES2022' + | 'ES2022.Array' + | 'ES2022.Error' + | 'ES2022.Intl' + | 'ES2022.Object' + | 'ES2022.SharedMemory' + | 'ES2022.String' + | 'ES2022.RegExp' | 'ESNext' | 'ESNext.Array' | 'ESNext.AsyncIterable' @@ -289,6 +300,14 @@ declare namespace TsConfigJson { | 'es2021.promise' | 'es2021.string' | 'es2021.weakref' + | 'es2022' + | 'es2022.array' + | 'es2022.error' + | 'es2022.intl' + | 'es2022.object' + | 'es2022.sharedmemory' + | 'es2022.string' + | 'es2022.regexp' | 'esnext' | 'esnext.array' | 'esnext.asynciterable' @@ -1307,10 +1326,11 @@ type TsConfigResult = { */ config: TsConfigJsonResolved; }; +type Cache = Map; -declare const getTsconfig: (searchPath?: string, configName?: string) => TsConfigResult | null; +declare const getTsconfig: (searchPath?: string, configName?: string, cache?: Cache) => TsConfigResult | null; -declare const parseTsconfig: (tsconfigPath: string) => TsConfigJsonResolved; +declare const parseTsconfig: (tsconfigPath: string, cache?: Cache) => TsConfigJsonResolved; /** * Reference: @@ -1321,4 +1341,4 @@ declare const createPathsMatcher: (tsconfig: TsConfigResult) => ((specifier: str type FileMatcher = (filePath: string) => (TsConfigJsonResolved | undefined); declare const createFilesMatcher: ({ config, path: tsconfigPath, }: TsConfigResult, caseSensitivePaths?: boolean) => FileMatcher; -export { FileMatcher, TsConfigJson, TsConfigJsonResolved, TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig }; +export { type Cache, type FileMatcher, TsConfigJson, type TsConfigJsonResolved, type TsConfigResult, createFilesMatcher, createPathsMatcher, getTsconfig, parseTsconfig }; diff --git a/node_modules/get-tsconfig/dist/index.mjs b/node_modules/get-tsconfig/dist/index.mjs index e10c18f8aa..44a695fbd3 100755 --- a/node_modules/get-tsconfig/dist/index.mjs +++ b/node_modules/get-tsconfig/dist/index.mjs @@ -1,3 +1,7 @@ -import f from"path";import $ from"fs";import ue from"module";import{resolveExports as fe}from"resolve-pkg-maps";function U(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}const Y=(e,s)=>{for(;;){const i=f.posix.join(e,s);if($.existsSync(i))return i;const n=f.dirname(e);if(n===e)return;e=n}},S=/^\.{1,2}(\/.*)?$/,V=e=>{const s=U(e);return S.test(s)?s:`./${s}`};function re(e,s=!1){const i=e.length;let n=0,t="",l=0,c=16,m=0,p=0,L=0,g=0,T=0;function k(o,r){let u=0,E=0;for(;u=48&&v<=57)E=E*16+v-48;else if(v>=65&&v<=70)E=E*16+v-65+10;else if(v>=97&&v<=102)E=E*16+v-97+10;else break;n++,u++}return u=i){o+=e.substring(r,n),T=2;break}const u=e.charCodeAt(n);if(u===34){o+=e.substring(r,n),n++;break}if(u===92){if(o+=e.substring(r,n),n++,n>=i){T=2;break}switch(e.charCodeAt(n++)){case 34:o+='"';break;case 92:o+="\\";break;case 47:o+="/";break;case 98:o+="\b";break;case 102:o+="\f";break;case 110:o+=` -`;break;case 114:o+="\r";break;case 116:o+=" ";break;case 117:const v=k(4,!0);v>=0?o+=String.fromCharCode(v):T=4;break;default:T=5}r=n;continue}if(u>=0&&u<=31)if(F(u)){o+=e.substring(r,n),T=2;break}else T=6;n++}return o}function A(){if(t="",T=0,l=n,p=m,g=L,n>=i)return l=i,c=17;let o=e.charCodeAt(n);if(W(o)){do n++,t+=String.fromCharCode(o),o=e.charCodeAt(n);while(W(o));return c=15}if(F(o))return n++,t+=String.fromCharCode(o),o===13&&e.charCodeAt(n)===10&&(n++,t+=` -`),m++,L=n,c=14;switch(o){case 123:return n++,c=1;case 125:return n++,c=2;case 91:return n++,c=3;case 93:return n++,c=4;case 58:return n++,c=6;case 44:return n++,c=5;case 34:return n++,t=b(),c=10;case 47:const r=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n=12&&o<=15);return o}return{setPosition:j,getPosition:()=>n,scan:s?h:A,getToken:()=>c,getTokenValue:()=>t,getTokenOffset:()=>l,getTokenLength:()=>n-l,getTokenStartLine:()=>p,getTokenStartCharacter:()=>l-g,getTokenError:()=>T}}function W(e){return e===32||e===9}function F(e){return e===10||e===13}function _(e){return e>=48&&e<=57}var Z;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Z||(Z={}));var x;(function(e){e.DEFAULT={allowTrailingComma:!1}})(x||(x={}));function pe(e,s=[],i=x.DEFAULT){let n=null,t=[];const l=[];function c(p){Array.isArray(t)?t.push(p):n!==null&&(t[n]=p)}return ge(e,{onObjectBegin:()=>{const p={};c(p),l.push(t),t=p,n=null},onObjectProperty:p=>{n=p},onObjectEnd:()=>{t=l.pop()},onArrayBegin:()=>{const p=[];c(p),l.push(t),t=p,n=null},onArrayEnd:()=>{t=l.pop()},onLiteralValue:c,onError:(p,L,g)=>{s.push({error:p,offset:L,length:g})}},i),t[0]}function ge(e,s,i=x.DEFAULT){const n=re(e,!1),t=[];function l(a){return a?()=>a(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function c(a){return a?()=>a(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>t.slice()):()=>!0}function m(a){return a?O=>a(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function p(a){return a?O=>a(O,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>t.slice()):()=>!0}const L=c(s.onObjectBegin),g=p(s.onObjectProperty),T=l(s.onObjectEnd),k=c(s.onArrayBegin),j=l(s.onArrayEnd),w=p(s.onLiteralValue),b=m(s.onSeparator),A=l(s.onComment),N=m(s.onError),h=i&&i.disallowComments,o=i&&i.allowTrailingComma;function r(){for(;;){const a=n.scan();switch(n.getTokenError()){case 4:u(14);break;case 5:u(15);break;case 3:u(13);break;case 1:h||u(11);break;case 2:u(12);break;case 6:u(16);break}switch(a){case 12:case 13:h?u(10):A();break;case 16:u(1);break;case 15:case 14:break;default:return a}}}function u(a,O=[],X=[]){if(N(a),O.length+X.length>0){let y=n.getToken();for(;y!==17;){if(O.indexOf(y)!==-1){r();break}else if(X.indexOf(y)!==-1)break;y=r()}}}function E(a){const O=n.getTokenValue();return a?w(O):(g(O),t.push(O)),r(),!0}function v(){switch(n.getToken()){case 11:const a=n.getTokenValue();let O=Number(a);isNaN(O)&&(u(2),O=0),w(O);break;case 7:w(null);break;case 8:w(!0);break;case 9:w(!1);break;default:return!1}return r(),!0}function oe(){return n.getToken()!==10?(u(3,[],[2,5]),!1):(E(!1),n.getToken()===6?(b(":"),r(),P()||u(4,[],[2,5])):u(5,[],[2,5]),t.pop(),!0)}function le(){L(),r();let a=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(a||u(4,[],[]),b(","),r(),n.getToken()===2&&o)break}else a&&u(6,[],[]);oe()||u(4,[],[2,5]),a=!0}return T(),n.getToken()!==2?u(7,[2],[]):r(),!0}function ce(){k(),r();let a=!0,O=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(O||u(4,[],[]),b(","),r(),n.getToken()===4&&o)break}else O&&u(6,[],[]);a?(t.push(0),a=!1):t[t.length-1]++,P()||u(4,[],[4,5]),O=!0}return j(),a||t.pop(),n.getToken()!==4?u(8,[4],[]):r(),!0}function P(){switch(n.getToken()){case 3:return ce();case 1:return le();case 10:return E(!0);default:return v()}}return r(),n.getToken()===17?i.allowEmptyContent?!0:(u(4,[],[]),!1):P()?(n.getToken()!==17&&u(9,[],[]),!0):(u(4,[],[]),!1)}var d;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(d||(d={}));var q;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(q||(q={}));const ae=pe;var K;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(K||(K={}));const C=e=>ae($.readFileSync(e,"utf8")),{existsSync:B}=$,me=()=>{const{findPnpApi:e}=ue;return e&&e(process.cwd())},J=(e,s,i)=>{let n="tsconfig.json";const t=C(e);if(t)if(!i&&t.exports)try{const[l]=fe(t.exports,s,["require","types"]);n=l}catch{return}else!s&&t.tsconfig&&(n=t.tsconfig);return f.join(e,"..",n)},M="package.json",R="tsconfig.json",ke=(e,s)=>{let i=e;if(e===".."&&(i=f.join(i,R)),e[0]==="."&&(i=f.resolve(s,i)),f.isAbsolute(i)){if(B(i)){if($.statSync(i).isFile())return i}else if(!i.endsWith(".json")){const k=`${i}.json`;if(B(k))return k}return}const[n,...t]=e.split("/"),l=n[0]==="@"?`${n}/${t.shift()}`:n,c=t.join("/"),m=me();if(m){const{resolveRequest:k}=m;try{if(l===e){const j=k(f.join(l,M),s);if(j){const w=J(j,c);if(w&&B(w))return w}}else{let j;try{j=k(e,s,{extensions:[".json"]})}catch{j=k(f.join(e,R),s)}if(j)return j}}catch{}}const p=Y(s,f.join("node_modules",l));if(!p||!$.statSync(p).isDirectory())return;const L=f.join(p,M);if(B(L)){const k=J(L,c);if(!k)return;if(B(k))return k}const g=f.join(p,c),T=g.endsWith(".json");if(!T){const k=`${g}.json`;if(B(k))return k}if(B(g)){if($.statSync(g).isDirectory()){const k=f.join(g,M);if(B(k)){const w=J(k,"",!0);if(w&&B(w))return w}const j=f.join(g,R);if(B(j))return j}else if(T)return g}},be=(e,s)=>{var i;const n=ke(e,s);if(!n)throw new Error(`File '${e}' not found.`);const t=G(n);if(delete t.references,(i=t.compilerOptions)!=null&&i.baseUrl){const{compilerOptions:l}=t;l.baseUrl=f.relative(s,f.join(f.dirname(n),l.baseUrl))||"./"}return t.files&&(t.files=t.files.map(l=>f.relative(s,f.join(f.dirname(n),l)))),t.include&&(t.include=t.include.map(l=>f.relative(s,f.join(f.dirname(n),l)))),t},G=e=>{let s;try{s=$.realpathSync(e)}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}const i=f.dirname(s);let n=C(s)||{};if(typeof n!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);if(n.extends){const t=Array.isArray(n.extends)?n.extends:[n.extends];delete n.extends;for(const l of t.reverse()){const c=be(l,i),m={...c,...n,compilerOptions:{...c.compilerOptions,...n.compilerOptions}};c.watchOptions&&(m.watchOptions={...c.watchOptions,...n.watchOptions}),n=m}}if(n.compilerOptions){const{compilerOptions:t}=n;if(t.baseUrl){const l=f.resolve(i,t.baseUrl),c=V(f.relative(i,l));t.baseUrl=c}t.outDir&&(Array.isArray(n.exclude)||(n.exclude=[]),n.exclude.push(t.outDir),t.outDir=V(t.outDir))}else n.compilerOptions={};if(n.files&&(n.files=n.files.map(V)),n.include&&(n.include=n.include.map(U)),n.watchOptions){const{watchOptions:t}=n;t.excludeDirectories&&(t.excludeDirectories=t.excludeDirectories.map(l=>U(f.resolve(i,l))))}return n},Te=(e=process.cwd(),s="tsconfig.json")=>{const i=Y(U(e),s);if(!i)return null;const n=G(i);return{path:i,config:n}},we=/\*/g,ee=(e,s)=>{const i=e.match(we);if(i&&i.length>1)throw new Error(s)},ve=e=>{if(e.includes("*")){const[s,i]=e.split("*");return{prefix:s,suffix:i}}return e},Oe=({prefix:e,suffix:s},i)=>i.startsWith(e)&&i.endsWith(s),je=(e,s,i)=>Object.entries(e).map(([n,t])=>(ee(n,`Pattern '${n}' can have at most one '*' character.`),{pattern:ve(n),substitutions:t.map(l=>{if(ee(l,`Substitution '${l}' in pattern '${n}' can have at most one '*' character.`),!s&&!S.test(l))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return f.resolve(i,l)})})),Ae=e=>{if(!e.config.compilerOptions)return null;const{baseUrl:s,paths:i}=e.config.compilerOptions;if(!s&&!i)return null;const n=f.resolve(f.dirname(e.path),s||"."),t=i?je(i,s,n):[];return l=>{if(S.test(l))return[];const c=[];for(const g of t){if(g.pattern===l)return g.substitutions.map(U);typeof g.pattern!="string"&&c.push(g)}let m,p=-1;for(const g of c)Oe(g.pattern,l)&&g.pattern.prefix.length>p&&(p=g.pattern.prefix.length,m=g);if(!m)return s?[U(f.join(n,l))]:[];const L=l.slice(m.pattern.prefix.length,l.length-m.pattern.suffix.length);return m.substitutions.map(g=>U(g.replace("*",L)))}},ne=e=>{let s="";for(let i=0;iMath.floor(Math.random()*26),Ue=e=>Array.from({length:e},()=>String.fromCodePoint(Be()+(Math.random()>.5?Ee:Le))).join(""),$e=(e=$)=>{const s=process.execPath;if(e.existsSync(s))return!e.existsSync(ne(s));const i=`/${Ue(10)}`;e.writeFileSync(i,"");const n=!e.existsSync(ne(i));return e.unlinkSync(i),n},{join:D}=f.posix,z={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},Ne=e=>{const s=[...z.ts],i=[...z.cts],n=[...z.mts];return e!=null&&e.allowJs&&(s.push(".js",".jsx"),i.push(".cjs"),n.push(".mjs")),[...s,...i,...n]},he=e=>{const s=[];if(!e)return s;const{outDir:i,declarationDir:n}=e;return i&&s.push(i),n&&s.push(n),s},te=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),_e=["node_modules","bower_components","jspm_packages"],Q=`(?!(${_e.join("|")})(/|$))`,Fe=/(?:^|\/)[^.*?]+$/,ie="**/*",I="[^/]",H="[^./]",se=process.platform==="win32",ye=({config:e,path:s},i=$e())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!f.isAbsolute(s))throw new Error("The tsconfig path must be absolute");se&&(s=U(s));const n=f.dirname(s),{files:t,include:l,exclude:c,compilerOptions:m}=e,p=t==null?void 0:t.map(b=>D(n,b)),L=Ne(m),g=i?"":"i",k=(c||he(m)).map(b=>{const A=D(n,b),N=te(A).replace(/\\\*\\\*\//g,"(.+/)?").replace(/\\\*/g,`${I}*`).replace(/\\\?/g,I);return new RegExp(`^${N}($|/)`,g)}),j=t||l?l:[ie],w=j?j.map(b=>{let A=D(n,b);Fe.test(A)&&(A=D(A,ie));const N=te(A).replace(/\/\\\*\\\*/g,`(/${Q}${H}${I}*)*?`).replace(/(\/)?\\\*/g,(h,o)=>{const r=`(${H}|(\\.(?!min\\.js$))?)*`;return o?`/${Q}${H}${r}`:r}).replace(/(\/)?\\\?/g,(h,o)=>{const r=I;return o?`/${Q}${r}`:r});return new RegExp(`^${N}$`,g)}):void 0;return b=>{if(!f.isAbsolute(b))throw new Error("filePath must be absolute");if(se&&(b=U(b)),p!=null&&p.includes(b))return e;if(!(!L.some(A=>b.endsWith(A))||k.some(A=>A.test(b)))&&w&&w.some(A=>A.test(b)))return e}};export{ye as createFilesMatcher,Ae as createPathsMatcher,Te as getTsconfig,G as parseTsconfig}; +var ae=Object.defineProperty;var u=(e,t)=>ae(e,"name",{value:t,configurable:!0});import p from"path";import W from"fs";import ke from"module";import{resolveExports as be}from"resolve-pkg-maps";function E(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}u(E,"slash");const h=u(e=>{const t=W[e];return(i,...n)=>{const l=`${e}:${n.join(":")}`;let o=i==null?void 0:i.get(l);return o===void 0&&(o=Reflect.apply(t,W,n),i==null||i.set(l,o)),o}},"cacheFs"),L=h("existsSync"),we=h("readFileSync"),P=h("statSync"),K=u((e,t,i)=>{for(;;){const n=p.posix.join(e,t);if(L(i,n))return n;const l=p.dirname(e);if(l===e)return;e=l}},"findUp"),J=/^\.{1,2}(\/.*)?$/,M=u(e=>{const t=E(e);return J.test(t)?t:`./${t}`},"normalizePath");function Te(e,t=!1){const i=e.length;let n=0,l="",o=0,s=16,c=0,f=0,w=0,A=0,k=0;function O(r,g){let m=0,_=0;for(;m=48&&j<=57)_=_*16+j-48;else if(j>=65&&j<=70)_=_*16+j-65+10;else if(j>=97&&j<=102)_=_*16+j-97+10;else break;n++,m++}return m=i){r+=e.substring(g,n),k=2;break}const m=e.charCodeAt(n);if(m===34){r+=e.substring(g,n),n++;break}if(m===92){if(r+=e.substring(g,n),n++,n>=i){k=2;break}switch(e.charCodeAt(n++)){case 34:r+='"';break;case 92:r+="\\";break;case 47:r+="/";break;case 98:r+="\b";break;case 102:r+="\f";break;case 110:r+=` +`;break;case 114:r+="\r";break;case 116:r+=" ";break;case 117:const j=O(4,!0);j>=0?r+=String.fromCharCode(j):k=4;break;default:k=5}g=n;continue}if(m>=0&&m<=31)if(x(m)){r+=e.substring(g,n),k=2;break}else k=6;n++}return r}u(b,"scanString");function B(){if(l="",k=0,o=n,f=c,A=w,n>=i)return o=i,s=17;let r=e.charCodeAt(n);if(R(r)){do n++,l+=String.fromCharCode(r),r=e.charCodeAt(n);while(R(r));return s=15}if(x(r))return n++,l+=String.fromCharCode(r),r===13&&e.charCodeAt(n)===10&&(n++,l+=` +`),c++,w=n,s=14;switch(r){case 123:return n++,s=1;case 125:return n++,s=2;case 91:return n++,s=3;case 93:return n++,s=4;case 58:return n++,s=6;case 44:return n++,s=5;case 34:return n++,l=b(),s=10;case 47:const g=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n=12&&r<=15);return r}return u(y,"scanNextNonTrivia"),{setPosition:T,getPosition:()=>n,scan:t?y:B,getToken:()=>s,getTokenValue:()=>l,getTokenOffset:()=>o,getTokenLength:()=>n-o,getTokenStartLine:()=>f,getTokenStartCharacter:()=>o-A,getTokenError:()=>k}}u(Te,"createScanner");function R(e){return e===32||e===9}u(R,"isWhiteSpace");function x(e){return e===10||e===13}u(x,"isLineBreak");function F(e){return e>=48&&e<=57}u(F,"isDigit");var C;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(C||(C={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));const N=200;new Array(N).fill(0).map((e,t)=>` +`+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`\r +`+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>` +`+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(N).fill(0).map((e,t)=>`\r +`+" ".repeat(t));var D;(function(e){e.DEFAULT={allowTrailingComma:!1}})(D||(D={}));function ve(e,t=[],i=D.DEFAULT){let n=null,l=[];const o=[];function s(f){Array.isArray(l)?l.push(f):n!==null&&(l[n]=f)}return u(s,"onValue"),Ae(e,{onObjectBegin:()=>{const f={};s(f),o.push(l),l=f,n=null},onObjectProperty:f=>{n=f},onObjectEnd:()=>{l=o.pop()},onArrayBegin:()=>{const f=[];s(f),o.push(l),l=f,n=null},onArrayEnd:()=>{l=o.pop()},onLiteralValue:s,onError:(f,w,A)=>{t.push({error:f,offset:w,length:A})}},i),l[0]}u(ve,"parse$1");function Ae(e,t,i=D.DEFAULT){const n=Te(e,!1),l=[];function o(a){return a?()=>a(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}u(o,"toNoArgVisit");function s(a){return a?()=>a(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>l.slice()):()=>!0}u(s,"toNoArgVisitWithPath");function c(a){return a?$=>a($,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}u(c,"toOneArgVisit");function f(a){return a?$=>a($,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>l.slice()):()=>!0}u(f,"toOneArgVisitWithPath");const w=s(t.onObjectBegin),A=f(t.onObjectProperty),k=o(t.onObjectEnd),O=s(t.onArrayBegin),T=o(t.onArrayEnd),v=f(t.onLiteralValue),b=c(t.onSeparator),B=o(t.onComment),U=c(t.onError),y=i&&i.disallowComments,r=i&&i.allowTrailingComma;function g(){for(;;){const a=n.scan();switch(n.getTokenError()){case 4:m(14);break;case 5:m(15);break;case 3:m(13);break;case 1:y||m(11);break;case 2:m(12);break;case 6:m(16);break}switch(a){case 12:case 13:y?m(10):B();break;case 16:m(1);break;case 15:case 14:break;default:return a}}}u(g,"scanNext");function m(a,$=[],q=[]){if(U(a),$.length+q.length>0){let I=n.getToken();for(;I!==17;){if($.indexOf(I)!==-1){g();break}else if(q.indexOf(I)!==-1)break;I=g()}}}u(m,"handleError");function _(a){const $=n.getTokenValue();return a?v($):(A($),l.push($)),g(),!0}u(_,"parseString");function j(){switch(n.getToken()){case 11:const a=n.getTokenValue();let $=Number(a);isNaN($)&&(m(2),$=0),v($);break;case 7:v(null);break;case 8:v(!0);break;case 9:v(!1);break;default:return!1}return g(),!0}u(j,"parseLiteral");function pe(){return n.getToken()!==10?(m(3,[],[2,5]),!1):(_(!1),n.getToken()===6?(b(":"),g(),d()||m(4,[],[2,5])):m(5,[],[2,5]),l.pop(),!0)}u(pe,"parseProperty");function me(){w(),g();let a=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(a||m(4,[],[]),b(","),g(),n.getToken()===2&&r)break}else a&&m(6,[],[]);pe()||m(4,[],[2,5]),a=!0}return k(),n.getToken()!==2?m(7,[2],[]):g(),!0}u(me,"parseObject");function ge(){O(),g();let a=!0,$=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if($||m(4,[],[]),b(","),g(),n.getToken()===4&&r)break}else $&&m(6,[],[]);a?(l.push(0),a=!1):l[l.length-1]++,d()||m(4,[],[4,5]),$=!0}return T(),a||l.pop(),n.getToken()!==4?m(8,[4],[]):g(),!0}u(ge,"parseArray");function d(){switch(n.getToken()){case 3:return ge();case 1:return me();case 10:return _(!0);default:return j()}}return u(d,"parseValue"),g(),n.getToken()===17?i.allowEmptyContent?!0:(m(4,[],[]),!1):d()?(n.getToken()!==17&&m(9,[],[]),!0):(m(4,[],[]),!1)}u(Ae,"visit");var ee;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ee||(ee={}));var ne;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(ne||(ne={}));const Oe=ve;var te;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(te||(te={}));const ie=u((e,t)=>Oe(we(t,e,"utf8")),"readJsonc"),G=Symbol("implicitBaseUrl"),je=u(()=>{const{findPnpApi:e}=ke;return e&&e(process.cwd())},"getPnpApi"),z=u((e,t,i,n)=>{const l=`resolveFromPackageJsonPath:${e}:${t}:${i}`;if(n!=null&&n.has(l))return n.get(l);const o=ie(e,n);if(!o)return;let s=t||"tsconfig.json";if(!i&&o.exports)try{const[c]=be(o.exports,t,["require","types"]);s=c}catch{return!1}else!t&&o.tsconfig&&(s=o.tsconfig);return s=p.join(e,"..",s),n==null||n.set(l,s),s},"resolveFromPackageJsonPath"),Q="package.json",H="tsconfig.json",$e=u((e,t,i)=>{let n=e;if(e===".."&&(n=p.join(n,H)),e[0]==="."&&(n=p.resolve(t,n)),p.isAbsolute(n)){if(L(i,n)){if(P(i,n).isFile())return n}else if(!n.endsWith(".json")){const T=`${n}.json`;if(L(i,T))return T}return}const[l,...o]=e.split("/"),s=l[0]==="@"?`${l}/${o.shift()}`:l,c=o.join("/"),f=je();if(f){const{resolveRequest:T}=f;try{if(s===e){const v=T(p.join(s,Q),t);if(v){const b=z(v,c,!1,i);if(b&&L(i,b))return b}}else{let v;try{v=T(e,t,{extensions:[".json"]})}catch{v=T(p.join(e,H),t)}if(v)return v}}catch{}}const w=K(p.resolve(t),p.join("node_modules",s),i);if(!w||!P(i,w).isDirectory())return;const A=p.join(w,Q);if(L(i,A)){const T=z(A,c,!1,i);if(T===!1)return;if(T&&L(i,T)&&P(i,T).isFile())return T}const k=p.join(w,c),O=k.endsWith(".json");if(!O){const T=`${k}.json`;if(L(i,T))return T}if(L(i,k)){if(P(i,k).isDirectory()){const T=p.join(k,Q);if(L(i,T)){const b=z(T,"",!0,i);if(b&&L(i,b))return b}const v=p.join(k,H);if(L(i,v))return v}else if(O)return k}},"resolveExtendsPath"),Be=u((e,t,i,n)=>{const l=$e(e,t,n);if(!l)throw new Error(`File '${e}' not found.`);if(i.has(l))throw new Error(`Circularity detected while resolving configuration: ${l}`);i.add(l);const o=p.dirname(l),s=le(l,n,i);delete s.references;const{compilerOptions:c}=s;if(c){const f=["baseUrl","outDir"];for(const w of f){const A=c[w];A&&(c[w]=E(p.relative(t,p.join(o,A)))||"./")}}return s.files&&(s.files=s.files.map(f=>E(p.relative(t,p.join(o,f))))),s.include&&(s.include=s.include.map(f=>E(p.relative(t,p.join(o,f))))),s.exclude&&(s.exclude=s.exclude.map(f=>E(p.relative(t,p.join(o,f))))),s},"resolveExtends"),le=u((e,t,i=new Set)=>{let n;try{n=ie(e,t)||{}}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}if(typeof n!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);const l=p.dirname(e);if(n.compilerOptions){const{compilerOptions:o}=n;o.paths&&!o.baseUrl&&(o[G]=l)}if(n.extends){const o=Array.isArray(n.extends)?n.extends:[n.extends];delete n.extends;for(const s of o.reverse()){const c=Be(s,l,new Set(i),t),f={...c,...n,compilerOptions:{...c.compilerOptions,...n.compilerOptions}};c.watchOptions&&(f.watchOptions={...c.watchOptions,...n.watchOptions}),n=f}}if(n.compilerOptions){const{compilerOptions:o}=n,s=["baseUrl","rootDir"];for(const f of s){const w=o[f];if(w){const A=p.resolve(l,w),k=M(p.relative(l,A));o[f]=k}}const{outDir:c}=o;c&&(Array.isArray(n.exclude)||(n.exclude=[]),n.exclude.includes(c)||n.exclude.push(c),o.outDir=M(c))}else n.compilerOptions={};if(n.files&&(n.files=n.files.map(M)),n.include&&(n.include=n.include.map(E)),n.watchOptions){const{watchOptions:o}=n;o.excludeDirectories&&(o.excludeDirectories=o.excludeDirectories.map(s=>E(p.resolve(l,s))))}return n},"_parseTsconfig"),se=u((e,t=new Map)=>le(p.resolve(e),t),"parseTsconfig"),_e=u((e=process.cwd(),t="tsconfig.json",i=new Map)=>{const n=K(E(e),t,i);if(!n)return null;const l=se(n,i);return{path:n,config:l}},"getTsconfig"),Ee=/\*/g,oe=u((e,t)=>{const i=e.match(Ee);if(i&&i.length>1)throw new Error(t)},"assertStarCount"),Le=u(e=>{if(e.includes("*")){const[t,i]=e.split("*");return{prefix:t,suffix:i}}return e},"parsePattern"),Ue=u(({prefix:e,suffix:t},i)=>i.startsWith(e)&&i.endsWith(t),"isPatternMatch"),ye=u((e,t,i)=>Object.entries(e).map(([n,l])=>(oe(n,`Pattern '${n}' can have at most one '*' character.`),{pattern:Le(n),substitutions:l.map(o=>{if(oe(o,`Substitution '${o}' in pattern '${n}' can have at most one '*' character.`),!t&&!J.test(o))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return p.resolve(i,o)})})),"parsePaths"),Fe=u(e=>{const{compilerOptions:t}=e.config;if(!t)return null;const{baseUrl:i,paths:n}=t;if(!i&&!n)return null;const l=G in t&&t[G],o=p.resolve(p.dirname(e.path),i||l||"."),s=n?ye(n,i,o):[];return c=>{if(J.test(c))return[];const f=[];for(const O of s){if(O.pattern===c)return O.substitutions.map(E);typeof O.pattern!="string"&&f.push(O)}let w,A=-1;for(const O of f)Ue(O.pattern,c)&&O.pattern.prefix.length>A&&(A=O.pattern.prefix.length,w=O);if(!w)return i?[E(p.join(o,c))]:[];const k=c.slice(w.pattern.prefix.length,c.length-w.pattern.suffix.length);return w.substitutions.map(O=>E(O.replace("*",k)))}},"createPathsMatcher"),re=u(e=>{let t="";for(let i=0;iMath.floor(Math.random()*26),"m"),Pe=u(e=>Array.from({length:e},()=>String.fromCodePoint(Ie()+(Math.random()>.5?Ne:xe))).join(""),"S"),De=u((e=W)=>{const t=process.execPath;if(e.existsSync(t))return!e.existsSync(re(t));const i=`/${Pe(10)}`;e.writeFileSync(i,"");const n=!e.existsSync(re(i));return e.unlinkSync(i),n},"l"),{join:V}=p.posix,X={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},Ve=u(e=>{const t=[...X.ts],i=[...X.cts],n=[...X.mts];return e!=null&&e.allowJs&&(t.push(".js",".jsx"),i.push(".cjs"),n.push(".mjs")),[...t,...i,...n]},"getSupportedExtensions"),Se=u(e=>{const t=[];if(!e)return t;const{outDir:i,declarationDir:n}=e;return i&&t.push(i),n&&t.push(n),t},"getDefaultExcludeSpec"),ue=u(e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,"\\$&"),"escapeForRegexp"),de=["node_modules","bower_components","jspm_packages"],Y=`(?!(${de.join("|")})(/|$))`,We=/(?:^|\/)[^.*?]+$/,fe="**/*",S="[^/]",Z="[^./]",ce=process.platform==="win32",he=u(({config:e,path:t},i=De())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!p.isAbsolute(t))throw new Error("The tsconfig path must be absolute");ce&&(t=E(t));const n=p.dirname(t),{files:l,include:o,exclude:s,compilerOptions:c}=e,f=l==null?void 0:l.map(b=>V(n,b)),w=Ve(c),A=i?"":"i",O=(s||Se(c)).map(b=>{const B=V(n,b),U=ue(B).replaceAll("\\*\\*/","(.+/)?").replaceAll("\\*",`${S}*`).replaceAll("\\?",S);return new RegExp(`^${U}($|/)`,A)}),T=l||o?o:[fe],v=T?T.map(b=>{let B=V(n,b);We.test(B)&&(B=V(B,fe));const U=ue(B).replaceAll("/\\*\\*",`(/${Y}${Z}${S}*)*?`).replaceAll(/(\/)?\\\*/g,(y,r)=>{const g=`(${Z}|(\\.(?!min\\.js$))?)*`;return r?`/${Y}${Z}${g}`:g}).replaceAll(/(\/)?\\\?/g,(y,r)=>{const g=S;return r?`/${Y}${g}`:g});return new RegExp(`^${U}$`,A)}):void 0;return b=>{if(!p.isAbsolute(b))throw new Error("filePath must be absolute");if(ce&&(b=E(b)),f!=null&&f.includes(b))return e;if(!(!w.some(B=>b.endsWith(B))||O.some(B=>B.test(b)))&&v&&v.some(B=>B.test(b)))return e}},"createFilesMatcher");export{he as createFilesMatcher,Fe as createPathsMatcher,_e as getTsconfig,se as parseTsconfig}; diff --git a/node_modules/get-tsconfig/package.json b/node_modules/get-tsconfig/package.json index d7169447cc..0bc76ec870 100644 --- a/node_modules/get-tsconfig/package.json +++ b/node_modules/get-tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "get-tsconfig", - "version": "4.6.2", + "version": "4.7.6", "description": "Find and parse the tsconfig.json file from a directory path", "keywords": [ "get-tsconfig", @@ -16,10 +16,10 @@ "name": "Hiroki Osame", "email": "hiroki.osame@gmail.com" }, - "type": "module", "files": [ "dist" ], + "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", diff --git a/node_modules/is-bun-module/LICENSE b/node_modules/is-bun-module/LICENSE new file mode 100644 index 0000000000..a100f98579 --- /dev/null +++ b/node_modules/is-bun-module/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2024 SunsetTechuila + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/is-bun-module/README.md b/node_modules/is-bun-module/README.md new file mode 100644 index 0000000000..d02822883d --- /dev/null +++ b/node_modules/is-bun-module/README.md @@ -0,0 +1,28 @@ +# is-bun-module + +## How to use + +To check if a specifier is a [Bun module](https://bun.sh/docs/runtime/bun-apis): + +```typescript +import { isBunModule } from "is-bun-module"; +isBunModule("bun"); // true +isBunModule("bun:test", "1.0.0"); // true +isBunModule("notBunModule"); // false +``` + +To check if a specifier is a Node module [supported by Bun](https://bun.sh/docs/runtime/nodejs-apis): + +```typescript +import { isSupportedNodeModule } from "is-bun-module"; +isSupportedNodeModule("fs"); // true +isSupportedNodeModule("node:fs"); // true +isSupportedNodeModule("node:notNodeModule"); // false +isSupportedNodeModule("node:http2", "1.0.0"); // false, added in 1.0.13 +``` + +## Notes + +- **Only Bun v1.0.0+ is supported** +- You can also pass `latest` as Bun version +- Inspired by [is-core-module](https://github.com/inspect-js/is-core-module) and made for [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) diff --git a/node_modules/is-bun-module/dist/cjs/index.d.ts b/node_modules/is-bun-module/dist/cjs/index.d.ts new file mode 100644 index 0000000000..33ef238e63 --- /dev/null +++ b/node_modules/is-bun-module/dist/cjs/index.d.ts @@ -0,0 +1,7 @@ +type SemVerStringified = `${number}.${number}.${number}`; +type Version = SemVerStringified | "latest"; +declare const MINIMUM_BUN_VERSION = "1.0.0"; +declare function isBunModule(moduleName: string, bunVersion?: Version): boolean; +declare function isSupportedNodeModule(moduleName: string, bunVersion?: Version): boolean; + +export { MINIMUM_BUN_VERSION, type Version, isBunModule, isSupportedNodeModule }; diff --git a/node_modules/is-bun-module/dist/cjs/index.js b/node_modules/is-bun-module/dist/cjs/index.js new file mode 100644 index 0000000000..5702b23de0 --- /dev/null +++ b/node_modules/is-bun-module/dist/cjs/index.js @@ -0,0 +1,120 @@ +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, + mod +)); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + MINIMUM_BUN_VERSION: () => MINIMUM_BUN_VERSION, + isBunModule: () => isBunModule, + isSupportedNodeModule: () => isSupportedNodeModule +}); +module.exports = __toCommonJS(src_exports); +var import_semver = __toESM(require("semver")); + +// src/assets/bun-modules.json +var bun_modules_default = { + bun: true, + "bun:ffi": true, + "bun:jsc": true, + "bun:sqlite": true, + "bun:test": true +}; + +// src/assets/node-modules.json +var node_modules_default = { + assert: true, + async_hooks: true, + buffer: true, + child_process: true, + cluster: ">= 1.1.25", + console: true, + crypto: true, + dgram: ">= 1.1.6", + dns: true, + domain: true, + events: true, + fs: true, + http: true, + http2: ">= 1.0.13", + https: true, + module: true, + net: true, + os: true, + path: true, + perf_hooks: true, + process: true, + punycode: true, + querystring: true, + readline: true, + stream: true, + string_decoder: true, + sys: true, + timers: true, + tls: true, + tty: true, + url: true, + util: true, + vm: true, + wasi: true, + worker_threads: true, + zlib: true +}; + +// src/index.ts +var MINIMUM_BUN_VERSION = "1.0.0"; +function isBunModule(moduleName, bunVersion) { + return checkModule(moduleName, bun_modules_default, bunVersion); +} +function isSupportedNodeModule(moduleName, bunVersion) { + return checkModule(moduleName.replace(/^node:/, ""), node_modules_default, bunVersion); +} +function checkModule(moduleName, modules, bunVersion) { + if (typeof moduleName !== "string") throw new TypeError("Module name must be a string"); + if (!(moduleName in modules)) return false; + if (bunVersion != null && !isVersion(bunVersion)) { + throw new TypeError("Bun version must be a string like 1.0.0 or 'latest' or undefined"); + } + const targetBunVersion = bunVersion ? bunVersion === "latest" ? "999.999.999" : bunVersion : typeof process !== "undefined" && process.versions.bun; + if (!targetBunVersion) throw "Bun version is not provided and cannot be detected"; + if (import_semver.default.lt(targetBunVersion, MINIMUM_BUN_VERSION)) { + throw `Bun version must be at least ${MINIMUM_BUN_VERSION}`; + } + const versionRange = modules[moduleName]; + if (typeof versionRange === "boolean") return versionRange; + return import_semver.default.satisfies(targetBunVersion, versionRange); +} +function isVersion(input) { + return typeof input === "string" && (input === "latest" || Boolean(input.match(/^(?:\d+\.){2}\d+$/))); +} +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + MINIMUM_BUN_VERSION, + isBunModule, + isSupportedNodeModule +}); diff --git a/node_modules/is-bun-module/dist/esm/index.d.mts b/node_modules/is-bun-module/dist/esm/index.d.mts new file mode 100644 index 0000000000..33ef238e63 --- /dev/null +++ b/node_modules/is-bun-module/dist/esm/index.d.mts @@ -0,0 +1,7 @@ +type SemVerStringified = `${number}.${number}.${number}`; +type Version = SemVerStringified | "latest"; +declare const MINIMUM_BUN_VERSION = "1.0.0"; +declare function isBunModule(moduleName: string, bunVersion?: Version): boolean; +declare function isSupportedNodeModule(moduleName: string, bunVersion?: Version): boolean; + +export { MINIMUM_BUN_VERSION, type Version, isBunModule, isSupportedNodeModule }; diff --git a/node_modules/is-bun-module/dist/esm/index.mjs b/node_modules/is-bun-module/dist/esm/index.mjs new file mode 100644 index 0000000000..18ef7284a8 --- /dev/null +++ b/node_modules/is-bun-module/dist/esm/index.mjs @@ -0,0 +1,83 @@ +// src/index.ts +import semver from "semver"; + +// src/assets/bun-modules.json +var bun_modules_default = { + bun: true, + "bun:ffi": true, + "bun:jsc": true, + "bun:sqlite": true, + "bun:test": true +}; + +// src/assets/node-modules.json +var node_modules_default = { + assert: true, + async_hooks: true, + buffer: true, + child_process: true, + cluster: ">= 1.1.25", + console: true, + crypto: true, + dgram: ">= 1.1.6", + dns: true, + domain: true, + events: true, + fs: true, + http: true, + http2: ">= 1.0.13", + https: true, + module: true, + net: true, + os: true, + path: true, + perf_hooks: true, + process: true, + punycode: true, + querystring: true, + readline: true, + stream: true, + string_decoder: true, + sys: true, + timers: true, + tls: true, + tty: true, + url: true, + util: true, + vm: true, + wasi: true, + worker_threads: true, + zlib: true +}; + +// src/index.ts +var MINIMUM_BUN_VERSION = "1.0.0"; +function isBunModule(moduleName, bunVersion) { + return checkModule(moduleName, bun_modules_default, bunVersion); +} +function isSupportedNodeModule(moduleName, bunVersion) { + return checkModule(moduleName.replace(/^node:/, ""), node_modules_default, bunVersion); +} +function checkModule(moduleName, modules, bunVersion) { + if (typeof moduleName !== "string") throw new TypeError("Module name must be a string"); + if (!(moduleName in modules)) return false; + if (bunVersion != null && !isVersion(bunVersion)) { + throw new TypeError("Bun version must be a string like 1.0.0 or 'latest' or undefined"); + } + const targetBunVersion = bunVersion ? bunVersion === "latest" ? "999.999.999" : bunVersion : typeof process !== "undefined" && process.versions.bun; + if (!targetBunVersion) throw "Bun version is not provided and cannot be detected"; + if (semver.lt(targetBunVersion, MINIMUM_BUN_VERSION)) { + throw `Bun version must be at least ${MINIMUM_BUN_VERSION}`; + } + const versionRange = modules[moduleName]; + if (typeof versionRange === "boolean") return versionRange; + return semver.satisfies(targetBunVersion, versionRange); +} +function isVersion(input) { + return typeof input === "string" && (input === "latest" || Boolean(input.match(/^(?:\d+\.){2}\d+$/))); +} +export { + MINIMUM_BUN_VERSION, + isBunModule, + isSupportedNodeModule +}; diff --git a/node_modules/is-bun-module/package.json b/node_modules/is-bun-module/package.json new file mode 100644 index 0000000000..e1e839a358 --- /dev/null +++ b/node_modules/is-bun-module/package.json @@ -0,0 +1,41 @@ +{ + "name": "is-bun-module", + "author": "SunsetTechuila ", + "description": "Is this specifier a Bun core module or supported Node one?", + "version": "1.1.0", + "license": "MIT", + "files": [ + "dist/**/*" + ], + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.mjs", + "exports": { + ".": { + "import": { + "default": "./dist/esm/index.mjs", + "types": "./dist/esm/index.d.mts" + }, + "require": { + "default": "./dist/cjs/index.js", + "types": "./dist/cjs/index.d.ts" + } + }, + "./package.json": "./package.json" + }, + "homepage": "https://github.com/SunsetTechuila/is-bun-module", + "repository": "github:SunsetTechuila/is-bun-module", + "bugs": { + "url": "https://github.com/SunsetTechuila/is-bun-module/issues" + }, + "keywords": [ + "core", + "modules", + "module", + "node", + "dependencies", + "bun" + ], + "dependencies": { + "semver": "^7.6.3" + } +} diff --git a/node_modules/nock/lib/common.js b/node_modules/nock/lib/common.js index 336bc4d376..a6f7f766d0 100644 --- a/node_modules/nock/lib/common.js +++ b/node_modules/nock/lib/common.js @@ -593,31 +593,35 @@ function deepEqual(expected, actual) { return expected === actual } -const timeouts = [] -const intervals = [] -const immediates = [] +const timeouts = new Set() +const immediates = new Set() const wrapTimer = (timer, ids) => - (...args) => { - const id = timer(...args) - ids.push(id) + (callback, ...timerArgs) => { + const cb = (...callbackArgs) => { + try { + // eslint-disable-next-line n/no-callback-literal + callback(...callbackArgs) + } finally { + ids.delete(id) + } + } + const id = timer(cb, ...timerArgs) + ids.add(id) return id } const setTimeout = wrapTimer(timers.setTimeout, timeouts) -const setInterval = wrapTimer(timers.setInterval, intervals) const setImmediate = wrapTimer(timers.setImmediate, immediates) function clearTimer(clear, ids) { - while (ids.length) { - clear(ids.shift()) - } + ids.forEach(clear) + ids.clear() } function removeAllTimers() { clearTimer(clearTimeout, timeouts) - clearTimer(clearInterval, intervals) clearTimer(clearImmediate, immediates) } @@ -762,7 +766,6 @@ module.exports = { removeAllTimers, restoreOverriddenRequests, setImmediate, - setInterval, setTimeout, stringifyRequest, } diff --git a/node_modules/nock/package.json b/node_modules/nock/package.json index e91626e968..cda89c6200 100644 --- a/node_modules/nock/package.json +++ b/node_modules/nock/package.json @@ -7,7 +7,7 @@ "testing", "isolation" ], - "version": "13.5.4", + "version": "13.5.5", "author": "Pedro Teixeira ", "repository": { "type": "git", @@ -45,10 +45,10 @@ "mocha": "^9.1.3", "npm-run-all": "^4.1.5", "nyc": "^15.0.0", - "prettier": "3.2.4", + "prettier": "3.2.5", "proxyquire": "^2.1.0", "rimraf": "^3.0.0", - "semantic-release": "^22.0.5", + "semantic-release": "^23.0.2", "sinon": "^15.0.1", "sinon-chai": "^3.7.0", "typescript": "^5.0.4"