Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v9.8.0 proposal #19181

Merged
merged 73 commits into from
Mar 8, 2018
Merged

v9.8.0 proposal #19181

merged 73 commits into from
Mar 8, 2018

Commits on Mar 5, 2018

  1. test: fix repl-tab-complete --without-ssl

    Currently, when configured --without-ssl test-repl-tab-complete fails
    with the following error:
    
    assert.js:43
      throw new errors.AssertionError(obj);
      ^
    
    AssertionError [ERR_ASSERTION]: [ [], 'lexicalL' ] deepStrictEqual []
        at testRepl.complete.common.mustCall
          (node/test/parallel/test-repl-tab-complete.js:549:14)
        at /node/test/common/index.js:530:15
        at completionGroupsLoaded (repl.js:1204:5)
        at REPLServer.complete (repl.js:1090:11)
        at REPLServer.completer (repl.js:450:14)
        at REPLServer.complete (repl.js:919:18)
        at __dirname.forEach (parallel/test-repl-tab-complete.js:548:14)
        at Array.forEach (<anonymous>)
        at Object.<anonymous> (parallel/test-repl-tab-complete.js:545:29)
        at Module._compile (module.js:660:30)
    
    This commit attempts to fix this test but I'm not sure if this is a
    proper fix as I'm not familiar with the repl code base yet.
    
    PR-URL: #17867
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    c943cd0 View commit details
    Browse the repository at this point in the history
  2. doc: lowercase primitives in test/common/README.md

    PR-URL: #18875
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    vsemozhetbyt authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    9510540 View commit details
    Browse the repository at this point in the history
  3. crypto: add cert.fingerprint256 as SHA256 fingerprint

    PR-URL: #17690
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bjori authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    e74e422 View commit details
    Browse the repository at this point in the history
  4. http2: fix condition where data is lost

    PR-URL: #18895
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mcollina authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    ef8f90f View commit details
    Browse the repository at this point in the history
  5. build: fix lint-md-build dependency

    PR-URL: #18981
    Fixes: #18978
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    28a5362 View commit details
    Browse the repository at this point in the history
  6. doc: make the background section concise and improve its formality

    PR-URL: #18928
    Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Wilson authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    71d09ec View commit details
    Browse the repository at this point in the history
  7. src: fix error message in async_hooks constructor

    There are two minor issues in the AsyncHook constructor, if the object
    passed in has an after and/or destroy property that are not functions
    the errors thrown will still be:
    TypeError [ERR_ASYNC_CALLBACK]: before must be a function
    
    This commit updates the code and adds a unit test.
    
    PR-URL: #19000
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    danbev authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    4d5cd5c View commit details
    Browse the repository at this point in the history
  8. build: fix coverage after gcovr update

    PR-URL: #18958
    Fixes: #18938
    Ref: nodejs/build#1145
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    killagu authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    44d80c5 View commit details
    Browse the repository at this point in the history
  9. loader: fix --inspect-brk

    PR-URL: #18949
    Fixes: #18948
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    devsnek authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    59547cc View commit details
    Browse the repository at this point in the history
  10. http: prevent aborted event when already completed

    When socket is closed on a response for a request that is being piped to
    a stream there is a condition where aborted event will be fired to http
    client when socket is closing and the incomingMessage stream is still
    set to readable.
    
    We need a check for request being complete and to only raise the
    'aborted' event on the http client if we have not yet completed reading
    the response from the server.
    
    Fixes: #18756
    
    PR-URL: #18999
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    billywhizz authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    ae4d83f View commit details
    Browse the repository at this point in the history
  11. http: prevent aborted event when already completed

    Tests in progress to reproduce issue consistently.
    
    Fixes: #18756
    
    PR-URL: #18999
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    billywhizz authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    0789eec View commit details
    Browse the repository at this point in the history
  12. test: refactor test after review

    PR-URL: #18999
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    billywhizz authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    eca333a View commit details
    Browse the repository at this point in the history
  13. test: specify 'dir' for directory symlinks

    Directory symlinks in Windows require the 'dir' flag to be passed to
    create the symlink correctly.
    
    PR-URL: #19049
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    kfarnung authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    fd27165 View commit details
    Browse the repository at this point in the history
  14. doc: add RegExp Unicode Property Escapes to intl

    PR-URL: #19052
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    vsemozhetbyt authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    68c1337 View commit details
    Browse the repository at this point in the history
  15. lib: change hook -> hooks in code comment

    PR-URL: #19053
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    danbev authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    12856b0 View commit details
    Browse the repository at this point in the history
  16. http2: send error text in case of ALPN mismatch

    Send a human-readable HTTP/1 response in case of an unexpected
    ALPN protocol. This helps with debugging this condition,
    since previously the only result of it would be a closed socket.
    
    PR-URL: #18986
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    4471369 View commit details
    Browse the repository at this point in the history
  17. test: allow running with NODE_PENDING_DEPRECATION

    Make the test for pending deprecations work when the env var
    is set during the whole test suite run.
    
    PR-URL: #18991
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    a455006 View commit details
    Browse the repository at this point in the history
  18. http2: use original error for cancelling pending streams

    Previously, if `session.destroy()` was called with an error object,
    the information contained in it would be discarded and a generic
    `ERR_HTTP2_STREAM_CANCEL` would be used for all pending streams.
    
    Instead, make the information from the original error object
    available.
    
    PR-URL: #18988
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    aa0fca9 View commit details
    Browse the repository at this point in the history
  19. http2: fix endless loop when writing empty string

    PR-URL: #18924
    Fixes: #18169
    Refs: #18673
    Refs: https://github.com/nodejs/node/blob/v9.5.0/src/node_http2.cc#L1481-L1484
    Refs: https://github.com/nodejs/node/blob/v9.5.0/lib/_http_outgoing.js#L659-L661
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    8bc930c View commit details
    Browse the repository at this point in the history
  20. test: check endless loop while writing empty string

    Refs: #18673
    PR-URL: #18924
    Refs: #18673
    Refs: https://github.com/nodejs/node/blob/v9.5.0/src/node_http2.cc#L1481-L1484
    Refs: https://github.com/nodejs/node/blob/v9.5.0/lib/_http_outgoing.js#L659-L661
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    XadillaX authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    8d595bb View commit details
    Browse the repository at this point in the history
  21. src: refactor setting JS properties on WriteWrap

    `async` and `bytes` are only interesting when the write
    is coming from JS, and unnecessary otherwise.
    
    Also, make all of the stream `Write*()` bindings use the same
    code for setting these, and upgrade to the non-deprecated versions.
    
    PR-URL: #18963
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    08b83ee View commit details
    Browse the repository at this point in the history
  22. n-api: fix object test

    Passing a pointer to a static integer is sufficient for the test.
    
    PR-URL: #19039
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
    Gabriel Schulhof authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    1b32fc3 View commit details
    Browse the repository at this point in the history
  23. doc: Readable unpipe on Writable error event

    PR-URL: #18080
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    GeorgeSapkin authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    459f209 View commit details
    Browse the repository at this point in the history
  24. doc: update list of re-exported symbols

    libuv and zlib symbols are also purposefully re-exported by Node.js for
    use in Addons.
    
    Refs: #17444
    
    PR-URL: #19013
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    richardlau authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    77154cd View commit details
    Browse the repository at this point in the history
  25. test: fix flaky inspector-stop-profile-after-done

    Use common.platformTimeout() to give longer durations to Raspberry Pi
    devices to make test more reliable.
    
    PR-URL: #18126
    Fixes: #16772
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    cc90bbd View commit details
    Browse the repository at this point in the history
  26. http2: fix flaky test-http2-https-fallback

    The test was flaky because it relied on a specific order of
    asynchronous operation that were fired paralellely. This was true
    on most platform and conditions, but not all the time.
    
    See: #18986
    
    PR-URL: #19093
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mcollina authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    551d975 View commit details
    Browse the repository at this point in the history
  27. doc: add MoonBall to collaborators

    PR-URL: #19109
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MoonBall authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    bfa894c View commit details
    Browse the repository at this point in the history
  28. doc: fix n-api asynchronous threading docs

    Documentation for N-API Custom Asynchronous Operations incorrectly
    stated that async execution happens on the main event loop.
    Added details to napi_create_async_work about which threads are
    used to invoke the execute and complete callbacks.
    
    Changed 'async' to 'asynchronous' in the documentation for Custom
    Asynchronous Operations. Changed "executes in parallel" to "can
    execute in parallel" for the documentation of napi_create_async_work
    execute parameter.
    
    PR-URL: #19073
    Fixes: #19071
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ebickle authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    a4462b7 View commit details
    Browse the repository at this point in the history
  29. buffer: fix typo in lib/buffer.js

    PR-URL: #19126
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    ryzokuken authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    6d17383 View commit details
    Browse the repository at this point in the history
  30. test: remove assert message and add block scope

    The default message will be printed if the assertion fires. Use block
    scope for related variables and tests.
    
    PR-URL: #19054
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    wuweiweiwu authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    23107ba View commit details
    Browse the repository at this point in the history
  31. test: refactor test-async-wrap-getasyncid

    So it does not use `common.PORT` anymore.
    
    PR-URL: #18727
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    santigimeno authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    d883376 View commit details
    Browse the repository at this point in the history
  32. doc: add URL.format() example

    PR-URL: #18888
    Fixes: #18887
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    zeke authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    cab6c8e View commit details
    Browse the repository at this point in the history
  33. test,benchmark: use new Buffer API where appropriate

    For tests / benchmarks that are creating Buffer instances for
    any reason other than to test Buffer constructor, use the new
    Buffer.alloc/Buffer.from API instead of the deprecated API.
    
    PR-URL: #18980
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    ChALkeR authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    f864509 View commit details
    Browse the repository at this point in the history
  34. build: disable openssl build warnings on macos

    We already disable `-Wmissing-field-initializers` on other Unices but
    not on MacOS.
    
    PR-URL: #19046
    Fixes: #18983
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    bnoordhuis authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    a938e52 View commit details
    Browse the repository at this point in the history
  35. lib,test: remove yoda statements

    PR-URL: #18746
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    db8d197 View commit details
    Browse the repository at this point in the history
  36. events: show throw stack trace for uncaught exception

    Show the stack trace for the `eventemitter.emit('error')` call
    in the case of an uncaught exception.
    
    Previously, there would be no clue in Node’s output about where
    the actual `throw` comes from.
    
    PR-URL: #19003
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    5b8c97f View commit details
    Browse the repository at this point in the history
  37. n-api: update reference test

    Remove the necessity for allocating on the heap, and assert that the
    correct pointer gets passed to the finalizer.
    
    PR-URL: #19086
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Gabriel Schulhof authored and addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    5c4f703 View commit details
    Browse the repository at this point in the history
  38. repl: make last error available as _error

    This is pretty useful when trying to inspect the last
    error caught by a REPL, and is made to be analogous to `_`,
    which contains the last successful completion value.
    
    PR-URL: #18919
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    96f0bec View commit details
    Browse the repository at this point in the history
  39. lib: re-fix v8_prof_processor

    Make the script not error out immediately because of a missing
    pseudo-global.
    (Note that it seems like tests are still broken on `master`.)
    
    PR-URL: #19059
    Fixes: #19044
    Refs: #18623
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    e584113 View commit details
    Browse the repository at this point in the history
  40. tls,http2: handle writes after SSL destroy more gracefully

    This might otherwise result in a hard crash when trying
    to write to a socket after a sudden disconnect.
    
    Note that the test here uses an aborted `h2load` run to create
    the failing requests; That’s far from ideal, but it provides
    a reasonably reliably reproduction at this point.
    
    PR-URL: #18987
    Fixes: #18973
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    addaleax committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    479b622 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2018

  1. doc: fix a typo in util.isDeepStrictEqual

    Backport-PR-URL: #19127
    PR-URL: #18775
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Sho Miyamoto authored and MylesBorins committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    4ecf5bb View commit details
    Browse the repository at this point in the history
  2. doc: add missing Returns in fs & util

    Backport-PR-URL: #19127
    PR-URL: #18775
    Reviewed-By: Weijia Wang <starkwang@126.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    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: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Sho Miyamoto authored and MylesBorins committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    e42600f View commit details
    Browse the repository at this point in the history
  3. trace_events: add file pattern cli option

    Allow the user to specify the filepath for the trace_events log file
    using a template string.
    
    Backport-PR-URL: #19144
    PR-URL: #18480
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    AndreasMadsen authored and MylesBorins committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    3d4cda3 View commit details
    Browse the repository at this point in the history
  4. buffer: coerce offset to integer

    The offset was formerly coerced to a integer and this reimplements
    that.
    
    PR-URL: #18215
    Fixes: #18208
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    BridgeAR authored and MylesBorins committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    6ae2caf View commit details
    Browse the repository at this point in the history
  5. test: check symbols in shared lib

    When building the node with `--shared` option, we need
    to verify the symbols in shared lib instead of executable.
    
    Refs: #18535
    
    Signed-off-by: Yihong Wang <yh.wang@ibm.com>
    PR-URL: #18806
    Refs: #18535
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    yhwang authored and MylesBorins committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    5bbf009 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2018

  1. src: clean up process.dlopen()

    Move some code around and clean up the DLib helper class as prep work
    for a follow-up commit.
    
    PR-URL: #18934
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    89edbae View commit details
    Browse the repository at this point in the history
  2. src: make process.dlopen() load well-known symbol

    Look for symbol `node_register_module_v${NODE_MODULE_VERSION}` if the
    add-on didn't self-register.  This can be used to create add-ons that
    support multiple Node.js versions from a single shared object.
    
    PR-URL: #18934
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    bnoordhuis authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    4fae6e3 View commit details
    Browse the repository at this point in the history
  3. build: fix gocvr version used for coverage

    Fix the gcovr version to a fixed version and uses patches
    specific to that version. This avoids us being broken by
    changes in the gcovr repo. Using file name for patches
    specific to the version level will allow us to move up when
    necessary without breaking coverage for earlier versions
    of Node.js
    
    PR-URL: #19094
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    mhdawson authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    4b34b2e View commit details
    Browse the repository at this point in the history
  4. module: fix cyclical dynamic import

    ensures that instantiation result is only used during initial loading
    
    PR-URL: #18965
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bmeck authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    95f6467 View commit details
    Browse the repository at this point in the history
  5. doc: add simple example to rename function

    Added a simple example showing how to rename
    a file.
    
    Refs: https://github.com/nodejs/node/issues11135
    
    PR-URL: #18812
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    punteek authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    0e4f426 View commit details
    Browse the repository at this point in the history
  6. doc: new team for bundlers or delivery of Node.js

    Add team that we can use to cc organizations or people
    who do one of the following:
    
    * bundle node into their product
    * bundle node into their distributions
    * provide an installer
    * provide a version manager
    
    PR-URL: #19098
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    mhdawson authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    ae2dabb View commit details
    Browse the repository at this point in the history
  7. deps: cherry-pick 0bcb1d6f from upstream V8

    Original commit message:
    
        Introduce --disallow-code-generation-from-strings
    
        Exposing the existing Context::AllowCodeGenerationFromStrings(false) API
        to the command line.
    
        Bug: v8:7134
        Change-Id: I062ccff0b03c5bcf6878c41c455c0ded37a1d743
        Reviewed-on: https://chromium-review.googlesource.com/809631
        Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
        Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#49911}
    
    PR-URL: #18212
    Refs: v8/v8@0bcb1d6
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Gus Caplan <me@gus.host>
    jakobkummerow authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    056001d View commit details
    Browse the repository at this point in the history
  8. doc: add introduced_in metadata to _toc.md

    Allow users to switch to the table of contents for older versions of
    Node.js. This gets rid of the "Failed to add alternative version link"
    warnings when building docs.
    
    PR-URL: #19113
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
    Trott authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    9d2de16 View commit details
    Browse the repository at this point in the history
  9. doc: update cc list

    PR-URL: #19099
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    BridgeAR authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    f03079f View commit details
    Browse the repository at this point in the history
  10. doc: remove tentativeness in pull-requests.md

    There are some uses of "in general" that are unnecessary. (We don't need
    to be tentative about the fact that tests should pass, for example.)
    
    PR-URL: #19123
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    d3a70e9 View commit details
    Browse the repository at this point in the history
  11. doc: remove subsystem from pull request template

    Remove request that user provide a list of subsystems in the pull
    request template.
    
    * We already ask them to put the subsystems in the first line of the
      commit message.
    * The subsystem is usually easy to determine.
    * We have a bot that applies subsystem labels on new PRs and it seems to
      do a rather good job. Tools over rules. Let the bot do it.
    * The fewer unnecessary things we ask for in the template, the lower the
      barrier to entry.
    * Anecdotal, but I have never found it useful to have the person
      submitting the PR list out subsystems in the pull request post.
    
    PR-URL: #19125
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matheus Marchini <matheus@sthima.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
    Trott authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    6852461 View commit details
    Browse the repository at this point in the history
  12. src: refactor GetPeerCertificate

    PR-URL: #19087
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    danbev authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    f10470c View commit details
    Browse the repository at this point in the history
  13. src: use std::unique_ptr for STACK_OF(X509)

    Convert manual memory management of STACK_OF(X509) instances to
    std::unique_ptr with a custom deleter.
    
    Note the tasteful application of std::move() to indicate a function
    that consumes its argument.
    
    PR-URL: #19087
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    bnoordhuis authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    2f17c52 View commit details
    Browse the repository at this point in the history
  14. test: move require http2 to after crypto check

    Currently test-http2-client-write-empty-string.js will throw "Error
    [ERR_NO_CRYPTO]: Node.js is not compiled with OpenSSL crypto support"
    when configured --without-ssl.
    
    This commit moves the require of http2 to after the crypto check to
    avoid this error.
    
    PR-URL: #19111
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jon Moss <me@jonathanmoss.me>
    danbev authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    ee653ec View commit details
    Browse the repository at this point in the history
  15. src: #include <stdio.h>" to iculslocs

    iculslocs uses stdio, but didn't include the header.
    
    PR-URL: #19150
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    srl295 authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    cc52dae View commit details
    Browse the repository at this point in the history
  16. perf_hooks: fix timing

    Fixes: #17892
    Fixes: #17893
    Fixes: #18992
    
    PR-URL: #18993
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    TimothyGu authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    28880cf View commit details
    Browse the repository at this point in the history
  17. test: add more information to assert.strictEqual

    PR-URL: #19162
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ryzokuken authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    6787913 View commit details
    Browse the repository at this point in the history
  18. src: handle exceptions in env->SetImmediates

    Backport-PR-URL: #19185
    PR-URL: #18297
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    08bcdde View commit details
    Browse the repository at this point in the history
  19. src: prevent persistent handle resource leaks

    Replace v8::Persistent with node::Persistent, a specialization that
    resets the persistent handle on destruction.  Prevents accidental
    resource leaks when forgetting to call .Reset() manually.
    
    I'm fairly confident this commit fixes a number of resource leaks that
    have gone undiagnosed so far.
    
    Backport-PR-URL: #19185
    PR-URL: #18656
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    bnoordhuis authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    67a9742 View commit details
    Browse the repository at this point in the history
  20. src: remove unnecessary Reset() calls

    The previous commit made persistent handles auto-reset on destruction.
    This commit removes the Reset() calls that are now no longer necessary.
    
    Backport-PR-URL: #19185
    PR-URL: #18656
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    bnoordhuis authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    f89f659 View commit details
    Browse the repository at this point in the history
  21. src: don't touch js object in Http2Session dtor

    Don't try to update the internal field pointer of the JS object in the
    destructor.
    
    The garbage collector invokes the destructor when the object is
    collected and is not necessarily in a valid state anymore.
    
    Backport-PR-URL: #19185
    PR-URL: #18656
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    bnoordhuis authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    420d56c View commit details
    Browse the repository at this point in the history
  22. http2: no stream destroy while its data is on the wire

    This fixes a crash that occurred when a `Http2Stream` write
    is completed after it is already destroyed.
    
    Instead, don’t destroy the stream in that case and wait for
    GC to take over.
    
    Backport-PR-URL: #19185
    PR-URL: #19002
    Fixes: #18973
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    addaleax authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    50d1233 View commit details
    Browse the repository at this point in the history
  23. module: support main w/o extension, pjson cache

    This adds support for ensuring that the top-level main into Node is
    supported loading when it has no extension for backwards-compat with
    NodeJS bin workflows.
    
    In addition package.json caching is implemented in the module lookup
    process.
    
    Backport-PR-URL: #18923
    PR-URL: #18728
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    guybedford authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    f3e3429 View commit details
    Browse the repository at this point in the history
  24. module: fix main lookup regression from #18728

    Backport-PR-URL: #18923
    PR-URL: #18788
    Refs: #18728
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    guybedford authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    39e032f View commit details
    Browse the repository at this point in the history
  25. util: use blue on non-windows systems for number

    Backport-PR-URL: #19180
    PR-URL: #18925
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    devsnek authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    3e8e152 View commit details
    Browse the repository at this point in the history
  26. doc: fix/add link to Android info

    We have two notes in API docs about Android support:
    the first has no links, the second links to the table of supported OSs
    where Android is not mentioned which may be confusing.
    
    This PR makes both notes link to dedicated Android part of BUILDING.md.
    
    Backport-PR-URL: #19183
    PR-URL: #19004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
    vsemozhetbyt authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    1fadb2e View commit details
    Browse the repository at this point in the history
  27. net: inline and simplify onSocketEnd

    Backport-PR-URL: #19194
    PR-URL: #18607
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    ef4714c View commit details
    Browse the repository at this point in the history
  28. 2018-03-07, Version 9.8.0 (Current)

    Notable Changes:
    
    * crypto:
      - add cert.fingerprint256 as SHA256 fingerprint (Hannes Magnusson)
        #17690
    * http2:
      - Fixed issues with aborted connections in the HTTP/2 implementation
        (Anna Henningsen)
        #18987
        #19002
    * loader:
      - --inspect-brk now works properly for esmodules (Gus Caplan)
        #18949
    * src:
      - make process.dlopen() load well-known symbol (Ben Noordhuis)
        #18934
    * trace_events:
      - add file pattern cli option (Andreas Madsen)
        #18480
    * Added new collaborators:
      - Chen Gang (MoonBall) https://github.com/MoonBall
    
    PR-URL: #19181
    MylesBorins committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    27ba6e2 View commit details
    Browse the repository at this point in the history