Skip to content

Changelog ​

Version 4 ​

4.0.1 ​

  • #34 Revert "fix: strip leading UTF-8 BOM"

4.0.0 ​

  • #33 4.0.0 Release Notes
  • #32 fix: strip leading UTF-8 BOM
  • #30 chore: convert to esm + vitest + oxlint/oxfmt
  • #28 Ignore BOM char

Version 3 ​

3.0.0 ​

  • #27 Support node v18, drop node v12

Version 2 ​

2.1.0 ​

  • #26 Add Typescript types
  • #22 upgrade lab to v24

2.0.0 ​

  • #17 Only node 12

Version 1 ​

1.3.2 ​

  • #10 Fix uppercase hex strings validating as safe

1.3.0 ​

  • #9 Add safeParse()

1.2.0 ​

  • #8 Change module namespace

1.1.2 ​

  • #7 Don't assume hasOwnProperty is safe

1.1.1 ​

  • #5 Use syntax available down to Node 4.
  • #4 Improve regex to only flag keys

1.1.0 ​

  • #3 Handle escaped unicode characters
  • #2 Expose validation logic

Deploys by Netlify