Skip to content

v11.5.5

Choose a tag to compare

@github-actions github-actions released this 04 Sep 12:03
· 14 commits to main since this release
81f0427

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.