{ "_args": [ [ { "raw": "object.assign@^4.0.4", "scope": null, "escapedName": "object.assign", "name": "object.assign", "rawSpec": "^4.0.4", "spec": ">=4.0.4 <5.0.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/auth0" ] ], "_from": "object.assign@>=4.0.4 <5.0.0", "_id": "object.assign@4.1.0", "_inCache": true, "_location": "/object.assign", "_nodeVersion": "9.3.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/object.assign-4.1.0.tgz_1513887492170_0.7630214935634285" }, "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "5.5.1", "_phantomChildren": {}, "_requested": { "raw": "object.assign@^4.0.4", "scope": null, "escapedName": "object.assign", "name": "object.assign", "rawSpec": "^4.0.4", "spec": ">=4.0.4 <5.0.0", "type": "range" }, "_requiredBy": [ "/auth0" ], "_resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", "_shasum": "968bf1100d7956bb3ca086f006f846b3bc4008da", "_shrinkwrap": null, "_spec": "object.assign@^4.0.4", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/auth0", "author": { "name": "Jordan Harband" }, "bugs": { "url": "https://github.com/ljharb/object.assign/issues" }, "dependencies": { "define-properties": "^1.1.2", "function-bind": "^1.1.1", "has-symbols": "^1.0.0", "object-keys": "^1.0.11" }, "description": "ES6 spec-compliant Object.assign shim. From https://github.com/es-shims/es6-shim", "devDependencies": { "@es-shims/api": "^2.1.1", "@ljharb/eslint-config": "^12.2.1", "browserify": "^14.5.0", "covert": "^1.1.0", "eslint": "^4.13.1", "for-each": "^0.3.2", "is": "^3.2.1", "jscs": "^3.0.7", "nsp": "^3.1.0", "tape": "^4.8.0" }, "directories": {}, "dist": { "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "shasum": "968bf1100d7956bb3ca086f006f846b3bc4008da", "tarball": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz" }, "engines": { "node": ">= 0.4" }, "gitHead": "5fd74aee40aba36e9a8eb0c329abd33a07b93164", "homepage": "https://github.com/ljharb/object.assign#readme", "keywords": [ "Object.assign", "assign", "ES6", "extend", "$.extend", "jQuery", "_.extend", "Underscore", "es-shim API", "polyfill", "shim" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "name": "object.assign", "optionalDependencies": {}, "readme": "#object.assign [![Version Badge][npm-version-svg]][npm-url]\n\n[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][npm-url]\n\n[![browser support][testling-png]][testling-url]\n\nAn Object.assign shim. Invoke its \"shim\" method to shim Object.assign if it is unavailable.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](http://www.ecma-international.org/ecma-262/6.0/#sec-object.assign). In an ES6 environment, it will also work properly with `Symbol`s.\n\nTakes a minimum of 2 arguments: `target` and `source`.\nTakes a variable sized list of source arguments - at least 1, as many as you want.\nThrows a TypeError if the `target` argument is `null` or `undefined`.\n\nMost common usage:\n```js\nvar assign = require('object.assign').getPolyfill(); // returns native method if compliant\n\t/* or */\nvar assign = require('object.assign/polyfill')(); // returns native method if compliant\n```\n\n## Example\n\n```js\nvar assert = require('assert');\n\n// Multiple sources!\nvar target = { a: true };\nvar source1 = { b: true };\nvar source2 = { c: true };\nvar sourceN = { n: true };\n\nvar expected = {\n\ta: true,\n\tb: true,\n\tc: true,\n\tn: true\n};\n\nassign(target, source1, source2, sourceN);\nassert.deepEqual(target, expected); // AWESOME!\n```\n\n```js\nvar target = {\n\ta: true,\n\tb: true,\n\tc: true\n};\nvar source1 = {\n\tc: false,\n\td: false\n};\nvar sourceN = {\n\te: false\n};\n\nvar assigned = assign(target, source1, sourceN);\nassert.equal(target, assigned); // returns the target object\nassert.deepEqual(assigned, {\n\ta: true,\n\tb: true,\n\tc: false,\n\td: false,\n\te: false\n});\n```\n\n```js\n/* when Object.assign is not present */\ndelete Object.assign;\nvar shimmedAssign = require('object.assign').shim();\n\t/* or */\nvar shimmedAssign = require('object.assign/shim')();\n\nassert.equal(shimmedAssign, assign);\n\nvar target = {\n\ta: true,\n\tb: true,\n\tc: true\n};\nvar source = {\n\tc: false,\n\td: false,\n\te: false\n};\n\nvar assigned = assign(target, source);\nassert.deepEqual(Object.assign(target, source), assign(target, source));\n```\n\n```js\n/* when Object.assign is present */\nvar shimmedAssign = require('object.assign').shim();\nassert.equal(shimmedAssign, Object.assign);\n\nvar target = {\n\ta: true,\n\tb: true,\n\tc: true\n};\nvar source = {\n\tc: false,\n\td: false,\n\te: false\n};\n\nassert.deepEqual(Object.assign(target, source), assign(target, source));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[npm-url]: https://npmjs.org/package/object.assign\n[npm-version-svg]: http://versionbadg.es/ljharb/object.assign.svg\n[travis-svg]: https://travis-ci.org/ljharb/object.assign.svg\n[travis-url]: https://travis-ci.org/ljharb/object.assign\n[deps-svg]: https://david-dm.org/ljharb/object.assign.svg?theme=shields.io\n[deps-url]: https://david-dm.org/ljharb/object.assign\n[dev-deps-svg]: https://david-dm.org/ljharb/object.assign/dev-status.svg?theme=shields.io\n[dev-deps-url]: https://david-dm.org/ljharb/object.assign#info=devDependencies\n[testling-png]: https://ci.testling.com/ljharb/object.assign.png\n[testling-url]: https://ci.testling.com/ljharb/object.assign\n[npm-badge-png]: https://nodei.co/npm/object.assign.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/object.assign.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/object.assign.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=object.assign\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/ljharb/object.assign.git" }, "scripts": { "build": "mkdir -p dist && browserify browserShim.js > dist/browser.js", "coverage": "covert test/*.js", "coverage:quiet": "covert test/*.js --quiet", "eslint": "eslint *.js test/*.js", "jscs": "jscs *.js test/*.js", "lint": "npm run --silent jscs && npm run --silent eslint", "posttest": "npm run --silent security", "prepublish": "npm run --silent build", "pretest": "npm run --silent lint && es-shim-api", "security": "nsp check", "test": "npm run --silent tests-only", "test:implementation": "node test/index.js", "test:native": "node test/native.js", "test:shim": "node test/shimmed.js", "tests-only": "npm run --silent test:implementation && npm run --silent test:shim" }, "testling": { "files": "test/index.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "version": "4.1.0" }