pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs Update lang/nodejs to 8.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8acc9fc64d99
branches:  trunk
changeset: 363332:8acc9fc64d99
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Jun 05 21:14:04 2017 +0000

description:
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

diffstat:

 lang/nodejs/Makefile                                                        |     4 +-
 lang/nodejs/PLIST                                                           |  1360 +++++++--
 lang/nodejs/distinfo                                                        |    19 +-
 lang/nodejs/patches/patch-deps_v8_src_base_atomicops__internals__arm__gcc.h |    25 -
 lang/nodejs/patches/patch-deps_v8_src_compiler_types.h                      |     8 +-
 lang/nodejs/patches/patch-deps_v8_src_globals.h                             |    14 +
 lang/nodejs/patches/patch-deps_v8_src_runtime_runtime-i18n.cc               |    14 -
 lang/nodejs/patches/patch-src_cares__wrap.cc                                |    22 +-
 lang/nodejs/patches/patch-src_inspector__agent.cc                           |    13 +
 lang/nodejs/patches/patch-src_node.cc                                       |    15 -
 10 files changed, 1104 insertions(+), 390 deletions(-)

diffs (truncated from 2017 to 300 lines):

diff -r f1393c627559 -r 8acc9fc64d99 lang/nodejs/Makefile
--- a/lang/nodejs/Makefile      Mon Jun 05 20:37:34 2017 +0000
+++ b/lang/nodejs/Makefile      Mon Jun 05 21:14:04 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.98 2017/05/30 14:26:38 adam Exp $
+# $NetBSD: Makefile,v 1.99 2017/06/05 21:14:04 fhajny Exp $
 
-DISTNAME=      node-v7.10.0
+DISTNAME=      node-v8.0.0
 
 CONFIGURE_ARGS+=       --with-intl=system-icu
 
diff -r f1393c627559 -r 8acc9fc64d99 lang/nodejs/PLIST
--- a/lang/nodejs/PLIST Mon Jun 05 20:37:34 2017 +0000
+++ b/lang/nodejs/PLIST Mon Jun 05 21:14:04 2017 +0000
@@ -1,17 +1,15 @@
-@comment $NetBSD: PLIST,v 1.46 2017/04/12 11:26:51 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.47 2017/06/05 21:14:04 fhajny Exp $
 bin/node
 bin/npm
 include/node/android-ifaddrs.h
-include/node/ares.h
-include/node/ares_build.h
-include/node/ares_rules.h
-include/node/ares_version.h
 include/node/common.gypi
 include/node/config.gypi
+include/node/libplatform/libplatform-export.h
 include/node/libplatform/libplatform.h
 include/node/libplatform/v8-tracing.h
-include/node/nameser.h
 include/node/node.h
+include/node/node_api.h
+include/node/node_api_types.h
 include/node/node_buffer.h
 include/node/node_object_wrap.h
 include/node/node_version.h
@@ -31,13 +29,13 @@
 include/node/uv-win.h
 include/node/uv.h
 include/node/v8-debug.h
-include/node/v8-experimental.h
 include/node/v8-inspector-protocol.h
 include/node/v8-inspector.h
 include/node/v8-platform.h
 include/node/v8-profiler.h
 include/node/v8-testing.h
 include/node/v8-util.h
+include/node/v8-version-string.h
 include/node/v8-version.h
 include/node/v8.h
 include/node/v8config.h
@@ -47,11 +45,14 @@
 lib/node_modules/npm/.npmignore
 lib/node_modules/npm/.travis.yml
 lib/node_modules/npm/AUTHORS
+lib/node_modules/npm/BROKEN.org
 lib/node_modules/npm/CHANGELOG.md
 lib/node_modules/npm/CONTRIBUTING.md
 lib/node_modules/npm/LICENSE
 lib/node_modules/npm/Makefile
 lib/node_modules/npm/README.md
+lib/node_modules/npm/TODO.org
+lib/node_modules/npm/TROUBLESHOOTING.md
 lib/node_modules/npm/appveyor.yml
 lib/node_modules/npm/bin/node-gyp-bin/node-gyp
 lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd
@@ -62,7 +63,7 @@
 lib/node_modules/npm/changelogs/CHANGELOG-1.md
 lib/node_modules/npm/changelogs/CHANGELOG-2.md
 lib/node_modules/npm/changelogs/CHANGELOG-3.md
-lib/node_modules/npm/cli.js
+lib/node_modules/npm/changelogs/CHANGELOG-4.md
 lib/node_modules/npm/configure
 lib/node_modules/npm/doc/cli/npm-access.md
 lib/node_modules/npm/doc/cli/npm-adduser.md
@@ -116,7 +117,10 @@
 lib/node_modules/npm/doc/cli/npm-whoami.md
 lib/node_modules/npm/doc/cli/npm.md
 lib/node_modules/npm/doc/files/npm-folders.md
+lib/node_modules/npm/doc/files/npm-package-locks.md
+lib/node_modules/npm/doc/files/npm-shrinkwrap.json.md
 lib/node_modules/npm/doc/files/npmrc.md
+lib/node_modules/npm/doc/files/package-lock.json.md
 lib/node_modules/npm/doc/files/package.json.md
 lib/node_modules/npm/doc/misc/npm-coding-style.md
 lib/node_modules/npm/doc/misc/npm-config.md
@@ -129,6 +133,7 @@
 lib/node_modules/npm/doc/misc/npm-scripts.md
 lib/node_modules/npm/doc/misc/removing-npm.md
 lib/node_modules/npm/doc/misc/semver.md
+lib/node_modules/npm/doc/spec/file-specifiers.md
 lib/node_modules/npm/html/doc/README.html
 lib/node_modules/npm/html/doc/cli/npm-access.html
 lib/node_modules/npm/html/doc/cli/npm-adduser.html
@@ -184,7 +189,10 @@
 lib/node_modules/npm/html/doc/files/npm-folders.html
 lib/node_modules/npm/html/doc/files/npm-global.html
 lib/node_modules/npm/html/doc/files/npm-json.html
+lib/node_modules/npm/html/doc/files/npm-package-locks.html
+lib/node_modules/npm/html/doc/files/npm-shrinkwrap.json.html
 lib/node_modules/npm/html/doc/files/npmrc.html
+lib/node_modules/npm/html/doc/files/package-lock.json.html
 lib/node_modules/npm/html/doc/files/package.json.html
 lib/node_modules/npm/html/doc/index.html
 lib/node_modules/npm/html/doc/misc/npm-coding-style.html
@@ -206,18 +214,14 @@
 lib/node_modules/npm/html/static/toc.js
 lib/node_modules/npm/lib/access.js
 lib/node_modules/npm/lib/adduser.js
+lib/node_modules/npm/lib/auth/legacy.js
+lib/node_modules/npm/lib/auth/oauth.js
+lib/node_modules/npm/lib/auth/saml.js
+lib/node_modules/npm/lib/auth/sso.js
 lib/node_modules/npm/lib/bin.js
 lib/node_modules/npm/lib/bugs.js
 lib/node_modules/npm/lib/build.js
 lib/node_modules/npm/lib/cache.js
-lib/node_modules/npm/lib/cache/add-local-tarball.js
-lib/node_modules/npm/lib/cache/add-local.js
-lib/node_modules/npm/lib/cache/add-named.js
-lib/node_modules/npm/lib/cache/add-remote-git.js
-lib/node_modules/npm/lib/cache/add-remote-tarball.js
-lib/node_modules/npm/lib/cache/cached-package-root.js
-lib/node_modules/npm/lib/cache/caching-client.js
-lib/node_modules/npm/lib/cache/get-stat.js
 lib/node_modules/npm/lib/completion.js
 lib/node_modules/npm/lib/config.js
 lib/node_modules/npm/lib/config/clear-credentials-by-uri.js
@@ -230,6 +234,7 @@
 lib/node_modules/npm/lib/config/load-prefix.js
 lib/node_modules/npm/lib/config/load-uid.js
 lib/node_modules/npm/lib/config/nerf-dart.js
+lib/node_modules/npm/lib/config/pacote.js
 lib/node_modules/npm/lib/config/set-credentials-by-uri.js
 lib/node_modules/npm/lib/config/set-user.js
 lib/node_modules/npm/lib/dedupe.js
@@ -239,10 +244,10 @@
 lib/node_modules/npm/lib/doctor.js
 lib/node_modules/npm/lib/doctor/check-files-permission.js
 lib/node_modules/npm/lib/doctor/check-ping.js
-lib/node_modules/npm/lib/doctor/checksum-cached-files.js
 lib/node_modules/npm/lib/doctor/get-git-path.js
 lib/node_modules/npm/lib/doctor/get-latest-nodejs-version.js
 lib/node_modules/npm/lib/doctor/get-latest-npm-version.js
+lib/node_modules/npm/lib/doctor/verify-cached-files.js
 lib/node_modules/npm/lib/edit.js
 lib/node_modules/npm/lib/explore.js
 lib/node_modules/npm/lib/fetch-package-metadata.js
@@ -265,9 +270,8 @@
 lib/node_modules/npm/lib/install/action/postinstall.js
 lib/node_modules/npm/lib/install/action/preinstall.js
 lib/node_modules/npm/lib/install/action/prepare.js
+lib/node_modules/npm/lib/install/action/refresh-package-json.js
 lib/node_modules/npm/lib/install/action/remove.js
-lib/node_modules/npm/lib/install/action/test.js
-lib/node_modules/npm/lib/install/action/update-linked.js
 lib/node_modules/npm/lib/install/actions.js
 lib/node_modules/npm/lib/install/and-add-parent-to-errors.js
 lib/node_modules/npm/lib/install/and-finish-tracker.js
@@ -278,8 +282,8 @@
 lib/node_modules/npm/lib/install/deps.js
 lib/node_modules/npm/lib/install/diff-trees.js
 lib/node_modules/npm/lib/install/exists.js
-lib/node_modules/npm/lib/install/filter-invalid-actions.js
 lib/node_modules/npm/lib/install/flatten-tree.js
+lib/node_modules/npm/lib/install/get-requested.js
 lib/node_modules/npm/lib/install/inflate-bundled.js
 lib/node_modules/npm/lib/install/inflate-shrinkwrap.js
 lib/node_modules/npm/lib/install/is-dev-dep.js
@@ -287,7 +291,6 @@
 lib/node_modules/npm/lib/install/is-fs-access-available.js
 lib/node_modules/npm/lib/install/is-opt-dep.js
 lib/node_modules/npm/lib/install/is-prod-dep.js
-lib/node_modules/npm/lib/install/is-registry-specifier.js
 lib/node_modules/npm/lib/install/module-staging-path.js
 lib/node_modules/npm/lib/install/mutate-into-logical-tree.js
 lib/node_modules/npm/lib/install/node.js
@@ -361,14 +364,15 @@
 lib/node_modules/npm/lib/utils/metrics-launch.js
 lib/node_modules/npm/lib/utils/metrics.js
 lib/node_modules/npm/lib/utils/module-name.js
+lib/node_modules/npm/lib/utils/move.js
 lib/node_modules/npm/lib/utils/no-progress-while-running.js
 lib/node_modules/npm/lib/utils/output.js
 lib/node_modules/npm/lib/utils/package-id.js
 lib/node_modules/npm/lib/utils/parse-json.js
+lib/node_modules/npm/lib/utils/perf.js
 lib/node_modules/npm/lib/utils/pick-manifest-from-registry-metadata.js
 lib/node_modules/npm/lib/utils/pulse-till-done.js
 lib/node_modules/npm/lib/utils/read-local-package.js
-lib/node_modules/npm/lib/utils/rename.js
 lib/node_modules/npm/lib/utils/save-stack.js
 lib/node_modules/npm/lib/utils/spawn.js
 lib/node_modules/npm/lib/utils/tar.js
@@ -438,7 +442,10 @@
 lib/node_modules/npm/man/man5/npm-folders.5
 lib/node_modules/npm/man/man5/npm-global.5
 lib/node_modules/npm/man/man5/npm-json.5
+lib/node_modules/npm/man/man5/npm-package-locks.5
+lib/node_modules/npm/man/man5/npm-shrinkwrap.json.5
 lib/node_modules/npm/man/man5/npmrc.5
+lib/node_modules/npm/man/man5/package-lock.json.5
 lib/node_modules/npm/man/man5/package.json.5
 lib/node_modules/npm/man/man7/npm-coding-style.7
 lib/node_modules/npm/man/man7/npm-config.7
@@ -501,14 +508,86 @@
 lib/node_modules/npm/node_modules/archy/examples/multi_line.js
 lib/node_modules/npm/node_modules/archy/index.js
 lib/node_modules/npm/node_modules/archy/package.json
-lib/node_modules/npm/node_modules/asap/CHANGES.md
-lib/node_modules/npm/node_modules/asap/LICENSE.md
-lib/node_modules/npm/node_modules/asap/README.md
-lib/node_modules/npm/node_modules/asap/asap.js
-lib/node_modules/npm/node_modules/asap/browser-asap.js
-lib/node_modules/npm/node_modules/asap/browser-raw.js
-lib/node_modules/npm/node_modules/asap/package.json
-lib/node_modules/npm/node_modules/asap/raw.js
+lib/node_modules/npm/node_modules/bluebird/LICENSE
+lib/node_modules/npm/node_modules/bluebird/README.md
+lib/node_modules/npm/node_modules/bluebird/changelog.md
+lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.js
+lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.core.min.js
+lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.js
+lib/node_modules/npm/node_modules/bluebird/js/browser/bluebird.min.js
+lib/node_modules/npm/node_modules/bluebird/js/release/any.js
+lib/node_modules/npm/node_modules/bluebird/js/release/assert.js
+lib/node_modules/npm/node_modules/bluebird/js/release/async.js
+lib/node_modules/npm/node_modules/bluebird/js/release/bind.js
+lib/node_modules/npm/node_modules/bluebird/js/release/bluebird.js
+lib/node_modules/npm/node_modules/bluebird/js/release/call_get.js
+lib/node_modules/npm/node_modules/bluebird/js/release/cancel.js
+lib/node_modules/npm/node_modules/bluebird/js/release/catch_filter.js
+lib/node_modules/npm/node_modules/bluebird/js/release/context.js
+lib/node_modules/npm/node_modules/bluebird/js/release/debuggability.js
+lib/node_modules/npm/node_modules/bluebird/js/release/direct_resolve.js
+lib/node_modules/npm/node_modules/bluebird/js/release/each.js
+lib/node_modules/npm/node_modules/bluebird/js/release/errors.js
+lib/node_modules/npm/node_modules/bluebird/js/release/es5.js
+lib/node_modules/npm/node_modules/bluebird/js/release/filter.js
+lib/node_modules/npm/node_modules/bluebird/js/release/finally.js
+lib/node_modules/npm/node_modules/bluebird/js/release/generators.js
+lib/node_modules/npm/node_modules/bluebird/js/release/join.js
+lib/node_modules/npm/node_modules/bluebird/js/release/map.js
+lib/node_modules/npm/node_modules/bluebird/js/release/method.js
+lib/node_modules/npm/node_modules/bluebird/js/release/nodeback.js
+lib/node_modules/npm/node_modules/bluebird/js/release/nodeify.js
+lib/node_modules/npm/node_modules/bluebird/js/release/promise.js
+lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js
+lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js
+lib/node_modules/npm/node_modules/bluebird/js/release/props.js
+lib/node_modules/npm/node_modules/bluebird/js/release/queue.js
+lib/node_modules/npm/node_modules/bluebird/js/release/race.js
+lib/node_modules/npm/node_modules/bluebird/js/release/reduce.js
+lib/node_modules/npm/node_modules/bluebird/js/release/schedule.js
+lib/node_modules/npm/node_modules/bluebird/js/release/settle.js
+lib/node_modules/npm/node_modules/bluebird/js/release/some.js
+lib/node_modules/npm/node_modules/bluebird/js/release/synchronous_inspection.js
+lib/node_modules/npm/node_modules/bluebird/js/release/thenables.js
+lib/node_modules/npm/node_modules/bluebird/js/release/timers.js
+lib/node_modules/npm/node_modules/bluebird/js/release/using.js
+lib/node_modules/npm/node_modules/bluebird/js/release/util.js
+lib/node_modules/npm/node_modules/bluebird/package.json
+lib/node_modules/npm/node_modules/cacache/CHANGELOG.md
+lib/node_modules/npm/node_modules/cacache/LICENSE.md
+lib/node_modules/npm/node_modules/cacache/README.md
+lib/node_modules/npm/node_modules/cacache/en.js
+lib/node_modules/npm/node_modules/cacache/es.js
+lib/node_modules/npm/node_modules/cacache/get.js
+lib/node_modules/npm/node_modules/cacache/index.js
+lib/node_modules/npm/node_modules/cacache/lib/content/path.js
+lib/node_modules/npm/node_modules/cacache/lib/content/read.js
+lib/node_modules/npm/node_modules/cacache/lib/content/rm.js
+lib/node_modules/npm/node_modules/cacache/lib/content/write.js
+lib/node_modules/npm/node_modules/cacache/lib/entry-index.js
+lib/node_modules/npm/node_modules/cacache/lib/memoization.js
+lib/node_modules/npm/node_modules/cacache/lib/util/fix-owner.js
+lib/node_modules/npm/node_modules/cacache/lib/util/hash-to-segments.js
+lib/node_modules/npm/node_modules/cacache/lib/util/move-file.js
+lib/node_modules/npm/node_modules/cacache/lib/util/tmp.js
+lib/node_modules/npm/node_modules/cacache/lib/util/y.js
+lib/node_modules/npm/node_modules/cacache/lib/verify.js
+lib/node_modules/npm/node_modules/cacache/locales/en.js
+lib/node_modules/npm/node_modules/cacache/locales/en.json
+lib/node_modules/npm/node_modules/cacache/locales/es.js
+lib/node_modules/npm/node_modules/cacache/locales/es.json
+lib/node_modules/npm/node_modules/cacache/ls.js
+lib/node_modules/npm/node_modules/cacache/node_modules/y18n/LICENSE
+lib/node_modules/npm/node_modules/cacache/node_modules/y18n/README.md
+lib/node_modules/npm/node_modules/cacache/node_modules/y18n/index.js
+lib/node_modules/npm/node_modules/cacache/node_modules/y18n/package.json
+lib/node_modules/npm/node_modules/cacache/package.json
+lib/node_modules/npm/node_modules/cacache/put.js
+lib/node_modules/npm/node_modules/cacache/rm.js
+lib/node_modules/npm/node_modules/cacache/verify.js
+lib/node_modules/npm/node_modules/call-limit/README.md
+lib/node_modules/npm/node_modules/call-limit/call-limit.js
+lib/node_modules/npm/node_modules/call-limit/package.json
 lib/node_modules/npm/node_modules/chownr/LICENSE
 lib/node_modules/npm/node_modules/chownr/README.md



Home | Main Index | Thread Index | Old Index