@typescript-eslint/scope-manager 8.71.3-alpha.4 → 8.71.3-alpha.6
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/dist/analyze.js +2 -0
- package/package.json +4 -4
package/dist/analyze.js
CHANGED
|
@@ -6,6 +6,7 @@ const referencer_1 = require("./referencer");
|
|
|
6
6
|
const ScopeManager_1 = require("./ScopeManager");
|
|
7
7
|
const DEFAULT_OPTIONS = {
|
|
8
8
|
childVisitorKeys: visitor_keys_1.visitorKeys,
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- `Required<AnalyzeOptions>` makes this mandatory until it is removed in v10
|
|
9
10
|
emitDecoratorMetadata: false,
|
|
10
11
|
globalReturn: false,
|
|
11
12
|
impliedStrict: false,
|
|
@@ -20,6 +21,7 @@ const DEFAULT_OPTIONS = {
|
|
|
20
21
|
function analyze(tree, providedOptions) {
|
|
21
22
|
const options = {
|
|
22
23
|
childVisitorKeys: providedOptions?.childVisitorKeys ?? DEFAULT_OPTIONS.childVisitorKeys,
|
|
24
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated -- `Required<AnalyzeOptions>` makes this mandatory until it is removed in v10
|
|
23
25
|
emitDecoratorMetadata: false,
|
|
24
26
|
globalReturn: providedOptions?.globalReturn ?? DEFAULT_OPTIONS.globalReturn,
|
|
25
27
|
impliedStrict: providedOptions?.impliedStrict ?? DEFAULT_OPTIONS.impliedStrict,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/scope-manager",
|
|
3
|
-
"version": "8.71.3-alpha.
|
|
3
|
+
"version": "8.71.3-alpha.6",
|
|
4
4
|
"description": "TypeScript scope analyser for ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"estree"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/types": "8.71.3-alpha.
|
|
39
|
-
"@typescript-eslint/visitor-keys": "8.71.3-alpha.
|
|
38
|
+
"@typescript-eslint/types": "8.71.3-alpha.6",
|
|
39
|
+
"@typescript-eslint/visitor-keys": "8.71.3-alpha.6"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@typescript-eslint/typescript-estree": "8.71.3-alpha.
|
|
42
|
+
"@typescript-eslint/typescript-estree": "8.71.3-alpha.6",
|
|
43
43
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
44
44
|
"@vitest/coverage-v8": "^4.0.18",
|
|
45
45
|
"@vitest/pretty-format": "^4.0.18",
|