From 8c53db93074027988828854b4923c63ec3e4e5ea Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 13 Apr 2023 14:31:06 +0000 Subject: [PATCH 1/2] - Update to NodeJS 18.16.0 LTS version * Add initial support for single executable applications * Replace url parser with Ada * buffer: add Buffer.copyBytesFrom - refreshed patches: versioned.patch linker_lto_jobs.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=58 --- SHASUMS256.txt | 68 +++++++++++++++++++++--------------------- SHASUMS256.txt.sig | Bin 310 -> 566 bytes linker_lto_jobs.patch | 28 +++++++---------- node-v18.15.0.tar.xz | 3 -- node-v18.16.0.tar.xz | 3 ++ nodejs18.changes | 10 +++++++ nodejs18.spec | 30 +++++++++---------- versioned.patch | 56 +++++++++++++++++----------------- 8 files changed, 100 insertions(+), 98 deletions(-) delete mode 100644 node-v18.15.0.tar.xz create mode 100644 node-v18.16.0.tar.xz diff --git a/SHASUMS256.txt b/SHASUMS256.txt index 016b60a..00e5174 100644 --- a/SHASUMS256.txt +++ b/SHASUMS256.txt @@ -1,34 +1,34 @@ -b5a7cf75c6d22536b8c364a4414bf6df88efea54429e185e2a0c819b90c491ed node-v18.15.0-aix-ppc64.tar.gz -bd302a689c3c34e2b61d86b97de66d26a335881a17af09b6a0a4bb1019df56e4 node-v18.15.0-darwin-arm64.tar.gz -5719959a463a265509d27ebc98cab0f6a09c3e1f6827859cc1d7c299ae56a8bc node-v18.15.0-darwin-arm64.tar.xz -76add174d2d3f98da08907412e82add7352b8cb6f639324d352a65c084b99c7e node-v18.15.0-darwin-x64.tar.gz -f257c015bc3a5ec5d8a552c87b3ac00f7763bead0061cd1f62125cce6285c0b6 node-v18.15.0-darwin-x64.tar.xz -5ada31143933f0443d20769ae5942c4b1c5c80fe9f8a8221dae12ed9bec2ad2d node-v18.15.0-headers.tar.gz -92c82571b32043a0ffc6e19cdd6d31503960b7062a90455bb9071a1a0ecd97b3 node-v18.15.0-headers.tar.xz -8ef7aa7a679360ddbf0c7c8511881030b3de9d1f54451d92ba5c8d59a91c7073 node-v18.15.0-linux-arm64.tar.gz -98ea6ed0a1ae55334ab2c03c34d5e52c6dc3dee8f236c0afc08ab1c964506633 node-v18.15.0-linux-arm64.tar.xz -ca2186313d3cbe5c67d0c08e931a6d290906f4f13c584e63fefa05a04dee9c58 node-v18.15.0-linux-armv7l.tar.gz -baad3cdf1365f46bf837635554b10bc3e320799e69ac26e07df1fcde0c1738c7 node-v18.15.0-linux-armv7l.tar.xz -da9ecfc33bc1162332a572f36a9cf2d71589eab6c7cf265d0a381ffc63148588 node-v18.15.0-linux-ppc64le.tar.gz -c9215ed3e9817dd42253b87a34997b8846570f7fdaaf3bf12fb4df6e731c12e2 node-v18.15.0-linux-ppc64le.tar.xz -d4c9d57db2f0b90c69af95e036014f86824b597642309811cd958f04866fb694 node-v18.15.0-linux-s390x.tar.gz -029216909814bc66caf64f3bb2dbdb961f10db0c6ec95f6039912248da15cfec node-v18.15.0-linux-s390x.tar.xz -b298a73a9fc07badfa9e4a2e86ed48824fc9201327cdc43e3f3f58b273c535e7 node-v18.15.0-linux-x64.tar.gz -c8c5fa53ce0c0f248e45983e86368e0b1daf84b77e88b310f769c3cfc12682ef node-v18.15.0-linux-x64.tar.xz -ec94f5f15539c4b7f61393494916f3877583957f439d43f69a3fb9df1480b588 node-v18.15.0.pkg -d65c4c3ef3c8815bccda9502081a29458c7c80797db0763f8752f270a824ac2b node-v18.15.0.tar.gz -8e44d65018ff973284195c23186469a0ea4082e97ec4200e5f5706d5584daa37 node-v18.15.0.tar.xz -cad3cc0910dc216e8b6dcfc3c5b3be0a619c2d4a4b29f2e674820b70e4f374dd node-v18.15.0-win-x64.7z -118fbcae58bc8c53cbe97a10c019734ed90685da8dda98aa0b0f4aeead42a647 node-v18.15.0-win-x64.zip -370dbe4ac8fa516a33540821d409153035c50a449ca12f74f78bcf0b634d1957 node-v18.15.0-win-x86.7z -948b54f929375803156deb1f2c691db42c298d0c69392a82d10cca1177e40545 node-v18.15.0-win-x86.zip -36de8d8fecd0920175ed6e61266934f3469888990f0cc54238e50437490515d5 node-v18.15.0-x64.msi -f7a2096bf8c34db99251e9cd9ce8ea4a7369be4e9f57daaa13b0f32c98de94b6 node-v18.15.0-x86.msi -17fd75d8a41bf9b4c475143e19ff2808afa7a92f7502ede731537d9da674d5e8 win-x64/node.exe -ef9630aefd29b4ed2fb31340d76a6936a69b869c6c9f18f4d0b5c26e866f738b win-x64/node.lib -acecef677661f5d93c3bbcef56cfd02c03cd684df70fbb5a01003bc364501e8d win-x64/node_pdb.7z -699d649ee46bddd532803f5e4d14a413d708a5b58840475f5fe7e5b40ccc1b0b win-x64/node_pdb.zip -d78b2f981465a40a23b964b2db32a390db1970a0dd5371682e121ae2b7422697 win-x86/node.exe -8c4ccf0f1e4fcecfb6956f4b8dcb226ca02ea574cd427a20c9186ea9eacccb87 win-x86/node.lib -fa430e027bf61c42f107b39c0b8cac23313671762ce11c5007729bb48c5abff4 win-x86/node_pdb.7z -f3400699d618d59a17f6622b4b386459dc9e8fab01a12d6413b939a360e990eb win-x86/node_pdb.zip +a65bd3fe91ffeb31d12a208e811943e3ebba4706553a4845a03d857beaeec51e node-v18.16.0-aix-ppc64.tar.gz +82c7bb4869419ce7338669e6739a786dfc7e72f276ffbed663f85ffc905dcdb4 node-v18.16.0-darwin-arm64.tar.gz +b23cdf4fa0e9f77273720ab18eabdd7691edbb69e08ec3b65afd69bef23fe209 node-v18.16.0-darwin-arm64.tar.xz +cd520da6e2e89fab881c66a3e9aff02cb0d61d68104b1d6a571dd71bef920870 node-v18.16.0-darwin-x64.tar.gz +2c8aa0333111c2411564bfb85be44186aeb581392f73c4be5912cbb125d99043 node-v18.16.0-darwin-x64.tar.xz +effeb73616e5297922ed89a1b94d2664390040a83184504c1cc1305b0c0c853f node-v18.16.0-headers.tar.gz +0eb9823c2cc72792c2d4413f57b5a36232e173d7edefb1909c37e364a823f9c7 node-v18.16.0-headers.tar.xz +dc3dfaee899ed21682e47eaf15525f85aff29013c392490e9b25219cd95b1c35 node-v18.16.0-linux-arm64.tar.gz +c81dfa0bada232cb4583c44d171ea207934f7356f85f9184b32d0dde69e2e0ea node-v18.16.0-linux-arm64.tar.xz +a3968db44e5ae17243d126ff79b1756016b198f7cc94c6fad8522aac481b4ff3 node-v18.16.0-linux-armv7l.tar.gz +57ba6b71eb039fa896c329e68669b21f6717622c560c6f61a0c97d18ca866b2d node-v18.16.0-linux-armv7l.tar.xz +b4e66dcda5ba4a3697be3fded122dabb6a677deee3d7f4d3c7c13ebb5a13844c node-v18.16.0-linux-ppc64le.tar.gz +c43142fb9ef30658620ed095f8203beca92f469c1121eeb724df9a48bf0e59a5 node-v18.16.0-linux-ppc64le.tar.xz +a8b607c3c06f585c4fe9ba45be6dc76ce9459238c91b3f43533aa30344caed87 node-v18.16.0-linux-s390x.tar.gz +39b15c16347000b0be97133437bde0317dd2307d3fdfce15ddd8680b07a963ef node-v18.16.0-linux-s390x.tar.xz +fc83046a93d2189d919005a348db3b2372b598a145d84eb9781a3a4b0f032e95 node-v18.16.0-linux-x64.tar.gz +44d93d9b4627fe5ae343012d855491d62c7381b236c347f7666a7ad070f26548 node-v18.16.0-linux-x64.tar.xz +156aa5b9580288fb0b3c6134eb8fac64e50745d78d33eebe9e29eb7ff87b8e1e node-v18.16.0.pkg +6a4f5c5d76e5c50cef673099e56f19bc3266ae363f56ca0ab77dd2f3c5088c6d node-v18.16.0.tar.gz +33d81a233e235a509adda4a4f2209008d04591979de6b3f0f67c1c906093f118 node-v18.16.0.tar.xz +007848640ba414f32d968d303e75d9841ecd2cd95d6fdd81f80bc3dcbd74ae44 node-v18.16.0-win-x64.7z +4b3bd4cb5570cc217490639e93a7e1b7a7a341981366661e514ce61941824a85 node-v18.16.0-win-x64.zip +681be28e0acd057b4798f357d21eec5f49e21bc803bbbefeb1072bb4f166025a node-v18.16.0-win-x86.7z +2a7e0fb22e1a36144ee8183c80ef2705cd9754c1d894f94bb6c94a681de47924 node-v18.16.0-win-x86.zip +5bfb6f3ab89e198539408f7e0e8ec0b0bd5efe8898573ec05b381228efb45a5d node-v18.16.0-x64.msi +09534d1949c795c3e49d257fb72a9fd865ee28955673b87d569d4aec541333e7 node-v18.16.0-x86.msi +b548a55c2b5ef5de34f4636610bab27077fb9313d34f52280b9ec11dd25e9dd1 win-x64/node.exe +72b7fab9381af8f4958c8212f3d4cdfff8c7c5b1e33eaad0e7d5888293568cd5 win-x64/node.lib +3b9474e18a1bbb38b05b1876b4b37056063c2af82212d356a8a5cf91c1a3acf3 win-x64/node_pdb.7z +6b506b1fe654ca7161373916c7ba7e38f62545236698342fa97fd2faf39ebc4e win-x64/node_pdb.zip +36bf0f0a364ca8edc176776764831f9e88bef6d1e8056f6edc474a37b652a794 win-x86/node.exe +6a85c15a69238f0902b9a734d262bf36d211b273a46d5e3249857d4bb7f6d9b7 win-x86/node.lib +9256bdefae4491acfd523ca06d4f4344ddc4f1a28aac868b5efb6a72d8023e2a win-x86/node_pdb.7z +53c6b29afd58904e5143d9f3298b55695b8ecb2b6c08a9612ed30e9b0ed9589a win-x86/node_pdb.zip diff --git a/SHASUMS256.txt.sig b/SHASUMS256.txt.sig index 1f3a657f3edecb1220eafec8e217125a2cd08204..ee2c2e76a08db86255672b2c7e72b1b4706367d4 100644 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j+5@g@Sc@x_2 z!!+pzU=O`^*3_>Q^tpPySh#ioNvT|w{{_`igXm+fx@QM2dy{oxtXCM9bkApmhW00U z#^^vmAa<_=2@O4plJjguN^)(ZyrlV zcw0fmJlZGD8$SpAMl+LkKuRp{fc*&u(k=$b2f|ke!fao0_Bw+BSC!keFx7ycu9eWO za@T~RW>OI~?HF2B|8nfjP+D37O!51G6Bg8c@*>@#D35?P3#jbYgpCMAb zpqShKoKCzQD}H55l)-$G)MgkOWrBudep0LuOBwd93We9TfojT-+)11#XYw~XL*C9Ya<=Nn$5E)+jX51sKJNpypl=de@kih@Bsd#6Gi*^}n6?eZ*| zaUy|8G_rW7sw$5TA@NX!_7sT^AIG(Dti%HIMb3*7z>RL>r83t^E)|Trc(WR}Xx}TR Ihs3}bW|^prqyPW_ diff --git a/linker_lto_jobs.patch b/linker_lto_jobs.patch index 27c09b8..74f73ef 100644 --- a/linker_lto_jobs.patch +++ b/linker_lto_jobs.patch @@ -3,31 +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-v18.14.0/node.gyp +Index: node-v18.16.0/node.gyp =================================================================== ---- node-v18.14.0.orig/node.gyp -+++ node-v18.14.0/node.gyp -@@ -1166,6 +1166,7 @@ - 'node_dtrace_header', - 'node_dtrace_ustack', +--- node-v18.16.0.orig/node.gyp ++++ node-v18.16.0/node.gyp +@@ -1220,6 +1220,7 @@ 'node_dtrace_provider', -+ 'cctest', - ], - 'includes': [ - 'node.gypi' -@@ -1312,6 +1313,7 @@ - 'node_dtrace_header', - 'node_dtrace_ustack', - 'node_dtrace_provider', -+ 'fuzz_env', + 'deps/simdutf/simdutf.gyp:simdutf', + 'deps/ada/ada.gyp:ada', ++ 'fuzz_env' ], 'includes': [ -@@ -1381,6 +1383,7 @@ - '<(node_lib_target_name)', +@@ -1389,6 +1390,7 @@ 'deps/histogram/histogram.gyp:histogram', 'deps/uvwasi/uvwasi.gyp:uvwasi', -+ 'embedtest' + 'deps/ada/ada.gyp:ada', ++ 'cctest' ], 'includes': [ diff --git a/node-v18.15.0.tar.xz b/node-v18.15.0.tar.xz deleted file mode 100644 index b81071e..0000000 --- a/node-v18.15.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e44d65018ff973284195c23186469a0ea4082e97ec4200e5f5706d5584daa37 -size 40355624 diff --git a/node-v18.16.0.tar.xz b/node-v18.16.0.tar.xz new file mode 100644 index 0000000..9421075 --- /dev/null +++ b/node-v18.16.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33d81a233e235a509adda4a4f2209008d04591979de6b3f0f67c1c906093f118 +size 40467860 diff --git a/nodejs18.changes b/nodejs18.changes index 3e39520..f31fb28 100644 --- a/nodejs18.changes +++ b/nodejs18.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Apr 13 13:49:59 UTC 2023 - Adam Majer + +- Update to NodeJS 18.16.0 LTS version + * Add initial support for single executable applications + * Replace url parser with Ada + * buffer: add Buffer.copyBytesFrom + +- refreshed patches: versioned.patch linker_lto_jobs.patch + ------------------------------------------------------------------- Mon Mar 13 16:43:33 UTC 2023 - Adam Majer diff --git a/nodejs18.spec b/nodejs18.spec index 4008807..8d61556 100644 --- a/nodejs18.spec +++ b/nodejs18.spec @@ -31,7 +31,7 @@ %endif Name: nodejs18 -Version: 18.15.0 +Version: 18.16.0 Release: 0 # Double DWZ memory limits @@ -302,7 +302,7 @@ BuildRequires: bundled_openssl_should_not_be_required %if ! 0%{with intree_cares} BuildRequires: pkgconfig(libcares) >= 1.17.0 %else -Provides: bundled(libcares2) = 1.18.1 +Provides: bundled(libcares2) = 1.19.0 %endif %if ! 0%{with intree_icu} @@ -314,7 +314,7 @@ Provides: bundled(icu) = 72.1 %if ! 0%{with intree_nghttp2} BuildRequires: libnghttp2-devel >= 1.41.0 %else -Provides: bundled(nghttp2) = 1.51.0 +Provides: bundled(nghttp2) = 1.52.0 %endif %if 0%{with valgrind_tests} @@ -376,17 +376,17 @@ BuildRequires: pkgconfig(libbrotlidec) Provides: bundled(llhttp) = 6.0.10 Provides: bundled(ngtcp2) = 0.8.1 Provides: bundled(base64) = 0.5.0 -Provides: bundled(simdutf) = 3.1.0 +Provides: bundled(simdutf) = 3.2.2 # bundled url-ada parser, not ada - +Provides: bundled(ada) = 1.0.4 Provides: bundled(node-acorn) = 8.8.2 Provides: bundled(node-acorn-walk) = 8.2.0 Provides: bundled(node-busboy) = 1.6.0 Provides: bundled(node-cjs-module-lexer) = 1.2.2 -Provides: bundled(node-corepack) = 0.15.3 +Provides: bundled(node-corepack) = 0.17.0 Provides: bundled(node-streamsearch) = 1.1.0 -Provides: bundled(node-undici) = 5.20.0 +Provides: bundled(node-undici) = 5.21.0 %description Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js @@ -415,7 +415,7 @@ Requires: nodejs-common Requires: nodejs18 = %{version} Provides: nodejs-npm = %{version} Obsoletes: nodejs-npm < 4.0.0 -Provides: npm(npm) = 9.5.0 +Provides: npm(npm) = 9.5.1 Provides: npm = %{version} %if 0%{?suse_version} >= 1500 %if %{node_version_number} >= 10 @@ -514,18 +514,18 @@ Provides: bundled(node-jsonparse) = 1.3.1 Provides: bundled(node-just-diff) = 5.2.0 Provides: bundled(node-just-diff-apply) = 5.5.0 Provides: bundled(node-libnpmaccess) = 7.0.2 -Provides: bundled(node-libnpmdiff) = 5.0.10 -Provides: bundled(node-libnpmexec) = 5.0.10 -Provides: bundled(node-libnpmfund) = 4.0.10 +Provides: bundled(node-libnpmdiff) = 5.0.11 +Provides: bundled(node-libnpmexec) = 5.0.11 +Provides: bundled(node-libnpmfund) = 4.0.11 Provides: bundled(node-libnpmhook) = 9.0.3 Provides: bundled(node-libnpmorg) = 5.0.3 -Provides: bundled(node-libnpmpack) = 5.0.10 +Provides: bundled(node-libnpmpack) = 5.0.11 Provides: bundled(node-libnpmpublish) = 7.1.0 Provides: bundled(node-libnpmsearch) = 6.0.2 Provides: bundled(node-libnpmteam) = 5.0.3 Provides: bundled(node-libnpmversion) = 4.0.2 Provides: bundled(node-lru-cache) = 6.0.0 -Provides: bundled(node-lru-cache) = 7.14.1 +Provides: bundled(node-lru-cache) = 7.16.2 Provides: bundled(node-make-fetch-happen) = 10.2.1 Provides: bundled(node-make-fetch-happen) = 11.0.3 Provides: bundled(node-minimatch) = 3.1.2 @@ -564,7 +564,7 @@ Provides: bundled(node-npmlog) = 6.0.2 Provides: bundled(node-npmlog) = 7.0.1 Provides: bundled(node-once) = 1.4.0 Provides: bundled(node-p-map) = 4.0.0 -Provides: bundled(node-pacote) = 15.1.0 +Provides: bundled(node-pacote) = 15.1.1 Provides: bundled(node-parse-conflict-json) = 3.0.0 Provides: bundled(node-path-is-absolute) = 1.0.1 Provides: bundled(node-postcss-selector-parser) = 6.0.11 @@ -999,7 +999,7 @@ make test-ci %defattr(-, root, root) %license LICENSE %doc doc/changelogs/CHANGELOG_V%{node_version_number}.md -%doc AUTHORS *.md +%doc *.md %doc deps/v8/tools/gdbinit %dir %{_libdir}/node_modules %dir %{_datadir}/libalternatives diff --git a/versioned.patch b/versioned.patch index a14e93d..75aadb8 100644 --- a/versioned.patch +++ b/versioned.patch @@ -8,10 +8,10 @@ management via update_alternatives. This is also important for generation of binary modules for multiple versions of NodeJS -Index: node-v18.14.2/Makefile +Index: node-v18.16.0/Makefile =================================================================== ---- node-v18.14.2.orig/Makefile -+++ node-v18.14.2/Makefile +--- node-v18.16.0.orig/Makefile ++++ node-v18.16.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-v18.14.2/Makefile NODE ?= ./$(NODE_EXE) NODE_G_EXE = node_g$(EXEEXT) NPM ?= ./deps/npm/bin/npm-cli.js -Index: node-v18.14.2/tools/install.py +Index: node-v18.16.0/tools/install.py =================================================================== ---- node-v18.14.2.orig/tools/install.py -+++ node-v18.14.2/tools/install.py +--- node-v18.16.0.orig/tools/install.py ++++ node-v18.16.0/tools/install.py @@ -86,7 +86,7 @@ def uninstall(paths, dst): try_remove(path, dst) @@ -93,7 +93,7 @@ Index: node-v18.14.2/tools/install.py + ], 'include/node18/') # Add the expfile that is created on AIX - if sys.platform.startswith('aix'): + if sys.platform.startswith('aix') or sys.platform == "os400": - action(['out/Release/node.exp'], 'include/node/') + action(['out/Release/node.exp'], 'include/node18/') @@ -122,10 +122,10 @@ Index: node-v18.14.2/tools/install.py if sys.platform == 'zos': zoslibinc = os.environ.get('ZOSLIB_INCLUDES') -Index: node-v18.14.2/doc/node.1 +Index: node-v18.16.0/doc/node.1 =================================================================== ---- node-v18.14.2.orig/doc/node.1 -+++ node-v18.14.2/doc/node.1 +--- node-v18.16.0.orig/doc/node.1 ++++ node-v18.16.0/doc/node.1 @@ -31,24 +31,24 @@ .Dt NODE 1 . @@ -155,10 +155,10 @@ Index: node-v18.14.2/doc/node.1 .Op Fl -v8-options . .\"====================================================================== -Index: node-v18.14.2/src/node.stp +Index: node-v18.16.0/src/node.stp =================================================================== ---- node-v18.14.2.orig/src/node.stp -+++ node-v18.14.2/src/node.stp +--- node-v18.16.0.orig/src/node.stp ++++ node-v18.16.0/src/node.stp @@ -19,7 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -231,10 +231,10 @@ Index: node-v18.14.2/src/node.stp { scavenge = 1 << 0; compact = 1 << 1; -Index: node-v18.14.2/deps/npm/man/man1/npm.1 +Index: node-v18.16.0/deps/npm/man/man1/npm.1 =================================================================== ---- node-v18.14.2.orig/deps/npm/man/man1/npm.1 -+++ node-v18.14.2/deps/npm/man/man1/npm.1 +--- node-v18.16.0.orig/deps/npm/man/man1/npm.1 ++++ node-v18.16.0/deps/npm/man/man1/npm.1 @@ -1,11 +1,11 @@ .TH "NPM" "1" "February 2023" "" "" .SH "NAME" @@ -282,10 +282,10 @@ Index: node-v18.14.2/deps/npm/man/man1/npm.1 -npm help publish +npm18 help publish .RE 0 -Index: node-v18.14.2/src/node_main.cc +Index: node-v18.16.0/src/node_main.cc =================================================================== ---- node-v18.14.2.orig/src/node_main.cc -+++ node-v18.14.2/src/node_main.cc +--- node-v18.16.0.orig/src/node_main.cc ++++ node-v18.16.0/src/node_main.cc @@ -90,6 +90,7 @@ int wmain(int argc, wchar_t* wargv[]) { // UNIX @@ -294,10 +294,10 @@ Index: node-v18.14.2/src/node_main.cc return node::Start(argc, argv); } #endif -Index: node-v18.14.2/tools/test.py +Index: node-v18.16.0/tools/test.py =================================================================== ---- node-v18.14.2.orig/tools/test.py -+++ node-v18.14.2/tools/test.py +--- node-v18.16.0.orig/tools/test.py ++++ node-v18.16.0/tools/test.py @@ -954,7 +954,7 @@ class Context(object): if self.vm is not None: return self.vm @@ -307,10 +307,10 @@ Index: node-v18.14.2/tools/test.py else: name = 'out/%s.%s/node' % (arch, mode) -Index: node-v18.14.2/node.gyp +Index: node-v18.16.0/node.gyp =================================================================== ---- node-v18.14.2.orig/node.gyp -+++ node-v18.14.2/node.gyp +--- node-v18.16.0.orig/node.gyp ++++ node-v18.16.0/node.gyp @@ -25,8 +25,8 @@ 'node_shared_openssl%': 'false', 'node_v8_options%': '', @@ -322,10 +322,10 @@ Index: node-v18.14.2/node.gyp 'node_intermediate_lib_type%': 'static_library', 'node_builtin_modules_path%': '', # We list the deps/ files out instead of globbing them in js2c.py since we -Index: node-v18.14.2/deps/npm/man/man1/npx.1 +Index: node-v18.16.0/deps/npm/man/man1/npx.1 =================================================================== ---- node-v18.14.2.orig/deps/npm/man/man1/npx.1 -+++ node-v18.14.2/deps/npm/man/man1/npx.1 +--- node-v18.16.0.orig/deps/npm/man/man1/npx.1 ++++ node-v18.16.0/deps/npm/man/man1/npx.1 @@ -1,14 +1,14 @@ .TH "NPX" "1" "February 2023" "" "" .SH "NAME" From bc576699f464a9b09427ec078c59322e02f0cb80 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 17 Apr 2023 10:23:37 +0000 Subject: [PATCH 2/2] * deps: upgrade npm to 9.5.0 (bsc#1208744, CVE-2022-25881) OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=59 --- nodejs18.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs18.changes b/nodejs18.changes index f31fb28..f6b5b98 100644 --- a/nodejs18.changes +++ b/nodejs18.changes @@ -35,7 +35,7 @@ Thu Feb 23 10:41:38 UTC 2023 - Adam Majer Wed Feb 22 13:59:45 UTC 2023 - Adam Majer - Update to NodeJS 18.14.2 LTS: - * deps: upgrade npm to 9.5.0 + * deps: upgrade npm to 9.5.0 (bsc#1208744, CVE-2022-25881) * deps: update undici to 5.20.0 - Changes in version 18.14.1: