Comparing version 1.1.2 to 1.1.3
@@ -30,2 +30,5 @@ 'use strict'; | ||
return function (obj) { | ||
for (var _len2 = arguments.length, params = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { | ||
params[_key2 - 1] = arguments[_key2]; | ||
} | ||
@@ -38,5 +41,5 @@ function aux(object, lenses) { | ||
if (rest.length === 0) { | ||
return first.mod(f)(object); | ||
return first.mod(f).apply(undefined, [object].concat(params)); | ||
} | ||
return first.mod((0, _utils.always)(aux(first.get(object), rest)))(object); | ||
return first.mod((0, _utils.always)(aux(first.get(object), rest))).apply(undefined, [object].concat(params)); | ||
} | ||
@@ -43,0 +46,0 @@ |
{ | ||
"name": "shades", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"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
68386
698