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

eslint-plugin-lodash

Package Overview
Dependencies
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-lodash - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

v0.1.4 - Tue, 22 Sep 2015 11:30:55 GMT
--------------------------------------
- [938d144](../../commit/938d144) [added] 'lodash-compat' into the check list
v0.1.3 - Mon, 13 Jul 2015 15:24:07 GMT

@@ -2,0 +9,0 @@ --------------------------------------

2

lib/rules/import.js

@@ -16,3 +16,3 @@ /**

ImportDeclaration: function ImportDeclaration(node) {
if (node.source.value === 'lodash') {
if (node.source.value === 'lodash' || node.source.value === 'lodash-compat') {
context.report(node.source, 'Importing the entire lodash library is not permitted, please import the specific functions you need');

@@ -19,0 +19,0 @@ }

{
"name": "eslint-plugin-lodash",
"version": "0.1.3",
"version": "0.1.4",
"description": "ESLint Plugin for use with the lodash library",

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

"lint": "eslint ./",
"patch": "release patch",
"minor": "release minor",
"major": "release major"
"release": "release"
},

@@ -35,9 +33,10 @@ "repository": {

"babel": "^5.6.7",
"babel-eslint": "^3.1.18",
"eslint": "^0.24.1",
"eslint-tester": "^0.8.0",
"babel-eslint": "^4.0.5",
"eslint": "^1.0.0",
"eslint-config-airbnb": "0.0.8",
"eslint-plugin-react": "^3.3.2",
"is-my-json-valid": "^2.12.0",
"mocha": "^2.2.5",
"mt-changelog": "^0.6.1",
"release-script": "^0.2.1"
"release-script": "^0.5.0"
},

@@ -44,0 +43,0 @@ "keywords": [

@@ -47,3 +47,3 @@ ESLint-plugin-lodash

* [import](docs/rules/import.md): Prevent importing the entire lodash library.
* [import](docs/rules/import.md): Prevent importing the entire lodash (or lodash-compat) library.

@@ -50,0 +50,0 @@ ## To Do

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