@iarna/toml
2.2.5 · 22 Apr 2020ISC12M / weekRepositoryHomepagenpmAtom feed
In short
5 changed
Release note
TOML v1.0.0-rc.1
has been released! This update brings support for it! It's not a huge
update, an evening of tests and an evening of parser updates, but the
changes as a consumer of TOML are actually pretty impactful:
Inline arrays can have mixed types now!!
Inline tables MAY NOT have trailing commas. (Inline arrays are still allowed to have trailing commas.)
Control chars are no longer allowed in comments. Only tabs may be used in comments.
Multiline basic and literal strings can have quotes nestled up next to the closing triplet, that is:
""""Hello," she said, "this is a thing.""""is the equivalent of the JSON"\"Hello,\" she said, \"this is a thing.\"".Subtables may not extend tables created via dotted keys, that is, the following is invalid:
[a] x.y = 1 [a.x] z = 2