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

object-merger

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-merger - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

lib/object-merger.js

@@ -29,2 +29,3 @@ /*!

const apply = (obj, cur) => {
if (!obj) return;
Object.keys(obj).forEach(key => {

@@ -31,0 +32,0 @@ if (Array.isArray(obj[key])) {

9

package.json
{
"name": "object-merger",
"version": "1.0.0",
"version": "1.0.1",
"engines" : {
"node" : ">=6.0.0"
},
"engineStrict": true,
"description": "Deep merge objects, better version of native Object.assign.",

@@ -29,3 +33,4 @@ "main": "index.js",

"copy",
"merge"
"merge",
"es6"
],

@@ -32,0 +37,0 @@ "author": "Jarrad Seers <jarrad@seers.me>",

# Object Merger
Merge Objects properly instead of overwriting them. Essentially a deep `Object.assign`. It's very simple, written in ES6+ and handles a basic deep copy of objects.
Merge Javascript Objects properly instead of overwriting them. Essentially a deep `Object.assign`. It's very simple, written in ES6+ and handles a basic deep copy of objects.
This was written out of frustrations with `Object.assign` and the heavier weight of some alternative packages trying to support everything.
This was written due to lack of power with `Object.assign` and the heavier weight of some alternative packages trying to support everything.

@@ -7,0 +7,0 @@ ## Usage

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