forked from pool/nodejs22
Compare commits
75 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2651cd0e28 | |||
| 8932a2fa7a | |||
| 74a8e216a0 | |||
| f4428939f8 | |||
| acd08033b1 | |||
| 3492278dc2 | |||
| 4a6a7ea8ac | |||
| bbff434096 | |||
| 39f5470d78 | |||
| a7ffbb2131 | |||
| 5c6357f37a | |||
| 53d5d47fb3 | |||
| 602e06b2b1 | |||
| 84b9f4546a | |||
| de81630cbe | |||
| 871f3002e2 | |||
| 507fce8360 | |||
| ec6d84f046 | |||
| 6005f25a23 | |||
| c45ced8a72 | |||
| 88e397ffeb | |||
| 63dd86646f | |||
|
|
d9658f7657 | ||
| 886d2b7423 | |||
| 21e917d9f6 | |||
|
|
0f072a1906 | ||
| c91194bdde | |||
| d90b9e27b8 | |||
|
|
cc34b4ccdc | ||
| f2c673d271 | |||
|
|
3534ff7adf | ||
| 00c3dc0246 | |||
|
|
b6ba0e7b1c | ||
| 16655acd36 | |||
| 83218434a0 | |||
| 2429fa0f2f | |||
|
|
0db9914acc | ||
| 0869c31271 | |||
|
|
2c55c04ed9 | ||
|
|
51bb1ad5e2 | ||
| 7960a161cd | |||
|
|
f763afe7ee | ||
| acaed8a408 | |||
| 23cf91a32e | |||
|
|
71bf67d95e | ||
| 55517bb3f6 | |||
| ac78790012 | |||
|
|
52ab1a1c03 | ||
| c7d8d276d1 | |||
|
|
dc79a4f482 | ||
| 0776fa0b9e | |||
|
|
8299606920 | ||
| d7a3f0f9bf | |||
| 3d5b1115bd | |||
|
|
6586d8ad8b | ||
| f3c7e8c1ad | |||
|
|
d586f74551 | ||
| ceae807781 | |||
|
|
d4c227477f | ||
| f426d5b71a | |||
| 5df5302cb2 | |||
|
|
9469ebacd2 | ||
| 3765fac51d | |||
|
|
f6c46f801d | ||
| c6197a37b8 | |||
|
|
35d9c1dbb8 | ||
| 3ca5bf23b8 | |||
| bac46b9e21 | |||
| d7203da1df | |||
| 03916bc9dc | |||
| 81d1fb658d | |||
| 5e1aff8fa4 | |||
| b512f5d513 | |||
| 036f37e8d7 | |||
| 709a5edf14 |
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -21,3 +21,4 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +0,0 @@
|
||||
.osc
|
||||
11
README.md
Normal file
11
README.md
Normal file
@@ -0,0 +1,11 @@
|
||||
NodeJS 22.x
|
||||
===========
|
||||
|
||||
Build results for Factory
|
||||
|
||||

|
||||
|
||||
Devel project build status
|
||||
|
||||

