Releases: ehmicky/set-error-props
Releases · ehmicky/set-error-props
Release 2.0.0
Breaking changes
- The
error
is not normalized anymore - Rename
lowPriority
option tosoft
Features
- The first argument can now be a plain object
- Improve prototype pollution check
Release 1.1.0
Features
- Normalize and return
error
- Validate arguments
- Improve TypeScript types
Release 1.0.1
Bug fixes
- Fix
lowPriority
option not working when error properties areundefined
- Fix typo in types
Release 1.0.0
Initial release