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

v16.3.0 proposal #38874

Merged
merged 74 commits into from Jun 3, 2021
Merged

v16.3.0 proposal #38874

merged 74 commits into from Jun 3, 2021

Commits on May 31, 2021

  1. test: improve coverage of stream.Readable

    PR-URL: #38702
    Refs: https://coverage.nodejs.org/coverage-0996eb71edbd47d9/lib/internal/streams/readable.js.html#L401
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    pd4d10 authored and danielleadams committed May 31, 2021
    Copy the full SHA
    929e8df View commit details
    Browse the repository at this point in the history
  2. lib: refactor to reuse validators

    PR-URL: #38608
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    pd4d10 authored and danielleadams committed May 31, 2021
    Copy the full SHA
    2268d1c View commit details
    Browse the repository at this point in the history
  3. bootstrap: include vm and contextify binding into the snapshot

    In addition, defer the patching of the vm module based on the
    value of --experimental-vm-modules to runtime.
    
    PR-URL: #38677
    Refs: #35711
    Reviewed-By: Gus Caplan <me@gus.host>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and danielleadams committed May 31, 2021
    Copy the full SHA
    a98d631 View commit details
    Browse the repository at this point in the history
  4. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    5553be3 View commit details
    Browse the repository at this point in the history
  5. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    a47fd67 View commit details
    Browse the repository at this point in the history
  6. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    6da4aa3 View commit details
    Browse the repository at this point in the history
  7. node-api: fix shutdown crashes

    Refs: nodejs/node-addon-api#906
    
    Ensure that finalization is not defered during shutdown.
    The env for the addon is deleted immediately after
    iterating the list of finalizers to be run. Defering
    causes crashes as the finalization uses the already
    deleted env.
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #38492
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
    mhdawson authored and danielleadams committed May 31, 2021
    Copy the full SHA
    496f7ea View commit details
    Browse the repository at this point in the history
  8. stream: allow empty string as source of pipeline

    Fixes: #38721
    
    PR-URL: #38723
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Ayase-252 authored and danielleadams committed May 31, 2021
    Copy the full SHA
    4131f94 View commit details
    Browse the repository at this point in the history
  9. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    96fa387 View commit details
    Browse the repository at this point in the history
  10. src: remove more extra semis from member fns

    PR-URL: #38744
    Reviewed-By: Richard Lau <rlau@redhat.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: Benjamin Gruenbaum <benjamingr@gmail.com>
    codebytere authored and danielleadams committed May 31, 2021
    Copy the full SHA
    f5dd85b View commit details
    Browse the repository at this point in the history
  11. deps: update llhttp to 6.0.2

    Fix: #37053
    See: nodejs/llparse#44
    PR-URL: #38665
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daniele Belardi <dwon.dnl@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    indutny authored and danielleadams committed May 31, 2021
    Copy the full SHA
    15aaf14 View commit details
    Browse the repository at this point in the history
  12. src: remove unused iostream library

    Remove unused `iostream` library in `node_main_instance.cc` and
    `aliased_buffer.h` files
    
    PR-URL: #38694
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    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>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    juanarbol authored and danielleadams committed May 31, 2021
    Copy the full SHA
    ba96f14 View commit details
    Browse the repository at this point in the history
  13. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    61c95f0 View commit details
    Browse the repository at this point in the history
  14. deps: upgrade npm to 7.14.0

    PR-URL: #38750
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    ruyadorno authored and danielleadams committed May 31, 2021
    Copy the full SHA
    e8192b5 View commit details
    Browse the repository at this point in the history
  15. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    c576311 View commit details
    Browse the repository at this point in the history
  16. events: refactor to use primordials in lib/events

    Replace code that's vulnerable to Prototype Pollution with Primordials.
    
    PR-URL: #38117
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    marsonya authored and danielleadams committed May 31, 2021
    Copy the full SHA
    2054efa View commit details
    Browse the repository at this point in the history
  17. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    4e33532 View commit details
    Browse the repository at this point in the history
  18. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    7fb809b View commit details
    Browse the repository at this point in the history
  19. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    11ac9c6 View commit details
    Browse the repository at this point in the history
  20. test: improve coverage of lib/fs.js

    PR-URL: #38604
    Refs: https://coverage.nodejs.org/coverage-29f1b609ba5d12d3/lib/fs.js.html#L2045
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    pd4d10 authored and danielleadams committed May 31, 2021
    Copy the full SHA
    695e982 View commit details
    Browse the repository at this point in the history
  21. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    e9be209 View commit details
    Browse the repository at this point in the history
  22. url: exit early when : delimiter is seen in hostname

    This aligns with an upstream spec change.
    
    PR-URL: #38742
    Fixes: #38710
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    TimothyGu authored and danielleadams committed May 31, 2021
    Copy the full SHA
    7773d58 View commit details
    Browse the repository at this point in the history
  23. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    7a9d0fd View commit details
    Browse the repository at this point in the history
  24. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    717a8b6 View commit details
    Browse the repository at this point in the history
  25. src: set CONF_MFLAGS_DEFAULT_SECTION for OpenSSL 3

    This commit adds a call to OPENSSL_init_crypto to initialize
    OPENSSL_INIT_LOAD_CONFIG to avoid the default behavior where errors
    raised during the parsing of the OpenSSL configuration file are not
    propagated and cannot be detected.
    
    The motivation for this is that if FIPS is configured the OpenSSL
    configuration file will have an .include pointing to the fipsmodule.cnf
    file generated by the openssl fipsinstall command. If the path to this
    file is incorrect no error will be reported. For Node.js this will mean
    that EntropySource will be called by V8 as part of its initalization
    process, and EntropySource will in turn call CheckEntropy. CheckEntropy
    will call RAND_status which will now always return 0 leading to an
    endless loop and the node process will appear to hang/freeze.
    
    I'll continue investigating the cause of this and see if this is
    expected behavior or not, but in the mean time it would be good to be
    able to workaround this issue with this commit.
    
    PR-URL: #38732
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Refs: #38633 (review)
    danbev authored and danielleadams committed May 31, 2021
    Copy the full SHA
    3741595 View commit details
    Browse the repository at this point in the history
  26. worker: leave TODO comments for using std::variant when possible

    We don’t use C++17 as a baseline yet, but once we do, we can use
    `std::variant` to make a few things more performant (and cleaner).
    There is a similar TODO comment in the crypto source already.
    
    PR-URL: #38788
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    addaleax authored and danielleadams committed May 31, 2021
    Copy the full SHA
    18f3ba3 View commit details
    Browse the repository at this point in the history
  27. test: set locale for datetime-change-notify test

    The time zone output by toString() will change with user's
    language, use toLocaleString() to set the time zone.
    
    PR-URL: #38741
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Lxxyx authored and danielleadams committed May 31, 2021
    Copy the full SHA
    c7a5857 View commit details
    Browse the repository at this point in the history
  28. src: fix compiler warnings in node_buffer.cc

    The variables could be initialized to `0` to avoid the warnings from
    `-Wmaybe-uninitialized`.
    
    Fixes: #38718
    
    PR-URL: #38722
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    RaisinTen authored and danielleadams committed May 31, 2021
    Copy the full SHA
    9ca5c0e View commit details
    Browse the repository at this point in the history
  29. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    30c0020 View commit details
    Browse the repository at this point in the history
  30. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    80c32b7 View commit details
    Browse the repository at this point in the history
  31. cli: add -C alias for --conditions flag

    PR-URL: #38755
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    guybedford authored and danielleadams committed May 31, 2021
    Copy the full SHA
    bc84001 View commit details
    Browse the repository at this point in the history
  32. 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>
    RaisinTen authored and danielleadams committed May 31, 2021
    Copy the full SHA
    3e6b3b2 View commit details
    Browse the repository at this point in the history
  33. worker: use rwlock for sibling group

    Since it is much more common to send messages than to add or
    remove ports from a sibling group, using a rwlock is appropriate here.
    
    Refs: #38780 (comment)
    
    PR-URL: #38783
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and danielleadams committed May 31, 2021
    Copy the full SHA
    a2da9e2 View commit details
    Browse the repository at this point in the history
  34. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    e2f28c8 View commit details
    Browse the repository at this point in the history
  35. stream: add a non-destroying iterator to Readable

    add a non-destroying iterator to Readable
    
    fixes: #38491
    
    PR-URL: #38526
    Fixes: #38491
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Linkgoron authored and danielleadams committed May 31, 2021
    Copy the full SHA
    9054d25 View commit details
    Browse the repository at this point in the history
  36. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    6d86f8a View commit details
    Browse the repository at this point in the history
  37. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    4e58ec4 View commit details
    Browse the repository at this point in the history
  38. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    1f5baaa View commit details
    Browse the repository at this point in the history
  39. tools: use PrintCaughtException in the snapshot builder

    This prints not only the error message but also the error
    source line and the stack trace wherever possible.
    
    PR-URL: #38745
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    joyeecheung authored and danielleadams committed May 31, 2021
    Copy the full SHA
    ab44106 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 danielleadams committed May 31, 2021
    Copy the full SHA
    4e11971 View commit details
    Browse the repository at this point in the history
  41. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    0c063a1 View commit details
    Browse the repository at this point in the history
  42. src: remove redundant v8 namespaces in env.cc

    PR-URL: #38792
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    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: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    juanarbol authored and danielleadams committed May 31, 2021
    Copy the full SHA
    36d4a43 View commit details
    Browse the repository at this point in the history
  43. tools: update ESLint to 7.27.0

    PR-URL: #38764
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    lpinca authored and danielleadams committed May 31, 2021
    Copy the full SHA
    21ce3af View commit details
    Browse the repository at this point in the history
  44. src: support fs_event_wrap binding in the snapshot

    PR-URL: #38737
    Refs: #35711
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and danielleadams committed May 31, 2021
    Copy the full SHA
    a1b0e64 View commit details
    Browse the repository at this point in the history
  45. lib: load internal/fs/watchers and internal/fs/read_file_context early

    So that they are included in the builtin snapshot
    
    PR-URL: #38737
    Refs: #35711
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and danielleadams committed May 31, 2021
    Copy the full SHA
    5d9442a View commit details
    Browse the repository at this point in the history
  46. lib: remove unnecessary lazy loads

    Now that more modules are included in the snapshot, it's not
    necessary to lazy load them anymore
    
    PR-URL: #38737
    Refs: #35711
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    joyeecheung authored and danielleadams committed May 31, 2021
    Copy the full SHA
    7d3a8cb View commit details
    Browse the repository at this point in the history
  47. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    e91d14c View commit details
    Browse the repository at this point in the history
  48. build: add lto build to CI

    PR-URL: #38567
    Reviewed-By: James M Snell <jasnell@gmail.com>
    gengjiawen authored and danielleadams committed May 31, 2021
    Copy the full SHA
    24cca7c View commit details
    Browse the repository at this point in the history
  49. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    3c492ba View commit details
    Browse the repository at this point in the history
  50. debugger: wait for V8 debugger to be enabled

    Refs: #38273 (comment)
    
    PR-URL: #38811
    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 danielleadams committed May 31, 2021
    Copy the full SHA
    ee1056d View commit details
    Browse the repository at this point in the history
  51. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    c0bde0c View commit details
    Browse the repository at this point in the history
  52. 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 danielleadams committed May 31, 2021
    Copy the full SHA
    f1e823b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    4844337 View commit details
    Browse the repository at this point in the history
  2. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    131a691 View commit details
    Browse the repository at this point in the history
  3. build: work around bug in MSBuild v16.10.0

    This allows to build Node.js at the (temporary) cost of longer build
    times.
    
    Refs: #38872
    Refs: https://github.com/dotnet/msbuild/releases/tag/v16.10.0
    Refs: dotnet/msbuild#6465
    Refs: dotnet/msbuild#6373
    
    PR-URL: #38873
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    targos authored and danielleadams committed Jun 1, 2021
    Copy the full SHA
    6986154 View commit details
    Browse the repository at this point in the history
  4. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    be8d934 View commit details
    Browse the repository at this point in the history
  5. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    6b8c712 View commit details
    Browse the repository at this point in the history
  6. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    36ffd58 View commit details
    Browse the repository at this point in the history
  7. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    f1000e0 View commit details
    Browse the repository at this point in the history
  8. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    108ffdb View commit details
    Browse the repository at this point in the history
  9. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    f25cd4f View commit details
    Browse the repository at this point in the history
  10. 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 danielleadams committed Jun 1, 2021
    Copy the full SHA
    08ad2f6 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

  1. src: cache necessary isolate & context in api/*

    Refs: #37473
    
    PR-URL: #38366
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    XadillaX authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    120849f View commit details
    Browse the repository at this point in the history
  2. 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 danielleadams committed Jun 2, 2021
    Copy the full SHA
    74205b3 View commit details
    Browse the repository at this point in the history
  3. os: add os.devNull

    Provides the platform-specific file path of the null device.
    
    PR-URL: #38569
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    lpinca authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    e119531 View commit details
    Browse the repository at this point in the history
  4. test: remove unnecessary --pending-deprecation flag

    PR-URL: #38819
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    48ebebd View commit details
    Browse the repository at this point in the history
  5. deps: upgrade npm to 7.15.1

    PR-URL: #38880
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@github.com>
    npm-robot authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    47ad448 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
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Trott authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    eb7c932 View commit details
    Browse the repository at this point in the history
  7. lib: include url in bootstrap snapshot and remove unnecessary lazy-loads

    PR-URL: #38826
    Refs: #35711
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    joyeecheung authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    4884991 View commit details
    Browse the repository at this point in the history
  8. 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 danielleadams committed Jun 2, 2021
    Copy the full SHA
    0aa3cb5 View commit details
    Browse the repository at this point in the history
  9. 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 danielleadams committed Jun 2, 2021
    Copy the full SHA
    f162896 View commit details
    Browse the repository at this point in the history
  10. src: set PromiseHooks by Environment

    The new JS PromiseHooks introduced in the referenced PR are per
    v8::Context. This meant that code depending on them, such as
    AsyncLocalStorage, wouldn't behave correctly across vm.Context
    instances.
    
    PromiseHooks are now synchronized across the main Context and any
    Context created via vm.Context.
    
    Refs: #36394
    Fixes: #38781
    Signed-off-by: Bryan English <bryan@bryanenglish.com>
    
    PR-URL: #38821
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    bengl authored and danielleadams committed Jun 2, 2021
    Copy the full SHA
    7ba3055 View commit details
    Browse the repository at this point in the history
  11. 2021-06-02, Version 16.3.0 (Current)

    Notable changes:
    
    * cli:
      * add -C alias for --conditions flag (Guy Bedford) (#38755)
    * deps:
      * add workspaces support to npm install commands (Ruy Adorno) (#38750)
    
    PR-URL: #38874
    danielleadams committed Jun 2, 2021
    Copy the full SHA
    e65a25c View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Working on v16.3.1

    PR-URL: #38874
    danielleadams committed Jun 3, 2021
    Copy the full SHA
    84c3990 View commit details
    Browse the repository at this point in the history