pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs16 nodejs16: updated to 16.17.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a45461f79c0
branches:  trunk
changeset: 384184:0a45461f79c0
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 29 06:28:38 2022 +0000

description:
nodejs16: updated to 16.17.0

Version 16.17.0 'Gallium' (LTS)

Notable Changes

Experimental command-line argument parser API

Adds util.parseArgs helper for higher level command-line argument parsing.

Experimental ESM Loader Hooks API

Node.js ESM Loader hooks now support multiple custom loaders, and composition is achieved via "chaining": foo-loader calls bar-loader calls qux-loader (a custom loader must now signal a short circuit 
when intentionally not calling the next). See the ESM docs for details.

Real-world use-cases are laid out for end-users with working examples in the article Custom ESM loaders: Who, what, when, where, why, how.

Experimental test runner

The node:test module, which was initially introduced in Node.js v18.0.0, is now available with all the changes done to it up to Node.js v18.7.0.

Improved interoperability of the Web Crypto API

To better align Node.js' experimental implementation of the Web Crypto API with other runtimes, several changes were made:

Support for CFRG curves was added, with the 'Ed25519', 'Ed448', 'X25519', and 'X448' algorithms.
The proprietary 'NODE-DSA', 'NODE-DH', 'NODE-SCRYPT', 'NODE-ED25519', 'NODE-ED448', 'NODE-X25519', and 'NODE-X448' algorithms were removed.
The proprietary 'node.keyObject' import/export format was removed.

diffstat:

 lang/nodejs16/Makefile                                |   4 ++--
 lang/nodejs16/distinfo                                |  12 ++++++------
 lang/nodejs16/patches/patch-src_crypto_crypto__rsa.cc |  10 +++++-----
 lang/nodejs16/patches/patch-src_inspector__agent.cc   |  10 +++++-----
 4 files changed, 18 insertions(+), 18 deletions(-)

diffs (85 lines):

diff -r 2f355f773b06 -r 0a45461f79c0 lang/nodejs16/Makefile
--- a/lang/nodejs16/Makefile    Sun Aug 28 21:38:54 2022 +0000
+++ b/lang/nodejs16/Makefile    Mon Aug 29 06:28:38 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/07/08 13:30:19 adam Exp $
+# $NetBSD: Makefile,v 1.4 2022/08/29 06:28:38 adam Exp $
 
-DISTNAME=      node-v16.16.0
+DISTNAME=      node-v16.17.0
 EXTRACT_SUFX=  .tar.xz
 
 USE_LANGUAGES= c gnu++14
diff -r 2f355f773b06 -r 0a45461f79c0 lang/nodejs16/distinfo
--- a/lang/nodejs16/distinfo    Sun Aug 28 21:38:54 2022 +0000
+++ b/lang/nodejs16/distinfo    Mon Aug 29 06:28:38 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2022/07/08 13:30:19 adam Exp $
+$NetBSD: distinfo,v 1.5 2022/08/29 06:28:38 adam Exp $
 
-BLAKE2s (node-v16.16.0.tar.xz) = e0a5079ad5f9f9a806f234ac4283cf2b335b6958f779504059c65b1dbc359e3f
-SHA512 (node-v16.16.0.tar.xz) = 828bfee4f3789b02fec512a7d9785bf02650401c61b2d3ff80d8a3876420927fb9c8d0c2d66e45e1e8370c47cb81140d434747588322c4fedca7fd9e42b84ac3
-Size (node-v16.16.0.tar.xz) = 35039712 bytes
+BLAKE2s (node-v16.17.0.tar.xz) = 34b80d85eeb24eb431c0d3185f0d702cfaf2a052ff6cb5a0a04a51bade2e987a
+SHA512 (node-v16.17.0.tar.xz) = 8906ee337562b6f0b1614aa57084499ffd3bdfe8f8e706de8fed98baed5a92f691c534528b98f6321cf8a1eaaed6b45a938f28bd08167fbd75bfeb432ca03181
+Size (node-v16.17.0.tar.xz) = 35664964 bytes
 SHA1 (patch-common.gypi) = 15393846d9dce28f963ef66faa504d5bb3e92018
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3
@@ -18,8 +18,8 @@
 SHA1 (patch-deps_v8_src_heap_code-range.cc) = 60a6049ac33b0b60c998da09b2d272bec669214f
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
-SHA1 (patch-src_crypto_crypto__rsa.cc) = 81258a1187bb2bf8f3cbfe92e60989bc0ce1cb8d
-SHA1 (patch-src_inspector__agent.cc) = 2ec2a7be459648700488096f467a4ae6af5a9d91
+SHA1 (patch-src_crypto_crypto__rsa.cc) = 497007952507326ceba89c1d2cf76d0e7d00936c
+SHA1 (patch-src_inspector__agent.cc) = d3de81b0cb439731fb73339c55d33fe4f1b30ae7
 SHA1 (patch-src_node__postmortem__metadata.cc) = 9938482d724ad6636af5dc3fa719ec26ed8539ff
 SHA1 (patch-tools_gyp_pylib_gyp_generator_make.py) = 570fe9889767c555468a225cd7f0b398ea6a193c
 SHA1 (patch-tools_gyp_pylib_gyp_xcode__emulation.py) = 4ee24115f5e97ffbd23aaa6dc62f408d381d4e22
