Node.js v20.18.0, a just-introduced replace to the Lengthy-Time period Assist (LTS) model of the fashionable asynchronous, event-driven JavaScript runtime, options experimental community inspection help.
Launched October 3, Node.js 20.18.0 allows customers to examine community actions occurring inside a JavaScript utility. Nonetheless in energetic improvement, this functionality is initially restricted to HTTP and HTTPS modules solely. To make use of this characteristic, Node.js should be began with the command $ node --inspect-wait --experimental-network-inspection index.js
.
Different highlights of Node.js 20.18.0 embrace a brand new choice for the tls.createSecureContext
API. Builders can use tls.create.SecureContext({allowPartialTrustChain:true})
to deal with non-self-signed certificates within the belief CA certificates checklist as trusted.