NodeJS v15 updated with a new major release of npm. npm 7 comes with many new features –
Feature Including npm workspaces and a new package-lock.json format. npm 7 also includes yarn.lock file support. One of the big changes in npm 7 is that peer dependencies are now installed by default.
Nodejs v15.0.0 changes
Throw On Unhandled Rejections
In the new update, the default mode of
unhandledRejection is changed to
so if an
unhandledRejection hook is not been set then the
unhandledRejection is raised as an uncaught exception.
Users that have an
unhandledRejection hook should see no change in behavior, and it’s still possible to switch modes using the
--unhandled-rejections=mode process flag.
Node.js 15 now has an experimental support QUIC, which can be enabled by compiling Node.js with the
--experimental-quic configuration flag. The Node.js QUIC implementation is exposed by the core net module.
Promise.any()(from V8 8.5)
- AggregateError (from V8 8.5) ( what is AggregateError )
String.prototype.replaceAll()(from V8 8.5)
- Logical assignment operators
??=(from V8 8.5)
Release Date: October 20, 2020
Commits And Changes: Node.js 15