@typescript-eslint/typescript-estree
Advanced tools
Comparing version 8.15.1-alpha.7 to 8.15.1-alpha.8
import type { ParseSettings } from './index'; | ||
/** | ||
* This needs to be kept in sync with package.json in the typescript-eslint monorepo | ||
*/ | ||
export declare const SUPPORTED_TYPESCRIPT_VERSIONS = ">=4.8.4 <5.8.0"; | ||
export declare function warnAboutTSVersion(parseSettings: ParseSettings, passedLoggerFn: boolean): void; | ||
//# sourceMappingURL=warnAboutTSVersion.d.ts.map |
@@ -39,2 +39,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SUPPORTED_TYPESCRIPT_VERSIONS = void 0; | ||
exports.warnAboutTSVersion = warnAboutTSVersion; | ||
@@ -46,3 +47,3 @@ const semver_1 = __importDefault(require("semver")); | ||
*/ | ||
const SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.8.4 <5.8.0'; | ||
exports.SUPPORTED_TYPESCRIPT_VERSIONS = '>=4.8.4 <5.8.0'; | ||
/* | ||
@@ -54,3 +55,3 @@ * The semver package will ignore prerelease ranges, and we don't want to explicitly document every one | ||
const ACTIVE_TYPESCRIPT_VERSION = ts.version; | ||
const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [SUPPORTED_TYPESCRIPT_VERSIONS, ...SUPPORTED_PRERELEASE_RANGES].join(' || ')); | ||
const isRunningSupportedTypeScriptVersion = semver_1.default.satisfies(ACTIVE_TYPESCRIPT_VERSION, [exports.SUPPORTED_TYPESCRIPT_VERSIONS, ...SUPPORTED_PRERELEASE_RANGES].join(' || ')); | ||
let warnedAboutTSVersion = false; | ||
@@ -70,3 +71,3 @@ function warnAboutTSVersion(parseSettings, passedLoggerFn) { | ||
'You may find that it works just fine, or you may not.', | ||
`SUPPORTED TYPESCRIPT VERSIONS: ${SUPPORTED_TYPESCRIPT_VERSIONS}`, | ||
`SUPPORTED TYPESCRIPT VERSIONS: ${exports.SUPPORTED_TYPESCRIPT_VERSIONS}`, | ||
`YOUR TYPESCRIPT VERSION: ${ACTIVE_TYPESCRIPT_VERSION}`, | ||
@@ -73,0 +74,0 @@ 'Please only submit bug reports when using the officially supported version.', |
{ | ||
"name": "@typescript-eslint/typescript-estree", | ||
"version": "8.15.1-alpha.7", | ||
"version": "8.15.1-alpha.8", | ||
"description": "A parser that converts TypeScript source code into an ESTree compatible form", | ||
@@ -57,4 +57,4 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/types": "8.15.1-alpha.7", | ||
"@typescript-eslint/visitor-keys": "8.15.1-alpha.7", | ||
"@typescript-eslint/types": "8.15.1-alpha.8", | ||
"@typescript-eslint/visitor-keys": "8.15.1-alpha.8", | ||
"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
592855
7651
+ Added@typescript-eslint/types@8.15.1-alpha.8(transitive)
+ Added@typescript-eslint/visitor-keys@8.15.1-alpha.8(transitive)
- Removed@typescript-eslint/types@8.15.1-alpha.7(transitive)
- Removed@typescript-eslint/visitor-keys@8.15.1-alpha.7(transitive)