diff --git a/.changeset/runtime-agnostic-clock.md b/.changeset/runtime-agnostic-clock.md deleted file mode 100644 index 0909168..0000000 --- a/.changeset/runtime-agnostic-clock.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'assertron': patch ---- - -Drop the last Node builtin from the shipped code. - -`AssertOrder`'s clock imported the bare `perf_hooks` specifier and preferred -`process.hrtime`. It now uses `performance.now()`, which every runtime this package -supports provides as a global. The published `esm/` and `cjs/` output no longer references -any Node builtin, so it loads unchanged on Bun, Deno, browsers and edge runtimes. - -Elapsed times from `AssertOrder#end()` and `getTimeTaken()` are still high-resolution -milliseconds; only the clock behind them changed. The `browser` field's -`"perf_hooks": false` mapping is removed because there is no longer an import for a -bundler to stub. - -`node:assert` is unchanged and unaffected: it appears only in the test helpers and spec -files, neither of which is published. diff --git a/CHANGELOG.md b/CHANGELOG.md index 64e9a8e..836db32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # assertron +## 11.5.5 + +### Patch Changes + +- 419f686: Drop the last Node builtin from the shipped code. + + `AssertOrder`'s clock imported the bare `perf_hooks` specifier and preferred + `process.hrtime`. It now uses `performance.now()`, which every runtime this package + supports provides as a global. The published `esm/` and `cjs/` output no longer references + any Node builtin, so it loads unchanged on Bun, Deno, browsers and edge runtimes. + + Elapsed times from `AssertOrder#end()` and `getTimeTaken()` are still high-resolution + milliseconds; only the clock behind them changed. The `browser` field's + `"perf_hooks": false` mapping is removed because there is no longer an import for a + bundler to stub. + + `node:assert` is unchanged and unaffected: it appears only in the test helpers and spec + files, neither of which is published. + ## 11.5.4 ### Patch Changes diff --git a/package.json b/package.json index 40c0ce8..ba8ca1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "assertron", - "version": "11.5.4", + "version": "11.5.5", "description": "A supplementary assertion library", "homepage": "https://github.com/cyberuni/assertron", "bugs": {