Socket
Socket
Sign inDemoInstall

@typescript-eslint/typescript-estree

Package Overview
Dependencies
Maintainers
1
Versions
3820
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/typescript-estree - npm Package Compare versions

Comparing version 1.0.1-alpha.6 to 1.0.1-alpha.8

3

dist/ast-converter.d.ts
import ts from 'typescript';
import { Extra } from './temp-types-based-on-js-source';
declare const _default: (ast: ts.SourceFile, extra: Extra, shouldProvideParserServices: boolean) => {
export default function astConverter(ast: ts.SourceFile, extra: Extra, shouldProvideParserServices: boolean): {
estree: any;

@@ -10,2 +10,1 @@ astMaps: {

};
export default _default;

@@ -20,3 +20,3 @@ "use strict";

const node_utils_1 = require("./node-utils");
exports.default = (ast, extra, shouldProvideParserServices) => {
function astConverter(ast, extra, shouldProvideParserServices) {
/**

@@ -60,2 +60,3 @@ * The TypeScript compiler produced fundamental parse errors when parsing the

return { estree, astMaps };
};
}
exports.default = astConverter;

@@ -147,5 +147,4 @@ "use strict";

function generateAST(code, options = {}, shouldGenerateServices = false) {
const toString = String;
if (typeof code !== 'string' && !(code instanceof String)) {
code = toString(code);
code = String(code);
}

@@ -152,0 +151,0 @@ resetExtra();

@@ -45,2 +45,3 @@ "use strict";

switch (diagnostic.code) {
case 1013: // ts 3.2 "A rest parameter or binding pattern may not have a trailing comma."
case 1014: // ts 3.2 "A rest parameter must be last in a parameter list."

@@ -47,0 +48,0 @@ case 1044: // ts 3.2 "'{0}' modifier cannot appear on a module or namespace element."

{
"name": "@typescript-eslint/typescript-estree",
"version": "1.0.1-alpha.6+e0f4093",
"version": "1.0.1-alpha.8+819b640",
"description": "A parser that converts TypeScript source code into an ESTree compatible form",

@@ -44,6 +44,6 @@ "main": "dist/parser.js",

"devDependencies": {
"@typescript-eslint/shared-fixtures": "1.0.1-alpha.6+e0f4093",
"@typescript-eslint/shared-fixtures": "1.0.1-alpha.8+819b640",
"typescript": "~3.2.1"
},
"gitHead": "e0f409390cbedc57aa1ed38ce8118979cd8db35b"
"gitHead": "819b640559bb41d43467dd473ee15eaf227247ba"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc