From a5538643f636bfd263d98df66268cb7796ccfb9c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 19:39:00 +0000 Subject: [PATCH 01/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 2276e20bd39463fa8db2d9f18c3884cc7bf25e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 13 Aug 2024 13:15:14 +0200 Subject: [PATCH 02/23] Update to version 6.11.1 (rhbz#2274004) Closes: rhbz#2280959 --- nodejs-undici.spec | 2 +- sources | 8 ++++---- undici-sources.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 12dde2d..eed3363 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -6,7 +6,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 6.11.1 +Version: 6.19.7 Release: %autorelease License: MIT diff --git a/sources b/sources index a4d405b..50c2e59 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-6.11.1-stripped.tar.gz) = 851d95aa77e8ce2c4c7dd73be5989b1e235465e9f122a7b685e0e22a4eab0ccd169a0f01f09891234285f1dd04f4e5c9000ccbe8e68a4bad31c7f7dbf4b7c7a7 -SHA512 (undici-6.11.1-nm-prod.tgz) = f119e8d00db1292e5e79010b15dba703cc39f6e93b9b75d54e7bae7fba0d560308e13c9a7e55e61d86d22aaa03d5110311b37adf6b924c0f727b7922222963e4 -SHA512 (undici-6.11.1-nm-dev.tgz) = c2008ac535dd14945ed9f818351a8653ae03bc35f39956ededff2a757d0bb3ca9d269120eb499ef6f3d3f7b729c183b5612cb7a3fcf010072ff0cc68b3357aba -SHA512 (undici-6.11.1-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-6.19.7-stripped.tar.gz) = 5bf9c64cb511229f15a7d39cfe8dfe605ebfb375bd15325cecbb32ab24b59b4bec0cc0551d3784851861f7422ce6b0eca406d5301fdde6ac9cef83c1749e8f43 +SHA512 (undici-6.19.7-nm-prod.tgz) = 2cbee320d05fda35a88324bb6d1dd668e5aa73d978ffd7ab0c56117606032a035738b138de567883a500f2924fb87ee010a94a69a47eef61a4d913f7a2459d05 +SHA512 (undici-6.19.7-nm-dev.tgz) = 086dfb64853974a713825d022ea6053d87ab6085fb6118b220f1c09fde97ab4f07284cb66a9b7c11289123f4ab7df3f07bafc217847903ba1cc11871394294be +SHA512 (undici-6.19.7-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba diff --git a/undici-sources.sh b/undici-sources.sh index 03f114f..f2c38e8 100755 --- a/undici-sources.sh +++ b/undici-sources.sh @@ -57,7 +57,7 @@ nuke_wasm() { # Remove husky (git hook manager) from prepare scripts remove_husky() { cd "${1-undici-v${UNDICI_VERSION}/}" >/dev/null - if grep -q 'husky install' package.json; then + if grep -q 'husky' package.json; then npm pkg delete scripts.prepare fi cd - >/dev/null From 502f347f422944b0393f7dc5caa4f993ff5cebcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 13 Aug 2024 13:36:57 +0200 Subject: [PATCH 03/23] use wasm-opt from distribution binaryen --- 0001-use-system-wasm-opt-if-available.patch | 52 +++++++++++++++++++++ nodejs-undici.spec | 10 ++++ 2 files changed, 62 insertions(+) create mode 100644 0001-use-system-wasm-opt-if-available.patch diff --git a/0001-use-system-wasm-opt-if-available.patch b/0001-use-system-wasm-opt-if-available.patch new file mode 100644 index 0000000..f3dcf60 --- /dev/null +++ b/0001-use-system-wasm-opt-if-available.patch @@ -0,0 +1,52 @@ +From 72a1eb42a3126f498fd23758e81a3a8883e8b7fa Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Tue, 13 Aug 2024 13:18:53 +0200 +Subject: [PATCH] use system wasm-opt if available + +Signed-off-by: rpm-build +--- + build/wasm.js | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/build/wasm.js b/build/wasm.js +index 2f65c0e..1880ce3 100644 +--- a/build/wasm.js ++++ b/build/wasm.js +@@ -14,6 +14,7 @@ const WASM_CC = process.env.WASM_CC || 'clang' + let WASM_CFLAGS = process.env.WASM_CFLAGS || '--sysroot=/usr/share/wasi-sysroot -target wasm32-unknown-wasi' + let WASM_LDFLAGS = process.env.WASM_LDFLAGS || '' + const WASM_LDLIBS = process.env.WASM_LDLIBS || '' ++const WASM_OPT = process.env.WASM_OPT || './wasm-opt' + + // For compatibility with Node.js' `configure --shared-builtin-undici/undici-path ...` + const EXTERNAL_PATH = process.env.EXTERNAL_PATH +@@ -77,7 +78,7 @@ const hasApk = (function () { + try { execSync('command -v apk'); return true } catch (error) { return false } + })() + const hasOptimizer = (function () { +- try { execSync('./wasm-opt --version'); return true } catch (error) { return false } ++ try { execSync(`${WASM_OPT} --version`); return true } catch (error) { return false } + })() + if (hasApk) { + // Gather information about the tools used for the build +@@ -97,7 +98,7 @@ ${join(WASM_SRC, 'src')}/*.c \ + ${WASM_LDLIBS}`, { stdio: 'inherit' }) + + if (hasOptimizer) { +- execSync(`./wasm-opt ${WASM_OPT_FLAGS} -o ${join(WASM_OUT, 'llhttp.wasm')} ${join(WASM_OUT, 'llhttp.wasm')}`, { stdio: 'inherit' }) ++ execSync(`${WASM_OPT} ${WASM_OPT_FLAGS} -o ${join(WASM_OUT, 'llhttp.wasm')} ${join(WASM_OUT, 'llhttp.wasm')}`, { stdio: 'inherit' }) + } + writeWasmChunk('llhttp.wasm', 'llhttp-wasm.js') + +@@ -109,7 +110,7 @@ ${join(WASM_SRC, 'src')}/*.c \ + ${WASM_LDLIBS}`, { stdio: 'inherit' }) + + if (hasOptimizer) { +- execSync(`./wasm-opt ${WASM_OPT_FLAGS} --enable-simd -o ${join(WASM_OUT, 'llhttp_simd.wasm')} ${join(WASM_OUT, 'llhttp_simd.wasm')}`, { stdio: 'inherit' }) ++ execSync(`${WASM_OPT} ${WASM_OPT_FLAGS} --enable-simd -o ${join(WASM_OUT, 'llhttp_simd.wasm')} ${join(WASM_OUT, 'llhttp_simd.wasm')}`, { stdio: 'inherit' }) + } + writeWasmChunk('llhttp_simd.wasm', 'llhttp_simd-wasm.js') + +-- +2.46.0 + diff --git a/nodejs-undici.spec b/nodejs-undici.spec index eed3363..2acbda8 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -1,5 +1,7 @@ %global npm_name undici +%bcond wasm_opt 1 + %global llhttp_version_major 8 %global llhttp_version_minor 1 %global llhttp_version_patch 0 @@ -18,6 +20,8 @@ Source2: %{npm_name}-%{version}-nm-dev.tgz Source3: %{npm_name}-%{version}-bundled-licenses.txt Source4: %{npm_name}-sources.sh +Patch: 0001-use-system-wasm-opt-if-available.patch + # Binary artifacts in this package are aimed at the wasm32-wasi "architecture". %global _binaries_in_noarch_packages_terminate_build 0 BuildArch: noarch @@ -26,6 +30,9 @@ ExclusiveArch: %{ix86} x86_64 aarch64 ppc64le riscv64 noarch BuildRequires: clang lld wasi-libc-devel BuildRequires: nodejs-devel npm +%if %{with wasm_opt} +BuildRequires: binaryen +%endif # for autosetup -S git_am BuildRequires: git-core @@ -58,6 +65,9 @@ export WASM_CC=clang export WASM_CFLAGS='--target=wasm32-wasi --sysroot=/usr/wasm32-wasi' export WASM_LDFLAGS='-nodefaultlibs' export WASM_LDLIBS='-lc' +%if %{with wasm_opt} +export WASM_OPT=/usr/bin/wasm-opt +%endif # `npm run build` uses docker; invoke the build script directly env EXTERNAL_PATH='%{nodejs_sitelib}/%{npm_name}' %{__nodejs} build/wasm.js From 455d4d5a6dbae48779db59b474f45d13989e30a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 13 Aug 2024 15:32:45 +0200 Subject: [PATCH 04/23] =?UTF-8?q?workaround=20unexpected=20clang=20?= =?UTF-8?q?=E2=80=93=20wasi-opt=20interaction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related: https://github.com/WebAssembly/wasi-sdk/issues/254 Related: https://github.com/llvm/llvm-project/pull/95208 --- nodejs-undici.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 2acbda8..cf74107 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -1,6 +1,12 @@ %global npm_name undici -%bcond wasm_opt 1 +# Note: clang runs wasm-opt automatically if found in $PATH, +# which can cause confusing errors ("bulk memory is disabled"). +# Workaround by disabling the wasm-opt on releases when this manifests. +# Can be fixed by --no-wasm-opt flag, once that lands in released clang: +# https://github.com/llvm/llvm-project/pull/95208 +# Adjust as needed. +%bcond wasm_opt %[0%{?fedora} > 39] %global llhttp_version_major 8 %global llhttp_version_minor 1 From 5d7b39057f585aac6101b521dacb30b7bc45cd41 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Tue, 10 Dec 2024 13:15:04 +0100 Subject: [PATCH 05/23] Update to version 7.1.0 (rhbz#2307492) --- 0001-use-system-wasm-opt-if-available.patch | 52 --------------------- nodejs-undici.spec | 7 ++- sources | 8 ++-- 3 files changed, 7 insertions(+), 60 deletions(-) delete mode 100644 0001-use-system-wasm-opt-if-available.patch diff --git a/0001-use-system-wasm-opt-if-available.patch b/0001-use-system-wasm-opt-if-available.patch deleted file mode 100644 index f3dcf60..0000000 --- a/0001-use-system-wasm-opt-if-available.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 72a1eb42a3126f498fd23758e81a3a8883e8b7fa Mon Sep 17 00:00:00 2001 -From: rpm-build -Date: Tue, 13 Aug 2024 13:18:53 +0200 -Subject: [PATCH] use system wasm-opt if available - -Signed-off-by: rpm-build ---- - build/wasm.js | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/build/wasm.js b/build/wasm.js -index 2f65c0e..1880ce3 100644 ---- a/build/wasm.js -+++ b/build/wasm.js -@@ -14,6 +14,7 @@ const WASM_CC = process.env.WASM_CC || 'clang' - let WASM_CFLAGS = process.env.WASM_CFLAGS || '--sysroot=/usr/share/wasi-sysroot -target wasm32-unknown-wasi' - let WASM_LDFLAGS = process.env.WASM_LDFLAGS || '' - const WASM_LDLIBS = process.env.WASM_LDLIBS || '' -+const WASM_OPT = process.env.WASM_OPT || './wasm-opt' - - // For compatibility with Node.js' `configure --shared-builtin-undici/undici-path ...` - const EXTERNAL_PATH = process.env.EXTERNAL_PATH -@@ -77,7 +78,7 @@ const hasApk = (function () { - try { execSync('command -v apk'); return true } catch (error) { return false } - })() - const hasOptimizer = (function () { -- try { execSync('./wasm-opt --version'); return true } catch (error) { return false } -+ try { execSync(`${WASM_OPT} --version`); return true } catch (error) { return false } - })() - if (hasApk) { - // Gather information about the tools used for the build -@@ -97,7 +98,7 @@ ${join(WASM_SRC, 'src')}/*.c \ - ${WASM_LDLIBS}`, { stdio: 'inherit' }) - - if (hasOptimizer) { -- execSync(`./wasm-opt ${WASM_OPT_FLAGS} -o ${join(WASM_OUT, 'llhttp.wasm')} ${join(WASM_OUT, 'llhttp.wasm')}`, { stdio: 'inherit' }) -+ execSync(`${WASM_OPT} ${WASM_OPT_FLAGS} -o ${join(WASM_OUT, 'llhttp.wasm')} ${join(WASM_OUT, 'llhttp.wasm')}`, { stdio: 'inherit' }) - } - writeWasmChunk('llhttp.wasm', 'llhttp-wasm.js') - -@@ -109,7 +110,7 @@ ${join(WASM_SRC, 'src')}/*.c \ - ${WASM_LDLIBS}`, { stdio: 'inherit' }) - - if (hasOptimizer) { -- execSync(`./wasm-opt ${WASM_OPT_FLAGS} --enable-simd -o ${join(WASM_OUT, 'llhttp_simd.wasm')} ${join(WASM_OUT, 'llhttp_simd.wasm')}`, { stdio: 'inherit' }) -+ execSync(`${WASM_OPT} ${WASM_OPT_FLAGS} --enable-simd -o ${join(WASM_OUT, 'llhttp_simd.wasm')} ${join(WASM_OUT, 'llhttp_simd.wasm')}`, { stdio: 'inherit' }) - } - writeWasmChunk('llhttp_simd.wasm', 'llhttp_simd-wasm.js') - --- -2.46.0 - diff --git a/nodejs-undici.spec b/nodejs-undici.spec index cf74107..2da255c 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -8,13 +8,13 @@ # Adjust as needed. %bcond wasm_opt %[0%{?fedora} > 39] -%global llhttp_version_major 8 -%global llhttp_version_minor 1 +%global llhttp_version_major 9 +%global llhttp_version_minor 2 %global llhttp_version_patch 0 Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 6.19.7 +Version: 7.1.0 Release: %autorelease License: MIT @@ -26,7 +26,6 @@ Source2: %{npm_name}-%{version}-nm-dev.tgz Source3: %{npm_name}-%{version}-bundled-licenses.txt Source4: %{npm_name}-sources.sh -Patch: 0001-use-system-wasm-opt-if-available.patch # Binary artifacts in this package are aimed at the wasm32-wasi "architecture". %global _binaries_in_noarch_packages_terminate_build 0 diff --git a/sources b/sources index 50c2e59..660a709 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-6.19.7-stripped.tar.gz) = 5bf9c64cb511229f15a7d39cfe8dfe605ebfb375bd15325cecbb32ab24b59b4bec0cc0551d3784851861f7422ce6b0eca406d5301fdde6ac9cef83c1749e8f43 -SHA512 (undici-6.19.7-nm-prod.tgz) = 2cbee320d05fda35a88324bb6d1dd668e5aa73d978ffd7ab0c56117606032a035738b138de567883a500f2924fb87ee010a94a69a47eef61a4d913f7a2459d05 -SHA512 (undici-6.19.7-nm-dev.tgz) = 086dfb64853974a713825d022ea6053d87ab6085fb6118b220f1c09fde97ab4f07284cb66a9b7c11289123f4ab7df3f07bafc217847903ba1cc11871394294be -SHA512 (undici-6.19.7-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.1.0-stripped.tar.gz) = 63db00b430080ba79fd5a3000005d462da662529d08390c73878972193a6faa1a0c8d5c1f17606fee2734ff25b32890f54a56856e0f4be6971310715ceda1369 +SHA512 (undici-7.1.0-nm-prod.tgz) = 61fe4efcdb4f829006b4bff5f7e8a500f76c27290a6f75b6065c8f4ae76ae0f86b99648cf49ff2241dd97b513cca38ca1cadd8a25d1c7d68d6ab41254d9625f1 +SHA512 (undici-7.1.0-nm-dev.tgz) = 84f05a250f859f579e638503eebd1bfc5158f433252dd7ee534c71f4306c5edb54085a0a027f21b1c77e5e2ccdf1bdac3295426a5f6d1537e4d1049d5e5631ae +SHA512 (undici-7.1.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 2f7cfce698464107818218a51d0e0f872ebe019a Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Thu, 19 Dec 2024 15:08:59 +0100 Subject: [PATCH 06/23] Update to 7.2.0 (rhbz#2307492) --- sources | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sources b/sources index 660a709..517ab75 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.1.0-stripped.tar.gz) = 63db00b430080ba79fd5a3000005d462da662529d08390c73878972193a6faa1a0c8d5c1f17606fee2734ff25b32890f54a56856e0f4be6971310715ceda1369 -SHA512 (undici-7.1.0-nm-prod.tgz) = 61fe4efcdb4f829006b4bff5f7e8a500f76c27290a6f75b6065c8f4ae76ae0f86b99648cf49ff2241dd97b513cca38ca1cadd8a25d1c7d68d6ab41254d9625f1 -SHA512 (undici-7.1.0-nm-dev.tgz) = 84f05a250f859f579e638503eebd1bfc5158f433252dd7ee534c71f4306c5edb54085a0a027f21b1c77e5e2ccdf1bdac3295426a5f6d1537e4d1049d5e5631ae -SHA512 (undici-7.1.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.2.0-stripped.tar.gz) = 33e3986becfa9bcc0a43f9b71d176aa9da36110025bce6a28d3a95f61a0209a5a3b5b1d6813caf7f6185f653f4dc87d64435632b9d7c2c9ff0881fd8b80aa1ca +SHA512 (undici-7.2.0-nm-prod.tgz) = 9843308c657d1584c36f8bac5cda488e9679d675b51b262d6dc3d7404b5bd62d38eef09ac1b7666bcfa11c49f3e89037394fcc49dd244fd036e96d667737097f +SHA512 (undici-7.2.0-nm-dev.tgz) = b3f751bd3cceab39b38b9bfedb58455de75dc451080177591a5f0e50ad66229b3770765a268153a6ca828a238bda6632bc5d8dc109eebd232cc1d15298687ab9 +SHA512 (undici-7.2.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From b3978353b3fe6726ab6d9d898840ed2901062b01 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Thu, 19 Dec 2024 15:09:44 +0100 Subject: [PATCH 07/23] Update to 7.2.0 (rhbz#2307492) --- nodejs-undici.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 2da255c..1510cab 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.1.0 +Version: 7.2.0 Release: %autorelease License: MIT From 0b4ca1662cc72917e1dcad42f741b0dade1d0e62 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 20:16:23 +0000 Subject: [PATCH 08/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 76c1e7f33553fd28967aa41c68d65df21602a4f5 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Mon, 20 Jan 2025 15:04:35 +0100 Subject: [PATCH 09/23] update to 7.2.3 (rhbz#2307492) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 1510cab..e65bf2f 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.2.0 +Version: 7.2.3 Release: %autorelease License: MIT diff --git a/sources b/sources index 517ab75..dd20ae1 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.2.0-stripped.tar.gz) = 33e3986becfa9bcc0a43f9b71d176aa9da36110025bce6a28d3a95f61a0209a5a3b5b1d6813caf7f6185f653f4dc87d64435632b9d7c2c9ff0881fd8b80aa1ca -SHA512 (undici-7.2.0-nm-prod.tgz) = 9843308c657d1584c36f8bac5cda488e9679d675b51b262d6dc3d7404b5bd62d38eef09ac1b7666bcfa11c49f3e89037394fcc49dd244fd036e96d667737097f -SHA512 (undici-7.2.0-nm-dev.tgz) = b3f751bd3cceab39b38b9bfedb58455de75dc451080177591a5f0e50ad66229b3770765a268153a6ca828a238bda6632bc5d8dc109eebd232cc1d15298687ab9 -SHA512 (undici-7.2.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.2.3-stripped.tar.gz) = 77e1a10b83c0636d303fd55bc037813c16bfdd50ebfe5c2443c525ed0a9b720dd113f7ecd22715a79799424ad2edae383dd5cb4e60f2bd28b730b0f48553cf77 +SHA512 (undici-7.2.3-nm-prod.tgz) = 50d918c1785730ca1d018e49fa6629c6ebab714f9ef2b87308b75b70ee412c6940ed48f6122c584e41aa681a9a3fec2d291a9bf747b6dc4e11258e7b129c1d75 +SHA512 (undici-7.2.3-nm-dev.tgz) = 239e7ab2646bffc1ef07d9b2088257b5e47d9bb91c45437d9a20119ea4c1b6bad792e30d3cc1272b418eb855329c13934c3791e7ede4a95c9d1e2aed0bae140b +SHA512 (undici-7.2.3-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 066a30b58da8101ba9d6b8f7d7e5cda9b1423c4e Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Wed, 22 Jan 2025 13:16:25 +0100 Subject: [PATCH 10/23] Update to 7.3.0 (rhbz#2339422) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index e65bf2f..2b04346 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.2.3 +Version: 7.3.0 Release: %autorelease License: MIT diff --git a/sources b/sources index dd20ae1..a93cd85 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.2.3-stripped.tar.gz) = 77e1a10b83c0636d303fd55bc037813c16bfdd50ebfe5c2443c525ed0a9b720dd113f7ecd22715a79799424ad2edae383dd5cb4e60f2bd28b730b0f48553cf77 -SHA512 (undici-7.2.3-nm-prod.tgz) = 50d918c1785730ca1d018e49fa6629c6ebab714f9ef2b87308b75b70ee412c6940ed48f6122c584e41aa681a9a3fec2d291a9bf747b6dc4e11258e7b129c1d75 -SHA512 (undici-7.2.3-nm-dev.tgz) = 239e7ab2646bffc1ef07d9b2088257b5e47d9bb91c45437d9a20119ea4c1b6bad792e30d3cc1272b418eb855329c13934c3791e7ede4a95c9d1e2aed0bae140b -SHA512 (undici-7.2.3-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.3.0-stripped.tar.gz) = 879e8d39d4dd4fb84f3d17e1e61785f0091a356615dcaf15d9b02a7f7c036de92ee0accf4365157e34ae373877cf7bd6a1cd2fc50721ca65961b3520aa753985 +SHA512 (undici-7.3.0-nm-prod.tgz) = 3fab8db663970ec3f15e3909f7de9ba64bf257a9e498527d83efd1cb818d3a6efb4e838c71e177fd9fb750822fa7a34b11a32bf3952d43398631edfc5940ac31 +SHA512 (undici-7.3.0-nm-dev.tgz) = 99f6641312c63ec49cd668ad8a243daa42bf5e2b72918c950f5802a97e2737649de4815f872f4055fbde48fc43e9cece900bd9fddc172d4368d57d5afee0680f +SHA512 (undici-7.3.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From bcd92966d77afab91a7b08da4f33fdd9583ca5f3 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Mon, 3 Mar 2025 09:53:35 +0100 Subject: [PATCH 11/23] Update to version 7.4.0 Resolves: rhbz#2349028 --- .gitignore | 3 +++ nodejs-undici.spec | 2 +- sources | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ccf0512..74a65c4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ /undici-*-nm-prod.tgz /undici-*-nm-dev.tgz /undici-*-bundled-licenses.txt + +#untared package folders +/undici* diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 2b04346..5a0a685 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.3.0 +Version: 7.4.0 Release: %autorelease License: MIT diff --git a/sources b/sources index a93cd85..0021c83 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.3.0-stripped.tar.gz) = 879e8d39d4dd4fb84f3d17e1e61785f0091a356615dcaf15d9b02a7f7c036de92ee0accf4365157e34ae373877cf7bd6a1cd2fc50721ca65961b3520aa753985 -SHA512 (undici-7.3.0-nm-prod.tgz) = 3fab8db663970ec3f15e3909f7de9ba64bf257a9e498527d83efd1cb818d3a6efb4e838c71e177fd9fb750822fa7a34b11a32bf3952d43398631edfc5940ac31 -SHA512 (undici-7.3.0-nm-dev.tgz) = 99f6641312c63ec49cd668ad8a243daa42bf5e2b72918c950f5802a97e2737649de4815f872f4055fbde48fc43e9cece900bd9fddc172d4368d57d5afee0680f -SHA512 (undici-7.3.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.4.0-stripped.tar.gz) = dc0180dcc388bdc6bbe3ae9c581f5e7f367152d5d1d94855f897df5f0b6278ecc73bf0d6f2406e20dc14d88b85c48d36d9deeea8b11cd44f0f213dc418ecb666 +SHA512 (undici-7.4.0-nm-prod.tgz) = 62748362d2b0ced34594bd6bc74edd57d9c95ba754499445cf53109746706a47c93fde6fe26432e0e3382b1bc2e02eecea1f3cc8de2e6a0aa72b7d9c6b1ade2e +SHA512 (undici-7.4.0-nm-dev.tgz) = 832e89d7c0efff31bf937fe89b7342db0a2e6c6c63678100898aed15f0fc78fa54a39f95e7054704f17d6c96fb408cdb684806f2bbc2b93b4382c4e31071f4c7 +SHA512 (undici-7.4.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 576e206f6d38c68ca63f4910f821047b839d7fd8 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Fri, 28 Mar 2025 12:51:46 +0100 Subject: [PATCH 12/23] Update to version 7.6.0 Resolves: rhbz#2351723 --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 5a0a685..c97776e 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.4.0 +Version: 7.6.0 Release: %autorelease License: MIT diff --git a/sources b/sources index 0021c83..f73430a 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.4.0-stripped.tar.gz) = dc0180dcc388bdc6bbe3ae9c581f5e7f367152d5d1d94855f897df5f0b6278ecc73bf0d6f2406e20dc14d88b85c48d36d9deeea8b11cd44f0f213dc418ecb666 -SHA512 (undici-7.4.0-nm-prod.tgz) = 62748362d2b0ced34594bd6bc74edd57d9c95ba754499445cf53109746706a47c93fde6fe26432e0e3382b1bc2e02eecea1f3cc8de2e6a0aa72b7d9c6b1ade2e -SHA512 (undici-7.4.0-nm-dev.tgz) = 832e89d7c0efff31bf937fe89b7342db0a2e6c6c63678100898aed15f0fc78fa54a39f95e7054704f17d6c96fb408cdb684806f2bbc2b93b4382c4e31071f4c7 -SHA512 (undici-7.4.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.6.0-stripped.tar.gz) = 70b927574b1fd27b98f95a446327bc0f052eeb17413a6c0cae0e0d481969f5672479d687e7eceeaefbdb6808af932a42e44a28618d06ba12e04cbc51f00f61d5 +SHA512 (undici-7.6.0-nm-prod.tgz) = b6ad29b05121193b10ba3f313fe0be908bf480d8c7e84c65ad16329e2da27a9c5f73292d4a15ed4a345124c96a358c7d72a766a875cf968626836985bf7e428a +SHA512 (undici-7.6.0-nm-dev.tgz) = a04832cffe07b78c354a65e80236af8d4e0f95ed00ee3dc94adae353c11cb0de8f8a9f0e29d4812909ce7c535baeb830ad6fb79af7c2d2678af5d61781a79d49 +SHA512 (undici-7.6.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From f9f4ae54fe6c42c2b2dd4a240e4215c7b795360f Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Fri, 28 Mar 2025 16:06:39 +0100 Subject: [PATCH 13/23] Native test run during build --- nodejs-undici.spec | 8 +++++--- test-runner.sh | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100755 test-runner.sh diff --git a/nodejs-undici.spec b/nodejs-undici.spec index c97776e..eb7c993 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -25,7 +25,7 @@ Source1: %{npm_name}-%{version}-nm-prod.tgz Source2: %{npm_name}-%{version}-nm-dev.tgz Source3: %{npm_name}-%{version}-bundled-licenses.txt Source4: %{npm_name}-sources.sh - +Source5: test-runner.sh # Binary artifacts in this package are aimed at the wasm32-wasi "architecture". %global _binaries_in_noarch_packages_terminate_build 0 @@ -93,8 +93,10 @@ install -p -Dt %{buildroot}%{nodejs_sitelib}/%{npm_name}/ loader.js tar -xzf %{S:2} ln -fsrt node_modules/ node_modules_dev/* ln -fsrt node_modules/.bin/ node_modules_dev/.bin/* -# Depends on the environment/OpenSSL version, etc. Informational only. -npm --offline run test || : + +# Built-in test run using borp. Some tests are ignored on purpose. +# See Source5 aka test-runner.sh for details. +bash %{S:5} || exit %files %doc README.md diff --git a/test-runner.sh b/test-runner.sh new file mode 100755 index 0000000..1834d0b --- /dev/null +++ b/test-runner.sh @@ -0,0 +1,31 @@ +#!/bin/bash +set -e + +# Comment out for full error trace +declare -a ignored_tests=( + "test/http2.js" # Some issue with custom openSSL engine in nodejs we pack. Error:0A00018F:SSL routines::ee key too small + "test/https.js" # -/- + "test/https2.js" # -/- + "test/connect-pre-shared-session.js" # -/- + "test/connect-timeout.js" # Nodejs side issue. AssertionError [ERR_ASSERTION]: Failed +) + +# Conditional architecture-specific ignores +ARCH=$(uname -m) + +# Add architecture-specific ignores (when any) +#if [ "$ARCH" == "x86_64" ]; then +# ignored_tests+=("test/arch-specific/x86_64/*.js") # Example: Arch-specific test for x86_64 +#elif [ "$ARCH" == "armv7l" ]; then +# ignored_tests+=("test/arch-specific/armv7l/*.js") # Example: Arch-specific test for armv7l +#fi + +# Run borp command with the ignored tests +echo "Running tests with exclusions..." +IGNORE_ARGS="" +for test in "${ignored_tests[@]}"; do + IGNORE_ARGS="$IGNORE_ARGS --ignore $test" +done + +# Run borp with the specified ignores +exec npx borp --expose-gc -p "test/*.js" $IGNORE_ARGS From fe416df6d4e860387ee220f013026886ebff5d09 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Wed, 2 Apr 2025 15:10:07 +0200 Subject: [PATCH 14/23] Update to version 7.7.0 Resolves: rhbz:2356884 --- nodejs-undici.spec | 2 +- sources | 8 ++++---- test-runner.sh | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index eb7c993..d5d1eeb 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.6.0 +Version: 7.7.0 Release: %autorelease License: MIT diff --git a/sources b/sources index f73430a..90bccc5 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.6.0-stripped.tar.gz) = 70b927574b1fd27b98f95a446327bc0f052eeb17413a6c0cae0e0d481969f5672479d687e7eceeaefbdb6808af932a42e44a28618d06ba12e04cbc51f00f61d5 -SHA512 (undici-7.6.0-nm-prod.tgz) = b6ad29b05121193b10ba3f313fe0be908bf480d8c7e84c65ad16329e2da27a9c5f73292d4a15ed4a345124c96a358c7d72a766a875cf968626836985bf7e428a -SHA512 (undici-7.6.0-nm-dev.tgz) = a04832cffe07b78c354a65e80236af8d4e0f95ed00ee3dc94adae353c11cb0de8f8a9f0e29d4812909ce7c535baeb830ad6fb79af7c2d2678af5d61781a79d49 -SHA512 (undici-7.6.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.7.0-stripped.tar.gz) = f4285089b80e806f9114e7251729cae5db7ff3116e637dae8015813f0dd8e6ee0cbabf920ae432f9af708f8438a0f2ac8e257b5487b006f3af496dd0b38c6a33 +SHA512 (undici-7.7.0-nm-prod.tgz) = ef32ee38f5cb6c2068067305d2bc9d2531093e8eda9b004836e3a29fdeb4f4fd7d5df34c424b41023ad3a2670416c00bf9e154c6510d3d4b74dca9f55c859045 +SHA512 (undici-7.7.0-nm-dev.tgz) = 46f5ba337466b6db0adc4b12af5e7f1502c3cb7f6ba3ec6972e2a4bb1af3c27269287f63997d3c83794210d12f962d6d2a73702b034efe353590f8d2d4b43535 +SHA512 (undici-7.7.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba diff --git a/test-runner.sh b/test-runner.sh index 1834d0b..d48b418 100755 --- a/test-runner.sh +++ b/test-runner.sh @@ -7,6 +7,7 @@ declare -a ignored_tests=( "test/https.js" # -/- "test/https2.js" # -/- "test/connect-pre-shared-session.js" # -/- + "test/h2c-client.js" # -/- "test/connect-timeout.js" # Nodejs side issue. AssertionError [ERR_ASSERTION]: Failed ) From 0dd109af86b53da949b0638400a198b336f60c22 Mon Sep 17 00:00:00 2001 From: Andrei Radchenko Date: Wed, 14 May 2025 14:23:39 +0200 Subject: [PATCH 15/23] Update to version 7.9.0 Resolves: rhbz#2358841 --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index d5d1eeb..d33cc14 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.7.0 +Version: 7.9.0 Release: %autorelease License: MIT diff --git a/sources b/sources index 90bccc5..9f39823 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.7.0-stripped.tar.gz) = f4285089b80e806f9114e7251729cae5db7ff3116e637dae8015813f0dd8e6ee0cbabf920ae432f9af708f8438a0f2ac8e257b5487b006f3af496dd0b38c6a33 -SHA512 (undici-7.7.0-nm-prod.tgz) = ef32ee38f5cb6c2068067305d2bc9d2531093e8eda9b004836e3a29fdeb4f4fd7d5df34c424b41023ad3a2670416c00bf9e154c6510d3d4b74dca9f55c859045 -SHA512 (undici-7.7.0-nm-dev.tgz) = 46f5ba337466b6db0adc4b12af5e7f1502c3cb7f6ba3ec6972e2a4bb1af3c27269287f63997d3c83794210d12f962d6d2a73702b034efe353590f8d2d4b43535 -SHA512 (undici-7.7.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.9.0-stripped.tar.gz) = ed763f434fbf8e5aa5b9dd71ca8d8637bfafe43379020230587e40eddd1759519bd2bbd88b327ff2aff2cb4a92a3b7a26b0ca6dfaeb1617a710ba5390e89fb57 +SHA512 (undici-7.9.0-nm-prod.tgz) = 6c89acc988aa19f808579a437aa30a5ddc088ab70df1e03081ec3034fd709651d104270b5bb05378aee7d51b5840564561d52a1c66dc9dc46c9329382f9dc8e4 +SHA512 (undici-7.9.0-nm-dev.tgz) = ab9eaa092bb3e193f1b7343431832915da6fc6d0822b6de26c7131780d96a4d0e7989de8c1b9840870ce4eec8c60d5af5059aaa066c25521bd58ce0c85be59a6 +SHA512 (undici-7.9.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From e97598fc6fc4f33c502b577a2e75a93d814fb37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Fri, 27 Jun 2025 14:01:57 +0200 Subject: [PATCH 16/23] Update to version 7.11.0 (rhbz#2358841) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index d33cc14..0fbfa1c 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.9.0 +Version: 7.11.0 Release: %autorelease License: MIT diff --git a/sources b/sources index 9f39823..5eb136d 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.9.0-stripped.tar.gz) = ed763f434fbf8e5aa5b9dd71ca8d8637bfafe43379020230587e40eddd1759519bd2bbd88b327ff2aff2cb4a92a3b7a26b0ca6dfaeb1617a710ba5390e89fb57 -SHA512 (undici-7.9.0-nm-prod.tgz) = 6c89acc988aa19f808579a437aa30a5ddc088ab70df1e03081ec3034fd709651d104270b5bb05378aee7d51b5840564561d52a1c66dc9dc46c9329382f9dc8e4 -SHA512 (undici-7.9.0-nm-dev.tgz) = ab9eaa092bb3e193f1b7343431832915da6fc6d0822b6de26c7131780d96a4d0e7989de8c1b9840870ce4eec8c60d5af5059aaa066c25521bd58ce0c85be59a6 -SHA512 (undici-7.9.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.11.0-stripped.tar.gz) = a29c58c14ea8e1c8844160bc8f68bfcaed12ba68ee2f31dd4586e990817745f349666e6041303adec75320f5d45c3dccced4eef7a76b0f3b95ee982bf39d0328 +SHA512 (undici-7.11.0-nm-prod.tgz) = 15f74735a864422251f6a3f24ba22150998ee10ae59c29d982770efef00c05240c8b584f78294cd94c87c7b7a039d5dcf3cdee68cf6f772a682cce16c14dabb1 +SHA512 (undici-7.11.0-nm-dev.tgz) = ed5ef7cac03c428c5082475606099e654bf547d66804f794c2734666dd08402e762eb4d5718fca6f29250d4de6ed747fcb3f432a05af12eaaf48750631f9531a +SHA512 (undici-7.11.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From afed9a5992f243e54f302e8c9e3964fa2b1bd4ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 22 Jul 2025 12:51:58 +0200 Subject: [PATCH 17/23] Update to version 7.12.0 (rhbz#2358841) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 0fbfa1c..b871f49 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.11.0 +Version: 7.12.0 Release: %autorelease License: MIT diff --git a/sources b/sources index 5eb136d..c3c39ff 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.11.0-stripped.tar.gz) = a29c58c14ea8e1c8844160bc8f68bfcaed12ba68ee2f31dd4586e990817745f349666e6041303adec75320f5d45c3dccced4eef7a76b0f3b95ee982bf39d0328 -SHA512 (undici-7.11.0-nm-prod.tgz) = 15f74735a864422251f6a3f24ba22150998ee10ae59c29d982770efef00c05240c8b584f78294cd94c87c7b7a039d5dcf3cdee68cf6f772a682cce16c14dabb1 -SHA512 (undici-7.11.0-nm-dev.tgz) = ed5ef7cac03c428c5082475606099e654bf547d66804f794c2734666dd08402e762eb4d5718fca6f29250d4de6ed747fcb3f432a05af12eaaf48750631f9531a -SHA512 (undici-7.11.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.12.0-stripped.tar.gz) = fb280c9c4870730e5489968a88919055f064ea380db63c60666a70386b5c7a8c4e8abc75ea22670f37598a3a34b92ac6f1664a0ed53c9884047614a407b4f6c4 +SHA512 (undici-7.12.0-nm-prod.tgz) = bd23df6cf42e33c4f4768f0fc9b2048a0771fe4181ea9a135241c9dbb01720657b4294a8ac43817c0c2de4c78303eb977980d400381796dafb6460e6caec2a35 +SHA512 (undici-7.12.0-nm-dev.tgz) = 9e28508a54a0fb7323302b9d3242cb86615e45ae7a2ca4b56c3701a8554eb1e994e534c0a3d39e1c4622d5214a0c2b513097ebf2b2189572ada26b95288c43b3 +SHA512 (undici-7.12.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 49d1e8cddc2ff347c82a435f8098fec007eaf069 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 22:54:26 +0000 Subject: [PATCH 18/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From f7ec04272187b319a2882c693fc0c53bdf5112e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Mon, 28 Jul 2025 13:43:07 +0200 Subject: [PATCH 19/23] Disable test/pool.js which fails in Koji --- test-runner.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-runner.sh b/test-runner.sh index d48b418..a3d640a 100755 --- a/test-runner.sh +++ b/test-runner.sh @@ -7,8 +7,9 @@ declare -a ignored_tests=( "test/https.js" # -/- "test/https2.js" # -/- "test/connect-pre-shared-session.js" # -/- - "test/h2c-client.js" # -/- + "test/h2c-client.js" # -/- "test/connect-timeout.js" # Nodejs side issue. AssertionError [ERR_ASSERTION]: Failed + "test/pool.js" # @jstanek: fails in Koji, works on my laptop. ¯\_(ツ)_/¯ ) # Conditional architecture-specific ignores From 986aeb515b0a9a92c4220b010a80eb7f258b7b9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Fri, 1 Aug 2025 12:17:55 +0200 Subject: [PATCH 20/23] Upgrade to version 7.13.0 (rhbz#2385689) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index b871f49..13c7b6f 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.12.0 +Version: 7.13.0 Release: %autorelease License: MIT diff --git a/sources b/sources index c3c39ff..aeb3621 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.12.0-stripped.tar.gz) = fb280c9c4870730e5489968a88919055f064ea380db63c60666a70386b5c7a8c4e8abc75ea22670f37598a3a34b92ac6f1664a0ed53c9884047614a407b4f6c4 -SHA512 (undici-7.12.0-nm-prod.tgz) = bd23df6cf42e33c4f4768f0fc9b2048a0771fe4181ea9a135241c9dbb01720657b4294a8ac43817c0c2de4c78303eb977980d400381796dafb6460e6caec2a35 -SHA512 (undici-7.12.0-nm-dev.tgz) = 9e28508a54a0fb7323302b9d3242cb86615e45ae7a2ca4b56c3701a8554eb1e994e534c0a3d39e1c4622d5214a0c2b513097ebf2b2189572ada26b95288c43b3 -SHA512 (undici-7.12.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.13.0-stripped.tar.gz) = 5b53cdb751c22eef51323e760420f6fd121ac9e1b199fe9492a16e647490e88bb554f4b6cceefec33e87edb485e8a969bc8d727020a156765a244adbefc1d153 +SHA512 (undici-7.13.0-nm-prod.tgz) = 958eb36fc4433b7902a49b9cb39d75ba9391395480eb3df5766e1c3e506a0e04638ef710ab5f8a26ebba3ad669cc5a45e20bb2804e0251fc1ceab300f781c890 +SHA512 (undici-7.13.0-nm-dev.tgz) = 6259d315eda2a9c60a6a9695cdb338466ae792541c3555308f82c29af3e89ec9e9bdd2889cc2c9770756b38f0f7e72d17fee6ef8e9ff93125b6d4fb927492ec1 +SHA512 (undici-7.13.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 62acc5dbed6084984e454c951a00e061f4db832f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Mon, 18 Aug 2025 15:54:27 +0200 Subject: [PATCH 21/23] Update to version 7.14.0 (rhbz#2389037) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index 13c7b6f..f39b001 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.13.0 +Version: 7.14.0 Release: %autorelease License: MIT diff --git a/sources b/sources index aeb3621..75d6f67 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.13.0-stripped.tar.gz) = 5b53cdb751c22eef51323e760420f6fd121ac9e1b199fe9492a16e647490e88bb554f4b6cceefec33e87edb485e8a969bc8d727020a156765a244adbefc1d153 -SHA512 (undici-7.13.0-nm-prod.tgz) = 958eb36fc4433b7902a49b9cb39d75ba9391395480eb3df5766e1c3e506a0e04638ef710ab5f8a26ebba3ad669cc5a45e20bb2804e0251fc1ceab300f781c890 -SHA512 (undici-7.13.0-nm-dev.tgz) = 6259d315eda2a9c60a6a9695cdb338466ae792541c3555308f82c29af3e89ec9e9bdd2889cc2c9770756b38f0f7e72d17fee6ef8e9ff93125b6d4fb927492ec1 -SHA512 (undici-7.13.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.14.0-stripped.tar.gz) = 32a2fe028be052a4228be9d3bea391c8132c307372b8497bbcabafc0eacc176410155049fa7834303ebfeb12131222c0dfbcf85f9d7c3641bae6e2c02d6c55fd +SHA512 (undici-7.14.0-nm-prod.tgz) = 6789dad72a94f8ac1d824d74c364133076539f5c7d21cd465ffd88d481769e5fdf0a48d4d32bef104c4419e6788239aef2201925185918728d7e95f3e4f5a6a3 +SHA512 (undici-7.14.0-nm-dev.tgz) = f0c37da75b35ee84e779cf3558cf255c1da0eb538017eb5ad32b09e46b76ac72cffd137bc8fb302c33ac942062e7852f353a744c8d05874c733110fee2dfd7ee +SHA512 (undici-7.14.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 489405ac35eca9202a4f5a97d5f48f5ebb6aad8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Tue, 26 Aug 2025 14:01:31 +0200 Subject: [PATCH 22/23] Update to version 7.15.0 (rhbz#2390419) --- nodejs-undici.spec | 4 ++-- sources | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index f39b001..ff3003f 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -9,12 +9,12 @@ %bcond wasm_opt %[0%{?fedora} > 39] %global llhttp_version_major 9 -%global llhttp_version_minor 2 +%global llhttp_version_minor 3 %global llhttp_version_patch 0 Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.14.0 +Version: 7.15.0 Release: %autorelease License: MIT diff --git a/sources b/sources index 75d6f67..21eea63 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.14.0-stripped.tar.gz) = 32a2fe028be052a4228be9d3bea391c8132c307372b8497bbcabafc0eacc176410155049fa7834303ebfeb12131222c0dfbcf85f9d7c3641bae6e2c02d6c55fd -SHA512 (undici-7.14.0-nm-prod.tgz) = 6789dad72a94f8ac1d824d74c364133076539f5c7d21cd465ffd88d481769e5fdf0a48d4d32bef104c4419e6788239aef2201925185918728d7e95f3e4f5a6a3 -SHA512 (undici-7.14.0-nm-dev.tgz) = f0c37da75b35ee84e779cf3558cf255c1da0eb538017eb5ad32b09e46b76ac72cffd137bc8fb302c33ac942062e7852f353a744c8d05874c733110fee2dfd7ee -SHA512 (undici-7.14.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.15.0-stripped.tar.gz) = 5f4ebe4a22653aca7cf0baf8feb73d533e3fb2b553f37b37b7554a455abbb2d49bb53d9e8b9d63453bd4176c1912776e255b4173653115d9895f87e8da90be44 +SHA512 (undici-7.15.0-nm-prod.tgz) = b4371298e02cee1271b8215fc3ad1e38cd90814b6ebfc3d52fccdbc219d593d0be5e2c0f14a889011dde22331cb166334cc59f53837bd1fe53749ae7ff07e052 +SHA512 (undici-7.15.0-nm-dev.tgz) = ad422089e346b81301703495cd84364d760c675741b8959b5b1cb89ba7820fbd4b59fb3bc1e915989aff4194000d803fa169ca1b9cabb6e68f2a45e2f0fae7ef +SHA512 (undici-7.15.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba From 8c0f6a1beb6b7da190c5e7b690fdafbc2adccd16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 10 Sep 2025 15:46:13 +0200 Subject: [PATCH 23/23] Update to version 7.16.0 (rhbz#2394131) --- nodejs-undici.spec | 2 +- sources | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nodejs-undici.spec b/nodejs-undici.spec index ff3003f..6d99ca2 100644 --- a/nodejs-undici.spec +++ b/nodejs-undici.spec @@ -14,7 +14,7 @@ Name: nodejs-%{npm_name} Summary: An HTTP/1.1 client, written from scratch for Node.js -Version: 7.15.0 +Version: 7.16.0 Release: %autorelease License: MIT diff --git a/sources b/sources index 21eea63..c228e69 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (undici-7.15.0-stripped.tar.gz) = 5f4ebe4a22653aca7cf0baf8feb73d533e3fb2b553f37b37b7554a455abbb2d49bb53d9e8b9d63453bd4176c1912776e255b4173653115d9895f87e8da90be44 -SHA512 (undici-7.15.0-nm-prod.tgz) = b4371298e02cee1271b8215fc3ad1e38cd90814b6ebfc3d52fccdbc219d593d0be5e2c0f14a889011dde22331cb166334cc59f53837bd1fe53749ae7ff07e052 -SHA512 (undici-7.15.0-nm-dev.tgz) = ad422089e346b81301703495cd84364d760c675741b8959b5b1cb89ba7820fbd4b59fb3bc1e915989aff4194000d803fa169ca1b9cabb6e68f2a45e2f0fae7ef -SHA512 (undici-7.15.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba +SHA512 (undici-7.16.0-stripped.tar.gz) = 6ed7e439cc3241089137c9e9e420764cd659337d71c4fbaeec7214df6df31d1d7f0d799215b8ded7dddd7556b80fa5e60b66beeed17136db507d1c0ebd9e354a +SHA512 (undici-7.16.0-nm-prod.tgz) = 53d709c53a27eaca553515246106385c29d27993af969903c14cc6bef26826ea78f84e6b31753ccf06fef0d6e5b5830d53352451e75cc3b68ff51362a3f812ce +SHA512 (undici-7.16.0-nm-dev.tgz) = 0263dcb0ad3e64c8e798e03b4aebb07c265dc03fa538dc58c44fcea818bfbc71928adf38bc1a89696bed699423b30225101ba3f9fb214da177061a8a660813d7 +SHA512 (undici-7.16.0-bundled-licenses.txt) = 3e591adb16e09b1c6fb75eb97a6ac51cd06e0aeae2bd5950a15902346e2c9626cb50203bfd0e15c7e8c98af8f24b81c1ce6617c359e7c0e7d0a6366457c844ba