@cocreate/utils
Advanced tools
Comparing version
{ | ||
"name": "@cocreate/utils", | ||
"version": "1.37.0", | ||
"version": "1.37.1", | ||
"description": "A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -327,5 +327,7 @@ (function (root, factory) { | ||
) { | ||
if (typeof keys[i] === "number") | ||
newObject.slice(keys[i], 1); | ||
else delete newObject[keys[i]]; | ||
if (typeof keys[i] === "number") { | ||
newObject.splice(keys[i], 1); | ||
} else { | ||
delete newObject[keys[i]]; | ||
} | ||
} else if (operator === "$shift") { | ||
@@ -411,3 +413,3 @@ newObject[keys[i]].shift(); | ||
if (typeof keys[i] === "number") | ||
newObject.slice(keys[i], 1); | ||
newObject.splice(keys[i], 1); | ||
else delete newObject[keys[i]]; | ||
@@ -414,0 +416,0 @@ } else newObject[keys[i]] = value; |
Sorry, the diff of this file is too big to display
175898
0.17%1174
0.17%