npm smol-toml 1.7.0
v1.7.0

latest releases: 1.9.1, 1.9.0, 1.8.0...
4 months ago

This version slightly changes the behaviour of stringify: integers beyond the safe range are always emitted as float numbers.

String decode logic has been rewritten, it is a bit faster now and uses a single-pass approach instead of a dual-pass approach as it did previously. The code should be a bit smaller too, though I didn't actually measure that.

The package is now published with source-maps, declaration-maps, and a copy of the original TypeScript source files. This will improve your DX if you're like me and like Ctrl+Click'ing things a lot. ;)

What's Changed

  • improve performance of the string decode logic by @cyyynthia
  • fix(stringify): emit integer-valued numbers beyond the safe-integer range as floats by @spokodev in #56
  • publish source-maps, declaration-maps, and original source files by @cyyynthia
  • miscellaneous repository maintenance tasks by @cyyynthia

New Contributors

Full Changelog: v1.6.1...v1.7.0

Don't miss a new smol-toml release

NewReleases is sending notifications on new releases.