Up to [cvs.NetBSD.org] / pkgsrc / lang / nodejs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for icu 79
nodejs: update for nodejs 26 (current version)
nodejs: updated to 26.2.0 26.2.0 (Current) Notable Changes - doc: mark stream.compose stable (Matteo Collina) - (SEMVER-MINOR) fs: add Temporal.Instant support to Stats and BigIntStats (Livia Medeiros) - (SEMVER-MINOR) http: add writeInformation to send arbitrary 1xx status codes (Tim Perry)
*: recursive bump for icu 78.1
nodejs: updated to 25.2.0 25.2.0 (Current) Notable Changes - (SEMVER-MINOR) lib: add options to util.deprecate (Rafael Gonzaga) - lib: throw from localStorage getter on missing storage path (René) - (SEMVER-MINOR) module: mark type stripping as stable (Marco Ippolito) - (SEMVER-MINOR) net: increase network family autoselection timeout to 500ms (Rod Vagg) - (SEMVER-MINOR) node-api: add napi_create_object_with_properties (Miguel Marcondes Filho) - (SEMVER-MINOR) v8: adding total_allocated_bytes to HeapStatistics (Caio Lima)
*: recursive bump for icu 77 and libxml2 2.14
*: recursive bump for icu 76 shlib major version bump
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
*: recursive bump for icu 74.1
nodejs: updated to 21.1.0 Version 21.1.0 (Current) Notable Changes Automatically detect and run ESM syntax The new flag --experimental-detect-module can be used to automatically run ES modules when their syntax can be detected. For “ambiguous” files, which are .js or extensionless files with no package.json with a type field, Node.js will parse the file to detect ES module syntax; if found, it will run the file as an ES module, otherwise it will run the file as a CommonJS module. The same applies to string input via --eval or STDIN. We hope to make detection enabled by default in a future version of Node.js. Detection increases startup time, so we encourage everyone — especially package authors — to add a type field to package.json, even for the default "type": "commonjs". The presence of a type field, or explicit extensions such as .mjs or .cjs, will opt out of detection. vm: fix V8 compilation cache support for vm.Script Previously repeated compilation of the same source code using vm.Script stopped hitting the V8 compilation cache after v16.x when support for importModuleDynamically was added to vm.Script, resulting in a performance regression that blocked users (in particular Jest users) from upgrading from v16.x. The recent fixes landed in v21.1.0 allow the compilation cache to be hit again for vm.Script when --experimental-vm-modules is not used even in the presence of the importModuleDynamically option, so that users affected by the performance regression can now upgrade. Ongoing work is also being done to enable compilation cache support for vm.CompileFunction.
*: bump for openssl 3
*: recursive bump for Python 3.11 as new default
nodejs: fix BUILDLINK_ABI_DEPENDS pattern (fix bulk builds)
nodejs: updated to 19.9.0 Version 19.9.0 (Current) Notable Changes Tracing Channel in diagnostic_channel New URL.canParse API (SEMVER-MINOR) add getMaxListeners method (Khafra) (SEMVER-MINOR) migrate to WiX4 (Stefan Stojanovic) (SEMVER-MINOR) deprecate napi_module_register (Vladimir Morozov) (SEMVER-MINOR) add setter & getter for default highWaterMark (Robert Nagy) (SEMVER-MINOR) expose reporter for use in run api (Chemi Atlow)
nodejs: updated to 18.1.0 Version 18.1.0 (Current) Notable Changes - doc: add @kuriyosh to collaborators (Yoshiki Kurihara) - (SEMVER-MINOR) lib,src: implement WebAssembly Web API (Tobias Nießen) - (SEMVER-MINOR) test_runner: add initial CLI runner (Colin Ihrig) - (SEMVER-MINOR) worker: add hasRef() to MessagePort (Darshan Sen) Version 18.0.0 (Current) Node.js 18 is here! Highlights include the update of the V8 JavaScript engine to 10.1, global fetch enabled by default, and a core test runner module. Initially, Node.js 18 will replace Node.js 17 as our ‘Current’ release line. As per the release schedule, Node.js 18 will be the ‘Current’ release for the next 6 months and then promoted to Long-term Support (LTS) in October 2022. Once promoted to long-term support the release will be designated the codename ‘Hydrogen’. Node.js 18 will be supported until April 2025. Notable Changes Deprecations and Removals (SEMVER-MAJOR) fs: runtime deprecate string coercion in fs.write, fs.writeFileSync (Livia Medeiros) (SEMVER-MAJOR) dns: remove dns.lookup and dnsPromises.lookup options type coercion (Antoine du Hamel) (SEMVER-MAJOR) process: runtime deprecate multipleResolves (Benjamin Gruenbaum) (SEMVER-MAJOR) stream: remove thenable support (Robert Nagy) (SEMVER-MAJOR) tls: move tls.parseCertString to end-of-life (Tobias Nießen)
revbump for textproc/icu update
nodejs: updated to 16.14.2 Version 16.14.2 'Gallium' (LTS) This is a security release. Notable Changes Update to OpenSSL 1.1.1n, which addresses the following vulnerability: Infinite loop in BN_mod_sqrt() reachable when parsing certificates (High)(CVE-2022-0778) More details are available at https://www.openssl.org/news/secadv/20220315.txt For older changes, see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md
revbump for icu and libffi
nodejs: updated to 14.18.0 Version 14.18.0 'Fermium' (LTS) Notable Changes assert: change status of legacy asserts (James M Snell) (SEMVER-MINOR) buffer: introduce Blob (James M Snell) (SEMVER-MINOR) buffer: add base64url encoding option (Filip Skokan) (SEMVER-MINOR) child_process: allow options.cwd receive a URL (Khaidi Chu) (SEMVER-MINOR) child_process: add timeout to spawn and fork (Nitzan Uziely) (SEMVER-MINOR) child_process: allow promisified exec to be cancel (Carlos Fuentes) (SEMVER-MINOR) child_process: add 'overlapped' stdio flag (Thiago Padilha) (SEMVER-MINOR) cli: add -C alias for --conditions flag (Guy Bedford) (SEMVER-MINOR) cli: add --node-memory-debug option (Anna Henningsen) (SEMVER-MINOR) dns: add "tries" option to Resolve options (Luan Devecchi) (SEMVER-MINOR) dns: allow --dns-result-order to change default dns verbatim (Ouyang Yadong) doc: refactor fs docs structure (James M Snell) (SEMVER-MINOR) errors: remove experimental from --enable-source-maps (Benjamin Coe) esm: deprecate legacy main lookup for modules (Guy Bedford) (SEMVER-MINOR) fs: allow empty string for temp directory prefix (Voltrex) (SEMVER-MINOR) fs: allow no-params fsPromises fileHandle read (Nitzan Uziely) (SEMVER-MINOR) fs: add support for async iterators to fsPromises.writeFile (HiroyukiYagihashi) fs: improve fsPromises readFile performance (Nitzan Uziely) (SEMVER-MINOR) fs: add fsPromises.watch() (James M Snell) (SEMVER-MINOR) fs: allow position parameter to be a BigInt in read and readSync (Darshan Sen) (SEMVER-MINOR) http2: add support for sensitive headers (Anna Henningsen) (SEMVER-MINOR) http2: allow setting the local window size of a session (Yongsheng Zhang) inspector: mark as stable (Gireesh Punathil) (SEMVER-MINOR) module: add support for URL to import.meta.resolve (Antoine du Hamel) (SEMVER-MINOR) module: add support for node:‑prefixed require(…) calls (ExE Boss) (SEMVER-MINOR) net: introduce net.BlockList (James M Snell) (SEMVER-MINOR) node-api: allow retrieval of add-on file name (Gabriel Schulhof) (SEMVER-MINOR) os: add os.devNull (Luigi Pinca) (SEMVER-MINOR) perf_hooks: introduce createHistogram (James M Snell) (SEMVER-MINOR) process: add api to enable source-maps programmatically (legendecas) (SEMVER-MINOR) process: add 'worker' event (James M Snell) (SEMVER-MINOR) process: add direct access to rss without iterating pages (Adrien Maret) (SEMVER-MINOR) readline: add AbortSignal support to interface (Nitzan Uziely) (SEMVER-MINOR) readline: add support for the AbortController to the question method (Mattias Runge-Broberg) (SEMVER-MINOR) readline: add history event and option to set initial history (Mattias Runge-Broberg) (SEMVER-MINOR) repl: add auto‑completion for node:‑prefixed require(…) calls (ExE Boss) (SEMVER-MINOR) src: call overload ctor from the original ctor (Darshan Sen) (SEMVER-MINOR) src: add a constructor overload for CallbackScope (Darshan Sen) (SEMVER-MINOR) src: allow to negate boolean CLI flags (Michaël Zasso) (SEMVER-MINOR) src: add --heapsnapshot-near-heap-limit option (Joyee Cheung) (SEMVER-MINOR) src: add way to get IsolateData and allocator from Environment (Anna Henningsen) (SEMVER-MINOR) src: allow preventing SetPrepareStackTraceCallback (Shelley Vohr) (SEMVER-MINOR) src: add maybe versions of EmitExit and EmitBeforeExit (Anna Henningsen) (SEMVER-MINOR) stream: add readableDidRead if has been read from (Robert Nagy) (SEMVER-MINOR) stream: pipeline accept Buffer as a valid first argument (Nitzan Uziely) (SEMVER-MINOR) tls: allow reading data into a static buffer (Andrey Pechkurov) (SEMVER-MINOR) url: expose urlToHttpOptions utility (Yongsheng Zhang) (SEMVER-MINOR) util: expose toUSVString (Robert Nagy) (SEMVER-MINOR) v8: implement v8.stopCoverage() (Joyee Cheung) (SEMVER-MINOR) v8: implement v8.takeCoverage() (Joyee Cheung) (SEMVER-MINOR) worker: add setEnvironmentData/getEnvironmentData (James M Snell)
revbump for textproc/icu
*: Recursive revbump from textproc/icu-68.1
nodejs/nodejs10/nodejs12: these now require nghttp2>=1.41.0 As of the last updates to each of these, made earlier this month, they now require nghttp2>=1.41.0 to build. They expect nghttp2_option_set_max_settings to be available.
Revbump for icu
revbump after boost update
nodejs: updated to 14.1.0 Version 14.1.0 Notable Changes deps: upgrade openssl sources to 1.1.1g doc: add juanarbol as collaborator http: doc deprecate abort and improve docs module: do not warn when accessing __esModule of unfinished exports n-api: detect deadlocks in thread-safe function src: deprecate embedder APIs with replacements stream: * don't emit end after close * don't wait for close on legacy streams * pipeline should only destroy un-finished streams vm: add importModuleDynamically option to compileFunction Version 14.0.0 (Current) Notable Changes ECMAScript Modules - Experimental Warning Removal New V8 ArrayBuffer API cli, report: move --report-on-fatalerror to stable deps: upgrade to libuv 1.37.0 fs: add fs/promises alias module
Recursive revision bump after textproc/icu update
nodejs12: use external OpenSSL; bump revision
Get rid of http-parser for nodejs 12+
Recursive revbump from textproc/icu
nodejs: Require http-parser>=2.9.0. ok leot
nodejs: updated to 10.14.0 Version 10.14.0 'Dubnium' (LTS): This is a security release. All Node.js users should consult the security release summary at: https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/ for details on patched vulnerabilities. Fixes for the following CVEs are included in this release: * Node.js: Denial of Service with large HTTP headers (CVE-2018-12121) * Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122 / Node.js) * Node.js: Hostname spoofing in URL parser for javascript protocol (CVE-2018-12123) * OpenSSL: Timing vulnerability in DSA signature generation (CVE-2018-0734) * OpenSSL: Timing vulnerability in ECDSA signature generation (CVE-2019-0735) Notable Changes * deps: Upgrade to OpenSSL 1.1.0j, fixing CVE-2018-0734 and CVE-2019-0735 * http: - Headers received by HTTP servers must not exceed 8192 bytes in total to prevent possible Denial of Service attacks. Reported by Trevor Norris. (CVE-2018-12121 / Matteo Collina) - A timeout of 40 seconds now applies to servers receiving HTTP headers. This value can be adjusted with server.headersTimeout. Where headers are not completely received within this period, the socket is destroyed on the next received chunk. In conjunction with server.setTimeout(), this aids in protecting against excessive resource retention and possible Denial of Service. Reported by Jan Maybach (liebdich.com). (CVE-2018-12122 / Matteo Collina) * url: Fix a bug that would allow a hostname being spoofed when parsing URLs with url.parse() with the 'javascript:' protocol.
Recursive revbump from textproc/icu-62.1
lang/nodejs: Use pkgsrc http-parser, libuv, libcares instead of bundled versions. Switch back to bundled nghttp2 on lang/nodejs to reconcile a conflict of OpenSSL versions.
lang/nodejs*: Provide bl3 to nodejs packages to provide headers.