pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs22



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 30 16:31:39 UTC 2025

Modified Files:
        pkgsrc/lang/nodejs22: Makefile distinfo
        pkgsrc/lang/nodejs22/patches: patch-common.gypi

Log Message:
nodejs22: updated to 22.17.0

Version 22.17.0 'Jod' (LTS)

⚠️ Deprecations

Instantiating node:http classes without new

Constructing classes like IncomingMessage or ServerResponse without the new
keyword is now discouraged. This clarifies API expectations and aligns with standard
JavaScript behavior. It may warn or error in future versions.

options.shell = "" in node:child_process

Using an empty string for shell previously had undefined behavior. This change
encourages explicit choices (e.g., shell: true or a shell path) and avoids
relying on implementation quirks.

HTTP/2 priority signaling

The HTTP/2 prioritization API (e.g., stream.priority) is now deprecated due to
poor real-world support. Applications should avoid using priority hints and expect future removal.

✅ Features graduated to stable

assert.partialDeepStrictEqual()

This method compares only a subset of properties in deep object comparisons,
useful for flexible test assertions. Its stabilization means it's now safe for
general use and won't change unexpectedly in future releases.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/nodejs22/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/nodejs22/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/nodejs22/patches/patch-common.gypi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs22/Makefile
diff -u pkgsrc/lang/nodejs22/Makefile:1.10 pkgsrc/lang/nodejs22/Makefile:1.11
--- pkgsrc/lang/nodejs22/Makefile:1.10  Thu May 22 07:39:08 2025
+++ pkgsrc/lang/nodejs22/Makefile       Mon Jun 30 16:31:39 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2025/05/22 07:39:08 adam Exp $
+# $NetBSD: Makefile,v 1.11 2025/06/30 16:31:39 adam Exp $
 
-DISTNAME=      node-v22.16.0
+DISTNAME=      node-v22.17.0
 EXTRACT_SUFX=  .tar.xz
 
 USE_LANGUAGES= c c++

Index: pkgsrc/lang/nodejs22/distinfo
diff -u pkgsrc/lang/nodejs22/distinfo:1.9 pkgsrc/lang/nodejs22/distinfo:1.10
--- pkgsrc/lang/nodejs22/distinfo:1.9   Thu May 22 07:39:08 2025
+++ pkgsrc/lang/nodejs22/distinfo       Mon Jun 30 16:31:39 2025
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.9 2025/05/22 07:39:08 adam Exp $
+$NetBSD: distinfo,v 1.10 2025/06/30 16:31:39 adam Exp $
 
-BLAKE2s (node-v22.16.0.tar.xz) = ba0d5b292003448e4073eb649a16cd236952d1682c0093e63091e50da45c97ed
-SHA512 (node-v22.16.0.tar.xz) = 8d33efd7d6e15b212d0a24483f751705935ab8a0124c695103e96cd806b8c76d4639ac53bd4abf09e3e636ff301eba3546ead447e5e881a51ca87a72ab26e004
-Size (node-v22.16.0.tar.xz) = 48547612 bytes
-SHA1 (patch-common.gypi) = a4dd4ba7e0dfd5838d7241e35447617bdc0f93df
+BLAKE2s (node-v22.17.0.tar.xz) = 627ecef8b1852420f2dd762a94a04d38ef0a250513d96ab9d2b09cfac405ed73
+SHA512 (node-v22.17.0.tar.xz) = e42a6adf3246dcc1aefec8c28b2406b0c759bf901c03888455c3c4cf83043e783f0a7d8de99285858f5beddc8ac94fef59550e0501a7d8c64ab90781040f3a44
+Size (node-v22.17.0.tar.xz) = 48823936 bytes
+SHA1 (patch-common.gypi) = 41fc3ddf9e43c0b0a3d6ef845e7ee2847f4e12ce
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = 29f0c382b68f77749a71ce39fa2ca37338ca18ec
 SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf

Index: pkgsrc/lang/nodejs22/patches/patch-common.gypi
diff -u pkgsrc/lang/nodejs22/patches/patch-common.gypi:1.1 pkgsrc/lang/nodejs22/patches/patch-common.gypi:1.2
--- pkgsrc/lang/nodejs22/patches/patch-common.gypi:1.1  Wed Nov 13 08:45:17 2024
+++ pkgsrc/lang/nodejs22/patches/patch-common.gypi      Mon Jun 30 16:31:39 2025
@@ -1,20 +1,20 @@
-$NetBSD: patch-common.gypi,v 1.1 2024/11/13 08:45:17 adam Exp $
+$NetBSD: patch-common.gypi,v 1.2 2025/06/30 16:31:39 adam Exp $
 
 Add support for NetBSD.
 
---- common.gypi.orig   2024-08-21 21:12:02.000000000 +0000
+--- common.gypi.orig   2025-06-24 20:18:20.000000000 +0000
 +++ common.gypi
-@@ -483,11 +483,11 @@
+@@ -503,11 +503,11 @@
            'NOMINMAX',
          ],
        }],
--      [ 'OS in "linux freebsd openbsd solaris aix os400"', {
-+      [ 'OS in "linux freebsd netbsd openbsd solaris aix os400"', {
+-      [ 'OS in "linux freebsd openbsd solaris aix os400 openharmony"', {
++      [ 'OS in "linux freebsd openbsd solaris aix os400 openharmony netbsd"', {
          'cflags': [ '-pthread' ],
          'ldflags': [ '-pthread' ],
        }],
--      [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi"', {
-+      [ 'OS in "linux freebsd netbsd openbsd solaris android aix os400 cloudabi"', {
+-      [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi openharmony"', {
++      [ 'OS in "linux freebsd openbsd solaris android aix os400 cloudabi openharmony netbsd"', {
          'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
          'cflags_cc': [
            '-fno-rtti',



Home | Main Index | Thread Index | Old Index