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

d2-utilizr

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d2-utilizr - npm Package Compare versions

Comparing version

to
0.0.5

6

package.json
{
"name": "d2-utilizr",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

@@ -8,3 +8,3 @@ "main": "./src/index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"build": "./node_modules/babel/bin/babel.js src/index.js -o index.js"
"build": "./node_modules/babel-cli/bin/babel.js src/index.js -o index.js"
},

@@ -22,4 +22,4 @@ "repository": {

"devDependencies": {
"babel": "6.3.13"
"babel-cli": "6.3.15"
}
}

@@ -207,6 +207,6 @@ // type

// dependency: isString, isNumber, isArray
export function arraySort = function(array, direction, key, emptyFirst) {
export function arraySort(array, direction, key, emptyFirst) {
// supports [number], [string], [{key: number}], [{key: string}], [[string]], [[number]]
if (!isArray(array) {
if (!isArray(array)) {
return;

@@ -261,2 +261,2 @@ }

return array;
};
}