merge-error-cause

Merge an error with its `cause`

MIT License

Downloads
30.5K
Stars
10
Committers
2

Bot releases are hidden (Show)

merge-error-cause - v5.0.0 Latest Release

Published by ehmicky 12 months ago

Breaking changes

  • Minimal supported Node.js version is now 18.18.0
merge-error-cause - v4.0.1

Published by ehmicky over 1 year ago

Dependencies

  • Upgrade internal dependencies
merge-error-cause - v4.0.0

Published by ehmicky over 1 year ago

Breaking changes

  • Minimal supported Node.js version is now 16.17.0
merge-error-cause - Release 3.5.0

Published by ehmicky almost 2 years ago

Features

merge-error-cause - Release 3.4.0

Published by ehmicky almost 2 years ago

Features

merge-error-cause - Release 3.3.0

Published by ehmicky almost 2 years ago

Features

  • Add browser support
merge-error-cause - Release 3.2.0

Published by ehmicky almost 2 years ago

Features

  • Improve TypeScript types
merge-error-cause - Release 3.1.1

Published by ehmicky about 2 years ago

Bug fixes

  • Fix package.json
merge-error-cause - Release 3.1.0

Published by ehmicky about 2 years ago

  • Switch to MIT license
merge-error-cause - Release 3.0.0

Published by ehmicky about 2 years ago

Breaking changes

merge-error-cause - Release 2.5.1

Published by ehmicky about 2 years ago

Bug fixes

  • Delete internal wrap property
merge-error-cause - Release 2.5.0

Published by ehmicky about 2 years ago

Features

  • Improve merging properties
merge-error-cause - Release 2.4.0

Published by ehmicky about 2 years ago

Features

  • Improve performance
merge-error-cause - Release 2.3.0

Published by ehmicky about 2 years ago

Features

  • Improve handling empty error messages
merge-error-cause - Release 2.2.0

Published by ehmicky about 2 years ago

Features

merge-error-cause - Release 2.1.1

Published by ehmicky about 2 years ago

Bug fixes

  • Allow ErrorClass.prototype.constructor to mismatch ErrorClass, in order to support polyfills like error-cause-polyfill
merge-error-cause - Release 2.1.0

Published by ehmicky about 2 years ago

Features

  • Improve how error classes are merged thanks to set-error-class
  • Improve how error message are merged thanks to set-error-message
  • Improve how error properties are merged thanks to set-error-props
  • Improve how error.stack is merged
  • Improve TypeScript types
merge-error-cause - Release 2.0.0

Published by ehmicky about 2 years ago

Breaking changes

  • The argument is now directly modified, providing it is an Error instance. Otherwise, a new error is created then returned.
  • The outer error type is now kept when it is AggregateError

Features

merge-error-cause - Release 1.3.0

Published by ehmicky about 2 years ago

Features

  • Reduce npm package size
merge-error-cause - Release 1.2.0

Published by ehmicky over 2 years ago

Features

  • Improve error normalization
Package Rankings
Top 6.95% on Npmjs.org
Badges
Extracted from project README
Node Browsers TypeScript Codecov Minified size Mastodon Medium