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 10.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b5a167ca898
branches:  trunk
changeset: 325161:1b5a167ca898
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Nov 10 18:35:18 2018 +0000

description:
nodejs: updated to 10.13.0

Version 10.13.0 'Dubnium' (LTS)

This release marks the transition of Node.js 10.x into Long Term Support (LTS) with the codename 'Dubnium'. The 10.x release line now moves in to "Active LTS" and will remain so until April 2020. 
After that time it will move in to "Maintenance" until end of life in April 2021.

Notable Changes

This release only includes minimal changes necessary to fix known regressions prior to LTS.


Version 10.12.0 (Current)

Notable changes

assert
* The diff output is now a tiny bit improved by sorting object properties when inspecting the values that are compared with each other.

cli
* The options parser now normalizes _ to - in all multi-word command-line flags, e.g. --no_warnings has the same effect as --no-warnings.
* Added bash completion for the node binary. To generate a bash completion script, run node --completion-bash. The output can be saved to a file which can be sourced to enable completion.

crypto
* Added support for PEM-level encryption.
* Added an API asymmetric key pair generation. The new methods crypto.generateKeyPair and crypto.generateKeyPairSync can be used to generate public and private key pairs. The API supports RSA, DSA 
and EC and a variety of key encodings (both PEM and DER).
fs
* Added a recursive option to fs.mkdir and fs.mkdirSync. If this option is set to true, non-existing parent folders will be automatically created.

http2
* Added a 'ping' event to Http2Session that is emitted whenever a non-ack PING is received.
* Added support for the ORIGIN frame.
* Updated nghttp2 to 1.34.0. This adds RFC 8441 extended connect protocol support to allow use of WebSockets over HTTP/2.

module
* Added module.createRequireFromPath(filename). This new method can be used to create a custom require function that will resolve modules relative to the filename path.

process
* Added a 'multipleResolves' process event that is emitted whenever a Promise is attempted to be resolved multiple times, e.g. if the resolve and reject functions are both called in a Promise 
executor.

url
* Added url.fileURLToPath(url) and url.pathToFileURL(path). These methods can be used to correctly convert between file: URLs and absolute paths.

util
* Added the sorted option to util.inspect(). If set to true, all properties of an object and Set and Map entries will be sorted in the returned string. If set to a function, it is used as a compare 
function.
The util.instpect.custom symbol is now defined in the global symbol registry as Symbol.for('nodejs.util.inspect.custom').
* Added support for BigInt numbers in util.format().

V8 API
* A number of V8 C++ APIs have been marked as deprecated since they have been removed in the upstream repository. Replacement APIs are added where necessary.

Windows
* The Windows msi installer now provides an option to automatically install the tools required to build native modules.

Workers
* Debugging support for Workers using the DevTools protocol has been implemented.
* The public inspector module is now enabled in Workers.

diffstat:

 lang/nodejs/Makefile |   4 ++--
 lang/nodejs/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r 4f5f3a5fee58 -r 1b5a167ca898 lang/nodejs/Makefile
--- a/lang/nodejs/Makefile      Sat Nov 10 17:28:19 2018 +0000
+++ b/lang/nodejs/Makefile      Sat Nov 10 18:35:18 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.145 2018/09/20 14:05:25 fhajny Exp $
+# $NetBSD: Makefile,v 1.146 2018/11/10 18:35:18 adam Exp $
 
-DISTNAME=      node-v10.11.0
+DISTNAME=      node-v10.13.0
 
 USE_LANGUAGES= c gnu++14
 
diff -r 4f5f3a5fee58 -r 1b5a167ca898 lang/nodejs/distinfo
--- a/lang/nodejs/distinfo      Sat Nov 10 17:28:19 2018 +0000
+++ b/lang/nodejs/distinfo      Sat Nov 10 18:35:18 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.135 2018/09/20 14:05:25 fhajny Exp $
+$NetBSD: distinfo,v 1.136 2018/11/10 18:35:18 adam Exp $
 
-SHA1 (node-v10.11.0.tar.gz) = 72f555d4487f57f8b22818dafe82b721f3dfa948
-RMD160 (node-v10.11.0.tar.gz) = 3466f13b0395df21ea5998da46d5936680ac96a4
-SHA512 (node-v10.11.0.tar.gz) = 0d1bce559d89cef593161767717dbaa236fc44aa7be3face5fe4ac339651f4739e372b894686740e07b10e731813ff692323d3fcb5eb5c1d2c9059ce6d7e7895
-Size (node-v10.11.0.tar.gz) = 36198226 bytes
+SHA1 (node-v10.13.0.tar.gz) = 5441e66cb6747532b0d8caa71908ce0f787dfc78
+RMD160 (node-v10.13.0.tar.gz) = 35f81d484e6e34881f87f95f6b90c2b0b6e8dc6d
+SHA512 (node-v10.13.0.tar.gz) = ec30c966467a9fb348b060deeb918d1605d79eb35ca09197d8bccb37f98645d4d75f0dcf97a6e328376d56b132359d3691403ed8b3301269a6258da28adb8cc0
+Size (node-v10.13.0.tar.gz) = 36274534 bytes
 SHA1 (patch-common.gypi) = de37949f38d9bd39a18b59d59ec74e528bd323ac
 SHA1 (patch-deps_cares_cares.gyp) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f
 SHA1 (patch-deps_openssl_config_opensslconf__asm.h) = 7b074ebd5353dff662ac66cf4012926f12dd7b7e



Home | Main Index | Thread Index | Old Index