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 0.0.12 to 0.0.13

24

index.js

@@ -19,2 +19,3 @@ 'use strict';

exports.arrayFrom = arrayFrom;
exports.arrayTo = arrayTo;
exports.arrayClean = arrayClean;

@@ -212,2 +213,25 @@ exports.arraySort = arraySort;

// dependency: isString, isArray, isObject
function arrayTo(param) {
if (isArray(param)) {
return param;
}
if (isObject(param)) {
var a = [];
for (var key in param) {
if (param.hasOwnProperty(key)) {
a.push(param[key]);
}
}
return a;
}
if (isString(param)) {
return param.split();
}
return [];
};
// dependency: isEmpty

@@ -214,0 +238,0 @@ function arrayClean(array) {

2

package.json
{
"name": "d2-utilizr",
"version": "0.0.12",
"version": "0.0.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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