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 2.1.6 to 2.1.7

11

CHANGELOG.md

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

[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v2.1.6...HEAD
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v2.1.7...HEAD
## [2.1.7] - 2016-10-27
### Fixed
- Fixed `preferred-alias` erronous warning on `_.toString`. ([`d1df139`][d1df139])
- Fixed crash in `prefer-over-quantifier` ([`caf5b8a`][caf5b8a])
[d1df139]: https://github.com/wix/eslint-plugin-lodash/commit/d1df139e3d15ebb5610393b6b3f0c241a7087459
[caf5b8a]: https://github.com/wix/eslint-plugin-lodash/commit/caf5b8aff6b67a9f841938263ea8857ca0fa1453
[2.1.7]: https://github.com/wix/eslint-plugin-lodash/compare/v2.1.7...v2.1.6
## [2.1.6] - 2016-10-22

@@ -15,0 +24,0 @@ ### Fixed

2

lib/rules/prefer-over-quantifier.js

@@ -50,3 +50,3 @@ /**

if (node.type === 'CallExpression') {
return usesShorthandInChain(node) && node.arguments[0].name === paramName;
return usesShorthandInChain(node) && node.arguments[0] && node.arguments[0].name === paramName;
}

@@ -53,0 +53,0 @@ if (node.type === 'LogicalExpression') {

@@ -21,6 +21,2 @@ /**

var _require2 = require('../util/astUtil');
var getMethodName = _require2.getMethodName;
var _require$getSettings = require('../util/settingsUtil').getSettings(context);

@@ -31,2 +27,3 @@

var aliases = require('../util/methodDataUtil').getAliasesByVersion(version);
var has = require('lodash/has');

@@ -36,3 +33,3 @@ return getLodashMethodVisitors(context, function (node, iteratee, _ref) {

if (aliases[method]) {
if (has(aliases, method)) {
context.report({

@@ -39,0 +36,0 @@ node: node,

{
"name": "eslint-plugin-lodash",
"version": "2.1.6",
"version": "2.1.7",
"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