Subject: CVS commit: pkgsrc/lang/nodejs
From: Adam Ciarcinski
Date: 2018-11-10 19:35:18
Message id: 20181110183518.3A7BFFB1F@cvs.NetBSD.org

Log Message:
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.

Files:
RevisionActionfile
1.146modifypkgsrc/lang/nodejs/Makefile
1.136modifypkgsrc/lang/nodejs/distinfo