immutable-set
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -149,3 +149,3 @@ "use strict"; | ||
sameValue | ||
}), ...currentBase.slice(key + 1)]; | ||
}), ...currentBase.slice(parseInt(key, 10) + 1)]; | ||
} | ||
@@ -152,0 +152,0 @@ |
{ | ||
"name": "immutable-set", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Set nested properties of an object while respecting the principles of immutability", | ||
@@ -5,0 +5,0 @@ "main": "lib/set.js", |
@@ -121,3 +121,3 @@ import { recursiveEqual, isSafe } from './utils'; | ||
set(nextBase(currentBase, key, nextKey, withArrays), path.slice(1), value, { withArrays, sameValue }), | ||
...currentBase.slice(key + 1), | ||
...currentBase.slice(parseInt(key, 10) + 1), | ||
]; | ||
@@ -124,0 +124,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
18721