Node.js v20.18.0, a just-introduced replace to the Long-Term Support (LTS) model of the favored asynchronous, event-driven JavaScript runtime, options experimental community inspection help.
Introduced October 3, Node.js 20.18.Zero allows customers to examine community actions occurring inside a JavaScript software. Still in lively improvement, this functionality is initially restricted to HTTP and HTTPS modules solely. To use this characteristic, Node.js should be began with the command $ node --inspect-wait --experimental-network-inspection index.js
.
Other highlights of Node.js 20.18.Zero embody a brand new choice for the tls.createSecureContext
API. Developers can use tls.create.SecureContext({allowPartialTrustChain:true})
to deal with non-self-signed certificates within the belief CA certificates listing as trusted.