SHA256
1
0
forked from pool/nodejs22

[info=c048babd9930b593640d38543c098a4dee7440ab73e2f85685ab1602b5383c09]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs22?expand=0&rev=13
This commit is contained in:
OBS User unknown 2024-10-28 14:03:24 +00:00 committed by Git OBS Bridge
parent f6c46f801d
commit 9469ebacd2
11 changed files with 283 additions and 234 deletions

View File

@ -1,41 +1,41 @@
b5bf624fd09c198397dccba48efe36f1ceca282f86f60405fea4ee8954a1466b node-v22.4.1-aix-ppc64.tar.gz 9fe24a08564eca8ce7e6ea3dfa58bc91ec5512f194e6871a388254c3ebe4f0a4 node-v22.10.0-aix-ppc64.tar.gz
8015d8bccad6bea13f8712db5947afced3dabca9bfe103cca3cbc8f0047ee450 node-v22.4.1-arm64.msi fa56d6db05ce3909025d75fac8cf32a054c4a74291b4748fae544d4ff935c25e node-v22.10.0-arm64.msi
6e0b15d15a80878a57fc938588f64b1d6b59314ef47a0d439e17cb5e68b82a82 node-v22.4.1-darwin-arm64.tar.gz 75e5b78d59187ca936e67f0b88a6db913f4ab8bb83a27a1d0a34f98089cb4f77 node-v22.10.0-darwin-arm64.tar.gz
8bc5f7f98575146b73b0cf99d2246e32faaa0f0865cc24cc706d05fdf8d99aeb node-v22.4.1-darwin-arm64.tar.xz 1e075186b54bac99434c5a41f5bf526e9729c8010dc05cb0da426fb0d5b97170 node-v22.10.0-darwin-arm64.tar.xz
64aae9256cdffddbf535a7f6d30c5d2d4a8e01eafb035ab743203e402c68663b node-v22.4.1-darwin-x64.tar.gz f8d4a064d3edd49900187e301424a7d7d30f75b60f618811d2aad80b665b42d5 node-v22.10.0-darwin-x64.tar.gz
4d8b1f7764afd59a4a4c968ec481ace1338f03131ed6720bde39f26979070d8b node-v22.4.1-darwin-x64.tar.xz a50a35778fd57ddd90eb1ecbf56ea3a640d932c7d31a0bc2bb164df34f889156 node-v22.10.0-darwin-x64.tar.xz
e82b1cc359068820222a911698149b48f59633dba5cdefa4a77c02ef0c7f79b1 node-v22.4.1-headers.tar.gz 8e82810f179f82016f75e6259a6d53b26674268cb074c544780ec3819157d1d0 node-v22.10.0-headers.tar.gz
0aa57f793cfcb3e989c2f49f8d1592475d69d2ff8c026162f65098f5163a41d0 node-v22.4.1-headers.tar.xz f588b2f9fade83d56cd9965d52ae91b32de0f35393c8e889a52870746940b3b6 node-v22.10.0-headers.tar.xz
1816e42d4848aa1484910373a1f2f68f43fd6f96a4ef478a9553d05ffa3f8fb2 node-v22.4.1-linux-arm64.tar.gz 17abee3dfe6ffcda95cab08bb5f43de7f88d04e9607c517e701c6e623358dc7c node-v22.10.0-linux-arm64.tar.gz
8c9efb158660e1645b6b0bee6173903625206f43537b9f3a43aa56e43cd1fa7d node-v22.4.1-linux-arm64.tar.xz 53f51efe5bf4cd6b7745e910d9a33216b6be5a89b107226862f4a6f27aab84fd node-v22.10.0-linux-arm64.tar.xz
6b0b400aab703da6a4d82cb465e74b53e79762a5a59368323f58a7c23e2ef5c4 node-v22.4.1-linux-armv7l.tar.gz cd0bd2cd4098db1dde29314a60287661484e18df708ac94532e5a34f99eb6fd4 node-v22.10.0-linux-armv7l.tar.gz
b7b85046a9fde5ba6759aef6808014594aef689386d8ffbe2a2145f1905315c1 node-v22.4.1-linux-armv7l.tar.xz cea813eba9b5d43911414c9df03119c47e53c3f303c42bd5f2960aedfcf7df10 node-v22.10.0-linux-armv7l.tar.xz
bacefdced5e4bf511c6cedf60d0e4c1057f587b61a8c20bbff790b4cce44865a node-v22.4.1-linux-ppc64le.tar.gz 52fb8ae36061e64d39499be50a1193fc1f10fa667b4211b651576db65b5558da node-v22.10.0-linux-ppc64le.tar.gz
c6ecc116c89238138a3f159015bfb8ff1f7b02600e0609d2283f807ebb244a90 node-v22.4.1-linux-ppc64le.tar.xz 7a83a0f9a674fe0c4b0405d4ba704bafe339fc520873b9260d752436bf1f268e node-v22.10.0-linux-ppc64le.tar.xz
819dbee557b7ef5f48a4e9a3fb25caaefb3b262034c77443a5f6d08f9de741ba node-v22.4.1-linux-s390x.tar.gz 6e976e9278f66e654f208fdca1bae80f49705f51ab4c47ef1acb5bd59b16e640 node-v22.10.0-linux-s390x.tar.gz
ee6d3825c42853921883bb809b38f7e21658cdaba82f498cae54d865cce2653d node-v22.4.1-linux-s390x.tar.xz caad0bef82f163be6c8d19a6d79bb7a443b3676266fa67bb0325cbc61a1df136 node-v22.10.0-linux-s390x.tar.xz
addb41bd7d5bdef51dc3bd76292889692664b3c9de1b7c5f89aba95e474aee84 node-v22.4.1-linux-x64.tar.gz 674fef1891cc9927b5dc2b0ee2399b77f6621e6b3157f563a9e9491ad3db107b node-v22.10.0-linux-x64.tar.gz
e85039bcb298c7a7c9324aebad3f0fb2c472de4c5cedf9016c37f954687a22a8 node-v22.4.1-linux-x64.tar.xz 406791658a8bce3bc21fab786f45877adad391ea20badc87e1d65c7478b75062 node-v22.10.0-linux-x64.tar.xz
72c77162f1508e4b03e95361deda098ee16770eed5c1f31789c2bffe4818dc0e node-v22.4.1-win-arm64.7z afc49ad90023d7809e7ed0d6b86167e476c21e6482c202e71b49a369302bcedf node-v22.10.0-win-arm64.7z
915d476e2a27a09a3ff599d8b7453898dbeded8548beb272dea4242178cf31d8 node-v22.4.1-win-arm64.zip 2a9ffdc69df610821b5fb8b7e19cb0c627a2576c0af5b327ba2cdf9149db4f96 node-v22.10.0-win-arm64.zip
24e9d5be7edd1433e633b3b8fe3c704f92c9580678c2a595570a67bdc25c01de node-v22.4.1-win-x64.7z c5105910002a7cf89eaacc27fb85cb2f8551c0f7797ac52118f2398210d6135e node-v22.10.0-win-x64.7z
d1417d8b605636b6b482ad308763b36d071cf592efb412c8dec0d65b235dc9da node-v22.4.1-win-x64.zip d68dce8f7a73305a496e719485ca6647387d9410cb7eb5933b5d9b4afc5593bd node-v22.10.0-win-x64.zip
1751dfd48920506274bd4b5243f5802acd4ec9d2fdab08dc736a61a1bf0c88a8 node-v22.4.1-win-x86.7z b0149ff0fa094cc765c2e373b1010776bab18a2eac6a7d3800e0599f11da1aa3 node-v22.10.0-win-x86.7z
f6b41e5c53d888da751b988d2103eaa64c2bca7c617d9ad784e9bb48b573c56d node-v22.4.1-win-x86.zip dff73b6fd3545addabafd453b61ca5d50d2454d05d53a6094bcc428a0aa22de3 node-v22.10.0-win-x86.zip
82ab3431a35b68572d55f7a10049d8cdfe0f3d01a9f085daed4e7fa4caa9f26e node-v22.4.1-x64.msi 9d8fad0dc2da2c57e6fdf38fc85a23dc5ebcd5c414d8dd2948b3c45bd2398895 node-v22.10.0-x64.msi
ed819d12c5e59a1752fad8192177aa307a360d5f5d73a70806e772e3b98a74fe node-v22.4.1-x86.msi daca38d494c4d6d023ea0cc4d5f7974173256b80a5e485bf7fcaace62c36df85 node-v22.10.0-x86.msi
88966c6db8fcbdb5f9f816d175641071f3de3b8cb332f7e5c1f28636ba01d2d1 node-v22.4.1.pkg af7ec12e66beae77b8f4090e7560d53f953ace17af0c6fc658a8453221de2f85 node-v22.10.0.pkg
b3051c3358c96d06dd17305c065cc6f5205c1f4d72dd42cb184f7ba79605f8a8 node-v22.4.1.tar.gz 42e4ab4ce34383488185cef6f06f8d1267bf91ebc5c6596fc3786efb0f8b5aaa node-v22.10.0.tar.gz
65fc857f5aa8256aafc900b344c0115c9aeae25a02541fd5ce0dbd4dfd1c5fb9 node-v22.4.1.tar.xz 3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0 node-v22.10.0.tar.xz
048febf57e8f3279197721d683815d2a586458fae8f7ad70656a3b3ec378c339 win-arm64/node.exe d4f4462472ae44f6b804d729bc6e09fbecdb95994be8af35584297b637cd8af1 win-arm64/node.exe
30e63a6726cda6539eeb37c311adf915bccd5c1462723b97a6c07ac91e8ae728 win-arm64/node.lib ad65afe5b192644fec9d599c77f0e38a8421d0d7ad2389679882a288c8df444b win-arm64/node.lib
29674f442192ba7d4817563740f2c26a6164cc4371f853a0715e628028e82d9c win-arm64/node_pdb.7z 5cb82d77cebf4c82acb9123827d1ada295dce4907bd9f75966f989e112e9f7a2 win-arm64/node_pdb.7z
052350b350e9730c9da6addf28b88d51199ecbf179ea84dceff6335709f60d05 win-arm64/node_pdb.zip b551a239370533dcb1f595d35b9540cb906a926387d373f4e0dde8de424267a0 win-arm64/node_pdb.zip
9769486f6311f0e12583a4603f926053e0ab6a899126afd15cd2e7bb9184509f win-x64/node.exe 741a6d3a636ccb3290fc3141e3604913d89e430e0c1bd098734cc3380a7c6b3b win-x64/node.exe
c4d08d45267da3625a30730bf5c8e41518f25d9809179feb267f1b393f5c5f05 win-x64/node.lib 3581a06b68c4584d146372113eaa8c4d102127222e5041195ba38f185eef419c win-x64/node.lib
58ade781306ab582a9a5e71a36d0f54156b4dc34e089cbce91eb64b9c102fe93 win-x64/node_pdb.7z 40e2dbf9fb9c66f579d348e2ecd30a4ffadc3b00f9895107f915b82323cd1096 win-x64/node_pdb.7z
fdfd36bf2e6ff637232e3d0c2006a420f24bb8755b3932285ccb444093ece3ae win-x64/node_pdb.zip 1c478d40aadaeb0ad173ba01983a3bb6909777d1b35497b8e4f508acea02a26b win-x64/node_pdb.zip
daf7604b21a7dbec3d76e23fb07014ceddaade6de7865631e697c647c0d66ea2 win-x86/node.exe ca29a0d009d4e39ebca9bc84a859f30ccddeb31f31573d2d62be579d7c3daef0 win-x86/node.exe
fc3bf3c1e561da1e1c152be9aa5ed1bce8d263a5124841a4ba41ebc37c727f3e win-x86/node.lib 45399070d1d247cf223d12e80d3e638635af24d2f7a4714bc8e38a6a918f162a win-x86/node.lib
29eed4d9e9a57c1299e40c6bf831889b223e9da8ab6c19228d015fbff204ae0e win-x86/node_pdb.7z a35f8ad5b3ebfe652ffba108e3220115088d4a755af0305bdd6ece0295e4c07d win-x86/node_pdb.7z
5b45c9697c501fbbb749996f235b801db706bc0d53611bfe910b5cde5763eca0 win-x86/node_pdb.zip e985894dd6ae194ef302f831a10268aa33412db046b670a121603184dbacbb04 win-x86/node_pdb.zip

