Socket
Socket
Sign inDemoInstall

eslint-plugin-n

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-n - npm Package Compare versions

Comparing version 16.6.1 to 16.6.2

6

lib/rules/no-callback-literal.js

@@ -65,3 +65,4 @@ /**

return true // possibly an error object.
case "Literal":
return node.value == null
case "AssignmentExpression":

@@ -80,6 +81,5 @@ return couldBeError(node.right)

return couldBeError(node.consequent) || couldBeError(node.alternate)
default:
return node.value === null
return true // assuming unknown nodes can be error objects.
}
}
{
"name": "eslint-plugin-n",
"version": "16.6.1",
"version": "16.6.2",
"description": "Additional ESLint's rules for Node.js",

@@ -34,6 +34,6 @@ "engines": {

"esbuild": "^0.18.7",
"eslint": "^8.53.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0",
"eslint-doc-generator": "^1.6.1",
"eslint-plugin-eslint-plugin": "^5.1.0",
"eslint-plugin-eslint-plugin": "^5.2.1",
"eslint-plugin-n": "file:.",

@@ -40,0 +40,0 @@ "fast-glob": "^3.2.12",

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