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

assign-deep

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assign-deep - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

13

index.js

@@ -21,2 +21,5 @@ /*!

var val = arguments[i];
if (isPrimitive(target)) {
target = val;
}
if (isObject(val)) {

@@ -38,3 +41,3 @@ extend(target, val);

if (hasOwn(obj, key)) {
var val = obj[key];
var val = obj[key];
if (isObject(val)) {

@@ -62,2 +65,10 @@ if (typeOf(target[key]) === 'undefined' && typeOf(val) === 'function') {

/**
* Returns true if the val is a primitive (e.g. not a plain object, function or array)
*/
function isPrimitive(val) {
return !isObject(val) && !Array.isArray(val);
}
/**
* Returns true if the given `key` is an own property of `obj`.

@@ -64,0 +75,0 @@ */

{
"name": "assign-deep",
"description": "Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.",
"version": "0.4.3",
"version": "0.4.4",
"homepage": "https://github.com/jonschlinkert/assign-deep",

@@ -27,2 +27,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

"devDependencies": {
"gulp-format-md": "^0.1.7",
"mocha": "*"

@@ -45,2 +46,9 @@ },

"verb": {
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {

@@ -53,4 +61,10 @@ "list": [

]
},
"reflinks": [
"verb"
],
"lint": {
"reflinks": true
}
}
}

42

README.md

@@ -1,2 +0,2 @@

# assign-deep [![NPM version](https://badge.fury.io/js/assign-deep.svg)](http://badge.fury.io/js/assign-deep) [![Build Status](https://travis-ci.org/jonschlinkert/assign-deep.svg)](https://travis-ci.org/jonschlinkert/assign-deep)
# assign-deep [![NPM version](https://img.shields.io/npm/v/assign-deep.svg)](https://www.npmjs.com/package/assign-deep) [![Build Status](https://img.shields.io/travis/jonschlinkert/assign-deep.svg)](https://travis-ci.org/jonschlinkert/assign-deep)

@@ -7,6 +7,6 @@ > Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.

Install with [npm](https://www.npmjs.com/)
Install with [npm](https://www.npmjs.com/):
```sh
$ npm i assign-deep --save
$ npm install assign-deep --save
```

@@ -27,3 +27,3 @@

## Similar projects
## Related projects

@@ -35,2 +35,20 @@ * [assign-symbols](https://www.npmjs.com/package/assign-symbols): Assign the enumerable es6 Symbol properties from an object (or objects) to the first object… [more](https://www.npmjs.com/package/assign-symbols) | [homepage](https://github.com/jonschlinkert/assign-symbols)

## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/assign-deep/issues/new).
## Building docs
Generate readme and API documentation with [verb][]:
```sh
$ npm install verb && npm run docs
```
Or, if [verb][] is installed globally:
```sh
$ verb
```
## Running tests

@@ -41,9 +59,5 @@

```sh
$ npm i -d && npm test
$ npm install -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/assign-deep/issues/new).
## Author

@@ -53,12 +67,12 @@

+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
* [github/jonschlinkert](https://github.com/jonschlinkert)
* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright © 2015 Jon Schlinkert
Released under the MIT license.
Copyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)
Released under the [MIT license](https://github.com/jonschlinkert/assign-deep/blob/master/LICENSE).
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 06, 2015._
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 11, 2016._
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