Binary file not shown.

View File

@ -1,3 +1,3 @@
mtime: 1721811158 mtime: 1730124038
commit: 26b35168e1a04dcd98e6b09d98758c51591d6ec95996cd5d781fee821d7f2dcf commit: c048babd9930b593640d38543c098a4dee7440ab73e2f85685ab1602b5383c09
url: https://src.opensuse.org/nodejs/nodejs22.git url: https://src.opensuse.org/nodejs/nodejs22.git

View File

@ -2,10 +2,10 @@ Author: Adam Majer <amajer@suse.de>
Date: Dec 20 09:18:49 UTC 2017 Date: Dec 20 09:18:49 UTC 2017
Summary: Fix CI unit tests framework for OBS building Summary: Fix CI unit tests framework for OBS building
Index: node-v22.3.0/test/parallel/test-node-output-v8-warning.mjs Index: node-v22.10.0/test/parallel/test-node-output-v8-warning.mjs
=================================================================== ===================================================================
--- node-v22.3.0.orig/test/parallel/test-node-output-v8-warning.mjs --- node-v22.10.0.orig/test/parallel/test-node-output-v8-warning.mjs
+++ node-v22.3.0/test/parallel/test-node-output-v8-warning.mjs +++ node-v22.10.0/test/parallel/test-node-output-v8-warning.mjs
@@ -15,7 +15,7 @@ describe('v8 output', { concurrency: !pr @@ -15,7 +15,7 @@ describe('v8 output', { concurrency: !pr
.replaceAll('*test*', '*') .replaceAll('*test*', '*')
.replaceAll(/.*?\*fixtures\*v8\*/g, '(node:*) V8: *') // Replace entire path before fixtures/v8 .replaceAll(/.*?\*fixtures\*v8\*/g, '(node:*) V8: *') // Replace entire path before fixtures/v8
@ -15,10 +15,10 @@ Index: node-v22.3.0/test/parallel/test-node-output-v8-warning.mjs
} }
const common = snapshot const common = snapshot
.transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceNodeVersion); .transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceNodeVersion);
Index: node-v22.3.0/test/parallel/test-module-loading-globalpaths.js Index: node-v22.10.0/test/parallel/test-module-loading-globalpaths.js
=================================================================== ===================================================================
--- node-v22.3.0.orig/test/parallel/test-module-loading-globalpaths.js --- node-v22.10.0.orig/test/parallel/test-module-loading-globalpaths.js
+++ node-v22.3.0/test/parallel/test-module-loading-globalpaths.js +++ node-v22.10.0/test/parallel/test-module-loading-globalpaths.js
@@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c @@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c
addLibraryPath(process.env); addLibraryPath(process.env);
@ -29,10 +29,10 @@ Index: node-v22.3.0/test/parallel/test-module-loading-globalpaths.js
if (process.argv[2] === 'child') { if (process.argv[2] === 'child') {
console.log(require(pkgName).string); console.log(require(pkgName).string);
} else { } else {
Index: node-v22.3.0/test/parallel/test-tls-passphrase.js Index: node-v22.10.0/test/parallel/test-tls-passphrase.js
=================================================================== ===================================================================
--- node-v22.3.0.orig/test/parallel/test-tls-passphrase.js --- node-v22.10.0.orig/test/parallel/test-tls-passphrase.js
+++ node-v22.3.0/test/parallel/test-tls-passphrase.js +++ node-v22.10.0/test/parallel/test-tls-passphrase.js
@@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio @@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio
}, onSecureConnect()); }, onSecureConnect());
})).unref(); })).unref();
@ -42,10 +42,10 @@ Index: node-v22.3.0/test/parallel/test-tls-passphrase.js
// Missing passphrase // Missing passphrase
assert.throws(function() { assert.throws(function() {
Index: node-v22.3.0/test/parallel/test-repl-envvars.js Index: node-v22.10.0/test/parallel/test-repl-envvars.js
=================================================================== ===================================================================
--- node-v22.3.0.orig/test/parallel/test-repl-envvars.js --- node-v22.10.0.orig/test/parallel/test-repl-envvars.js
+++ node-v22.3.0/test/parallel/test-repl-envvars.js +++ node-v22.10.0/test/parallel/test-repl-envvars.js
@@ -2,7 +2,9 @@ @@ -2,7 +2,9 @@
// Flags: --expose-internals // Flags: --expose-internals
@ -57,11 +57,11 @@ Index: node-v22.3.0/test/parallel/test-repl-envvars.js
const stream = require('stream'); const stream = require('stream');
const { describe, test } = require('node:test'); const { describe, test } = require('node:test');
const REPL = require('internal/repl'); const REPL = require('internal/repl');
Index: node-v22.3.0/Makefile Index: node-v22.10.0/Makefile
=================================================================== ===================================================================
--- node-v22.3.0.orig/Makefile --- node-v22.10.0.orig/Makefile
+++ node-v22.3.0/Makefile +++ node-v22.10.0/Makefile
@@ -393,7 +393,6 @@ ADDONS_HEADERS_PREREQS := tools/install. @@ -399,7 +399,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
$(wildcard deps/uv/include/*/*.h) \ $(wildcard deps/uv/include/*/*.h) \
$(wildcard deps/v8/include/*.h) \ $(wildcard deps/v8/include/*.h) \
$(wildcard deps/v8/include/*/*.h) \ $(wildcard deps/v8/include/*/*.h) \
@ -69,17 +69,15 @@ Index: node-v22.3.0/Makefile
src/node.h src/node_api.h src/js_native_api.h src/js_native_api_types.h \ src/node.h src/node_api.h src/js_native_api.h src/js_native_api_types.h \
src/node_api_types.h src/node_buffer.h src/node_object_wrap.h \ src/node_api_types.h src/node_buffer.h src/node_object_wrap.h \
src/node_version.h src/node_version.h
@@ -565,7 +564,8 @@ test-ci-js: | clear-stalled @@ -572,6 +571,7 @@ test-ci-js: | clear-stalled ## Build and
.PHONY: test-ci
# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned # Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
test-ci: LOGLEVEL := info test-ci: LOGLEVEL := info ## Build and test everything (CI).
-test-ci: | clear-stalled bench-addons-build build-addons build-js-native-api-tests build-node-api-tests doc-only test-ci: | clear-stalled bench-addons-build build-addons build-js-native-api-tests build-node-api-tests doc-only
+test-ci: | clear-stalled bench-addons-build build-addons build-js-native-api-tests build-node-api-tests
+ strip $(NODE_EXE) + strip $(NODE_EXE)
out/Release/cctest --gtest_output=xml:out/junit/cctest.xml out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \ $(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \ --mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
@@ -747,7 +747,8 @@ apidocs_json = $(addprefix out/,$(apidoc @@ -752,7 +752,8 @@ apidocs_json = $(addprefix out/,$(apidoc
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*))) apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
tools/doc/node_modules: tools/doc/package.json tools/doc/node_modules: tools/doc/package.json
@ -89,10 +87,10 @@ Index: node-v22.3.0/Makefile
echo "Skipping tools/doc/node_modules (no crypto)"; \ echo "Skipping tools/doc/node_modules (no crypto)"; \
else \ else \
cd tools/doc && $(call available-node,$(run-npm-ci)) \ cd tools/doc && $(call available-node,$(run-npm-ci)) \
Index: node-v22.3.0/tools/test.py Index: node-v22.10.0/tools/test.py
=================================================================== ===================================================================
--- node-v22.3.0.orig/tools/test.py --- node-v22.10.0.orig/tools/test.py
+++ node-v22.3.0/tools/test.py +++ node-v22.10.0/tools/test.py
@@ -1386,7 +1386,7 @@ def BuildOptions(): @@ -1386,7 +1386,7 @@ def BuildOptions():
result.add_option("-s", "--suite", help="A test suite", result.add_option("-s", "--suite", help="A test suite",
default=[], action="append") default=[], action="append")
@ -102,14 +100,14 @@ Index: node-v22.3.0/tools/test.py
result.add_option("--arch", help='The architecture to run tests for', result.add_option("--arch", help='The architecture to run tests for',
default='none') default='none')
result.add_option("--snapshot", help="Run the tests with snapshot turned on", result.add_option("--snapshot", help="Run the tests with snapshot turned on",
Index: node-v22.3.0/test/parallel/test-crypto-dh.js Index: node-v22.10.0/test/parallel/test-crypto-dh.js
=================================================================== ===================================================================
--- node-v22.3.0.orig/test/parallel/test-crypto-dh.js --- node-v22.10.0.orig/test/parallel/test-crypto-dh.js
+++ node-v22.3.0/test/parallel/test-crypto-dh.js +++ node-v22.10.0/test/parallel/test-crypto-dh.js
@@ -92,7 +92,7 @@ const crypto = require('crypto'); @@ -93,7 +93,7 @@ const crypto = require('crypto');
dh3.computeSecret(''); dh3.computeSecret('');
}, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ? }, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ?
'error:02800080:Diffie-Hellman routines::invalid secret' : 'Unspecified validation error' :
- 'Supplied key is too small' }); - 'Supplied key is too small' });
+ /(Supplied key is too small|invalid public key)/ }); + /(Supplied key is too small|invalid public key)/ });
} }

View File

@ -3,23 +3,23 @@ is run serially over these binaries instead of in parallel.
OBS workers run out of memory as each executable seems to require OBS workers run out of memory as each executable seems to require
upward of 5G RAM upward of 5G RAM
Index: node-v22.4.1/node.gyp Index: node-v22.10.0/node.gyp
=================================================================== ===================================================================
--- node-v22.4.1.orig/node.gyp --- node-v22.10.0.orig/node.gyp
+++ node-v22.4.1/node.gyp +++ node-v22.10.0/node.gyp
@@ -1180,6 +1180,7 @@ @@ -1193,6 +1193,7 @@
'deps/simdutf/simdutf.gyp:simdutf', 'deps/simdutf/simdutf.gyp:simdutf',
'deps/ada/ada.gyp:ada', 'deps/ada/ada.gyp:ada',
'deps/nbytes/nbytes.gyp:nbytes', 'deps/nbytes/nbytes.gyp:nbytes',
+ 'fuzz_env', + 'fuzz_env'
], ],
'includes': [ 'includes': [
@@ -1375,6 +1376,7 @@ @@ -1273,6 +1274,7 @@
'deps/sqlite/sqlite.gyp:sqlite',
'deps/ada/ada.gyp:ada',
'deps/nbytes/nbytes.gyp:nbytes', 'deps/nbytes/nbytes.gyp:nbytes',
'deps/simdjson/simdjson.gyp:simdjson', + 'cctest'
'deps/simdutf/simdutf.gyp:simdutf',
+ 'cctest',
], ],
'includes': [ 'includes': [

BIN
node-v22.10.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
node-v22.4.1.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,80 @@
-------------------------------------------------------------------
Mon Oct 28 11:43:07 UTC 2024 - Adam Majer <adam.majer@suse.de>
- Update to 22.10.0:
* crypto: add KeyObject.prototype.toCryptoKey
* crypto: add Date fields for validTo and validFrom
* http2: expose nghttp2_option_set_stream_reset_rate_limit as an option
* lib: propagate aborted state to dependent signals before firing events
* module: support loading entrypoint as url
* module: implement flushCompileCache()
* module: throw when invalid argument is passed to enableCompileCache()
* module: write compile cache to temporary file and then rename it
* process: add process.features.require_module
* process: add process.features.typescript
* test_runner: support custom arguments in run()
* test_runner: add 'test:summary' event
* test_runner: add support for coverage via run()
* worker: add markAsUncloneable api
- Changes since 22.9.0:
* util: getCallSite has been introduced. It allows users to retrieve the stacktrace of the current execution.
* tls: Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext
* src: create handle scope in FastInternalModuleStat
* stream: relocate the status checking code in the onwritecomplete
* repl: doc-deprecate instantiating node:repl classes without new
* zlib: deprecate instantiating classes without new
- Changes since 22.8.0:
* vm: New option for vm.createContext() to create a context with a freezable globalThis
* src,lib: add performance.uvMetricsInfo
* net: exclude ipv6 loopback addresses from server.listen
* test_runner: support running tests in process
* test_runner: defer inheriting hooks until run()
- Changes since 22.7.0:
* Experimental transform types support
* Module syntax detection (the --experimental-detect-module flag) is now enabled by default.
* Performance Improvements to Buffer
- Changes since 22.6.0:
* lib,src: drop --experimental-network-imports
* http: add diagnostics channel http.client.request.error
* deps: V8: backport 7857eb34db42
* stream: expose DuplexPair API
* test_runner: fix support watch with run(), add globPatterns option
* meta: add jake to collaborators
* test_runner: refactor snapshots to get file from context
* test_runner: add context.filePath
- Changes since 22.5.0:
* http: expose websockets
* lib: add node:sqlite module
* module: add __esModule to require()'d ESM
* path: add matchesGlob method
* process: port on-exit-leak-free to core
* stream: pipeline wait for close before calling the callback
* test_runner: support glob matching coverage files
* worker: add postMessageToThread
- Changes since 22.4.1:
* CVE-2024-36138 - Bypass incomplete fix of CVE-2024-27980 (High)
* CVE-2024-22020 - Bypass network import restriction via data URL (Medium)
* CVE-2024-22018 - fs.lstat bypasses permission model (Low)
* CVE-2024-36137 - fs.fchown/fchmod bypasses permission model (Low)
* CVE-2024-37372 - Permission model improperly processes UNC paths (Low)
- Changes since 22.4.0:
* deps,lib,src: add experimental web storage
* doc: doc-only deprecate OpenSSL engine-based APIs
* inspector: fix disable async hooks on Debugger.setAsyncCallStackDepth
* lib: add diagnostics_channel events to module loading
* util: support --no- for argument with boolean type for parseArgs
- fix_ci_tests.patch, linker_lto_jobs.patch, versioned.patch,
qemu_timeouts_arches.patch: refreshed
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 14 10:58:52 UTC 2024 - Adam Majer <adam.majer@suse.de> Fri Jun 14 10:58:52 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -31,7 +31,7 @@
%endif %endif
Name: nodejs22 Name: nodejs22
Version: 22.4.1 Version: 22.10.0
Release: 0 Release: 0
# Double DWZ memory limits # Double DWZ memory limits
@ -292,7 +292,7 @@ BuildRequires: openssl >= %{openssl_req_ver}
%else %else
# bundled openssl # bundled openssl
%if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400 %if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400
Provides: bundled(openssl) = 3.0.13 Provides: bundled(openssl) = 3.0.15
%else %else
BuildRequires: bundled_openssl_should_not_be_required BuildRequires: bundled_openssl_should_not_be_required
%endif %endif
@ -303,7 +303,11 @@ BuildRequires: bundled_openssl_should_not_be_required
%if ! 0%{with intree_cares} %if ! 0%{with intree_cares}
BuildRequires: pkgconfig(libcares) >= 1.17.0 BuildRequires: pkgconfig(libcares) >= 1.17.0
%else %else
Provides: bundled(libcares2) = 1.31.0 Provides: bundled(libcares2) = 1.33.1
%endif
%if %node_version_number >= 22
BuildRequires: sqlite3-devel
%endif %endif
%if ! 0%{with intree_icu} %if ! 0%{with intree_icu}
@ -315,7 +319,7 @@ Provides: bundled(icu) = 75.1
%if ! 0%{with intree_nghttp2} %if ! 0%{with intree_nghttp2}
BuildRequires: libnghttp2-devel >= 1.41.0 BuildRequires: libnghttp2-devel >= 1.41.0
%else %else
Provides: bundled(nghttp2) = 1.62.1 Provides: bundled(nghttp2) = 1.63.0
%endif %endif
%if 0%{with valgrind_tests} %if 0%{with valgrind_tests}
@ -366,7 +370,7 @@ ExclusiveArch: not_buildable
Provides: bundled(uvwasi) = 0.0.21 Provides: bundled(uvwasi) = 0.0.21
Provides: bundled(libuv) = 1.48.0 Provides: bundled(libuv) = 1.48.0
Provides: bundled(v8) = 12.4.254.20 Provides: bundled(v8) = 12.4.254.21
%if %{with intree_brotli} %if %{with intree_brotli}
Provides: bundled(brotli) = 1.1.0 Provides: bundled(brotli) = 1.1.0
%else %else
@ -377,17 +381,18 @@ BuildRequires: pkgconfig(libbrotlidec)
Provides: bundled(llhttp) = 9.2.1 Provides: bundled(llhttp) = 9.2.1
Provides: bundled(ngtcp2) = 1.3.0 Provides: bundled(ngtcp2) = 1.3.0
Provides: bundled(simdutf) = 5.2.8 Provides: bundled(simdutf) = 5.5.0
Provides: bundled(simdjson) = 3.9.3 Provides: bundled(simdjson) = 3.10.0
# bundled url-ada parser, not ada # bundled url-ada parser, not ada
Provides: bundled(ada) = 2.8.0 Provides: bundled(ada) = 2.9.0
Provides: bundled(node-acorn) = 8.11.3 Provides: bundled(node-acorn) = 8.12.1
Provides: bundled(node-acorn-walk) = 8.3.3 Provides: bundled(node-acorn-walk) = 8.3.4
Provides: bundled(node-cjs-module-lexer) = 1.2.2 Provides: bundled(node-amaro) = 0.1.8
Provides: bundled(node-corepack) = 0.28.2 Provides: bundled(node-cjs-module-lexer) = 1.4.1
Provides: bundled(node-minimatch) = 9.0.4 Provides: bundled(node-corepack) = 0.29.4
Provides: bundled(node-undici) = 6.19.2 Provides: bundled(node-minimatch) = 10.0.1
Provides: bundled(node-undici) = 6.20.0
%description %description
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
@ -416,7 +421,7 @@ Requires: nodejs-common
Requires: nodejs22 = %{version} Requires: nodejs22 = %{version}
Provides: nodejs-npm = %{version} Provides: nodejs-npm = %{version}
Obsoletes: nodejs-npm < 4.0.0 Obsoletes: nodejs-npm < 4.0.0
Provides: npm(npm) = 10.8.1 Provides: npm(npm) = 10.9.0
Provides: npm = %{version} Provides: npm = %{version}
%if 0%{?suse_version} >= 1500 %if 0%{?suse_version} >= 1500
%if %{node_version_number} >= 10 %if %{node_version_number} >= 10
@ -425,6 +430,7 @@ Requires: group(nobody)
%endif %endif
%endif %endif
Provides: bundled(node-abbrev) = 2.0.0 Provides: bundled(node-abbrev) = 2.0.0
Provides: bundled(node-abbrev) = 3.0.0
Provides: bundled(node-agent-base) = 7.1.1 Provides: bundled(node-agent-base) = 7.1.1
Provides: bundled(node-aggregate-error) = 3.1.0 Provides: bundled(node-aggregate-error) = 3.1.0
Provides: bundled(node-ansi-regex) = 5.0.1 Provides: bundled(node-ansi-regex) = 5.0.1
@ -434,23 +440,25 @@ Provides: bundled(node-ansi-styles) = 6.2.1
Provides: bundled(node-aproba) = 2.0.0 Provides: bundled(node-aproba) = 2.0.0
Provides: bundled(node-archy) = 1.0.0 Provides: bundled(node-archy) = 1.0.0
Provides: bundled(node-balanced-match) = 1.0.2 Provides: bundled(node-balanced-match) = 1.0.2
Provides: bundled(node-bin-links) = 4.0.4 Provides: bundled(node-bin-links) = 5.0.0
Provides: bundled(node-binary-extensions) = 2.3.0 Provides: bundled(node-binary-extensions) = 2.3.0
Provides: bundled(node-brace-expansion) = 2.0.1 Provides: bundled(node-brace-expansion) = 2.0.1
Provides: bundled(node-cacache) = 18.0.3 Provides: bundled(node-cacache) = 18.0.4
Provides: bundled(node-cacache) = 19.0.1
Provides: bundled(node-chalk) = 5.3.0 Provides: bundled(node-chalk) = 5.3.0
Provides: bundled(node-chownr) = 2.0.0 Provides: bundled(node-chownr) = 2.0.0
Provides: bundled(node-chownr) = 3.0.0
Provides: bundled(node-ci-info) = 4.0.0 Provides: bundled(node-ci-info) = 4.0.0
Provides: bundled(node-cidr-regex) = 4.1.1 Provides: bundled(node-cidr-regex) = 4.1.1
Provides: bundled(node-clean-stack) = 2.2.0 Provides: bundled(node-clean-stack) = 2.2.0
Provides: bundled(node-cli-columns) = 4.0.0 Provides: bundled(node-cli-columns) = 4.0.0
Provides: bundled(node-cmd-shim) = 6.0.3 Provides: bundled(node-cmd-shim) = 7.0.0
Provides: bundled(node-color-convert) = 2.0.1 Provides: bundled(node-color-convert) = 2.0.1
Provides: bundled(node-color-name) = 1.1.4 Provides: bundled(node-color-name) = 1.1.4
Provides: bundled(node-common-ancestor-path) = 1.0.1 Provides: bundled(node-common-ancestor-path) = 1.0.1
Provides: bundled(node-cross-spawn) = 7.0.3 Provides: bundled(node-cross-spawn) = 7.0.3
Provides: bundled(node-cssesc) = 3.0.0 Provides: bundled(node-cssesc) = 3.0.0
Provides: bundled(node-debug) = 4.3.4 Provides: bundled(node-debug) = 4.3.6
Provides: bundled(node-diff) = 5.2.0 Provides: bundled(node-diff) = 5.2.0
Provides: bundled(node-eastasianwidth) = 0.2.0 Provides: bundled(node-eastasianwidth) = 0.2.0
Provides: bundled(node-emoji-regex) = 8.0.0 Provides: bundled(node-emoji-regex) = 8.0.0
@ -460,108 +468,112 @@ Provides: bundled(node-env-paths) = 2.2.1
Provides: bundled(node-err-code) = 2.0.3 Provides: bundled(node-err-code) = 2.0.3
Provides: bundled(node-exponential-backoff) = 3.1.1 Provides: bundled(node-exponential-backoff) = 3.1.1
Provides: bundled(node-fastest-levenshtein) = 1.0.16 Provides: bundled(node-fastest-levenshtein) = 1.0.16
Provides: bundled(node-foreground-child) = 3.1.1 Provides: bundled(node-foreground-child) = 3.3.0
Provides: bundled(node-fs-minipass) = 2.1.0 Provides: bundled(node-fs-minipass) = 2.1.0
Provides: bundled(node-fs-minipass) = 3.0.3 Provides: bundled(node-fs-minipass) = 3.0.3
Provides: bundled(node-function-bind) = 1.1.2 Provides: bundled(node-glob) = 10.4.5
Provides: bundled(node-glob) = 10.4.1
Provides: bundled(node-graceful-fs) = 4.2.11 Provides: bundled(node-graceful-fs) = 4.2.11
Provides: bundled(node-hasown) = 2.0.2 Provides: bundled(node-hosted-git-info) = 8.0.0
Provides: bundled(node-hosted-git-info) = 7.0.2
Provides: bundled(node-http-cache-semantics) = 4.1.1 Provides: bundled(node-http-cache-semantics) = 4.1.1
Provides: bundled(node-http-proxy-agent) = 7.0.2 Provides: bundled(node-http-proxy-agent) = 7.0.2
Provides: bundled(node-https-proxy-agent) = 7.0.4 Provides: bundled(node-https-proxy-agent) = 7.0.5
Provides: bundled(node-iconv-lite) = 0.6.3 Provides: bundled(node-iconv-lite) = 0.6.3
Provides: bundled(node-ignore-walk) = 6.0.5 Provides: bundled(node-ignore-walk) = 7.0.0
Provides: bundled(node-imurmurhash) = 0.1.4 Provides: bundled(node-imurmurhash) = 0.1.4
Provides: bundled(node-indent-string) = 4.0.0 Provides: bundled(node-indent-string) = 4.0.0
Provides: bundled(node-ini) = 4.1.3 Provides: bundled(node-ini) = 5.0.0
Provides: bundled(node-init-package-json) = 6.0.3 Provides: bundled(node-init-package-json) = 7.0.1
Provides: bundled(node-ip-address) = 9.0.5 Provides: bundled(node-ip-address) = 9.0.5
Provides: bundled(node-ip-regex) = 5.0.0 Provides: bundled(node-ip-regex) = 5.0.0
Provides: bundled(node-is-cidr) = 5.1.0 Provides: bundled(node-is-cidr) = 5.1.0
Provides: bundled(node-is-core-module) = 2.13.1
Provides: bundled(node-is-fullwidth-code-point) = 3.0.0 Provides: bundled(node-is-fullwidth-code-point) = 3.0.0
Provides: bundled(node-is-lambda) = 1.0.1 Provides: bundled(node-is-lambda) = 1.0.1
Provides: bundled(node-isexe) = 2.0.0 Provides: bundled(node-isexe) = 2.0.0
Provides: bundled(node-isexe) = 3.1.1 Provides: bundled(node-isexe) = 3.1.1
Provides: bundled(node-jackspeak) = 3.1.2 Provides: bundled(node-jackspeak) = 3.4.3
Provides: bundled(node-jsbn) = 1.1.0 Provides: bundled(node-jsbn) = 1.1.0
Provides: bundled(node-json-parse-even-better-errors) = 3.0.2 Provides: bundled(node-json-parse-even-better-errors) = 4.0.0
Provides: bundled(node-json-stringify-nice) = 1.1.4 Provides: bundled(node-json-stringify-nice) = 1.1.4
Provides: bundled(node-jsonparse) = 1.3.1 Provides: bundled(node-jsonparse) = 1.3.1
Provides: bundled(node-just-diff) = 6.0.2 Provides: bundled(node-just-diff) = 6.0.2
Provides: bundled(node-just-diff-apply) = 5.5.0 Provides: bundled(node-just-diff-apply) = 5.5.0
Provides: bundled(node-libnpmaccess) = 8.0.6 Provides: bundled(node-libnpmaccess) = 9.0.0
Provides: bundled(node-libnpmdiff) = 6.1.3 Provides: bundled(node-libnpmdiff) = 7.0.0
Provides: bundled(node-libnpmexec) = 8.1.2 Provides: bundled(node-libnpmexec) = 9.0.0
Provides: bundled(node-libnpmfund) = 5.0.11 Provides: bundled(node-libnpmfund) = 6.0.0
Provides: bundled(node-libnpmhook) = 10.0.5 Provides: bundled(node-libnpmhook) = 11.0.0
Provides: bundled(node-libnpmorg) = 6.0.6 Provides: bundled(node-libnpmorg) = 7.0.0
Provides: bundled(node-libnpmpack) = 7.0.3 Provides: bundled(node-libnpmpack) = 8.0.0
Provides: bundled(node-libnpmpublish) = 9.0.9 Provides: bundled(node-libnpmpublish) = 10.0.0
Provides: bundled(node-libnpmsearch) = 7.0.6 Provides: bundled(node-libnpmsearch) = 8.0.0
Provides: bundled(node-libnpmteam) = 6.0.5 Provides: bundled(node-libnpmteam) = 7.0.0
Provides: bundled(node-libnpmversion) = 6.0.3 Provides: bundled(node-libnpmversion) = 7.0.0
Provides: bundled(node-lru-cache) = 10.2.2 Provides: bundled(node-lru-cache) = 10.4.3
Provides: bundled(node-make-fetch-happen) = 13.0.1 Provides: bundled(node-make-fetch-happen) = 13.0.1
Provides: bundled(node-minimatch) = 9.0.4 Provides: bundled(node-make-fetch-happen) = 14.0.1
Provides: bundled(node-minimatch) = 9.0.5
Provides: bundled(node-minipass) = 3.3.6 Provides: bundled(node-minipass) = 3.3.6
Provides: bundled(node-minipass) = 5.0.0 Provides: bundled(node-minipass) = 5.0.0
Provides: bundled(node-minipass) = 7.1.2 Provides: bundled(node-minipass) = 7.1.2
Provides: bundled(node-minipass-collect) = 2.0.1 Provides: bundled(node-minipass-collect) = 2.0.1
Provides: bundled(node-minipass-fetch) = 3.0.5 Provides: bundled(node-minipass-fetch) = 3.0.5
Provides: bundled(node-minipass-fetch) = 4.0.0
Provides: bundled(node-minipass-flush) = 1.0.5 Provides: bundled(node-minipass-flush) = 1.0.5
Provides: bundled(node-minipass-json-stream) = 1.0.1
Provides: bundled(node-minipass-pipeline) = 1.2.4 Provides: bundled(node-minipass-pipeline) = 1.2.4
Provides: bundled(node-minipass-sized) = 1.0.3 Provides: bundled(node-minipass-sized) = 1.0.3
Provides: bundled(node-minizlib) = 2.1.2 Provides: bundled(node-minizlib) = 2.1.2
Provides: bundled(node-minizlib) = 3.0.1
Provides: bundled(node-mkdirp) = 1.0.4 Provides: bundled(node-mkdirp) = 1.0.4
Provides: bundled(node-mkdirp) = 3.0.1
Provides: bundled(node-ms) = 2.1.2 Provides: bundled(node-ms) = 2.1.2
Provides: bundled(node-ms) = 2.1.3 Provides: bundled(node-ms) = 2.1.3
Provides: bundled(node-mute-stream) = 1.0.0 Provides: bundled(node-mute-stream) = 2.0.0
Provides: bundled(node-negotiator) = 0.6.3 Provides: bundled(node-negotiator) = 0.6.3
Provides: bundled(node-node-gyp) = 10.1.0 Provides: bundled(node-node-gyp) = 10.2.0
Provides: bundled(node-nopt) = 7.2.1 Provides: bundled(node-nopt) = 7.2.1
Provides: bundled(node-normalize-package-data) = 6.0.1 Provides: bundled(node-nopt) = 8.0.0
Provides: bundled(node-npm-audit-report) = 5.0.0 Provides: bundled(node-normalize-package-data) = 7.0.0
Provides: bundled(node-npm-bundled) = 3.0.1 Provides: bundled(node-npm-audit-report) = 6.0.0
Provides: bundled(node-npm-install-checks) = 6.3.0 Provides: bundled(node-npm-bundled) = 4.0.0
Provides: bundled(node-npm-normalize-package-bin) = 3.0.1 Provides: bundled(node-npm-install-checks) = 7.1.0
Provides: bundled(node-npm-package-arg) = 11.0.2 Provides: bundled(node-npm-normalize-package-bin) = 4.0.0
Provides: bundled(node-npm-packlist) = 8.0.2 Provides: bundled(node-npm-package-arg) = 12.0.0
Provides: bundled(node-npm-pick-manifest) = 9.0.1 Provides: bundled(node-npm-packlist) = 9.0.0
Provides: bundled(node-npm-profile) = 10.0.0 Provides: bundled(node-npm-pick-manifest) = 10.0.0
Provides: bundled(node-npm-registry-fetch) = 17.0.1 Provides: bundled(node-npm-profile) = 11.0.1
Provides: bundled(node-npm-user-validate) = 2.0.1 Provides: bundled(node-npm-registry-fetch) = 18.0.1
Provides: bundled(node-npm-user-validate) = 3.0.0
Provides: bundled(node-p-map) = 4.0.0 Provides: bundled(node-p-map) = 4.0.0
Provides: bundled(node-pacote) = 18.0.6 Provides: bundled(node-p-map) = 7.0.2
Provides: bundled(node-parse-conflict-json) = 3.0.1 Provides: bundled(node-package-json-from-dist) = 1.0.0
Provides: bundled(node-pacote) = 19.0.0
Provides: bundled(node-parse-conflict-json) = 4.0.0
Provides: bundled(node-path-key) = 3.1.1 Provides: bundled(node-path-key) = 3.1.1
Provides: bundled(node-path-scurry) = 1.11.1 Provides: bundled(node-path-scurry) = 1.11.1
Provides: bundled(node-postcss-selector-parser) = 6.1.0 Provides: bundled(node-postcss-selector-parser) = 6.1.2
Provides: bundled(node-proc-log) = 3.0.0
Provides: bundled(node-proc-log) = 4.2.0 Provides: bundled(node-proc-log) = 4.2.0
Provides: bundled(node-proggy) = 2.0.0 Provides: bundled(node-proc-log) = 5.0.0
Provides: bundled(node-proggy) = 3.0.0
Provides: bundled(node-promise-all-reject-late) = 1.0.1 Provides: bundled(node-promise-all-reject-late) = 1.0.1
Provides: bundled(node-promise-call-limit) = 3.0.1 Provides: bundled(node-promise-call-limit) = 3.0.1
Provides: bundled(node-promise-inflight) = 1.0.1 Provides: bundled(node-promise-inflight) = 1.0.1
Provides: bundled(node-promise-retry) = 2.0.1 Provides: bundled(node-promise-retry) = 2.0.1
Provides: bundled(node-promzard) = 1.0.2 Provides: bundled(node-promzard) = 2.0.0
Provides: bundled(node-qrcode-terminal) = 0.12.0 Provides: bundled(node-qrcode-terminal) = 0.12.0
Provides: bundled(node-read) = 3.0.1 Provides: bundled(node-read) = 4.0.0
Provides: bundled(node-read-cmd-shim) = 4.0.0 Provides: bundled(node-read-cmd-shim) = 5.0.0
Provides: bundled(node-read-package-json-fast) = 3.0.2 Provides: bundled(node-read-package-json-fast) = 4.0.0
Provides: bundled(node-retry) = 0.12.0 Provides: bundled(node-retry) = 0.12.0
Provides: bundled(node-rimraf) = 5.0.10
Provides: bundled(node-safer-buffer) = 2.1.2 Provides: bundled(node-safer-buffer) = 2.1.2
Provides: bundled(node-semver) = 7.6.2 Provides: bundled(node-semver) = 7.6.3
Provides: bundled(node-shebang-command) = 2.0.0 Provides: bundled(node-shebang-command) = 2.0.0
Provides: bundled(node-shebang-regex) = 3.0.0 Provides: bundled(node-shebang-regex) = 3.0.0
Provides: bundled(node-signal-exit) = 4.1.0 Provides: bundled(node-signal-exit) = 4.1.0
Provides: bundled(node-sigstore) = 2.3.1 Provides: bundled(node-sigstore) = 2.3.1
Provides: bundled(node-smart-buffer) = 4.2.0 Provides: bundled(node-smart-buffer) = 4.2.0
Provides: bundled(node-socks) = 2.8.3 Provides: bundled(node-socks) = 2.8.3
Provides: bundled(node-socks-proxy-agent) = 8.0.3 Provides: bundled(node-socks-proxy-agent) = 8.0.4
Provides: bundled(node-spdx-correct) = 3.2.0 Provides: bundled(node-spdx-correct) = 3.2.0
Provides: bundled(node-spdx-exceptions) = 2.5.0 Provides: bundled(node-spdx-exceptions) = 2.5.0
Provides: bundled(node-spdx-expression-parse) = 3.0.1 Provides: bundled(node-spdx-expression-parse) = 3.0.1
@ -569,28 +581,34 @@ Provides: bundled(node-spdx-expression-parse) = 4.0.0
Provides: bundled(node-spdx-license-ids) = 3.0.18 Provides: bundled(node-spdx-license-ids) = 3.0.18
Provides: bundled(node-sprintf-js) = 1.1.3 Provides: bundled(node-sprintf-js) = 1.1.3
Provides: bundled(node-ssri) = 10.0.6 Provides: bundled(node-ssri) = 10.0.6
Provides: bundled(node-ssri) = 12.0.0
Provides: bundled(node-string-width) = 4.2.3 Provides: bundled(node-string-width) = 4.2.3
Provides: bundled(node-string-width) = 5.1.2 Provides: bundled(node-string-width) = 5.1.2
Provides: bundled(node-strip-ansi) = 6.0.1 Provides: bundled(node-strip-ansi) = 6.0.1
Provides: bundled(node-strip-ansi) = 7.1.0 Provides: bundled(node-strip-ansi) = 7.1.0
Provides: bundled(node-supports-color) = 9.4.0 Provides: bundled(node-supports-color) = 9.4.0
Provides: bundled(node-tar) = 6.2.1 Provides: bundled(node-tar) = 6.2.1
Provides: bundled(node-tar) = 7.4.3
Provides: bundled(node-text-table) = 0.2.0 Provides: bundled(node-text-table) = 0.2.0
Provides: bundled(node-tiny-relative-date) = 1.3.0 Provides: bundled(node-tiny-relative-date) = 1.3.0
Provides: bundled(node-treeverse) = 3.0.0 Provides: bundled(node-treeverse) = 3.0.0
Provides: bundled(node-tuf-js) = 2.2.1 Provides: bundled(node-tuf-js) = 2.2.1
Provides: bundled(node-unique-filename) = 3.0.0 Provides: bundled(node-unique-filename) = 3.0.0
Provides: bundled(node-unique-filename) = 4.0.0
Provides: bundled(node-unique-slug) = 4.0.0 Provides: bundled(node-unique-slug) = 4.0.0
Provides: bundled(node-unique-slug) = 5.0.0
Provides: bundled(node-util-deprecate) = 1.0.2 Provides: bundled(node-util-deprecate) = 1.0.2
Provides: bundled(node-validate-npm-package-license) = 3.0.4 Provides: bundled(node-validate-npm-package-license) = 3.0.4
Provides: bundled(node-validate-npm-package-name) = 5.0.1 Provides: bundled(node-validate-npm-package-name) = 6.0.0
Provides: bundled(node-walk-up-path) = 3.0.1 Provides: bundled(node-walk-up-path) = 3.0.1
Provides: bundled(node-which) = 2.0.2 Provides: bundled(node-which) = 2.0.2
Provides: bundled(node-which) = 4.0.0 Provides: bundled(node-which) = 4.0.0
Provides: bundled(node-which) = 5.0.0
Provides: bundled(node-wrap-ansi) = 7.0.0 Provides: bundled(node-wrap-ansi) = 7.0.0
Provides: bundled(node-wrap-ansi) = 8.1.0 Provides: bundled(node-wrap-ansi) = 8.1.0
Provides: bundled(node-write-file-atomic) = 5.0.1 Provides: bundled(node-write-file-atomic) = 6.0.0
Provides: bundled(node-yallist) = 4.0.0 Provides: bundled(node-yallist) = 4.0.0
Provides: bundled(node-yallist) = 5.0.0
%description -n npm22 %description -n npm22
A package manager for Node.js that allows developers to install and A package manager for Node.js that allows developers to install and
@ -781,6 +799,9 @@ EOF
%if %{node_version_number} < 19 %if %{node_version_number} < 19
--without-dtrace \ --without-dtrace \
%endif %endif
%if %{node_version_number} >= 22
--shared-sqlite \
%endif
%if %{node_version_number} >= 16 && (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150400) %if %{node_version_number} >= 16 && (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150400)
--openssl-default-cipher-list=PROFILE=SYSTEM \ --openssl-default-cipher-list=PROFILE=SYSTEM \
%endif %endif

View File

@ -1,10 +1,10 @@
Index: node-v22.1.0/test/common/index.js Index: node-v22.10.0/test/common/index.js
=================================================================== ===================================================================
--- node-v22.1.0.orig/test/common/index.js --- node-v22.10.0.orig/test/common/index.js
+++ node-v22.1.0/test/common/index.js +++ node-v22.10.0/test/common/index.js
@@ -275,6 +275,9 @@ function platformTimeout(ms) { @@ -293,6 +293,9 @@ function platformTimeout(ms) {
if (isPi) return multipliers.four * ms;
return multipliers.two * ms; // Raspberry Pi devices }
+ if (process.arch === 'riscv64') // usermode qemu slow + if (process.arch === 'riscv64') // usermode qemu slow
+ return multipliers.seven * ms; + return multipliers.seven * ms;

View File

@ -8,11 +8,11 @@ management via update_alternatives.
This is also important for generation of binary This is also important for generation of binary
modules for multiple versions of NodeJS modules for multiple versions of NodeJS
Index: node-v22.1.0/Makefile Index: node-v22.10.0/Makefile
=================================================================== ===================================================================
--- node-v22.1.0.orig/Makefile --- node-v22.10.0.orig/Makefile
+++ node-v22.1.0/Makefile +++ node-v22.10.0/Makefile
@@ -76,7 +76,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT @@ -79,7 +79,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
EXEEXT := $(shell $(PYTHON) -c \ EXEEXT := $(shell $(PYTHON) -c \
"import sys; print('.exe' if sys.platform == 'win32' else '')") "import sys; print('.exe' if sys.platform == 'win32' else '')")
@ -21,10 +21,10 @@ Index: node-v22.1.0/Makefile
# Use $(PWD) so we can cd to anywhere before calling this # Use $(PWD) so we can cd to anywhere before calling this
NODE ?= "$(PWD)/$(NODE_EXE)" NODE ?= "$(PWD)/$(NODE_EXE)"
NODE_G_EXE = node_g$(EXEEXT) NODE_G_EXE = node_g$(EXEEXT)
Index: node-v22.1.0/tools/install.py Index: node-v22.10.0/tools/install.py
=================================================================== ===================================================================
--- node-v22.1.0.orig/tools/install.py --- node-v22.10.0.orig/tools/install.py
+++ node-v22.1.0/tools/install.py +++ node-v22.10.0/tools/install.py
@@ -87,7 +87,7 @@ def uninstall(options, paths, dest): @@ -87,7 +87,7 @@ def uninstall(options, paths, dest):
try_remove(options, path, dest) try_remove(options, path, dest)
@ -113,11 +113,11 @@ Index: node-v22.1.0/tools/install.py
if sys.platform == 'zos': if sys.platform == 'zos':
zoslibinc = os.environ.get('ZOSLIB_INCLUDES') zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
Index: node-v22.1.0/doc/node.1 Index: node-v22.10.0/doc/node.1
=================================================================== ===================================================================
--- node-v22.1.0.orig/doc/node.1 --- node-v22.10.0.orig/doc/node.1
+++ node-v22.1.0/doc/node.1 +++ node-v22.10.0/doc/node.1
@@ -31,24 +31,24 @@ @@ -28,24 +28,24 @@
.Dt NODE 1 .Dt NODE 1
. .
.Sh NAME .Sh NAME
@ -146,10 +146,10 @@ Index: node-v22.1.0/doc/node.1
.Op Fl -v8-options .Op Fl -v8-options
. .
.\"====================================================================== .\"======================================================================
Index: node-v22.1.0/src/node_main.cc Index: node-v22.10.0/src/node_main.cc
=================================================================== ===================================================================
--- node-v22.1.0.orig/src/node_main.cc --- node-v22.10.0.orig/src/node_main.cc
+++ node-v22.1.0/src/node_main.cc +++ node-v22.10.0/src/node_main.cc
@@ -94,6 +94,7 @@ int wmain(int argc, wchar_t* wargv[]) { @@ -94,6 +94,7 @@ int wmain(int argc, wchar_t* wargv[]) {
// UNIX // UNIX
@ -158,11 +158,11 @@ Index: node-v22.1.0/src/node_main.cc
return node::Start(argc, argv); return node::Start(argc, argv);
} }
#endif #endif
Index: node-v22.1.0/tools/test.py Index: node-v22.10.0/tools/test.py
=================================================================== ===================================================================
--- node-v22.1.0.orig/tools/test.py --- node-v22.10.0.orig/tools/test.py
+++ node-v22.1.0/tools/test.py +++ node-v22.10.0/tools/test.py
@@ -954,7 +954,7 @@ class Context(object): @@ -972,7 +972,7 @@ class Context(object):
if self.vm is not None: if self.vm is not None:
return self.vm return self.vm
if arch == 'none': if arch == 'none':
@ -171,11 +171,11 @@ Index: node-v22.1.0/tools/test.py
else: else:
name = 'out/%s.%s/node' % (arch, mode) name = 'out/%s.%s/node' % (arch, mode)
Index: node-v22.1.0/node.gyp Index: node-v22.10.0/node.gyp
=================================================================== ===================================================================
--- node-v22.1.0.orig/node.gyp --- node-v22.10.0.orig/node.gyp
+++ node-v22.1.0/node.gyp +++ node-v22.10.0/node.gyp
@@ -24,8 +24,8 @@ @@ -27,8 +27,8 @@
'node_shared_openssl%': 'false', 'node_shared_openssl%': 'false',
'node_v8_options%': '', 'node_v8_options%': '',
'node_enable_v8_vtunejit%': 'false', 'node_enable_v8_vtunejit%': 'false',
@ -186,21 +186,10 @@ Index: node-v22.1.0/node.gyp
'node_intermediate_lib_type%': 'static_library', 'node_intermediate_lib_type%': 'static_library',
'node_builtin_modules_path%': '', 'node_builtin_modules_path%': '',
'linked_module_files': [ 'linked_module_files': [
Index: node-v22.1.0/test/fixtures/errors/promise_unhandled_warn_with_error.snapshot Index: node-v22.10.0/test/parallel/test-snapshot-warning.js
=================================================================== ===================================================================
--- node-v22.1.0.orig/test/fixtures/errors/promise_unhandled_warn_with_error.snapshot --- node-v22.10.0.orig/test/parallel/test-snapshot-warning.js
+++ node-v22.1.0/test/fixtures/errors/promise_unhandled_warn_with_error.snapshot +++ node-v22.10.0/test/parallel/test-snapshot-warning.js
@@ -6,5 +6,5 @@
at *
at *
at *
-(Use `node --trace-warnings ...` to show where the warning was created)
+(Use `node22 --trace-warnings ...` to show where the warning was created)
(node:*) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https:*nodejs.org*api*cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Index: node-v22.1.0/test/parallel/test-snapshot-warning.js
===================================================================
--- node-v22.1.0.orig/test/parallel/test-snapshot-warning.js
+++ node-v22.1.0/test/parallel/test-snapshot-warning.js
@@ -60,7 +60,7 @@ tmpdir.refresh(); @@ -60,7 +60,7 @@ tmpdir.refresh();
stderr(output) { stderr(output) {
let match = output.match(/Warning: test warning/g); let match = output.match(/Warning: test warning/g);
@ -236,39 +225,3 @@ Index: node-v22.1.0/test/parallel/test-snapshot-warning.js
+ match = warnings2.match(/Use `node22 --trace-warnings/g); + match = warnings2.match(/Use `node22 --trace-warnings/g);
assert.strictEqual(match.length, 1); assert.strictEqual(match.length, 1);
} }
Index: node-v22.1.0/test/fixtures/errors/throw_error_with_getter_throw.snapshot
===================================================================
--- node-v22.1.0.orig/test/fixtures/errors/throw_error_with_getter_throw.snapshot
+++ node-v22.1.0/test/fixtures/errors/throw_error_with_getter_throw.snapshot
@@ -3,6 +3,6 @@
throw { * eslint-disable-line no-throw-literal
^
[object Object]
-(Use `node --trace-uncaught ...` to show where the exception was thrown)
+(Use `node22 --trace-uncaught ...` to show where the exception was thrown)
Node.js *
Index: node-v22.1.0/test/fixtures/errors/throw_undefined.snapshot
===================================================================
--- node-v22.1.0.orig/test/fixtures/errors/throw_undefined.snapshot
+++ node-v22.1.0/test/fixtures/errors/throw_undefined.snapshot
@@ -3,6 +3,6 @@
throw undefined;
^
undefined
-(Use `node --trace-uncaught ...` to show where the exception was thrown)
+(Use `node22 --trace-uncaught ...` to show where the exception was thrown)
Node.js *
Index: node-v22.1.0/test/fixtures/errors/throw_null.snapshot
===================================================================
--- node-v22.1.0.orig/test/fixtures/errors/throw_null.snapshot
+++ node-v22.1.0/test/fixtures/errors/throw_null.snapshot
@@ -3,6 +3,6 @@
throw null;
^
null
-(Use `node --trace-uncaught ...` to show where the exception was thrown)
+(Use `node22 --trace-uncaught ...` to show where the exception was thrown)
Node.js *