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

utilsac

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilsac - npm Package Compare versions

Comparing version 12.2.7 to 12.2.9

2

deep.js

@@ -298,3 +298,3 @@ export {

}
return validateArrayLike(arr1, arr2);
return validateArrayLike(a, b);
}

@@ -301,0 +301,0 @@

@@ -0,0 +0,0 @@ Creative Commons Legal Code

{
"name": "utilsac",
"version": "12.2.7",
"version": "12.2.9",
"description": "Utility functions",
"license": "CC0-1.0",
"type": "module",

@@ -13,25 +14,8 @@ "main": "utility.js",

},
"files": [
"typeCast.js",
"evalGlobal.js",
"blobs.js",
"utility.js",
"deep.js",
"readme.md",
"license.txt",
"changelog.md"
],
"keywords": [
"utility",
"deep",
"equal",
"copy",
"assign",
"memoize",
"type",
"cast",
"eval",
"global"
],
"license": "CC0-1.0",
"devDependencies": {
"ava": "^2.4.0",
"eslint": "^6.5.1",
"eslint-config-red": "^1.4.1",
"leistung": "^2.0.0"
},
"eslintConfig": {

@@ -47,16 +31,6 @@ "extends": [

"env": {
"es6": true,
"es2020": true,
"browser": true
}
},
"repository": {
"type": "git",
"url": "git://github.com/GrosSacASac/utilsac.git"
},
"devDependencies": {
"ava": "^2.4.0",
"eslint": "^6.5.1",
"eslint-config-red": "^1.4.1",
"leistung": "^2.0.0"
},
"ava": {

@@ -82,3 +56,29 @@ "files": [

"compileEnhancements": false
}
},
"files": [
"typeCast.js",
"evalGlobal.js",
"blobs.js",
"utility.js",
"deep.js",
"readme.md",
"license.txt",
"changelog.md"
],
"repository": {
"type": "git",
"url": "git://github.com/GrosSacASac/utilsac.git"
},
"keywords": [
"utility",
"deep",
"equal",
"copy",
"assign",
"memoize",
"type",
"cast",
"eval",
"global"
]
}

@@ -40,13 +40,15 @@ export {

const stringFromArray = function (array, sep = ` `) {
return array.reduce((total, item) => `${total}${sep}${item}`);
}
return array.join(sep);
};
const setFromArray = (array) => new Set(array);
const setFromArray = (array) => {
return new Set(array);
};
const mapFromObject = function (obj) {
let m = new Map();
for (let key in obj) {
const m = new Map();
for (const key in obj) {
m.set(key, obj[key]);
}
return m;
}
};
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