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.4.3 to 1.5.0

lib/util/addAll.js

2

lib/gutil.js

@@ -18,2 +18,3 @@ var each = require('./util/each');

var add = require('./util/add');
var addAll = require('./util/addAll');
var sort = require('./util/sort');

@@ -40,2 +41,3 @@ var string = require('./util/string');

add: add,
addAll: addAll,
sort: sort,

@@ -42,0 +44,0 @@ string: string,

2

package.json
{
"name": "gutil",
"description": "GUtil",
"version": "1.4.3",
"version": "1.5.0",
"private": false,

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

@@ -6,7 +6,7 @@ gutil

- **get** : Get object or sub-object attribute value :
- **get** : Get object attribute value :
```js
get( {o1:{o2:{o3:{a:1}}}}, "o1.o2.o3.a") // => 1
```
- **has** : Return true if array values or object values has this attribute value :
- **has** : Return true if the object has the attribute value :
```js

@@ -63,2 +63,3 @@ // array

- **add** : insert value in an array
- **addAll** : insert values in an array
- **all**

@@ -65,0 +66,0 @@ - **and**

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