{"name":"es-aggregate-error","version":"1.0.9","contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com","url":"http://ljharb.codes"}],"description":"ES Proposal spec-compliant shim for AggregateError","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","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.4","es-abstract":"^1.20.4","function-bind":"^1.1.1","functions-have-names":"^1.2.3","get-intrinsic":"^1.1.3","globalthis":"^1.0.3","has-property-descriptors":"^1.0.0"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","es6-shim":"^0.35.6","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.2","safe-publish-latest":"^2.0.0","tape":"^5.6.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"},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"1b3662e596416480f57269f438a7e9101a4df5f0","_id":"es-aggregate-error@1.0.9","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-fvnX40sb538wdU6r4s35cq4EY6Lr09Upj40BEVem4LEsuW8XgQep9yD5Q1U2KftokNp1rWODFJ2qwZSsAjFpbg==","shasum":"b50925cdf78c8a634bd766704f6f7825902be3d9","tarball":"http://registry-npm.ywwl.com/es-aggregate-error/download/es-aggregate-error-1.0.9.tgz","fileCount":17,"unpackedSize":25733,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCufTBFCq4+g/V7WlXpBAkV8LxeHKr79kNquIz+x0E4pgIgAtYXEqvVx2eFKUSUAj2HiXlX/H0cOiHsZNdtlSquNoU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYqpHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/lA/+JUBXULXZ+bSYCq12sWxQyoOMLYfJsiRpaUZy8dZNQK0jNu5t\r\nL9qhiaWfk7DG3Ch1nPDDN7rxeCxVrndskVS/9IK+23ZNQrWnKhrqmSqMPzBv\r\nIs+tshlC0MchoTqTQlYgfZStnd6/7gt4W4OnVaEq6arzDnK1dQFA6iQ0sTLw\r\n/O23cMiWqAx2VYz+kuYzS6vHj5rb/t/Z/bni9v/KMSuYQkoef6SaMaBLUDIl\r\nwr1dwPtvazyrdQ/9EnCptoaxT0PhKn7+2PJL1dhnsy3eVpdTL9MXsortUkF4\r\nbkUsSLxMBA5rtxaLLdhEZqLZSKCDSlvpagT0It92hM96IZyziU5mk4G0Bl4I\r\nWaLRNS1qRlC+gZ9wTvJ+jjM/UJP2vI5JI0amC+6U9IYlvNws2W6J5PdUcTrO\r\nUlc5YbHYfphKCJCox2IQmpa61N6nQp6Kn/RvFpf5KK+/GWoxsDvhMetsU0Kc\r\nTC7qNHgUzq5BvyEaSOyCspae7Cw6KrB6MnIYhrZjRYgV6vg/xXByppA3XkEy\r\nODx9lvgHBAiKb1EN76lIHnZXmLf4sEgaeF87iW+eSY8aorIej6Zckoc7Lt4+\r\nSH639r4zZh8sSLCKFgI9qUAjnomEGpURF/7Eh1g0ZfhwhFlm2n5rTZoAnApK\r\nNILbYgzlrDC52ns+bNEonZdCoNDgqld2d+0=\r\n=oqZM\r\n-----END PGP SIGNATURE-----\r\n","size":8816,"noattachment":false,"key":"/es-aggregate-error/-/es-aggregate-error-1.0.9.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.9_1667410502799_0.6760324098386405"},"_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":1667410503049,"_cnpm_publish_time":1667410503049,"dist-tags":{"latest":"1.0.14"}}