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.4.0 proposal #39031

Merged
merged 118 commits into from
Jun 23, 2021
Merged

v16.4.0 proposal #39031

merged 118 commits into from
Jun 23, 2021

Commits on Jun 11, 2021

  1. dns: allow --dns-result-order to change default dns verbatim

    Allow the `--dns-result-order` option to change the default value
    of verbatim in `dns.lookup()`. This is useful when running
    Node.js in ipv6-only environments to avoid possible ENETUNREACH
    errors.
    
    PR-URL: #38099
    Refs: #31566
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    oyyd authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    a71df76 View commit details
    Browse the repository at this point in the history
  2. worker: do not look up context twice in PostMessage

    Refs: #38780 (comment)
    
    PR-URL: #38784
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f959cb3 View commit details
    Browse the repository at this point in the history
  3. tools: update gyp-next to v0.9.1

    PR-URL: #38867
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ujjwal Sharma <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    gengjiawen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7d35fa7 View commit details
    Browse the repository at this point in the history
  4. src: add not-weak DCHECK to PersistentToLocal::Strong

    Refs: #38821 (comment)
    
    PR-URL: #38875
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    addaleax authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    db4b192 View commit details
    Browse the repository at this point in the history
  5. crypto: add missing rand.h include

    PR-URL: #38864
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    82c2939 View commit details
    Browse the repository at this point in the history
  6. doc: fix .mjs syntax in crypto.md

    Co-authored-by: Antoine du Hamel <[email protected]>
    
    PR-URL: #38882
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    himself65 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    17a9846 View commit details
    Browse the repository at this point in the history
  7. tools,doc: forbid CJS globals in ESM code snippets

    PR-URL: #38889
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Danielle Adams <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    00c20e6 View commit details
    Browse the repository at this point in the history
  8. build: dont-land gyp-next PRs on LTS branches

    gyp-next doesn't support Python 3 anymore so we can't backport its
    updates.
    
    PR-URL: #38887
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7de57d4 View commit details
    Browse the repository at this point in the history
  9. doc: mark Node.js v15.x as EOL

    Today is 2021-06-01, which is the date v15.x release line is marked as
    End-of-Life.
    
    Refs: https://github.com/nodejs/Release/blob/main/schedule.json
    
    PR-URL: #38891
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Nitzan Uziely <[email protected]>
    aduh95 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    3481b02 View commit details
    Browse the repository at this point in the history
  10. doc: clarify when readable._read(...) is called

    Fixes: #38586
    
    PR-URL: #38726
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    sploders101 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f6964dc View commit details
    Browse the repository at this point in the history
  11. tools: bump remark-preset-lint-node to 2.3.0

    PR-URL: #38910
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0706565 View commit details
    Browse the repository at this point in the history
  12. child_process: allow options.cwd receive a URL

    PR-URL: #38862
    Fixes: #38861
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    XadillaX authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    69fa9e1 View commit details
    Browse the repository at this point in the history
  13. tls: tweak clientCertEngine argument parsing

    PR-URL: #38900
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    379b5f7 View commit details
    Browse the repository at this point in the history
  14. build: fast-track npm PRs and dont-land them on LTS

    PR-URL: #38885
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Ruy Adorno <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5203c9c View commit details
    Browse the repository at this point in the history
  15. async_hooks: stabilize part of AsyncLocalStorage

    Mark AsyncLocalStorage constructor,
    AsyncLocalStorage.prototype.getStore(),
    and AsyncLocalStorage.prototype.run as
    stable.
    
    PR-URL: #37675
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    vdeturckheim authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    8115e6e View commit details
    Browse the repository at this point in the history
  16. node-api: rtn pending excep on napi_new_instance

    When there are any JavaScript exceptions pending,
    `napi_pending_exception` should be returned.
    
    PR-URL: #38798
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    legendecas authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    74f5e30 View commit details
    Browse the repository at this point in the history
  17. async_hooks: switch between native and context hooks correctly

    🤦 Might help if I remember to disable the _other_ promise
    hook implementation when switching between them...
    
    Fixes #38814
    Fixes #38815
    Refs #36394
    
    PR-URL: #38912
    Reviewed-By: Vladimir de Turckheim <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Stephen Belanger authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    03e75fd View commit details
    Browse the repository at this point in the history
  18. crypto: use EVP_get_cipherbynid directly

    PR-URL: #38901
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6e93c17 View commit details
    Browse the repository at this point in the history
  19. crypto: fix label cast in EVP_PKEY_CTX_set0_rsa_oaep_label

    PR-URL: #38926
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    6d5dc63 View commit details
    Browse the repository at this point in the history
  20. src: make InitializeOncePerProcess more flexible

    PR-URL: #38888
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    06afb8d View commit details
    Browse the repository at this point in the history
  21. build: correct Xcode spelling in .gitignore

    PR-URL: #38895
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bl-ue authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    651c58b View commit details
    Browse the repository at this point in the history
  22. child_process: refactor to use validateBoolean

    PR-URL: #38927
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Ayase-252 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e87cd45 View commit details
    Browse the repository at this point in the history
  23. vm: use missing validator

    The `vm` lib module's `isContext()` function should use a validator.
    
    PR-URL: #38935
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    VoltrexKeyva authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f40725f View commit details
    Browse the repository at this point in the history
  24. 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
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0f65e41 View commit details
    Browse the repository at this point in the history
  25. src: skip test_fatal/test_threads for Debug builds

    Currently test/node-api/test_fatal/test_threads.js fails for a Debug
    build with the following error:
     1: 0x101e3f8 node::DumpBacktrace(_IO_FILE*) [/node/out/Debug/node]
     2: 0x11c31ed  [/node/out/Debug/node]
     3: 0x11c320d  [/node/out/Debug/node]
     4: 0x2ba4448 V8_Fatal(char const*, int, char const*, ...) [/node/out/Debug/node]
     5: 0x2ba4473  [/node/out/Debug/node]
     6: 0x139e049 v8::internal::Isolate::Current() [/node/out/Debug/node]
     7: 0x11025ee node::OnFatalError(char const*, char const*) [/node/out/Debug/node]
     8: 0x1102564 node::FatalError(char const*, char const*) [/node/out/Debug/node]
     9: 0x10add1d napi_open_callback_scope [/node/out/Debug/node]
    10: 0x7f05664211dc  [/node/test/node-api/test_fatal/build/Debug/test_fatal.node]
    11: 0x7f056608e4e2  [/usr/lib64/libpthread.so.0]
    12: 0x7f0565fbd6c3 clone [/usr/lib64/libc.so.6]
    
    node:assert:412
        throw err;
        ^
    
    AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
    
      assert.ok(p.status === 134 || p.signal === 'SIGABRT')
    
        at Object.<anonymous> (/node/test/node-api/test_fatal/test_threads.js:21:8)
        at Module._compile (node:internal/modules/cjs/loader:1109:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
        at Module.load (node:internal/modules/cjs/loader:989:32)
        at Function.Module._load (node:internal/modules/cjs/loader:829:14)
        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
        at node:internal/main/run_main_module:17:47 {
      generatedMessage: true,
      code: 'ERR_ASSERTION',
      actual: false,
      expected: true,
      operator: '=='
    }
    
    This is caused by a call to Isolate::GetCurrent() when the calling
    thread has not initialized V8. We are working suggestion to add a method
    to V8 which allows a check/get without any checks but in the mean time
    this change should allow debug builds to pass the test suit.
    
    PR-URL: #38805
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/2910630
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9ba5518 View commit details
    Browse the repository at this point in the history
  26. crypto: use compatible version of EVP_CIPHER_name

    PR-URL: #38925
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    codebytere authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1799ea3 View commit details
    Browse the repository at this point in the history
  27. src,test: raise error for --enable-fips when no FIPS

    This commit moves the check for FIPS from the crypto module
    initialization to process startup.
    
    The motivation for this is that when OpenSSL is not FIPS enabled and the
    command line options --enable-fips, or --force-fips are used, there will
    only be an error raised if the crypto module is used. This can be
    surprising and we have gotten feedback that users assumed that there
    would be an error if these options were specified and FIPS is not
    available.
    
    PR-URL: #38859
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    danbev authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    08b2a4a View commit details
    Browse the repository at this point in the history
  28. 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 <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5b5e07a View commit details
    Browse the repository at this point in the history
  29. 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 <[email protected]>
    
    PR-URL: #38899
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mhdawson authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ec3e5b4 View commit details
    Browse the repository at this point in the history
  30. Revert "http: make HEAD method to work with keep-alive"

    This reverts commit 7afa533.
    
    The change breaks clients like cURL.
    
    Fixes: #38922
    
    PR-URL: #38949
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    336571f View commit details
    Browse the repository at this point in the history
  31. deps: upgrade npm to 7.16.0

    PR-URL: #38920
    Reviewed-By: Ruy Adorno <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    npm-robot authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    70af146 View commit details
    Browse the repository at this point in the history
  32. 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 <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    danbev authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1f10e84 View commit details
    Browse the repository at this point in the history
  33. 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 <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    richardlau authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e939e24 View commit details
    Browse the repository at this point in the history
  34. doc: mark util.inherits as legacy

    PR-URL: #38896
    Refs: #38893
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    VoltrexKeyva authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7a7c058 View commit details
    Browse the repository at this point in the history
  35. debugger: remove unnecessary boilerplate copyright comment

    PR-URL: #38952
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    711916a View commit details
    Browse the repository at this point in the history
  36. tools: refactor snapshot builder

    This patch:
    
    - Moves the snapshot building code to src/ so that we can reuse it
      later when generating custom snapshots from an entry point accepted
      by the node binary.
    - Create a SnapshotData struct that incorporates all the data useful
      for a snapshot blob, including both the V8 data and the Node.js
      data.
    
    PR-URL: #38902
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    9bf9ddb View commit details
    Browse the repository at this point in the history
  37. url,src: simplify ipv6 logic by using uv_inet_pton

    PR-URL: #38842
    Reviewed-By: Anna Henningsen <[email protected]>
    XadillaX authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    99161b0 View commit details
    Browse the repository at this point in the history
  38. 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 <[email protected]>
    joyeecheung authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    ff8313c View commit details
    Browse the repository at this point in the history
  39. tools: update ESLint to 7.28.0

    PR-URL: #38955
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    lpinca authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    be5101e View commit details
    Browse the repository at this point in the history
  40. 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 <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    mmarchini authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    173292b View commit details
    Browse the repository at this point in the history
  41. doc: update write callback documentation

    - replace _*may or may not* be called_ with _will be called_ because the
      callback is always called
    - remove _To reliably detect write errors, add a listener for the
      `'error'` event_ because the `error` event will NOT be emitted if a
      write occurs after the stream has been closed
    
    PR-URL: #38959
    Fixes: #38704
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    simoneb authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    0bdeeda View commit details
    Browse the repository at this point in the history
  42. doc: add missing semis after classes

    Signed-off-by: Darshan Sen <[email protected]>
    
    PR-URL: #38931
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    RaisinTen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    f903ad8 View commit details
    Browse the repository at this point in the history
  43. test: http outgoing _headers setter null

    Co-authored-by: Qingyu Deng <[email protected]>
    
    PR-URL: #38881
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    ycjcl868 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    e82111f View commit details
    Browse the repository at this point in the history
  44. doc: fixed typo in process.md

    Replaced params in writeFileSync function in proper way.
    
    PR-URL: #38941
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    maks-der authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    5218fe8 View commit details
    Browse the repository at this point in the history
  45. doc: use await in filehandle.truncate() snippet

    The example snippet of filehandle.close() uses the `await` keyword
    based on convention. This change updates the example snippet of
    filehandle.truncate() to similarly use the keyword for the purposes of
    consistency.
    
    PR-URL: #38939
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    RA80533 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    405b50c View commit details
    Browse the repository at this point in the history
  46. test: improve coverage of lib/events.js

    PR-URL: #38582
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    pd4d10 authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    81bbeab View commit details
    Browse the repository at this point in the history
  47. doc: fix markup for aesImportParams

    PR-URL: #38898
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    tniessen authored and targos committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7b21999 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2021

  1. tools: fix typo in commit-queue.sh

    PR-URL: #39000
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bl-ue authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    f817c2d View commit details
    Browse the repository at this point in the history
  2. doc: clarify that only one Python version is required to build

    PR-URL: #38894
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    bl-ue authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    a19170e View commit details
    Browse the repository at this point in the history
  3. tools: avoid crashing CQ when git push fails

    PR-URL: #36861
    Reviewed-By: Mary Marchini <[email protected]>
    aduh95 authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    0c90fd8 View commit details
    Browse the repository at this point in the history
  4. doc,fs: remove experimental status for WHATWG URL as path

    PR-URL: #38870
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    aduh95 authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    8c7b2ba View commit details
    Browse the repository at this point in the history
  5. node-api: avoid crashing on passed-in null string

    When `napi_create_string_*` receives a null pointer as its second
    argument, it must null-check it before passing it into V8, otherwise a
    crash will occur.
    
    Signed-off-by: Gabriel Schulhof <[email protected]>
    PR-URL: #38923
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    gabrielschulhof authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    f7724ab View commit details
    Browse the repository at this point in the history
  6. 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 <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    richardlau authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    c0d236f View commit details
    Browse the repository at this point in the history
  7. lib: refactor debuglog init

    PR-URL: #38838
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    aduh95 authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    637c1fa View commit details
    Browse the repository at this point in the history
  8. doc: add missing changelog links

    Refs: #38507
    Refs: #38874
    
    PR-URL: #39016
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    aduh95 authored and danielleadams committed Jun 13, 2021
    Configuration menu
    Copy the full SHA
    51561f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2021

  1. 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 <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and danielleadams committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    f652284 View commit details
    Browse the repository at this point in the history
  2. module: fix legacy node specifier resolution to resolve "main" field

    PR-URL: #38979
    Fixes: #32103
    Fixes: #38739
    Reviewed-By: Bradley Farias <[email protected]>
    Reviewed-By: Guy Bedford <[email protected]>
    aduh95 authored and danielleadams committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    92ed1c6 View commit details
    Browse the repository at this point in the history
  3. doc: clearify that http does chunked encoding itself

    Co-authored-by: Antoine du Hamel <[email protected]>
    
    PR-URL: #28379
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    micromaomao authored and danielleadams committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    ed91379 View commit details
    Browse the repository at this point in the history
  4. deps: update V8 to 9.1.269.36

    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    e82ef41 View commit details
    Browse the repository at this point in the history
  5. build: reset embedder string to "-node.0"

    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    1853127 View commit details
    Browse the repository at this point in the history
  6. deps: V8: un-cherry-pick bd019bd

    Original commit message:
    
        [testrunner] delete ancient junit compatible format support
    
        Testrunner has ancient support for JUnit compatible XML output.
    
        This CL removes this old feature.
    
        [email protected],[email protected],[email protected]
        CC=​[email protected]
    
        Bug: v8:8728
        Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0
        Reviewed-on: https://chromium-review.googlesource.com/c/1430065
        Reviewed-by: Jakob Gruber <[email protected]>
        Reviewed-by: Michael Starzinger <[email protected]>
        Commit-Queue: Tamer Tas <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#59045}
    
    Refs: v8/v8@bd019bd
    
    PR-URL: #32116
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    refack authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    7c61c6e View commit details
    Browse the repository at this point in the history
  7. deps: V8: patch register-arm64.h

    Fixes a compilation issue on some platforms
    
    PR-URL: #32116
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    refack authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    4ef37c8 View commit details
    Browse the repository at this point in the history
  8. deps: V8: forward declaration of Rtl*FunctionTable

    This should be semver-patch since actual invocation is version
    conditional.
    
    PR-URL: #32116
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    refack authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    8ed2583 View commit details
    Browse the repository at this point in the history
  9. deps: make v8.h compatible with VS2015

    There is a bug in the most recent version of VS2015 that affects v8.h
    and therefore prevents compilation of addons.
    
    Refs: https://stackoverflow.com/q/38378693
    
    PR-URL: #32116
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    joaocgreis authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    3c9a755 View commit details
    Browse the repository at this point in the history
  10. deps: fix V8 build issue with inline methods

    PR-URL: #35415
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    gengjiawen authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    1a7c8a1 View commit details
    Browse the repository at this point in the history
  11. deps: V8: backport aaacffa1e003

    Original commit message:
    
        PPC: skip all Simd tests on PPC
    
        As of https://crrev.com/c/2629465, Simd tests cannot pass on
        architectures without Simd support. Tests will need to be re-enabled
        once Simd support is fully implemented on PPC.
    
        Change-Id: I963639f1afa0c0ca7be3ca4b2fc06e874235b903
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2693056
        Reviewed-by: Zhi An Ng <[email protected]>
        Reviewed-by: Deepti Gandluri <[email protected]>
        Commit-Queue: Milad Fa <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#72788}
    
    Refs: v8/v8@aaacffa
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    eac377b View commit details
    Browse the repository at this point in the history
  12. deps: silence irrelevant V8 warnings

    PR-URL: #37587
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    bf7aa9f View commit details
    Browse the repository at this point in the history
  13. deps: V8: cherry-pick d59db06bf542

    Original commit message:
    
        [weakrefs] Remove --no-harmony-weak-refs flag
    
        Bug: v8:8179
        Change-Id: I7f699073807d1874d0c10a4f1641de6bfb0efe6f
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2741582
        Commit-Queue: Shu-yu Guo <[email protected]>
        Reviewed-by: Shu-yu Guo <[email protected]>
        Reviewed-by: Adam Klein <[email protected]>
        Reviewed-by: Sathya Gunasekaran  <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#73871}
    
    Refs: v8/v8@d59db06
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    7197fce View commit details
    Browse the repository at this point in the history
  14. deps: V8: cherry-pick c0fceaa0669b

    Original commit message:
    
        Reland "[api] JSFunction PromiseHook for v8::Context"
    
        This is a reland of d5457f5fb7ea05ca05a697599ffa50d35c1ae3c7
        after a speculative revert.
    
        Additionally it fixes an issue with throwing promise hooks.
    
        Original change's description:
        > [api] JSFunction PromiseHook for v8::Context
        >
        > This will enable Node.js to get much better performance from async_hooks
        > as currently PromiseHook delegates to C++ for the hook function and then
        > Node.js delegates it right back to JavaScript, introducing several
        > unnecessary barrier hops in code that gets called very, very frequently
        > in modern, promise-heavy applications.
        >
        > This API mirrors the form of the original C++ function based PromiseHook
        > API, however it is intentionally separate to allow it to use JSFunctions
        > triggered within generated code to, as much as possible, avoid entering
        > runtime functions entirely.
        >
        > Because PromiseHook has internal use also, beyond just the Node.js use,
        > I have opted to leave the existing API intact and keep this separate to
        > avoid conflicting with any possible behaviour expectations of other API
        > users.
        >
        > The design ideas for this new API stemmed from discussion with some V8
        > team members at a previous Node.js Diagnostics Summit hosted by Google
        > in Munich, and the relevant documentation of the discussion can be found
        > here: https://docs.google.com/document/d/1g8OrG5lMIUhRn1zbkutgY83MiTSMx-0NHDs8Bf-nXxM/edit#heading=h.w1bavzz80l1e
        >
        > A summary of the reasons for why this new design is important can be
        > found here: https://docs.google.com/document/d/1vtgoT4_kjgOr-Bl605HR2T6_SC-C8uWzYaOPDK5pmRo/edit?usp=sharing
        >
        > Bug: v8:11025
        > Change-Id: I0b403b00c37d3020b5af07b654b860659d3a7697
        > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2759188
        > Reviewed-by: Marja Hölttä <[email protected]>
        > Reviewed-by: Camillo Bruni <[email protected]>
        > Reviewed-by: Anton Bikineev <[email protected]>
        > Reviewed-by: Igor Sheludko <[email protected]>
        > Commit-Queue: Camillo Bruni <[email protected]>
        > Cr-Commit-Position: refs/heads/master@{#73858}
    
        Bug: v8:11025
        Bug: chromium:1197475
        Change-Id: I73a71e97d9c3dff89a2b092c3fe4adff81ede8ef
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2823917
        Reviewed-by: Marja Hölttä <[email protected]>
        Reviewed-by: Igor Sheludko <[email protected]>
        Reviewed-by: Anton Bikineev <[email protected]>
        Reviewed-by: Camillo Bruni <[email protected]>
        Commit-Queue: Camillo Bruni <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#74071}
    
    Refs: v8/v8@c0fceaa
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    f56c785 View commit details
    Browse the repository at this point in the history
  15. deps: V8: cherry-pick 272445f10927

    Original commit message:
    
        [runtime] Fix promise hooks
    
        promiseCapability can be undefined.
    
        Bug: v8:11025
        Bug: chromium:1201113
        Change-Id: I9da8764820cee0db1f0c38ed2fff0e3afeb9a80e
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2844649
        Reviewed-by: Marja Hölttä <[email protected]>
        Commit-Queue: Camillo Bruni <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#74117}
    
    Refs: v8/v8@272445f
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    3433559 View commit details
    Browse the repository at this point in the history
  16. deps: V8: cherry-pick 5f4413194480

    Original commit message:
    
        [promises] Change context promise hooks to Callable
    
        The previously added perf-context Promise-hooks take a v8::Function as
        arguments. However, the builtin code was only accepting JSFunctions
        which causes cast errors.
    
        Drive-by-fix: Directly pass nativeContext in more places.
    
        Bug: chromium:1201465
        Change-Id: Ic8bed11253a1f18a84e71eb9ea809b1ec1c3f428
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2850162
        Reviewed-by: Jakob Gruber <[email protected]>
        Commit-Queue: Camillo Bruni <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#74223}
    
    Refs: v8/v8@5f44131
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    3c37396 View commit details
    Browse the repository at this point in the history
  17. deps: V8: cherry-pick 4c074516397b

    Original commit message:
    
        [promises] Fix slow path when context promise hooks are present
    
        Bug: chromium:1201936
        Change-Id: I1ee545e33587ddf4a5c7e1cbd64b53d36c75a146
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2850936
        Reviewed-by: Marja Hölttä <[email protected]>
        Reviewed-by: Jakob Gruber <[email protected]>
        Commit-Queue: Camillo Bruni <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#74267}
    
    Refs: v8/v8@4c07451
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    3c6c28b View commit details
    Browse the repository at this point in the history
  18. deps: V8: cherry-pick fa4cb172cde2

    Original commit message:
    
        [runtime] Fix Promise.all context promise hooks
    
        We have to take the slow path in Promise.all if context promise hooks
        are set. The fast-path doesn't create intermediate promises by default.
    
        Bug: chromium:1204132, v8:11025
        Change-Id: Ide92de00a4f6df05e0ddbc8814f6673bd667f426
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2866771
        Reviewed-by: Victor Gomes <[email protected]>
        Commit-Queue: Camillo Bruni <[email protected]>
        Cr-Commit-Position: refs/heads/master@{#74326}
    
    Refs: v8/v8@fa4cb17
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    c93f357 View commit details
    Browse the repository at this point in the history
  19. tools: update V8 gypfiles for 9.1

    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    2a292cf View commit details
    Browse the repository at this point in the history
  20. test: fix V8 serdes test for V8 9.1

    Refs: v8/v8@40e499c
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    32961c4 View commit details
    Browse the repository at this point in the history
  21. test: adapt test-linux-perf to V8 changes

    Refs: v8/v8@9a31804
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    1816d46 View commit details
    Browse the repository at this point in the history
  22. test: adapt abort tests for new Windows code

    V8 9.1 changed the way it aborts on uncaught exceptions on Windows.
    It now uses the code 0x80000003 (exception breakpoint) instead of
    0xC0000005 (access violation).
    
    Refs: v8/v8@26d85ac
    
    PR-URL: #38273
    Backport-PR-URL: #38991
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    6111671 View commit details
    Browse the repository at this point in the history
  23. deps: make V8 9.1 abi-compatible with 9.0

    Revert "[api] Avoid handles for const API functions"
    
    This reverts commit aee471b2ff5b1a9e622426454885b748d226535b.
    
    Revert "[api] Remove deprecated [Shared]ArrayBuffer API"
    
    This reverts commit 578f6be77fc5d8af975005c2baf918e7225abb62.
    
    Revert "[Jobs]: Cleanup in v8 platform."
    
    This reverts commit baf2b088dd9f585aa597459f30d71431171666e2.
    
    Revert "Skip global registration of [Shared]ArrayBuffer backing stores"
    
    This reverts commit fcdf35e6d70d51699ece063e25dc705e80673308.
    
    PR-URL: #38991
    Reviewed-By: Anna Henningsen <[email protected]>
    targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    864fe99 View commit details
    Browse the repository at this point in the history
  24. lib: make primordials Promise methods safe

    `catch` and `finally` methods on %Promise.prototype% looks up the `then`
    property of the instance, making it at risk of prototype pollution.
    
    PR-URL: #38650
    Backport-PR-URL: #38878
    Refs: https://tc39.es/ecma262/#sec-promise.prototype.catch
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    aduh95 authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    ded8335 View commit details
    Browse the repository at this point in the history
  25. src: fix multiple AddLinkedBinding() calls

    Singly-linked lists are extended at their tail, not their head.
    This fixes using more than 2 linked addons at a time.
    
    PR-URL: #39012
    Reviewed-By: Shelley Vohr <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    addaleax authored and targos committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    10370c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2021

  1. net: use missing validator

    The `net` lib module's `lookupAndConnect()` function is missing
    a validator.
    
    PR-URL: #38984
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Zeyu Yang <[email protected]>
    VoltrexKeyva authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    4174f13 View commit details
    Browse the repository at this point in the history
  2. report: generates report on threads with no isolates

    PR-URL: #38994
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    legendecas authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    4c6193f View commit details
    Browse the repository at this point in the history
  3. stream: fix pipeline pump

    Refs: #39005
    
    PR-URL: #39006
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    ronag authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    c20e28e View commit details
    Browse the repository at this point in the history
  4. 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 <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    VoltrexKeyva authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    858f66e View commit details
    Browse the repository at this point in the history
  5. src: refactor to use locale functions

    This makes the code more readable.
    
    Signed-off-by: Darshan Sen <[email protected]>
    
    PR-URL: #39014
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    RaisinTen authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    902bb85 View commit details
    Browse the repository at this point in the history
  6. 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 <[email protected]>
    
    PR-URL: #38966
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anto Aravinth <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    targos authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    a1d0aef View commit details
    Browse the repository at this point in the history
  7. test: fix typo in test-http2-invalidheaderfield.js

    Psuedo -> Pseudo
    
    PR-URL: #39021
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    eltociear authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    d50df5d View commit details
    Browse the repository at this point in the history
  8. deps: upgrade npm to 7.17.0

    PR-URL: #38999
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    npm-robot authored and danielleadams committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    c6aa685 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. crypto: fix aes crash when tag length too small

    Fixes: #38883
    
    PR-URL: #38914
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    XadillaX authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    cf9d686 View commit details
    Browse the repository at this point in the history
  2. 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 <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    7f225a0 View commit details
    Browse the repository at this point in the history
  3. errors: add ERR_DEBUGGER_ERROR

    PR-URL: #39024
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    631856e View commit details
    Browse the repository at this point in the history
  4. debugger: use ERR_DEBUGGER_ERROR in debugger client

    PR-URL: #39024
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    dc92181 View commit details
    Browse the repository at this point in the history
  5. debugger: use error codes in debugger REPL

    PR-URL: #39024
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    b43cb69 View commit details
    Browse the repository at this point in the history
  6. errors: add ERR_DEBUGGER_STARTUP_ERROR

    PR-URL: #39024
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    3d7892e View commit details
    Browse the repository at this point in the history
  7. debugger: use ERR_DEBUGGER_STARTUP_ERROR in _inspect.js

    PR-URL: #39024
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jan Krems <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    1e8bdab View commit details
    Browse the repository at this point in the history
  8. test: fix typo

    PR-URL: #39045
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    houssemchebeb authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    bd92461 View commit details
    Browse the repository at this point in the history
  9. tools: fix typo

    compability -> compatibility
    
    PR-URL: #39044
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    houssemchebeb authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    3ae2a0b View commit details
    Browse the repository at this point in the history
  10. doc: fix typos

    PR-URL: #39049
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    bl-ue authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    1afff98 View commit details
    Browse the repository at this point in the history
  11. test: fix name of variable in inspector-cli test

    PR-URL: #38869
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Darshan Sen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    tniessen authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    5e9175f View commit details
    Browse the repository at this point in the history
  12. src: cleanup uv_fs_t regardless of success or not

    PR-URL: #38996
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    legendecas authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    284d9c6 View commit details
    Browse the repository at this point in the history
  13. 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 <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    XadillaX authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    5d92c09 View commit details
    Browse the repository at this point in the history
  14. doc: remove references to deleted freenode channels

    PR-URL: #39047
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Mary Marchini <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    devsnek authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    dce256b View commit details
    Browse the repository at this point in the history
  15. lib: add JSDoc typings for child_process

    Added JSDoc typings for the `child_process` lib module.
    
    PR-URL: #38222
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    VoltrexKeyva authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    5514305 View commit details
    Browse the repository at this point in the history
  16. test: improve buffer coverage

    PR-URL: #38538
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Khaidi Chu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    pd4d10 authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    a53911b View commit details
    Browse the repository at this point in the history
  17. deps: upgrade npm to 7.18.1

    PR-URL: #39065
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ruy Adorno <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    npm-robot authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    1fa724e View commit details
    Browse the repository at this point in the history
  18. 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 <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    7b026d8 View commit details
    Browse the repository at this point in the history
  19. 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 <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    e4f802d View commit details
    Browse the repository at this point in the history
  20. 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 <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    joyeecheung authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    2aaf2f2 View commit details
    Browse the repository at this point in the history
  21. bootstrap: split NodeMainInstance::Run()

    Split the running of the instance so that it can be reused
    by the snapshot builder when we need to run the loop for
    user code.
    
    PR-URL: #39007
    Refs: #35711
    Refs: #38905
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    joyeecheung authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    9d100aa View commit details
    Browse the repository at this point in the history
  22. bootstrap: move event loop handle checking into snapshot builder

    This is only necessary for the snapshot builder (because we
    have no way to resurrect the handles at the moment). In addition,
    print the handles if the debug flag is set or if the queues
    are not empty after snapshot is created.
    
    PR-URL: #39007
    Refs: #35711
    Refs: #38905
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    joyeecheung authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    5f51729 View commit details
    Browse the repository at this point in the history
  23. 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 <[email protected]>
    Reviewed-By: Zijian Liu <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    joyeecheung authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    f17dde8 View commit details
    Browse the repository at this point in the history
  24. tools: update ESLint to 7.29.0

    PR-URL: #39083
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    fed6411 View commit details
    Browse the repository at this point in the history
  25. src: allow to negate boolean CLI flags

    This change allows all boolean flags to be negated using the `--no-`
    prefix.
    Flags that are `true` by default (for example `--deprecation`) are
    still documented as negations.
    With this change, it becomes possible to easily flip the default
    value of a boolean flag and to override the value of a flag passed
    in the NODE_OPTIONS environment variable.
    `process.allowedNodeEnvironmentFlags` contains both the negated and
    non-negated versions of boolean flags.
    
    Co-authored-by: Anna Henningsen <[email protected]>
    
    PR-URL: #39023
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    targos authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    3c7a7d9 View commit details
    Browse the repository at this point in the history
  26. 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 <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    c2b4fbb View commit details
    Browse the repository at this point in the history
  27. tools: update babel-eslint-parser to 7.14.5

    PR-URL: #39094
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Trott authored and danielleadams committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    78d2e0e View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. async_hooks: check for empty contexts before removing

    This way we don't end up attempting to SetPromiseHooks on contexts that
    have already been collected.
    
    Fixes: #39019
    
    PR-URL: #39095
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Andrey Pechkurov <[email protected]>
    Reviewed-By: Danielle Adams <[email protected]>
    bengl authored and danielleadams committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    d2b972e View commit details
    Browse the repository at this point in the history
  2. 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 <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    bcoe authored and danielleadams committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    eddde6c View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. 2021-06-23, Version 16.4.0 (Current)

    Notable changes:
    
    * async_hooks:
      * stabilize part of AsyncLocalStorage (Vladimir de Turckheim) #37675
    * deps:
      * upgrade npm to 7.18.1 (npm-robot) #39065
      * update V8 to 9.1.269.36 (Michaël Zasso) #38273
    * dns:
      * allow `--dns-result-order` to change default dns verbatim (Ouyang Yadong) #38099
    
    PR-URL: #39031
    danielleadams committed Jun 23, 2021
    Configuration menu
    Copy the full SHA
    4b2085f View commit details
    Browse the repository at this point in the history