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

merge-deep

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge-deep - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

index.js

@@ -14,3 +14,4 @@ /*!

module.exports = function merge(orig, objects) {
if (!orig || !objects) { return orig || {}; }
if (!isObject(o)) return {};
if (!isObject(objects)) return o;

@@ -17,0 +18,0 @@ var len = arguments.length - 1;

{
"name": "merge-deep",
"description": "Recursively merge values in a javascript object.",
"version": "1.0.1",
"version": "1.0.2",
"homepage": "https://github.com/jonschlinkert/merge-deep",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "git://github.com/jonschlinkert/merge-deep.git"
},
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/merge-deep",
"bugs": {
"url": "https://github.com/jonschlinkert/merge-deep/issues"
},
"license": {
"type": "MIT",
"url": "https://github.com/jonschlinkert/merge-deep/blob/master/LICENSE"
},
"license": "MIT",
"files": [
"index.js"
],
"files": [
"index.js"
],
"main": "index.js",

@@ -33,7 +27,7 @@ "engines": {

"clone-deep": "^0.1.1",
"is-plain-object": "^1.0.0"
"is-plain-object": "^2.0.0"
},
"devDependencies": {
"mocha": "^2.1.0",
"should": "^5.0.0"
"mocha": "^2.2.5",
"should": "^6.0.3"
},

@@ -61,2 +55,2 @@ "keywords": [

]
}
}

@@ -7,9 +7,10 @@ # merge-deep [![NPM version](https://badge.fury.io/js/merge-deep.svg)](http://badge.fury.io/js/merge-deep)

## Install with [npm](npmjs.org)
## Install
```bash
npm i merge-deep --save
Install with [npm](https://www.npmjs.com/)
```sh
$ npm i merge-deep --save
```
## Usage

@@ -23,41 +24,37 @@

```
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## Related projects
### Related projects
* [assign-deep](https://github.com/jonschlinkert/assign-deep): Deeply assign the enumerable properties of source objects to a destination object.
* [defaults-deep](https://github.com/jonschlinkert/defaults-deep): Like `extend` but recursively copies only the missing properties/values to the target object.
* [extend-shallow](https://github.com/jonschlinkert/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util.
* [mixin-deep](https://github.com/jonschlinkert/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.
* [omit-deep](https://github.com/jonschlinkert/omit-deep): Recursively omit the specified key or keys from an object.
These are other projects I maintain:
## Running tests
- [extend-shallow](https://github.com/jonschlinkert/extend-shallow)
- [flatten-object](https://github.com/jonschlinkert/flatten-object)
- [for-in](https://github.com/jonschlinkert/for-in)
- [for-own](https://github.com/jonschlinkert/for-own)
- [has-any](https://github.com/jonschlinkert/has-any)
- [has-value](https://github.com/jonschlinkert/has-value)
- [is-number](https://github.com/jonschlinkert/is-number)
- [is-plain-object](https://github.com/jonschlinkert/is-plain-object)
- [mixin-deep](https://github.com/jonschlinkert/mixin-deep)
- [mixin-object](https://github.com/jonschlinkert/mixin-object)
- [object-length](https://github.com/jonschlinkert/object-length)
- [omit-empty](https://github.com/jonschlinkert/omit-empty)
- [reduce-object](https://github.com/jonschlinkert/reduce-object)
## Run tests
Install dev dependencies:
```bash
npm i -d && npm test
```sh
$ npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/merge-deep/issues/new)
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
Copyright © 2015 Jon Schlinkert
Released under the MIT license.
***
_This file was generated by [verb](https://github.com/assemble/verb) on February 25, 2015._
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 28, 2015._
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