Comparing version 1.7.0 to 1.7.1
@@ -16,2 +16,6 @@ 'use strict'; | ||
var _get = require('lodash/get'); | ||
var _get2 = _interopRequireDefault(_get); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -46,5 +50,5 @@ | ||
return pattern && (typeof pattern === 'undefined' ? 'undefined' : _typeof(pattern)) === 'object' ? (0, _list.every)(Object.keys(pattern).map(function (key) { | ||
return has(pattern[key])(obj[key]); | ||
return has((0, _get2.default)(pattern, key))((0, _get2.default)(obj, key)); | ||
})) : typeof pattern === 'function' ? pattern(obj) : (0, _isEqual2.default)(pattern, obj); | ||
}; | ||
}; |
{ | ||
"name": "shades", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "Lens-like functionality with a lodash-style interface.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
86309
1103