The Programmer News Hubb
Advertisement Banner
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
Gourmet News Hubb
No Result
View All Result
Home Technical Insights

Node.js 20 released with new experimental permission model

admin by admin
April 19, 2023
in Technical Insights


The new permission model was designed to provide better security. It allows developers to restrict access to certain resources during program execution. This can include restricting access to the file system and spawn process and restricting the ability to create worker_threads. 

According to the feature roadmap, upcoming additions to the permission model will include adoption on package managers, support for path.resolve in C++, support for kFileSystem as a THROW_IF_INSUFFICIENT_PERMISSIONS argument, and the ability to read permissions from a configuration file. 

Another big change in this release is that the V8 engine has been updated to version 11.3, which brings with it five new features: String.prototype.isWellFormed and toWellFormed, methods that change Array and TypedArray, resizable ArrayBuffer and growable SharedArrayBuffer, RegExp v flag with set notation and properties of strings, and WebAssembly Tail Call.

“With the addition of the experimental Permission Model and updates to V8, Node.js 20 is perfect for testing and assessing how Node.js will fit into your development environment. We have made excellent progress making Node.js more secure and performant over the past year,” said Rafael Gonzaga, Node.js TSC Member. “Many thanks to our broad and energetic community of open source contributors for constantly improving Node.js.”

Also in Node.js 20 are Single Executable Apps, which allow Node.js apps to be distributed without the language having to be installed. Currently, it is in use by the Electron project and Microsoft is also experimenting with it as a way to reduce vector attacks. 

Another update is that test runner, which can be used to create JavaScript tests, is now stable. 

Node.js 20 will enter Long-Term Support in October, making it ready for full production deployments. 

“From security to testing to portability, Node.js has made important gains in the past year and Node.js 20 shows it. If you’re already using Node.js, Node.js 20 is a great way to get a close-up look at new features before LTS comes out,” said Robin Ginn, executive director of the OpenJS Foundation. “Thank you to our open source contributors from around the world. Node.js 20 is a great example of open source making a difference.”



Source link

Previous Post

The 20 Best Free Book & Cover Mockup Templates for Photoshop in 2023

Next Post

Fine-grained Reactivity for JavaScript Frameworks — SitePoint

Next Post

Fine-grained Reactivity for JavaScript Frameworks — SitePoint

Recommended

Weekly News for Designers № 690

2 months ago

Tackling today’s software supply chain issues with DevOps-centric security

4 months ago

Postman and Microsoft announce partnership

8 months ago

2023: The Year of Continuous Improvement

5 months ago

Next.js vs React: Their Differences, and Which One to Choose

7 months ago

Different Ways to Get CSS Gradient Shadows | CSS-Tricks

4 months ago

© The Programmer News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

Newsletter Sign Up.

No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

© 2022 The Programmer News Hubb All rights reserved.