forked from pool/nodejs18
Accepting request 1067187 from devel:languages:nodejs
- Update to NodeJS 18.14.2 LTS: * deps: upgrade npm to 9.5.0 * deps: update undici to 5.20.0 - Changes in version 18.14.1: * fixes permissions policies can be bypassed via process.mainModule (bsc#1208481, CVE-2023-23918) * fixes insecure loading of ICU data through ICU_DATA environment variable (bsc#1208487, CVE-2023-23920) * fixes OpenSSL error handling issues in nodejs crypto library (bsc#1208483, CVE-2023-23919) * updates undici to v5.19.1 + Fetch API in Node.js did not protect against CRLF injection in host headers + Regular Expression Denial of Service in Headers in Node.js fetch API (bsc#1208413, bsc#1208485, CVE-2023-24807, CVE-2023-23936) - versioned.patch: refreshed - sysctl.patch: unit test fixes - Update to NodeJS 18.14.0 LTS: * deps: + update npm to 9.2.0 * http: + join authorization headers + improved timeout defaults handling * stream: + implement finished() for ReadableStream and WritableStream - refreshed patches: linker_lto_jobs.patch, npm_search_paths.patch, versioned.patch OBS-URL: https://build.opensuse.org/request/show/1067187 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs18?expand=0&rev=12
This commit is contained in:
commit
87919cb396
@ -1,34 +1,34 @@
|
||||
9a479a5b7128ed8bb32c263f4519ca84ec7fa49efb90ebaf0cb25d34dd6d2667 node-v18.13.0-aix-ppc64.tar.gz
|
||||
418d535e64dbcbd628715180c2de4ffcecb8a84b81f233c60e6ab9f0d795c249 node-v18.13.0-darwin-arm64.tar.gz
|
||||
15210e2672040f375f7804ed1e665d67e2026e5160125358e4187d32f71bac62 node-v18.13.0-darwin-arm64.tar.xz
|
||||
8b57c4da4ff6cca19d5ef7953f8816e3406d1508a2e4ee7f997984b3b1d11b77 node-v18.13.0-darwin-x64.tar.gz
|
||||
37876b315d2b59506d10fccdb8d72cab9fe458c7911f263322b84265395db507 node-v18.13.0-darwin-x64.tar.xz
|
||||
50b6f8df7e817f13b1c5efc4223fca2ba40663bb95323ff86b36246be96bc9cd node-v18.13.0-headers.tar.gz
|
||||
79deeac99df8f0063010554c87bee61e7dec8a0de4c3c5f32734c6f8aa8daa7c node-v18.13.0-headers.tar.xz
|
||||
dc68e229425b941eeae0b1d59c66c680b56fd536d0ad2311e3fb009bd83661e4 node-v18.13.0-linux-arm64.tar.gz
|
||||
5b338667822341d1ea3b18d5b37d442a655829b9eafdc5f9008f00b8451ac148 node-v18.13.0-linux-arm64.tar.xz
|
||||
224a1ea21a354dfd567d0ac3c6f8f626f8ac534fc02ed9c11ed294e634767d35 node-v18.13.0-linux-armv7l.tar.gz
|
||||
52bfe3112bef2cd033ee25b416326411ccbfe0a41a55a9ef6a94012b363b51c7 node-v18.13.0-linux-armv7l.tar.xz
|
||||
4b306acfd7c36e5081d427c490e145824fe22b7fee32a12b481e9bc756e34172 node-v18.13.0-linux-ppc64le.tar.gz
|
||||
8671b892820c5375d5c0fa095c592b2a72891bc495f51c860a45f198a9967813 node-v18.13.0-linux-ppc64le.tar.xz
|
||||
242f94cd3655afefe225bbeaddcd7dec8c84f7976269afedcc88781e55a5f187 node-v18.13.0-linux-s390x.tar.gz
|
||||
4bd664712f08dbb9fa327ae4d9404a06f2a56c1c37553445549675f5c3c92a47 node-v18.13.0-linux-s390x.tar.xz
|
||||
2d2881cf860624b9fa9866670a65708c747d458213bdccaa8e7266b105d404ad node-v18.13.0-linux-x64.tar.gz
|
||||
7f5d6922a91986ef059ba8a4396aa435440adacfe6fc6fab60a857c8f2cf5e7a node-v18.13.0-linux-x64.tar.xz
|
||||
53b88cd86039dc23b1c14663e2ff0c0918166f17e878aded6a94a6597c1ef8fa node-v18.13.0.pkg
|
||||
61ae68446438c2479e466d551b6e8c898097d56722957b1a8466ec8476a590d2 node-v18.13.0.tar.gz
|
||||
fd4ac562e01d172896e3a959bd59552dbf647331c90d726f8d3471683dd3da68 node-v18.13.0.tar.xz
|
||||
ceac916b111c8a0f04dd0621d7c48cd2a91848ff4fc8e35ff339138350dec801 node-v18.13.0-win-x64.7z
|
||||
29c99ad1167ddbd72f2b15e91b560e36ac785b1873ba6791ab50d9d62f1957e2 node-v18.13.0-win-x64.zip
|
||||
e3cdf849a38644eb721f671eb1bde1a0e0d5439e04df106efe80c8c8ee175a49 node-v18.13.0-win-x86.7z
|
||||
caf703a2e118ec064d3542cb56d4404bf19e64fd357978bc504c0e27736c5420 node-v18.13.0-win-x86.zip
|
||||
248f975c8e93f1eed659c4b8603eb2ea9ab09c6174f02444b85fa33c7ea4cf0f node-v18.13.0-x64.msi
|
||||
5cfb5e5c17c36a85f6883c76754209f36af193846b60ef75998f979cb5e3bbdb node-v18.13.0-x86.msi
|
||||
0dd4b623041704918ab97c85e096aa37d14f64db82f54364a7064c7184691545 win-x64/node.exe
|
||||
9d36b6e078ffc0bf940bc0497d8e7d8485c50be6f306f46625bf86fcfa57e934 win-x64/node.lib
|
||||
199f9b5f1829b4c1f02bf13fc1c176f8bedb30280e81bbca2cf8478aaca5efa4 win-x64/node_pdb.7z
|
||||
43a8fce64f242d8e261fbb1cfb0bec1fba62df4bfd242f53c0a01057fa2cdcd4 win-x64/node_pdb.zip
|
||||
80eafa18b85001b1773471414150c96ad52e0dd6985a4c25d7d5083fb04ae4fd win-x86/node.exe
|
||||
e560d516592cf9238220905fc86314ce367a416e576c11f733431f8dd1573241 win-x86/node.lib
|
||||
b1f8b8bda173e108bd051f6c54ead1ed81880936703f9effede09aca2c7ae764 win-x86/node_pdb.7z
|
||||
7868ea31549c604a34a14474c95a8f8920e45963a5740b03449f46715bc4f778 win-x86/node_pdb.zip
|
||||
2e9a2b5cf051e3ecf4e5816aec38c79e4d549db43dd33b523c1b6b9b3ea18326 node-v18.14.2-aix-ppc64.tar.gz
|
||||
19f2e5f0659909e6f4b583fe581c0a5f14d079232f24093a55722d1bcf1b9991 node-v18.14.2-darwin-arm64.tar.gz
|
||||
725f06eabcede54d7f235ff90a6a3db71104f6ffe40f854fe598595dd1cae597 node-v18.14.2-darwin-arm64.tar.xz
|
||||
137fbd2abf59db87033a1114fab7afb497e3d747c3726dd881b6297d59782da2 node-v18.14.2-darwin-x64.tar.gz
|
||||
f99dbf696c23d588747dd132f0bfa3bf2bf55326a3d5e38a8adcb93a7046a56b node-v18.14.2-darwin-x64.tar.xz
|
||||
2a9c2de887310dce67c93e2939230a4192d198b3cf0303c23a6e67d8a526a7c5 node-v18.14.2-headers.tar.gz
|
||||
e1fc3e63e269b4de0f9b187d6927fe0d981b9a7283232e61615f4fb4afdd6582 node-v18.14.2-headers.tar.xz
|
||||
e5c5d83e65271260ea4135330309d43fdc26c42457156ff237eeba65c6237f58 node-v18.14.2-linux-arm64.tar.gz
|
||||
e3e39b9c3d5475857f62bd8d501d4d3f39303691b6357fba81f2c2b6de6e8520 node-v18.14.2-linux-arm64.tar.xz
|
||||
a48ec9924ca1d4fe28382b318dcb58f0687ab8e9d2f5a65ecb471fb747d369e2 node-v18.14.2-linux-armv7l.tar.gz
|
||||
39c308b9a75591860c4d2c05edae82c10a1157cfb67594837d60666ee960e8fe node-v18.14.2-linux-armv7l.tar.xz
|
||||
93ac8990cca042df5e73ab8bc5d0ee07d6083a3c3e79ea4a78aab376e31efbf7 node-v18.14.2-linux-ppc64le.tar.gz
|
||||
5b6d518e3e5756a005565a0d343065298868f5c843ec2f33e87e3d5f49749efc node-v18.14.2-linux-ppc64le.tar.xz
|
||||
d805972f7f8f8c5ad552a4d25e31dbef25944fe7f5d045b42449b44a95529ead node-v18.14.2-linux-s390x.tar.gz
|
||||
43c1ad18b20525ca4e5234fcfe2e0a8278a49655d8d61fe7eb14d3aa42fb473c node-v18.14.2-linux-s390x.tar.xz
|
||||
95bdaaf92265eefd40d2055fb9b5cd6cbc3cb2c4495e3ebd4b1b501822d69731 node-v18.14.2-linux-x64.tar.gz
|
||||
de15b44738578367cfb250b6551b4c97e0e0e8050fa931a4a9a7262d374d6034 node-v18.14.2-linux-x64.tar.xz
|
||||
3ecf4871d39427b2fa025b7c58405c0ac788812edbb644af9f03d3104e41175b node-v18.14.2.pkg
|
||||
850aebb879e3efd904ebfe65325caa97b013773bb94fafd2d0fb794324918252 node-v18.14.2.tar.gz
|
||||
fbc364dd25fee2cacc0f2033db2d86115fc07575310ea0e64408b8170d09c685 node-v18.14.2.tar.xz
|
||||
a29727e85fd649d733a043a70362ede034825f2569103b81b6e9273ed1a0e2fc node-v18.14.2-win-x64.7z
|
||||
fccac5e259f1196a2a30e82f42211dd7dddd9a48e4fd3f1627900aa23dff4ffa node-v18.14.2-win-x64.zip
|
||||
b1e7abe1e962fe568040fd8d3bb185bd430972887f22aa57e05eef080c11dd96 node-v18.14.2-win-x86.7z
|
||||
30161c71d428a71b62037a63c58a5d4bca34439811a3feea146ca23baf33a70e node-v18.14.2-win-x86.zip
|
||||
1152f8163882faf8c6c33dcaaeebb3a03468bdcbe4e33d722d063c1da8f1fc57 node-v18.14.2-x64.msi
|
||||
352ecd456852f870c0c1c63221c810b19993f83f5f0651125f1cee386eecca97 node-v18.14.2-x86.msi
|
||||
8ab627d82d90d62be8017ee3659f38e7f58f32c8cadf4d5dc59a6e4f99507aeb win-x64/node.exe
|
||||
28973fbe8ae770a132b4851b0166ec9ba435595f786bb05fc47c3611fefb1cf2 win-x64/node.lib
|
||||
93157f3a4b89d9ee89485622f06942aa16bf99f00988fc5143e52b9e2b24bef5 win-x64/node_pdb.7z
|
||||
741c969d4d30187000d7127d45e166aa5d74fc4b0546905a24c504bfcfdf06ba win-x64/node_pdb.zip
|
||||
2a11436bc0b9154e5fa878041cd867d7420c66916e06a7755f1f8fc030951ce8 win-x86/node.exe
|
||||
a10d89fbd502902abaf307fe73b604a4733d403ac5c577e536607c1f3b16ac14 win-x86/node.lib
|
||||
efd93de17cd01e4ea00e69603d095fda488723e3ef25b640cd3240f9d3f2cded win-x86/node_pdb.7z
|
||||
2d554f21d9c858412217f37b92026b688f5605f9c6169faccdc20b9e97b289ba win-x86/node_pdb.zip
|
||||
|
Binary file not shown.
@ -3,19 +3,19 @@ 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.4.0/node.gyp
|
||||
Index: node-v18.14.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v18.4.0.orig/node.gyp
|
||||
+++ node-v18.4.0/node.gyp
|
||||
@@ -1145,6 +1145,7 @@
|
||||
--- node-v18.14.0.orig/node.gyp
|
||||
+++ node-v18.14.0/node.gyp
|
||||
@@ -1166,6 +1166,7 @@
|
||||
'node_dtrace_header',
|
||||
'node_dtrace_ustack',
|
||||
'node_dtrace_provider',
|
||||
+ 'fuzz_url',
|
||||
+ 'cctest',
|
||||
],
|
||||
'includes': [
|
||||
'node.gypi'
|
||||
@@ -1190,6 +1191,7 @@
|
||||
@@ -1312,6 +1313,7 @@
|
||||
'node_dtrace_header',
|
||||
'node_dtrace_ustack',
|
||||
'node_dtrace_provider',
|
||||
@ -23,15 +23,7 @@ Index: node-v18.4.0/node.gyp
|
||||
],
|
||||
|
||||
'includes': [
|
||||
@@ -1288,6 +1290,7 @@
|
||||
'node_dtrace_header',
|
||||
'node_dtrace_ustack',
|
||||
'node_dtrace_provider',
|
||||
+ 'cctest',
|
||||
],
|
||||
|
||||
'includes': [
|
||||
@@ -1357,6 +1360,7 @@
|
||||
@@ -1381,6 +1383,7 @@
|
||||
'<(node_lib_target_name)',
|
||||
'deps/histogram/histogram.gyp:histogram',
|
||||
'deps/uvwasi/uvwasi.gyp:uvwasi',
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd4ac562e01d172896e3a959bd59552dbf647331c90d726f8d3471683dd3da68
|
||||
size 40324048
|
3
node-v18.14.2.tar.xz
Normal file
3
node-v18.14.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbc364dd25fee2cacc0f2033db2d86115fc07575310ea0e64408b8170d09c685
|
||||
size 40330824
|
@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 22 13:59:45 UTC 2023 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to NodeJS 18.14.2 LTS:
|
||||
* deps: upgrade npm to 9.5.0
|
||||
* deps: update undici to 5.20.0
|
||||
|
||||
- Changes in version 18.14.1:
|
||||
* fixes permissions policies can be bypassed via process.mainModule
|
||||
(bsc#1208481, CVE-2023-23918)
|
||||
* fixes insecure loading of ICU data through ICU_DATA environment
|
||||
variable (bsc#1208487, CVE-2023-23920)
|
||||
* fixes OpenSSL error handling issues in nodejs crypto library
|
||||
(bsc#1208483, CVE-2023-23919)
|
||||
* updates undici to v5.19.1
|
||||
+ Fetch API in Node.js did not protect against CRLF injection in host headers
|
||||
+ Regular Expression Denial of Service in Headers in Node.js fetch API
|
||||
(bsc#1208413, bsc#1208485, CVE-2023-24807, CVE-2023-23936)
|
||||
|
||||
- versioned.patch: refreshed
|
||||
- sysctl.patch: unit test fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 3 11:43:02 UTC 2023 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to NodeJS 18.14.0 LTS:
|
||||
* deps:
|
||||
+ update npm to 9.2.0
|
||||
* http:
|
||||
+ join authorization headers
|
||||
+ improved timeout defaults handling
|
||||
* stream:
|
||||
+ implement finished() for ReadableStream and WritableStream
|
||||
|
||||
- refreshed patches: linker_lto_jobs.patch, npm_search_paths.patch,
|
||||
versioned.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 07:58:26 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
191
nodejs18.spec
191
nodejs18.spec
@ -31,7 +31,7 @@
|
||||
%endif
|
||||
|
||||
Name: nodejs18
|
||||
Version: 18.13.0
|
||||
Version: 18.14.2
|
||||
Release: 0
|
||||
|
||||
# Double DWZ memory limits
|
||||
@ -172,6 +172,7 @@ Patch200: versioned.patch
|
||||
|
||||
Patch305: qemu_timeouts_arches.patch
|
||||
Patch307: s390.patch
|
||||
Patch309: sysctl.patch
|
||||
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
@ -237,7 +238,7 @@ BuildRequires: gcc-c++
|
||||
|
||||
|
||||
# Python dependencies
|
||||
%if %node_version_number >= 16
|
||||
%if %node_version_number >= 14
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500
|
||||
BuildRequires: python36
|
||||
@ -270,14 +271,6 @@ BuildRequires: group(nobody)
|
||||
|
||||
BuildRequires: pkgconfig(openssl) >= %{openssl_req_ver}
|
||||
|
||||
# require patched openssl library on SLES for nodejs16
|
||||
%if 0%{?suse_version} && "%{pkg_version openssl-1_1}" != "~~~"
|
||||
%if %node_version_number >= 16 && 0%{suse_version} <= 1500 && %{pkg_vcmp openssl-1_1 < '1.1.1e' } && 0%{with openssl_RSA_get0_pss_params}
|
||||
BuildRequires: openssl-has-RSA_get0_pss_params
|
||||
Requires: openssl-has-RSA_get0_pss_params
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
|
||||
%if 0%{?suse_version} >= 1500
|
||||
@ -300,7 +293,7 @@ BuildRequires: openssl >= %{openssl_req_ver}
|
||||
%else
|
||||
# bundled openssl
|
||||
%if %node_version_number <= 12 && 0%{?suse_version} == 1315 && 0%{?sle_version} < 120400
|
||||
Provides: bundled(openssl) = 3.0.7
|
||||
Provides: bundled(openssl) = 3.0.8
|
||||
%else
|
||||
BuildRequires: bundled_openssl_should_not_be_required
|
||||
%endif
|
||||
@ -372,9 +365,9 @@ ExclusiveArch: not_buildable
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Provides: bundled(uvwasi) = 0.0.13
|
||||
Provides: bundled(uvwasi) = 0.0.14
|
||||
Provides: bundled(libuv) = 1.44.2
|
||||
Provides: bundled(v8) = 10.2.154.23
|
||||
Provides: bundled(v8) = 10.2.154.26
|
||||
%if %{with intree_brotli}
|
||||
Provides: bundled(brotli) = 1.0.9
|
||||
%else
|
||||
@ -385,15 +378,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
|
||||
# bundled url-ada parser, not ada
|
||||
|
||||
|
||||
Provides: bundled(node-acorn) = 8.8.1
|
||||
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.2
|
||||
Provides: bundled(node-corepack) = 0.15.3
|
||||
Provides: bundled(node-streamsearch) = 1.1.0
|
||||
Provides: bundled(node-undici) = 5.13.0
|
||||
Provides: bundled(node-undici) = 5.20.0
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@ -422,7 +417,7 @@ Requires: nodejs-common
|
||||
Requires: nodejs18 = %{version}
|
||||
Provides: nodejs-npm = %{version}
|
||||
Obsoletes: nodejs-npm < 4.0.0
|
||||
Provides: npm(npm) = 8.19.3
|
||||
Provides: npm(npm) = 9.5.0
|
||||
Provides: npm = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
@ -431,6 +426,8 @@ Requires: group(nobody)
|
||||
%endif
|
||||
%endif
|
||||
Provides: bundled(node-abbrev) = 1.1.1
|
||||
Provides: bundled(node-abbrev) = 2.0.0
|
||||
Provides: bundled(node-abort-controller) = 3.0.0
|
||||
Provides: bundled(node-agent-base) = 6.0.2
|
||||
Provides: bundled(node-agentkeepalive) = 4.2.1
|
||||
Provides: bundled(node-aggregate-error) = 3.1.0
|
||||
@ -439,22 +436,26 @@ Provides: bundled(node-ansi-styles) = 4.3.0
|
||||
Provides: bundled(node-aproba) = 2.0.0
|
||||
Provides: bundled(node-archy) = 1.0.0
|
||||
Provides: bundled(node-are-we-there-yet) = 3.0.1
|
||||
Provides: bundled(node-asap) = 2.0.6
|
||||
Provides: bundled(node-are-we-there-yet) = 4.0.0
|
||||
Provides: bundled(node-balanced-match) = 1.0.2
|
||||
Provides: bundled(node-bin-links) = 3.0.3
|
||||
Provides: bundled(node-base64-js) = 1.5.1
|
||||
Provides: bundled(node-bin-links) = 4.0.1
|
||||
Provides: bundled(node-binary-extensions) = 2.2.0
|
||||
Provides: bundled(node-brace-expansion) = 1.1.11
|
||||
Provides: bundled(node-brace-expansion) = 2.0.1
|
||||
Provides: bundled(node-buffer) = 6.0.3
|
||||
Provides: bundled(node-builtins) = 5.0.1
|
||||
Provides: bundled(node-cacache) = 16.1.3
|
||||
Provides: bundled(node-cacache) = 17.0.4
|
||||
Provides: bundled(node-chalk) = 4.1.2
|
||||
Provides: bundled(node-chownr) = 2.0.0
|
||||
Provides: bundled(node-ci-info) = 3.8.0
|
||||
Provides: bundled(node-cidr-regex) = 3.1.1
|
||||
Provides: bundled(node-clean-stack) = 2.2.0
|
||||
Provides: bundled(node-cli-columns) = 4.0.0
|
||||
Provides: bundled(node-cli-table3) = 0.6.2
|
||||
Provides: bundled(node-cli-table3) = 0.6.3
|
||||
Provides: bundled(node-clone) = 1.0.4
|
||||
Provides: bundled(node-cmd-shim) = 5.0.0
|
||||
Provides: bundled(node-cmd-shim) = 6.0.1
|
||||
Provides: bundled(node-color-convert) = 2.0.1
|
||||
Provides: bundled(node-color-name) = 1.1.4
|
||||
Provides: bundled(node-color-support) = 1.1.3
|
||||
@ -464,154 +465,165 @@ Provides: bundled(node-concat-map) = 0.0.1
|
||||
Provides: bundled(node-console-control-strings) = 1.1.0
|
||||
Provides: bundled(node-cssesc) = 3.0.0
|
||||
Provides: bundled(node-debug) = 4.3.4
|
||||
Provides: bundled(node-debuglog) = 1.0.1
|
||||
Provides: bundled(node-defaults) = 1.0.3
|
||||
Provides: bundled(node-defaults) = 1.0.4
|
||||
Provides: bundled(node-delegates) = 1.0.0
|
||||
Provides: bundled(node-depd) = 1.1.2
|
||||
Provides: bundled(node-dezalgo) = 1.0.4
|
||||
Provides: bundled(node-diff) = 5.1.0
|
||||
Provides: bundled(node-emoji-regex) = 8.0.0
|
||||
Provides: bundled(node-encoding) = 0.1.13
|
||||
Provides: bundled(node-env-paths) = 2.2.1
|
||||
Provides: bundled(node-err-code) = 2.0.3
|
||||
Provides: bundled(node-fastest-levenshtein) = 1.0.12
|
||||
Provides: bundled(node-event-target-shim) = 5.0.1
|
||||
Provides: bundled(node-events) = 3.3.0
|
||||
Provides: bundled(node-fastest-levenshtein) = 1.0.16
|
||||
Provides: bundled(node-fs-minipass) = 2.1.0
|
||||
Provides: bundled(node-fs-minipass) = 3.0.1
|
||||
Provides: bundled(node-fs.realpath) = 1.0.0
|
||||
Provides: bundled(node-function-bind) = 1.1.1
|
||||
Provides: bundled(node-gauge) = 4.0.4
|
||||
Provides: bundled(node-gauge) = 5.0.0
|
||||
Provides: bundled(node-glob) = 7.2.3
|
||||
Provides: bundled(node-glob) = 8.0.3
|
||||
Provides: bundled(node-glob) = 8.1.0
|
||||
Provides: bundled(node-graceful-fs) = 4.2.10
|
||||
Provides: bundled(node-has) = 1.0.3
|
||||
Provides: bundled(node-has-flag) = 4.0.0
|
||||
Provides: bundled(node-has-unicode) = 2.0.1
|
||||
Provides: bundled(node-hosted-git-info) = 5.2.1
|
||||
Provides: bundled(node-http-cache-semantics) = 4.1.0
|
||||
Provides: bundled(node-hosted-git-info) = 6.1.1
|
||||
Provides: bundled(node-http-cache-semantics) = 4.1.1
|
||||
Provides: bundled(node-http-proxy-agent) = 5.0.0
|
||||
Provides: bundled(node-https-proxy-agent) = 5.0.1
|
||||
Provides: bundled(node-humanize-ms) = 1.2.1
|
||||
Provides: bundled(node-iconv-lite) = 0.6.3
|
||||
Provides: bundled(node-ignore-walk) = 5.0.1
|
||||
Provides: bundled(node-ieee754) = 1.2.1
|
||||
Provides: bundled(node-ignore-walk) = 6.0.1
|
||||
Provides: bundled(node-imurmurhash) = 0.1.4
|
||||
Provides: bundled(node-indent-string) = 4.0.0
|
||||
Provides: bundled(node-infer-owner) = 1.0.4
|
||||
Provides: bundled(node-inflight) = 1.0.6
|
||||
Provides: bundled(node-inherits) = 2.0.4
|
||||
Provides: bundled(node-ini) = 3.0.1
|
||||
Provides: bundled(node-init-package-json) = 3.0.2
|
||||
Provides: bundled(node-init-package-json) = 5.0.0
|
||||
Provides: bundled(node-ip) = 2.0.0
|
||||
Provides: bundled(node-ip-regex) = 4.3.0
|
||||
Provides: bundled(node-is-cidr) = 4.0.2
|
||||
Provides: bundled(node-is-core-module) = 2.10.0
|
||||
Provides: bundled(node-is-core-module) = 2.11.0
|
||||
Provides: bundled(node-is-fullwidth-code-point) = 3.0.0
|
||||
Provides: bundled(node-is-lambda) = 1.0.1
|
||||
Provides: bundled(node-isexe) = 2.0.0
|
||||
Provides: bundled(node-json-parse-even-better-errors) = 2.3.1
|
||||
Provides: bundled(node-json-parse-even-better-errors) = 3.0.0
|
||||
Provides: bundled(node-json-stringify-nice) = 1.1.4
|
||||
Provides: bundled(node-jsonparse) = 1.3.1
|
||||
Provides: bundled(node-just-diff) = 5.1.1
|
||||
Provides: bundled(node-just-diff-apply) = 5.4.1
|
||||
Provides: bundled(node-libnpmaccess) = 6.0.4
|
||||
Provides: bundled(node-libnpmdiff) = 4.0.5
|
||||
Provides: bundled(node-libnpmexec) = 4.0.14
|
||||
Provides: bundled(node-libnpmfund) = 3.0.5
|
||||
Provides: bundled(node-libnpmhook) = 8.0.4
|
||||
Provides: bundled(node-libnpmorg) = 4.0.4
|
||||
Provides: bundled(node-libnpmpack) = 4.1.3
|
||||
Provides: bundled(node-libnpmpublish) = 6.0.5
|
||||
Provides: bundled(node-libnpmsearch) = 5.0.4
|
||||
Provides: bundled(node-libnpmteam) = 4.0.4
|
||||
Provides: bundled(node-libnpmversion) = 3.0.7
|
||||
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-libnpmhook) = 9.0.3
|
||||
Provides: bundled(node-libnpmorg) = 5.0.3
|
||||
Provides: bundled(node-libnpmpack) = 5.0.10
|
||||
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.13.2
|
||||
Provides: bundled(node-lru-cache) = 7.14.1
|
||||
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
|
||||
Provides: bundled(node-minimatch) = 5.1.0
|
||||
Provides: bundled(node-minipass) = 3.3.4
|
||||
Provides: bundled(node-minimatch) = 5.1.6
|
||||
Provides: bundled(node-minimatch) = 6.2.0
|
||||
Provides: bundled(node-minipass) = 3.3.6
|
||||
Provides: bundled(node-minipass) = 4.0.3
|
||||
Provides: bundled(node-minipass-collect) = 1.0.2
|
||||
Provides: bundled(node-minipass-fetch) = 2.1.1
|
||||
Provides: bundled(node-minipass-fetch) = 2.1.2
|
||||
Provides: bundled(node-minipass-fetch) = 3.0.1
|
||||
Provides: bundled(node-minipass-flush) = 1.0.5
|
||||
Provides: bundled(node-minipass-json-stream) = 1.0.1
|
||||
Provides: bundled(node-minipass-pipeline) = 1.2.4
|
||||
Provides: bundled(node-minipass-sized) = 1.0.3
|
||||
Provides: bundled(node-minizlib) = 2.1.2
|
||||
Provides: bundled(node-mkdirp) = 1.0.4
|
||||
Provides: bundled(node-mkdirp-infer-owner) = 2.0.0
|
||||
Provides: bundled(node-ms) = 2.1.2
|
||||
Provides: bundled(node-ms) = 2.1.3
|
||||
Provides: bundled(node-mute-stream) = 0.0.8
|
||||
Provides: bundled(node-mute-stream) = 1.0.0
|
||||
Provides: bundled(node-negotiator) = 0.6.3
|
||||
Provides: bundled(node-node-gyp) = 9.1.0
|
||||
Provides: bundled(node-nopt) = 5.0.0
|
||||
Provides: bundled(node-node-gyp) = 9.3.1
|
||||
Provides: bundled(node-nopt) = 6.0.0
|
||||
Provides: bundled(node-normalize-package-data) = 4.0.1
|
||||
Provides: bundled(node-npm-audit-report) = 3.0.0
|
||||
Provides: bundled(node-npm-bundled) = 1.1.2
|
||||
Provides: bundled(node-npm-bundled) = 2.0.1
|
||||
Provides: bundled(node-npm-install-checks) = 5.0.0
|
||||
Provides: bundled(node-npm-normalize-package-bin) = 1.0.1
|
||||
Provides: bundled(node-npm-normalize-package-bin) = 2.0.0
|
||||
Provides: bundled(node-npm-package-arg) = 9.1.0
|
||||
Provides: bundled(node-npm-packlist) = 5.1.3
|
||||
Provides: bundled(node-npm-pick-manifest) = 7.0.2
|
||||
Provides: bundled(node-npm-profile) = 6.2.1
|
||||
Provides: bundled(node-npm-registry-fetch) = 13.3.1
|
||||
Provides: bundled(node-npm-user-validate) = 1.0.1
|
||||
Provides: bundled(node-nopt) = 7.0.0
|
||||
Provides: bundled(node-normalize-package-data) = 5.0.0
|
||||
Provides: bundled(node-npm-audit-report) = 4.0.0
|
||||
Provides: bundled(node-npm-bundled) = 3.0.0
|
||||
Provides: bundled(node-npm-install-checks) = 6.0.0
|
||||
Provides: bundled(node-npm-normalize-package-bin) = 3.0.0
|
||||
Provides: bundled(node-npm-package-arg) = 10.1.0
|
||||
Provides: bundled(node-npm-packlist) = 7.0.4
|
||||
Provides: bundled(node-npm-pick-manifest) = 8.0.1
|
||||
Provides: bundled(node-npm-profile) = 7.0.1
|
||||
Provides: bundled(node-npm-registry-fetch) = 14.0.3
|
||||
Provides: bundled(node-npm-user-validate) = 2.0.0
|
||||
Provides: bundled(node-npmlog) = 6.0.2
|
||||
Provides: bundled(node-npmlog) = 7.0.1
|
||||
Provides: bundled(node-once) = 1.4.0
|
||||
Provides: bundled(node-opener) = 1.5.2
|
||||
Provides: bundled(node-p-map) = 4.0.0
|
||||
Provides: bundled(node-pacote) = 13.6.2
|
||||
Provides: bundled(node-parse-conflict-json) = 2.0.2
|
||||
Provides: bundled(node-pacote) = 15.1.0
|
||||
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.10
|
||||
Provides: bundled(node-proc-log) = 2.0.1
|
||||
Provides: bundled(node-postcss-selector-parser) = 6.0.11
|
||||
Provides: bundled(node-proc-log) = 3.0.0
|
||||
Provides: bundled(node-process) = 0.11.10
|
||||
Provides: bundled(node-promise-all-reject-late) = 1.0.1
|
||||
Provides: bundled(node-promise-call-limit) = 1.0.1
|
||||
Provides: bundled(node-promise-inflight) = 1.0.1
|
||||
Provides: bundled(node-promise-retry) = 2.0.1
|
||||
Provides: bundled(node-promzard) = 0.3.0
|
||||
Provides: bundled(node-promzard) = 1.0.0
|
||||
Provides: bundled(node-qrcode-terminal) = 0.12.0
|
||||
Provides: bundled(node-read) = 1.0.7
|
||||
Provides: bundled(node-read-cmd-shim) = 3.0.0
|
||||
Provides: bundled(node-read-package-json) = 5.0.2
|
||||
Provides: bundled(node-read-package-json-fast) = 2.0.3
|
||||
Provides: bundled(node-read) = 2.0.0
|
||||
Provides: bundled(node-read-cmd-shim) = 4.0.0
|
||||
Provides: bundled(node-read-package-json) = 6.0.0
|
||||
Provides: bundled(node-read-package-json-fast) = 3.0.2
|
||||
Provides: bundled(node-readable-stream) = 3.6.0
|
||||
Provides: bundled(node-readdir-scoped-modules) = 1.1.0
|
||||
Provides: bundled(node-readable-stream) = 4.3.0
|
||||
Provides: bundled(node-retry) = 0.12.0
|
||||
Provides: bundled(node-rimraf) = 3.0.2
|
||||
Provides: bundled(node-safe-buffer) = 5.2.1
|
||||
Provides: bundled(node-safe-buffer) = 5.1.2
|
||||
Provides: bundled(node-safer-buffer) = 2.1.2
|
||||
Provides: bundled(node-semver) = 7.3.7
|
||||
Provides: bundled(node-semver) = 7.3.8
|
||||
Provides: bundled(node-set-blocking) = 2.0.0
|
||||
Provides: bundled(node-signal-exit) = 3.0.7
|
||||
Provides: bundled(node-sigstore) = 1.0.0
|
||||
Provides: bundled(node-smart-buffer) = 4.2.0
|
||||
Provides: bundled(node-socks) = 2.7.0
|
||||
Provides: bundled(node-socks) = 2.7.1
|
||||
Provides: bundled(node-socks-proxy-agent) = 7.0.0
|
||||
Provides: bundled(node-spdx-correct) = 3.1.1
|
||||
Provides: bundled(node-spdx-exceptions) = 2.3.0
|
||||
Provides: bundled(node-spdx-expression-parse) = 3.0.1
|
||||
Provides: bundled(node-spdx-license-ids) = 3.0.11
|
||||
Provides: bundled(node-spdx-license-ids) = 3.0.12
|
||||
Provides: bundled(node-ssri) = 10.0.1
|
||||
Provides: bundled(node-ssri) = 9.0.1
|
||||
Provides: bundled(node-string_decoder) = 1.3.0
|
||||
Provides: bundled(node-string_decoder) = 1.1.1
|
||||
Provides: bundled(node-string-width) = 4.2.3
|
||||
Provides: bundled(node-strip-ansi) = 6.0.1
|
||||
Provides: bundled(node-supports-color) = 7.2.0
|
||||
Provides: bundled(node-tar) = 6.1.11
|
||||
Provides: bundled(node-tar) = 6.1.13
|
||||
Provides: bundled(node-text-table) = 0.2.0
|
||||
Provides: bundled(node-tiny-relative-date) = 1.3.0
|
||||
Provides: bundled(node-treeverse) = 2.0.0
|
||||
Provides: bundled(node-treeverse) = 3.0.0
|
||||
Provides: bundled(node-tuf-js) = 1.0.0
|
||||
Provides: bundled(node-unique-filename) = 2.0.1
|
||||
Provides: bundled(node-unique-filename) = 3.0.0
|
||||
Provides: bundled(node-unique-slug) = 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) = 4.0.0
|
||||
Provides: bundled(node-validate-npm-package-name) = 5.0.0
|
||||
Provides: bundled(node-walk-up-path) = 1.0.0
|
||||
Provides: bundled(node-wcwidth) = 1.0.1
|
||||
Provides: bundled(node-which) = 2.0.2
|
||||
Provides: bundled(node-which) = 3.0.0
|
||||
Provides: bundled(node-wide-align) = 1.1.5
|
||||
Provides: bundled(node-wrappy) = 1.0.2
|
||||
Provides: bundled(node-write-file-atomic) = 4.0.2
|
||||
Provides: bundled(node-write-file-atomic) = 5.0.0
|
||||
Provides: bundled(node-yallist) = 4.0.0
|
||||
|
||||
%description -n npm18
|
||||
@ -651,6 +663,7 @@ rm -r deps/npm/*
|
||||
pushd deps/npm
|
||||
tar zxf %{SOURCE9} --strip-components=1
|
||||
tar Jxf %{SOURCE90}
|
||||
popd
|
||||
%endif
|
||||
|
||||
%if %{node_version_number} >= 10
|
||||
@ -658,12 +671,15 @@ tar Jxf %{SOURCE11}
|
||||
%endif
|
||||
|
||||
# downgrade node-gyp to last version that supports python 3.4 for SLE12
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500 && 0%{node_version_number} >= 16
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1500 && %{node_version_number} >= 16
|
||||
rm -r deps/npm/node_modules/node-gyp
|
||||
mkdir deps/npm/node_modules/node-gyp
|
||||
pushd deps/npm/node_modules/node-gyp
|
||||
tar Jxf %{SOURCE5}
|
||||
popd
|
||||
|
||||
%if %{node_version_number} >= 19
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%patch1 -p1
|
||||
@ -693,8 +709,9 @@ popd
|
||||
|
||||
%patch305 -p1
|
||||
%patch307 -p1
|
||||
%patch309 -p1
|
||||
|
||||
%if %{node_version_number} <= 12
|
||||
%if %{node_version_number} == 12
|
||||
# minimist security update - patch50
|
||||
rm -r deps/npm/node_modules/mkdirp/node_modules/minimist
|
||||
rmdir ./deps/npm/node_modules/mkdirp/node_modules
|
||||
|
@ -1,21 +1,21 @@
|
||||
Index: node-v18.2.0/deps/npm/lib/commands/help-search.js
|
||||
Index: node-v19.5.0/deps/npm/lib/commands/help-search.js
|
||||
===================================================================
|
||||
--- node-v18.2.0.orig/deps/npm/lib/commands/help-search.js
|
||||
+++ node-v18.2.0/deps/npm/lib/commands/help-search.js
|
||||
@@ -20,7 +20,7 @@ class HelpSearch extends BaseCommand {
|
||||
--- node-v19.5.0.orig/deps/npm/lib/commands/help-search.js
|
||||
+++ node-v19.5.0/deps/npm/lib/commands/help-search.js
|
||||
@@ -19,7 +19,7 @@ class HelpSearch extends BaseCommand {
|
||||
throw this.usageError()
|
||||
}
|
||||
|
||||
- const docPath = path.resolve(__dirname, '..', '..', 'docs/content')
|
||||
- const docPath = path.resolve(this.npm.npmRoot, 'docs/content')
|
||||
+ const docPath = '/usr/share/doc/packages/nodejs'
|
||||
const files = await glob(`${globify(docPath)}/*/*.md`)
|
||||
const data = await this.readFiles(files)
|
||||
const results = await this.searchFiles(args, data, files)
|
||||
Index: node-v18.2.0/deps/npm/lib/npm.js
|
||||
Index: node-v19.5.0/deps/npm/lib/npm.js
|
||||
===================================================================
|
||||
--- node-v18.2.0.orig/deps/npm/lib/npm.js
|
||||
+++ node-v18.2.0/deps/npm/lib/npm.js
|
||||
@@ -383,7 +383,13 @@ class Npm extends EventEmitter {
|
||||
--- node-v19.5.0.orig/deps/npm/lib/npm.js
|
||||
+++ node-v19.5.0/deps/npm/lib/npm.js
|
||||
@@ -381,7 +381,13 @@ class Npm extends EventEmitter {
|
||||
}
|
||||
|
||||
get globalPrefix () {
|
||||
|
18
sysctl.patch
Normal file
18
sysctl.patch
Normal file
@ -0,0 +1,18 @@
|
||||
Index: node-v19.5.0/test/parallel/test-cluster-bind-privileged-port.js
|
||||
===================================================================
|
||||
--- node-v19.5.0.orig/test/parallel/test-cluster-bind-privileged-port.js
|
||||
+++ node-v19.5.0/test/parallel/test-cluster-bind-privileged-port.js
|
||||
@@ -24,11 +24,10 @@ const common = require('../common');
|
||||
const assert = require('assert');
|
||||
const cluster = require('cluster');
|
||||
const net = require('net');
|
||||
-const { execSync } = require('child_process');
|
||||
+const { readFileSync } = require('fs');
|
||||
|
||||
if (common.isLinux) {
|
||||
- const sysctlOutput = execSync('sysctl net.ipv4.ip_unprivileged_port_start').toString();
|
||||
- const unprivilegedPortStart = parseInt(sysctlOutput.split(' ')[2], 10);
|
||||
+ const unprivilegedPortStart = parseInt(readFileSync('/proc/sys/net/ipv4/ip_unprivileged_port_start'));
|
||||
if (unprivilegedPortStart <= 42) {
|
||||
common.skip('Port 42 is unprivileged');
|
||||
}
|
300
versioned.patch
300
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.13.0/Makefile
|
||||
Index: node-v18.14.2/Makefile
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/Makefile
|
||||
+++ node-v18.13.0/Makefile
|
||||
--- node-v18.14.2.orig/Makefile
|
||||
+++ node-v18.14.2/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.13.0/Makefile
|
||||
NODE ?= ./$(NODE_EXE)
|
||||
NODE_G_EXE = node_g$(EXEEXT)
|
||||
NPM ?= ./deps/npm/bin/npm-cli.js
|
||||
Index: node-v18.13.0/tools/install.py
|
||||
Index: node-v18.14.2/tools/install.py
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/tools/install.py
|
||||
+++ node-v18.13.0/tools/install.py
|
||||
--- node-v18.14.2.orig/tools/install.py
|
||||
+++ node-v18.14.2/tools/install.py
|
||||
@@ -86,7 +86,7 @@ def uninstall(paths, dst):
|
||||
try_remove(path, dst)
|
||||
|
||||
@ -122,10 +122,10 @@ Index: node-v18.13.0/tools/install.py
|
||||
|
||||
if sys.platform == 'zos':
|
||||
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
|
||||
Index: node-v18.13.0/doc/node.1
|
||||
Index: node-v18.14.2/doc/node.1
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/doc/node.1
|
||||
+++ node-v18.13.0/doc/node.1
|
||||
--- node-v18.14.2.orig/doc/node.1
|
||||
+++ node-v18.14.2/doc/node.1
|
||||
@@ -31,24 +31,24 @@
|
||||
.Dt NODE 1
|
||||
.
|
||||
@ -155,10 +155,10 @@ Index: node-v18.13.0/doc/node.1
|
||||
.Op Fl -v8-options
|
||||
.
|
||||
.\"======================================================================
|
||||
Index: node-v18.13.0/src/node.stp
|
||||
Index: node-v18.14.2/src/node.stp
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/src/node.stp
|
||||
+++ node-v18.13.0/src/node.stp
|
||||
--- node-v18.14.2.orig/src/node.stp
|
||||
+++ node-v18.14.2/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,75 +231,61 @@ Index: node-v18.13.0/src/node.stp
|
||||
{
|
||||
scavenge = 1 << 0;
|
||||
compact = 1 << 1;
|
||||
Index: node-v18.13.0/deps/npm/man/man1/npm.1
|
||||
Index: node-v18.14.2/deps/npm/man/man1/npm.1
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.13.0/deps/npm/man/man1/npm.1
|
||||
@@ -1,6 +1,6 @@
|
||||
.TH "NPM" "1" "November 2022" "" ""
|
||||
--- node-v18.14.2.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.14.2/deps/npm/man/man1/npm.1
|
||||
@@ -1,11 +1,11 @@
|
||||
.TH "NPM" "1" "February 2023" "" ""
|
||||
.SH "NAME"
|
||||
-\fBnpm\fR \- javascript package manager
|
||||
+\fBnpm18\fR \- javascript package manager
|
||||
.SS Synopsis
|
||||
-\fBnpm\fR - javascript package manager
|
||||
+\fBnpm18\fR - javascript package manager
|
||||
.SS "Synopsis"
|
||||
.P
|
||||
.RS 2
|
||||
@@ -21,7 +21,7 @@ It is extremely configurable to support
|
||||
commonly, you use it to publish, discover, install, and develop node
|
||||
programs\.
|
||||
.nf
|
||||
-npm
|
||||
+npm18
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
-Run \fBnpm help\fP to get a list of available commands\.
|
||||
+Run \fBnpm18 help\fP to get a list of available commands\.
|
||||
.SS Important
|
||||
@@ -19,7 +19,7 @@ npm is the package manager for the Node
|
||||
.P
|
||||
npm comes preconfigured to use npm's public registry at
|
||||
@@ -37,14 +37,14 @@ their terms of use\.
|
||||
You probably got npm because you want to install stuff\.
|
||||
It is extremely configurable to support a variety of use cases. Most commonly, you use it to publish, discover, install, and develop node programs.
|
||||
.P
|
||||
The very first thing you will most likely want to run in any node
|
||||
-program is \fBnpm install\fP to install its dependencies\.
|
||||
+program is \fBnpm18 install\fP to install its dependencies\.
|
||||
-Run \fBnpm help\fR to get a list of available commands.
|
||||
+Run \fBnpm18 help\fR to get a list of available commands.
|
||||
.SS "Important"
|
||||
.P
|
||||
-You can also run \fBnpm install blerg\fP to install the latest version of
|
||||
+You can also run \fBnpm18 install blerg\fP to install the latest version of
|
||||
"blerg"\. Check out npm help install for more
|
||||
info\. It can do a lot of stuff\.
|
||||
.P
|
||||
-Use the \fBnpm search\fP command to show everything that's available in the
|
||||
-public registry\. Use \fBnpm ls\fP to show everything you've installed\.
|
||||
+Use the \fBnpm18 search\fP command to show everything that's available in the
|
||||
+public registry\. Use \fBnpm18 ls\fP to show everything you've installed\.
|
||||
.SS Dependencies
|
||||
.P
|
||||
If a package lists a dependency using a git URL, npm will install that
|
||||
@@ -175,18 +175,18 @@ https://github\.com/npm/rfcs
|
||||
.SS See Also
|
||||
npm comes preconfigured to use npm's public registry at https://registry.npmjs.org by default. Use of the npm public registry is subject to terms of use available at https://docs.npmjs.com/policies/terms.
|
||||
@@ -115,17 +115,17 @@ Or suggest formal RFC proposals:
|
||||
.SS "See Also"
|
||||
.RS 0
|
||||
.IP \(bu 2
|
||||
.IP \(bu 4
|
||||
-npm help help
|
||||
+npm18 help help
|
||||
.IP \(bu 2
|
||||
package\.json \fI/configuring\-npm/package\-json\fR
|
||||
.IP \(bu 2
|
||||
.IP \(bu 4
|
||||
\fBpackage.json\fR \fI\(la/configuring-npm/package-json\(ra\fR
|
||||
.IP \(bu 4
|
||||
-npm help npmrc
|
||||
+npm18 help npmrc
|
||||
.IP \(bu 2
|
||||
.IP \(bu 4
|
||||
-npm help config
|
||||
+npm18 help config
|
||||
.IP \(bu 2
|
||||
.IP \(bu 4
|
||||
-npm help install
|
||||
+npm18 help install
|
||||
.IP \(bu 2
|
||||
.IP \(bu 4
|
||||
-npm help prefix
|
||||
+npm18 help prefix
|
||||
.IP \(bu 2
|
||||
.IP \(bu 4
|
||||
-npm help publish
|
||||
+npm18 help publish
|
||||
|
||||
.RE
|
||||
Index: node-v18.13.0/src/node_main.cc
|
||||
.RE 0
|
||||
Index: node-v18.14.2/src/node_main.cc
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/src/node_main.cc
|
||||
+++ node-v18.13.0/src/node_main.cc
|
||||
--- node-v18.14.2.orig/src/node_main.cc
|
||||
+++ node-v18.14.2/src/node_main.cc
|
||||
@@ -90,6 +90,7 @@ int wmain(int argc, wchar_t* wargv[]) {
|
||||
// UNIX
|
||||
|
||||
@ -308,11 +294,11 @@ Index: node-v18.13.0/src/node_main.cc
|
||||
return node::Start(argc, argv);
|
||||
}
|
||||
#endif
|
||||
Index: node-v18.13.0/tools/test.py
|
||||
Index: node-v18.14.2/tools/test.py
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/tools/test.py
|
||||
+++ node-v18.13.0/tools/test.py
|
||||
@@ -949,7 +949,7 @@ class Context(object):
|
||||
--- node-v18.14.2.orig/tools/test.py
|
||||
+++ node-v18.14.2/tools/test.py
|
||||
@@ -954,7 +954,7 @@ class Context(object):
|
||||
if self.vm is not None:
|
||||
return self.vm
|
||||
if arch == 'none':
|
||||
@ -321,10 +307,10 @@ Index: node-v18.13.0/tools/test.py
|
||||
else:
|
||||
name = 'out/%s.%s/node' % (arch, mode)
|
||||
|
||||
Index: node-v18.13.0/node.gyp
|
||||
Index: node-v18.14.2/node.gyp
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/node.gyp
|
||||
+++ node-v18.13.0/node.gyp
|
||||
--- node-v18.14.2.orig/node.gyp
|
||||
+++ node-v18.14.2/node.gyp
|
||||
@@ -25,8 +25,8 @@
|
||||
'node_shared_openssl%': 'false',
|
||||
'node_v8_options%': '',
|
||||
@ -336,173 +322,27 @@ Index: node-v18.13.0/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.13.0/deps/npm/man/man1/npx.1
|
||||
Index: node-v18.14.2/deps/npm/man/man1/npx.1
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.13.0/deps/npm/man/man1/npx.1
|
||||
@@ -5,10 +5,10 @@
|
||||
--- node-v18.14.2.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.14.2/deps/npm/man/man1/npx.1
|
||||
@@ -1,14 +1,14 @@
|
||||
.TH "NPX" "1" "February 2023" "" ""
|
||||
.SH "NAME"
|
||||
-\fBnpx\fR - Run a command from a local or remote npm package
|
||||
+\fBnpx18\fR - Run a command from a local or remote npm package
|
||||
.SS "Synopsis"
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-npx \-\- <pkg>[@<version>] [args\.\.\.]
|
||||
-npx \-\-package=<pkg>[@<version>] \-\- <cmd> [args\.\.\.]
|
||||
-npx \-c '<cmd> [args\.\.\.]'
|
||||
-npx \-\-package=foo \-c '<cmd> [args\.\.\.]'
|
||||
+npx18 \-\- <pkg>[@<version>] [args\.\.\.]
|
||||
+npx18 \-\-package=<pkg>[@<version>] \-\- <cmd> [args\.\.\.]
|
||||
+npx18 \-c '<cmd> [args\.\.\.]'
|
||||
+npx18 \-\-package=foo \-c '<cmd> [args\.\.\.]'
|
||||
-npx -- <pkg>\[lB]@<version>\[rB] \[lB]args...\[rB]
|
||||
-npx --package=<pkg>\[lB]@<version>\[rB] -- <cmd> \[lB]args...\[rB]
|
||||
-npx -c '<cmd> \[lB]args...\[rB]'
|
||||
-npx --package=foo -c '<cmd> \[lB]args...\[rB]'
|
||||
+npx18 -- <pkg>\[lB]@<version>\[rB] \[lB]args...\[rB]
|
||||
+npx18 --package=<pkg>\[lB]@<version>\[rB] -- <cmd> \[lB]args...\[rB]
|
||||
+npx18 -c '<cmd> \[lB]args...\[rB]'
|
||||
+npx18 --package=foo -c '<cmd> \[lB]args...\[rB]'
|
||||
.fi
|
||||
.RE
|
||||
.SS Description
|
||||
@@ -57,9 +57,9 @@ no bin entries, or none of them match th
|
||||
To run a binary \fIother than\fR the named binary, specify one or more
|
||||
\fB\-\-package\fP options, which will prevent npm from inferring the package from
|
||||
the first command argument\.
|
||||
-.SS \fBnpx\fP vs \fBnpm exec\fP
|
||||
+.SS \fBnpx18\fP vs \fBnpm exec\fP
|
||||
.P
|
||||
-When run via the \fBnpx\fP binary, all flags and options \fImust\fR be set prior to
|
||||
+When run via the \fBnpx18\fP binary, all flags and options \fImust\fR be set prior to
|
||||
any positional arguments\. When run via \fBnpm exec\fP, a double\-hyphen \fB\-\-\fP
|
||||
flag can be used to suppress npm's parsing of switches and options that
|
||||
should be sent to the executed command\.
|
||||
@@ -68,7 +68,7 @@ For example:
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-$ npx foo@latest bar \-\-package=@npmcli/foo
|
||||
+$ npx18 foo@latest bar \-\-package=@npmcli/foo
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
@@ -89,7 +89,7 @@ different:
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-$ npm exec foo@latest bar \-\-package=@npmcli/foo
|
||||
+$ npm18 exec foo@latest bar \-\-package=@npmcli/foo
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
@@ -105,11 +105,11 @@ $ foo@latest bar
|
||||
.P
|
||||
The double\-hyphen character is recommended to explicitly tell npm to stop
|
||||
parsing command line options and switches\. The following command would
|
||||
-thus be equivalent to the \fBnpx\fP command above:
|
||||
+thus be equivalent to the \fBnpx18\fP command above:
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-$ npm exec \-\- foo@latest bar \-\-package=@npmcli/foo
|
||||
+$ npm18 exec \-\- foo@latest bar \-\-package=@npmcli/foo
|
||||
.fi
|
||||
.RE
|
||||
.SS Examples
|
||||
@@ -119,8 +119,8 @@ arguments:
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-$ npm exec \-\- tap \-\-bail test/foo\.js
|
||||
-$ npx tap \-\-bail test/foo\.js
|
||||
+$ npm18 exec \-\- tap \-\-bail test/foo\.js
|
||||
+$ npx18 tap \-\-bail test/foo\.js
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
@@ -129,9 +129,9 @@ by specifying a \fB\-\-package\fP option
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-$ npm exec \-\-package=foo \-\- bar \-\-bar\-argument
|
||||
+$ npm18 exec \-\-package=foo \-\- bar \-\-bar\-argument
|
||||
# ~ or ~
|
||||
-$ npx \-\-package=foo bar \-\-bar\-argument
|
||||
+$ npx18 \-\-package=foo bar \-\-bar\-argument
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
@@ -139,14 +139,14 @@ Run an arbitrary shell script, in the co
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
-$ npm x \-c 'eslint && say "hooray, lint passed"'
|
||||
-$ npx \-c 'eslint && say "hooray, lint passed"'
|
||||
+$ npm18 x \-c 'eslint && say "hooray, lint passed"'
|
||||
+$ npx18 \-c 'eslint && say "hooray, lint passed"'
|
||||
.fi
|
||||
.RE
|
||||
.SS Compatibility with Older npx Versions
|
||||
.P
|
||||
-The \fBnpx\fP binary was rewritten in npm v7\.0\.0, and the standalone \fBnpx\fP
|
||||
-package deprecated at that time\. \fBnpx\fP uses the \fBnpm exec\fP
|
||||
+The \fBnpx18\fP binary was rewritten in npm v7\.0\.0, and the standalone \fBnpx18\fP
|
||||
+package deprecated at that time\. \fBnpx18\fP uses the \fBnpm18 exec\fP
|
||||
command instead of a separate argument parser and install process, with
|
||||
some affordances to maintain backwards compatibility with the arguments it
|
||||
accepted in previous versions\.
|
||||
@@ -154,10 +154,10 @@ accepted in previous versions\.
|
||||
This resulted in some shifts in its functionality:
|
||||
.RS 0
|
||||
.IP \(bu 2
|
||||
-Any \fBnpm\fP config value may be provided\.
|
||||
+Any \fBnpm18\fP config value may be provided\.
|
||||
.IP \(bu 2
|
||||
To prevent security and user\-experience problems from mistyping package
|
||||
-names, \fBnpx\fP prompts before installing anything\. Suppress this
|
||||
+names, \fBnpx18\fP prompts before installing anything\. Suppress this
|
||||
prompt with the \fB\-y\fP or \fB\-\-yes\fP option\.
|
||||
.IP \(bu 2
|
||||
The \fB\-\-no\-install\fP option is deprecated, and will be converted to \fB\-\-no\fP\|\.
|
||||
@@ -165,13 +165,13 @@ The \fB\-\-no\-install\fP option is depr
|
||||
Shell fallback functionality is removed, as it is not advisable\.
|
||||
.IP \(bu 2
|
||||
The \fB\-p\fP argument is a shorthand for \fB\-\-parseable\fP in npm, but shorthand
|
||||
-for \fB\-\-package\fP in npx\. This is maintained, but only for the \fBnpx\fP
|
||||
+for \fB\-\-package\fP in npx\. This is maintained, but only for the \fBnpx18\fP
|
||||
executable\.
|
||||
.IP \(bu 2
|
||||
The \fB\-\-ignore\-existing\fP option is removed\. Locally installed bins are
|
||||
always present in the executed process \fBPATH\fP\|\.
|
||||
.IP \(bu 2
|
||||
-The \fB\-\-npm\fP option is removed\. \fBnpx\fP will always use the \fBnpm\fP it ships
|
||||
+The \fB\-\-npm18\fP option is removed\. \fBnpx18\fP will always use the \fBnpm18\fP it ships
|
||||
with\.
|
||||
.IP \(bu 2
|
||||
The \fB\-\-node\-arg\fP and \fB\-n\fP options are removed\.
|
||||
@@ -179,26 +179,26 @@ The \fB\-\-node\-arg\fP and \fB\-n\fP op
|
||||
The \fB\-\-always\-spawn\fP option is redundant, and thus removed\.
|
||||
.IP \(bu 2
|
||||
The \fB\-\-shell\fP option is replaced with \fB\-\-script\-shell\fP, but maintained
|
||||
-in the \fBnpx\fP executable for backwards compatibility\.
|
||||
+in the \fBnpx18\fP executable for backwards compatibility\.
|
||||
|
||||
.RE
|
||||
.SS See Also
|
||||
.RS 0
|
||||
.IP \(bu 2
|
||||
-npm help run\-script
|
||||
+npm18 help run\-script
|
||||
.IP \(bu 2
|
||||
-npm help scripts
|
||||
+npm18 help scripts
|
||||
.IP \(bu 2
|
||||
-npm help test
|
||||
+npm18 help test
|
||||
.IP \(bu 2
|
||||
-npm help start
|
||||
+npm18 help start
|
||||
.IP \(bu 2
|
||||
-npm help restart
|
||||
+npm18 help restart
|
||||
.IP \(bu 2
|
||||
-npm help stop
|
||||
+npm18 help stop
|
||||
.IP \(bu 2
|
||||
-npm help config
|
||||
+npm18 help config
|
||||
.IP \(bu 2
|
||||
-npm help exec
|
||||
+npm18 help exec
|
||||
|
||||
.RE
|
||||
.SS "Description"
|
||||
|
Loading…
Reference in New Issue
Block a user