Up to [cvs.NetBSD.org] / pkgsrc / lang / nodejs18
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
nodejs18: removed; end of life
nodejs18: updated to 18.20.5 Version 18.20.5 'Hydrogen' (LTS) Notable Changes - esm: mark import attributes and JSON module as stable
nodejs18: updated to 18.20.3 Version 18.20.3 'Hydrogen' (LTS) Notable Changes This release fixes a regression introduced in Node.js 18.19.0 where http.server.close() was incorrectly closing idle connections. A fix has also been included for compiling Node.js from source with newer versions of Clang. The list of keys used to sign releases has been synchronized with the current list from the main branch.
nodejs18: updated to 18.20.1 Version 18.20.1 'Hydrogen' (LTS) Notable Changes CVE-2024-27983 - Assertion failed in node::http2::Http2Session::~Http2Session() leads to HTTP/2 server crash- (High) CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation - (Medium) llhttp version 9.2.1 undici version 5.28.4
nodejs18: updated to 18.19.1 Version 18.19.1 'Hydrogen' (LTS) Notable changes CVE-2024-21892 - Code injection and privilege escalation through Linux capabilities- (High) CVE-2024-22019 - http: Reading unprocessed HTTP request with unbounded chunk extension allows DoS attacks- (High) CVE-2023-46809 - Node.js is vulnerable to the Marvin Attack (timing variant of the Bleichenbacher attack against PKCS#1 v1.5 padding) - (Medium) CVE-2024-22025 - Denial of Service by resource exhaustion in fetch() brotli decoding - (Medium) undici version 5.28.3 npm version 10.2.4
nodejs18: updated to 18.19.0 Version 18.19.0 'Hydrogen' (LTS) Notable Changes npm updated to v10 After two months of baking time in Node.js 20, npm 10 is backported, so that all release lines include a supported version of npm. This release includes npm v10.2.3. ESM and customization hook changes Leverage loaders when resolving subsequent loaders Loaders now apply to subsequent loaders, for example: --experimental-loader ts-node --experimental-loader loader-written-in-typescript. New node:module API register for module customization hooks; new initialize hook There is a new API register available on node:module to specify a file that exports module customization hooks, and pass data to the hooks, and establish communication channels with them. The “define the file with the hooks” part was previously handled by a flag --experimental-loader, but when the hooks moved into a dedicated thread in 20.0.0 there was a need to provide a way to communicate between the main (application) thread and the hooks thread. This can now be done by calling register from the main thread and passing data, including MessageChannel instances. We encourage users to migrate to an approach that uses --import with register, such as: node --import ./file-that-calls-register.js ./app.js Using --import ensures that the customization hooks are registered before any application code runs, even the entry point. import.meta.resolve unflagged In ES modules, import.meta.resolve(specifier) can be used to get an absolute URL string to which specifier resolves, similar to require.resolve in CommonJS. This aligns Node.js with browsers and other server-side runtimes. --experimental-default-type flag to flip module defaults The new flag --experimental-default-type can be used to flip the default module system used by Node.js. Input that is already explicitly defined as ES modules or CommonJS, such as by a package.json "type" field or .mjs/.cjs file extension or the --input-type flag, is unaffected. What is currently implicitly CommonJS would instead be interpreted as ES modules under --experimental-default-type=module: String input provided via --eval or STDIN, if --input-type is unspecified. Files ending in .js or with no extension, if there is no package.json file present in the same folder or any parent folder. Files ending in .js or with no extension, if the nearest parent package.json field lacks a type field; unless the folder is inside a node_modules folder. In addition, extensionless files are interpreted as Wasm if --experimental-wasm-modules is passed and the file contains the "magic bytes" Wasm header.
nodejs18: updated to 18.18.0 Version 18.18.0 'Hydrogen' (LTS) Notable Changes - **build**: sync libuv header change (Jiawen Geng) - **crypto**: update root certificates to NSS 3.93 (Node.js GitHub Bot) - **crypto**: update root certificates to NSS 3.90 (Node.js GitHub Bot) - **deps**: add missing thread-common.c in uv.gyp (Santiago Gimeno) - **deps**: upgrade to libuv 1.46.0 (Santiago Gimeno) - **deps**: upgrade to libuv 1.45.0 (Santiago Gimeno) - **doc**: add atlowChemi to collaborators (atlowChemi) - **doc**: add vmoroz to collaborators (Vladimir Morozov) - **doc**: add kvakil to collaborators (Keyhan Vakil) - **(SEMVER-MINOR)** **esm**: add `--import` flag (Moshe Atlow) - **(SEMVER-MINOR)** **events**: allow safely adding listener to abortSignal (Chemi Atlow) - **fs, stream**: initial `Symbol.dispose` and `Symbol.asyncDispose` support (Moshe Atlow) - **net**: add autoSelectFamily global getter and setter (Paolo Insogna) - **(SEMVER-MINOR)** **url**: add value argument to has and delete methods (Sankalp Shubham)
nodejs18: updated to 18.17.0 Version 18.17.0 'Hydrogen' (LTS), @danielleadams Notable Changes Ada 2.0 Node.js v18.17.0 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements to URL parsing, including enhancements to the url.domainToASCII and url.domainToUnicode functions in node:url. Ada 2.0 has been integrated into the Node.js codebase, ensuring that all parts of the application can benefit from the improved performance. Additionally, Ada 2.0 features a significant performance boost over its predecessor, Ada 1.0.4, while also eliminating the need for the ICU requirement for URL hostname parsing. Web Crypto API Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations. This further improves interoperability with other implementations of Web Crypto API.
nodejs18: updated to 18.16.0 Version 18.16.0 'Hydrogen' (LTS) Notable changes Add initial support for single executable applications Replace url parser with Ada buffer: (SEMVER-MINOR) add Buffer.copyBytesFrom(...) (James M Snell) doc: add marco-ippolito to collaborators (Marco Ippolito) add debadree25 to collaborators (Debadree Chatterjee) add deokjinkim to collaborators (Deokjin Kim) events: (SEMVER-MINOR) add listener argument to listenerCount (Paolo Insogna) lib: (SEMVER-MINOR) add AsyncLocalStorage.bind() and .snapshot() (flakey5) (SEMVER-MINOR) add aborted() utility function (Debadree Chatterjee) src: (SEMVER-MINOR) allow optional Isolate termination in node::Stop() (Shelley Vohr) (SEMVER-MINOR) allow embedder control of code generation policy (Shelley Vohr) stream: (SEMVER-MINOR) add abort signal for ReadableStream and WritableStream (Debadree Chatterjee) tls: (SEMVER-MINOR) support automatic DHE (Tobias Nießen) url: (SEMVER-MINOR) implement URLSearchParams size getter (James M Snell) worker: (SEMVER-MINOR) add support for worker name in inspector and trace_events (Debadree Chatterjee)
nodejs18: moved from nodejs, version 18.2.1