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

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 0.2.1 to 0.3.0

lib/rules/no-unsupported-features.js

2

index.js

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

"no-missing-require": require("./lib/rules/no-missing-require"),
"no-unsupported-features": require("./lib/rules/no-unsupported-features"),
"shebang": require("./lib/rules/shebang")

@@ -18,4 +19,5 @@ },

"no-missing-require": 0,
"no-unsupported-features": 0,
"shebang": 0
}
};

7

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

@@ -17,7 +17,6 @@ "files": [

"test:mocha": "istanbul cover node_modules/mocha/bin/_mocha -- tests/lib/**/*.js",
"dev": "node scripts/dev.js",
"coveralls": "cat coverage/lcov.info | coveralls"
},
"peerDependencies": {
"eslint": ">=1.0.0"
"eslint": ">=1.10.3"
},

@@ -31,3 +30,3 @@ "dependencies": {

"coveralls": "^2.11.4",
"eslint": "^1.10.1",
"eslint": "^1.10.3",
"eslint-config-eslint": "^1.0.1",

@@ -34,0 +33,0 @@ "istanbul": "^0.4.0",

@@ -30,2 +30,3 @@ # eslint-plugin-node

"node/no-missing-require": 2,
"node/no-unsupported-features": [2, {"version": 4}],
"node/shebang": 2

@@ -40,2 +41,3 @@ }

- [no-missing-require](docs/rules/no-missing-require.md) - Disallow invalid `require()`s.
- [no-unsupported-features](docs/rules/no-unsupported-features.md) - Disallow unsupported features on the specified environment.
- [shebang](docs/rules/shebang.md) - Suggest correct usage of shebang.
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