- 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) - 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/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=47
This commit is contained in:
parent
020700894b
commit
b6349c1613
@ -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
|
||||
702bfe7aaebb49870487ca7a4060ae143caf662bdfdfd3f4c9f033863898f41b node-v18.14.1-aix-ppc64.tar.gz
|
||||
513f3ab25244c5ea3eedc6218b7418dcd7a0f20e143fdbf8955f0ea74f53c2d8 node-v18.14.1-darwin-arm64.tar.gz
|
||||
caeaef362c2c41ce918339f002b35c8d55dba841fc3fa26695411e8aa92b7ad9 node-v18.14.1-darwin-arm64.tar.xz
|
||||
940cfc29b42d174bf8fa271644508ab357b282a669b73adf0935982382ef5f38 node-v18.14.1-darwin-x64.tar.gz
|
||||
adc24c3d08e88ee7e1191d77984dd911fceb3b50d5d5042541e323ce03c820cf node-v18.14.1-darwin-x64.tar.xz
|
||||
918b35ae943fcd1bb3ad590ceb7f0441881ecdf5940a2039e4fb5762c40480d2 node-v18.14.1-headers.tar.gz
|
||||
54ccb6f7d47311888acbddd5a6e6dc29a84bfc63b6b0e741a011e7f3edb6d0c0 node-v18.14.1-headers.tar.xz
|
||||
608af6ad3cf5a171c889c022cb51a460bdbf57fbb8fbcd40612ea8063aa95f07 node-v18.14.1-linux-arm64.tar.gz
|
||||
52f33439dcca865bbb70194091f6ce0c02b2a32d5a744901f175fff1ca6d0c86 node-v18.14.1-linux-arm64.tar.xz
|
||||
f2d25e36289ce702e38ed9c86e3c7a848166b89cb8b54db4e05c9fcd98613aca node-v18.14.1-linux-armv7l.tar.gz
|
||||
851095516b968bc199e779d5be1ea87c443004ede4db3ec9f122156840ce699f node-v18.14.1-linux-armv7l.tar.xz
|
||||
988198c90fd9f731e754a592b4f4ef85bbb289b54aa4a35603460df39b3abe9c node-v18.14.1-linux-ppc64le.tar.gz
|
||||
44c02b1a48b3a503c1e31669bdfd20cb791b0be8dd0a2b12afb4d9f437c3a51a node-v18.14.1-linux-ppc64le.tar.xz
|
||||
50be74fc7a5eb00c41b5a19bfd0000ca818187f3b28f6796877aafe4f5f2b67a node-v18.14.1-linux-s390x.tar.gz
|
||||
6f4d9f65b439e0940abb813d1b5711839bc42ba81a4286f263b7b4e3e7cd32cf node-v18.14.1-linux-s390x.tar.xz
|
||||
6a7c6862b86cb01b892ca5967dba14bd3122dbfed9d5c9fedd30585d5974f1f6 node-v18.14.1-linux-x64.tar.gz
|
||||
ea3bd72ad5ccaa1d9bcb40da69a60f249d29672d41740fe8f3e976d0e9078f65 node-v18.14.1-linux-x64.tar.xz
|
||||
f461ac7eb1d18098fd37e9ba83b8cfcef9fddebcbf59ea6b638f887e4541d912 node-v18.14.1.pkg
|
||||
2e597cd6c56ffc14b174f2bddb459dd3ce227e26505008805c5d4f55bb1e46f1 node-v18.14.1.tar.gz
|
||||
eec353438266fd0aef53a9446be10b32ee6e74d08e32dd5454b382ff6793da04 node-v18.14.1.tar.xz
|
||||
13ce74a476ccf7917dd8c9ecd7635f6174665a14ab629c3f2dc0709cd31d68d6 node-v18.14.1-win-x64.7z
|
||||
b0ec709961ab9b2e46d616d33f26d0ff1548b02045c7650f018e809e7a6cbbda node-v18.14.1-win-x64.zip
|
||||
33d7b2abb88b9a400c02bd9ebb2a61c522d62d73aa5e103fff86779af81c0dc9 node-v18.14.1-win-x86.7z
|
||||
903decc09eca1e6d4ad67b4ba22b24ea62a3d3d9b8101a60116932050cc03295 node-v18.14.1-win-x86.zip
|
||||
4a42e49e5c6e2340be14b5e3d72d9a75abf8fc8894d816d46321c28ea0ed4baa node-v18.14.1-x64.msi
|
||||
7a3fdde01f758fc4d6cb9f491db9ac30c39f20c19a27982898a9e0b4e61317d2 node-v18.14.1-x86.msi
|
||||
3888921fe297b0cc2f050c12ef8181bdf397823edf4f62d9e153cc5b424cfd72 win-x64/node.exe
|
||||
28973fbe8ae770a132b4851b0166ec9ba435595f786bb05fc47c3611fefb1cf2 win-x64/node.lib
|
||||
ea9ace5ce2488b6b274e70cc314e4bc17d4cfc142105d8ff57f65c7b085de03e win-x64/node_pdb.7z
|
||||
8c569d8992c94de0bf2c00cd3746268762d33116dff3dc8e98e6a9bbb18bc4e0 win-x64/node_pdb.zip
|
||||
cbbdc31c70de4c6c09ce9206064e972767527a6d098176ff76f5b0bd3f524a73 win-x86/node.exe
|
||||
a10d89fbd502902abaf307fe73b604a4733d403ac5c577e536607c1f3b16ac14 win-x86/node.lib
|
||||
c3f9e82b72c8118be7f84c9599d6f67889b6662263d2b913b3be9f03a54c5887 win-x86/node_pdb.7z
|
||||
1158e74809497fafb7269515ee97d9a0f2bd761d0feb68799103374d65aff40b 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.0.tar.xz
Normal file
3
node-v18.14.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:42ef9dd31993d5c8e82b0ab0969135093e6a296efa27b1be9afc04ac00f0267a
|
||||
size 41425240
|
3
node-v18.14.1.tar.xz
Normal file
3
node-v18.14.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eec353438266fd0aef53a9446be10b32ee6e74d08e32dd5454b382ff6793da04
|
||||
size 41439328
|
@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
150
nodejs18.spec
150
nodejs18.spec
@ -31,7 +31,7 @@
|
||||
%endif
|
||||
|
||||
Name: nodejs18
|
||||
Version: 18.13.0
|
||||
Version: 18.14.1
|
||||
Release: 0
|
||||
|
||||
# Double DWZ memory limits
|
||||
@ -237,7 +237,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 +270,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 +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.7
|
||||
Provides: bundled(openssl) = 3.0.8
|
||||
%else
|
||||
BuildRequires: bundled_openssl_should_not_be_required
|
||||
%endif
|
||||
@ -372,7 +364,7 @@ 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
|
||||
%if %{with intree_brotli}
|
||||
@ -385,15 +377,15 @@ 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(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.19.1
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@ -422,7 +414,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.3.1
|
||||
Provides: npm = %{version}
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
@ -431,6 +423,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 +433,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.3
|
||||
Provides: bundled(node-chalk) = 4.1.2
|
||||
Provides: bundled(node-chownr) = 2.0.0
|
||||
Provides: bundled(node-ci-info) = 3.7.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.0
|
||||
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,41 +462,43 @@ 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-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.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-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-hosted-git-info) = 6.1.1
|
||||
Provides: bundled(node-http-cache-semantics) = 4.1.0
|
||||
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.0
|
||||
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) = 4.0.1
|
||||
Provides: bundled(node-ip) = 2.0.0
|
||||
Provides: bundled(node-ip-regex) = 4.3.0
|
||||
Provides: bundled(node-is-cidr) = 4.0.2
|
||||
@ -506,66 +506,68 @@ Provides: bundled(node-is-core-module) = 2.10.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-libnpmaccess) = 7.0.1
|
||||
Provides: bundled(node-libnpmdiff) = 5.0.7
|
||||
Provides: bundled(node-libnpmexec) = 5.0.7
|
||||
Provides: bundled(node-libnpmfund) = 4.0.7
|
||||
Provides: bundled(node-libnpmhook) = 9.0.1
|
||||
Provides: bundled(node-libnpmorg) = 5.0.1
|
||||
Provides: bundled(node-libnpmpack) = 5.0.7
|
||||
Provides: bundled(node-libnpmpublish) = 7.0.6
|
||||
Provides: bundled(node-libnpmsearch) = 6.0.1
|
||||
Provides: bundled(node-libnpmteam) = 5.0.1
|
||||
Provides: bundled(node-libnpmversion) = 4.0.1
|
||||
Provides: bundled(node-lru-cache) = 6.0.0
|
||||
Provides: bundled(node-lru-cache) = 7.13.2
|
||||
Provides: bundled(node-make-fetch-happen) = 10.2.1
|
||||
Provides: bundled(node-make-fetch-happen) = 11.0.2
|
||||
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.1
|
||||
Provides: bundled(node-minipass) = 3.3.6
|
||||
Provides: bundled(node-minipass) = 4.0.0
|
||||
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-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.0
|
||||
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-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) = 1.0.1
|
||||
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.0.7
|
||||
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-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
|
||||
@ -573,16 +575,16 @@ Provides: bundled(node-promise-retry) = 2.0.1
|
||||
Provides: bundled(node-promzard) = 0.3.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-cmd-shim) = 4.0.0
|
||||
Provides: bundled(node-read-package-json) = 6.0.0
|
||||
Provides: bundled(node-read-package-json-fast) = 3.0.1
|
||||
Provides: bundled(node-readable-stream) = 3.6.0
|
||||
Provides: bundled(node-readdir-scoped-modules) = 1.1.0
|
||||
Provides: bundled(node-readable-stream) = 4.2.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-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-smart-buffer) = 4.2.0
|
||||
@ -592,26 +594,30 @@ 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-ssri) = 10.0.1
|
||||
Provides: bundled(node-ssri) = 9.0.1
|
||||
Provides: bundled(node-string_decoder) = 1.3.0
|
||||
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-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 +657,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 +665,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
|
||||
@ -694,7 +704,7 @@ popd
|
||||
%patch305 -p1
|
||||
%patch307 -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 () {
|
||||
|
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.0/Makefile
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/Makefile
|
||||
+++ node-v18.13.0/Makefile
|
||||
--- node-v18.14.0.orig/Makefile
|
||||
+++ node-v18.14.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.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.0/tools/install.py
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/tools/install.py
|
||||
+++ node-v18.13.0/tools/install.py
|
||||
--- node-v18.14.0.orig/tools/install.py
|
||||
+++ node-v18.14.0/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.0/doc/node.1
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/doc/node.1
|
||||
+++ node-v18.13.0/doc/node.1
|
||||
--- node-v18.14.0.orig/doc/node.1
|
||||
+++ node-v18.14.0/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.0/src/node.stp
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/src/node.stp
|
||||
+++ node-v18.13.0/src/node.stp
|
||||
--- node-v18.14.0.orig/src/node.stp
|
||||
+++ node-v18.14.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,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.0/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.0.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.14.0/deps/npm/man/man1/npm.1
|
||||
@@ -1,11 +1,11 @@
|
||||
.TH "NPM" "1" "January 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.0/src/node_main.cc
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/src/node_main.cc
|
||||
+++ node-v18.13.0/src/node_main.cc
|
||||
--- node-v18.14.0.orig/src/node_main.cc
|
||||
+++ node-v18.14.0/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.0/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.0.orig/tools/test.py
|
||||
+++ node-v18.14.0/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.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v18.13.0.orig/node.gyp
|
||||
+++ node-v18.13.0/node.gyp
|
||||
--- node-v18.14.0.orig/node.gyp
|
||||
+++ node-v18.14.0/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.0/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.0.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.14.0/deps/npm/man/man1/npx.1
|
||||
@@ -1,14 +1,14 @@
|
||||
.TH "NPX" "1" "January 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