{"name":"es-aggregate-error","version":"1.0.7","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":"not-in-publish || npm run prepublishOnly","prepublishOnly":"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.19.0","function-bind":"^1.1.1","functions-have-names":"^1.2.2","get-intrinsic":"^1.1.1","globalthis":"^1.0.2"},"devDependencies":{"@es-shims/api":"^2.2.1","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","es6-shim":"^0.35.6","eslint":"^7.32.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-strict-mode":"^1.0.1","nyc":"^10.3.2","object-inspect":"^1.11.0","safe-publish-latest":"^1.1.4","tape":"^5.3.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":"02599749e0c9ff6771b3102e10501dcac78f1995","_id":"es-aggregate-error@1.0.7","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-Zob/KUAOQUTvCzqgL2FEgtqNLPX5rYW3VhlldZ6La4W2mJUv3J8DmD0/sPxuD+kSAKF6nuceJ3uOSvCaaTLUyQ==","shasum":"6b8da1bf1dcc70c8e1098145bd403c339fa66fb9","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.7.tgz","fileCount":18,"unpackedSize":23115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2p2QCRA9TVsSAnZWagAAOtoP/0bvhX6fIWZja0U03aGh\n2ovFgigLEpw3UUco1s5QTXRrHrSItHyHdP/TckY+la6VI5g/Lo6dbs+D0gy6\n6K9VUjziIW58P8bWWrg0jGDbySIEqim3oqEA7SHgz8v4wd9S2s5RmW+h8vRz\nLOT5vZy4wnDobMKBNdKsB5DMEv0XZUcaF+sOyAmm8Lh3CkqCwJksc4TVO+9J\nFAWP5i9EPb+bgxNRqO6kfICzHAzwyqyYCMCwyANVL2niMA1LFTmZ4yB5M3D9\nl160GicIodATD6fnpqQgN2Nr8WclNj7BvfIojbQm4yt45V9+3fjvXHlUCbs1\n7a2noxVo1ao+IqlAbKvG1TbQ41Pgu+1COB+nwuDAMEUfOBO9rWbhaLTJjjgq\nFAAb/WkcQdu10HFw8X4+6Ff89UFWAwwRnFPkZj2r3wXVwYGgl9q0qCHUfkwC\ndD2EGehNo0YFUQFx8cLgvoZPwsxs+CrEKBJigXto2W1+FKgJmPZ7mrrs2Gz+\nmi5UdrND71l0Bk5N+uHWTVwTVPCXMlyD5iCAtVgU7iouSuHq7WvteN4G2jZA\nKpAgyDZBv4YWyMzMhx+SNkuAPvva3ya7Bgdr/WgsgkbTjsYRDkm+/hOoqeZq\nlt6eIOK0afDchVjbbD/vxX6eRMJRhs43/Md9M5y8JlNdIV84ikWmNjLBQgo1\nkjqA\r\n=NZXN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcif6wu6giRRIv1flDXxXQrqSPzHb04Ht5mX4Tc75j6gIgfAZ9982VpzaVBDU+Hy13/6cMAcWEQ2jpEscAaVXkX2A="}],"size":8198,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.7.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.7_1633065377524_0.6880231151356935"},"_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":1633065377690,"_cnpm_publish_time":1633065377690,"dist-tags":{"latest":"1.0.14"}}