|Node.js 21 Has Stable WebStreams|
|Written by Kay Ewbank|
|Monday, 23 October 2023|
Node.js 21 is the "Current" release for the next six months, and Node.js 20 has now entered long-term support (LTS).
The move to support version 11.8 of the V8 engine, which is part of Chromium 118, will bring improved performance and new language features including array grouping, support for ArrayBuffer.prototype.transfer, and. WebAssembly extended-const expressions.
Another change to the new version is new experimental flag to change the interpretation of ambiguous code from CommonJS to ES modules. Node.js has two module systems, CommonJS modules and ECMAScript modules. Node.js treats files with a .js extension by default as CommonJS modules. This can now more easily be flipped.
The test runner module has also been updated to add support for glob expressions when specifying the --test parameter. This means you can now use powerful glob patterns to run tests more efficiently and flexibly.
An experimental browser-compatible WebSocket implementation has also been added to node.js in this release.
Node.js 21 is downloadable now.
or email your comment to: firstname.lastname@example.org