New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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

to
1.4.3

2

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

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

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

- get : Get object or sub-object attribute value :
- **get** : Get object or sub-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 array values or object values has this attribute value :
```js

@@ -24,3 +24,3 @@ // array

```
- by : Select values from an array or an object if they have the attribute value.
- **by** : Select values from an array or an object if they have the attribute value.
```js

@@ -38,3 +38,3 @@ // array

```
- byNot : Select values from an array or an object if they do not have the attribute value :
- **byNot** : Select values from an array or an object if they do not have the attribute value :
```js

@@ -53,19 +53,3 @@ // array

```
- add : insert value in an array
- all
- and
- Assert
- concat
- each
- filter
- log
- oneBy
- requireReload
- sort : sort array elements
- unique
- walk
- string : utils functions for String
- replace2 : scan only one time the text and replace many txt occurences during this scan
- **replace2** : scan only one time the text and replace many txt occurences during this scan
sample :

@@ -80,2 +64,16 @@ ```js

// txt == "hello world";
```
```
- **add** : insert value in an array
- **all**
- **and**
- **Assert**
- **concat**
- **each**
- **filter**
- **log**
- **oneBy**
- **requireReload**
- **sort** : sort array elements
- **unique**
- **walk**
- **string** : utils functions for String