Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

merge-error-cause

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge-error-cause - npm Package Versions

13

2.5.1

Diff

Changelog

Source

2.5.1

Bug fixes

  • Delete internal wrap property
ehmicky
published 2.5.0 •

Changelog

Source

2.5.0

Features

  • Improve merging properties
ehmicky
published 2.4.0 •

Changelog

Source

2.4.0

Features

  • Improve performance
ehmicky
published 2.3.0 •

Changelog

Source

2.3.0

Features

  • Improve handling empty error messages
ehmicky
published 2.2.0 •

Changelog

Source

2.2.0

Features

  • Improves error.wrap
ehmicky
published 2.1.1 •

Changelog

Source

2.1.1

Bug fixes

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

Changelog

Source

2.1.0

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
ehmicky
published 2.0.0 •

Changelog

Source

2.0.0

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

  • The inner error type can now be re-used by using error.wrap = true
ehmicky
published 1.3.0 •

Changelog

Source

1.3.0

Features

  • Reduce npm package size
ehmicky
published 1.2.0 •

Changelog

Source

1.2.0

Features

  • Improve error normalization
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc