{"name":"es-aggregate-error","version":"1.0.3","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.5","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.0.0","es6-shim":"^0.35.5","eslint":"^7.1.0","evalmd":"^0.0.19","for-each":"^0.3.3","object-inspect":"^1.7.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},"gitHead":"ca2284be8f2fe17a3faa7fa141d5a40e1a011c73","_id":"es-aggregate-error@1.0.3","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-MUB3fHZI0fVJsbtkhR2rw7REEZBlWg6MpIRtW5Pr7r5mLc6TVMdLhagnclYFqdiRd6L/lLt5N9sqploNLrLd+Q==","shasum":"01296b119dc81356dabca1d85a85e5eece413a97","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.3.tgz","fileCount":18,"unpackedSize":18029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2Ru7CRA9TVsSAnZWagAA5EYP/3QG1FIwK66aQt4IuLff\n2XWlY95UPeJWUtx0DuPQyJLvjndRArfcf//TIhU2REDNr/WumpQUJIb6Qr/Q\nHaJ+Rs1cCY2/m3RYmWBln5a8K9zYV0tO61P6Dc3NyHl7JQRYsGzgY6qL8c/L\n7cjfrs3oEtmPwWqoyDqSDTFv4wBTmCp8FxhXif5uudHFskyeQS+qpN4p1GtT\n/Rh3n05/O1VewkiyDL+ON2qslGSuteIcQDFv4PYqmot73z/JiKWN7qmBDq1P\nXieNabQZqBrUtzYOgqaTzq6Tg0gDeh5QjbdhZ00cM8u5UZAVECOiOKHiDQCn\nd95PN5qX7Sm+VyzVexRFdBSnUpUFw46kVPreJZG90ZDzP7adHoDXBI6n0TqY\nXbyfDWHlRJKK6WobGCaFXnRuu2WkiX7f5WyBtqKWjtHoHeYNpBBcfMJXAdq3\nhdZ7UKPnXIbB58ss9joety+nbfVubHA29u3M6fuFrx19owbEpCjtI72D3Ed3\nanOUuDh7+RkRJA+7iIayCLIzW/P8yNIuu+SxGvVPzLMn1gJ2bCD5l1X0NyhT\ngBzRU4NkeosNx0/8Qfz6NnuA5WZXGxSZ/g222cOJj+oACKeKenxah6tGtFXD\n9GBV97+ruYrrl8qWOetSjbFRAuaV6+YXDw66ROGnC0tH4mwCAe8R5mR4Lt8m\nZiyV\r\n=cXIl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLloNAozkzLTssD9r7W220paU5AH29qNl2mrU4aSv8eQIhAIjQOg9GY6PZd0JKsXxq1BHwAVGlRavcbfmYnUec6yQP"}],"size":6945,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.3.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.3_1591286714571_0.48798515827034517"},"_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":1591286714737,"_cnpm_publish_time":1591286714737,"dist-tags":{"latest":"1.0.14"}}