🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

smob

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smob - npm Package Compare versions

Comparing version

to
1.1.1

2

package.json
{
"name": "smob",
"version": "1.1.0",
"version": "1.1.1",
"description": "Zero dependency library to safe merge objects.",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

@@ -37,3 +37,3 @@ # SMOB 🧪

Merge source and target arrays by priority order.
- **arrayDistinct**: `false` Remove duplicates, when merging array properties.
- **arrayDistinct**: `false` Remove duplicates, when merging array elements.

@@ -49,4 +49,4 @@ The merge behaviour can be changed by creating a custom [merger](#merger).

console.log(merge({ a: 1 }, { a: 2 }, { a: 3 }));
// => { a: 1 }
console.log(merge({ a: 1 }, { b: 2 }, { c: 3 }));
// => { a: 1, b: 2, c: 3 }
```

@@ -53,0 +53,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet