In addition to type stripping, several noteworthy updates were made, including:
- An update of the amaro package to version 1.1.0.
- The addition of various watch-mode-related flags in the documentation.
- The inclusion of islandryu as a collaborator.
- Implementation of the import.meta.main feature.
- Enhanced handling of burst events in filesystem operations with AsyncIterator.
- Improvements in the permission model flags when spawning processes.
- Support for the readBigInts option at the database connection level.
- Making worker threads asynchronously disposable.
The release also addressed several bugs and code fixes, including the resolution of a breaking change related to SHAKE128/256 from OpenSSL 3.4 and the removal of dead code across various modules. Additionally, the Node.js GitHub Bot updated several dependencies, ensuring that the platform remains current and efficient.
Overall, Node.js v22.18.0 is a significant step forward, offering users an enhanced development experience while ensuring the reliability and robustness of the platform.
Future Directions
Looking ahead, the Node.js team may focus on refining the experimental features like type stripping, ensuring they are reliable and well-documented as they transition from experimental to stable. Enhancements in performance, security, and compatibility with other technologies will likely continue to be a priority, as well as improving the developer experience through better tooling and documentation. The community's involvement in suggesting features and reporting issues will be crucial to shaping the future of Node.js and maintaining its position as a leading runtime environment for JavaScriptNode.js v22.18.0 (LTS) released
Node.js v22.18.0 (LTS) has been released and introduced type stripping by default, allowing it to execute TypeScript files without additional configuration. This feature is experimental and subject to change. To disable it, pass the "no-experimental-strip-types" CLI flag. Other notable changes include updating amaro to 1.1.0, adding watch-mode-related flags to node.1, adding islandryu to collaborators, implementing import.meta.main, allowing correct handling of bursts in fs-events with AsyncIterator, propagating permission model flags on spawn, adding support for the readBigInts option in db connection level, and making worker async disposable. Commits include fixing dead code, removing dead code, and fixing the SHAKE128/256 breaking change introduced with OpenSSL 3.4. Node.js GitHub Bot also updates amaro to 1.1.0, 0.5.3, 0.5.2, and 0.5.0. The changes aim to improve the user experience and maintain the stability of Node.js.