From 778f39206c899fbe96e6919d12ee4c9f579d24a70c792c162929cb94cfb63592 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 22 May 2024 10:59:52 +0000 Subject: [PATCH] - Update to 22.2.0: * cli: allow running wasm in limited vmem with --disable-wasm-trap-handler * doc: add pimterry to collaborators * fs: allow 'withFileTypes' to be used with globs * inspector: introduce the --inspect-wait flag * lib,src: remove --experimental-policy * perf_hooks: add deliveryType and responseStatus fields * test_runner: support test plans * zlib: expose zlib.crc32() - linker_lto_jobs.patch: refreshed - fix_ci_tests.patch: partially upstreamed, refreshed - skip_no_console.patch: dropped, upstreamed OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs22?expand=0&rev=7 --- SHASUMS256.txt | 82 +++++++++++++++++++++--------------------- SHASUMS256.txt.sig | Bin 566 -> 566 bytes fix_ci_tests.patch | 72 +++++++++++++++---------------------- linker_lto_jobs.patch | 12 +++---- node-v22.1.0.tar.xz | 3 -- node-v22.2.0.tar.xz | 3 ++ nodejs22.changes | 17 +++++++++ nodejs22.spec | 10 +++--- skip_no_console.patch | 29 --------------- 9 files changed, 100 insertions(+), 128 deletions(-) delete mode 100644 node-v22.1.0.tar.xz create mode 100644 node-v22.2.0.tar.xz delete mode 100644 skip_no_console.patch diff --git a/SHASUMS256.txt b/SHASUMS256.txt index 2d4f20f..e16791f 100644 --- a/SHASUMS256.txt +++ b/SHASUMS256.txt @@ -1,41 +1,41 @@ -5a6ddbc1fb0035bc7fa76e8da108b7a9866b47ea2a9f34225ddc6aac2c9007a3 node-v22.1.0-aix-ppc64.tar.gz -5c0d1008bb8a2653f25d162fe9af6fdb264ab8e61a784a52eed5a84077269fae node-v22.1.0-arm64.msi -93904abf2b6afd0dc2a7c2947a83e10ed65cc39171db17663edb6f763aaa5a57 node-v22.1.0-darwin-arm64.tar.gz -f3222c15342919f16516e1d409dc885d4e448e4ce386ca6552f6d96c8a6d496b node-v22.1.0-darwin-arm64.tar.xz -3a2c351b3eeeb4d12dee978f93f8f510589384b66a09feb903b609a58cf1bb5b node-v22.1.0-darwin-x64.tar.gz -3e5bf773f01cdb9d03e12d89393ef12dee200c073163c82bc2eddffa36869747 node-v22.1.0-darwin-x64.tar.xz -5c00fa0f18d75c39a4a1068833999cc02620e467877e65ea59ecfaa092dc686a node-v22.1.0-headers.tar.gz -b2f2319803f4dde2c1e4ab2d6040680eedc98b76336a10019801f85b2c50b398 node-v22.1.0-headers.tar.xz -9c111af1f951e8869615bca3601ce7ab6969374933bdba6397469843b808f222 node-v22.1.0-linux-arm64.tar.gz -030fc4d4cfdd2a2dc5f19aa577bf3dadbc042363b28e0ef66b1e7c8072e7445e node-v22.1.0-linux-arm64.tar.xz -e2d46a045ab4e14e7234162c8167bed96c71ac82fbfae1feac21d77ea44c62d0 node-v22.1.0-linux-armv7l.tar.gz -48f197fa1ae7ad80f01c759ef0d91bb637f09cb04f7fa2eb57c7de79b2cf7bbd node-v22.1.0-linux-armv7l.tar.xz -df47c5506bc865b093cfa0411b4adbb66187da00decd05a83c22b9d5ffdca088 node-v22.1.0-linux-ppc64le.tar.gz -9cfbb9d64c51aa238a8f4697faeb71ccf846155f3a0b9f5acb686a8f3554eb07 node-v22.1.0-linux-ppc64le.tar.xz -1961314d0d51cf9c4719705ba809f8451597c577dfb0cb500a058115a05d586a node-v22.1.0-linux-s390x.tar.gz -da9d2f03bdaec5233adc360e517b8f4c2ebe283a9737f9065c829362b31c04de node-v22.1.0-linux-s390x.tar.xz -d8ae35a9e2bb0c0c0611ee9bacf564ea51cc8291ace1447f95ee6aeaf4f1d61d node-v22.1.0-linux-x64.tar.gz -22330ad3a1796ac30d75fab6f98cbe2b883239d4e31c2a52ec8f4e6cc52ace54 node-v22.1.0-linux-x64.tar.xz -969680f15ac27f88197735b18bc4d60b1b275a1b30dd6fb16104c5126d199a00 node-v22.1.0.pkg -1179664c69612f3f67df6fac32008df31f92e28c61d57c1e3297b84ea8879b5b node-v22.1.0.tar.gz -9d7d5f40d9dbd6260c99b5e494b5f9bc755e8f0ffac70e121adce5fb442f23cb node-v22.1.0.tar.xz -0a3d5932ff8d7aac36d5d763feb5de1da442a56ff7378222d9840d77e0db8b62 node-v22.1.0-win-arm64.7z -d32cf67728183026a236256ae488b27b77daa13c2faca83328dc5d188718ecdf node-v22.1.0-win-arm64.zip -c3c57c78d3a5fbd223a6e17efc3052c5eee19e827a591148d7e5f68cf98e504b node-v22.1.0-win-x64.7z -4b0f90bc3f1f41df16f9022ecded0c4eff55f8c3ece66ba348275c69fea4eb8e node-v22.1.0-win-x64.zip -d1933f9813da34fdef20a1c2c8e82fa735ec96c503ecd818795ad8fab4a92d08 node-v22.1.0-win-x86.7z -3db474ecb74ab91ed7a2edc282a9ee77e297db00afad150a7fe33f24c2181c7c node-v22.1.0-win-x86.zip -bae87f5171ec151846dff560dd78230e568b56151fd1bde41a1c7e9178d840e7 node-v22.1.0-x64.msi -7496b237a0ff72b120d7ce2f90d2c75dae85b128dd0c0c16c2536d1e7fa519cd node-v22.1.0-x86.msi -b424b2c9485e39ec031ef01f1fcbdc736e9d57b05b93a135fb723afc052e52bc win-arm64/node.exe -b552cb4f049fd4ce7b791ff9ab3964d5dfed118a737b0ac3ff67dad21c7de129 win-arm64/node.lib -d4e0f343358bab4d08309aec6d5d7531c253c34b187e0d5c9d9528b6f8a3115f win-arm64/node_pdb.7z -a75e9e3857acb8b13102c30f1eba8268a4531fd0eae94c185b5a5b2d004df20b win-arm64/node_pdb.zip -80db531026ff474745f03beb98f28c51914e0202e58cd87a1104f71ed0d8b118 win-x64/node.exe -7e8534fb900597f0d66c41bcae423f0bfe23290b09f20bb57cd07c2622db4ec4 win-x64/node.lib -10e8dd46f0d9b7a69ba73a38f45b7a866e4077a80a219489e5cfe820f1174db3 win-x64/node_pdb.7z -408fd5b2a28339051e0ce2830b4dc1ddfa2c4944abb24837644efaa8d78d8f96 win-x64/node_pdb.zip -cd6f3255b1ca77ed4dd81e56184329e5bf2a68c54152a93490c3f3e896bfc906 win-x86/node.exe -0f5f7f3178e3c605ecc460ed2157a7e02157c283cbf0274284e4258f3378135c win-x86/node.lib -e3eea39004ec58042bb46e80cd65286e4a8f34c484cb8c13bdaa3f7a74fff7ae win-x86/node_pdb.7z -3c3562e258ad58a271fc408ece941e6162f8a3e48a9e94818c44d2a93cbce726 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 diff --git a/SHASUMS256.txt.sig b/SHASUMS256.txt.sig index 7cf110cf16d93247768f21563ee6e1e78371abe75b545122fd0e6381b0817e4c..9c6385f43137bd69c1e879163732045061bdd3f9922157a16736b3c7166e3b47 100644 GIT binary patch delta 542 zcmV+(0^$9(1hxc_BY#B;r2q;E5O)uHnp)vj0G?D2|9CmX1g!lma)`XyUSx<9y4Kq_ zIJguu+cQ={B$}AEVA{9mj2m@U^-oAL_q72t(7vJnL&yA;ZjD#~>ZDCMv z-@sfMfh&y$ZiZ0qzRFUF{$HHiUd8Y|a;?zp+c#Oa;QOwC_a@o>6ISt;BwR( zKvjsLU%TwsuzzMfiNwsm_L3)0AX_(j%J{{^WWNKGpa)R>U}Uhc;ra&fOrj=-79aQe zm%BIz|N55iOm@-W7_a;pOVSJ`FP^+|iQ8v51&Bf^M*$+Gw44K`j0u2|XQx;@M!Act zoNih9rPwf$(HqB+@ZC#vRdhB&bZf3P`fzDZUu3jkrx1N;ATQq zg}dss?hT7hLhOx$+ToyYqV63wP^7rv=gA)h!}T0Xzg%sl6xb@GzDU6?D23;{DX_o+ zlT_(_O{M5)C2MrOFN@Q?YP%e?=PZKIIpGc1yw&or6{96E@XkR|q1GmAme!#a8yZ`_I delta 542 zcmV+(0^$9(1hxc_BY!ibMF0v35O)uHnp)vj0K7#I0GFlR>U?`x;;nsUVFGL}489B+ zvlod%@4koe#h^I#deKHK9FC;C%~xD{bwiLCJP4m>#uF(LB8id(Y~~;bT&n+P;7x&s zSNoX5^XTP+_!&T7D+l&tj()QcG?B4VaX1|L4*b@K&-`+A3V(nA#xh&%nX@V(CwOA> z2NsYr=xaW!e5~Px)>mK2)K#xZlxnlZvO~}WkGe;R)VjF&HIIMyXB2>T>{^q#sV;Bq z$YI%z_Vx6}NFJ0<6Cr)R{hDb8+@J;+M4j7${NW~{JmbRI{hzYEpJ-tI$vk=qDCfK) zq|R1djOD;J(SNGcxr#NqEM2i3_$$vtG(jS1#!5$U-{jnvl4I3-{30lqXVg%CEC`G1 zkwsO@0uq=aGB;YysPx<+Fr6DCO)=KR)7EZh=+!V>n87!c Date: Dec 20 09:18:49 UTC 2017 Summary: Fix CI unit tests framework for OBS building -Index: node-v22.1.0/test/parallel/test-node-output-v8-warning.mjs +Index: node-v22.2.0/test/parallel/test-node-output-v8-warning.mjs =================================================================== ---- node-v22.1.0.orig/test/parallel/test-node-output-v8-warning.mjs -+++ node-v22.1.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 @@ -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.1.0/test/parallel/test-node-output-v8-warning.mjs } const common = snapshot .transform(snapshot.replaceWindowsLineEndings, snapshot.replaceWindowsPaths, replaceNodeVersion); -Index: node-v22.1.0/test/parallel/test-module-loading-globalpaths.js +Index: node-v22.2.0/test/parallel/test-module-loading-globalpaths.js =================================================================== ---- node-v22.1.0.orig/test/parallel/test-module-loading-globalpaths.js -+++ node-v22.1.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); @@ -29,10 +29,10 @@ Index: node-v22.1.0/test/parallel/test-module-loading-globalpaths.js if (process.argv[2] === 'child') { console.log(require(pkgName).string); } else { -Index: node-v22.1.0/test/parallel/test-tls-passphrase.js +Index: node-v22.2.0/test/parallel/test-tls-passphrase.js =================================================================== ---- node-v22.1.0.orig/test/parallel/test-tls-passphrase.js -+++ node-v22.1.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(); @@ -42,10 +42,10 @@ Index: node-v22.1.0/test/parallel/test-tls-passphrase.js // Missing passphrase assert.throws(function() { -Index: node-v22.1.0/test/parallel/test-repl-envvars.js +Index: node-v22.2.0/test/parallel/test-repl-envvars.js =================================================================== ---- node-v22.1.0.orig/test/parallel/test-repl-envvars.js -+++ node-v22.1.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 @@ -57,11 +57,11 @@ Index: node-v22.1.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.1.0/Makefile +Index: node-v22.2.0/Makefile =================================================================== ---- node-v22.1.0.orig/Makefile -+++ node-v22.1.0/Makefile -@@ -389,7 +389,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) \ @@ -69,7 +69,7 @@ Index: node-v22.1.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 -@@ -560,7 +559,8 @@ test-ci-js: | clear-stalled +@@ -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 @@ -79,7 +79,7 @@ Index: node-v22.1.0/Makefile 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) \ -@@ -742,7 +742,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 @@ -89,11 +89,11 @@ Index: node-v22.1.0/Makefile echo "Skipping tools/doc/node_modules (no crypto)"; \ else \ cd tools/doc && $(call available-node,$(run-npm-ci)) \ -Index: node-v22.1.0/tools/test.py +Index: node-v22.2.0/tools/test.py =================================================================== ---- node-v22.1.0.orig/tools/test.py -+++ node-v22.1.0/tools/test.py -@@ -1362,7 +1362,7 @@ def BuildOptions(): +--- 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") result.add_option("-t", "--timeout", help="Timeout in seconds", @@ -102,10 +102,10 @@ Index: node-v22.1.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.1.0/test/parallel/test-crypto-dh.js +Index: node-v22.2.0/test/parallel/test-crypto-dh.js =================================================================== ---- node-v22.1.0.orig/test/parallel/test-crypto-dh.js -+++ node-v22.1.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'); dh3.computeSecret(''); }, { message: common.hasOpenSSL3 && !hasOpenSSL3WithNewErrorMessage ? @@ -115,26 +115,10 @@ Index: node-v22.1.0/test/parallel/test-crypto-dh.js } } -Index: node-v22.1.0/benchmark/misc/startup-cli-version.js +Index: node-v22.2.0/test/parallel/test-buffer-failed-alloc-typed-arrays.js =================================================================== ---- node-v22.1.0.orig/benchmark/misc/startup-cli-version.js -+++ node-v22.1.0/benchmark/misc/startup-cli-version.js -@@ -11,10 +11,10 @@ const path = require('path'); - // indispensible part of the CLI. - const bench = common.createBenchmark(main, { - cli: [ -- 'tools/node_modules/eslint/bin/eslint.js', - 'deps/npm/bin/npx-cli.js', - 'deps/npm/bin/npm-cli.js', - 'deps/corepack/dist/corepack.js', -+ 'tools/node_modules/eslint/bin/eslint.js', - ], - count: [30], - }); -Index: node-v22.1.0/test/parallel/test-buffer-failed-alloc-typed-arrays.js -=================================================================== ---- node-v22.1.0.orig/test/parallel/test-buffer-failed-alloc-typed-arrays.js -+++ node-v22.1.0/test/parallel/test-buffer-failed-alloc-typed-arrays.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. diff --git a/linker_lto_jobs.patch b/linker_lto_jobs.patch index f8cfbe7..01d0318 100644 --- a/linker_lto_jobs.patch +++ b/linker_lto_jobs.patch @@ -3,11 +3,11 @@ 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-v21.5.0/node.gyp +Index: node-v22.2.0/node.gyp =================================================================== ---- node-v21.5.0.orig/node.gyp -+++ node-v21.5.0/node.gyp -@@ -1053,6 +1053,7 @@ +--- 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', @@ -15,9 +15,9 @@ Index: node-v21.5.0/node.gyp ], 'includes': [ -@@ -1129,6 +1130,7 @@ +@@ -1241,6 +1242,7 @@ + '<(node_lib_target_name)', 'deps/histogram/histogram.gyp:histogram', - 'deps/uvwasi/uvwasi.gyp:uvwasi', 'deps/ada/ada.gyp:ada', + 'cctest' ], diff --git a/node-v22.1.0.tar.xz b/node-v22.1.0.tar.xz deleted file mode 100644 index c2a3bad..0000000 --- a/node-v22.1.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d7d5f40d9dbd6260c99b5e494b5f9bc755e8f0ffac70e121adce5fb442f23cb -size 44377532 diff --git a/node-v22.2.0.tar.xz b/node-v22.2.0.tar.xz new file mode 100644 index 0000000..c3e796a --- /dev/null +++ b/node-v22.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:889908a8828d1484910d7e659b6aa57ade8d528ff0e390e9a77ef659a7628474 +size 44334460 diff --git a/nodejs22.changes b/nodejs22.changes index 5f3ad4c..a249851 100644 --- a/nodejs22.changes +++ b/nodejs22.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed May 22 10:49:02 UTC 2024 - Adam Majer + +- Update to 22.2.0: + * cli: allow running wasm in limited vmem with --disable-wasm-trap-handler + * doc: add pimterry to collaborators + * fs: allow 'withFileTypes' to be used with globs + * inspector: introduce the --inspect-wait flag + * lib,src: remove --experimental-policy + * perf_hooks: add deliveryType and responseStatus fields + * test_runner: support test plans + * zlib: expose zlib.crc32() + +- linker_lto_jobs.patch: refreshed +- fix_ci_tests.patch: partially upstreamed, refreshed +- skip_no_console.patch: dropped, upstreamed + ------------------------------------------------------------------- Wed May 22 09:04:46 UTC 2024 - Adam Majer diff --git a/nodejs22.spec b/nodejs22.spec index f90035c..f77f6c6 100644 --- a/nodejs22.spec +++ b/nodejs22.spec @@ -31,7 +31,7 @@ %endif Name: nodejs22 -Version: 22.1.0 +Version: 22.2.0 Release: 0 # Double DWZ memory limits @@ -365,7 +365,7 @@ ExclusiveArch: not_buildable %endif %endif -Provides: bundled(uvwasi) = 0.0.20 +Provides: bundled(uvwasi) = 0.0.21 Provides: bundled(libuv) = 1.48.0 Provides: bundled(v8) = 12.4.254.14 %if %{with intree_brotli} @@ -378,15 +378,15 @@ BuildRequires: pkgconfig(libbrotlidec) Provides: bundled(llhttp) = 9.2.1 Provides: bundled(ngtcp2) = 1.3.0 -Provides: bundled(simdutf) = 5.2.4 -Provides: bundled(simdjson) = 3.8.0 +Provides: bundled(simdutf) = 5.2.8 +Provides: bundled(simdjson) = 3.9.2 # bundled url-ada parser, not ada Provides: bundled(ada) = 2.7.8 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.0 +Provides: bundled(node-corepack) = 0.28.1 Provides: bundled(node-minimatch) = 9.0.4 Provides: bundled(node-undici) = 6.13.0 diff --git a/skip_no_console.patch b/skip_no_console.patch deleted file mode 100644 index 9710227..0000000 --- a/skip_no_console.patch +++ /dev/null @@ -1,29 +0,0 @@ -Index: node-v14.3.0/test/parallel/test-repl-mode.js -=================================================================== ---- node-v14.3.0.orig/test/parallel/test-repl-mode.js -+++ node-v14.3.0/test/parallel/test-repl-mode.js -@@ -1,9 +1,11 @@ - 'use strict'; --require('../common'); -+const common = require('../common'); - const assert = require('assert'); - const Stream = require('stream'); - const repl = require('repl'); - -+common.skipIfDumbTerminal(); -+ - const tests = [ - testSloppyMode, - testStrictMode, -Index: node-v14.3.0/test/parallel/test-repl-strict-mode-previews.js -=================================================================== ---- node-v14.3.0.orig/test/parallel/test-repl-strict-mode-previews.js -+++ node-v14.3.0/test/parallel/test-repl-strict-mode-previews.js -@@ -5,6 +5,7 @@ - const common = require('../common'); - - common.skipIfInspectorDisabled(); -+common.skipIfDumbTerminal(); - - if (process.argv[2] === 'child') { - const stream = require('stream');