{"name":"es-aggregate-error","version":"1.0.5","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for AggregateError","main":"index.js","scripts":{"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)\")\"","prepublish":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'"},"repository":{"type":"git","url":"git+https://github.com/es-shims/AggregateError.git"},"keywords":["AggregateError","Error","aggregate","errors","nativeerror","es-shim API","shim","polyfill"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/AggregateError/issues"},"homepage":"https://github.com/es-shims/AggregateError#readme","dependencies":{"define-properties":"^1.1.3","es-abstract":"^1.18.0-next.1","function-bind":"^1.1.1","functions-have-names":"^1.2.1","get-intrinsic":"^1.0.1","globalthis":"^1.0.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.2.0","aud":"^1.1.3","auto-changelog":"^2.2.1","es6-shim":"^0.35.6","eslint":"^7.14.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-strict-mode":"^1.0.0","nyc":"^10.3.2","object-inspect":"^1.8.0","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"./test/index.js"},"gitHead":"f35a51d50a16bd18afafd4268f93b67a94fcd027","_id":"es-aggregate-error@1.0.5","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-lCJhahEBlzD0WnPEpFCWqjxm4DI4fzuq1PVxLfsGdHImCWSUhASlv+lrBX4Wc47g62SAO4+axBUfUMgJYIhilg==","shasum":"6dfeeb5bf5fd95773ac01f56ec95a57ffeb313f9","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.5.tgz","fileCount":24,"unpackedSize":25658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfu0neCRA9TVsSAnZWagAArjEP/iayYFoDFbt8MkHUaPsl\nbhSvccXl0CbNk35A75v+FWDuXV4uGySnx1c92q04wxzcY8vV18W7iDwjBpyM\nvcLAueWvjY5c4if55kcJhjpdwhCKiQwAiOAyWw9e5yPKxRyaI004ezuL5X5I\n60fggJktO5E11N6d9Wx7IwudTWkQRUfd0T2zc4bcG4e3scSPFn884Jsynl2b\ncuwitKu/WSvnZSoXqFTL0SEsdAVhL1Eghx7e/lVFXkGaw6aqog1zJgYh3wr9\nQw1TeVHMhaxD56weTBqOQlm4bOSDn8+E5GIrVrhc5QOwZwUtkJZqP33xH+/9\np4rf2wwEkeqtNACZm1ggGaqFYZJb5z1kxnwdW4+yOBcXPFzagZWelvDSwcBT\ntMe5z0V1JNBNh6hVYeF9NVJaFkOxHoacCt3LZQUlgT8DxSyWB9K6Oo9gi7ff\nGitWH4mexBc2VYaIPnBsJayVv0SphI0ti6NlqCt0UPQesr34q1k85AJ+53SY\nN3pHmF3igudC0booGnAvo2bFsgPSoLNJxkDPDtP9rlvXVQ0m1FLYoBnmiptI\nqEdQi+vEZApzlT/+wGWOPYI/nIOlQelimww05HKOGZcT2NJOKu83AVt+0F29\n0576ATf4p4ZcVbrBAYWLlPFTNJEQQ/GmxH9LLtIJD6puE/1NiB77Y2bdf3yr\n6lpX\r\n=U6W3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC0PmP3naYWFBD/uOIpuqF2epk2oIEl0NOjvdUSduwvGAiEAkqx9g2lqFhZHC0OqwM9tstrVjwIaUXEcSLUF9pjUwiI="}],"size":8376,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate-error_1.0.5_1606109661556_0.9254434182433622"},"_hasShrinkwrap":false,"readme":"# es-aggregate-error <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 AggregateError. Invoke its \"shim\" method to shim `AggregateError` if it is unavailable or noncompliant.\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 [proposed spec](https://tc39.es/proposal-promise-any/#sec-aggregate-error-object-structure).\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar AggregateError = require('es-aggregate-error');\n\nvar oneError = new RangeError('hi!');\nvar otherError = new EvalError('oops');\nvar error = new AggregateError([oneError, otherError], 'this is two kinds of errors');\n\nassert.deepEqual(error.errors, [oneError, otherError]);\nassert.equal(error.message, 'this is two kinds of errors');\n\nAggregateError.shim(); // will be a no-op if not needed\n\nassert.ok(new globalThis.AggregateError([]) instanceof AggregateError);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/es-aggregate-error\n[npm-version-svg]: https://versionbadg.es/es-shims/AggregateError.svg\n[deps-svg]: https://david-dm.org/es-shims/AggregateError.svg\n[deps-url]: https://david-dm.org/es-shims/AggregateError\n[dev-deps-svg]: https://david-dm.org/es-shims/AggregateError/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/AggregateError#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/es-aggregate-error.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/es-aggregate-error.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/es-aggregate-error.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=es-aggregate-error\n[codecov-image]: https://codecov.io/gh/es-shims/AggregateError/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/AggregateError/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/AggregateError\n[actions-url]: https://github.com/es-shims/AggregateError/actions\n","publish_time":1606109661734,"_cnpm_publish_time":1606109661734,"dist-tags":{"latest":"1.0.14"}}