What's Changed
Bug fixes
- #566 — Restore
util.inspectoutput on Node 26+.console.log(vm.run(...))was rendering asProxy(Proxy({}))/Proxy(Proxy([]))instead of the underlying value. Triggered by Node 26's stricter handling of nested proxies in the inspector. - #567 — Restore array iteration on
vm.freeze()'d host arrays. Calling.map()/.filter()/.forEach()etc. inside the sandbox on a frozen host object containing arrays threw
TypeError: 'isExtensible' on proxy: trap result does not reflect extensibility of proxy target. Regression from the 3.11.0 proxy-invariant hardening. - #568 — Fix
.nodeextension handler key inlib/resolver.js(the key was' .node'with a leading space, so native addon resolution silently fell through to the default path). Thanks to @cherr-cc.
Upgrade Notes
Drop-in replacement for 3.11.4. No API or configuration changes.
Full Changelog: v3.11.4...v3.11.5