@typescript-eslint/parser
Advanced tools
Comparing version 5.48.2 to 5.62.0
export { parse, parseForESLint, ParserOptions } from './parser'; | ||
export { ParserServices, clearCaches, createProgram, } from '@typescript-eslint/typescript-estree'; | ||
export declare const version: string; | ||
export declare const meta: { | ||
name: string; | ||
version: string; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
export { parse, parseForESLint, ParserOptions } from './parser'; | ||
export { ParserServices, clearCaches, createProgram, } from '@typescript-eslint/typescript-estree'; | ||
export declare const version: string; | ||
export declare const meta: { | ||
name: string; | ||
version: string; | ||
}; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = exports.createProgram = exports.clearCaches = exports.parseForESLint = exports.parse = void 0; | ||
exports.meta = exports.version = exports.createProgram = exports.clearCaches = exports.parseForESLint = exports.parse = void 0; | ||
var parser_1 = require("./parser"); | ||
@@ -13,2 +13,6 @@ Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parser_1.parse; } }); | ||
exports.version = require('../package.json').version; | ||
exports.meta = { | ||
name: 'typescript-eslint/parser', | ||
version: exports.version, | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -31,6 +31,10 @@ "use strict"; | ||
const target = (_a = compilerOptions.target) !== null && _a !== void 0 ? _a : typescript_1.ScriptTarget.ES5; | ||
// https://github.com/Microsoft/TypeScript/blob/59ad375234dc2efe38d8ee0ba58414474c1d5169/src/compiler/utilitiesPublic.ts#L13-L32 | ||
// https://github.com/microsoft/TypeScript/blob/ae582a22ee1bb052e19b7c1bc4cac60509b574e0/src/compiler/utilitiesPublic.ts#L13-L36 | ||
switch (target) { | ||
case typescript_1.ScriptTarget.ESNext: | ||
return ['esnext.full']; | ||
case typescript_1.ScriptTarget.ES2022: | ||
return ['es2022.full']; | ||
case typescript_1.ScriptTarget.ES2021: | ||
return ['es2021.full']; | ||
case typescript_1.ScriptTarget.ES2020: | ||
@@ -37,0 +41,0 @@ return ['es2020.full']; |
{ | ||
"name": "@typescript-eslint/parser", | ||
"version": "5.48.2", | ||
"version": "5.62.0", | ||
"description": "An ESLint custom parser which leverages TypeScript ESTree", | ||
@@ -48,5 +48,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@typescript-eslint/scope-manager": "5.48.2", | ||
"@typescript-eslint/types": "5.48.2", | ||
"@typescript-eslint/typescript-estree": "5.48.2", | ||
"@typescript-eslint/scope-manager": "5.62.0", | ||
"@typescript-eslint/types": "5.62.0", | ||
"@typescript-eslint/typescript-estree": "5.62.0", | ||
"debug": "^4.3.4" | ||
@@ -75,3 +75,3 @@ }, | ||
}, | ||
"gitHead": "46a7c73152506d7f50c94bd9849a0353014f5ad8" | ||
"gitHead": "cba0d113bba1bbcee69149c954dc6bd4c658c714" | ||
} |
@@ -8,4 +8,4 @@ # `@typescript-eslint/parser` | ||
👉 See **https://typescript-eslint.io/architecture/parser** for documentation on this package. | ||
👉 See **https://typescript-eslint.io/packages/parser** for documentation on this package. | ||
> See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code. |
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
18570
201
+ Added@typescript-eslint/scope-manager@5.62.0(transitive)
+ Added@typescript-eslint/types@5.62.0(transitive)
+ Added@typescript-eslint/typescript-estree@5.62.0(transitive)
+ Added@typescript-eslint/visitor-keys@5.62.0(transitive)
- Removed@typescript-eslint/scope-manager@5.48.2(transitive)
- Removed@typescript-eslint/types@5.48.2(transitive)
- Removed@typescript-eslint/typescript-estree@5.48.2(transitive)
- Removed@typescript-eslint/visitor-keys@5.48.2(transitive)