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

eslint-plugin-lodash

Package Overview
Dependencies
Maintainers
3
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 1.0.4 to 1.0.5

11

CHANGELOG.md

@@ -11,6 +11,13 @@ # Change Log

[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.0.4...HEAD
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v1.0.5...HEAD
## [1.0.5] - 2016-02-07
### Fixed
- Fixed error with rule `prefer-map` when `_` isn't lodash ([`8892139`][8892139])
[8892139]: https://github.com/wix/eslint-plugin-lodash/commit/8892139ea438dba68118bfa2fbadecb32aac2762
[1.0.5]: https://github.com/wix/eslint-plugin-lodash/compare/v1.0.5...v1.0.4
## [1.0.4] - 2016-02-04
### Added
### Fixed
- Fixed error with rule `prefer-filter` when `_` isn't lodash ([`95c3d46`][95c3d46])

@@ -17,0 +24,0 @@

2

lib/rules/prefer-map.js

@@ -17,3 +17,3 @@ /**

var exp = func && func.type === 'ArrowFunctionExpression' ? firstLine : firstLine && firstLine.expression;
return astUtil.hasOnlyOneStatement(func) && astUtil.getMethodName(exp) === 'push';
return func && astUtil.hasOnlyOneStatement(func) && astUtil.getMethodName(exp) === 'push';
}

@@ -20,0 +20,0 @@

{
"name": "eslint-plugin-lodash",
"version": "1.0.4",
"version": "1.0.5",
"author": "Omer Ganim <ganimomer@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Lodash specific linting rules for ESLint",

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