pretty-ms breaking changes
pretty-ms 10.0.0 (October 14, 2026) is its newest release with breaking changes, 5 of them. The first: pretty-ms 10.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in pretty-ms on npm: 11 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 10.0.0, released October 14, 2026. Source repository
Its 10.0.0 release requires Node.js 22 or later. Node.js end of life dates.
- From 9.0.0 to 10.0.0: 5 breaking changes in 1 version.
- From 8.0.0 to 10.0.0: 9 breaking changes in 2 versions.
pretty-ms 10.0.0 breaking changes
- Removed
Node.js versions below 22 are no longer supported, so upgrade Node.js to 22 or later before using this release. github.com - Behavior changed
Fractional numbers are now read to 15 significant digits, so some values that showed as milliseconds now show as seconds. Integers remain exact. github.com - Behavior changed
Output for many edge cases differs slightly, so tests that compare exact output may need updating. github.com - Behavior changed
colonNotation
With colonNotation and hideSeconds, the output always includes hours, so 60000 now shows 0:01 instead of 1. Update code that parses this output. github.com - Behavior changed
unitCount
With colonNotation, unitCount no longer limits the output fields, so the remaining fields now show different values. Check code that relies on unitCount with colonNotation. github.com
pretty-ms 9.0.0 breaking changes
- Behavior changed
Output for large numbers changed as a result of the improved formatting. Code that matches exact output strings may need updating. github.com - Configuration changed
The package now requires Node.js 18. Users on older Node.js versions must upgrade before installing this release. github.com - Signature changed
default
Was function prettyMilliseconds(milliseconds: number, options?: Options): string; now function prettyMilliseconds(milliseconds: number | bigint, options?: Options): string. npmjs.com - Signature changed
Options
Was interface Options; now type Options = {readonly secondsDecimalDigits?: number; readonly millisecondsDecimalDigits?: number; readonly keepDecimalsOnWholeSeconds?: boolean; readonly compact?: boolean; readonly unitCount?: number... npmjs.com
pretty-ms 8.0.0 breaking changes
- Configuration changed
The package is now pure ESM, so it must be loaded with import rather than require. Node.js 14 is required; users on older Node.js versions must upgrade. github.com - Signature changed
default
Was function prettyMilliseconds(milliseconds: number, options?: prettyMilliseconds.Options): string namespace prettyMilliseconds; now function prettyMilliseconds(milliseconds: number, options?: Options): string. npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.