Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
5
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/scratch - npm Package Compare versions

Comparing version 2.11.200 to 2.11.204

39

dist/cjs/factory.js

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -850,19 +850,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -910,2 +916,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -936,2 +943,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -938,0 +949,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -850,19 +850,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -910,2 +916,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -936,2 +943,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -938,0 +949,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -814,19 +814,25 @@ "use strict";

};
var isEqualDeep = (param, element) => {
if (param === element)
var isEqualDeep = (param, element, visited = /* @__PURE__ */ new Set()) => {
if (typeof param !== "object" || typeof element !== "object" || param === null || element === null) {
return param === element;
}
if (visited.has(param) || visited.has(element)) {
return true;
if (!param || !element)
}
visited.add(param);
visited.add(element);
const keysParam = Object.keys(param);
const keysElement = Object.keys(element);
if (keysParam.length !== keysElement.length) {
return false;
for (const prop in param) {
const paramProp = param[prop];
const elementProp = element[prop];
if ((0, import_types.isObjectLike)(paramProp)) {
const isEqual = isEqualDeep(paramProp, elementProp);
if (!isEqual)
return false;
} else {
const isEqual = paramProp === elementProp;
if (!isEqual)
return false;
}
for (const key of keysParam) {
if (!keysElement.includes(key)) {
return false;
}
const paramProp = param[key];
const elementProp = element[key];
if (!isEqualDeep(paramProp, elementProp, visited)) {
return false;
}
}

@@ -874,2 +880,3 @@ return true;

debounce: () => debounce,
isStringFunction: () => isStringFunction,
memoize: () => memoize

@@ -900,2 +907,6 @@ });

};
var isStringFunction = (inputString) => {
const functionRegex = /^((function\s*\([^)]*\)\s*\{[^}]*\})|(\([^)]*\)\s*=>))/;
return functionRegex.test(inputString);
};
}

@@ -902,0 +913,0 @@ });

@@ -5,3 +5,3 @@ {

"author": "symbo.ls",
"version": "2.11.200",
"version": "2.11.204",
"files": [

@@ -33,3 +33,3 @@ "src",

},
"gitHead": "df4b72fc4bb89a6e73b64304a7f8ff460b5a8a64"
"gitHead": "dab7f6d84335bca5af356b849c51204910670e76"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc