pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/nodejs nodejs: updated to 16.15.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/005c4f5570e5
branches:  trunk
changeset: 378383:005c4f5570e5
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 02 18:59:24 2022 +0000

description:
nodejs: updated to 16.15.0

Version 16.15.0 'Gallium'

Notable changes

Add fetch API

Adds experimental support to the fetch API. This adds the --experimental-fetch flag that installs the fetch, Request, Response, Headers, and FormData globals.

(SEMVER-MINOR) add fetch (Michaël Zasso)
(SEMVER-MINOR) add FormData global when fetch is enabled (Michaël Zasso)

Other notable changes

build:
remove broken x32 arch support (Ben Noordhuis)
crypto:
(SEMVER-MINOR) add KeyObject.prototype.equals method (Filip Skokan)
doc:
add @ShogunPanda to collaborators (Paolo Insogna)
add JakobJingleheimer to collaborators list (Jacob Smith)
add joesepi to collaborators (Joe Sepi)
add marsonya to collaborators (Akhil Marsonya)
deprecate string coercion in fs.write, fs.writeFileSync (Livia Medeiros)
deprecate notice for process methods (Yash Ladha)
esm:
(SEMVER-MINOR) support https remotely and http locally under flag (Bradley Farias)
module:
(SEMVER-MINOR) unflag esm json modules (Geoffrey Booth)
node-api:
(SEMVER-MINOR) add node_api_symbol_for() (Darshan Sen)
process:
deprecate multipleResolves (Benjamin Gruenbaum)
stream:
(SEMVER-MINOR) support some and every (Benjamin Gruenbaum)
(SEMVER-MINOR) add toArray (Benjamin Gruenbaum)
(SEMVER-MINOR) add forEach method (Benjamin Gruenbaum)

diffstat:

 lang/nodejs/Makefile                                                  |   5 +--
 lang/nodejs/distinfo                                                  |  13 ++++----
 lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc |   4 +-
 lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc              |   4 +-
 lang/nodejs/patches/patch-node.gyp                                    |  15 ----------
 5 files changed, 12 insertions(+), 29 deletions(-)

diffs (101 lines):

diff -r 8b869a571dc8 -r 005c4f5570e5 lang/nodejs/Makefile
--- a/lang/nodejs/Makefile      Mon May 02 18:22:38 2022 +0000
+++ b/lang/nodejs/Makefile      Mon May 02 18:59:24 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.231 2022/04/19 12:42:38 jperkin Exp $
+# $NetBSD: Makefile,v 1.232 2022/05/02 18:59:24 adam Exp $
 
-DISTNAME=      node-v16.14.2
-PKGREVISION=   2
+DISTNAME=      node-v16.15.0
 EXTRACT_SUFX=  .tar.xz
 
 USE_LANGUAGES= c gnu++14
diff -r 8b869a571dc8 -r 005c4f5570e5 lang/nodejs/distinfo
--- a/lang/nodejs/distinfo      Mon May 02 18:22:38 2022 +0000
+++ b/lang/nodejs/distinfo      Mon May 02 18:59:24 2022 +0000
@@ -1,23 +1,22 @@
-$NetBSD: distinfo,v 1.210 2022/04/01 18:41:02 tnn Exp $
+$NetBSD: distinfo,v 1.211 2022/05/02 18:59:24 adam Exp $
 
-BLAKE2s (node-v16.14.2.tar.xz) = e32e3e3de0c413fa7d67a2dd5fe89268c0283c47e632274889b6fc82aaea031c
-SHA512 (node-v16.14.2.tar.xz) = b97274f6e0d63f19e01497c43af36e6561f019e7b0b5b4f6ea19d0fbe2cb4d3c514c06f49e237d1e327936db03c3f437ae0d0b2f830a35f1b7c3a723fbe2a1be
-Size (node-v16.14.2.tar.xz) = 34332624 bytes
+BLAKE2s (node-v16.15.0.tar.xz) = 69bb0e911ecb0f1abc5e2bcc0ce402be4e6ceb6b66febb9ed10d0339f874078f
+SHA512 (node-v16.15.0.tar.xz) = c85cf4a94a0dccdcf358a3e0383499fe1fd74ac0e7b6aa888e9524c070ae8be68b9f718c8c0940d51115bbc908202cd7819e370507b7191facd375a5be231c69
+Size (node-v16.15.0.tar.xz) = 34615112 bytes
 SHA1 (patch-common.gypi) = 15393846d9dce28f963ef66faa504d5bb3e92018
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3
 SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf
 SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = b47025f33d2991275bbcd15dbabb28900afab0e1
 SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8
-SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = f99d9bee3ce452dda41c9b2943ee16cebcbd0af3
+SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = fb0ac6f40233ef3ae03143a97ea7628be00245a8
 SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = 802a95f1b1d131e0d85c1f99c659cc68b31ba2f6
 SHA1 (patch-deps_v8_src_base_strings.h) = 4d2b37491f2f74f1a573f8c1942790204e23a8bb
 SHA1 (patch-deps_v8_src_codegen_arm_cpu-arm.cc) = 84c75d61bc99c2ff9adeac3152f5b11ebb0e582b
 SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
 SHA1 (patch-deps_v8_src_compiler_types.h) = 2a212282ab9d71e98ae56827fdb1d9778a6047a5
-SHA1 (patch-deps_v8_src_heap_code-range.cc) = dd240fd2f884bca7753d107919fd7d1e162235f0
+SHA1 (patch-deps_v8_src_heap_code-range.cc) = 60a6049ac33b0b60c998da09b2d272bec669214f
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
-SHA1 (patch-node.gyp) = 0c2e5ccae623a7b730490baf8d509fa550b63e03
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
 SHA1 (patch-src_inspector__agent.cc) = 2ec2a7be459648700488096f467a4ae6af5a9d91
 SHA1 (patch-src_node__postmortem__metadata.cc) = 9938482d724ad6636af5dc3fa719ec26ed8539ff
diff -r 8b869a571dc8 -r 005c4f5570e5 lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc
--- a/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc     Mon May 02 18:22:38 2022 +0000
+++ b/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc     Mon May 02 18:59:24 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-deps_v8_src_base_platform_platform-posix.cc,v 1.7 2021/04/24 06:30:28 rin Exp $
+$NetBSD: patch-deps_v8_src_base_platform_platform-posix.cc,v 1.8 2022/05/02 18:59:24 adam Exp $
 
 Use sysconf(_SC_THREAD_STACK_MIN) instead of PTHREAD_STACK_MIN.
 Cast explicitly.
@@ -13,7 +13,7 @@
  #endif
  #endif
 +
-+#if V8_OS_NETBSD && V8_TARGET_ARCH_ARM64
++#if V8_OS_NETBSD
 +  raw_addr = 0;
 +#endif
    return reinterpret_cast<void*>(raw_addr);
diff -r 8b869a571dc8 -r 005c4f5570e5 lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc
--- a/lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc  Mon May 02 18:22:38 2022 +0000
+++ b/lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc  Mon May 02 18:59:24 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-deps_v8_src_heap_code-range.cc,v 1.1 2022/04/01 18:41:02 tnn Exp $
+$NetBSD: patch-deps_v8_src_heap_code-range.cc,v 1.2 2022/05/02 18:59:24 adam Exp $
 
 nodejs: disable "near code ranges" on NetBSD/evbarm-aarch64 for now.
 It results in mmap(2) errors of the PR kern/55533 variety.
@@ -9,7 +9,7 @@
    base::MutexGuard guard(&mutex_);
    auto it = recently_freed_.find(code_range_size);
    if (it == recently_freed_.end() || it->second.empty()) {
-+#if V8_OS_NETBSD && V8_TARGET_ARCH_ARM64
++#if V8_OS_NETBSD
 +    return 0;
 +#else
      return FUNCTION_ADDR(&FunctionInStaticBinaryForAddressHint);
diff -r 8b869a571dc8 -r 005c4f5570e5 lang/nodejs/patches/patch-node.gyp
--- a/lang/nodejs/patches/patch-node.gyp        Mon May 02 18:22:38 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-node.gyp,v 1.3 2022/03/30 06:52:33 adam Exp $
-
-Avoid building vendored OpenSSL.
-
---- node.gyp.orig      2022-03-01 10:28:22.000000000 +0000
-+++ node.gyp
-@@ -1393,7 +1393,7 @@
-       ]
-     }], # end aix section
-     # TODO(RaisinTen): Enable this to build on other platforms as well.
--    ['(OS=="mac" or (OS=="linux" and target_arch=="x64")) and \
-+    ['(OS=="linux" and target_arch=="x64") and \
-       node_use_openssl=="true"', {
-       'targets': [
-         {



Home | Main Index | Thread Index | Old Index