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.0 to 16.6.1

3

lib/configs/recommended-module.js

@@ -10,5 +10,5 @@ "use strict"

node: true,
es2021: true,
},
globals: {
...globals.es2021,
__dirname: "off",

@@ -40,3 +40,2 @@ __filename: "off",

...globals.node,
...globals.es2021,
...module.exports.eslintrc.globals,

@@ -43,0 +42,0 @@ },

@@ -10,5 +10,5 @@ "use strict"

node: true,
es2021: true,
},
globals: {
...globals.es2021,
__dirname: "readonly",

@@ -37,3 +37,2 @@ __filename: "readonly",

...globals.node,
...globals.es2021,
...module.exports.eslintrc.globals,

@@ -40,0 +39,0 @@ },

@@ -15,5 +15,8 @@ "use strict"

const sourceFileExt = path.extname(
context.physicalFilename ?? context.getPhysicalFilename()
context.physicalFilename ??
context.getPhysicalFilename?.() ??
context.filename ??
context.getFilename?.()
)
return typescriptExtensions.includes(sourceFileExt)
}
{
"name": "eslint-plugin-n",
"version": "16.6.0",
"version": "16.6.1",
"description": "Additional ESLint's rules for Node.js",

@@ -5,0 +5,0 @@ "engines": {

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