diff -r 2f355f773b06 -r 0a45461f79c0 lang/nodejs16/patches/patch-src_crypto_crypto__rsa.cc
--- a/lang/nodejs16/patches/patch-src_crypto_crypto__rsa.cc     Sun Aug 28 21:38:54 2022 +0000
+++ b/lang/nodejs16/patches/patch-src_crypto_crypto__rsa.cc     Mon Aug 29 06:28:38 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_crypto_crypto__rsa.cc,v 1.1 2022/06/05 06:56:15 mef Exp $
+$NetBSD: patch-src_crypto_crypto__rsa.cc,v 1.2 2022/08/29 06:28:38 adam Exp $
 
 Fix build with old OpenSSL 1.1.1d, as in NetBSD 9.0
 
---- src/crypto/crypto_rsa.cc.orig      2022-06-02 04:23:16.000000000 +0900
-+++ src/crypto/crypto_rsa.cc   2022-06-05 15:40:17.350690631 +0900
-@@ -13,6 +13,30 @@
+--- src/crypto/crypto_rsa.cc.orig      2022-08-16 06:43:18.000000000 +0000
++++ src/crypto/crypto_rsa.cc
+@@ -12,6 +12,30 @@
  #include <openssl/bn.h>
  #include <openssl/rsa.h>
  
@@ -34,4 +34,4 @@
 +
  namespace node {
  
- using v8::FunctionCallbackInfo;
+ using v8::ArrayBuffer;
diff -r 2f355f773b06 -r 0a45461f79c0 lang/nodejs16/patches/patch-src_inspector__agent.cc
--- a/lang/nodejs16/patches/patch-src_inspector__agent.cc       Sun Aug 28 21:38:54 2022 +0000
+++ b/lang/nodejs16/patches/patch-src_inspector__agent.cc       Mon Aug 29 06:28:38 2022 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-src_inspector__agent.cc,v 1.1 2022/05/05 07:02:25 adam Exp $
+$NetBSD: patch-src_inspector__agent.cc,v 1.2 2022/08/29 06:28:38 adam Exp $
 
---- src/inspector_agent.cc.orig        2019-11-19 08:29:09.000000000 +0000
+--- src/inspector_agent.cc.orig        2022-08-16 06:43:18.000000000 +0000
 +++ src/inspector_agent.cc
-@@ -112,7 +112,7 @@ static int StartDebugSignalHandler() {
+@@ -96,7 +96,7 @@ static int StartDebugSignalHandler() {
    CHECK_EQ(0, uv_sem_init(&start_io_thread_semaphore, 0));
    pthread_attr_t attr;
    CHECK_EQ(0, pthread_attr_init(&attr));
 -#if defined(PTHREAD_STACK_MIN) && !defined(__FreeBSD__)
 +#if defined(PTHREAD_STACK_MIN) && !defined(__FreeBSD__) && !defined(__NetBSD__)
-   // PTHREAD_STACK_MIN is 2 KB with musl libc, which is too small to safely
-   // receive signals. PTHREAD_STACK_MIN + MINSIGSTKSZ is 8 KB on arm64, which
+   // PTHREAD_STACK_MIN is 2 KiB with musl libc, which is too small to safely
+   // receive signals. PTHREAD_STACK_MIN + MINSIGSTKSZ is 8 KiB on arm64, which
    // is the musl architecture with the biggest MINSIGSTKSZ so let's use that



Home | Main Index | Thread Index | Old Index