- Update to NodejJS 18.13.0 LTS:

* build: disable v8 snapshot compression by default
  * crypto: update root certificates
  * deps: update ICU to 72.1
  * doc:
    + add doc-only deprecation for headers/trailers setters
    + add Rafael to the tsc
    + deprecate use of invalid ports in url.parse
    + deprecate url.parse()
  * lib: drop fetch experimental warning
  * net: add autoSelectFamily and autoSelectFamilyAttemptTimeout options
  * src:
    + add uvwasi version
    + add initial shadow realm support
  * test_runner:
    + add t.after() hook
    + don't use a symbol for runHook()
  * tls:
    + add "ca" property to certificate object
  * util:
    + add fast path for utf8 encoding
    + improve textdecoder decode performance
    + add MIME utilities
- new_python3.patch, icu721_fixes.patch: upstreamed, removed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=34
This commit is contained in:
2023-01-16 15:07:36 +00:00
committed by Git OBS Bridge
parent e380bea868
commit 31b7110501
10 changed files with 142 additions and 57527 deletions

View File

@@ -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.11.0/Makefile
Index: node-v18.13.0/Makefile
===================================================================
--- node-v18.11.0.orig/Makefile
+++ node-v18.11.0/Makefile
--- node-v18.13.0.orig/Makefile
+++ node-v18.13.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.11.0/Makefile
NODE ?= ./$(NODE_EXE)
NODE_G_EXE = node_g$(EXEEXT)
NPM ?= ./deps/npm/bin/npm-cli.js
Index: node-v18.11.0/tools/install.py
Index: node-v18.13.0/tools/install.py
===================================================================
--- node-v18.11.0.orig/tools/install.py
+++ node-v18.11.0/tools/install.py
--- node-v18.13.0.orig/tools/install.py
+++ node-v18.13.0/tools/install.py
@@ -86,7 +86,7 @@ def uninstall(paths, dst):
try_remove(path, dst)
@@ -122,11 +122,11 @@ Index: node-v18.11.0/tools/install.py
if sys.platform == 'zos':
zoslibinc = os.environ.get('ZOSLIB_INCLUDES')
Index: node-v18.11.0/doc/node.1
Index: node-v18.13.0/doc/node.1
===================================================================
--- node-v18.11.0.orig/doc/node.1
+++ node-v18.11.0/doc/node.1
@@ -30,24 +30,24 @@
--- node-v18.13.0.orig/doc/node.1
+++ node-v18.13.0/doc/node.1
@@ -31,24 +31,24 @@
.Dt NODE 1
.
.Sh NAME
@@ -155,10 +155,10 @@ Index: node-v18.11.0/doc/node.1
.Op Fl -v8-options
.
.\"======================================================================
Index: node-v18.11.0/src/node.stp
Index: node-v18.13.0/src/node.stp
===================================================================
--- node-v18.11.0.orig/src/node.stp
+++ node-v18.11.0/src/node.stp
--- node-v18.13.0.orig/src/node.stp
+++ node-v18.13.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,19 +231,19 @@ Index: node-v18.11.0/src/node.stp
{
scavenge = 1 << 0;
compact = 1 << 1;
Index: node-v18.11.0/deps/npm/man/man1/npm.1
Index: node-v18.13.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
--- 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" "September 2022" "" ""
.TH "NPM" "1" "November 2022" "" ""
.SH "NAME"
-\fBnpm\fR \- javascript package manager
+\fBnpm18\fR \- javascript package manager
.SS Synopsis
.SS Version
.P
@@ -15,7 +15,7 @@ It is extremely configurable to support
.RS 2
@@ -21,7 +21,7 @@ It is extremely configurable to support
commonly, you use it to publish, discover, install, and develop node
programs\.
.P
@@ -252,7 +252,7 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
.SS Important
.P
npm comes preconfigured to use npm's public registry at
@@ -31,14 +31,14 @@ their terms of use\.
@@ -37,14 +37,14 @@ their terms of use\.
You probably got npm because you want to install stuff\.
.P
The very first thing you will most likely want to run in any node
@@ -261,7 +261,7 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
.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 \fBinstall\fP for more
"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
@@ -271,24 +271,14 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
.SS Dependencies
.P
If a package lists a dependency using a git URL, npm will install that
@@ -87,7 +87,7 @@ npm help \fBpackage\.json\fP\|\.
.IP \(bu 2
link:
Links your current working code into Node's path, so that you don't
-have to reinstall every time you make a change\. Use npm help \fBnpm
+have to reinstall every time you make a change\. Use npm help \fBnpm18
link\fP to do this\.
.IP \(bu 2
install:
@@ -170,18 +170,18 @@ https://github\.com/npm/rfcs
@@ -175,18 +175,18 @@ https://github\.com/npm/rfcs
.SS See Also
.RS 0
.IP \(bu 2
-npm help help
+npm18 help help
.IP \(bu 2
-npm help package\.json
+npm18 help package\.json
package\.json \fI/configuring\-npm/package\-json\fR
.IP \(bu 2
-npm help npmrc
+npm18 help npmrc
@@ -306,10 +296,10 @@ Index: node-v18.11.0/deps/npm/man/man1/npm.1
+npm18 help publish
.RE
Index: node-v18.11.0/src/node_main.cc
Index: node-v18.13.0/src/node_main.cc
===================================================================
--- node-v18.11.0.orig/src/node_main.cc
+++ node-v18.11.0/src/node_main.cc
--- node-v18.13.0.orig/src/node_main.cc
+++ node-v18.13.0/src/node_main.cc
@@ -90,6 +90,7 @@ int wmain(int argc, wchar_t* wargv[]) {
// UNIX
@@ -318,11 +308,11 @@ Index: node-v18.11.0/src/node_main.cc
return node::Start(argc, argv);
}
#endif
Index: node-v18.11.0/tools/test.py
Index: node-v18.13.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):
--- node-v18.13.0.orig/tools/test.py
+++ node-v18.13.0/tools/test.py
@@ -949,7 +949,7 @@ class Context(object):
if self.vm is not None:
return self.vm
if arch == 'none':
@@ -331,14 +321,14 @@ Index: node-v18.11.0/tools/test.py
else:
name = 'out/%s.%s/node' % (arch, mode)
Index: node-v18.11.0/node.gyp
Index: node-v18.13.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-v18.13.0.orig/node.gyp
+++ node-v18.13.0/node.gyp
@@ -25,8 +25,8 @@
'node_shared_openssl%': 'false',
'node_v8_options%': '',
'node_enable_v8_vtunejit%': 'false',
- 'node_core_target_name%': 'node',
- 'node_lib_target_name%': 'libnode',
+ 'node_core_target_name%': 'node18',
@@ -346,10 +336,10 @@ Index: node-v18.11.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.11.0/deps/npm/man/man1/npx.1
Index: node-v18.13.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
--- 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 @@
.P
.RS 2