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

v12.3.0 proposal #27799

Merged
merged 129 commits into from
May 21, 2019
Merged

v12.3.0 proposal #27799

merged 129 commits into from
May 21, 2019

Commits on May 7, 2019

  1. assert: fix assert.fail() stack

    This makes sure the error message visible in the error stack created
    when using `assert.fail()` without any arguments or the message set
    to `undefined` or `null` as only argument.
    That was masked before due to other changes.
    
    PR-URL: #27525
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed May 7, 2019
    Configuration menu
    Copy the full SHA
    e573c99 View commit details
    Browse the repository at this point in the history
  2. assert: refine assertion message

    This makes sure that the error message is more appropriate than
    before by checking closer what operator is used and which is not.
    
    It also increases the total number of lines printed to the user.
    
    PR-URL: #27525
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed May 7, 2019
    Configuration menu
    Copy the full SHA
    3367bad View commit details
    Browse the repository at this point in the history
  3. assert: use less read operations

    This reduces the total amount of reads when using `assert.ok()` with
    a falsy value. That increases the read performance significantly.
    
    Also remove a comment that can not be addressed.
    
    PR-URL: #27525
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed May 7, 2019
    Configuration menu
    Copy the full SHA
    ec642f1 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2019

  1. test: deflake test-tls-js-stream

    `socket.destroy()` can destory the stream before the chunk to write
    with `socket.end()` is actually sent. Furthermore `socket.destroy()`
    destroys `p` and not the actual raw socket. As a result it is possible
    that the connection is left open.
    
    Remove `socket.destroy()` to ensure that the chunk is sent. Also use
    `common.mustCall()` to ensure that the `'secureConnection'` and
    `'secureConnect'` events are emitted exactly once.
    
    PR-URL: #27478
    Fixes: #26938
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    lpinca authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    a5dab9e View commit details
    Browse the repository at this point in the history
  2. doc: improve CCM example

    Applications should never attempt to use the deciphered message
    if authentication fails. In reality, this is usually not a problem
    since OpenSSL does not disclose the plaintext in this case, but it
    is still a design mistake and can lead to critical security problems
    in other cipher modes and implementations.
    
    PR-URL: #27396
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    c0cdf30 View commit details
    Browse the repository at this point in the history
  3. doc: add example to test doc for clarity

    Update the documentation for test execution for tests in a single file
    
    PR-URL: #27561
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    addityasingh authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    c53a674 View commit details
    Browse the repository at this point in the history
  4. test: fix flaky test-tls-multiple-cas-as-string

    The following error is emitted in a nondeterministic way on the server
    side socket on macOS:
    
    ```
    events.js:173
          throw er; // Unhandled 'error' event
          ^
    
    Error: read ECONNRESET
        at TLSWrap.onStreamRead (internal/stream_base_commons.js:183:27)
    Emitted 'error' event at:
        at emitErrorNT (internal/streams/destroy.js:91:8)
        at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
        at processTicksAndRejections (internal/process/task_queues.js:84:9)
    ```
    
    Prevent the error from being emitted by moving the `socket.end()` call
    to the client. Also, run tests in parallel and use `common.mustCall()`.
    
    PR-URL: #27569
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    lpinca authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    b6e540a View commit details
    Browse the repository at this point in the history
  5. test: refactor test-tls-enable-trace-cli.js

    PR-URL: #27553
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    815a957 View commit details
    Browse the repository at this point in the history
  6. repl: handle uncaughtException properly

    When running the REPL as standalone program it's now possible to use
    `process.on('uncaughtException', listener)`. It is going to use those
    listeners from now on and the regular error output is suppressed.
    
    It also fixes the issue that REPL instances started inside of an
    application would silence all application errors. It is now prohibited
    to add the exception listener in such REPL instances. Trying to add
    such listeners throws an `ERR_INVALID_REPL_INPUT` error.
    
    Fixes: #19998
    
    PR-URL: #27151
    Fixes: #19998
    Reviewed-By: Lance Ball <lball@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    c78de13 View commit details
    Browse the repository at this point in the history
  7. src: fix typos

    PR-URL: #27580
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    gengjiawen authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    b338d53 View commit details
    Browse the repository at this point in the history
  8. doc: add Sam Roberts to TSC

    Voted on async in the TSC repo.
    This adds him to the TSC list in the README.
    
    Fixes: nodejs/TSC#687
    
    PR-URL: #27606
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    rvagg authored and targos committed May 9, 2019
    Configuration menu
    Copy the full SHA
    a23e86f View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. module: handle relative paths in resolve paths

    This commit adds support for relative paths in
    require.resolve()'s paths option.
    
    PR-URL: #27598
    Fixes: #27583
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    cjihrig authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    2f512e3 View commit details
    Browse the repository at this point in the history
  2. inspector: code cleanup

    1. Do not rely on a string comparison to identify when
       the frontend is ready to run and override a callback instead.
    2. Remove unused boolean flag.
    
    PR-URL: #27591
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Eugene Ostroukhov authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    d2d3bf8 View commit details
    Browse the repository at this point in the history
  3. build: export OpenSSL UI symbols

    Node.js compiles them, their existence is indicated by OpenSSL header
    defines, but they can't be linked to on Windows because their symbols
    are not exported. Export them.
    
    Fixes: #27494
    
    PR-URL: #27586
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    sam-github authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    766a731 View commit details
    Browse the repository at this point in the history
  4. doc: doc deprecate the legacy http parser

    PR-URL: #27498
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    8a1f2d0 View commit details
    Browse the repository at this point in the history
  5. meta: move orangemocha to Collaborator Emeriti list

    Alexis confirmed in email that that they should be moved to
    the Emeriti list.
    
    PR-URL: #27626
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Alexis Campailla <orangemocha@nodejs.org>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    876441e View commit details
    Browse the repository at this point in the history
  6. meta: move pmq20 to Collaborator Emeriti list

    Minqi Pan confirmed in email that they were fine with being moved to
    Collaborator Emeritus.
    
    PR-URL: #27602
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    14d58c2 View commit details
    Browse the repository at this point in the history
  7. meta: move AnnaMag to Collaborator Emeriti list

    AnnaMag hasn't authored/landed/reviewed code in quite some time. I sent
    them an email asking about becoming Emeritus but did not get a response.
    It's easy enough to re-onboard someone back to active status if they
    become active again, so I think this is a pretty safe change to make.
    I'll specifically request a review of this change from them so they get
    notified and can comment/review/block/approve/etc. this.
    
    PR-URL: #27603
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    6bef4c0 View commit details
    Browse the repository at this point in the history
  8. tools: switch to camelcasing in apilinks.js

    Use camelcasing in tools/doc/apilinks.js.
    
    PR-URL: #27607
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    217e6b5 View commit details
    Browse the repository at this point in the history
  9. tools: enable camelcase linting in tools

    PR-URL: #27607
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    fd823ea View commit details
    Browse the repository at this point in the history
  10. doc: move Rod Vagg to TSC emeritus

    PR-URL: #27633
    Refs: nodejs/create-node-meeting-artifacts#63
    Refs: nodejs/email#142
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    rvagg authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    66cf89f View commit details
    Browse the repository at this point in the history
  11. src: refactor deprecated UVException usage in pipe-wrap.cc

    PR-URL: #27562
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    gengjiawen authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    62fe342 View commit details
    Browse the repository at this point in the history
  12. src: elevate namespaces in node_worker.cc

    In node_worker.cc there are few instances where v8
    namespaced entitites are used inline. Elevate them
    with `using` semantics.
    
    PR-URL: #27568
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    preveen-stack authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    f6642e9 View commit details
    Browse the repository at this point in the history
  13. tools: enable block-scoped-var eslint rule

    PR-URL: #27616
    Reviewed-By: Rich Trott <rtrott@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: Trivikram Kamat <trivikr.dev@gmail.com>
    silverwind authored and targos committed May 10, 2019
    Configuration menu
    Copy the full SHA
    c6ab6b2 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2019

  1. test: remove unneeded --expose-internals

    test/wpt/test-timers.js does not appear to need the `--expose-internals`
    flag. Remove it.
    
    PR-URL: #27608
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    d7fcd75 View commit details
    Browse the repository at this point in the history
  2. test: fix test-linux-perf flakiness

    The new V8 seems to be optimizing the functions we use in this test
    faster than before. Increasing the sampling frequency for Linux perf
    fixes the issue.
    
    PR-URL: #27615
    Refs: v8/v8@7.4.288.21...7.4.288.27
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mmarchini authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    691866f View commit details
    Browse the repository at this point in the history
  3. deps: patch V8 to 7.4.288.27

    Refs: v8/v8@7.4.288.21...7.4.288.27
    
    PR-URL: #27615
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mmarchini authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    76c9e86 View commit details
    Browse the repository at this point in the history
  4. tls: add missing 'new'

    ERR_INVALID_OPT_VALUE cannot be constructed without new.
    
    PR-URL: #27614
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    b8b02c3 View commit details
    Browse the repository at this point in the history
  5. tls: fix createSecureContext() cipher list filter

    PR-URL: #27614
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    sam-github authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    6624f80 View commit details
    Browse the repository at this point in the history
  6. module: improve resolve paths validation

    This commit adds input validation to require.resolve()'s
    paths option. Prior to this change, passing in a non-array
    value lead to a misleading 'module not found' error.
    
    Refs: #27583
    
    PR-URL: #27613
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    119a590 View commit details
    Browse the repository at this point in the history
  7. test: add tests for hasItems method in FreeList

    PR-URL: #27588
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rpgeeganage authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    3801859 View commit details
    Browse the repository at this point in the history
  8. doc: simplify About This Documentation text

    Remove some unnecessary words and simplify some phrases in
    documentation.md.
    
    PR-URL: #27619
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    172fa63 View commit details
    Browse the repository at this point in the history
  9. src: extract common macro to util.h

    PR-URL: #27512
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and targos committed May 11, 2019
    Configuration menu
    Copy the full SHA
    a18692c View commit details
    Browse the repository at this point in the history

