{"_id":"setprototypeof","_rev":"36708","name":"setprototypeof","description":"A small polyfill for Object.setprototypeof","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"time":{"modified":"2022-10-18T09:41:12.000Z","created":"2015-02-04T13:56:57.705Z","1.2.0":"2019-07-18T04:49:56.614Z","1.1.1":"2019-01-04T18:21:58.834Z","1.1.0":"2017-09-13T23:50:24.119Z","1.0.3":"2017-02-20T16:21:03.362Z","1.0.2":"2016-11-13T16:55:41.672Z","1.0.1":"2016-02-06T23:56:57.210Z","1.0.0":"2015-02-04T13:56:57.705Z"},"users":{},"author":{"name":"Wes Todd"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"versions":{"1.2.0":{"name":"setprototypeof","version":"1.2.0","description":"A small polyfill for Object.setprototypeof","main":"index.js","typings":"index.d.ts","scripts":{"test":"standard && mocha","testallversions":"npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11","testversion":"docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t","node010":"NODE_VER=0.10 MOCHA_VER=3 npm run testversion","node4":"NODE_VER=4 npm run testversion","node6":"NODE_VER=6 npm run testversion","node9":"NODE_VER=9 npm run testversion","node11":"NODE_VER=11 npm run testversion","prepublishOnly":"npm t","postpublish":"git push origin && git push origin --tags"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","devDependencies":{"mocha":"^6.1.4","standard":"^13.0.2"},"gitHead":"52d00b3a6dbd92fbf36c8019a1e36179b4a0f308","_id":"setprototypeof@1.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"dist":{"shasum":"66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424","size":1969,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.2.0.tgz"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/setprototypeof_1.2.0_1563425396455_0.08155255328700584"},"_hasShrinkwrap":false,"publish_time":1563425396614,"_cnpm_publish_time":1563425396614},"1.1.1":{"name":"setprototypeof","version":"1.1.1","description":"A small polyfill for Object.setprototypeof","main":"index.js","typings":"index.d.ts","scripts":{"test":"standard && mocha","testallversions":"npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11","testversion":"docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t","node010":"NODE_VER=0.10 MOCHA_VER=3 npm run testversion","node4":"NODE_VER=4 npm run testversion","node6":"NODE_VER=6 npm run testversion","node9":"NODE_VER=9 npm run testversion","node11":"NODE_VER=11 npm run testversion"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","devDependencies":{"mocha":"^5.2.0","standard":"^12.0.1"},"gitHead":"ae67afeeed1b9ba8b351674dd9ccf3b9716ad474","_id":"setprototypeof@1.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"dist":{"shasum":"7e95acb24aa92f5885e0abef5ba131330d4ae683","size":1922,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.1.1.tgz"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/setprototypeof_1.1.1_1546626118682_0.5274603400934563"},"_hasShrinkwrap":false,"publish_time":1546626118834,"_cnpm_publish_time":1546626118834},"1.1.0":{"name":"setprototypeof","version":"1.1.0","description":"A small polyfill for Object.setprototypeof","main":"index.js","typings":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","gitHead":"8fc2c260d8b7da91133edefde49a3df461f220c8","_id":"setprototypeof@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"dist":{"shasum":"d0bd85536887b6fe7c0d818cb962d9d91c54e656","size":1428,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.1.0.tgz"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/setprototypeof-1.1.0.tgz_1505346623089_0.6391460271552205"},"directories":{},"publish_time":1505346624119,"_hasShrinkwrap":false,"_cnpm_publish_time":1505346624119},"1.0.3":{"name":"setprototypeof","version":"1.0.3","description":"A small polyfill for Object.setprototypeof","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","gitHead":"a8a71aab8118651b9b0ea97ecfc28521ec82b008","_id":"setprototypeof@1.0.3","_shasum":"66567e37043eeb4f04d91bd658c0cbefb55b8e04","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"dist":{"shasum":"66567e37043eeb4f04d91bd658c0cbefb55b8e04","size":1312,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.0.3.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.0.3.tgz"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/setprototypeof-1.0.3.tgz_1487607661334_0.977291816379875"},"directories":{},"publish_time":1487607663362,"_cnpm_publish_time":1487607663362,"_hasShrinkwrap":false},"1.0.2":{"name":"setprototypeof","version":"1.0.2","description":"A small polyfill for Object.setprototypeof","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","gitHead":"34da239ae7ab69b7b42791d5b928379ce51a0ff2","_id":"setprototypeof@1.0.2","_shasum":"81a552141ec104b88e89ce383103ad5c66564d08","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"dist":{"shasum":"81a552141ec104b88e89ce383103ad5c66564d08","size":1284,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.0.2.tgz"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/setprototypeof-1.0.2.tgz_1479056139581_0.43114364007487893"},"directories":{},"publish_time":1479056141672,"_cnpm_publish_time":1479056141672,"_hasShrinkwrap":false},"1.0.1":{"name":"setprototypeof","version":"1.0.1","description":"A small polyfill for Object.setprototypeof","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","gitHead":"1e3d0cde6b7f4a9fba10cd28e62b200c9d8f899f","_id":"setprototypeof@1.0.1","_shasum":"52009b27888c4dc48f591949c0a8275834c1ca7e","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"dist":{"shasum":"52009b27888c4dc48f591949c0a8275834c1ca7e","size":1274,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.0.1.tgz"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/setprototypeof-1.0.1.tgz_1454803015119_0.7522649802267551"},"directories":{},"publish_time":1454803017210,"_cnpm_publish_time":1454803017210,"_hasShrinkwrap":false},"1.0.0":{"name":"setprototypeof","version":"1.0.0","description":"A small polyfill for Object.setprototypeof","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/wesleytodd/setprototypeof.git"},"keywords":["polyfill","object","setprototypeof"],"author":{"name":"Wes Todd"},"license":"ISC","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"homepage":"https://github.com/wesleytodd/setprototypeof","gitHead":"737c200fa382c4d10466b48e7426f9c6b38ea358","_id":"setprototypeof@1.0.0","_shasum":"d5fafca01e1174d0079bd1bf881f09c8a339794c","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.29","_npmUser":{"name":"wesleytodd","email":"wes@wesleytodd.com"},"maintainers":[{"name":"wesleytodd","email":"wes@wesleytodd.com"}],"dist":{"shasum":"d5fafca01e1174d0079bd1bf881f09c8a339794c","size":1256,"noattachment":false,"key":"/setprototypeof/-/setprototypeof-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/setprototypeof/download/setprototypeof-1.0.0.tgz"},"directories":{},"publish_time":1423058217705,"_cnpm_publish_time":1423058217705,"_hasShrinkwrap":false}},"readme":"# Polyfill for `Object.setPrototypeOf`\n\n[![NPM Version](https://img.shields.io/npm/v/setprototypeof.svg)](https://npmjs.org/package/setprototypeof)\n[![NPM Downloads](https://img.shields.io/npm/dm/setprototypeof.svg)](https://npmjs.org/package/setprototypeof)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/standard/standard)\n\nA simple cross platform implementation to set the prototype of an instianted object.  Supports all modern browsers and at least back to IE8.\n\n## Usage:\n\n```\n$ npm install --save setprototypeof\n```\n\n```javascript\nvar setPrototypeOf = require('setprototypeof')\n\nvar obj = {}\nsetPrototypeOf(obj, {\n  foo: function () {\n    return 'bar'\n  }\n})\nobj.foo() // bar\n```\n\nTypeScript is also supported:\n\n```typescript\nimport setPrototypeOf from 'setprototypeof'\n```\n","_attachments":{},"homepage":"https://github.com/wesleytodd/setprototypeof","bugs":{"url":"https://github.com/wesleytodd/setprototypeof/issues"},"license":"ISC"}