object-assign
Advanced tools
Comparing version 0.4.0 to 1.0.0
{ | ||
"name": "object-assign", | ||
"version": "0.4.0", | ||
"version": "1.0.0", | ||
"description": "ES6 Object.assign() ponyfill", | ||
"license": "MIT", | ||
"main": "object-assign.js", | ||
"repository": "sindresorhus/object-assign", | ||
@@ -20,3 +19,3 @@ "author": { | ||
"files": [ | ||
"object-assign.js" | ||
"index.js" | ||
], | ||
@@ -23,0 +22,0 @@ "keywords": [ |
@@ -14,14 +14,8 @@ # object-assign [![Build Status](https://travis-ci.org/sindresorhus/object-assign.svg?branch=master)](https://travis-ci.org/sindresorhus/object-assign) | ||
```sh | ||
$ bower install --save object-assign | ||
``` | ||
```sh | ||
$ component install sindresorhus/object-assign | ||
``` | ||
## Usage | ||
```js | ||
var objectAssign = require('object-assign'); | ||
objectAssign({foo: 0}, {bar: 1}); | ||
@@ -33,2 +27,6 @@ //=> {foo: 0, bar: 1} | ||
//=> {foo: 0, bar: 1, baz: 2} | ||
// ignores null and undefined sources | ||
objectAssign({foo: 0}, null, {bar: 1}, undefined); | ||
//=> {foo: 0, bar: 1, baz: 2} | ||
``` | ||
@@ -51,2 +49,2 @@ | ||
[MIT](http://opensource.org/licenses/MIT) © [Sindre Sorhus](http://sindresorhus.com) | ||
MIT © [Sindre Sorhus](http://sindresorhus.com) |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
2434
30
48