Changelog

nodejs/node · · 5 commits

Web Locks tracing and WebCrypto hardening

Adds diagnostics for Web Locks, expands Wasm string-constant imports, and hardens WebCrypto against prototype pollution.

Diagnostics channels added for Web Locks (IlyasShabi1989f4d)

Node now emits diagnostics_channel events around locks.request() lifecycle points: start, grant, miss, and end. This gives observability into lock contention and failures without changing lock behavior.

WebAssembly ESM can import static string constants (guybedforda936d89)

The Wasm ESM integration now supports the special wasm:js/string-constants import URL for defining static JS string globals. This extends string-builtins support and lets modules expose compile-time string constants directly.

WebCrypto hardened against Promise pollution (panva3e5a2f0, panva65b521f)

WebCrypto internals were updated to use safer primordials and PromiseWithResolvers, reducing reliance on mutable globals during async crypto jobs. A regression test now verifies subtle operations still work even if Promise.prototype.then is polluted, closing a prototype-pollution vector.

Other misc changes

  • Vendored googletest update (1 commit)