@typescript-eslint/typescript-estree
Advanced tools
Comparing version
@@ -7,2 +7,3 @@ "use strict"; | ||
const parser_1 = require("./parser"); | ||
const candidateTSConfigRootDirs_1 = require("./parseSettings/candidateTSConfigRootDirs"); | ||
const createParseSettings_1 = require("./parseSettings/createParseSettings"); | ||
@@ -18,2 +19,3 @@ const resolveProjectList_1 = require("./parseSettings/resolveProjectList"); | ||
function clearCaches() { | ||
(0, candidateTSConfigRootDirs_1.clearCandidateTSConfigRootDirs)(); | ||
(0, parser_1.clearDefaultProjectMatchedFiles)(); | ||
@@ -20,0 +22,0 @@ (0, parser_1.clearProgramCache)(); |
@@ -9,2 +9,3 @@ export * from './clear-caches'; | ||
export type { ParserServices, ParserServicesWithoutTypeInformation, ParserServicesWithTypeInformation, TSESTreeOptions, } from './parser-options'; | ||
export { addCandidateTSConfigRootDir, clearCandidateTSConfigRootDirs, } from './parseSettings/candidateTSConfigRootDirs'; | ||
export { simpleTraverse } from './simple-traverse'; | ||
@@ -11,0 +12,0 @@ export * from './ts-estree'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.withoutProjectParserOptions = exports.version = exports.typescriptVersionIsAtLeast = exports.simpleTraverse = exports.parseAndGenerateServices = exports.parse = exports.TSError = exports.createProgram = exports.getCanonicalFileName = void 0; | ||
exports.withoutProjectParserOptions = exports.version = exports.typescriptVersionIsAtLeast = exports.simpleTraverse = exports.clearCandidateTSConfigRootDirs = exports.addCandidateTSConfigRootDir = exports.parseAndGenerateServices = exports.parse = exports.TSError = exports.createProgram = exports.getCanonicalFileName = void 0; | ||
__exportStar(require("./clear-caches"), exports); | ||
@@ -31,2 +31,5 @@ __exportStar(require("./create-program/getScriptKind"), exports); | ||
Object.defineProperty(exports, "parseAndGenerateServices", { enumerable: true, get: function () { return parser_1.parseAndGenerateServices; } }); | ||
var candidateTSConfigRootDirs_1 = require("./parseSettings/candidateTSConfigRootDirs"); | ||
Object.defineProperty(exports, "addCandidateTSConfigRootDir", { enumerable: true, get: function () { return candidateTSConfigRootDirs_1.addCandidateTSConfigRootDir; } }); | ||
Object.defineProperty(exports, "clearCandidateTSConfigRootDirs", { enumerable: true, get: function () { return candidateTSConfigRootDirs_1.clearCandidateTSConfigRootDirs; } }); | ||
var simple_traverse_1 = require("./simple-traverse"); | ||
@@ -33,0 +36,0 @@ Object.defineProperty(exports, "simpleTraverse", { enumerable: true, get: function () { return simple_traverse_1.simpleTraverse; } }); |
@@ -49,2 +49,3 @@ "use strict"; | ||
const source_files_1 = require("../source-files"); | ||
const candidateTSConfigRootDirs_1 = require("./candidateTSConfigRootDirs"); | ||
const ExpiringCache_1 = require("./ExpiringCache"); | ||
@@ -74,3 +75,3 @@ const getProjectConfigFiles_1 = require("./getProjectConfigFiles"); | ||
? tsestreeOptions.tsconfigRootDir | ||
: process.cwd(); | ||
: (0, candidateTSConfigRootDirs_1.getInferredTSConfigRootDir)(); | ||
const passedLoggerFn = typeof tsestreeOptions.loggerFn === 'function'; | ||
@@ -77,0 +78,0 @@ const filePath = (0, shared_1.ensureAbsolutePath)(typeof tsestreeOptions.filePath === 'string' && |
{ | ||
"name": "@typescript-eslint/typescript-estree", | ||
"version": "8.36.1-alpha.2", | ||
"version": "8.36.1-alpha.3", | ||
"description": "A parser that converts TypeScript source code into an ESTree compatible form", | ||
@@ -55,6 +55,6 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/project-service": "8.36.1-alpha.2", | ||
"@typescript-eslint/tsconfig-utils": "8.36.1-alpha.2", | ||
"@typescript-eslint/types": "8.36.1-alpha.2", | ||
"@typescript-eslint/visitor-keys": "8.36.1-alpha.2", | ||
"@typescript-eslint/project-service": "8.36.1-alpha.3", | ||
"@typescript-eslint/tsconfig-utils": "8.36.1-alpha.3", | ||
"@typescript-eslint/types": "8.36.1-alpha.3", | ||
"@typescript-eslint/visitor-keys": "8.36.1-alpha.3", | ||
"debug": "^4.3.4", | ||
@@ -61,0 +61,0 @@ "fast-glob": "^3.3.2", |
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
405021
0.67%126
2.44%7553
0.52%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed