forked from pool/nodejs22
Compare commits
26 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 53d5d47fb3 | |||
| 88e397ffeb | |||
|
|
d9658f7657 | ||
| 21e917d9f6 | |||
|
|
0f072a1906 | ||
| d90b9e27b8 | |||
|
|
cc34b4ccdc | ||
|
|
3534ff7adf | ||
|
|
b6ba0e7b1c | ||
| 83218434a0 | |||
|
|
0db9914acc | ||
|
|
2c55c04ed9 | ||
|
|
51bb1ad5e2 | ||
|
|
f763afe7ee | ||
| 23cf91a32e | |||
|
|
71bf67d95e | ||
| ac78790012 | |||
|
|
52ab1a1c03 | ||
|
|
dc79a4f482 | ||
|
|
8299606920 | ||
| 3d5b1115bd | |||
|
|
6586d8ad8b | ||
|
|
d586f74551 | ||
|
|
d4c227477f | ||
|
|
9469ebacd2 | ||
|
|
f6c46f801d |
@@ -1,41 +1,41 @@
|
||||
8c349a9164f25d8a1de886a47db045b50ae11aba4c4c1e1a4d1ac34a1e5d20e3 node-v22.3.0-aix-ppc64.tar.gz
|
||||
69ee53b3262ae727453d97f8e0fb3ba51363065351fcf2a389d0bdab688c021c node-v22.3.0-arm64.msi
|
||||
b6723f1e4972af1ca8a7ef9ec63305ee8cd4380fce3071e0e1630dfe055d77e3 node-v22.3.0-darwin-arm64.tar.gz
|
||||
b63eac38d610ffcd9ae35340f3a28d16f566d44441845d1f73dd3e5294d0dcae node-v22.3.0-darwin-arm64.tar.xz
|
||||
7fe139f9d769d65c27212f8be8f858e1ee522edf3a66eed1d08d42ba102995f8 node-v22.3.0-darwin-x64.tar.gz
|
||||
a633700fae61e3f078be40561df241ead763d30cfdc463b623e8b895c36bb481 node-v22.3.0-darwin-x64.tar.xz
|
||||
d2460c13bb1b723d0773b3c18162ec8d3bc15c18c25643520c1f03d80e014999 node-v22.3.0-headers.tar.gz
|
||||
6f62ffb3f189a4797471f0334888e2471ee7352e1c5d3bbfc6feaf2175a990fc node-v22.3.0-headers.tar.xz
|
||||
0e25b9a4bc78080de826a90dff82743bec6d9c5085186e75521dc195c8be9ce3 node-v22.3.0-linux-arm64.tar.gz
|
||||
c0324bbcfd5627bdcdc18830e563af1742c2173e86297a502a86db54c15bba70 node-v22.3.0-linux-arm64.tar.xz
|
||||
46b640d23708f899689059cc2a8431842c2e3ad50a9144828ddabea5e1a7c3ae node-v22.3.0-linux-armv7l.tar.gz
|
||||
973731137ea1ab9415115b9ec447d34628c5aa45c33115df1a2dfb20e7f79b5f node-v22.3.0-linux-armv7l.tar.xz
|
||||
a01c2263a01efa7c6efa3607d202487127e268d73b68b6cce9c44a481412ece0 node-v22.3.0-linux-ppc64le.tar.gz
|
||||
50c91e0b1ba7472e3ff609ecd503810308c990a1fd1ea1a721f9029c01c9d2a7 node-v22.3.0-linux-ppc64le.tar.xz
|
||||
3aa6a22f525a6f8ddb0fd2ce3646414c316a41cab6bdaac812276196607bc187 node-v22.3.0-linux-s390x.tar.gz
|
||||
decbeb778aa4e490ba4b60a7d13ef92f6db4647ccd2d452d7e52067b5503d4a9 node-v22.3.0-linux-s390x.tar.xz
|
||||
a6d4fbf4306a883b8e1d235a8a890be84b9d95d2d39b929520bed64da41ce540 node-v22.3.0-linux-x64.tar.gz
|
||||
33429139d4c4416439bf023b2eb2dc257da188fd793b64f21c8c03a0f04a5840 node-v22.3.0-linux-x64.tar.xz
|
||||
a76b8e529e5dc162f9739aa25d380b416e1bacc29cf36f2b178db24764ba359d node-v22.3.0.pkg
|
||||
6326484853093ab6b8f361a267445f4a5bff469042cda11a3585497b13136b55 node-v22.3.0.tar.gz
|
||||
bfb85bd1dca517761f9046d61600f830d19935d6d6c36eded01578a19326104c node-v22.3.0.tar.xz
|
||||
57a44a7c956581e2939c8c040cb49f72dfa148c4e97178e54be67e78cc45ca69 node-v22.3.0-win-arm64.7z
|
||||
727426f9a97238d2dc269fb00bbe50c77629f76adb99a19d68abc41e8cdb4bc5 node-v22.3.0-win-arm64.zip
|
||||
5eead5f9946b5381ffb36430970a2e3d0bcf90383a9432ea76e93d0efdc70691 node-v22.3.0-win-x64.7z
|
||||
3dadc19ba6b36c6fb93aeda08247107fdb2ed55c24831304566d32de6b6080d7 node-v22.3.0-win-x64.zip
|
||||
e8e34fbef56216f8d58499215d3c5220ce429c455ee2bfa97b29bb0e9ba57e1b node-v22.3.0-win-x86.7z
|
||||
a56e1446e45adbfc716023c8e903eef829e84e5ac8aae3a65b455213bef9cdb1 node-v22.3.0-win-x86.zip
|
||||
da5b1cbc773371fd11415a893ce229f51052e9aa9b656ddcbd79730ce4b93a7b node-v22.3.0-x64.msi
|
||||
ae86fec0828744ac9c9a9b0186cd984e64d45602b267deac6fc140eb1c13262f node-v22.3.0-x86.msi
|
||||
17608e0e2c587fca141bfc43ce9299db192b8506def389b8e30a9935e6fc6f83 win-arm64/node.exe
|
||||
30e63a6726cda6539eeb37c311adf915bccd5c1462723b97a6c07ac91e8ae728 win-arm64/node.lib
|
||||
8e71a3f8a27a14f0c0f5198aa0e34d9c58d0bf39cd3b0e5e89c3079884c427b3 win-arm64/node_pdb.7z
|
||||
483e6e8e418fac0c311b2ca6ca5414dbbf61c8da1c1ced7a7736fc9c8a44ca94 win-arm64/node_pdb.zip
|
||||
b3e0d6bf8224d43d5c6e756c8ebaffe1daef0d5ed0eeba40eef0ca62f1c4232a win-x64/node.exe
|
||||
c4d08d45267da3625a30730bf5c8e41518f25d9809179feb267f1b393f5c5f05 win-x64/node.lib
|
||||
fdc88d7ef4ee2bee3bb94947786ea425a30c2d5fb26b0ad25cb33cad165c8a5c win-x64/node_pdb.7z
|
||||
689c6831018340256aa33e2cd0a5da8168c835e5d3070dd0688803c0cd1157cd win-x64/node_pdb.zip
|
||||
195a4cc5eb1d9235043a34f423a732d54f73d9b2b7404c86ef10ff1c17dff6d6 win-x86/node.exe
|
||||
fc3bf3c1e561da1e1c152be9aa5ed1bce8d263a5124841a4ba41ebc37c727f3e win-x86/node.lib
|
||||
b471579503255732d862c8eaa9a3dff77cf2ef8e7c80ccb484b5e46f83cd6438 win-x86/node_pdb.7z
|
||||
fadd1b6e3071a8d095913aa959be1f1a701621cc9cc7f6a685bcf3c74b884c84 win-x86/node_pdb.zip
|
||||
2fe635ed920633a890fd594860e5fe35f5ca1ef6da3cda62c6692c39cfefb894 node-v22.15.1-aix-ppc64.tar.gz
|
||||
3242884a544d8d7e4c1e7ee04ee82e48ae9820723b46589284e86441610f04fa node-v22.15.1-arm64.msi
|
||||
d2689b86b17e1b51e76f801ffe2d9acca4225e76eda4b843c3d8438d4a7cd6fe node-v22.15.1-darwin-arm64.tar.gz
|
||||
da2ce4f4616f5adae82de433481e00af86c7e6624a07e5a3c3fdaa1d8a6028fa node-v22.15.1-darwin-arm64.tar.xz
|
||||
1c722d0dd6d3f60e8b0be014ea01b8a59f5088f4419197a1b37544854d61cc6f node-v22.15.1-darwin-x64.tar.gz
|
||||
4f7f6dd674ffa4935dba358fe503a396347d918603e3c9657ce586280c702f61 node-v22.15.1-darwin-x64.tar.xz
|
||||
7410efd260c92faa736cfa56f5cbc41cbb672e20d007d19353992ef9a96c2449 node-v22.15.1-headers.tar.gz
|
||||
4b625fb4a7c7da9f04f9e897c7ec87a3d9c170504506f184e66d93f4604d2a5b node-v22.15.1-headers.tar.xz
|
||||
eb3f232b83dfe83397b98395ec77a973e888e8959c978b3e4eeb551b8845b74f node-v22.15.1-linux-arm64.tar.gz
|
||||
f4ae8ddf7487dfaf7da92fef463ee55cc29d8772d62891361dc3fc8b8e469205 node-v22.15.1-linux-arm64.tar.xz
|
||||
346426e2bca62c98fb12213c39e80b0e349d7620238f74b7208d12e18fde87fd node-v22.15.1-linux-armv7l.tar.gz
|
||||
6947386b4c8373b625c6a49b5571bf2226dac7c7b560a9a561a1f81bf71a25ef node-v22.15.1-linux-armv7l.tar.xz
|
||||
156518af6901fb134ddde5f4b7ee39e047c4154480c3dd93030912a5d3f87097 node-v22.15.1-linux-ppc64le.tar.gz
|
||||
da07858c6404dbe7c627bd7baea33c7825640652ad24468a6feb23c770cf7ce4 node-v22.15.1-linux-ppc64le.tar.xz
|
||||
6b5a9615b66e553189578a4be33099f70add96c3b00bf38b7dcd91825ea1672f node-v22.15.1-linux-s390x.tar.gz
|
||||
7a6206af04399c090aaa7b3d568b1540e127b50931f5022ff2eaf680fc32a9c6 node-v22.15.1-linux-s390x.tar.xz
|
||||
f4b8eec683708acb1a2a73c7182ba2de5466a5dd5f705934a0830903df28821c node-v22.15.1-linux-x64.tar.gz
|
||||
7dca2ab34ec817aa4781e2e99dfd34d349eff9be86e5d5fbaa7e96cae8ee3179 node-v22.15.1-linux-x64.tar.xz
|
||||
2cafb8c5ee545d387409b6dab34b3552c90e247b7d2bd3964a68f42b26b3e8bf node-v22.15.1-win-arm64.7z
|
||||
dec85d230d45a6319130cbc844e8ecf8767b150bfeddd340f6b7c4a2e8c3ccb8 node-v22.15.1-win-arm64.zip
|
||||
3abcca34447dace08cecd2bfd7b6521b22bfa89cff7bd70e7cde777218c84d6a node-v22.15.1-win-x64.7z
|
||||
7c7997d6ef2efd9525a54b033fc0be6f22549a5905f5da6573a41e61a436a1b5 node-v22.15.1-win-x64.zip
|
||||
7b9999b5da0933f677ffff2a9ab211aebdcf23b1ed0f2e1db573cea757944103 node-v22.15.1-win-x86.7z
|
||||
dd432043e8c90b7f221bd3ba8e6443fb69e7b8273049fad0669a3a7d66939985 node-v22.15.1-win-x86.zip
|
||||
facb02bdf67cb9a7519c192b504fbfdbf47d8a67f36696d7d91a069b69904398 node-v22.15.1-x64.msi
|
||||
89ef1c6181749a7739f6df58a73aa2127d0c7d6afe0236f5998d69ec98ec2154 node-v22.15.1-x86.msi
|
||||
839f599498d36fabc3f7c940cabbaf14844e6380ba97a91299f7378b69e675c6 node-v22.15.1.pkg
|
||||
38aea029f8818f7783f273fbc70dcf930f9ef54bdd49c5f90c0152caec7a57be node-v22.15.1.tar.gz
|
||||
c19f0177d21c621746625e5f37590bd0d79a72043b77b53784cba5f145e7263e node-v22.15.1.tar.xz
|
||||
e9e669cf7e9772406e3a59cb4b9b606e75eb1d9f454b675e1c78a6aaa542b31d win-arm64/node.exe
|
||||
6c43922c747e0c07fcc4ceb64f08e98854a5c1b31665764076f5783556973d16 win-arm64/node.lib
|
||||
957076a2623c6f9355a21aba2031a7248d411a6f40950e7b710fbf76a666f5e9 win-arm64/node_pdb.7z
|
||||
5ac29419b5aaa475ba0606a021ed5cea77b18df74b5e42d57a706011004f6be4 win-arm64/node_pdb.zip
|
||||
b3191cc083480282f1edaa3324002c320704a00d7564cf1f7c48b610d1c060b6 win-x64/node.exe
|
||||
e731ad9af05eabe6bd941442b19dd6037f559a19a2fa8df2a8297ccb46ed7577 win-x64/node.lib
|
||||
84eec3bf646e04287fef10dc110a7aa82a4304ddcbd0b148aa90c0d44b08ea1d win-x64/node_pdb.7z
|
||||
b8b3364ad0735d45c25fb19c8b49f4c5e0c72a94f5d8fa44abddd80c15715538 win-x64/node_pdb.zip
|
||||
ddd0ef952950dcaa7f705bdde5f4fd0c8a78a7c6db6dad32f8e13e3b120ad5e4 win-x86/node.exe
|
||||
5f66397542e27adb288e1742720cedbeaba8a2034ebd58397306b2905f4acd2d win-x86/node.lib
|
||||
e5bd0ae9dc388aa4fd72067e3239333537c42329746124437c32b81ff2291ef4 win-x86/node_pdb.7z
|
||||
b5e39e2168abe7c9418f2cebcd813db9c1a0841274b1405aeffe13ffef74c264 win-x86/node_pdb.zip
|
||||
|
||||
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
mtime: 1718363377
|
||||
commit: 14d7a608740ffd1a68e6218e720faa929a9018a6da2cfef606a944521ae26ce7
|
||||
url: https://src.opensuse.org/nodejs/nodejs22.git
|
||||
@@ -2,23 +2,10 @@ Author: Adam Majer <amajer@suse.de>
|
||||
Date: Dec 20 09:18:49 UTC 2017
|
||||
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.14.0/test/parallel/test-module-loading-globalpaths.js
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/test/parallel/test-node-output-v8-warning.mjs
|
||||
+++ node-v22.3.0/test/parallel/test-node-output-v8-warning.mjs
|
||||
@@ -15,7 +15,7 @@ describe('v8 output', { concurrency: !pr
|
||||
.replaceAll('*test*', '*')
|
||||
.replaceAll(/.*?\*fixtures\*v8\*/g, '(node:*) V8: *') // Replace entire path before fixtures/v8
|
||||
.replaceAll('*fixtures*v8*', '*')
|
||||
- .replaceAll('node --', '* --');
|
||||
+ .replace(/node\d+ --/, '* --');
|
||||
}
|
||||
const common = snapshot
|
||||
.transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceNodeVersion);
|
||||
Index: node-v22.3.0/test/parallel/test-module-loading-globalpaths.js
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/test/parallel/test-module-loading-globalpaths.js
|
||||
+++ node-v22.3.0/test/parallel/test-module-loading-globalpaths.js
|
||||
--- node-v22.14.0.orig/test/parallel/test-module-loading-globalpaths.js
|
||||
+++ node-v22.14.0/test/parallel/test-module-loading-globalpaths.js
|
||||
@@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c
|
||||
|
||||
addLibraryPath(process.env);
|
||||
@@ -29,10 +16,10 @@ Index: node-v22.3.0/test/parallel/test-module-loading-globalpaths.js
|
||||
if (process.argv[2] === 'child') {
|
||||
console.log(require(pkgName).string);
|
||||
} else {
|
||||
Index: node-v22.3.0/test/parallel/test-tls-passphrase.js
|
||||
Index: node-v22.14.0/test/parallel/test-tls-passphrase.js
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/test/parallel/test-tls-passphrase.js
|
||||
+++ node-v22.3.0/test/parallel/test-tls-passphrase.js
|
||||
--- node-v22.14.0.orig/test/parallel/test-tls-passphrase.js
|
||||
+++ node-v22.14.0/test/parallel/test-tls-passphrase.js
|
||||
@@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio
|
||||
}, onSecureConnect());
|
||||
})).unref();
|
||||
@@ -42,10 +29,10 @@ Index: node-v22.3.0/test/parallel/test-tls-passphrase.js
|
||||
|
||||
// Missing passphrase
|
||||
assert.throws(function() {
|
||||
Index: node-v22.3.0/test/parallel/test-repl-envvars.js
|
||||
Index: node-v22.14.0/test/parallel/test-repl-envvars.js
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/test/parallel/test-repl-envvars.js
|
||||
+++ node-v22.3.0/test/parallel/test-repl-envvars.js
|
||||
--- node-v22.14.0.orig/test/parallel/test-repl-envvars.js
|
||||
+++ node-v22.14.0/test/parallel/test-repl-envvars.js
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
// Flags: --expose-internals
|
||||
@@ -57,11 +44,11 @@ Index: node-v22.3.0/test/parallel/test-repl-envvars.js
|
||||
const stream = require('stream');
|
||||
const { describe, test } = require('node:test');
|
||||
const REPL = require('internal/repl');
|
||||
Index: node-v22.3.0/Makefile
|
||||
Index: node-v22.14.0/Makefile
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/Makefile
|
||||
+++ node-v22.3.0/Makefile
|
||||
@@ -393,7 +393,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
|
||||
--- node-v22.14.0.orig/Makefile
|
||||
+++ node-v22.14.0/Makefile
|
||||
@@ -399,7 +399,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
|
||||
$(wildcard deps/uv/include/*/*.h) \
|
||||
$(wildcard deps/v8/include/*.h) \
|
||||
$(wildcard deps/v8/include/*/*.h) \
|
||||
@@ -69,17 +56,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_api_types.h src/node_buffer.h src/node_object_wrap.h \
|
||||
src/node_version.h
|
||||
@@ -565,7 +564,8 @@ test-ci-js: | clear-stalled
|
||||
.PHONY: test-ci
|
||||
@@ -593,6 +592,7 @@ test-ci-js: | clear-stalled ## Build and
|
||||
# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
|
||||
test-ci: LOGLEVEL := info
|
||||
-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
|
||||
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 build-sqlite-tests doc-only
|
||||
+ strip $(NODE_EXE)
|
||||
out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
|
||||
$(PYTHON) tools/test.py $(PARALLEL_ARGS) -p tap --logfile test.tap \
|
||||
--mode=$(BUILDTYPE_LOWER) --flaky-tests=$(FLAKY_TESTS) \
|
||||
@@ -747,7 +747,8 @@ apidocs_json = $(addprefix out/,$(apidoc
|
||||
@@ -787,7 +787,8 @@ apidocs_json = $(addprefix out/,$(apidoc
|
||||
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
|
||||
|
||||
tools/doc/node_modules: tools/doc/package.json
|
||||
@@ -89,10 +74,10 @@ Index: node-v22.3.0/Makefile
|
||||
echo "Skipping tools/doc/node_modules (no crypto)"; \
|
||||
else \
|
||||
cd tools/doc && $(call available-node,$(run-npm-ci)) \
|
||||
Index: node-v22.3.0/tools/test.py
|
||||
Index: node-v22.14.0/tools/test.py
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/tools/test.py
|
||||
+++ node-v22.3.0/tools/test.py
|
||||
--- node-v22.14.0.orig/tools/test.py
|
||||
+++ node-v22.14.0/tools/test.py
|
||||
@@ -1386,7 +1386,7 @@ def BuildOptions():
|
||||
result.add_option("-s", "--suite", help="A test suite",
|
||||
default=[], action="append")
|
||||
@@ -102,16 +87,43 @@ Index: node-v22.3.0/tools/test.py
|
||||
result.add_option("--arch", help='The architecture to run tests for',
|
||||
default='none')
|
||||
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.14.0/test/parallel/test-crypto-dh.js
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/test/parallel/test-crypto-dh.js
|
||||
+++ node-v22.3.0/test/parallel/test-crypto-dh.js
|
||||
@@ -92,7 +92,7 @@ const crypto = require('crypto');
|
||||
--- node-v22.14.0.orig/test/parallel/test-crypto-dh.js
|
||||
+++ node-v22.14.0/test/parallel/test-crypto-dh.js
|
||||
@@ -98,7 +98,7 @@ const {
|
||||
dh3.computeSecret('');
|
||||
}, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ?
|
||||
'error:02800080:Diffie-Hellman routines::invalid secret' :
|
||||
}, { message: hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ?
|
||||
'Unspecified validation error' :
|
||||
- 'Supplied key is too small' });
|
||||
+ /(Supplied key is too small|invalid public key)/ });
|
||||
}
|
||||
}
|
||||
|
||||
Index: node-v22.14.0/test/parallel/test-dns.js
|
||||
===================================================================
|
||||
--- node-v22.14.0.orig/test/parallel/test-dns.js
|
||||
+++ node-v22.14.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');
|
||||
Index: node-v22.14.0/test/wpt/test-webcrypto.js
|
||||
===================================================================
|
||||
--- node-v22.14.0.orig/test/wpt/test-webcrypto.js
|
||||
+++ node-v22.14.0/test/wpt/test-webcrypto.js
|
||||
@@ -1,7 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
-if (!common.hasCrypto)
|
||||
+const os = require('os')
|
||||
+if (!common.hasCrypto || os.arch() == 's390x')
|
||||
common.skip('missing crypto');
|
||||
|
||||
const { WPTRunner } = require('../common/wpt');
|
||||
|
||||
73
icu_732.patch
Normal file
73
icu_732.patch
Normal file
@@ -0,0 +1,73 @@
|
||||
23c23
|
||||
< "hi": "25/7/1980, पू 1:35:33",
|
||||
---
|
||||
> "hi": "25/7/1980, 1:35:33 am",
|
||||
26c26
|
||||
< "ar": "25/7/1980، 1:35:33 ص",
|
||||
---
|
||||
> "ar": "٢٥/٧/١٩٨٠، ١:٣٥:٣٣ ص",
|
||||
30c30
|
||||
< "ur": "25/7/1980، 1:35:33 ق.د.",
|
||||
---
|
||||
> "ur": "25/7/1980، 1:35:33 AM",
|
||||
44c44
|
||||
< "ar": "25/7/1980",
|
||||
---
|
||||
> "ar": "٢٥/٧/١٩٨٠",
|
||||
80c80
|
||||
< "ar": "275,760.913",
|
||||
---
|
||||
> "ar": "٢٧٥٬٧٦٠٫٩١٣",
|
||||
116c116
|
||||
< "ar": "قبل 586,920.617 ساعة",
|
||||
---
|
||||
> "ar": "قبل ٥٨٦٬٩٢٠٫٦١٧ ساعة",
|
||||
Index: node-v22.15.1/test/fixtures/icu/localizationData-v74.2.json
|
||||
===================================================================
|
||||
--- node-v22.15.1.orig/test/fixtures/icu/localizationData-v74.2.json
|
||||
+++ node-v22.15.1/test/fixtures/icu/localizationData-v74.2.json
|
||||
@@ -20,14 +20,14 @@
|
||||
"dateTimeFormats": {
|
||||
"en": "7/25/1980, 1:35:33 AM",
|
||||
"zh": "1980/7/25 01:35:33",
|
||||
- "hi": "25/7/1980, पू 1:35:33",
|
||||
+ "hi": "25/7/1980, 1:35:33 am",
|
||||
"es": "25/7/1980, 1:35:33",
|
||||
"fr": "25/07/1980 01:35:33",
|
||||
- "ar": "25/7/1980، 1:35:33 ص",
|
||||
+ "ar": "٢٥/٧/١٩٨٠، ١:٣٥:٣٣ ص",
|
||||
"bn": "২৫/৭/১৯৮০, ১:৩৫:৩৩ AM",
|
||||
"ru": "25.07.1980, 01:35:33",
|
||||
"pt": "25/07/1980, 01:35:33",
|
||||
- "ur": "25/7/1980، 1:35:33 ق.د.",
|
||||
+ "ur": "25/7/1980، 1:35:33 AM",
|
||||
"id": "25/7/1980, 01.35.33",
|
||||
"de": "25.7.1980, 01:35:33",
|
||||
"ja": "1980/7/25 1:35:33",
|
||||
@@ -41,7 +41,7 @@
|
||||
"hi": "25/7/1980",
|
||||
"es": "25/7/1980",
|
||||
"fr": "25/07/1980",
|
||||
- "ar": "25/7/1980",
|
||||
+ "ar": "٢٥/٧/١٩٨٠",
|
||||
"bn": "২৫/৭/১৯৮০",
|
||||
"ru": "25.07.1980",
|
||||
"pt": "25/07/1980",
|
||||
@@ -77,7 +77,7 @@
|
||||
"hi": "2,75,760.913",
|
||||
"es": "275.760,913",
|
||||
"fr": "275 760,913",
|
||||
- "ar": "275,760.913",
|
||||
+ "ar": "٢٧٥٬٧٦٠٫٩١٣",
|
||||
"bn": "২,৭৫,৭৬০.৯১৩",
|
||||
"ru": "275 760,913",
|
||||
"pt": "275.760,913",
|
||||
@@ -113,7 +113,7 @@
|
||||
"hi": "5,86,920.617 घंटे पहले",
|
||||
"es": "hace 586.920,617 horas",
|
||||
"fr": "il y a 586 920,617 heures",
|
||||
- "ar": "قبل 586,920.617 ساعة",
|
||||
+ "ar": "قبل ٥٨٦٬٩٢٠٫٦١٧ ساعة",
|
||||
"bn": "৫,৮৬,৯২০.৬১৭ ঘন্টা আগে",
|
||||
"ru": "586 920,617 часа назад",
|
||||
"pt": "há 586.920,617 horas",
|
||||
@@ -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
|
||||
upward of 5G RAM
|
||||
|
||||
Index: node-v22.2.0/node.gyp
|
||||
Index: node-v22.13.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v22.2.0.orig/node.gyp
|
||||
+++ node-v22.2.0/node.gyp
|
||||
@@ -1167,6 +1167,7 @@
|
||||
'deps/simdjson/simdjson.gyp:simdjson',
|
||||
'deps/simdutf/simdutf.gyp:simdutf',
|
||||
'deps/ada/ada.gyp:ada',
|
||||
+ 'fuzz_env'
|
||||
--- node-v22.13.0.orig/node.gyp
|
||||
+++ node-v22.13.0/node.gyp
|
||||
@@ -1180,6 +1180,7 @@
|
||||
'deps/googletest/googletest.gyp:gtest_main',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
+ 'fuzz_env'
|
||||
],
|
||||
|
||||
'includes': [
|
||||
@@ -1241,6 +1242,7 @@
|
||||
@@ -1257,6 +1258,7 @@
|
||||
'<(node_lib_target_name)',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/ada/ada.gyp:ada',
|
||||
+ 'cctest'
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
+ 'cctest'
|
||||
],
|
||||
|
||||
'includes': [
|
||||
|
||||
BIN
node-v22.15.1.tar.xz
LFS
Normal file
BIN
node-v22.15.1.tar.xz
LFS
Normal file
Binary file not shown.
BIN
node-v22.3.0.tar.xz
LFS
BIN
node-v22.3.0.tar.xz
LFS
Binary file not shown.
@@ -1,16 +1,16 @@
|
||||
Index: node-v20.12.0/tools/install.py
|
||||
Index: node-v22.12.0/tools/install.py
|
||||
===================================================================
|
||||
--- node-v20.12.0.orig/tools/install.py
|
||||
+++ node-v20.12.0/tools/install.py
|
||||
@@ -6,6 +6,7 @@ import errno
|
||||
import os
|
||||
--- node-v22.12.0.orig/tools/install.py
|
||||
+++ node-v22.12.0/tools/install.py
|
||||
@@ -7,6 +7,7 @@ import os
|
||||
import platform
|
||||
import shutil
|
||||
import sys
|
||||
+from distutils import sysconfig
|
||||
import re
|
||||
|
||||
def abspath(*args):
|
||||
@@ -66,6 +67,10 @@ def try_copy(options, path, dest):
|
||||
current_system = platform.system()
|
||||
@@ -72,6 +73,10 @@ def try_copy(options, path, dest):
|
||||
try_unlink(target_path) # prevent ETXTBSY errors
|
||||
return shutil.copy2(source_path, target_path)
|
||||
|
||||
@@ -21,7 +21,7 @@ Index: node-v20.12.0/tools/install.py
|
||||
def try_remove(options, path, dest):
|
||||
source_path, target_path = mkpaths(options, path, dest)
|
||||
if not options.silent:
|
||||
@@ -82,7 +87,7 @@ def uninstall(options, paths, dest):
|
||||
@@ -88,7 +93,7 @@ def uninstall(options, paths, dest):
|
||||
try_remove(options, path, dest)
|
||||
|
||||
def package_files(options, action, name, bins):
|
||||
@@ -30,7 +30,7 @@ Index: node-v20.12.0/tools/install.py
|
||||
|
||||
# don't install npm if the target path is a symlink, it probably means
|
||||
# that a dev version of npm is installed there
|
||||
@@ -103,7 +108,7 @@ def package_files(options, action, name,
|
||||
@@ -109,7 +114,7 @@ def package_files(options, action, name,
|
||||
if action == uninstall:
|
||||
action(options, [link_path], os.path.join('bin', bin_name))
|
||||
elif action == install:
|
||||
@@ -39,11 +39,11 @@ Index: node-v20.12.0/tools/install.py
|
||||
else:
|
||||
assert 0 # unhandled action type
|
||||
|
||||
Index: node-v20.12.0/lib/internal/modules/cjs/loader.js
|
||||
Index: node-v22.12.0/lib/internal/modules/cjs/loader.js
|
||||
===================================================================
|
||||
--- node-v20.12.0.orig/lib/internal/modules/cjs/loader.js
|
||||
+++ node-v20.12.0/lib/internal/modules/cjs/loader.js
|
||||
@@ -1529,7 +1529,7 @@ Module._initPaths = function() {
|
||||
--- node-v22.12.0.orig/lib/internal/modules/cjs/loader.js
|
||||
+++ node-v22.12.0/lib/internal/modules/cjs/loader.js
|
||||
@@ -1798,7 +1798,7 @@ Module._initPaths = function() {
|
||||
path.resolve(process.execPath, '..') :
|
||||
path.resolve(process.execPath, '..', '..');
|
||||
|
||||
|
||||
BIN
nodejs.keyring
BIN
nodejs.keyring
Binary file not shown.
205
nodejs22.changes
205
nodejs22.changes
@@ -1,3 +1,208 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 15:58:24 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.15.1
|
||||
* fix error handling on async crypto operation (bsc#1243218, CVE-2025-23166)
|
||||
* add missing call to uv_fs_req_cleanup (bsc#1243217, CVE-2025-23165)
|
||||
|
||||
- changes since 22.15.0:
|
||||
* dns: add TLSA record query and parsing
|
||||
* assert: improve partialDeepStrictEqual
|
||||
* process: add execve
|
||||
* tls: implement tls.getCACertificates()
|
||||
* v8: add v8.getCppHeapStatistics() method
|
||||
|
||||
- old_cares.patch: dropped in favour of bundling until we can update SLE15 cares
|
||||
- icu_732.patch: handle our ICU version in SLE15
|
||||
- fab6906c5d1c16b046187485a7cb136b3659d42b.patch: dropped, upstreamed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 23 14:46:18 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- drop http2 priority checks as new nghttp2 dropped this
|
||||
unused feature
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 09:14:51 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- fab6906c5d1c16b046187485a7cb136b3659d42b.patch: fix build with
|
||||
OpenSSL 3.5.0 (bsc#1241050)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 09:47:03 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.14.0
|
||||
* fs: allow exclude option in globs to accept glob patterns
|
||||
* lib: add typescript support to STDIN eval
|
||||
* module: add ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX
|
||||
* module: add findPackageJSON util
|
||||
* process: add process.ref() and process.unref() methods
|
||||
* sqlite: support TypedArray and DataView in StatementSync
|
||||
* src: add --disable-sigusr1 to prevent signal i/o thread
|
||||
* src,worker: add isInternalWorker
|
||||
* test_runner: add TestContext.prototype.waitFor()
|
||||
* test_runner: add t.assert.fileSnapshot()
|
||||
* test_runner: add assert.register() API
|
||||
* worker: add eval ts input
|
||||
|
||||
- openssl_binary_detection.patch fix_ci_tests.patch: refreshed
|
||||
- Build with PIE (bsc#1239949)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 10:10:36 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.13.1:
|
||||
* src,loader,permission: throw on InternalWorker use when
|
||||
permission model is enabled (bsc#1236251, CVE-2025-23083)
|
||||
* src: fix HTTP2 mem leak on premature close and ERR_PROTO
|
||||
(bsc#1236250, CVE-2025-23085)
|
||||
* deps: Use of Insufficiently Random Values in undici fetch()
|
||||
(bsc#1236258, CVE-2025-22150)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 15:00:55 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.13.0:
|
||||
* Upgrades the Permission Model status from Active Development to Stable.
|
||||
* Graduate WebCryptoAPI Ed25519 and X25519 algorithms as stable
|
||||
* net: support blocklist in net.connect and net.Server
|
||||
* dgram: support blocklist in udp
|
||||
* deps updated:
|
||||
> cares -- '1.34.3' -> '1.34.4'
|
||||
> ngtcp2 -- '1.3.0' -> '1.9.1'
|
||||
> npm -- '10.9.0' -> '10.9.2'
|
||||
> simdjson -- '3.10.0' -> '3.10.1'
|
||||
> simdutf -- '5.6.1' -> '5.6.4'
|
||||
> uv -- '1.49.1' -> '1.49.2'
|
||||
- CVE-2024-21538.patch: upstreamed, dropped
|
||||
- linker_lto_jobs.patch: refreshed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 30 22:17:20 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- test/report/test-report-exclude-network.js - removed unit tests that fail in staging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 12:56:09 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- fix_ci_tests.patch: skip wpt/test-webcrypto on s390x as it has
|
||||
unexpected differences between z13 and z15
|
||||
- external sqlite support only on TW and SLFO
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 13:53:22 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- add python3-setuptools requirements (needed for python 3.13+)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 16:59:08 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.12.0:
|
||||
* require(esm) is now enabled by default
|
||||
* Added resizable ArrayBuffer support in Buffer
|
||||
|
||||
- CVE-2024-21538.patch: fixes regular expression denial of service
|
||||
(bsc#1233856, CVE-2024-21538)
|
||||
- icu76.1.patch: upstreamed, dropped
|
||||
- linker_lto_jobs.patch, nodejs-libpath.patch, fix_ci_tests.patch: refreshed
|
||||
- nodejs.keyring: updated with upstream releaser list
|
||||
- old_cares.patch: fix with older c-ares
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 10:04:23 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- BuildRequire python311 for SLE15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 18 12:02:26 UTC 2024 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.11.0:
|
||||
* This release marks the transition of Node.js 22.x into
|
||||
Long Term Support (LTS) with the codename 'Jod'.
|
||||
Other than updating metadata, such as the process.release object,
|
||||
to reflect that the release is LTS, no further changes from
|
||||
Node.js 22.10.0 are included.
|
||||
|
||||
- icu76.1.patch: fix linking to ICU 76.1 (bsc#1232061)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
236
nodejs22.spec
236
nodejs22.spec
@@ -31,7 +31,7 @@
|
||||
%endif
|
||||
|
||||
Name: nodejs22
|
||||
Version: 22.3.0
|
||||
Version: 22.15.1
|
||||
Release: 0
|
||||
|
||||
# Double DWZ memory limits
|
||||
@@ -93,7 +93,7 @@ ExclusiveArch do_not_build
|
||||
%bcond_without intree_openssl
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1330 || 0%{?fedora_version} >= 35
|
||||
%if 0%{?suse_version} >= 1550 || 0%{?fedora_version} >= 35
|
||||
%bcond_with intree_cares
|
||||
%else
|
||||
%bcond_without intree_cares
|
||||
@@ -170,6 +170,7 @@ Patch132: test-skip-y2038-on-32bit-time_t.patch
|
||||
Patch200: versioned.patch
|
||||
|
||||
Patch305: qemu_timeouts_arches.patch
|
||||
Patch306: icu_732.patch
|
||||
Patch307: v8-i586.patch
|
||||
Patch309: gcc13.patch
|
||||
|
||||
@@ -194,10 +195,10 @@ BuildRequires: config(netcfg)
|
||||
%if 0%{?suse_version} == 1110
|
||||
# GCC 5 is only available in the SUSE:SLE-11:SP4:Update repository (SDK).
|
||||
%if %node_version_number >= 8
|
||||
BuildRequires: gcc5-c++
|
||||
BuildRequires: gcc5-c++
|
||||
%define forced_gcc_version 5
|
||||
%else
|
||||
BuildRequires: gcc48-c++
|
||||
BuildRequires: gcc48-c++
|
||||
%define forced_gcc_version 4.8
|
||||
%endif
|
||||
%endif
|
||||
@@ -207,15 +208,16 @@ BuildRequires: gcc48-c++
|
||||
# for SLE-12:Update targets
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if %node_version_number >= 17
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-PIE
|
||||
%define forced_gcc_version 12
|
||||
%else
|
||||
%if %node_version_number >= 14
|
||||
BuildRequires: gcc9-c++
|
||||
BuildRequires: gcc9-c++
|
||||
%define forced_gcc_version 9
|
||||
%else
|
||||
%if %node_version_number >= 8
|
||||
BuildRequires: gcc7-c++
|
||||
BuildRequires: gcc7-c++
|
||||
%define forced_gcc_version 7
|
||||
%endif
|
||||
%endif
|
||||
@@ -224,7 +226,8 @@ BuildRequires: gcc7-c++
|
||||
|
||||
%if 0%{?suse_version} == 1500
|
||||
%if %node_version_number >= 17
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-PIE
|
||||
%define forced_gcc_version 12
|
||||
%endif
|
||||
%endif
|
||||
@@ -239,11 +242,19 @@ BuildRequires: gcc-c++
|
||||
# Python dependencies
|
||||
%if %node_version_number >= 14
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} < 1500
|
||||
BuildRequires: python36
|
||||
%define forced_python_version 3.6m
|
||||
%else
|
||||
%endif
|
||||
%if %{?suse_version} == 1500
|
||||
BuildRequires: python311
|
||||
%define forced_python_version 3.11
|
||||
%endif
|
||||
%if %{?suse_version} > 1500
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-setuptools
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%else
|
||||
@@ -292,7 +303,7 @@ BuildRequires: openssl >= %{openssl_req_ver}
|
||||
%else
|
||||
# bundled openssl
|
||||
%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
|
||||
BuildRequires: bundled_openssl_should_not_be_required
|
||||
%endif
|
||||
@@ -303,19 +314,23 @@ BuildRequires: bundled_openssl_should_not_be_required
|
||||
%if ! 0%{with intree_cares}
|
||||
BuildRequires: pkgconfig(libcares) >= 1.17.0
|
||||
%else
|
||||
Provides: bundled(libcares2) = 1.29.0
|
||||
Provides: bundled(libcares2) = 1.34.5
|
||||
%endif
|
||||
|
||||
%if %node_version_number >= 22 && 0%{?suse_version} > 1500
|
||||
BuildRequires: sqlite3-devel
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_icu}
|
||||
BuildRequires: pkgconfig(icu-i18n) >= 71
|
||||
%else
|
||||
Provides: bundled(icu) = 75.1
|
||||
Provides: bundled(icu) = 76.1
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_nghttp2}
|
||||
BuildRequires: libnghttp2-devel >= 1.41.0
|
||||
%else
|
||||
Provides: bundled(nghttp2) = 1.62.1
|
||||
Provides: bundled(nghttp2) = 1.64.0
|
||||
%endif
|
||||
|
||||
%if 0%{with valgrind_tests}
|
||||
@@ -365,8 +380,8 @@ ExclusiveArch: not_buildable
|
||||
%endif
|
||||
|
||||
Provides: bundled(uvwasi) = 0.0.21
|
||||
Provides: bundled(libuv) = 1.48.0
|
||||
Provides: bundled(v8) = 12.4.254.20
|
||||
Provides: bundled(libuv) = 1.49.2
|
||||
Provides: bundled(v8) = 12.4.254.21
|
||||
%if %{with intree_brotli}
|
||||
Provides: bundled(brotli) = 1.1.0
|
||||
%else
|
||||
@@ -375,19 +390,20 @@ BuildRequires: pkgconfig(libbrotlidec)
|
||||
|
||||
|
||||
Provides: bundled(llhttp) = 9.2.1
|
||||
Provides: bundled(ngtcp2) = 1.3.0
|
||||
Provides: bundled(ngtcp2) = 1.9.1
|
||||
|
||||
Provides: bundled(simdutf) = 5.2.8
|
||||
Provides: bundled(simdjson) = 3.9.3
|
||||
Provides: bundled(simdutf) = 5.6.4
|
||||
Provides: bundled(simdjson) = 3.10.1
|
||||
# bundled url-ada parser, not ada
|
||||
Provides: bundled(ada) = 2.8.0
|
||||
Provides: bundled(ada) = 2.9.2
|
||||
|
||||
Provides: bundled(node-acorn) = 8.11.3
|
||||
Provides: bundled(node-acorn-walk) = 8.3.2
|
||||
Provides: bundled(node-cjs-module-lexer) = 1.2.2
|
||||
Provides: bundled(node-corepack) = 0.28.2
|
||||
Provides: bundled(node-minimatch) = 9.0.4
|
||||
Provides: bundled(node-undici) = 6.18.2
|
||||
Provides: bundled(node-acorn) = 8.14.1
|
||||
Provides: bundled(node-acorn-walk) = 8.3.4
|
||||
Provides: bundled(node-amaro) = 0.4.1
|
||||
Provides: bundled(node-cjs-module-lexer) = 2.1.0
|
||||
Provides: bundled(node-corepack) = 0.32.0
|
||||
Provides: bundled(node-minimatch) = 10.0.1
|
||||
Provides: bundled(node-undici) = 6.21.2
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@@ -416,7 +432,7 @@ Requires: nodejs-common
|
||||
Requires: nodejs22 = %{version}
|
||||
Provides: nodejs-npm = %{version}
|
||||
Obsoletes: nodejs-npm < 4.0.0
|
||||
Provides: npm(npm) = 10.8.1
|
||||
Provides: npm(npm) = 10.9.2
|
||||
Provides: npm = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
@@ -425,32 +441,34 @@ Requires: group(nobody)
|
||||
%endif
|
||||
%endif
|
||||
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-aggregate-error) = 3.1.0
|
||||
Provides: bundled(node-ansi-regex) = 5.0.1
|
||||
Provides: bundled(node-ansi-regex) = 6.0.1
|
||||
Provides: bundled(node-ansi-regex) = 6.1.0
|
||||
Provides: bundled(node-ansi-styles) = 4.3.0
|
||||
Provides: bundled(node-ansi-styles) = 6.2.1
|
||||
Provides: bundled(node-aproba) = 2.0.0
|
||||
Provides: bundled(node-archy) = 1.0.0
|
||||
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-brace-expansion) = 2.0.1
|
||||
Provides: bundled(node-cacache) = 18.0.3
|
||||
Provides: bundled(node-cacache) = 19.0.1
|
||||
Provides: bundled(node-chalk) = 5.3.0
|
||||
Provides: bundled(node-chownr) = 2.0.0
|
||||
Provides: bundled(node-ci-info) = 4.0.0
|
||||
Provides: bundled(node-chownr) = 3.0.0
|
||||
Provides: bundled(node-ci-info) = 4.1.0
|
||||
Provides: bundled(node-cidr-regex) = 4.1.1
|
||||
Provides: bundled(node-clean-stack) = 2.2.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-name) = 1.1.4
|
||||
Provides: bundled(node-common-ancestor-path) = 1.0.1
|
||||
Provides: bundled(node-cross-spawn) = 7.0.3
|
||||
Provides: bundled(node-cross-spawn) = 7.0.6
|
||||
Provides: bundled(node-cssesc) = 3.0.0
|
||||
Provides: bundled(node-debug) = 4.3.4
|
||||
Provides: bundled(node-debug) = 4.3.7
|
||||
Provides: bundled(node-diff) = 5.2.0
|
||||
Provides: bundled(node-eastasianwidth) = 0.2.0
|
||||
Provides: bundled(node-emoji-regex) = 8.0.0
|
||||
@@ -460,137 +478,138 @@ Provides: bundled(node-env-paths) = 2.2.1
|
||||
Provides: bundled(node-err-code) = 2.0.3
|
||||
Provides: bundled(node-exponential-backoff) = 3.1.1
|
||||
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) = 3.0.3
|
||||
Provides: bundled(node-function-bind) = 1.1.2
|
||||
Provides: bundled(node-glob) = 10.4.1
|
||||
Provides: bundled(node-glob) = 10.4.5
|
||||
Provides: bundled(node-graceful-fs) = 4.2.11
|
||||
Provides: bundled(node-hasown) = 2.0.2
|
||||
Provides: bundled(node-hosted-git-info) = 7.0.2
|
||||
Provides: bundled(node-hosted-git-info) = 8.0.2
|
||||
Provides: bundled(node-http-cache-semantics) = 4.1.1
|
||||
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-ignore-walk) = 6.0.5
|
||||
Provides: bundled(node-ignore-walk) = 7.0.0
|
||||
Provides: bundled(node-imurmurhash) = 0.1.4
|
||||
Provides: bundled(node-indent-string) = 4.0.0
|
||||
Provides: bundled(node-ini) = 4.1.3
|
||||
Provides: bundled(node-init-package-json) = 6.0.3
|
||||
Provides: bundled(node-ini) = 5.0.0
|
||||
Provides: bundled(node-init-package-json) = 7.0.2
|
||||
Provides: bundled(node-ip-address) = 9.0.5
|
||||
Provides: bundled(node-ip-regex) = 5.0.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-lambda) = 1.0.1
|
||||
Provides: bundled(node-isexe) = 2.0.0
|
||||
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-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-jsonparse) = 1.3.1
|
||||
Provides: bundled(node-just-diff) = 6.0.2
|
||||
Provides: bundled(node-just-diff-apply) = 5.5.0
|
||||
Provides: bundled(node-libnpmaccess) = 8.0.6
|
||||
Provides: bundled(node-libnpmdiff) = 6.1.3
|
||||
Provides: bundled(node-libnpmexec) = 8.1.2
|
||||
Provides: bundled(node-libnpmfund) = 5.0.11
|
||||
Provides: bundled(node-libnpmhook) = 10.0.5
|
||||
Provides: bundled(node-libnpmorg) = 6.0.6
|
||||
Provides: bundled(node-libnpmpack) = 7.0.3
|
||||
Provides: bundled(node-libnpmpublish) = 9.0.9
|
||||
Provides: bundled(node-libnpmsearch) = 7.0.6
|
||||
Provides: bundled(node-libnpmteam) = 6.0.5
|
||||
Provides: bundled(node-libnpmversion) = 6.0.3
|
||||
Provides: bundled(node-lru-cache) = 10.2.2
|
||||
Provides: bundled(node-make-fetch-happen) = 13.0.1
|
||||
Provides: bundled(node-minimatch) = 9.0.4
|
||||
Provides: bundled(node-libnpmaccess) = 9.0.0
|
||||
Provides: bundled(node-libnpmdiff) = 7.0.0
|
||||
Provides: bundled(node-libnpmexec) = 9.0.0
|
||||
Provides: bundled(node-libnpmfund) = 6.0.0
|
||||
Provides: bundled(node-libnpmhook) = 11.0.0
|
||||
Provides: bundled(node-libnpmorg) = 7.0.0
|
||||
Provides: bundled(node-libnpmpack) = 8.0.0
|
||||
Provides: bundled(node-libnpmpublish) = 10.0.1
|
||||
Provides: bundled(node-libnpmsearch) = 8.0.0
|
||||
Provides: bundled(node-libnpmteam) = 7.0.0
|
||||
Provides: bundled(node-libnpmversion) = 7.0.0
|
||||
Provides: bundled(node-lru-cache) = 10.4.3
|
||||
Provides: bundled(node-make-fetch-happen) = 14.0.3
|
||||
Provides: bundled(node-minimatch) = 9.0.5
|
||||
Provides: bundled(node-minipass) = 3.3.6
|
||||
Provides: bundled(node-minipass) = 5.0.0
|
||||
Provides: bundled(node-minipass) = 7.1.2
|
||||
Provides: bundled(node-minipass-collect) = 2.0.1
|
||||
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-json-stream) = 1.0.1
|
||||
Provides: bundled(node-minipass-pipeline) = 1.2.4
|
||||
Provides: bundled(node-minipass-sized) = 1.0.3
|
||||
Provides: bundled(node-minizlib) = 2.1.2
|
||||
Provides: bundled(node-minizlib) = 3.0.1
|
||||
Provides: bundled(node-mkdirp) = 1.0.4
|
||||
Provides: bundled(node-ms) = 2.1.2
|
||||
Provides: bundled(node-mkdirp) = 3.0.1
|
||||
Provides: bundled(node-ms) = 2.1.3
|
||||
Provides: bundled(node-mute-stream) = 1.0.0
|
||||
Provides: bundled(node-negotiator) = 0.6.3
|
||||
Provides: bundled(node-node-gyp) = 10.1.0
|
||||
Provides: bundled(node-nopt) = 7.2.1
|
||||
Provides: bundled(node-normalize-package-data) = 6.0.1
|
||||
Provides: bundled(node-npm-audit-report) = 5.0.0
|
||||
Provides: bundled(node-npm-bundled) = 3.0.1
|
||||
Provides: bundled(node-npm-install-checks) = 6.3.0
|
||||
Provides: bundled(node-npm-normalize-package-bin) = 3.0.1
|
||||
Provides: bundled(node-npm-package-arg) = 11.0.2
|
||||
Provides: bundled(node-npm-packlist) = 8.0.2
|
||||
Provides: bundled(node-npm-pick-manifest) = 9.0.1
|
||||
Provides: bundled(node-npm-profile) = 10.0.0
|
||||
Provides: bundled(node-npm-registry-fetch) = 17.0.1
|
||||
Provides: bundled(node-npm-user-validate) = 2.0.1
|
||||
Provides: bundled(node-mute-stream) = 2.0.0
|
||||
Provides: bundled(node-negotiator) = 1.0.0
|
||||
Provides: bundled(node-node-gyp) = 11.0.0
|
||||
Provides: bundled(node-nopt) = 8.0.0
|
||||
Provides: bundled(node-normalize-package-data) = 7.0.0
|
||||
Provides: bundled(node-npm-audit-report) = 6.0.0
|
||||
Provides: bundled(node-npm-bundled) = 4.0.0
|
||||
Provides: bundled(node-npm-install-checks) = 7.1.1
|
||||
Provides: bundled(node-npm-normalize-package-bin) = 4.0.0
|
||||
Provides: bundled(node-npm-package-arg) = 12.0.0
|
||||
Provides: bundled(node-npm-packlist) = 9.0.0
|
||||
Provides: bundled(node-npm-pick-manifest) = 10.0.0
|
||||
Provides: bundled(node-npm-profile) = 11.0.1
|
||||
Provides: bundled(node-npm-registry-fetch) = 18.0.2
|
||||
Provides: bundled(node-npm-user-validate) = 3.0.0
|
||||
Provides: bundled(node-p-map) = 4.0.0
|
||||
Provides: bundled(node-pacote) = 18.0.6
|
||||
Provides: bundled(node-parse-conflict-json) = 3.0.1
|
||||
Provides: bundled(node-p-map) = 7.0.2
|
||||
Provides: bundled(node-package-json-from-dist) = 1.0.1
|
||||
Provides: bundled(node-pacote) = 19.0.1
|
||||
Provides: bundled(node-pacote) = 20.0.0
|
||||
Provides: bundled(node-parse-conflict-json) = 4.0.0
|
||||
Provides: bundled(node-path-key) = 3.1.1
|
||||
Provides: bundled(node-path-scurry) = 1.11.1
|
||||
Provides: bundled(node-postcss-selector-parser) = 6.1.0
|
||||
Provides: bundled(node-proc-log) = 3.0.0
|
||||
Provides: bundled(node-proc-log) = 4.2.0
|
||||
Provides: bundled(node-proggy) = 2.0.0
|
||||
Provides: bundled(node-postcss-selector-parser) = 6.1.2
|
||||
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-call-limit) = 3.0.1
|
||||
Provides: bundled(node-promise-call-limit) = 3.0.2
|
||||
Provides: bundled(node-promise-inflight) = 1.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-read) = 3.0.1
|
||||
Provides: bundled(node-read-cmd-shim) = 4.0.0
|
||||
Provides: bundled(node-read-package-json-fast) = 3.0.2
|
||||
Provides: bundled(node-read) = 4.0.0
|
||||
Provides: bundled(node-read-cmd-shim) = 5.0.0
|
||||
Provides: bundled(node-read-package-json-fast) = 4.0.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-semver) = 7.6.2
|
||||
Provides: bundled(node-semver) = 7.6.3
|
||||
Provides: bundled(node-shebang-command) = 2.0.0
|
||||
Provides: bundled(node-shebang-regex) = 3.0.0
|
||||
Provides: bundled(node-signal-exit) = 4.1.0
|
||||
Provides: bundled(node-sigstore) = 2.3.1
|
||||
Provides: bundled(node-sigstore) = 3.0.0
|
||||
Provides: bundled(node-smart-buffer) = 4.2.0
|
||||
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-exceptions) = 2.5.0
|
||||
Provides: bundled(node-spdx-expression-parse) = 3.0.1
|
||||
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.20
|
||||
Provides: bundled(node-sprintf-js) = 1.1.3
|
||||
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) = 5.1.2
|
||||
Provides: bundled(node-strip-ansi) = 6.0.1
|
||||
Provides: bundled(node-strip-ansi) = 7.1.0
|
||||
Provides: bundled(node-supports-color) = 9.4.0
|
||||
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-tiny-relative-date) = 1.3.0
|
||||
Provides: bundled(node-treeverse) = 3.0.0
|
||||
Provides: bundled(node-tuf-js) = 2.2.1
|
||||
Provides: bundled(node-unique-filename) = 3.0.0
|
||||
Provides: bundled(node-unique-slug) = 4.0.0
|
||||
Provides: bundled(node-tuf-js) = 3.0.1
|
||||
Provides: bundled(node-unique-filename) = 4.0.0
|
||||
Provides: bundled(node-unique-slug) = 5.0.0
|
||||
Provides: bundled(node-util-deprecate) = 1.0.2
|
||||
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-which) = 2.0.2
|
||||
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) = 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) = 5.0.0
|
||||
|
||||
%description -n npm22
|
||||
A package manager for Node.js that allows developers to install and
|
||||
@@ -681,6 +700,7 @@ popd
|
||||
%patch -P 200 -p1
|
||||
|
||||
%patch -P 305 -p1
|
||||
%patch -P 306 -p1
|
||||
%patch -P 307 -p1
|
||||
%patch -P 309 -p1
|
||||
|
||||
@@ -781,6 +801,9 @@ EOF
|
||||
%if %{node_version_number} < 19
|
||||
--without-dtrace \
|
||||
%endif
|
||||
%if %{node_version_number} >= 22 && 0%{?suse_version} > 1500
|
||||
--shared-sqlite \
|
||||
%endif
|
||||
%if %{node_version_number} >= 16 && (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150400)
|
||||
--openssl-default-cipher-list=PROFILE=SYSTEM \
|
||||
%endif
|
||||
@@ -909,11 +932,15 @@ export CI_JS_SUITES=default
|
||||
export NODE_TEST_NO_INTERNET=1
|
||||
|
||||
%if %{node_version_number} >= 12
|
||||
find test \( -name \*.out -or -name \*.js \) -exec sed -i 's,Use `node ,Use `node%{node_version_number} ,' {} \;
|
||||
find test \( -name \*.out -or -name \*.js -or -name \*.snapshot \) -exec sed -i 's,Use `node ,Use `node%{node_version_number} ,' {} \;
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} >= 20
|
||||
rm test/parallel/test-strace-openat-openssl.js
|
||||
|
||||
# https://github.com/nodejs/node/pull/57269 -- nghttp2 dropped priority support
|
||||
rm test/parallel/test-http2-client-set-priority.js
|
||||
rm test/parallel/test-http2-priority-event.js
|
||||
%endif
|
||||
|
||||
# Update the python3 executable name to point at forced python version
|
||||
@@ -921,6 +948,7 @@ rm test/parallel/test-strace-openat-openssl.js
|
||||
%if 0%{?forced_python_version:1}
|
||||
sed -i -e "s,'python3','python%{forced_python_version}'," test/parallel/test-child-process-set-blocking.js
|
||||
test -e tools/pseudo-tty.py && sed -i -e "s,^#!/usr/bin/env python3$,#!/usr/bin/python%{forced_python_version}," tools/pseudo-tty.py ||:
|
||||
export PYTHON="/usr/bin/python%{forced_python_version}"
|
||||
%endif
|
||||
|
||||
ln addon-rpm.gypi deps/npm/node_modules/node-gyp/addon-rpm.gypi
|
||||
@@ -935,6 +963,10 @@ rm test/parallel/test-dns-cancel-reverse-lookup.js \
|
||||
test/parallel/test-dns-resolveany.js
|
||||
# multicast test fail since no socket?
|
||||
rm test/parallel/test-dgram-membership.js
|
||||
%if %{node_version_number} >= 20
|
||||
# missing ICU test data for 15.6/15.7/SLFO
|
||||
ln test/fixtures/icu/localizationData-v74.2.json test/fixtures/icu/localizationData-v73.2.json
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} >= 18
|
||||
# OBS broken /etc/hosts -- https://github.com/openSUSE/open-build-service/issues/13104
|
||||
|
||||
@@ -1,26 +1,27 @@
|
||||
Allow non-standard openssl binary names
|
||||
|
||||
Index: node-v14.15.1/test/common/index.js
|
||||
Index: node-v22.14.0/test/common/crypto.js
|
||||
===================================================================
|
||||
--- node-v14.15.1.orig/test/common/index.js
|
||||
+++ node-v14.15.1/test/common/index.js
|
||||
@@ -797,20 +797,28 @@ const common = {
|
||||
--- node-v22.14.0.orig/test/common/crypto.js
|
||||
+++ node-v22.14.0/test/common/crypto.js
|
||||
@@ -141,23 +141,29 @@ module.exports = {
|
||||
get opensslCli() {
|
||||
if (opensslCli !== null) return opensslCli;
|
||||
|
||||
+ let cli_candidates = [];
|
||||
+
|
||||
if (process.config.variables.node_shared_openssl) {
|
||||
// Use external command
|
||||
- opensslCli = 'openssl';
|
||||
+ cli_candidates = cli_candidates.concat(['openssl-1_1', 'openssl']);
|
||||
} else {
|
||||
const path = require('path');
|
||||
// Use command built from sources included in Node.js repository
|
||||
- opensslCli = path.join(path.dirname(process.execPath), 'openssl-cli');
|
||||
+ cli_candidates.push(path.join(path.dirname(process.execPath), 'openssl-cli'));
|
||||
}
|
||||
|
||||
- if (exports.isWindows) opensslCli += '.exe';
|
||||
-
|
||||
+ let checkOpensslCli = function(opensslCli) {
|
||||
+ if (exports.isWindows) opensslCli += '.exe';
|
||||
+ const opensslCmd = spawnSync(opensslCli, ['version']);
|
||||
@@ -30,6 +31,7 @@ Index: node-v14.15.1/test/common/index.js
|
||||
+ }
|
||||
+ return opensslCli;
|
||||
+ };
|
||||
const { spawnSync } = require('child_process');
|
||||
|
||||
- const opensslCmd = spawnSync(opensslCli, ['version']);
|
||||
- if (opensslCmd.status !== 0 || opensslCmd.error !== undefined) {
|
||||
|
||||
@@ -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.1.0/test/common/index.js
|
||||
@@ -275,6 +275,9 @@ function platformTimeout(ms) {
|
||||
if (isPi)
|
||||
return multipliers.two * ms; // Raspberry Pi devices
|
||||
--- node-v22.10.0.orig/test/common/index.js
|
||||
+++ node-v22.10.0/test/common/index.js
|
||||
@@ -293,6 +293,9 @@ function platformTimeout(ms) {
|
||||
return multipliers.four * ms;
|
||||
}
|
||||
|
||||
+ if (process.arch === 'riscv64') // usermode qemu slow
|
||||
+ return multipliers.seven * ms;
|
||||
|
||||
@@ -8,11 +8,11 @@ management via update_alternatives.
|
||||
|
||||
This is also important for generation of binary
|
||||
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.1.0/Makefile
|
||||
@@ -76,7 +76,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
|
||||
--- node-v22.10.0.orig/Makefile
|
||||
+++ node-v22.10.0/Makefile
|
||||
@@ -79,7 +79,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
|
||||
EXEEXT := $(shell $(PYTHON) -c \
|
||||
"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
|
||||
NODE ?= "$(PWD)/$(NODE_EXE)"
|
||||
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.1.0/tools/install.py
|
||||
--- node-v22.10.0.orig/tools/install.py
|
||||
+++ node-v22.10.0/tools/install.py
|
||||
@@ -87,7 +87,7 @@ def uninstall(options, paths, dest):
|
||||
try_remove(options, path, dest)
|
||||
|
||||
@@ -113,11 +113,11 @@ Index: node-v22.1.0/tools/install.py
|
||||
|
||||
if sys.platform == 'zos':
|
||||
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.1.0/doc/node.1
|
||||
@@ -31,24 +31,24 @@
|
||||
--- node-v22.10.0.orig/doc/node.1
|
||||
+++ node-v22.10.0/doc/node.1
|
||||
@@ -28,24 +28,24 @@
|
||||
.Dt NODE 1
|
||||
.
|
||||
.Sh NAME
|
||||
@@ -146,10 +146,10 @@ Index: node-v22.1.0/doc/node.1
|
||||
.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.1.0/src/node_main.cc
|
||||
--- node-v22.10.0.orig/src/node_main.cc
|
||||
+++ node-v22.10.0/src/node_main.cc
|
||||
@@ -94,6 +94,7 @@ int wmain(int argc, wchar_t* wargv[]) {
|
||||
// UNIX
|
||||
|
||||
@@ -158,11 +158,11 @@ Index: node-v22.1.0/src/node_main.cc
|
||||
return node::Start(argc, argv);
|
||||
}
|
||||
#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.1.0/tools/test.py
|
||||
@@ -954,7 +954,7 @@ class Context(object):
|
||||
--- node-v22.10.0.orig/tools/test.py
|
||||
+++ node-v22.10.0/tools/test.py
|
||||
@@ -972,7 +972,7 @@ class Context(object):
|
||||
if self.vm is not None:
|
||||
return self.vm
|
||||
if arch == 'none':
|
||||
@@ -171,11 +171,11 @@ Index: node-v22.1.0/tools/test.py
|
||||
else:
|
||||
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.1.0/node.gyp
|
||||
@@ -24,8 +24,8 @@
|
||||
--- node-v22.10.0.orig/node.gyp
|
||||
+++ node-v22.10.0/node.gyp
|
||||
@@ -27,8 +27,8 @@
|
||||
'node_shared_openssl%': 'false',
|
||||
'node_v8_options%': '',
|
||||
'node_enable_v8_vtunejit%': 'false',
|
||||
@@ -186,21 +186,10 @@ Index: node-v22.1.0/node.gyp
|
||||
'node_intermediate_lib_type%': 'static_library',
|
||||
'node_builtin_modules_path%': '',
|
||||
'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.1.0/test/fixtures/errors/promise_unhandled_warn_with_error.snapshot
|
||||
@@ -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
|
||||
--- node-v22.10.0.orig/test/parallel/test-snapshot-warning.js
|
||||
+++ node-v22.10.0/test/parallel/test-snapshot-warning.js
|
||||
@@ -60,7 +60,7 @@ tmpdir.refresh();
|
||||
stderr(output) {
|
||||
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);
|
||||
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 *
|
||||
|
||||
Reference in New Issue
Block a user