{"_id":"promise.allsettled","_rev":"3318169","name":"promise.allsettled","description":"ES Proposal spec-compliant shim for Promise.allSettled","dist-tags":{"latest":"1.0.7"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2024-06-11T08:57:24.000Z","created":"2019-03-28T14:01:40.448Z","1.0.7":"2023-09-03T19:34:13.601Z","1.0.6":"2022-11-07T19:03:46.479Z","1.0.5":"2021-10-04T06:45:21.743Z","1.0.4":"2021-01-21T00:13:03.667Z","1.0.3":"2021-01-20T19:15:32.585Z","1.0.2":"2019-12-13T21:39:36.299Z","1.0.1":"2019-05-06T20:49:04.511Z","1.0.0":"2019-03-28T14:01:40.448Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"versions":{"1.0.7":{"name":"promise.allsettled","version":"1.0.7","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only && npm run test:promise-shimmed","posttest":"npx aud --production","tests-only":"nyc tape test/{implementation,index,shimmed}.js","test:promise-shimmed":"nyc node test/promise-shimmed","test:native":"nyc node test/native","lint":"eslint --ext=js,mjs .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"homepage":"https://github.com/es-shims/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"array.prototype.map":"^1.0.5","call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","get-intrinsic":"^1.2.1","iterate-value":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","es6-shim":"^0.35.8","eslint":"=8.8.0","functions-have-names":"^1.2.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"promise.allsettled@1.0.7","gitHead":"d857dcc2ffc3de617b625c46fa4c0701126961cb","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"b9dd51e9cffe496243f5271515652c468865f2d8","size":9037,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.7_1693769653397_0.9800328099287394"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-03T19:34:13.601Z","publish_time":1693769653601,"_source_registry_name":"default","_cnpm_publish_time":1693769653601},"1.0.6":{"name":"promise.allsettled","version":"1.0.6","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only && npm run test:promise-shimmed","posttest":"npx aud --production","tests-only":"nyc tape test/{implementation,index,shimmed}.js","test:promise-shimmed":"nyc node test/promise-shimmed","test:native":"nyc node test/native","lint":"eslint --ext=js,mjs .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"homepage":"https://github.com/es-shims/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"array.prototype.map":"^1.0.5","call-bind":"^1.0.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","get-intrinsic":"^1.1.3","iterate-value":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","es6-shim":"^0.35.6","eslint":"=8.8.0","functions-have-names":"^1.2.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"fd633f7d53a110806132615eda442ff8cd390aa0","_id":"promise.allsettled@1.0.6","_nodeVersion":"19.0.1","_npmVersion":"8.19.2","dist":{"shasum":"8dc8ba8edf429feb60f8e81335b920e109c94b6e","size":8932,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.6_1667847826251_0.7344127180582127"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-07T19:09:14.287Z","publish_time":1667847826479,"_cnpm_publish_time":1667847826479},"1.0.5":{"name":"promise.allsettled","version":"1.0.5","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only && npm run test:promise-shimmed","posttest":"npx aud --production","tests-only":"nyc tape test/{implementation,index,shimmed}.js","test:promise-shimmed":"nyc node test/promise-shimmed","test:native":"nyc node test/native","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"homepage":"https://github.com/es-shims/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"array.prototype.map":"^1.0.4","call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.1","get-intrinsic":"^1.1.1","iterate-value":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.2.2","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","es6-shim":"^0.35.6","eslint":"^7.32.0","functions-have-names":"^1.2.2","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"74dfab75e3ec832f8eadbb595287b272c9fe832c","_id":"promise.allsettled@1.0.5","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"2443f3d4b2aa8dfa560f6ac2aa6c4ea999d75f53","size":8586,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.5_1633329921599_0.5748127151012086"},"_hasShrinkwrap":false,"publish_time":1633329921743,"_cnpm_publish_time":1633329921743},"1.0.4":{"name":"promise.allsettled","version":"1.0.4","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only && npm run test:promise-shimmed","posttest":"npx aud --production","tests-only":"nyc tape test/{implementation,index,shimmed}.js","test:promise-shimmed":"nyc node test/promise-shimmed","test:native":"nyc node test/native","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"homepage":"https://github.com/es-shims/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"array.prototype.map":"^1.0.3","call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.2","get-intrinsic":"^1.0.2","iterate-value":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.4.0","aud":"^1.1.3","auto-changelog":"^2.2.1","es6-shim":"^0.35.6","eslint":"^7.18.0","functions-have-names":"^1.2.2","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.1.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"2e5372ea0169e1f9a8a6e3a7f9815748aee7a5cb","_id":"promise.allsettled@1.0.4","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"65e71f2a604082ed69c548b68603294090ee6803","size":8118,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.4_1611187983361_0.8906360508370323"},"_hasShrinkwrap":false,"publish_time":1611187983667,"_cnpm_publish_time":1611187983667},"1.0.3":{"name":"promise.allsettled","version":"1.0.3","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only && npm run test:promise-shimmed","posttest":"npx aud --production","tests-only":"nyc tape test/{implementation,index,shimmed}.js","test:promise-shimmed":"nyc node test/promise-shimmed","test:native":"nyc node test/native","lint":"eslint .","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"homepage":"https://github.com/es-shims/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"array.prototype.map":"^1.0.3","call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.2","iterate-value":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.4.0","aud":"^1.1.3","auto-changelog":"^2.2.1","es6-shim":"^0.35.6","eslint":"^7.18.0","functions-have-names":"^1.2.2","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.1.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"8a3eede7bf4c6460cface89bb6cbeeff9486ff43","_id":"promise.allsettled@1.0.3","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"f127931bf0acfe644419586b1af557fe733e32a0","size":8005,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.3_1611170132465_0.4680922420466853"},"_hasShrinkwrap":false,"publish_time":1611170132585,"_cnpm_publish_time":1611170132585},"1.0.2":{"name":"promise.allsettled","version":"1.0.2","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only","posttest":"npx aud","tests-only":"npm run --silent test:shimmed && npm run --silent test:module && npm run --silent tests:es5","tests:es5":"npm run --silent test:promise-shimmed","test:shimmed":"node test/shimmed.js","test:module":"node test/index.js","test:promise-shimmed":"node test/promise-shimmed.js","test:native":"node --harmony-promise-finally test/native","lint":"eslint .","coverage":"covert test/*.js"},"repository":{"type":"git","url":"git://github.com/es-shims/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"homepage":"https://github.com/es-shims/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"array.prototype.map":"^1.0.1","define-properties":"^1.1.3","es-abstract":"^1.17.0-next.1","function-bind":"^1.1.1","iterate-value":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.0.2","es6-shim":"^0.35.5","eslint":"^6.7.2","functions-have-names":"^1.2.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"gitHead":"a30b6094af96e840308aa6d6012292b9427decc7","_id":"promise.allsettled@1.0.2","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"d66f78fbb600e83e863d893e98b3d4376a9c47c9","size":5921,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.2.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.2_1576273176155_0.9027802761177506"},"_hasShrinkwrap":false,"publish_time":1576273176299,"_cnpm_publish_time":1576273176299},"1.0.1":{"name":"promise.allsettled","version":"1.0.1","author":{"name":"Jordan Harband"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only","posttest":"npx aud","tests-only":"npm run --silent test:shimmed && npm run --silent test:module && npm run --silent tests:es5","tests:es5":"npm run --silent test:promise-shimmed","test:shimmed":"node test/shimmed.js","test:module":"node test/index.js","test:promise-shimmed":"node test/promise-shimmed.js","test:native":"node --harmony-promise-finally test/native","lint":"eslint .","coverage":"covert test/*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/ljharb/promise.allsettled/issues"},"homepage":"https://github.com/ljharb/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.13.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^13.1.1","es6-shim":"^0.35.5","eslint":"^5.16.0","safe-publish-latest":"^1.1.2","tape":"^4.10.1"},"gitHead":"d4a530028d7d717bef9e0328a79c149a4482775c","_id":"promise.allsettled@1.0.1","_nodeVersion":"12.1.0","_npmVersion":"6.9.0","dist":{"shasum":"afe4bfcc13b26e2263a97a7fbbb19b8ca6eb619c","size":5965,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.1_1557175744404_0.3974403149083181"},"_hasShrinkwrap":false,"publish_time":1557175744511,"_cnpm_publish_time":1557175744511},"1.0.0":{"name":"promise.allsettled","version":"1.0.0","author":{"name":"Jordan Harband"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for Promise.allSettled","license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run --silent lint && es-shim-api --bound","test":"npm run --silent tests-only","posttest":"npx aud","tests-only":"npm run --silent test:shimmed && npm run --silent test:module && npm run --silent tests:es5","tests:es5":"npm run --silent test:promise-shimmed","test:shimmed":"node test/shimmed.js","test:module":"node test/index.js","test:promise-shimmed":"node test/promise-shimmed.js","test:native":"node --harmony-promise-finally test/native","lint":"eslint .","coverage":"covert test/*.js"},"repository":{"type":"git","url":"git://github.com/ljharb/Promise.allSettled.git"},"keywords":["Promise","promises","allsettled","settled","fulfilled","resolved","rejected","promise.allsettled","shim","polyfill","es-shim","API"],"bugs":{"url":"https://github.com/ljharb/promise.allsettled/issues"},"homepage":"https://github.com/ljharb/promise.allsettled#readme","engines":{"node":">= 0.4"},"dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.13.0","function-bind":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^13.1.1","es6-shim":"^0.35.5","eslint":"^5.15.3","safe-publish-latest":"^1.1.2","tape":"^4.10.1"},"gitHead":"3f6f4f60c8f208cda94493281661d3bc2f4b11be","_id":"promise.allsettled@1.0.0","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"shasum":"a718290c5695c346f372297187e788b4e8c731f4","size":5876,"noattachment":false,"key":"/promise.allsettled/-/promise.allsettled-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promise.allsettled/download/promise.allsettled-1.0.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise.allsettled_1.0.0_1553781700292_0.6649737526699995"},"_hasShrinkwrap":false,"publish_time":1553781700448,"_cnpm_publish_time":1553781700448}},"readme":"# promise.allsettled <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-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]][package-url]\n\nES Proposal spec-compliant shim for Promise.allSettled. Invoke its \"shim\" method to shim `Promise.allSettled` if it is unavailable or noncompliant. **Note**: a global `Promise` must already exist: the [es6-shim](https://github.com/es-shims/es6-shim) is recommended.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment that has `Promise` available globally, and complies with the [proposed spec](https://github.com/tc39/proposal-promise-allSettled).\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar allSettled = require('promise.allsettled');\n\nvar resolved = Promise.resolve(42);\nvar rejected = Promise.reject(-1);\n\nallSettled([resolved, rejected]).then(function (results) {\n\tassert.deepEqual(results, [\n\t\t{ status: 'fulfilled', value: 42 },\n\t\t{ status: 'rejected', reason: -1 }\n\t]);\n});\n\nallSettled.shim(); // will be a no-op if not needed\n\nPromise.allSettled([resolved, rejected]).then(function (results) {\n\tassert.deepEqual(results, [\n\t\t{ status: 'fulfilled', value: 42 },\n\t\t{ status: 'rejected', reason: -1 }\n\t]);\n});\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/promise.allsettled\n[npm-version-svg]: http://versionbadg.es/es-shims/Promise.allSettled.svg\n[travis-svg]: https://travis-ci.org/es-shims/Promise.allSettled.svg\n[travis-url]: https://travis-ci.org/es-shims/Promise.allSettled\n[deps-svg]: https://david-dm.org/es-shims/Promise.allSettled.svg\n[deps-url]: https://david-dm.org/es-shims/Promise.allSettled\n[dev-deps-svg]: https://david-dm.org/es-shims/Promise.allSettled/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Promise.allSettled#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/promise.allsettled.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/promise.allsettled.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/promise.allsettled.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=promise.allsettled\n[codecov-image]: https://codecov.io/gh/es-shims/Promise.allSettled/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Promise.allSettled/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Promise.allSettled\n[actions-url]: https://github.com/es-shims/Promise.allSettled/actions\n","_attachments":{},"homepage":"https://github.com/es-shims/promise.allsettled#readme","bugs":{"url":"https://github.com/es-shims/promise.allsettled/issues"},"license":"MIT"}