New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

@cocreate/utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/utils - npm Package Compare versions

Comparing version

to
1.37.1

{
"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