@iarna/toml
2.2.5 · 22 Apr 2020ISC12M / weekRepositoryHomepagenpmAtom feed
Upgrading @iarna/toml from 2.0.0 to 2.1.0
1 release in betweenevery note read
Release by release
- new
Types for typescript support, thank you @momocow!
- fixed
stringify: Always strip invalid dates. This fixes a bug where an invalid date in an inline array would not be removed and would instead result in an error.
- fixed
stringify: If an invalid type is found make sure it's thrown as an error object. Previously the type name was, unhelpfully, being thrown.
- fixed
stringify: Multiline strings ending in a quote would generate invalid TOML.
- fixed
parse: Error if a signed integer has a leading zero, eg,
-01or+01. - fixed
parse: Error if _ appears at the end of the integer part of a float, eg
1_.0. _ is only valid between digits.
- new
2 other lines we could not sort, mostly version bumps
- 2.1.0
BurntSushi's comprehensive TOML 0.4.0 test suite is now used in addition to our existing test suite.
- 2.1.0
You can see exactly how the other JS TOML libraries stack up in testing against both BurntSushi's tests and my own in the new TOML-SPEC-SUPPORT doc.