pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs8 lang/nodejs8: Update to 8.12.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c1b3297b0cd
branches:  trunk
changeset: 385088:0c1b3297b0cd
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Sep 11 14:25:41 2018 +0000

description:
lang/nodejs8: Update to 8.12.0.

- async_hooks:
  - rename PromiseWrap.parentId
  - remove runtime deprecation
  - deprecate unsafe emit{Before,After}
- cluster:
  - add cwd to cluster.settings
  - support windowsHide option for workers
- crypto:
  - allow passing null as IV unless required
- deps:
  - upgrade npm to 6.4.1
  - upgrade libuv to 1.19.2
  - Upgrade node-inspect to 1.11.5
- fs,net:
  - support as and as+ flags in stringToFlags()
  - emit 'ready' for fs streams and sockets
- http, http2:
  - add options to http.createServer()
  - add 103 Early Hints status code
  - add http fallback options to .createServer
- n-api:
  - take n-api out of experimental
- perf_hooks:
  - add warning when too many entries in the timeline
- src:
  - add public API for managing NodePlatform
  - allow --perf-(basic-)?prof in NODE\_OPTIONS
  - node internals' postmortem metadata
- tls:
  - expose Finished messages in TLSSocket
- trace_events:
  - add file pattern cli option
- util:
  - implement util.getSystemErrorName()

diffstat:

 lang/nodejs8/Makefile                           |   4 +-
 lang/nodejs8/distinfo                           |  13 ++++------
 lang/nodejs8/patches/patch-src_inspector__io.cc |  31 -------------------------
 lang/nodejs8/patches/patch-src_node__crypto.cc  |  21 ----------------
 lang/nodejs8/patches/patch-src_node__i18n.cc    |  15 ------------
 5 files changed, 7 insertions(+), 77 deletions(-)

diffs (119 lines):

diff -r 50bcfa8e43d3 -r 0c1b3297b0cd lang/nodejs8/Makefile
--- a/lang/nodejs8/Makefile     Tue Sep 11 11:43:33 2018 +0000
+++ b/lang/nodejs8/Makefile     Tue Sep 11 14:25:41 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2018/08/16 12:51:50 fhajny Exp $
+# $NetBSD: Makefile,v 1.17 2018/09/11 14:25:41 fhajny Exp $
 
-DISTNAME=      node-v8.11.4
+DISTNAME=      node-v8.12.0
 
 # Stated by the changelog as of 8.2.0
 GCC_REQD+=     4.9.4
diff -r 50bcfa8e43d3 -r 0c1b3297b0cd lang/nodejs8/distinfo
--- a/lang/nodejs8/distinfo     Tue Sep 11 11:43:33 2018 +0000
+++ b/lang/nodejs8/distinfo     Tue Sep 11 14:25:41 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.13 2018/08/16 12:51:50 fhajny Exp $
+$NetBSD: distinfo,v 1.14 2018/09/11 14:25:41 fhajny Exp $
 
-SHA1 (node-v8.11.4.tar.gz) = 4ca6ef757ceef8a4503c279c7ed5480388cabaa0
-RMD160 (node-v8.11.4.tar.gz) = 75e42785444f2002e03c9eea83962c108eed87fe
-SHA512 (node-v8.11.4.tar.gz) = f93ee89d1db4684ef6ace72ac4676cff6f55fd61968e8316b949d82031c6fd48477f88acdb45e6e0fc4aa6781265afb1ba6c0e175694f6d2e2931f3038a1c886
-Size (node-v8.11.4.tar.gz) = 31122833 bytes
+SHA1 (node-v8.12.0.tar.gz) = c83add7809c7f36c2afb81d96cde25f1534bbe27
+RMD160 (node-v8.12.0.tar.gz) = 576590ec1bc9801a1e4fd42b95b289182f1cd1b5
+SHA512 (node-v8.12.0.tar.gz) = 69cfaf56204c9605254382ae613d36b32eb5966dfd5b0db2aee11a50f3119b38221f425df7c273efb43e453cda77d6c4681bad6f3e5c34a2a2710c5af81e937a
+Size (node-v8.12.0.tar.gz) = 30393516 bytes
 SHA1 (patch-common.gypi) = c7fee438a564003fb3624679ce94108ab397fec0
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = ba9caa1f6d9d6df1913d0d72a8d18ea6db0a32ff
@@ -20,9 +20,6 @@
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
 SHA1 (patch-src_cares__wrap.cc) = a26a162f130468cbc0650a33b27b71377d273704
 SHA1 (patch-src_inspector__agent.cc) = f6d25964a6446a1cb3c7733b7668c87932efad98
