@typescript-eslint/parser
Advanced tools
Comparing version 8.4.1-alpha.1 to 8.4.1-alpha.2
@@ -23,9 +23,5 @@ "use strict"; | ||
if (compilerOptions.lib) { | ||
return compilerOptions.lib.reduce((acc, lib) => { | ||
const match = LIB_FILENAME_REGEX.exec(lib.toLowerCase()); | ||
if (match) { | ||
acc.push(match[1]); | ||
} | ||
return acc; | ||
}, []); | ||
return compilerOptions.lib | ||
.map(lib => LIB_FILENAME_REGEX.exec(lib.toLowerCase())?.[1]) | ||
.filter((lib) => !!lib); | ||
} | ||
@@ -32,0 +28,0 @@ const target = compilerOptions.target ?? typescript_1.ScriptTarget.ES5; |
{ | ||
"name": "@typescript-eslint/parser", | ||
"version": "8.4.1-alpha.1", | ||
"version": "8.4.1-alpha.2", | ||
"description": "An ESLint custom parser which leverages TypeScript ESTree", | ||
@@ -55,6 +55,6 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/scope-manager": "8.4.1-alpha.1", | ||
"@typescript-eslint/types": "8.4.1-alpha.1", | ||
"@typescript-eslint/typescript-estree": "8.4.1-alpha.1", | ||
"@typescript-eslint/visitor-keys": "8.4.1-alpha.1", | ||
"@typescript-eslint/scope-manager": "8.4.1-alpha.2", | ||
"@typescript-eslint/types": "8.4.1-alpha.2", | ||
"@typescript-eslint/typescript-estree": "8.4.1-alpha.2", | ||
"@typescript-eslint/visitor-keys": "8.4.1-alpha.2", | ||
"debug": "^4.3.4" | ||
@@ -61,0 +61,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18716
177
+ Added@typescript-eslint/scope-manager@8.4.1-alpha.2(transitive)
+ Added@typescript-eslint/types@8.4.1-alpha.2(transitive)
+ Added@typescript-eslint/typescript-estree@8.4.1-alpha.2(transitive)
+ Added@typescript-eslint/visitor-keys@8.4.1-alpha.2(transitive)
- Removed@typescript-eslint/scope-manager@8.4.1-alpha.1(transitive)
- Removed@typescript-eslint/types@8.4.1-alpha.1(transitive)
- Removed@typescript-eslint/typescript-estree@8.4.1-alpha.1(transitive)
- Removed@typescript-eslint/visitor-keys@8.4.1-alpha.1(transitive)