- Improve documentation in
README.md
- Minimal supported Node.js version is now
18.18.0
- Minimal supported Node.js version is now
16.17.0
- Improve TypeScript types
- Undocument the third argument
- Improve tree-shaking support
- Add browser support
- Fix
package.json
- Switch to MIT license
- Allow
ErrorClass.prototype.constructorto mismatchErrorClass, in order to support polyfills likeerror-cause-polyfill
- Improve how
error.nameis set when the class has not changed
Initial release.