@depup/typescript-eslint__utils 8.67.0-depup.0 → 8.68.0-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +2 -2
  2. package/changes.json +1 -1
  3. package/dist/ast-utils/eslint-utils/PatternMatcher.js +1 -0
  4. package/dist/ast-utils/eslint-utils/ReferenceTracker.js +1 -0
  5. package/dist/ast-utils/eslint-utils/astUtilities.js +1 -0
  6. package/dist/ast-utils/eslint-utils/index.js +1 -0
  7. package/dist/ast-utils/eslint-utils/predicates.js +1 -0
  8. package/dist/ast-utils/eslint-utils/scopeAnalysis.js +1 -0
  9. package/dist/ast-utils/helpers.js +1 -0
  10. package/dist/ast-utils/index.js +1 -0
  11. package/dist/ast-utils/misc.js +1 -0
  12. package/dist/ast-utils/predicates.js +1 -0
  13. package/dist/eslint-utils/InferTypesFromRule.js +1 -0
  14. package/dist/eslint-utils/RuleCreator.js +1 -0
  15. package/dist/eslint-utils/applyDefault.js +1 -0
  16. package/dist/eslint-utils/deepMerge.js +1 -0
  17. package/dist/eslint-utils/getParserServices.js +1 -0
  18. package/dist/eslint-utils/index.js +1 -0
  19. package/dist/eslint-utils/nullThrows.js +1 -0
  20. package/dist/eslint-utils/parserSeemsToBeTSESLint.js +1 -0
  21. package/dist/index.js +1 -0
  22. package/dist/json-schema.js +1 -0
  23. package/dist/ts-eslint/AST.js +1 -0
  24. package/dist/ts-eslint/Config.js +1 -0
  25. package/dist/ts-eslint/ESLint.js +1 -0
  26. package/dist/ts-eslint/Linter.js +1 -0
  27. package/dist/ts-eslint/Parser.js +1 -0
  28. package/dist/ts-eslint/ParserOptions.js +1 -0
  29. package/dist/ts-eslint/Processor.js +1 -0
  30. package/dist/ts-eslint/Rule.d.ts +17 -0
  31. package/dist/ts-eslint/Rule.js +1 -0
  32. package/dist/ts-eslint/RuleTester.js +1 -0
  33. package/dist/ts-eslint/Scope.js +1 -0
  34. package/dist/ts-eslint/SourceCode.js +1 -0
  35. package/dist/ts-eslint/eslint/ESLintShared.js +1 -0
  36. package/dist/ts-eslint/eslint/FlatESLint.js +1 -0
  37. package/dist/ts-eslint/eslint/LegacyESLint.js +1 -0
  38. package/dist/ts-eslint/index.js +1 -0
  39. package/dist/ts-estree.js +1 -0
  40. package/dist/ts-utils/NoInfer.js +1 -0
  41. package/dist/ts-utils/index.js +1 -0
  42. package/dist/ts-utils/isArray.js +1 -0
  43. package/package.json +7 -6
package/README.md CHANGED
@@ -13,8 +13,8 @@ npm install @depup/typescript-eslint__utils
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [@typescript-eslint/utils](https://www.npmjs.com/package/@typescript-eslint/utils) @ 8.67.0 |
17
- | Processed | 2026-08-11 |
16
+ | Original | [@typescript-eslint/utils](https://www.npmjs.com/package/@typescript-eslint/utils) @ 8.68.0 |
17
+ | Processed | 2026-08-25 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 1 |
20
20
 
package/changes.json CHANGED
@@ -5,6 +5,6 @@
5
5
  "to": "^4.10.1"
6
6
  }
7
7
  },
8
- "timestamp": "2026-08-11T00:21:55.814Z",
8
+ "timestamp": "2026-08-25T00:16:14.370Z",
9
9
  "totalUpdated": 1
10
10
  }
@@ -42,3 +42,4 @@ const eslintUtils = __importStar(require("@eslint-community/eslint-utils"));
42
42
  * @see {@link https://eslint-community.github.io/eslint-utils/api/ast-utils.html#patternmatcher-class}
43
43
  */
44
44
  exports.PatternMatcher = eslintUtils.PatternMatcher;
45
+ //# sourceMappingURL=PatternMatcher.js.map
@@ -46,3 +46,4 @@ const ReferenceTrackerESM = eslintUtils.ReferenceTracker.ESM;
46
46
  * @see {@link https://eslint-community.github.io/eslint-utils/api/scope-utils.html#referencetracker-class}
47
47
  */
48
48
  exports.ReferenceTracker = eslintUtils.ReferenceTracker;
49
+ //# sourceMappingURL=ReferenceTracker.js.map
@@ -99,3 +99,4 @@ exports.getStringIfConstant = eslintUtils.getStringIfConstant;
99
99
  */
100
100
  exports.hasSideEffect = eslintUtils.hasSideEffect;
101
101
  exports.isParenthesized = eslintUtils.isParenthesized;
102
+ //# sourceMappingURL=astUtilities.js.map
@@ -19,3 +19,4 @@ __exportStar(require("./PatternMatcher"), exports);
19
19
  __exportStar(require("./predicates"), exports);
20
20
  __exportStar(require("./ReferenceTracker"), exports);
21
21
  __exportStar(require("./scopeAnalysis"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -57,3 +57,4 @@ exports.isOpeningParenToken = eslintUtils.isOpeningParenToken;
57
57
  exports.isNotOpeningParenToken = eslintUtils.isNotOpeningParenToken;
58
58
  exports.isSemicolonToken = eslintUtils.isSemicolonToken;
59
59
  exports.isNotSemicolonToken = eslintUtils.isNotSemicolonToken;
60
+ //# sourceMappingURL=predicates.js.map
@@ -49,3 +49,4 @@ exports.findVariable = eslintUtils.findVariable;
49
49
  * If such scope doesn't exist then it returns the 1st argument `initialScope`.
50
50
  */
51
51
  exports.getInnermostScope = eslintUtils.getInnermostScope;
52
+ //# sourceMappingURL=scopeAnalysis.js.map
@@ -19,3 +19,4 @@ const isTokenOfTypeWithConditions = (tokenType, conditions) => {
19
19
  exports.isTokenOfTypeWithConditions = isTokenOfTypeWithConditions;
20
20
  const isNotTokenOfTypeWithConditions = (tokenType, conditions) => (token) => !(0, exports.isTokenOfTypeWithConditions)(tokenType, conditions)(token);
21
21
  exports.isNotTokenOfTypeWithConditions = isNotTokenOfTypeWithConditions;
22
+ //# sourceMappingURL=helpers.js.map
@@ -18,3 +18,4 @@ __exportStar(require("./eslint-utils"), exports);
18
18
  __exportStar(require("./helpers"), exports);
19
19
  __exportStar(require("./misc"), exports);
20
20
  __exportStar(require("./predicates"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -13,3 +13,4 @@ exports.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/;
13
13
  function isTokenOnSameLine(left, right) {
14
14
  return left.loc.end.line === right.loc.start.line;
15
15
  }
16
+ //# sourceMappingURL=misc.js.map
@@ -106,3 +106,4 @@ exports.isLoop = (0, helpers_1.isNodeOfTypes)([
106
106
  ts_estree_1.AST_NODE_TYPES.ForOfStatement,
107
107
  ts_estree_1.AST_NODE_TYPES.WhileStatement,
108
108
  ]);
109
+ //# sourceMappingURL=predicates.js.map
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=InferTypesFromRule.js.map
@@ -52,3 +52,4 @@ defaultOptions, meta, name, }) {
52
52
  RuleCreator.withoutDocs = function withoutDocs(args) {
53
53
  return createRule(args);
54
54
  };
55
+ //# sourceMappingURL=RuleCreator.js.map
@@ -31,3 +31,4 @@ function applyDefault(defaultOptions, userOptions) {
31
31
  });
32
32
  return options;
33
33
  }
34
+ //# sourceMappingURL=applyDefault.js.map
@@ -44,3 +44,4 @@ function deepMerge(first = {}, second = {}) {
44
44
  return [key, value];
45
45
  }));
46
46
  }
47
+ //# sourceMappingURL=deepMerge.js.map
@@ -39,3 +39,4 @@ function throwError(parser) {
39
39
  ].filter(Boolean);
40
40
  throw new Error(messages.join('\n'));
41
41
  }
