avoid applications from accessing or customizing sensitive information or running potentially hazardous code. The API for this ability exists behind the flag– experimental-permission. Likewise in Node.js 20, custom ECMAScript module loader hooks now work on a dedicated thread, separated from the primary thread. This separation develops a separate scope for loaders and guarantees no cross-contamination in between loaders and application code.Other brand-new functions and changes in Node.js 20: Node.js 20 binaries for Arm64 Windows are offered, supplying native execution on the platform. The import.meta.resolve()function now returns synchronously, though user loader resolve hooks still can be specified as async functions.
The test_runner module has actually been marked as steady and
- is prepared for production usage. Web Crypto API function argents now are pushed and validated according to their
- parser, Ada 2.0, brings considerable efficiency enhancements to URL parsing.
- Ada 2.0 has actually been integrated into the Node.js codebase, guaranteeing that all parts of an application can gain from the better efficiency. The Node.js 19 release, which improved HTTP throughput, got here last October. Copyright © 2023 IDG Communications, Inc. Source