{"id":20204999,"url":"https://github.com/es-shims/aggregateerror","last_synced_at":"2025-04-10T12:13:03.447Z","repository":{"id":56170253,"uuid":"214726965","full_name":"es-shims/AggregateError","owner":"es-shims","description":"ES Proposal spec-compliant shim for AggregateError","archived":false,"fork":false,"pushed_at":"2024-03-22T17:28:50.000Z","size":156,"stargazers_count":14,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-07T03:35:47.038Z","etag":null,"topics":["aggregate","aggregateerror","ecmascript","error","javascript","polyfill","shim"],"latest_commit_sha":null,"homepage":"https://tc39.es/proposal-promise-any/#sec-aggregate-error-object-structure","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/es-shims.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["ljharb"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"npm/es5-shim","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-10-12T22:56:23.000Z","updated_at":"2023-09-13T04:54:56.000Z","dependencies_parsed_at":"2024-02-14T20:06:01.254Z","dependency_job_id":"8f491c22-477b-408d-a481-21140712596c","html_url":"https://github.com/es-shims/AggregateError","commit_stats":{"total_commits":84,"total_committers":2,"mean_commits":42.0,"dds":"0.011904761904761862","last_synced_commit":"138527c9d0b10beaf1732f4c3cc603ca095c29d8"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FAggregateError","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FAggregateError/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FAggregateError/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/es-shims%2FAggregateError/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/es-shims","download_url":"https://codeload.github.com/es-shims/AggregateError/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217081,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aggregate","aggregateerror","ecmascript","error","javascript","polyfill","shim"],"created_at":"2024-11-14T05:16:08.433Z","updated_at":"2025-04-10T12:13:03.407Z","avatar_url":"https://github.com/es-shims.png","language":"JavaScript","readme":"# es-aggregate-error \u003csup\u003e[![Version Badge][npm-version-svg]][package-url]\u003c/sup\u003e\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\u0026stars=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","funding_links":["https://github.com/sponsors/ljharb","https://tidelift.com/funding/github/npm/es5-shim"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fes-shims%2Faggregateerror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fes-shims%2Faggregateerror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fes-shims%2Faggregateerror/lists"}