Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
.osc
|
@ -1,41 +1,41 @@
|
||||
ed52239294ad517fbe91a268146d5d2aa8a17d2d62d64873e43219078ba71c4e node-v22.13.1-aix-ppc64.tar.gz
|
||||
be127be1d98cad94c56f46245d0f2de89934d300028694456861a6d5ac558bf3 node-v22.13.1-arm64.msi
|
||||
97483ff4361d239a56d038c6335767a56a291e78c10f07446f463f05d9d19b89 node-v22.13.1-darwin-arm64.tar.gz
|
||||
9c169a9369f6c667a4de6b14c7492065adbae0fa830ef4c666bea2c53ac7b576 node-v22.13.1-darwin-arm64.tar.xz
|
||||
6fdcc8412d434664238b0651ebd5ad55d15a08598ff42dcb6d9cf1d434a6c4be node-v22.13.1-darwin-x64.tar.gz
|
||||
cbc49a2f179ec51f3a7d49f91b05e16db2ea8ea4ca586e1e370d19661becf0eb node-v22.13.1-darwin-x64.tar.xz
|
||||
f9cde9ace585c3979f1b4ee247914f35fae6e7b7eabc6a40961f89ad39e78964 node-v22.13.1-headers.tar.gz
|
||||
2722236564df6d33b1d953f23e21bf5247b62b38ea9000b47c655ee3a9a440e7 node-v22.13.1-headers.tar.xz
|
||||
911d9c07af38c82be22cd0a3db613aabc578ba940b35380aeedadd6d48070bc1 node-v22.13.1-linux-arm64.tar.gz
|
||||
0a237c413ccbab920640438bf6e1a32edb19845bdc21f0e1cd5b91545ce1c126 node-v22.13.1-linux-arm64.tar.xz
|
||||
82be9fa5e74ee29d7342d38306dbee19d3e2239b5b753870c04fd03768916a7e node-v22.13.1-linux-armv7l.tar.gz
|
||||
f2be8dca2a7a518f6d187aa4b18abbeeafd71096a6d95f73f4d8bc0f8d2394ea node-v22.13.1-linux-armv7l.tar.xz
|
||||
e4d34550d791cc809cfbfe8d0e3082634796add404169484b0849fbae0714576 node-v22.13.1-linux-ppc64le.tar.gz
|
||||
377a7a1ea66f39251e1657f419e9404d526fcca9910620d0ecf0a870c6308f6b node-v22.13.1-linux-ppc64le.tar.xz
|
||||
56375cf2c827a425d708bd0322fd635b6f2038e272468395f4e160e1ea4ae91e node-v22.13.1-linux-s390x.tar.gz
|
||||
22da01dbcead3ef7e69de6c1310a1c5c485039631f731a6ff0c35530cf5c811b node-v22.13.1-linux-s390x.tar.xz
|
||||
666148b9fe0c7e1301cc1b029e33a45e9e4a893f68d2d2bb1cc88a931a88a004 node-v22.13.1-linux-x64.tar.gz
|
||||
0d2a5af33c7deab5555c8309cd3f373446fe1526c1b95833935ab3f019733b3b node-v22.13.1-linux-x64.tar.xz
|
||||
620a7b4008aa0406678987ce2dd22458a38bae163fe7c69fd243f1204725e6c2 node-v22.13.1.pkg
|
||||
e7d5b1e84e7f3c3cebda81e2b138469eef41ba4ecf16a87fd15fc3f7afa3f701 node-v22.13.1.tar.gz
|
||||
cfce282119390f7e0c2220410924428e90dadcb2df1744c0c4a0e7baae387cc2 node-v22.13.1.tar.xz
|
||||
b2c537f24a725d7e6058d23b1b89bbf31e6c7299b51ac31e9c25dc3c6a61e2d9 node-v22.13.1-win-arm64.7z
|
||||
db6d3d28e1b34acdbd9db7bac5ec37980e07e48a6a2edcd3747d605fc8a5468e node-v22.13.1-win-arm64.zip
|
||||
d495abe2ae53962065fad979814259735fd90a4e03c6b94ccd3e32bc933aeda5 node-v22.13.1-win-x64.7z
|
||||
398a61e250a5584a62a5959e2f69f5d597fc83f1a5ebe3ed8fff29ba39d55f14 node-v22.13.1-win-x64.zip
|
||||
3c87ddd4aac7f980ed11caf97942bd87a647ce61d644ca08321508836b3d1899 node-v22.13.1-win-x86.7z
|
||||
504ed03c8596dfeabddfcd0736f987be93e3330a5c690306dedacef8880b592c node-v22.13.1-win-x86.zip
|
||||
821566022dc3b262ac2f76598ee4f46003a6edafe5dadb84e5fbc7daaa1a78c7 node-v22.13.1-x64.msi
|
||||
79c36ea6aa2ede10b416bdae55b568ab31798ede2697440b266312bba95ef580 node-v22.13.1-x86.msi
|
||||
afb7dcd60c7557843e5c2777205564950544297ba0588faa2aae573ccb735767 win-arm64/node.exe
|
||||
988eb8c60a5ade17e652dbdb60d56d3c6ad5e599a99ce04932b8c4c86583cdaf win-arm64/node.lib
|
||||
b19efd6f54283a2c01027f0e74e54563d06495b87efe08d111e1a176afd14d02 win-arm64/node_pdb.7z
|
||||
0bb490f44fc575dd570326fae9f0a5fca1187bfc342f57a50084ef86aa2e6679 win-arm64/node_pdb.zip
|
||||
8f6945c55a51c893691534e7163372e4cedb62c8ad80a2a975df3f14a19fba16 win-x64/node.exe
|
||||
65e45757c026c93a170743a811ef1b921ae12d6d9dd62d258bbbca0626687626 win-x64/node.lib
|
||||
2ad1af26e2f78247473e1e05f78fff3be7401f47c327f45602c84dce5d552cc0 win-x64/node_pdb.7z
|
||||
31099d09933aad429c36071503cd200eb66c41529524ac159873f97d9f097c83 win-x64/node_pdb.zip
|
||||
0b7071f0a7d90d4e1567d94a37c5d94441a3ca71a4eaa9596bc06e992c06e9c8 win-x86/node.exe
|
||||
79bae10059e833ce7fa4de05e5601034461327e2e7cb75c2144b87d4ab5ac547 win-x86/node.lib
|
||||
c3fb150e58d16dadd95c24c8a0a4c020a18b3c852b63e36df39587a301512ca4 win-x86/node_pdb.7z
|
||||
97890935271fe117a745584ca710f0fcd38bbf24b8c920800411df87a3e22dc3 win-x86/node_pdb.zip
|
||||
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
|
||||
|
Binary file not shown.
@ -29,4 +29,5 @@
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
|
||||
</constraints>
|
||||
|
@ -1,3 +0,0 @@
|
||||
mtime: 1737543704
|
||||
commit: 604d97274942396e3e03c2c2c6a6edd2aa64bbf67e33f6a9c68bdbef05449ac7
|
||||
url: https://src.opensuse.org/nodejs/nodejs22.git
|
@ -2,10 +2,23 @@ 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.12.0/test/parallel/test-module-loading-globalpaths.js
|
||||
Index: node-v22.2.0/test/parallel/test-node-output-v8-warning.mjs
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/test/parallel/test-module-loading-globalpaths.js
|
||||
+++ node-v22.12.0/test/parallel/test-module-loading-globalpaths.js
|
||||
--- 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
|
||||
@@ -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.2.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
|
||||
@@ -11,6 +11,9 @@ const { addLibraryPath } = require('../c
|
||||
|
||||
addLibraryPath(process.env);
|
||||
@ -16,10 +29,10 @@ Index: node-v22.12.0/test/parallel/test-module-loading-globalpaths.js
|
||||
if (process.argv[2] === 'child') {
|
||||
console.log(require(pkgName).string);
|
||||
} else {
|
||||
Index: node-v22.12.0/test/parallel/test-tls-passphrase.js
|
||||
Index: node-v22.2.0/test/parallel/test-tls-passphrase.js
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/test/parallel/test-tls-passphrase.js
|
||||
+++ node-v22.12.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
|
||||
@@ -223,7 +223,7 @@ server.listen(0, common.mustCall(functio
|
||||
}, onSecureConnect());
|
||||
})).unref();
|
||||
@ -29,10 +42,10 @@ Index: node-v22.12.0/test/parallel/test-tls-passphrase.js
|
||||
|
||||
// Missing passphrase
|
||||
assert.throws(function() {
|
||||
Index: node-v22.12.0/test/parallel/test-repl-envvars.js
|
||||
Index: node-v22.2.0/test/parallel/test-repl-envvars.js
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/test/parallel/test-repl-envvars.js
|
||||
+++ node-v22.12.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
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
// Flags: --expose-internals
|
||||
@ -44,11 +57,11 @@ Index: node-v22.12.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.12.0/Makefile
|
||||
Index: node-v22.2.0/Makefile
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/Makefile
|
||||
+++ node-v22.12.0/Makefile
|
||||
@@ -397,7 +397,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
|
||||
--- node-v22.2.0.orig/Makefile
|
||||
+++ node-v22.2.0/Makefile
|
||||
@@ -392,7 +392,6 @@ ADDONS_HEADERS_PREREQS := tools/install.
|
||||
$(wildcard deps/uv/include/*/*.h) \
|
||||
$(wildcard deps/v8/include/*.h) \
|
||||
$(wildcard deps/v8/include/*/*.h) \
|
||||
@ -56,15 +69,17 @@ Index: node-v22.12.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
|
||||
@@ -570,6 +569,7 @@ test-ci-js: | clear-stalled ## Build and
|
||||
@@ -563,7 +562,8 @@ test-ci-js: | clear-stalled
|
||||
.PHONY: test-ci
|
||||
# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
|
||||
test-ci: LOGLEVEL := info ## Build and test everything (CI).
|
||||
test-ci: | clear-stalled bench-addons-build build-addons build-js-native-api-tests build-node-api-tests doc-only
|
||||
test-ci: 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
|
||||
+ 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) \
|
||||
@@ -750,7 +750,8 @@ apidocs_json = $(addprefix out/,$(apidoc
|
||||
@@ -745,7 +745,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
|
||||
@ -74,10 +89,10 @@ Index: node-v22.12.0/Makefile
|
||||
echo "Skipping tools/doc/node_modules (no crypto)"; \
|
||||
else \
|
||||
cd tools/doc && $(call available-node,$(run-npm-ci)) \
|
||||
Index: node-v22.12.0/tools/test.py
|
||||
Index: node-v22.2.0/tools/test.py
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/tools/test.py
|
||||
+++ node-v22.12.0/tools/test.py
|
||||
--- node-v22.2.0.orig/tools/test.py
|
||||
+++ node-v22.2.0/tools/test.py
|
||||
@@ -1386,7 +1386,7 @@ def BuildOptions():
|
||||
result.add_option("-s", "--suite", help="A test suite",
|
||||
default=[], action="append")
|
||||
@ -87,43 +102,29 @@ Index: node-v22.12.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.12.0/test/parallel/test-crypto-dh.js
|
||||
Index: node-v22.2.0/test/parallel/test-crypto-dh.js
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/test/parallel/test-crypto-dh.js
|
||||
+++ node-v22.12.0/test/parallel/test-crypto-dh.js
|
||||
@@ -93,7 +93,7 @@ const crypto = require('crypto');
|
||||
--- 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');
|
||||
dh3.computeSecret('');
|
||||
}, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ?
|
||||
'Unspecified validation error' :
|
||||
'error:02800080:Diffie-Hellman routines::invalid secret' :
|
||||
- 'Supplied key is too small' });
|
||||
+ /(Supplied key is too small|invalid public key)/ });
|
||||
}
|
||||
}
|
||||
|
||||
Index: node-v22.12.0/test/parallel/test-dns.js
|
||||
Index: node-v22.2.0/test/parallel/test-buffer-failed-alloc-typed-arrays.js
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/test/parallel/test-dns.js
|
||||
+++ node-v22.12.0/test/parallel/test-dns.js
|
||||
@@ -403,7 +403,7 @@ assert.throws(() => {
|
||||
|
||||
const server = dgram.createSocket('udp4');
|
||||
|
||||
- server.on('message', common.mustCall((msg, { address, port }) => {
|
||||
+ server.on('message', common.mustCallAtLeast((msg, { address, port }) => {
|
||||
const parsed = dnstools.parseDNSPacket(msg);
|
||||
const domain = parsed.questions[0].domain;
|
||||
assert.strictEqual(domain, 'example.org');
|
||||
Index: node-v22.12.0/test/wpt/test-webcrypto.js
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/test/wpt/test-webcrypto.js
|
||||
+++ node-v22.12.0/test/wpt/test-webcrypto.js
|
||||
@@ -1,7 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
-if (!common.hasCrypto)
|
||||
+const os = require('os')
|
||||
+if (!common.hasCrypto || os.arch() == 's390x')
|
||||
common.skip('missing crypto');
|
||||
|
||||
const { WPTRunner } = require('../common/wpt');
|
||||
--- 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,
|
||||
|
@ -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.13.0/node.gyp
|
||||
Index: node-v22.2.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v22.13.0.orig/node.gyp
|
||||
+++ node-v22.13.0/node.gyp
|
||||
@@ -1180,6 +1180,7 @@
|
||||
'deps/googletest/googletest.gyp:gtest_main',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
+ 'fuzz_env'
|
||||
--- 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': [
|
||||
@@ -1257,6 +1258,7 @@
|
||||
@@ -1241,6 +1242,7 @@
|
||||
'<(node_lib_target_name)',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/nbytes/nbytes.gyp:nbytes',
|
||||
+ 'cctest'
|
||||
'deps/ada/ada.gyp:ada',
|
||||
+ 'cctest'
|
||||
],
|
||||
|
||||
'includes': [
|
||||
|
BIN
node-v22.13.1.tar.xz
(Stored with Git LFS)
BIN
node-v22.13.1.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
node-v22.2.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
node-v22.2.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,16 +1,16 @@
|
||||
Index: node-v22.12.0/tools/install.py
|
||||
Index: node-v20.12.0/tools/install.py
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/tools/install.py
|
||||
+++ node-v22.12.0/tools/install.py
|
||||
@@ -7,6 +7,7 @@ import os
|
||||
import platform
|
||||
--- node-v20.12.0.orig/tools/install.py
|
||||
+++ node-v20.12.0/tools/install.py
|
||||
@@ -6,6 +6,7 @@ import errno
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
+from distutils import sysconfig
|
||||
import re
|
||||
|
||||
current_system = platform.system()
|
||||
@@ -72,6 +73,10 @@ def try_copy(options, path, dest):
|
||||
def abspath(*args):
|
||||
@@ -66,6 +67,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-v22.12.0/tools/install.py
|
||||
def try_remove(options, path, dest):
|
||||
source_path, target_path = mkpaths(options, path, dest)
|
||||
if not options.silent:
|
||||
@@ -88,7 +93,7 @@ def uninstall(options, paths, dest):
|
||||
@@ -82,7 +87,7 @@ def uninstall(options, paths, dest):
|
||||
try_remove(options, path, dest)
|
||||
|
||||
def package_files(options, action, name, bins):
|
||||
@ -30,7 +30,7 @@ Index: node-v22.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
|
||||
@@ -109,7 +114,7 @@ def package_files(options, action, name,
|
||||
@@ -103,7 +108,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-v22.12.0/tools/install.py
|
||||
else:
|
||||
assert 0 # unhandled action type
|
||||
|
||||
Index: node-v22.12.0/lib/internal/modules/cjs/loader.js
|
||||
Index: node-v20.12.0/lib/internal/modules/cjs/loader.js
|
||||
===================================================================
|
||||
--- 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() {
|
||||
--- 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() {
|
||||
path.resolve(process.execPath, '..') :
|
||||
path.resolve(process.execPath, '..', '..');
|
||||
|
||||
|
BIN
nodejs.keyring
BIN
nodejs.keyring
Binary file not shown.
178
nodejs22.changes
178
nodejs22.changes
@ -1,181 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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>
|
||||
|
||||
|
234
nodejs22.spec
234
nodejs22.spec
@ -31,7 +31,7 @@
|
||||
%endif
|
||||
|
||||
Name: nodejs22
|
||||
Version: 22.13.1
|
||||
Version: 22.2.0
|
||||
Release: 0
|
||||
|
||||
# Double DWZ memory limits
|
||||
@ -172,7 +172,6 @@ Patch200: versioned.patch
|
||||
Patch305: qemu_timeouts_arches.patch
|
||||
Patch307: v8-i586.patch
|
||||
Patch309: gcc13.patch
|
||||
Patch311: old_cares.patch
|
||||
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
@ -195,10 +194,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
|
||||
@ -208,15 +207,15 @@ BuildRequires: gcc48-c++
|
||||
# for SLE-12:Update targets
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if %node_version_number >= 17
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-c++
|
||||
%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
|
||||
@ -225,7 +224,7 @@ BuildRequires: gcc7-c++
|
||||
|
||||
%if 0%{?suse_version} == 1500
|
||||
%if %node_version_number >= 17
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-c++
|
||||
%define forced_gcc_version 12
|
||||
%endif
|
||||
%endif
|
||||
@ -240,19 +239,11 @@ BuildRequires: gcc-c++
|
||||
# Python dependencies
|
||||
%if %node_version_number >= 14
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} < 1500
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
||||
BuildRequires: python36
|
||||
%define forced_python_version 3.6m
|
||||
%endif
|
||||
%if %{?suse_version} == 1500
|
||||
BuildRequires: python311
|
||||
%define forced_python_version 3.11
|
||||
%endif
|
||||
%if %{?suse_version} > 1500
|
||||
%else
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-setuptools
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%else
|
||||
@ -301,7 +292,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.15
|
||||
Provides: bundled(openssl) = 3.0.13
|
||||
%else
|
||||
BuildRequires: bundled_openssl_should_not_be_required
|
||||
%endif
|
||||
@ -312,23 +303,19 @@ BuildRequires: bundled_openssl_should_not_be_required
|
||||
%if ! 0%{with intree_cares}
|
||||
BuildRequires: pkgconfig(libcares) >= 1.17.0
|
||||
%else
|
||||
Provides: bundled(libcares2) = 1.34.4
|
||||
%endif
|
||||
|
||||
%if %node_version_number >= 22 && 0%{?suse_version} > 1500
|
||||
BuildRequires: sqlite3-devel
|
||||
Provides: bundled(libcares2) = 1.28.1
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_icu}
|
||||
BuildRequires: pkgconfig(icu-i18n) >= 71
|
||||
%else
|
||||
Provides: bundled(icu) = 76.1
|
||||
Provides: bundled(icu) = 75.1
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_nghttp2}
|
||||
BuildRequires: libnghttp2-devel >= 1.41.0
|
||||
%else
|
||||
Provides: bundled(nghttp2) = 1.64.0
|
||||
Provides: bundled(nghttp2) = 1.61.0
|
||||
%endif
|
||||
|
||||
%if 0%{with valgrind_tests}
|
||||
@ -378,8 +365,8 @@ ExclusiveArch: not_buildable
|
||||
%endif
|
||||
|
||||
Provides: bundled(uvwasi) = 0.0.21
|
||||
Provides: bundled(libuv) = 1.49.2
|
||||
Provides: bundled(v8) = 12.4.254.21
|
||||
Provides: bundled(libuv) = 1.48.0
|
||||
Provides: bundled(v8) = 12.4.254.14
|
||||
%if %{with intree_brotli}
|
||||
Provides: bundled(brotli) = 1.1.0
|
||||
%else
|
||||
@ -388,20 +375,19 @@ BuildRequires: pkgconfig(libbrotlidec)
|
||||
|
||||
|
||||
Provides: bundled(llhttp) = 9.2.1
|
||||
Provides: bundled(ngtcp2) = 1.9.1
|
||||
Provides: bundled(ngtcp2) = 1.3.0
|
||||
|
||||
Provides: bundled(simdutf) = 5.6.4
|
||||
Provides: bundled(simdjson) = 3.10.1
|
||||
Provides: bundled(simdutf) = 5.2.8
|
||||
Provides: bundled(simdjson) = 3.9.2
|
||||
# bundled url-ada parser, not ada
|
||||
Provides: bundled(ada) = 2.9.2
|
||||
Provides: bundled(ada) = 2.7.8
|
||||
|
||||
Provides: bundled(node-acorn) = 8.14.0
|
||||
Provides: bundled(node-acorn-walk) = 8.3.4
|
||||
Provides: bundled(node-amaro) = 0.2.0
|
||||
Provides: bundled(node-cjs-module-lexer) = 1.4.1
|
||||
Provides: bundled(node-corepack) = 0.30.0
|
||||
Provides: bundled(node-minimatch) = 10.0.1
|
||||
Provides: bundled(node-undici) = 6.21.1
|
||||
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
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@ -430,7 +416,7 @@ Requires: nodejs-common
|
||||
Requires: nodejs22 = %{version}
|
||||
Provides: nodejs-npm = %{version}
|
||||
Obsoletes: nodejs-npm < 4.0.0
|
||||
Provides: npm(npm) = 10.9.2
|
||||
Provides: npm(npm) = 10.7.0
|
||||
Provides: npm = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
@ -439,34 +425,33 @@ Requires: group(nobody)
|
||||
%endif
|
||||
%endif
|
||||
Provides: bundled(node-abbrev) = 2.0.0
|
||||
Provides: bundled(node-abbrev) = 3.0.0
|
||||
Provides: bundled(node-agent-base) = 7.1.1
|
||||
Provides: bundled(node-aggregate-error) = 3.1.0
|
||||
Provides: bundled(node-ansi-regex) = 5.0.1
|
||||
Provides: bundled(node-ansi-regex) = 6.1.0
|
||||
Provides: bundled(node-ansi-regex) = 6.0.1
|
||||
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) = 5.0.0
|
||||
Provides: bundled(node-bin-links) = 4.0.3
|
||||
Provides: bundled(node-binary-extensions) = 2.3.0
|
||||
Provides: bundled(node-brace-expansion) = 2.0.1
|
||||
Provides: bundled(node-cacache) = 19.0.1
|
||||
Provides: bundled(node-builtins) = 5.1.0
|
||||
Provides: bundled(node-cacache) = 18.0.2
|
||||
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.1.0
|
||||
Provides: bundled(node-cidr-regex) = 4.1.1
|
||||
Provides: bundled(node-ci-info) = 4.0.0
|
||||
Provides: bundled(node-cidr-regex) = 4.0.5
|
||||
Provides: bundled(node-clean-stack) = 2.2.0
|
||||
Provides: bundled(node-cli-columns) = 4.0.0
|
||||
Provides: bundled(node-cmd-shim) = 7.0.0
|
||||
Provides: bundled(node-cmd-shim) = 6.0.2
|
||||
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.6
|
||||
Provides: bundled(node-cross-spawn) = 7.0.3
|
||||
Provides: bundled(node-cssesc) = 3.0.0
|
||||
Provides: bundled(node-debug) = 4.3.7
|
||||
Provides: bundled(node-debug) = 4.3.4
|
||||
Provides: bundled(node-diff) = 5.2.0
|
||||
Provides: bundled(node-eastasianwidth) = 0.2.0
|
||||
Provides: bundled(node-emoji-regex) = 8.0.0
|
||||
@ -476,138 +461,138 @@ Provides: bundled(node-env-paths) = 2.2.1
|
||||
Provides: bundled(node-err-code) = 2.0.3
|
||||
Provides: bundled(node-exponential-backoff) = 3.1.1
|
||||
Provides: bundled(node-fastest-levenshtein) = 1.0.16
|
||||
Provides: bundled(node-foreground-child) = 3.3.0
|
||||
Provides: bundled(node-foreground-child) = 3.1.1
|
||||
Provides: bundled(node-fs-minipass) = 2.1.0
|
||||
Provides: bundled(node-fs-minipass) = 3.0.3
|
||||
Provides: bundled(node-glob) = 10.4.5
|
||||
Provides: bundled(node-function-bind) = 1.1.2
|
||||
Provides: bundled(node-glob) = 10.3.12
|
||||
Provides: bundled(node-graceful-fs) = 4.2.11
|
||||
Provides: bundled(node-hosted-git-info) = 8.0.2
|
||||
Provides: bundled(node-hasown) = 2.0.2
|
||||
Provides: bundled(node-hosted-git-info) = 7.0.1
|
||||
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.5
|
||||
Provides: bundled(node-https-proxy-agent) = 7.0.4
|
||||
Provides: bundled(node-iconv-lite) = 0.6.3
|
||||
Provides: bundled(node-ignore-walk) = 7.0.0
|
||||
Provides: bundled(node-ignore-walk) = 6.0.4
|
||||
Provides: bundled(node-imurmurhash) = 0.1.4
|
||||
Provides: bundled(node-indent-string) = 4.0.0
|
||||
Provides: bundled(node-ini) = 5.0.0
|
||||
Provides: bundled(node-init-package-json) = 7.0.2
|
||||
Provides: bundled(node-ini) = 4.1.2
|
||||
Provides: bundled(node-init-package-json) = 6.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-cidr) = 5.0.5
|
||||
Provides: bundled(node-is-core-module) = 2.13.1
|
||||
Provides: bundled(node-is-fullwidth-code-point) = 3.0.0
|
||||
Provides: bundled(node-is-lambda) = 1.0.1
|
||||
Provides: bundled(node-isexe) = 2.0.0
|
||||
Provides: bundled(node-isexe) = 3.1.1
|
||||
Provides: bundled(node-jackspeak) = 3.4.3
|
||||
Provides: bundled(node-jackspeak) = 2.3.6
|
||||
Provides: bundled(node-jsbn) = 1.1.0
|
||||
Provides: bundled(node-json-parse-even-better-errors) = 4.0.0
|
||||
Provides: bundled(node-json-parse-even-better-errors) = 3.0.1
|
||||
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) = 9.0.0
|
||||
Provides: bundled(node-libnpmdiff) = 7.0.0
|
||||
Provides: bundled(node-libnpmexec) = 9.0.0
|
||||
Provides: bundled(node-libnpmfund) = 6.0.0
|
||||
Provides: bundled(node-libnpmhook) = 11.0.0
|
||||
Provides: bundled(node-libnpmorg) = 7.0.0
|
||||
Provides: bundled(node-libnpmpack) = 8.0.0
|
||||
Provides: bundled(node-libnpmpublish) = 10.0.1
|
||||
Provides: bundled(node-libnpmsearch) = 8.0.0
|
||||
Provides: bundled(node-libnpmteam) = 7.0.0
|
||||
Provides: bundled(node-libnpmversion) = 7.0.0
|
||||
Provides: bundled(node-lru-cache) = 10.4.3
|
||||
Provides: bundled(node-make-fetch-happen) = 14.0.3
|
||||
Provides: bundled(node-minimatch) = 9.0.5
|
||||
Provides: bundled(node-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-make-fetch-happen) = 13.0.1
|
||||
Provides: bundled(node-minimatch) = 9.0.4
|
||||
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) = 7.0.4
|
||||
Provides: bundled(node-minipass-collect) = 2.0.1
|
||||
Provides: bundled(node-minipass-fetch) = 4.0.0
|
||||
Provides: bundled(node-minipass-fetch) = 3.0.4
|
||||
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) = 2.0.0
|
||||
Provides: bundled(node-negotiator) = 1.0.0
|
||||
Provides: bundled(node-node-gyp) = 11.0.0
|
||||
Provides: bundled(node-nopt) = 8.0.0
|
||||
Provides: bundled(node-normalize-package-data) = 7.0.0
|
||||
Provides: bundled(node-npm-audit-report) = 6.0.0
|
||||
Provides: bundled(node-npm-bundled) = 4.0.0
|
||||
Provides: bundled(node-npm-install-checks) = 7.1.1
|
||||
Provides: bundled(node-npm-normalize-package-bin) = 4.0.0
|
||||
Provides: bundled(node-npm-package-arg) = 12.0.0
|
||||
Provides: bundled(node-npm-packlist) = 9.0.0
|
||||
Provides: bundled(node-npm-pick-manifest) = 10.0.0
|
||||
Provides: bundled(node-npm-profile) = 11.0.1
|
||||
Provides: bundled(node-npm-registry-fetch) = 18.0.2
|
||||
Provides: bundled(node-npm-user-validate) = 3.0.0
|
||||
Provides: bundled(node-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.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-p-map) = 4.0.0
|
||||
Provides: bundled(node-p-map) = 7.0.2
|
||||
Provides: bundled(node-package-json-from-dist) = 1.0.1
|
||||
Provides: bundled(node-pacote) = 19.0.1
|
||||
Provides: bundled(node-pacote) = 20.0.0
|
||||
Provides: bundled(node-parse-conflict-json) = 4.0.0
|
||||
Provides: bundled(node-pacote) = 18.0.3
|
||||
Provides: bundled(node-parse-conflict-json) = 3.0.1
|
||||
Provides: bundled(node-path-key) = 3.1.1
|
||||
Provides: bundled(node-path-scurry) = 1.11.1
|
||||
Provides: bundled(node-postcss-selector-parser) = 6.1.2
|
||||
Provides: bundled(node-proc-log) = 5.0.0
|
||||
Provides: bundled(node-proggy) = 3.0.0
|
||||
Provides: bundled(node-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-proc-log) = 4.2.0
|
||||
Provides: bundled(node-proggy) = 2.0.0
|
||||
Provides: bundled(node-promise-all-reject-late) = 1.0.1
|
||||
Provides: bundled(node-promise-call-limit) = 3.0.2
|
||||
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) = 2.0.0
|
||||
Provides: bundled(node-promzard) = 1.0.1
|
||||
Provides: bundled(node-qrcode-terminal) = 0.12.0
|
||||
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-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-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.3
|
||||
Provides: bundled(node-semver) = 7.6.0
|
||||
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) = 3.0.0
|
||||
Provides: bundled(node-sigstore) = 2.3.0
|
||||
Provides: bundled(node-smart-buffer) = 4.2.0
|
||||
Provides: bundled(node-socks) = 2.8.3
|
||||
Provides: bundled(node-socks-proxy-agent) = 8.0.4
|
||||
Provides: bundled(node-socks-proxy-agent) = 8.0.3
|
||||
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.20
|
||||
Provides: bundled(node-spdx-license-ids) = 3.0.17
|
||||
Provides: bundled(node-sprintf-js) = 1.1.3
|
||||
Provides: bundled(node-ssri) = 12.0.0
|
||||
Provides: bundled(node-ssri) = 10.0.5
|
||||
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) = 3.0.1
|
||||
Provides: bundled(node-unique-filename) = 4.0.0
|
||||
Provides: bundled(node-unique-slug) = 5.0.0
|
||||
Provides: bundled(node-tuf-js) = 2.2.0
|
||||
Provides: bundled(node-unique-filename) = 3.0.0
|
||||
Provides: bundled(node-unique-slug) = 4.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) = 6.0.0
|
||||
Provides: bundled(node-validate-npm-package-name) = 5.0.0
|
||||
Provides: bundled(node-walk-up-path) = 3.0.1
|
||||
Provides: bundled(node-which) = 2.0.2
|
||||
Provides: bundled(node-which) = 5.0.0
|
||||
Provides: bundled(node-which) = 4.0.0
|
||||
Provides: bundled(node-wrap-ansi) = 7.0.0
|
||||
Provides: bundled(node-wrap-ansi) = 8.1.0
|
||||
Provides: bundled(node-write-file-atomic) = 6.0.0
|
||||
Provides: bundled(node-write-file-atomic) = 5.0.1
|
||||
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
|
||||
@ -700,7 +685,6 @@ 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
|
||||
@ -799,9 +783,6 @@ EOF
|
||||
%if %{node_version_number} < 19
|
||||
--without-dtrace \
|
||||
%endif
|
||||
%if %{node_version_number} >= 22 && 0%{?suse_version} > 1500
|
||||
--shared-sqlite \
|
||||
%endif
|
||||
%if %{node_version_number} >= 16 && (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150400)
|
||||
--openssl-default-cipher-list=PROFILE=SYSTEM \
|
||||
%endif
|
||||
@ -942,7 +923,6 @@ 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
|
||||
@ -957,8 +937,6 @@ 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
|
||||
# ::1 not defined in OBS on TW - https://github.com/openSUSE/obs-build/issues/848
|
||||
rm test/report/test-report-exclude-network.js
|
||||
|
||||
%if %{node_version_number} >= 18
|
||||
# OBS broken /etc/hosts -- https://github.com/openSUSE/open-build-service/issues/13104
|
||||
|
155
old_cares.patch
155
old_cares.patch
@ -1,155 +0,0 @@
|
||||
temporary revert changes until we can upgrade c-ares in SLE-15:Update
|
||||
|
||||
commit bf68733e7f61bf4ff51a456e27123f44a526aebc
|
||||
Author: Aviv Keller <redyetidev@gmail.com>
|
||||
Date: Wed Oct 30 10:10:28 2024 -0400
|
||||
|
||||
dns: stop using deprecated `ares_query`
|
||||
|
||||
PR-URL: https://github.com/nodejs/node/pull/55430
|
||||
Refs: https://github.com/nodejs/node/issues/52464
|
||||
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
||||
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
|
||||
|
||||
|
||||
Index: node-v22.12.0/src/cares_wrap.cc
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/src/cares_wrap.cc
|
||||
+++ node-v22.12.0/src/cares_wrap.cc
|
||||
@@ -825,62 +825,62 @@ void ChannelWrap::EnsureServers() {
|
||||
}
|
||||
|
||||
int AnyTraits::Send(QueryWrap<AnyTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_ANY);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_any);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int ATraits::Send(QueryWrap<ATraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_A);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_a);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int AaaaTraits::Send(QueryWrap<AaaaTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_AAAA);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_aaaa);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int CaaTraits::Send(QueryWrap<CaaTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_CAA);
|
||||
+ wrap->AresQuery(name, ns_c_in, T_CAA);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int CnameTraits::Send(QueryWrap<CnameTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_CNAME);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_cname);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int MxTraits::Send(QueryWrap<MxTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_MX);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_mx);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int NsTraits::Send(QueryWrap<NsTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_NS);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_ns);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int TxtTraits::Send(QueryWrap<TxtTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_TXT);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_txt);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int SrvTraits::Send(QueryWrap<SrvTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_SRV);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_srv);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int PtrTraits::Send(QueryWrap<PtrTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_PTR);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_ptr);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int NaptrTraits::Send(QueryWrap<NaptrTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_NAPTR);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_naptr);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
int SoaTraits::Send(QueryWrap<SoaTraits>* wrap, const char* name) {
|
||||
- wrap->AresQuery(name, ARES_CLASS_IN, ARES_REC_TYPE_SOA);
|
||||
+ wrap->AresQuery(name, ns_c_in, ns_t_soa);
|
||||
return ARES_SUCCESS;
|
||||
}
|
||||
|
||||
Index: node-v22.12.0/src/cares_wrap.h
|
||||
===================================================================
|
||||
--- node-v22.12.0.orig/src/cares_wrap.h
|
||||
+++ node-v22.12.0/src/cares_wrap.h
|
||||
@@ -246,20 +246,18 @@ class QueryWrap final : public AsyncWrap
|
||||
return Traits::Send(this, name);
|
||||
}
|
||||
|
||||
- void AresQuery(const char* name,
|
||||
- ares_dns_class_t dnsclass,
|
||||
- ares_dns_rec_type_t type) {
|
||||
+ void AresQuery(const char* name, int dnsclass, int type) {
|
||||
channel_->EnsureServers();
|
||||
TRACE_EVENT_NESTABLE_ASYNC_BEGIN1(
|
||||
TRACING_CATEGORY_NODE2(dns, native), trace_name_, this,
|
||||
"name", TRACE_STR_COPY(name));
|
||||
- ares_query_dnsrec(channel_->cares_channel(),
|
||||
- name,
|
||||
- dnsclass,
|
||||
- type,
|
||||
- Callback,
|
||||
- MakeCallbackPointer(),
|
||||
- nullptr);
|
||||
+ ares_query(
|
||||
+ channel_->cares_channel(),
|
||||
+ name,
|
||||
+ dnsclass,
|
||||
+ type,
|
||||
+ Callback,
|
||||
+ MakeCallbackPointer());
|
||||
}
|
||||
|
||||
void ParseError(int status) {
|
||||
@@ -306,20 +304,19 @@ class QueryWrap final : public AsyncWrap
|
||||
return wrap;
|
||||
}
|
||||
|
||||
- static void Callback(void* arg,
|
||||
- ares_status_t status,
|
||||
- size_t timeouts,
|
||||
- const ares_dns_record_t* dnsrec) {
|
||||
+ static void Callback(
|
||||
+ void* arg,
|
||||
+ int status,
|
||||
+ int timeouts,
|
||||
+ unsigned char* answer_buf,
|
||||
+ int answer_len) {
|
||||
QueryWrap<Traits>* wrap = FromCallbackPointer(arg);
|
||||
if (wrap == nullptr) return;
|
||||
|
||||
unsigned char* buf_copy = nullptr;
|
||||
- size_t answer_len = 0;
|
||||
if (status == ARES_SUCCESS) {
|
||||
- // No need to explicitly call ares_free_string here,
|
||||
- // as it is a wrapper around free, which is already
|
||||
- // invoked when MallocedBuffer is destructed.
|
||||
- ares_dns_write(dnsrec, &buf_copy, &answer_len);
|
||||
+ buf_copy = node::Malloc<unsigned char>(answer_len);
|
||||
+ memcpy(buf_copy, answer_buf, answer_len);
|
||||
}
|
||||
|
||||
wrap->response_data_ = std::make_unique<ResponseData>();
|
@ -1,10 +1,10 @@
|
||||
Index: node-v22.10.0/test/common/index.js
|
||||
Index: node-v22.1.0/test/common/index.js
|
||||
===================================================================
|
||||
--- 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;
|
||||
}
|
||||
--- 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
|
||||
|
||||
+ 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.10.0/Makefile
|
||||
Index: node-v22.1.0/Makefile
|
||||
===================================================================
|
||||
--- node-v22.10.0.orig/Makefile
|
||||
+++ node-v22.10.0/Makefile
|
||||
@@ -79,7 +79,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
|
||||
--- node-v22.1.0.orig/Makefile
|
||||
+++ node-v22.1.0/Makefile
|
||||
@@ -76,7 +76,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.10.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.10.0/tools/install.py
|
||||
Index: node-v22.1.0/tools/install.py
|
||||
===================================================================
|
||||
--- node-v22.10.0.orig/tools/install.py
|
||||
+++ node-v22.10.0/tools/install.py
|
||||
--- node-v22.1.0.orig/tools/install.py
|
||||
+++ node-v22.1.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.10.0/tools/install.py
|
||||
|
||||
if sys.platform == 'zos':
|
||||
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
|
||||
Index: node-v22.10.0/doc/node.1
|
||||
Index: node-v22.1.0/doc/node.1
|
||||
===================================================================
|
||||
--- node-v22.10.0.orig/doc/node.1
|
||||
+++ node-v22.10.0/doc/node.1
|
||||
@@ -28,24 +28,24 @@
|
||||
--- node-v22.1.0.orig/doc/node.1
|
||||
+++ node-v22.1.0/doc/node.1
|
||||
@@ -31,24 +31,24 @@
|
||||
.Dt NODE 1
|
||||
.
|
||||
.Sh NAME
|
||||
@ -146,10 +146,10 @@ Index: node-v22.10.0/doc/node.1
|
||||
.Op Fl -v8-options
|
||||
.
|
||||
.\"======================================================================
|
||||
Index: node-v22.10.0/src/node_main.cc
|
||||
Index: 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
|
||||
--- node-v22.1.0.orig/src/node_main.cc
|
||||
+++ node-v22.1.0/src/node_main.cc
|
||||
@@ -94,6 +94,7 @@ int wmain(int argc, wchar_t* wargv[]) {
|
||||
// UNIX
|
||||
|
||||
@ -158,11 +158,11 @@ Index: node-v22.10.0/src/node_main.cc
|
||||
return node::Start(argc, argv);
|
||||
}
|
||||
#endif
|
||||
Index: node-v22.10.0/tools/test.py
|
||||
Index: node-v22.1.0/tools/test.py
|
||||
===================================================================
|
||||
--- node-v22.10.0.orig/tools/test.py
|
||||
+++ node-v22.10.0/tools/test.py
|
||||
@@ -972,7 +972,7 @@ class Context(object):
|
||||
--- node-v22.1.0.orig/tools/test.py
|
||||
+++ node-v22.1.0/tools/test.py
|
||||
@@ -954,7 +954,7 @@ class Context(object):
|
||||
if self.vm is not None:
|
||||
return self.vm
|
||||
if arch == 'none':
|
||||
@ -171,11 +171,11 @@ Index: node-v22.10.0/tools/test.py
|
||||
else:
|
||||
name = 'out/%s.%s/node' % (arch, mode)
|
||||
|
||||
Index: node-v22.10.0/node.gyp
|
||||
Index: node-v22.1.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v22.10.0.orig/node.gyp
|
||||
+++ node-v22.10.0/node.gyp
|
||||
@@ -27,8 +27,8 @@
|
||||
--- node-v22.1.0.orig/node.gyp
|
||||
+++ node-v22.1.0/node.gyp
|
||||
@@ -24,8 +24,8 @@
|
||||
'node_shared_openssl%': 'false',
|
||||
'node_v8_options%': '',
|
||||
'node_enable_v8_vtunejit%': 'false',
|
||||
@ -186,10 +186,21 @@ Index: node-v22.10.0/node.gyp
|
||||
'node_intermediate_lib_type%': 'static_library',
|
||||
'node_builtin_modules_path%': '',
|
||||
'linked_module_files': [
|
||||
Index: node-v22.10.0/test/parallel/test-snapshot-warning.js
|
||||
Index: node-v22.1.0/test/fixtures/errors/promise_unhandled_warn_with_error.snapshot
|
||||
===================================================================
|
||||
--- node-v22.10.0.orig/test/parallel/test-snapshot-warning.js
|
||||
+++ 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
|
||||
@@ -60,7 +60,7 @@ tmpdir.refresh();
|
||||
stderr(output) {
|
||||
let match = output.match(/Warning: test warning/g);
|
||||
@ -225,3 +236,39 @@ Index: node-v22.10.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 *
|
||||
|
Loading…
Reference in New Issue
Block a user