- Minimal supported Node.js version is now
18.18.0
- Minimal supported Node.js version is now
16.17.0
- Properties can now be set as
non-enumerable
by prefixing their name with
_
- Properties'
descriptors
(
enumerable
,writable
,configurable
,get
/set
) are now preserved
- Improve tree-shaking support
- Add browser support
- Fix
package.json
- Switch to MIT license
- Improve error detection using
is-error-instance
- Setting an
undefined
value now deletes its key as well
- Remove deep merging
- The
error
is not normalized anymore - Rename
lowPriority
option tosoft
- The first argument can now be a plain object
- Improve prototype pollution check
- Normalize and return
error
- Validate arguments
- Improve TypeScript types
- Fix
lowPriority
option not working when error properties areundefined
- Fix typo in types
Initial release