v11.5.5
Patch Changes
-
419f686: Drop the last Node builtin from the shipped code.
AssertOrder's clock imported the bareperf_hooksspecifier and preferred
process.hrtime. It now usesperformance.now(), which every runtime this package
supports provides as a global. The publishedesm/andcjs/output no longer references
any Node builtin, so it loads unchanged on Bun, Deno, browsers and edge runtimes.Elapsed times from
AssertOrder#end()andgetTimeTaken()are still high-resolution
milliseconds; only the clock behind them changed. Thebrowserfield's
"perf_hooks": falsemapping is removed because there is no longer an import for a
bundler to stub.node:assertis unchanged and unaffected: it appears only in the test helpers and spec
files, neither of which is published.