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.20.0 proposal #35950

Merged
merged 117 commits into from Nov 24, 2020
Merged

v12.20.0 proposal #35950

merged 117 commits into from Nov 24, 2020

Commits on Nov 16, 2020

  1. http2: wait for session to finish writing before destroy

    Backport-PR-URL: #34845
    PR-URL: #30854
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    2471197 View commit details
    Browse the repository at this point in the history
  2. http2: wait for session socket writable end on close/destroy

    This slightly alters the behaviour of session close by first using
    .end() on a session socket to finish writing the data and only then
    calls .destroy() to make sure the Readable side is closed. This allows
    the socket to finish transmitting data, receive proper FIN packet and
    avoid ECONNRESET errors upon graceful close.
    
    onStreamClose now directly calls stream.destroy() instead of
    kMaybeDestroy because the latter will first check that the stream has
    writableFinished set. And that may not be true as we have just
    (synchronously) called .end() on the stream if it was not closed and
    that doesn't give it enough time to finish. Furthermore there is no
    point in waiting for 'finish' as the other party have already closed the
    stream and we won't be able to write anyway.
    
    This also changes a few tests to correctly handle graceful session
    close. This includes:
    * not reading request data (on client side)
    * not reading push stream data (on client side)
    * relying on socket.destroy() (on client) to finish server session
      due to the destroy of the socket without closing the server session.
      As the goaway itself is *not* a session close.
    
    Added few 'close' event mustCall checks.
    
    Backport-PR-URL: #34845
    PR-URL: #30854
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lundibundi authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    e85ca7a View commit details
    Browse the repository at this point in the history
  3. http2,doc: minor fixes

    Some small fixes on HTTP/2 and its documentation:
    
     - Add a note that, on server streams, it's not necessary
       to start data flow.
    
     - Set EOF flag if we have marked all data for sending:
       there's no need to wait until the queue is
       actually empty (and send a separate, empty DATA).
    
       (Note that, even with this change, a separate DATA
       frame will always be sent, because the streams
       layer waits until data has been flushed before
       dispatching EOF)
    
    Backport-PR-URL: #34845
    PR-URL: #28044
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    mildsunrise authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    82af8ac View commit details
    Browse the repository at this point in the history
  4. Revert "http2: streamline OnStreamRead streamline memory accounting"

    This reverts commit 51ccf1b.
    
    Fixes: #31089
    
    Backport-PR-URL: #34845
    PR-URL: #34315
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    bfce0eb View commit details
    Browse the repository at this point in the history
  5. http2: use and support non-empty DATA frame with END_STREAM flag

    Adds support for reading from a stream where the final frame is a
    non-empty DATA frame with the END_STREAM flag set, instead of hanging
    waiting for another frame. When writing to a stream, uses a
    END_STREAM flag on final DATA frame instead of adding an empty
    DATA frame.
    
    BREAKING: http2 client now expects servers to properly support
    END_STREAM flag
    
    Fixes: #31309
    Fixes: #33891
    Refs: https://nghttp2.org/documentation/types.html#c.nghttp2_on_data_chunk_recv_callback
    
    Backport-PR-URL: #34845
    PR-URL: #33875
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    clshortfuse authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b732c92 View commit details
    Browse the repository at this point in the history
  6. http: reset headers timeout on headers complete

    headers timeout should not occur *after* headers have been
    received.
    
    Fixes: #35661
    
    PR-URL: #34578
    Backport-PR-URL: #35819
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
    (cherry picked from commit da4d8de)
    ronag authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    f10d721 View commit details
    Browse the repository at this point in the history
  7. doc: fix typos in n-api, tls and worker_threads

    PR-URL: #34419
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jucke authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    fb9b66b View commit details
    Browse the repository at this point in the history
  8. doc: fix line length in worker_threads.md

    PR-URL: #34419
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jucke authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b644ab6 View commit details
    Browse the repository at this point in the history
  9. http2: avoid unnecessary buffer resize

    Refs: #34315
    Refs: #30351
    
    PR-URL: #34480
    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: David Carlier <devnexen@gmail.com>
    lundibundi authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    c8a7789 View commit details
    Browse the repository at this point in the history
  10. repl: give repl entries unique names

    This is a workaround for the REPL for a problem when multiple of the
    entries have the same source text
    
    Fixes: #1337
    Refs: https://bugs.chromium.org/p/v8/issues/detail?id=10284
    
    PR-URL: #34372
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    bmeck authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    70768ce View commit details
    Browse the repository at this point in the history
  11. tls: reset secureConnecting on client socket

    secureConnecting is never set to false on client TLS sockets.
    So if Http2Session constructor (in lib/internal/http2/core.js) is
    called after secureConnect is emitted, then it will wrongly wait
    for a secureConnect event.
    
    This fix sets secureConnecting to false when a client TLS socket
    has connected.
    
    Backport-PR-URL: #34859
    PR-URL: #33209
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    davedoesdev authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    12d76b8 View commit details
    Browse the repository at this point in the history
  12. test: add ALPNProtocols option to clientOptions

    Without this, the session is destroyed with the following error
    
    ```
    Error [ERR_HTTP2_ERROR]: Protocol error
        at Http2Session.onSessionInternalError (internal/http2/core.js:756:26)
    Emitted 'error' event on ClientHttp2Session instance at:
        at emitClose (internal/http2/core.js:1010:10)
        at internal/http2/core.js:1048:7
        at finish (internal/streams/writable.js:731:5)
        at processTicksAndRejections (internal/process/task_queues.js:80:21) {
      code: 'ERR_HTTP2_ERROR',
      errno: -505
    }
    ```
    
    The test then calls `session.close()` which tries to write to a
    destroyed socket. As a result, an unhandled `ECONNRESET` error is
    emitted in the v12 release line.
    
    Backport-PR-URL: #34859
    PR-URL: #35482
    Refs: #34859
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    02787ce View commit details
    Browse the repository at this point in the history
  13. fs: add .ref() and .unref() methods to watcher classes

    Backport-PR-URL: #35555
    PR-URL: #33134
    Fixes: #33096
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    rickyes authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    decfc2a View commit details
    Browse the repository at this point in the history
  14. stream: destroy wrapped streams on error

    Stream should be destroyed and update state accordingly when
    the wrapped stream emits error.
    
    Does some additional cleanup with future TODOs that might be worth
    looking into.
    
    Backport-PR-URL: #35557
    PR-URL: #34102
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    ronag authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    8a10916 View commit details
    Browse the repository at this point in the history
  15. http: only set keep-alive when not exists

    Backport-PR-URL: #35623
    PR-URL: #35138
    Fixes: #34561
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    atian25 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    d477e2e View commit details
    Browse the repository at this point in the history
  16. http: added scheduling option to http agent

    In some cases, it is preferable to use a lifo scheduling strategy
    for the free sockets instead of default one, which is fifo.
    This commit introduces a scheduling option to add the ability
    to choose which strategy best fits your needs.
    
    Backport-PR-URL: #35649
    PR-URL: #33278
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    delvedor authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    cce4645 View commit details
    Browse the repository at this point in the history
  17. module: named exports for CJS via static analysis

    Backport-PR-URL: #35757
    PR-URL: #35249
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    9eb1fa1 View commit details
    Browse the repository at this point in the history
  18. module: refine module type mismatch error cases

    Backport-PR-URL: #35757
    PR-URL: #35426
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    6ca8fb5 View commit details
    Browse the repository at this point in the history
  19. module: update to cjs-module-lexer@0.4.0

    Backport-PR-URL: #35757
    PR-URL: #35501
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a18d0df View commit details
    Browse the repository at this point in the history
  20. doc: rename module pages

    Using a "Modules:" prefix groups all the related pages together when
    using alphabetical order.
    
    Refs: nodejs/modules#539
    
    Backport-PR-URL: #35757
    PR-URL: #34663
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    7510667 View commit details
    Browse the repository at this point in the history
  21. doc: move package config docs to separate page

    This part of the docs aims to contain documentation regarding package
    configuration that covers both ESM and CJS realms.
    
    * Move Enabling section
    * Update Enabling section
    * Remove -u flag
    * Package scopes do not carry through `node_modules` folders
    
    Refs: nodejs/modules#539
    
    Co-authored-by: Geoffrey Booth <webmaster@geoffreybooth.com>>
    Co-authored-by: Guy Bedford <guybedford@gmail.com>
    
    Backport-PR-URL: #35757
    PR-URL: #34748
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    7c1700e View commit details
    Browse the repository at this point in the history
  22. doc: document support for package.json fields

    Fixes: #33143
    
    Backport-PR-URL: #35757
    PR-URL: #34970
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    d6a13a9 View commit details
    Browse the repository at this point in the history
  23. module: exports pattern support

    Backport-PR-URL: #35757
    PR-URL: #34718
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    41af927 View commit details
    Browse the repository at this point in the history
  24. doc: edit subpath export patterns introduction

    * Use parallel construction in the two sentences
    * Backticks around _package.json_ to match rest of file
    * Add comma for readability
    * Own the recommendation ("we recommend")
    
    Backport-PR-URL: #35757
    PR-URL: #35254
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    5f0b157 View commit details
    Browse the repository at this point in the history
  25. doc: refine require/import conditions constraints

    Backport-PR-URL: #35757
    PR-URL: #35311
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    5330930 View commit details
    Browse the repository at this point in the history
  26. doc: packages docs feedback

    Backport-PR-URL: #35757
    PR-URL: #35370
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    f507ca9 View commit details
    Browse the repository at this point in the history
  27. doc: copyedit packages.md

    Some minor adjustments, mostly moving things to present tense and
    avoiding the ambiguity of _may_.
    
    Refs: #35370 (comment)
    
    Backport-PR-URL: #35757
    PR-URL: #35427
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    9197a66 View commit details
    Browse the repository at this point in the history
  28. doc: fix conditional exports flag removal version

    Backport-PR-URL: #35757
    PR-URL: #35428
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a7e66b6 View commit details
    Browse the repository at this point in the history
  29. doc: add history entry for exports patterns

    Backport-PR-URL: #35757
    PR-URL: #35410
    Refs: #34718
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    66f8730 View commit details
    Browse the repository at this point in the history
  30. doc,esm: add history support info

    Documents which versions of Node.js support which ESM-feature.
    
    Backport-PR-URL: #35757
    PR-URL: #35395
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    985b96a View commit details
    Browse the repository at this point in the history
  31. module: remove experimental modules warning

    Backport-PR-URL: #35757
    PR-URL: #31974
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    1ff956f View commit details
    Browse the repository at this point in the history
  32. doc,esm: document experimental warning removal

    Backport-PR-URL: #35757
    PR-URL: #35750
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    1f34230 View commit details
    Browse the repository at this point in the history
  33. esm: use "node:" namespace for builtins

    Backport-PR-URL: #35757
    PR-URL: #35387
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    0f757bc View commit details
    Browse the repository at this point in the history
  34. doc: update fs promise-based examples

    #34843 was cherry-picked onto
    `v12.x-staging` in 961844d but the `fs/promises` API, as used
    in the examples, is only available from Node.js 14. Change the
    added examples to use `require(fs).promises` instead.
    
    PR-URL: #35760
    Fixes: #35740
    Refs: #34843
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    richardlau authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    68c5ee4 View commit details
    Browse the repository at this point in the history
  35. lib: use full URL to GitHub issues in comments

    Don't assume the reader of the code will know where to find the issue
    tracker. Provide the full URL. This is especially important if the
    issue tracker should move again.
    
    PR-URL: #34686
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a9a606f View commit details
    Browse the repository at this point in the history
  36. errors: improve ERR_INVALID_OPT_VALUE error

    * use util.inspect for value presentation
    * allow to optionally specify error reason
    
    PR-URL: #34671
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    lundibundi authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    f22672d View commit details
    Browse the repository at this point in the history
  37. deps: V8: cherry-pick 6be2f6e26e8d

    Original commit message:
    
        [coverage] IncBlockCounter should not be side-effect
    
        Incrementing coverage counter was triggering EvalError for
        evaluateOnCallFrame when throwOnSideEffect is true.
    
        R=jgruber@chromium.org, sigurds@chromium.org, yangguo@chromium.org
    
        Bug: v8:10856
        Change-Id: I0552e19a3a14ff61a9cb626494fb4a21979d535e
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2384011
        Commit-Queue: Benjamin Coe <bencoe@google.com>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Yang Guo <yangguo@chromium.org>
        Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#69628}
    
    Refs: v8/v8@6be2f6e
    
    PR-URL: #35055
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bcoe authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    44c739c View commit details
    Browse the repository at this point in the history
  38. test: fix comment about DNS lookup test

    PR-URL: #35080
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    607f3c5 View commit details
    Browse the repository at this point in the history
  39. doc: avoid double-while sentence in perf_hooks.md

    This improves readability, as well as awkward reptition of the word
    _while_ with two different meanings in a single sentence.
    
    Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/w/while
    
    PR-URL: #35078
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    85c47d7 View commit details
    Browse the repository at this point in the history
  40. module: fix specifier resolution option value

    Fixes: #35095
    
    PR-URL: #35098
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    992af4e View commit details
    Browse the repository at this point in the history
  41. deps: update to uvwasi 0.0.11

    Notable changes:
    
    - Several issues have been addressed in uvwasi_fd_readdir().
      A bug in the copying of the directory entry's name has been fixed.
      The function now returns UVWASI_ENOSYS on Windows and Android.
      Serdes support has been added for uvwasi_dirent_t's.
    - The libuv dependency has been updated to v1.39.0.
    
    PR-URL: #35104
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    5405e62 View commit details
    Browse the repository at this point in the history
  42. errors: simplify ERR_REQUIRE_ESM message generation

    Because of the condition that starts the `if` block, we know that
    `parentPath` must be truthy. So there is no need to check for that in
    the template string that generates the error message.
    
    PR-URL: #35123
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    548137f View commit details
    Browse the repository at this point in the history
  43. doc: simplify circular dependencies text in modules.md

    PR-URL: #35126
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    884755f View commit details
    Browse the repository at this point in the history
  44. test: add wasi readdir() test

    This commit provides coverage for __wasi_fd_readdir().
    
    PR-URL: #35202
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    c3e1bf7 View commit details
    Browse the repository at this point in the history
  45. n-api: add more property defaults

    Add a default value for class method and js like property in enum
    napi_property_attributes.
    
    n-api currently offers only one default which is non configurable,
    non writable, non enumerable - like Object.defineProperty(). While
    this is formal correct the usual way to create properties in JS is
    either by defining a class or use obj.prop = value.
    
    The defaults from these variants are now backed into enum values.
    
    PR-URL: #35214
    Refs: nodejs/node-addon-api#811
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Flarna authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    d938e85 View commit details
    Browse the repository at this point in the history
  46. tools,doc: upgrade dependencies

    PR-URL: #35244
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    11b10d7 View commit details
    Browse the repository at this point in the history
  47. tools,doc: enforce alphabetical order for md refs

    PR-URL: #35244
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    f297174 View commit details
    Browse the repository at this point in the history
  48. tools: ignore build folder when checking links

    We checkout build as a subdirectory as part of CI and
    if you run `make test` instead of `make test-ci` you get
    loads of errors about markdown link breaks. Ignore this
    directory as we don't need to examine another repo
    
    PR-URL: #35315
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Ash Cripps authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    bc7da0c View commit details
    Browse the repository at this point in the history
  49. deps: upgrade to c-ares v1.16.1

    PR-URL: #35324
    Refs: https://github.com/c-ares/c-ares/releases/tag/cares-1_16_1
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    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: Rich Trott <rtrott@gmail.com>
    codebytere authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    cc11464 View commit details
    Browse the repository at this point in the history
  50. doc: add gpg key export directions to releases doc

    Adds an extra step with instructions for exporting a gpg key to be
    uploaded to the key server.
    
    PR-URL: #35298
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    danielleadams authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b0e43c7 View commit details
    Browse the repository at this point in the history
  51. deps: upgrade to libuv 1.40.0

    Notable changes:
    
    - The UV_UDP_MMSG_FREE flag has been added.
    - UV__EPROTO has been remapped from 4046 to -4046 for
      consistency with other error codes.
    - On Windows, UTF-16 surrogate pairs are no longer
      replaced with the Unicode replacement character.
    - uv_timer_get_due_in() has been added.
    
    PR-URL: #35333
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    cjihrig authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    cf07a86 View commit details
    Browse the repository at this point in the history
  52. test: replace annonymous functions with arrow

    PR-URL: #34921
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    PoojaDurgad authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    fdc67eb View commit details
    Browse the repository at this point in the history
  53. tools: update ESLint to 7.10.0

    Update ESLint to 7.10.0
    
    PR-URL: #35366
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    cjihrig authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a9ce9b2 View commit details
    Browse the repository at this point in the history
  54. tools: exclude gyp from markdown link checker

    The changelog format used in gyp-next does not comply to the rules.
    
    PR-URL: #35423
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    targos authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    ae14923 View commit details
    Browse the repository at this point in the history
  55. console: add Symbol.toStringTag property

    Add Symbol.toStringTag property to console object to follow WPT changes
    Update WPT status of console and the repl test case
    
    Refs: web-platform-tests/wpt#24717
    
    PR-URL: #35399
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Leko authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    2e766a6 View commit details
    Browse the repository at this point in the history
  56. doc: unhide resolver spec

    PR-URL: #35358
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    c192af6 View commit details
    Browse the repository at this point in the history
  57. doc: importable node protocol URLs

    PR-URL: #35434
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    bmeck authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    42c0dfc View commit details
    Browse the repository at this point in the history
  58. doc: update contact information for richardlau

    PR-URL: #35450
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    Reviewed-By: Stewart X Addison <sxa@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    richardlau authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    8be289e View commit details
    Browse the repository at this point in the history
  59. doc: update contact information for @BethGriggs

    PR-URL: #35451
    Reviewed-By: Stewart X Addison <sxa@uk.ibm.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    BethGriggs authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    edf3fbb View commit details
    Browse the repository at this point in the history
  60. src: make MakeCallback() check can_call_into_js before getting method

    There is a check for this in the inner `MakeCallback()` function
    called by it, but since the `Get()` call here can also result in a
    call into JS, we should ideally check the flag before that.
    
    PR-URL: #35424
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    cd80195 View commit details
    Browse the repository at this point in the history
  61. crypto: set env values in KeyObject Deserialize method

    Fixes: #35263
    
    PR-URL: #35416
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ThakurKarthik authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a6f58c0 View commit details
    Browse the repository at this point in the history
  62. src: remove invalid ToLocalChecked in EmitBeforeExit

    This call can fail, we should not use `.ToLocalChecked()` here.
    
    In the long run, we should use variants of `EmitExit()` and
    `EmitBeforeExit()` that avoid this problem by properly propagating
    empty `MaybeLocal`s.
    
    Example failure:
    
        21:07:17 not ok 2564 parallel/test-worker-terminate-source-map
        21:07:17   ---
        21:07:17   duration_ms: 0.385
        21:07:17   severity: crashed
        21:07:17   exitcode: -6
        21:07:17   stack: |-
        21:07:17     FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
        21:07:17      1: 0x1012f04a5 node::Abort() (.cold.1) [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      2: 0x1000b52d9 node::Abort() [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      3: 0x1000b543f node::OnFatalError(char const*, char const*) [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      4: 0x1001ffd70 v8::V8::ToLocalEmpty() [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      5: 0x1000079b8 node::EmitBeforeExit(node::Environment*) [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      6: 0x100156fea node::worker::Worker::Run() [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      7: 0x10015a4d2 node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_3::__invoke(void*) [/Users/iojs/build/workspace/node-test-commit-osx/nodes/osx1015/out/Release/node]
        21:07:17      8: 0x7fff72fe7109 _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
        21:07:17      9: 0x7fff72fe2b8b thread_start [/usr/lib/system/libsystem_pthread.dylib]
        21:07:17   ...
    
    PR-URL: #35484
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    addaleax authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    e70b052 View commit details
    Browse the repository at this point in the history
  63. deps: update llhttp to 2.1.3

    PR-URL: #35435
    Refs: nodejs/llhttp#65
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    indutny authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    0a1474d View commit details
    Browse the repository at this point in the history
  64. fs: simplify realpathSync

    PR-URL: #35413
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    himself65 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    19d7113 View commit details
    Browse the repository at this point in the history
  65. doc: update sxa's email address to Red Hat from IBM

    Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
    
    PR-URL: #35442
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Ash Cripps <acripps@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Stewart Addison authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    370f8e3 View commit details
    Browse the repository at this point in the history
  66. module: fix builtin reexport tracing

    PR-URL: #35500
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    76f7601 View commit details
    Browse the repository at this point in the history
  67. doc: update AUTHORS list

    PR-URL: #35280
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    addaleax authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b5f7525 View commit details
    Browse the repository at this point in the history
  68. tools: add missing uv_setup_argv() calls

    Refs: #34751
    
    PR-URL: #35491
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    0955267 View commit details
    Browse the repository at this point in the history
  69. src: use env->ThrowUVException in pipe_wrap

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #35493
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jasnell authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    ade27b7 View commit details
    Browse the repository at this point in the history
  70. src: more idiomatic error pattern in node_wasi

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #35493
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    jasnell authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    7f8834f View commit details
    Browse the repository at this point in the history
  71. lib: use remaining typed arrays from primordials

    PR-URL: #35499
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    targos authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    ad7281b View commit details
    Browse the repository at this point in the history
  72. doc: add aduh95 to collaborators

    PR-URL: #35542
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    6952c45 View commit details
    Browse the repository at this point in the history
  73. n-api: support for object freeze/seal

    PR-URL: #35359
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    codebytere authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    5faaa60 View commit details
    Browse the repository at this point in the history
  74. src: expose v8::Isolate setup callbacks

    PR-URL: #35512
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    codebytere authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    dec004f View commit details
    Browse the repository at this point in the history
  75. src: fix freeing unintialized pointer bug in ParseSoaReply

    ares_expand_name doesn't guarantee that pointer variable is initialized
    if return code is ARES_EBADNAME or ARES_ENOMEM. But current usage of the
    function in the codebase thinks otherwise.
    
    There seems to be an assumption that pointer is always initialized even
    though it is a local variable and we create a unique pointer soon after
    calling ares_expand_name. This could potentially crash the program with
    an invalid free pointer.
    
    I was able to crash it by poisoning the memory and some manual hooks.
    
    By moving the unique_ptr after checking the return code we can fix the
    problem. As the underlying function guarantees that pointer is
    initialized when the status is ARES_SUCCESS.
    
    PR-URL: #35502
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    AasthaGupta authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    2d5393b View commit details
    Browse the repository at this point in the history
  76. build: improved release lint error message

    PR-URL: #35523
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    codebytere authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    48bc3fc View commit details
    Browse the repository at this point in the history
  77. lib: change http client path assignment

    - change http client path assignment from  to  (it's more
    appropriate in this case).
    - since the inner condition is the only referencing the variable, moved
    the assignment to the inner condition.
    
    PR-URL: #35508
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    dekinderfiets authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    6efa140 View commit details
    Browse the repository at this point in the history
  78. doc: fix util.inspect change history

    PR-URL: #35528
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    fb9bb05 View commit details
    Browse the repository at this point in the history
  79. doc: use sentence case for class property

    Change the one instance of the Class Property heading in our docs to
    Class property to match style with other headers.
    
    PR-URL: #35540
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    42c4795 View commit details
    Browse the repository at this point in the history
  80. build: fuzzer that targets node::LoadEnvironment()

    Refs: #34761
    Refs: #33724
    
    PR-URL: #34844
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    DavidKorczynski authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    f3a0457 View commit details
    Browse the repository at this point in the history
  81. doc: improve SIGINT error text

    * add kbd elements
    * correct period/parenthesis order
    * make fragment a full sentence
    
    PR-URL: #35558
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    05db4b8 View commit details
    Browse the repository at this point in the history
  82. doc: simplify wording in tracing APIs doc

    PR-URL: #35556
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    PoojaDurgad authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    992355c View commit details
    Browse the repository at this point in the history
  83. src: move node_process to modern THROW_ERR*

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #35472
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jasnell authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b741f2f View commit details
    Browse the repository at this point in the history
  84. src: move node_contextify to modern THROW_ERR_*

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #35470
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jasnell authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    e9bee39 View commit details
    Browse the repository at this point in the history
  85. tools: bump cpplint.py to 1.4.6

    Refs: https://github.com/cpplint/cpplint/releases/tag/1.4.6
    
    PR-URL: #35569
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    1173efc View commit details
    Browse the repository at this point in the history
  86. tools: refloat 7 Node.js patches to cpplint.py

    Cherry-pick 12c8b4d
    Original commit message:
        This commit is a suggestion for adding a rule for NULL usages in the
        code base. This will currently report a number of errors which could be
        ignored using // NOLINT (readability/null_usage)
    
        PR-URL: #17373
        Reviewed-By: Jon Moss <me@jonathanmoss.me>
        Reviewed-By: Anna Henningsen <anna@addaleax.net>
        Reviewed-By: Timothy Gu <timothygu99@gmail.com>
        Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
        Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
        Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
        Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    
    Refs: 12c8b4d
    
    Cherry-pick fc81e80
    Original commit message:
    
        Update cpplint.py to check for inline headers when the corresponding
        header is already included.
    
        PR-URL: #21521
        Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Refs: fc81e80
    
    Cherry-pick cbc3dd9
    Original commit message:
    
        src, tools: add check for left leaning pointers
    
        This commit adds a rule to cpplint to check that pointers in the code
        base lean to the left and not right, and also fixes the violations
        reported.
    
        PR-URL: #21010
        Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-By: Anna Henningsen <anna@addaleax.net>
        Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
        Reviewed-By: James M Snell <jasnell@gmail.com>
    
    Refs: cbc3dd9
    
    Cherry-pick 9029981
    Original commit message:
    
        tools: fix cpplint.py header rules
    
        THIS COMMIT SHOULD GO WITH THE NEXT. IT WILL FIND NEW LINT.
    
        PR-URL: #26306
        Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    
    Refs: 9029981
    
    Cherry-pick 0a25ace
    Original commit message:
    
        tools: move cpplint configuration to .cpplint
    
        PR-URL: #27098
        Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
        Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    
    Refs: 0a25ace
    
    Cherry-pick afa9a72
    Original commit message:
    
        tools: refloat update link to google styleguide for cpplint
    
        This commit updates two old links to Google's C++ styleguide which
        currently result in a 404 when accessed.
    
        PR-URL: #30876
        Reviewed-By: Michaël Zasso <targos@protonmail.com>
        Reviewed-By: David Carlier <devnexen@gmail.com>
        Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
        Reviewed-By: Richard Lau <riclau@uk.ibm.com>
        Reviewed-By: Rich Trott <rtrott@gmail.com>
    
    Refs: afa9a72
    
    Cherry-pick e23bf8f
    Original commit message:
    
        tools,src: refloat forbid usage of v8::Persistent
    
        `v8::Persistent` comes with the surprising catch that it requires
        manual cleanup. `v8::Global` doesn’t, making it easier to use,
        and additionally provides move semantics. New code should always
        use `v8::Global`.
    
        PR-URL: #31018
        Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
        Reviewed-By: Richard Lau <riclau@uk.ibm.com>
        Reviewed-By: James M Snell <jasnell@gmail.com>
        Reviewed-By: David Carlier <devnexen@gmail.com>
        Reviewed-By: Rich Trott <rtrott@gmail.com>
        Reviewed-By: Gus Caplan <me@gus.host>
        Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
        Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
        Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    
    PR-URL: #35569
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    adf4f90 View commit details
    Browse the repository at this point in the history
  87. doc: use kbd element in process doc

    PR-URL: #35584
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a0b541c View commit details
    Browse the repository at this point in the history
  88. doc: add PoojaDurgad as a triager

    I would like to apply for a triager in this project.
    My motivation to become a triager is to help with the issues
    in this repo and the help repo, as well as learn deeper
    internals of node.js, and to eventually become a collaborator!
    I hear by declare that I read and understood the project’s
    Code of Conduct, and will adhere to that.
    
    PR-URL: #35153
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    PoojaDurgad authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    5fea51b View commit details
    Browse the repository at this point in the history
  89. inspector: do not hardcode Debugger.CallFrameId in tests

    Debugger.CallFrameId is defined as an opaque string [1].
    
    Some tests currently hardcode the value, relying on
    undocumented internal details of V8. This makes it hard
    for V8 to change the internal representation.
    
    We should instead use the reported call frame id from
    the Debugger.paused event directly. This is how every
    inspector client does it.
    
    [1] https://chromedevtools.github.io/devtools-protocol/tot/Debugger/#type-CallFrameId
    
    PR-URL: #35570
    Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    dgozman authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a3e8829 View commit details
    Browse the repository at this point in the history
  90. crypto: update certdata to NSS 3.56

    This is the certdata.txt[0] from NSS 3.56, released on 2020-08-21.
    
    [0] https://hg.mozilla.org/projects/nss/raw-file/NSS_3_56_RTM/lib/ckfw/builtins/certdata.txt
    
    crypto: update root certificates
    
    Update the list of root certificates in src/node_root_certs.h with
    tools/mk-ca-bundle.pl.
    
    Certificates added:
    - Microsoft ECC Root Certificate Authority 2017
    - Microsoft RSA Root Certificate Authority 2017
    - e-Szigno Root CA 2017
    - certSIGN Root CA G2
    
    Certificates removed:
    - Verisign Class 3 Public Primary Certification Authority - G3
    - AddTrust External Root
    - Staat der Nederlanden Root CA - G2
    - LuxTrust Global Root 2
    
    PR-URL: #35546
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    codebytere authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    42f64eb View commit details
    Browse the repository at this point in the history
  91. doc: add symlink information for process.execpath

    PR-URL: #35590
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    PoojaDurgad authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a9ac754 View commit details
    Browse the repository at this point in the history
  92. doc: revise description of process.ppid

    PR-URL: #35589
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    PoojaDurgad authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    bfff4fc View commit details
    Browse the repository at this point in the history
  93. doc: use test username instead of real

    PR-URL: #35611
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    PoojaDurgad authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    42a587f View commit details
    Browse the repository at this point in the history
  94. doc: document Buffer.concat may use internal pool

    PR-URL: #35541
    Refs: #32703
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    puzpuzpuz authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    df52814 View commit details
    Browse the repository at this point in the history
  95. n-api: revert change to finalization

    Fixes: #35620
    
    This reverts commit a6b6556 which
    changed finalization behavior related to N-API. We will investigate
    the original issue with the test separately.
    
    PR-URL: #35777
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    mhdawson authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    a93ca2d View commit details
    Browse the repository at this point in the history
  96. module: use Wasm CJS lexer when available

    PR-URL: #35583
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    354f358 View commit details
    Browse the repository at this point in the history
  97. esm: fix hook mistypes and links to types

    Prior to this commit, the custom loader hooks were:
    * missing the Node.js API ref docs types
    * missing the function signature from their sections
    * linking directly to the specification (not customary)
    * had an inconsistent non-nullable JSDoc promise return
    * had JSDoc object properties that weren't alpha-sorted
    * designated set of non-nullable types when single was fine
    
    Notes:
        https://www.typescriptlang.org/play/index.html?strictNullChecks=true&useJavaScript=true#code/PQKhCgAIUgBAHAhgJ0QW0gbwM4BdkCWAdgOYC+k28ApgMYEBmB1yUMCK6WmbkftAeyIATArgJDsALkgBCAILJUATwA8eQqQB8AGl58kyakVwBVAEoAZGbIAUG4iUgAfSAFcR1JkWrCAlHrQkGQUgibUAB64vByoGJgAYh604kIUwl6IbgA2uObU2ALZAG7UMUa4bshE2FgACsgCaATY1KqY7sjZMg6kwVpkbMDgkfACyLiQiNjKRLSQDMmpRJBGhSXU9jT0TCw6kGG4kbj7GQxZufnrpX5YUAeSkx2GxmZWkAC8kEQ52cGfD3CUQA3PdGJBbABZRC4AAWADpUCImrZblpIAAGeEAVluHWAwEgAGUmtRAaJlvD7nwCZAEuNKKTIAzENk-lQ6IxmMhsKcBIy0GTaG48E1INkBCQCPMGAy1kVio4qXwaYT5NkAO6IZS1CpVFaIFYCABGACs6JMBAxIHCybLkPEqt1IOp8I4BsqVXrqncVSqnTIXiYLJZIAB+al+77UDWQENbTm7ZD7INvSx+eGwozWqSRv0+WPxjk7bkZrNeQIqsigviDPjgqEwhFI4Qo26qTE4vGQWnyIgCW3IcliCRET2qyAAdVhxgOrOyjkgAAMzhc8gUFdQl-tbVNkCQ3IKTLVaIbIMayWgBKJdsJ4ZAAJIrOEtSO00+tSBiADktUQwlEPpDQHGch2KVk3DtBk0BhWhYUXMIKVHVlIFGcZcGwcdVmoSofVXHJ12uTZiy5PZfSjeFKMOY5Kz9RCR0kGQAG1KPhaiojYoQkMkfZv2AwcAFp6OWb8AF1aOCPwa2Ce5aQAES8FgbX5AA5a9qHhU1antKY2WZQdKG2UieU9b0Vnwy4Nw2BMSzI9iTkgCzCM3KTwDIIA
        https://closure-compiler.appspot.com/home#code%3D%252F%252F%2520%253D%253DClosureCompiler%253D%253D%250A%252F%252F%2520%2540compilation_level%2520ADVANCED_OPTIMIZATIONS%250A%252F%252F%2520%2540warning_level%2520VERBOSE%250A%252F%252F%2520%2540jscomp_error%2520strictCheckTypes%250A%252F%252F%2520%2540language_out%2520ECMASCRIPT_NEXT%250A%252F%252F%2520%2540checks_only%250A%252F%252F%2520%253D%253D%252FClosureCompiler%253D%253D%250A%250A%252F**%250A%2520*%2520%2540param%2520%257Bstring%257D%2520specifier%250A%2520*%2520%2540param%2520%257B%257B%250A%2520*%2520%2520%2520conditions%253A%2520!Array%253Cstring%253E%252C%250A%2520*%2520%2520%2520parentURL%253A%2520!(string%2520%257C%2520undefined)%252C%250A%2520*%2520%257D%257D%2520context%250A%2520*%2520%2540param%2520%257BFunction%257D%2520defaultResolve%250A%2520*%2520%2540returns%2520%257BPromise%253C%257B%2520url%253A%2520string%2520%257D%253E%257D%250A%2520*%252F%250Aexport%2520async%2520function%2520resolve(specifier%252C%2520context%252C%2520defaultResolve)%2520%257B%250A%2520%2520const%2520%257B%2520parentURL%2520%253D%2520null%2520%257D%2520%253D%2520context%253B%250A%2520%2520if%2520(Math.random()%2520%253E%25200.5)%2520%257B%2520%252F%252F%2520Some%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520For%2520some%2520or%2520all%2520specifiers%252C%2520do%2520some%2520custom%2520logic%2520for%2520resolving.%250A%2520%2520%2520%2520%252F%252F%2520Always%2520return%2520an%2520object%2520of%2520the%2520form%2520%257Burl%253A%2520%253Cstring%253E%257D.%250A%2520%2520%2520%2520return%2520%257B%250A%2520%2520%2520%2520%2520%2520url%253A%2520parentURL%2520%253F%250A%2520%2520%2520%2520%2520%2520%2520%2520new%2520URL(specifier%252C%2520parentURL).href%2520%253A%250A%2520%2520%2520%2520%2520%2520%2520%2520new%2520URL(specifier).href%252C%250A%2520%2520%2520%2520%257D%253B%250A%2520%2520%257D%250A%2520%2520if%2520(Math.random()%2520%253C%25200.5)%2520%257B%2520%252F%252F%2520Another%2520condition.%250A%2520%2520%2520%2520%252F%252F%2520When%2520calling%2520%2560defaultResolve%2560%252C%2520the%2520arguments%2520can%2520be%2520modified.%2520In%2520this%250A%2520%2520%2520%2520%252F%252F%2520case%2520it's%2520adding%2520another%2520value%2520for%2520matching%2520conditional%2520exports.%250A%2520%2520%2520%2520return%2520defaultResolve(specifier%252C%2520%257B%250A%2520%2520%2520%2520%2520%2520...context%252C%250A%2520%2520%2520%2520%2520%2520conditions%253A%2520%255B...context.conditions%252C%2520'another-condition'%255D%252C%250A%2520%2520%2520%2520%257D)%253B%250A%2520%2520%257D%250A%2520%2520%252F%252F%2520Defer%2520to%2520Node.js%2520for%2520all%2520other%2520specifiers.%250A%2520%2520return%2520defaultResolve(specifier%252C%2520context%252C%2520defaultResolve)%253B%250A%257D
    
    PR-URL: #34240
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Derek Lewis authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    7a98961 View commit details
    Browse the repository at this point in the history
  98. module: cjs-module-lexer@0.4.1 big endian fix

    PR-URL: #35634
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    ea23939 View commit details
    Browse the repository at this point in the history
  99. deps: update to cjs-module-lexer@0.4.3

    PR-URL: #35745
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    d7f0e3e View commit details
    Browse the repository at this point in the history
  100. deps: upgrade to cjs-module-lexer@0.5.0

    PR-URL: #35871
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    5b8d3c7 View commit details
    Browse the repository at this point in the history
  101. deps: update to cjs-module-lexer@0.5.2

    PR-URL: #35901
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    bdcc77b View commit details
    Browse the repository at this point in the history
  102. deps: upgrade to cjs-module-lexer@1.0.0

    PR-URL: #35928
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    6539cf2 View commit details
    Browse the repository at this point in the history
  103. doc: error code fix in resolver spec

    PR-URL: #34998
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    guybedford authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    d991200 View commit details
    Browse the repository at this point in the history
  104. doc: copyedit esm.md

    This provides a number of minor style adjustments and small corrections
    to esm.md text.
    
    Co-authored-by: Guy Bedford <guybedford@gmail.com>
    
    PR-URL: #35414
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    1a8f3a8 View commit details
    Browse the repository at this point in the history
  105. doc: put release script specifics in details

    Listing all the steps can be confusing an make it seem like
    the releaser is meant to run each of these steps manually. In fact
    I personally did that my first release.
    
    Let's put those steps in a details block to make it more obvious
    that it is informational and not steps to follow
    
    PR-URL: #35260
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b50b34b View commit details
    Browse the repository at this point in the history
  106. doc: put landing specifics in details tag

    Showing all the steps isn't usually useful and makes it seem like the
    collaborator is meant to follow the manual steps. I've seen this happen
    during at least one onboarding. The section is also a bit long to
    comfortably scroll over quickly to find the next section.
    
    Let's put those steps in a details block to make it more obvious that it
    is there for unusual situations only.
    
    Co-authored-by: Shelley Vohr <codebytere@gmail.com>
    
    PR-URL: #35296
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    77555d8 View commit details
    Browse the repository at this point in the history
  107. repl: improve static import error message in repl

    Currently the error is rather ambiguous and does not inform folks that
    static import is not supported in the repl. This overrides the default
    error message with one that is more informative.
    
    Closes: #33576
    
    PR-URL: #33588
    Fixes: #33576
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    MylesBorins committed Nov 16, 2020
    Copy the full SHA
    18f01dd View commit details
    Browse the repository at this point in the history
  108. doc: move module core module doc to separate page

    The `module` core module is available for both CJS and ESM users, it
    deserves its own page.
    
    PR-URL: #34747
    Refs: nodejs/modules#539
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    f0b06b6 View commit details
    Browse the repository at this point in the history
  109. doc: add ESM examples in module API doc page

    PR-URL: #34875
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    7dc3b74 View commit details
    Browse the repository at this point in the history
  110. doc: make minor improvements to module.md

    * sort references in ASCII order
    * replace abbreviation
    * split comma splice into two sentences and add appropriate punctuation
    * replace future tense with present tense
    
    PR-URL: #35083
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b4941cf View commit details
    Browse the repository at this point in the history
  111. doc: fix broken links in modules.md

    PR-URL: #35182
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    79f3c32 View commit details
    Browse the repository at this point in the history
  112. doc: move package.import content higher

    This is currently at the end of the doc, it likely should be found
    right after the documentation about `package.exports`. Refactored the
    docs while duplicating content as little as possible.
    
    Co-authored-by: Guy Bedford <guybedford@gmail.com>
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Co-authored-by: Rich Trott <rtrott@gmail.com>
    Signed-off-by: Myles Borins <mylesborins@github.com>
    
    PR-URL: #35535
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    MylesBorins committed Nov 16, 2020
    Copy the full SHA
    1cd1d01 View commit details
    Browse the repository at this point in the history
  113. crypto: fix KeyObject garbage collection

    These objects don’t hold any resources on the event loop, so they
    should be weak objects that can be garbage collected when nothing
    refers to them anymore.
    
    PR-URL: #35481
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    9024436 View commit details
    Browse the repository at this point in the history
  114. doc: update releaser in v12.18.4 changelog

    PR-URL: #35217
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    BethGriggs authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b78a1a1 View commit details
    Browse the repository at this point in the history
  115. benchmark: ignore build artifacts for napi addons

    Add `.gitignore` to ignore the `build` directory in a similar way
    to the other addons under `benchmark/napi`.
    
    PR-URL: #35970
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    c6eb0b6 View commit details
    Browse the repository at this point in the history
  116. events: assume an EventEmitter if emitter.on is a function

    Assume that the `emitter` argument of `EventEmitter.once()` is an
    `EventEmitter` if `emitter.on` is a function.
    
    Refs: 4b3654e923e7c3c2
    Refs: websockets/ws#1795
    
    PR-URL: #35818
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    lpinca authored and MylesBorins committed Nov 16, 2020
    Copy the full SHA
    b484732 View commit details
    Browse the repository at this point in the history
  117. 2020-11-24, Version 12.20.0 'Erbium' (LTS)

    Notable changes:
    
    crypto:
      * update certdata to NSS 3.56 (Shelley Vohr) #35546
    deps:
      * update llhttp to 2.1.3 (Fedor Indutny) #35435
      * (SEMVER-MINOR) upgrade to libuv 1.40.0 (Colin Ihrig) #35333
    doc:
      * add aduh95 to collaborators (Antoine du Hamel) #35542
    fs:
      * (SEMVER-MINOR) add .ref() and .unref() methods to watcher classes (rickyes) #33134
    http:
      * (SEMVER-MINOR) added scheduling option to http agent (delvedor) #33278
    module:
      * (SEMVER-MINOR) exports pattern support (Guy Bedford) #34718
      * (SEMVER-MINOR) named exports for CJS via static analysis (Guy Bedford) #35249
    n-api:
      * (SEMVER-MINOR) add more property defaults (Gerhard Stoebich) #35214
    src:
      * (SEMVER-MINOR) move node_contextify to modern THROW_ERR_* (James M Snell) #35470
      * (SEMVER-MINOR) move node_process to modern THROW_ERR* (James M Snell) #35472
      * (SEMVER-MINOR) expose v8::Isolate setup callbacks (Shelley Vohr) #35512
    
    PR-URL: #35950
    MylesBorins committed Nov 16, 2020
    Copy the full SHA
    d84392f View commit details
    Browse the repository at this point in the history