Commits on May 13, 2019

  1. test: test error when breakOnSigint is not a boolean for evaluate

    PR-URL: #27503
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rpgeeganage authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    0c7f18e View commit details
    Browse the repository at this point in the history
  2. meta: move firedfox to Collaborator Emeriti list

    They confirmed in email that they were fine with being moved to
    Collaborator Emeritus and hope to be back contributing again soon.
    
    PR-URL: #27618
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    ea62149 View commit details
    Browse the repository at this point in the history
  3. doc: simplify test/README.md

    Simplify phrasing in test/README.md.
    
    PR-URL: #27630
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    8d448be View commit details
    Browse the repository at this point in the history
  4. test: better assertion for async hook tests

    The existing assertion was misleading to whether there were too few or
    too many events of a particular type. Improve the assertion message.
    
    PR-URL: #27601
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ofrobots authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    8cba1af View commit details
    Browse the repository at this point in the history
  5. src: remove extra semicolons after macros

    PR-URL: #27579
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    gengjiawen authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    3c70797 View commit details
    Browse the repository at this point in the history
  6. repl: do not run --eval code if there is none

    `getOptionValue('--eval')` always returns a string, so it is never
    loose-equal to `null`. Running eval makes some modifications to the
    global object, including setting `module` to a different value, which
    we want to avoid if possible.
    
    Refs: #27278
    PR-URL: #27587
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    688a0bd View commit details
    Browse the repository at this point in the history
  7. lib: restore global.module after --eval code is run

    PR-URL: #27587
    Fixes: #27575
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    88b4d00 View commit details
    Browse the repository at this point in the history
  8. module: simplify createRequire() validation

    PR-URL: #27629
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    c33e834 View commit details
    Browse the repository at this point in the history
  9. http2: do not override the allowHalfOpen option

    The constructors of `tls.Server` and `Http2Server` call the super
    constructors without options so the `allowHalfOpen` option is never used
    regardless of its value.
    
    PR-URL: #27623
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    74046ce View commit details
    Browse the repository at this point in the history
  10. async_hooks: only disable promise hook if wanted

    The promise hook has been disabled asynchronously in order to solve
    issues when an async hook is disabled during a microtask.
    
    This means that after scheduling the disable-promise-hook call,
    attempts to enable it synchronously will later be unintentionally
    overridden.
    
    In order to solve this, make sure that the promise hooks are still
    no longer desired at the time at which we would disable them.
    
    Fixes: #27585
    
    PR-URL: #27590
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    e74e661 View commit details
    Browse the repository at this point in the history
  11. tools: force common be required before any other modules

    PR-URL: #27650
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ZYSzys authored and targos committed May 13, 2019
    Configuration menu
    Copy the full SHA
    169ddc5 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. module: add missing space in error message

    PR-URL: #27627
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    8a96182 View commit details
    Browse the repository at this point in the history
  2. doc: add call-once note to napi_queue_async_work

    Add note to `napi_queue_async_work()` indicating that, upon successful
    return, it must not be called again with the same work item.
    
    Fixes: #27217
    PR-URL: #27582
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Gabriel Schulhof authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    7923b4a View commit details
    Browse the repository at this point in the history
  3. module: fix createRequireFromPath() slash logic

    The trailing slash detection logic in createRequireFromPath()
    seemed slightly incorrect. This commit reworks the logic.
    
    PR-URL: #27634
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    140b44f View commit details
    Browse the repository at this point in the history
  4. tools: allow RegExp in required-modules eslint rule

    PR-URL: #27647
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    richardlau authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    1365683 View commit details
    Browse the repository at this point in the history
  5. src: fix warnings about redefined BSWAP macros

    PR-URL: #27631
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    d2e1efe View commit details
    Browse the repository at this point in the history
  6. src: declare unused priv argument

    PR-URL: #27631
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    e736e20 View commit details
    Browse the repository at this point in the history
  7. src: remove util-inl.h from header files

    Its intended that *-inl.h header files are only included into the src
    files that call the inline methods. Explicitly include it into the files
    that need it.
    
    PR-URL: #27631
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    ae8b64d View commit details
    Browse the repository at this point in the history
  8. test: move dgram invalid host test to internet tests

    This moves a dgram test from `parallel` to `internet` because it relies
    on a DNS request.
    In certain cases, ISPs hijack invalid IETF-reserved invalid names which
    causes a false negative failure.
    
    Fixes: #27341
    
    PR-URL: #27565
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Benjamin Ki authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    f01183c View commit details
    Browse the repository at this point in the history
  9. test: use common.PORT instead of an extraneous variable

    This test is not parallelized and so we can use the test commons PORT
    variable.
    
    Refs: #27565 (comment)
    
    PR-URL: #27565
    Fixes: #27341
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Benjamin Ki authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    9ed5882 View commit details
    Browse the repository at this point in the history
  10. assert: loose deep equal should not compare symbol properties

    This is the way it's currently documented and that seems appropriate
    for loose equal assertions. The change was not intentional.
    
    Fixes: #27652
    
    PR-URL: #27653
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    BridgeAR authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    493ead1 View commit details
    Browse the repository at this point in the history
  11. lib: fix typo in pre_execution.js

    PR-URL: #27649
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    gengjiawen authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    4dbebfd View commit details
    Browse the repository at this point in the history
  12. doc,meta: codify security release commit message

    The release commit message for security releases have conventionally
    started with the phrase `This is a security release.`. Codify this
    as part of the release process so that the distribution indexer can
    use this to detect and mark releases as security releases.
    
    Fixes: nodejs/Release#437
    Refs: #27612 (comment)
    Refs: nodejs/nodejs-dist-indexer#9
    
    PR-URL: #27643
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    b5498ed View commit details
    Browse the repository at this point in the history
  13. test: pass null params to napi_xxx_property()

        For napi_set_property(), each one of the following arguments is checked:
          napi_env env,
          napi_value object,
          napi_value key,
          napi_value* value.
    
        For napi_has_property(), each one of the following arguments is checked:
    
          napi_env env,
          napi_value object,
          napi_value key,
          bool* result
    
        For napi_get_property, each one of the following arguments is checked:
    
          napi_env env,
          napi_value object,
          napi_value key,
          napi_value* result
    
    PR-URL: #27628
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Octavian Soldea authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    7252a64 View commit details
    Browse the repository at this point in the history
  14. vm: mark global proxy as side-effect-free

    Fixes: #27518
    
    PR-URL: #27523
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    8f48edd View commit details
    Browse the repository at this point in the history
  15. doc: dns.lookup() documentation error code

    dns.lookup() will always return ENOTFOUND on a empty lookup
    or when the host not found.
    https://github.com/nodejs/node/blob/master/lib/internal/errors.js#L503
    
    Fixes: #27604
    
    PR-URL: #27625
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    jvelezpo authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    cc45080 View commit details
    Browse the repository at this point in the history
  16. deps: make VC-WIN config generation deterministic

    This change adds a clean target to the VC-WIN* Makefiles, then adjusts
    the config generation script to call it before config file generation
    as well as after. This prevents files from previous configurations from
    causing make to incorrectly assume the files are up to date.
    
    PR-URL: #27543
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jkunkee authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    c7e5fca View commit details
    Browse the repository at this point in the history
  17. doc: format correction for experimental loader hooks

    PR-URL: #27537
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    dnalborczyk authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    da4a379 View commit details
    Browse the repository at this point in the history
  18. esm: fix esm load bug

    Fixes: #25482
    
    PR-URL: #25491
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ZYSzys authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    89fda94 View commit details
    Browse the repository at this point in the history
  19. test: clearing require cache crashes esm loader

    This test shows the regression introduced in v11.4.0: clearing out the
    require.cache crashes node when using the `--experimental-modules` flag.
    Refs: #25482
    
    PR-URL: #25491
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and targos committed May 14, 2019
    Configuration menu
    Copy the full SHA
    1757250 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. deps: regenerate OpenSSL configs with fixed tooling

    This change contains the results of running `make` in
    `deps/openssl/config` (based on information in
    deps/openssl/config/README.md) then reverting changes not in the
    VC-WIN64-ARM directory.
    
    This leverages a preceding change that fixes a cross-configuration file
    reuse bug that only impacts VC-WIN64-ARM.
    
    PR-URL: #27544
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jkunkee authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    314fdda View commit details
    Browse the repository at this point in the history
  2. deps: update OpenSSL configs' timestamps

    This change contains the results of running `make` in
    `deps/openssl/config` (based on information in
    deps/openssl/config/README.md) and not reverting anything.
    
    This is not necessary, but it does indicate to the curious developer
    that all architectures were automatically generated at the same time.
    
    PR-URL: #27544
    Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jkunkee authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    750556d View commit details
    Browse the repository at this point in the history
  3. tools: add 12.x to alternative docs versions

    PR-URL: #27658
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    richardlau authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    1b8bc77 View commit details
    Browse the repository at this point in the history
  4. doc,tools: updates for 6.x End-of-Life

    PR-URL: #27658
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    richardlau authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    4ed8a9b View commit details
    Browse the repository at this point in the history
  5. fs: extract path conversion and validation to getValidatedPath

    Almost all path validations within our file system are combined with:
    ```js
    path = toPathIfFileURL(path);
    validatePath(path);
    ```
    
    So simply extracted them out into `getValidatedPath` function to
    `internal/fs/utils.js` to DRY up the code and reduce duplicating them.
    
    PR-URL: #27656
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ZYSzys authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    6f23816 View commit details
    Browse the repository at this point in the history
  6. inspector: added NodeRuntime domain

    Historically Node process sends Runtime.executionContextDestroyed
    with main context as argument when it is finished.
    This approach has some disadvantages. V8 prevents running some
    protocol command on destroyed contexts, e.g. Runtime.evaluate
    will return an error or Debugger.enable won't return a list of
    scripts.
    Both command might be useful for different tools, e.g. tool runs
    Profiler.startPreciseCoverage and at the end of node process it
    would like to get list of all scripts to match data to source code.
    Or some tooling frontend would like to provide capabilities to run
    commands in console when node process is finished to allow user to
    inspect state of the program at exit.
    This PR adds new domain: NodeRuntime. After
    NodeRuntime.notifyWhenWaitingForDisconnect is enabled by at least one
    client, node will send NodeRuntime.waitingForDebuggerToDisconnect
    event instead of Runtime.executionContextDestroyed. Based on this
    signal any protocol client can capture all required information and
    then disconnect its session.
    
    PR-URL: #27600
    Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    alexkozy authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    700459e View commit details
    Browse the repository at this point in the history
  7. tls: expose keylog event on TLSSocket

    Exposes SSL_CTX_set_keylog_callback in the form of a `keylog` event
    that is emitted on clients and servers. This enables easy debugging
    of TLS connections with i.e. Wireshark, which is a long-requested
    feature.
    
    PR-URL: #27654
    Refs: #2363
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mildsunrise authored and targos committed May 15, 2019
    Configuration menu
    Copy the full SHA
    eb1f4e5 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. tools: DRY isRequireCall() in lint rules

    This commit makes isRequireCall() a reusable utility
    function for core's custom ESLint rules.
    
    PR-URL: #27680
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    cjihrig authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    d2dad0b View commit details
    Browse the repository at this point in the history
  2. child_process: refactor stdioStringToArray function

    reduce the function in both files to one.
    
    PR-URL: #27657
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    zero1five authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    b380c0f View commit details
    Browse the repository at this point in the history
  3. tools: update dmn to 2.2.2

    PR-URL: #27686
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    ea62f4a View commit details
    Browse the repository at this point in the history
  4. process: inspect error in case of a fatal exception

    This makes sure that errors that shut down the application are
    inspected with `util.inspect()`. That makes sure that all extra
    properties on the error will be visible and also that the stack trace
    is highlighted (Node.js internal frames will be grey and node modules
    are underlined).
    
    PR-URL: #27243
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    0393045 View commit details
    Browse the repository at this point in the history
  5. assert: add compatibility for older Node.js versions

    This makes sure the `AssertionError` still accepts the
    `stackStartFunction` option as alternative to the `stackStartFn`.
    
    PR-URL: #27672
    Fixes: #27671
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    6983a0c View commit details
    Browse the repository at this point in the history
  6. tools: update capitalized-comments eslint rule

    The regular expression is updated to ignore variable declarations
    which might happen while commenting out some code during development
    and adds a couple more exceptions to prevent false negatives.
    
    PR-URL: #27675
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    BridgeAR authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    47184d1 View commit details
    Browse the repository at this point in the history
  7. assert: remove unused code

    Those two operators are not used.
    
    PR-URL: #27676
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    BridgeAR authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    7cc21d8 View commit details
    Browse the repository at this point in the history
  8. util: reconstruct constructor in more cases

    This makes sure the constructor is reconstructed in cases where we
    otherwise would not be able to detect the actual constructor anymore.
    
    That way some `util.inspect` output is improved.
    
    PR-URL: #27668
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    BridgeAR authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    6984ca1 View commit details
    Browse the repository at this point in the history
  9. console: don't attach unnecessary error handlers

    A noop error handler is attached to the console's stream on
    write. The handler is then immediately removed after the write.
    This commit skips adding the error handler if one already
    exists.
    
    PR-URL: #27691
    Fixes: #27687
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    da102cd View commit details
    Browse the repository at this point in the history
  10. doc: remove non-existent entry-type flag

    PR-URL: #27678
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnalborczyk authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    d570995 View commit details
    Browse the repository at this point in the history
  11. meta: move estliberitas to Collaborator Emeriti list

    Alexander has confirmed in email that they are fine with being moved to
    the Collaborator Emeriti list.
    
    PR-URL: #27697
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Trott authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    fc8ad77 View commit details
    Browse the repository at this point in the history
  12. esm: --experimental-wasm-modules integration support

    PR-URL: #27659
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    MylesBorins authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    47f913b View commit details
    Browse the repository at this point in the history
  13. meta: move whitlockjc to Collaborator Emeriti list

    Jeremy confirmed in email that it would be OK to move them to Emeritus
    status.
    
    PR-URL: #27702
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
    Trott authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    2e85642 View commit details
    Browse the repository at this point in the history
  14. meta: move chrisdickinson to Collaborator Emeriti list

    Chris confirmed in email that he could be moved to Collaborator Emeritus
    status.
    
    PR-URL: #27703
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Trott authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    9f9871c View commit details
    Browse the repository at this point in the history
  15. meta: move jhamhader to Collaborator Emeriti list

    Yuval confirmed in email that he could be moved to Collaborator Emeritus
    status.
    
    PR-URL: #27707
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@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: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    3ac4a71 View commit details
    Browse the repository at this point in the history
  16. events: improve max listeners warning

    This adds the constructor name of the event target to the emitted
    warning. Right now it's difficult to identify where the leak is
    actually coming from and having some further information about the
    source will likely help to identify the source.
    
    PR-URL: #27694
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BridgeAR authored and targos committed May 17, 2019
    Configuration menu
    Copy the full SHA
    1f935f8 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2019

  1. worker: move receiving_messages_ field to MessagePort

    This is a property of the native object associated with the
    `MessagePort`, not something that should be set on the
    conceptual `MessagePort` that may be transferred around.
    
    PR-URL: #27705
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    b7ed4d7 View commit details
    Browse the repository at this point in the history
  2. worker: use special message as MessagePort close command

    When a `MessagePort` connected to another `MessagePort` closes, the
    latter `MessagePort` will be closed as well. Until now, this is done
    by testing whether the ports are still entangled after processing
    messages. This leaves open a race condition window in which messages
    sent just before the closure can be lost when timing is unfortunate.
    (A description of the timing is in the test file.)
    
    This can be addressed by using a special message instead, which is
    the last message received by a `MessagePort`. This way, all previously
    sent messages are processed first.
    
    Fixes: #22762
    PR-URL: #27705
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    e004d42 View commit details
    Browse the repository at this point in the history
  3. test: un-mark worker syntax error tests as flaky

    These tests should be fixed now.
    
    PR-URL: #27705
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    8b4101a View commit details
    Browse the repository at this point in the history
  4. build: add arm64 to vcbuild.bat help message

    PR-URL: #27683
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: João Reis <reis@janeasystems.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jkunkee authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    e058900 View commit details
    Browse the repository at this point in the history
  5. process: mark process.env as side-effect-free

    Read-only access to `process.env` does not have side effects.
    
    Refs: #27523
    
    PR-URL: #27684
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    addaleax authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    74feb0b View commit details
    Browse the repository at this point in the history
  6. tools: decrease code duplication for isString() in lint rules

    This commit makes isString() a reusable utility
    function for core's custom ESLint rules.
    
    PR-URL: #27719
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    0e16b35 View commit details
    Browse the repository at this point in the history
  7. stream: implement Readable.from async iterator utility

    PR-URL: #27660
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    guybedford authored and targos committed May 18, 2019
    Configuration menu
    Copy the full SHA
    05c3d53 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. http2: do no throw in writeHead if state.closed

    The http1 implementation does not throw if the connection is down.
    The http2 compat implementation should do the same.
    
    See: fastify/fastify-http-proxy#51.
    See: fastify/fastify#1494.
    
    PR-URL: #27682
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    mcollina authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a66b391 View commit details
    Browse the repository at this point in the history
  2. tools: refactor js2c.py for maximal Python3 compatibility

    * add explicit `--target` argument to enable succinct gyp declaration
    * simplify js2c semantics
    
    PR-URL: #25518
    Reviewed-By: Christian Clauss <cclauss@me.com>
    refack authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    0db846f View commit details
    Browse the repository at this point in the history
  3. tools: remove unneeded dependency files

    The new version of dmn more effectively cleans unneeded dependency
    files. (Thanks, BridgeAR!) It's now in the udpate-*.sh files but run it
    manually to get the benefits now (and to have a smaller diff when we
    update).
    
    PR-URL: #27730
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Roman Reiss <me@silverwind.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c3d1675 View commit details
    Browse the repository at this point in the history
  4. tls: support net.Server options

    Pass `tls.Server` constructor options to the parent constructor.
    
    PR-URL: #27665
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    lpinca authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    e61823c View commit details
    Browse the repository at this point in the history
  5. doc: clarify behavior of fs.mkdir

    PR-URL: #27505
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Gaelan authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    1f7a527 View commit details
    Browse the repository at this point in the history
  6. worker: add ability to unshift message from MessagePort

    In combination with Atomics, this makes it possible to implement
    generic synchronous functionality, e.g. `importScript()`, in Workers
    purely by communicating with other threads.
    
    This is a continuation of #26686,
    where a preference for a solution was voiced that allowed reading
    individual messages, rather than emitting all messages through events.
    
    PR-URL: #27294
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    addaleax authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c7cf8d9 View commit details
    Browse the repository at this point in the history
  7. doc,n-api: fix introduced_in metadata

    Node.js v7.10.0 did not contain N-API. Update the `introduced_in`
    metadata to prevent a broken 7.x "View another version" link in the
    N-API docs.
    
    PR-URL: #27745
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    richardlau authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    767889b View commit details
    Browse the repository at this point in the history
  8. doc,n-api: update N-API version matrix for v12.x

    PR-URL: #27745
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    richardlau authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    6e2c8d0 View commit details
    Browse the repository at this point in the history
  9. doc: correct entry for electron v4.0.4

    `abi_version_registry.json` incorrectly specified that electron v4.0.4
    used `NODE_MODULE_VERSION` 64, but in fact it uses 69.
    
    See:
    
    * electron/electron#16687
    * https://github.com/electron/electron/releases/tag/v4.0.4
    * electron/node-abi@9e4c1a6
    
    PR-URL: #27394
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    jacobq authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    df01645 View commit details
    Browse the repository at this point in the history
  10. doc: rewrite "About this Documentation" section

    Replace the "About this Documentation" section with a simple welcome
    message and a concise description of Node.js
    
    PR-URL: #27725
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    cf516f7 View commit details
    Browse the repository at this point in the history
  11. test: relax check in verify-graph

    Relax the check regarding presence of async resources in graph to
    allow extra events. Before this change events not mentioned in
    reference graph were allowed but that one specified must match
    exactly in count. Now it's allowed to have more events of this
    type.
    
    Refs: #27477
    Fixes: #27617
    
    PR-URL: #27742
    Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Flarna authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f872210 View commit details
    Browse the repository at this point in the history
  12. async_hooks: don't reuse resource in HttpAgent

    As discussed in nodejs/diagnostics#248,
    #21313 and
    https://docs.google.com/document/d/1g8OrG5lMIUhRn1zbkutgY83MiTSMx-0NHDs8Bf-nXxM/preview
    reusing the resource object is a blocker for landing a resource based
    async hooks API and get rid of the promise destroy hook.
    
    This PR ensures that HttpAgent uses the a new resource object in case
    the socket handle gets reused.
    
    PR-URL: #27581
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Flarna authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    6070e88 View commit details
    Browse the repository at this point in the history
  13. http: add an alias at addListener on Server connection socket

    Fixes: #27199
    
    PR-URL: #27325
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    4a9af17 View commit details
    Browse the repository at this point in the history
  14. stream: use readableObjectMode public api for js stream

    PR-URL: #27655
    Refs: #445
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    antsmartian authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    32fd0ac View commit details
    Browse the repository at this point in the history
  15. inspector: fix typo

    PR-URL: #27712
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    24b26c0 View commit details
    Browse the repository at this point in the history
  16. inspector: mark profile type const

    PR-URL: #27712
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    c746156 View commit details
    Browse the repository at this point in the history
  17. deps: V8: cherry-pick cca9ae3c9a

    Original commit message:
    
        Remove recursion from NeedsCheckHeapObject.
    
        We use the predicate NeedsCheckHeapObject in the compiler frontend to
        determine whether we can skip introducing CheckHeapObject nodes. But
        this predicate would also walk up the graph in case of Phis, which can
        result in really long compilation times (on the main thread). In the
        report in #27667, the compiler
        frontend alone took around 4-5mins of main thread time for a single
        function. With this patch the time goes down to 4-5ms.
    
        Bug: v8:9250
        Refs: #27667
        Change-Id: I231eb780ff04f949fa1669714f9af6ebfbcade05
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1612897
        Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
        Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#61503}
    
    Fixes: #27667
    
    PR-URL: #27729
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bmeurer authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    83f2430 View commit details
    Browse the repository at this point in the history
  18. http: do not default to chunked encoding for TRACE

    Fixes: #25783
    
    PR-URL: #27673
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    bfb9356 View commit details
    Browse the repository at this point in the history
  19. http: always call response.write() callback

    Ensure that the callback of `OutgoingMessage.prototype.write()` is
    called even when writing empty chunks.
    
    Fixes: #22066
    
    PR-URL: #27709
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    206ae31 View commit details
    Browse the repository at this point in the history
  20. src: update UNREACHABLE macro to take a string

    PR-URL: #26502
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Refael Ackermann <refack@gmail.com>
    nitsakh authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d21e066 View commit details
    Browse the repository at this point in the history
  21. bootstrap: --frozen-intrinsics unfreeze console

    PR-URL: #27663
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    guybedford authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    026bebf View commit details
    Browse the repository at this point in the history
  22. doc: remove stability highlight for stable functions

    We don't have the stability functions for all stable
    functions, only those that were previously experimental and
    then when stable. Remove the stability indicator to be
    consistent with the rest of the functions.
    
    PR-URL: #27753
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    f663e74 View commit details
    Browse the repository at this point in the history
  23. tools: update markdown linter for Windows line endings

    Update the markdown linter to work with Windows line endings.
    Previously, Windows line endings would break the trailing-spaces plugin.
    
    PR-URL: #27756
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    Trott authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    a8a1186 View commit details
    Browse the repository at this point in the history
  24. tls: expose built-in root certificates

    Fixes: #25824
    PR-URL: #26415
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ron Korving <ron@ronkorving.nl>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    bnoordhuis authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    bdd75d0 View commit details
    Browse the repository at this point in the history
  25. util: simplify inspection limit handling

    This simplifies the handling of objects that exceed 128mb. Instead
    of using a separate property to identify that all following inputs
    should only return their constructor name it'll just set the depth
    to -1. That has the almost the same behavior as before while providing
    a better output in some cases. The performance should be almost
    identical as well.
    
    PR-URL: #27733
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    d8b4867 View commit details
    Browse the repository at this point in the history
  26. util: unify constructor inspection in util.inspect

    This makes sure that an objects constructor name is always returned
    in a similar fashion instead of having different outputs depending
    on the object shape and the code path taken.
    
    PR-URL: #27733
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    099c9ce View commit details
    Browse the repository at this point in the history
  27. util: remove outdated comment

    It is probably not necessary to visualize the `code` property as part
    of the name of an error since all extra properties will be visible
    anyway due to https://github.com/nodejs/node/pull/272431.
    
    PR-URL: #27733
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BridgeAR authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    5205902 View commit details
    Browse the repository at this point in the history
  28. doc: update util.format formatters documentation

    This includes the information that some inputs are handled
    differently than others (e.g., `Symbols` are partially represented
    as `NaN`).
    
    PR-URL: #27621
    Reviewed-By: Roman Reiss <me@silverwind.io>
    BridgeAR authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    378f44c View commit details
    Browse the repository at this point in the history
  29. util: if present, fallback to toString using the %s formatter

    This makes sure that `util.format` uses `String` to stringify an object
    in case the object has an own property named `toString` with type
    `function`. That way objects that do not have such function are still
    inspected using `util.inspect` and the old behavior is preserved as
    well.
    
    PR-URL: #27621
    Refs: jestjs/jest#8443
    Reviewed-By: Roman Reiss <me@silverwind.io>
    BridgeAR authored and targos committed May 20, 2019
    Configuration menu
    Copy the full SHA
    10b4a81 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. child_process: setup stdio on error when possible

    As more spawn() errors are classified as runtime errors, it's
    no longer appropriate to only check UV_ENOENT when determining
    if stdio can be setup. This commit reverses the check to look
    for EMFILE and ENFILE specifically.
    
    PR-URL: #27696
    Fixes: #26852
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    2bc177a View commit details
    Browse the repository at this point in the history
  2. doc: improve createRequire() example

    Update the example to use import and import.meta.url instead
    of require() and require.resolve().
    
    PR-URL: #27762
    Fixes: #27758
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    cjihrig authored and BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    55fe340 View commit details
    Browse the repository at this point in the history
  3. doc: replace createRequireFromPath() references

    This commit replaces createRequireFromPath() references with
    createRequire() references.
    
    PR-URL: #27762
    Fixes: #27758
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    cjihrig authored and BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    7e75086 View commit details
    Browse the repository at this point in the history
  4. esm: use correct error arguments

    ERR_UNKNOWN_FILE_EXTENSION expects a single argument. This
    commit fixes the argument count.
    
    PR-URL: #27763
    Fixes: #27761
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    cjihrig authored and BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    80f3074 View commit details
    Browse the repository at this point in the history
  5. doc: correct parameter type on 'subprocess.kill([signal])'

    PR-URL: #27760
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    himself65 authored and BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    d1da117 View commit details
    Browse the repository at this point in the history
  6. doc: corrected tlsSocket.getPeerCertificate response type

    Within tls.md, the documentation for the response of
    tlsSocket.getPeerCertificate() included subjectaltname
    documented as an array of values. However these values are
    actually returned as a single string of concatenated values.
    The documentation has been updated to reflect this.
    
    PR-URL: #27757
    Fixes: #27721
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    dannyb648 authored and BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    9f5b690 View commit details
    Browse the repository at this point in the history
  7. 2019-05-21, Version 12.3.0 (Current)

    Notable changes:
    
    * esm:
      * Added the `--experimental-wasm-modules` flag to support
        WebAssembly modules (Myles Borins & Guy Bedford)
        #27659
    * process:
      * Log errors using `util.inspect` in case of fatal exceptions
        (Ruben Bridgewater) #27243
    * repl:
      * Add `process.on('uncaughtException')` support (Ruben Bridgewater)
        #27151
    * stream:
      * Implemented `Readable.from` async iterator utility (Guy Bedford)
        #27660
    * tls:
      * Expose built-in root certificates (Ben Noordhuis)
        #26415
      * Support `net.Server` options (Luigi Pinca)
        #27665
      * Expose `keylog` event on TLSSocket (Alba Mendez)
        #27654
    * worker:
      * Added the ability to unshift messages from the `MessagePort`
        (Anna Henningsen) #27294
    
    PR-URL: #27799
    BridgeAR committed May 21, 2019
    Configuration menu
    Copy the full SHA
    20c11be View commit details
    Browse the repository at this point in the history