Socket
Socket
Sign inDemoInstall

eslint-plugin-node

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-node - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

8

lib/rules/no-deprecated-api.js

@@ -195,2 +195,3 @@ /**

let globalScope = null
const varStack = []

@@ -403,5 +404,12 @@ /**

function checkVariable(variable, path, infoMap) {
if (varStack.indexOf(variable) !== -1) {
return
}
varStack.push(variable)
for (const reference of variable.references.filter(r => r.isRead())) {
checkProperties(reference.identifier, path, infoMap)
}
varStack.pop()
}

@@ -408,0 +416,0 @@

2

package.json
{
"name": "eslint-plugin-node",
"version": "5.1.0",
"version": "5.1.1",
"description": "Additional ESLint's rules for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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