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

v21.6.0 proposal #51342

Merged
merged 112 commits into from
Jan 15, 2024
Merged

v21.6.0 proposal #51342

merged 112 commits into from
Jan 15, 2024

Commits on Jan 2, 2024

  1. src: support configurable snapshot

    - Add support for --build-snapshot-config which allows passing
      snapshot configurations via a JSON configuration file.
    - Add support for node::SnapshotConfig in the embedder API
    
    The initial configurable options are:
    
    - "builder" (SnapshotConfig::builder_script_path): path to the
      builder script.
    - "withoutCodeCache" (SnapshotFlags::kWithoutCodeCache): disable
      code cache generation.
    
    PR-URL: #50453
    Refs: #42566
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    joyeecheung authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e54ddf8 View commit details
    Browse the repository at this point in the history
  2. doc: add documentation for --build-snapshot-config

    PR-URL: #50453
    Refs: #42566
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    addaleax authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    efa13e1 View commit details
    Browse the repository at this point in the history
  3. deps: update zlib to 1.3.0.1-motley-dd5fc13

    PR-URL: #51105
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e2f8d74 View commit details
    Browse the repository at this point in the history
  4. doc: fix simdjson wrong link

    PR-URL: #51177
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    marco-ippolito authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    2c227b0 View commit details
    Browse the repository at this point in the history
  5. watch: fix infinite loop when passing --watch=true flag

    PR-URL: #51160
    Fixes: #51159
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    pulkit-30 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    3f4fd6e View commit details
    Browse the repository at this point in the history
  6. crypto: update CryptoKey symbol properties

    PR-URL: #50897
    Reviewed-By: Antoine du Hamel <[email protected]>
    panva authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e5017a5 View commit details
    Browse the repository at this point in the history
  7. assert,crypto: make KeyObject and CryptoKey testable for equality

    PR-URL: #50897
    Reviewed-By: Antoine du Hamel <[email protected]>
    panva authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    13a1241 View commit details
    Browse the repository at this point in the history
  8. test_runner: fixed to run after hook if before throws an error

    PR-URL: #51062
    Refs: #50842
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Raz Luvaton <[email protected]>
    pulkit-30 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    63db82a View commit details
    Browse the repository at this point in the history
  9. http2: addtl http/2 settings

    Currently, node.js http/2 is limited in sending SETTINGs,
    that are currently implemented by nghttp2.
    However, nghttp2 has the ability to send arbitary SETTINGs,
    that are not known beforehand.
    This patch adds this feature including a fall back mechanism,
    if a SETTING is implemented in a later nghttp2 or node version.
    
    Fixes: #1337
    PR-URL: #49025
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    martenrichter authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    89eee77 View commit details
    Browse the repository at this point in the history
  10. doc: fix TestsStream parent class

    PR-URL: #51181
    Fixes: #51174
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Chemi Atlow <[email protected]>
    Jungku Lee authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    1c71435 View commit details
    Browse the repository at this point in the history
  11. doc: correct note on behavior of stats.isDirectory

    PR-URL: #50946
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    NReilingh authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e636d83 View commit details
    Browse the repository at this point in the history
  12. fs: validate fd synchronously on c++

    PR-URL: #51027
    Reviewed-By: Matteo Collina <[email protected]>
    anonrig authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    5b229d7 View commit details
    Browse the repository at this point in the history
  13. doc: mention native addons are restricted in pm

    PR-URL: #51185
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    df8927a View commit details
    Browse the repository at this point in the history
  14. tools: update eslint to 8.56.0

    PR-URL: #51194
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c96ef65 View commit details
    Browse the repository at this point in the history
  15. node-api: segregate nogc APIs from rest via type system

    We define a new type called `node_api_nogc_env` as the `const` version
    of `napi_env` and `node_api_nogc_finalize` as a variant of
    `napi_finalize` that accepts a `node_api_nogc_env` as its first
    argument.
    
    We then modify those APIs which do not affect GC state as accepting a
    `node_api_nogc_env`. APIs accepting finalizer callbacks are modified to
    accept `node_api_nogc_finalize` callbacks. Thus, the only way to attach
    a `napi_finalize` callback, wherein Node-APIs affecting GC state may be
    called is to call `node_api_post_finalizer` from a
    `node_api_nogc_finalize` callback.
    
    In keeping with the process of introducing new Node-APIs, this feature
    is guarded by `NAPI_EXPERIMENTAL`. Since this feature modifies APIs
    already marked as stable, it is additionally guared by
    `NODE_API_EXPERIMENTAL_NOGC_ENV`, so as to provide a further buffer to
    adoption. Nevertheless, both guards must be removed upon releasing a
    new version of Node-API.
    
    PR-URL: #50060
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Vladimir Morozov <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    gabrielschulhof authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    b2135ae View commit details
    Browse the repository at this point in the history
  16. http: do not override user-provided options object

    PR-URL: #33633
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    KuthorX authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a325746 View commit details
    Browse the repository at this point in the history
  17. doc: remove version from maintaining-dependencies.md

    Those create unreasonable maintenance burden as updating one dependency
    will conflict with another one. It's unclear we get much value out from
    duplicating this information in this document, so this commit removes it
    
    PR-URL: #51195
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    aduh95 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    f9d4e07 View commit details
    Browse the repository at this point in the history
  18. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51193
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    d0d2faf View commit details
    Browse the repository at this point in the history
  19. deps: update acorn-walk to 8.3.0

    PR-URL: #50457
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    3ecc7dc View commit details
    Browse the repository at this point in the history
  20. deps: update acorn-walk to 8.3.1

    PR-URL: #50457
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    75e5615 View commit details
    Browse the repository at this point in the history
  21. src: implement FastByteLengthUtf8 with simdutf::utf8_length_from_latin1

    PR-URL: #50840
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    lemire authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8a2dd93 View commit details
    Browse the repository at this point in the history
  22. test: fix flakiness in worker*.test-free-called

    The issue arises from the `getFreeCallCount()` function yielding the
    initial value of 0. Upon instantiation of the `Worker` object, it
    increments to 1. In the case of this flaky test, if the creation of the
    `Worker` object is faster, the subsequent `getFreeCallCount()` call
    always returns 1 instead of the expected 0.
    
    Fixes: #51003
    PR-URL: #51013
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    MrJithil authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    d7c2572 View commit details
    Browse the repository at this point in the history
  23. doc: set exit code in custom test runner example

    Signed-off-by: Matteo Collina <[email protected]>
    PR-URL: #51056
    Reviewed-By: Chemi Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mcollina authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    5453abd View commit details
    Browse the repository at this point in the history
  24. fs: improve mkdtemp performance for buffer prefix

    PR-URL: #51078
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    anonrig authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    7421467 View commit details
    Browse the repository at this point in the history
  25. deps: update googletest to 530d5c8

    PR-URL: #51191
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    6d1bfcb View commit details
    Browse the repository at this point in the history
  26. deps: update simdjson to 3.6.3

    PR-URL: #51104
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a07d6e2 View commit details
    Browse the repository at this point in the history
  27. tools: check timezone current version

    PR-URL: #51178
    Refs: #51107
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    marco-ippolito authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    3759491 View commit details
    Browse the repository at this point in the history
  28. test: use tmpdir.refresh() in test-esm-json.mjs

    Use `tmpdir.refresh()` in `test/es-module/test-esm-json.mjs` so that
    the temporary directory is removed when the test exits.
    
    PR-URL: #51205
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    lpinca authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    7e9a0b1 View commit details
    Browse the repository at this point in the history
  29. test: use tmpdir.refresh() in test-esm-loader-resolve-type.mjs

    Use `tmpdir.refresh()` in
    `test/es-module/test-esm-loader-resolve-type.mjs` so that the temporary
    directory is removed when the test exits.
    
    PR-URL: #51206
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    lpinca authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8a2178c View commit details
    Browse the repository at this point in the history
  30. doc: remove ambiguous 'considered'

    PR-URL: #51207
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Trott authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    4b19e62 View commit details
    Browse the repository at this point in the history
  31. net: add connection attempt events

    PR-URL: #51045
    Fixes: #48763
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    ShogunPanda authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e4be5b6 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    83a99cc View commit details
    Browse the repository at this point in the history
  33. doc: mention node:wasi in the Threat Model

    PR-URL: #51211
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c13a5c0 View commit details
    Browse the repository at this point in the history
  34. test: add URL tests to fs-read in pm

    PR-URL: #51213
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    b6f232e View commit details
    Browse the repository at this point in the history
  35. test: replace forEach with for-of in test-v8-serders.js

    PR-URL: #50791
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    iannonoss authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    7e98349 View commit details
    Browse the repository at this point in the history
  36. repl: fix prepareStackTrace frames array order

    The second parameter of `Error.prepareStackTrace` is an array of
    reversed call site frames.
    
    PR-URL: #50827
    Fixes: #50733
    Reviewed-By: Ethan Arrowood <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    legendecas authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    3310095 View commit details
    Browse the repository at this point in the history
  37. lib: expose default prepareStackTrace

    Expose the default prepareStackTrace implementation as
    `Error.prepareStackTrace` so that userland can chain up formatting of
    stack traces with built-in source maps support.
    
    PR-URL: #50827
    Fixes: #50733
    Reviewed-By: Ethan Arrowood <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    legendecas authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    291265c View commit details
    Browse the repository at this point in the history
  38. doc: fix limitations and known issues in pm

    PR-URL: #51184
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    ec6fcff View commit details
    Browse the repository at this point in the history
  39. permission: fix wildcard when children > 1

    PR-URL: #51209
    Fixes: #50659
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8f4325d View commit details
    Browse the repository at this point in the history
  40. lib,permission: handle buffer on fs.symlink

    PR-URL: #51212
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8ff6bc4 View commit details
    Browse the repository at this point in the history
  41. src,permission: add --allow-addon flag

    PR-URL: #51183
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a69c7d7 View commit details
    Browse the repository at this point in the history
  42. deps: V8: cherry-pick de611e69ad51

    Original commit message:
    
        [maglev] fix non-ptr-compr compilation on old compilers
    
        When pointer compression is disabled, the preprocessor expands some
        static asserts to static_assert(false), which doesn't compile on
        compilers not implementing the C++ defect report CWG2518, notably clang
        before version 17 and gcc before version 13.
    
        Adding in part of the template parameter to the static assert prevents
        it from being evaluated immediately which fixes the compilation.
    
        Test: compiled with gcc-11 and clang-14 without pointer compression.
        Change-Id: I95ce29bdb1278e6dad9e592d6f9476395f8aeb59
        Fixed: v8:14355
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5022760
        Reviewed-by: Leszek Swirski <[email protected]>
        Commit-Queue: Leszek Swirski <[email protected]>
        Cr-Commit-Position: refs/heads/main@{#91553}
    
    Refs: v8/v8@de611e6
    PR-URL: #51200
    Refs: #50690
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    kvakil authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    25eba3d View commit details
    Browse the repository at this point in the history
  43. http: remove misleading warning

    There are cases where the `'clientError'` event can be emitted multiple
    times, even if the socket is correctly destroyed.
    
    Fixes: #51073
    PR-URL: #51204
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    lpinca authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c7a1359 View commit details
    Browse the repository at this point in the history
  44. fs: remove internalModuleReadJSON binding

    PR-URL: #51224
    Refs: 45e4f82912
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Matthew Aitken <[email protected]>
    anonrig authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e24249c View commit details
    Browse the repository at this point in the history
  45. fs: add missing jsdoc parameters to readSync

    PR-URL: #51225
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    anonrig authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c87e5d5 View commit details
    Browse the repository at this point in the history
  46. test: replace forEach with for of in test-trace-events-api.js

    PR-URL: #50784
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    andp97 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    9bfd84c View commit details
    Browse the repository at this point in the history
  47. module: move the CJS exports cache to internal/modules/cjs/loader

    This puts it together with the cjsParseCache and reduces the
    circular dependency on the singleton loader, which is the
    only place where this cache is stored.
    
    Drive-by: remove always-false module status check because there's
    no longer a local module variable after
    #34605 which is now invalid
    leftover code at this point and only doesn't throw because
    we happen to have a top-level variable called module.
    
    PR-URL: #51157
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    b621ada View commit details
    Browse the repository at this point in the history
  48. test: replace forEach() with for...of in test/parallel/test-util-log.js

    PR-URL: #50783
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    edodusi authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    f1cb583 View commit details
    Browse the repository at this point in the history
  49. test: replace forEach with for of in file test-trace-events-net.js

    PR-URL: #50789
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Ianna83 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    38232d1 View commit details
    Browse the repository at this point in the history
  50. test: skip test-watch-mode-inspect on arm

    Refs: #49933
    
    - SKIP instead of mark FLAKY as tests seems to fail
      builds through left over processe
    
    Signed-off-by: Michael Dawson <[email protected]>
    PR-URL: #51210
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mhdawson authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    3db376f View commit details
    Browse the repository at this point in the history
  51. doc: run license-builder

    PR-URL: #51199
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    github-actions[bot] authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    876743e View commit details
    Browse the repository at this point in the history
  52. test: move to for of loop in test-http-hostname-typechecking.js

    PR-URL: #50782
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Puppo authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    88e8651 View commit details
    Browse the repository at this point in the history
  53. test: replace forEach with for-of in test-webcrypto-export-import-ec

    PR-URL: #51249
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cricciardi authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    57c6455 View commit details
    Browse the repository at this point in the history
  54. node-api: type tag external values without v8::Private

    v8::External can not have any properties and private properties. Type
    tag v8::External with a wrapper struct without setting a private
    property on the v8::External.
    
    PR-URL: #51149
    Fixes: nodejs/node-v8#273
    Reviewed-By: Vladimir Morozov <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gabriel Schulhof <[email protected]>
    legendecas authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    3a49205 View commit details
    Browse the repository at this point in the history
  55. fs: make offset, position & length args in fh.read() optional

    PR-URL: #51087
    Fixes: #47183
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    pulkit-30 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e5a8fa0 View commit details
    Browse the repository at this point in the history
  56. src: use BignumPointer and use BN_clear_free

    PR-URL: #50454
    Reviewed-By: Joyee Cheung <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    96d64ed View commit details
    Browse the repository at this point in the history
  57. lib: reduce overhead of SafePromiseAllSettledReturnVoid calls

    It was simply calling `SafePromiseAllSettled`, which itself calls
    `arrayToSafePromiseIterable` which wraps all promises into new
    `SafePromise` object and wraps it into a `SafeArrayIterator`. Since we
    don't care about the return value, we can take some shortcuts.
    
    PR-URL: #51243
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    ed7305e View commit details
    Browse the repository at this point in the history
  58. meta: notify tsc on changes in SECURITY.md

    PR-URL: #51259
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    6648a5c View commit details
    Browse the repository at this point in the history
  59. lib: move function declaration outside of loop

    PR-URL: #51242
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    sanjaiyan-dev authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8f845eb View commit details
    Browse the repository at this point in the history
  60. deps: update simdutf to 4.0.8

    PR-URL: #51000
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    efa12a8 View commit details
    Browse the repository at this point in the history
  61. timers: export timers.promises

    PR-URL: #51246
    Fixes: #51237
    Reviewed-By: Raz Luvaton <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Chemi Atlow <[email protected]>
    marco-ippolito authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c31ed51 View commit details
    Browse the repository at this point in the history
  62. doc: mark --jitless as experimental

    It's already documented as such, but it doesn't have the label.
    
    PR-URL: #51247
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Akhil Marsonya <[email protected]>
    aduh95 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8ee882a View commit details
    Browse the repository at this point in the history
  63. lib: fix use of --frozen-intrinsics with --jitless

    PR-URL: #51248
    Fixes: #51232
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    6241429 View commit details
    Browse the repository at this point in the history
  64. src: fix unix abstract socket path for trace event

    PR-URL: #50858
    Reviewed-By: James M Snell <[email protected]>
    theanarkh authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    17c73e6 View commit details
    Browse the repository at this point in the history
  65. errors: fix stacktrace of SystemError

    PR-URL: #49956
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Uzlopak authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    941aedc View commit details
    Browse the repository at this point in the history
  66. test: replace forEach test-http-server-multiheaders2

    PR-URL: #50794
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mmachera authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    aaf710f View commit details
    Browse the repository at this point in the history
  67. doc: improve localWindowSize event descriptions

    The documentation listed the wrong event to subscribe to when calling
    `localWindowSize`. Also properly point out the correct event for http2
    clients.
    
    Fixes: #51014
    Refs: #38426
    PR-URL: #51071
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    DavyLandman authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    8412751 View commit details
    Browse the repository at this point in the history
  68. esm: fix hint on invalid module specifier

    PR-URL: #51223
    Fixes: #51216
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    47548d9 View commit details
    Browse the repository at this point in the history
  69. test_runner: fixed test object is incorrectly passed to setup()

    PR-URL: #50982
    Reviewed-By: Raz Luvaton <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    pulkit-30 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    979cebc View commit details
    Browse the repository at this point in the history
  70. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51276
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    917d887 View commit details
    Browse the repository at this point in the history
  71. build: add -flax-vector-conversions to V8 build

    The flag is on by default in Clang and V8 recently made a change that
    makes it necessary with GCC.
    
    Refs: v8/v8@7fbbf93
    Refs: https:/llvm/llvm-project/blob/54067c5fbe9fc13ab195cdddb8f17e18d72b5fe4/clang/include/clang/Basic/LangOptions.def#L133-L134
    Refs: https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-flax-vector-conversions
    PR-URL: #51257
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    targos authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    cd61fce View commit details
    Browse the repository at this point in the history
  72. stream: fix cloned webstreams not being unref'd

    When cloning a `ReadableStream` and `WritableStream`, both use an
    internal `MessageChannel` to communicate with the original stream.
    Those, however, previously were not unref'd which would lead to the
    process not exiting if the stream was not fully consumed.
    
    Fixes: #44985
    PR-URL: #51255
    Reviewed-By: Matthew Aitken <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e443953 View commit details
    Browse the repository at this point in the history
  73. src: eliminate duplicate code in histogram.cc

    PR-URL: #51263
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    df31c81 View commit details
    Browse the repository at this point in the history
  74. test: fix inconsistency write size in test-fs-readfile-tostring-fail

    PR-URL: #51141
    Refs: #51133
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Deokjin Kim <[email protected]>
    Jungku Lee authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    684dd9d View commit details
    Browse the repository at this point in the history
  75. util: pass invalidSubtypeIndex instead of trimmedSubtype to error

    PR-URL: #51264
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Deokjin Kim <[email protected]>
    gaurishhs authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    f4f781d View commit details
    Browse the repository at this point in the history
  76. src: do not treat all paths ending with node_modules as such

    Fixes: #51245
    PR-URL: #51269
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    targos authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    864ecb0 View commit details
    Browse the repository at this point in the history
  77. src: enter isolate before destructing IsolateData

    MVP fix for a worker_threads crash where ~WorkerThreadData() ->
    ~IsolateData() -> Isolate::DetachCppHeap() kicks off a round of
    garbage collection that expects an entered isolate.
    
    No test because the crash is not reliably reproducable but the bug
    is pretty clearly described in the linked issue and is obvious once
    you see it, IMO.
    
    Fixes: #51129
    PR-URL: #51138
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    bnoordhuis authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    54dd978 View commit details
    Browse the repository at this point in the history
  78. benchmark: remove dependency on unshipped tools

    tools/node_modules is removed from the tarball so it should not be used
    as part of unit tests or benchmarks.
    
    Fixes: #51145
    Refs: #50684
    PR-URL: #51146
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    AdamMajer authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    4dcc511 View commit details
    Browse the repository at this point in the history
  79. deps: update zlib to 1.3.0.1-motley-40e35a7

    PR-URL: #51274
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a41dca0 View commit details
    Browse the repository at this point in the history
  80. stream: fix code style

    PR-URL: #51168
    Reviewed-By: Matteo Collina <[email protected]>
    MattiasBuelens authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    82de660 View commit details
    Browse the repository at this point in the history
  81. quic: add quic internalBinding, refine Endpoint, add types

    PR-URL: #51112
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    5b32e21 View commit details
    Browse the repository at this point in the history
  82. build: fix arm64 cross-compilation

    Commit 938212f added -msign-return-address=all to _all_ cflags but that
    is wrong when cross-compiling, it should only be added to the target's
    cflags.
    
    The flag being deprecated, it is also changed to
    `-mbranch-protection=standard`.
    
    Fixes: #42888
    Co-Authored-By: Michaël Zasso <[email protected]>
    PR-URL: #51256
    Fixes: nodejs/build#3319
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    targos authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e03ac83 View commit details
    Browse the repository at this point in the history
  83. deps: update brotli to 1.1.0

    PR-URL: #50804
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    f00f120 View commit details
    Browse the repository at this point in the history
  84. src: refactor GetCreationContext calls

    PR-URL: #51287
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    anonrig authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    29b8157 View commit details
    Browse the repository at this point in the history
  85. test: replace forEach() with for...of

    Replace `forEach()` with `for...of` in
    `test/parallel/test-assert-typedarray-deepequal.js`.
    
    PR-URL: #50610
    Reviewed-By: Luigi Pinca <[email protected]>
    jialiu54321 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    652af45 View commit details
    Browse the repository at this point in the history
  86. fs: fix fs.promises.realpath for long paths on Windows

    Unlike other fs functions that work with paths, realpath isn't
    using pathModule.toNamespacedPath prior to calling libuv function. This
    is causing issues on windows.
    
    Windows long path test is also improved to cover the mentioned issue.
    
    Fixes: #51031
    PR-URL: #51032
    Reviewed-By: LiviaMedeiros <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    sapphi-red authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    091098f View commit details
    Browse the repository at this point in the history
  87. doc: the GN files should use Node's license

    PR-URL: #50694
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    zcbenz authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    4a5d3bd View commit details
    Browse the repository at this point in the history
  88. watch: fix null fileName on windows systems

    PR-URL: #49891
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Chemi Atlow <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    vnc5 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    56e8969 View commit details
    Browse the repository at this point in the history
  89. tools: update inspector_protocol to ca525fc

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c3126fc View commit details
    Browse the repository at this point in the history
  90. tools: update inspector_protocol to 547c5b8

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    ef4f46f View commit details
    Browse the repository at this point in the history
  91. tools: update inspector_protocol to 912eb68

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    d181684 View commit details
    Browse the repository at this point in the history
  92. tools: update inspector_protocol to d7b099b

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    60d8048 View commit details
    Browse the repository at this point in the history
  93. tools: update inspector_protocol to 2f51e05

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e325f49 View commit details
    Browse the repository at this point in the history
  94. tools: update inspector_protocol to 9b4a4aa

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    69a46ad View commit details
    Browse the repository at this point in the history
  95. tools: update inspector_protocol to c488ba2

    PR-URL: #51293
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    cola119 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    bdcb5ed View commit details
    Browse the repository at this point in the history
  96. tools: fix dep_updaters dir updates

    Replace directories instead of just copying to take removed files into
    account.
    
    PR-URL: #51294
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    targos authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    d5a5f12 View commit details
    Browse the repository at this point in the history
  97. deps: update ngtcp2 and nghttp3

    PR-URL: #51291
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e53cbb2 View commit details
    Browse the repository at this point in the history
  98. quic: update quic impl to use latest ngtcp2/nghttp3

    PR-URL: #51291
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    7ecf994 View commit details
    Browse the repository at this point in the history
  99. src: add fast api for Histogram

    PR-URL: #51296
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    jasnell authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    115e058 View commit details
    Browse the repository at this point in the history
  100. test: replace foreach with for of

    PR-URL: #50790
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    lucacapocci94-dev authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    ef44f9b View commit details
    Browse the repository at this point in the history
  101. test: replace forEach with for...of

    Replace `Array.prototype.forEach()` with `for...of` in
    `test/parallel/test-fs-readv-sync.js` and
    `test/parallel/test-fs-readv.js`.
    
    PR-URL: #50787
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ulises Gascón <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Ospite Privilegiato authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    549e4b4 View commit details
    Browse the repository at this point in the history
  102. test: replace forEach() with for...of

    Replace `Array.prototype.forEach()` with `for...of` in
    `parallel/test-whatwg-encoding-custom-textdecoder-utf16-surrogates.js`.
    
    PR-URL: #50608
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Alexander Jones authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    85ee2f7 View commit details
    Browse the repository at this point in the history
  103. src,stream: improve WriteString

    Introduce HasDoTryWrite and make use of it in WriteString
    
    PR-URL: #51155
    Reviewed-By: Luigi Pinca <[email protected]>
    ywave620 authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e7925e6 View commit details
    Browse the repository at this point in the history
  104. lib,src,permission: port path.resolve to C++

    Co-Authored-By: Carlos Espa <[email protected]>
    PR-URL: #50758
    Refs: nodejs/security-wg#898
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Claudio Wunder <[email protected]>
    RafaelGSS and Ceres6 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    416b4f8 View commit details
    Browse the repository at this point in the history
  105. watch: clarify that the fileName parameter can be null

    Add a comment to clarify that the `fileName` parameter can be `null` if
    the file name cannot be determined.
    
    PR-URL: #51305
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    lpinca authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    867b484 View commit details
    Browse the repository at this point in the history
  106. build: fix for VScode "Reopen in Container"

    PR-URL: #51271
    Reviewed-By: Tierney Cyren <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    ohhmm authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    2eb41f8 View commit details
    Browse the repository at this point in the history
  107. deps: update acorn to 8.11.3

    PR-URL: #51317
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    24a9a72 View commit details
    Browse the repository at this point in the history
  108. deps: update corepack to 0.24.0

    PR-URL: #51318
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c0d2e8b View commit details
    Browse the repository at this point in the history
  109. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51320
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and RafaelGSS committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    fc10f88 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. src: avoid draining platform tasks at FreeEnvironment

    At the point of `FreeEnvironment` and onwards, no JavaScript execution
    associated with the Environment should be triggered.
    
    Avoid draining platform tasks that can trigger JavaScript execution in
    `FreeEnvironment`. The holder of `node::Environment` should immediately
    call `node::MultiIsolatePlatform::UnregisterIsolate` and
    `v8::Isolate::Dispose` to cancel pending foreground tasks and join
    concurrent tasks after the environment was freed.
    
    `NodePlatform` can properly handle the case in `RunForegroundTask` when
    an Isolate out-lives its associated `node::Environment`.
    
    PR-URL: #51290
    Fixes: #47748
    Fixes: #49344
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    legendecas authored and RafaelGSS committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a0ff00b View commit details
    Browse the repository at this point in the history
  2. test: fix flaky conditions for ppc64 SEA tests

    In test status files, `$system` will be the OS and not the arch (which
    would be `$arch`).
    
    Add missing single-executable-application test to the list of tests
    marked flaky on Linux ppc64le.
    
    PR-URL: #51422
    Refs: #50828
    Refs: #50740
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    richardlau authored and RafaelGSS committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    757a84c View commit details
    Browse the repository at this point in the history
  3. 2024-01-15, Version 21.6.0 (Current)

    Notable changes:
    
    doc:
      * (SEMVER-MINOR) add documentation for --build-snapshot-config (Anna Henningsen) #50453
    lib,src,permission:
      * (SEMVER-MINOR) port path.resolve to C++ (Rafael Gonzaga) #50758
    net:
      * (SEMVER-MINOR) add connection attempt events (Paolo Insogna) #51045
    src:
      * (SEMVER-MINOR) support configurable snapshot (Joyee Cheung) #50453
    src,permission:
      * (SEMVER-MINOR) add --allow-addon flag (Rafael Gonzaga) #51183
    timers:
      * (SEMVER-MINOR) export timers.promises (Marco Ippolito) #51246
    
    PR-URL: #51342
    Signed-off-by: RafaelGSS <[email protected]>
    RafaelGSS committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f38a9a5 View commit details
    Browse the repository at this point in the history