Node.js 22.12 LTS brings native ES module loading, Buffer fixes, updated root certificates

Node.js 22.12 LTS brings native ES module loading, Buffer fixes, updated root certificates

Node.js has released version 22.12.0 LTS, bringing several notable updates and enhancements to the JavaScript runtime environment. A key change in this version is the ability to load native ES modules using require() without the need for the --experimental-require-module command line flag, which was previously required in versions 20.x and 22.x. This feature remains experimental, and in version 23.x, Node.js will issue a warning when a native ES module is encountered in require() for the first time. With this update, Node.js will no longer throw the ERR_REQUIRE_ESM error when using require() to load an ES module.

Version 22.12.0 also introduces a correction in handling Buffer objects created with resizable ArrayBuffers. The Buffer length will now adjust correctly as the underlying ArrayBuffer size changes. Additionally, the release includes updated root certificates to NSS 3.104, aligning with the version used in Firefox 131.0. This update also encompasses various other improvements and bug fixes.

by Paul

MORE ABOUT: #Node.js
Node.js iconNode.js
  324
  • FreeOpen Source
  • ...

Node.js is a platform leveraging Chrome's JavaScript runtime to facilitate the development of fast, scalable network applications. It excels in server-side operations and is node-based, making it a robust choice for building efficient web services. Rated 5, Node.js is often compared with alternatives like Deno, Perl, and Bun, each offering unique features for diverse development needs.

No comments so far, maybe you want to be first?
Gu