Bhavik Limbani en Informática Oficial, Moda y belleza, Informáticos Mobile Apps Developer | Consultant | Entrepreneur • Widle 7/7/2017 · 1 min de lectura · 1,9K

Node.js 8: Big Improvements for the Debugging and Native Module Ecosystem | Imperial Infosys

Node.js 8: Big Improvements for the Debugging and Native Module Ecosystem | Imperial Infosys
Native Modular Ecosystem Gets a Boost

The greatly waited Node.js API (N-API) will be added as a trial feature to this release — it will be behind a banner. This is an important technology as it will wipe out breakage that occurs between major releases with local modules. Native modules are a little part of the massive modular community. This attempt would not be possible without noteworthy commitments from Google, IBM, Intel, Microsoft, nearForm, NodeSource and singular donors.

Buffer Improvements

The zero-filling Buffer (num) and another Buffer (num) are included of course. The advantage of the zero-filling Buffer assists with security and protection to counteract data spills. Nonetheless, the drawback with this support is that people utilizing it will take execution hits, however this can stay away from by relocating to buffer.allocUnsafe().

WHATWG URL Parser is Now Stable

WHATWG URL parser goes from trial status to completely supported in this adaptation, enabling individuals to utilize a URL parser that is consistent with the spec and more perfect with the browser. This new URL usage coordinates the URL execution and API accessible in present days web programs like Chrome, Firefox, Edge and Safari, permitting code utilizing URLs to be shared crosswise over situations.

Performance, Security and Interface Boost in npm@5

common bundle management tasks such as package installation and version updates are now up to five times faster; lock files guarantee steady establishments crosswise over advancement situations, and a self-mending reserve with programmed blunder recuperation ensures against undermined downloads. npm@5 additionally presents SHA-512 code check.

Insights to the Tooling Ecosystem and Debugging

This release line will give the profound understanding by means of the new following and async following elements. The test “async_hooks” module got a noteworthy refresh in Node.js 8. This diagnostics API enables engineers to screen the operation of the Node.js occasion circle, following offbeat demand and handles through their entire lifecycle and empowering better analytic devices and different utilities. These additions, along with the removal of the legacy debugger make it easier to debug and track changes within Node.js, allowing commercial and open source tooling vendors to pinpoint performance degradation in Node.js applications.

Improved Support for Promises.

Node.js includes another util.promiscuity() API that enables engineers to wrap callback APIs to return Promises with minimal overhead, utilizing a standard API.