Subject: CVS commit: pkgsrc/lang/nodejs
From: Filip Hajny
Date: 2017-06-05 23:14:04
Message id: 20170605211404.59B8FFAAE@cvs.NetBSD.org

Log Message:
Update lang/nodejs to 8.0.0

Node.js 8.0.0 is a major new release that includes a significant number of
semver-major and semver-minor changes. Notable changes are listed below.

The Node.js 8.x release branch is scheduled to become the next actively
maintained Long Term Support (LTS) release line in October, 2017 under the
LTS codename 'Carbon'.

### Notable Changes

* Async Hooks
  * The `async_hooks` module has landed in core

* Buffer
  * Using the `--pending-deprecation` flag will cause Node.js to emit a
    deprecation warning when using `new Buffer(num)` or `Buffer(num)`.
  * `new Buffer(num)` and `Buffer(num)` will zero-fill new `Buffer` instances
  * Many `Buffer` methods now accept `Uint8Array` as input

* Child Process
  * Argument and kill signal validations have been improved
  * Child Process methods accept `Uint8Array` as input

* Console
  * Error events emitted when using `console` methods are now supressed.

* Dependencies
  * The npm client has been updated to 5.0.0
  * V8 has been updated to 5.8 with forward ABI stability to 6.0

* Domains
  * Native `Promise` instances are now `Domain` aware

* Errors
  * We have started assigning static error codes to errors generated by Node.js.
    This has been done through multiple commits and is still a work in
    progress.

* File System
  * The utility class `fs.SyncWriteStream` has been deprecated
  * The deprecated `fs.read()` string interface has been removed

* HTTP
  * Improved support for userland implemented Agents
  * Outgoing Cookie headers are concatenated into a single string
  * The `httpResponse.writeHeader()` method has been deprecated
  * New methods for accessing HTTP headers have been added to `OutgoingMessage`

* Lib
  * All deprecation messages have been assigned static identifiers
  * The legacy `linkedlist` module has been removed

* N-API
  * Experimental support for the new N-API API has been added

* Process
  * Process warning output can be redirected to a file using the
    `--redirect-warnings` command-line argument
  * Process warnings may now include additional detail

* REPL
  * REPL magic mode has been deprecated

* Src
  * `NODE_MODULE_VERSION` has been updated to 57
  * Add `--pending-deprecation` command-line argument and
    `NODE_PENDING_DEPRECATION` environment variable
  * The `--debug` command-line argument has been deprecated. Note that
    using `--debug` will enable the *new* Inspector-based debug protocol
    as the legacy Debugger protocol previously used by Node.js has been
    removed.
  * Throw when the `-c` and `-e` command-line arguments are used at the same
    time
  * Throw when the `--use-bundled-ca` and `--use-openssl-ca` command-line
    arguments are used at the same time.

* Stream
  * `Stream` now supports `destroy()` and `_destroy()` APIs
  * `Stream` now supports the `_final()` API

* TLS
  * The `rejectUnauthorized` option now defaults to `true`
  * The `tls.createSecurePair()` API now emits a runtime deprecation
  * A runtime deprecation will now be emitted when `dhparam` is less than
    2048 bits

* URL
  * The WHATWG URL implementation is now a fully-supported Node.js API

* Util
  * `Symbol` keys are now displayed by default when using `util.inspect()`
  * `toJSON` errors will be thrown when formatting `%j`
  * Convert `inspect.styles` and `inspect.colors` to prototype-less objects
  * The new `util.promisify()` API has been added

* Zlib
  * Support `Uint8Array` in Zlib convenience methods
  * Zlib errors now use `RangeError` and `TypeError` consistently

Files:
RevisionActionfile
1.99modifypkgsrc/lang/nodejs/Makefile
1.47modifypkgsrc/lang/nodejs/PLIST
1.96modifypkgsrc/lang/nodejs/distinfo
1.2modifypkgsrc/lang/nodejs/patches/patch-deps_v8_src_compiler_types.h
1.2modifypkgsrc/lang/nodejs/patches/patch-src_cares__wrap.cc
1.1addpkgsrc/lang/nodejs/patches/patch-deps_v8_src_globals.h
1.1addpkgsrc/lang/nodejs/patches/patch-src_inspector__agent.cc
1.2removepkgsrc/lang/nodejs/patches/patch-deps_v8_src_base_atomicops__internals__arm__gcc.h
1.1removepkgsrc/lang/nodejs/patches/patch-deps_v8_src_runtime_runtime-i18n.cc
1.1removepkgsrc/lang/nodejs/patches/patch-src_node.cc