Accepting request 1218838 from devel:languages:nodejs

- 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

OBS-URL: https://build.opensuse.org/request/show/1218838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs22?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-10-29 13:32:26 +00:00 committed by Git OBS Bridge
commit 3d5b1115bd
12 changed files with 298 additions and 235 deletions

View File

@ -1,41 +1,41 @@
8c349a9164f25d8a1de886a47db045b50ae11aba4c4c1e1a4d1ac34a1e5d20e3 node-v22.3.0-aix-ppc64.tar.gz 9fe24a08564eca8ce7e6ea3dfa58bc91ec5512f194e6871a388254c3ebe4f0a4 node-v22.10.0-aix-ppc64.tar.gz
69ee53b3262ae727453d97f8e0fb3ba51363065351fcf2a389d0bdab688c021c node-v22.3.0-arm64.msi fa56d6db05ce3909025d75fac8cf32a054c4a74291b4748fae544d4ff935c25e node-v22.10.0-arm64.msi
b6723f1e4972af1ca8a7ef9ec63305ee8cd4380fce3071e0e1630dfe055d77e3 node-v22.3.0-darwin-arm64.tar.gz 75e5b78d59187ca936e67f0b88a6db913f4ab8bb83a27a1d0a34f98089cb4f77 node-v22.10.0-darwin-arm64.tar.gz
b63eac38d610ffcd9ae35340f3a28d16f566d44441845d1f73dd3e5294d0dcae node-v22.3.0-darwin-arm64.tar.xz 1e075186b54bac99434c5a41f5bf526e9729c8010dc05cb0da426fb0d5b97170 node-v22.10.0-darwin-arm64.tar.xz
7fe139f9d769d65c27212f8be8f858e1ee522edf3a66eed1d08d42ba102995f8 node-v22.3.0-darwin-x64.tar.gz f8d4a064d3edd49900187e301424a7d7d30f75b60f618811d2aad80b665b42d5 node-v22.10.0-darwin-x64.tar.gz
a633700fae61e3f078be40561df241ead763d30cfdc463b623e8b895c36bb481 node-v22.3.0-darwin-x64.tar.xz a50a35778fd57ddd90eb1ecbf56ea3a640d932c7d31a0bc2bb164df34f889156 node-v22.10.0-darwin-x64.tar.xz
d2460c13bb1b723d0773b3c18162ec8d3bc15c18c25643520c1f03d80e014999 node-v22.3.0-headers.tar.gz 8e82810f179f82016f75e6259a6d53b26674268cb074c544780ec3819157d1d0 node-v22.10.0-headers.tar.gz
6f62ffb3f189a4797471f0334888e2471ee7352e1c5d3bbfc6feaf2175a990fc node-v22.3.0-headers.tar.xz f588b2f9fade83d56cd9965d52ae91b32de0f35393c8e889a52870746940b3b6 node-v22.10.0-headers.tar.xz
0e25b9a4bc78080de826a90dff82743bec6d9c5085186e75521dc195c8be9ce3 node-v22.3.0-linux-arm64.tar.gz 17abee3dfe6ffcda95cab08bb5f43de7f88d04e9607c517e701c6e623358dc7c node-v22.10.0-linux-arm64.tar.gz
c0324bbcfd5627bdcdc18830e563af1742c2173e86297a502a86db54c15bba70 node-v22.3.0-linux-arm64.tar.xz 53f51efe5bf4cd6b7745e910d9a33216b6be5a89b107226862f4a6f27aab84fd node-v22.10.0-linux-arm64.tar.xz
46b640d23708f899689059cc2a8431842c2e3ad50a9144828ddabea5e1a7c3ae node-v22.3.0-linux-armv7l.tar.gz cd0bd2cd4098db1dde29314a60287661484e18df708ac94532e5a34f99eb6fd4 node-v22.10.0-linux-armv7l.tar.gz
973731137ea1ab9415115b9ec447d34628c5aa45c33115df1a2dfb20e7f79b5f node-v22.3.0-linux-armv7l.tar.xz cea813eba9b5d43911414c9df03119c47e53c3f303c42bd5f2960aedfcf7df10 node-v22.10.0-linux-armv7l.tar.xz
a01c2263a01efa7c6efa3607d202487127e268d73b68b6cce9c44a481412ece0 node-v22.3.0-linux-ppc64le.tar.gz 52fb8ae36061e64d39499be50a1193fc1f10fa667b4211b651576db65b5558da node-v22.10.0-linux-ppc64le.tar.gz
50c91e0b1ba7472e3ff609ecd503810308c990a1fd1ea1a721f9029c01c9d2a7 node-v22.3.0-linux-ppc64le.tar.xz 7a83a0f9a674fe0c4b0405d4ba704bafe339fc520873b9260d752436bf1f268e node-v22.10.0-linux-ppc64le.tar.xz
3aa6a22f525a6f8ddb0fd2ce3646414c316a41cab6bdaac812276196607bc187 node-v22.3.0-linux-s390x.tar.gz 6e976e9278f66e654f208fdca1bae80f49705f51ab4c47ef1acb5bd59b16e640 node-v22.10.0-linux-s390x.tar.gz
decbeb778aa4e490ba4b60a7d13ef92f6db4647ccd2d452d7e52067b5503d4a9 node-v22.3.0-linux-s390x.tar.xz caad0bef82f163be6c8d19a6d79bb7a443b3676266fa67bb0325cbc61a1df136 node-v22.10.0-linux-s390x.tar.xz
a6d4fbf4306a883b8e1d235a8a890be84b9d95d2d39b929520bed64da41ce540 node-v22.3.0-linux-x64.tar.gz 674fef1891cc9927b5dc2b0ee2399b77f6621e6b3157f563a9e9491ad3db107b node-v22.10.0-linux-x64.tar.gz
33429139d4c4416439bf023b2eb2dc257da188fd793b64f21c8c03a0f04a5840 node-v22.3.0-linux-x64.tar.xz 406791658a8bce3bc21fab786f45877adad391ea20badc87e1d65c7478b75062 node-v22.10.0-linux-x64.tar.xz
a76b8e529e5dc162f9739aa25d380b416e1bacc29cf36f2b178db24764ba359d node-v22.3.0.pkg afc49ad90023d7809e7ed0d6b86167e476c21e6482c202e71b49a369302bcedf node-v22.10.0-win-arm64.7z
6326484853093ab6b8f361a267445f4a5bff469042cda11a3585497b13136b55 node-v22.3.0.tar.gz 2a9ffdc69df610821b5fb8b7e19cb0c627a2576c0af5b327ba2cdf9149db4f96 node-v22.10.0-win-arm64.zip
bfb85bd1dca517761f9046d61600f830d19935d6d6c36eded01578a19326104c node-v22.3.0.tar.xz c5105910002a7cf89eaacc27fb85cb2f8551c0f7797ac52118f2398210d6135e node-v22.10.0-win-x64.7z
57a44a7c956581e2939c8c040cb49f72dfa148c4e97178e54be67e78cc45ca69 node-v22.3.0-win-arm64.7z d68dce8f7a73305a496e719485ca6647387d9410cb7eb5933b5d9b4afc5593bd node-v22.10.0-win-x64.zip
727426f9a97238d2dc269fb00bbe50c77629f76adb99a19d68abc41e8cdb4bc5 node-v22.3.0-win-arm64.zip b0149ff0fa094cc765c2e373b1010776bab18a2eac6a7d3800e0599f11da1aa3 node-v22.10.0-win-x86.7z
5eead5f9946b5381ffb36430970a2e3d0bcf90383a9432ea76e93d0efdc70691 node-v22.3.0-win-x64.7z dff73b6fd3545addabafd453b61ca5d50d2454d05d53a6094bcc428a0aa22de3 node-v22.10.0-win-x86.zip
3dadc19ba6b36c6fb93aeda08247107fdb2ed55c24831304566d32de6b6080d7 node-v22.3.0-win-x64.zip 9d8fad0dc2da2c57e6fdf38fc85a23dc5ebcd5c414d8dd2948b3c45bd2398895 node-v22.10.0-x64.msi
e8e34fbef56216f8d58499215d3c5220ce429c455ee2bfa97b29bb0e9ba57e1b node-v22.3.0-win-x86.7z daca38d494c4d6d023ea0cc4d5f7974173256b80a5e485bf7fcaace62c36df85 node-v22.10.0-x86.msi
a56e1446e45adbfc716023c8e903eef829e84e5ac8aae3a65b455213bef9cdb1 node-v22.3.0-win-x86.zip af7ec12e66beae77b8f4090e7560d53f953ace17af0c6fc658a8453221de2f85 node-v22.10.0.pkg
da5b1cbc773371fd11415a893ce229f51052e9aa9b656ddcbd79730ce4b93a7b node-v22.3.0-x64.msi 42e4ab4ce34383488185cef6f06f8d1267bf91ebc5c6596fc3786efb0f8b5aaa node-v22.10.0.tar.gz
ae86fec0828744ac9c9a9b0186cd984e64d45602b267deac6fc140eb1c13262f node-v22.3.0-x86.msi 3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0 node-v22.10.0.tar.xz
17608e0e2c587fca141bfc43ce9299db192b8506def389b8e30a9935e6fc6f83 win-arm64/node.exe d4f4462472ae44f6b804d729bc6e09fbecdb95994be8af35584297b637cd8af1 win-arm64/node.exe
30e63a6726cda6539eeb37c311adf915bccd5c1462723b97a6c07ac91e8ae728 win-arm64/node.lib ad65afe5b192644fec9d599c77f0e38a8421d0d7ad2389679882a288c8df444b win-arm64/node.lib
8e71a3f8a27a14f0c0f5198aa0e34d9c58d0bf39cd3b0e5e89c3079884c427b3 win-arm64/node_pdb.7z 5cb82d77cebf4c82acb9123827d1ada295dce4907bd9f75966f989e112e9f7a2 win-arm64/node_pdb.7z
483e6e8e418fac0c311b2ca6ca5414dbbf61c8da1c1ced7a7736fc9c8a44ca94 win-arm64/node_pdb.zip b551a239370533dcb1f595d35b9540cb906a926387d373f4e0dde8de424267a0 win-arm64/node_pdb.zip
b3e0d6bf8224d43d5c6e756c8ebaffe1daef0d5ed0eeba40eef0ca62f1c4232a win-x64/node.exe 741a6d3a636ccb3290fc3141e3604913d89e430e0c1bd098734cc3380a7c6b3b win-x64/node.exe
c4d08d45267da3625a30730bf5c8e41518f25d9809179feb267f1b393f5c5f05 win-x64/node.lib 3581a06b68c4584d146372113eaa8c4d102127222e5041195ba38f185eef419c win-x64/node.lib
fdc88d7ef4ee2bee3bb94947786ea425a30c2d5fb26b0ad25cb33cad165c8a5c win-x64/node_pdb.7z 40e2dbf9fb9c66f579d348e2ecd30a4ffadc3b00f9895107f915b82323cd1096 win-x64/node_pdb.7z
689c6831018340256aa33e2cd0a5da8168c835e5d3070dd0688803c0cd1157cd win-x64/node_pdb.zip 1c478d40aadaeb0ad173ba01983a3bb6909777d1b35497b8e4f508acea02a26b win-x64/node_pdb.zip
195a4cc5eb1d9235043a34f423a732d54f73d9b2b7404c86ef10ff1c17dff6d6 win-x86/node.exe ca29a0d009d4e39ebca9bc84a859f30ccddeb31f31573d2d62be579d7c3daef0 win-x86/node.exe
fc3bf3c1e561da1e1c152be9aa5ed1bce8d263a5124841a4ba41ebc37c727f3e win-x86/node.lib 45399070d1d247cf223d12e80d3e638635af24d2f7a4714bc8e38a6a918f162a win-x86/node.lib
b471579503255732d862c8eaa9a3dff77cf2ef8e7c80ccb484b5e46f83cd6438 win-x86/node_pdb.7z a35f8ad5b3ebfe652ffba108e3220115088d4a755af0305bdd6ece0295e4c07d win-x86/node_pdb.7z
fadd1b6e3071a8d095913aa959be1f1a701621cc9cc7f6a685bcf3c74b884c84 win-x86/node_pdb.zip e985894dd6ae194ef302f831a10268aa33412db046b670a121603184dbacbb04 win-x86/node_pdb.zip