-SHA1 (patch-src_inspector__io.cc) = 1824738bc4b34c93571367189adcfdc9ee84ccf0
-SHA1 (patch-src_node__crypto.cc) = 439f47dcc4242bd65bb9c05a6bf9a5baa53ec907
-SHA1 (patch-src_node__i18n.cc) = 9fde68e1bd55e0026310ba7a51e2091d587c1277
 SHA1 (patch-tools_gyp_pylib_gyp_common.py) = 585dd239415da146fa50ed86e42dd99080e86002
 SHA1 (patch-tools_gyp_pylib_gyp_generator_make.py) = be3cc1aaa85c3d59b6f2758df813cb5ad8d8f74e
 SHA1 (patch-tools_gyp_pylib_gyp_xcode__emulation.py) = 15937c419f3226ab280c7bcd5d726773cb5add57
diff -r 50bcfa8e43d3 -r 0c1b3297b0cd lang/nodejs8/patches/patch-src_inspector__io.cc
--- a/lang/nodejs8/patches/patch-src_inspector__io.cc   Tue Sep 11 11:43:33 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-src_inspector__io.cc,v 1.1 2018/05/09 12:18:03 adam Exp $
-
-Fix building with ICU 61.
-
---- src/inspector_io.cc.orig   2018-05-04 08:11:15.000000000 +0000
-+++ src/inspector_io.cc
-@@ -74,11 +74,11 @@ std::string StringViewToUtf8(const Strin
- 
-   size_t result_length = view.length() * sizeof(*source);
-   std::string result(result_length, '\0');
--  UnicodeString utf16(unicodeSource, view.length());
-+  icu::UnicodeString utf16(unicodeSource, view.length());
-   // ICU components for std::string compatibility are not enabled in build...
-   bool done = false;
-   while (!done) {
--    CheckedArrayByteSink sink(&result[0], result_length);
-+    icu::CheckedArrayByteSink sink(&result[0], result_length);
-     utf16.toUTF8(sink);
-     result_length = sink.NumberOfBytesAppended();
-     result.resize(result_length);
-@@ -111,8 +111,8 @@ void ReleasePairOnAsyncClose(uv_handle_t
- }  // namespace
- 
- std::unique_ptr<StringBuffer> Utf8ToStringView(const std::string& message) {
--  UnicodeString utf16 =
--      UnicodeString::fromUTF8(StringPiece(message.data(), message.length()));
-+  icu::UnicodeString utf16 =
-+      icu::UnicodeString::fromUTF8(icu::StringPiece(message.data(), message.length()));
-   StringView view(reinterpret_cast<const uint16_t*>(utf16.getBuffer()),
-                   utf16.length());
-   return StringBuffer::create(view);
diff -r 50bcfa8e43d3 -r 0c1b3297b0cd lang/nodejs8/patches/patch-src_node__crypto.cc
--- a/lang/nodejs8/patches/patch-src_node__crypto.cc    Tue Sep 11 11:43:33 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-src_node__crypto.cc,v 1.1 2018/05/12 09:04:24 fhajny Exp $
-
-<cmath> is needed for std::isnan() and std:isinf().
-
-Based on nodejs/node pull request #19196:
-
- <https://github.com/nodejs/node/pull/19196>
-
---- src/node_crypto.cc.orig    2018-03-29 23:17:17.000000000 +0000
-+++ src/node_crypto.cc
-@@ -36,9 +36,9 @@
- #include "v8.h"
- 
- #include <algorithm>
-+#include <cmath>
- #include <errno.h>
- #include <limits.h>  // INT_MAX
--#include <math.h>
- #include <stdlib.h>
- #include <string.h>
- #include <vector>
diff -r 50bcfa8e43d3 -r 0c1b3297b0cd lang/nodejs8/patches/patch-src_node__i18n.cc
--- a/lang/nodejs8/patches/patch-src_node__i18n.cc      Tue Sep 11 11:43:33 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_node__i18n.cc,v 1.1 2018/05/09 12:18:03 adam Exp $
-
-Fix building with ICU 61.
-
---- src/node_i18n.cc.orig      2018-05-04 08:04:50.000000000 +0000
-+++ src/node_i18n.cc
-@@ -523,7 +523,7 @@ const char* GetVersion(const char* type,
-   } else if (!strcmp(type, TYPE_UNICODE)) {
-     return U_UNICODE_VERSION;
-   } else if (!strcmp(type, TYPE_TZ)) {
--    return TimeZone::getTZDataVersion(*status);
-+    return icu::TimeZone::getTZDataVersion(*status);
-   } else if (!strcmp(type, TYPE_CLDR)) {
-     UVersionInfo versionArray;
-     ulocdata_getCLDRVersion(versionArray, status);



Home | Main Index | Thread Index | Old Index