@depup/typescript-eslint__parser 8.57.2-depup.0 → 8.58.1-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__parser
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser) @ 8.57.2 |
17
- | Processed | 2026-03-23 |
16
+ | Original | [@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser) @ 8.58.1 |
17
+ | Processed | 2026-04-08 |
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-03-23T20:17:11.327Z",
3
+ "timestamp": "2026-04-08T04:54:17.947Z",
4
4
  "totalUpdated": 0
5
5
  }
package/dist/parser.js CHANGED
@@ -24,8 +24,11 @@ function getLib(compilerOptions) {
24
24
  .map(lib => LIB_FILENAME_REGEX.exec(lib.toLowerCase())?.[1])
25
25
  .filter((lib) => !!lib);
26
26
  }
27
- const target = compilerOptions.target ?? typescript_1.ScriptTarget.ES5;
28
- // https://github.com/microsoft/TypeScript/blob/ae582a22ee1bb052e19b7c1bc4cac60509b574e0/src/compiler/utilitiesPublic.ts#L13-L36
27
+ const defaultTarget = typescript_estree_1.typescriptVersionIsAtLeast['6.0']
28
+ ? typescript_1.ScriptTarget.LatestStandard
29
+ : typescript_1.ScriptTarget.ES5; // eslint-disable-line @typescript-eslint/no-deprecated -- Deprecated in TS 6 but we support TS < 6
30
+ const target = compilerOptions.target ?? defaultTarget;
31
+ // https://github.com/microsoft/TypeScript/blob/35ff23d4b0cc715691323ebe54f523c16fe6e3a5/src/compiler/utilitiesPublic.ts#L312-L346
29
32
  switch (target) {
30
33
  case typescript_1.ScriptTarget.ES2015:
31
34
  return ['es6'];
@@ -47,6 +50,8 @@ function getLib(compilerOptions) {
47
50
  return ['es2023.full'];
48
51
  case typescript_1.ScriptTarget.ES2024:
49
52
  return ['es2024.full'];
53
+ case typescript_1.ScriptTarget.ES2025:
54
+ return ['es2025.full'];
50
55
  case typescript_1.ScriptTarget.ESNext:
51
56
  return ['esnext.full'];
52
57
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depup/typescript-eslint__parser",
3
- "version": "8.57.2-depup.0",
3
+ "version": "8.58.1-depup.0",
4
4
  "description": "An ESLint custom parser which leverages TypeScript ESTree (with updated dependencies)",
5
5
  "files": [
6
6
  "dist",
@@ -47,21 +47,21 @@
47
47
  ],
48
48
  "peerDependencies": {
49
49
  "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
50
- "typescript": ">=4.8.4 <6.0.0"
50
+ "typescript": ">=4.8.4 <6.1.0"
51
51
  },
52
52
  "dependencies": {
53
53
  "debug": "^4.4.3",
54
- "@typescript-eslint/scope-manager": "8.57.2",
55
- "@typescript-eslint/types": "8.57.2",
56
- "@typescript-eslint/typescript-estree": "8.57.2",
57
- "@typescript-eslint/visitor-keys": "8.57.2"
54
+ "@typescript-eslint/scope-manager": "8.58.1",
55
+ "@typescript-eslint/typescript-estree": "8.58.1",
56
+ "@typescript-eslint/types": "8.58.1",
57
+ "@typescript-eslint/visitor-keys": "8.58.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@vitest/coverage-v8": "^4.0.18",
61
61
  "eslint": "^10.0.0",
62
62
  "glob": "^11.1.0",
63
63
  "rimraf": "^5.0.10",
64
- "typescript": ">=4.8.4 <6.0.0",
64
+ "typescript": ">=4.8.4 <6.1.0",
65
65
  "vitest": "^4.0.18"
66
66
  },
67
67
  "funding": {
@@ -91,8 +91,8 @@
91
91
  "changes": {},
92
92
  "depsUpdated": 0,
93
93
  "originalPackage": "@typescript-eslint/parser",
94
- "originalVersion": "8.57.2",
95
- "processedAt": "2026-03-23T20:17:23.397Z",
94
+ "originalVersion": "8.58.1",
95
+ "processedAt": "2026-04-08T04:54:25.395Z",
96
96
  "smokeTest": "passed"
97
97
  }
98
98
  }