NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #3133 most downloaded on npm
TOML parser for Node.js (TOML v1.1.0 compliant)
Latest stable
5.0.1
Last release 1 months ago
12 Oct 2026
Ships unpredictably
gaps range from 2 weeks to 7.2 years
Most releases are documented
notes for 26 of 41 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
41 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
CVE-2026-114142, in which a crafted document could still write to Object.prototype. Two distinct key paths could render to the same bookkeeping string…
Object.prototype. Two distinct key paths could render to the same bookkeeping string, letting an array-of-tables header clear the guard on an unrelated key, after which a dotted key could descend through a date value into its prototype chain. The compiler now records how each table was defined on the table itself rather than in string-keyed sets, so paths cannot collide and key paths can only descend through tables the compiler created.BigInt before any size check, so a multi-megabyte literal consumed super-linear CPU time before being rejected. Literals with more digits than any 64-bit integer are now rejected before conversion.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Breaking: Integers outside JavaScript's safe range (beyond ±Number.MAX_SAFE_INTEGER) now throw a parse error instead of silently returning a rounded v
Number.MAX_SAFE_INTEGER) now throw a parse error instead of silently returning a rounded value (#28). Opt in to lossless handling of the full 64-bit range with toml.parse(input, { bigint: true }), which returns all integer values as BigInt.Add opt-in Temporal support via toml.parse(input, { useTemporal: true }), mapping offset date-times to Temporal.ZonedDateTime and local date-times/dat
toml.parse(input, { useTemporal: true }), mapping offset date-times to Temporal.ZonedDateTime and local date-times/dates/times to Temporal.PlainDateTime/PlainDate/PlainTime. An implementation can be supplied via the temporal option on runtimes without a Temporal global. (#69)Address CVE-2026-77465, in which deeply nested arrays or inline tables could overflow the call stack and crash the process with an uncatchable RangeEr…
RangeError. Nesting is now bounded (default 500 levels), and input past the limit throws a normal parse error. The limit is configurable via toml.parse(input, { maxDepth }).Address CVE-2026-63376, in which a specially crafted TOML string could pollute Object.prototype process-wide.
Object.prototype process-wide.* Increase performance ~5x
* Add spec v1.1.0 support
* Minor packaging changes
Modernize tooling and support TOML v1.0.0 spec
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
* Correctly handle quoted keys
Do not allow implicit table definitions to replace value
Correctly handle newlines at beginning of string
Parse dates generated by Date#toISOString()
* Support TOML spec v0.4.0
Nothing published for this version
* Support TOML spec v0.3.1
Fix support for empty arrays with newlines
Fix loop iteration leak, by sebmck
Fix failure on duplicate table name inside table array
Nothing published for this version
Fix absence of errors when table path starts or ends with period
Fix incorrect messaging in array type errors
Add support for version 0.2 of the TOML spec
example.toml 1000 times on Node.js v0.10)### Bug Fixes * Fix support for empty arrays
Fix typo in array type error message
Fix errors on lines that contain only whitespace
Remove old code remaining from the remove streaming API
Initial stable release
Initial stable release
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.