All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
2.0.0-0 (2024-09-17)
- CError's static .cause() method was changed to .getCause(). Constructor arguments were consolidated, so there are now two optional arguments instead.
- Target ES version is now ES2022
- update typescript to v5 & node to v22 (3dc28bc)
- Reuse native javascript cause property (67575a8)
1.2.3 (2021-05-27)
- remove build script for browser version (218fd3c)
1.2.2 (2021-05-27)
1.2.1 (2021-05-07)
1.2.0 (2020-09-22)
- enhance isCError & isWError methods with type predicate (8a4037d)
1.1.0 (2020-09-22)
- implement isCError & isWError methods (62b52ea)
1.0.5 (2020-09-14)
- make cause a nonenumerable property (74ae474)
- remove reliance on instanceof & use duck-typing instead (a37badf)