@typescript-eslint/parser
Advanced tools
Comparing version 7.3.2-alpha.7 to 7.3.2-alpha.8
@@ -95,3 +95,2 @@ "use strict"; | ||
ast.sourceType = options.sourceType; | ||
let emitDecoratorMetadata = options.emitDecoratorMetadata === true; | ||
if (services.program) { | ||
@@ -120,9 +119,6 @@ // automatically apply the options configured for the program | ||
} | ||
if (compilerOptions.emitDecoratorMetadata === true) { | ||
emitDecoratorMetadata = true; | ||
} | ||
} | ||
if (emitDecoratorMetadata) { | ||
analyzeOptions.emitDecoratorMetadata = true; | ||
} | ||
// if not defined - override from the parserOptions | ||
services.emitDecoratorMetadata ??= options.emitDecoratorMetadata === true; | ||
services.experimentalDecorators ??= options.experimentalDecorators === true; | ||
const scopeManager = (0, scope_manager_1.analyze)(ast, analyzeOptions); | ||
@@ -129,0 +125,0 @@ return { ast, services, scopeManager, visitorKeys: visitor_keys_1.visitorKeys }; |
{ | ||
"name": "@typescript-eslint/parser", | ||
"version": "7.3.2-alpha.7", | ||
"version": "7.3.2-alpha.8", | ||
"description": "An ESLint custom parser which leverages TypeScript ESTree", | ||
@@ -54,6 +54,6 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/scope-manager": "7.3.2-alpha.7", | ||
"@typescript-eslint/types": "7.3.2-alpha.7", | ||
"@typescript-eslint/typescript-estree": "7.3.2-alpha.7", | ||
"@typescript-eslint/visitor-keys": "7.3.2-alpha.7", | ||
"@typescript-eslint/scope-manager": "7.3.2-alpha.8", | ||
"@typescript-eslint/types": "7.3.2-alpha.8", | ||
"@typescript-eslint/typescript-estree": "7.3.2-alpha.8", | ||
"@typescript-eslint/visitor-keys": "7.3.2-alpha.8", | ||
"debug": "^4.3.4" | ||
@@ -60,0 +60,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17672
167
+ Added@typescript-eslint/scope-manager@7.3.2-alpha.8(transitive)
+ Added@typescript-eslint/types@7.3.2-alpha.8(transitive)
+ Added@typescript-eslint/typescript-estree@7.3.2-alpha.8(transitive)
+ Added@typescript-eslint/visitor-keys@7.3.2-alpha.8(transitive)
- Removed@typescript-eslint/scope-manager@7.3.2-alpha.7(transitive)
- Removed@typescript-eslint/types@7.3.2-alpha.7(transitive)
- Removed@typescript-eslint/typescript-estree@7.3.2-alpha.7(transitive)
- Removed@typescript-eslint/visitor-keys@7.3.2-alpha.7(transitive)