Download Node.js 18.13.0 (LTS) / 19.4.0
Node.js is open source and cross-platform, and is aimed at developing server-side web applications. Those applications are written in JavaScript and executed within the Node.js runtime on the server. It offers an event-driven environment where non-blocking I/O has been an important principle. For more information about Node.js, please refer to this page. The development team has versions 18.13.0a version with extra long support, and 19.4.0 released. The most important changes made in both versions are summarized for you below.
Node v18.13.0 (LTS) notable changes
Add support for externally shared js builtins
By default Node.js is built so that all dependencies are bundled into the Node.js binary itself. Some Node.js distributions prefer to manage dependencies externally. There are existing build options that allow dependencies with native code to be externalized. This commit adds additional options so that dependencies with JavaScript code (including WASM) can also be externalized. This addition does not affect binaries shipped by the Node.js project but will allow other distributions to externalize additional dependencies when needed. Contributed by Michael Dawson in #44376
Introduce File
The File class is part of the FileAPI. It can be used anywhere a Blob can, for example in URL.createObjectURL and FormData. It contains two properties that Blobs do not have: lastModified, the last time the file was modified in ms, and name, the name of the file. Contributed by Khafra in #45139
Support function mocking on Node.js test runner
The node:test module supports mocking during testing via a top-level mock object.
test(‘spies on an object method’,
Contributed by Colin Ihrig in #45326
Node v19.4.0 (Current) notable Changes
- buffer:
- (SEMVER-MINOR) add buffer.isUtf8 for utf8 validation (Yagiz Nizipli) #45947
- http:
- (SEMVER-MINOR) improved timeout defaults handling (Paolo Insogna) #45778
- just:
- add autoSelectFamily global getter and setter (Paolo Insogna) #45777
- ox:
- (SEMVER-MINOR) add availableParallelism() (Colin Ihrig) #45895
- util:
- add fast path for text-decoder fatal flag (Yagiz Nizipli) #45803
Version number | 18.13.0 (LTS) / 19.4.0 |
Release status | Final |
Operating systems | Windows 7, Linux, BSD, macOS, Windows Server 2008, Windows Server 2012, Windows 8, Windows 10, Windows Server 2016, Windows Server 2019, Windows 11 |
Website | Node.js |
Download | https://nodejs.org/en/download/ |
License type | GPL |