@depup/typescript-eslint__utils 8.58.1-depup.0 → 8.65.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.
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.58.1 |
17
- | Processed | 2026-04-08 |
16
+ | Original | [@typescript-eslint/utils](https://www.npmjs.com/package/@typescript-eslint/utils) @ 8.65.0 |
17
+ | Processed | 2026-07-21 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 0 |
20
20
 
package/changes.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bumped": {},
3
- "timestamp": "2026-04-08T04:54:25.535Z",
3
+ "timestamp": "2026-07-21T16:09:57.953Z",
4
4
  "totalUpdated": 0
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import type * as TSESLint from '../../ts-eslint';
2
2
  import type { TSESTree } from '../../ts-estree';
3
- declare const ReferenceTrackerREAD: unique symbol;
4
- declare const ReferenceTrackerCALL: unique symbol;
5
- declare const ReferenceTrackerCONSTRUCT: unique symbol;
6
- declare const ReferenceTrackerESM: unique symbol;
3
+ declare const ReferenceTrackerREAD: symbol;
4
+ declare const ReferenceTrackerCALL: symbol;
5
+ declare const ReferenceTrackerCONSTRUCT: symbol;
6
+ declare const ReferenceTrackerESM: symbol;
7
7
  interface ReferenceTracker {
8
8
  /**
9
9
  * Iterate the references that the given `traceMap` determined.
@@ -50,14 +50,10 @@ declare namespace ReferenceTracker {
50
50
  type CALL = ReferenceTrackerStatic['CALL'];
51
51
  type CONSTRUCT = ReferenceTrackerStatic['CONSTRUCT'];
52
52
  type ESM = ReferenceTrackerStatic['ESM'];
53
- type ReferenceType = CALL | CONSTRUCT | READ;
53
+ type ReferenceType = symbol;
54
54
  type TraceMap<T = any> = Record<string, TraceMapElement<T>>;
55
55
  interface TraceMapElement<T> {
56
56
  [key: string]: TraceMapElement<T>;
57
- [ReferenceTrackerCALL]?: T;
58
- [ReferenceTrackerCONSTRUCT]?: T;
59
- [ReferenceTrackerESM]?: true;
60
- [ReferenceTrackerREAD]?: T;
61
57
  }
62
58
  interface FoundReference<T = any> {
63
59
  info: T;
@@ -1,4 +1,8 @@
1
1
  import type { TSESTree } from '../ts-estree';
2
+ /**
3
+ * A regular expression to match line terminators.
4
+ * @see https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#prod-LineTerminator
5
+ */
2
6
  export declare const LINEBREAK_MATCHER: RegExp;
3
7
  /**
4
8
  * Determines whether two adjacent tokens are on the same line
@@ -2,6 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LINEBREAK_MATCHER = void 0;
4
4
  exports.isTokenOnSameLine = isTokenOnSameLine;
5
+ /**
6
+ * A regular expression to match line terminators.
7
+ * @see https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#prod-LineTerminator
8
+ */
5
9
  exports.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/;
6
10
  /**
7
11
  * Determines whether two adjacent tokens are on the same line
@@ -2,11 +2,11 @@ import type { TSESTree } from '../ts-estree';
2
2
  export declare const isOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is {
3
3
  value: "?.";
4
4
  } & TSESTree.PunctuatorToken;
5
- export declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PrivateIdentifierToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken;
5
+ export declare const isNotOptionalChainPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BlockComment | TSESTree.BooleanToken | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.LineComment | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PrivateIdentifierToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken;
6
6
  export declare const isNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is {
7
7
  value: "!";
8
8
  } & TSESTree.PunctuatorToken;
9
- export declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BooleanToken | TSESTree.BlockComment | TSESTree.LineComment | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PrivateIdentifierToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken;
9
+ export declare const isNotNonNullAssertionPunctuator: (token: TSESTree.Token | null | undefined) => token is TSESTree.BlockComment | TSESTree.BooleanToken | TSESTree.IdentifierToken | TSESTree.JSXIdentifierToken | TSESTree.JSXTextToken | TSESTree.KeywordToken | TSESTree.LineComment | TSESTree.NullToken | TSESTree.NumericToken | TSESTree.PrivateIdentifierToken | TSESTree.PunctuatorToken | TSESTree.RegularExpressionToken | TSESTree.StringToken | TSESTree.TemplateToken;
10
10
  /**
11
11
  * Returns true if and only if the node represents: foo?.() or foo.bar?.()
12
12
  */
@@ -25,10 +25,10 @@ export declare const isLogicalOrOperator: (node: TSESTree.Node | null | undefine
25
25
  * ```
26
26
  */
27
27
  export declare const isTypeAssertion: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSAsExpression | TSESTree.TSTypeAssertion;
28
- export declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit | TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator;
29
- export declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression;
30
- export declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName;
31
- export declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpression | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName;
28
+ export declare const isVariableDeclarator: (node: TSESTree.Node | null | undefined) => node is TSESTree.UsingInForOfDeclarator | TSESTree.UsingInNormalContextDeclarator | TSESTree.VariableDeclaratorDefiniteAssignment | TSESTree.VariableDeclaratorMaybeInit | TSESTree.VariableDeclaratorNoInit;
29
+ export declare const isFunction: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpressionWithBlockBody | TSESTree.ArrowFunctionExpressionWithExpressionBody | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression;
30
+ export declare const isFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName;
31
+ export declare const isFunctionOrFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.ArrowFunctionExpressionWithBlockBody | TSESTree.ArrowFunctionExpressionWithExpressionBody | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName | TSESTree.FunctionExpression | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSConstructorType | TSESTree.TSDeclareFunctionNoDeclare | TSESTree.TSDeclareFunctionWithDeclare | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSFunctionType | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName;
32
32
  export declare const isTSFunctionType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSFunctionType;
33
33
  export declare const isTSConstructorType: (node: TSESTree.Node | null | undefined) => node is TSESTree.TSConstructorType;
34
34
  export declare const isClassOrTypeElement: (node: TSESTree.Node | null | undefined) => node is TSESTree.FunctionExpression | TSESTree.MethodDefinitionComputedName | TSESTree.MethodDefinitionNonComputedName | TSESTree.PropertyDefinitionComputedName | TSESTree.PropertyDefinitionNonComputedName | TSESTree.TSAbstractMethodDefinitionComputedName | TSESTree.TSAbstractMethodDefinitionNonComputedName | TSESTree.TSAbstractPropertyDefinitionComputedName | TSESTree.TSAbstractPropertyDefinitionNonComputedName | TSESTree.TSCallSignatureDeclaration | TSESTree.TSConstructSignatureDeclaration | TSESTree.TSEmptyBodyFunctionExpression | TSESTree.TSIndexSignature | TSESTree.TSMethodSignatureComputedName | TSESTree.TSMethodSignatureNonComputedName | TSESTree.TSPropertySignatureComputedName | TSESTree.TSPropertySignatureNonComputedName;
@@ -98,7 +98,7 @@ export interface RuleMetaData<MessageIds extends string, PluginDocs = unknown, O
98
98
  hasSuggestions?: boolean;
99
99
  /**
100
100
  * A map of messages which the rule can report.
101
- * The key is the messageId, and the string is the parameterised error string.
101
+ * The key is the messageId, and the string is the parameterized error string.
102
102
  * See: https://eslint.org/docs/developer-guide/working-with-rules#messageids
103
103
  */
104
104
  messages: Record<MessageIds, string>;
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@depup/typescript-eslint__utils",
3
- "version": "8.58.1-depup.0",
3
+ "version": "8.65.0-depup.0",
4
4
  "description": "Utilities for working with TypeScript + ESLint together (with updated dependencies)",
5
5
  "files": [
6
6
  "dist",
7
- "!*.tsbuildinfo",
8
- "package.json",
9
- "README.md",
10
- "LICENSE",
11
- "changes.json"
7
+ "!**/*.tsbuildinfo",
8
+ "changes.json",
9
+ "README.md"
12
10
  ],
13
11
  "type": "commonjs",
14
12
  "exports": {
@@ -61,15 +59,16 @@
61
59
  ],
62
60
  "dependencies": {
63
61
  "@eslint-community/eslint-utils": "^4.9.1",
64
- "@typescript-eslint/scope-manager": "8.58.1",
65
- "@typescript-eslint/types": "8.58.1",
66
- "@typescript-eslint/typescript-estree": "8.58.1"
62
+ "@typescript-eslint/scope-manager": "8.65.0",
63
+ "@typescript-eslint/typescript-estree": "8.65.0",
64
+ "@typescript-eslint/types": "8.65.0"
67
65
  },
68
66
  "peerDependencies": {
69
67
  "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
70
68
  "typescript": ">=4.8.4 <6.1.0"
71
69
  },
72
70
  "devDependencies": {
71
+ "@typescript/native-preview": "7.0.0-dev.20260518.1",
73
72
  "@vitest/coverage-v8": "^4.0.18",
74
73
  "eslint": "^10.0.0",
75
74
  "rimraf": "^5.0.10",
@@ -95,12 +94,19 @@
95
94
  "{projectRoot}/dist"
96
95
  ]
97
96
  },
97
+ "typecheck:tsgo": {
98
+ "outputs": [
99
+ "{workspaceRoot}/dist",
100
+ "{projectRoot}/dist"
101
+ ]
102
+ },
98
103
  "test": {
99
104
  "dependsOn": [
100
105
  "^build",
101
106
  "typecheck"
102
107
  ]
103
- }
108
+ },
109
+ "attw-check": {}
104
110
  }
105
111
  },
106
112
  "scripts": {
@@ -109,14 +115,16 @@
109
115
  "format": "pnpm -w run format",
110
116
  "lint": "pnpm -w exec nx lint",
111
117
  "test": "pnpm -w exec nx test",
112
- "typecheck": "pnpm -w exec nx typecheck"
118
+ "typecheck": "pnpm -w exec nx typecheck",
119
+ "typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo",
120
+ "attw-check": "pnpm -w exec nx attw-check"
113
121
  },
114
122
  "depup": {
115
123
  "changes": {},
116
124
  "depsUpdated": 0,
117
125
  "originalPackage": "@typescript-eslint/utils",
118
- "originalVersion": "8.58.1",
119
- "processedAt": "2026-04-08T04:54:30.116Z",
126
+ "originalVersion": "8.65.0",
127
+ "processedAt": "2026-07-21T16:10:03.300Z",
120
128
  "smokeTest": "passed"
121
129
  }
122
130
  }