Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typescript-eslint/parser

Package Overview
Dependencies
Maintainers
1
Versions
3941
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/parser - npm Package Compare versions

Comparing version 2.8.1-alpha.15 to 2.8.1-alpha.17

5

dist/analyze-scope.js

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

TSDeclareFunction(node) {
var _a, _b;
const scopeManager = this.scopeManager;

@@ -278,4 +279,4 @@ const upperScope = this.currentScope();

const variable = upperScope.set.get(id.name);
const defs = variable && variable.defs;
const existed = defs && defs.some(d => d.type === 'FunctionName');
const defs = (_a = variable) === null || _a === void 0 ? void 0 : _a.defs;
const existed = (_b = defs) === null || _b === void 0 ? void 0 : _b.some((d) => d.type === 'FunctionName');
if (!existed) {

@@ -282,0 +283,0 @@ upperScope.__define(id, new experimental_utils_1.TSESLintScope.Definition('FunctionName', id, node, null, null, null));

10

package.json
{
"name": "@typescript-eslint/parser",
"version": "2.8.1-alpha.15+05ebea5b",
"version": "2.8.1-alpha.17+efd48349",
"description": "An ESLint custom parser which leverages TypeScript ESTree",

@@ -46,4 +46,4 @@ "main": "dist/parser.js",

"@types/eslint-visitor-keys": "^1.0.0",
"@typescript-eslint/experimental-utils": "2.8.1-alpha.15+05ebea5b",
"@typescript-eslint/typescript-estree": "2.8.1-alpha.15+05ebea5b",
"@typescript-eslint/experimental-utils": "2.8.1-alpha.17+efd48349",
"@typescript-eslint/typescript-estree": "2.8.1-alpha.17+efd48349",
"eslint-visitor-keys": "^1.1.0"

@@ -53,6 +53,6 @@ },

"@types/glob": "^7.1.1",
"@typescript-eslint/shared-fixtures": "2.8.1-alpha.15+05ebea5b",
"@typescript-eslint/shared-fixtures": "2.8.1-alpha.17+efd48349",
"glob": "*"
},
"gitHead": "05ebea5b3c1b228aa1620d4a0a6a058c6e1b0d20"
"gitHead": "efd483490890d5f53d3bbda80e373e9942941789"
}

Sorry, the diff of this file is not supported yet

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