eslint-plugin-lodash
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -11,6 +11,13 @@ # Change Log | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v5.0.0...HEAD | ||
[unreleased]: https://github.com/wix/eslint-plugin-lodash/compare/v5.0.1...HEAD | ||
## [4.0.0] - 2018-11-21 | ||
## [5.0.1] - 2018-12-05 | ||
### Fixed | ||
- Fixed `prop-shorthand` crashing when using method introduced with `_.mixin` ([`ca1faf4`][ca1faf4]) | ||
[ca1faf4]: https://github.com/wix/eslint-plugin-lodash/commit/ca1faf4896d62314c5d75bbc6fb4e05308eca505 | ||
[5.0.1]: https://github.com/wix/eslint-plugin-lodash/compare/v5.0.1...v5.0.0 | ||
## [5.0.0] - 2018-12-03 | ||
### Added | ||
@@ -17,0 +24,0 @@ - Added rule `collection-ordering`. ([`4673524`][4673524]) |
{ | ||
"name": "eslint-plugin-lodash", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"author": "Omer Ganim <ganimomer@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Lodash specific linting rules for ESLint", |
@@ -69,3 +69,3 @@ 'use strict' | ||
const methodShorthandData = _.get(getMethodData(version), [mainAlias, 'shorthand']) | ||
return _.isBoolean(methodShorthandData) ? methodShorthandData : Boolean(shorthandType && methodShorthandData[shorthandType]) | ||
return _.isObject(methodShorthandData) ? Boolean(shorthandType && methodShorthandData[shorthandType]) : Boolean(methodShorthandData) | ||
} | ||
@@ -72,0 +72,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
299339
0