@iarna/toml
Advanced tools
Changelog
2.2.4
Changelog
2.2.3
This release just updates the spec compliance tests and benchmark data to better represent @ltd/j-toml.
Changelog
2.2.2
__proto__
properties. (@LongTengDao)Changelog
2.2.1
util.inspect
wasn't
provided. This was supposed to be guarded against, but there was a bug in
the guard. Thanks @agriffis for finding and fixing this!Node 6 and 8 are measurably slower than Node 6, 10 and 11, at least when it comes to parsing TOML!
Changelog
2.2.0
Changelog
2.1.0
-01
or +01
.1_.0
. _ is only valid between digits.Changelog
2.0.0
With 2.0.0, @iarna/toml supports the TOML v0.5.0 specification. TOML 0.5.0 brings some changes:
\u007f
.BigInt
s if you are using Node 10 or later.nan
, inf
and -inf
are supported. The stringifier will no
longer strip NaN, Infinity and -Infinity, instead serializing them as these new values..2017-12-01T00:00:00Z
can be written as 2017-12-01 00:00:00Z
.isFloating
property is true and
whose toISOString
method will return a representation without a timezone.isDate
property is true and
whose toISOString
method returns just the date.isTime
property is true and
whose toISOString
method returns just the time.a.b = 23
is
the equivalent of a = {b = 23}
or [a] b = 23
. These can be used both as keys to regular tables and inline tables.0b
, 0o
and 0x
respectively. It is now illegal to left
pad a decimal value with zeros.Some parser details were also fixed:
-0.0
) and positive zero (0.0
) are distinct floating point values.-0
) is not distinguished from positive zero (0
).