Bump the npm group with 4 updates (#2103)

* Bump the npm group with 4 updates

Bumps the npm group with 4 updates: [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [nock](https://github.com/nock/nock).


Updates `@types/uuid` from 9.0.7 to 9.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

Updates `@typescript-eslint/eslint-plugin` from 6.19.1 to 6.20.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.19.1 to 6.20.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.20.0/packages/parser)

Updates `nock` from 13.5.0 to 13.5.1
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/compare/v13.5.0...v13.5.1)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: npm
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: npm
- dependency-name: nock
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: npm
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update checked-in dependencies

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-01-30 06:30:22 -08:00 committed by GitHub
parent 202c383f78
commit eab49d76a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 379 additions and 310 deletions

96
node_modules/.package-lock.json generated vendored
View file

@ -955,21 +955,21 @@
} }
}, },
"node_modules/@types/uuid": { "node_modules/@types/uuid": {
"version": "9.0.7", "version": "9.0.8",
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.7.tgz", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz",
"integrity": "sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==" "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="
}, },
"node_modules/@typescript-eslint/eslint-plugin": { "node_modules/@typescript-eslint/eslint-plugin": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz",
"integrity": "sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==", "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/regexpp": "^4.5.1", "@eslint-community/regexpp": "^4.5.1",
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/type-utils": "6.19.1", "@typescript-eslint/type-utils": "6.20.0",
"@typescript-eslint/utils": "6.19.1", "@typescript-eslint/utils": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"graphemer": "^1.4.0", "graphemer": "^1.4.0",
"ignore": "^5.2.4", "ignore": "^5.2.4",
@ -995,15 +995,15 @@
} }
}, },
"node_modules/@typescript-eslint/parser": { "node_modules/@typescript-eslint/parser": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz",
"integrity": "sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==", "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4" "debug": "^4.3.4"
}, },
"engines": { "engines": {
@ -1023,13 +1023,13 @@
} }
}, },
"node_modules/@typescript-eslint/scope-manager": { "node_modules/@typescript-eslint/scope-manager": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz",
"integrity": "sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==", "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1" "@typescript-eslint/visitor-keys": "6.20.0"
}, },
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^16.0.0 || >=18.0.0"
@ -1040,13 +1040,13 @@
} }
}, },
"node_modules/@typescript-eslint/type-utils": { "node_modules/@typescript-eslint/type-utils": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz",
"integrity": "sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==", "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"@typescript-eslint/utils": "6.19.1", "@typescript-eslint/utils": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"ts-api-utils": "^1.0.1" "ts-api-utils": "^1.0.1"
}, },
@ -1067,9 +1067,9 @@
} }
}, },
"node_modules/@typescript-eslint/types": { "node_modules/@typescript-eslint/types": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz",
"integrity": "sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==", "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^16.0.0 || >=18.0.0"
@ -1080,13 +1080,13 @@
} }
}, },
"node_modules/@typescript-eslint/typescript-estree": { "node_modules/@typescript-eslint/typescript-estree": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz",
"integrity": "sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==", "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"globby": "^11.1.0", "globby": "^11.1.0",
"is-glob": "^4.0.3", "is-glob": "^4.0.3",
@ -1132,17 +1132,17 @@
} }
}, },
"node_modules/@typescript-eslint/utils": { "node_modules/@typescript-eslint/utils": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz",
"integrity": "sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==", "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12", "@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0", "@types/semver": "^7.5.0",
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"semver": "^7.5.4" "semver": "^7.5.4"
}, },
"engines": { "engines": {
@ -1157,12 +1157,12 @@
} }
}, },
"node_modules/@typescript-eslint/visitor-keys": { "node_modules/@typescript-eslint/visitor-keys": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz",
"integrity": "sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==", "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"eslint-visitor-keys": "^3.4.1" "eslint-visitor-keys": "^3.4.1"
}, },
"engines": { "engines": {
@ -4564,9 +4564,9 @@
} }
}, },
"node_modules/nock": { "node_modules/nock": {
"version": "13.5.0", "version": "13.5.1",
"resolved": "https://registry.npmjs.org/nock/-/nock-13.5.0.tgz", "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.1.tgz",
"integrity": "sha512-9hc1eCS2HtOz+sE9W7JQw/tXJktg0zoPSu48s/pYe73e25JW9ywiowbqnUSd7iZPeVawLcVpPZeZS312fwSY+g==", "integrity": "sha512-+s7b73fzj5KnxbKH4Oaqz07tQ8degcMilU4rrmnKvI//b0JMBU4wEXFQ8zqr+3+L4eWSfU3H/UoIVGUV0tue1Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"debug": "^4.1.0", "debug": "^4.1.0",

2
node_modules/@types/uuid/README.md generated vendored
View file

@ -8,7 +8,7 @@ This package contains type definitions for uuid (https://github.com/uuidjs/uuid)
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid. Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid.
### Additional Details ### Additional Details
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT * Last updated: Thu, 25 Jan 2024 23:07:19 GMT
* Dependencies: none * Dependencies: none
# Credits # Credits

View file

@ -8,3 +8,5 @@ export import version = uuid.version;
export import validate = uuid.validate; export import validate = uuid.validate;
export import stringify = uuid.stringify; export import stringify = uuid.stringify;
export import parse = uuid.parse; export import parse = uuid.parse;
export import V1Options = uuid.V1Options;
export import V4Options = uuid.V4Options;

View file

@ -1,6 +1,6 @@
{ {
"name": "@types/uuid", "name": "@types/uuid",
"version": "9.0.7", "version": "9.0.8",
"description": "TypeScript definitions for uuid", "description": "TypeScript definitions for uuid",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid",
"license": "MIT", "license": "MIT",
@ -49,6 +49,6 @@
}, },
"scripts": {}, "scripts": {},
"dependencies": {}, "dependencies": {},
"typesPublisherContentHash": "71fc550147b942c5824c8f2b1b9d6788b5342357a90b8f7d76e60260d05180c0", "typesPublisherContentHash": "ee6ba7ad17fbbead7a508faf213a9ad0f49c12929e8c6b0f05fb35129bc72d61",
"typeScriptVersion": "4.5" "typeScriptVersion": "4.6"
} }

View file

@ -32,7 +32,7 @@ exports.default = (0, util_1.createRule)({
}, },
ignoreOverrideMethods: { ignoreOverrideMethods: {
type: 'boolean', type: 'boolean',
description: 'Ingore members marked with the `override` modifier', description: 'Ignore members marked with the `override` modifier',
}, },
ignoreClassesThatImplementAnInterface: { ignoreClassesThatImplementAnInterface: {
oneOf: [ oneOf: [

View file

@ -49,7 +49,7 @@ exports.default = (0, util_1.createRule)({
type: 'boolean', type: 'boolean',
}, },
allowTypedFunctionExpressions: { allowTypedFunctionExpressions: {
description: 'Whether to ignore type annotations on the variable of a function expresion.', description: 'Whether to ignore type annotations on the variable of a function expression.',
type: 'boolean', type: 'boolean',
}, },
}, },

File diff suppressed because one or more lines are too long

View file

@ -537,7 +537,9 @@ exports.default = (0, util_1.createRule)({
}, },
defaultOptions: [ defaultOptions: [
{ {
default: exports.defaultOrder, default: {
memberTypes: exports.defaultOrder,
},
}, },
], ],
create(context, [options]) { create(context, [options]) {

File diff suppressed because one or more lines are too long

View file

@ -57,6 +57,17 @@ exports.default = (0, util_1.createRule)({
} }
return isString(type); return isString(type);
} }
function isLiteral(expression) {
return expression.type === utils_1.AST_NODE_TYPES.Literal;
}
function isInfinityIdentifier(expression) {
return (expression.type === utils_1.AST_NODE_TYPES.Identifier &&
expression.name === 'Infinity');
}
function isNaNIdentifier(expression) {
return (expression.type === utils_1.AST_NODE_TYPES.Identifier &&
expression.name === 'NaN');
}
return { return {
TemplateLiteral(node) { TemplateLiteral(node) {
if (node.parent.type === utils_1.AST_NODE_TYPES.TaggedTemplateExpression) { if (node.parent.type === utils_1.AST_NODE_TYPES.TaggedTemplateExpression) {
@ -88,9 +99,11 @@ exports.default = (0, util_1.createRule)({
}); });
return; return;
} }
const literalsOrUndefinedExpressions = node.expressions.filter((expression) => expression.type === utils_1.AST_NODE_TYPES.Literal || const fixableExpressions = node.expressions.filter((expression) => isLiteral(expression) ||
(0, util_1.isUndefinedIdentifier)(expression)); (0, util_1.isUndefinedIdentifier)(expression) ||
literalsOrUndefinedExpressions.forEach(expression => { isInfinityIdentifier(expression) ||
isNaNIdentifier(expression));
fixableExpressions.forEach(expression => {
context.report({ context.report({
node: expression, node: expression,
messageId: 'noUselessTemplateLiteral', messageId: 'noUselessTemplateLiteral',
@ -109,11 +122,9 @@ exports.default = (0, util_1.createRule)({
nextQuasi.range[0] + 1, nextQuasi.range[0] + 1,
]), ]),
]; ];
// Remove quotes for string literals (i.e. `'a'` will become `a`). const stringValue = (0, util_1.getStaticStringValue)(expression);
const isStringLiteral = isUnderlyingTypeString(expression) && if (stringValue != null) {
expression.type === utils_1.AST_NODE_TYPES.Literal; const escapedValue = stringValue.replace(/([`$\\])/g, '\\$1');
if (isStringLiteral) {
const escapedValue = expression.value.replace(/([`$\\])/g, '\\$1');
fixes.push(fixer.replaceText(expression, escapedValue)); fixes.push(fixer.replaceText(expression, escapedValue));
} }
return fixes; return fixes;

View file

@ -1 +1 @@
{"version":3,"file":"no-useless-template-literals.js","sourceRoot":"","sources":["../../src/rules/no-useless-template-literals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAMiB;AAIjB,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,YAAY;QAClB,I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C,UAAU,CAAC,CAAC;4BACnD,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;4BACrC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;4BAEzC,uEAAuE;4BACvE,MAAM,KAAK,GAAG;gCACZ,KAAK,CAAC,WAAW,CAAC;oCAChB,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;oCACtB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;iCACpB,CAAC;gCAEF,KAAK,CAAC,WAAW,CAAC;oCAChB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;oCACnB,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC;iCACvB,CAAC;6BACH,CAAC;4BAEF,kEAAkE;4BAClE,MAAM,eAAe,GACnB,sBAAsB,CAAC,UAAU,CAAC;gCAClC,UAAU,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,CAAC;4BAE7C,IAAI,eAAe,EAAE,CAAC;gCACpB,MAAM,YAAY,GAAG,UAAU,CAAC,KAAK,CAAC,OAAO,CAC3C,WAAW,EACX,MAAM,CACP,CAAC;gCAEF,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC;4BAC1D,CAAC;4BAED,OAAO,KAAK,CAAC;wBACf,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"} {"version":3,"file":"no-useless-template-literals.js","sourceRoot":"","sources":["../../src/rules/no-useless-template-literals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAA0D;AAC1D,+CAAiC;AAEjC,kCAOiB;AAIjB,kBAAe,IAAA,iBAAU,EAAgB;IACvC,IAAI,EAAE,8BAA8B;IACpC,IAAI,EAAE;QACJ,OA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KAAK,CAAC,WAAW,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC;4BAC1D,CAAC;4BAED,OAAO,KAAK,CAAC;wBACf,CAAC;qBACF,CAAC,CAAC;gBACL,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}

View file

@ -350,7 +350,7 @@ function verifyForAlways(context, prevNode, nextNode, paddingLines) {
} }
return true; return true;
}, },
}) || nextNode; }) ?? nextNode;
const insertText = (0, util_1.isTokenOnSameLine)(prevToken, nextToken) const insertText = (0, util_1.isTokenOnSameLine)(prevToken, nextToken)
? '\n\n' ? '\n\n'
: '\n'; : '\n';

View file

@ -240,7 +240,7 @@ exports.default = (0, util_1.createRule)({
'LogicalExpression[operator = "||"]'(node) { 'LogicalExpression[operator = "||"]'(node) {
const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node); const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node);
const type = checker.getTypeAtLocation(tsNode.left); const type = checker.getTypeAtLocation(tsNode.left);
if (!(0, util_1.isNullableType)(type)) { if (!(0, util_1.isTypeFlagSet)(type, ts.TypeFlags.Null | ts.TypeFlags.Undefined)) {
return; return;
} }
if (ignoreConditionalTests === true && isConditionalTest(node)) { if (ignoreConditionalTests === true && isConditionalTest(node)) {

File diff suppressed because one or more lines are too long

View file

@ -211,7 +211,7 @@ class ClassScope {
addDeclaredVariable(node) { addDeclaredVariable(node) {
if (!(tsutils.isModifierFlagSet(node, ts.ModifierFlags.Private) || if (!(tsutils.isModifierFlagSet(node, ts.ModifierFlags.Private) ||
node.name.kind === ts.SyntaxKind.PrivateIdentifier) || node.name.kind === ts.SyntaxKind.PrivateIdentifier) ||
tsutils.isModifierFlagSet(node, ts.ModifierFlags.Readonly) || tsutils.isModifierFlagSet(node, ts.ModifierFlags.Accessor | ts.ModifierFlags.Readonly) ||
ts.isComputedPropertyName(node.name)) { ts.isComputedPropertyName(node.name)) {
return; return;
} }

File diff suppressed because one or more lines are too long

View file

@ -222,7 +222,7 @@ exports.default = (0, util_1.createRule)({
return true; return true;
} }
} }
return typeContainsTypeParameter(type.typeAnnotation || return typeContainsTypeParameter(type.typeAnnotation ??
type.elementType); type.elementType);
} }
} }
@ -308,7 +308,7 @@ exports.default = (0, util_1.createRule)({
function addOverload(signature, key, containingNode) { function addOverload(signature, key, containingNode) {
key ??= getOverloadKey(signature); key ??= getOverloadKey(signature);
if (currentScope && if (currentScope &&
(containingNode || signature).parent === currentScope.parent) { (containingNode ?? signature).parent === currentScope.parent) {
const overloads = currentScope.overloads.get(key); const overloads = currentScope.overloads.get(key);
if (overloads !== undefined) { if (overloads !== undefined) {
overloads.push(signature); overloads.push(signature);

View file

@ -25,7 +25,7 @@ type OrderConfig = MemberType[] | SortedOrderConfig | 'never';
interface SortedOrderConfig { interface SortedOrderConfig {
memberTypes?: MemberType[] | 'never'; memberTypes?: MemberType[] | 'never';
optionalityOrder?: 'optional-first' | 'required-first'; optionalityOrder?: 'optional-first' | 'required-first';
order: order?:
| 'alphabetically' | 'alphabetically'
| 'alphabetically-case-insensitive' | 'alphabetically-case-insensitive'
| 'as-written' | 'as-written'
@ -80,176 +80,178 @@ The default configuration looks as follows:
```jsonc ```jsonc
{ {
"default": [ "default": {
// Index signature "memberTypes": [
"signature", // Index signature
"call-signature", "signature",
"call-signature",
// Fields // Fields
"public-static-field", "public-static-field",
"protected-static-field", "protected-static-field",
"private-static-field", "private-static-field",
"#private-static-field", "#private-static-field",
"public-decorated-field", "public-decorated-field",
"protected-decorated-field", "protected-decorated-field",
"private-decorated-field", "private-decorated-field",
"public-instance-field", "public-instance-field",
"protected-instance-field", "protected-instance-field",
"private-instance-field", "private-instance-field",
"#private-instance-field", "#private-instance-field",
"public-abstract-field", "public-abstract-field",
"protected-abstract-field", "protected-abstract-field",
"public-field", "public-field",
"protected-field", "protected-field",
"private-field", "private-field",
"#private-field", "#private-field",
"static-field", "static-field",
"instance-field", "instance-field",
"abstract-field", "abstract-field",
"decorated-field", "decorated-field",
"field", "field",
// Static initialization // Static initialization
"static-initialization", "static-initialization",
// Constructors // Constructors
"public-constructor", "public-constructor",
"protected-constructor", "protected-constructor",
"private-constructor", "private-constructor",
"constructor", "constructor",
// Accessors // Accessors
"public-static-accessor", "public-static-accessor",
"protected-static-accessor", "protected-static-accessor",
"private-static-accessor", "private-static-accessor",
"#private-static-accessor", "#private-static-accessor",
"public-decorated-accessor", "public-decorated-accessor",
"protected-decorated-accessor", "protected-decorated-accessor",
"private-decorated-accessor", "private-decorated-accessor",
"public-instance-accessor", "public-instance-accessor",
"protected-instance-accessor", "protected-instance-accessor",
"private-instance-accessor", "private-instance-accessor",
"#private-instance-accessor", "#private-instance-accessor",
"public-abstract-accessor", "public-abstract-accessor",
"protected-abstract-accessor", "protected-abstract-accessor",
"public-accessor", "public-accessor",
"protected-accessor", "protected-accessor",
"private-accessor", "private-accessor",
"#private-accessor", "#private-accessor",
"static-accessor", "static-accessor",
"instance-accessor", "instance-accessor",
"abstract-accessor", "abstract-accessor",
"decorated-accessor", "decorated-accessor",
"accessor", "accessor",
// Getters // Getters
"public-static-get", "public-static-get",
"protected-static-get", "protected-static-get",
"private-static-get", "private-static-get",
"#private-static-get", "#private-static-get",
"public-decorated-get", "public-decorated-get",
"protected-decorated-get", "protected-decorated-get",
"private-decorated-get", "private-decorated-get",
"public-instance-get", "public-instance-get",
"protected-instance-get", "protected-instance-get",
"private-instance-get", "private-instance-get",
"#private-instance-get", "#private-instance-get",
"public-abstract-get", "public-abstract-get",
"protected-abstract-get", "protected-abstract-get",
"public-get", "public-get",
"protected-get", "protected-get",
"private-get", "private-get",
"#private-get", "#private-get",
"static-get", "static-get",
"instance-get", "instance-get",
"abstract-get", "abstract-get",
"decorated-get", "decorated-get",
"get", "get",
// Setters // Setters
"public-static-set", "public-static-set",
"protected-static-set", "protected-static-set",
"private-static-set", "private-static-set",
"#private-static-set", "#private-static-set",
"public-decorated-set", "public-decorated-set",
"protected-decorated-set", "protected-decorated-set",
"private-decorated-set", "private-decorated-set",
"public-instance-set", "public-instance-set",
"protected-instance-set", "protected-instance-set",
"private-instance-set", "private-instance-set",
"#private-instance-set", "#private-instance-set",
"public-abstract-set", "public-abstract-set",
"protected-abstract-set", "protected-abstract-set",
"public-set", "public-set",
"protected-set", "protected-set",
"private-set", "private-set",
"#private-set", "#private-set",
"static-set", "static-set",
"instance-set", "instance-set",
"abstract-set", "abstract-set",
"decorated-set", "decorated-set",
"set", "set",
// Methods // Methods
"public-static-method", "public-static-method",
"protected-static-method", "protected-static-method",
"private-static-method", "private-static-method",
"#private-static-method", "#private-static-method",
"public-decorated-method", "public-decorated-method",
"protected-decorated-method", "protected-decorated-method",
"private-decorated-method", "private-decorated-method",
"public-instance-method", "public-instance-method",
"protected-instance-method", "protected-instance-method",
"private-instance-method", "private-instance-method",
"#private-instance-method", "#private-instance-method",
"public-abstract-method", "public-abstract-method",
"protected-abstract-method", "protected-abstract-method",
"public-method", "public-method",
"protected-method", "protected-method",
"private-method", "private-method",
"#private-method", "#private-method",
"static-method", "static-method",
"instance-method", "instance-method",
"abstract-method", "abstract-method",
"decorated-method", "decorated-method",
"method" "method"
] ]
}
} }
``` ```
@ -792,7 +794,8 @@ type Foo = {
#### Sorting Alphabetically Within Member Groups #### Sorting Alphabetically Within Member Groups
This config specifies that within each `memberTypes` group, members are in an alphabetic case-sensitive order. This config specifies that within each `memberTypes` group, members are in an alphabetic case-sensitive order.
You can copy and paste the default order from [Default Configuration](#default-configuration). The default member order will be applied if `memberTypes` is not specified.
You can see the default order in [Default Configuration](#default-configuration).
```jsonc ```jsonc
// .eslintrc.json // .eslintrc.json
@ -802,9 +805,6 @@ You can copy and paste the default order from [Default Configuration](#default-c
"error", "error",
{ {
"default": { "default": {
"memberTypes": [
/* <Default Order> */
],
"order": "alphabetically" "order": "alphabetically"
} }
} }
@ -817,7 +817,7 @@ You can copy and paste the default order from [Default Configuration](#default-c
##### ❌ Incorrect ##### ❌ Incorrect
```ts option='{"default":{"memberTypes":["signature","call-signature","public-static-field","protected-static-field","private-static-field","#private-static-field","public-decorated-field","protected-decorated-field","private-decorated-field","public-instance-field","protected-instance-field","private-instance-field","#private-instance-field","public-abstract-field","protected-abstract-field","public-field","protected-field","private-field","#private-field","static-field","instance-field","abstract-field","decorated-field","field","static-initialization","public-constructor","protected-constructor","private-constructor","constructor","public-static-get","protected-static-get","private-static-get","#private-static-get","public-decorated-get","protected-decorated-get","private-decorated-get","public-instance-get","protected-instance-get","private-instance-get","#private-instance-get","public-abstract-get","protected-abstract-get","public-get","protected-get","private-get","#private-get","static-get","instance-get","abstract-get","decorated-get","get","public-static-set","protected-static-set","private-static-set","#private-static-set","public-decorated-set","protected-decorated-set","private-decorated-set","public-instance-set","protected-instance-set","private-instance-set","#private-instance-set","public-abstract-set","protected-abstract-set","public-set","protected-set","private-set","#private-set","static-set","instance-set","abstract-set","decorated-set","set","public-static-method","protected-static-method","private-static-method","#private-static-method","public-decorated-method","protected-decorated-method","private-decorated-method","public-instance-method","protected-instance-method","private-instance-method","#private-instance-method","public-abstract-method","protected-abstract-method","public-method","protected-method","private-method","#private-method","static-method","instance-method","abstract-method","decorated-method","method"],"order":"alphabetically"}}' ```ts option='{"default":{"order":"alphabetically"}}'
interface Foo { interface Foo {
a: x; a: x;
B: x; B: x;
@ -831,7 +831,7 @@ interface Foo {
##### ✅ Correct ##### ✅ Correct
```ts option='{"default":{"memberTypes":["signature","call-signature","public-static-field","protected-static-field","private-static-field","#private-static-field","public-decorated-field","protected-decorated-field","private-decorated-field","public-instance-field","protected-instance-field","private-instance-field","#private-instance-field","public-abstract-field","protected-abstract-field","public-field","protected-field","private-field","#private-field","static-field","instance-field","abstract-field","decorated-field","field","static-initialization","public-constructor","protected-constructor","private-constructor","constructor","public-static-get","protected-static-get","private-static-get","#private-static-get","public-decorated-get","protected-decorated-get","private-decorated-get","public-instance-get","protected-instance-get","private-instance-get","#private-instance-get","public-abstract-get","protected-abstract-get","public-get","protected-get","private-get","#private-get","static-get","instance-get","abstract-get","decorated-get","get","public-static-set","protected-static-set","private-static-set","#private-static-set","public-decorated-set","protected-decorated-set","private-decorated-set","public-instance-set","protected-instance-set","private-instance-set","#private-instance-set","public-abstract-set","protected-abstract-set","public-set","protected-set","private-set","#private-set","static-set","instance-set","abstract-set","decorated-set","set","public-static-method","protected-static-method","private-static-method","#private-static-method","public-decorated-method","protected-decorated-method","private-decorated-method","public-instance-method","protected-instance-method","private-instance-method","#private-instance-method","public-abstract-method","protected-abstract-method","public-method","protected-method","private-method","#private-method","static-method","instance-method","abstract-method","decorated-method","method"],"order":"alphabetically"}}' ```ts option='{"default":{"order":"alphabetically"}}'
interface Foo { interface Foo {
B: x; B: x;
a: x; a: x;
@ -843,10 +843,62 @@ interface Foo {
} }
``` ```
#### Sorting Alphabetically Case Insensitive Within Member Groups #### Sorting Alphabetically Within Custom Member Groups
This config specifies that within each `memberTypes` group, members are in an alphabetic case-insensitive order. This config specifies that within each custom `memberTypes` group, members are in an alphabetic case-sensitive order.
You can copy and paste the default order from [Default Configuration](#default-configuration).
```jsonc
// .eslintrc.json
{
"rules": {
"@typescript-eslint/member-ordering": [
"error",
{
"default": {
"memberTypes": ["method", "field"],
"order": "alphabetically"
}
}
]
}
}
```
<!--tabs-->
##### ❌ Incorrect
```ts option='{"default":{"memberTypes":["method","field"],"order":"alphabetically"}}'
interface Foo {
B(): void;
c(): void;
a(): void;
a: x;
B: x;
c: x;
}
```
##### ✅ Correct
```ts option='{"default":{"memberTypes":["method","field"],"order":"alphabetically"}}'
interface Foo {
B(): void;
a(): void;
c(): void;
B: x;
a: x;
c: x;
}
```
#### Sorting Alphabetically Case Insensitive Within Member Groups
This config specifies that within each `memberTypes` group, members are in an alphabetic case-insensitive order.
The default member order will be applied if `memberTypes` is not specified.
You can see the default order in [Default Configuration](#default-configuration).
```jsonc ```jsonc
// .eslintrc.json // .eslintrc.json
@ -856,9 +908,6 @@ You can copy and paste the default order from [Default Configuration](#default-c
"error", "error",
{ {
"default": { "default": {
"memberTypes": [
/* <Default Order> */
],
"order": "alphabetically-case-insensitive" "order": "alphabetically-case-insensitive"
} }
} }
@ -871,7 +920,7 @@ You can copy and paste the default order from [Default Configuration](#default-c
##### ❌ Incorrect ##### ❌ Incorrect
```ts option='{"default":{"memberTypes":["signature","call-signature","public-static-field","protected-static-field","private-static-field","#private-static-field","public-decorated-field","protected-decorated-field","private-decorated-field","public-instance-field","protected-instance-field","private-instance-field","#private-instance-field","public-abstract-field","protected-abstract-field","public-field","protected-field","private-field","#private-field","static-field","instance-field","abstract-field","decorated-field","field","static-initialization","public-constructor","protected-constructor","private-constructor","constructor","public-static-get","protected-static-get","private-static-get","#private-static-get","public-decorated-get","protected-decorated-get","private-decorated-get","public-instance-get","protected-instance-get","private-instance-get","#private-instance-get","public-abstract-get","protected-abstract-get","public-get","protected-get","private-get","#private-get","static-get","instance-get","abstract-get","decorated-get","get","public-static-set","protected-static-set","private-static-set","#private-static-set","public-decorated-set","protected-decorated-set","private-decorated-set","public-instance-set","protected-instance-set","private-instance-set","#private-instance-set","public-abstract-set","protected-abstract-set","public-set","protected-set","private-set","#private-set","static-set","instance-set","abstract-set","decorated-set","set","public-static-method","protected-static-method","private-static-method","#private-static-method","public-decorated-method","protected-decorated-method","private-decorated-method","public-instance-method","protected-instance-method","private-instance-method","#private-instance-method","public-abstract-method","protected-abstract-method","public-method","protected-method","private-method","#private-method","static-method","instance-method","abstract-method","decorated-method","method"],"order":"alphabetically-case-insensitive"}}' ```ts option='{"default":{"order":"alphabetically-case-insensitive"}}'
interface Foo { interface Foo {
B: x; B: x;
a: x; a: x;
@ -885,7 +934,7 @@ interface Foo {
##### ✅ Correct ##### ✅ Correct
```ts option='{"default":{"memberTypes":["signature","call-signature","public-static-field","protected-static-field","private-static-field","#private-static-field","public-decorated-field","protected-decorated-field","private-decorated-field","public-instance-field","protected-instance-field","private-instance-field","#private-instance-field","public-abstract-field","protected-abstract-field","public-field","protected-field","private-field","#private-field","static-field","instance-field","abstract-field","decorated-field","field","static-initialization","public-constructor","protected-constructor","private-constructor","constructor","public-static-get","protected-static-get","private-static-get","#private-static-get","public-decorated-get","protected-decorated-get","private-decorated-get","public-instance-get","protected-instance-get","private-instance-get","#private-instance-get","public-abstract-get","protected-abstract-get","public-get","protected-get","private-get","#private-get","static-get","instance-get","abstract-get","decorated-get","get","public-static-set","protected-static-set","private-static-set","#private-static-set","public-decorated-set","protected-decorated-set","private-decorated-set","public-instance-set","protected-instance-set","private-instance-set","#private-instance-set","public-abstract-set","protected-abstract-set","public-set","protected-set","private-set","#private-set","static-set","instance-set","abstract-set","decorated-set","set","public-static-method","protected-static-method","private-static-method","#private-static-method","public-decorated-method","protected-decorated-method","private-decorated-method","public-instance-method","protected-instance-method","private-instance-method","#private-instance-method","public-abstract-method","protected-abstract-method","public-method","protected-method","private-method","#private-method","static-method","instance-method","abstract-method","decorated-method","method"],"order":"alphabetically-case-insensitive"}}' ```ts option='{"default":{"order":"alphabetically-case-insensitive"}}'
interface Foo { interface Foo {
a: x; a: x;
B: x; B: x;

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/eslint-plugin", "name": "@typescript-eslint/eslint-plugin",
"version": "6.19.1", "version": "6.20.0",
"description": "TypeScript plugin for ESLint", "description": "TypeScript plugin for ESLint",
"files": [ "files": [
"dist", "dist",
@ -57,10 +57,10 @@
}, },
"dependencies": { "dependencies": {
"@eslint-community/regexpp": "^4.5.1", "@eslint-community/regexpp": "^4.5.1",
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/type-utils": "6.19.1", "@typescript-eslint/type-utils": "6.20.0",
"@typescript-eslint/utils": "6.19.1", "@typescript-eslint/utils": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"graphemer": "^1.4.0", "graphemer": "^1.4.0",
"ignore": "^5.2.4", "ignore": "^5.2.4",
@ -73,8 +73,8 @@
"@types/debug": "*", "@types/debug": "*",
"@types/marked": "*", "@types/marked": "*",
"@types/natural-compare": "*", "@types/natural-compare": "*",
"@typescript-eslint/rule-schema-to-typescript-types": "6.19.1", "@typescript-eslint/rule-schema-to-typescript-types": "6.20.0",
"@typescript-eslint/rule-tester": "6.19.1", "@typescript-eslint/rule-tester": "6.20.0",
"ajv": "^6.12.6", "ajv": "^6.12.6",
"chalk": "^5.3.0", "chalk": "^5.3.0",
"cross-fetch": "*", "cross-fetch": "*",

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/parser", "name": "@typescript-eslint/parser",
"version": "6.19.1", "version": "6.20.0",
"description": "An ESLint custom parser which leverages TypeScript ESTree", "description": "An ESLint custom parser which leverages TypeScript ESTree",
"files": [ "files": [
"dist", "dist",
@ -51,10 +51,10 @@
"eslint": "^7.0.0 || ^8.0.0" "eslint": "^7.0.0 || ^8.0.0"
}, },
"dependencies": { "dependencies": {
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4" "debug": "^4.3.4"
}, },
"devDependencies": { "devDependencies": {

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/scope-manager", "name": "@typescript-eslint/scope-manager",
"version": "6.19.1", "version": "6.20.0",
"description": "TypeScript scope analyser for ESLint", "description": "TypeScript scope analyser for ESLint",
"files": [ "files": [
"dist", "dist",
@ -44,13 +44,13 @@
"typecheck": "npx nx typecheck" "typecheck": "npx nx typecheck"
}, },
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1" "@typescript-eslint/visitor-keys": "6.20.0"
}, },
"devDependencies": { "devDependencies": {
"@prettier/sync": "*", "@prettier/sync": "*",
"@types/glob": "*", "@types/glob": "*",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"glob": "*", "glob": "*",
"jest-specific-snapshot": "*", "jest-specific-snapshot": "*",
"make-dir": "*", "make-dir": "*",

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/type-utils", "name": "@typescript-eslint/type-utils",
"version": "6.19.1", "version": "6.20.0",
"description": "Type utilities for working with TypeScript + ESLint together", "description": "Type utilities for working with TypeScript + ESLint together",
"files": [ "files": [
"dist", "dist",
@ -45,13 +45,13 @@
"typecheck": "tsc -p tsconfig.json --noEmit" "typecheck": "tsc -p tsconfig.json --noEmit"
}, },
"dependencies": { "dependencies": {
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"@typescript-eslint/utils": "6.19.1", "@typescript-eslint/utils": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"ts-api-utils": "^1.0.1" "ts-api-utils": "^1.0.1"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/parser": "6.19.1", "@typescript-eslint/parser": "6.20.0",
"ajv": "^6.10.0", "ajv": "^6.10.0",
"downlevel-dts": "*", "downlevel-dts": "*",
"jest": "29.7.0", "jest": "29.7.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/types", "name": "@typescript-eslint/types",
"version": "6.19.1", "version": "6.20.0",
"description": "Types for the TypeScript-ESTree AST spec", "description": "Types for the TypeScript-ESTree AST spec",
"files": [ "files": [
"dist", "dist",

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/typescript-estree", "name": "@typescript-eslint/typescript-estree",
"version": "6.19.1", "version": "6.20.0",
"description": "A parser that converts TypeScript source code into an ESTree compatible form", "description": "A parser that converts TypeScript source code into an ESTree compatible form",
"files": [ "files": [
"dist", "dist",
@ -52,8 +52,8 @@
"typecheck": "tsc -p tsconfig.json --noEmit" "typecheck": "tsc -p tsconfig.json --noEmit"
}, },
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"globby": "^11.1.0", "globby": "^11.1.0",
"is-glob": "^4.0.3", "is-glob": "^4.0.3",

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/utils", "name": "@typescript-eslint/utils",
"version": "6.19.1", "version": "6.20.0",
"description": "Utilities for working with TypeScript + ESLint together", "description": "Utilities for working with TypeScript + ESLint together",
"files": [ "files": [
"dist", "dist",
@ -68,16 +68,16 @@
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12", "@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0", "@types/semver": "^7.5.0",
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"semver": "^7.5.4" "semver": "^7.5.4"
}, },
"peerDependencies": { "peerDependencies": {
"eslint": "^7.0.0 || ^8.0.0" "eslint": "^7.0.0 || ^8.0.0"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/parser": "6.19.1", "@typescript-eslint/parser": "6.20.0",
"downlevel-dts": "*", "downlevel-dts": "*",
"jest": "29.7.0", "jest": "29.7.0",
"prettier": "^3.0.3", "prettier": "^3.0.3",

View file

@ -1,6 +1,6 @@
{ {
"name": "@typescript-eslint/visitor-keys", "name": "@typescript-eslint/visitor-keys",
"version": "6.19.1", "version": "6.20.0",
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
"files": [ "files": [
"dist", "dist",
@ -45,7 +45,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit" "typecheck": "tsc -p tsconfig.json --noEmit"
}, },
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"eslint-visitor-keys": "^3.4.1" "eslint-visitor-keys": "^3.4.1"
}, },
"devDependencies": { "devDependencies": {

6
node_modules/nock/README.md generated vendored
View file

@ -66,6 +66,7 @@ For instance, if a module performs HTTP requests to a CouchDB server or makes HT
- [.pendingMocks()](#pendingmocks) - [.pendingMocks()](#pendingmocks)
- [.activeMocks()](#activemocks) - [.activeMocks()](#activemocks)
- [.isActive()](#isactive) - [.isActive()](#isactive)
- [.clone()](#clone)
- [Restoring](#restoring) - [Restoring](#restoring)
- [Activating](#activating) - [Activating](#activating)
- [Turning Nock Off (experimental!)](#turning-nock-off-experimental) - [Turning Nock Off (experimental!)](#turning-nock-off-experimental)
@ -89,6 +90,8 @@ For instance, if a module performs HTTP requests to a CouchDB server or makes HT
- [Options](#options-1) - [Options](#options-1)
- [Example](#example) - [Example](#example)
- [Modes](#modes) - [Modes](#modes)
- [Verifying recorded fixtures](#verifying-recorded-fixtures)
- [Example](#example-1)
- [Common issues](#common-issues) - [Common issues](#common-issues)
- [Axios](#axios) - [Axios](#axios)
- [Memory issues with Jest](#memory-issues-with-jest) - [Memory issues with Jest](#memory-issues-with-jest)
@ -1693,6 +1696,9 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/all-contri
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Beretta1979"><img src="https://avatars.githubusercontent.com/u/10073962?v=4?s=100" width="100px;" alt="Sébastien Van Bruaene"/><br /><sub><b>Sébastien Van Bruaene</b></sub></a><br /><a href="https://github.com/nock/nock/commits?author=Beretta1979" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=Beretta1979" title="Tests">⚠️</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Beretta1979"><img src="https://avatars.githubusercontent.com/u/10073962?v=4?s=100" width="100px;" alt="Sébastien Van Bruaene"/><br /><sub><b>Sébastien Van Bruaene</b></sub></a><br /><a href="https://github.com/nock/nock/commits?author=Beretta1979" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=Beretta1979" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Uzlopak"><img src="https://avatars.githubusercontent.com/u/5059100?v=4?s=100" width="100px;" alt="Aras Abbasi"/><br /><sub><b>Aras Abbasi</b></sub></a><br /><a href="https://github.com/nock/nock/commits?author=Uzlopak" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=Uzlopak" title="Tests">⚠️</a> <a href="#maintenance-Uzlopak" title="Maintenance">🚧</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Uzlopak"><img src="https://avatars.githubusercontent.com/u/5059100?v=4?s=100" width="100px;" alt="Aras Abbasi"/><br /><sub><b>Aras Abbasi</b></sub></a><br /><a href="https://github.com/nock/nock/commits?author=Uzlopak" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=Uzlopak" title="Tests">⚠️</a> <a href="#maintenance-Uzlopak" title="Maintenance">🚧</a></td>
</tr> </tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rsaryev"><img src="https://avatars.githubusercontent.com/u/70219513?v=4?s=100" width="100px;" alt="Saryev Rustam"/><br /><sub><b>Saryev Rustam</b></sub></a><br /><a href="https://github.com/nock/nock/commits?author=rsaryev" title="Code">💻</a> <a href="https://github.com/nock/nock/commits?author=rsaryev" title="Tests">⚠️</a></td>
</tr>
</tbody> </tbody>
</table> </table>

5
node_modules/nock/lib/common.js generated vendored
View file

@ -70,10 +70,7 @@ function overrideRequests(newRequest) {
debug('- overriding request for', proto) debug('- overriding request for', proto)
const moduleName = proto // 1 to 1 match of protocol and module is fortunate :) const moduleName = proto // 1 to 1 match of protocol and module is fortunate :)
const module = { const module = require(proto)
http: require('http'),
https: require('https'),
}[moduleName]
const overriddenRequest = module.request const overriddenRequest = module.request
const overriddenGet = module.get const overriddenGet = module.get

4
node_modules/nock/lib/intercept.js generated vendored
View file

@ -370,8 +370,6 @@ function activate() {
throw new Error('Nock already active') throw new Error('Nock already active')
} }
overrideClientRequest()
// ----- Overriding http.request and https.request: // ----- Overriding http.request and https.request:
common.overrideRequests(function (proto, overriddenRequest, args) { common.overrideRequests(function (proto, overriddenRequest, args) {
@ -435,6 +433,8 @@ function activate() {
} }
} }
}) })
overrideClientRequest()
} }
module.exports = { module.exports = {

6
node_modules/nock/package.json generated vendored
View file

@ -7,7 +7,7 @@
"testing", "testing",
"isolation" "isolation"
], ],
"version": "13.5.0", "version": "13.5.1",
"author": "Pedro Teixeira <pedro.teixeira@gmail.com>", "author": "Pedro Teixeira <pedro.teixeira@gmail.com>",
"repository": { "repository": {
"type": "git", "type": "git",
@ -41,6 +41,7 @@
"eslint-plugin-promise": "^6.0.0", "eslint-plugin-promise": "^6.0.0",
"form-data": "^4.0.0", "form-data": "^4.0.0",
"got": "^11.3.0", "got": "^11.3.0",
"jest": "^29.7.0",
"mocha": "^9.1.3", "mocha": "^9.1.3",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"nyc": "^15.0.0", "nyc": "^15.0.0",
@ -60,7 +61,8 @@
"lint:js:fix": "eslint --cache --cache-location './.cache/eslint' --fix '**/*.js'", "lint:js:fix": "eslint --cache --cache-location './.cache/eslint' --fix '**/*.js'",
"lint:ts": "dtslint --expectOnly types", "lint:ts": "dtslint --expectOnly types",
"test": "nyc --reporter=lcov --reporter=text mocha --recursive tests", "test": "nyc --reporter=lcov --reporter=text mocha --recursive tests",
"test:coverage": "open coverage/lcov-report/index.html" "test:coverage": "open coverage/lcov-report/index.html",
"test:jest": "jest tests_jest --detectLeaks"
}, },
"license": "MIT", "license": "MIT",
"files": [ "files": [

104
package-lock.json generated
View file

@ -20,7 +20,7 @@
"@octokit/plugin-retry": "^5.0.2", "@octokit/plugin-retry": "^5.0.2",
"@octokit/types": "^12.4.0", "@octokit/types": "^12.4.0",
"@schemastore/package": "0.0.10", "@schemastore/package": "0.0.10",
"@types/uuid": "^9.0.7", "@types/uuid": "^9.0.8",
"adm-zip": "^0.5.10", "adm-zip": "^0.5.10",
"check-disk-space": "^3.4.0", "check-disk-space": "^3.4.0",
"console-log-level": "^1.4.1", "console-log-level": "^1.4.1",
@ -45,8 +45,8 @@
"@types/node": "20.9.0", "@types/node": "20.9.0",
"@types/semver": "^7.5.6", "@types/semver": "^7.5.6",
"@types/sinon": "^17.0.3", "@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.19.1", "@typescript-eslint/parser": "^6.20.0",
"ava": "^5.3.1", "ava": "^5.3.1",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
@ -55,7 +55,7 @@
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-async-foreach": "^0.1.1", "eslint-plugin-no-async-foreach": "^0.1.1",
"micromatch": "4.0.5", "micromatch": "4.0.5",
"nock": "^13.5.0", "nock": "^13.5.1",
"removeNPMAbsolutePaths": "3.0.1", "removeNPMAbsolutePaths": "3.0.1",
"sinon": "^17.0.1", "sinon": "^17.0.1",
"typescript": "^5.3.3" "typescript": "^5.3.3"
@ -1012,21 +1012,21 @@
} }
}, },
"node_modules/@types/uuid": { "node_modules/@types/uuid": {
"version": "9.0.7", "version": "9.0.8",
"resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.7.tgz", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz",
"integrity": "sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==" "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA=="
}, },
"node_modules/@typescript-eslint/eslint-plugin": { "node_modules/@typescript-eslint/eslint-plugin": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz",
"integrity": "sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==", "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/regexpp": "^4.5.1", "@eslint-community/regexpp": "^4.5.1",
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/type-utils": "6.19.1", "@typescript-eslint/type-utils": "6.20.0",
"@typescript-eslint/utils": "6.19.1", "@typescript-eslint/utils": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"graphemer": "^1.4.0", "graphemer": "^1.4.0",
"ignore": "^5.2.4", "ignore": "^5.2.4",
@ -1052,15 +1052,15 @@
} }
}, },
"node_modules/@typescript-eslint/parser": { "node_modules/@typescript-eslint/parser": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz",
"integrity": "sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==", "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4" "debug": "^4.3.4"
}, },
"engines": { "engines": {
@ -1080,13 +1080,13 @@
} }
}, },
"node_modules/@typescript-eslint/scope-manager": { "node_modules/@typescript-eslint/scope-manager": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz",
"integrity": "sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==", "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1" "@typescript-eslint/visitor-keys": "6.20.0"
}, },
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^16.0.0 || >=18.0.0"
@ -1097,13 +1097,13 @@
} }
}, },
"node_modules/@typescript-eslint/type-utils": { "node_modules/@typescript-eslint/type-utils": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz",
"integrity": "sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==", "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"@typescript-eslint/utils": "6.19.1", "@typescript-eslint/utils": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"ts-api-utils": "^1.0.1" "ts-api-utils": "^1.0.1"
}, },
@ -1124,9 +1124,9 @@
} }
}, },
"node_modules/@typescript-eslint/types": { "node_modules/@typescript-eslint/types": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz",
"integrity": "sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==", "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": "^16.0.0 || >=18.0.0" "node": "^16.0.0 || >=18.0.0"
@ -1137,13 +1137,13 @@
} }
}, },
"node_modules/@typescript-eslint/typescript-estree": { "node_modules/@typescript-eslint/typescript-estree": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz",
"integrity": "sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==", "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/visitor-keys": "6.19.1", "@typescript-eslint/visitor-keys": "6.20.0",
"debug": "^4.3.4", "debug": "^4.3.4",
"globby": "^11.1.0", "globby": "^11.1.0",
"is-glob": "^4.0.3", "is-glob": "^4.0.3",
@ -1189,17 +1189,17 @@
} }
}, },
"node_modules/@typescript-eslint/utils": { "node_modules/@typescript-eslint/utils": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz",
"integrity": "sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==", "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
"@types/json-schema": "^7.0.12", "@types/json-schema": "^7.0.12",
"@types/semver": "^7.5.0", "@types/semver": "^7.5.0",
"@typescript-eslint/scope-manager": "6.19.1", "@typescript-eslint/scope-manager": "6.20.0",
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"@typescript-eslint/typescript-estree": "6.19.1", "@typescript-eslint/typescript-estree": "6.20.0",
"semver": "^7.5.4" "semver": "^7.5.4"
}, },
"engines": { "engines": {
@ -1214,12 +1214,12 @@
} }
}, },
"node_modules/@typescript-eslint/visitor-keys": { "node_modules/@typescript-eslint/visitor-keys": {
"version": "6.19.1", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz",
"integrity": "sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==", "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@typescript-eslint/types": "6.19.1", "@typescript-eslint/types": "6.20.0",
"eslint-visitor-keys": "^3.4.1" "eslint-visitor-keys": "^3.4.1"
}, },
"engines": { "engines": {
@ -4621,9 +4621,9 @@
} }
}, },
"node_modules/nock": { "node_modules/nock": {
"version": "13.5.0", "version": "13.5.1",
"resolved": "https://registry.npmjs.org/nock/-/nock-13.5.0.tgz", "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.1.tgz",
"integrity": "sha512-9hc1eCS2HtOz+sE9W7JQw/tXJktg0zoPSu48s/pYe73e25JW9ywiowbqnUSd7iZPeVawLcVpPZeZS312fwSY+g==", "integrity": "sha512-+s7b73fzj5KnxbKH4Oaqz07tQ8degcMilU4rrmnKvI//b0JMBU4wEXFQ8zqr+3+L4eWSfU3H/UoIVGUV0tue1Q==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"debug": "^4.1.0", "debug": "^4.1.0",

View file

@ -32,7 +32,7 @@
"@octokit/plugin-retry": "^5.0.2", "@octokit/plugin-retry": "^5.0.2",
"@octokit/types": "^12.4.0", "@octokit/types": "^12.4.0",
"@schemastore/package": "0.0.10", "@schemastore/package": "0.0.10",
"@types/uuid": "^9.0.7", "@types/uuid": "^9.0.8",
"adm-zip": "^0.5.10", "adm-zip": "^0.5.10",
"check-disk-space": "^3.4.0", "check-disk-space": "^3.4.0",
"console-log-level": "^1.4.1", "console-log-level": "^1.4.1",
@ -60,8 +60,8 @@
"@types/node": "20.9.0", "@types/node": "20.9.0",
"@types/semver": "^7.5.6", "@types/semver": "^7.5.6",
"@types/sinon": "^17.0.3", "@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.19.1", "@typescript-eslint/parser": "^6.20.0",
"ava": "^5.3.1", "ava": "^5.3.1",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
@ -70,7 +70,7 @@
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-no-async-foreach": "^0.1.1", "eslint-plugin-no-async-foreach": "^0.1.1",
"micromatch": "4.0.5", "micromatch": "4.0.5",
"nock": "^13.5.0", "nock": "^13.5.1",
"removeNPMAbsolutePaths": "3.0.1", "removeNPMAbsolutePaths": "3.0.1",
"sinon": "^17.0.1", "sinon": "^17.0.1",
"typescript": "^5.3.3" "typescript": "^5.3.3"