{"name":"es-aggregate-error","version":"1.0.0","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"},"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":"^14.1.0","auto-changelog":"^1.16.1","es6-shim":"^0.35.5","eslint":"^6.5.1","for-each":"^0.3.3","object-inspect":"^1.6.0","safe-publish-latest":"^1.1.3","tape":"^4.11.0"},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"81f67c7a9df50be68faa1931a7c212a0eca6486d","_id":"es-aggregate-error@1.0.0","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-UG7qNBBmhNs74PVegpMsH6dytzBRIBOCScgLJ0t1g3F48m5LacYI9nCwEzdSoS5klsZAspQ60CPNgbuFVPTc6g==","shasum":"173d0f9afc2255b4eb4f7cc88369dcc10b825f1e","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.0.tgz","fileCount":17,"unpackedSize":23349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrfIvCRA9TVsSAnZWagAAlSsQAJnjzy6lQbp1GP2bPC1t\nEQWXXv1OgJIYeiyn0o/Yg3dMSWfMuHNyr2p9PzVjGVe8exPuaXJ075tXHTSd\nfBeT0Wi4y2L0sjvuQhZ214LZYbPM87lVuaU7wtFJxjfBRiugKbRlHm44NRil\nRKOHbJ+6Duu27U1iq/pEy0FBWbnEEltfnaiLw+G8rK2wib0lp1GK687IJ/oZ\n0a7AbHRkihDLXnE4JLtDYXx7r5Vn7I74gRL51Xse7TlOrVsPvCl21tzPJnQp\nuMcsHqPgzFHuKnSxv0KapdBq9s5Ad0prt6rdO7HXcIaiSd7Coy3KhRopODg2\nkFQj9310OKa2C0TTo3ZLAJybON7PmnWuRhRRDoM5tgBGCMo+TzV3lnpPuaM2\n/V7r6RJUwTJeB0JhDTea+1tqWfrVowo4+4wCohOscXQzi2BW6ShRJWEzsDZ/\nUnXM1rpikssdqDhU75+DJ5DTeRvfqiS+Yme84Tgc8GtZQIPPMaA1SEDLyoKs\n2v+kTYrliPsrd0K95ACDSjFjMmB1Q/QVPYh5edrGzOoL48kJi/GKYPFFsEBm\nmw0sqtA6S5edO6tLs0/5jLjwXXgMngrJ3DlGmARHfZnZAr8k/1xUMTcvXUvh\nNn2Kzb3yJ4ay8b41aibjjDRazh197ScviDF6r4cOpINKBhi+a5FELsvI3+nC\nIB0O\r\n=6jEg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWlJwAxYClknJix3v8gdjcJPKjLCZcX+sF6yc+m6mAhgIgArqgve7Elvs491xDYIB/X2gCUH7dSLaYzUVL3jYDzdQ="}],"size":6382,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.0.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.0_1571680815085_0.37371485472952104"},"_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":1571680815300,"_cnpm_publish_time":1571680815300,"dist-tags":{"latest":"1.0.14"}}