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

gutil

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gutil - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

16

lib/util/concat.js

@@ -12,8 +12,18 @@ /**

var result = "";
if(values != null && values instanceof Array) {
for(var i=0; i<values.length; i++) {
if(values != null) {
var valuesArray;
if(values instanceof Object) {
if (values instanceof Array) {
valuesArray = values;
} else {
valuesArray = Object.keys(values);
}
} else {
valuesArray = [values];
}
for(var i=0; i<valuesArray.length; i++) {
if(i>0) {
result += separator;
}
var value = values[i];
var value = valuesArray[i];
if(func != null) {

@@ -20,0 +30,0 @@ value = func(value);

2

package.json
{
"name": "gutil",
"description": "GUtil",
"version": "1.5.1",
"version": "1.5.2",
"private": false,

@@ -6,0 +6,0 @@ "licenses": [

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