{"name":"es-aggregate-error","version":"1.0.4","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 .","postlint":"evalmd README.md","pretest":"npm run lint && es-shim-api --bound","test":"npm run --silent tests-only","posttest":"npx aud --production","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.17.6","function-bind":"^1.1.1","functions-have-names":"^1.2.1","globalthis":"^1.0.1"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.1.0","aud":"^1.1.2","auto-changelog":"^2.2.0","covert":"^1.1.1","es6-shim":"^0.35.5","eslint":"^7.6.0","evalmd":"^0.0.19","for-each":"^0.3.3","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":"9af42bef147e2998d40f848886ee6b7ce42e61d7","_id":"es-aggregate-error@1.0.4","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-syuWJHsRD5TJ3nwqjf8eFEeGLJM6OxUjVFz0dMg2b/GB/Ub5VAFiQPEVB6ewdU2VHgkOJBo00uYwPmo7fyfzEg==","shasum":"60662b73fddb1656e7bd6bd4285321406c567d2d","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.4.tgz","fileCount":18,"unpackedSize":19078,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfL2HJCRA9TVsSAnZWagAAgEIQAJhu1wff3JJvf6KHIscY\n45m5kjGnxEiSG5O+pUogKSQNJ8XcmVm/0tU/3MgoRVvjm1lXRFFCM5uHgsFR\nhSHLnEHJoR29K/jdwWOAzOgmY1T38H7fPxCyWaBe7ANBMKOELgQTWPrMMMpa\nfOsmDaKjDsMpB5cWzpU0pEyVWo9A4ulrbK8v5xVzeFPZYQSN24K2szHrKkN2\nkrqfvhgw6m4dxTphWLhU/z2Ewky/4lB/aW8BADi5Av14eISkCJ3Rp0n26AEB\nedm9aEjv+9DaCsGCqhRa7QmzeO/J3rZX2AsRJBfPcm+JyLFROnewqnrX+R+Z\nn8aqJT1GyuWkqnbTz2xzVX6FOuml0Wp6r6Wlp3tbQzkMLgMZhN+6ARNisGm3\nHTrwD4MDg2ke5aqxyRGGj8AsycQ9NBC3DF6aE2tBQ0NUp+/FFnmHRR1yO3Sm\nBJvyCxcGcBY+qmzbSBLNzwP2VV3Vv07na2prSnOj1hlYGRQNX5MbWo7xDWQ4\nZWrF68BNNMYtIMm4fcZDK0YfIRrF0wmz35ZYf1+a80xDzrCiZ6K+SoElMs/r\npDUkL7FhyHcI2GXTmWnLZ4gc2b5QWdyewDD/AMhlYYTPYIbEMZGcnkJkIroS\nQbVwfOhlrJoDAjbf5F/4C2BrGj+YwXrqlYbQS7eQdVQyyUC6NNEmcCGEoGG6\npl45\r\n=wR4L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHse8kpfQ0Vsd+KLZl03HQYHHcx3FfOxHesfok3MuR69AiAE0k7eRbPiC17fUGFk5z9zxy/h/E1OF/58ST8MCkQ/AQ=="}],"size":7236,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.4.tgz"},"maintainers":[{"email":"ljharb@gmail.com","name":"ljharb"}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es-aggregate-error_1.0.4_1596940744289_0.7696112438659222"},"_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":1596940744411,"_cnpm_publish_time":1596940744411,"dist-tags":{"latest":"1.0.14"}}