Skip to content

Commit 1ec5303

Browse files
committed
docs: toml 1.1.0 in the readme
1 parent 8bc0e2b commit 1ec5303

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# smol-toml
2-
[![TOML 1.0.0](https://img.shields.io/badge/TOML-1.0.0-9c4221?style=flat-square)](https://toml.io/en/v1.0.0)
2+
[![TOML 1.1.0](https://img.shields.io/badge/TOML-1.1.0-9c4221?style=flat-square)](https://toml.io/en/v1.1.0)
33
[![License](https://img.shields.io/github/license/squirrelchat/smol-toml.svg?style=flat-square)](https://github.com/squirrelchat/smol-toml/blob/mistress/LICENSE)
44
[![npm](https://img.shields.io/npm/v/smol-toml?style=flat-square)](https://npm.im/smol-toml)
55
[![Build](https://img.shields.io/github/actions/workflow/status/squirrelchat/smol-toml/build.yaml?style=flat-square&logo=github)](https://github.com/squirrelchat/smol-toml/actions/workflows/build.yaml)
@@ -8,7 +8,7 @@
88
[![Weekly downloads](https://img.shields.io/npm/dw/smol-toml?style=flat-square)](https://npm.im/smol-toml)
99
[![Monthly downloads](https://img.shields.io/npm/dm/smol-toml?style=flat-square)](https://npm.im/smol-toml)
1010

11-
A small, fast, and correct TOML parser and serializer. smol-toml is fully(ish) spec-compliant with TOML v1.0.0.
11+
A small, fast, and correct TOML parser and serializer. smol-toml is fully(ish) spec-compliant with TOML v1.1.0.
1212

1313
Why yet another TOML parser? Well, the ecosystem of TOML parsers in JavaScript is quite underwhelming, most likely due
1414
to a lack of interest. With most parsers being outdated, unmaintained, non-compliant, or a combination of these, a new
@@ -144,8 +144,11 @@ const localTime = TomlDate.wrapAsLocalTime(jsDate)
144144

145145
## Performance
146146
> [!NOTE]
147-
> These benchmarks are starting to get a bit old. They will be updated in the (hopefully near) future to better
148-
> reflect numbers of the latest version of smol-toml on the latest version of Node.js.
147+
> These benchmarks are starting to get quite old and were ran prior to the release of TOML 1.1.0 which changed subtle
148+
> implementation details.
149+
>
150+
> They will be updated in the (hopefully near) future to better reflect numbers of the latest version of smol-toml
151+
> on the latest version of Node.js.
149152
150153
A note on these performance numbers: in some highly synthetic tests, other parsers such as `fast-toml` greatly
151154
outperform other parsers, mostly due to their lack of compliance with the spec. For example, to parse a string,

0 commit comments

Comments
 (0)