Binary file not shown.

View File

@ -1,3 +1,3 @@
mtime: 1718363377 mtime: 1730133586
commit: 14d7a608740ffd1a68e6218e720faa929a9018a6da2cfef606a944521ae26ce7 commit: 7b429ccfa5cd52497abfb6968799ddb892a9d02786a614761ade229a53af126d
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,16 +100,29 @@ 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)/ });
} }
} }
Index: node-v22.10.0/test/parallel/test-dns.js
===================================================================
--- node-v22.10.0.orig/test/parallel/test-dns.js
+++ node-v22.10.0/test/parallel/test-dns.js
@@ -403,7 +403,7 @@ assert.throws(() => {
const server = dgram.createSocket('udp4');
- server.on('message', common.mustCall((msg, { address, port }) => {
+ server.on('message', common.mustCallAtLeast((msg, { address, port }) => {
const parsed = dnstools.parseDNSPacket(msg);
const domain = parsed.questions[0].domain;
assert.strictEqual(domain, 'example.org');

View File

@ -3,22 +3,22 @@ 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.2.0/node.gyp Index: node-v22.10.0/node.gyp
=================================================================== ===================================================================
--- node-v22.2.0.orig/node.gyp --- node-v22.10.0.orig/node.gyp
+++ node-v22.2.0/node.gyp +++ node-v22.10.0/node.gyp
@@ -1167,6 +1167,7 @@ @@ -1193,6 +1193,7 @@
'deps/simdjson/simdjson.gyp:simdjson',
'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',
+ 'fuzz_env' + 'fuzz_env'
], ],
'includes': [ 'includes': [
@@ -1241,6 +1242,7 @@ @@ -1273,6 +1274,7 @@
'<(node_lib_target_name)', 'deps/sqlite/sqlite.gyp:sqlite',
'deps/histogram/histogram.gyp:histogram',
'deps/ada/ada.gyp:ada', 'deps/ada/ada.gyp:ada',
'deps/nbytes/nbytes.gyp:nbytes',
+ 'cctest' + 'cctest'
], ],

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

Binary file not shown.

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

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,81 @@
-------------------------------------------------------------------
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, bsc#1227560) - Bypass incomplete fix of CVE-2024-27980 (High)
* (CVE-2024-22020, bsc#1227554) - Bypass network import restriction via data URL (Medium)
* (CVE-2024-22018, bsc#1227562) - fs.lstat bypasses permission model (Low)
* (CVE-2024-36137, bsc#1227561) - fs.fchown/fchmod bypasses permission model (Low)
* (CVE-2024-37372, bsc#1227563) - 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: refreshed, add compat for c-ares 1.30
- linker_lto_jobs.patch, versioned.patch, qemu_timeouts_arches.patch: refreshed
- nodejs.keyring: add C0D6248439F1D5604AAFFB4021D900FFDB233756
------------------------------------------------------------------- -------------------------------------------------------------------
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.3.0 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.29.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.2 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.18.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 *