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

v14.17.4 proposal #39466

Merged
merged 140 commits into from
Jul 29, 2021
Merged

v14.17.4 proposal #39466

merged 140 commits into from
Jul 29, 2021

Commits on Jul 20, 2021

  1. deps: V8: backport 1b1eda0876aa

    Original commit message:
    
        tracing: Update proto library build rule and roll Perfetto
    
        This patch removes use of the deprecated sources_assignment_filter GN
        feature from gni/proto_library.gni, since the extra descriptor files are
        no longer being generated.
    
        We also roll Perfetto to match the version used in Chrome and update
        test expectations accordingly.
    
        Bug: v8:10995
        Change-Id: I65cb3b79feb6e5a7e5c8d99fdb8bf999a6048539
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2454079
        Commit-Queue: Michael Achenbach <machenbach@chromium.org>
        Auto-Submit: Sami Kyöstilä <skyostil@chromium.org>
        Reviewed-by: Peter Marshall <petermarshall@chromium.org>
        Reviewed-by: Michael Achenbach <machenbach@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#70381}
    
    Refs: v8/v8@1b1eda0
    
    PR-URL: #39244
    Refs: nodejs/build#2696
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    17eb561 View commit details
    Browse the repository at this point in the history
  2. deps: V8: cherry-pick 92e6d3317082

    Original commit message:
    
        build: Remove no-op calls to set_sources_assignment_filter
    
        Chromiun no longer use set_sources_assignment_filter() anywhere in the
        build, so these are no longer needed.
    
        Bug: chromium:1018739
        Change-Id: I7b33612d925563ebca0d93a7d3c9183d7305b7b0
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2456988
        Reviewed-by: Nico Weber <thakis@chromium.org>
        Commit-Queue: Nico Weber <thakis@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#70405}
    
    Refs: v8/v8@92e6d33
    
    PR-URL: #39244
    Refs: nodejs/build#2696
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    a83b01a View commit details
    Browse the repository at this point in the history
  3. deps: V8: cherry-pick 7c182bd65f42

    Original commit message:
    
        Fix visiblity rules for configs enforced by the latest GN version.
    
        Prior versions of GN had a bug (gn:22) where visibility rules
        for configs weren't being enforced properly.
    
        This CL tweaks the visibility settings of some configs to
        conform to the latest version.
    
        Change-Id: Ic5d827a1f2774278d3894f67fe52bfca836c0409
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2360909
        Commit-Queue: Dirk Pranke <dpranke@google.com>
        Reviewed-by: Adam Klein <adamk@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#69463}
    
    Refs: v8/v8@7c182bd
    
    PR-URL: #39244
    Refs: nodejs/build#2696
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4be2e87 View commit details
    Browse the repository at this point in the history
  4. deps: V8: cherry-pick 0b3a4ecf7083

    Original commit message:
    
        Fix implicit conversion loses integer precision warning
    
        The type of m is long in 64 bits build, and results implicit conversion
        loses integer precision, which was found by improved clang warning
        (-Wshorten-64-to-32)
    
        Bug: chromium:1124085
        Change-Id: Ic9f22508bd817a06d5c90162b1ac3554a7171529
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2391323
        Commit-Queue: Zequan Wu <zequanwu@google.com>
        Auto-Submit: Zequan Wu <zequanwu@google.com>
        Reviewed-by: Nico Weber <thakis@chromium.org>
        Reviewed-by: Igor Sheludko <ishell@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#69686}
    
    Refs: v8/v8@0b3a4ec
    
    PR-URL: #39244
    Refs: nodejs/build#2696
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    7fdd6ec View commit details
    Browse the repository at this point in the history
  5. deps: V8: cherry-pick 895949419186

    Original commit message:
    
        Add -Wno-string-concatenation to test/cctest:cctest_sources
    
        v8/test/cctest/interpreter/test-bytecode-generator.cc contains lots of string arrays with intentional concatenation.
    
        Bug: chromium:1114873
        Change-Id: Ie9d35c3849b5b0a6d1d01b6ce21fb80a320d8736
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2366829
        Commit-Queue: Arthur Eubanks <aeubanks@google.com>
        Reviewed-by: Sathya Gunasekaran  <gsathya@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#69625}
    
    Refs: v8/v8@8959494
    
    PR-URL: #39244
    Refs: nodejs/build#2696
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    a60a960 View commit details
    Browse the repository at this point in the history
  6. deps: V8: update build dependencies

    These updates are necessary to build V8 with recent GN versions.
    
    PR-URL: #39244
    Refs: nodejs/build#2696
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    7557e74 View commit details
    Browse the repository at this point in the history
  7. deps: restore minimum ICU version to 65

    This modifies 40df0dc so that the changes it applies are only used
    if ICU 67 or greater is used, and restores the previous code path for
    versions of ICU below 67.
    
    The minimum ICU version was bumped to 67 in Node.js 14.6.0 by
    #34356 but the referenced V8
    commit[1] isn't on `v14.x-staging` and appears to have been reverted
    on V8 8.4[2] so this PR also restores the minimum ICU version to 65.
    
    [1] v8/v8@611e412
    [2] v8/v8@eeccede
    
    PR-URL: #39068
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    ccecea5 View commit details
    Browse the repository at this point in the history
  8. deps: V8: cherry-pick 81181a8ad80a

    Original commit message:
    
        [JSON] Fix GC issue in BuildJsonObject
        We must ensure that the sweeper is not running or has already swept
        mutable_double_buffer. Otherwise the GC can add it to the free list.
    
        Bug: v8:11837
        Change-Id: Ifd9cf15f1c94f664fd6489c70bb38b59730cdd78
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2928181
        Commit-Queue: Victor Gomes <victorgomes@chromium.org>
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#74859}
    
    Refs: v8/v8@81181a8
    
    PR-URL: #39187
    Fixes: #37553
    Refs: v8/v8@81181a8
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    thomasmichaelwallace authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4213e97 View commit details
    Browse the repository at this point in the history
  9. debugger: move node-inspect to internal library

    node-inspect developers have agreed to move node-inspect into core
    rather than vendor it as a dependency.
    
    Refs: #36481
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    8bd2a39 View commit details
    Browse the repository at this point in the history
  10. tools: remove node-inspect from license

    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    fc219d8 View commit details
    Browse the repository at this point in the history
  11. debugger: remove unused code

    Remove code that was for when `node-inspect` was called as a standalone
    process.
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    0321c5b View commit details
    Browse the repository at this point in the history
  12. debugger: fix inspect restart on Windows

    Fixes: #37224
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    1da6921 View commit details
    Browse the repository at this point in the history
  13. debugger: accommodate line chunking in Windows

    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b172e6f View commit details
    Browse the repository at this point in the history
  14. debugger: allow longer time to connect

    Make five attempts with a timeout of 1 second each rather than 10
    attempts with a timeout of 500ms each. This is to allow for
    slower-connecting devices like Raspberry Pi.
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    22afb7c View commit details
    Browse the repository at this point in the history
  15. test: fix test-inspector-cli-address

    The test was assuming that the entire string being sought would arrive
    in a single data chunk, but it can be split across multiple chunks.
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    193ea8f View commit details
    Browse the repository at this point in the history
  16. test,debugger: migrate node-inspect tests to core

    Migrate the node-inspect tests to core (where node-inspect code now
    lives) and remove node-inspect from deps directory.
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    a62826b View commit details
    Browse the repository at this point in the history
  17. debugger: replace internal use of deprecated API

    Change process.binding() use to internalBinding().
    
    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    a8924fa View commit details
    Browse the repository at this point in the history
  18. test: fix comment typo

    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    dd2642b View commit details
    Browse the repository at this point in the history
  19. debugger: fix race condition/deadlock on initialization

    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    9e28c6c View commit details
    Browse the repository at this point in the history
  20. test: extend timeout on debugger tests for slower machines

    PR-URL: #38161
    Backport-PR-URL: #38858
    Refs: #36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4d3a1fa View commit details
    Browse the repository at this point in the history
  21. test: fix flaky inspector-cli tests when breakpionts are restored

    PR-URL: #38431
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    99fd8bf View commit details
    Browse the repository at this point in the history
  22. doc: update code examples for node:url module

    There are many things called `url` in this page including `url` module,
    `URL` instances, etc.
    
    The original example was not clear where these methods come from.
    
    PR-URL: #38645
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    fisker authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4d9129e View commit details
    Browse the repository at this point in the history
  23. src: replace autos in node_contextify.cc

    PR-URL: #38644
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    XadillaX authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    7d82200 View commit details
    Browse the repository at this point in the history
  24. test: give js-native-api tests consistent names

    The convention for js-native-api/<test_name>:
      * <test_name>.c or <test_name>.cc has the entry point
      * The name of the target is <test_name>
    
    PR-URL: #38692
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    gabrielschulhof authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    e265d8e View commit details
    Browse the repository at this point in the history
  25. doc: document null target pattern

    PR-URL: #38724
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    guybedford authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    8049b69 View commit details
    Browse the repository at this point in the history
  26. src: write named pipe info in diagnostic report

    Writes pipe handles with `uv_pipe_getsockname()`
    and `uv_pipe_getpeername()`.
    
    PR-URL: #38637
    Fixes: #38625
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    legendecas authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    846a138 View commit details
    Browse the repository at this point in the history
  27. src: remove commented code in node_file.cc

    The implementation of the `fs.lchmod` method has been moved to JS-land
    
    PR-URL: #38693
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    juanarbol authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    2c11d3e View commit details
    Browse the repository at this point in the history
  28. src: use HandleScope in StreamReq::Done()

    Fixes: #38707
    
    PR-URL: #38720
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    RaisinTen authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    2d32031 View commit details
    Browse the repository at this point in the history
  29. typings: add JSDoc typings for events

    Added JSDoc typings for the `events` lib module.
    
    PR-URL: #38712
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    VoltrexKeyva authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    6ea1368 View commit details
    Browse the repository at this point in the history
  30. test: improve coverage of lib/_http_outgoing.js

    Refs: https://coverage.nodejs.org/coverage-36bb31be5f0b85a0/lib/_http_outgoing.js.html#L351
    Refs: https://coverage.nodejs.org/coverage-36bb31be5f0b85a0/lib/_http_outgoing.js.html#L609
    
    PR-URL: #38734
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    pd4d10 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    aeea252 View commit details
    Browse the repository at this point in the history
  31. build: replace non-POSIX test -a|o

    test/[ from sbase unix tools[1] throws "too many arguments" if -a or
    -o is provided. The syntax has been marked obsolescent as per the
    manual[2].
    
    [1] http://core.suckless.org/sbase/
    [2] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16
    
    PR-URL: #38731
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    concatime authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b5b1d1f View commit details
    Browse the repository at this point in the history
  32. benchmark: fix http elapsed time

    Since commit 4e9ad20, elapsed time is expected to be a BigInt
    instead of an array.
    
    Refs: #38369
    
    PR-URL: #38743
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    f9693cf View commit details
    Browse the repository at this point in the history
  33. child_process: retain reference to data with advanced serialization

    Do the same thing we do for other streams, and retain a reference to
    the Buffer that was sent over IPC while the write request is active,
    so that it doesn’t get garbage collected while the data is still in
    flight.
    
    (This is a good example of why it’s a bad idea that we’re not re-using
    the general streams implementation for IPC and instead maintain
    separate usage of the low-level I/O primitives.)
    
    Fixes: #34797
    
    PR-URL: #38728
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    addaleax authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    55ea29e View commit details
    Browse the repository at this point in the history
  34. typings: add JSDoc typings for https

    Added JSDoc typings for the `https` lib module.
    
    PR-URL: #38589
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    VoltrexKeyva authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    58154ce View commit details
    Browse the repository at this point in the history
  35. build: allow LTO with Clang 3.9.1+

    Bug: #38568
    Test: manual,
          - arm64-apple-darwin20.5.0 / Apple clang version 12.0.5 (clang-1205.0.22.9)
          - x86_64-pc-linux-gnu / Ubuntu clang version 13.0.0-++20210520052624+48780527dd68-1~exp1~20210520153429.417
    Signed-off-by: Jesse Chan <jc@linux.com>
    
    PR-URL: #38751
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    jesec authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    a6f8ba8 View commit details
    Browse the repository at this point in the history
  36. doc: fixup code sample in http.md

    PR-URL: #38776
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    todortotev authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    826ae9b View commit details
    Browse the repository at this point in the history
  37. test: os, replace custom flatten method with built-in Array.flat

    PR-URL: #38770
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    waelsy123 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    eb91932 View commit details
    Browse the repository at this point in the history
  38. benchmark: output JSON-compatible numbers

    This is to simplify the implementation of a JavaScript version of the
    compare.R script.
    
    PR-URL: #38778
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    86477b2 View commit details
    Browse the repository at this point in the history
  39. test: improve coverage for question in readline

    PR-URL: #38799
    Refs: https://coverage.nodejs.org/coverage-dc43066ee9a37655/lib/readline.js.html#L443
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ayase-252 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    504bfd7 View commit details
    Browse the repository at this point in the history
  40. doc: fix grammar in fs.md

    PR-URL: #38818
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    yotamselementor authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    8699e62 View commit details
    Browse the repository at this point in the history
  41. test: simplify test-path-resolve.js

    PR-URL: #38671
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    himself65 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    01f00fa View commit details
    Browse the repository at this point in the history
  42. build: add lto build to CI

    PR-URL: #38567
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    7f53a0b View commit details
    Browse the repository at this point in the history
  43. test: fix writefile with fd

    fix writefile with fd so that it'll close the fds
    that is uses during the test.
    
    PR-URL: #38820
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Linkgoron authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    fecad40 View commit details
    Browse the repository at this point in the history
  44. tools: update setup-node to setup-node@v2

    Signed-off-by: pengjie <37610029@qq.com>
    
    PR-URL: #38825
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    JayFate authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    1dc71da View commit details
    Browse the repository at this point in the history
  45. doc: use "Long Term Support" in README

    "Long-Term Support" should have a capital "T" according to most style
    guides if we're making it a proper noun as we are here. It's obviously
    not super important in the grand scope of the project, but it makes
    things appear more formal and correct.
    
    PR-URL: #38839
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    phershbe authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    dfe9698 View commit details
    Browse the repository at this point in the history
  46. doc: use "Long Term Support" in technical values doc

    Use "Long Term Support" rather than "long term support".
    
    Refs: #38839 (comment)
    
    PR-URL: #38841
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    7a9850a View commit details
    Browse the repository at this point in the history
  47. doc: use "Long Term Support" in collaborator guide

    Use "Long Term Support" rather than "Long-term support".
    
    Refs: #38839 (comment)
    
    PR-URL: #38841
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b4f60bb View commit details
    Browse the repository at this point in the history
  48. tools: remove exception for Node.js 8 and earlier

    Remove exception in .eslintrc.js to accommodate versions of Node.js
    prior to 10.x. 10.x and later all support omitting catch block
    arguments.
    
    PR-URL: #38840
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    2ec7c9d View commit details
    Browse the repository at this point in the history
  49. tools: bump cpplint to 1.5.5

    PR-URL: #38851
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b7686d0 View commit details
    Browse the repository at this point in the history
  50. tools: refloat 7 Node.js patches to cpplint.py

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

    PR-URL: #38850
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    fb0ab4c View commit details
    Browse the repository at this point in the history
  52. doc: fixed typo in n-api.md

    PR-URL: #38822
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    julianjany authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    e36d2a6 View commit details
    Browse the repository at this point in the history
  53. src: fix typos

    PR-URL: #38845
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    bl-ue authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    73e199d View commit details
    Browse the repository at this point in the history
  54. lib: fix typos

    PR-URL: #38846
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    bl-ue authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b0a1984 View commit details
    Browse the repository at this point in the history
  55. src: replace autos in node_api.cc

    PR-URL: #38852
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    XadillaX authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    981217e View commit details
    Browse the repository at this point in the history
  56. test: improve coverage of fs internal utils

    Refs: https://coverage.nodejs.org/coverage-910efc2d9a69ac32/lib/internal/fs/utils.js.html#L634
    
    PR-URL: #38746
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    pd4d10 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    0cca16a View commit details
    Browse the repository at this point in the history
  57. build: remove outdated dont-land-on-v6.x label

    PR-URL: #38886
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    1ffbe3d View commit details
    Browse the repository at this point in the history
  58. worker: do not look up context twice in PostMessage

    Refs: #38780 (comment)
    
    PR-URL: #38784
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    addaleax authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    2c28e00 View commit details
    Browse the repository at this point in the history
  59. src: add not-weak DCHECK to PersistentToLocal::Strong

    Refs: #38821 (comment)
    
    PR-URL: #38875
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    addaleax authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    ff7cc8f View commit details
    Browse the repository at this point in the history
  60. tools,doc: forbid CJS globals in ESM code snippets

    PR-URL: #38889
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4bb0bd0 View commit details
    Browse the repository at this point in the history
  61. doc: clarify when readable._read(...) is called

    Fixes: #38586
    
    PR-URL: #38726
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    sploders101 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b2d836b View commit details
    Browse the repository at this point in the history
  62. tools: bump remark-preset-lint-node to 2.3.0

    PR-URL: #38910
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    9b4ae8f View commit details
    Browse the repository at this point in the history
  63. build: correct Xcode spelling in .gitignore

    PR-URL: #38895
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bl-ue authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    49a0006 View commit details
    Browse the repository at this point in the history
  64. child_process: refactor to use validateBoolean

    PR-URL: #38927
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Ayase-252 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    fc2b1ec View commit details
    Browse the repository at this point in the history
  65. vm: use missing validator

    The `vm` lib module's `isContext()` function should use a validator.
    
    PR-URL: #38935
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    VoltrexKeyva authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    dd00547 View commit details
    Browse the repository at this point in the history
  66. meta: update label-pr-config

    - Rename "ES Modules" label to "esm" (This already happened on GitHub
      a while ago).
    - Add missing "fast-track" to deps/npm (It was lost when the pull
      request adding it landed).
    - Rename "intl" to "i18n-api" (There is no intl label).
    - Rename "url-whatwg" to "whatwg-url".
    - Rename "V8 Engine" to "v8 engine".
    - Rename "n-api" to "node-api".
    - Add "python" to .py files.
    - Add "gyp" to tools/gyp.
    - Add "icu" to tools/icu.
    - Add "tools" and "v8 engine" to tools/v8_gypfiles.
    - Add "release" to doc/changelogs.
    
    PR-URL: #38950
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    6c061d5 View commit details
    Browse the repository at this point in the history
  67. node-api: avoid SecondPassCallback crash

    PR #38000 added
    indirection so that we could stop finalization in
    cases where it had been scheduled in a second
    pass callback but we were doing it in advance in
    environment teardown.
    
    Unforunately we missed that the code which tries
    to clear the second pass parameter checked if
    the pointer to the parameter (_secondPassParameter)
    was nullptr and that when the second pass callback
    was scheduled we set _secondPassParameter to nullptr
    in order to avoid it being deleted outside of the second
    pass callback. The net result was that we
    would not clear the _secondPassParameter contents
    and failed to avoid the Finalization in the second pass
    callback.
    
    This PR adds an additional boolean for deciding if
    the secondPassParameter should be deleted outside
    of the second pass callback instead of setting
    secondPassParameter to nullptr thus avoiding the
    conflict between the 2 ways it was being used.
    
    See the discussion starting at:
    #38273 (comment)
    for how this was discovered on OSX while trying to
    upgrade to a new V8 version.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #38899
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    cd3305a View commit details
    Browse the repository at this point in the history
  68. test: suppress warning in test_environment.cc

    Currently there is a compiler warning generated if a build defines
    NDEBUG:
    
    $ env CXXFLAGS='-DNDEBUG' make -j8 cctest
    ../test/cctest/test_environment.cc:
    In function ‘void at_exit_js(void*)’:
    ../test/cctest/test_environment.cc:333:25: warning:
    variable ‘obj’ set but not used [-Wunused-but-set-variable]
      333 |   v8::Local<v8::Object> obj = v8::Object::New(isolate);
          |                         ^~~
    
    NDEBUG is currently not defined using the main branch but this
    discovered when working on replacing OpenSSL 1.1.1 with OpenSSL 3.0.
    
    This commit uses EXPECT statements instead of asserts to avoid the
    warning.
    
    PR-URL: #38868
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    danbev authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    660a97b View commit details
    Browse the repository at this point in the history
  69. build: don't pass python override to V8 build

    If the `configure.py` script is executed by a Python binary that is
    not the one on the PATH it will create a `python` symlink in
    `out/tools/bin` and prefix that to the PATH so it is used instead of
    the one that otherwise would have been found on the PATH. This is
    done so that gyp scripts shelling out to `python` execute with the
    same version of Python as used to run the configure script.
    
    V8's build uses V8's build toolchain (i.e. not gyp) and currently that
    is incompatible with Python 3. Prevent prefixing the PATH for the V8
    build so that it picks up `python` from the unprefixed PATH. This will
    allow us to build Node.js with Python 3 but still use Python 2 to build
    V8 in the CI.
    
    PR-URL: #38969
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    0736dd8 View commit details
    Browse the repository at this point in the history
  70. doc: mark util.inherits as legacy

    PR-URL: #38896
    Refs: #38893
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    VoltrexKeyva authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b405296 View commit details
    Browse the repository at this point in the history
  71. url,src: simplify ipv6 logic by using uv_inet_pton

    PR-URL: #38842
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    XadillaX authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b6942a6 View commit details
    Browse the repository at this point in the history
  72. src: throw error in LoadBuiltinModuleSource when reading fails

    - Move the file reading code in LoadBuiltinModuleSource into
      util.h so that it can be reused by other C++ code, and
      return an error code from it when there is a failure for
      the caller to generate an error.
    - Throw an error when reading local builtins fails in
      LoadBulitinModuleSource.
    
    PR-URL: #38904
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    bee477b View commit details
    Browse the repository at this point in the history
  73. debugger: apply automatic lint fixes for _inspect.js

    For issues that ESLint can fix automatically, fix them.
    
    PR-URL: #38411
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    8dd1f70 View commit details
    Browse the repository at this point in the history
  74. debugger: apply automatic lint fixes for inspect_repl.js

    For issues that ESLint can fix automatically, fix them.
    
    PR-URL: #38411
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    61da371 View commit details
    Browse the repository at this point in the history
  75. tools: update ESLint to 7.28.0

    PR-URL: #38955
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    lpinca authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    1023433 View commit details
    Browse the repository at this point in the history
  76. build: fix commit-queue default branch

    `github.repository.default_branch` is not a valid context variable, and
    GitHub doesn't have a context or environment variable containing the
    default branch. It does have `github.ref` and `$GITHUB_REF`, which
    contains the default branch _reference_ (as in `refs/heads/<branch>`),
    so we can use that and remove the `refs/heads/` prefix.
    
    PR-URL: #38998
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    mmarchini authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    d341561 View commit details
    Browse the repository at this point in the history
  77. doc: add missing semis after classes

    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    
    PR-URL: #38931
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    RaisinTen authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    41fcbad View commit details
    Browse the repository at this point in the history
  78. test: http outgoing _headers setter null

    Co-authored-by: Qingyu Deng <i@ayase-lab.com>
    
    PR-URL: #38881
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ycjcl868 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    c99a09f View commit details
    Browse the repository at this point in the history
  79. doc: fixed typo in process.md

    Replaced params in writeFileSync function in proper way.
    
    PR-URL: #38941
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    maks-der authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    cd48ee7 View commit details
    Browse the repository at this point in the history
  80. test: improve coverage of lib/events.js

    PR-URL: #38582
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    pd4d10 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b3b5995 View commit details
    Browse the repository at this point in the history
  81. tools: fix typo in commit-queue.sh

    PR-URL: #39000
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bl-ue authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    547f88b View commit details
    Browse the repository at this point in the history
  82. doc: clarify that only one Python version is required to build

    PR-URL: #38894
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    bl-ue authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    e474e98 View commit details
    Browse the repository at this point in the history
  83. tools: avoid crashing CQ when git push fails

    PR-URL: #36861
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    443db64 View commit details
    Browse the repository at this point in the history
  84. build: make build-addons errors fail the build

    The `build-addons` makefile target runs `tools/doc/addon-verify.js` and
    then uses `touch` to update a timestamp file. Unconditionally calling
    `touch` was losing the exit code from `tools/doc/addon-verify.js` so
    any errors produced by that script were not failing the build.
    
    PR-URL: #38983
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    069cf59 View commit details
    Browse the repository at this point in the history
  85. test: remove obsolete TLS test

    The test involving melissadata.net was to make sure Node.js still
    tolerated ValiCert 1024-bit certs. It has been several years since
    melissadata.net used ValiCert as a root certificate and for that matter,
    we removed ValiCert in a4dbf45 so it
    would have broken then if it was still using it. The test is no longer
    valid or needed and hasn't been for several years.
    
    PR-URL: #39001
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    ab28f9b View commit details
    Browse the repository at this point in the history
  86. module: fix legacy node specifier resolution to resolve "main" field

    PR-URL: #38979
    Fixes: #32103
    Fixes: #38739
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: Guy Bedford <guybedford@gmail.com>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    afb6178 View commit details
    Browse the repository at this point in the history
  87. doc: add missing parameter types

    Both of the `clearTimeout()` and `clearInterval()` functions in the
    `timers` lib accepts the ID of the `Timeout` object returned by the
    functions in a number or string type, e.g.
    
    ```js
    const t = setTimeout(console.log, 5000, 'test');
    
    clearTimeout(t[Symbol.toPrimitive]());
    ```
    
    PR-URL: #39013
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    VoltrexKeyva authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    797bd73 View commit details
    Browse the repository at this point in the history
  88. src: refactor to use locale functions

    This makes the code more readable.
    
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    
    PR-URL: #39014
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    dcfb182 View commit details
    Browse the repository at this point in the history
  89. tools: update doctool dependencies, migrate to ESM

    - Migrated to ESM because some dependencies now require it.
    - Did not update `highlight.js` to v11 because it has many breaking
      changes.
    - Used non-deprecated `highlight.js` API.
    
    Refs: highlightjs/highlight.js#2277
    Fixes: #38938
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #38966
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    54a250e View commit details
    Browse the repository at this point in the history
  90. Revert "build: work around bug in MSBuild v16.10.0"

    This reverts commit 3457130.
    
    Visual Studio v16.10.1 is out.
    
    Closes: #38872
    
    PR-URL: #38977
    Fixes: #38872
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    6962c64 View commit details
    Browse the repository at this point in the history
  91. test: fix typo

    PR-URL: #39045
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    houssemchebeb authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4009350 View commit details
    Browse the repository at this point in the history
  92. test: fix name of variable in inspector-cli test

    PR-URL: #38869
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    6f1862e View commit details
    Browse the repository at this point in the history
  93. src: cleanup uv_fs_t regardless of success or not

    PR-URL: #38996
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    legendecas authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    43fe6c1 View commit details
    Browse the repository at this point in the history
  94. src,url: separate some tables out of node_url.cc

    The purpose of separating is for readability and maintainability.
    
    PR-URL: #38988
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    XadillaX authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    51da7d2 View commit details
    Browse the repository at this point in the history
  95. doc: remove references to deleted freenode channels

    PR-URL: #39047
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    devsnek authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    04032fa View commit details
    Browse the repository at this point in the history
  96. lib: add JSDoc typings for child_process

    Added JSDoc typings for the `child_process` lib module.
    
    PR-URL: #38222
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    VoltrexKeyva authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    2bc2a23 View commit details
    Browse the repository at this point in the history
  97. test: improve buffer coverage

    PR-URL: #38538
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    pd4d10 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    6447cab View commit details
    Browse the repository at this point in the history
  98. test: move inspector-cli tests to sequential

    There's no reason to keep these tests separated from everything else.
    
    PR-URL: #39079
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    6b2fea3 View commit details
    Browse the repository at this point in the history
  99. debugger: rename internal library for clarity

    When I moved these files from node-inspect to Node.js core, I put them
    in lib/internal/inspector. That was a mistake. They should be in
    lib/internal/debugger.
    
    PR-URL: #39080
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4c2b813 View commit details
    Browse the repository at this point in the history
  100. build: reconfigure when gyp files change on Windows

    Previously only changes to .gypi files trigger a reconfigure
    on Windows.
    
    PR-URL: #39066
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    a657f25 View commit details
    Browse the repository at this point in the history
  101. lib: make internal/options lazy

    This way, internal modules can still require the module
    and cache the function getOptionValue() early (therefore
    these code can be included in the snapshots), but the
    options map won't be serialized from C++ land until the
    option values are actually queried.
    
    PR-URL: #38993
    Refs: #35711
    Refs: #38905
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    joyeecheung authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    199fe32 View commit details
    Browse the repository at this point in the history
  102. tools: update ESLint to 7.29.0

    PR-URL: #39083
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    b8e63b3 View commit details
    Browse the repository at this point in the history
  103. lib: remove semicolon in preparation for babel/eslint-parser update

    eslint-babel-plugin will complain about this semicolon when we update
    to 7.14.15.
    
    PR-URL: #39094
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    097a787 View commit details
    Browse the repository at this point in the history
  104. tools: update babel-eslint-parser to 7.14.5

    PR-URL: #39094
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    ab45ace View commit details
    Browse the repository at this point in the history
  105. errors: don't rekey on primitive type

    If an error is thrown before a module is loaded, we attempt to cache
    source map against error object, rather than module object. We
    can't do this if the error is a primitive type
    
    Fixes #38945
    
    PR-URL: #39025
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    bcoe authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    bb9a9ad View commit details
    Browse the repository at this point in the history
  106. src: use SPrintF in ProcessEmitWarning

    PR-URL: #38758
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    
    Backport-PR-URL: #39419
    RaisinTen authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    e7f266e View commit details
    Browse the repository at this point in the history
  107. build: fix building with external builtins

    PR-URL: #39091
    Backport-PR-URL: #39419
    Fixes: #39090
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Momtchil Momtchev authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    1ab4f81 View commit details
    Browse the repository at this point in the history
  108. lib: add globalThis to primordials

    PR-URL: #38211
    Backport-PR-URL: #39448
    Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    ea9003a View commit details
    Browse the repository at this point in the history
  109. lib: enforce using primordials.globalThis instead of global

    PR-URL: #38230
    Backport-PR-URL: #39448
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    d4f96bb View commit details
    Browse the repository at this point in the history
  110. lib: harden lint checks for globals

    PR-URL: #38419
    Backport-PR-URL: #39448
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    e3223ed View commit details
    Browse the repository at this point in the history
  111. deps: V8: cherry-pick b0a7f5691113

    Original commit message:
    
        Update to ICU68-1
    
        ICU68-1 change the output skeleton format. So we need to change
        resolvedOptions code for 68 migration.
    
        Chromium roll
        https://chromium-review.googlesource.com/c/chromium/src/+/2474093
    
        Bug: v8:10945
        Change-Id: I3b2c7fbe8abb22df8fa51287c498ca3245b8c55b
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2477431
        Commit-Queue: Frank Tang <ftang@chromium.org>
        Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
        Reviewed-by: Shu-yu Guo <syg@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#70972}
    
    Refs: v8/v8@b0a7f56
    
    PR-URL: #39051
    Fixes: #39050
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    9b69069 View commit details
    Browse the repository at this point in the history
  112. test: add NumberFormat resolvedOptions test

    Add a regression test for NumberFormat resolvedOptions.
    
    PR-URL: #39401
    Refs: #39050
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    
    Backport-PR-URL: #39051
    richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    45c2ea3 View commit details
    Browse the repository at this point in the history
  113. deps: V8: backport 16ffec97e5eb

    Original commit message:
    
        Fix maximize/minimize of Intl.Locale
    
        Roll ICU to 46f53dfc
        chromium/src/DEPS already roll in https://chromium-review.googlesource.com/c/chromium/src/+/2235734
    
        Bug: v8:10448
        Change-Id: I147189527e57282c6cc7a1e92f832275d5ef55c6
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2237353
        Reviewed-by: Shu-yu Guo <syg@chromium.org>
        Commit-Queue: Frank Tang <ftang@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#68275}
    
    Refs: v8/v8@16ffec9
    
    PR-URL: #39051
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    5039f21 View commit details
    Browse the repository at this point in the history
  114. deps: V8: backport ae7bfb3f03b3

    Original commit message:
    
        Change test expectation per tz2020b
    
        https://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
             Revised predictions for Morocco's changes starting in 2023.
             Canada's Yukon changes to -07 on 2020-11-01, not 2020-03-08.
             Macquarie Island has stayed in sync with Tasmania since 2011.
             Casey, Antarctica is at +08 in winter and +11 in summer.
             zic no longer supports -y, nor the TYPE field of Rules.
    
        Bug: chromium:1137864, chromium:1138117
        Change-Id: I6076a993fcd755074ddcfa5321b78aa5f043337b
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2476681
        Commit-Queue: Frank Tang <ftang@chromium.org>
        Reviewed-by: Michael Achenbach <machenbach@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#70553}
    
    Refs: v8/v8@ae7bfb3
    
    PR-URL: #39051
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and richardlau committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    4efefe0 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. lib: add primordials.SafeArrayIterator

    PR-URL: #36532
    Backport-PR-URL: #39446
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    d8cc2ff View commit details
    Browse the repository at this point in the history
  2. Revert "debugger: rename internal library for clarity"

    This reverts commit d0c7ab0.
    
    PR-URL: #39446
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    aduh95 authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    cde7221 View commit details
    Browse the repository at this point in the history
  3. debugger: add usage example for --port

    PR-URL: #38400
    Backport-PR-URL: #39446
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RafaelGSS authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    21ecee1 View commit details
    Browse the repository at this point in the history
  4. debugger: refactor internal/inspector/_inspect to use more primordials

    PR-URL: #38406
    Backport-PR-URL: #39446
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    721edef View commit details
    Browse the repository at this point in the history
  5. debugger: wait for V8 debugger to be enabled

    Refs: #38273 (comment)
    
    PR-URL: #38811
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    targos authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    79bfb04 View commit details
    Browse the repository at this point in the history
  6. debugger: revise async iterator usage to comply with lint rules

    I'm not sure that this is any clearer than the existing code, but I
    don't think it's significantly less clear, and it avoids comment
    disabling a lint rule.
    
    PR-URL: #38847
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    0ef5e08 View commit details
    Browse the repository at this point in the history
  7. debugger: reduce scope of eslint disable comment

    Current code masks setInterval and setTimeout with promisified versions.
    This can be confusing to read and causes lint errors. Replace masking
    with use of pSetInterval and pSetTimeout instead.
    
    Move disabling of lint rule from entire file to the one remaining line
    (after the above changes) that still needs it.
    
    PR-URL: #38946
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    249acd5 View commit details
    Browse the repository at this point in the history
  8. debugger: enable linter on internal/inspector/inspect_client

    PR-URL: #38417
    Backport-PR-URL: #39446
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    e58f938 View commit details
    Browse the repository at this point in the history
  9. debugger: remove unnecessary boilerplate copyright comment

    PR-URL: #38952
    Backport-PR-URL: #39446
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    d74d67f View commit details
    Browse the repository at this point in the history
  10. debugger: align message with Node.js standard

    Node.js uses (or will use) _Ctrl+C_ with no spaces. To unify the
    messages from inspect with other messages from the REPL and elsewhere,
    make that change in node-inspect too.
    
    PR-URL: #38400
    Backport-PR-URL: #39446
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    b30ff35 View commit details
    Browse the repository at this point in the history
  11. debugger: wrap lines longer than 80 chars

    Wrap lines more than 80 chararcters long in inspect_repl.js so we can
    disable specific rules.
    
    PR-URL: #38529
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    ae90756 View commit details
    Browse the repository at this point in the history
  12. debugger: avoid non-ASCII char in code file

    Avoid non-ASCII char in lib code as a single non-ASCII char forces all
    the chars to be stored inefficiently, bloating the binary size. This
    also brings the file closer to compatibility with our lint rules.
    
    PR-URL: #38529
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    34659f2 View commit details
    Browse the repository at this point in the history
  13. debugger: disable only the lint rules required by current file state

    PR-URL: #38529
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    b5724a1 View commit details
    Browse the repository at this point in the history
  14. debugger: refactor to use internal modules

    This avoids loading the entirety of `node:util` and `node:url` and their
    dependencies while only a subset is actually used by this module.
    
    PR-URL: #38550
    Backport-PR-URL: #39446
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    aduh95 authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    ad80566 View commit details
    Browse the repository at this point in the history
  15. debugger: refactor inspect_repl to use primordials

    PR-URL: #38551
    Backport-PR-URL: #39446
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    aduh95 authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    f9a4dcb View commit details
    Browse the repository at this point in the history
  16. debugger: removed unused function argument

    PR-URL: #38850
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    052e1c5 View commit details
    Browse the repository at this point in the history
  17. errors: add ERR_DEBUGGER_ERROR

    PR-URL: #39024
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    cfccf13 View commit details
    Browse the repository at this point in the history
  18. debugger: use ERR_DEBUGGER_ERROR in debugger client

    PR-URL: #39024
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    a3991d7 View commit details
    Browse the repository at this point in the history
  19. debugger: use error codes in debugger REPL

    PR-URL: #39024
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    5d4d23d View commit details
    Browse the repository at this point in the history
  20. errors: add ERR_DEBUGGER_STARTUP_ERROR

    PR-URL: #39024
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    9b993ed View commit details
    Browse the repository at this point in the history
  21. debugger: use ERR_DEBUGGER_STARTUP_ERROR in _inspect.js

    PR-URL: #39024
    Backport-PR-URL: #39446
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    b7ee9d8 View commit details
    Browse the repository at this point in the history
  22. debugger: rename internal library for clarity

    When I moved these files from node-inspect to Node.js core, I put them
    in lib/internal/inspector. That was a mistake. They should be in
    lib/internal/debugger.
    
    PR-URL: #39080
    Backport-PR-URL: #39446
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    716ee15 View commit details
    Browse the repository at this point in the history
  23. doc,url: clarify domainTo* when built without ICU

    Continuation of: #35099
    
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    
    PR-URL: #38789
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and richardlau committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    2ff671e View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. http2: on receiving rst_stream with cancel code add it to pending list

    PR-URL: #39423
    Fixes: #38964
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    kumarak authored and richardlau committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    d48b91e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. deps: upgrade npm to 6.14.14

    PR-URL: #39553
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    darcyclarke authored and richardlau committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    acf5279 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. 2021-07-29, Version 14.17.4 'Fermium' (LTS)

    This is a security release.
    
    Notable Changes:
    
    - CVE-2021-22930: Use after free on close http2 on stream canceling (High)
    
    This releases fixes some regressions with internationalization
    introduced by the ICU updates in Node.js 14.17.0 and 14.17.1.
    
    PR-URL: #39466
    richardlau committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    488c27f View commit details
    Browse the repository at this point in the history