Socket
Socket
Sign inDemoInstall

@typescript-eslint/typescript-estree

Package Overview
Dependencies
Maintainers
1
Versions
3789
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.1.1-alpha.2 to 1.1.1-alpha.4

7

dist/node-utils.js

@@ -430,3 +430,8 @@ "use strict";

if (node.modifiers && node.modifiers[0].kind === SyntaxKind.ExportKeyword) {
const exportKeyword = node.modifiers[0], nextModifier = node.modifiers[1], lastModifier = node.modifiers[node.modifiers.length - 1], declarationIsDefault = nextModifier && nextModifier.kind === SyntaxKind.DefaultKeyword, varToken = findNextToken(lastModifier, ast, ast);
const exportKeyword = node.modifiers[0];
const nextModifier = node.modifiers[1];
const declarationIsDefault = nextModifier && nextModifier.kind === SyntaxKind.DefaultKeyword;
const varToken = declarationIsDefault
? findNextToken(nextModifier, ast, ast)
: findNextToken(exportKeyword, ast, ast);
result.range[0] = varToken.getStart(ast);

@@ -433,0 +438,0 @@ result.loc = getLocFor(result.range[0], result.range[1], ast);

6

package.json
{
"name": "@typescript-eslint/typescript-estree",
"version": "1.1.1-alpha.2+aa9d1e1",
"version": "1.1.1-alpha.4+9068b62",
"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.1.1-alpha.2+aa9d1e1",
"@typescript-eslint/shared-fixtures": "1.1.1-alpha.4+9068b62",
"typescript": "~3.2.1"
},
"gitHead": "aa9d1e175c8dc6fc4b8c4db47648120478a71ba7"
"gitHead": "9068b6276064e6729e1635ab11f7d70a543afa68"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc