Compare commits

...

9 Commits

Author SHA256 Message Date
3881af0f5a Add patch for ICU 76.1 2024-11-18 17:05:22 +01:00
d0e9bff118 update to 22.11.0
First LTS version
2024-11-18 13:04:50 +01:00
7b429ccfa5 changelog 2024-10-28 17:39:46 +01:00
597e5559f6 update keyring 2024-10-28 17:37:45 +01:00
7393343f2b compat fix for c-ares 1.30 2024-10-28 17:20:26 +01:00
c64ea3b7fe add bugzilla references 2024-10-28 15:27:58 +01:00
c048babd99 update to 22.10.0 2024-10-28 15:00:38 +01:00
26b35168e1 update to 22.4.1 2024-07-24 10:52:38 +02:00
Adam Majer
14d7a60874 Update to 22.3.0 2024-06-14 13:09:37 +02:00
12 changed files with 356 additions and 257 deletions

View File

@ -1,41 +1,41 @@
52d5cd604f2ac283c03f1ebb7746ee74e09e8f52d3e17d29fed1fd58da59d2a8 node-v22.2.0-aix-ppc64.tar.gz
c42ef85e163e696a377fa248c52aeea68a8e2ee14a92f900eb11a6a53b0128f2 node-v22.2.0-arm64.msi
66dd98bd28d19603f2e5ab0aa0e07b64f8cad28bbc446bb44fb61cc3da62e685 node-v22.2.0-darwin-arm64.tar.gz
c809cfaf7fc06bcf35ae469781c66dbc79be7fbea641937784fdefc297a2b335 node-v22.2.0-darwin-arm64.tar.xz
b3cd4ab4bb4ac7f9bd5c7603baf6bbdcf466c86bb6ca49abf5e221ab8fad7ceb node-v22.2.0-darwin-x64.tar.gz
3a3058cb460899587bf5a3129309826886c704b8ad9ff69d9b55ad99b2c843e2 node-v22.2.0-darwin-x64.tar.xz
c8cd9be91fc4f24260068c44424bc11168fe5d525a29ee204475c8cd22ea435b node-v22.2.0-headers.tar.gz
3dbef9a1558b0bbc1ac8d06ff8acdd1899d4509ee5a9e6af5a8e8b22e063d5bd node-v22.2.0-headers.tar.xz
7fc74ddeb3e2317c905fdebd2b681d565fc2a2980515430d4f01dad4ce312175 node-v22.2.0-linux-arm64.tar.gz
e3d580cb7738dd9a0f8672f684de86b621d8755a6cf349df8c01b8dd875b59ab node-v22.2.0-linux-arm64.tar.xz
eb14ff993a1a4b6c0417b5f086b1629c82a3665edfa1c83f3b5ab1250b721307 node-v22.2.0-linux-armv7l.tar.gz
a979f384fea317053ed435a245e3d3663280859b17487fc2b6515e14c6770711 node-v22.2.0-linux-armv7l.tar.xz
e70cb8c5dde31c5e0ee998124f74f7fb7dc7efd7e1549fa162e7fbc20bd937cc node-v22.2.0-linux-ppc64le.tar.gz
235dc30116f378d1ec326b49ad0ea08c3d84cc057238749e7ada6bb4307b1186 node-v22.2.0-linux-ppc64le.tar.xz
48a1999e35c5f8b7cf2240239d588d52fad424635b4dd4933062eb9f2a3608f4 node-v22.2.0-linux-s390x.tar.gz
cb3cce70aeb29072aad450fd0b09130d34a36e38ad689f3bc4a6d72caade281f node-v22.2.0-linux-s390x.tar.xz
2c6eaf8bfd0f886ed8764ffce19c795e909639105e4056b1d9f8f917bad12cf1 node-v22.2.0-linux-x64.tar.gz
3544eee9cb1414d6e9003efd56bc807ffb0f4445d2fc383e1df04c3e5e72c91b node-v22.2.0-linux-x64.tar.xz
e8cdad84c555a6281487890d56676f385e35dc13b35089963e4d624a6c9f58f4 node-v22.2.0.pkg
2210ce0a40aa6aec3cc118228fdad6536607002319b1fde24260d179118c1055 node-v22.2.0.tar.gz
889908a8828d1484910d7e659b6aa57ade8d528ff0e390e9a77ef659a7628474 node-v22.2.0.tar.xz
10e5a2bcf72e568933643a652bd7728231f8d5dfc59d623f5fcca550b3f1d799 node-v22.2.0-win-arm64.7z
4b7c296503da5737448b9f5f620e0f961f23f53eafc0e04688a96944afb08fd7 node-v22.2.0-win-arm64.zip
740a4d3c613a77268ac856c2c209603236c51745506be1d3237b47491c27e7c7 node-v22.2.0-win-x64.7z
f83e956bd90c7f5066a7e96e9372839fcc263795525fa0c03cfdf4b43be9457f node-v22.2.0-win-x64.zip
6c9bd5337b87ce6c31eae8145ccb9ce70d78ab5527125f0ab2fbbc170362953a node-v22.2.0-win-x86.7z
efec272a434043b439ac32f7b11fa674d595772a4636b50481fa2aedb68578ac node-v22.2.0-win-x86.zip
a2fbc72550ade8f9e391ea054af8fd91a3c2f224ea6d7f8eccdef215a5c30fde node-v22.2.0-x64.msi
c03be5bc511dc5825471ee14d80b74d4de06e2ab3676a56fbe5fed10b6a48c92 node-v22.2.0-x86.msi
767231a4a8667fa41559a04857f5824a01ec46075289d4e1f868cc86dc8186fd win-arm64/node.exe
30e63a6726cda6539eeb37c311adf915bccd5c1462723b97a6c07ac91e8ae728 win-arm64/node.lib
aa7fe0d9948ff3aab51c960e8d85dd7e28c66fd8f1a7c0e173c34a4862504d32 win-arm64/node_pdb.7z
376ee1f8d4b1870838466c9b33c60c6100ace5693ba1c955c6a4cc926a0dc56e win-arm64/node_pdb.zip
9f281fc885999757b43ad229aec5b53206d1088abacb49cc5b3e830d39521a2f win-x64/node.exe
c4d08d45267da3625a30730bf5c8e41518f25d9809179feb267f1b393f5c5f05 win-x64/node.lib
fb44de8c670d8c53a08c94ddfa2484f384af5e5c4caa0b9114224d0bb678796f win-x64/node_pdb.7z
cb68da2ff89514145941181d89508f87b2248da0b011ba4ef1e2df697ad47a9d win-x64/node_pdb.zip
6c7509b76bec8e0421be417555fe49619c4360f9c7f56e5622910bae73c835db win-x86/node.exe
fc3bf3c1e561da1e1c152be9aa5ed1bce8d263a5124841a4ba41ebc37c727f3e win-x86/node.lib
e83aa6ddd82ffb8e9ea7d22bf2d09b03880dd959c89e5c0cc7beab8fbb9d6da7 win-x86/node_pdb.7z
582f22f08bb045e8b6b59e6e8e0f3394eb1305157d48370084ae80e80b237fce win-x86/node_pdb.zip
1bbf7e632ea55eabf920e8e27bb3e73ca4923eca78a300e5767635e9b2c0c603 node-v22.11.0-aix-ppc64.tar.gz
de6cd4db461b6dc3b3eab31a36b58e30d8af074183bcb13ceca6fd162a579ba6 node-v22.11.0-arm64.msi
2e89afe6f4e3aa6c7e21c560d8a0453d84807e97850bbb819b998531a22bdfde node-v22.11.0-darwin-arm64.tar.gz
c379a90c6aa605b74042a233ddcda4247b347ba5732007d280e44422cc8f9ecb node-v22.11.0-darwin-arm64.tar.xz
668d30b9512137b5f5baeef6c1bb4c46efff9a761ba990a034fb6b28b9da2465 node-v22.11.0-darwin-x64.tar.gz
ab28d1784625d151e3f608a9412a009118f376118ed842ae643f8c2efdfb0af6 node-v22.11.0-darwin-x64.tar.xz
0d42dc3b3377f49e495976dc0e4f5c3a7ffb1d714050d2f247afdbbc0898dae5 node-v22.11.0-headers.tar.gz
7eddf759cd3d1a0113c1a0ac7c080e5c0e458bca34a064c62dc8ce613ff5efdd node-v22.11.0-headers.tar.xz
27453f7a0dd6b9e6738f1f6ea6a09b102ec7aa484de1e39d6a1c3608ad47aa6a node-v22.11.0-linux-arm64.tar.gz
6031d04b98f59ff0f7cb98566f65b115ecd893d3b7870821171708cdbaf7ae6e node-v22.11.0-linux-arm64.tar.xz
f85ced095b17e2535859fd2a5641370c3fca12dd72147f93d2696e2909fe1e9d node-v22.11.0-linux-armv7l.tar.gz
9de0fdcfb1cccbe03f72f939e4e6f03867aef3da8223f90606cd93757704dae0 node-v22.11.0-linux-armv7l.tar.xz
0532965a717d3996302a111703c007dac2763e01795730d488dadbc2fcfac2fa node-v22.11.0-linux-ppc64le.tar.gz
d1d49d7d611b104b6d616e18ac439479d8296aa20e3741432de0e85f4735a81e node-v22.11.0-linux-ppc64le.tar.xz
64f691400ffe3a84be930e0cb03607d0b95bef122a679f7893d8e2972e90c521 node-v22.11.0-linux-s390x.tar.gz
f474ed77d6b13d66d07589aee1c2b9175be4c1b165483e608ac1674643064a99 node-v22.11.0-linux-s390x.tar.xz
4f862bab52039835efbe613b532238b6e4dde98d139a34e6923193e073438b13 node-v22.11.0-linux-x64.tar.gz
83bf07dd343002a26211cf1fcd46a9d9534219aad42ee02847816940bf610a72 node-v22.11.0-linux-x64.tar.xz
8d658eda7699d580ccc268ca8a40ced5aeecef5bb4d19c4187e92eebac5d68ec node-v22.11.0.pkg
24e5130fa7bc1eaab218a0c9cb05e03168fa381bb9e3babddc6a11f655799222 node-v22.11.0.tar.gz
bbf0297761d53aefda9d7855c57c7d2c272b83a7b5bad4fea9cb29006d8e1d35 node-v22.11.0.tar.xz
55b491f3d73fdacf8cf43a2199e824abadda2c43a94780310baa526dc1d679e2 node-v22.11.0-win-arm64.7z
b9ff5a6b6ffb68a0ffec82cc5664ed48247dabbd25ee6d129facd2f65a8ca80d node-v22.11.0-win-arm64.zip
d2a4fadb1f5e4abc634b6ac16c44cae7c73ffc3dbfe8b92b011d85f2df90f6c1 node-v22.11.0-win-x64.7z
905373a059aecaf7f48c1ce10ffbd5334457ca00f678747f19db5ea7d256c236 node-v22.11.0-win-x64.zip
ca0a274f1edc90005b1dc7ec22ec55dad1acc21320bc0be853065d69db2a5152 node-v22.11.0-win-x86.7z
700e0b1bcaca8b1a04c929ce29b0f07e099b4a34a7facab74fda71764d16f71c node-v22.11.0-win-x86.zip
9eea480bd30c98ae11a97cb89a9278235cbbbd03c171ee5e5198bd86b7965b4b node-v22.11.0-x64.msi
ab19f02c4b0d9f578928b67d2a652496aa31729a8cc9771ffc9cc6d3b8afe7e3 node-v22.11.0-x86.msi
b4e5e2821aeb518c0c55f02d4fcd9182c57f97bcce50341998333dba38e34ea4 win-arm64/node.exe
ad65afe5b192644fec9d599c77f0e38a8421d0d7ad2389679882a288c8df444b win-arm64/node.lib
0861cf0f1ff6135a21eb26279fc6a6f7dc9d9c0ac926a17553f387c32945eea5 win-arm64/node_pdb.7z
f35c2d1a967080b0a1e288b891cb9300a04d0b90042bac8c965c9ebcfc3749bf win-arm64/node_pdb.zip
7447c4ece014aa41fb2ff866c993c708e5a8213a00913cc2ac5049ea3ffc230d win-x64/node.exe
3581a06b68c4584d146372113eaa8c4d102127222e5041195ba38f185eef419c win-x64/node.lib
171d80aeedbe43bd70b3539de6f845a359d8dd97a684df2cbb4f49d8946f4991 win-x64/node_pdb.7z
7c3fa0149b17d9ff4b5af2f3e19e768b6ab684a9dd8dcf35ea204a90d3f56903 win-x64/node_pdb.zip
e54a4559dafd56562a45b50000831d28ee2f7f1ac4ff98b38165871f31f64ab8 win-x86/node.exe
45399070d1d247cf223d12e80d3e638635af24d2f7a4714bc8e38a6a918f162a win-x86/node.lib
a78040dbb0e7296eebe90c235091ee46a8a01587a226bf4e5a01f5b399e153d7 win-x86/node_pdb.7z
9fb300178536e8243ad55207ee85990731e77299c9e670cec0b54e10dc971713 win-x86/node_pdb.zip

Binary file not shown.

View File

@ -2,10 +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.2.0/test/parallel/test-node-output-v8-warning.mjs
Index: node-v22.10.0/test/parallel/test-node-output-v8-warning.mjs
===================================================================
--- node-v22.2.0.orig/test/parallel/test-node-output-v8-warning.mjs
+++ node-v22.2.0/test/parallel/test-node-output-v8-warning.mjs
--- node-v22.10.0.orig/test/parallel/test-node-output-v8-warning.mjs
+++ node-v22.10.0/test/parallel/test-node-output-v8-warning.mjs
@@ -15,7 +15,7 @@ describe('v8 output', { concurrency: !pr
.replaceAll('*test*', '*')
.replaceAll(/.*?\*fixtures\*v8\*/g, '(node:*) V8: *') // Replace entire path before fixtures/v8
@ -15,10 +15,10 @@ Index: node-v22.2.0/test/parallel/test-node-output-v8-warning.mjs
}
const common = snapshot
.transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceNodeVersion);
Index: node-v22.2.0/test/parallel/test-module-loading-globalpaths.js
Index: node-v22.10.0/test/parallel/test-module-loading-globalpaths.js
===================================================================
--- node-v22.2.0.orig/test/parallel/test-module-loading-globalpaths.js
+++ node-v22.2.0/test/parallel/test-module-loading-globalpaths.js
--- node-v22.10.0.orig/test/parallel/test-module-loading-globalpaths.js
+++ node-v22.10.0/test/parallel/test-module-loading-globalpaths.js
@@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c
addLibraryPath(process.env);
@ -29,10 +29,10 @@ Index: node-v22.2.0/test/parallel/test-module-loading-globalpaths.js
if (process.argv[2] === 'child') {
console.log(require(pkgName).string);
} else {
Index: node-v22.2.0/test/parallel/test-tls-passphrase.js
Index: node-v22.10.0/test/parallel/test-tls-passphrase.js
===================================================================
--- node-v22.2.0.orig/test/parallel/test-tls-passphrase.js
+++ node-v22.2.0/test/parallel/test-tls-passphrase.js
--- node-v22.10.0.orig/test/parallel/test-tls-passphrase.js
+++ node-v22.10.0/test/parallel/test-tls-passphrase.js
@@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio
}, onSecureConnect());
})).unref();
@ -42,10 +42,10 @@ Index: node-v22.2.0/test/parallel/test-tls-passphrase.js
// Missing passphrase
assert.throws(function() {
Index: node-v22.2.0/test/parallel/test-repl-envvars.js
Index: node-v22.10.0/test/parallel/test-repl-envvars.js
===================================================================
--- node-v22.2.0.orig/test/parallel/test-repl-envvars.js
+++ node-v22.2.0/test/parallel/test-repl-envvars.js
--- node-v22.10.0.orig/test/parallel/test-repl-envvars.js
+++ node-v22.10.0/test/parallel/test-repl-envvars.js
@@ -2,7 +2,9 @@
// Flags: --expose-internals
@ -57,11 +57,11 @@ Index: node-v22.2.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.2.0/Makefile
Index: node-v22.10.0/Makefile
===================================================================
--- node-v22.2.0.orig/Makefile
+++ node-v22.2.0/Makefile
@@ -392,7 +392,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
--- node-v22.10.0.orig/Makefile
+++ node-v22.10.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 +69,15 @@ Index: node-v22.2.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
@@ -563,7 +562,8 @@ test-ci-js: | clear-stalled
.PHONY: test-ci
@@ -572,6 +571,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 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) \
@@ -745,7 +745,8 @@ apidocs_json = $(addprefix out/,$(apidoc
@@ -752,7 +752,8 @@ apidocs_json = $(addprefix out/,$(apidoc
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))
tools/doc/node_modules: tools/doc/package.json
@ -89,10 +87,10 @@ Index: node-v22.2.0/Makefile
echo "Skipping tools/doc/node_modules (no crypto)"; \
else \
cd tools/doc && $(call available-node,$(run-npm-ci)) \
Index: node-v22.2.0/tools/test.py
Index: node-v22.10.0/tools/test.py
===================================================================
--- node-v22.2.0.orig/tools/test.py
+++ node-v22.2.0/tools/test.py
--- node-v22.10.0.orig/tools/test.py
+++ node-v22.10.0/tools/test.py
@@ -1386,7 +1386,7 @@ def BuildOptions():
result.add_option("-s", "--suite", help="A test suite",
default=[], action="append")
@ -102,29 +100,29 @@ Index: node-v22.2.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.2.0/test/parallel/test-crypto-dh.js
Index: node-v22.10.0/test/parallel/test-crypto-dh.js
===================================================================
--- node-v22.2.0.orig/test/parallel/test-crypto-dh.js
+++ node-v22.2.0/test/parallel/test-crypto-dh.js
@@ -92,7 +92,7 @@ const crypto = require('crypto');
--- node-v22.10.0.orig/test/parallel/test-crypto-dh.js
+++ node-v22.10.0/test/parallel/test-crypto-dh.js
@@ -93,7 +93,7 @@ const crypto = require('crypto');
dh3.computeSecret('');
}, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ?
'error:02800080:Diffie-Hellman routines::invalid secret' :
'Unspecified validation error' :
- 'Supplied key is too small' });
+ /(Supplied key is too small|invalid public key)/ });
}
}
Index: node-v22.2.0/test/parallel/test-buffer-failed-alloc-typed-arrays.js
Index: node-v22.10.0/test/parallel/test-dns.js
===================================================================
--- node-v22.2.0.orig/test/parallel/test-buffer-failed-alloc-typed-arrays.js
+++ node-v22.2.0/test/parallel/test-buffer-failed-alloc-typed-arrays.js
@@ -12,7 +12,7 @@ const SlowBuffer = require('buffer').Slo
// whether or not to zero-fill was not being reset, causing TypedArrays to
// allocate incorrectly.
const zeroArray = new Uint32Array(10).fill(0);
-const sizes = [1e10, 0, 0.1, -1, 'a', undefined, null, NaN];
+const sizes = [1e20, 0, 0.1, -1, 'a', undefined, null, NaN];
const allocators = [
Buffer,
SlowBuffer,
--- node-v22.10.0.orig/test/parallel/test-dns.js
+++ node-v22.10.0/test/parallel/test-dns.js
@@ -403,7 +403,7 @@ assert.throws(() => {
const server = dgram.createSocket('udp4');
- server.on('message', common.mustCall((msg, { address, port }) => {
+ server.on('message', common.mustCallAtLeast((msg, { address, port }) => {
const parsed = dnstools.parseDNSPacket(msg);
const domain = parsed.questions[0].domain;
assert.strictEqual(domain, 'example.org');

13
icu76.1.patch Normal file
View File

@ -0,0 +1,13 @@
Index: node-v22.11.0/configure.py
===================================================================
--- node-v22.11.0.orig/configure.py
+++ node-v22.11.0/configure.py
@@ -1876,7 +1876,7 @@ def configure_intl(o):
elif with_intl == 'system-icu':
# ICU from pkg-config.
o['variables']['v8_enable_i18n_support'] = 1
- pkgicu = pkg_config('icu-i18n')
+ pkgicu = pkg_config('icu-i18n icu-uc')
if not pkgicu[0]:
error('''Could not load pkg-config data for "icu-i18n".
See above errors or the README.md.''')

View File

@ -3,22 +3,22 @@ is run serially over these binaries instead of in parallel.
OBS workers run out of memory as each executable seems to require
upward of 5G RAM
Index: node-v22.2.0/node.gyp
Index: node-v22.10.0/node.gyp
===================================================================
--- node-v22.2.0.orig/node.gyp
+++ node-v22.2.0/node.gyp
@@ -1167,6 +1167,7 @@
'deps/simdjson/simdjson.gyp:simdjson',
--- node-v22.10.0.orig/node.gyp
+++ node-v22.10.0/node.gyp
@@ -1193,6 +1193,7 @@
'deps/simdutf/simdutf.gyp:simdutf',
'deps/ada/ada.gyp:ada',
'deps/nbytes/nbytes.gyp:nbytes',
+ 'fuzz_env'
],
'includes': [
@@ -1241,6 +1242,7 @@
'<(node_lib_target_name)',
'deps/histogram/histogram.gyp:histogram',
@@ -1273,6 +1274,7 @@
'deps/sqlite/sqlite.gyp:sqlite',
'deps/ada/ada.gyp:ada',
'deps/nbytes/nbytes.gyp:nbytes',
+ 'cctest'
],

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

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:889908a8828d1484910d7e659b6aa57ade8d528ff0e390e9a77ef659a7628474
size 44334460

Binary file not shown.

View File

@ -1,3 +1,116 @@
-------------------------------------------------------------------
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>
- Update to 22.3.0:
* buffer: add .bytes() method to Blob
* doc: add context.assert docs
* doc: improve explanation about built-in modules
* fs: mark recursive cp methods as stable
* net: add new net.server.listen tracing channel
* module: print amount of load time of a cjs module
* process: add process.getBuiltinModule(id)
* cli: add NODE_RUN_PACKAGE_JSON_PATH env
* cli: add NODE_RUN_SCRIPT_NAME env to node --run
* lib: add EventSource Client
* lib: replace MessageEvent with undici's
* src: traverse parent folders while running --run
* src,permission: --allow-wasi & prevent WASI exec
* test_runner: support module mocking
* test_runner: add snapshot testing
* test_runner: add context.fullName
- fix_ci_tests.patch: partially upstreamed and refreshed
-------------------------------------------------------------------
Wed May 22 10:49:02 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -31,7 +31,7 @@
%endif
Name: nodejs22
Version: 22.2.0
Version: 22.11.0
Release: 0
# Double DWZ memory limits
@ -172,6 +172,7 @@ Patch200: versioned.patch
Patch305: qemu_timeouts_arches.patch
Patch307: v8-i586.patch
Patch309: gcc13.patch
Patch311: icu76.1.patch
BuildRequires: pkg-config
BuildRequires: fdupes
@ -292,7 +293,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,7 +304,11 @@ BuildRequires: bundled_openssl_should_not_be_required
%if ! 0%{with intree_cares}
BuildRequires: pkgconfig(libcares) >= 1.17.0
%else
Provides: bundled(libcares2) = 1.28.1
Provides: bundled(libcares2) = 1.33.1
%endif
%if %node_version_number >= 22
BuildRequires: sqlite3-devel
%endif
%if ! 0%{with intree_icu}
@ -315,7 +320,7 @@ Provides: bundled(icu) = 75.1
%if ! 0%{with intree_nghttp2}
BuildRequires: libnghttp2-devel >= 1.41.0
%else
Provides: bundled(nghttp2) = 1.61.0
Provides: bundled(nghttp2) = 1.63.0
%endif
%if 0%{with valgrind_tests}
@ -366,7 +371,7 @@ ExclusiveArch: not_buildable
Provides: bundled(uvwasi) = 0.0.21
Provides: bundled(libuv) = 1.48.0
Provides: bundled(v8) = 12.4.254.14
Provides: bundled(v8) = 12.4.254.21
%if %{with intree_brotli}
Provides: bundled(brotli) = 1.1.0
%else
@ -377,17 +382,18 @@ BuildRequires: pkgconfig(libbrotlidec)
Provides: bundled(llhttp) = 9.2.1
Provides: bundled(ngtcp2) = 1.3.0
Provides: bundled(simdutf) = 5.2.8
Provides: bundled(simdjson) = 3.9.2
Provides: bundled(simdutf) = 5.5.0
Provides: bundled(simdjson) = 3.10.0
# bundled url-ada parser, not ada
Provides: bundled(ada) = 2.7.8
Provides: bundled(ada) = 2.9.0
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.1
Provides: bundled(node-minimatch) = 9.0.4
Provides: bundled(node-undici) = 6.13.0
Provides: bundled(node-acorn) = 8.12.1
Provides: bundled(node-acorn-walk) = 8.3.4
Provides: bundled(node-amaro) = 0.1.8
Provides: bundled(node-cjs-module-lexer) = 1.4.1
Provides: bundled(node-corepack) = 0.29.4
Provides: bundled(node-minimatch) = 10.0.1
Provides: bundled(node-undici) = 6.20.0
%description
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
@ -416,7 +422,7 @@ Requires: nodejs-common
Requires: nodejs22 = %{version}
Provides: nodejs-npm = %{version}
Obsoletes: nodejs-npm < 4.0.0
Provides: npm(npm) = 10.7.0
Provides: npm(npm) = 10.9.0
Provides: npm = %{version}
%if 0%{?suse_version} >= 1500
%if %{node_version_number} >= 10
@ -425,6 +431,7 @@ 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
@ -434,24 +441,25 @@ 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.3
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-builtins) = 5.1.0
Provides: bundled(node-cacache) = 18.0.2
Provides: bundled(node-cacache) = 18.0.4
Provides: bundled(node-cacache) = 19.0.1
Provides: bundled(node-chalk) = 5.3.0
Provides: bundled(node-chownr) = 2.0.0
Provides: bundled(node-chownr) = 3.0.0
Provides: bundled(node-ci-info) = 4.0.0
Provides: bundled(node-cidr-regex) = 4.0.5
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.2
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-cssesc) = 3.0.0
Provides: bundled(node-debug) = 4.3.4
Provides: bundled(node-debug) = 4.3.6
Provides: bundled(node-diff) = 5.2.0
Provides: bundled(node-eastasianwidth) = 0.2.0
Provides: bundled(node-emoji-regex) = 8.0.0
@ -461,138 +469,147 @@ 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.3.12
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.1
Provides: bundled(node-hosted-git-info) = 8.0.0
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.4
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.2
Provides: bundled(node-init-package-json) = 6.0.2
Provides: bundled(node-ini) = 5.0.0
Provides: bundled(node-init-package-json) = 7.0.1
Provides: bundled(node-ip-address) = 9.0.5
Provides: bundled(node-ip-regex) = 5.0.0
Provides: bundled(node-is-cidr) = 5.0.5
Provides: bundled(node-is-core-module) = 2.13.1
Provides: bundled(node-is-cidr) = 5.1.0
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) = 2.3.6
Provides: bundled(node-jackspeak) = 3.4.3
Provides: bundled(node-jsbn) = 1.1.0
Provides: bundled(node-json-parse-even-better-errors) = 3.0.1
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.5
Provides: bundled(node-libnpmdiff) = 6.1.1
Provides: bundled(node-libnpmexec) = 8.1.0
Provides: bundled(node-libnpmfund) = 5.0.9
Provides: bundled(node-libnpmhook) = 10.0.4
Provides: bundled(node-libnpmorg) = 6.0.5
Provides: bundled(node-libnpmpack) = 7.0.1
Provides: bundled(node-libnpmpublish) = 9.0.7
Provides: bundled(node-libnpmsearch) = 7.0.4
Provides: bundled(node-libnpmteam) = 6.0.4
Provides: bundled(node-libnpmversion) = 6.0.1
Provides: bundled(node-lru-cache) = 10.2.2
Provides: bundled(node-lru-cache) = 6.0.0
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.0
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) = 13.0.1
Provides: bundled(node-minimatch) = 9.0.4
Provides: bundled(node-make-fetch-happen) = 14.0.1
Provides: bundled(node-minimatch) = 9.0.5
Provides: bundled(node-minipass) = 3.3.6
Provides: bundled(node-minipass) = 5.0.0
Provides: bundled(node-minipass) = 7.0.4
Provides: bundled(node-minipass) = 7.1.2
Provides: bundled(node-minipass-collect) = 2.0.1
Provides: bundled(node-minipass-fetch) = 3.0.4
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-mkdirp) = 3.0.1
Provides: bundled(node-ms) = 2.1.2
Provides: bundled(node-ms) = 2.1.3
Provides: bundled(node-mute-stream) = 1.0.0
Provides: bundled(node-mute-stream) = 2.0.0
Provides: bundled(node-negotiator) = 0.6.3
Provides: bundled(node-node-gyp) = 10.1.0
Provides: bundled(node-nopt) = 7.2.0
Provides: bundled(node-normalize-package-data) = 6.0.0
Provides: bundled(node-npm-audit-report) = 5.0.0
Provides: bundled(node-npm-bundled) = 3.0.0
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.0
Provides: bundled(node-npm-profile) = 9.0.2
Provides: bundled(node-npm-registry-fetch) = 17.0.0
Provides: bundled(node-npm-user-validate) = 2.0.0
Provides: bundled(node-node-gyp) = 10.2.0
Provides: bundled(node-nopt) = 7.2.1
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.0
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.1
Provides: bundled(node-npm-user-validate) = 3.0.0
Provides: bundled(node-p-map) = 4.0.0
Provides: bundled(node-pacote) = 18.0.3
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.0
Provides: bundled(node-pacote) = 19.0.0
Provides: bundled(node-parse-conflict-json) = 4.0.0
Provides: bundled(node-path-key) = 3.1.1
Provides: bundled(node-path-scurry) = 1.10.2
Provides: bundled(node-postcss-selector-parser) = 6.0.16
Provides: bundled(node-proc-log) = 3.0.0
Provides: bundled(node-path-scurry) = 1.11.1
Provides: bundled(node-postcss-selector-parser) = 6.1.2
Provides: bundled(node-proc-log) = 4.2.0
Provides: bundled(node-proggy) = 2.0.0
Provides: bundled(node-proc-log) = 5.0.0
Provides: bundled(node-proggy) = 3.0.0
Provides: bundled(node-promise-all-reject-late) = 1.0.1
Provides: bundled(node-promise-call-limit) = 3.0.1
Provides: bundled(node-promise-inflight) = 1.0.1
Provides: bundled(node-promise-retry) = 2.0.1
Provides: bundled(node-promzard) = 1.0.1
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.0
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.0
Provides: bundled(node-sigstore) = 2.3.1
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.17
Provides: bundled(node-spdx-license-ids) = 3.0.18
Provides: bundled(node-sprintf-js) = 1.1.3
Provides: bundled(node-ssri) = 10.0.5
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.0
Provides: bundled(node-tuf-js) = 2.2.1
Provides: bundled(node-unique-filename) = 3.0.0
Provides: bundled(node-unique-filename) = 4.0.0
Provides: bundled(node-unique-slug) = 4.0.0
Provides: bundled(node-unique-slug) = 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.0
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
@ -685,6 +702,8 @@ popd
%patch -P 305 -p1
%patch -P 307 -p1
%patch -P 309 -p1
%patch -P 311 -p1
%if %{node_version_number} == 12
# minimist security update - patch50
@ -783,6 +802,9 @@ EOF
%if %{node_version_number} < 19
--without-dtrace \
%endif
%if %{node_version_number} >= 22
--shared-sqlite \
%endif
%if %{node_version_number} >= 16 && (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150400)
--openssl-default-cipher-list=PROFILE=SYSTEM \
%endif

View File

@ -1,10 +1,10 @@
Index: node-v22.1.0/test/common/index.js
Index: node-v22.10.0/test/common/index.js
===================================================================
--- node-v22.1.0.orig/test/common/index.js
+++ node-v22.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;

View File

@ -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 *