forked from pool/nodejs18
Accepting request 1027976 from devel:languages:nodejs
- Update to NodeJS 18.11.0: * added experimental watch mode -- running in 'watch' mode using node --watch restarts the process when an imported file is changed * fs: add FileHandle.prototype.readLines * http: add writeEarlyHints function to ServerResponse * http2: make early hints generic * lib: refactor transferable AbortSignal * src: add detailed embedder process initialization API * util: add default value option to parsearg - legacy_python.patch, versioned.patch: updated OBS-URL: https://build.opensuse.org/request/show/1027976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs18?expand=0&rev=4
This commit is contained in:
commit
94b60c73ff
@ -1,34 +1,34 @@
|
||||
8f4dfa78d823a4c7e4c83bbfebef9ce3d49a6e1ed28408521c706350f8a2aee7 node-v18.10.0-aix-ppc64.tar.gz
|
||||
0689815cdd69a9a977ee3bab20c6228d03966a1f988464f18ce490678dc5cdc3 node-v18.10.0-darwin-arm64.tar.gz
|
||||
4822536977efde1f37bfc5f14cddc4f09fd2d77e8547ce54ec847b7ef6914fd8 node-v18.10.0-darwin-arm64.tar.xz
|
||||
06b1b6381dfa952ae95fc927b740b660bc08f26bcf02cad61f64b36485dab6d4 node-v18.10.0-darwin-x64.tar.gz
|
||||
146fe4ed98e0ab646380bad6f32303722421d2d98a3204183d9a66ec17eb3aa4 node-v18.10.0-darwin-x64.tar.xz
|
||||
e1568e86022a9f15ab4fd8fc2451c6c739498b0a67202ae57fd2cfc3342b52f6 node-v18.10.0-headers.tar.gz
|
||||
487346ba2a67ee66fc0333d803d758b12512979378f3ef037a0dd83cc0c277a3 node-v18.10.0-headers.tar.xz
|
||||
ad536980cb4944b0d17055937c5d5170c95147765f547ce8469331a808d0c408 node-v18.10.0-linux-arm64.tar.gz
|
||||
bbe88afe35569780aae8a84d9be8b55e4944d13e9212b0d51883a5dcf6a7de8b node-v18.10.0-linux-arm64.tar.xz
|
||||
7496428b9a94ee1927eefa43ce2d66aedae9122a8722bbeab3b1e5c6b1933af6 node-v18.10.0-linux-armv7l.tar.gz
|
||||
694d83c751e1e8e05e77310c76fe87344350cd58e594cfd62df217a65dfbf55d node-v18.10.0-linux-armv7l.tar.xz
|
||||
6445d5d05707af7b318f4babb6432518e9b3529189e1fac3ed2200d89537fe8c node-v18.10.0-linux-ppc64le.tar.gz
|
||||
89d8266209f24b82940d2bf9cde14d871f7e6df02a3aef7bc948b8248c749f23 node-v18.10.0-linux-ppc64le.tar.xz
|
||||
544d9930f1647939a901ef05d3d42ee8d6c7e857602922879c732bf3067a9f06 node-v18.10.0-linux-s390x.tar.gz
|
||||
5a9c6ffbf03b4006dbbecc30b93234dc11a92d1f6d5c8e3bc45c9be958956a59 node-v18.10.0-linux-s390x.tar.xz
|
||||
f468b86031cca41ee9aa7a911e70eb624413153c7432754cbe9206c7ef3de090 node-v18.10.0-linux-x64.tar.gz
|
||||
1aff4537bbb81c29c5c1c7c96379c6a2133b43651812745b524db8e1b65ee12b node-v18.10.0-linux-x64.tar.xz
|
||||
a41d5d395ca349ab946571e2fa939729707ee8dacc15e88ef420b51635e36f9c node-v18.10.0-win-x64.7z
|
||||
50934603f0bd46ef9948346f36f8afeae146182a6eafdbc361c7eeec0083c551 node-v18.10.0-win-x64.zip
|
||||
dfaf933d80c274a8541cce9807ba26177e7f3789ab80a52ef4a5580656a6bb13 node-v18.10.0-win-x86.7z
|
||||
df3741ce99768668d700a3a5c085d1a5084d86c1e60cca626cf5f0b45525499b node-v18.10.0-win-x86.zip
|
||||
9a269ecc0530656db078ed03c20cc3e71022026feb9dff02bf0c96e9792f237a node-v18.10.0-x64.msi
|
||||
7f2c6fa385d7b8864b96510d86ff416c69b2b1dc2c4bd25d2bd8cac7d2e9ac7b node-v18.10.0-x86.msi
|
||||
0194e47d962d36a0778ffcfcdbedb6520bf3ec9abf8a1f5dd1bc96d776aeb421 node-v18.10.0.pkg
|
||||
eab3109a6d3deafe049c8f0c461af8de5c6cad535b79c19fa84f0ea496c4ffb6 node-v18.10.0.tar.gz
|
||||
ad711b54e2be4a7d24f37c73fb2801adeaf6d26d298d431be98d6abc0202e89f node-v18.10.0.tar.xz
|
||||
0f15043bb13749bf27f0eed2f902db8251dd214891851e1066537a08b97751a1 win-x64/node.exe
|
||||
3111a04d3ae94921ac20f2afc4e167c59e50c07609ee940d1a8eec46f08310ad win-x64/node.lib
|
||||
ff3c97980c59bebae41f11a720f4a3c4f466b4fd31686a12bc451e939d6966e1 win-x64/node_pdb.7z
|
||||
0cbaa9327350a936eade80e60c3e986e93a03a5404e3caeda5cea4d3c1ae631c win-x64/node_pdb.zip
|
||||
0a137d78cacf19a829e0f81ecf3891b5690c95a6845318bc93a325579facb121 win-x86/node.exe
|
||||
e0b45a34da85070b41e13169a6ed30ea782d400dd8e8597d665727bac8d621f0 win-x86/node.lib
|
||||
250afbbecfaf8a10c610d8a1865e1d1a7293d7e9b47e9b161ab4fa1395bff88b win-x86/node_pdb.7z
|
||||
70e0aca76b848d4279d2b081d713d4c28bb9dbe5ce2b6090eeb52a542b019f7b win-x86/node_pdb.zip
|
||||
d567b0b7ab71139ee90fd7cdadc11602e183db2a23a5ffb393f92870eac033e2 node-v18.11.0-aix-ppc64.tar.gz
|
||||
db5f8d16967d8b04129d77013101c9b0bb8a3b98e5895cf4bfd9a9af21ff8e27 node-v18.11.0-darwin-arm64.tar.gz
|
||||
0feec3a2b9ef82e1763dc88047565d5c390927e70376919c2fc17e9b47728c29 node-v18.11.0-darwin-arm64.tar.xz
|
||||
3d3a4368c35f0bce45b1dc2eeb0b25765afee8a188441a81db93d16bc08bb861 node-v18.11.0-darwin-x64.tar.gz
|
||||
655487c8e4be33c09fcf80076d30dcfb0980a50857a98e8aa9842a0a8bca4158 node-v18.11.0-darwin-x64.tar.xz
|
||||
bf7565b7172598b4f746d574e56518000a44c5039eb9e6561c190695f88ae922 node-v18.11.0-headers.tar.gz
|
||||
79dcc78fa00e75ff37b7df23b8bfa12ade859bbe4ba01413e327a16f615a2056 node-v18.11.0-headers.tar.xz
|
||||
48e5008774bd36471ece361e7a8795d59a0d40da7e849e13a1ed7f33cf8095a5 node-v18.11.0-linux-arm64.tar.gz
|
||||
c2869d3b9fc82e289470807de98c21f3944ddd741a4cb2ac5fe93a41efbaef13 node-v18.11.0-linux-arm64.tar.xz
|
||||
787bb825140058c59c2f2d9b735596fbd2cb229137712a67c1ee2659e8da33bc node-v18.11.0-linux-armv7l.tar.gz
|
||||
efe3e6e7216a45c4c01aaba9d57f4075404bc2af51121371c5708547a80265b9 node-v18.11.0-linux-armv7l.tar.xz
|
||||
20fc4fc62481f14f180b549dbcea270854b6ca140adef8867e68ff5074d3c28e node-v18.11.0-linux-ppc64le.tar.gz
|
||||
3d550cf0b710e14b0e30aa7b095b4ad709a33937ffe92af9ecce8f57f6daafe2 node-v18.11.0-linux-ppc64le.tar.xz
|
||||
5ef680634c6c66ce59ec4732a6acf6869199ef937ff5832da65fbfd3d15c20bd node-v18.11.0-linux-s390x.tar.gz
|
||||
89d65a429330aacf0dac4a3bee6687b6b1b9392d2f14c5f84a1b79077c1d37d0 node-v18.11.0-linux-s390x.tar.xz
|
||||
5935236185a515b4beb991baabbe0084d552eb5122ab9b3fd0fad018af795cb3 node-v18.11.0-linux-x64.tar.gz
|
||||
3708a27c761c0a6e4035ac291819743383176a67b628809b7563b3f4173e527a node-v18.11.0-linux-x64.tar.xz
|
||||
5295431cb343561620278073bbff86d491557d903103e38bf10d15f93e1bd893 node-v18.11.0.pkg
|
||||
f54dab6bbb44463a1b7b5922d822827b96e1f1a565b79f9bcb8153d0eafc9dd6 node-v18.11.0.tar.gz
|
||||
8b9643dc6fce79c1e99379db0ce64e43601e2e2d7389015fe8985cc4ccd0ce17 node-v18.11.0.tar.xz
|
||||
86d18e9024fb5cd1fc1a10e0b1d0cd3475df7c39ba7fc742b775a8d289af7bb5 node-v18.11.0-win-x64.7z
|
||||
dd324997b66bac55c8ca689093dfafdc5a76dda12446306bd6411d17d08879f7 node-v18.11.0-win-x64.zip
|
||||
38fc1c4355dff0f70f65a0fb5ec5c096c6b14c5124a9c114b42b74c53007e5fa node-v18.11.0-win-x86.7z
|
||||
99119c0181eab9e2d4f718025a08108a3d061cb298049e9da79df2e8be177601 node-v18.11.0-win-x86.zip
|
||||
a0e91887a61279951e60fba929c261a652f710e12d68bc6dabd3760a970c76b9 node-v18.11.0-x64.msi
|
||||
a939768932475c5bf30f719b870283b044325675f5dab84248eccbf5bb795701 node-v18.11.0-x86.msi
|
||||
5dba1c79be04ba7f23fa1b617a917bd948c05710bcef398db81b7e59f2a3319f win-x64/node.exe
|
||||
1bd376a23d181d85096d1a9c46e6be7fcd20d30f9b8f77a2a847d3dbff8e25c7 win-x64/node.lib
|
||||
a3e3198ce8552eebe19b4357161aca13f6f47b160a5fc961e8e000e434b8ca91 win-x64/node_pdb.7z
|
||||
04f01a0c518184ff780398e4c8517a5ed755867877ba26cd92f37a8cc157328d win-x64/node_pdb.zip
|
||||
b211ce3add6afa447e69af22e5ffe08d324867a7fc9e7944ad51e76226d72c4e win-x86/node.exe
|
||||
b1c6dc670911d85ef1704fa56f4cc4c7e1071f4869778398e6d88b3b0b565978 win-x86/node.lib
|
||||
e0815b1c5f4df9efca3ad6b46e328e452242f301b33998c2db23d1b92fb731a6 win-x86/node_pdb.7z
|
||||
46a73edda4d9dd42a33d9e90b9721a8495db3d98bc09d90310f72266be952b20 win-x86/node_pdb.zip
|
||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
Index: node-v16.5.0/tools/utils.py
|
||||
Index: node-v18.11.0/tools/utils.py
|
||||
===================================================================
|
||||
--- node-v16.5.0.orig/tools/utils.py
|
||||
+++ node-v16.5.0/tools/utils.py
|
||||
--- node-v18.11.0.orig/tools/utils.py
|
||||
+++ node-v18.11.0/tools/utils.py
|
||||
@@ -26,10 +26,10 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
@ -23,4 +23,4 @@ Index: node-v16.5.0/tools/utils.py
|
||||
+ list = [ str(x) for x in list ]
|
||||
if sys.platform == 'win32':
|
||||
list = [ x.replace('\\', '/')for x in list]
|
||||
return list
|
||||
return sorted(list)
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad711b54e2be4a7d24f37c73fb2801adeaf6d26d298d431be98d6abc0202e89f
|
||||
size 38364672
|
3
node-v18.11.0.tar.xz
Normal file
3
node-v18.11.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b9643dc6fce79c1e99379db0ce64e43601e2e2d7389015fe8985cc4ccd0ce17
|
||||
size 38437152
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 13:02:52 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
- Update to NodeJS 18.11.0:
|
||||
* added experimental watch mode -- running in 'watch' mode using
|
||||
node --watch restarts the process when an imported file is changed
|
||||
* fs: add FileHandle.prototype.readLines
|
||||
* http: add writeEarlyHints function to ServerResponse
|
||||
* http2: make early hints generic
|
||||
* lib: refactor transferable AbortSignal
|
||||
* src: add detailed embedder process initialization API
|
||||
* util: add default value option to parsearg
|
||||
|
||||
- legacy_python.patch, versioned.patch: updated
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 08:14:29 UTC 2022 - Adam Majer <adam.majer@suse.de>
|
||||
|
||||
|
@ -15,23 +15,13 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
###########################################################
|
||||
#
|
||||
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
|
||||
#
|
||||
# This spec file is generated from a template hosted at
|
||||
# https://github.com/AdamMajer/nodejs-packaging
|
||||
#
|
||||
###########################################################
|
||||
|
||||
# Fedora doesn't have rpm-config-SUSE which provides
|
||||
# ext_man in /usr/lib/rpm/macros.d/macros.obs
|
||||
%if 0%{?fedora_version}
|
||||
%define ext_man .gz
|
||||
%endif
|
||||
|
||||
Name: nodejs18
|
||||
Version: 18.10.0
|
||||
Version: 18.11.0
|
||||
Release: 0
|
||||
|
||||
# Double DWZ memory limits
|
||||
@ -129,12 +119,12 @@ Source1: https://nodejs.org/dist/v%{version}/SHASUMS256.txt
|
||||
Source2: https://nodejs.org/dist/v%{version}/SHASUMS256.txt.sig
|
||||
Source3: nodejs.keyring
|
||||
|
||||
# Python 3.4 compatible node-gyp
|
||||
### https://github.com/nodejs/node-gyp.git
|
||||
### git archive v7.1.2 gyp/ | xz > node-gyp_7.1.2.tar.xz
|
||||
Source5: node-gyp_7.1.2.tar.xz
|
||||
# Only required to run unit tests in NodeJS 10+
|
||||
Source10: update_npm_tarball.sh
|
||||
# Python 3.4 compatible node-gyp
|
||||
### https://github.com/nodejs/node-gyp.git
|
||||
### git archive v7.1.2 gyp/ | xz > node-gyp_7.1.2.tar.xz
|
||||
Source5: node-gyp_7.1.2.tar.xz
|
||||
# Only required to run unit tests in NodeJS 10+
|
||||
Source10: update_npm_tarball.sh
|
||||
Source11: node_modules.tar.xz
|
||||
Source20: bash_output_helper.bash
|
||||
|
||||
@ -145,8 +135,6 @@ Patch5: sle12_python3_compat.patch
|
||||
Patch7: manual_configure.patch
|
||||
Patch13: openssl_binary_detection.patch
|
||||
|
||||
|
||||
|
||||
## Patches specific to SUSE and openSUSE
|
||||
Patch100: linker_lto_jobs.patch
|
||||
# PATCH-FIX-OPENSUSE -- set correct path for dtrace if it is built
|
||||
@ -173,8 +161,8 @@ Patch200: versioned.patch
|
||||
Patch304: new_python3.patch
|
||||
Patch305: qemu_timeouts_arches.patch
|
||||
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: procps
|
||||
BuildRequires: xz
|
||||
BuildRequires: zlib-devel
|
||||
@ -194,10 +182,10 @@ BuildRequires: config(netcfg)
|
||||
%if 0%{?suse_version} == 1110
|
||||
# GCC 5 is only available in the SUSE:SLE-11:SP4:Update repository (SDK).
|
||||
%if %node_version_number >= 8
|
||||
BuildRequires: gcc5-c++
|
||||
BuildRequires: gcc5-c++
|
||||
%define forced_gcc_version 5
|
||||
%else
|
||||
BuildRequires: gcc48-c++
|
||||
BuildRequires: gcc48-c++
|
||||
%define forced_gcc_version 4.8
|
||||
%endif
|
||||
%endif
|
||||
@ -207,15 +195,15 @@ BuildRequires: gcc48-c++
|
||||
# for SLE-12:Update targets
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if %node_version_number >= 17
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-c++
|
||||
%define forced_gcc_version 12
|
||||
%else
|
||||
%if %node_version_number >= 14
|
||||
BuildRequires: gcc9-c++
|
||||
BuildRequires: gcc9-c++
|
||||
%define forced_gcc_version 9
|
||||
%else
|
||||
%if %node_version_number >= 8
|
||||
BuildRequires: gcc7-c++
|
||||
BuildRequires: gcc7-c++
|
||||
%define forced_gcc_version 7
|
||||
%endif
|
||||
%endif
|
||||
@ -224,7 +212,7 @@ BuildRequires: gcc7-c++
|
||||
|
||||
%if 0%{?suse_version} == 1500
|
||||
%if %node_version_number >= 17
|
||||
BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc12-c++
|
||||
%define forced_gcc_version 12
|
||||
%endif
|
||||
%endif
|
||||
@ -235,7 +223,6 @@ BuildRequires: gcc12-c++
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
|
||||
|
||||
# Python dependencies
|
||||
%if %node_version_number >= 16
|
||||
|
||||
@ -260,8 +247,8 @@ BuildRequires: python
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1500 && %{node_version_number} >= 10
|
||||
BuildRequires: user(nobody)
|
||||
BuildRequires: group(nobody)
|
||||
BuildRequires: user(nobody)
|
||||
%endif
|
||||
|
||||
%if ! 0%{with intree_openssl}
|
||||
@ -324,7 +311,7 @@ BuildRequires: valgrind
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(postun): %{_sbindir}/update-alternatives
|
||||
Requires(postun):%{_sbindir}/update-alternatives
|
||||
%endif
|
||||
# either for update-alternatives, or their removal
|
||||
Requires(post): %{_sbindir}/update-alternatives
|
||||
@ -363,8 +350,8 @@ ExclusiveArch: not_buildable
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Provides: bundled(uvwasi) = 0.0.13
|
||||
Provides: bundled(libuv) = 1.43.0
|
||||
Provides: bundled(uvwasi) = 0.0.13
|
||||
Provides: bundled(v8) = 10.2.154.15
|
||||
%if %{with intree_brotli}
|
||||
Provides: bundled(brotli) = 1.0.9
|
||||
@ -372,15 +359,16 @@ Provides: bundled(brotli) = 1.0.9
|
||||
BuildRequires: pkgconfig(libbrotlidec)
|
||||
%endif
|
||||
|
||||
|
||||
Provides: bundled(llhttp) = 6.0.10
|
||||
Provides: bundled(ngtcp2) = 0.8.1
|
||||
|
||||
Provides: bundled(node-acorn) = 8.8.0
|
||||
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.14.1
|
||||
Provides: bundled(node-undici) = 5.10.0
|
||||
Provides: bundled(node-corepack) = 0.14.2
|
||||
Provides: bundled(node-streamsearch) = 1.1.0
|
||||
Provides: bundled(node-undici) = 5.11.0
|
||||
|
||||
%description
|
||||
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js
|
||||
@ -391,8 +379,8 @@ provided by npm.
|
||||
Summary: Development headers for NodeJS 18.x
|
||||
Group: Development/Languages/NodeJS
|
||||
Provides: nodejs-devel = %{version}
|
||||
Requires: npm18 = %{version}
|
||||
Requires: %{name} = %{version}
|
||||
Requires: npm18 = %{version}
|
||||
|
||||
%description devel
|
||||
This package provides development headers for Node.js needed for creation
|
||||
@ -409,12 +397,12 @@ Requires: nodejs-common
|
||||
Requires: nodejs18 = %{version}
|
||||
Provides: nodejs-npm = %{version}
|
||||
Obsoletes: nodejs-npm < 4.0.0
|
||||
Provides: npm(npm) = 8.19.2
|
||||
Provides: npm = %{version}
|
||||
Provides: npm(npm) = 8.19.2
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%if %{node_version_number} >= 10
|
||||
Requires: user(nobody)
|
||||
Requires: group(nobody)
|
||||
Requires: user(nobody)
|
||||
%endif
|
||||
%endif
|
||||
Provides: bundled(node-abbrev) = 1.1.1
|
||||
@ -580,8 +568,8 @@ 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) = 9.0.1
|
||||
Provides: bundled(node-string_decoder) = 1.3.0
|
||||
Provides: bundled(node-string-width) = 4.2.3
|
||||
Provides: bundled(node-string_decoder) = 1.3.0
|
||||
Provides: bundled(node-strip-ansi) = 6.0.1
|
||||
Provides: bundled(node-supports-color) = 7.2.0
|
||||
Provides: bundled(node-tar) = 6.1.11
|
||||
@ -688,7 +676,6 @@ mkdir deps/npm/node_modules/node-gyp
|
||||
tar -C deps/npm/node_modules/node-gyp Jxf %{SOURCE5}
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
# normalize shebang
|
||||
%if %{node_version_number} >= 12
|
||||
@ -1032,6 +1019,7 @@ update-alternatives --remove npm-default %{_bindir}/npm%{node_version_number}
|
||||
update-alternatives --remove npx-default %{_bindir}/npx%{node_version_number}
|
||||
|
||||
%else
|
||||
|
||||
%pre
|
||||
# remove files that are no longer owned but provided by update-alternatives
|
||||
if ! [ -L %{_mandir}/man1/node.1%{ext_man} ]; then
|
||||
|
@ -8,11 +8,11 @@ management via update_alternatives.
|
||||
|
||||
This is also important for generation of binary
|
||||
modules for multiple versions of NodeJS
|
||||
Index: node-v18.10.0/Makefile
|
||||
Index: node-v18.11.0/Makefile
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/Makefile
|
||||
+++ node-v18.10.0/Makefile
|
||||
@@ -55,7 +55,7 @@ BUILDTYPE_LOWER := $(shell echo $(BUILDT
|
||||
--- node-v18.11.0.orig/Makefile
|
||||
+++ node-v18.11.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.10.0/Makefile
|
||||
NODE ?= ./$(NODE_EXE)
|
||||
NODE_G_EXE = node_g$(EXEEXT)
|
||||
NPM ?= ./deps/npm/bin/npm-cli.js
|
||||
Index: node-v18.10.0/tools/install.py
|
||||
Index: node-v18.11.0/tools/install.py
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/tools/install.py
|
||||
+++ node-v18.10.0/tools/install.py
|
||||
--- node-v18.11.0.orig/tools/install.py
|
||||
+++ node-v18.11.0/tools/install.py
|
||||
@@ -86,7 +86,7 @@ def uninstall(paths, dst):
|
||||
try_remove(path, dst)
|
||||
|
||||
@ -122,10 +122,10 @@ Index: node-v18.10.0/tools/install.py
|
||||
|
||||
if sys.platform == 'zos':
|
||||
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
|
||||
Index: node-v18.10.0/doc/node.1
|
||||
Index: node-v18.11.0/doc/node.1
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/doc/node.1
|
||||
+++ node-v18.10.0/doc/node.1
|
||||
--- node-v18.11.0.orig/doc/node.1
|
||||
+++ node-v18.11.0/doc/node.1
|
||||
@@ -30,24 +30,24 @@
|
||||
.Dt NODE 1
|
||||
.
|
||||
@ -155,10 +155,10 @@ Index: node-v18.10.0/doc/node.1
|
||||
.Op Fl -v8-options
|
||||
.
|
||||
.\"======================================================================
|
||||
Index: node-v18.10.0/src/node.stp
|
||||
Index: node-v18.11.0/src/node.stp
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/src/node.stp
|
||||
+++ node-v18.10.0/src/node.stp
|
||||
--- node-v18.11.0.orig/src/node.stp
|
||||
+++ node-v18.11.0/src/node.stp
|
||||
@@ -19,7 +19,7 @@
|
||||
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
@ -231,10 +231,10 @@ Index: node-v18.10.0/src/node.stp
|
||||
{
|
||||
scavenge = 1 << 0;
|
||||
compact = 1 << 1;
|
||||
Index: node-v18.10.0/deps/npm/man/man1/npm.1
|
||||
Index: node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.10.0/deps/npm/man/man1/npm.1
|
||||
--- node-v18.11.0.orig/deps/npm/man/man1/npm.1
|
||||
+++ node-v18.11.0/deps/npm/man/man1/npm.1
|
||||
@@ -1,6 +1,6 @@
|
||||
.TH "NPM" "1" "September 2022" "" ""
|
||||
.SH "NAME"
|
||||
@ -306,22 +306,22 @@ Index: node-v18.10.0/deps/npm/man/man1/npm.1
|
||||
+npm18 help publish
|
||||
|
||||
.RE
|
||||
Index: node-v18.10.0/src/node_main.cc
|
||||
Index: node-v18.11.0/src/node_main.cc
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/src/node_main.cc
|
||||
+++ node-v18.10.0/src/node_main.cc
|
||||
@@ -122,6 +122,7 @@ int main(int argc, char* argv[]) {
|
||||
#endif
|
||||
// Disable stdio buffering, it interacts poorly with printf()
|
||||
// calls elsewhere in the program (e.g., any logging from V8.)
|
||||
--- node-v18.11.0.orig/src/node_main.cc
|
||||
+++ node-v18.11.0/src/node_main.cc
|
||||
@@ -90,6 +90,7 @@ int wmain(int argc, wchar_t* wargv[]) {
|
||||
// UNIX
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
+ setenv("NODE_VERSION", "18", 0);
|
||||
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||
setvbuf(stderr, nullptr, _IONBF, 0);
|
||||
return node::Start(argc, argv);
|
||||
Index: node-v18.10.0/tools/test.py
|
||||
}
|
||||
#endif
|
||||
Index: node-v18.11.0/tools/test.py
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/tools/test.py
|
||||
+++ node-v18.10.0/tools/test.py
|
||||
--- node-v18.11.0.orig/tools/test.py
|
||||
+++ node-v18.11.0/tools/test.py
|
||||
@@ -948,7 +948,7 @@ class Context(object):
|
||||
if self.vm is not None:
|
||||
return self.vm
|
||||
@ -331,10 +331,10 @@ Index: node-v18.10.0/tools/test.py
|
||||
else:
|
||||
name = 'out/%s.%s/node' % (arch, mode)
|
||||
|
||||
Index: node-v18.10.0/node.gyp
|
||||
Index: node-v18.11.0/node.gyp
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/node.gyp
|
||||
+++ node-v18.10.0/node.gyp
|
||||
--- node-v18.11.0.orig/node.gyp
|
||||
+++ node-v18.11.0/node.gyp
|
||||
@@ -24,8 +24,8 @@
|
||||
'node_use_openssl%': 'true',
|
||||
'node_shared_openssl%': 'false',
|
||||
@ -346,10 +346,10 @@ Index: node-v18.10.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.10.0/deps/npm/man/man1/npx.1
|
||||
Index: node-v18.11.0/deps/npm/man/man1/npx.1
|
||||
===================================================================
|
||||
--- node-v18.10.0.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.10.0/deps/npm/man/man1/npx.1
|
||||
--- node-v18.11.0.orig/deps/npm/man/man1/npx.1
|
||||
+++ node-v18.11.0/deps/npm/man/man1/npx.1
|
||||
@@ -5,10 +5,10 @@
|
||||
.P
|
||||
.RS 2
|
||||
|
Loading…
Reference in New Issue
Block a user