Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mergician

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mergician - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/mergician.min.js
/*!
* 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

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