Available server JavaScript platform Node.js 19.0

took place release node.js 19.0 , platforms for performing network applications in JavaScript. Node.js 19 classified to a branch with the usual term of support, the update for which will be produced until June 2023. In the coming days, the stabilization of the Node.js 18 branch will be completed, which will receive LTS status and will be maintained until April 2025. Companion of the past LTS-vehicle Node.js 16.0 will extend to September 2023 , and revenge LTS lights 14.0 Until April 2023.

The main improvements :

  • engine v8 updated to the version 10.7 used in Chromium 107. Of the changes in the engine compared to the Node.js 18 branch, the implementation of the third version of the API Intl.numberformat is noted, in which new functions Formatrange (), Formatrangetoparts () and Selectrance (), new options for the rounding and accuracy assignment, new options The possibility of interpretation of lines as decimal numbers. Also updated by the Llhttp 8.1.0 and NPM 8.19.2.
  • NPM set.

  • The experimental command “Node –watch” was proposed with the implementation of the observation mode that ensures the restart of the process when changing the imported file (for example, in the case of Node –watch Index.js, the process will be automatically restarted when INDEX.JS changes).
  • For all outgoing HTTP/HTTPS-connection, support for the HTTP 1.1 Keep-Alive mechanism is included, which leaves a certain time open for processing several HTTP checks within one connection. It is assumed that the use of Keep-Alive will increase throughput and performance. By default, the time of holding the connection opened in 5 seconds. The implementation of the HTTP client added support for the analysis of the KEEP-Alive HTTP heading in the server answers, but the implementation of the Node.js HTTP server added automatic disconnection of inactive customers using Keep-Alive.
  • The API webcrypto was transferred to the category of stables. with the exception of the functions using the algorithms Ed25519, ED448, X25519 and X448. To access the Webcrypto module, you can now use Globalthis.crypto or Require (‘Node: Crypto’). Webcrypto.
  • Remote support for tracing tools DTRACE, Systemtap and ETW (Event Tracing for Windows), which is recognized as inappropriate due to the complexity of support in the absence of a proper plan for their support.

Node.js platform can be used both for server maintenance of web applications, and for creating ordinary client and server network programs. To expand the functionality of applications for node.js, a large collection of modules

/Media reports.