@typescript-eslint/typescript-estree
Advanced tools
Comparing version 8.4.1-alpha.5 to 8.4.1-alpha.6
@@ -51,3 +51,3 @@ "use strict"; | ||
function getErrorStart(describedFilePath, parseSettings) { | ||
const relativeProjects = Array.from(parseSettings.projects.values()).map(projectFile => (0, describeFilePath_1.describeFilePath)(projectFile, parseSettings.tsconfigRootDir)); | ||
const relativeProjects = [...parseSettings.projects.values()].map(projectFile => (0, describeFilePath_1.describeFilePath)(projectFile, parseSettings.tsconfigRootDir)); | ||
const describedPrograms = relativeProjects.length === 1 | ||
@@ -54,0 +54,0 @@ ? ` ${relativeProjects[0]}` |
@@ -244,3 +244,3 @@ "use strict"; | ||
? undefined | ||
: extensions.concat(parseSettings.extraFileExtensions), exclude, include, depth); | ||
: [...extensions, ...parseSettings.extraFileExtensions], exclude, include, depth); | ||
oldOnDirectoryStructureHostCreate(host); | ||
@@ -247,0 +247,0 @@ }; |
@@ -40,3 +40,3 @@ "use strict"; | ||
const modifiers = ts.getModifiers(node); | ||
return modifiers ? Array.from(modifiers) : undefined; | ||
return modifiers ? [...modifiers] : undefined; | ||
} | ||
@@ -58,3 +58,3 @@ return undefined; | ||
const decorators = ts.getDecorators(node); | ||
return decorators ? Array.from(decorators) : undefined; | ||
return decorators ? [...decorators] : undefined; | ||
} | ||
@@ -61,0 +61,0 @@ return undefined; |
@@ -73,5 +73,3 @@ "use strict"; | ||
} | ||
const uniqueCanonicalProjectPaths = new Map(nonGlobProjects | ||
.concat(globProjectPaths) | ||
.map(project => [ | ||
const uniqueCanonicalProjectPaths = new Map([...nonGlobProjects, ...globProjectPaths].map(project => [ | ||
(0, shared_1.getCanonicalFileName)((0, shared_1.ensureAbsolutePath)(project, options.tsconfigRootDir)), | ||
@@ -78,0 +76,0 @@ (0, shared_1.ensureAbsolutePath)(project, options.tsconfigRootDir), |
@@ -42,5 +42,3 @@ "use strict"; | ||
const ACTIVE_TYPESCRIPT_VERSION = ts.version; | ||
const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [SUPPORTED_TYPESCRIPT_VERSIONS] | ||
.concat(SUPPORTED_PRERELEASE_RANGES) | ||
.join(' || ')); | ||
const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [SUPPORTED_TYPESCRIPT_VERSIONS, ...SUPPORTED_PRERELEASE_RANGES].join(' || ')); | ||
let warnedAboutTSVersion = false; | ||
@@ -47,0 +45,0 @@ function warnAboutTSVersion(parseSettings, passedLoggerFn) { |
@@ -75,3 +75,3 @@ "use strict"; | ||
const filePrintLimit = 20; | ||
const filesToPrint = Array.from(defaultProjectMatchedFiles).slice(0, filePrintLimit); | ||
const filesToPrint = [...defaultProjectMatchedFiles].slice(0, filePrintLimit); | ||
const truncatedFileCount = defaultProjectMatchedFiles.size - filesToPrint.length; | ||
@@ -78,0 +78,0 @@ throw new Error(`Too many files (>${serviceSettings.maximumDefaultProjectFileMatchCount}) have matched the default project.${validateDefaultProjectForFilesGlob_1.DEFAULT_PROJECT_FILES_ERROR_EXPLANATION} |
{ | ||
"name": "@typescript-eslint/typescript-estree", | ||
"version": "8.4.1-alpha.5", | ||
"version": "8.4.1-alpha.6", | ||
"description": "A parser that converts TypeScript source code into an ESTree compatible form", | ||
@@ -57,4 +57,4 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/types": "8.4.1-alpha.5", | ||
"@typescript-eslint/visitor-keys": "8.4.1-alpha.5", | ||
"@typescript-eslint/types": "8.4.1-alpha.6", | ||
"@typescript-eslint/visitor-keys": "8.4.1-alpha.6", | ||
"debug": "^4.3.4", | ||
@@ -61,0 +61,0 @@ "fast-glob": "^3.3.2", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
586565
7551
+ Added@typescript-eslint/types@8.4.1-alpha.6(transitive)
+ Added@typescript-eslint/visitor-keys@8.4.1-alpha.6(transitive)
- Removed@typescript-eslint/types@8.4.1-alpha.5(transitive)
- Removed@typescript-eslint/visitor-keys@8.4.1-alpha.5(transitive)