42
+ //# sourceMappingURL=getParserServices.js.map
@@ -20,3 +20,4 @@ __exportStar(require("./getParserServices"), exports);
20
20
  __exportStar(require("./InferTypesFromRule"), exports);
21
21
  __exportStar(require("./nullThrows"), exports);
22
22
  __exportStar(require("./RuleCreator"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -19,3 +19,4 @@ function nullThrows(value, message) {
19
19
  }
20
20
  return value;
21
21
  }
22
+ //# sourceMappingURL=nullThrows.js.map
@@ -4,3 +4,4 @@ exports.parserSeemsToBeTSESLint = parserSeemsToBeTSESLint;
4
4
  function parserSeemsToBeTSESLint(parser) {
5
5
  return !!parser && /(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(parser);
6
6
  }
7
+ //# sourceMappingURL=parserSeemsToBeTSESLint.js.map
package/dist/index.js CHANGED
@@ -43,3 +43,4 @@ exports.JSONSchema = __importStar(require("./json-schema"));
43
43
  exports.TSESLint = __importStar(require("./ts-eslint"));
44
44
  __exportStar(require("./ts-estree"), exports);
45
45
  exports.TSUtils = __importStar(require("./ts-utils"));
46
+ //# sourceMappingURL=index.js.map
@@ -6,3 +6,4 @@
6
6
  * - We want to provide stricter types
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
+ //# sourceMappingURL=json-schema.js.map
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  /* eslint-disable @typescript-eslint/no-namespace, no-restricted-syntax */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=AST.js.map
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  /* eslint-disable @typescript-eslint/consistent-indexed-object-style, @typescript-eslint/no-namespace */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Config.js.map
@@ -11,3 +11,4 @@ var LegacyESLint_1 = require("./eslint/LegacyESLint");
11
11
  * @deprecated - use ESLint instead
12
12
  */
13
13
  Object.defineProperty(exports, "LegacyESLint", { enumerable: true, get: function () { return LegacyESLint_1.LegacyESLint; } });
14
+ //# sourceMappingURL=ESLint.js.map
@@ -11,3 +11,4 @@ const eslint_1 = require("eslint");
11
11
  class Linter extends eslint_1.Linter {
12
12
  }
13
13
  exports.Linter = Linter;
14
+ //# sourceMappingURL=Linter.js.map
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  /* eslint-disable @typescript-eslint/no-namespace */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Parser.js.map
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ParserOptions.js.map
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  /* eslint-disable @typescript-eslint/no-namespace */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=Processor.js.map
@@ -23,6 +23,14 @@ export interface RuleMetaDataDocs {
23
23
  * Mark this rule as feature-frozen.
24
24
  */
25
25
  frozen?: boolean;
26
+ /**
27
+ * The dialects of the languages that the rule is intended to lint.
28
+ * @example
29
+ * ["JavaScript", "TypeScript"]
30
+ *
31
+ * since ESLint 10.2.0
32
+ */
33
+ dialects?: string[] | undefined;
26
34
  }
27
35
  export interface ExternalSpecifier {
28
36
  /**
@@ -96,6 +104,15 @@ export interface RuleMetaData<MessageIds extends string, PluginDocs = unknown, O
96
104
  * Specifies whether rules can return suggestions. Omit if there is no suggestions
97
105
  */
98
106
  hasSuggestions?: boolean;
107
+ /**
108
+ * Languages supported by this rule in the format `"plugin/language"`.
109
+ * Use `"*"` for any language or `"plugin/*"` for any language from a specific plugin.
110
+ * @example
111
+ * ["js/js", "markdown/gfm", "json/jsonc", "css/css"]
112
+ *
113
+ * since ESLint 10.2.0
114
+ */
115
+ languages?: string[] | undefined;
99
116
  /**
100
117
  * A map of messages which the rule can report.
101
118
  * The key is the messageId, and the string is the parameterized error string.
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Rule.js.map
@@ -9,3 +9,4 @@ const eslint_1 = require("eslint");
9
9
  class RuleTester extends eslint_1.RuleTester {
10
10
  }
11
11
  exports.RuleTester = RuleTester;
12
+ //# sourceMappingURL=RuleTester.js.map
@@ -41,3 +41,4 @@ var Scope;
41
41
  Scope.ScopeType = scopeManager.ScopeType;
42
42
  Scope.DefinitionType = scopeManager.DefinitionType;
43
43
  })(Scope || (exports.Scope = Scope = {}));
44
+ //# sourceMappingURL=Scope.js.map
@@ -6,3 +6,4 @@ const eslint_1 = require("eslint");
6
6
  class SourceCode extends eslint_1.SourceCode {
7
7
  }
8
8
  exports.SourceCode = SourceCode;
9
+ //# sourceMappingURL=SourceCode.js.map
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ESLintShared.js.map
@@ -17,3 +17,4 @@ class FlatESLint extends (use_at_your_own_risk_1.default.FlatESLint ??
17
17
  eslint_1.ESLint) {
18
18
  }
19
19
  exports.FlatESLint = FlatESLint;
20
+ //# sourceMappingURL=FlatESLint.js.map
@@ -34,3 +34,4 @@ class LegacyESLint extends (use_at_your_own_risk_1.default.LegacyESLint ??
34
34
  MissingLegacyESLint) {
35
35
  }
36
36
  exports.LegacyESLint = LegacyESLint;
37
+ //# sourceMappingURL=LegacyESLint.js.map
@@ -25,3 +25,4 @@ __exportStar(require("./Rule"), exports);
25
25
  __exportStar(require("./RuleTester"), exports);
26
26
  __exportStar(require("./Scope"), exports);
27
27
  __exportStar(require("./SourceCode"), exports);
28
+ //# sourceMappingURL=index.js.map
package/dist/ts-estree.js CHANGED
@@ -7,3 +7,4 @@ var types_1 = require("@typescript-eslint/types");
7
7
  Object.defineProperty(exports, "AST_NODE_TYPES", { enumerable: true, get: function () { return types_1.AST_NODE_TYPES; } });
8
8
  Object.defineProperty(exports, "AST_TOKEN_TYPES", { enumerable: true, get: function () { return types_1.AST_TOKEN_TYPES; } });
9
9
  Object.defineProperty(exports, "TSESTree", { enumerable: true, get: function () { return types_1.TSESTree; } });
10
+ //# sourceMappingURL=ts-estree.js.map
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NoInfer.js.map
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./isArray"), exports);
18
18
  __exportStar(require("./NoInfer"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -5,3 +5,4 @@ exports.isArray = isArray;
5
5
  function isArray(arg) {
6
6
  return Array.isArray(arg);
7
7
  }
8
+ //# sourceMappingURL=isArray.js.map
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@depup/typescript-eslint__utils",
3
- "version": "8.67.0-depup.0",
3
+ "version": "8.68.0-depup.0",
4
4
  "description": "Utilities for working with TypeScript + ESLint together (with updated dependencies)",
5
5
  "files": [
6
6
  "dist",
7
+ "!**/*.js.map",
7
8
  "!**/*.tsbuildinfo",
8
9
  "changes.json",
9
10
  "README.md"
@@ -59,9 +60,9 @@
59
60
  ],
60
61
  "dependencies": {
61
62
  "@eslint-community/eslint-utils": "^4.10.1",
62
- "@typescript-eslint/scope-manager": "8.67.0",
63
- "@typescript-eslint/typescript-estree": "8.67.0",
64
- "@typescript-eslint/types": "8.67.0"
63
+ "@typescript-eslint/scope-manager": "8.68.0",
64
+ "@typescript-eslint/types": "8.68.0",
65
+ "@typescript-eslint/typescript-estree": "8.68.0"
65
66
  },
66
67
  "peerDependencies": {
67
68
  "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
@@ -128,8 +129,8 @@
128
129
  },
129
130
  "depsUpdated": 1,
130
131
  "originalPackage": "@typescript-eslint/utils",
131
- "originalVersion": "8.67.0",
132
- "processedAt": "2026-08-11T00:22:06.039Z",
132
+ "originalVersion": "8.68.0",
133
+ "processedAt": "2026-08-25T00:16:19.927Z",
133
134
  "smokeTest": "passed"
134
135
  }
135
136
  }