Last 12 weeks · 0 commits
4 of 6 standards met
Summary Adds an optional argument to constructor, aligning with the TC39 AggregateError proposal. Changes : Added parameter to constructor — when provided, it's used as argument; when omitted, default behavior (indented error stack join) is preserved Why The TC39 spec accepts an optional second argument. This alignment makes it easier to use in contexts expecting spec-compatible behavior. Closes #12 Test plan [x] passes
Thank you for all your open-source work. I'm a user of libraries, and it would be great to have the improved browser support implemented in the latest (https://github.com/sindresorhus/clean-stack/commit/dccdb49b3215ffb78b962e578be9e7cf87eb1ace). From what I can tell, the braking changes in v5 relate to node requirements. I'm happy to open a PR, but wanted to ask if there is perhaps some reason to keep Node 12 support in this library.
Repository: sindresorhus/aggregate-error. Description: Create an error from multiple errors Stars: 247, Forks: 18. Primary language: JavaScript. Languages: JavaScript (79.3%), TypeScript (20.7%). License: MIT. Latest release: v5.0.0 (2y ago). Open PRs: 0, open issues: 2. Last activity: 2y ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, riophae, felixfbecker, gr2m, kmohrf, Richienb, tommie.