@typescript-eslint/scope-manager 8.64.1-alpha.3 → 8.64.1-alpha.5

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.
@@ -26,9 +26,9 @@ class FunctionScope extends ScopeBase_1.ScopeBase {
26
26
  }
27
27
  const bodyStart = this.block.body?.range[0] ?? -1;
28
28
  // It's invalid resolution in the following case:
29
- return !((variable.scope === this &&
29
+ return !(variable.scope === this &&
30
30
  ref.identifier.range[0] < bodyStart && // the reference is in the parameter part.
31
- variable.defs.every(d => d.name.range[0] >= bodyStart)) // the variable is in the body.
31
+ variable.defs.every(d => d.name.range[0] >= bodyStart) // the variable is in the body.
32
32
  );
33
33
  }
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/scope-manager",
3
- "version": "8.64.1-alpha.3",
3
+ "version": "8.64.1-alpha.5",
4
4
  "description": "TypeScript scope analyser for ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -34,8 +34,8 @@
34
34
  "estree"
35
35
  ],
36
36
  "dependencies": {
37
- "@typescript-eslint/visitor-keys": "8.64.1-alpha.3",
38
- "@typescript-eslint/types": "8.64.1-alpha.3"
37
+ "@typescript-eslint/types": "8.64.1-alpha.5",
38
+ "@typescript-eslint/visitor-keys": "8.64.1-alpha.5"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@typescript/native-preview": "7.0.0-dev.20260518.1",
@@ -46,7 +46,7 @@
46
46
  "rimraf": "^5.0.10",
47
47
  "typescript": ">=4.8.4 <6.1.0",
48
48
  "vitest": "^4.0.18",
49
- "@typescript-eslint/typescript-estree": "8.64.1-alpha.3"
49
+ "@typescript-eslint/typescript-estree": "8.64.1-alpha.5"
50
50
  },
51
51
  "funding": {
52
52
  "type": "opencollective",
@@ -62,7 +62,8 @@
62
62
  "lint": {
63
63
  "command": "eslint"
64
64
  },
65
- "typecheck:tsgo": {}
65
+ "typecheck:tsgo": {},
66
+ "attw-check": {}
66
67
  }
67
68
  },
68
69
  "scripts": {
@@ -74,6 +75,7 @@
74
75
  "lint": "pnpm -w exec nx lint",
75
76
  "test": "pnpm -w exec nx test",
76
77
  "typecheck": "pnpm -w exec nx typecheck",
77
- "typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo"
78
+ "typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo",
79
+ "attw-check": "pnpm -w exec nx attw-check"
78
80
  }
79
81
  }