From f382c9fd4e4d8280d294dc5bdf7a40469d6e5b3e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 20:20:50 +0000 Subject: [PATCH] chore: version packages --- .changeset/runtime-agnostic-clock.md | 18 ------------------ CHANGELOG.md | 19 +++++++++++++++++++ package.json | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) delete mode 100644 .changeset/runtime-agnostic-clock.md 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": {