- Minimal supported Node.js version is now
18.18.0
- Minimal supported Node.js version is now
16.17.0
- Improve tree-shaking support
- Add browser support
- Normalize invalid
errors
property even when it is inherited
- Fix
package.json
- Switch to MIT license
- Improve error detection using
is-error-instance
- Ensure
error.stack
is always a string
- Improve missing
error.stack
support in SpiderMonkey
- Fix generation of
error.stack
when missing
- Improve generation of
error.stack
when missing
- Improve
error.name
normalization
- Fix TypeScript types
- Fix TypeScript types
- Improve TypeScript types
- Add
shallow
option to prevent recursing onerror.cause
anderror.errors
- Improve
error.stack
generation when it's missing
- Ensure
error.stack
normalization works in any browser
- Ensure
error.constructor
is the correct one
- Ensure
error.name
matcheserror.constructor.name
- Improve TypeScript types
- Reduce npm package size
- Reduce npm package size
- Better handling of Node.js
--enable-source-maps
CLI flag
- Update homepage in
package.json
- Improve handling of errors that are plain objects
- Improve handling of errors that are
Proxy
instances
- Handle errors that are
Proxy
instances, by converting them to non-Proxy
- Handle error properties that are
get
functions that throw