Comparing version 1.1.0 to 1.1.1
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36538
59