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.17.0 release proposal #33197

Merged
merged 349 commits into from May 26, 2020
Merged

v12.17.0 release proposal #33197

merged 349 commits into from May 26, 2020
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 28, 2020

  1. test: show child stderr output in largepages test

    The test starts child processes. A recent change is suspected of causing
    flaky crashes on one of the alpine buildbots but we can't know for sure
    because the test hides the child's stderr.
    
    Refs: #31547 (comment)
    
    PR-URL: #31612
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and targos committed Apr 28, 2020
    Copy the full SHA
    4aaf407 View commit details
    Browse the repository at this point in the history
  2. worker: add ability to take heap snapshot from parent thread

    PR-URL: #31569
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    ab8f38b View commit details
    Browse the repository at this point in the history
  3. perf_hooks: add property flags to GCPerformanceEntry

    PR-URL: #29547
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    fanatid authored and targos committed Apr 28, 2020
    Copy the full SHA
    9eeee0d View commit details
    Browse the repository at this point in the history
  4. test: improve logged errors

    To indicate which lines are test lines and which from Node.js core,
    it's good to rely on `util.inspect()` while inspecting errors.
    
    The stack was accessed directly instead in multiple cases and logging
    that does not provide as much information as using `util.inspect()`.
    
    PR-URL: #31425
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Yihong Wang <yh.wang@ibm.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    a4ee930 View commit details
    Browse the repository at this point in the history
  5. test: fix flaky test-trace-sigint-on-idle

    Previously, the test could fail on slow machines because the
    child process was still in the process of starting up after
    one second, and not yet idle.
    
    To resolve this:
    - Wait for a message from the child process indicating that it
      had started.
    - Wait some time after that, but make it platform-dependent to
      account for timing differences.
    - Remove the timer in the child process.
    
    PR-URL: #31645
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    2fc72ca View commit details
    Browse the repository at this point in the history
  6. src: do not unnecessarily re-assign uv handle data

    a555be2 re-assigned `async_.data` to indicate success
    or failure of the constructor. As the `HandleWrap` implementation
    uses that field to access the `HandleWrap` instance from the
    libuv handle, this introduced two issues:
    
    - It implicitly assumed that casting
      `MessagePort*` → `void*` → `HandleWrap*` would be valid.
    - It made the `HandleWrap::OnClose()` function fail with a
      `nullptr` dereference if the constructor did fail.
    
    In particular, the second issue made
    test/parallel/test-worker-cleanexit-with-moduleload.js` crash at
    least once in CI.
    
    Since re-assigning `async_.data` isn’t actually necessary here
    (only a leftover from earlier versions of that commit), fix this by
    using a local variable instead, and add a `CHECK` that provides better
    error messages for this type of issue in the future.
    
    Refs: #31605
    
    PR-URL: #31696
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    38de40a View commit details
    Browse the repository at this point in the history
  7. Revert "benchmark: remove special test entries"

    This reverts commit 357230f.
    
    Refs: #31396
    PR-URL: #31722
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    ef80c02 View commit details
    Browse the repository at this point in the history
  8. Revert "benchmark: refactor helper into a class"

    This reverts commit b70741e.
    
    Refs: #31396
    PR-URL: #31722
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    cf2ca11 View commit details
    Browse the repository at this point in the history
  9. test: fix flaky parallel/test-repl-history-navigation test

    Two scenarios should be tested:
    
    1. The completion is triggered and the result is printed before the
       next invocation.
    2. The completion is triggered multiple times right after each other
       without waiting for the result. In that case only the last result
       should be printed.
    
    The first scenario did not need a timeout while the latter did not
    need a timeout for the second invocation.
    
    PR-URL: #31708
    Fixes: #31094
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    8a044cb View commit details
    Browse the repository at this point in the history
  10. vm: lazily initialize primordials for vm contexts

    Lazily initialize primordials when cross-context support for
    builtins is needed to fix the performance regression in context
    creation.
    
    PR-URL: #31738
    Fixes: #29842
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    joyeecheung authored and targos committed Apr 28, 2020
    Copy the full SHA
    02de66a View commit details
    Browse the repository at this point in the history
  11. tls: expose SSL_export_keying_material

    Fixes: #31802
    
    PR-URL: #31814
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    simllll authored and targos committed Apr 28, 2020
    Copy the full SHA
    6348fae View commit details
    Browse the repository at this point in the history
  12. test: add secp224k1 check in crypto-dh-stateless

    This commit adds a check to test-crypto-dh-statless to avoid an error if
    the curve secp224k1 is not present. This could occur if node was
    configured with shared-openssl.
    
    The use case for this was building on RHEL 8.1 which only has the
    following curves:
    $ openssl ecparam -list_curves
    secp224r1 : NIST/SECG curve over a 224 bit prime field
    secp256k1 : SECG curve over a 256 bit prime field
    secp384r1 : NIST/SECG curve over a 384 bit prime field
    secp521r1 : NIST/SECG curve over a 521 bit prime field
    prime256v1: X9.62/SECG curve over a 256 bit prime field
    
    PR-URL: #31715
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Apr 28, 2020
    Copy the full SHA
    d1d22fa View commit details
    Browse the repository at this point in the history
  13. build: add missing comma in node.gyp

    This commit adds a missing comma for consistency with the
    surrounding lines.
    
    PR-URL: #31959
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    e765d59 View commit details
    Browse the repository at this point in the history
  14. module: port source map sort logic from chromium

    Digging in to the delta between V8's source map library, and chromium's
    the most significant difference that jumped out at me was that we were
    failing to sort generated columns. Since negative offsets are not
    restricted in the spec, this can lead to bugs.
    
    fixes: #31286
    
    PR-URL: #31927
    Fixes: #31286
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    bcoe authored and targos committed Apr 28, 2020
    Copy the full SHA
    b62db59 View commit details
    Browse the repository at this point in the history
  15. crypto: simplify exportKeyingMaterial

    PR-URL: #31922
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    tniessen authored and targos committed Apr 28, 2020
    Copy the full SHA
    0847bc3 View commit details
    Browse the repository at this point in the history
  16. src: improve handling of internal field counting

    Change suggested by bnoordhuis.
    
    Improve handing of internal field counting by using enums.
    Helps protect against future possible breakage if field
    indexes are ever changed or added to.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #31960
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    c979aea View commit details
    Browse the repository at this point in the history
  17. dgram: make UDPWrap more reusable

    Allow using the handle more directly for I/O in other parts of
    the codebase.
    
    Originally landed in the QUIC repo
    
    Original review metadata:
    
    ```
      PR-URL: nodejs/quic#165
      Reviewed-By: James M Snell <jasnell@gmail.com>
      Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    ```
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #31871
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    322a998 View commit details
    Browse the repository at this point in the history
  18. lib: move isLegalPort to validators, refactor

    isLegalPort was used multiple places in the same way -- to validate
    the port and throw if necessary. Moved into internal/validators.
    
    PR-URL: #31851
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    434ca87 View commit details
    Browse the repository at this point in the history
  19. src: introduce node_sockaddr

    Introduce the SocketAddress utility class. The QUIC implementation
    makes extensive use of this for handling of socket addresses. It
    was separated out to make it generically reusable throughout core
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #32070
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    83c47b6 View commit details
    Browse the repository at this point in the history
  20. wasi: add returnOnExit option

    This commit adds a WASI option allowing the __wasi_proc_exit()
    function to return an exit code instead of forcefully terminating
    the process.
    
    PR-URL: #32101
    Fixes: #32093
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    5c81b8d View commit details
    Browse the repository at this point in the history
  21. src: create a getter for kernel version

    Backport-PR-URL: #32166
    PR-URL: #31732
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol authored and targos committed Apr 28, 2020
    Copy the full SHA
    394487e View commit details
    Browse the repository at this point in the history
  22. src: add missing namespace using statements in node_watchdog.h

    Although these `using`s can derived from other header files, it will
    be better to be self-contained.
    
    PR-URL: #32117
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    legendecas authored and targos committed Apr 28, 2020
    Copy the full SHA
    154da1f View commit details
    Browse the repository at this point in the history
  23. src: handle NULL env scenario

    Convert hard assertion into a throw with a useful error
    message in src/module_wrap.cc.
    
    PR-URL: #31899
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    HarshithaKP authored and targos committed Apr 28, 2020
    Copy the full SHA
    51a3456 View commit details
    Browse the repository at this point in the history
  24. benchmark: refactor helper into a class

    This reverts commit 5b0308c.
    
    PR-URL: #31755
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    011e3de View commit details
    Browse the repository at this point in the history
  25. benchmark: add test and all options and improve errors"

    This reverts commit 4671d55 and
    contains a fix to the issue raised for the revert.
    
    PR-URL: #31755
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    7139788 View commit details
    Browse the repository at this point in the history
  26. test: refactor all benchmark tests to use the new test option

    This reverts commit aa0a01b.
    
    PR-URL: #31755
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    5a8e54b View commit details
    Browse the repository at this point in the history
  27. benchmark: remove special test entries

    This reverts commit 7cfbc9f.
    
    PR-URL: #31755
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    b4a6351 View commit details
    Browse the repository at this point in the history
  28. doc: remove personal pronoun usage in addons.md

    Per our style guide, avoid personal pronouns (I, you, we, etc.) in
    reference documentation.
    
    PR-URL: #32142
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Apr 28, 2020
    Copy the full SHA
    c98ba95 View commit details
    Browse the repository at this point in the history
  29. doc: remove personal pronoun usage in errors.md

    Per our style guide, avoid personal pronouns (I, you, we, etc.) in
    reference documentation.
    
    PR-URL: #32142
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Apr 28, 2020
    Copy the full SHA
    9a7f892 View commit details
    Browse the repository at this point in the history
  30. doc: remove personal pronoun usage in fs.md

    Per our style guide, avoid personal pronouns (I, you, we, etc.) in
    reference documentation.
    
    PR-URL: #32142
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Apr 28, 2020
    Copy the full SHA
    97689e0 View commit details
    Browse the repository at this point in the history
  31. doc: remove personal pronoun usage in policy.md

    Per our style guide, avoid personal pronouns (I, you, we, etc.) in
    reference documentation.
    
    PR-URL: #32142
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and targos committed Apr 28, 2020
    Copy the full SHA
    c0cf234 View commit details
    Browse the repository at this point in the history
  32. doc: change worker.takeHeapSnapshot to getHeapSnapshot

    Adapt doc to match implementation which exports getHeapSnapshot().
    
    PR-URL: #32061
    Refs: #31569
    Refs: https://github.com/nodejs/node/blob/987a67339518d0380177a2e589f2bbd274230d0e/lib/internal/worker.js#L323
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Flarna authored and targos committed Apr 28, 2020
    Copy the full SHA
    f5b60ec View commit details
    Browse the repository at this point in the history
  33. Revert "src: keep main-thread Isolate attached to platform during Dis…

    …pose"
    
    This reverts commit e460f8c.
    
    It is no longer necessary after the previous commit, and restores
    consistency of the call order between the main thread code,
    the other call sites, and the documentation.
    
    Refs: #31795
    PR-URL: #31853
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    40c5d58 View commit details
    Browse the repository at this point in the history
  34. fs: make fs.read params optional

    This makes all the parameters of the `fs.read` function, except
    for `fd` and the callback(when not using as a promise) optional.
    
    They will default to sensible defaults.
    
    Fixes: #31237
    
    PR-URL: #31402
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    lholmquist authored and targos committed Apr 28, 2020
    Copy the full SHA
    16a913f View commit details
    Browse the repository at this point in the history
  35. http, async_hooks: remove unneeded reference to wrapping resource

    Remove the reference from handle to the unique/wrapping resource
    ReusedHandle as there is meanwhile a strong reference for all async
    resources in place via AsyncWarp::resource_.
    
    PR-URL: #32054
    Refs: #30959
    Refs: #30196
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Flarna authored and targos committed Apr 28, 2020
    Copy the full SHA
    12b8345 View commit details
    Browse the repository at this point in the history
  36. repl: align preview with the actual executed code

    This adds preview output for input that may not be wrapped.
    
    PR-URL: #32154
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    3903aec View commit details
    Browse the repository at this point in the history
  37. test: refactor and simplify test-repl-preview

    Use an object to indicate which part belongs to the input and which
    to the output.
    On top of that this also simplifies the expected output by
    automatically inserting the default repl line for previews and by
    automatically checking for the correct output line length.
    
    PR-URL: #32154
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    BridgeAR authored and targos committed Apr 28, 2020
    Copy the full SHA
    10ee89a View commit details
    Browse the repository at this point in the history
  38. worker: allow URL in Worker constructor

    The explicit goal is to let users use `import.meta.url` to
    re-load thecurrent module inside a Worker instance.
    
    Fixes: #30780
    PR-URL: #31664
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    aduh95 authored and targos committed Apr 28, 2020
    Copy the full SHA
    217e3df View commit details
    Browse the repository at this point in the history
  39. esm: port loader code to JS

    There is no reason for this to be in C++. Using JavaScript means that
    the code is more accessible to more developers, which is important
    for any Node.js feature. This also simplifies the code significantly
    in some areas. On the technical side, this potentially also enables
    making some of the file system operations that are involved
    asynchronous.
    
    PR-URL: #32201
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    7410e8d View commit details
    Browse the repository at this point in the history
  40. test: verify that WASI errors are rethrown

    This commit adds a test to verify that exceptions thrown from a
    WASI application are properly caught and rethrown. This also
    gets the code coverage in lib/wasi.js back to 100%.
    
    PR-URL: #32157
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    efc844d View commit details
    Browse the repository at this point in the history
  41. deps: upgrade to libuv 1.35.0

    Notable changes:
    
    - The UV_UDP_MMSG_CHUNK UDP flag has been added.
    - Support has been dropped for FreeBSD < 10.
    - The FreeBSD and Linux system call logic has been simplified to assume the
      presence of features covered by libuv's minimum system requirements.
    - Listening on IPC pipes is no longer allowed.
    - Fix iOS and Android builds.
    
    PR-URL: #32204
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    ae83f0f View commit details
    Browse the repository at this point in the history
  42. test: make test-memory-usage predictable

    The current test relies on undeterministic behavior from V8 GC, and on
    newer versions of V8 this test ocasionally fails because that behavior
    changed.  Prevent that from happening using --predictable-gc-schedule.
    If this test fails in the future, it should fail consistently instead of
    ocasionally, which should help debug.
    
    Ref: nodejs/node-v8#144 (comment)
    Signed-off-by: Matheus Marchini <mmarchini@netflix.com>
    
    PR-URL: #32239
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    mmarchini authored and targos committed Apr 28, 2020
    Copy the full SHA
    4a08b85 View commit details
    Browse the repository at this point in the history
  43. src: unconditionally include report feature

    This commit removes all #ifdef NODE_REPORT checks in the src
    directory.
    
    PR-URL: #32242
    Fixes: #26293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    0b310df View commit details
    Browse the repository at this point in the history
  44. build: remove node_report option in node.gyp

    PR-URL: #32242
    Fixes: #26293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    70eaba1 View commit details
    Browse the repository at this point in the history
  45. build: make --without-report a no-op

    This commit makes the configure --without-report flag a no-op.
    This commit also updates a test that depends on the report CLI
    flags being conditionally present.
    
    PR-URL: #32242
    Fixes: #26293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    984ae30 View commit details
    Browse the repository at this point in the history
  46. test: remove common.skipIfReportDisabled()

    The report feature won't ever be disabled moving forward, so
    checking for its existence in the tests is no longer needed.
    
    PR-URL: #32242
    Fixes: #26293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    6a0bc83 View commit details
    Browse the repository at this point in the history
  47. doc,lib,src,test: make --experimental-report a nop

    This commit makes the --experimental-report CLI flag a no-op.
    
    PR-URL: #32242
    Fixes: #26293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    90d35ad View commit details
    Browse the repository at this point in the history
  48. doc: update stability of report features

    This commit updates the stability documentation for the report
    feature. All diagnostic report APIs are now listed as stable,
    with the exception of report-on-fatalerror, which still has a
    few bugs to work out.
    
    PR-URL: #32242
    Fixes: #26293
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    fd2486e View commit details
    Browse the repository at this point in the history
  49. src: find .text section using dl_iterate_phdr

    Use `dl_iterate_phdr(3)` to find the mapping containing
    `__node_text_start` instead of parsing `/proc/self/maps`.
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl>
    PR-URL: #32244
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    2 people authored and targos committed Apr 28, 2020
    Copy the full SHA
    2f976d7 View commit details
    Browse the repository at this point in the history
  50. n-api: fix comment on expected N-API version

    Remove the comment about the expected version so
    that it does not get out of sync. The code shows
    the expected version anyway.
    
    Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
    
    PR-URL: #32236
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and targos committed Apr 28, 2020
    Copy the full SHA
    fbd3943 View commit details
    Browse the repository at this point in the history
  51. src,cli: support compact (one-line) JSON reports

    Multi-line JSON is more human readable, but harder for log aggregators
    to consume, they usually require a log message per line, particularly
    for JSON. Compact output will be consumable by aggregators such as EFK
    (Elastic Search-Fluentd-Kibana), LogDNA, DataDog, etc.
    
    PR-URL: #32254
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    4ec25b4 View commit details
    Browse the repository at this point in the history
  52. errors: drop pronouns from ERR_WORKER_PATH message

    This commit drops pronouns from the ERR_WORKER_PATH message,
    and also shortens the text a bit.
    
    PR-URL: #32285
    Refs: #31664
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    ea4302b View commit details
    Browse the repository at this point in the history
  53. lib: add option to disable __proto__

    Adds `--disable-proto` CLI option which can be set to `delete` or
    `throw`.
    
    Fixes #31951
    
    PR-URL: #32279
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    devsnek authored and targos committed Apr 28, 2020
    Copy the full SHA
    b598321 View commit details
    Browse the repository at this point in the history
  54. doc: complete n-api version matrix

    We have received feedback indicating that the N-API support matrix as
    present now can be misinterpreted to mean that old versions of N-API
    are no longer supported on newer versions of Node.js. Filling out the
    bottom of the matrix should hopefully make it clear that support for
    such old versions continues.
    
    PR-URL: #32304
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Gabriel Schulhof authored and targos committed Apr 28, 2020
    Copy the full SHA
    742a032 View commit details
    Browse the repository at this point in the history
  55. src: prefer OnScopeLeave over shared_ptr<void>

    They do the same thing, but OnScopeLeave avoids an extra
    heap allocation and is more explicit about what it does.
    
    PR-URL: #32247
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    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: Gus Caplan <me@gus.host>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    43e9ae8 View commit details
    Browse the repository at this point in the history
  56. cli: allow --huge-max-old-generation-size in NODE_OPTIONS

    PR-URL: #32251
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    e67b97e View commit details
    Browse the repository at this point in the history
  57. src: add debug option to report large page stats

    This adds the new option `HUGEPAGES` to `NODE_DEBUG_NATIVE` that
    causes the code responsible for re-mapping to large pages to output
    memory range and page count information to `stderr`.
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    PR-URL: #32331
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Gabriel Schulhof authored and targos committed Apr 28, 2020
    Copy the full SHA
    df046de View commit details
    Browse the repository at this point in the history
  58. src: avoid Isolate::GetCurrent() for platform implementation

    There’s no need to use `Isolate::GetCurrent()`, which is generally
    discouraged, as the `Isolate*` pointer can generally be looked up
    from the per-Isolate platform data structure.
    
    PR-URL: #32269
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    8f7f4e5 View commit details
    Browse the repository at this point in the history
  59. test: refactoring / cleanup on child-process tests

    PR-URL: #32078
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    e3baee6 View commit details
    Browse the repository at this point in the history
  60. report: handle on-fatalerror better

    --report-on-fatalerror was not honored properly, as there was no
    way to check the value which was stored in the Environment pointer
    which can be inaccessible under certain fatal error situations.
    
    Move the flag out of Environment pointer so that this is doable.
    
    Co-authored-by: Shobhit Chittora schittora@paypal.com
    
    PR-URL: #32207
    Fixes: #31576
    Refs: #29881
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    HarshithaKP authored and targos committed Apr 28, 2020
    Copy the full SHA
    c126d28 View commit details
    Browse the repository at this point in the history
  61. src: use single ObjectTemplate for TextDecoder

    `ObjectTemplate`s are not garbage-collected like regular objects
    (for some reason). It is sufficient to create a single template
    anyway, so do that to address the memory leak.
    
    Fixes: #32424
    
    PR-URL: #32426
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    2da974e View commit details
    Browse the repository at this point in the history
  62. src: simplify large pages mapping code

    * Introduce `OnScopeLeave` handler for cleaning up mmap()ed range(s).
    * Factor out failure scenario at the bottom of the function with
      `fail` label for use with `goto`.
    * Do not allocate temporary range (`nmem`) on FreeBSD, because it is
      not used.
    
    The intention is that the steps involved in re-mapping to large pages
    become more clearly visible.
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
    PR-URL: #32396
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    2 people authored and targos committed Apr 28, 2020
    Copy the full SHA
    58aadcd View commit details
    Browse the repository at this point in the history
  63. src: fix compiler warnings in node_report_module

    Currently, the following compiler warnings are generated:
    ../src/node_report_module.cc:
    In function ‘void report::ShouldReportOnFatalError(
        const v8::FunctionCallbackInfo<v8::Value>&)’:
    ../src/node_report_module.cc:132:16: warning:
    unused variable ‘env’ [-Wunused-variable]
      132 |   Environment* env = Environment::GetCurrent(info);
          |                ^~~
    ../src/node_report_module.cc:
    In function ‘void report::SetReportOnFatalError(
        const v8::FunctionCallbackInfo<v8::Value>&)’:
    ../src/node_report_module.cc:138:16: warning:
    unused variable ‘env’ [-Wunused-variable]
      138 |   Environment* env = Environment::GetCurrent(info);
          |                ^~~
    
    This commit removes the unused variables.
    
    PR-URL: #32498
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Apr 28, 2020
    Copy the full SHA
    16d85d9 View commit details
    Browse the repository at this point in the history
  64. doc: add missing changes: entry for mkdir

    Refs: #31530
    
    PR-URL: #32490
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    d7e4bb2 View commit details
    Browse the repository at this point in the history
  65. src: unify Linux and FreeBSD large pages implem

    dl_iterate_phdr(3) is also available for FreeBSD. This change adds the
    same trimming code for the start and end of the .text section as on
    Linux, making it work on FreeBSD, and removing the need for the
    additional FreeBSD-specific check.
    
    Manually tested on
      * https://www.osboxes.org/freebsd/#freebsd-12-1-vbox
      * https://www.osboxes.org/freebsd/#freebsd-11-vbox
      * test-digitalocean-freebsd11-x64-2
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    PR-URL: #32534
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Gabriel Schulhof authored and targos committed Apr 28, 2020
    Copy the full SHA
    23f8f35 View commit details
    Browse the repository at this point in the history
  66. doc: fix typo in maintaining-openssl guide

    PR-URL: #32292
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    snitin315 authored and targos committed Apr 28, 2020
    Copy the full SHA
    13342f8 View commit details
    Browse the repository at this point in the history
  67. benchmark: add no-var rule in .eslintrc.yaml

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    d7f1add View commit details
    Browse the repository at this point in the history
  68. benchmark: use const instead of var in async_hooks

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    d205bc9 View commit details
    Browse the repository at this point in the history
  69. benchmark: use let instead of var in common.js

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    2d7c52d View commit details
    Browse the repository at this point in the history
  70. benchmark: use let instead of var in dns

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    a05f226 View commit details
    Browse the repository at this point in the history
  71. benchmark: use let instead of var in run.js

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    33858fa View commit details
    Browse the repository at this point in the history
  72. benchmark: use let instead of var in timers

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    f3ef894 View commit details
    Browse the repository at this point in the history
  73. benchmark: use let instead of var in tls

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    e68c21f View commit details
    Browse the repository at this point in the history
  74. benchmark: use let instead of var in url

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    862aeae View commit details
    Browse the repository at this point in the history
  75. benchmark: use let instead of var in util

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    c572218 View commit details
    Browse the repository at this point in the history
  76. benchmark: use let instead of var in worker

    PR-URL: #31794
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    dnlup authored and targos committed Apr 28, 2020
    Copy the full SHA
    cdf4f48 View commit details
    Browse the repository at this point in the history
  77. fs: add fs.readv()

    Fixes: #2298
    PR-URL: #32356
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    SheikhSajid authored and targos committed Apr 28, 2020
    Copy the full SHA
    6601fac View commit details
    Browse the repository at this point in the history
  78. test: als variant of test-timers-clearImmediate

    Refs: #31978
    
    PR-URL: #32303
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    HarshithaKP authored and targos committed Apr 28, 2020
    Copy the full SHA
    3020798 View commit details
    Browse the repository at this point in the history
  79. lib: replace Array to ArrayIsArray by primordials

    PR-URL: #32258
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    himself65 authored and targos committed Apr 28, 2020
    Copy the full SHA
    965452d View commit details
    Browse the repository at this point in the history
  80. lib: removed unused error code

    PR-URL: #32481
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    yashLadha authored and targos committed Apr 28, 2020
    Copy the full SHA
    5b1c346 View commit details
    Browse the repository at this point in the history
  81. worker: runtime error on pthread creation

    With large number of worker threads pthread
    fails with hard assertion.
    Instead of hard assertion throw a runtime error.
    
    PR-URL: #32344
    Fixes: #32319
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    HarshithaKP authored and targos committed Apr 28, 2020
    Copy the full SHA
    ade4ec6 View commit details
    Browse the repository at this point in the history
  82. test: fix a typo on test-fs-read-optional-params

    PR-URL: #32461
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    himself65 authored and targos committed Apr 28, 2020
    Copy the full SHA
    5598dd1 View commit details
    Browse the repository at this point in the history
  83. fs: fix fs.read when passing null value

    PR-URL: #32479
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    himself65 authored and targos committed Apr 28, 2020
    Copy the full SHA
    bde0837 View commit details
    Browse the repository at this point in the history
  84. dns: add dns.ALL hints flag constant

    PR-URL: #32183
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    murgatroid99 authored and targos committed Apr 28, 2020
    Copy the full SHA
    b7d264e View commit details
    Browse the repository at this point in the history
  85. wasi: clean up options validation

    PR-URL: #31797
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lundibundi authored and targos committed Apr 28, 2020
    Copy the full SHA
    7c723af View commit details
    Browse the repository at this point in the history
  86. src: refactoring and cleanup of node_i18n

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #32438
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    e035194 View commit details
    Browse the repository at this point in the history
  87. src: handle report options on fatalerror

    Follow on to #32207, 3 other options
    are also not respected under situations that the isolate is not
    available.
    
    PR-URL: #32497
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    8e3dd47 View commit details
    Browse the repository at this point in the history
  88. src: move JSONWriter into its own file

    The JSONWriter feature is not inherently related to the report
    feature in any way.
    
    As a drive-by fix, remove a number of unused header includes.
    
    PR-URL: #32552
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    29eca36 View commit details
    Browse the repository at this point in the history
  89. src: include AsyncWrap provider strings in snapshot

    … and move them to `IsolateData`, because they should exist once
    per Isolate.
    
    PR-URL: #32572
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    73c55d3 View commit details
    Browse the repository at this point in the history
  90. report: add missing locks for report_on_fatalerror accessors

    Overlooked in 2fa74e3.
    
    Refs: #32207
    
    PR-URL: #32535
    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: Gireesh Punathil <gpunathi@in.ibm.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    4b96fc5 View commit details
    Browse the repository at this point in the history
  91. src: clean up worker thread creation code

    Instead of setting and then in the case of error un-setting properties,
    only set them when no error occurs.
    
    Refs: #32344
    
    PR-URL: #32562
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    9f6ed72 View commit details
    Browse the repository at this point in the history
  92. src: remove loop_init_failed_ from Worker class

    There’s no reason for this to not be stored alongside the loop
    data structure itself.
    
    PR-URL: #32562
    Refs: #32344
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    464ff85 View commit details
    Browse the repository at this point in the history
  93. test: replace flag expose_internals to expose-internals

    PR-URL: #32542
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    juanarbol authored and targos committed Apr 28, 2020
    Copy the full SHA
    8eb6807 View commit details
    Browse the repository at this point in the history
  94. src: avoid using elevated v8 namespaces in node_errors.h

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #32468
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    6175a22 View commit details
    Browse the repository at this point in the history
  95. src: avoid using elevated v8 namespaces in node_perf.h

    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #32468
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed Apr 28, 2020
    Copy the full SHA
    7432d0a View commit details
    Browse the repository at this point in the history
  96. fs: make parameters optional for readSync

    This makes the offset, length and position parameters optional by
    passing in an options object.
    
    PR-URL: #32460
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lholmquist authored and targos committed Apr 28, 2020
    Copy the full SHA
    a100709 View commit details
    Browse the repository at this point in the history
  97. doc: add missing changes: entry for dns.ALL

    Refs: #32183
    
    PR-URL: #32617
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    a55d215 View commit details
    Browse the repository at this point in the history
  98. worker: support MessagePort to workers data

    PR-URL: #32278
    Fixes: #32250
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol authored and targos committed Apr 28, 2020
    Copy the full SHA
    ca4e652 View commit details
    Browse the repository at this point in the history
  99. src: fix extra includes of "env.h" and "env-inl.h"

    Due to how the Environment class is used throughout the codebase, there
    are a log of includes referencing eitehr env.h or env-inl.h.
    
    This commit cleans up the remaining extra includes of 'env.h' or
    'env-inl.h' and adds forward declarations of the Environment class.
    
    PR-URL: #32293
    Refs: #27531
    
    Fixes: #27531
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    nkreeger authored and targos committed Apr 28, 2020
    Copy the full SHA
    06953df View commit details
    Browse the repository at this point in the history
  100. module: expose exports conditions to loaders

    PR-URL: #31303
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    jkrems authored and targos committed Apr 28, 2020
    Copy the full SHA
    b62910c View commit details
    Browse the repository at this point in the history
  101. doc: make openssl commit messages be valid

    The current commit message is wrapped at 80 columns, but commit message
    descriptions should wrap at 72, so the maintainer has to fix the
    message up instead of just copying it in. They might not notice that
    requirement, in which case it has to be fixed during landing because
    `git node land` notices. To prevent that, make the message template
    wrap before 72 to keep the landing process as simple as possible.
    
    PR-URL: #32602
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    ad2fdd5 View commit details
    Browse the repository at this point in the history
  102. test: refactor test-worker

    PR-URL: #32509
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@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>
    himself65 authored and targos committed Apr 28, 2020
    Copy the full SHA
    c5e0615 View commit details
    Browse the repository at this point in the history
  103. src: munmap(2) upon class instance destructor

    Replace `OnScopeLeave` with a class whose instance destructor performs
    the munmap(2).
    
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    Fixes: #32532
    PR-URL: #32570
    Co-Authored-By: Anna Henningsen <github@addaleax.net>
    Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    3 people authored and targos committed Apr 28, 2020
    Copy the full SHA
    9a010a3 View commit details
    Browse the repository at this point in the history
  104. test: save test file in temporary directory

    The readv_sync.txt test file is currenly saved in the root directory.
    Save it in the dedicated temporary directory.
    
    PR-URL: #32670
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and targos committed Apr 28, 2020
    Copy the full SHA
    b3ac840 View commit details
    Browse the repository at this point in the history
  105. src: sync access for report and openssl options

    Audited usage of per-process OpenSSL and Report options, adding two
    required mutexes.
    
    Also documented existence and typical use of the per-process cli option
    mutex.
    
    PR-URL: #32618
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    c0d3fc2 View commit details
    Browse the repository at this point in the history
  106. util: add maxStrLength option to inspect function

    Refs: #25478
    
    PR-URL: #32392
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rosaxxny authored and targos committed Apr 28, 2020
    Copy the full SHA
    6aa3869 View commit details
    Browse the repository at this point in the history
  107. report: fix stderr matching for fatal error

    PR-URL: #32699
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    gengjiawen authored and targos committed Apr 28, 2020
    Copy the full SHA
    f945a5e View commit details
    Browse the repository at this point in the history
  108. build: remove .txt files from .gitignore

    Refs: #32670 (comment)
    
    PR-URL: #32710
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and targos committed Apr 28, 2020
    Copy the full SHA
    26fee8b View commit details
    Browse the repository at this point in the history
  109. worker: fix type check in receiveMessageOnPort

    Use the same type check we use in `MoveToContext()` in
    `ReceiveMessage()`.
    
    Fixes: #32742
    
    PR-URL: #32745
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    57cd7d2 View commit details
    Browse the repository at this point in the history
  110. doc: add puzpuzpuz to collaborators

    PR-URL: #32817
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    puzpuzpuz authored and targos committed Apr 28, 2020
    Copy the full SHA
    47d2a96 View commit details
    Browse the repository at this point in the history
  111. test: use symlinks to copy shells

    Git for Windows includes `C:\Program Files\Git\bin\bash.exe`,
    which spawns ..\usr\bin\bash.exe, so copying that executable
    won't work.
    
    However, if a symlink is used to test paths with spaces,
    this executable will still work.
    
    PR-URL: #32129
    Reviewed-By: Rod Vagg <rod@vagg.org>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    John Kleinschmidt authored and targos committed Apr 28, 2020
    Copy the full SHA
    769ac24 View commit details
    Browse the repository at this point in the history
  112. doc: document buffer.from returns internal pool buffer

    Fixes: #22139
    
    Co-authored-by: Mritunjay Goutam <mritunjaygoutam2204@gmail.com>
    
    PR-URL: #32703
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    HarshithaKP authored and targos committed Apr 28, 2020
    Copy the full SHA
    fa51d85 View commit details
    Browse the repository at this point in the history
  113. src: remove unused v8 Array namespace

    PR-URL: #32749
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    juanarbol authored and targos committed Apr 28, 2020
    Copy the full SHA
    c26637b View commit details
    Browse the repository at this point in the history
  114. buffer: mark pool ArrayBuffer as untransferable

    This removes a footgun in which users could attempt to transfer the
    pooled ArrayBuffer underlying a regular `Buffer`, which would lead to
    all `Buffer`s that share the same pool being rendered unusable as well,
    and potentially break creation of new pooled `Buffer`s.
    
    This disables this kind of transfer.
    
    Refs: #32752
    
    PR-URL: #32759
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    b53193a View commit details
    Browse the repository at this point in the history
  115. tls: provide default cipher list from command line

    Avoid storing data that depends on command line options on internal
    bindings. This is generally a cleaner way of accessing CLI options.
    
    PR-URL: #32760
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    dec8a21 View commit details
    Browse the repository at this point in the history
  116. buffer: add type check in bidirectionalIndexOf

    Add a type check in bidirectionalIndexOf to avoid using something else
    as Buffer. This may happen if e.g. lastIndexOf is called with invalid
    this.
    
    PR-URL: #32770
    Fixes: #32753
    Fixes: #32747
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Flarna authored and targos committed Apr 28, 2020
    Copy the full SHA
    02f99d2 View commit details
    Browse the repository at this point in the history
  117. doc: remove warning from response.writeHead

    The example referenced as being potentially unsafe specifies
    Content-Length correctly.
    
    PR-URL: #32700
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    cecchi authored and targos committed Apr 28, 2020
    Copy the full SHA
    38e51d3 View commit details
    Browse the repository at this point in the history
  118. build: use same flags as V8 for ASAN

    Signed-off-by: Matheus Marchini <mmarchini@netflix.com>
    
    PR-URL: #32776
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mmarchini authored and targos committed Apr 28, 2020
    Copy the full SHA
    60660c3 View commit details
    Browse the repository at this point in the history
  119. doc: updated guidance for n-api changes

    Add js_native_api.h and js_native_api_types.h to the list
    of files covered by the N-API guidance as these were
    broken out of the files referenced.
    
    Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
    
    PR-URL: #32721
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    mhdawson authored and targos committed Apr 28, 2020
    Copy the full SHA
    39da5bf View commit details
    Browse the repository at this point in the history
  120. cli, report: move --report-on-fatalerror to stable

    This commit moves the last experimental feature of diagnostic
    reports to stable status.
    
    PR-URL: #32496
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    c4da682 View commit details
    Browse the repository at this point in the history
  121. doc: add transform stream destroy() return value

    PR-URL: #32788
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    873d4aa View commit details
    Browse the repository at this point in the history
  122. build: add configure flag to build V8 with DCHECKs

    Add a configure flag that enables building V8 with `-DDEBUG`, in
    particular with debug checks enabled and with runtime debugging
    features, e.g. inspecting JS objects from debuggers, enabled.
    
    PR-URL: #32787
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    addaleax authored and targos committed Apr 28, 2020
    Copy the full SHA
    c0805f0 View commit details
    Browse the repository at this point in the history
  123. lib: created isValidCallback helper

    check for callback function is moved to a separate function.
    This piece of code is being shared by other entities as well.
    
    PR-URL: #32665
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    yashLadha authored and targos committed Apr 28, 2020
    Copy the full SHA
    5885b37 View commit details
    Browse the repository at this point in the history
  124. src: ignore GCC -Wcast-function-type for v8.h

    Currently, the following warnings are emitted during compilation:
    In file included from ../src/string_bytes.h:29,
                     from ../src/string_bytes.cc:22:
    ../deps/v8/include/v8.h:
    In instantiation of ‘void v8::PersistentBase<T>::SetWeak(
        P*,typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType)
    [with P = node::BaseObject;
    T = v8::Object;
    typename v8::WeakCallbackInfo<P>::Callback =
        void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)]’:
    ../src/base_object-inl.h:135:42:   required from here
    ../deps/v8/include/v8.h:10732:16: warning:
    cast between incompatible function types from
    ‘v8::WeakCallbackInfo<node::BaseObject>::Callback’ {aka
    ‘void (*)(const v8::WeakCallbackInfo<node::BaseObject>&)’} to
    ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’}
    [-Wcast-function-type]
    10732 |                reinterpret_cast<Callback>(callback), type);
          |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    And the same from test/cctest/test_aliased_buffer.cc
    
    We have an open pull request against v8 for this:
    https://chromium-review.googlesource.com/c/v8/v8/+/2080361
    
    PR-URL: #32679
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Apr 28, 2020
    Copy the full SHA
    8a38726 View commit details
    Browse the repository at this point in the history
  125. test: cover node entry type in perf_hooks

    PR-URL: #32751
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    julianduque authored and targos committed Apr 28, 2020
    Copy the full SHA
    271b309 View commit details
    Browse the repository at this point in the history
  126. doc: note that signatures of binary may be from subkeys

    PR-URL: #32591
    Fixes: #32559
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    haqer1 authored and targos committed Apr 28, 2020
    Copy the full SHA
    8e7c41e View commit details
    Browse the repository at this point in the history
  127. test: mark test-http2-reset-flood flaky on all

    Refs: #29802
    Refs: #32595
    
    PR-URL: #32825
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    44ca479 View commit details
    Browse the repository at this point in the history
  128. test: mark test-worker-prof flaky on arm

    Refs: #26401 (comment)
    
    PR-URL: #32826
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    e839a71 View commit details
    Browse the repository at this point in the history
  129. test: replace equal with strictEqual

    PR-URL: #32727
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    JesuHrz authored and targos committed Apr 28, 2020
    Copy the full SHA
    96c9311 View commit details
    Browse the repository at this point in the history
  130. test: mark cpu-prof-dir-worker flaky on all

    Refs: #27611 (comment)
    
    PR-URL: #32828
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    sam-github authored and targos committed Apr 28, 2020
    Copy the full SHA
    50130f0 View commit details
    Browse the repository at this point in the history
  131. fs: use finished over destroy w/ cb

    destroy w/ is undocumented API which also will cause
    a race if the stream is already destroying and potentially
    invoking the callback too early and withou error.
    
    PR-URL: #32809
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    ronag authored and targos committed Apr 28, 2020
    Copy the full SHA
    6d6bb2a View commit details
    Browse the repository at this point in the history
  132. doc: improve net docs

    Refer back to streams docs for further and more accurate
    description of behavior details.
    
    Refs: #31916
    
    PR-URL: #32811
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    ronag authored and targos committed Apr 28, 2020
    Copy the full SHA
    e9927e5 View commit details
    Browse the repository at this point in the history
  133. test: only detect uname on supported os

    To skip some tests on IBMi PASE, we use
    uname to detect the true os name, but
    on Windows machines there is no uname
    available.
    
    PR-URL: #32833
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    dmabupt authored and targos committed Apr 28, 2020
    Copy the full SHA
    c566906 View commit details
    Browse the repository at this point in the history
  134. test: replace console.log/error() with debuglog

    PR-URL: #32692
    Fixes: #32678
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    daemon1024 authored and targos committed Apr 28, 2020
    Copy the full SHA
    68e3954 View commit details
    Browse the repository at this point in the history
  135. build: remove .git folders when testing V8

    When running `make test-v8` V8's `gclient sync` converts folders
    under `deps/v8/third_party` into git repositories. Unfortunately
    the files that were checked in under `deps/v8/third_party/zlib`
    have been modified from the upstream Chromium repository (some
    files have been deleted and there are whitespace differences in
    some of the files that were kept) so whenever the Node.js source
    tree is hard reset/checked out `gclient sync` notices there are
    unstaged changes as the files in the Node.js source tree do not
    match those of the upstream Chromium third party zlib commit.
    
    Signed-off-by: Richard Lau <riclau@uk.ibm.com>
    
    PR-URL: #32877
    Refs: nodejs/build#2256
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    richardlau authored and targos committed Apr 28, 2020
    Copy the full SHA
    6f1931d View commit details
    Browse the repository at this point in the history
  136. doc: improve consistency in usage of NULL

    - add backticks around use of NULL
    - convert from null to NULL where we mean
      NULL
    
    Signed-off-by: Michael Dawson <michael_dawson@ca.ibm.com>
    
    PR-URL: #32726
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Christopher Hiller <boneskull@boneskull.com>
    mhdawson authored and targos committed Apr 28, 2020
    Copy the full SHA
    8d53024 View commit details
    Browse the repository at this point in the history
  137. src: remove unused using in node_worker.cc

    This commit removes unused using declarations in
    src/node_worker.cc.
    
    PR-URL: #32840
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    danbev authored and targos committed Apr 28, 2020
    Copy the full SHA
    bb1481f View commit details
    Browse the repository at this point in the history
  138. module: fix memory leak when require error occurs

    Delete useless module in parent module: parent.children array
    when error occurs, so that it can be garbage collected.
    
    Fixes: #32836
    
    PR-URL: #32837
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    lianxuify authored and targos committed Apr 28, 2020
    Copy the full SHA
    6489a5b View commit details
    Browse the repository at this point in the history
  139. doc: missing brackets

    PR-URL: #32657
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    sla100 authored and targos committed Apr 28, 2020
    Copy the full SHA
    68a1cec View commit details
    Browse the repository at this point in the history
  140. deps: upgrade to libuv 1.36.0

    Notable changes:
    
    - gyp support has been removed.
    - recvmmsg messages are returned in the correct order.
    - IBMi cmake support has been added.
    - uv_fs_lutime() has been added.
    - uv_fs_statfs() on Windows properly handles file paths.
    
    PR-URL: #32866
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    2d7a759 View commit details
    Browse the repository at this point in the history
  141. deps: upgrade to libuv 1.37.0

    Notable changes:
    
    - The UV_UDP_RECVMMSG flag has been added. This flag is now
      required in order to utilize recvmmsg(). This was added in
      response to a regression introduced in 1.35.0 and 1.36.0.
    
    PR-URL: #32866
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    cjihrig authored and targos committed Apr 28, 2020
    Copy the full SHA
    6ffe4ed View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. doc: add juanarbol as collaborator

    PR-URL: #32906
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    juanarbol authored and targos committed Apr 29, 2020
    Copy the full SHA
    aed5112 View commit details
    Browse the repository at this point in the history
  2. doc: add N-API version 6 to table

    We missed adding version 6 to the compatibility
    table when we defined version 6. Add it along with the
    versions that we know will include version 6.
    
    PR-URL: #32829
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
    mhdawson authored and targos committed Apr 29, 2020
    Copy the full SHA
    f7b78f2 View commit details
    Browse the repository at this point in the history
  3. src: remove redundant v8::HeapSnapshot namespace

    PR-URL: #32854
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    juanarbol authored and targos committed Apr 29, 2020
    Copy the full SHA
    71bdcae View commit details
    Browse the repository at this point in the history
  4. tools: decrease timeout in test.py

    This fixes the following crash on Windows for me. I don't know
    why this I only started to see this now, but anyway, the new timeout
    value is still longer than a week and a half.
    
        File "tools/test.py", line 1725, in <module>
            sys.exit(Main())
        File "tools/test.py", line 1701, in Main
            if RunTestCases(cases_to_run, options.progress, \
              options.j, options.flaky_tests):
        File "tools/test.py", line 923, in RunTestCases
            return progress.Run(tasks)
        File "tools/test.py", line 145, in Run
            thread.join(timeout=10000000)
        File "C:\Users\anna\AppData\Local\Programs\Python\Python38-32\ \
          lib\threading.py", line 1015, in join
            self._wait_for_tstate_lock(timeout=max(timeout, 0))
        File "C:\Users\anna\AppData\Local\Programs\Python\Python38-32\ \
          lib\threading.py", line 1027, in _wait_for_tstate_lock
            elif lock.acquire(block, timeout):
        OverflowError: timeout value is too large
    
    PR-URL: #32868
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    addaleax authored and targos committed Apr 29, 2020
    Copy the full SHA
    576a626 View commit details
    Browse the repository at this point in the history
  5. src: elevate v8 namespaces

    elevate v8 namespaces. Leverage `using` semantics
    for repeated usage of v8 artifacts.
    
    PR-URL: #32872
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    nimit95 authored and targos committed Apr 29, 2020
    Copy the full SHA
    9c21664 View commit details
    Browse the repository at this point in the history
  6. test: changed function to arrow function

    Convert callback functions that are anonymous
    to arrow functions for better readability.
    Also adjusted the `this` object in places where
    that was required.
    
    PR-URL: #32875
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    nimit95 authored and targos committed Apr 29, 2020
    Copy the full SHA
    f181b59 View commit details
    Browse the repository at this point in the history
  7. doc: add tsc-agenda to onboarding labels list

    PR-URL: #32832
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Trott authored and targos committed Apr 29, 2020
    Copy the full SHA
    6ddf37c View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. lib: remove unnecesary else block

    The if statement inside the _writeHostObject function
    returns an expression which makes the else block unnecessary.
    
    PR-URL: #32644
    Reviewed-By: James M Snell <jasnell@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: Juan José Arboleda <soyjuanarbol@gmail.com>
    ddazal authored and targos committed Apr 30, 2020
    Copy the full SHA
    84571ce View commit details
    Browse the repository at this point in the history
  2. fs: remove unnecessary else statement

    PR-URL: #32662
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    JesuHrz authored and targos committed Apr 30, 2020
    Copy the full SHA
    9c18838 View commit details
    Browse the repository at this point in the history
  3. src: remove validation of unreachable code

    Based on nodejs/help#2600 (comment)
    the condition (amount < 0) won't be possible.
    
    PR-URL: #32818
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    juanarbol authored and targos committed Apr 30, 2020
    Copy the full SHA
    0745f88 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. doc: synch SECURITY.md with website

    Refs: nodejs/nodejs.org#3106 (comment)
    
    PR-URL: #32903
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and targos committed May 13, 2020
    Copy the full SHA
    26fdc64 View commit details
    Browse the repository at this point in the history
  2. perf_hooks: remove unnecessary assignment when name is undefined

    PR-URL: #32910
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rickyes authored and targos committed May 13, 2020
    Copy the full SHA
    8dcb22f View commit details
    Browse the repository at this point in the history
  3. doc: fix typo in zlib.md

    PR-URL: #32901
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    chenmnkken authored and targos committed May 13, 2020
    Copy the full SHA
    1472a39 View commit details
    Browse the repository at this point in the history
  4. doc: fix usage of folder and directory terms in fs.md

    This commit fixes the interchangeably usage of "folder" and "directory"
    terms in fs.md
    
    Fixes: #32902
    
    PR-URL: #32919
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    karan1205 authored and targos committed May 13, 2020
    Copy the full SHA
    26cf6a3 View commit details
    Browse the repository at this point in the history
  5. test: mark test-child-process-fork-args as flaky on Windows

    PR-URL: #32950
    Refs: #32863
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    puzpuzpuz authored and targos committed May 13, 2020
    Copy the full SHA
    0bae243 View commit details
    Browse the repository at this point in the history
  6. src: fix null deref in AllocatedBuffer::clear

    An empty buffer can have a null environment.  Previously, we were
    getting away with with this, but -fsanitize=null in clang caught it.
    
    PR-URL: #32892
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    fowles authored and targos committed May 13, 2020
    Copy the full SHA
    cf16cb7 View commit details
    Browse the repository at this point in the history
  7. doc: fix typo in security-release-process.md

    PR-URL: #32926
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    SASUKE40 authored and targos committed May 13, 2020
    Copy the full SHA
    931c0c7 View commit details
    Browse the repository at this point in the history
  8. tls: move getAllowUnauthorized to internal/options

    Make it so that the allow unauthorized warning can be easily reused
    by the QUIC impl once that lands.
    
    Extracted from #32379
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #32917
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    jasnell authored and targos committed May 13, 2020
    Copy the full SHA
    becbe9e View commit details
    Browse the repository at this point in the history
  9. module: improve error for invalid package targets

    For targets that are strings that do not start with `./` or `/` the
    error will now have additional information about what the programming
    error is.
    
    Closes: #32034
    
    PR-URL: #32052
    Fixes: #32034
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Signed-off-by: Myles Borins <myles.borins@gmail.com>
    MylesBorins authored and targos committed May 13, 2020
    Copy the full SHA
    3dc3772 View commit details
    Browse the repository at this point in the history
  10. module: exports not exported for null resolutions

    PR-URL: #32838
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    guybedford authored and targos committed May 13, 2020
    Copy the full SHA
    1811a10 View commit details
    Browse the repository at this point in the history
  11. http2: wait for secureConnect before initializing

    PR-URL: #32958
    Fixes: #32922
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bcoe authored and targos committed May 13, 2020
    Copy the full SHA
    d883024 View commit details
    Browse the repository at this point in the history
  12. fs: update validateOffsetLengthRead in utils.js

    PR-URL: #32896
    Fixes: #32871
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    daemon1024 authored and targos committed May 13, 2020
    Copy the full SHA
    2093f13 View commit details
    Browse the repository at this point in the history
  13. src: use using NewStringType

    PR-URL: #32843
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    rickyes authored and targos committed May 13, 2020
    Copy the full SHA
    05059a2 View commit details
    Browse the repository at this point in the history
  14. tools: remove unused code in doc generation tool

    tools/doc/html.js includes code that looks for comments with
    `start-include` and `end-include` for file inclusion. This seems to be
    legacy code that is no longer used. The code only appears in the
    table-of-contents generation function. The strings `start-include` and
    `end-include` appear nowhere else in our tools and nowhere at all in our
    docs.
    
    PR-URL: #32913
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and targos committed May 13, 2020
    Copy the full SHA
    5f79ab2 View commit details
    Browse the repository at this point in the history
  15. doc: elevate diagnostic report to tier1

    diagnostic report qualifies for all the criteria for
    being in tier1. Classify it as such.
    
    PR-URL: #32732
    Refs: nodejs/diagnostics#369
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gireeshpunathil authored and targos committed May 13, 2020
    Copy the full SHA
    a7ec1ea View commit details
    Browse the repository at this point in the history
  16. doc: remove repeated word in modules.md

    PR-URL: #32931
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    kodekage authored and targos committed May 13, 2020
    Copy the full SHA
    e5a2450 View commit details
    Browse the repository at this point in the history
  17. deps: V8: cherry-pick e1eac1b16c96

    Original commit message:
    
        Fix compilation error with devtoolset-8
    
        We are compiling V8 using devtoolset-8 and it is generating a new
        compilation error related to String Truncation:
    
        error: ‘char* strncpy(char*, const char*, size_t)’ output truncated copying between 1 and 15 bytes from a string of length 15 [-Werror=stringop-truncation]
                  strncpy(buffer, unicode_utf8, i);
    
        Which basically means the null terminating character was not added to
        the end of the buffer:
        https://developers.redhat.com/blog/2018/05/24/detecting-string-truncation-with-gcc-8/
    
        This CL will changes 2 uses of "strncpy" to "memcpy" as strings
        are being copied partially and `\n` being added at a later stage.
    
        Change-Id: I3656afb00463d70ddb8700a487a1978b793e1d09
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2155038
        Reviewed-by: Andreas Haas <ahaas@chromium.org>
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
        Cr-Commit-Position: refs/heads/master@{#67277}
    
    Refs: v8/v8@e1eac1b
    
    PR-URL: #32974
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
    Milad Farazmand authored and targos committed May 13, 2020
    Copy the full SHA
    56313da View commit details
    Browse the repository at this point in the history
  18. test: test-async-wrap-constructor prefer forEach

    PR-URL: #32631
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    dericop authored and targos committed May 13, 2020
    Copy the full SHA
    4c67568 View commit details
    Browse the repository at this point in the history
  19. doc: add angle brackets around implicit links

    PR-URL: #32676
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nschonni authored and targos committed May 13, 2020
    Copy the full SHA
    92d91d1 View commit details
    Browse the repository at this point in the history
  20. doc: ignore no-literal-urls in changelogs

    PR-URL: #32676
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nschonni authored and targos committed May 13, 2020
    Copy the full SHA
    b057175 View commit details
    Browse the repository at this point in the history
  21. doc: convert bare email addresses to mailto links

    reflowed for line length after increased url size
    
    PR-URL: #32676
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nschonni authored and targos committed May 13, 2020
    Copy the full SHA
    d8bb226 View commit details
    Browse the repository at this point in the history
  22. doc: ignore no-literal-urls in README

     Membership lists are currently formatted in a specific way for tooling
    
    PR-URL: #32676
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nschonni authored and targos committed May 13, 2020
    Copy the full SHA
    7397f80 View commit details
    Browse the repository at this point in the history
  23. test: refactor events tests for invalid listeners

    PR-URL: #32769
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    edsadr authored and targos committed May 13, 2020
    Copy the full SHA
    dacd279 View commit details
    Browse the repository at this point in the history
  24. doc: updated directory entry information

    Fixes: #25595
    
    subdirectory
    
    updated def
    
    PR-URL: #32791
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Eileen authored and targos committed May 13, 2020
    Copy the full SHA
    cb7dae3 View commit details
    Browse the repository at this point in the history
  25. test: better error validations for event-capture

    PR-URL: #32771
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    edsadr authored and targos committed May 13, 2020
    Copy the full SHA
    579f68c View commit details
    Browse the repository at this point in the history
  26. src: delete MicroTaskPolicy namespace

    PR-URL: #32853
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    juanarbol authored and targos committed May 13, 2020
    Copy the full SHA
    846d7bd View commit details
    Browse the repository at this point in the history
  27. lib: unnecessary const assignment for class

    PR-URL: #32962
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    yashLadha authored and targos committed May 13, 2020
    Copy the full SHA
    4dba3fc View commit details
    Browse the repository at this point in the history
  28. inspector: only write coverage in fully bootstrapped Environments

    The NODE_V8_COVERAGE folder and the source map computation are setup
    during pre-execution since they rely on environment variables as well
    as JS states. Therefore, we need to give up serialization of JS
    coverage profiles for Environments that have not go through
    pre-execution. Currently this is only possible for Environments
    created using the embedder API CreateEnvironment().
    
    As a result we won't have JS coverage data for most cctests, but if
    that proves to be necessary we could just run
    lib/internal/main/environment.js for these Environments created for
    cctests.
    
    Fixes: #32912
    Refs: 65e18a8
    Refs: 5bf4372
    8aa7ef7
    
    PR-URL: #32960
    Refs: 8aa7ef7
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and targos committed May 13, 2020
    Copy the full SHA
    79e95e4 View commit details
    Browse the repository at this point in the history
  29. src: assignment to valid type

    We are converting the argument to a uint32_t value
    but the lvalue is not consistent with the casting.
    
    PR-URL: #32879
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    yashLadha authored and targos committed May 13, 2020
    Copy the full SHA
    b893c5b View commit details
    Browse the repository at this point in the history
  30. test: remove timers-blocking-callback

    If the bug this test is intented to catch is reintroduced, or if
    5aac4c4 is effectively reverted, many
    (50+) tests time out, rendering this test redundant and unnecessary.
    
    in particular, the following timer tests catch an effective revert of
    5aac4c4:
    
    not ok 21 parallel/test-timers-api-refs
    not ok 22 parallel/test-timers-args
    not ok 23 parallel/test-timers-destroyed
    not ok 25 parallel/test-timers-nested
    not ok 26 parallel/test-timers-interval-throw
    not ok 28 parallel/test-timers-non-integer-delay
    not ok 32 parallel/test-timers-ordering
    not ok 33 parallel/test-timers-refresh
    not ok 34 parallel/test-timers-refresh-in-callback
    not ok 35 parallel/test-timers-reset-process-domain-on-throw
    not ok 40 parallel/test-timers-timeout-to-interval
    not ok 41 parallel/test-timers-uncaught-exception
    not ok 42 parallel/test-timers-timeout-with-non-integer
    not ok 43 parallel/test-timers-unenroll-unref-interval
    not ok 44 parallel/test-timers-unref
    not ok 45 parallel/test-timers-unref-active
    not ok 46 parallel/test-timers-unrefd-interval-still-fires
    not ok 47 parallel/test-timers-unrefed-in-callback
    not ok 48 parallel/test-timers-user-call
    not ok 49 parallel/test-timers-zero-timeout
    
    Refs: #21781
    
    PR-URL: #32870
    Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Fishrock123 authored and targos committed May 13, 2020
    Copy the full SHA
    8352045 View commit details
    Browse the repository at this point in the history
  31. doc: avoid tautology in README

    Changed "UTC time" on Line 82 to "UTC" as it created a tautology.
    
    PR-URL: #33005
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    ishaanjain1898 authored and targos committed May 13, 2020
    Copy the full SHA
    9038e64 View commit details
    Browse the repository at this point in the history
  32. deps: V8: backport 3f8dc4b2e5ba

    Original commit message:
    
        [intl] Remove soon-to-be removed getAllFieldPositions
    
        Needed to land ICU67.1 soon.
    
        Bug: v8:10393
        Change-Id: I3c7737ca600d6ccfdc46ffaddfb318ce60bc7618
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2136489
        Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
        Commit-Queue: Frank Tang <ftang@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#67027}
    
    Refs: v8/v8@3f8dc4b
    
    PR-URL: #32993
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    ryzokuken authored and targos committed May 13, 2020
    Copy the full SHA
    eb33d52 View commit details
    Browse the repository at this point in the history
  33. doc: add documentation for transferList arg at worker threads

    Ref: #32278
    
    PR-URL: #32881
    Refs: #32278
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    juanarbol authored and targos committed May 13, 2020
    Copy the full SHA
    98c3c42 View commit details
    Browse the repository at this point in the history
  34. worker: fix process.env var empty key access

    PR-URL: #32921
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    bl-ue authored and targos committed May 13, 2020
    Copy the full SHA
    9ce6e36 View commit details
    Browse the repository at this point in the history
  35. src: fix empty-named env var assertion failure

    Setting an environment variable with an empty name on Windows resulted
    in an assertion failure, because it was checked for an '=' sign at the
    beginning without verifying the length was greater than 0.
    
    Fixes: #32920
    Refs: #27310
    
    PR-URL: #32921
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    bl-ue authored and targos committed May 13, 2020
    Copy the full SHA
    60db9af View commit details
    Browse the repository at this point in the history
  36. src: do not compare against wide characters

    PR-URL: #32921
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    bl-ue authored and targos committed May 13, 2020
    Copy the full SHA
    08b66f2 View commit details
    Browse the repository at this point in the history
  37. cluster: removed unused addressType argument from constructor

    When intializing the constructor for cluster master we are heavily using
    a generic structure, but the effect of passing arguments that are
    related to shared_handle is that there is a stale argument passed.
    
    We can avoid such scenarios as all the remaining entities are being
    destructured from the message object.
    
    PR-URL: #32963
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    yashLadha authored and targos committed May 13, 2020
    Copy the full SHA
    d217b79 View commit details
    Browse the repository at this point in the history
  38. util,readline: NFC-normalize strings before getStringWidth

    The assumption here is that decomposed characters render like their
    composed character equivalents, and that working with the former
    comes with a risk of over-estimating string widths given that
    we compute them on a per-code-point basis. The regression test
    added here (한글 vs 한글) is an example of that happening.
    
    PR-URL: #33052
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Michaël Zasso <targos@protonmail.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>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    e0e8a9a View commit details
    Browse the repository at this point in the history
  39. test: refactor test-async-hooks-constructor

    PR-URL: #33063
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    himself65 authored and targos committed May 13, 2020
    Copy the full SHA
    60550f3 View commit details
    Browse the repository at this point in the history
  40. src: add AsyncWrapObject constructor template factory

    PR-URL: #33051
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Qard authored and targos committed May 13, 2020
    Copy the full SHA
    62f2953 View commit details
    Browse the repository at this point in the history
  41. doc: improve release documentation

    Extract the "Cherry-pick the Release Commit to master" part to its own
    section and be more precise about what should be done to handle
    conflicts.
    
    PR-URL: #33042
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
    targos committed May 13, 2020
    Copy the full SHA
    d75f644 View commit details
    Browse the repository at this point in the history
  42. module: refactor condition

    PR-URL: #32989
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    MylesBorins authored and targos committed May 13, 2020
    Copy the full SHA
    195043f View commit details
    Browse the repository at this point in the history
  43. doc: make openssl maintenance position independent

    It used to have some `cd` commands that if done literally would
    invalidate the subsequent commands. Modify them to be more accurate,
    which also simplifies pasting them directly into the console from the
    guide while doing an update.
    
    PR-URL: #32977
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    sam-github authored and targos committed May 13, 2020
    Copy the full SHA
    c90a070 View commit details
    Browse the repository at this point in the history
  44. build: fix vcbuild error for missing Visual Studio

    The previous error was wrongly redirecting users
    to the ICU installation steps, which is unrelated to
    missing Visual Studio.
    
    PR-URL: #32658
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Hakerh400 authored and targos committed May 13, 2020
    Copy the full SHA
    b555a77 View commit details
    Browse the repository at this point in the history
  45. doc: improve WHATWG url constructor code example

    Currently, the URL docs for the WHATWG URL spec support are
    somewhat lacking in their code example of how to access the
    new URL constructor that lives inside the core url package.
    
    PR-URL: #32782
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    lirantal authored and targos committed May 13, 2020
    Copy the full SHA
    5ea5c26 View commit details
    Browse the repository at this point in the history
  46. n-api: fix false assumption on napi_async_context structures

    napi_async_context should be an opaque type and not be used as same as
    node::async_context.
    
    PR-URL: #32928
    Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    legendecas authored and targos committed May 13, 2020
    Copy the full SHA
    d08be9c View commit details
    Browse the repository at this point in the history
  47. tools: update ESLint to 7.0.0-rc.0

    PR-URL: #33062
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    himself65 authored and targos committed May 13, 2020
    Copy the full SHA
    1c010b4 View commit details
    Browse the repository at this point in the history
  48. tools: fix mkcodecache when run with ASAN

    Fixes: #32835
    
    PR-URL: #32850
    Backport-PR-URL: #33128
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    3dafc14 View commit details
    Browse the repository at this point in the history
  49. esm: unflag --experimental-modules

    PR-URL: #29866
    Backport-PR-URL: #33055
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    guybedford authored and targos committed May 13, 2020
    Copy the full SHA
    93226a5 View commit details
    Browse the repository at this point in the history
  50. lib: add warning on dynamic import es modules

    PR-URL: #30720
    Backport-PR-URL: #33055
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    juanarbol authored and targos committed May 13, 2020
    Copy the full SHA
    698e21b View commit details
    Browse the repository at this point in the history
  51. stream: close iterator in Readable.from

    Call iterator.return() if not all of its values are consumed.
    
    Fixes: #32842
    
    PR-URL: #32844
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    vadzim authored and targos committed May 13, 2020
    Copy the full SHA
    5df8ab1 View commit details
    Browse the repository at this point in the history
  52. module: partial doc removal of --experimental-modules

    This removes `--experimental-modules` from showing up in `node -h`
    and also removes the documentation from the man pages.
    
    It will still work as a no-op, and is still included in cli.md
    
    Refs: nodejs/modules#502
    
    PR-URL: #32915
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MylesBorins authored and targos committed May 13, 2020
    Copy the full SHA
    a1fa180 View commit details
    Browse the repository at this point in the history
  53. vm: throw error when duplicated exportNames in SyntheticModule

    Fixes: #32806
    
    PR-URL: #32810
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    himself65 authored and targos committed May 13, 2020
    Copy the full SHA
    6a9f867 View commit details
    Browse the repository at this point in the history
  54. tools: update broken types in type parser

    The links for the ArrayBufferView and WebAssembly.Instance types
    appear to be broken. This commit updates them to point to the
    correct MDN locations.
    
    PR-URL: #33068
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    cjihrig authored and targos committed May 13, 2020
    Copy the full SHA
    b9d9c24 View commit details
    Browse the repository at this point in the history
  55. wasi: rename __wasi_unstable_reactor_start()

    Upstream WASI has renamed __wasi_unstable_reactor_start() to
    _initialize(). This commit updates Node's WASI implementation to
    reflect that change.
    
    PR-URL: #33073
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    cjihrig authored and targos committed May 13, 2020
    Copy the full SHA
    e1fe0b6 View commit details
    Browse the repository at this point in the history
  56. wasi: update start() behavior to match spec

    _start() and _initialize() shouldn't be called from the same
    function, as they have different behavior. Furthermore, Node
    should throw if both are provided. This commit updates the
    implementation, docs, and tests accordingly.
    
    PR-URL: #33073
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    cjihrig authored and targos committed May 13, 2020
    Copy the full SHA
    7f845e6 View commit details
    Browse the repository at this point in the history
  57. deps: update to uvwasi 0.0.8

    This release focuses on improving the robustness of the path
    resolution and sandboxing, including adding support for relative
    preopen paths.
    
    PR-URL: #33078
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    cjihrig authored and targos committed May 13, 2020
    Copy the full SHA
    e073da0 View commit details
    Browse the repository at this point in the history
  58. path: fix comment grammar

    PR-URL: #32942
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    thecodrr authored and targos committed May 13, 2020
    Copy the full SHA
    d50fe6c View commit details
    Browse the repository at this point in the history
  59. lib: fix validateport error message when allowZero is false

    PR-URL: #32861
    Fixes: #32857
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    rickyes authored and targos committed May 13, 2020
    Copy the full SHA
    6356ad4 View commit details
    Browse the repository at this point in the history
  60. test: flaky test-stdout-close-catch on freebsd

    Refs: #28803
    
    PR-URL: #32849
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sam-github authored and targos committed May 13, 2020
    Copy the full SHA
    4ab6643 View commit details
    Browse the repository at this point in the history
  61. test: mark test flaky on freebsd

    Test name test-worker-message-port-message-before-close is too long for
    a commit message description.
    
    Refs: #31280
    
    PR-URL: #32849
    Refs: #28803
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    sam-github authored and targos committed May 13, 2020
    Copy the full SHA
    dad8217 View commit details
    Browse the repository at this point in the history
  62. cluster: fix error on worker disconnect/destroy

    Avoid sending multiple `exitedAfterDisconnect` messages when
    concurrently calling `disconnect()` and/or `destroy()` from the worker
    so `ERR_IPC_DISCONNECTED` errors are not generated.
    
    Fixes: #32106
    
    PR-URL: #32793
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    santigimeno authored and targos committed May 13, 2020
    Copy the full SHA
    e05c29d View commit details
    Browse the repository at this point in the history
  63. crypto: key size must be int32 in DiffieHellman()

    The JS code accepted any value where `typeof sizeOrKey === 'number'`
    was true but the C++ code checked that `args[0]->IsInt32()` and
    subsequently aborted.
    
    Fixes: #32738
    
    PR-URL: #32739
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and targos committed May 13, 2020
    Copy the full SHA
    4236175 View commit details
    Browse the repository at this point in the history
  64. crypto: generator must be int32 in DiffieHellman()

    Validate the generator argument in `crypto.createDiffieHellman(key, g)`.
    When it's a number, it should be an int32.
    
    Fixes: #32748
    
    PR-URL: #32739
    Fixes: #32738
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and targos committed May 13, 2020
    Copy the full SHA
    c1b7674 View commit details
    Browse the repository at this point in the history
  65. crypto: check DiffieHellman p and g params

    It's possible to pass in the prime and generator params as buffers
    but that mode of input wasn't as rigorously checked as numeric input.
    
    PR-URL: #32739
    Fixes: #32738
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and targos committed May 13, 2020
    Copy the full SHA
    71bccdd View commit details
    Browse the repository at this point in the history
  66. console: support console constructor groupIndentation option

    PR-URL: #32964
    Fixes: #32947
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rickyes authored and targos committed May 13, 2020
    Copy the full SHA
    154b18f View commit details
    Browse the repository at this point in the history
  67. src: remove unnecessary fully qualified names

    PR-URL: #33077
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rickyes authored and targos committed May 13, 2020
    Copy the full SHA
    8864353 View commit details
    Browse the repository at this point in the history
  68. tools: update remark-preset-lint-node@1.14.0

    PR-URL: #33072
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and targos committed May 13, 2020
    Copy the full SHA
    58bd92a View commit details
    Browse the repository at this point in the history
  69. n-api: simplify uv_idle wrangling

    uv_idle_init(), uv_idle_start() and uv_idle_stop() always succeed.
    Remove the superfluous error handling.
    
    Refs: libuv/libuv#2803
    
    PR-URL: #32997
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bnoordhuis authored and targos committed May 13, 2020
    Copy the full SHA
    4d7f986 View commit details
    Browse the repository at this point in the history
  70. doc: don't check links in tmp dirs

    PR-URL: #32996
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and targos committed May 13, 2020
    Copy the full SHA
    8a9be1d View commit details
    Browse the repository at this point in the history
  71. test: check args on SourceTextModule cachedData

    PR-URL: #32956
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gus Caplan <me@gus.host>
    juanarbol authored and targos committed May 13, 2020
    Copy the full SHA
    3015887 View commit details
    Browse the repository at this point in the history
  72. doc: some grammar fixes

    PR-URL: #33081
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ChrisAHolland authored and targos committed May 13, 2020
    Copy the full SHA
    90cf886 View commit details
    Browse the repository at this point in the history
  73. doc: improve worker pool example

    In the worker pool example, the 'kWorkerFreedEvent' should be emitted
    in case of error as well. After adding new worker in the error handler,
    the pending tasks should be notified of an available worker.
    
    PR-URL: #33082
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    ranjan-purbey authored and targos committed May 13, 2020
    Copy the full SHA
    2ac0f20 View commit details
    Browse the repository at this point in the history
  74. stream: add null check in Readable.from

    Throws `ERR_STREAM_NULL_VALUES` error if a null value is passed to
    `Readable.from`. Also added docs for the same.
    
    Co-Authored-By: 扩散性百万甜面包 <himself65@outlook.com>
    Fixes: #32845
    PR-URL: #32873
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    2 people authored and targos committed May 13, 2020
    Copy the full SHA
    c86883e View commit details
    Browse the repository at this point in the history
  75. doc: correct Nodejs to Node.js spelling

    PR-URL: #33088
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nschonni authored and targos committed May 13, 2020
    Copy the full SHA
    31b143c View commit details
    Browse the repository at this point in the history
  76. src: separate out NgLibMemoryManagerBase

    Extracted from the [QUIC PR](#32379)
    
    So far, this is only used by the QUIC PR directly but the change itself
    is independent of QUIC, even if not used directly by anything else yet.
    Separated out per request.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #33104
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    jasnell authored and targos committed May 13, 2020
    Copy the full SHA
    6b1e235 View commit details
    Browse the repository at this point in the history
  77. lib: cosmetic change to builtinLibs list for maintainability

    This is a largely cosmetic change suggested for easier
    maintainability of the builtinLibs list. While the
    QUIC PR no longer modifies this list, the original version
    of the PR did and the fact that all of the entries were
    bundled up into the same lines meant that adding one
    forced a larger change to all. With this PR, when we
    want to add a new built-in, it won't impact any of the
    others.
    
    PR-URL: #33106
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and targos committed May 13, 2020
    Copy the full SHA
    9570644 View commit details
    Browse the repository at this point in the history
  78. src: crypto::UseSNIContext to use BaseObjectPtr

    Extracted from the QUIC PR. Not specific to QUIC.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #33107
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    jasnell authored and targos committed May 13, 2020
    Copy the full SHA
    1436977 View commit details
    Browse the repository at this point in the history
  79. src: return undefined when validation err == 0

    Extracted from the QUIC PR. Not specific to QUIC even if the
    behavior is currently only used there.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #33107
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
    jasnell authored and targos committed May 13, 2020
    Copy the full SHA
    b3f0417 View commit details
    Browse the repository at this point in the history
  80. wasi: use free() to release preopen array

    As this is allocated with `Calloc()`, we cannot use `delete[]` here.
    
    PR-URL: #33110
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    843a54f View commit details
    Browse the repository at this point in the history
  81. src: use unique_ptr for CachedData in ContextifyScript::New

    This closes a memory leak.
    
    PR-URL: #33113
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    ffca498 View commit details
    Browse the repository at this point in the history
  82. test: add missing calls to napi_async_destroy

    PR-URL: #33114
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    08e01a1 View commit details
    Browse the repository at this point in the history
  83. test: fix out-of-bound reads from invalid sizeof usage

    `sizeof(data)` does not return the correct result here, as it measures
    the size of the `data` variable, not what it points to.
    
    PR-URL: #33115
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    13cae34 View commit details
    Browse the repository at this point in the history
  84. module: no type module resolver side effects

    PR-URL: #33086
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
    guybedford authored and targos committed May 13, 2020
    Copy the full SHA
    b1f08b8 View commit details
    Browse the repository at this point in the history
  85. test: move test-process-title to sequential

    This test can fail when run in parallel with test-process-title-cli,
    which also sets the process title, which is global state on Windows.
    
    Example failure (note that `foo` does not appear in test-process-title
    but in test-process-title-cli):
    
        not ok 1727 parallel/test-process-title
          ---
          duration_ms: 0.156
          severity: fail
          exitcode: 1
          stack: |-
            assert.js:103
              throw new AssertionError(obj);
              ^
    
            AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
            + actual - expected
    
            + 'foo'
            - 'd:\\a\\node\\node\\out\\Release\\node.exe'
                at Object.<anonymous> (d:\a\node\node\test\parallel\test-process-title.js:22:1)
                at Module._compile (internal/modules/cjs/loader.js:1176:30)
                at Object.Module._extensions..js (internal/modules/cjs/loader.js:1196:10)
                at Module.load (internal/modules/cjs/loader.js:1040:32)
                at Function.Module._load (internal/modules/cjs/loader.js:929:14)
                at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
                at internal/main/run_main_module.js:17:47 {
              generatedMessage: true,
              code: 'ERR_ASSERTION',
              actual: 'foo',
              expected: 'd:\\a\\node\\node\\out\\Release\\node.exe',
              operator: 'strictEqual'
            }
          ...
    
    (from https://github.com/nodejs/node/runs/628144750?check_suite_focus=true)
    
    PR-URL: #33150
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    2383538 View commit details
    Browse the repository at this point in the history
  86. test: skip memory usage tests when ASAN is enabled

    Running tests with an ASAN build leads to increased memory usage,
    rendering the memory usage assumptions in the test invalid.
    
    Refs: #32776 (comment)
    
    PR-URL: #33129
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matheus Marchini <mat@mmarchini.me>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    addaleax authored and targos committed May 13, 2020
    Copy the full SHA
    d7b13ab View commit details
    Browse the repository at this point in the history
  87. doc: fix the spelling error in stream.md

    Change `64kb` to `64KB` in  `stream.md`
    
    PR-URL: #31561
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    yunnysunny authored and targos committed May 13, 2020
    Copy the full SHA
    7c8b0d2 View commit details
    Browse the repository at this point in the history
  88. doc: clarify when not to run CI on docs

    Collaborators won't need to run CI on documentation-only changes.
    
    PR-URL: #33101
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    juanarbol authored and targos committed May 13, 2020
    Copy the full SHA
    f127ae3 View commit details
    Browse the repository at this point in the history
  89. doc: add util.types.isArrayBufferView()

    This function was added by #15663,
    but was never documented. This commit documents it.
    
    PR-URL: #33092
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
    kevinoid authored and targos committed May 13, 2020
    Copy the full SHA
    62143b5 View commit details
    Browse the repository at this point in the history
  90. tools: bump remark-preset-lint-node to 1.15.0

    New version of remark-preset-lint-node includes prohibited string entry
    accidentally removed in the last version.
    
    PR-URL: #33157
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Trott authored and targos committed May 13, 2020
    Copy the full SHA
    94e4847 View commit details
    Browse the repository at this point in the history
  91. src: remove unused v8 Message namespace

    PR-URL: #33180
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <riclau@uk.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    edsadr authored and targos committed May 13, 2020
    Copy the full SHA
    85ef383 View commit details
    Browse the repository at this point in the history
  92. doc: fix a typo in crypto.generateKeyPairSync()

    PR-URL: #33187
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    himself65 authored and targos committed May 13, 2020
    Copy the full SHA
    51c3c8d View commit details
    Browse the repository at this point in the history
  93. http: simplify sending header

    unshifting into an empty array is the same
    as creating a new array.
    
    PR-URL: #33200
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ronag authored and targos committed May 13, 2020
    Copy the full SHA
    a3decf5 View commit details
    Browse the repository at this point in the history
  94. test: update c8 ignore comment

    PR-URL: #33151
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    bcoe authored and targos committed May 13, 2020
    Copy the full SHA
    6b02359 View commit details
    Browse the repository at this point in the history
  95. esm: improve commonjs hint on module not found

    Run CommonJS resolver only if `error.code` is ERR_MODULE_NOT_FOUND.
    Avoid using absolute paths in hint by:
    * using a parent-relative path if the specifier is a relative path
    * using a `pkg/x.js` format if the specifier is bare (e.g. `pkg/x`)
    
    PR-URL: #31906
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    dnlup authored and targos committed May 13, 2020
    Copy the full SHA
    daf1d84 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. deps: update to ICU 67.1

    Refs: https://github.com/unicode-org/icu/releases/tag/release-67-1
    
    PR-URL: #33337
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    targos committed May 23, 2020
    Copy the full SHA
    2d76ae7 View commit details
    Browse the repository at this point in the history
  2. deps: backport ICU-21081 for ICU 67.x (constexpr)

    - Backport of unicode-org/icu@715d254
    - ICU bug: https://unicode-org.atlassian.net/browse/ICU-21081
    
    PR-URL: #33337
    Refs: https://github.com/unicode-org/icu/releases/tag/release-67-1
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    srl295 authored and targos committed May 23, 2020
    Copy the full SHA
    5c0232a View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. http: disable headersTimeout check when set to zero

    PR-URL: #33307
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    ShogunPanda authored and targos committed May 25, 2020
    Copy the full SHA
    ebd9090 View commit details
    Browse the repository at this point in the history
  2. 2020-05-26, Version 12.17.0 'Erbium' (LTS)

    Notable changes:
    
    * ECMAScript Modules - `--experimental-modules` flag removal
    * AsyncLocalStorage API (experimental)
    * REPL previews
    * REPL reverse-i-search
    * REPL substring-based search
    * Error monitoring
      * Monitoring `error` events
      * Monitoring uncaught exceptions
    * File system APIs
      * New function: `fs.readv`
      * Optional parameters in `fs.read`
    * Console `groupIndentation` option
    * `maxStringLength` option for `util.inspect()`
    * Stable N-API release 6
    * Stable diagnostic reports
    * Increase of the default server headers timeout
    * New `--trace-sigint` CLI flag
    * Various crypto APIs now support Diffie-Hellman secrets
    * Added support for the `dns.ALL` flag in `dns.lookup()`
    * Added a new experimental API to interact with Source Map V3 data
    * Added support for passing a `transferList` along with `workerData` to
      the `Worker` constructor
    
    PR-URL: #33197
    targos committed May 25, 2020
    Copy the full SHA
    cd4ae7c View commit details
    Browse the repository at this point in the history