|
||||
|
||||
@@ -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
|
||||
b5ab6deeb8d54b9738039a8ffdc4781cc4b81b291e79b20d3600f830d1d669cb node-v22.22.0-aix-ppc64.tar.gz
|
||||
26b66be5f735426dce7355d629246f704be08b377f3382de293a6513676cf051 node-v22.22.0-arm64.msi
|
||||
5ed4db0fcf1eaf84d91ad12462631d73bf4576c1377e192d222e48026a902640 node-v22.22.0-darwin-arm64.tar.gz
|
||||
2bd596bbfc4a275ceb8721a5954ee97daea5ebe673e96a185ebd732f6fb023ac node-v22.22.0-darwin-arm64.tar.xz
|
||||
5ea50c9d6dea3dfa3abb66b2656f7a4e1c8cef23432b558d45fb538c7b5dedce node-v22.22.0-darwin-x64.tar.gz
|
||||
48bc437e00e0c1483da34c21dca196efcb8d22e5dcb0bc7c65386afb00fabb85 node-v22.22.0-darwin-x64.tar.xz
|
||||
670494f0cc674059596222c60e5db84fbe80c849d7ffb1c3fbd20e4f55b8ea85 node-v22.22.0-headers.tar.gz
|
||||
58e1483493244a4f8aa7d21ad8b21fc4f72cc3ca669fdf292089cad9de221fde node-v22.22.0-headers.tar.xz
|
||||
25ba95dfb96871fa2ef977f11f95ea90818c8fa15c0f2110771db08d4ba423be node-v22.22.0-linux-arm64.tar.gz
|
||||
1bf1eb9ee63ffc4e5d324c0b9b62cf4a289f44332dfef9607cea1a0d9596ba6f node-v22.22.0-linux-arm64.tar.xz
|
||||
a92684d8720589f19776fb186c5a3a4d273c13436fc8c44b61dd3eeef81f0d3a node-v22.22.0-linux-armv7l.tar.gz
|
||||
a8b4f15f6e1f371422f1f7abcca4c46bd7abc1c732c274bc5cb108b841c1f0ff node-v22.22.0-linux-armv7l.tar.xz
|
||||
54680eec598330b9863ab37ada46456415b776e46345958476fcd2212abdf0f3 node-v22.22.0-linux-ppc64le.tar.gz
|
||||
d83b9957431cc18e1fc143a4b99f89cde7b8a18f53ef392231b4336afd058865 node-v22.22.0-linux-ppc64le.tar.xz
|
||||
9b24cc6dd17106725d79645adf0a3b62fa3310e4d30aa11147dd3fe2d8325ef4 node-v22.22.0-linux-s390x.tar.gz
|
||||
5aa0e520689448c4233e8d73f284e8e0634fdcd32b479735698494be5641f3e4 node-v22.22.0-linux-s390x.tar.xz
|
||||
c33c39ed9c80deddde77c960d00119918b9e352426fd604ba41638d6526a4744 node-v22.22.0-linux-x64.tar.gz
|
||||
9aa8e9d2298ab68c600bd6fb86a6c13bce11a4eca1ba9b39d79fa021755d7c37 node-v22.22.0-linux-x64.tar.xz
|
||||
0e437be47d67d916c2b94073321dfdaffef85ef6e527d509588d00994e9036af node-v22.22.0.pkg
|
||||
5a4585d7f26bfb283267194b299243efea5ee6edd2fbf887825469b4ac94aece node-v22.22.0.tar.gz
|
||||
4c138012bb5352f49822a8f3e6d1db71e00639d0c36d5b6756f91e4c6f30b683 node-v22.22.0.tar.xz
|
||||
31bad2fed05553bd4709851e5269ec953c744ee5845d2962564f37fcff634a53 node-v22.22.0-win-arm64.7z
|
||||
5b44fd410df7b4cd0a1891a05a7b606f8fb7d8786a94997b996a372e82478d7a node-v22.22.0-win-arm64.zip
|
||||
98758c6ec0b29a03b4e1ec0ace7671a8ac57839034d23a1a62e91fc782fb97d2 node-v22.22.0-win-x64.7z
|
||||
c97fa376d2becdc8863fcd3ca2dd9a83a9f3468ee7ccf7a6d076ec66a645c77a node-v22.22.0-win-x64.zip
|
||||
3cf831dc2ae1a53da6baee772388b7cd5635617c8a133fbaf92269fde3336686 node-v22.22.0-win-x86.7z
|
||||
5d7f6cfc50474cf784027ce9ddabf47a0198ea4b588301ab8675de8c56217247 node-v22.22.0-win-x86.zip
|
||||
b10f88c6ded24ca487839b3eccb8870a08d7f9fc2b9bb3b463fc72a3a40bcdb1 node-v22.22.0-x64.msi
|
||||
ec3eeb357dbb980aea936afb8ce8b279f12cf0bec03fd7781ddcfad44f01cba6 node-v22.22.0-x86.msi
|
||||
fd44256121597d6a3707f4c7730b4e3733eacb5a95cc78a099f601d7e7f8290d win-arm64/node.exe
|
||||
48839df5eda1889bf704353d35699a4b0d379ee3b2c87d9bfdf0d2d22b182c18 win-arm64/node.lib
|
||||
8497008940246b148cf9e4455568adbc1a4d5b71f52ebd236dc4f90e5f30142d win-arm64/node_pdb.7z
|
||||
ded8b2b2c37f93017d8d565f4b32db5278283d3d9527803008ee1aa282c3a084 win-arm64/node_pdb.zip
|
||||
bae898add4643fcf890a83ad8ae56e20dce7e781cab161a53991ceba70c99ffb win-x64/node.exe
|
||||
29b1f8c74cb600ff522dcb9da5807c752fae6f510868b7f3079851ebf27154ea win-x64/node.lib
|
||||
549027ada17424c185a545cf09b3fad7a1d769777ec587481cefe694447728c6 win-x64/node_pdb.7z
|
||||
1b3fad691fc6f0c1bf679e5999de3d4e16a506e54e404e7e5f9459c9e1e9e1cb win-x64/node_pdb.zip
|
||||
65fff00e7d40f9a7fc7fb7a64e0d3a595adb6807eeafc8ed8477850eedc90e68 win-x86/node.exe
|
||||
03c89ca02b018a620471a8411881ab90f472b9e88e5b150cf58b075afb7ce2e9 win-x86/node.lib
|
||||
fc2cd7abd2c3ee99de42b16bb86e1ecf4fed6d87b714d4827f1e26c4a7e17e51 win-x86/node_pdb.7z
|
||||
28561a9939829dc3d32ac6b6bc478a1614fbe3992657ab45d1926a0007c2e8fd 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.21.1/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.21.1.orig/test/parallel/test-module-loading-globalpaths.js
|
||||
+++ node-v22.21.1/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.21.1/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.21.1.orig/test/parallel/test-tls-passphrase.js
|
||||
+++ node-v22.21.1/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.21.1/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.21.1.orig/test/parallel/test-repl-envvars.js
|
||||
+++ node-v22.21.1/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.21.1/Makefile
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/Makefile
|
||||
+++ node-v22.3.0/Makefile
|
||||
@@ -393,7 +393,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
|
||||
--- node-v22.21.1.orig/Makefile
|
||||
+++ node-v22.21.1/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
|
||||
@@ -601,6 +600,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
|
||||
@@ -795,7 +795,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,29 +74,84 @@ 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.21.1/tools/test.py
|
||||
===================================================================
|
||||
--- node-v22.3.0.orig/tools/test.py
|
||||
+++ node-v22.3.0/tools/test.py
|
||||
@@ -1386,7 +1386,7 @@ def BuildOptions():
|
||||
result.add_option("-s", "--suite", help="A test suite",
|
||||
--- node-v22.21.1.orig/tools/test.py
|
||||
+++ node-v22.21.1/tools/test.py
|
||||
@@ -1389,7 +1389,7 @@ def BuildOptions():
|
||||
result.add_argument("-s", "--suite", help="A test suite",
|
||||
default=[], action="append")
|
||||
result.add_option("-t", "--timeout", help="Timeout in seconds",
|
||||
- default=120, type="int")
|
||||
+ default=1200, type="int")
|
||||
result.add_option("--arch", help='The architecture to run tests for',
|
||||
result.add_argument("-t", "--timeout", help="Timeout in seconds",
|
||||
- default=120, type=int)
|
||||
+ default=1200, type=int)
|
||||
result.add_argument("--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
|
||||
result.add_argument("--snapshot", help="Run the tests with snapshot turned on",
|
||||
Index: node-v22.21.1/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.21.1.orig/test/parallel/test-crypto-dh.js
|
||||
+++ node-v22.21.1/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.21.1/test/parallel/test-dns.js
|
||||
===================================================================
|
||||
--- node-v22.21.1.orig/test/parallel/test-dns.js
|
||||
+++ node-v22.21.1/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.21.1/test/wpt/test-webcrypto.js
|
||||
===================================================================
|
||||
--- node-v22.21.1.orig/test/wpt/test-webcrypto.js
|
||||
+++ node-v22.21.1/test/wpt/test-webcrypto.js
|
||||
@@ -3,7 +3,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');
|
||||
Index: node-v22.21.1/test/parallel/test-sqlite.js
|
||||
===================================================================
|
||||
--- node-v22.21.1.orig/test/parallel/test-sqlite.js
|
||||
+++ node-v22.21.1/test/parallel/test-sqlite.js
|
||||
@@ -230,6 +230,7 @@ suite('SQL APIs enabled at build time',
|
||||
});
|
||||
|
||||
test('fts3 is enabled', (t) => {
|
||||
+ t.skip(); return;
|
||||
const db = new DatabaseSync(':memory:');
|
||||
db.exec(`
|
||||
CREATE VIRTUAL TABLE t1 USING fts3(content TEXT);
|
||||
@@ -245,6 +246,7 @@ suite('SQL APIs enabled at build time',
|
||||
});
|
||||
|
||||
test('fts3 parenthesis', (t) => {
|
||||
+ t.skip(); return;
|
||||
const db = new DatabaseSync(':memory:');
|
||||
db.exec(`
|
||||
CREATE VIRTUAL TABLE t1 USING fts3(content TEXT);
|
||||
@@ -313,6 +315,7 @@ suite('SQL APIs enabled at build time',
|
||||
});
|
||||
|
||||
test('geopoly is enabled', (t) => {
|
||||
+ t.skip(); return;
|
||||
const db = new DatabaseSync(':memory:');
|
||||
db.exec(`
|
||||
CREATE VIRTUAL TABLE t1 USING geopoly(a,b,c);
|
||||
|
||||
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",
|
||||
146
icu_781.patch
Normal file
146
icu_781.patch
Normal file
@@ -0,0 +1,146 @@
|
||||
Index: node-v22.21.1/test/fixtures/icu/localizationData-v78.1.json
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ node-v22.21.1/test/fixtures/icu/localizationData-v78.1.json
|
||||
@@ -0,0 +1,128 @@
|
||||
+{
|
||||
+ "dateStrings": {
|
||||
+ "en": "Fri Jul 25 1980 01:35:33 GMT+0100 (Central European Standard Time)",
|
||||
+ "zh": "Fri Jul 25 1980 01:35:33 GMT+0100 (中欧标准时间)",
|
||||
+ "hi": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्य यूरोपीय मानक समय)",
|
||||
+ "es": "Fri Jul 25 1980 01:35:33 GMT+0100 (hora estándar de Europa central)",
|
||||
+ "fr": "Fri Jul 25 1980 01:35:33 GMT+0100 (heure normale d’Europe centrale)",
|
||||
+ "ar": "Fri Jul 25 1980 01:35:33 GMT+0100 (توقيت وسط أوروبا الرسمي)",
|
||||
+ "bn": "Fri Jul 25 1980 01:35:33 GMT+0100 (মধ্য ইউরোপীয় মানক সময়)",
|
||||
+ "ru": "Fri Jul 25 1980 01:35:33 GMT+0100 (Центральная Европа, стандартное время)",
|
||||
+ "pt": "Fri Jul 25 1980 01:35:33 GMT+0100 (Horário Padrão da Europa Central)",
|
||||
+ "ur": "Fri Jul 25 1980 01:35:33 GMT+0100 (وسطی یورپ کا معیاری وقت)",
|
||||
+ "id": "Fri Jul 25 1980 01:35:33 GMT+0100 (Waktu Standar Eropa Tengah)",
|
||||
+ "de": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mitteleuropäische Normalzeit)",
|
||||
+ "ja": "Fri Jul 25 1980 01:35:33 GMT+0100 (中央ヨーロッパ標準時)",
|
||||
+ "pcm": "Fri Jul 25 1980 01:35:33 GMT+0100 (Mídúl Yúrop Fíksd Taim)",
|
||||
+ "mr": "Fri Jul 25 1980 01:35:33 GMT+0100 (मध्य युरोपियन प्रमाण वेळ)",
|
||||
+ "te": "Fri Jul 25 1980 01:35:33 GMT+0100 (సెంట్రల్ యూరోపియన్ ప్రామాణిక సమయం)"
|
||||
+ },
|
||||
+ "dateTimeFormats": {
|
||||
+ "en": "7/25/1980, 1:35:33 AM",
|
||||
+ "zh": "1980/7/25 01: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 ص",
|
||||
+ "bn": "২৫/৭/১৯৮০, ১:৩৫:৩৩ AM",
|
||||
+ "ru": "25.07.1980, 01:35:33",
|
||||
+ "pt": "25/07/1980, 01: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",
|
||||
+ "pcm": "25/7/1980, 01:35:33",
|
||||
+ "mr": "२५/७/१९८०, १:३५:३३ AM",
|
||||
+ "te": "25/7/1980 1:35:33 AM"
|
||||
+ },
|
||||
+ "dateFormats": {
|
||||
+ "en": "7/25/1980",
|
||||
+ "zh": "1980/7/25",
|
||||
+ "hi": "25/7/1980",
|
||||
+ "es": "25/7/1980",
|
||||
+ "fr": "25/07/1980",
|
||||
+ "ar": "25/7/1980",
|
||||
+ "bn": "২৫/৭/১৯৮০",
|
||||
+ "ru": "25.07.1980",
|
||||
+ "pt": "25/07/1980",
|
||||
+ "ur": "25/7/1980",
|
||||
+ "id": "25/7/1980",
|
||||
+ "de": "25.7.1980",
|
||||
+ "ja": "1980/7/25",
|
||||
+ "pcm": "25/7/1980",
|
||||
+ "mr": "२५/७/१९८०",
|
||||
+ "te": "25/7/1980"
|
||||
+ },
|
||||
+ "displayNames": {
|
||||
+ "en": "Switzerland",
|
||||
+ "zh": "瑞士",
|
||||
+ "hi": "स्विट्ज़रलैंड",
|
||||
+ "es": "Suiza",
|
||||
+ "fr": "Suisse",
|
||||
+ "ar": "سويسرا",
|
||||
+ "bn": "সুইজারল্যান্ড",
|
||||
+ "ru": "Швейцария",
|
||||
+ "pt": "Suíça",
|
||||
+ "ur": "سوئٹزر لینڈ",
|
||||
+ "id": "Swiss",
|
||||
+ "de": "Schweiz",
|
||||
+ "ja": "スイス",
|
||||
+ "pcm": "Swítsaland",
|
||||
+ "mr": "स्वित्झर्लंड",
|
||||
+ "te": "స్విట్జర్లాండ్"
|
||||
+ },
|
||||
+ "numberFormats": {
|
||||
+ "en": "275,760.913",
|
||||
+ "zh": "275,760.913",
|
||||
+ "hi": "2,75,760.913",
|
||||
+ "es": "275.760,913",
|
||||
+ "fr": "275 760,913",
|
||||
+ "ar": "275,760.913",
|
||||
+ "bn": "২,৭৫,৭৬০.৯১৩",
|
||||
+ "ru": "275 760,913",
|
||||
+ "pt": "275.760,913",
|
||||
+ "ur": "275,760.913",
|
||||
+ "id": "275.760,913",
|
||||
+ "de": "275.760,913",
|
||||
+ "ja": "275,760.913",
|
||||
+ "pcm": "275,760.913",
|
||||
+ "mr": "२,७५,७६०.९१३",
|
||||
+ "te": "2,75,760.913"
|
||||
+ },
|
||||
+ "pluralRules": {
|
||||
+ "en": "other",
|
||||
+ "zh": "other",
|
||||
+ "hi": "one",
|
||||
+ "es": "other",
|
||||
+ "fr": "one",
|
||||
+ "ar": "zero",
|
||||
+ "bn": "one",
|
||||
+ "ru": "many",
|
||||
+ "pt": "one",
|
||||
+ "ur": "other",
|
||||
+ "id": "other",
|
||||
+ "de": "other",
|
||||
+ "ja": "other",
|
||||
+ "pcm": "one",
|
||||
+ "mr": "other",
|
||||
+ "te": "other"
|
||||
+ },
|
||||
+ "relativeTime": {
|
||||
+ "en": "586,920.617 hours ago",
|
||||
+ "zh": "586,920.617小时前",
|
||||
+ "hi": "5,86,920.617 घंटे पहले",
|
||||
+ "es": "hace 586.920,617 horas",
|
||||
+ "fr": "il y a 586 920,617 heures",
|
||||
+ "ar": "قبل 586,920.617 ساعة",
|
||||
+ "bn": "৫,৮৬,৯২০.৬১৭ ঘণ্টা আগে",
|
||||
+ "ru": "586 920,617 часа назад",
|
||||
+ "pt": "há 586.920,617 horas",
|
||||
+ "ur": "586,920.617 گھنٹے پہلے",
|
||||
+ "id": "586.920,617 jam yang lalu",
|
||||
+ "de": "vor 586.920,617 Stunden",
|
||||
+ "ja": "586,920.617 時間前",
|
||||
+ "pcm": "586,920.617 áwa wé dọ́n pas",
|
||||
+ "mr": "५,८६,९२०.६१७ तासांपूर्वी",
|
||||
+ "te": "5,86,920.617 గంటల క్రితం"
|
||||
+ }
|
||||
+}
|
||||
Index: node-v22.21.1/test/parallel/test-datetime-change-notify.js
|
||||
===================================================================
|
||||
--- node-v22.21.1.orig/test/parallel/test-datetime-change-notify.js
|
||||
+++ node-v22.21.1/test/parallel/test-datetime-change-notify.js
|
||||
@@ -26,7 +26,7 @@ const cases = [
|
||||
},
|
||||
{
|
||||
timeZone: 'Europe/Dublin',
|
||||
- expected: /Irish Standard Time|Greenwich Mean Time/,
|
||||
+ expected: /Irish Standard Time|Greenwich Mean Time|GMT\+00:00/,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -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.20.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'
|
||||
],
|
||||
|
||||
'includes': [
|
||||
@@ -1241,6 +1242,7 @@
|
||||
--- node-v22.20.0.orig/node.gyp
|
||||
+++ node-v22.20.0/node.gyp
|
||||
@@ -1269,6 +1269,7 @@
|
||||
'<(node_lib_target_name)',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/ada/ada.gyp:ada',
|
||||
+ 'cctest'
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
+ 'fuzz_env'
|
||||
],
|
||||
|
||||
'includes': [
|
||||
@@ -1389,6 +1390,7 @@
|
||||
'<(node_lib_target_name)',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
+ 'cctest'
|
||||
],
|
||||
|
||||
'includes': [
|
||||
|
||||
@@ -53,7 +53,7 @@ Index: node-v21.7.1/deps/npm/node_modules/node-gyp/lib/configure.js
|
||||
|
||||
if (!release.semver) {
|
||||
// could not parse the version string with semver
|
||||
@@ -54,6 +50,12 @@ async function configure (gyp, argv) {
|
||||
@@ -54,6 +50,11 @@ async function configure (gyp, argv) {
|
||||
|
||||
log.verbose('get node dir', 'target node version installed:', release.versionDir)
|
||||
nodeDir = path.resolve(gyp.devDir, release.versionDir)
|
||||
@@ -61,7 +61,6 @@ Index: node-v21.7.1/deps/npm/node_modules/node-gyp/lib/configure.js
|
||||
+ // if no --target was specified then use RPM-installed headers
|
||||
+ log.verbose('get node dir', 'no --target version specified, falling back to RPM installed headers')
|
||||
+ nodeDir = '/usr/include/node22'
|
||||
+ createBuildDir()
|
||||
+ }
|
||||
}
|
||||
|
||||
|
||||
BIN
node-v22.22.0.tar.xz
LFS
Normal file
BIN
node-v22.22.0.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.
288
nodejs22.changes
288
nodejs22.changes
@@ -1,3 +1,291 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 19 17:22:03 UTC 2026 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.22.0:
|
||||
* deps: updated undici to 6.23.0 (bsc#1256848, CVE-2026-22036)
|
||||
* deps: updated bundled c-ares to 1.34.6 (if used)
|
||||
* add TLSSocket default error handler (bsc#1256573, CVE-2025-59465)
|
||||
* disable futimes when permission model is enabled (bsc#1256571, CVE-2025-55132)
|
||||
* require full read and write to symlink APIs (bsc#1256569, CVE-2025-55130)
|
||||
* rethrow stack overflow exceptions in async_hooks (bsc#1256574, CVE-2025-59466)
|
||||
* refactor unsafe buffer creation to remove zero-fill toggle (bsc#1256570, CVE-2025-55131)
|
||||
* route callback exceptions through error handlers (bsc#1256576, CVE-2026-21637)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 27 14:28:26 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- icu_781.patch: Add support for ICU 78.1
|
||||
- bundle nghttp2 for TW, as upstream is carrying a patch on-top
|
||||
due to changes in nghttp2. See:
|
||||
https://github.com/nodejs/node/issues/60661
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 19:48:36 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.21.1:
|
||||
* src: avoid unnecessary string -> char* -> string round trips
|
||||
* src: remove unnecessary shadowed functions on Utf8Value & BufferValue
|
||||
* process: fix hrtime fast call signatures
|
||||
* http: improve writeEarlyHints by avoiding for-of loop
|
||||
|
||||
- Update to 22.21.0:
|
||||
* cli: add --use-env-proxy
|
||||
* http: support http proxy for fetch under NODE_USE_ENV_PROXY
|
||||
* http: add shouldUpgradeCallback to let servers control HTTP upgrades
|
||||
* http,https: add built-in proxy support in http/https.request and Agent
|
||||
* src: add percentage support to --max-old-space-size
|
||||
|
||||
- fix_ci_tests.patch: disable geopoly and fts3 sqlite tests as our
|
||||
sqlite does not support these optional features. Use fts4 instead.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 14 16:14:05 UTC 2025 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to 22.20.0
|
||||
* doc: stabilize --disable-sigusr1
|
||||
* doc: mark path.matchesGlob as stable
|
||||
* http: add Agent.agentKeepAliveTimeoutBuffer option
|
||||
* http2: add support for raw header arrays in h2Stream.respond()
|
||||
* inspector: add http2 tracking support
|
||||
* sea: implement execArgvExtension
|
||||
* sea: support execArgv in sea config
|
||||
* stream: add brotli support to CompressionStream and DecompressionStream
|
||||
* test_runner: support object property mocking
|
||||
* worker: add cpu profile APIs for worker
|
||||
|
||||
- Update to 22.19.0
|
||||
* cli: add NODE_USE_SYSTEM_CA=1
|
||||
* cli: support ${pid} placeholder in --cpu-prof-name
|
||||
* crypto: add tls.setDefaultCACertificates()
|
||||
* dns: support max timeout
|
||||
* doc: update the instruction on how to verify releases
|
||||
* esm: unflag --experimental-wasm-modules
|
||||
* http: add server.keepAliveTimeoutBuffer option
|
||||
* lib: docs deprecate _http_*
|
||||
* net: update net.blocklist to allow file save and file management
|
||||
* process: add threadCpuUsage
|
||||
* zlib: add dictionary support to zstdCompress and zstdDecompress
|
||||
|
||||
- Update to 22.18.0:
|
||||
* deps: update amaro to 1.1.0
|
||||
* doc: add all watch-mode related flags to node.1
|
||||
* doc: add islandryu to collaborators
|
||||
* esm: implement import.meta.main
|
||||
* fs: allow correct handling of burst in fs-events with AsyncIterator
|
||||
* permission: propagate permission model flags on spawn
|
||||
* sqlite: add support for readBigInts option in db connection level
|
||||
* src,permission: add support to permission.has(addon)
|
||||
* url: add fileURLToPathBuffer API
|
||||
* watch: add --watch-kill-signal flag
|
||||
* worker: make Worker async disposable
|
||||
|
||||
- for older changes, please see https://nodejs.org/en/blog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
279
nodejs22.spec
279
nodejs22.spec
@@ -31,7 +31,7 @@
|
||||
%endif
|
||||
|
||||
Name: nodejs22
|
||||
Version: 22.3.0
|
||||
Version: 22.22.0
|
||||
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
|
||||
@@ -105,7 +105,8 @@ ExclusiveArch do_not_build
|
||||
%bcond_without intree_icu
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1550
|
||||
# always bundle, due to https://github.com/nodejs/node/issues/60661
|
||||
%if 0%{?suse_version} >= 3550
|
||||
%bcond_with intree_nghttp2
|
||||
%else
|
||||
%bcond_without intree_nghttp2
|
||||
@@ -138,6 +139,7 @@ Source3: nodejs.keyring
|
||||
Source10: update_npm_tarball.sh
|
||||
Source11: node_modules.tar.xz
|
||||
Source20: bash_output_helper.bash
|
||||
Source21: README.md
|
||||
|
||||
## Patches not distribution specific
|
||||
Patch1: cares_public_headers.patch
|
||||
@@ -170,8 +172,10 @@ 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
|
||||
Patch310: icu_781.patch
|
||||
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
@@ -194,10 +198,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 +211,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 +229,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 +245,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 +306,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.5.4
|
||||
%else
|
||||
BuildRequires: bundled_openssl_should_not_be_required
|
||||
%endif
|
||||
@@ -303,19 +317,26 @@ 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
|
||||
BuildRequires: libzstd-devel
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: sqlite3-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_icu}
|
||||
BuildRequires: pkgconfig(icu-i18n) >= 71
|
||||
%else
|
||||
Provides: bundled(icu) = 75.1
|
||||
Provides: bundled(icu) = 77.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}
|
||||
@@ -364,9 +385,9 @@ ExclusiveArch: not_buildable
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Provides: bundled(uvwasi) = 0.0.21
|
||||
Provides: bundled(libuv) = 1.48.0
|
||||
Provides: bundled(v8) = 12.4.254.20
|
||||
Provides: bundled(uvwasi) = 0.0.23
|
||||
Provides: bundled(libuv) = 1.51.0
|
||||
Provides: bundled(v8) = 12.4.254.21
|
||||
%if %{with intree_brotli}
|
||||
Provides: bundled(brotli) = 1.1.0
|
||||
%else
|
||||
@@ -374,20 +395,21 @@ BuildRequires: pkgconfig(libbrotlidec)
|
||||
%endif
|
||||
|
||||
|
||||
Provides: bundled(llhttp) = 9.2.1
|
||||
Provides: bundled(ngtcp2) = 1.3.0
|
||||
Provides: bundled(llhttp) = 9.3.0
|
||||
Provides: bundled(ngtcp2) = 1.11.0
|
||||
|
||||
Provides: bundled(simdutf) = 5.2.8
|
||||
Provides: bundled(simdjson) = 3.9.3
|
||||
Provides: bundled(simdutf) = 6.4.2
|
||||
Provides: bundled(simdjson) = 3.13.0
|
||||
# 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.15.0
|
||||
Provides: bundled(node-acorn-walk) = 8.3.4
|
||||
Provides: bundled(node-amaro) = 1.1.4
|
||||
Provides: bundled(node-cjs-module-lexer) = 2.1.0
|
||||
Provides: bundled(node-corepack) = 0.34.0
|
||||
Provides: bundled(node-minimatch) = 10.0.3
|
||||
Provides: bundled(node-undici) = 6.23.0
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@@ -416,7 +438,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.4
|
||||
Provides: npm = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
@@ -424,33 +446,32 @@ Requires: user(nobody)
|
||||
Requires: group(nobody)
|
||||
%endif
|
||||
%endif
|
||||
Provides: bundled(node-abbrev) = 2.0.0
|
||||
Provides: bundled(node-agent-base) = 7.1.1
|
||||
Provides: bundled(node-aggregate-error) = 3.1.0
|
||||
Provides: bundled(node-abbrev) = 3.0.1
|
||||
Provides: bundled(node-agent-base) = 7.1.3
|
||||
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-chalk) = 5.3.0
|
||||
Provides: bundled(node-brace-expansion) = 2.0.2
|
||||
Provides: bundled(node-cacache) = 19.0.1
|
||||
Provides: bundled(node-chalk) = 5.4.1
|
||||
Provides: bundled(node-chownr) = 2.0.0
|
||||
Provides: bundled(node-ci-info) = 4.0.0
|
||||
Provides: bundled(node-cidr-regex) = 4.1.1
|
||||
Provides: bundled(node-clean-stack) = 2.2.0
|
||||
Provides: bundled(node-chownr) = 3.0.0
|
||||
Provides: bundled(node-ci-info) = 4.2.0
|
||||
Provides: bundled(node-cidr-regex) = 4.1.3
|
||||
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.4.1
|
||||
Provides: bundled(node-diff) = 5.2.0
|
||||
Provides: bundled(node-eastasianwidth) = 0.2.0
|
||||
Provides: bundled(node-emoji-regex) = 8.0.0
|
||||
@@ -458,139 +479,139 @@ Provides: bundled(node-emoji-regex) = 9.2.2
|
||||
Provides: bundled(node-encoding) = 0.1.13
|
||||
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-exponential-backoff) = 3.1.2
|
||||
Provides: bundled(node-fastest-levenshtein) = 1.0.16
|
||||
Provides: bundled(node-foreground-child) = 3.1.1
|
||||
Provides: bundled(node-fdir) = 6.4.6
|
||||
Provides: bundled(node-foreground-child) = 3.3.1
|
||||
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-http-cache-semantics) = 4.1.1
|
||||
Provides: bundled(node-hosted-git-info) = 8.1.0
|
||||
Provides: bundled(node-http-cache-semantics) = 4.2.0
|
||||
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.6
|
||||
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-cidr) = 5.1.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.1
|
||||
Provides: bundled(node-libnpmexec) = 9.0.1
|
||||
Provides: bundled(node-libnpmfund) = 6.0.1
|
||||
Provides: bundled(node-libnpmhook) = 11.0.0
|
||||
Provides: bundled(node-libnpmorg) = 7.0.0
|
||||
Provides: bundled(node-libnpmpack) = 8.0.1
|
||||
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.1
|
||||
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.2
|
||||
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-p-map) = 4.0.0
|
||||
Provides: bundled(node-pacote) = 18.0.6
|
||||
Provides: bundled(node-parse-conflict-json) = 3.0.1
|
||||
Provides: bundled(node-mute-stream) = 2.0.0
|
||||
Provides: bundled(node-negotiator) = 1.0.0
|
||||
Provides: bundled(node-node-gyp) = 11.2.0
|
||||
Provides: bundled(node-nopt) = 8.1.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.2
|
||||
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) = 7.0.3
|
||||
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-picomatch) = 4.0.2
|
||||
Provides: bundled(node-postcss-selector-parser) = 7.1.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-call-limit) = 3.0.1
|
||||
Provides: bundled(node-promise-inflight) = 1.0.1
|
||||
Provides: bundled(node-promise-call-limit) = 3.0.2
|
||||
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.1.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-safer-buffer) = 2.1.2
|
||||
Provides: bundled(node-semver) = 7.6.2
|
||||
Provides: bundled(node-semver) = 7.7.2
|
||||
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.1.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) = 2.8.5
|
||||
Provides: bundled(node-socks-proxy-agent) = 8.0.5
|
||||
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.21
|
||||
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-tinyglobby) = 0.2.14
|
||||
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.1
|
||||
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,8 +702,10 @@ popd
|
||||
%patch -P 200 -p1
|
||||
|
||||
%patch -P 305 -p1
|
||||
%patch -P 306 -p1
|
||||
%patch -P 307 -p1
|
||||
%patch -P 309 -p1
|
||||
%patch -P 310 -p1
|
||||
|
||||
%if %{node_version_number} == 12
|
||||
# minimist security update - patch50
|
||||
@@ -781,6 +804,12 @@ 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} >= 22
|
||||
--shared-zstd \
|
||||
%endif
|
||||
%if %{node_version_number} >= 16 && (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150400)
|
||||
--openssl-default-cipher-list=PROFILE=SYSTEM \
|
||||
%endif
|
||||
@@ -901,6 +930,9 @@ mkdir -p %{buildroot}%{_defaultlicensedir}
|
||||
%check
|
||||
. ./spec.build.config
|
||||
|
||||
# ICU compat links
|
||||
test -e test/fixtures/icu/localizationData-v77.1.json || ln -s localizationData-v76.1.json test/fixtures/icu/localizationData-v77.1.json
|
||||
|
||||
# Relax the crypto policies for the test-suite
|
||||
export OPENSSL_SYSTEM_CIPHERS_OVERRIDE=xyz_nonexistent_file
|
||||
export OPENSSL_CONF=''
|
||||
@@ -909,11 +941,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 +957,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 +972,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