Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Support esm in .js #91

Open
wants to merge 301 commits into
base: latest
Choose a base branch
from
Open

Support esm in .js #91

wants to merge 301 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 24, 2017

  1. meta: improve definition of a collaborator

    Expand definition of Collaborator to include individuals
    with commit access to any Node.js GitHub repository.
    
    Clarify the kinds of things that should be considered when
    considering inviting new collaborators
    
    PR-URL: nodejs/node#14981
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jasnell committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    52fe762 View commit details
    Browse the repository at this point in the history
  2. buffer: improve error messages

    Some errors in buffer module losed some arguments or received
    wrong arguments when they were created. This PR added these
    losing arguments and fixed the wrong arguments.
    
    PR-URL: nodejs/node#14975
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    starkwang authored and jasnell committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    9e0f771 View commit details
    Browse the repository at this point in the history
  3. doc: environmental->environment & NodeJS->Node.js

    PR-URL: nodejs/node#14974
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rvagg authored and jasnell committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    be4c984 View commit details
    Browse the repository at this point in the history
  4. test: remove unused function args

    PR-URL: nodejs/node#14971
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: David Cai <davidcai1993@yahoo.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Mohd Maqbool Alam authored and jasnell committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    9fc58af View commit details
    Browse the repository at this point in the history
  5. test: simplify test-tls-client-default-ciphers

    PR-URL: nodejs/node#14928
    Ref: nodejs/node#12376
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and jasnell committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    d86eb5c View commit details
    Browse the repository at this point in the history
  6. deps: cherry-pick e020aae394 from V8 upstream

    Original commit message:
    
        Work around glibc thread-local storage bug
    
        glibc before 2.17 has a bug that makes it impossible to execute
        binaries that have single-byte thread-local variables:
    
            % node --version
            node: error while loading shared libraries: cannot allocate
            memory in static TLS block
    
        Work around that by making the one instance in the V8 code base
        an int.
    
        See: https://sourceware.org/bugzilla/show_bug.cgi?id=14898
        See: nodesource/distributions#513
        See: nodejs/build#809
        Change-Id: Iefd8009100cd93e26cf8dc5dc03f2d622b423385
        Reviewed-on: https://chromium-review.googlesource.com/612351
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-by: Eric Holk <eholk@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#47400}
    
    PR-URL: nodejs/node#14913
    Ref: nodejs/build#809
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and jasnell committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    64f59be View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2017

  1. n-api: implement promise

    Promise is implemented as a pair of objects. `napi_create_promise()`
    returns both a JavaScript promise and a newly allocated "deferred" in
    its out-params. The deferred is linked to the promise such that the
    deferred can be passed to `napi_resolve_deferred()` or
    `napi_reject_deferred()` to reject/resolve the promise.
    
    `napi_is_promise()` can be used to check if a `napi_value` is a native
    promise - that is, a promise created by the underlying engine, rather
    than a pure JS implementation of a promise.
    
    PR-URL: nodejs/node#14365
    Fixes: nodejs/abi-stable-node#242
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Gabriel Schulhof committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    7efb8f7 View commit details
    Browse the repository at this point in the history
  2. doc: crypto.randomBytes does not block when async

    It may not return random bytes right away, but when called
    asynchronously it will not block.
    
    PR-URL: nodejs/node#14993
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    68321b5 View commit details
    Browse the repository at this point in the history
  3. doc: sort bottom-of-file dns markdown links

    PR-URL: nodejs/node#14992
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    6cdffb1 View commit details
    Browse the repository at this point in the history
  4. doc: threadpool size, and APIs using the pool

    Not knowing which APIs use libuv's threadpool can lead to surprising
    performance problems. Document the APIs, and also document
    UV_THREADPOOL_SIZE, which can be used to fix problems.
    
    PR-URL: nodejs/node#14995
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    sam-github committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    a1d34b3 View commit details
    Browse the repository at this point in the history
  5. console: improve console.group()

    Preserve indentation for multiline strings, objects that span multiple
    lines, etc.
    
    also make groupIndent non-enumerable
    
    Hide the internal `groupIndent` key a bit by making it non-enumerable
    and non-configurable.
    
    PR-URL: nodejs/node#14999
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Trott authored and jasnell committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    af11867 View commit details
    Browse the repository at this point in the history
  6. doc,stream: remove wrong remark on readable.read

    The returned chunk is *never* longer than `size`.
    
    PR-URL: nodejs/node#15014
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    jscissr authored and jasnell committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    8987ae8 View commit details
    Browse the repository at this point in the history
  7. http2: refactor error handling

    This changes the error handling model of ServerHttp2Stream,
    ServerHttp2Request and ServerHttp2Response.
    An 'error' emitted on ServerHttp2Stream will not go to
    'uncaughtException' anymore, but to the server 'streamError'.
    On the stream 'error', ServerHttp2Request will emit 'abort', while
    ServerHttp2Response would do nothing
    
    See: nodejs/node#14963
    
    PR-URL: nodejs/node#14991
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mcollina authored and jasnell committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    4ca8ff2 View commit details
    Browse the repository at this point in the history
  8. lib: remove circular reference

    PR-URL: nodejs/node#14885
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    9aa7093 View commit details
    Browse the repository at this point in the history
  9. benchmark: fix issues in dns benchmark

    The benchmark script for dns contained functions with args declared
    but never used. This fix removes those arguments from the function
    signatures.
    
    No test existed for the dns benchmark so one was added to the
    parallel suite.
    To improve performance the tests are limited to 1 invocation to a
    single endpoint.
    
    PR-URL: nodejs/node#14936
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    ian-perkins authored and BridgeAR committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    15ac1ea View commit details
    Browse the repository at this point in the history
  10. perf_hooks: mark as experimental

    PR-URL: nodejs/node#14997
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    jasnell committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    6db825a View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2017

  1. net: move debug statement

    This will allow `localAddress` to be properly set before writing
    debug output.
    
    PR-URL: nodejs/node#12616
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mscdex authored and BridgeAR committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    2154a3c View commit details
    Browse the repository at this point in the history
  2. test: pipe some error output if npm fails

    This test now prints out some child error output if the npm child proc
    fails, allowing us to debug easier.
    
    PR-URL: nodejs/node#12490
    Refs: nodejs/node#12480
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Fishrock123 authored and BridgeAR committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    99c478e View commit details
    Browse the repository at this point in the history
  3. Revert "http2: refactor error handling"

    This reverts commit 4ca8ff2.
    
    That commit was landed without a green CI and is failing on Windows.
    
    PR-URL: nodejs/node#15047
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    f912080 View commit details
    Browse the repository at this point in the history
  4. test: improve test-abort-uncaught-exception

    Add `SIGTRAP` to allowed signals (seen on PPC machines in CI).
    
    Improve message when assertion fails in test-abort-uncaught-exception by
    providing the signal name that was not expected.
    
    PR-URL: nodejs/node#14013
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    acdf558 View commit details
    Browse the repository at this point in the history
  5. test: improve test-abort-backtrace

    Improve error message by showing output when frames output does not meet
    expectations.
    
    Since we can't tell at runtime if we have the correct libc for
    backtraces, allow an empty backtrace and run the test on all platforms.
    
    PR-URL: nodejs/node#14013
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    df57d8b View commit details
    Browse the repository at this point in the history
  6. test: run abort tests

    Currently, tests in test/abort do not run in CI.
    
    This change configures the test runner to not write core files for abort
    tests and to run them.
    
    PR-URL: nodejs/node#14013
    Fixes: nodejs/node#14012
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott committed Aug 26, 2017
    Configuration menu
    Copy the full SHA
    70c775a View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2017

  1. errors: remove duplicated ERR_HTTP_INVALID_STATUS_CODE error

    PR-URL: nodejs/node#15003
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and hiroppy committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    0097794 View commit details
    Browse the repository at this point in the history
  2. tls: type checking for key, cert and ca options

    PR-URL: nodejs/node#14807
    Fixes: nodejs/node#12802
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jimmycann authored and BridgeAR committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    a7dccd0 View commit details
    Browse the repository at this point in the history
  3. doc: building - note on Windows SDK 15063

    PR-URL: nodejs/node#14394
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and BridgeAR committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    0babb12 View commit details
    Browse the repository at this point in the history
  4. tools: add custom private key option

    Add -i option for release.sh that allows users to specify
    non-default private key for ssh and scp commands.
    Change argument parsing to getopts.
    
    PR-URL: nodejs/node#14401
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    krydos authored and BridgeAR committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    237a42d View commit details
    Browse the repository at this point in the history
  5. timers: Migrate to use internal/errors

    PR-URL: nodejs/node#14659
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    starkwang authored and BridgeAR committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    4d893e0 View commit details
    Browse the repository at this point in the history
  6. http2: refactor error handling

    This changes the error handling model of ServerHttp2Stream,
    ServerHttp2Request and ServerHttp2Response.
    An 'error' emitted on ServerHttp2Stream will not go to
    'uncaughtException' anymore, but to the server 'streamError'.
    On the stream 'error', ServerHttp2Request will emit 'abort', while
    ServerHttp2Response would do nothing.
    It also updates respondWith* to the new error handling.
    
    Fixes: nodejs/node#14963
    PR-URL: nodejs/node#14991
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mcollina committed Aug 27, 2017
    Configuration menu
    Copy the full SHA
    53c5bf5 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2017

  1. test: continue normalizing fixtures use

    PR-URL: nodejs/node#14716
    Refs: nodejs/node#14332
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    maasencioh authored and BridgeAR committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    9a5c3cf View commit details
    Browse the repository at this point in the history
  2. doc: update configure to require g++ 4.9.4

    PR-URL: nodejs/node#14204
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Dave Olszewski authored and BridgeAR committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    79773f8 View commit details
    Browse the repository at this point in the history
  3. doc: add links to alternative versions of doc

    Each page of the API documentation should have links to other versions
    of the same page. This will make it easier to switch between the current
    "live" release at nodejs.org and LTS versions.
    
    PR-URL: nodejs/node#10958
    Fixes: nodejs/node#10726
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Chris Young authored and tniessen committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    cacce30 View commit details
    Browse the repository at this point in the history
  4. tools: fix linter error in html.js

    PR-URL: nodejs/node#15063
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    targos authored and hiroppy committed Aug 28, 2017
    Configuration menu
    Copy the full SHA
    7854562 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2017

  1. assert: handle sparse arrays in deepStrictEqual

    Detect sparse array ends and add a fail early path for
    unequal array length.
    
    PR-URL: nodejs/node#15027
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    BridgeAR committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    4381100 View commit details
    Browse the repository at this point in the history
  2. meta: considerations for new core modules

    PR-URL: nodejs/node#15022
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    397dbab View commit details
    Browse the repository at this point in the history
  3. doc: add 8.4.0 link to CHANGELOG.md

    PR-URL: nodejs/node#15064
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rus0000 authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    65c9537 View commit details
    Browse the repository at this point in the history
  4. perf_hooks: fix presumed typo in node_perf.cc

    PR-URL: nodejs/node#15019
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    095c946 View commit details
    Browse the repository at this point in the history
  5. build: fix indentation in node.gyp

    One line in node.gyp was indented using a mix of a tab and spaces,
    convert it to all spaces.
    
    PR-URL: nodejs/node#15051
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aqrln authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    689a643 View commit details
    Browse the repository at this point in the history
  6. meta: merge TSC and CTC back into a single body

    PR-URL: nodejs/node#14973
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    f3eb193 View commit details
    Browse the repository at this point in the history
  7. crypto: fix error of createCipher in wrap mode

    EVP_CIPHER_CTX_FLAG_WRAP_ALLOW flag needs to be set in using wrap mode
    ciphers. In `crypto.createCipher()`, AES key wrap mode does not use a
    default IV defined in RFC3394 but a generated IV with
    `EVP_BytesToKey()` to be consistent API behaviors with other ciphers.
    
    The built-in AES wrap mode in OpenSSL is not supported in FIPS mode as
    http://openssl.6102.n7.nabble.com/AES-Key-Wrap-in-FIPS-Mode-td50238.html
    so its tests in FIPS mode are skipped.
    
    Fixes: nodejs/node#15009
    PR-URL: nodejs/node#15037
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    shigeki committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    4218f19 View commit details
    Browse the repository at this point in the history
  8. deps: cherry-pick 0ef4a0c64b6 from c-ares upstream

    Original commit message:
    
      gethostbyaddr: fail with `ECANCELLED` for `ares_cancel()`
    
      When `ares_cancel()` was invoked, `ares_gethostbyaddr()`
      queries would fail with `ENOTFOUND` instead of `ECANCELLED`.
    
      It seems appropriate to treat `ares_cancel()` like `ares_destroy()`,
      but I would appreciate review of the correctness of this change.
    
      Ref: nodejs/node#14814
    
    Fixes: nodejs/node#14814
    
    PR-URL: nodejs/node#15023
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    a26be68 View commit details
    Browse the repository at this point in the history
  9. test: add regression test for 14814

    Ref: nodejs/node#14814
    
    PR-URL: nodejs/node#15023
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    5c0d64e View commit details
    Browse the repository at this point in the history
  10. test: fix hijackStdout behavior in console

    `console.log` and some other function will swallow the exception in
    `stdout.write`. So an asynchronous exception is needed, or
    `common.hijackStdout` won't detect some exception.
    
    Refs: https://github.com/nodejs/node/blob/v8.2.1/lib/console.js#L87
    
    PR-URL: nodejs/node#14647
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    XadillaX authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    1ffd01c View commit details
    Browse the repository at this point in the history
  11. doc: clarify http.get data consumption requirement

    With the previous wording, I read this sentence as meaning, "you
    _must_ use the http.get callback mechanism and cannot register a
    listener on the returned http.ClientRequest object." This is obviously
    not the intention, so adjust the sentence to make this clearer.
    
    PR-URL: nodejs/node#15049
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    strugee authored and jasnell committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    13927fd View commit details
    Browse the repository at this point in the history
  12. build: add npx to zip and 7z packages

    Copy npx and npx.cmd from `deps\npm\bin` for consistency with .msi
    package.
    
    PR-URL: nodejs/node#15033
    Refs: nodejs/node#14235
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau authored and BridgeAR committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    b46d596 View commit details
    Browse the repository at this point in the history
  13. test: increase coverage for http2 response headers

    Expanded an existing test for setting pseudo-headers on response to
    include all pseudo-headers, not just :status.
    
    PR-URL: nodejs/node#15035
    Refs: nodejs/node#14985
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and BridgeAR committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    3eb0297 View commit details
    Browse the repository at this point in the history
  14. test: remove unused param in test-graph.pipe

    Refs: https://twitter.com/NodeTodo/status/900502354834800645
    
    PR-URL: nodejs/node#15007
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ssbrewster authored and BridgeAR committed Aug 29, 2017
    Configuration menu
    Copy the full SHA
    5e443d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2017

  1. async_hooks: emitAfter correctly on fatalException

    Previously calling emitAfter() from _fatalException would skipt the
    first asyncId. Instead use the size() of the std::stack to determine how
    many times to loop and call emitAfter().
    
    PR-URL: nodejs/node#14914
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    trevnorris committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    244ada3 View commit details
    Browse the repository at this point in the history
  2. path: fix normalize on directories with two dots

    PR-URL: nodejs/node#14107
    Fixes: nodejs/node#14105
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    targos committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    b98e8d9 View commit details
    Browse the repository at this point in the history
  3. doc: remove braces which shouldn't be there

    PR-URL: nodejs/node#15094
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jscissr authored and jasnell committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    a80b162 View commit details
    Browse the repository at this point in the history
  4. test: increase coverage for internal/errors.js

    PR-URL: nodejs/node#15044
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    starkwang authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    44d4865 View commit details
    Browse the repository at this point in the history
  5. lib: clean up usage of threw

    Use try/catch to instead of threw.
    
    PR-URL: nodejs/node#10534
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    JacksonTian authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    67d792a View commit details
    Browse the repository at this point in the history
  6. tls: replace forEach with for

    PR-URL: nodejs/node#15053
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mscdex authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    5723c4c View commit details
    Browse the repository at this point in the history
  7. test: add http2 test for method CONNECT

    Adds test case for default handling of method CONNECT, as well
    as the ability to bind a connect listener and handle the request.
    
    PR-URL: nodejs/node#15052
    Refs: nodejs/node#14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    88441f6 View commit details
    Browse the repository at this point in the history
  8. test: add a test for Expect & checkExpectation

    New test case for Expect header & checkExpectation event based on the
    existing http test case.
    
    PR-URL: nodejs/node#15040
    Refs: nodejs/node#14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    apapirovski authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    6eeb06f View commit details
    Browse the repository at this point in the history
  9. tls: fix object prototype type confusion

    Use `Object.create(null)` for dictionary objects so that keys from
    certificate strings or the authorityInfoAccess field cannot conflict
    with Object.prototype properties.
    
    PR-URL: nodejs/node#14447
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bnoordhuis authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    0f7c06e View commit details
    Browse the repository at this point in the history
  10. http2: handle 100-continue flow & writeContinue

    Adds an implementation for writeContinue based on the h2 spec & the
    existing http implementation. ClientHttp2Stream now also emits
    a continue event when it receives headers with :status 100.
    Includes two test cases for default server continue behaviour and
    for the exposed checkContinue listener.
    
    PR-URL: nodejs/node#15039
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and jasnell committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    ad3d2ce View commit details
    Browse the repository at this point in the history
  11. doc: fix comment about http2.createSecureServer

    PR-URL: nodejs/node#15085
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    creeperyang authored and jasnell committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    4218afc View commit details
    Browse the repository at this point in the history
  12. n-api: adds function to adjust external memory

    Added a wrapper around
    v8::Isolate::AdjustAmountOfExternalAllocatedMemory
    
    PR-URL: nodejs/node#14310
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Fixes: nodejs/node#13928
    Chris Young authored and Benjamin Gruenbaum committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    c77e6d3 View commit details
    Browse the repository at this point in the history
  13. lib: remove the invalid command line options

    The option --remote_debugging_server and --debug-agent are
    not supported now.
    
    PR-URL: nodejs/node#13764
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    JacksonTian authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    9f175d1 View commit details
    Browse the repository at this point in the history
  14. build: add NetBSD support to opensslconf.h

    Simplify the BSD list by defining OPENSSL_BSD if using a matching
    BSD platform.
    Add NetBSD to the list and update documentation.
    
    PR-URL: nodejs/node#14313
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rsmarples authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    0b0c2ec View commit details
    Browse the repository at this point in the history
  15. doc: /s/SHASUM256/SHASUMS256

    As an example, `curl https://nodejs.org/dist/v8.4.0/SHASUM256.txt` will
    return a 404 right now.
    
    PR-URL: nodejs/node#15101
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    maclover7 authored and refack committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    676522f View commit details
    Browse the repository at this point in the history
  16. repl: remove REPLServer.createContext side effects

    The internal method `REPLServer.createContext()` had
    unexpected side effects. When called, the value for the
    `underscoreAssigned` and `lines` properties were reset.
    
    This change ensures that those properties are not modified
    when a context is created.
    
    Fixes: nodejs/node#14226
    Refs: nodejs/node#7619
    
    PR-URL: nodejs/node#14331
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lance committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    ed1ba45 View commit details
    Browse the repository at this point in the history
  17. tools: add eslint rule for hasCrypto checking

    The motivation for this commit is to pick up early on missing checks for
    crypto support (when Node is built --without-ssl).
    
    There are currently usages of common.hasCrypto which are not just for
    detecting if crypto support is available and then skip the test in
    question. For these case we still want to have a lint error generated
    which can then be disabled using an ESLint comment.
    
    PR-URL: nodejs/node#13813
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    danbev authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    50ebac1 View commit details
    Browse the repository at this point in the history
  18. tools: add eslint rule for inspector checking

    The motivation for this commit is to pick up early on missing checks for
    inspector support (when Node is built --without-inspector).
    
    PR-URL: nodejs/node#13813
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
    danbev authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    c7dda49 View commit details
    Browse the repository at this point in the history
  19. lib: simplify the readonly properties of icu

    Call Object.defineProperty() twice to set readonly property is
    unnecessary.
    
    PR-URL: nodejs/node#13221
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    JacksonTian authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    83a5eef View commit details
    Browse the repository at this point in the history
  20. util: remove duplicate code in format

    util.format contains an idential if statement within each branch
    of switch. Move it before the switch statement for cleaner code
    and better performance.
    
    PR-URL: nodejs/node#15098
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    apapirovski authored and BridgeAR committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    365c245 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2017

  1. module: mark DEP0019 as EOL and remove compat code

    This removes the compatibilty code that was in place to allow an unintended
    interaction between `require('.')` and `NODE_PATH`. The compatibility code and
    the accompanying deprecation warning has been in place since 2015-04-17.
    
    PR-URL: nodejs/node#3384
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    silverwind committed Aug 31, 2017
    Configuration menu
    Copy the full SHA
    a517466 View commit details
    Browse the repository at this point in the history
  2. errors: convert 'fs'

    covert lib/fs.js over to using lib/internal/errors.js
    i have not addressed the cases that use errnoException(),
    for reasons described in GH-12926
    
    - throw the ERR_INVALID_CALLBACK error
      when the the callback is invalid
    - replace the ['object', 'string'] with
      ['string', 'object'] in the error constructor call,
      to better match the previous err msg
      in the getOptions() function
    - add error ERR_VALUE_OUT_OF_RANGE in lib/internal/errors.js,
      this error is thrown when a numeric value is out of range
    - document the ERR_VALUE_OUT_OF_RANGE err in errors.md
    - correct the expected args, in the error thrown in the function
      fs._toUnixTimestamp() to ['Date', 'time in seconds'] (lib/fs.js)
    - update the listener error type in the fs.watchFile() function,
      from Error to TypeError (lib/fs.js)
    - update errors from ERR_INVALID_OPT_VALUE to ERR_INVALID_ARG_TYPE
      in the functions fs.ReadStream() and fs.WriteStream(),
      for the cases of range errors use the new error:
      ERR_VALUE_OUT_OF_RANGE (lib/fs.js)
    
    PR-URL: nodejs/node#15043
    Refs: nodejs/node#11273
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    matzavinos authored and refack committed Aug 31, 2017
    Configuration menu
    Copy the full SHA
    219932a View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2017

  1. assert: handle errors properly with deep*Equal

    PR-URL: nodejs/node#15001
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    204d94f View commit details
    Browse the repository at this point in the history
  2. test: split path tests into multiple files

    Create one file for testing each function of the path module.
    Keep general error tests and tests for constant properties in
    test-path.js.
    
    PR-URL: nodejs/node#15093
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    targos committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    2ef0f00 View commit details
    Browse the repository at this point in the history
  3. repl: force editorMode in .load

    The `.load` command would fail with any file that contains
    multiline `.` operator expressions. This was particularly
    noticeable when chaining promises or multi-line arrow
    expressions.
    
    This change Forces the REPL to be in `editorMode` while loading
    a file from disk using the `.load` command.
    
    Fixes: nodejs/node#14022
    
    PR-URL: nodejs/node#14861
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    lance committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    4bd44c1 View commit details
    Browse the repository at this point in the history
  4. src: remove unused persistent properties from env

    PR-URL: nodejs/node#15096
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    addaleax authored and jasnell committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    f91897e View commit details
    Browse the repository at this point in the history
  5. doc,lib,src,test: strip executable bits off files

    Remove the executable bits of the file modes of some files that
    accidentally received it.
    
    PR-URL: nodejs/node#15132
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and jasnell committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    dd52cad View commit details
    Browse the repository at this point in the history
  6. doc: readFileSync instead of fs.readFileSync

    The ALPN negotiation sample uses `fs.readFileSync` whereas
    `readFileSync` is imported into top level variable.
    
    PR-URL: nodejs/node#15137
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    miensol authored and refack committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    ec599b8 View commit details
    Browse the repository at this point in the history
  7. errors: alphabetize error codes

    PR-URL: nodejs/node#15083
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    maclover7 authored and refack committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    324aa64 View commit details
    Browse the repository at this point in the history
  8. errors,tools: alphabetize-errors lint rule

    To make sure errors in lib/internal/errors.js (are defined via `E`)
    will stay in alphabetical order going forward.
    
    PR-URL: nodejs/node#15083
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    maclover7 authored and refack committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    b12d779 View commit details
    Browse the repository at this point in the history
  9. buffer: increase coverage by removing dead code

    buffer.js:L196 `if (value == null)` guarantees `obj != null`
    so L406+L418 are unnecessary.
    
    PR-URL: nodejs/node#15100
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    decareano authored and refack committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    08984b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2017

  1. src: fix compiler warnings in node_perf.cc

    Currently, there are a few compiler warnings generated from node_perf.cc
    regarding unused return values:
    
    ../src/node_perf.cc:58:3: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
      env->performance_entry_callback()->Call(context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
    ../src/node_perf.cc:293:5: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
        obj->Set(context, idx, args[idx]);
        ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
    ../src/node_perf.cc:373:3: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
      target->DefineOwnProperty(context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
    ../src/node_perf.cc:378:3: warning: ignoring return value of function
    declared with warn_unused_result attribute [-Wunused-result]
      target->DefineOwnProperty(context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
    
    This commit add checks/casts to avoid the warnings.
    
    PR-URL: nodejs/node#15112
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    c7c9e20 View commit details
    Browse the repository at this point in the history
  2. test: fix flaky test-readline-interface

    Move test reliant on timer triggering in a timely fahion from parallel
    to sequential. The test can fail under high load when the timer is
    triggered too late and the `\r` and `\n` are treated as separate lines.
    
    PR-URL: nodejs/node#15066
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    d7200d6 View commit details
    Browse the repository at this point in the history
  3. net: check EADDRINUSE after binding localPort

    PR-URL: nodejs/node#15097
    Fixes: nodejs/node#15084
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    c419adf View commit details
    Browse the repository at this point in the history
  4. url: remove unused code from autoEscapeStr

    PR-URL: nodejs/node#15086
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cyril-lakech authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    ed084a0 View commit details
    Browse the repository at this point in the history
  5. test: remove envPlus, use Object.assign everywhere

    PR-URL: nodejs/node#14845
    Fixes: nodejs/node#14823
    Refs: nodejs/node#14822
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    gibfahn authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    180f865 View commit details
    Browse the repository at this point in the history
  6. tools: bump vswhere helper to 2.0.0

    * enable explicit detection of prerelease VS versions with
      `set VSWHERE_WITH_PRERELEASE=1`
    
    PR-URL: nodejs/node#14557
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    refack committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    98d8db3 View commit details
    Browse the repository at this point in the history
  7. test,process: run 'abort' suite on Windows

    PR-URL: nodejs/node#15056
    Fixes: nodejs/node#14012
    Refs: nodejs/node#14013
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    refack committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    233d1e2 View commit details
    Browse the repository at this point in the history
  8. test: increase Http2ServerResponse test coverage

    Modify existing header tests for Http2ServerResponse to include
    sendDate (get and set) and headersSent. Expand existing test
    for end to include a check for closed. Add a new test for destroy.
    
    PR-URL: nodejs/node#15074
    Refs: nodejs/node#14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    198fcb9 View commit details
    Browse the repository at this point in the history
  9. http2: adjust error types, test coverage

    Change error types emitted from request and validatePriorityOptions
    to be TypeError rather than the incorrect RangeError. Add tests
    to confirm that all errors are thrown as expected (weight, parent,
    exclusive, silent, endStream and getTrailers). Add test for method
    CONNECT throwing error on missing :authority or superfluous :scheme
    and :path.
    
    PR-URL: nodejs/node#15109
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    e289540 View commit details
    Browse the repository at this point in the history
  10. http2: correct emit error in onConnect, full tests

    Correct requestOnConnect to emit session error on
    NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE rather than stream error. Add full
    test suite for the error handling within requestOnConnect.
    
    PR-URL: nodejs/node#15080
    Refs: nodejs/node#14985
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and BridgeAR committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    8d5b013 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2017

  1. crypto: accept decimal Number in randomBytes

    This change adds the ability to pass a double into randomBytes.
    
    PR-URL: nodejs/node#15130
    Fixes: nodejs/node#15118
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Benjamin Gruenbaum committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    484bfa2 View commit details
    Browse the repository at this point in the history
  2. net: multiple listen() events fail silently

    Problem:
    It's possible to run listen()
      on a net.Server that's already listening to a port.
    The result is silent failure,
      with the side effect of changing the connectionKey and or pipeName.
    
    Solution:
      throw an error if listen method called more than once.
      close() method should be called between listen() method calls.
    
    Refs: nodejs/node#8294
    Fixes: nodejs/node#6190
    Fixes: nodejs/node#11685
    PR-URL: nodejs/node#13149
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    eduardbme authored and mcollina committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    b24e269 View commit details
    Browse the repository at this point in the history
  3. test: split test-cli-node-options

    * partitioning the subprocess groups
    * use `-e` instead of module
    * reduce maxBuffer
    
    PR-URL: nodejs/node#14195
    Fixes: nodejs/node#14191
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    refack committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    86e7c61 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2017

  1. vm: support parsing a script in a specific context

    PR-URL: nodejs/node#14888
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    TimothyGu committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    d932e80 View commit details
    Browse the repository at this point in the history
  2. doc: add missing changelogs to assert docs

    PR-URL: nodejs/node#15036
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    1789dcf View commit details
    Browse the repository at this point in the history
  3. assert: use SameValueZero in deepStrictEqual

    Comparing NaN will not throw anymore.
    
    PR-URL: nodejs/node#15036
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    BridgeAR committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    ea2e636 View commit details
    Browse the repository at this point in the history
  4. http2: guard against destroyed session, timeouts

    Guard against destroyed session in timeouts and goaway event.
    
    Improve timeout handling a bit.
    
    PR-URL: nodejs/node#15106
    Fixes: nodejs/node#14964
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    09480a8 View commit details
    Browse the repository at this point in the history
  5. test: http2 test coverage for updateOptionsBuffer

    PR-URL: nodejs/node#15105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    jasnell committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    425ce52 View commit details
    Browse the repository at this point in the history
  6. test: http2 test coverage for assertValidPseudoHeader

    PR-URL: nodejs/node#15105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    jasnell committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    2f9d9e5 View commit details
    Browse the repository at this point in the history
  7. test: http2 test coverage for NghttpError

    small test verifying that the NghttpError is as expected
    
    PR-URL: nodejs/node#15105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    jasnell committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    fd9d288 View commit details
    Browse the repository at this point in the history
  8. doc: clarify async/asynchronous in deprecations.md

    Change _async_ to _asynchronous_ in `deprecations.md` to avoid confusion
    with the `async` keyword. This has the additional minor benefit of being
    more formal and less conversational prose.
    
    PR-URL: nodejs/node#15172
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    a25c754 View commit details
    Browse the repository at this point in the history
  9. 2017-09-05, Version 6.11.3 'Boron' (LTS)

    This LTS release comes with 152 commits. This includes 75 which are
    test related, 25 which are doc related, 21 which are build / tool
    related and 3 commits which are updates to dependencies.
    
    Notable Changes:
    
    * build:
     - Codesigning is fixed on macOS (Evan Lucas)
       nodejs/node#14179
    * deps:
     - Snapshots are turned back on!!! (Yang Guo)
       nodejs/node#14385
    * path:
     - win32 volume-relative paths are working again! (Timothy Gu)
       nodejs/node#14440
    * tools:
     - v6.x can now build with ICU 59 (Steven R. Loomis)
       nodejs/node#12078
    
    PR-URL: nodejs/node#14852
    MylesBorins committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    dc7f03c View commit details
    Browse the repository at this point in the history
  10. tls: re-allow falsey option values

    5723c4c was an unintentional breaking change in that it changed
    the behaviour of `tls.createSecureContext()` to throw on false-y input
    rather than ignoring it. This breaks real-world applications like `npm`.
    
    This restores the previous behaviour.
    
    PR-URL: nodejs/node#15131
    Ref: nodejs/node#15053
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
    Reviewed-By: MichaëZasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    addaleax authored and mhdawson committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    1403d28 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2017

  1. deps: upgrade libuv to 1.14.1

    Fixes: nodejs/node#12737
    Fixes: nodejs/node#13581
    Fixes: nodejs/node#15117
    PR-URL: nodejs/node#14866
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig committed Sep 6, 2017
    Configuration menu
    Copy the full SHA
    8485a7c View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2017

  1. build: display HTTP2 configure --help options

    Currently the options available for HTTP2 are not displayed when running
    configure --help.
    
    This commit enables the following HTTP2 section to be included in the
    help output:
    
    HTTP2:
      Flags that allows you to control HTTP2 features in Node.js
    
      --debug-http2       build with http2 debug statements on (default is
                          false)
      --debug-nghttp2     build nghttp2 with DEBUGBUILD (default is false)
    
    PR-URL: nodejs/node#15198
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    343d9dc View commit details
    Browse the repository at this point in the history
  2. src: fix DEBUG_HTTP2 type arguments

    Currently when building using --debug-http2 there are a number of
    compilation errors like the following:
    
    In file included from ../src/node_http2.cc:3:
    In file included from ../src/node_http2.h:6:
    ../src/node_http2_core-inl.h:43:32: error: too few arguments to function
    call, single argument 'type'
          was not specified
                  handle->TypeName(), len, message);
    
    This commit adds the type argument to the calls.
    
    PR-URL: nodejs/node#15197
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    1df16c6 View commit details
    Browse the repository at this point in the history
  3. doc: instructions for generating coverage reports

    Add instructions for generating code coverage reports to BUILDING.md
    
    PR-URL: nodejs/node#15190
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ssbrewster authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    6e27fd7 View commit details
    Browse the repository at this point in the history
  4. test: refactor test-fs-readfile-unlink

    * Use tmp directory instead of mutating the fixtures directory.
    * Add comment explaining that the unlinkSync() at the end of the test is
      part of the test. Otherwise it may be tempting to remove it as
      unnecessary tmp directory cleanup.
    
    PR-URL: nodejs/node#15173
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    7487d61 View commit details
    Browse the repository at this point in the history
  5. http2: fix closedCode NaN, increase test coverage

    [kFinish](code) can be triggered from a 'finish' event (for example
    when calling response.end) which does not pass code. That tries to
    set closedCode to undefined resulting in NaN closedCode instead of
    NGHTTP2_NO_ERROR. Check for code !== undefined before setting.
    Adds tests for closed and closedCode.
    
    PR-URL: nodejs/node#15154
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    800c32d View commit details
    Browse the repository at this point in the history
  6. deps: cherry-pick 1aead19 from upstream V8

    Original commit message:
    
        Add postmortem metadata for thin strings.
    
        See: nodejs/llnode#117
        Change-Id: Icc2830c8e9096610df33ffdc2f89e74cb1b35662
        Reviewed-on: https://chromium-review.googlesource.com/618986
        Reviewed-by: Michael Achenbach <machenbach@chromium.org>
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Cr-Commit-Position: refs/heads/master@{#47778}
    
    PR-URL: nodejs/node#15184
    Ref: nodejs/llnode#117
    Ref: nodejs/llnode#121
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    ca78180 View commit details
    Browse the repository at this point in the history
  7. src: turn key length exception into CHECK

    This exception can logically never happen because of the key stretching
    that takes place first.  Failure must therefore be a bug in Node.js and
    not in the executing script.
    
    PR-URL: nodejs/node#15183
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    964beed View commit details
    Browse the repository at this point in the history
  8. doc: add options argument to crypto docs

    PR-URL: nodejs/node#14846
    Fixes: nodejs/node#14804
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    ashanhol authored and tniessen committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    4477155 View commit details
    Browse the repository at this point in the history
  9. http2: add compat trailers, adjust multi-headers

    Adds Http2ServerRequest trailers & rawTrailers functionality. Also fixes
    behaviour of multi-headers to conform with the spec (all values but
    set-cookie and cookie should be comma delimited, cookie should be
    semi-colon delimited and only set-cookie should be an array). Adds
    setter for statusMessage that warns, for backwards compatibility.
    End readable side of the stream on trailers or bodyless requests
    
    Refs: expressjs/express#3390 (comment)
    PR-URL: nodejs/node#15193
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and mcollina committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    6416464 View commit details
    Browse the repository at this point in the history
  10. http2: use session not socket timeout, tests

    Change default timeout to be tracked on the session instead
    of the socket, as nghttp2 manages the socket and we would
    need to maintain two sets of timeouts for similar purpose.
    Also fixes session setTimeout to work as it wasn't getting
    _unrefActive correctly (was called on the handle).
    
    Fixes: nodejs/node#15158
    PR-URL: nodejs/node#15188
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and mcollina committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    46133b5 View commit details
    Browse the repository at this point in the history
  11. module: Allow runMain to be ESM

    This follows the EPS an allows the node CLI to have ESM as an entry point.
    `node ./example.mjs`. A newer V8 is needed for `import()` so that is not
    included. `import.meta` is still in specification stage so that also is not
    included.
    
    PR-URL: nodejs/node#14369
    Author: Bradley Farias <bradley.meck@gmail.com>
    Author: Guy Bedford <guybedford@gmail.com>
    Author: Jan Krems <jan.krems@groupon.com>
    Author: Timothy Gu <timothygu99@gmail.com>
    Author: Michaël Zasso <targos@protonmail.com>
    Author: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    bmeck committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    c8a389e View commit details
    Browse the repository at this point in the history
  12. doc: describe what security issues are

    PR-URL: nodejs/node#14485
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    sam-github committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    7540821 View commit details
    Browse the repository at this point in the history
  13. inspector: log exceptions in message handlers

    Fixes: nodejs/node#14965
    PR-URL: nodejs/node#14980
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Eugene Ostroukhov committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    9bae3ea View commit details
    Browse the repository at this point in the history
  14. deps: cherry-pick 5005faed5 from V8 upstream

    Original commit message:
    
        [turbofan] Improve representation selection for type guard.
    
        This takes into account the type of the type guard when choosing
        representation for a node. To make the representation changes
        unambiguous, we pass the restricted type to the changer.
    
        BUG=chromium:726554
    
        Review-Url: https://codereview.chromium.org/2920193004
        Cr-Commit-Position: refs/heads/master@{#45734}
    
    PR-URL: nodejs/node#15177
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Miguel Martins authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    81b2a89 View commit details
    Browse the repository at this point in the history
  15. benchmark: add default configs to buffer benchmark

    Add default values to use for `type` and `method` in `buffer` benchmarks
    when the provided configuration value is an empty string. This is
    primarily useful for testing, so the test can request a single iteration
    without having to worry about providing different valid values for the
    different benchmarks.
    
    While making this change, some `var` instances in immediately
    surrounding code were changed to `const`. In some cases, `var` had been
    preserved so that the benchmarks would continue to run in versions of
    Node.js prior to 4.0.0. However, now that `const` has been introduced
    into the benchmark `common` module, the benchmarks will no longer run
    with those versions of Node.js anyway.
    
    PR-URL: nodejs/node#15175
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com
    Trott authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    b62343d View commit details
    Browse the repository at this point in the history
  16. test: add test-benchmark-buffer

    Add minimal test forbuffer benchmarks.
    
    PR-URL: nodejs/node#15175
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com
    Trott authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    19294c2 View commit details
    Browse the repository at this point in the history
  17. test: add http2 compat setTimeout tests

    Add tests for Http2ServerRequest and Http2ServerResponse setTimeout
    
    PR-URL: nodejs/node#15156
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    91dc507 View commit details
    Browse the repository at this point in the history
  18. http2: set decodeStrings to false, test

    Set writableStream decodeStrings to false to let the
    native layer handle converting strings to buffer.
    
    PR-URL: nodejs/node#15140
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and jasnell committed Sep 7, 2017
    Configuration menu
    Copy the full SHA
    2ffc8ac View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2017

  1. tls: multiple PFX in createSecureContext

    Add support for multiple PFX files in tls.createSecureContext.
    Also added support for object-style PFX pass.
    
    PR-URL: nodejs/node#14793
    Fixes: nodejs/node#14756
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    djphoenix authored and BridgeAR committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    372dc86 View commit details
    Browse the repository at this point in the history
  2. doc: document missing error codes

    There are discrepancies between the errors defined in
    `lib/internal/errors.js` and those documented in `doc/api/errors.md`.
    Some of the errors recently defined are not documented, while others
    were removed, but still have entries in the docs. This commit fills in
    those gaps in the documentation.
    
    PR-URL: nodejs/node#15160
    Fixes: nodejs/node#15038
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gnbezerra authored and BridgeAR committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    1cdb41f View commit details
    Browse the repository at this point in the history
  3. doc: document bytes to chars after setEncoding

    This commit documents and edge-case behavior in readable streams.
    It is expected that non-object streams are measured in bytes
    against the highWaterMark. However, it was discovered in issue
    thereafter begin to measure the buffer's length in characters.
    
    PR-URL: nodejs/node#13442
    Refs: nodejs/node#6798
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jalafel authored and BridgeAR committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    89f2074 View commit details
    Browse the repository at this point in the history
  4. doc, tls: mark parseCertString() as deprecated

    `tls.parseCertString()` was made public by mistack. So mark it as
    deprecated.
    
    PR-URL: nodejs/node#14245
    Refs: nodejs/node#14193
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    XadillaX authored and BridgeAR committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    703a3b5 View commit details
    Browse the repository at this point in the history
  5. test: use no-save and no-package-lock flags

    Use these flags when running make coverage so that a package-lock.json
    file is not generated and npm does not attempt to save the deps to a
    non-existent package.json file.
    
    PR-URL: nodejs/node#15196
    Refs: https://github.com/nodejs/node/pull/15190/files#r136932786
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ssbrewster authored and BridgeAR committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    9168b8c View commit details
    Browse the repository at this point in the history
  6. test: exclude write-coverage from coverage report

    Added a .nyrc configuration file that can be used to configure
    test coverage.
    
    Added an exclude rule that removes write-coverage.js from coverage
    reports.
    
    Pulled reporter configuration into .nycrc and added an additional
    text reporter.
    
    PR-URL: nodejs/node#15194
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Benjamin Coe authored and BridgeAR committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    e9442d1 View commit details
    Browse the repository at this point in the history
  7. doc: add ESM doc to _toc.md and all.md

    PR-URL: nodejs/node#15248
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    6281361 View commit details
    Browse the repository at this point in the history
  8. fs: add fs.copyFile{Sync}

    Fixes: nodejs/node#14906
    PR-URL: nodejs/node#15034
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    11b7428 View commit details
    Browse the repository at this point in the history
  9. promises: more robust stringification

    PR-URL: nodejs/node#13784
    Fixes: nodejs/node#13771
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    428bcb7 View commit details
    Browse the repository at this point in the history
  10. doc: add missing space in test/README.md

    PR-URL: nodejs/node#15278
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    aa76ce9 View commit details
    Browse the repository at this point in the history
  11. src: add support to pass flags to dlopen

    * add constants for dlopen flags, which are needed
      for dlopen's flag passing.
    
    * introduce an optional parameter for process.dlopen(),
      allowing to pass dlopen flags (using values from os.constants.dlopen).
    
    If no flags are passed, the default behavior is to load the library
    with RTLD_LAZY (perform lazy binding) and RTLD_LOCAL (symbols are
    available only locally).
    
    PR-URL: nodejs/node#12794
    Refs: nodejs/node#4105
    Refs: libuv/libuv#1331
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    ezequielgarcia authored and refack committed Sep 8, 2017
    Configuration menu
    Copy the full SHA
    5f22375 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2017

  1. doc: fix Error property markdown level

    Properties should be documented at same level as their constructor, as
    they are in the other API doc sections.
    
    PR-URL: nodejs/node#15247
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    sam-github authored and BridgeAR committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    c14ca49 View commit details
    Browse the repository at this point in the history
  2. timers: fix outdated comment

    PR-URL: nodejs/node#14314
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    timcosta authored and BridgeAR committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    a2b6872 View commit details
    Browse the repository at this point in the history
  3. test,doc: make module name match gyp target name

    Currently the nm_modname does not match the file name of the resulting
    module. In fact, the nm_modname is pretty arbitrary. This seeks to
    introduce some consistency into the nm_modname property by having the
    name of the module appear in exactly one place: the "target_name"
    property of the gyp target that builds the module.
    
    PR-URL: nodejs/node#15209
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Gabriel Schulhof committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    7828698 View commit details
    Browse the repository at this point in the history
  4. n-api: implement napi_run_script

    Fixes: nodejs/abi-stable-node#51
    PR-URL: nodejs/node#15216
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com
    Reviewed-By: James M Snell <jasnell.gmail.com>
    Reviewed-By: Michael Dawson <mhdawson@ca.ibm.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Gabriel Schulhof committed Sep 9, 2017
    Configuration menu
    Copy the full SHA
    61e9ba1 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2017

  1. intl: unexpose Intl.v8BreakIterator

    It was never an official Ecma-402 API, it is about to be superseded
    by `Intl.Segmenter` and it's prone to crash under some circumstances.
    
    Searches don't turn up any usage in the wild and the recommendation
    from the V8 team is to remove it.  Now seems like a good a time as
    any to do that.
    
    Fixes: nodejs/node#8865
    Fixes: nodejs/node#14909
    Refs: https://github.com/tc39/proposal-intl-segmenter
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/620755
    PR-URL: nodejs/node#15238
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and addaleax committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    668ad44 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2017

  1. test: kill subprocess only after last ACK

    * Add multiple comments.
    * Switch to a persistent fixture for subprocess.
    * Assert that `send` queue is drained.
    
    PR-URL: nodejs/node#15186
    Fixes: nodejs/node#15176
    Reviewed-By: James M Snell <jasnell@gmail.com>
    refack committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    94be2b1 View commit details
    Browse the repository at this point in the history
  2. http2: store headersSent after stream destroyed

    Store headersSent directly on response state after finish event
    is triggered, so that users can always access it.
    
    PR-URL: nodejs/node#15232
    Fixes: nodejs/node#15226
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    apapirovski authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    78fc726 View commit details
    Browse the repository at this point in the history
  3. http2: correct behaviour for enablePush unpack

    The only valid values for enablePush are 0 and 1. If validation
    is requested, we should verify that it wasn't set to another
    value rather than casting to Boolean regardless of value.
    
    PR-URL: nodejs/node#15167
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    c20901a View commit details
    Browse the repository at this point in the history
  4. http2: fix refs to status 205, add tests

    Fix references within http2 core to HTTP_STATUS_CONTENT_RESET to point
    to the correct HTTP_STATUS_RESET_CONTENT. Add tests for status 204,
    205 & 304 in respond, respondWithFD & respondWithFile. Add general
    error tests for respondWithFD & respondWithFile.
    
    PR-URL: nodejs/node#15153
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    apapirovski authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    45357d0 View commit details
    Browse the repository at this point in the history
  5. test: move common.PORT tests to sequential

    Reasons:
    
    - `test-async-wrap-getasyncid` binds a handle, so move to
      sequential because port cannot be already in use.
    - `test-dgram-implicit-bind-failure` requires a hardcoded
      port number to properly send socket packet.
    - `test-http-agent-uninitialized-with-handle` requires a
      hardcoded port number to properly send http request.
    - `test-http-agent-uninitialized` requires a hardcoded port
      number to properly send http request.
    - `test-net-localport` requires a hardcoded port number
      for assertions.
    
    In addition this replaces two common.PORTs with a dynamic port.
    
    PR-URL: nodejs/node#15151
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    af15b75 View commit details
    Browse the repository at this point in the history
  6. test: make test-http-agent-maxsockets robust

    On a slow/busy machine, `test-http-agent-maxsockets` can fail if the
    test takes longer than 5 seconds because that is the default value for
    `server.keepAliveTimeout`. Disable `keepAliveTimeout` to make the test
    robust.
    
    PR-URL: nodejs/node#15192
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    aa3b96a View commit details
    Browse the repository at this point in the history
  7. test: remove random timer in test-tls-fast-writing

    test-tls-fast-writing can fail on a heavily-loaded system due to an
    arbitrary 1-second timeout. Remove the arbitrary timeout.
    
    PR-URL: nodejs/node#15138
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    16a81cd View commit details
    Browse the repository at this point in the history
  8. buffer: improve Buffer.from performance

    Using == null in code paths that are expected to mostly receive
    objects, arrays or other more complex data types is not
    ideal because typecasting these types is very slow. Change
    to instead check === null || === undefined. Also move one
    variable assignment in fromString after an if condition
    that doesn't need it (and returns if truthy).
    
    PR-URL: nodejs/node#15178
    Refs: https://jsperf.com/triple-equals-vs-double-equals/3
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    apapirovski authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    fc1fa4e View commit details
    Browse the repository at this point in the history
  9. crypto: fix Node_SignFinal

    PR #11705 switched Node away from using using OpenSSL's legacy EVP_Sign*
    and EVP_Verify* APIs. Instead, it computes a hash normally via
    EVP_Digest* and then uses EVP_PKEY_sign and EVP_PKEY_verify to verify
    the hash directly. This change corrects two problems:
    
    1. The documentation still recommends the signature algorithm EVP_MD
       names of OpenSSL's legacy APIs. OpenSSL has since moved away from
       thosee, which is why ECDSA was strangely inconsistent. (This is why
       "ecdsa-with-SHA256" was missing.)
    
    2. Node_SignFinal copied some code from EVP_SignFinal's internals. This
       is problematic for OpenSSL 1.1.0 and is missing a critical check
       that prevents pkey->pkey.ptr from being cast to the wrong type.
    
    To resolve this, remove the non-EVP_PKEY_sign codepath. This codepath is
    no longer necessary. PR #11705's verify half was already assuming all
    EVP_PKEYs supported EVP_PKEY_sign and EVP_PKEY_verify. Also, in the
    documentation, point users towards using hash function names which are
    more consisent. This avoids an ECDSA special-case and some strangeness
    around RSA-PSS ("RSA-SHA256" is the OpenSSL name of the
    sha256WithRSAEncryption OID which is not used for RSA-PSS).
    
    PR-URL: nodejs/node#15024
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    davidben authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    6ebdb69 View commit details
    Browse the repository at this point in the history
  10. test: remove faulty test case

    PR-URL: nodejs/node#15110
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    f154c83 View commit details
    Browse the repository at this point in the history
  11. test: check inspect array with empty string key

    PR-URL: nodejs/node#15258
    Refs: nodejs/node#15159
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mrahul17 authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    21a3ae3 View commit details
    Browse the repository at this point in the history
  12. build: remove unused configuration variable

    `want_separate_host_toolset_mkpeephole` was removed when V8 was upgraded
    to version 5.9 in commit 3dc8c3b from June.
    
    PR-URL: nodejs/node#15266
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bnoordhuis authored and BridgeAR committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    c79fd2b View commit details
    Browse the repository at this point in the history
  13. test: create shared runBenchmark function

    Mostly shared/duplicated logic between all benchmark test files, so
    creating a new common module to store it.
    
    PR-URL: nodejs/node#15004
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    maclover7 authored and refack committed Sep 11, 2017
    Configuration menu
    Copy the full SHA
    640b206 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2017

  1. doc: adding sebdeckers to collaborators

    PR-URL: nodejs/node#15354
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    sebdeckers committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    210fc72 View commit details
    Browse the repository at this point in the history
  2. test: fix single test runner regression

    When ESM support was added it created a regression in the test runner
    that broke the ability to run individual tests. This commit
    re-introduces the use of `NormalizePath` which fixes the regression
    in the test runner
    
    Refs: nodejs/node#15300
    PR-URL: nodejs/node#15329
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    TimothyGu authored and MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    cb44cd4 View commit details
    Browse the repository at this point in the history
  3. doc: update AUTHORS list

    Update AUTHORS list using tools/update-authors.sh.
    Update .mailmap to handle duplicates.
    
    PR-URL: nodejs/node#15181
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    3f7813b View commit details
    Browse the repository at this point in the history
  4. errors: eliminate circular dependency on assert

    PR-URL: nodejs/node#15002
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    jasnell committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6ff521b View commit details
    Browse the repository at this point in the history
  5. test: improve process warning coverage

    PR-URL: nodejs/node#15212
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jasnell committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    8c2eba0 View commit details
    Browse the repository at this point in the history
  6. meta: allow vague objections to be dismissed

    Explicitly allow vague objections to change requests to
    be dismissed if requests for clarification go unanswered
    
    PR-URL: nodejs/node#15233
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    jasnell committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    2510500 View commit details
    Browse the repository at this point in the history
  7. errors: fix ERR_MODULE_RESOLUTION_LEGACY message

    PR-URL: nodejs/node#15290
    Refs: nodejs/node#14369
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    6ccb9fe View commit details
    Browse the repository at this point in the history
  8. doc: fix some internal links

    PR-URL: nodejs/node#15293
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    vsemozhetbyt committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    da057db View commit details
    Browse the repository at this point in the history
  9. http2: cleanup of h2 compat layer, add tests

    Remove unnecessary variable assignments, remove unreachable code
    pathways, remove path getter and setter, and other very minor
    cleanup. Only remove reference to stream on nextTick so that
    users and libraries can access it in the finish event.
    
    Fixes: nodejs/node#15313
    Refs: expressjs/express#3390
    PR-URL: nodejs/node#15254
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and mcollina committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    c981483 View commit details
    Browse the repository at this point in the history
  10. 2017-09-12, Version 8.5.0 (Current)

    Notable Changes
    
    * build:
      * Snapshots are now re-enabled in V8
      nodejs/node#14875
    
    * console:
      * Implement minimal `console.group()`.
      nodejs/node#14910
    
    * deps:
      * upgrade libuv to 1.14.1
        nodejs/node#14866
      * update nghttp2 to v1.25.0
        nodejs/node#14955
    
    * dns:
      * Add `verbatim` option to dns.lookup(). When true, results from the
        DNS resolver are passed on as-is, without the reshuffling that
        Node.js otherwise does that puts IPv4 addresses before IPv6
        addresses.
        nodejs/node#14731
    
    * fs:
      * add fs.copyFile and fs.copyFileSync which allows for more efficient
        copying of files.
        nodejs/node#15034
    
    * inspector:
      * Enable async stack traces
        nodejs/node#13870
    
    * module:
      * Add support for ESM. This is currently behind the
        `--experimental-modules` flag and requires the .mjs extension.
        `node --experimental-modules index.mjs`
        nodejs/node#14369
    
    * napi:
      * implement promise
        nodejs/node#14365
    
    * os:
      * Add support for CIDR notation to the output of the
        networkInterfaces() method.
        nodejs/node#14307
    
    * perf_hooks:
      * An initial implementation of the Performance Timing API for
        Node.js. This is the same Performance Timing API implemented by
        modern browsers with a number of Node.js specific properties. The
        User Timing mark() and measure() APIs are implemented, as is a
        Node.js specific flavor of the Frame Timing for measuring event
        loop duration.
        nodejs/node#14680
    
    * tls:
      * multiple PFX in createSecureContext
        [#14793](nodejs/node#14793)
    
    * Added new collaborators:
      * BridgeAR – Ruben Bridgewater
    
    PR-URL: nodejs/node#15308
    MylesBorins committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    a10856a View commit details
    Browse the repository at this point in the history
  11. assert: support custom errors

    This commit adds special handling of Error instances when passed
    as the message argument to assert functions. With this commit,
    if an Error is passed as the message, then that Error is thrown
    instead of an AssertionError.
    
    PR-URL: nodejs/node#15304
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    geek authored and cjihrig committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    e13d1df View commit details
    Browse the repository at this point in the history
  12. assert: fix boxed primitives in deepStrictEqual

    Unbox all primitives and compare them as well instead of
    only comparing boxed strings.
    
    PR-URL: nodejs/node#15050
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    BridgeAR committed Sep 12, 2017
    Configuration menu
    Copy the full SHA
    22ae8c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2017

  1. doc: update README with SHASUMS256.txt.sig info

    It is more secure to verify SHASUMS256.txt files via SHASUMS256.txt.sig
    than SHASUMS256.txt.asc.
    
    This comment does the best job at explaining the issue:
      nodejs/node#6821 (comment)
    
    Refer: nodejs/node#6821
    Refer: nodejs/node#9071
    PR-URL: nodejs/node#15107
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    maclover7 authored and rvagg committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    c1fce1e View commit details
    Browse the repository at this point in the history
  2. n-api: stop creating references to primitives

    The binding testing napi_wrap() creates references to primitives passed
    into the binding in its second parameter. This is unnecessary and not
    at all the point of the test. Additionally, creating persistent
    references to primitive values may not be supported by all VMs, since
    primitives are best persisted in their native form.
    
    Instead, the point of the test is to make sure that the finalize
    callback gets called when it should get called, that it gets called
    with the correct pointer, and that it does not get called when it
    should not get called. Creating persistent references is not necessary
    for verifying this.
    
    PR-URL: nodejs/node#15289
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Re: nodejs/node-chakracore#380
    Gabriel Schulhof committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    cb94905 View commit details
    Browse the repository at this point in the history
  3. doc: fix nits in esm.md

    * Fix some abbreviated wording, a typo and a link.
    * Wrap long lines at 80 characters.
    
    PR-URL: nodejs/node#15315
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    vsemozhetbyt committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    b4b7ac6 View commit details
    Browse the repository at this point in the history
  4. deps: update V8 to 6.1.534.36

    PR-URL: nodejs/node#14730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    targos authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    d82e107 View commit details
    Browse the repository at this point in the history
  5. src: update NODE_MODULE_VERSION to 58

    Major V8 updates are usually API/ABI incompatible with previous
    versions. This commit adapts NODE_MODULE_VERSION for V8 6.1.
    
    Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
    PR-URL: nodejs/node#14730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    targos authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    ddc16e5 View commit details
    Browse the repository at this point in the history
  6. deps: limit regress/regress-crbug-514081 v8 test

    regress/regress-crbug-514081 allocates a 2G block of memory
    and if there  are multiple variants running at the
    same time this can lead to crashes, OOM kills or
    the OS failing to allocate memory.  This patch
    limits us to running a single variant of the test
    
    Fixes: nodejs/node#6340
    PR-URL: nodejs/node#6678
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    mhdawson authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    c6e165b View commit details
    Browse the repository at this point in the history
  7. deps: fix addons compilation with VS2013

    VS2013 does not support defaulting move constructor and assignment
    operator. This adds explicit definitions of those methods for two
    classes.
    This fix is required because we still support building addons with
    VS2013 and the incompatibility is in v8.h.
    
    Fixes: nodejs/node-v8#4
    
    PR-URL: nodejs/node#13263
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    bzoz authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    694ef89 View commit details
    Browse the repository at this point in the history
  8. deps: cherry-pick f19b889 from upstream V8

    Original commit message:
    
        [inspector] support for cases when embedder doesn't call contextDestroyed
    
        Node.js doesn't have good place to call contextDestroyed.
        We need to cleanup everything on our side to allow clients to not call
        contextDestroyed method.
    
        R=dgozman@chromium.org,eostroukhov@chromium.com
    
        Bug: none
        Change-Id: Ibe3f01fd18afbfa579e5db66ab6f174d5fad7c82
        Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
        Reviewed-on: https://chromium-review.googlesource.com/575519
        Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
        Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
        Cr-Original-Commit-Position: refs/heads/master@{#46849}
        Reviewed-on: https://chromium-review.googlesource.com/596549
        Cr-Commit-Position: refs/heads/master@{#47060}
    
    PR-URL: nodejs/node#14730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    targos authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    e202d85 View commit details
    Browse the repository at this point in the history
  9. deps: backport 6e9e2e5 from upstream V8

    Original commit message:
    
      [heap] Move SweeperTask to CancelableTask
      This mitigates the problem of blocking on the main thread when the
      platform is unable to execute background tasks in a timely manner.
    
      Bug: v8:6655
      Change-Id: Icdaae744ee73146b86b9a28c8035138746721971
      Reviewed-on: https://chromium-review.googlesource.com/595467
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47036}
    
    PR-URL: nodejs/node#14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    e1c37b3 View commit details
    Browse the repository at this point in the history
  10. deps: backport bca8409 from upstream V8

    Original commit message:
    
      Make CancelableTask ids unique
      They were only limited to 32 bit when using the internal Hashmap. Since
      this has changed alreay some time ago, we can switch to 64 bit ids and
      check that we never overflow.
    
      Bug:
      Change-Id: Ia6c6d02d6b5e555c6941185a79427dc4aa2a1d62
      Reviewed-on: https://chromium-review.googlesource.com/598229
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47085}
    
    PR-URL: nodejs/node#14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    5976e0f View commit details
    Browse the repository at this point in the history
  11. deps: backport f9c4b7a from upstream V8

    Original commit message:
    
      [heap] Move UnmapFreeMemoryTask to CancelableTask
      This mitigates the problem of blocking on the main thread when the
      platform is unable to execute background tasks in a timely manner.
    
      Bug: v8:6671
      Change-Id: I741d4b7594e8d62721dad32cbfb19551ffacd0c3
      Reviewed-on: https://chromium-review.googlesource.com/599528
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47126}
    
    PR-URL: nodejs/node#14001
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Matt Loring authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    e55b7f3 View commit details
    Browse the repository at this point in the history
  12. deps: cherry-pick e020aae394 from V8 upstream

    Original commit message:
    
        Work around glibc thread-local storage bug
    
        glibc before 2.17 has a bug that makes it impossible to execute
        binaries that have single-byte thread-local variables:
    
            % node --version
            node: error while loading shared libraries: cannot allocate
            memory in static TLS block
    
        Work around that by making the one instance in the V8 code base
        an int.
    
        See: https://sourceware.org/bugzilla/show_bug.cgi?id=14898
        See: nodesource/distributions#513
        See: nodejs/build#809
        Change-Id: Iefd8009100cd93e26cf8dc5dc03f2d622b423385
        Reviewed-on: https://chromium-review.googlesource.com/612351
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-by: Eric Holk <eholk@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#47400}
    
    PR-URL: nodejs/node#14913
    Ref: nodejs/build#809
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    bd6907b View commit details
    Browse the repository at this point in the history
  13. deps: cherry-pick 1aead19 from upstream V8

    Original commit message:
    
        Add postmortem metadata for thin strings.
    
        See: nodejs/llnode#117
        Change-Id: Icc2830c8e9096610df33ffdc2f89e74cb1b35662
        Reviewed-on: https://chromium-review.googlesource.com/618986
        Reviewed-by: Michael Achenbach <machenbach@chromium.org>
        Commit-Queue: Ben Noordhuis <info@bnoordhuis.nl>
        Cr-Commit-Position: refs/heads/master@{#47778}
    
    PR-URL: nodejs/node#15184
    Ref: nodejs/llnode#117
    Ref: nodejs/llnode#121
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    9c3182e View commit details
    Browse the repository at this point in the history
  14. deps: add postmortem metadata for V8 TurboFan

    Refs: nodejs/llnode#130
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/650746
    PR-URL: nodejs/node#14730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    targos authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    31ce2c1 View commit details
    Browse the repository at this point in the history
  15. src: fix SmartOS compilation

    Refs: nodejs/node-v8#8
    PR-URL: nodejs/node#14730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    targos authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    dc1996d View commit details
    Browse the repository at this point in the history
  16. test: adjust windows failed alloc test to V8 6.2

    PR-URL: nodejs/node#14730
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    bzoz authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    fca7e49 View commit details
    Browse the repository at this point in the history
  17. dgram: support for setting socket buffer size

    * setRecvBufferSize(int) and setSendBufferSize(int)
    * added docs for send/receive buffer sizes
    * Added options support to set buffer sizes in
      dgram.createSocket().
    
    PR-URL: nodejs/node#13623
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    DamienOReilly authored and refack committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    2ac7b43 View commit details
    Browse the repository at this point in the history
  18. http2,async-wrap: introduce AliasedBuffer class

    This change introduces an AliasedBuffer class and updates asytnc-wrap
    and http2 to use this class.
    
    A common technique to optimize performance is to create a native buffer
    and then map that native buffer to user space via JS array.  The runtime
    can efficiently write to the native buffer without having to route
    though JS, and the values being written are accessible from user space.
    
    While efficient, this technique allows modifications to user
    space memory w/out going through JS type system APIs, effectively
    bypassing any monitoring the JS VM has in place to track program state
    modifications.  The result is that monitors have an incorrect view
    of prorgram state.
    
    The AliasedBuffer class provides a future placeholder where this
    technique can be used, but writes can still be observed.  To achieve
    this, the node-chakra-core fork will add in appropriate tracking logic
    in the AliasedBuffer's SetValue() method. Going forward, this class can
    evolve to support more sophisticated mechanisms if necessary.
    
    PR-URL: nodejs/node#15077
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Mike Kaufman authored and addaleax committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    35a526c View commit details
    Browse the repository at this point in the history
  19. doc: fix "added in" for Buffer.allocUnsafeSlow()

    PR-URL: nodejs/node#15330
    Fixes: nodejs/node#15279
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tuananh authored and vsemozhetbyt committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    0dad97c View commit details
    Browse the repository at this point in the history
  20. http2: add tests for push stream error handling

    Add tests that cover errors for wrong arguments, as well as
    tests for error codes from nghttp2. Fix pushStream to emit
    NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE on session rather than
    stream.
    
    PR-URL: nodejs/node#15281
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and mcollina committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    1aca135 View commit details
    Browse the repository at this point in the history
  21. src: remove unused perf_hooks uv handles

    A couple of unused uv handles were accidentally left
    in env.
    
    PR-URL: nodejs/node#15368
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    jasnell committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    dcc41fd View commit details
    Browse the repository at this point in the history
  22. http2: improve http2 coverage

    Improve http2 coverage through refactoring and tests
    
    PR-URL: nodejs/node#15210
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    ad3d899 View commit details
    Browse the repository at this point in the history
  23. http2: custom promisify for http2.connect

    ... and some other cleanups
    
    PR-URL: nodejs/node#15207
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    9d9552f View commit details
    Browse the repository at this point in the history
  24. meta: improve contributors guide

    PR-URL: nodejs/node#15123
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    jasnell committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    bf1ca8f View commit details
    Browse the repository at this point in the history
  25. doc: add missing heading for error

    PR-URL: nodejs/node#15325
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    maclover7 authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    f68ab39 View commit details
    Browse the repository at this point in the history
  26. tls: deprecate parseCertString & move to internal

    `tls.parseCertString()` exposed by accident. Now move this function to
    `internal/tls` and mark the original one as deprecated.
    
    PR-URL: nodejs/node#14249
    Refs: nodejs/node#14193
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    XadillaX authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    468110b View commit details
    Browse the repository at this point in the history
  27. string_decoder: Migrate to use internal/errors

    PR-URL: nodejs/node#14682
    Refs: nodejs/node#11273
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    starkwang authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    eb4940e View commit details
    Browse the repository at this point in the history
  28. doc: add missing doc for readable._destroy

    PR-URL: nodejs/node#15316
    Fixes: nodejs/node#15291
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    99a7799 View commit details
    Browse the repository at this point in the history
  29. test: fix sequential/test-async-wrap-getasyncid

    Previously, this test would contain a DNS query that timed out
    after 60 seconds, thus occupying one of the parallel test slots
    for that period.
    
    Fix that by creating a new channel for that request, and cancelling
    it immediately.
    
    PR-URL: nodejs/node#15319
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    5ee2d3e View commit details
    Browse the repository at this point in the history
  30. test: refactor test-debug-prompt

    * Use cleaner `process.stdin.write('.exit')` to exit the process rather
      than `proc.kill()`.
    * Move test to sequential. It uses the default port 9229. It will fail
      if another inspector test (or test using port 0) is already using that
      port. So it needs to be run sequentially rather than in parallel with
      other tests. (We haven't seen many failures with it yet because there
      aren't a lot of other inspector tests in parallel at this time.)
    
    PR-URL: nodejs/node#15141
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    a172b7c View commit details
    Browse the repository at this point in the history
  31. test: remove invalid test

    `test/known_issues/test-stdout-buffer-flush-on-exit.js` is invalid. The
    behavior seen currently (with the test failing) is in accordance with
    documentation which indicates that calling `process.exit()` may mean
    scheduled asynchronous I/O does not happen. The documentation also
    indicates that `process.stdout` is asynchronous when it is a POSIX pipe.
    
    PR-URL: nodejs/node#15320
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    6cfd773 View commit details
    Browse the repository at this point in the history
  32. doc: use consistent terminology in process doc

    `process.md` uses `POSIX` in most places, but `Unix` (and in one case
    `Linux`) in a handful of cases where `POSIX` is appropriate. Change
    those instances to `POSIX`.
    
    PR-URL: nodejs/node#15321
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    ff16337 View commit details
    Browse the repository at this point in the history
  33. test: remove obsolete debugger tests

    The tests in `test/debugger` all fail since the removal of the
    pre-inspector debugger (if they weren't already failing). They do not
    run in CI (probably because they were never reliable). Remove them and
    associated fixtures.
    
    PR-URL: nodejs/node#15139
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and BridgeAR committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    d38e643 View commit details
    Browse the repository at this point in the history
  34. test: allow adding known-globals through ENV

    PR-URL: nodejs/node#15187
    Refs: https://youtrack.jetbrains.com/issue/WEB-27528
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Timothy Gu <timothygu99@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    b8d532c View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2017

  1. child_process: set shell to false in fork()

    This commit ensures that spawn()'s shell option is unconditionally
    set to false when fork() is called.
    
    Refs: nodejs/node#15299
    Fixes: nodejs/node#13983
    PR-URL: nodejs/node#15352
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Alex Gresnel authored and cjihrig committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    ed2f347 View commit details
    Browse the repository at this point in the history
  2. test: add test for fork() + shell

    This commit verifies that the child_process fork() method does
    not honor the shell option.
    
    Refs: nodejs/node#15299
    PR-URL: nodejs/node#15352
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    688765a View commit details
    Browse the repository at this point in the history
  3. docs: update 8.5.0 changelog

    The original changelog included incorrect information regarding
    the new perf_hooks api.
    
    refs: nodejs/node#15308 (comment)
    
    PR-URL: nodejs/node#15384
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MylesBorins committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    cba206f View commit details
    Browse the repository at this point in the history
  4. dgram: added setMulticastInterface()

    Add wrapper for uv's uv_udp_set_multicast_interface which provides the
    sender side mechanism to explicitly select an interface. The
    equivalent receiver side mechanism is the optional 2nd argument of
    addMembership().
    
    PR-URL: nodejs/node#7855
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    lostnet authored and mcollina committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    4ae0afb View commit details
    Browse the repository at this point in the history
  5. src: refactor #include handling

    `node_internals.h` already includes the most common headers,
    so double includes can be avoided in a lot of cases. Also don’t include
    `node_internals.h` from `node.h` implicitly anymore, as that is mostly
    unnecessary.
    
    PR-URL: nodejs/node#14697
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    290315a View commit details
    Browse the repository at this point in the history
  6. src: make in_makecallback() getter const

    PR-URL: nodejs/node#14697
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    be6d807 View commit details
    Browse the repository at this point in the history
  7. src: refactor async callback handling

    - Merge the two almost-but-not-quite identical `MakeCallback()`
      implementations
    - Provide a public `CallbackScope` class for embedders in order
      to enable `MakeCallback()`-like behaviour without tying that
      to calling a JS function
    
    PR-URL: nodejs/node#14697
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    64616bb View commit details
    Browse the repository at this point in the history
  8. src: remove virtually unused ExecScope

    PR-URL: nodejs/node#14697
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    a564c1e View commit details
    Browse the repository at this point in the history
  9. n-api: use AsyncResource for Work tracking

    Enable combining N-API async work with async-hooks.
    
    PR-URL: nodejs/node#14697
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: Michael Dawson <mhdawson@ibm.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    8c8c90b View commit details
    Browse the repository at this point in the history
  10. test: add regression test for 5691

    With `CallbackScope`, this has become possible to do properly.
    
    Fixes: nodejs/node#5691
    PR-URL: nodejs/node#14697
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    bdaa2cb View commit details
    Browse the repository at this point in the history
  11. src: move DomainEnter,DomainExit to node.cc

    PR-URL: nodejs/node#14697
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    2509c34 View commit details
    Browse the repository at this point in the history
  12. n-api: change async resource name to napi_value

    PR-URL: nodejs/node#14697
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasongin authored and addaleax committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    1a0727d View commit details
    Browse the repository at this point in the history
  13. test: convert buffer benchmark to runBenchmark

    PR-URL: nodejs/node#15349
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    maclover7 authored and jasnell committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    7456db9 View commit details
    Browse the repository at this point in the history
  14. src: fix typo in probe description

    This fixes a typo in a probe description added in
    dc1996d.
    
    PR-URL: nodejs/node#15397
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    evanlucas authored and jasnell committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    d195a06 View commit details
    Browse the repository at this point in the history
  15. n-api: refactor napi_addon_register_func

    As per discussion in abi-stable-node:
    nodejs/abi-stable-node#256,
    take a refactor to napi_addon_register_func such that
    the result from the register function is assigned to
    the module exports property. By making this change,
    native module can be agnostic about which type of
    module the environment supports.
    
    PR-URL: nodejs/node#15088
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
    boingoing authored and mhdawson committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    92e5f5c View commit details
    Browse the repository at this point in the history
  16. n-api: Context for custom async operations

     - Add napi_async_context opaque pointer type.
       (If needed, we could later add APIs for getting the async IDs
       out of this context.)
     - Add napi_async_init() and napi_async_destroy() APIs.
     - Add async_context parameter to napi_make_callback().
     - Add code and checks to test_make_callback to validate async context
       APIs by checking async hooks are called with correct context.
     - Update API documentation.
    
    PR-URL: nodejs/node#15189
    Fixes: nodejs/node#13254
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jasongin authored and mhdawson committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    0c258bd View commit details
    Browse the repository at this point in the history
  17. n-api: napi_is_construct_call->napi_get_new_target

    Remove napi_is_construct_call and introduce napi_get_new_target.
    
    PR-URL: nodejs/node#14698
    Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Sampson Gao authored and mhdawson committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    973c12f View commit details
    Browse the repository at this point in the history
  18. errors: remove duplicate error definition

    Also fixes error being (now!) properly thrown by alphabetize-errors.
    
    also properly enable lint rule
    
    Was not using proper magic comment syntax before!
    
    -URL: nodejs/node#15307
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    maclover7 authored and jasnell committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    e9358af View commit details
    Browse the repository at this point in the history
  19. test: move test-benchmark-buffer to sequential

    `test-benchmark-buffer` has been observed to timeout on CI on SmartOS.
    Move the test to `sequential` so it is not competing with other tests
    for resources.
    
    PR-URL: nodejs/node#15373
    Fixes: nodejs/node#15372
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Sep 14, 2017
    Configuration menu
    Copy the full SHA
    082c434 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2017

  1. benchmark: improve and add more inspect benchmarks

    PR-URL: nodejs/node#14881
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    6bfc439 View commit details
    Browse the repository at this point in the history
  2. util: add fast internal array join method

    PR-URL: nodejs/node#14881
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    01652cc View commit details
    Browse the repository at this point in the history
  3. util: refactor inspect for performance and more

    The main optimizations are
    - Removed visibleKeys
    - Removed proxy cache
    - Removed Object.assign
    - No key concatenating anymore
    - No key recalculating anymore
    - Improved indentation logic
    - Improved string escape logic
    - Added many fast paths
    - Optimized code branches a lot
    - Optimized (boxed) primitive handling
    - Inline code if possible
    - Only check extra keys if necessary
    - Guard against unnecessary more expensive calls
    
    This also fixes a bug with special array number keys as e.g. "00".
    
    Besides that there were lots of smaller optimizations, the
    code got a bit cleaned up and a few more tests got in.
    
    PR-URL: nodejs/node#14881
    Fixes: nodejs/node#15288
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    f9ad23d View commit details
    Browse the repository at this point in the history
  4. util: fix out of bounds indices in util.inspect

    This fixes a issue brought up in #15288.
    
    PR-URL: nodejs/node#14881
    Refs: nodejs/node#15288
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    bac313b View commit details
    Browse the repository at this point in the history
  5. test: improve util inspect tests

    Remove unnecessary code parts and outdated code
    
    PR-URL: nodejs/node#14881
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    e3f4305 View commit details
    Browse the repository at this point in the history
  6. test: fix actual and expected order

    In addition use the newer common.expectsError version.
    
    PR-URL: nodejs/node#14881
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    8f52ccc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6f617b3 View commit details
    Browse the repository at this point in the history
  8. async_hooks,doc: some async_hooks improvements

    Update docs and type checking for AsyncResource type
    
    PR-URL: nodejs/node#15103
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trevor Norris <trev.norris@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    d8a0364 View commit details
    Browse the repository at this point in the history
  9. doc: fix emitKeypressEvents stream type

    PR-URL: nodejs/node#15399
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Oblosys authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    8bd1668 View commit details
    Browse the repository at this point in the history
  10. doc: fix wrong history entry in deepStrictEqual

    PR-URL: nodejs/node#15381
    Fixes: nodejs/node#15379
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    hisener authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    a591610 View commit details
    Browse the repository at this point in the history
  11. module: check file url passed to top-level import

    Fixes: nodejs/node#15374
    PR-URL: nodejs/node#15389
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    guybedford authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    dce72c2 View commit details
    Browse the repository at this point in the history
  12. deps: cherry-pick b6158eb6befae from V8 upstream

    Original commit message:
    
        [heap] Move gc callbacks from List to std::vector
    
        Bug: v8:6333
        Change-Id: I4434c6cc59f886f1e37dfd315a3ad5fee28d3f63
        Reviewed-on: https://chromium-review.googlesource.com/634907
        Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
        Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#47601}
    
    PR-URL: nodejs/node#15391
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    01a1812 View commit details
    Browse the repository at this point in the history
  13. deps: cherry-pick 9b21865822243 from V8 upstream

    Original commit message:
    
        [api] Add optional data pointer to GC callbacks
    
        This can be useful when there may be multiple callbacks attached by
        code that's not directly tied to a single isolate, e.g. working
        on a per-context basis.
    
        This also allows rephrasing the global non-isolate APIs in terms
        of this new API, rather than working around it inside `src/heap`.
    
        TBR=hpayer@chromium.org
    
        Bug:
        Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
        Change-Id: I2e490ec40d1a34ea812f25f41ef9741d2116d965
        Reviewed-on: https://chromium-review.googlesource.com/647548
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Adam Klein <adamk@chromium.org>
        Commit-Queue: Yang Guo <yangguo@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#47923}
    
    PR-URL: nodejs/node#15391
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    8403d6b View commit details
    Browse the repository at this point in the history
  14. src: keep track of env properly in node_perf.cc

    Currently, measuring GC timing using `node_perf` is somewhat broken,
    because Isolates and Node Environments do not necessarily match 1:1;
    each environment adds its own hook, so possibly the hook code runs
    multiple times, but since it can’t reliably compute its corresponding
    event loop based on the Isolate, each run targets the same Environment
    right now.
    
    This fixes that problem by using new overloads of the GC tracking
    APIs that can pass data to the callback through opaque pointers.
    
    PR-URL: nodejs/node#15391
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    addaleax authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    dcb24e3 View commit details
    Browse the repository at this point in the history
  15. assert: improve AssertionError in case of "Errors"

    Showing the stack trace in a error message obfuscates the actual
    message and should not be visible therefore.
    
    PR-URL: nodejs/node#15025
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    BridgeAR committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    2e8217c View commit details
    Browse the repository at this point in the history
  16. module: coverity fixes for ESM C++

    PR-URL: nodejs/node#15275
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bmeck authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    0fc402b View commit details
    Browse the repository at this point in the history
  17. benchmark: enable assert benchmark with short len

    `deepequal-typedarrays.js` throws if `len` is set to 100 or less due to
    a hardcoded index. Calculate the index based on `len` so benchmark can
    be run with small `len` values if desired.
    
    PR-URL: nodejs/node#15174
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    11f46a2 View commit details
    Browse the repository at this point in the history
  18. benchmark: provide default methods for assert

    The benchmarks for `assert` all take a `method` configuration option,
    but the allowable values are different across the files. For each
    benchmark, provide an arbitrary default if `method` is set to an empty
    string. This allows all the `assert` benchmarks to be run with a single
    command but only on a single method. This is primarily useful for
    testing that the assert benchmark files don't contain egregious errors.
    (In other words, it's useful for testing.)
    
    PR-URL: nodejs/node#15174
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    3c4c0db View commit details
    Browse the repository at this point in the history
  19. test: add test-benchmark-assert

    Add minimal test for `assert` benchmarks.
    
    PR-URL: nodejs/node#15174
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    a901849 View commit details
    Browse the repository at this point in the history
  20. doc: fix http.ClientRequest method descriptions

    fix documentation for methods getHeader, setHeader and removeHeader
    for http.ClientRequest class. The documentation said these functions
    can be called but they're wasn't describe into the API description yet.
    
    add parameters and general description for each methods.
    
    PR-URL: nodejs/node#15163
    Fixes: nodejs/node#15048
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    antoine-amara authored and jasnell committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    ca2c73c View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2017

  1. assert: use Same-value equality in deepStrictEqual

    PR-URL: nodejs/node#15398
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR committed Sep 16, 2017
    Configuration menu
    Copy the full SHA
    b0d3bec View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2017

  1. test: don't skip when common.mustCall() is pending

    The test parallel/test-dgram-multicast-set-interface.js was
    calling common.skip() on hosts that do not support IPv6. However,
    by this point, there were several outstanding common.mustCall()
    invocations. The process.exit() in common.skip() triggered
    those common.mustCall()s as errors.
    
    Fixes: nodejs/node#15419
    PR-URL: nodejs/node#15421
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Brian White <mscdex@mscdex.net>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    cjihrig committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    631c59b View commit details
    Browse the repository at this point in the history
  2. doc: do not begin yaml value with backtick

    Will break YAML parsing!
    
    See details in the PR.
    
    PR-URL: nodejs/node#15447
    Fixes: nodejs/node#14930
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    maclover7 authored and vsemozhetbyt committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    75f7b2f View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2017

  1. deps: patch V8 to 6.1.534.38

    Created using the update-v8 npm module and the command
    `update-v8 minor`.
    
    Refs: v8/v8@6.1.534.36...6.1.534.38
    
    PR-URL: nodejs/node#15431
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    MylesBorins authored and targos committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    9b996f0 View commit details
    Browse the repository at this point in the history
  2. src: use InstantiateModule instead of deprecated

    The following deprecation warning is displayed when compiling:
    
    ../src/module_wrap.cc:187:18: warning: 'Instantiate' is deprecated
    [-Wdeprecated-declarations]
      bool ok = mod->Instantiate(ctx, ModuleWrap::ResolveCallback);
                     ^
    ../deps/v8/include/v8.h:1158:22: note: 'Instantiate' has been explicitly
    marked deprecated here
                    bool Instantiate(Local<Context> context,
                         ^
    
    This commit changes this function call to use InstantiateModule instead
    which returns a Maybe<bool>.
    
    PR-URL: nodejs/node#15423
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    danbev authored and targos committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    bd85752 View commit details
    Browse the repository at this point in the history
  3. http2: fix subsequent end calls to not throw

    Calling Http2ServerResponse.end multiple times should never
    cause the code to throw an error, subsequent calls should
    instead return false. Fix behaviour to match http1.
    
    Fixes: nodejs/node#15385
    PR-URL: nodejs/node#15414
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    apapirovski authored and mcollina committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    a4e923f View commit details
    Browse the repository at this point in the history
  4. test: fix flaky test-http2-session-timeout

    Increase server timeout, reduce frequency of calls and
    unbind timeout after runs are done in order to avoid
    race conditions. Temporarily moved to sequential.
    
    Fixes: nodejs/node#15326
    PR-URL: nodejs/node#15338
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    apapirovski authored and mcollina committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    de51717 View commit details
    Browse the repository at this point in the history
  5. http2: emit close event if request aborted

    Fix Http2ServerRequest and Http2ServerResponse to emit close event
    if the request is aborted before response.end can be called.
    
    Fixes: nodejs/node#15385
    PR-URL: nodejs/node#15415
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    apapirovski authored and mcollina committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    8fa5fcc View commit details
    Browse the repository at this point in the history
  6. crypto: refactor the crypto module

    * Split single monolithic file into multiple
    * Make Certificate methods static
    * Allow randomFill(Sync) to use any ArrayBufferView
    * Use internal/errors throughout
    * Improve arg validation in Hash/Hmac
    * Doc updates
    
    PR-URL: nodejs/node#15231
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    jasnell committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    c75f87c View commit details
    Browse the repository at this point in the history
  7. n-api: add optional string length parameters

    PR-URL: nodejs/node#15343
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Sampson Gao authored and mhdawson committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    1976654 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2017

  1. Configuration menu
    Copy the full SHA
    8ed1138 View commit details
    Browse the repository at this point in the history
  2. wip

    bmeck committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    6a633bd View commit details
    Browse the repository at this point in the history
  3. wip

    bmeck committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    a48dc18 View commit details
    Browse the repository at this point in the history
  4. mostly works

    bmeck committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    ec26a3d View commit details
    Browse the repository at this point in the history
  5. Merge branch 'named-export-core' of https://github.com/bmeck/node int…

    …o named-export-core
    bmeck committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    f8e3807 View commit details
    Browse the repository at this point in the history
  6. mostly works

    bmeck committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    e47459c View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2017

  1. Initial shot at making .js support ESM

    This modifies an early ESM implementation
    bmeck/node@e47459c
    to not exclude `.js` files from ESM. This maintains complete
    backwards-compatibility with `.mjs`. It is created as a demonstration that
    `.mjs` should not be a hard requirement to use ESM, as it introduces needless
    friction to the existing environment.
    
    **I introduce two command line flags:**
    
    `--esm` - Parse the initial script as ESM
    `--cjs` - Parse the initial script as CJS (default)
    
    Use of the `--esm` flag will parse the script as ESM supporting `import`
    and allowing the user to import CJS files within the limitations of
    Node's implementation. Currently all of core is available for named
    imports. Users can require CJS scripts by importing the `require`
    function from the `module` core module.
    
    ``` js
    import { require } from 'module';
    ```
    
    **Notes on Relative CJS from ESM:**
    
    Supports relative `require` calls when called from an ES Module. This
    was temporarily implemented using a hack where the require fn is called,
    then the parent caller is matched from the resulting error call stack,
    then a new require path is formed from the normalized. This is working
    with simple examples, but is obviously not a long-term solution. The fix
    is using `import.meta` to get a caller path and matching relative to
    that.
    
    Limitations:
    
    - The aforementioned hack for relative path resolution
    - `.mjs` will allow arbitrary execution of `node script.js`, this
      approach requires the end user to specify what to start with, which can
      be problematic for CLIs, although they can use `.mjs` in this case to
      make the distinction.
    
    Benefits:
    
    - Separation of module systems, `import` for ESM/or core, `require` for CJS
    - Greater compatibility with existing tooling and the web
    - Don't need to switch existing projects/tooling to support `.mjs`
    - Use of `require` for CJS in ESM, opposed to always using `import`
      despite its numerous limitations with CJS compatibility
    - Compatibility with `.mjs`, and still allows the benefits of `.mjs`
      without making it a hard requirement
    tbranyen committed Oct 2, 2017
    Configuration menu
    Copy the full SHA
    d1eea81 View commit details
    Browse the repository at this point in the history