{"_id":"es6-object-assign","_rev":"56791","name":"es6-object-assign","description":"ECMAScript 2015 (ES6) Object.assign polyfill and ponyfill","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"rubennorte","email":"rubennorte@gmail.com"}],"time":{"modified":"2021-06-03T10:17:18.000Z","created":"2015-05-13T20:43:32.723Z","1.1.0":"2017-03-18T20:38:03.729Z","1.0.3":"2016-08-23T20:56:32.945Z","1.0.2":"2016-06-10T17:41:48.993Z","1.0.1":"2015-05-13T20:52:26.606Z","1.0.0":"2015-05-13T20:43:32.723Z"},"users":{},"author":{"name":"Rubén Norte","email":"rubennorte@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/rubennorte/es6-object-assign.git"},"versions":{"1.1.0":{"name":"es6-object-assign","version":"1.1.0","description":"ECMAScript 2015 (ES6) Object.assign polyfill and ponyfill","main":"index.js","scripts":{"compile":"npm run compile:manual && npm run compile:auto","compile:manual":"browserify index.js -o dist/object-assign.js --standalone ObjectAssign","compile:auto":"browserify auto.js -o dist/object-assign-auto.js","compress":"npm run compress:manual && npm run compress:auto","compress:manual":"uglifyjs dist/object-assign.js --compress --mangle > dist/object-assign.min.js","compress:auto":"uglifyjs dist/object-assign-auto.js --compress --mangle > dist/object-assign-auto.min.js","build":"npm run compile && npm run compress"},"repository":{"type":"git","url":"git+https://github.com/rubennorte/es6-object-assign.git"},"keywords":["Object","assign","ES6","ECMAScript 6","ES2015","ECMAScript 2015","polyfill","ponyfill"],"author":{"name":"Rubén Norte","email":"rubennorte@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rubennorte/es6-object-assign/issues"},"homepage":"https://github.com/rubennorte/es6-object-assign","devDependencies":{"browserify":"^10.1.3","uglify-js":"^2.4.21"},"files":["index.js","auto.js","dist"],"gitHead":"83776c241b036b6e368759d8a5620e608cfee0a1","_id":"es6-object-assign@1.1.0","_shasum":"c2c3582656247c39ea107cb1e6652b6f9f24523c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"shasum":"c2c3582656247c39ea107cb1e6652b6f9f24523c","size":4975,"noattachment":false,"key":"/es6-object-assign/-/es6-object-assign-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-object-assign/download/es6-object-assign-1.1.0.tgz"},"maintainers":[{"name":"rubennorte","email":"rubennorte@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/es6-object-assign-1.1.0.tgz_1489869481910_0.8724472117610276"},"directories":{},"publish_time":1489869483729,"_cnpm_publish_time":1489869483729,"_hasShrinkwrap":false},"1.0.3":{"name":"es6-object-assign","version":"1.0.3","description":"ECMAScript 2015 (ES6) Object.assign polyfill and ponyfill","main":"src/index.js","scripts":{"compile":"browserify src/index.js -o dist/object-assign.js --standalone ObjectAssign","compress":"uglifyjs dist/object-assign.js --compress --mangle > dist/object-assign.min.js","build":"npm run compile && npm run compress"},"repository":{"type":"git","url":"git+https://github.com/rubennorte/es6-object-assign.git"},"keywords":["Object","assign","ES6","ECMAScript 6","ES2015","ECMAScript 2015","polyfill","ponyfill"],"author":{"name":"Rubén Norte","email":"rubennorte@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rubennorte/es6-object-assign/issues"},"homepage":"https://github.com/rubennorte/es6-object-assign","devDependencies":{"browserify":"^10.1.3","uglify-js":"^2.4.21"},"files":["src","dist"],"gitHead":"619c042dedecd7b6ccce22e9ea312a8a36c83d54","_id":"es6-object-assign@1.0.3","_shasum":"40a192e0fda5ee44ee8cf6f5b5d9b47cd0f69b14","_from":".","_npmVersion":"3.9.5","_nodeVersion":"4.4.5","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"maintainers":[{"name":"rubennorte","email":"rubennorte@gmail.com"}],"dist":{"shasum":"40a192e0fda5ee44ee8cf6f5b5d9b47cd0f69b14","size":3297,"noattachment":false,"key":"/es6-object-assign/-/es6-object-assign-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-object-assign/download/es6-object-assign-1.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/es6-object-assign-1.0.3.tgz_1471985791251_0.7147815495263785"},"directories":{},"publish_time":1471985792945,"_cnpm_publish_time":1471985792945,"_hasShrinkwrap":false},"1.0.2":{"name":"es6-object-assign","version":"1.0.2","description":"ECMAScript 6 Object.assign polyfill and ponyfill","main":"src/index.js","scripts":{"compile":"browserify src/index.js -o dist/object-assign.js --standalone ObjectAssign","compress":"uglifyjs dist/object-assign.js --compress --mangle > dist/object-assign.min.js","build":"npm run compile && npm run compress"},"repository":{"type":"git","url":"git+https://github.com/rubennorte/es6-object-assign.git"},"keywords":["Object","assign","ES6","ECMAScript6","polyfill","ponyfill"],"author":{"name":"Rubén Norte","email":"rubennorte@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rubennorte/es6-object-assign/issues"},"homepage":"https://github.com/rubennorte/es6-object-assign","devDependencies":{"browserify":"^10.1.3","uglify-js":"^2.4.21"},"files":["src","dist"],"gitHead":"ba2e026c0a027fd8d25ce07249d192d3301cf915","_id":"es6-object-assign@1.0.2","_shasum":"ff676ec54546b5871c9a164c9c658eb1190ce4b5","_from":".","_npmVersion":"3.9.5","_nodeVersion":"4.4.5","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"maintainers":[{"name":"rubennorte","email":"rubennorte@gmail.com"}],"dist":{"shasum":"ff676ec54546b5871c9a164c9c658eb1190ce4b5","size":3161,"noattachment":false,"key":"/es6-object-assign/-/es6-object-assign-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-object-assign/download/es6-object-assign-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/es6-object-assign-1.0.2.tgz_1465580505888_0.888005844084546"},"directories":{},"publish_time":1465580508993,"_cnpm_publish_time":1465580508993,"_hasShrinkwrap":false},"1.0.1":{"name":"es6-object-assign","version":"1.0.1","description":"ECMAScript 6 Object.assign polyfill and ponyfill","main":"src/index.js","scripts":{"compile":"browserify src/index.js -o dist/object-assign.js --standalone ObjectAssign","compress":"uglifyjs dist/object-assign.js --compress --mangle > dist/object-assign.min.js","build":"npm run compile && npm run compress"},"repository":{"type":"git","url":"https://github.com/rubennorte/es6-object-assign.git"},"keywords":["Object","assign","ES6","ECMAScript6","polyfill","ponyfill"],"author":{"name":"Rubén Norte","email":"rubennorte@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rubennorte/es6-object-assign/issues"},"homepage":"https://github.com/rubennorte/es6-object-assign","devDependencies":{"browserify":"^10.1.3","uglify-js":"^2.4.21"},"files":["src","dist"],"gitHead":"4b403098dead483a0b320c9d3bbbbcc0e5c063fb","_id":"es6-object-assign@1.0.1","_shasum":"63d1d4537667cca4a5cd98a6f5ac7a6feb51d48f","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.36","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"maintainers":[{"name":"rubennorte","email":"rubennorte@gmail.com"}],"dist":{"shasum":"63d1d4537667cca4a5cd98a6f5ac7a6feb51d48f","size":3010,"noattachment":false,"key":"/es6-object-assign/-/es6-object-assign-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-object-assign/download/es6-object-assign-1.0.1.tgz"},"directories":{},"publish_time":1431550346606,"_cnpm_publish_time":1431550346606,"_hasShrinkwrap":false},"1.0.0":{"name":"es6-object-assign","version":"1.0.0","description":"ECMAScript 6 Object.assign polyfill and ponyfill","main":"src/index.js","scripts":{"compile":"browserify src/index.js -o dist/object-assign.js --standalone ObjectAssign","compress":"uglifyjs dist/object-assign.js --compress --mangle > dist/object-assign.min.js","build":"npm run compile && npm run compress"},"repository":{"type":"git","url":"https://github.com/rubennorte/es6-object-assign.git"},"keywords":["Object","assign","ES6","ECMAScript6","polyfill","ponyfill"],"author":{"name":"Rubén Norte","email":"rubennorte@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/rubennorte/es6-object-assign/issues"},"homepage":"https://github.com/rubennorte/es6-object-assign","devDependencies":{"browserify":"^10.1.3","uglify-js":"^2.4.21"},"files":["src","dist"],"gitHead":"cacaef374d4ea3b5ff4a7538edcac288d29be3df","_id":"es6-object-assign@1.0.0","_shasum":"2739a39aeb505ff75816d0cb5d91339dfb1c0e86","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.36","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"maintainers":[{"name":"rubennorte","email":"rubennorte@gmail.com"}],"dist":{"shasum":"2739a39aeb505ff75816d0cb5d91339dfb1c0e86","size":3050,"noattachment":false,"key":"/es6-object-assign/-/es6-object-assign-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-object-assign/download/es6-object-assign-1.0.0.tgz"},"directories":{},"publish_time":1431549812723,"_cnpm_publish_time":1431549812723,"_hasShrinkwrap":false}},"readme":"[![npm](https://img.shields.io/npm/l/es6-object-assign.svg)](https://www.npmjs.org/package/es6-object-assign)\n[![npm](https://img.shields.io/npm/v/es6-object-assign.svg)](https://www.npmjs.org/package/es6-object-assign)\n\n# ES6 Object.assign()\n\nECMAScript 2015 (ES2015/ES6) [Object.assign()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) polyfill and [ponyfill](https://ponyfill.com) for ECMAScript 5 environments.\n\nThe main definition of this package has been copied from the polyfill defined in the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign).\n\n## Installation\n\n### NPM\n\n```bash\nnpm install es6-object-assign\n```\n\n### Manual download and import\n\nThe package is also available as a UMD module (compatible with AMD, CommonJS and exposing a global variable `ObjectAssign`) in `dist/object-assign.js` and `dist/object-assign.min.js` (833 bytes minified and gzipped).\n\nThe versions with automatic polyfilling are `dist/object-assign-auto.js` and `dist/object-assign-auto.min.js`.\n\n## Usage\n\n**CommonJS**:\n\n```javascript\n// Polyfill, modifying the global Object\nrequire('es6-object-assign').polyfill();\nvar obj = Object.assign({}, { foo: 'bar' });\n\n// Same version with automatic polyfilling\nrequire('es6-object-assign/auto');\nvar obj = Object.assign({}, { foo: 'bar' });\n\n// Or ponyfill, using a reference to the function without modifying globals\nvar assign = require('es6-object-assign').assign;\nvar obj = assign({}, { foo: 'bar' });\n```\n\n**Globals**:\n\nManual polyfill:\n\n```html\n<script src=\"<your-libs-directory>/object-assign.min.js\"></script>\n<script>\n  // Polyfill, modifying the global Object\n  window.ObjectAssign.polyfill();\n  var obj = Object.assign({}, { foo: 'bar' });\n</script>\n```\n\nAutomatic polyfill:\n\n```html\n<script src=\"<your-libs-directory>/object-assign-auto.min.js\"></script>\n<script>\n  var obj = Object.assign({}, { foo: 'bar' });\n</script>\n```\n\nPonyfill, without modifying globals:\n\n```html\n<script src=\"<your-libs-directory>/object-assign.min.js\"></script>\n<script>\n  var assign = window.ObjectAssign.assign;\n  var obj = assign({}, { foo: 'bar' });\n</script>\n```\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2017 Rubén Norte\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","_attachments":{},"homepage":"https://github.com/rubennorte/es6-object-assign","bugs":{"url":"https://github.com/rubennorte/es6-object-assign/issues"},"license":"MIT"}