Packages

@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

Other targets from 2.0.0Newest 2.x, Latest2.2.5
0
changes to make
0
advisories fixed
1
new
5
fixes

Release by release

  1. 2.1.0

    1 Sep 20181 new · 5 fixes
    • 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, -01 or +01.

    • fixed

      parse: Error if _ appears at the end of the integer part of a float, eg 1_.0. _ is only valid between digits.

2 other lines we could not sort, mostly version bumps
  • 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.

    2.1.0