npm smol-toml 1.0.1
v1.0.1

latest releases: 1.9.1, 1.9.0, 1.8.0...
3 years ago

This releases fixes a bunch of issues related with spec-compliance, as well as a few bugs! This version now passes (almost) all of the extensive semi-official toml-test suite by BurntSushi! 🎉

  • Double, trailing and leading underscores are no longer accepted in numbers
  • \r alone is no longer considered a line return
  • Tricky comments in arrays no longer trick the parser
  • Keys containing a string with an equals sign no longer break the parser
  • Duplicate tables across arrays of tables are no longer rejected
  • Certain edge-cases regarding table re-creation via dotted keys are now handled properly

The library also got a significant performance improvement for small documents, and got slightly slower for huge documents. Benchmarks have been updated on the README.

Full Changelog: v1.0.0...v1.0.1

Don't miss a new smol-toml release

NewReleases is sending notifications on new releases.