|Node.js 20 Adds Permission Module|
|Written by Kay Ewbank|
|Thursday, 20 April 2023|
Node.js 20 has been released with improvements including a new Node.js experimental Permission Model and a stable test_runner module.
Node.js 20 is the "Current" release for the next six months. It will enter long-term support (LTS) in October at which point it will be the recommended version for full production deployments
The new experimental Permission Model is designed to provide a way to achieve better security by allowing restriction of access to specific resources during the program execution. It works via a flag which, when enabled, restricts access to all available permissions. The ability to access the filesystem, spawn process, and create worker_threads can be restricted.
Support has also been added for single executable apps. These can be distributed without Node.js being installed. The technique compiles your project into a binary for distribution. The Node.js developers say that Electron, an OpenJS Foundation project, is already using it, and Microsoft, an OpenJS Foundation member, is investigating it as a way to reduce vector attacks.
Node.js 20 is downloadable now.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Thursday, 20 April 2023 )|