{"_id":"es6-polyfills","_rev":"10-c5d44b29b29c35079d278551fd4f029f","name":"es6-polyfills","description":"ES6 polyfills that use native implementation if available and do not pollute the global namespace","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"es6-polyfills","description":"ES6 polyfills that use native implementation if available and do not pollute the global namespace","author":{"name":"The National Library of Finland"},"keywords":["es6","polyfill","shim","ecmascript","harmony","object","assign","promise"],"homepage":"https://github.com/NatLibFi/es6-polyfills","bugs":{"url":"https://github.com/NatLibFi/es6-polyfills/issues"},"repository":{"type":"git","url":"git@github.com:NatLibFi/es6-polyfills.git"},"license":" GPL-3.0","version":"1.0.0","main":"lib/main","scripts":{"lint":"jshint .","test-nodejs":"mocha","test-browser":"karma start","test":"npm run test-nodejs && npm run test-browser","coverage":"istanbul cover _mocha","check":"npm run lint && npm run test && npm run coverage","travisci":"npm run check","publish-to-npm":"npm run check && npm publish"},"dependencies":{"es6-object-assign":">=1.0.1 <1.1","es6-promise-polyfill":"https://github.com/natlibfi-arlehiko/es6-promise-polyfill#amd-fix"},"devDependencies":{"chai":"^3.2.0","jshint":"^2.8.0","mocha":"^2.3.2","istanbul":"^0.3.20","karma":"^0.13.19","karma-mocha":"^0.2.1","karma-requirejs":"^0.2.3","karma-phantomjs-launcher":"^0.2.3","phantomjs":"^1.9.19","coveralls":"^2.11.6"},"gitHead":"183a52e96aad0dd331ed78390f3a6da16f19a645","_id":"es6-polyfills@1.0.0","_shasum":"bb7aeac12f71076cf36427dda7118d5daf6e3eb3","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"natlibfi","email":"kk-unix-admins@helsinki.fi"},"dist":{"shasum":"bb7aeac12f71076cf36427dda7118d5daf6e3eb3","tarball":"https://registry.npmjs.org/es6-polyfills/-/es6-polyfills-1.0.0.tgz","integrity":"sha512-5sJ4EkEhUNb/xjPW+DSc7/7HIo2P/CSWJ0KXwHx9tgvdd4M5SX2lpY49Z6F8nwv/8AmZgWAo73jcWIm8GmRaxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHL62vJkZizA+U688/9LwQ6JPkuBZQ9ovK/KczOF3FFoAiEAi+UHmguDkZb06wHkGr719uR4+HBq3f7/zfKWZVTbS3A="}]},"maintainers":[{"name":"natlibfi","email":"kk-unix-admins@helsinki.fi"}],"deprecated":"Use @natlibfi/es6-polyfills instead","directories":{}},"1.0.1":{"name":"es6-polyfills","description":"ES6 polyfills that use native implementation if available and do not pollute the global namespace","author":{"name":"The National Library of Finland"},"keywords":["es6","polyfill","shim","ecmascript","harmony","object","assign","promise"],"homepage":"https://github.com/NatLibFi/es6-polyfills","bugs":{"url":"https://github.com/NatLibFi/es6-polyfills/issues"},"repository":{"type":"git","url":"git@github.com:NatLibFi/es6-polyfills.git"},"license":" GPL-3.0","version":"1.0.1","main":"lib/main","scripts":{"lint":"jshint .","test-nodejs":"mocha","test-browser":"karma start","test":"npm run test-nodejs && npm run test-browser","coverage":"istanbul cover _mocha","check":"npm run lint && npm run test && npm run coverage","travisci":"npm run check","publish-to-npm":"npm run check && npm publish"},"dependencies":{"es6-object-assign":">=1.0.1 <1.1","es6-promise-polyfill":"^1.2.0"},"devDependencies":{"chai":"^3.2.0","jshint":"^2.8.0","mocha":"^2.3.2","istanbul":"^0.3.20","karma":"^0.13.19","karma-mocha":"^0.2.1","karma-requirejs":"^0.2.3","karma-phantomjs-launcher":"^0.2.3","phantomjs":"^1.9.19","coveralls":"^2.11.6"},"gitHead":"66514e7ddd54fe6766bc9f8be59864f85a3f7403","_id":"es6-polyfills@1.0.1","_shasum":"0539c722f530324c03abbdf6463f6cb024ab6524","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"natlibfi","email":"kk-unix-admins@helsinki.fi"},"dist":{"shasum":"0539c722f530324c03abbdf6463f6cb024ab6524","tarball":"https://registry.npmjs.org/es6-polyfills/-/es6-polyfills-1.0.1.tgz","integrity":"sha512-6Chtbn1DoHG+1qHRR7E0ogi2/ldBnYsCKBX4wAbodFPVIyCh3+dCgZTN0QVWubCl8A3xKZKsX78/CylKyVol1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAQCFLaQFKxrh3hU57kRgS5gc0VJn8fMfuVD4y+H9JuAiEAtZ8grJC5HwXZqL3BkK67wBS1xsFACT5eXQlRVA6JPWc="}]},"maintainers":[{"name":"natlibfi","email":"kk-unix-admins@helsinki.fi"}],"deprecated":"Use @natlibfi/es6-polyfills instead","directories":{}},"1.1.0":{"name":"es6-polyfills","description":"ES6 polyfills that use native implementation if available and do not pollute the global namespace","author":{"name":"The National Library of Finland"},"keywords":["es6","polyfill","shim","ecmascript","harmony","object","assign","promise"],"homepage":"https://github.com/NatLibFi/es6-polyfills","bugs":{"url":"https://github.com/NatLibFi/es6-polyfills/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/NatLibFi/es6-polyfills.git"},"license":" GPL-3.0","version":"1.1.0","scripts":{"lint":"jshint .","test-nodejs":"istanbul cover --dir coverage/nodejs _mocha -- test/*.spec.js","test-browser":"npm run generate-requirejs-config && karma start","test":"npm run test-nodejs && npm run test-browser","cover-nodejs":"npm run test-nodejs && istanbul check-coverage coverage/nodejs/coverage.json","cover-browser":"npm run test-browser && istanbul check-coverage coverage/browser/coverage-final.json","cover":"npm run test && npm run combine-coverage && istanbul check-coverage coverage/combined/coverage-final.json","combine-coverage":"istanbul-combine -d coverage/combined -r html -r lcov -r json coverage/nodejs/coverage.json coverage/browser/coverage-final.json","check":"npm run lint && npm run cover","travisci":"npm run check","generate-requirejs-config":"requirejs-configurator --npm --include-dev-deps > test/browser-main.js","publish-to-npm":"npm install && npm run check && npm publish"},"dependencies":{"es6-object-assign":"^1.0.3","es6-promise-polyfill":"^1.2.0"},"devDependencies":{"chai":"^3.5.0","jshint":"^2.9.3","mocha":"^3.0.2","istanbul":"^0.4.5","istanbul-combine":"^0.3.0","karma":"^1.2.0","karma-mocha":"^1.1.1","karma-coverage":"^1.1.1","karma-requirejs":"^1.0.0","karma-phantomjs-launcher":"^1.0.2","karma-requirejs-preprocessor":"^0.0.2","requirejs-configurator":"git+https://github.com/natlibfi-arlehiko/requirejs-configurator.git#dev-deps","codeclimate-test-reporter":"^0.3.3"},"gitHead":"98fcd312189861c4afb7fbec8c936ee3e2cdd913","_id":"es6-polyfills@1.1.0","_shasum":"8dba2ee6a9605dbe9ec831f3e5aedd0c4e0787d6","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"natlibfi","email":"kk-unix-admins@helsinki.fi"},"dist":{"shasum":"8dba2ee6a9605dbe9ec831f3e5aedd0c4e0787d6","tarball":"https://registry.npmjs.org/es6-polyfills/-/es6-polyfills-1.1.0.tgz","integrity":"sha512-V/7SKZ6z5dxd7Xc0zMMVYDGucm/YQRFyjI3nzdX//Fu205kGOcFoM7ukIznRaMvFzS8CXvBLQ+oJbhllkoBHeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGoxcYH9hQA+pXNAHwbGjsuxvP+tJTuUOHbzVMlyiJxXAiEAojVEhn25FhxZe3b3MJKjRTdtB1XKX2Tk4RnIVZNP2RQ="}]},"maintainers":[{"name":"natlibfi","email":"kk-unix-admins@helsinki.fi"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/es6-polyfills-1.1.0.tgz_1473402177995_0.21523633529432118"},"deprecated":"Use @natlibfi/es6-polyfills instead","directories":{}},"2.0.0":{"name":"es6-polyfills","description":"ES6 polyfills that use native implementation if available and do not pollute the global namespace","author":{"name":"The National Library of Finland"},"keywords":["es6","polyfill","shim","ecmascript","harmony","object","assign","promise"],"homepage":"https://github.com/NatLibFi/es6-polyfills","bugs":{"url":"https://github.com/NatLibFi/es6-polyfills/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/NatLibFi/es6-polyfills.git"},"license":" LGPL-3.0+","version":"2.0.0","scripts":{"lint":"jshint .","test-nodejs":"istanbul cover --dir coverage/nodejs _mocha -- test/*.spec.js","test-browser":"npm run generate-requirejs-config && karma start","test":"npm run test-nodejs && npm run test-browser","cover-nodejs":"npm run test-nodejs && istanbul check-coverage coverage/nodejs/coverage.json","cover-browser":"npm run test-browser && istanbul check-coverage coverage/browser/coverage-final.json","cover":"npm run test && npm run combine-coverage && istanbul check-coverage coverage/combined/coverage-final.json","combine-coverage":"istanbul-combine -d coverage/combined -r html -r lcov -r json coverage/nodejs/coverage.json coverage/browser/coverage-final.json","check":"npm run lint && npm run cover","travisci":"npm run check","generate-requirejs-config":"requirejs-configurator --npm --include-dev-dependencies --exclude-peer-dependencies > test/browser-main.js","publish-to-npm":"npm install && npm run check && npm publish"},"dependencies":{"es6-object-assign":"^1.0.3","es6-promise-polyfill":"^1.2.0"},"devDependencies":{"chai":"^3.5.0","jshint":"^2.9.3","mocha":"^3.0.2","istanbul":"^0.4.5","istanbul-combine":"^0.3.0","karma":"^1.2.0","karma-mocha":"^1.1.1","karma-coverage":"^1.1.1","karma-requirejs":"^1.0.0","karma-phantomjs-launcher":"^1.0.2","karma-requirejs-preprocessor":"^0.0.2","requirejs":"^2.3.3","requirejs-configurator":"git+https://github.com/natlibfi-arlehiko/requirejs-configurator.git#peer-deps","codeclimate-test-reporter":"^0.3.3"},"gitHead":"7b51833154ed49373bb314e9f7d797c64afa4ed3","_id":"es6-polyfills@2.0.0","_shasum":"7f358fd388d8c888d00cfc9a1eea89f971683931","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"natlibfi-arlehiko","email":"natlibfi-arlehiko@users.noreply.github.com"},"dist":{"shasum":"7f358fd388d8c888d00cfc9a1eea89f971683931","tarball":"https://registry.npmjs.org/es6-polyfills/-/es6-polyfills-2.0.0.tgz","integrity":"sha512-daIt/MHqdYmxnuo5KcwAU9EqSxvaDRyajYOUU9fy+CLuU5+RFhpNCnL3oPsq7n+g673F3z/Vb+FXo/EmQjlkbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcvXfYTFhM2LiNg/9LabcDeSRxDXjQvPVOAagf+eofSgIgcoTD4f53byefbMM4SvSQv9ns/qaB6mk9BDnSTwYxhFk="}]},"maintainers":[{"name":"natlibfi-arlehiko","email":"kk-unix-admins@helsinki.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es6-polyfills-2.0.0.tgz_1498490627565_0.34626261447556317"},"deprecated":"Use @natlibfi/es6-polyfills instead","directories":{}}},"readme":"# ES6 polyfills [![NPM Version](https://img.shields.io/npm/v/es6-polyfills.svg)](https://npmjs.org/package/es6-polyfills) [![Build Status](https://travis-ci.org/NatLibFi/es6-polyfills.svg)](https://travis-ci.org/NatLibFi/es6-polyfills) [![Test Coverage](https://codeclimate.com/github/NatLibFi/es6-polyfills/badges/coverage.svg)](https://codeclimate.com/github/NatLibFi/es6-polyfills/coverage)\n\nA collection of [ES6](https://en.wikipedia.org/wiki/ECMAScript#ES6) polyfills that use native implementations if available and do not pollute the global namespace\n\n## List of polyfills\n\n- **Object** ([Object.assign](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign))\n- **Array** ([Array.of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of))\n- **[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)**\n\nPolyfill implementations are from different projects:\n\n- **Object** (*Object.assign*): https://github.com/rubennorte/es6-object-assign\n- **Promise**: https://github.com/lahmatiy/es6-promise-polyfill\n\n## Installation\n\nClone the sources and install the package (In the source directory) on command line using `npm`:\n\n```sh\nnpm install\n```\n\n## Testing\n\nRun the following NPM script to lint, test and check coverage of the code:\n\n```javascript\n\nnpm run check\n\n```\n\n## Usage\n\n### AMD\n\n```javascript\n\ndefine(['es6-polyfills/lib/polyfills/promise'], function(Promise) {\n\n var p = new Promise(function(resolve, reject){\n  resolve(); \n });\n\n});\n\n\n```\n\n### Node.js\n\n```javascript\n\nvar Promise = require('es6-polyfills/lib/polyfills/promise');\nvar p = new Promise(function(resolve, reject){\n  resolve();\n});\n\n```\n\n## License and copyright\n\nCopyright (c) 2015-2016 **University Of Helsinki (The National Library Of Finland)**\n\nThis project's source code is licensed under the terms of **GNU Lesser General Public License Version 3** or any later version. See each polyfill implementation for their respective licensing terms.\n\n","maintainers":[],"time":{"modified":"2022-06-17T16:59:53.498Z","created":"2016-01-12T21:54:23.579Z","1.0.0":"2016-01-12T21:54:23.579Z","1.0.1":"2016-01-13T19:30:35.554Z","1.1.0":"2016-09-09T06:22:59.379Z","2.0.0":"2017-06-26T15:23:48.612Z"},"homepage":"https://github.com/NatLibFi/es6-polyfills","keywords":["es6","polyfill","shim","ecmascript","harmony","object","assign","promise"],"repository":{"type":"git","url":"git+ssh://git@github.com/NatLibFi/es6-polyfills.git"},"author":{"name":"The National Library of Finland"},"bugs":{"url":"https://github.com/NatLibFi/es6-polyfills/issues"},"license":" LGPL-3.0+","readmeFilename":"README.md"}