{"_id":"es6-promise-polyfill","_rev":"17-8e5a2775a494d62a9cb591df34e7e06e","name":"es6-promise-polyfill","description":"Polyfill for ES6 Promise","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"es6-promise-polyfill","namespace":"Promise","version":"1.0.0","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"description":"A polyfill for ES6 Promise","main":"promise.js","directories":{"lib":"lib"},"devDependencies":{},"scripts":{},"repository":{"type":"git","url":"git://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"keywords":["promises","futures","events"],"homepage":"https://github.com/lahmatiy/es6-promise-polyfill","_id":"es6-promise-polyfill@1.0.0","dist":{"shasum":"940ec9460417e1a5bd04633c611932acce6b5ba5","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.0.0.tgz","integrity":"sha512-MOz6FA4EvxpRAU0C4OV91RFKcqTMWoxc6hfcbUMDZN8jMYvf7t9ai5XKmVn7DYh80LOCYO5naSXZ10rVDKTvhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsfctldmL1G1WcTdTPrDRBiciBZl8Vv1ujjIZlTZhTWwIgM1FcC6bvzKpGlzQgX9qLcwjqi1pknUT19DWdXzKbJeY="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}]},"1.0.1":{"name":"es6-promise-polyfill","namespace":"Promise","version":"1.0.1","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"description":"A polyfill for ES6 Promise","main":"promise.js","directories":{"lib":"lib"},"devDependencies":{},"scripts":{},"repository":{"type":"git","url":"git://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"keywords":["promises","futures","events"],"gitHead":"84c066a51aed90e8459d1aa265e2ecfa898e161a","homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","_id":"es6-promise-polyfill@1.0.1","_shasum":"fa22b77cd690bd44e66a5d0e1de2849be39825c8","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"fa22b77cd690bd44e66a5d0e1de2849be39825c8","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.0.1.tgz","integrity":"sha512-oIQnnr8xK5cNo+IPVNK0/z+WPi1efnlyoBlhIwn1ODaVIZI+KLdzV3Jx+B3ZiGwYCa7wva8RH/lNgYcBPny6gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8E5BLEYPcr9Gf3EqLarb6LJm0ur705+O9RAbl7T84ZAiEAytP27dFS5IamHNV6hKOtyji1CLpJgcAIxgV3WGQgToE="}]}},"1.0.2":{"name":"es6-promise-polyfill","namespace":"Promise","version":"1.0.2","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"description":"A polyfill for ES6 Promise","main":"promise.js","directories":{"lib":"lib"},"devDependencies":{},"scripts":{},"repository":{"type":"git","url":"git://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"keywords":["promises","futures","events"],"gitHead":"e6f8c338ccf365cdd393f7953654851cac5f19e0","homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","_id":"es6-promise-polyfill@1.0.2","_shasum":"df45231dd40126c91248630214f408fff08eaaf9","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"df45231dd40126c91248630214f408fff08eaaf9","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.0.2.tgz","integrity":"sha512-v8eF4hvhFQIy26kbiUNn6A7YRqShhHuj/XPF8IYFP1xuS2SQUMlaGSUWrdD/L9BqR3aVviKSTQ2uJu4y+tEJWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAlfptQkjYt54XI7Oeppt/B9sMajIz0qmnXx/Imne3WkAiEAy6PY/5DaS/FC6kZ+5WMPGRweTsEr6e0GNyL6nUMaxRM="}]}},"1.0.3":{"name":"es6-promise-polyfill","description":"Polyfill for ES6 Promise","version":"1.0.3","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"main":"promise.js","dependencies":{},"devDependencies":{},"scripts":{},"keywords":["es6","es2015","polyfill","promise","promises"],"gitHead":"cadf9cd6f208b537b645fe1130953414d917fb2a","homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","_id":"es6-promise-polyfill@1.0.3","_shasum":"11a026677bbf9fd7653fd78bd16daea5611a6492","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"11a026677bbf9fd7653fd78bd16daea5611a6492","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.0.3.tgz","integrity":"sha512-3Xo9AATbOsv4mQDdRQFcnBlUldmtLktUP5bbLsK6NGPj3v4n4qWJzF46VxqPPe1SSa/T8I2HhoBI3GL+c2JfQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIDaUy+WGGinogSc28CnHwp18ioVwRDC9wsHOYgmaFOwIgAXnmwCUHGrtepjKZLVLaW+7vuGwlvA1QhC6pD8qr3ZE="}]}},"1.1.0":{"name":"es6-promise-polyfill","description":"Polyfill for ES6 Promise","version":"1.1.0","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"main":"promise.js","dependencies":{},"devDependencies":{},"scripts":{},"keywords":["es6","es2015","polyfill","promise","promises"],"gitHead":"51540701e611418ed36c05e079f9ef724bd35a29","homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","_id":"es6-promise-polyfill@1.1.0","_shasum":"b8fb5b3a5dc97292dbc62f8f66472521830cc153","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"b8fb5b3a5dc97292dbc62f8f66472521830cc153","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.1.0.tgz","integrity":"sha512-NnS51e3+gdppcR2jhI7DLs62TDbZ49VUavYTE7DPwjEdPsi1zvw4u6PqsYrMwtk3+vCN6mC4wt3vITytCt/7Uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZLOtehVrjBVdnqlnyThHaDPriGUiyavZ6sRCLSs4thgIhAIpq1xZxXXhJBLgBHQHIOpa661VK+Pl9ue5zzt7HAZyz"}]}},"1.1.1":{"name":"es6-promise-polyfill","description":"Polyfill for ES6 Promise","version":"1.1.1","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"main":"promise.js","dependencies":{},"devDependencies":{},"scripts":{},"keywords":["es6","es2015","polyfill","promise","promises"],"gitHead":"6cc14cfb63b9c4a27c0392f95a02fb214c13047d","homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","_id":"es6-promise-polyfill@1.1.1","_shasum":"05b30d7f4587ea9996a3e887de84b069602b7cc1","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"05b30d7f4587ea9996a3e887de84b069602b7cc1","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.1.1.tgz","integrity":"sha512-lFwB8ja/CD1ESVwwEdHUxnLwp5MbUdceCGZ5j70Lsxu5+dG6g3z2a8n922KfRBYCzu9UsU6G6jG0yrfpprwYZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEiBQbA89hn0zgOeI62lUmGq25fNm2ZcM9g/O3KZvrYBAiEA4DayIXNaqXZPRVGfVJTo1G2eL7kiNMnYUPgXfFAmjH0="}]}},"1.2.0":{"name":"es6-promise-polyfill","description":"Polyfill for ES6 Promise","version":"1.2.0","author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/lahmatiy/es6-promise-polyfill.git"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"main":"promise.js","dependencies":{},"devDependencies":{"promises-aplus-tests":"*"},"scripts":{"test":"promises-aplus-tests test/test-adapter"},"keywords":["es6","es2015","polyfill","promise","promises"],"gitHead":"d9bb9f10de30efcd8f3e95bfae9ba8f5746b2aca","homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","_id":"es6-promise-polyfill@1.2.0","_shasum":"f38925f23cb3e3e8ce6cda8ff774fcebbb090cde","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"lahmatiy","email":"rdvornov@gmail.com"},"maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"dist":{"shasum":"f38925f23cb3e3e8ce6cda8ff774fcebbb090cde","tarball":"https://registry.npmjs.org/es6-promise-polyfill/-/es6-promise-polyfill-1.2.0.tgz","integrity":"sha512-HHb0vydCpoclpd0ySPkRXMmBw80MRt1wM4RBJBlXkux97K7gleabZdsR0gvE1nNPM9mgOZIBTzjjXiPxf4lIqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICs2bwCjrxvPhu/V4lpH8tPAq8URLfGv5d/0oNs+5Oa9AiEAs5CG/yWryulGvAHN4yQ2gxrnitCeFuKmvr8Jcvm3UuA="}]}}},"readme":"[![NPM version](https://img.shields.io/npm/v/es6-promise-polyfill.svg)](https://www.npmjs.com/package/es6-promise-polyfill)\n[![Build Status](https://travis-ci.org/lahmatiy/es6-promise-polyfill.svg?branch=master)](https://travis-ci.org/lahmatiy/es6-promise-polyfill)\n\n# ES6 Promise polyfill\n\nThis is a polyfill of [ES6 Promise](https://github.com/domenic/promises-unwrapping). The implementation based on [Jake Archibald implementation](https://github.com/jakearchibald/es6-promise) a subset of [rsvp.js](https://github.com/tildeio/rsvp.js). If you're wanting extra features and more debugging options, check out the [full library](https://github.com/tildeio/rsvp.js).\n\nFor API details and how to use promises, see the <a href=\"http://www.html5rocks.com/en/tutorials/es6/promises/\">JavaScript Promises HTML5Rocks article</a>.\n\n## Notes\n\nThe main target: implementation should be conformance with browser's implementations and to be minimal as possible in size. So it's strictly polyfill of ES6 Promise specification and nothing more.\n\nIt passes both [Promises/A+ test suite](https://github.com/promises-aplus/promises-tests) and [rsvp.js test suite](https://github.com/jakearchibald/es6-promise/tree/master/test). And as small as 2,6KB min (or 1KB min+gzip).\n\nThe polyfill uses `setImmediate` if available, or fallback to use `setTimeout`. Use [setImmediate polyfill](https://github.com/YuzuJS/setImmediate) by @YuzuJS to reach better performance.\n\n## How to use\n\n### Browser\n\nTo install:\n\n```sh\nbower install es6-promise-polyfill\n```\n\nTo use:\n\n```htmpl\n<script src=\"bower_components/es6-promise-polyfill/promise.min.js\"></script>\n<script>\n  var promise = new Promise(...);\n</script>\n```\n\n### Node.js\n\nTo install:\n\n```sh\nnpm install es6-promise-polyfill\n```\n\nTo use:\n\n```js\nvar Promise = require('es6-promise-polyfill').Promise;\nvar promise = new Promise(...);\n```\n\n## Usage in IE<9\n\n`catch` is a reserved word in IE<9, meaning `promise.catch(func)` throws a syntax error. To work around this, use a string to access the property:\n\n```js\npromise['catch'](function(err) {\n  // ...\n});\n```\n\nOr use `.then` instead:\n\n```js\npromise.then(undefined, function(err) {\n  // ...\n});\n```\n\n## License\n\nLicensed under the MIT License.\n","maintainers":[{"name":"lahmatiy","email":"rdvornov@gmail.com"}],"time":{"modified":"2022-06-17T17:01:03.437Z","created":"2014-06-19T12:03:51.503Z","1.0.0":"2014-06-19T12:03:51.503Z","1.0.1":"2015-09-14T13:09:22.734Z","1.0.2":"2015-09-14T13:19:56.958Z","1.0.3":"2015-09-30T06:13:14.418Z","1.1.0":"2015-10-15T21:06:16.603Z","1.1.1":"2015-10-18T15:12:17.462Z","1.2.0":"2015-12-08T15:54:46.307Z"},"homepage":"https://github.com/lahmatiy/es6-promise-polyfill#readme","keywords":["es6","es2015","polyfill","promise","promises"],"repository":{"type":"git","url":"git+https://github.com/lahmatiy/es6-promise-polyfill.git"},"author":{"name":"Roman Dvornov","email":"rdvornov@gmail.com"},"bugs":{"url":"https://github.com/lahmatiy/es6-promise-polyfill/issues"},"readmeFilename":"README.md","license":"MIT","users":{"chemzqm":true,"andersonsantos":true,"rugoals":true,"xueboren":true,"mubaidr":true,"xfloops":true}}