--
-
OpenJS Foundation announced on April 25, 2024, Node.
Node.
- V8 JavaScript engine update
- V8 JavaScript engine is version 12.
Updated to 4, 12. 4 includes WebAssembly Garbage Collection, Array. Contains new features such as fromAsync, Set methods, and iterator helpers. Additionally, Maglev, Google’s JIT compiler included in V8, is now enabled by default. - WebSocket client now available
- Previously
--experimental-websocket
Browser-compatible implementations of WebSockets that had to be flagged are now enabled by default, so Node.WebSocket client can now be used with js without external dependencies. - require support enabled for synchronous ESM graphs
- Previously, it was necessary to use dynamic import when loading ESM from CJS, but Node.
from js 22 --experimental-require-module
By enabling the flag, it is now possible to execute synchronously using require. This will make it easier for both CJS and ESM package authors to use their packages.
Node.