- Breaking: Parse into a
Map
instead of an object - Breaking: Follow the CSP parser spec more closely. See #12
- Fix prototype pollution bug when parsing
__proto__
. See #11
- Breaking: Drop support for old Node versions. Node 18+ is now required
- Shrink package size slightly
- Minor performance improvement
- Dropped support for Node <8
- Added TypeScript type definitions. See #3
- Excluded some files from npm package
The changelog was started in the 0.2.0 release.