{"name":"es-aggregate-error","version":"1.0.1","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","lint":"eslint .","pretest":"npm run 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","test:shimmed":"node test/shimmed","test:module":"node test","test:native":"node test/native","coverage":"covert 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.16.0","function-bind":"^1.1.1","functions-have-names":"^1.2.0","globalthis":"^1.0.0","internal-slot":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^15.0.1","auto-changelog":"^1.16.2","es6-shim":"^0.35.5","eslint":"^6.6.0","for-each":"^0.3.3","object-inspect":"^1.7.0","safe-publish-latest":"^1.1.4","tape":"^4.11.0"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"c74e56fdc01cc53e38e456d8fa2d928158b08959","_id":"es-aggregate-error@1.0.1","_nodeVersion":"13.1.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-zbzyWVrVhNJHDK4yfacWRIH+aGezhSFHiAs00YZiIfgpTRZUfx3LCv+NXwic1zXGjOZXfIYTVFbkxuP/Nlr0dQ==","shasum":"218ae00ff8919dc50e834fa83933a24caadb09fc","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.1.tgz","fileCount":16,"unpackedSize":14223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyecrCRA9TVsSAnZWagAAlBoQAJh5bT+qEOPSUKJK34xS\nlGhHs1+w4F1wavpp7FqwXHBximonq2FCqBiuUT7//4sSHAIz8upjDjZVV5vq\nY/2LJHQpfrkjmIFtufibszcwxUIu8mLSg9w2w5EIl7CYiULPVRNlebgwuLmm\n+gupu1axwrC0x3rwttB2+uca6NAe9GDLt/6xf3am1PdyAQbhr+SYa6Sc9CQp\n+J7uP9wRoo0Rmxs+GBl60JOIGtMrp9lY5l4ElxZFQsjsEXRokANihlHTkpzM\nm1LqS7xfDASfG/BGLGX5EHAUCq1SrkuynNpkGf9zkQ4ZBl/3w1sCx6ATGtsW\nB59XYGtQQVzRH8KIP5gERwcvt2ZI1egDS/dUn+Cld6uj9xEFcsoiX29fbKwY\nCJDkg4iLqimNIbR6bnEmNq5yxD5lN4R+9UobtBwUe3O1uyd/5IRyOfkhpvqX\n9akzTp81VecAGveVLqrlyoCFQMtuWC3XAgH3PYry1Em7VvMJSGHQCOGBP/Nq\nGtVjUcAU4KBUF03hgcERGQtPyPa/Ps/XliDKIPzLGQ0759CHh/cDe8bupkPT\n7ngSsGh5uQI5XEyG968y0CkD49uFXU29ZMXdx12pZzhe7bt6ZaXJ79jGIfKP\nrplrPdqxUm4DJeuNk+leDkVAm9DVrxDW2cqXBvjuDNxdGmgm0Y+SYl1cwkI3\ntqgd\r\n=6aGY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6cC7+92NHn2RoV1kDyI8vZ8sWqv2N7iHAhWZnMbIZVQIgErsEEv45JY3/OHxGOFjLKXgdgepsoPtjcvuZmzRyxOw="}],"size":5615,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.1.tgz"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate-error_1.0.1_1573513003011_0.5926878098118555"},"_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":1573513003135,"_cnpm_publish_time":1573513003135,"dist-tags":{"latest":"1.0.14"}}