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

eslint-find-rules

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-find-rules - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

.babelrc

2

dist/lib/array-diff.js

@@ -5,3 +5,3 @@ "use strict";

return a.filter(function (item) {
return !b.includes(item);
return b.indexOf(item) === -1;
}).sort(function (a, b) {

@@ -8,0 +8,0 @@ return a > b;

{
"name": "eslint-find-rules",
"version": "3.0.0",
"version": "3.1.0",
"description": "Find built-in ESLint rules you don't have in your custom config.",

@@ -15,3 +15,3 @@ "main": "dist/lib/rule-finder.js",

"prebuild": "rimraf dist",
"build": "babel src -d dist --presets es2015",
"build": "babel src -d dist",
"report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov",

@@ -38,3 +38,3 @@ "semantic-release": "semantic-release pre && npm publish && semantic-release post",

"which": "^1.2.8",
"window-size": "^1.0.0",
"window-size": "0.3.0",
"yargs": "^8.0.1"

@@ -50,3 +50,3 @@ },

"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.19.0",
"eslint": "^3.12.0 || ^4.0.0",
"ghooks": "^2.0.0",

@@ -66,3 +66,3 @@ "mocha": "^3.0.1",

"peerDependencies": {
"eslint": "^3.12.0"
"eslint": "^3.12.0 || ^4.0.0"
},

@@ -69,0 +69,0 @@ "nyc": {

function difference(a, b) {
return a.filter(item => !b.includes(item)).sort((a, b) => a > b);
return a.filter(item => b.indexOf(item) === -1).sort((a, b) => a > b);
}
module.exports = difference;

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