Comparing version 1.0.2 to 1.0.3
/*! | ||
* mergician | ||
* v1.0.2 | ||
* v1.0.3 | ||
* https://jhildenbiddle.github.io/mergician/ | ||
@@ -5,0 +5,0 @@ * (c) 2022 John Hildenbiddle |
{ | ||
"name": "mergician", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Mergician is a uniquely flexible and light-weight utility for deep (recursive) merging/cloning of JavaScript objects. Includes options to filter, inspect, and modify properties as well as merge, sort, and remove duplicate items from arrays. Properly handles property accessors (getters/setters) and descriptors. Returns new object without modifying sources (immutable).", | ||
@@ -5,0 +5,0 @@ "author": "John Hildenbiddle", |
@@ -48,3 +48,3 @@ # Mergician | ||
dedupArrays: true, | ||
filter({ key, targetObj }) { | ||
filter({ depth, key, srcObj, srcVal, targetObj, targetVal }) { | ||
if (key === 'e') { | ||
@@ -88,3 +88,3 @@ targetObj['hello'] = 'world'; | ||
#### NPM | ||
**NPM** | ||
@@ -105,5 +105,5 @@ ```bash | ||
#### CDN | ||
**CDN** | ||
Available on [jsdelivr](https://www.jsdelivr.com/package/npm/css-vars-ponyfill) (below), [unpkg](https://unpkg.com/browse/css-vars-ponyfill/), and other CDN services that auto-publish npm packages. | ||
Available on [jsdelivr](https://www.jsdelivr.com/package/npm/mergician) (below), [unpkg](https://unpkg.com/browse/mergician/), and other CDN services that auto-publish npm packages. | ||
@@ -120,2 +120,4 @@ ```javascript | ||
> 💡 Note the `@` version lock in the URLs above. This prevents breaking changes in future releases from affecting your project and is therefore the safest method of loading dependencies from a CDN. When a new major version is released, you will need to manually update your CDN URLs by changing the version after the `@` symbol. | ||
## Usage & Options | ||
@@ -122,0 +124,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
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
82223
134