Socket
Socket
Sign inDemoInstall

@typescript-eslint/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3773
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.1-alpha.24 to 1.3.1-alpha.25

13

dist/rules/no-unnecessary-qualifier.js

@@ -75,4 +75,2 @@ "use strict";

const tsName = esTreeNodeToTSNodeMap.get(name);
if (!(tsQualifier && tsName))
return false; // TODO: throw error?
const namespaceSymbol = checker.getSymbolAtLocation(tsQualifier);

@@ -110,11 +108,6 @@ if (typeof namespaceSymbol === 'undefined' ||

function enterDeclaration(node) {
const tsDeclaration = esTreeNodeToTSNodeMap.get(node);
if (tsDeclaration) {
namespacesInScope.push(tsDeclaration);
}
namespacesInScope.push(esTreeNodeToTSNodeMap.get(node));
}
function exitDeclaration(node) {
if (esTreeNodeToTSNodeMap.has(node)) {
namespacesInScope.pop();
}
function exitDeclaration() {
namespacesInScope.pop();
}

@@ -121,0 +114,0 @@ function resetCurrentNamespaceExpression(node) {

{
"name": "@typescript-eslint/eslint-plugin",
"version": "1.3.1-alpha.24+9f1d314",
"version": "1.3.1-alpha.25+fa0b032",
"description": "TypeScript plugin for ESLint",

@@ -38,4 +38,4 @@ "keywords": [

"dependencies": {
"@typescript-eslint/parser": "1.3.1-alpha.24+9f1d314",
"@typescript-eslint/typescript-estree": "1.3.1-alpha.24+9f1d314",
"@typescript-eslint/parser": "1.3.1-alpha.25+fa0b032",
"@typescript-eslint/typescript-estree": "1.3.1-alpha.25+fa0b032",
"requireindex": "^1.2.0",

@@ -52,3 +52,3 @@ "tsutils": "^3.7.0"

},
"gitHead": "9f1d314c039a5e789be52cae732ce3a3ea17b587"
"gitHead": "fa0b032340e25b251a0cce1fac89184b1c677e25"
}

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