Merge pull request #2690 from github/dependabot/npm_and_yarn/npm-006da05bd8
build(deps): bump the npm group with 8 updates
This commit is contained in:
commit
93da9f25ab
220 changed files with 41764 additions and 3381 deletions
6
lib/init-action-post-helper.test.js
generated
6
lib/init-action-post-helper.test.js
generated
|
|
@ -343,12 +343,12 @@ async function testFailedSarifUpload(t, actionsWorkflow, { category, databaseExi
|
|||
zipped_upload_size_bytes: 10,
|
||||
});
|
||||
if (databaseExists && exportDiagnosticsEnabled) {
|
||||
t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category), `Actual args were: ${databaseExportDiagnosticsStub.args}`);
|
||||
t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category), `Actual args were: ${JSON.stringify(databaseExportDiagnosticsStub.args)}`);
|
||||
}
|
||||
else {
|
||||
t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${diagnosticsExportStub.args}`);
|
||||
t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${JSON.stringify(diagnosticsExportStub.args)}`);
|
||||
}
|
||||
t.true(uploadFiles.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${uploadFiles.args}`);
|
||||
t.true(uploadFiles.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${JSON.stringify(uploadFiles.args)}`);
|
||||
t.true(waitForProcessing.calledOnceWith(sinon.match.any, "42", sinon.match.any, {
|
||||
isUnsuccessfulExecution: true,
|
||||
}));
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
254
node_modules/.package-lock.json
generated
vendored
254
node_modules/.package-lock.json
generated
vendored
|
|
@ -651,9 +651,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@eslint/js": {
|
||||
"version": "9.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.17.0.tgz",
|
||||
"integrity": "sha512-Sxc4hqcs1kTu0iID3kcZDW3JHq2a77HO9P8CP6YEA/FpH3Ll8UXE2r/86Rz9YJLKme39S9vU5OWNjC6Xl0Cr3w==",
|
||||
"version": "9.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.18.0.tgz",
|
||||
"integrity": "sha512-fK6L7rxcq6/z+AaQMtiFTkvbHkBLNlwyRxHpKawP0x3u9+NC6MQTnFW+AdpwC6gfHTW0051cokQgtTN2FqlxQA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -1060,16 +1060,18 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@octokit/types": {
|
||||
"version": "13.6.2",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.6.2.tgz",
|
||||
"integrity": "sha512-WpbZfZUcZU77DrSW4wbsSgTPfKcp286q3ItaIgvSbBpZJlu6mnYXAkjZz6LVZPXkEvLIM8McanyZejKTYUHipA==",
|
||||
"version": "13.7.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz",
|
||||
"integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^22.2.0"
|
||||
"@octokit/openapi-types": "^23.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/types/node_modules/@octokit/openapi-types": {
|
||||
"version": "22.2.0",
|
||||
"version": "23.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-23.0.1.tgz",
|
||||
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@pkgjs/parseargs": {
|
||||
|
|
@ -1303,21 +1305,21 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.0.tgz",
|
||||
"integrity": "sha512-NggSaEZCdSrFddbctrVjkVZvFC6KGfKfNK0CU7mNK/iKHGKbzT4Wmgm08dKpcZECBu9f5FypndoMyRHkdqfT1Q==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.20.0.tgz",
|
||||
"integrity": "sha512-naduuphVw5StFfqp4Gq4WhIBE2gN1GEmMUExpJYknZJdRnc+2gDzB8Z3+5+/Kv33hPQRDGzQO/0opHE72lZZ6A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint-community/regexpp": "^4.10.0",
|
||||
"@typescript-eslint/scope-manager": "8.19.0",
|
||||
"@typescript-eslint/type-utils": "8.19.0",
|
||||
"@typescript-eslint/utils": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/scope-manager": "8.20.0",
|
||||
"@typescript-eslint/type-utils": "8.20.0",
|
||||
"@typescript-eslint/utils": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"graphemer": "^1.4.0",
|
||||
"ignore": "^5.3.1",
|
||||
"natural-compare": "^1.4.0",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1333,14 +1335,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz",
|
||||
"integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz",
|
||||
"integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0"
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1351,9 +1353,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz",
|
||||
"integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz",
|
||||
"integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -1365,20 +1367,20 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz",
|
||||
"integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz",
|
||||
"integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"debug": "^4.3.4",
|
||||
"fast-glob": "^3.3.2",
|
||||
"is-glob": "^4.0.3",
|
||||
"minimatch": "^9.0.4",
|
||||
"semver": "^7.6.0",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1392,16 +1394,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz",
|
||||
"integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz",
|
||||
"integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.4.0",
|
||||
"@typescript-eslint/scope-manager": "8.19.0",
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.19.0"
|
||||
"@typescript-eslint/scope-manager": "8.20.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1416,13 +1418,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz",
|
||||
"integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz",
|
||||
"integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"eslint-visitor-keys": "^4.2.0"
|
||||
},
|
||||
"engines": {
|
||||
|
|
@ -1472,17 +1474,30 @@
|
|||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18.12"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": ">=4.8.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.0.tgz",
|
||||
"integrity": "sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.20.0.tgz",
|
||||
"integrity": "sha512-gKXG7A5HMyjDIedBi6bUrDcun8GIjnI8qOwVLiY3rx6T/sHP/19XLJOnIq/FgQvWLHja5JN/LSE7eklNBr612g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/scope-manager": "8.19.0",
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/scope-manager": "8.20.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"debug": "^4.3.4"
|
||||
},
|
||||
"engines": {
|
||||
|
|
@ -1498,14 +1513,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz",
|
||||
"integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz",
|
||||
"integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0"
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1516,9 +1531,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz",
|
||||
"integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz",
|
||||
"integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -1530,20 +1545,20 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz",
|
||||
"integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz",
|
||||
"integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"debug": "^4.3.4",
|
||||
"fast-glob": "^3.3.2",
|
||||
"is-glob": "^4.0.3",
|
||||
"minimatch": "^9.0.4",
|
||||
"semver": "^7.6.0",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1557,13 +1572,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz",
|
||||
"integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz",
|
||||
"integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"eslint-visitor-keys": "^4.2.0"
|
||||
},
|
||||
"engines": {
|
||||
|
|
@ -1613,6 +1628,19 @@
|
|||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser/node_modules/ts-api-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18.12"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": ">=4.8.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/scope-manager": {
|
||||
"version": "8.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz",
|
||||
|
|
@ -1632,16 +1660,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.0.tgz",
|
||||
"integrity": "sha512-TZs0I0OSbd5Aza4qAMpp1cdCYVnER94IziudE3JU328YUHgWu9gwiwhag+fuLeJ2LkWLXI+F/182TbG+JaBdTg==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.20.0.tgz",
|
||||
"integrity": "sha512-bPC+j71GGvA7rVNAHAtOjbVXbLN5PkwqMvy1cwGeaxUoRQXVuKCebRoLzm+IPW/NtFFpstn1ummSIasD5t60GA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/typescript-estree": "8.19.0",
|
||||
"@typescript-eslint/utils": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0",
|
||||
"@typescript-eslint/utils": "8.20.0",
|
||||
"debug": "^4.3.4",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1656,14 +1684,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.0.tgz",
|
||||
"integrity": "sha512-hkoJiKQS3GQ13TSMEiuNmSCvhz7ujyqD1x3ShbaETATHrck+9RaDdUbt+osXaUuns9OFwrDTTrjtwsU8gJyyRA==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.20.0.tgz",
|
||||
"integrity": "sha512-J7+VkpeGzhOt3FeG1+SzhiMj9NzGD/M6KoGn9f4dbz3YzK9hvbhVTmLj/HiTp9DazIzJ8B4XcM80LrR9Dm1rJw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0"
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1674,9 +1702,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.0.tgz",
|
||||
"integrity": "sha512-8XQ4Ss7G9WX8oaYvD4OOLCjIQYgRQxO+qCiR2V2s2GxI9AUpo7riNwo6jDhKtTcaJjT8PY54j2Yb33kWtSJsmA==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.20.0.tgz",
|
||||
"integrity": "sha512-cqaMiY72CkP+2xZRrFt3ExRBu0WmVitN/rYPZErA80mHjHx/Svgp8yfbzkJmDoQ/whcytOPO9/IZXnOc+wigRA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -1688,20 +1716,20 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.0.tgz",
|
||||
"integrity": "sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.20.0.tgz",
|
||||
"integrity": "sha512-Y7ncuy78bJqHI35NwzWol8E0X7XkRVS4K4P4TCyzWkOJih5NDvtoRDW4Ba9YJJoB2igm9yXDdYI/+fkiiAxPzA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"debug": "^4.3.4",
|
||||
"fast-glob": "^3.3.2",
|
||||
"is-glob": "^4.0.3",
|
||||
"minimatch": "^9.0.4",
|
||||
"semver": "^7.6.0",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1715,16 +1743,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.0.tgz",
|
||||
"integrity": "sha512-PTBG+0oEMPH9jCZlfg07LCB2nYI0I317yyvXGfxnvGvw4SHIOuRnQ3kadyyXY6tGdChusIHIbM5zfIbp4M6tCg==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.20.0.tgz",
|
||||
"integrity": "sha512-dq70RUw6UK9ei7vxc4KQtBRk7qkHZv447OUZ6RPQMQl71I3NZxQJX/f32Smr+iqWrB02pHKn2yAdHBb0KNrRMA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.4.0",
|
||||
"@typescript-eslint/scope-manager": "8.19.0",
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.19.0"
|
||||
"@typescript-eslint/scope-manager": "8.20.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
|
|
@ -1739,13 +1767,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": {
|
||||
"version": "8.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.0.tgz",
|
||||
"integrity": "sha512-mCFtBbFBJDCNCWUl5y6sZSCHXw1DEFEk3c/M3nRK2a4XUB8StGFtmcEMizdjKuBzB6e/smJAAWYug3VrdLMr1w==",
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.20.0.tgz",
|
||||
"integrity": "sha512-v/BpkeeYAsPkKCkR8BDwcno0llhzWVqPOamQrAEMdpZav2Y9OVjd9dwJyBLJWwf335B5DmlifECIkZRJCaGaHA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"eslint-visitor-keys": "^4.2.0"
|
||||
},
|
||||
"engines": {
|
||||
|
|
@ -1795,6 +1823,19 @@
|
|||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils/node_modules/ts-api-utils": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz",
|
||||
"integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18.12"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": ">=4.8.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/types": {
|
||||
"version": "8.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz",
|
||||
|
|
@ -3714,10 +3755,11 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-github": {
|
||||
"version": "5.1.4",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.4.tgz",
|
||||
"integrity": "sha512-j5IgIxsDoch06zJzeqPvenfzRXDKI9Z8YwfUg1pm2ay1q44tMSFwvEu6l0uEIrTpA3v8QdPyLr98LqDl1TIhSA==",
|
||||
"version": "5.1.5",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-5.1.5.tgz",
|
||||
"integrity": "sha512-vRgIVJ88FfESAGGYsJlf7SQhQlFEJaa7/I9z/5K5vKbWEQ3DnRkg8cvoj8LZA30MFb2uW1SltOcEj+Q8UR8LxA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint/compat": "^1.2.3",
|
||||
"@eslint/eslintrc": "^3.1.0",
|
||||
|
|
@ -5555,7 +5597,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/long": {
|
||||
"version": "5.2.3",
|
||||
"version": "5.2.4",
|
||||
"resolved": "https://registry.npmjs.org/long/-/long-5.2.4.tgz",
|
||||
"integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==",
|
||||
"license": "Apache-2.0"
|
||||
},
|
||||
"node_modules/lower-case": {
|
||||
|
|
@ -7394,9 +7438,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.7.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz",
|
||||
"integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==",
|
||||
"version": "5.7.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
|
||||
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
|
|
@ -7624,9 +7668,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/uuid": {
|
||||
"version": "11.0.4",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.4.tgz",
|
||||
"integrity": "sha512-IzL6VtTTYcAhA/oghbFJ1Dkmqev+FpQWnCBaKq/gUluLxliWvO8DPFWfIviRmYbtaavtSQe4WBL++rFjdcGWEg==",
|
||||
"version": "11.0.5",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.5.tgz",
|
||||
"integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA==",
|
||||
"funding": [
|
||||
"https://github.com/sponsors/broofa",
|
||||
"https://github.com/sponsors/ctavan"
|
||||
|
|
|
|||
2
node_modules/@eslint/js/package.json
generated
vendored
2
node_modules/@eslint/js/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@eslint/js",
|
||||
"version": "9.17.0",
|
||||
"version": "9.18.0",
|
||||
"description": "ESLint JavaScript language implementation",
|
||||
"main": "./src/index.js",
|
||||
"types": "./types/index.d.ts",
|
||||
|
|
|
|||
4
node_modules/@eslint/js/src/index.js
generated
vendored
4
node_modules/@eslint/js/src/index.js
generated
vendored
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
const { version } = require("../package.json");
|
||||
const { name, version } = require("../package.json");
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Public Interface
|
||||
|
|
@ -13,7 +13,7 @@ const { version } = require("../package.json");
|
|||
|
||||
module.exports = {
|
||||
meta: {
|
||||
name: "@eslint/js",
|
||||
name,
|
||||
version
|
||||
},
|
||||
configs: {
|
||||
|
|
|
|||
2
node_modules/@octokit/types/dist-types/VERSION.d.ts
generated
vendored
2
node_modules/@octokit/types/dist-types/VERSION.d.ts
generated
vendored
|
|
@ -1 +1 @@
|
|||
export declare const VERSION = "13.6.2";
|
||||
export declare const VERSION = "13.7.0";
|
||||
|
|
|
|||
290
node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts
generated
vendored
290
node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts
generated
vendored
|
|
@ -75,6 +75,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token
|
||||
*/
|
||||
"DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
|
||||
*/
|
||||
"DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/gists/gists#delete-a-gist
|
||||
*/
|
||||
|
|
@ -107,6 +111,18 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization
|
||||
*/
|
||||
|
|
@ -139,6 +155,14 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories
|
||||
*/
|
||||
"DELETE /orgs/{org}/code-security/configurations/detach": Operation<"/orgs/{org}/code-security/configurations/detach", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration
|
||||
*/
|
||||
"DELETE /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization
|
||||
*/
|
||||
|
|
@ -215,10 +239,6 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user
|
||||
*/
|
||||
"DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}": Operation<"/orgs/{org}/organization-roles/users/{username}/{role_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/organization-roles#delete-a-custom-organization-role
|
||||
*/
|
||||
"DELETE /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization
|
||||
*/
|
||||
|
|
@ -231,6 +251,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization
|
||||
*/
|
||||
"DELETE /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
|
||||
*/
|
||||
|
|
@ -391,6 +415,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository
|
||||
*/
|
||||
"DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}": Operation<"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database
|
||||
*/
|
||||
"DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret
|
||||
*/
|
||||
|
|
@ -487,6 +515,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
|
||||
*/
|
||||
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
|
||||
*/
|
||||
"DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issue", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key
|
||||
*/
|
||||
|
|
@ -544,7 +576,7 @@ export interface Endpoints {
|
|||
*/
|
||||
"DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository
|
||||
* @see https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository
|
||||
*/
|
||||
"DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}": Operation<"/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", "delete">;
|
||||
/**
|
||||
|
|
@ -740,9 +772,21 @@ export interface Endpoints {
|
|||
*/
|
||||
"GET /emojis": Operation<"/emojis", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
|
||||
*/
|
||||
"GET /enterprises/{enterprise}/copilot/usage": Operation<"/enterprises/{enterprise}/copilot/usage", "get">;
|
||||
"GET /enterprises/{enterprise}/code-security/configurations": Operation<"/enterprises/{enterprise}/code-security/configurations", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise
|
||||
*/
|
||||
"GET /enterprises/{enterprise}/code-security/configurations/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/defaults", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise
|
||||
*/
|
||||
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
|
||||
*/
|
||||
"GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
|
||||
*/
|
||||
|
|
@ -875,6 +919,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/orgs#list-organizations
|
||||
*/
|
||||
"GET /organizations": Operation<"/organizations", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization
|
||||
*/
|
||||
"GET /organizations/{org}/settings/billing/usage": Operation<"/organizations/{org}/settings/billing/usage", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
|
||||
* @deprecated "org_id" is now "org"
|
||||
|
|
@ -912,6 +960,22 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization
|
||||
*/
|
||||
|
|
@ -956,6 +1020,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
|
||||
*/
|
||||
"GET /orgs/{org}/actions/variables/{name}/repositories": Operation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/orgs#list-attestations
|
||||
*/
|
||||
"GET /orgs/{org}/attestations/{subject_digest}": Operation<"/orgs/{org}/attestations/{subject_digest}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization
|
||||
*/
|
||||
|
|
@ -968,6 +1036,22 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/code-scanning/alerts": Operation<"/orgs/{org}/code-scanning/alerts", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/code-security/configurations": Operation<"/orgs/{org}/code-security/configurations", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations
|
||||
*/
|
||||
"GET /orgs/{org}/code-security/configurations/defaults": Operation<"/orgs/{org}/code-security/configurations/defaults", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration
|
||||
*/
|
||||
"GET /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration
|
||||
*/
|
||||
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/repositories", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
|
||||
*/
|
||||
|
|
@ -996,6 +1080,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/copilot/billing/seats": Operation<"/orgs/{org}/copilot/billing/seats", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/copilot/metrics": Operation<"/orgs/{org}/copilot/metrics", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members
|
||||
*/
|
||||
|
|
@ -1052,6 +1140,42 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook
|
||||
*/
|
||||
"GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-subject-stats
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/subject-stats": Operation<"/orgs/{org}/insights/api/subject-stats", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/summary-stats": Operation<"/orgs/{org}/insights/api/summary-stats", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/summary-stats/users/{user_id}": Operation<"/orgs/{org}/insights/api/summary-stats/users/{user_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-time-stats
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/time-stats": Operation<"/orgs/{org}/insights/api/time-stats", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/time-stats/users/{user_id}": Operation<"/orgs/{org}/insights/api/time-stats/users/{user_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/api-insights#get-user-stats
|
||||
*/
|
||||
"GET /orgs/{org}/insights/api/user-stats/{user_id}": Operation<"/orgs/{org}/insights/api/user-stats/{user_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app
|
||||
*/
|
||||
|
|
@ -1168,6 +1292,18 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to
|
||||
*/
|
||||
"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories": Operation<"/orgs/{org}/personal-access-tokens/{pat_id}/repositories", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/private-registries/public-key": Operation<"/orgs/{org}/private-registries/public-key", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/projects/projects#list-organization-projects
|
||||
*/
|
||||
|
|
@ -1236,6 +1372,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
|
||||
*/
|
||||
"GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
|
||||
*/
|
||||
"GET /orgs/{org}/team/{team_slug}/copilot/metrics": Operation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
|
||||
*/
|
||||
|
|
@ -1504,6 +1644,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/repos#list-attestations
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/attestations/{subject_digest}": Operation<"/repos/{owner}/{repo}/attestations/{subject_digest}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository
|
||||
*/
|
||||
|
|
@ -1593,6 +1737,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert
|
||||
*/
|
||||
|
|
@ -1613,6 +1761,14 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration
|
||||
*/
|
||||
|
|
@ -1621,6 +1777,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/code-security-configuration": Operation<"/repos/{owner}/{repo}/code-security-configuration", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/repos#list-codeowners-errors
|
||||
*/
|
||||
|
|
@ -1953,6 +2113,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
|
||||
*/
|
||||
|
|
@ -2153,6 +2317,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/secret-scanning/scan-history": Operation<"/repos/{owner}/{repo}/secret-scanning/scan-history", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories
|
||||
*/
|
||||
|
|
@ -2198,7 +2366,7 @@ export interface Endpoints {
|
|||
*/
|
||||
"GET /repos/{owner}/{repo}/tags": Operation<"/repos/{owner}/{repo}/tags", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository
|
||||
* @see https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
|
||||
*/
|
||||
"GET /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "get">;
|
||||
/**
|
||||
|
|
@ -2521,6 +2689,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/teams/teams#list-teams-for-the-authenticated-user
|
||||
*/
|
||||
"GET /user/teams": Operation<"/user/teams", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/users/users#get-a-user-using-their-id
|
||||
*/
|
||||
"GET /user/{account_id}": Operation<"/user/{account_id}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/users/users#list-users
|
||||
*/
|
||||
|
|
@ -2529,6 +2701,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/users/users#get-a-user
|
||||
*/
|
||||
"GET /users/{username}": Operation<"/users/{username}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/users/attestations#list-attestations
|
||||
*/
|
||||
"GET /users/{username}/attestations/{subject_digest}": Operation<"/users/{username}/attestations/{subject_digest}", "get">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user
|
||||
*/
|
||||
|
|
@ -2657,6 +2833,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/apps/oauth-applications#reset-a-token
|
||||
*/
|
||||
"PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise
|
||||
*/
|
||||
"PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/reference/gists/#update-a-gist
|
||||
*/
|
||||
|
|
@ -2673,10 +2853,18 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/orgs#update-an-organization
|
||||
*/
|
||||
"PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization
|
||||
*/
|
||||
"PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
|
||||
*/
|
||||
"PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
|
||||
*/
|
||||
"PATCH /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook
|
||||
*/
|
||||
|
|
@ -2686,9 +2874,9 @@ export interface Endpoints {
|
|||
*/
|
||||
"PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role
|
||||
* @see https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization
|
||||
*/
|
||||
"PATCH /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "patch">;
|
||||
"PATCH /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
|
||||
*/
|
||||
|
|
@ -2801,6 +2989,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/issues/issues#update-an-issue
|
||||
*/
|
||||
"PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue
|
||||
*/
|
||||
"PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority", "patch">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/issues/labels#update-a-label
|
||||
*/
|
||||
|
|
@ -2889,6 +3081,14 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/apps/apps#create-a-scoped-access-token
|
||||
*/
|
||||
"POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
|
||||
*/
|
||||
"POST /enterprises/{enterprise}/code-security/configurations": Operation<"/enterprises/{enterprise}/code-security/configurations", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories
|
||||
*/
|
||||
"POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/gists/gists#create-a-gist
|
||||
*/
|
||||
|
|
@ -2909,6 +3109,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
|
||||
*/
|
||||
"POST /markdown/raw": Operation<"/markdown/raw", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
|
||||
*/
|
||||
"POST /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization
|
||||
*/
|
||||
|
|
@ -2929,6 +3133,14 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
|
||||
*/
|
||||
"POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration
|
||||
*/
|
||||
"POST /orgs/{org}/code-security/configurations": Operation<"/orgs/{org}/code-security/configurations", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories
|
||||
*/
|
||||
"POST /orgs/{org}/code-security/configurations/{configuration_id}/attach": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/attach", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization
|
||||
*/
|
||||
|
|
@ -2965,10 +3177,6 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/migrations/orgs#start-an-organization-migration
|
||||
*/
|
||||
"POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role
|
||||
*/
|
||||
"POST /orgs/{org}/organization-roles": Operation<"/orgs/{org}/organization-roles", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization
|
||||
*/
|
||||
|
|
@ -2993,6 +3201,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources
|
||||
*/
|
||||
"POST /orgs/{org}/personal-access-tokens/{pat_id}": Operation<"/orgs/{org}/personal-access-tokens/{pat_id}", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization
|
||||
*/
|
||||
"POST /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/projects/projects#create-an-organization-project
|
||||
*/
|
||||
|
|
@ -3101,6 +3313,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/repos#create-an-attestation
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/attestations": Operation<"/repos/{owner}/{repo}/attestations", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository
|
||||
*/
|
||||
|
|
@ -3149,6 +3365,18 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": Operation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data
|
||||
*/
|
||||
|
|
@ -3257,6 +3485,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
|
||||
*/
|
||||
|
|
@ -3345,6 +3577,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/repos/rules#create-a-repository-ruleset
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": Operation<"/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory
|
||||
*/
|
||||
|
|
@ -3366,7 +3602,7 @@ export interface Endpoints {
|
|||
*/
|
||||
"POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository
|
||||
* @see https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository
|
||||
*/
|
||||
"POST /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "post">;
|
||||
/**
|
||||
|
|
@ -3469,6 +3705,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/apps/apps#suspend-an-app-installation
|
||||
*/
|
||||
"PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
|
||||
*/
|
||||
"PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/gists/gists#star-a-gist
|
||||
*/
|
||||
|
|
@ -3505,6 +3745,22 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization
|
||||
*/
|
||||
|
|
@ -3533,6 +3789,10 @@ export interface Endpoints {
|
|||
* @see https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization
|
||||
*/
|
||||
"PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/defaults", "put">;
|
||||
/**
|
||||
* @see https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces
|
||||
*/
|
||||
|
|
|
|||
4
node_modules/@octokit/types/node_modules/@octokit/openapi-types/package.json
generated
vendored
4
node_modules/@octokit/types/node_modules/@octokit/openapi-types/package.json
generated
vendored
|
|
@ -10,12 +10,12 @@
|
|||
"access": "public",
|
||||
"provenance": true
|
||||
},
|
||||
"version": "22.2.0",
|
||||
"version": "23.0.1",
|
||||
"main": "",
|
||||
"types": "types.d.ts",
|
||||
"author": "Gregor Martynus (https://twitter.com/gr2m)",
|
||||
"license": "MIT",
|
||||
"octokit": {
|
||||
"openapi-version": "16.5.0"
|
||||
"openapi-version": "17.1.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
10175
node_modules/@octokit/types/node_modules/@octokit/openapi-types/types.d.ts
generated
vendored
10175
node_modules/@octokit/types/node_modules/@octokit/openapi-types/types.d.ts
generated
vendored
File diff suppressed because it is too large
Load diff
8
node_modules/@octokit/types/package.json
generated
vendored
8
node_modules/@octokit/types/package.json
generated
vendored
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"name": "@octokit/types",
|
||||
"version": "13.6.2",
|
||||
"version": "13.7.0",
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"provenance": true
|
||||
},
|
||||
"description": "Shared TypeScript definitions for Octokit projects",
|
||||
"dependencies": {
|
||||
"@octokit/openapi-types": "^22.2.0"
|
||||
"@octokit/openapi-types": "^23.0.1"
|
||||
},
|
||||
"repository": "github:octokit/types.ts",
|
||||
"keywords": [
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@octokit/tsconfig": "^4.0.0",
|
||||
"github-openapi-graphql-query": "^4.0.0",
|
||||
"github-openapi-graphql-query": "^4.5.0",
|
||||
"handlebars": "^4.7.6",
|
||||
"npm-run-all2": "^7.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
"typescript": "^5.0.0"
|
||||
},
|
||||
"octokit": {
|
||||
"openapi-version": "16.5.0"
|
||||
"openapi-version": "17.1.1"
|
||||
},
|
||||
"files": [
|
||||
"dist-types/**"
|
||||
|
|
|
|||
1
node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js
generated
vendored
|
|
@ -72,6 +72,7 @@ module.exports = {
|
|||
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-misused-spread': 'error',
|
||||
'@typescript-eslint/no-mixed-enums': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
||||
|
|
|
|||
2
node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/configs/all.js.map
generated
vendored
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"all.js","sourceRoot":"","sources":["../../src/configs/all.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,iDAAiD,EAAE,OAAO;QAC1D,+BAA+B,EAAE,OAAO;QACxC,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,iDAAiD,EAAE,OAAO;QAC1D,wBAAwB,EAAE,KAAK;QAC/B,2CAA2C,EAAE,OAAO;QACpD,oDAAoD,EAAE,OAAO;QAC7D,oDAAoD,EAAE,OAAO;QAC7D,mBAAmB,EAAE,KAAK;QAC1B,sCAAsC,EAAE,OAAO;QAC/C,+CAA+C,EAAE,OAAO;QACxD,gD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D,uCAAuC,EAAE,OAAO;QAChD,4CAA4C,EAAE,OAAO;QACrD,mDAAmD,EAAE,OAAO;QAC5D,2CAA2C,EAAE,OAAO;QACpD,gDAAgD,EAAE,OAAO;QACzD,+CAA+C,EAAE,OAAO;QACxD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE,OAAO;QACpD,kDAAkD,EAAE,OAAO;QAC3D,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE,OAAO;QAC1C,+CAA+C,EAAE,OAAO;QACxD,gDAAgD,EAAE,OAAO;QACzD,2CAA2C,EAAE,OAAO;QACpD,4BAA4B,EAAE,OAAO;QACrC,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
|
||||
3
node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js
generated
vendored
3
node_modules/@typescript-eslint/eslint-plugin/dist/configs/disable-type-checked.js
generated
vendored
|
|
@ -6,7 +6,7 @@
|
|||
// For developers working in the typescript-eslint monorepo:
|
||||
// You can regenerate it using `yarn generate:configs`
|
||||
module.exports = {
|
||||
parserOptions: { project: false, program: null, projectService: false },
|
||||
parserOptions: { program: null, project: false, projectService: false },
|
||||
rules: {
|
||||
'@typescript-eslint/await-thenable': 'off',
|
||||
'@typescript-eslint/consistent-return': 'off',
|
||||
|
|
@ -23,6 +23,7 @@ module.exports = {
|
|||
'@typescript-eslint/no-implied-eval': 'off',
|
||||
'@typescript-eslint/no-meaningless-void-operator': 'off',
|
||||
'@typescript-eslint/no-misused-promises': 'off',
|
||||
'@typescript-eslint/no-misused-spread': 'off',
|
||||
'@typescript-eslint/no-mixed-enums': 'off',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
||||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"disable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,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,8CAA8C,EAAE,KAAK;QACrD,0CAA0C,EAAE,KAAK;QACjD,iDAAiD,EAAE,KAAK;QACxD,oCAAoC,EAAE,KAAK;QAC3C,oDAAoD,EAAE,KAAK;QAC3D,iDAAiD,EAAE,KAAK;QACxD,uCAAuC,EAAE,KAAK;QAC9C,4CAA4C,EAAE,KAAK;QACnD,mDAAmD,EAAE,KAAK;QAC1D,2CAA2C,EAAE,KAAK;QAClD,gDAAgD,EAAE,KAAK;QACvD,+CAA+C,EAAE,KAAK;QACtD,kCAAkC,EAAE,KAAK;QACzC,2CAA2C,EAAE,KAAK;QAClD,kDAAkD,EAAE,KAAK;QACzD,iCAAiC,EAAE,KAAK;QACxC,+CAA+C,EAAE,KAAK;QACtD,gDAAgD,EAAE,KAAK;QACvD,mCAAmC,EAAE,KAAK;QAC1C,2DAA2D,EAAE,KAAK;KACnE;CAC6B,CAAC"}
|
||||
{"version":3,"file":"disable-type-checked.js","sourceRoot":"","sources":["../../src/configs/disable-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE;IACvE,KAAK,EAAE;QACL,mCAAmC,EAAE,KAAK;QAC1C,sCAAsC,EAAE,KAAK;QAC7C,4CAA4C,EAAE,KAAK;QACnD,iCAAiC,EAAE,KAAK;QACxC,sCAAsC,EAAE,KAAK;QAC7C,oCAAoC,EAAE,KAAK;QAC3C,sCAAsC,EAAE,KAAK;QAC7C,iDAAiD,EAAE,KAAK;QACxD,kCAAkC,EAAE,KAAK;QACzC,mDAAmD,EAAE,KAAK;QAC1D,yCAAyC,EAAE,KAAK;QAChD,oCAAoC,EAAE,KAAK;QAC3C,oCAAoC,EA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6B,CAAC"}
|
||||
|
|
@ -20,6 +20,7 @@ module.exports = {
|
|||
'@typescript-eslint/no-implied-eval': 'error',
|
||||
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-misused-spread': 'error',
|
||||
'@typescript-eslint/no-mixed-enums': 'error',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'error',
|
||||
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'error',
|
||||
|
|
@ -59,10 +60,10 @@ module.exports = {
|
|||
{
|
||||
allowAny: false,
|
||||
allowBoolean: false,
|
||||
allowNever: false,
|
||||
allowNullish: false,
|
||||
allowNumber: false,
|
||||
allowRegExp: false,
|
||||
allowNever: false,
|
||||
},
|
||||
],
|
||||
'no-return-await': 'off',
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,oCAAoC,EAAE,OAAO;QAC7C,sCAAsC,EAAE,OAAO;QAC/C,iDAAiD,EAAE,OAAO;QAC1D,kCAAkC,EAAE,OAAO;QAC3C,mDAAmD,EAAE,OAAO;QAC5D,yCAAyC,EAAE,OAAO;QAClD,oCAAoC,EAAE,OAAO;QAC7C,iBAAiB,EAAE,KAAK;QACxB,oCAAoC,EAAE,OAAO;QAC7C,iDAAiD,EAAE,OAAO;QAC1D,wCAAwC,EAAE,OAAO;QACjD,mCAAmC,EAAE,OAAO;QAC5C,mDAAmD,EAAE,OAAO;QAC5D,2DAA2D,EAAE,OAAO;QACpE,6CAA6C,EAAE,OAAO;QACtD,uDAAuD,EAAE,OAAO;QAChE,kDAAkD,EAAE,OAAO;QAC3D,kDAAkD,EAAE,OAAO;QAC3D,mDAAmD,EAAE,OAAO;QAC5D,uCAAuC,EAAE,OAAO;QAChD,yCAAyC,EAAE,OAAO;QAClD,mCAAmC,EAAE,OAAO;QAC5C,8CAA8C,EAAE,OAAO;QACvD,4CAA4C,EAAE,OAAO;QACrD,qCAAqC,EAAE,OAAO;QAC9C,0CAA0C,EAAE,OAAO;QACnD,kBAAkB,EAAE,KAAK;QACzB,qCAAqC,EAAE,OAAO;QAC9C,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,gDAAgD,EAAE,OAAO;QACzD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE;YAC3C,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,KAAK;aAClB;SACF;QACD,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE;YACjC,OAAO;YACP,iCAAiC;SAClC;QACD,mCAAmC,EAAE,OAAO;QAC5C,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
|
||||
{"version":3,"file":"strict-type-checked-only.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked-only.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDA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BAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,UAAU,EAAE,KAAK;gBACjB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE;YACjC,OAAO;YACP,iCAAiC;SAClC;QACD,mCAAmC,EAAE,OAAO;QAC5C,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
|
||||
1
node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/dist/configs/strict-type-checked.js
generated
vendored
|
|
@ -34,6 +34,7 @@ module.exports = {
|
|||
'@typescript-eslint/no-meaningless-void-operator': 'error',
|
||||
'@typescript-eslint/no-misused-new': 'error',
|
||||
'@typescript-eslint/no-misused-promises': 'error',
|
||||
'@typescript-eslint/no-misused-spread': 'error',
|
||||
'@typescript-eslint/no-mixed-enums': 'error',
|
||||
'@typescript-eslint/no-namespace': 'error',
|
||||
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;IAC3D,KAAK,EAAE;QACL,mCAAmC,EAAE,OAAO;QAC5C,mCAAmC,EAAE;YACnC,OAAO;YACP,EAAE,wBAAwB,EAAE,EAAE,EAAE;SACjC;QACD,sBAAsB,EAAE,KAAK;QAC7B,yCAAyC,EAAE,OAAO;QAClD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E,KAAK;QACvB,mCAAmC,EAAE,OAAO;QAC5C,wBAAwB,EAAE,KAAK;QAC/B,2CAA2C,EAAE,OAAO;QACpD,4CAA4C,EAAE,OAAO;QACrD,kBAAkB,EAAE,KAAK;QACzB,qCAAqC,EAAE,OAAO;QAC9C,oCAAoC,EAAE,OAAO;QAC7C,+CAA+C,EAAE,OAAO;QACxD,6CAA6C,EAAE,OAAO;QACtD,8BAA8B,EAAE,KAAK;QACrC,iDAAiD,EAAE,OAAO;QAC1D,iDAAiD,EAAE,OAAO;QAC1D,4CAA4C,EAAE,OAAO;QACrD,gDAAgD,EAAE,OAAO;QACzD,eAAe,EAAE,KAAK;QACtB,kCAAkC,EAAE,OAAO;QAC3C,2CAA2C,EAAE;YAC3C,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;aACnB;SACF;QACD,kDAAkD,EAAE;YAClD,OAAO;YACP;gBACE,QAAQ,EAAE,KAAK;gBACf,YAAY,EAAE,KAAK;gBACnB,UAAU,EAAE,KAAK;gBACjB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,KAAK;gBAClB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iBAAiB,EAAE,KAAK;QACxB,iCAAiC,EAAE;YACjC,OAAO;YACP,iCAAiC;SAClC;QACD,2CAA2C,EAAE,OAAO;QACpD,mCAAmC,EAAE,OAAO;QAC5C,uCAAuC,EAAE,OAAO;QAChD,2DAA2D,EAAE,OAAO;KACrE;CAC6B,CAAC"}
|
||||
{"version":3,"file":"strict-type-checked.js","sourceRoot":"","sources":["../../src/configs/strict-type-checked.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC,gCAAgC;AAChC,iDAAiD;AACjD,EAAE;AACF,4DAA4D;AAC5D,sDAAsD;AAItD,iBAAS;IACP,OAAO,EAAE,CAAC,gBAAgB,EAA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,CAAC"}
|
||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map
generated
vendored
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"ban-ts-comment.js","sourceRoot":"","sources":["../../src/rules/ban-ts-comment.ts"],"names":[],"mappings":";;AAEA,oDAA2D;AAE3D,kCAAkE;AAelE,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAc1C,kBAAe,IAAA,iBAAU,EAAwB;IAC/C,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,8EAA8E;YAChF,WAAW,EAAE;gBACX,WAAW,EAAE,IAAI;gBACjB,MAAM,EAAE,CAAC,EAAE,wBAAwB,EAAE,EAAE,EAAE,CAAC;aAC3C;SACF;QACD,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE;YACR,gCAAgC,EAC9B,+CAA+C;YACjD,kBAAkB,EAChB,sEAAsE;YACxE,4CAA4C,EAC1C,yFAAyF;YAC3F,qCAAqC,EACnC,6LAA6L;YAC/L,4BAA4B,EAC1B,sHAAsH;SACzH;QACD,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE;oBACL,qBAAqB,EAAE;wBACrB,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,SAAS;gCACf,OAAO,EAAE,IAAI;6BACd;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,IAAI,EAAE,CAAC,wBAAwB,CAAC;6BACjC;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,oBAAoB,EAAE,KAAK;gCAC3B,UAAU,EAAE;oCACV,iBAAiB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iCACtC;6BACF;yBACF;qBACF;iBACF;gBACD,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACV,wBAAw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BACL,CAAC;oBACH,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
||||
100
node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js
generated
vendored
100
node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js
generated
vendored
|
|
@ -51,8 +51,11 @@ exports.default = (0, util_1.createRule)({
|
|||
'angle-bracket': "Use '<{{cast}}>' instead of 'as {{cast}}'.",
|
||||
as: "Use 'as {{cast}}' instead of '<{{cast}}>'.",
|
||||
never: 'Do not use any type assertions.',
|
||||
replaceArrayTypeAssertionWithAnnotation: 'Use const x: {{cast}} = [ ... ] instead.',
|
||||
replaceArrayTypeAssertionWithSatisfies: 'Use const x = [ ... ] satisfies {{cast}} instead.',
|
||||
replaceObjectTypeAssertionWithAnnotation: 'Use const x: {{cast}} = { ... } instead.',
|
||||
replaceObjectTypeAssertionWithSatisfies: 'Use const x = { ... } satisfies {{cast}} instead.',
|
||||
unexpectedArrayTypeAssertion: 'Always prefer const x: T[] = [ ... ].',
|
||||
unexpectedObjectTypeAssertion: 'Always prefer const x: T = { ... }.',
|
||||
},
|
||||
schema: [
|
||||
|
|
@ -74,6 +77,11 @@ exports.default = (0, util_1.createRule)({
|
|||
type: 'object',
|
||||
additionalProperties: false,
|
||||
properties: {
|
||||
arrayLiteralTypeAssertions: {
|
||||
type: 'string',
|
||||
description: 'Whether to always prefer type declarations for array literals used as variable initializers, rather than type assertions.',
|
||||
enum: ['allow', 'allow-as-parameter', 'never'],
|
||||
},
|
||||
assertionStyle: {
|
||||
type: 'string',
|
||||
description: 'The expected assertion style to enforce.',
|
||||
|
|
@ -92,6 +100,7 @@ exports.default = (0, util_1.createRule)({
|
|||
},
|
||||
defaultOptions: [
|
||||
{
|
||||
arrayLiteralTypeAssertions: 'allow',
|
||||
assertionStyle: 'as',
|
||||
objectLiteralTypeAssertions: 'allow',
|
||||
},
|
||||
|
|
@ -154,45 +163,51 @@ exports.default = (0, util_1.createRule)({
|
|||
return true;
|
||||
}
|
||||
}
|
||||
function checkExpression(node) {
|
||||
function getSuggestions(node, annotationMessageId, satisfiesMessageId) {
|
||||
const suggestions = [];
|
||||
if (node.parent.type === utils_1.AST_NODE_TYPES.VariableDeclarator &&
|
||||
!node.parent.id.typeAnnotation) {
|
||||
const { parent } = node;
|
||||
suggestions.push({
|
||||
messageId: annotationMessageId,
|
||||
data: { cast: context.sourceCode.getText(node.typeAnnotation) },
|
||||
fix: fixer => [
|
||||
fixer.insertTextAfter(parent.id, `: ${context.sourceCode.getText(node.typeAnnotation)}`),
|
||||
fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)),
|
||||
],
|
||||
});
|
||||
}
|
||||
suggestions.push({
|
||||
messageId: satisfiesMessageId,
|
||||
data: { cast: context.sourceCode.getText(node.typeAnnotation) },
|
||||
fix: fixer => [
|
||||
fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)),
|
||||
fixer.insertTextAfter(node, ` satisfies ${context.sourceCode.getText(node.typeAnnotation)}`),
|
||||
],
|
||||
});
|
||||
return suggestions;
|
||||
}
|
||||
function isAsParameter(node) {
|
||||
return (node.parent.type === utils_1.AST_NODE_TYPES.NewExpression ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.CallExpression ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.ThrowStatement ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.AssignmentPattern ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.JSXExpressionContainer ||
|
||||
(node.parent.type === utils_1.AST_NODE_TYPES.TemplateLiteral &&
|
||||
node.parent.parent.type === utils_1.AST_NODE_TYPES.TaggedTemplateExpression));
|
||||
}
|
||||
function checkExpressionForObjectAssertion(node) {
|
||||
if (options.assertionStyle === 'never' ||
|
||||
options.objectLiteralTypeAssertions === 'allow' ||
|
||||
node.expression.type !== utils_1.AST_NODE_TYPES.ObjectExpression) {
|
||||
return;
|
||||
}
|
||||
if (options.objectLiteralTypeAssertions === 'allow-as-parameter' &&
|
||||
(node.parent.type === utils_1.AST_NODE_TYPES.NewExpression ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.CallExpression ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.ThrowStatement ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.AssignmentPattern ||
|
||||
node.parent.type === utils_1.AST_NODE_TYPES.JSXExpressionContainer ||
|
||||
(node.parent.type === utils_1.AST_NODE_TYPES.TemplateLiteral &&
|
||||
node.parent.parent.type ===
|
||||
utils_1.AST_NODE_TYPES.TaggedTemplateExpression))) {
|
||||
isAsParameter(node)) {
|
||||
return;
|
||||
}
|
||||
if (checkType(node.typeAnnotation)) {
|
||||
const suggest = [];
|
||||
if (node.parent.type === utils_1.AST_NODE_TYPES.VariableDeclarator &&
|
||||
!node.parent.id.typeAnnotation) {
|
||||
const { parent } = node;
|
||||
suggest.push({
|
||||
messageId: 'replaceObjectTypeAssertionWithAnnotation',
|
||||
data: { cast: context.sourceCode.getText(node.typeAnnotation) },
|
||||
fix: fixer => [
|
||||
fixer.insertTextAfter(parent.id, `: ${context.sourceCode.getText(node.typeAnnotation)}`),
|
||||
fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)),
|
||||
],
|
||||
});
|
||||
}
|
||||
suggest.push({
|
||||
messageId: 'replaceObjectTypeAssertionWithSatisfies',
|
||||
data: { cast: context.sourceCode.getText(node.typeAnnotation) },
|
||||
fix: fixer => [
|
||||
fixer.replaceText(node, (0, util_1.getTextWithParentheses)(context.sourceCode, node.expression)),
|
||||
fixer.insertTextAfter(node, ` satisfies ${context.sourceCode.getText(node.typeAnnotation)}`),
|
||||
],
|
||||
});
|
||||
const suggest = getSuggestions(node, 'replaceObjectTypeAssertionWithAnnotation', 'replaceObjectTypeAssertionWithSatisfies');
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'unexpectedObjectTypeAssertion',
|
||||
|
|
@ -200,20 +215,41 @@ exports.default = (0, util_1.createRule)({
|
|||
});
|
||||
}
|
||||
}
|
||||
function checkExpressionForArrayAssertion(node) {
|
||||
if (options.assertionStyle === 'never' ||
|
||||
options.arrayLiteralTypeAssertions === 'allow' ||
|
||||
node.expression.type !== utils_1.AST_NODE_TYPES.ArrayExpression) {
|
||||
return;
|
||||
}
|
||||
if (options.arrayLiteralTypeAssertions === 'allow-as-parameter' &&
|
||||
isAsParameter(node)) {
|
||||
return;
|
||||
}
|
||||
if (checkType(node.typeAnnotation)) {
|
||||
const suggest = getSuggestions(node, 'replaceArrayTypeAssertionWithAnnotation', 'replaceArrayTypeAssertionWithSatisfies');
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'unexpectedArrayTypeAssertion',
|
||||
suggest,
|
||||
});
|
||||
}
|
||||
}
|
||||
return {
|
||||
TSAsExpression(node) {
|
||||
if (options.assertionStyle !== 'as') {
|
||||
reportIncorrectAssertionType(node);
|
||||
return;
|
||||
}
|
||||
checkExpression(node);
|
||||
checkExpressionForObjectAssertion(node);
|
||||
checkExpressionForArrayAssertion(node);
|
||||
},
|
||||
TSTypeAssertion(node) {
|
||||
if (options.assertionStyle !== 'angle-bracket') {
|
||||
reportIncorrectAssertionType(node);
|
||||
return;
|
||||
}
|
||||
checkExpression(node);
|
||||
checkExpressionForObjectAssertion(node);
|
||||
checkExpressionForArrayAssertion(node);
|
||||
},
|
||||
};
|
||||
},
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js
generated
vendored
|
|
@ -55,6 +55,7 @@ const no_magic_numbers_1 = __importDefault(require("./no-magic-numbers"));
|
|||
const no_meaningless_void_operator_1 = __importDefault(require("./no-meaningless-void-operator"));
|
||||
const no_misused_new_1 = __importDefault(require("./no-misused-new"));
|
||||
const no_misused_promises_1 = __importDefault(require("./no-misused-promises"));
|
||||
const no_misused_spread_1 = __importDefault(require("./no-misused-spread"));
|
||||
const no_mixed_enums_1 = __importDefault(require("./no-mixed-enums"));
|
||||
const no_namespace_1 = __importDefault(require("./no-namespace"));
|
||||
const no_non_null_asserted_nullish_coalescing_1 = __importDefault(require("./no-non-null-asserted-nullish-coalescing"));
|
||||
|
|
@ -185,6 +186,7 @@ const rules = {
|
|||
'no-meaningless-void-operator': no_meaningless_void_operator_1.default,
|
||||
'no-misused-new': no_misused_new_1.default,
|
||||
'no-misused-promises': no_misused_promises_1.default,
|
||||
'no-misused-spread': no_misused_spread_1.default,
|
||||
'no-mixed-enums': no_mixed_enums_1.default,
|
||||
'no-namespace': no_namespace_1.default,
|
||||
'no-non-null-asserted-nullish-coalescing': no_non_null_asserted_nullish_coalescing_1.default,
|
||||
|
|
|
|||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
35
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js
generated
vendored
35
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js
generated
vendored
|
|
@ -131,6 +131,21 @@ exports.default = (0, util_1.createRule)({
|
|||
}
|
||||
return Usefulness.Never;
|
||||
}
|
||||
function collectTupleCertainty(type) {
|
||||
const typeArgs = checker.getTypeArguments(type);
|
||||
const certainties = typeArgs.map(t => collectToStringCertainty(t));
|
||||
if (certainties.some(certainty => certainty === Usefulness.Never)) {
|
||||
return Usefulness.Never;
|
||||
}
|
||||
if (certainties.some(certainty => certainty === Usefulness.Sometimes)) {
|
||||
return Usefulness.Sometimes;
|
||||
}
|
||||
return Usefulness.Always;
|
||||
}
|
||||
function collectArrayCertainty(type) {
|
||||
const elemType = (0, util_1.nullThrows)(type.getNumberIndexType(), 'array should have number index type');
|
||||
return collectToStringCertainty(elemType);
|
||||
}
|
||||
function collectJoinCertainty(type) {
|
||||
if (tsutils.isUnionType(type)) {
|
||||
return collectUnionTypeCertainty(type, collectJoinCertainty);
|
||||
|
|
@ -139,24 +154,14 @@ exports.default = (0, util_1.createRule)({
|
|||
return collectIntersectionTypeCertainty(type, collectJoinCertainty);
|
||||
}
|
||||
if (checker.isTupleType(type)) {
|
||||
const typeArgs = checker.getTypeArguments(type);
|
||||
const certainties = typeArgs.map(t => collectToStringCertainty(t));
|
||||
if (certainties.some(certainty => certainty === Usefulness.Never)) {
|
||||
return Usefulness.Never;
|
||||
}
|
||||
if (certainties.some(certainty => certainty === Usefulness.Sometimes)) {
|
||||
return Usefulness.Sometimes;
|
||||
}
|
||||
return Usefulness.Always;
|
||||
return collectTupleCertainty(type);
|
||||
}
|
||||
if (checker.isArrayType(type)) {
|
||||
const elemType = (0, util_1.nullThrows)(type.getNumberIndexType(), 'array should have number index type');
|
||||
return collectToStringCertainty(elemType);
|
||||
return collectArrayCertainty(type);
|
||||
}
|
||||
return Usefulness.Always;
|
||||
}
|
||||
function collectToStringCertainty(type) {
|
||||
// https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382
|
||||
if (tsutils.isTypeParameter(type)) {
|
||||
const constraint = type.getConstraint();
|
||||
if (constraint) {
|
||||
|
|
@ -179,6 +184,12 @@ exports.default = (0, util_1.createRule)({
|
|||
if (type.isUnion()) {
|
||||
return collectUnionTypeCertainty(type, collectToStringCertainty);
|
||||
}
|
||||
if (checker.isTupleType(type)) {
|
||||
return collectTupleCertainty(type);
|
||||
}
|
||||
if (checker.isArrayType(type)) {
|
||||
return collectArrayCertainty(type);
|
||||
}
|
||||
const toString = checker.getPropertyOfType(type, 'toString') ??
|
||||
checker.getPropertyOfType(type, 'toLocaleString');
|
||||
if (!toString) {
|
||||
|
|
|
|||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map
generated
vendored
File diff suppressed because one or more lines are too long
33
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js
generated
vendored
33
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js
generated
vendored
|
|
@ -50,11 +50,27 @@ exports.default = (0, util_1.createRule)({
|
|||
deprecated: `\`{{name}}\` is deprecated.`,
|
||||
deprecatedWithReason: `\`{{name}}\` is deprecated. {{reason}}`,
|
||||
},
|
||||
schema: [],
|
||||
schema: [
|
||||
{
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
properties: {
|
||||
allow: {
|
||||
...util_1.typeOrValueSpecifiersSchema,
|
||||
description: 'Type specifiers that can be allowed.',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
defaultOptions: [],
|
||||
create(context) {
|
||||
defaultOptions: [
|
||||
{
|
||||
allow: [],
|
||||
},
|
||||
],
|
||||
create(context, [options]) {
|
||||
const { jsDocParsingMode } = context.parserOptions;
|
||||
const allow = options.allow;
|
||||
if (jsDocParsingMode === 'none' || jsDocParsingMode === 'type-info') {
|
||||
throw new Error(`Cannot be used with jsDocParsingMode: '${jsDocParsingMode}'.`);
|
||||
}
|
||||
|
|
@ -266,8 +282,11 @@ exports.default = (0, util_1.createRule)({
|
|||
const property = services
|
||||
.getTypeAtLocation(node.parent.parent)
|
||||
.getProperty(node.name);
|
||||
const symbol = services.getSymbolAtLocation(node);
|
||||
return getJsDocDeprecation(property) ?? getJsDocDeprecation(symbol);
|
||||
const propertySymbol = services.getSymbolAtLocation(node);
|
||||
const valueSymbol = checker.getShorthandAssignmentValueSymbol(propertySymbol?.valueDeclaration);
|
||||
return (getJsDocDeprecation(property) ??
|
||||
getJsDocDeprecation(propertySymbol) ??
|
||||
getJsDocDeprecation(valueSymbol));
|
||||
}
|
||||
return searchForDeprecationInAliasesChain(services.getSymbolAtLocation(node), true);
|
||||
}
|
||||
|
|
@ -279,6 +298,10 @@ exports.default = (0, util_1.createRule)({
|
|||
if (reason == null) {
|
||||
return;
|
||||
}
|
||||
const type = services.getTypeAtLocation(node);
|
||||
if ((0, util_1.typeMatchesSomeSpecifier)(type, allow, services.program)) {
|
||||
return;
|
||||
}
|
||||
const name = node.type === utils_1.AST_NODE_TYPES.Super ? 'super' : node.name;
|
||||
context.report({
|
||||
...(reason
|
||||
|
|
|
|||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-deprecated.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map
generated
vendored
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"no-loss-of-precision.js","sourceRoot":"","sources":["../../src/rules/no-loss-of-precision.ts"],"names":[],"mappings":";;AAKA,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,sBAAsB,CAAC,CAAC;AAK3D,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,2DAA2D;QAC3D,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,eAAe,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;CACF,CAAC,CAAC"}
|
||||
{"version":3,"file":"no-loss-of-precision.js","sourceRoot":"","sources":["../../src/rules/no-loss-of-precision.ts"],"names":[],"mappings":";;AAKA,kCAAqC;AACrC,iEAA8D;AAE9D,MAAM,QAAQ,GAAG,IAAA,qCAAiB,EAAC,sBAAsB,CAAC,CAAC;AAO3D,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,2DAA2D;QAC3D,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,eAAe,EAAE,IAAI;SACtB;QACD,cAAc,EAAE,QAAQ,CAAC,IAAI,CAAC,cAAc;QAC5C,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ;QAChC,MAAM,EAAE,EAAE;KACX;IACD,cAAc,EAAE,EAAE;IAClB,MAAM,CAAC,OAAO;QACZ,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;CACF,CAAC,CAAC"}
|
||||
204
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js
generated
vendored
Normal file
204
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js
generated
vendored
Normal file
|
|
@ -0,0 +1,204 @@
|
|||
"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 () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const tsutils = __importStar(require("ts-api-utils"));
|
||||
const ts = __importStar(require("typescript"));
|
||||
const util_1 = require("../util");
|
||||
exports.default = (0, util_1.createRule)({
|
||||
name: 'no-misused-spread',
|
||||
meta: {
|
||||
type: 'problem',
|
||||
docs: {
|
||||
description: 'Disallow using the spread operator when it might cause unexpected behavior',
|
||||
recommended: 'strict',
|
||||
requiresTypeChecking: true,
|
||||
},
|
||||
messages: {
|
||||
noArraySpreadInObject: 'Using the spread operator on an array in an object will result in a list of indices.',
|
||||
noClassDeclarationSpreadInObject: 'Using the spread operator on class declarations will spread only their static properties, and will lose their class prototype.',
|
||||
noClassInstanceSpreadInObject: 'Using the spread operator on class instances will lose their class prototype.',
|
||||
noFunctionSpreadInObject: 'Using the spread operator on a function without additional properties can cause unexpected behavior. Did you forget to call the function?',
|
||||
noIterableSpreadInObject: 'Using the spread operator on an Iterable in an object can cause unexpected behavior.',
|
||||
noMapSpreadInObject: 'Using the spread operator on a Map in an object will result in an empty object. Did you mean to use `Object.fromEntries(map)` instead?',
|
||||
noPromiseSpreadInObject: 'Using the spread operator on Promise in an object can cause unexpected behavior. Did you forget to await the promise?',
|
||||
noStringSpread: "Using the spread operator on a string can cause unexpected behavior. Prefer `.split('')` instead.",
|
||||
},
|
||||
schema: [
|
||||
{
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
properties: {
|
||||
allow: {
|
||||
...util_1.readonlynessOptionsSchema.properties.allow,
|
||||
description: 'An array of type specifiers that are known to be safe to spread.',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
defaultOptions: [
|
||||
{
|
||||
allow: [],
|
||||
},
|
||||
],
|
||||
create(context, [options]) {
|
||||
const services = (0, util_1.getParserServices)(context);
|
||||
const checker = services.program.getTypeChecker();
|
||||
function checkArrayOrCallSpread(node) {
|
||||
const type = (0, util_1.getConstrainedTypeAtLocation)(services, node.argument);
|
||||
if (!(0, util_1.typeMatchesSomeSpecifier)(type, options.allow, services.program) &&
|
||||
isString(type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noStringSpread',
|
||||
});
|
||||
}
|
||||
}
|
||||
function checkObjectSpread(node) {
|
||||
const type = (0, util_1.getConstrainedTypeAtLocation)(services, node.argument);
|
||||
if ((0, util_1.typeMatchesSomeSpecifier)(type, options.allow, services.program)) {
|
||||
return;
|
||||
}
|
||||
if (isPromise(services.program, type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noPromiseSpreadInObject',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isFunctionWithoutProps(type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noFunctionSpreadInObject',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isMap(services.program, type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noMapSpreadInObject',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isArray(checker, type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noArraySpreadInObject',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isIterable(type, checker) &&
|
||||
// Don't report when the type is string, since TS will flag it already
|
||||
!isString(type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noIterableSpreadInObject',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isClassInstance(checker, type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noClassInstanceSpreadInObject',
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (isClassDeclaration(type)) {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'noClassDeclarationSpreadInObject',
|
||||
});
|
||||
}
|
||||
}
|
||||
return {
|
||||
'ArrayExpression > SpreadElement': checkArrayOrCallSpread,
|
||||
'CallExpression > SpreadElement': checkArrayOrCallSpread,
|
||||
'ObjectExpression > SpreadElement': checkObjectSpread,
|
||||
};
|
||||
},
|
||||
});
|
||||
function isIterable(type, checker) {
|
||||
return tsutils
|
||||
.typeParts(type)
|
||||
.some(t => !!tsutils.getWellKnownSymbolPropertyOfType(t, 'iterator', checker));
|
||||
}
|
||||
function isArray(checker, type) {
|
||||
return isTypeRecurser(type, t => checker.isArrayType(t) || checker.isTupleType(t));
|
||||
}
|
||||
function isString(type) {
|
||||
return isTypeRecurser(type, t => (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.StringLike));
|
||||
}
|
||||
function isFunctionWithoutProps(type) {
|
||||
return isTypeRecurser(type, t => t.getCallSignatures().length > 0 && t.getProperties().length === 0);
|
||||
}
|
||||
function isPromise(program, type) {
|
||||
return isTypeRecurser(type, t => (0, util_1.isPromiseLike)(program, t));
|
||||
}
|
||||
function isClassInstance(checker, type) {
|
||||
return isTypeRecurser(type, t => {
|
||||
// If the type itself has a construct signature, it's a class(-like)
|
||||
if (t.getConstructSignatures().length) {
|
||||
return false;
|
||||
}
|
||||
const symbol = t.getSymbol();
|
||||
// If the type's symbol has a construct signature, the type is an instance
|
||||
return !!symbol
|
||||
?.getDeclarations()
|
||||
?.some(declaration => checker
|
||||
.getTypeOfSymbolAtLocation(symbol, declaration)
|
||||
.getConstructSignatures().length);
|
||||
});
|
||||
}
|
||||
function isClassDeclaration(type) {
|
||||
return isTypeRecurser(type, t => {
|
||||
if (tsutils.isObjectType(t) &&
|
||||
tsutils.isObjectFlagSet(t, ts.ObjectFlags.InstantiationExpressionType)) {
|
||||
return true;
|
||||
}
|
||||
const kind = t.getSymbol()?.valueDeclaration?.kind;
|
||||
return (kind === ts.SyntaxKind.ClassDeclaration ||
|
||||
kind === ts.SyntaxKind.ClassExpression);
|
||||
});
|
||||
}
|
||||
function isMap(program, type) {
|
||||
return isTypeRecurser(type, t => (0, util_1.isBuiltinSymbolLike)(program, t, ['Map', 'ReadonlyMap', 'WeakMap']));
|
||||
}
|
||||
function isTypeRecurser(type, predicate) {
|
||||
if (type.isUnionOrIntersection()) {
|
||||
return type.types.some(t => isTypeRecurser(t, predicate));
|
||||
}
|
||||
return predicate(type);
|
||||
}
|
||||
//# sourceMappingURL=no-misused-spread.js.map
|
||||
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map
generated
vendored
Normal file
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-spread.js.map
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"no-misused-spread.js","sourceRoot":"","sources":["../../src/rules/no-misused-spread.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,sDAAwC;AACxC,+CAAiC;AAIjC,kCASiB;AAkBjB,kBAAe,IAAA,iBAAU,EAAsB;IAC7C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACJ,WAAW,EACT,4EAA4E;YAC9E,WAAW,EAAE,QAAQ;YACrB,oBAAoB,EAAE,IAAI;SAC3B;QACD,QAAQ,EAAE;YACR,qBAAqB,EACnB,sFAAsF;YACxF,gCAAgC,EAC9B,gIAAgI;YAClI,6BAA6B,EAC3B,+EAA+E;YACjF,wBAAwB,EACtB,2IAA2I;YAC7I,wBAAwB,EACtB,sFAAsF;YACxF,mBAAmB,EACjB,wIAAwI;YAC1I,uBAAuB,EACrB,uHAAuH;YACzH,cAAc,EACZ,mGAAmG;SACtG;QACD,MAAM,EAAE;YACN;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IAED,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC"}
|
||||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map
generated
vendored
File diff suppressed because one or more lines are too long
37
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js
generated
vendored
37
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js
generated
vendored
|
|
@ -8,6 +8,15 @@ const allowedFunctionVariableDefTypes = new Set([
|
|||
utils_1.AST_NODE_TYPES.TSCallSignatureDeclaration,
|
||||
utils_1.AST_NODE_TYPES.TSFunctionType,
|
||||
utils_1.AST_NODE_TYPES.TSMethodSignature,
|
||||
utils_1.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,
|
||||
utils_1.AST_NODE_TYPES.TSDeclareFunction,
|
||||
utils_1.AST_NODE_TYPES.TSConstructSignatureDeclaration,
|
||||
utils_1.AST_NODE_TYPES.TSConstructorType,
|
||||
]);
|
||||
const functionsHoistedNodes = new Set([utils_1.AST_NODE_TYPES.FunctionDeclaration]);
|
||||
const typesHoistedNodes = new Set([
|
||||
utils_1.AST_NODE_TYPES.TSInterfaceDeclaration,
|
||||
utils_1.AST_NODE_TYPES.TSTypeAliasDeclaration,
|
||||
]);
|
||||
exports.default = (0, util_1.createRule)({
|
||||
name: 'no-shadow',
|
||||
|
|
@ -40,7 +49,7 @@ exports.default = (0, util_1.createRule)({
|
|||
hoist: {
|
||||
type: 'string',
|
||||
description: 'Whether to report shadowing before outer functions or variables are defined.',
|
||||
enum: ['all', 'functions', 'never'],
|
||||
enum: ['all', 'functions', 'functions-and-types', 'never', 'types'],
|
||||
},
|
||||
ignoreFunctionTypeParameterNameValueShadow: {
|
||||
type: 'boolean',
|
||||
|
|
@ -62,7 +71,7 @@ exports.default = (0, util_1.createRule)({
|
|||
{
|
||||
allow: [],
|
||||
builtinGlobals: false,
|
||||
hoist: 'functions',
|
||||
hoist: 'functions-and-types',
|
||||
ignoreFunctionTypeParameterNameValueShadow: true,
|
||||
ignoreOnInitialization: false,
|
||||
ignoreTypeValueShadow: true,
|
||||
|
|
@ -357,13 +366,23 @@ exports.default = (0, util_1.createRule)({
|
|||
const outerDef = scopeVar.defs.at(0);
|
||||
const inner = getNameRange(variable);
|
||||
const outer = getNameRange(scopeVar);
|
||||
return !!(inner &&
|
||||
outer &&
|
||||
inner[1] < outer[0] &&
|
||||
// Excepts FunctionDeclaration if is {"hoist":"function"}.
|
||||
(options.hoist !== 'functions' ||
|
||||
!outerDef ||
|
||||
outerDef.node.type !== utils_1.AST_NODE_TYPES.FunctionDeclaration));
|
||||
if (!inner || !outer || inner[1] >= outer[0]) {
|
||||
return false;
|
||||
}
|
||||
if (!outerDef) {
|
||||
return true;
|
||||
}
|
||||
if (options.hoist === 'functions') {
|
||||
return !functionsHoistedNodes.has(outerDef.node.type);
|
||||
}
|
||||
if (options.hoist === 'types') {
|
||||
return !typesHoistedNodes.has(outerDef.node.type);
|
||||
}
|
||||
if (options.hoist === 'functions-and-types') {
|
||||
return (!functionsHoistedNodes.has(outerDef.node.type) &&
|
||||
!typesHoistedNodes.has(outerDef.node.type));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
/**
|
||||
* Get declared line and column of a variable.
|
||||
|
|
|
|||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map
generated
vendored
File diff suppressed because one or more lines are too long
34
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js
generated
vendored
34
node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js
generated
vendored
|
|
@ -49,11 +49,6 @@ const getValueOfLiteralType = (type) => {
|
|||
}
|
||||
return type.value;
|
||||
};
|
||||
const isFalsyBigInt = (type) => {
|
||||
return (tsutils.isLiteralType(type) &&
|
||||
valueIsPseudoBigInt(type.value) &&
|
||||
!getValueOfLiteralType(type));
|
||||
};
|
||||
const isTruthyLiteral = (type) => tsutils.isTrueLiteralType(type) ||
|
||||
(type.isLiteral() && !!getValueOfLiteralType(type));
|
||||
const isPossiblyFalsy = (type) => tsutils
|
||||
|
|
@ -71,10 +66,7 @@ const isPossiblyTruthy = (type) => tsutils
|
|||
.some(intersectionParts =>
|
||||
// It is possible to define intersections that are always falsy,
|
||||
// like `"" & { __brand: string }`.
|
||||
intersectionParts.every(type => !tsutils.isFalsyType(type) &&
|
||||
// below is a workaround for ts-api-utils bug
|
||||
// see https://github.com/JoshuaKGoldberg/ts-api-utils/issues/544
|
||||
!isFalsyBigInt(type)));
|
||||
intersectionParts.every(type => !tsutils.isFalsyType(type)));
|
||||
// Nullish utilities
|
||||
const nullishFlag = ts.TypeFlags.Undefined | ts.TypeFlags.Null;
|
||||
const isNullishType = (type) => (0, util_1.isTypeFlagSet)(type, nullishFlag);
|
||||
|
|
@ -83,10 +75,7 @@ const isAlwaysNullish = (type) => tsutils.unionTypeParts(type).every(isNullishTy
|
|||
function toStaticValue(type) {
|
||||
// type.isLiteral() only covers numbers/bigints and strings, hence the rest of the branches.
|
||||
if (tsutils.isBooleanLiteralType(type)) {
|
||||
// Using `type.intrinsicName` instead of `type.value` because `type.value`
|
||||
// is `undefined`, contrary to what the type guard tells us.
|
||||
// See https://github.com/JoshuaKGoldberg/ts-api-utils/issues/528
|
||||
return { value: type.intrinsicName === 'true' };
|
||||
return { value: tsutils.isTrueLiteralType(type) };
|
||||
}
|
||||
if (type.flags === ts.TypeFlags.Undefined) {
|
||||
return { value: undefined };
|
||||
|
|
@ -233,6 +222,15 @@ exports.default = (0, util_1.createRule)({
|
|||
// Exception: literal index into a tuple - will have a sound type
|
||||
node.property.type !== utils_1.AST_NODE_TYPES.Literal)));
|
||||
}
|
||||
// Conditional is always necessary if it involves:
|
||||
// `any` or `unknown` or a naked type variable
|
||||
function isConditionalAlwaysNecessary(type) {
|
||||
return tsutils
|
||||
.unionTypeParts(type)
|
||||
.some(part => (0, util_1.isTypeAnyType)(part) ||
|
||||
(0, util_1.isTypeUnknownType)(part) ||
|
||||
(0, util_1.isTypeFlagSet)(part, ts.TypeFlags.TypeVariable));
|
||||
}
|
||||
function isNullableMemberExpression(node) {
|
||||
const objectType = services.getTypeAtLocation(node.object);
|
||||
if (node.computed) {
|
||||
|
|
@ -278,13 +276,7 @@ exports.default = (0, util_1.createRule)({
|
|||
return checkNode(expression.right);
|
||||
}
|
||||
const type = (0, util_1.getConstrainedTypeAtLocation)(services, expression);
|
||||
// Conditional is always necessary if it involves:
|
||||
// `any` or `unknown` or a naked type variable
|
||||
if (tsutils
|
||||
.unionTypeParts(type)
|
||||
.some(part => (0, util_1.isTypeAnyType)(part) ||
|
||||
(0, util_1.isTypeUnknownType)(part) ||
|
||||
(0, util_1.isTypeFlagSet)(part, ts.TypeFlags.TypeVariable))) {
|
||||
if (isConditionalAlwaysNecessary(type)) {
|
||||
return;
|
||||
}
|
||||
let messageId = null;
|
||||
|
|
@ -596,7 +588,7 @@ exports.default = (0, util_1.createRule)({
|
|||
: node.type === utils_1.AST_NODE_TYPES.CallExpression
|
||||
? !isCallExpressionNullableOriginFromCallee(node)
|
||||
: true;
|
||||
return ((0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Any | ts.TypeFlags.Unknown) ||
|
||||
return (isConditionalAlwaysNecessary(type) ||
|
||||
(isOwnNullable && (0, util_1.isNullableType)(type)));
|
||||
}
|
||||
function checkOptionalChain(node, beforeOperator, fix) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -63,17 +63,21 @@ exports.default = (0, util_1.createRule)({
|
|||
create(context) {
|
||||
const services = (0, util_1.getParserServices)(context);
|
||||
function isUnderlyingTypeString(expression) {
|
||||
const type = (0, util_1.getConstrainedTypeAtLocation)(services, expression);
|
||||
const checker = services.program.getTypeChecker();
|
||||
const { constraintType } = (0, util_1.getConstraintInfo)(checker, services.getTypeAtLocation(expression));
|
||||
if (constraintType == null) {
|
||||
return false;
|
||||
}
|
||||
const isString = (t) => {
|
||||
return (0, util_1.isTypeFlagSet)(t, ts.TypeFlags.StringLike);
|
||||
};
|
||||
if (type.isUnion()) {
|
||||
return type.types.every(isString);
|
||||
if (constraintType.isUnion()) {
|
||||
return constraintType.types.every(isString);
|
||||
}
|
||||
if (type.isIntersection()) {
|
||||
return type.types.some(isString);
|
||||
if (constraintType.isIntersection()) {
|
||||
return constraintType.types.some(isString);
|
||||
}
|
||||
return isString(type);
|
||||
return isString(constraintType);
|
||||
}
|
||||
function isLiteral(expression) {
|
||||
return expression.type === utils_1.AST_NODE_TYPES.Literal;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -254,7 +254,6 @@ function collectTypeParameterUsageCounts(checker, node, foundIdentifierUsages) {
|
|||
if (!type || incrementTypeUsages(type) > 9) {
|
||||
return;
|
||||
}
|
||||
// https://github.com/JoshuaKGoldberg/ts-api-utils/issues/382
|
||||
if (tsutils.isTypeParameter(type)) {
|
||||
const declaration = type.getSymbol()?.getDeclarations()?.[0];
|
||||
if (declaration) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"restrict-template-expressions.js","sourceRoot":"","sources":["../../src/rules/restrict-template-expressions.ts"],"names":[],"mappings":";;AAGA,8DAGuC;AACvC,oDAA0D;AAC1D,2CAAuC;AAIvC,kCAQiB;AAQjB,MAAM,YAAY,GAChB,CAAC,YAAuB,EAAgB,EAAE,CAC1C,IAAI,CAAC,EAAE,CACL,IAAA,oBAAa,EAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAEtC,MAAM,aAAa,GACjB;IACE,CAAC,KAAK,EAAE,oBAAa,CAAC;IACtB;QACE,OAAO;QACP,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,EAAW,EAAE,CAC/C,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,OAAO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AAW,EAAE,CAAC;oBAC1C,MAAM,cAAc,GAAG,IAAA,mCAA4B,EACjD,QAAQ,EACR,UAAU,CACX,CAAC;oBAEF,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,CAAC;wBAC1C,OAAO,CAAC,MAAM,CAAC;4BACb,IAAI,EAAE,UAAU;4BAChB,SAAS,EAAE,aAAa;4BACxB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE;yBACrD,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;SACF,CAAC;QAEF,SAAS,oBAAoB,CAAC,SAAe;YAC3C,IAAI,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC;gBACxB,OAAO,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;YACrD,CAAC;YAED,IAAI,SAAS,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC/B,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACpD,CAAC;YAED,OAAO,CACL,IAAA,oBAAa,EAAC,SAAS,EAAE,sBAAS,CAAC,UAAU,CAAC;gBAC9C,IAAA,qCAAwB,EAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC;gBACnD,oBAAoB,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CACvC,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,oBAAoB,CAAC,CACjD,CACF,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC,CAAC"}
|
||||
{"version":3,"file":"restrict-template-expressions.js","sourceRoot":"","sources":["../../src/rules/restrict-template-expressions.ts"],"names":[],"mappings":";;AAGA,8DAGuC;AACvC,oDAA0D;AAC1D,2CAAuC;AAIvC,kCAQiB;AAQjB,MAAM,YAAY,GAChB,CAAC,YAAuB,EAAgB,EAAE,CAC1C,IAAI,CAAC,EAAE,CACL,IAAA,oBA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
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js
generated
vendored
1
node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js
generated
vendored
|
|
@ -43,7 +43,6 @@ exports.default = (0, util_1.createRule)({
|
|||
type: 'problem',
|
||||
docs: {
|
||||
description: 'Enforce consistent awaiting of returned promises',
|
||||
extendsBaseRule: 'no-return-await',
|
||||
recommended: {
|
||||
strict: ['error-handling-correctness-only'],
|
||||
},
|
||||
|
|
|
|||
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map
generated
vendored
File diff suppressed because one or more lines are too long
67
node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js
generated
vendored
67
node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js
generated
vendored
|
|
@ -46,7 +46,6 @@ exports.default = (0, util_1.createRule)({
|
|||
description: 'Disallow certain types in boolean expressions',
|
||||
requiresTypeChecking: true,
|
||||
},
|
||||
fixable: 'code',
|
||||
hasSuggestions: true,
|
||||
messages: {
|
||||
conditionErrorAny: 'Unexpected any value in conditional. ' +
|
||||
|
|
@ -72,6 +71,8 @@ exports.default = (0, util_1.createRule)({
|
|||
conditionErrorString: 'Unexpected string value in conditional. ' +
|
||||
'An explicit empty string check is required.',
|
||||
conditionFixCastBoolean: 'Explicitly convert value to a boolean (`Boolean(value)`)',
|
||||
conditionFixCompareArrayLengthNonzero: "Change condition to check array's length (`value.length > 0`)",
|
||||
conditionFixCompareArrayLengthZero: "Change condition to check array's length (`value.length === 0`)",
|
||||
conditionFixCompareEmptyString: 'Change condition to check for empty string (`value !== ""`)',
|
||||
conditionFixCompareFalse: 'Change condition to check if false (`value === false`)',
|
||||
conditionFixCompareNaN: 'Change condition to check for NaN (`!Number.isNaN(value)`)',
|
||||
|
|
@ -545,12 +546,17 @@ exports.default = (0, util_1.createRule)({
|
|||
context.report({
|
||||
node,
|
||||
messageId: 'conditionErrorNumber',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node: node.parent,
|
||||
innerNode: node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} === 0`,
|
||||
}),
|
||||
suggest: [
|
||||
{
|
||||
messageId: 'conditionFixCompareArrayLengthZero',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node: node.parent,
|
||||
innerNode: node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} === 0`,
|
||||
}),
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
|
@ -558,11 +564,16 @@ exports.default = (0, util_1.createRule)({
|
|||
context.report({
|
||||
node,
|
||||
messageId: 'conditionErrorNumber',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} > 0`,
|
||||
}),
|
||||
suggest: [
|
||||
{
|
||||
messageId: 'conditionFixCompareArrayLengthNonzero',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} > 0`,
|
||||
}),
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -776,23 +787,33 @@ exports.default = (0, util_1.createRule)({
|
|||
context.report({
|
||||
node,
|
||||
messageId: 'conditionErrorNullableEnum',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node: node.parent,
|
||||
innerNode: node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} == null`,
|
||||
}),
|
||||
suggest: [
|
||||
{
|
||||
messageId: 'conditionFixCompareNullish',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node: node.parent,
|
||||
innerNode: node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} == null`,
|
||||
}),
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
else {
|
||||
context.report({
|
||||
node,
|
||||
messageId: 'conditionErrorNullableEnum',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} != null`,
|
||||
}),
|
||||
suggest: [
|
||||
{
|
||||
messageId: 'conditionFixCompareNullish',
|
||||
fix: (0, util_1.getWrappingFixer)({
|
||||
node,
|
||||
sourceCode: context.sourceCode,
|
||||
wrap: code => `${code} != null`,
|
||||
}),
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map
generated
vendored
2
node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map
generated
vendored
File diff suppressed because one or more lines are too long
73
node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx
generated
vendored
73
node_modules/@typescript-eslint/eslint-plugin/docs/rules/consistent-type-assertions.mdx
generated
vendored
|
|
@ -115,6 +115,79 @@ const foo = <Foo props={{ bar: 1 } as Bar} />;
|
|||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
### `arrayLiteralTypeAssertions`
|
||||
|
||||
{/* insert option description */}
|
||||
|
||||
Always prefer `const x: T[] = [ ... ];` to `const x = [ ... ] as T[];` (or similar with angle brackets).
|
||||
|
||||
The compiler will warn for excess properties of elements with this syntax, but not missing _required_ fields of those objects.
|
||||
For example: `const x: {foo: number}[] = [{}];` will fail to compile, but `const x = [{}] as [{ foo: number }]` will succeed.
|
||||
|
||||
The const assertion `const x = [1, 2, 3] as const`, introduced in TypeScript 3.4, is considered beneficial and is ignored by this option.
|
||||
|
||||
Assertions to `any` are also ignored by this option.
|
||||
|
||||
Examples of code for `{ assertionStyle: 'as', arrayLiteralTypeAssertions: 'never' }`:
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="❌ Incorrect">
|
||||
|
||||
```ts option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "never" }'
|
||||
const x = ['foo'] as T;
|
||||
|
||||
function bar() {
|
||||
return ['foo'] as T;
|
||||
}
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="✅ Correct">
|
||||
|
||||
```ts option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "never" }'
|
||||
const x: T = ['foo'];
|
||||
const y = ['foo'] as any;
|
||||
const z = ['foo'] as unknown;
|
||||
|
||||
function bar(): T {
|
||||
return ['foo'];
|
||||
}
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
Examples of code for `{ assertionStyle: 'as', arrayLiteralTypeAssertions: 'allow-as-parameter' }`:
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="❌ Incorrect">
|
||||
|
||||
```ts option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "allow-as-parameter" }'
|
||||
const x = ['foo'] as T;
|
||||
|
||||
function bar() {
|
||||
return ['foo'] as T;
|
||||
}
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="✅ Correct">
|
||||
|
||||
```tsx option='{ "assertionStyle": "as", "arrayLiteralTypeAssertions": "allow-as-parameter" }'
|
||||
const x: T = ['foo'];
|
||||
const y = ['foo'] as any;
|
||||
const z = ['foo'] as unknown;
|
||||
bar(['foo'] as T);
|
||||
new Clazz(['foo'] as T);
|
||||
function bar() {
|
||||
throw ['foo'] as Foo;
|
||||
}
|
||||
const foo = <Foo props={['foo'] as Bar} />;
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If you do not want to enforce consistent type assertions.
|
||||
|
|
|
|||
50
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-deprecated.mdx
generated
vendored
50
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-deprecated.mdx
generated
vendored
|
|
@ -59,6 +59,56 @@ const url2 = new URL('/foo', 'http://www.example.com');
|
|||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## Options
|
||||
|
||||
### `allow`
|
||||
|
||||
{/* insert option description */}
|
||||
|
||||
This option takes the shared [`TypeOrValueSpecifier` format](/packages/type-utils/type-or-value-specifier).
|
||||
|
||||
Examples of code for this rule with:
|
||||
|
||||
```json
|
||||
{
|
||||
"allow": [
|
||||
{ "from": "file", "name": "apiV1" },
|
||||
{ "from": "lib", "name": "escape" }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="❌ Incorrect">
|
||||
|
||||
```ts option='{"allow":[{"from":"file","name":"apiV1"},{"from":"lib","name":"escape"}]}'
|
||||
/** @deprecated */
|
||||
declare function apiV2(): Promise<string>;
|
||||
|
||||
await apiV2();
|
||||
|
||||
// `unescape` has been deprecated since ES5.
|
||||
unescape('...');
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
||||
<TabItem value="✅ Correct">
|
||||
|
||||
```ts option='{"allow":[{"from":"file","name":"apiV1"},{"from":"lib","name":"escape"}]}'
|
||||
import { Bar } from 'bar-lib';
|
||||
/** @deprecated */
|
||||
declare function apiV1(): Promise<string>;
|
||||
|
||||
await apiV1();
|
||||
|
||||
// `escape` has been deprecated since ES5.
|
||||
escape('...');
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If portions of your project heavily use deprecated APIs and have no plan for moving to non-deprecated ones, you might want to disable this rule in those portions.
|
||||
|
|
|
|||
132
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx
generated
vendored
Normal file
132
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-misused-spread.mdx
generated
vendored
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
---
|
||||
description: 'Disallow using the spread operator when it might cause unexpected behavior.'
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
> 🛑 This file is source code, not the primary documentation location! 🛑
|
||||
>
|
||||
> See **https://typescript-eslint.io/rules/no-misused-spread** for documentation.
|
||||
|
||||
[Spread syntax](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax) (`...`) is a JavaScript feature for creating an object with the joined properties of one or more other objects.
|
||||
TypeScript allows spreading objects whose properties are not typically meant to be enumerated, such as arrays and class instances.
|
||||
|
||||
This rule disallows using the spread syntax on values whose types indicate doing so may cause unexpected behavior.
|
||||
That includes the following cases:
|
||||
|
||||
- Spreading a `Promise` into an object.
|
||||
You probably meant to `await` it.
|
||||
- Spreading a function without properties into an object.
|
||||
You probably meant to call it.
|
||||
- Spreading an iterable (`Array`, `Map`, etc.) into an object.
|
||||
Iterable objects usually do not have meaningful enumerable properties and you probably meant to spread it into an array instead.
|
||||
- Spreading a string into an array.
|
||||
String enumeration behaviors in JavaScript around encoded characters are often surprising.
|
||||
- Spreading a `class` into an object.
|
||||
This copies all static own properties of the class, but none of the inheritance chain.
|
||||
- Spreading a class instance into an object.
|
||||
This does not faithfully copy the instance because only its own properties are copied, but the inheritance chain is lost, including all its methods.
|
||||
|
||||
## Examples
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="❌ Incorrect">
|
||||
|
||||
```ts
|
||||
declare const promise: Promise<number>;
|
||||
const spreadPromise = { ...promise };
|
||||
|
||||
declare function getObject(): Record<string, strings>;
|
||||
const getObjectSpread = { ...getObject };
|
||||
|
||||
declare const map: Map<string, number>;
|
||||
const mapSpread = { ...map };
|
||||
|
||||
declare const userName: string;
|
||||
const characters = [...userName];
|
||||
```
|
||||
|
||||
```ts
|
||||
declare class Box {
|
||||
value: number;
|
||||
}
|
||||
const boxSpread = { ...Box };
|
||||
|
||||
declare const instance: Box;
|
||||
const instanceSpread = { ...box };
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="✅ Correct">
|
||||
|
||||
```ts
|
||||
declare const promise: Promise<number>;
|
||||
const spreadPromise = { ...(await promise) };
|
||||
|
||||
declare function getObject(): Record<string, strings>;
|
||||
const getObjectSpread = { ...getObject() };
|
||||
|
||||
declare const map: Map<string, number>;
|
||||
const mapObject = Object.fromEntries(map);
|
||||
|
||||
declare const userName: string;
|
||||
const characters = userName.split('');
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## Options
|
||||
|
||||
### `allow`
|
||||
|
||||
{/* insert option description */}
|
||||
|
||||
This option takes the shared [`TypeOrValueSpecifier` format](/packages/type-utils/type-or-value-specifier).
|
||||
|
||||
Examples of a configuration for this option in a `file.ts` file:
|
||||
|
||||
```json
|
||||
"@typescript-eslint/no-misused-spread": [
|
||||
"error",
|
||||
{
|
||||
"allow": [
|
||||
{ "from": "file", "name": "BrandedString", "path": "file.ts" },
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="❌ Incorrect">
|
||||
|
||||
```ts option='{"allow":[{ "from": "file", "name": "BrandedString" }]}'
|
||||
declare const unbrandedString: string;
|
||||
|
||||
const spreadUnbrandedString = [...unbrandedString];
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="✅ Correct">
|
||||
|
||||
```ts option='{"allow":[{ "from": "file", "name": "BrandedString" }]}'
|
||||
type BrandedString = string & { __brand: 'safe' };
|
||||
|
||||
declare const brandedString: BrandedString;
|
||||
|
||||
const spreadBrandedString = [...brandedString];
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If your application intentionally works with raw data in unusual ways, such as directly manipulating class prototype chains, you might not want this rule.
|
||||
|
||||
If your use cases for unusual spreads only involve a few types, you might consider using [ESLint disable comments](https://eslint.org/docs/latest/use/configure/rules#using-configuration-comments-1) and/or the [`allow` option](#allow) instead of completely disabling this rule.
|
||||
|
||||
## Further Reading
|
||||
|
||||
- [Strings Shouldn't Be Iterable By Default](https://www.xanthir.com/b4wJ1)
|
||||
34
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx
generated
vendored
34
node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-shadow.mdx
generated
vendored
|
|
@ -17,18 +17,52 @@ It adds support for TypeScript's `this` parameters and global augmentation, and
|
|||
This rule adds the following options:
|
||||
|
||||
```ts
|
||||
type AdditionalHoistOptionEntries = 'types' | 'functions-and-types';
|
||||
|
||||
type HoistOptionEntries =
|
||||
| BaseNoShadowHoistOptionEntries
|
||||
| AdditionalHoistOptionEntries;
|
||||
|
||||
interface Options extends BaseNoShadowOptions {
|
||||
hoist?: HoistOptionEntries;
|
||||
ignoreTypeValueShadow?: boolean;
|
||||
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
||||
}
|
||||
|
||||
const defaultOptions: Options = {
|
||||
...baseNoShadowDefaultOptions,
|
||||
hoist: 'functions-and-types',
|
||||
ignoreTypeValueShadow: true,
|
||||
ignoreFunctionTypeParameterNameValueShadow: true,
|
||||
};
|
||||
```
|
||||
|
||||
### hoist: `types`
|
||||
|
||||
Examples of incorrect code for the `{ "hoist": "types" }` option:
|
||||
|
||||
```ts option='{ "hoist": "types" }' showPlaygroundButton
|
||||
type Bar<Foo> = 1;
|
||||
type Foo = 1;
|
||||
```
|
||||
|
||||
### hoist: `functions-and-types`
|
||||
|
||||
Examples of incorrect code for the `{ "hoist": "functions-and-types" }` option:
|
||||
|
||||
```ts option='{ "hoist": "functions-and-types" }' showPlaygroundButton
|
||||
// types
|
||||
type Bar<Foo> = 1;
|
||||
type Foo = 1;
|
||||
|
||||
// functions
|
||||
if (true) {
|
||||
let b = 6;
|
||||
}
|
||||
|
||||
function b() {}
|
||||
```
|
||||
|
||||
### `ignoreTypeValueShadow`
|
||||
|
||||
{/* insert option description */}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ function head<T>(items: T[]) {
|
|||
}
|
||||
|
||||
function foo(arg: string) {
|
||||
// Necessary, since foo might be ''.
|
||||
// Necessary, since arg might be ''.
|
||||
if (arg) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
10
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx
generated
vendored
10
node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx
generated
vendored
|
|
@ -198,13 +198,13 @@ const x = Boolean(a ?? b);
|
|||
|
||||
### `allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing`
|
||||
|
||||
{/* insert option description */}
|
||||
|
||||
:::danger Deprecated
|
||||
|
||||
> This option will be removed in the next major version of typescript-eslint.
|
||||
> :::
|
||||
> Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`.
|
||||
This option will be removed in the next major version of typescript-eslint.
|
||||
|
||||
:::
|
||||
|
||||
{/* insert option description */}
|
||||
|
||||
Without `strictNullChecks`, TypeScript essentially erases `undefined` and `null` from the types. This means when this rule inspects the types from a variable, **it will not be able to tell that the variable might be `null` or `undefined`**, which essentially makes this rule useless.
|
||||
|
||||
|
|
|
|||
21
node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.mdx
generated
vendored
21
node_modules/@typescript-eslint/eslint-plugin/docs/rules/return-await.mdx
generated
vendored
|
|
@ -9,15 +9,24 @@ import TabItem from '@theme/TabItem';
|
|||
>
|
||||
> See **https://typescript-eslint.io/rules/return-await** for documentation.
|
||||
|
||||
This rule builds on top of the [`eslint/no-return-await`](https://eslint.org/docs/rules/no-return-await) rule.
|
||||
It expands upon the base rule to add support for optionally requiring `return await` in certain cases.
|
||||
|
||||
The extended rule is named `return-await` instead of `no-return-await` because the extended rule can enforce the positive or the negative. Additionally, while the core rule is now deprecated, the extended rule is still useful in many contexts:
|
||||
In `async` functions, it is valid to return a promise-wrapped value or a value directly, both of which ultimately produce a promise with the same fulfillment value. Returning a value rather than a promise-wrapped value can have several subtle benefits:
|
||||
|
||||
- Returning an awaited promise [improves stack trace information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#improving_stack_trace).
|
||||
- When the `return` statement is in `try...catch`, awaiting the promise also allows the promise's rejection to be caught instead of leaving the error to the caller.
|
||||
- When the `return` statement is in `try...catch`, awaiting the promise allows the promise's rejection to be caught instead of leaving the error to the caller.
|
||||
- Contrary to popular belief, `return await promise;` is [at least as fast as directly returning the promise](https://github.com/tc39/proposal-faster-promise-adoption).
|
||||
|
||||
This rule enforces consistent handling of whether to await promises before returning them.
|
||||
|
||||
:::info
|
||||
|
||||
This rule used to be considered an extension of the (now-deprecated) ESLint core rule [`no-return-await`](https://eslint.org/docs/latest/rules/no-return-await#options).
|
||||
Without type information, the only situations that could be flagged by `no-return-await` were of neutral-to-negative value, which eventually led to its deprecation.
|
||||
In contrast, with access to type information, `@typescript-eslint/return-await` delivers enough positive value to earn it a spot in our strict preset.
|
||||
|
||||
If you previously used `no-return-await`, this rule's `in-try-catch` option has the closest behavior to the `no-return-await` rule.
|
||||
|
||||
:::
|
||||
|
||||
## Options
|
||||
|
||||
```ts
|
||||
|
|
@ -326,3 +335,5 @@ async function validNever3() {
|
|||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
{/* Intentionally Omitted: When Not To Use It */}
|
||||
|
|
|
|||
32
node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx
generated
vendored
32
node_modules/@typescript-eslint/eslint-plugin/docs/rules/strict-boolean-expressions.mdx
generated
vendored
|
|
@ -172,38 +172,6 @@ You should be using `strictNullChecks` to ensure complete type-safety in your co
|
|||
|
||||
If for some reason you cannot turn on `strictNullChecks`, but still want to use this rule - you can use this option to allow it - but know that the behavior of this rule is _undefined_ with the compiler option turned off. We will not accept bug reports if you are using this option.
|
||||
|
||||
## Fixes and Suggestions
|
||||
|
||||
This rule provides following fixes and suggestions for particular types in boolean context:
|
||||
|
||||
- `boolean` - Always allowed - no fix needed.
|
||||
- `string` - (when `allowString` is `false`) - Provides following suggestions:
|
||||
- Change condition to check string's length (`str` → `str.length > 0`)
|
||||
- Change condition to check for empty string (`str` → `str !== ""`)
|
||||
- Explicitly convert value to a boolean (`str` → `Boolean(str)`)
|
||||
- `number` - (when `allowNumber` is `false`):
|
||||
- For `array.length` - Provides **autofix**:
|
||||
- Change condition to check for 0 (`array.length` → `array.length > 0`)
|
||||
- For other number values - Provides following suggestions:
|
||||
- Change condition to check for 0 (`num` → `num !== 0`)
|
||||
- Change condition to check for NaN (`num` → `!Number.isNaN(num)`)
|
||||
- Explicitly convert value to a boolean (`num` → `Boolean(num)`)
|
||||
- `object | null | undefined` - (when `allowNullableObject` is `false`) - Provides **autofix**:
|
||||
- Change condition to check for null/undefined (`maybeObj` → `maybeObj != null`)
|
||||
- `boolean | null | undefined` - Provides following suggestions:
|
||||
- Explicitly treat nullish value the same as false (`maybeBool` → `maybeBool ?? false`)
|
||||
- Change condition to check for true/false (`maybeBool` → `maybeBool === true`)
|
||||
- `string | null | undefined` - Provides following suggestions:
|
||||
- Change condition to check for null/undefined (`maybeStr` → `maybeStr != null`)
|
||||
- Explicitly treat nullish value the same as an empty string (`maybeStr` → `maybeStr ?? ""`)
|
||||
- Explicitly convert value to a boolean (`maybeStr` → `Boolean(maybeStr)`)
|
||||
- `number | null | undefined` - Provides following suggestions:
|
||||
- Change condition to check for null/undefined (`maybeNum` → `maybeNum != null`)
|
||||
- Explicitly treat nullish value the same as 0 (`maybeNum` → `maybeNum ?? 0`)
|
||||
- Explicitly convert value to a boolean (`maybeNum` → `Boolean(maybeNum)`)
|
||||
- `any` and `unknown` - Provides following suggestions:
|
||||
- Explicitly convert value to a boolean (`value` → `Boolean(value)`)
|
||||
|
||||
## When Not To Use It
|
||||
|
||||
If your project isn't likely to experience bugs from falsy non-boolean values being used in logical conditions, you can skip enabling this rule.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/scope-manager",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.0",
|
||||
"description": "TypeScript scope analyser for ESLint",
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
@ -46,13 +46,13 @@
|
|||
"typecheck": "npx nx typecheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0"
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/types": "29.6.3",
|
||||
"@types/glob": "*",
|
||||
"@typescript-eslint/typescript-estree": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0",
|
||||
"glob": "*",
|
||||
"jest-specific-snapshot": "*",
|
||||
"make-dir": "*",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/types",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.0",
|
||||
"description": "Types for the TypeScript-ESTree AST spec",
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
||||
{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
||||
|
|
@ -41,7 +41,7 @@ const debug_1 = __importDefault(require("debug"));
|
|||
const ts = __importStar(require("typescript"));
|
||||
const getScriptKind_1 = require("./getScriptKind");
|
||||
const shared_1 = require("./shared");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createIsolatedProgram');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createIsolatedProgram');
|
||||
/**
|
||||
* @returns Returns a new source file and program corresponding to the linted code
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"}
|
||||
{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AA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M;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"}
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"}
|
||||
{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAUtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"}
|
||||
|
|
@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug"));
|
|||
const node_utils_1 = require("../node-utils");
|
||||
const createProjectProgramError_1 = require("./createProjectProgramError");
|
||||
const shared_1 = require("./shared");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectProgram');
|
||||
/**
|
||||
* @param parseSettings Internal settings for parsing the file
|
||||
* @returns If found, the source file corresponding to the code and the containing program
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAiBA,oDAiBC;AAhCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,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"}
|
||||
{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAmBA,oDAiBC;AAlCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;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"}
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA2B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,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,CAoIxB"}
|
||||
{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA6B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,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,CAoIxB"}
|
||||
|
|
@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug"));
|
|||
const getParsedConfigFile_1 = require("./getParsedConfigFile");
|
||||
const validateDefaultProjectForFilesGlob_1 = require("./validateDefaultProjectForFilesGlob");
|
||||
const DEFAULT_PROJECT_MATCHED_FILES_THRESHOLD = 8;
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectService');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectService');
|
||||
const logTsserverErr = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:err');
|
||||
const logTsserverInfo = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:info');
|
||||
const logTsserverPerf = (0, debug_1.default)('typescript-eslint:typescript-estree:tsserver:perf');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":";;;;;AAyCA,oDAwIC;AA9KD,kDAA0B;AAI1B,+DAA4D;AAC5D,6FAA0F;AAE1F,MAAM,uCAAuC,GAAG,CAAC,CAAC;AAElD,MAAM,GAAG,GAAG,IAAA,eAAK,EAA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,KAAK,EAAE;QACpE,YAAY,EAAE,gBAAgB,CAAC,OAAO;YACpC,CAAC,CAAC,CAAC,CAAC,EAAQ,EAAE;gBACV,gBAAgB,CAAC,CAAC,CAAC,CAAC;YACtB,CAAC;YACH,CAAC,CAAC,SAAS;QACb,IAAI,EAAE,MAAM;QACZ,gBAAgB;QAChB,MAAM;QACN,OAAO,EAAE,SAAS;QAClB,gCAAgC,EAAE,KAAK;QACvC,wBAAwB,EAAE,KAAK;KAChC,CAAC,CAAC;IAEH,OAAO,CAAC,oBAAoB,CAAC;QAC3B,WAAW,EAAE;YACX,6BAA6B,EAAE,KAAK;SACrC;KACF,CAAC,CAAC;IAEH,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IAC5D,IAAI,UAA4C,CAAC;IAEjD,IAAI,CAAC;QACH,UAAU,GAAG,IAAA,yCAAmB,EAC9B,QAAQ,EACR,OAAO,CAAC,cAAc,EACtB,eAAe,CAChB,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,gBAAgB,CAAC,cAAc,EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CACb,mDAAmD,OAAO,CAAC,cAAc,MAAO,KAAe,CAAC,OAAO,EAAE,CAC1G,CAAC;QACJ,CAAC;IACH,CAAC;IAED,IAAI,UAAU,EAAE,CAAC;QACf,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,mBAAmB,EAAE,WAAW,CAAC,GAAG,EAAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"}
|
||||
{"version":3,"file":"createProjectService.js","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts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AAE;QACtC,mCAAmC,EACjC,OAAO,CAAC,+DAA+D;YACvE,uCAAuC;QACzC,OAAO;KACR,CAAC;AACJ,CAAC"}
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAOhD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"}
|
||||
{"version":3,"file":"createSourceFile.d.ts","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAShD,iBAAS,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,EAAE,CAAC,UAAU,CAoBrE;AAED,iBAAS,eAAe,CAAC,aAAa,EAAE,aAAa,GAAG,eAAe,CAKtE;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAC"}
|
||||
|
|
@ -42,7 +42,7 @@ const debug_1 = __importDefault(require("debug"));
|
|||
const ts = __importStar(require("typescript"));
|
||||
const source_files_1 = require("../source-files");
|
||||
const getScriptKind_1 = require("./getScriptKind");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createSourceFile');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createSourceFile');
|
||||
function createSourceFile(parseSettings) {
|
||||
log('Getting AST without type information in %s mode for: %s', parseSettings.jsx ? 'TSX' : 'TS', parseSettings.filePath);
|
||||
return (0, source_files_1.isSourceFile)(parseSettings.code)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCS,0CAAe;AAAE,4CAAgB;AAxC1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,sDAAsD,CAAC,CAAC;AAE1E,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"}
|
||||
{"version":3,"file":"createSourceFile.js","sourceRoot":"","sources":["../../src/create-program/createSourceFile.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CS,0CAAe;AAAE,4CAAgB;AA1C1C,kDAA0B;AAC1B,+CAAiC;AAKjC,kDAA+C;AAC/C,mDAAgD;AAEhD,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,qEAAqE,CACtE,CAAC;AAEF,SAAS,gBAAgB,CAAC,aAA4B;IACpD,GAAG,CACD,yDAAyD,EACzD,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,OAAO,IAAA,2BAAY,EAAC,aAAa,CAAC,IAAI,CAAC;QACrC,CAAC,CAAC,aAAa,CAAC,IAAI;QACpB,CAAC,CAAC,EAAE,CAAC,gBAAgB,CACjB,aAAa,CAAC,QAAQ,EACtB,aAAa,CAAC,YAAY,EAC1B;YACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;YAChD,eAAe,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;YACvC,0BAA0B,EAAE,aAAa,CAAC,0BAA0B;SACrE;QACD,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;AACR,CAAC;AAED,SAAS,eAAe,CAAC,aAA4B;IACnD,OAAO;QACL,GAAG,EAAE,gBAAgB,CAAC,aAAa,CAAC;QACpC,OAAO,EAAE,IAAI;KACd,CAAC;AACJ,CAAC"}
|
||||
|
|
@ -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;AA+CtD;;;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"}
|
||||
{"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;AAiDtD;;;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"}
|
||||
|
|
@ -43,7 +43,7 @@ const node_fs_1 = __importDefault(require("node:fs"));
|
|||
const ts = __importStar(require("typescript"));
|
||||
const source_files_1 = require("../source-files");
|
||||
const shared_1 = require("./shared");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createWatchProgram');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:getWatchProgramsForProjects');
|
||||
/**
|
||||
* Maps tsconfig paths to their corresponding file contents and resulting watches
|
||||
*/
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD,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,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"}
|
||||
{"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;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD,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,2BAA2B,EAAE,mBAAmB,EAAE,CAAC"}
|
||||
|
|
@ -43,7 +43,7 @@ const path = __importStar(require("node:path"));
|
|||
const ts = __importStar(require("typescript"));
|
||||
const getParsedConfigFile_1 = require("./getParsedConfigFile");
|
||||
const shared_1 = require("./shared");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:useProvidedProgram');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:useProvidedPrograms');
|
||||
function useProvidedPrograms(programInstances, parseSettings) {
|
||||
log('Retrieving ast for %s from provided program instance(s)', parseSettings.filePath);
|
||||
let astAndProgram;
|
||||
|
|
|
|||
|
|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K,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"}
|
||||
{"version":3,"file":"useProvidedPrograms.js","sourceRoot":"","sources":["../../src/create-program/useProvidedPrograms.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsES,kEAA2B;AAAE,kDAAmB;AAtEzD,kDAA0B;AAC1B,gDAAkC;AAClC,+CAAiC;AAKjC,+DAA4D;AAC5D,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,wEAAwE,CACzE,CAAC;AAEF,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"}
|
||||
|
|
@ -50,7 +50,7 @@ const getProjectConfigFiles_1 = require("./getProjectConfigFiles");
|
|||
const inferSingleRun_1 = require("./inferSingleRun");
|
||||
const resolveProjectList_1 = require("./resolveProjectList");
|
||||
const warnAboutTSVersion_1 = require("./warnAboutTSVersion");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:createParseSettings');
|
||||
let TSCONFIG_MATCH_CACHE;
|
||||
let TSSERVER_PROJECT_SERVICE = null;
|
||||
// NOTE - we intentionally use "unnecessary" `?.` here because in TS<5.3 this enum doesn't exist
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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"}
|
||||
{"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;AAM7C;;;;;;;;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"}
|
||||
|
|
@ -40,7 +40,7 @@ exports.getProjectConfigFiles = getProjectConfigFiles;
|
|||
const debug_1 = __importDefault(require("debug"));
|
||||
const fs = __importStar(require("node:fs"));
|
||||
const path = __importStar(require("node:path"));
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:getProjectConfigFiles');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:getProjectConfigFiles');
|
||||
/**
|
||||
* Checks for a matching TSConfig to a file including its parent directories,
|
||||
* permanently caching results under each directory it checks.
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"getProjectConfigFiles.js","sourceRoot":"","sources":["../../src/parseSettings/getProjectConfigFiles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,sDA6CC;AA/DD,kDAA0B;AAC1B,4CAA8B;AAC9B,gDAAkC;AAKlC,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,CAA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C;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"}
|
||||
|
|
@ -11,7 +11,7 @@ const fast_glob_1 = require("fast-glob");
|
|||
const is_glob_1 = __importDefault(require("is-glob"));
|
||||
const shared_1 = require("../create-program/shared");
|
||||
const ExpiringCache_1 = require("./ExpiringCache");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parser:parseSettings:resolveProjectList');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:parseSettings:resolveProjectList');
|
||||
let RESOLUTION_CACHE = null;
|
||||
function clearGlobCache() {
|
||||
RESOLUTION_CACHE?.clear();
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,6EAA6E,CAC9E,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;GAEG;AACH,SAAgB,kBAAkB,CAChC,OAME;IAEF,MAAM,iBAAiB,GAAa,EAAE,CAAC;IAEvC,2CAA2C;IAC3C,IAAI,OAAO,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAC5B,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACtC,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,MAAM,uBAAuB,GAAG,CAC9B,OAAO,CAAC,uBAAuB,IAAI,CAAC,oBAAoB,CAAC,CAC1D;SACE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,MAAM,KAAK,QAAQ,CAAC;QAC7C,qCAAqC;SACpC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC;IAEnE,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EAAE,GAAG,gBAAgB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACvD,IAAA,6BAAoB,EAClB,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,CACrD;QACD,IAAA,2BAAkB,EAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;KACrD,CAAC,CACH,CAAC;IAEF,GAAG,CACD,gEAAgE,EAChE,2BAA2B,CAC5B,CAAC;IAEF,gBAAgB,CAAC,GAAG,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAC;IAC5D,OAAO,2BAA2B,CAAC;AACrC,CAAC;AAED,SAAS,OAAO,CAAC,EACf,OAAO,EACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"}
|
||||
{"version":3,"file":"resolveProjectList.js","sourceRoot":"","sources":["../../src/parseSettings/resolveProjectList.ts"],"names":[],"mappings":";;;;;AA0BA,wCAEC;AAKD,gDAwFC;AA2BD,4DAGC;AAvJD,kDAA0B;AAC1B,yCAA6C;AAC7C,sDAA6B;AAK7B,qDAIkC;AAClC,mDAGyB;AAEzB,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,sEAAsE,CACvE,CAAC;AAEF,IAAI,gBAAgB,GAGT,IAAI,CAAC;AAEhB,SAAgB,cAAc;IAC5B,gBAAgB,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;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ACP,uBAAuB,EACvB,eAAe,GAKf;IACA,+CAA+C;IAC/C,MAAM,UAAU,GAAG;QACjB,eAAe;QACf,kEAAkE;QAClE,OAAO;QACP,6CAA6C;QAC7C,uBAAuB,EAAE,CAAC,GAAG,uBAAuB,CAAC,CAAC,IAAI,EAAE;KAC7D,CAAC;IAEF,OAAO,IAAA,mBAAU,EAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,wBAAwB;IACtC,gBAAgB,EAAE,KAAK,EAAE,CAAC;IAC1B,gBAAgB,GAAG,IAAI,CAAC;AAC1B,CAAC"}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/typescript-estree",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.0",
|
||||
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
@ -54,14 +54,14 @@
|
|||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"debug": "^4.3.4",
|
||||
"fast-glob": "^3.3.2",
|
||||
"is-glob": "^4.0.3",
|
||||
"minimatch": "^9.0.4",
|
||||
"semver": "^7.6.0",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/types": "29.6.3",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/utils",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.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.19.0",
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.19.0"
|
||||
"@typescript-eslint/scope-manager": "8.20.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^8.57.0 || ^9.0.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/visitor-keys",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.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.19.0",
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"eslint-visitor-keys": "^4.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
20
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/LICENSE.md
generated
vendored
Normal file
20
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/LICENSE.md
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# MIT License
|
||||
|
||||
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.
|
||||
84
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/README.md
generated
vendored
Normal file
84
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
<h1 align="center">TypeScript API Utils</h1>
|
||||
|
||||
<p align="center">
|
||||
Utility functions for working with TypeScript's API.
|
||||
Successor to the wonderful tsutils.
|
||||
🛠️️
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
<img alt="All Contributors: 8 👪" src="https://img.shields.io/badge/all_contributors-8_👪-21bb42.svg" />
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
<!-- prettier-ignore-end -->
|
||||
<a href="https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank"><img alt="🤝 Code of Conduct: Kept" src="https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42" /></a>
|
||||
<a href="https://codecov.io/gh/JoshuaKGoldberg/ts-api-utils" target="_blank"><img alt="🧪 Coverage" src="https://img.shields.io/codecov/c/github/JoshuaKGoldberg/ts-api-utils?label=%F0%9F%A7%AA%20coverage" /></a>
|
||||
<a href="#" target="_blank"><img alt="📚 Documentation Coverage" src="https://raw.githubusercontent.com/JoshuaKGoldberg/ts-api-utils/refs/heads/main/docs/coverage.svg" /></a>
|
||||
<a href="https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/LICENSE.md" target="_blank"><img alt="📝 License: MIT" src="https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg"></a>
|
||||
<a href="http://npmjs.com/package/ts-api-utils"><img alt="📦 npm version" src="https://img.shields.io/npm/v/ts-api-utils?color=21bb42&label=%F0%9F%93%A6%20npm" /></a>
|
||||
<img alt="💪 TypeScript: Strict" src="https://img.shields.io/badge/%F0%9F%92%AA_typescript-strict-21bb42.svg" />
|
||||
</p>
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
npm i ts-api-utils
|
||||
```
|
||||
|
||||
```ts
|
||||
import * as tsutils from "ts-api-utils";
|
||||
|
||||
tsutils.forEachToken(/* ... */);
|
||||
```
|
||||
|
||||
### API
|
||||
|
||||
`ts-api-utils` provides many utility functions.
|
||||
Check out our API docs for details:
|
||||
|
||||
📝 [ts-api-utils API docs](https://joshuakgoldberg.github.io/ts-api-utils).
|
||||
|
||||
## Development
|
||||
|
||||
See [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md).
|
||||
Thanks! 💖
|
||||
|
||||
## Contributors
|
||||
|
||||
Many thanks to [@ajafff](https://github.com/ajafff) for creating the original [`tsutils`](https://github.com/ajafff/tsutils) ([original license: MIT](https://github.com/ajafff/tsutils/blob/26b195358ec36d59f00333115aa3ffd9611ca78b/LICENSE)) that this project was originally based on! 🙏
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-disable -->
|
||||
<!-- spellchecker: disable -->
|
||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-disable -->
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://effectivetypescript.com"><img src="https://avatars.githubusercontent.com/u/98301?v=4?s=100" width="100px;" alt="Dan Vanderkam"/><br /><sub><b>Dan Vanderkam</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3Adanvk" title="Bug reports">🐛</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://blog.jmchor.dev"><img src="https://avatars.githubusercontent.com/u/110151013?v=4?s=100" width="100px;" alt="Johannes Chorzempa"/><br /><sub><b>Johannes Chorzempa</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=jmchor" title="Documentation">📖</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=jmchor" title="Code">💻</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="http://www.joshuakgoldberg.com"><img src="https://avatars.githubusercontent.com/u/3335181?v=4?s=100" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3AJoshuaKGoldberg" title="Bug reports">🐛</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg" title="Code">💻</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg" title="Documentation">📖</a> <a href="#projectManagement-JoshuaKGoldberg" title="Project Management">📆</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=JoshuaKGoldberg" title="Tests">⚠️</a> <a href="#tool-JoshuaKGoldberg" title="Tools">🔧</a> <a href="#maintenance-JoshuaKGoldberg" title="Maintenance">🚧</a> <a href="#infra-JoshuaKGoldberg" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#ideas-JoshuaKGoldberg" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://twitter.com/kirjs"><img src="https://avatars.githubusercontent.com/u/2545357?v=4?s=100" width="100px;" alt="Kirill Cherkashin"/><br /><sub><b>Kirill Cherkashin</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=kirjs" title="Code">💻</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kirkwaiblinger"><img src="https://avatars.githubusercontent.com/u/53019676?v=4?s=100" width="100px;" alt="Kirk Waiblinger"/><br /><sub><b>Kirk Waiblinger</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3Akirkwaiblinger" title="Bug reports">🐛</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=kirkwaiblinger" title="Code">💻</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ajafff"><img src="https://avatars.githubusercontent.com/u/11968040?v=4?s=100" width="100px;" alt="Klaus Meinhardt"/><br /><sub><b>Klaus Meinhardt</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ajafff" title="Code">💻</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=ajafff" title="Tests">⚠️</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://webpro.nl"><img src="https://avatars.githubusercontent.com/u/456426?v=4?s=100" width="100px;" alt="Lars Kappert"/><br /><sub><b>Lars Kappert</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=webpro" title="Code">💻</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RebeccaStevens"><img src="https://avatars.githubusercontent.com/u/7224206?v=4?s=100" width="100px;" alt="Rebecca Stevens"/><br /><sub><b>Rebecca Stevens</b></sub></a><br /><a href="https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=author%3ARebeccaStevens" title="Bug reports">🐛</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens" title="Code">💻</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens" title="Documentation">📖</a> <a href="#projectManagement-RebeccaStevens" title="Project Management">📆</a> <a href="https://github.com/JoshuaKGoldberg/ts-api-utils/commits?author=RebeccaStevens" title="Tests">⚠️</a> <a href="#tool-RebeccaStevens" title="Tools">🔧</a> <a href="#infra-RebeccaStevens" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-RebeccaStevens" title="Maintenance">🚧</a> <a href="#ideas-RebeccaStevens" title="Ideas, Planning, & Feedback">🤔</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
<!-- spellchecker: enable -->
|
||||
<!-- markdownlint-restore -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
> 💙 This package was templated with [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app).
|
||||
|
||||
> _"My tools! I have to have my tools!" - Dennis Reynolds_
|
||||
2274
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs
generated
vendored
Normal file
2274
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.cjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
3003
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.cts
generated
vendored
Normal file
3003
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.cts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3003
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.ts
generated
vendored
Normal file
3003
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.d.ts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2078
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js
generated
vendored
Normal file
2078
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/lib/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
105
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json
generated
vendored
Normal file
105
node_modules/@typescript-eslint/eslint-plugin/node_modules/ts-api-utils/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"name": "ts-api-utils",
|
||||
"version": "2.0.0",
|
||||
"description": "Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/JoshuaKGoldberg/ts-api-utils"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
"name": "JoshuaKGoldberg",
|
||||
"email": "npm@joshuakgoldberg.com"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": {
|
||||
"import": "./lib/index.d.ts",
|
||||
"require": "./lib/index.d.cts"
|
||||
},
|
||||
"import": "./lib/index.js",
|
||||
"require": "./lib/index.cjs"
|
||||
}
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"files": [
|
||||
"lib/",
|
||||
"package.json",
|
||||
"LICENSE.md",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts",
|
||||
"docs": "typedoc",
|
||||
"docs:serve": "npx --yes http-server docs/generated",
|
||||
"format": "prettier \"**/*\" --ignore-unknown",
|
||||
"lint": "eslint . --max-warnings 0",
|
||||
"lint:docs": "typedoc --validation --treatValidationWarningsAsErrors",
|
||||
"lint:knip": "knip",
|
||||
"lint:knip:production": "knip --production",
|
||||
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
|
||||
"lint:packages": "pnpm dedupe --check",
|
||||
"lint:spelling": "cspell \"**\" \".github/**/*\"",
|
||||
"prepare": "husky",
|
||||
"should-semantic-release": "should-semantic-release --verbose",
|
||||
"test": "vitest",
|
||||
"tsc": "tsc"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "prettier --ignore-unknown --write"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
||||
"@eslint/js": "^9.15.0",
|
||||
"@phenomnomnominal/tsquery": "^6.1.3",
|
||||
"@release-it/conventional-changelog": "^9.0.3",
|
||||
"@types/eslint-plugin-markdown": "^2.0.2",
|
||||
"@types/node": "^18.19.65",
|
||||
"@typescript/vfs": "^1.6.0",
|
||||
"@vitest/coverage-v8": "^2.1.5",
|
||||
"@vitest/eslint-plugin": "^1.1.10",
|
||||
"console-fail-test": "^0.5.0",
|
||||
"cspell": "^8.16.0",
|
||||
"eslint": "^9.15.0",
|
||||
"eslint-plugin-jsdoc": "^50.5.0",
|
||||
"eslint-plugin-jsonc": "^2.18.2",
|
||||
"eslint-plugin-markdown": "^5.1.0",
|
||||
"eslint-plugin-n": "^17.14.0",
|
||||
"eslint-plugin-package-json": "^0.15.6",
|
||||
"eslint-plugin-perfectionist": "^4.1.2",
|
||||
"eslint-plugin-regexp": "^2.7.0",
|
||||
"eslint-plugin-yml": "^1.15.0",
|
||||
"husky": "^9.1.7",
|
||||
"jsonc-eslint-parser": "^2.4.0",
|
||||
"knip": "^5.37.2",
|
||||
"lint-staged": "^15.2.10",
|
||||
"markdownlint": "^0.36.1",
|
||||
"markdownlint-cli": "^0.43.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-curly": "^0.3.1",
|
||||
"prettier-plugin-packagejson": "^2.5.6",
|
||||
"release-it": "^17.10.0",
|
||||
"sentences-per-line": "^0.2.1",
|
||||
"should-semantic-release": "^0.3.0",
|
||||
"tsup": "^8.3.5",
|
||||
"typedoc": "^0.26.11",
|
||||
"typedoc-plugin-coverage": "^3.4.0",
|
||||
"typedoc-plugin-custom-validation": "^2.0.2",
|
||||
"typedoc-plugin-konamimojisplosion": "^0.0.2",
|
||||
"typedoc-plugin-mdn-links": "^4.0.1",
|
||||
"typescript": "^5.7.2",
|
||||
"typescript-eslint": "^8.16.0",
|
||||
"vitest": "^2.1.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": ">=4.8.4"
|
||||
},
|
||||
"packageManager": "pnpm@9.14.2",
|
||||
"engines": {
|
||||
"node": ">=18.12"
|
||||
},
|
||||
"publishConfig": {
|
||||
"provenance": true
|
||||
}
|
||||
}
|
||||
16
node_modules/@typescript-eslint/eslint-plugin/package.json
generated
vendored
16
node_modules/@typescript-eslint/eslint-plugin/package.json
generated
vendored
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/eslint-plugin",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.0",
|
||||
"description": "TypeScript plugin for ESLint",
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
@ -61,22 +61,22 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@eslint-community/regexpp": "^4.10.0",
|
||||
"@typescript-eslint/scope-manager": "8.19.0",
|
||||
"@typescript-eslint/type-utils": "8.19.0",
|
||||
"@typescript-eslint/utils": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0",
|
||||
"@typescript-eslint/scope-manager": "8.20.0",
|
||||
"@typescript-eslint/type-utils": "8.20.0",
|
||||
"@typescript-eslint/utils": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0",
|
||||
"graphemer": "^1.4.0",
|
||||
"ignore": "^5.3.1",
|
||||
"natural-compare": "^1.4.0",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
"ts-api-utils": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/types": "29.6.3",
|
||||
"@types/marked": "^5.0.2",
|
||||
"@types/mdast": "^4.0.3",
|
||||
"@types/natural-compare": "*",
|
||||
"@typescript-eslint/rule-schema-to-typescript-types": "8.19.0",
|
||||
"@typescript-eslint/rule-tester": "8.19.0",
|
||||
"@typescript-eslint/rule-schema-to-typescript-types": "8.20.0",
|
||||
"@typescript-eslint/rule-tester": "8.20.0",
|
||||
"ajv": "^6.12.6",
|
||||
"cross-env": "^7.0.3",
|
||||
"cross-fetch": "*",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/scope-manager",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.0",
|
||||
"description": "TypeScript scope analyser for ESLint",
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
@ -46,13 +46,13 @@
|
|||
"typecheck": "npx nx typecheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.19.0",
|
||||
"@typescript-eslint/visitor-keys": "8.19.0"
|
||||
"@typescript-eslint/types": "8.20.0",
|
||||
"@typescript-eslint/visitor-keys": "8.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@jest/types": "29.6.3",
|
||||
"@types/glob": "*",
|
||||
"@typescript-eslint/typescript-estree": "8.19.0",
|
||||
"@typescript-eslint/typescript-estree": "8.20.0",
|
||||
"glob": "*",
|
||||
"jest-specific-snapshot": "*",
|
||||
"make-dir": "*",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@typescript-eslint/types",
|
||||
"version": "8.19.0",
|
||||
"version": "8.20.0",
|
||||
"description": "Types for the TypeScript-ESTree AST spec",
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
||||
{"version":3,"file":"createIsolatedProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAStD;;GAEG;AACH,iBAAS,qBAAqB,CAC5B,aAAa,EAAE,aAAa,GAC3B,qBAAqB,CAoEvB;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
||||
|
|
@ -41,7 +41,7 @@ const debug_1 = __importDefault(require("debug"));
|
|||
const ts = __importStar(require("typescript"));
|
||||
const getScriptKind_1 = require("./getScriptKind");
|
||||
const shared_1 = require("./shared");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createIsolatedProgram');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createIsolatedProgram');
|
||||
/**
|
||||
* @returns Returns a new source file and program corresponding to the linted code
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFS,sDAAqB;AAtF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,2DAA2D,CAAC,CAAC;AAE/E;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAm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3,"file":"createIsolatedProgram.js","sourceRoot":"","sources":["../../src/create-program/createIsolatedProgram.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwFS,sDAAqB;AAxF9B,kDAA0B;AAC1B,+CAAiC;AAKjC,mDAAgD;AAChD,qCAAiE;AAEjE,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,0EAA0E,CAC3E,CAAC;AAEF;;GAEG;AACH,SAAS,qBAAqB,CAC5B,aAA4B;IAE5B,GAAG,CACD,6CAA6C,EAC7C,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAChC,aAAa,CAAC,QAAQ,CACvB,CAAC;IAEF,MAAM,YAAY,GAAoB;QACpC,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,oBAAoB;YAClB,OAAO,aAAa,CAAC,QAAQ,CAAC;QAChC,CAAC;QACD,mBAAmB;YACjB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,qBAAqB;YACnB,OAAO,UAAU,CAAC;QACpB,CAAC;QACD,cAAc;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,6BAA6B;QAC7B,UAAU;YACR,OAAO,IAAI,CAAC;QACd,CAAC;QACD,aAAa,CAAC,QAAgB;YAC5B,OAAO,EAAE,CAAC,gBAAgB,CACxB,QAAQ,EACR,aAAa,CAAC,YAAY,EAC1B,EAAE,CAAC,YAAY,CAAC,MAAM;YACtB,oBAAoB,CAAC,IAAI,EACzB,IAAA,6BAAa,EAAC,aAAa,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,CAAC,CACzD,CAAC;QACJ,CAAC;QACD,QAAQ;YACN,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,yBAAyB;YACvB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,SAAS;YACP,OAAO,IAAI,CAAC;QACd,CAAC;KACF,CAAC;IAEF,MAAM,OAAO,GAAG,EAAE,CAAC,aAAa,CAC9B,CAAC,aAAa,CAAC,QAAQ,CAAC,EACxB;QACE,gBAAgB,EAAE,aAAa,CAAC,gBAAgB;QAChD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;QACxD,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM;QAC9B,GAAG,IAAA,8CAAqC,EAAC,aAAa,CAAC;KACxD,EACD,YAAY,CACb,CAAC;IAEF,MAAM,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC;AAC1B,CAAC"}
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"}
|
||||
{"version":3,"file":"createProjectProgram.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAItC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAUtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,SAAS,EAAE,CAAC,OAAO,EAAE,GACzC,qBAAqB,CAcvB"}
|
||||
|
|
@ -8,7 +8,7 @@ const debug_1 = __importDefault(require("debug"));
|
|||
const node_utils_1 = require("../node-utils");
|
||||
const createProjectProgramError_1 = require("./createProjectProgramError");
|
||||
const shared_1 = require("./shared");
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:createProjectProgram');
|
||||
const log = (0, debug_1.default)('typescript-eslint:typescript-estree:create-program:createProjectProgram');
|
||||
/**
|
||||
* @param parseSettings Internal settings for parsing the file
|
||||
* @returns If found, the source file corresponding to the code and the containing program
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAiBA,oDAiBC;AAhCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,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"}
|
||||
{"version":3,"file":"createProjectProgram.js","sourceRoot":"","sources":["../../src/create-program/createProjectProgram.ts"],"names":[],"mappings":";;;;;AAmBA,oDAiBC;AAlCD,kDAA0B;AAK1B,8CAA6C;AAC7C,2EAAwE;AACxE,qCAA6C;AAE7C,MAAM,GAAG,GAAG,IAAA,eAAK,EACf,yEAAyE,CAC1E,CAAC;AAEF;;;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"}
|
||||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA2B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,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,CAoIxB"}
|
||||
{"version":3,"file":"createProjectService.d.ts","sourceRoot":"","sources":["../../src/create-program/createProjectService.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAI1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AA6B/D,MAAM,MAAM,wBAAwB,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,mBAAmB,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,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,CAoIxB"}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue