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.7.0 proposal #51932

Merged
merged 209 commits into from
Mar 6, 2024
Merged

v21.7.0 proposal #51932

merged 209 commits into from
Mar 6, 2024

Commits on Feb 15, 2024

  1. meta: move one or more collaborators to emeritus

    PR-URL: #51329
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    22a11c3 View commit details
    Browse the repository at this point in the history
  2. src: avoid shadowed string in fs_permission

    PR-URL: #51123
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    codebytere authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8ea7d79 View commit details
    Browse the repository at this point in the history
  3. meta: bump actions/stale from 8.0.0 to 9.0.0

    Bumps [actions/stale](https://github.com/actions/stale) from 8.0.0 to 9.0.0.
    - [Release notes](https://github.com/actions/stale/releases)
    - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
    - [Commits](actions/stale@1160a22...28ca103)
    
    ---
    updated-dependencies:
    - dependency-name: actions/stale
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51332
    Refs: actions/stale@28ca103
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    77598c3 View commit details
    Browse the repository at this point in the history
  4. meta: bump github/codeql-action from 2.22.8 to 3.22.12

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.8 to 3.22.12.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@407ffaf...012739e)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51333
    Refs: github/codeql-action@012739e
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e4f9f0a View commit details
    Browse the repository at this point in the history
  5. meta: bump actions/setup-node from 4.0.0 to 4.0.1

    Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@8f152de...b39b52d)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51334
    Refs: actions/setup-node@b39b52d
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    6c3ba73 View commit details
    Browse the repository at this point in the history
  6. meta: bump actions/setup-python from 4.7.1 to 5.0.0

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.1 to 5.0.0.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@65d7f2d...0a5c615)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51335
    Refs: actions/setup-python@0a5c615
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    595542e View commit details
    Browse the repository at this point in the history
  7. stream: implement min option for ReadableStreamBYOBReader.read

    PR-URL: #50888
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    MattiasBuelens authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9ab353a View commit details
    Browse the repository at this point in the history
  8. meta: add .temp and .lock tags to ignore

    PR-URL: #51343
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    RafaelGSS authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e942dc1 View commit details
    Browse the repository at this point in the history
  9. fs,test: add URL to string to fs.watch

    Signed-off-by: RafaelGSS <[email protected]>
    PR-URL: #51346
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    RafaelGSS authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e8fffeb View commit details
    Browse the repository at this point in the history
  10. build: update GN build files for ngtcp2

    PR-URL: #51313
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    zcbenz authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9da0926 View commit details
    Browse the repository at this point in the history
  11. doc: fixup alignment of warning subsection

    Subsection was accidentally aligned with the wrong event.
    
    PR-URL: #51374
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Matthew Aitken <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    Reviewed-By: Harshitha K P <[email protected]>
    jasnell authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fabd5c4 View commit details
    Browse the repository at this point in the history
  12. node-api: optimize napi_set_property for perf

    PR-URL: #50282
    Reviewed-By: Vladimir Morozov <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    mertcanaltin authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    66c11f3 View commit details
    Browse the repository at this point in the history
  13. crypto: use EVP_MD_fetch and cache EVP_MD for hashes

    On OpenSSL 3, migrate from EVP_get_digestbyname() to EVP_MD_fetch()
    to get the implementation and use a per-Environment cache for it.
    The EVP_MDs are freed during Environment cleanup.
    
    Drive-by: declare the smart pointer for EVP_MD_CTX as EVPMDCtxPointer
    instead of EVPMDPointer to avoid confusion with EVP_MD pointers.
    
    PR-URL: #51034
    Refs: https://www.openssl.org/docs/man3.0/man7/crypto.html#Explicit-fetching
    Refs: nodejs/performance#136
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    17c554f View commit details
    Browse the repository at this point in the history
  14. quic: various additional cleanups, fixes in Endpoint

    PR-URL: #51310
    Reviewed-By: Yagiz Nizipli <[email protected]>
    jasnell authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4d06d80 View commit details
    Browse the repository at this point in the history
  15. src: do not read string out of bounds

    PR-URL: #51358
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Keyhan Vakil <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    zcbenz authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    36e42aa View commit details
    Browse the repository at this point in the history
  16. tools: remove deprecated python api

    PR-URL: #49731
    Fixes: #49729
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    himself65 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    83b3aa8 View commit details
    Browse the repository at this point in the history
  17. net: fix example IPv4 in dns docs

    PR-URL: #51377
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Uzlopak authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    63e0ceb View commit details
    Browse the repository at this point in the history
  18. tools: remove openssl v1 update script

    PR-URL: #51378
    Fixes: nodejs/security-wg#1182
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    35f33d3 View commit details
    Browse the repository at this point in the history
  19. doc: add missing word in child_process.md

    PR-URL: #50370
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Zeyu "Alex" Yang <[email protected]>
    joseph0007 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c18a813 View commit details
    Browse the repository at this point in the history
  20. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51396
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    17593d9 View commit details
    Browse the repository at this point in the history
  21. doc: improve subtests documentation

    PR-URL: #51379
    Fixes: #51359
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d7658ca View commit details
    Browse the repository at this point in the history
  22. tools: fix version parsing in brotli update script

    Update `tools/dep_updaters/update-brotli.sh` to parse the current
    version of brotli from the newer macros `BROTLI_VERSION_MAJOR`,
    `BROTLI_VERSION_MINOR` and `BROTLI_VERSION_PATCH`.
    
    PR-URL: #51373
    Refs: #50804
    Refs: nodejs/security-wg#1181
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    richardlau authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    29492e2 View commit details
    Browse the repository at this point in the history
  23. src: refactor GetCreationContext calls

    PR-URL: #51367
    Refs: #51287
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Jungku Lee authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    b271cc5 View commit details
    Browse the repository at this point in the history
  24. http2: receive customsettings

    This commit gives node.js the ability to also receive custom settings,
    in addition to sending, them which was implemented before.
    The custom settings received are limited to setting ids,
    that were specified before, when creating the session eithers through
    the server or the client.
    
    PR-URL: #51323
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    martenrichter authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    b9275d9 View commit details
    Browse the repository at this point in the history
  25. test: remove unneeded common.expectsError for asserts

    PR-URL: #51353
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    AndresMorelos authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    28c2bf3 View commit details
    Browse the repository at this point in the history
  26. deps: add nghttp3/**/.deps to .gitignore

    PR-URL: #51400
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    lpinca authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    76582e4 View commit details
    Browse the repository at this point in the history
  27. test_runner: do not invoke after hook when test is empty

    PR-URL: #51389
    Fixes: #51371
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Chemi Atlow <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e0789fb View commit details
    Browse the repository at this point in the history
  28. doc: fix some policy scope typos

    PR-URL: #51234
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    timkuijsten authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    74d4e38 View commit details
    Browse the repository at this point in the history
  29. deps: update uvwasi to 0.0.20 and fixup tests

    - update uvwasi to 0.0.20
    - adjust tests to reflect udpated behaviour from
      nodejs/uvwasi#224 included
      in uvwasi 0.0.20
    
    Signed-off-by: Michael Dawson <[email protected]>
    PR-URL: #51355
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mhdawson authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    17cb4af View commit details
    Browse the repository at this point in the history
  30. doc: add check for security reverts

    - Add step to check that any PRs with breaking changes
      have command line options to revert
    - Add info on how to easily add command line option
      to revert a breaking change related to a CVE
    
    Signed-off-by: Michael Dawson <[email protected]>
    PR-URL: #51376
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    mhdawson authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    70e88cf View commit details
    Browse the repository at this point in the history
  31. deps: update c-ares to 1.25.0

    PR-URL: #51385
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    942e10f View commit details
    Browse the repository at this point in the history
  32. node-api: move NAPI_EXPERIMENTAL definition to gyp file

    PR-URL: #51254
    Reviewed-By: Anatoli Papirovski <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daeyeon Jeong <[email protected]>
    Reviewed-By: Vladimir Morozov <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    gabrielschulhof authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5b94ff4 View commit details
    Browse the repository at this point in the history
  33. tools: update github_reporter to 1.5.4

    PR-URL: #51395
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    58901d0 View commit details
    Browse the repository at this point in the history
  34. module: fix --preserve-symlinks-main

    Fixes resolving main module when the `argv[1]` was pointing to a symlink
    without its file extension.
    
    PR-URL: #51312
    Fixes: #41000
    Reviewed-By: Antoine du Hamel <[email protected]>
    per4uk authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    615b0ae View commit details
    Browse the repository at this point in the history
  35. tools: update inspector_protocol to 83b1154

    PR-URL: #51309
    Reviewed-By: Stephen Belanger <[email protected]>
    cola119 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    f3845de View commit details
    Browse the repository at this point in the history
  36. deps: upgrade npm to 10.3.0

    PR-URL: #51431
    Reviewed-By: Luke Karrys <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    npm-cli-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1cc37c4 View commit details
    Browse the repository at this point in the history
  37. meta: move RaisinTen to emeritus and remove from strategic initiatives

    Signed-off-by: Darshan Sen <[email protected]>
    PR-URL: #51411
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Kohei Ueno <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    RaisinTen authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    015c4dc View commit details
    Browse the repository at this point in the history
  38. test: add URL tests to fs-write

    PR-URL: #51352
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    RafaelGSS authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7420a7d View commit details
    Browse the repository at this point in the history
  39. src: do not coerce dotenv paths

    PR-URL: #51425
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    tniessen authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    119e045 View commit details
    Browse the repository at this point in the history
  40. http2: add server handshake utility

    PR-URL: #51172
    Reviewed-By: Matteo Collina <[email protected]>
    devsnek authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d8aa2ba View commit details
    Browse the repository at this point in the history
  41. http2: add h2 compat support for appendHeader

    PR-URL: #51412
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    pimterry authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4b1c683 View commit details
    Browse the repository at this point in the history
  42. doc: fix spelling mistake

    PR-URL: #51454
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    u9g authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fc56296 View commit details
    Browse the repository at this point in the history
  43. doc: add links in offboarding.md

    PR-URL: #51440
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    aduh95 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4ea194a View commit details
    Browse the repository at this point in the history
  44. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51460
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    129d3b3 View commit details
    Browse the repository at this point in the history
  45. lib: remove unnecessary refreshHrtimeBuffer()

    We now serialize/deseialize the hrtime buffers properly instead of
    throwing them away at serialization and creating new ones at
    pre-execution, so there is no need to reset the variables to
    the binding property at pre-execution time.
    
    PR-URL: #51446
    Refs: #48655
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Jithil P Ponnan <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    ec60639 View commit details
    Browse the repository at this point in the history
  46. tools: do not pass invalid flag to C compiler

    `-Wno-invalid-offsetof` is only valid for C++ and GCC warns about its
    usage for C.
    
    PR-URL: #51409
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e88a301 View commit details
    Browse the repository at this point in the history
  47. deps: compile c-ares with C11 support

    This should get rid of the following GCC warning:
    ISO C90 does not support ‘long long’ [-Wlong-long]
    
    PR-URL: #51410
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    139a626 View commit details
    Browse the repository at this point in the history
  48. meta: move one or more collaborators to emeritus

    PR-URL: #51468
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Stewart X Addison <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    16fea71 View commit details
    Browse the repository at this point in the history
  49. tools: limit parallelism with ninja in V8 builds

    If `JOBS` has been set in the environment to limit build parallelism,
    pass that onto `ninja` when building V8.
    
    PR-URL: #51473
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    richardlau authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    81fd7d1 View commit details
    Browse the repository at this point in the history
  50. test: remove test-file-write-stream4 flaky designation

    Recent failures seem to be only caused by insufficient space left on the
    device.
    
    PR-URL: #51472
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    lpinca authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d4d07f4 View commit details
    Browse the repository at this point in the history
  51. doc: add notes on inspector breakpoints

    Setting breakpoints with a same-thread inspector session should be
    avoided because the program being attached and paused is exactly the
    debugger itself. A worker thread inspector session or a debugger
    program should be used if breakpoints are needed.
    
    PR-URL: #51417
    Fixes: #51397
    Reviewed-By: Luigi Pinca <[email protected]>
    legendecas authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    10f9528 View commit details
    Browse the repository at this point in the history
  52. doc: update typos

    PR-URL: #51475
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    big-kahuna-burger authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2bf3718 View commit details
    Browse the repository at this point in the history
  53. doc: remove reference to resolved child_process v8 issue

    The linked v8 issue is closed. The NodeJS half of that issue has also
    been resolved. While there still may be issues related to
    child_process spawn performance, they are not related to this v8 issue.
    
    Refs: https://bugs.chromium.org/p/v8/issues/detail?id=7381
    Refs: #48523
    Refs: nodejs/performance#138
    PR-URL: #51467
    Reviewed-By: Keyhan Vakil <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    isker authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d3b7805 View commit details
    Browse the repository at this point in the history
  54. module: fix crash when built-in module export a default key

    PR-URL: #51481
    Fixes: #51480
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Guy Bedford <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    aduh95 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    391aeb1 View commit details
    Browse the repository at this point in the history
  55. lib: allow checking the test result from afterEach

    PR-URL: #51485
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    tims-bsquare authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4b583bf View commit details
    Browse the repository at this point in the history
  56. deps: update base64 to 0.5.2

    PR-URL: #51455
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    40e8b36 View commit details
    Browse the repository at this point in the history
  57. doc: fix type of connectionAttempt parameter

    PR-URL: #51490
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    RafaelGSS authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1d40a00 View commit details
    Browse the repository at this point in the history
  58. doc: fix historical experimental fetch flag

    PR-URL: #51506
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    kenrick95 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fd2a3ce View commit details
    Browse the repository at this point in the history
  59. src: terminate correctly double-quote in env variable

    PR-URL: #51510
    Fixes: #51508
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e3a6384 View commit details
    Browse the repository at this point in the history
  60. fs: update jsdoc for filehandle.createWriteStream and appendFile

    PR-URL: #51494
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Deokjin Kim <[email protected]>
    Jungku Lee authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d8bb4b2 View commit details
    Browse the repository at this point in the history
  61. meta: mark security-wg codeowner for deps folder

    PR-URL: #51529
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    dbf4474 View commit details
    Browse the repository at this point in the history
  62. deps: update timezone to 2023d

    PR-URL: #51461
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    365a9dc View commit details
    Browse the repository at this point in the history
  63. test,crypto: update WebCryptoAPI WPT

    PR-URL: #51533
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    panva authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9dfb36f View commit details
    Browse the repository at this point in the history
  64. test: use checkIfCollectableByCounting in SourceTextModule leak test

    ...which may be more reliable than than checkIfCollectable().
    
    PR-URL: #51512
    Refs: #51362
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c88f0b6 View commit details
    Browse the repository at this point in the history
  65. deps: update acorn-walk to 8.3.2

    PR-URL: #51457
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    682f4f6 View commit details
    Browse the repository at this point in the history
  66. deps: update ngtcp2 to 1.1.0

    PR-URL: #51319
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4b1d25b View commit details
    Browse the repository at this point in the history
  67. stream: fix cloned webstreams not being unref correctly

    PR-URL: #51526
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    tsctx authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    438b7fd View commit details
    Browse the repository at this point in the history
  68. src: add process.loadEnvFile and util.parseEnv

    PR-URL: #51476
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    anonrig authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    b8ae5c2 View commit details
    Browse the repository at this point in the history
  69. build: remove copyright header in node.gni

    This file was missed in #50694.
    
    PR-URL: #51535
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    zcbenz authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2921d55 View commit details
    Browse the repository at this point in the history
  70. async_hooks,inspector: implement inspector api without async_wrap

    Implementing the inspector session object as an async resource causes
    unwanted context change when a breakpoint callback function is being
    called. Modelling the inspector api without the AsyncWrap base class
    ensures that the callback has access to the AsyncLocalStorage instance
    that is active in the affected user function.
    
    See `test-inspector-async-context-brk.js` for an illustration of the
    use case.
    
    PR-URL: #51501
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    dygabo authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4ddb9b3 View commit details
    Browse the repository at this point in the history
  71. tools: set normalizeTD text default to empty string

    PR-URL: #51543
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e0eeebc View commit details
    Browse the repository at this point in the history
  72. tools: fix loong64 build

    PR-URL: #51401
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    shipujin authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    d8e1058 View commit details
    Browse the repository at this point in the history
  73. fs: remove race condition for recursive watch on Linux

    Signed-off-by: Matteo Collina <[email protected]>
    PR-URL: #51406
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    mcollina authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    15a7f21 View commit details
    Browse the repository at this point in the history
  74. test: mark test-http2-large-file as flaky

    Refs: #47409
    PR-URL: #51549
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fc0c130 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    cc37959 View commit details
    Browse the repository at this point in the history
  76. build: check before removing %config% link

    PR-URL: #51437
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    liudonghua123 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    85f63f3 View commit details
    Browse the repository at this point in the history
  77. test: remove common.expectsError calls for asserts

    PR-URL: #51504
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    opchaves authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    db88bf1 View commit details
    Browse the repository at this point in the history
  78. doc: add lemire to collaborators

    PR-URL: #51572
    Fixes: #51478
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    lemire authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    adbf2d3 View commit details
    Browse the repository at this point in the history
  79. deps: update googletest to 7c07a86

    PR-URL: #51458
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    a04aa36 View commit details
    Browse the repository at this point in the history
  80. doc: note that path.normalize deviates from POSIX

    PR-URL: #51513
    Refs: #51345
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    tniessen authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    177e13c View commit details
    Browse the repository at this point in the history
  81. meta: add .mailmap entry for lemire

    PR-URL: #51600
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    lemire authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c4a28b2 View commit details
    Browse the repository at this point in the history
  82. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51583
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e1b9655 View commit details
    Browse the repository at this point in the history
  83. doc: fix dns.lookup and dnsPromises.lookup description

    PR-URL: #51517
    Fixes: #51482
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    duncanchiu409 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8c0a257 View commit details
    Browse the repository at this point in the history
  84. repl: fix NO_COLORS env var is ignored

    PR-URL: #51568
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    MoLow authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    3e579ab View commit details
    Browse the repository at this point in the history
  85. src: support multi-line values for .env file

    PR-URL: #51289
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Zeyu "Alex" Yang <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    IlyasShabi authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c7912c3 View commit details
    Browse the repository at this point in the history
  86. tools: run build-windows workflow only on source changes

    PR-URL: #51596
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    aduh95 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5fe493d View commit details
    Browse the repository at this point in the history
  87. deps: update ngtcp2 to 1.2.0

    PR-URL: #51584
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8f63f6f View commit details
    Browse the repository at this point in the history
  88. lib: define FormData and fetch etc. in the built-in snapshot

    Now that --experimental-fetch is true by default, define the
    dependent interfaces in the built-in snapshot and only delete
    them at run time when --no-experimental-fetch is set.
    
    PR-URL: #51598
    Reviewed-By: Ethan Arrowood <[email protected]>
    Reviewed-By: Matthew Aitken <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    7f698f0 View commit details
    Browse the repository at this point in the history
  89. deps: update ada to 2.7.5

    PR-URL: #51542
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Daniel Lemire <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5aca6f5 View commit details
    Browse the repository at this point in the history
  90. deps: update ada to 2.7.6

    PR-URL: #51542
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Daniel Lemire <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    fe597de View commit details
    Browse the repository at this point in the history
  91. deps: update corepack to 0.24.1

    PR-URL: #51459
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e5db8d4 View commit details
    Browse the repository at this point in the history
  92. esm: improve error when calling import.meta.resolve from data: URL

    PR-URL: #49516
    Reviewed-By: James M Snell <[email protected]>
    aduh95 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    08832e7 View commit details
    Browse the repository at this point in the history
  93. test: remove test-fs-rmdir-recursive flaky designation

    Refs: #41201 (comment)
    PR-URL: #51566
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    lpinca authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c820166 View commit details
    Browse the repository at this point in the history
  94. src: fix vm bug for configurable globalThis

    Object.defineProperty allows to change the value for
    non-writable properties if they are configurable. We
    missed that case when checking if a
    property is read-only.
    
    Fixes: #47799
    PR-URL: #51602
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    fhinkel authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    6603d32 View commit details
    Browse the repository at this point in the history
  95. deps: V8: cherry-pick efb1133eb894

    Original commit message:
    
        [api] Add v8::ScriptCompiler::CachedData::CompatibilityCheck()
    
        This patch adds a new API v8::ScriptCompiler::CachedData::CompatibilityCheck()
        in order to allow embedders to check if the code cache can be used in
        the current isolate without looking up for the source code. It also returns more detailed reasons about why the code cache cannot be used
        when it's bound to be rejected. This makes it possible to enforce
        portability checks in case code code becomes CPU-dependent in the
        future.
    
        Refs: #42566 (comment)
    
        Change-Id: Ia1d677b949050add961af6fbf62c44342c061312
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4905290
        Reviewed-by: Marja Hölttä <[email protected]>
        Reviewed-by: Toon Verwaest <[email protected]>
        Commit-Queue: Joyee Cheung <[email protected]>
        Cr-Commit-Position: refs/heads/main@{#90833}
    
    Refs: v8/v8@efb1133
    PR-URL: #51551
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    2ad665e View commit details
    Browse the repository at this point in the history
  96. http2: close idle connections when allowHTTP1 is true

    Fixes: #51493
    PR-URL: #51569
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    xsbchen authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    682951a View commit details
    Browse the repository at this point in the history
  97. deps: update nghttp2 to 1.59.0

    PR-URL: #51581
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8235c26 View commit details
    Browse the repository at this point in the history
  98. fs: load rimraf lazily in fs/promises

    Avoid the potential circular dependency and make fs/promises load faster
    when rimraf is not used.
    
    PR-URL: #51617
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    5a8af3d View commit details
    Browse the repository at this point in the history
  99. src: print string content better in BlobDeserializer

    When it's a short string, print it inline, otherwise print it
    from a separate line. Also add the missing line breaks finally.
    
    PR-URL: #50960
    Refs: nodejs/single-executable#68
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    47186fb View commit details
    Browse the repository at this point in the history
  100. sea: support embedding assets

    With this patch:
    
    Users can now include assets by adding a key-path dictionary
    to the configuration as the `assets` field. At build time, Node.js
    would read the assets from the specified paths and bundle them into
    the preparation blob. In the generated executable, users can retrieve
    the assets using the `sea.getAsset()` and `sea.getAssetAsBlob()` API.
    
    ```json
    {
      "main": "/path/to/bundled/script.js",
      "output": "/path/to/write/the/generated/blob.blob",
      "assets": {
        "a.jpg": "/path/to/a.jpg",
        "b.txt": "/path/to/b.txt"
      }
    }
    ```
    
    The single-executable application can access the assets as follows:
    
    ```cjs
    const { getAsset } = require('node:sea');
    // Returns a copy of the data in an ArrayBuffer
    const image = getAsset('a.jpg');
    // Returns a string decoded from the asset as UTF8.
    const text = getAsset('b.txt', 'utf8');
    // Returns a Blob containing the asset.
    const blob = getAssetAsBlob('a.jpg');
    ```
    
    Drive-by: update the  documentation to include a section dedicated
    to the injected main script and refer to it as "injected main
    script" instead of "injected module" because it's a script, not
    a module.
    
    PR-URL: #50960
    Refs: nodejs/single-executable#68
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    cea5295 View commit details
    Browse the repository at this point in the history
  101. sea: support sea.getRawAsset()

    This patch adds support for `sea.getRawAsset()` which is
    similar to `sea.getAsset()` but returns the raw asset
    in an array buffer without copying. Users should avoid
    writing to the returned array buffer. If the injected
    section is not marked as writable or not aligned,
    writing to the raw asset is likely to result in a crash.
    
    PR-URL: #50960
    Refs: nodejs/single-executable#68
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e8d9065 View commit details
    Browse the repository at this point in the history
  102. build: use macOS m1 machines for testing

    PR-URL: #51620
    Refs: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    anonrig authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1999719 View commit details
    Browse the repository at this point in the history
  103. doc: clarify execution of after hook on test suite completion

    The `after` hook now explicitly mentions that it is executed once after
    all the tests in a test suite have completed, regardless of whether the
    tests passed or failed. This ensures that cleanup tasks or actions
    specified in the after hook are guaranteed to run.
    
    Refs: #50901
    PR-URL: #51523
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    ognjenjevremovic authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c9be260 View commit details
    Browse the repository at this point in the history
  104. deps: update googletest to 6a59382

    PR-URL: #51580
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    dfc3811 View commit details
    Browse the repository at this point in the history
  105. test: remove test-crypto-keygen flaky designation

    Refs: #41206 (comment)
    PR-URL: #51567
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Filip Skokan <[email protected]>
    lpinca authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    a8ac337 View commit details
    Browse the repository at this point in the history
  106. doc: fix uncaught exception example

    PR-URL: #51638
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Akhil Marsonya <[email protected]>
    gabrielschulhof authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    37182c4 View commit details
    Browse the repository at this point in the history
  107. meta: bump github/codeql-action from 3.22.12 to 3.23.2

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.22.12 to 3.23.2.
    - [Release notes](https://github.com/github/codeql-action/releases)
    - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
    - [Commits](github/codeql-action@012739e...b7bf0a3)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51639
    Refs: github/codeql-action@b7bf0a3
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    dcf5f28 View commit details
    Browse the repository at this point in the history
  108. meta: bump actions/cache from 3.3.2 to 4.0.0

    Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 4.0.0.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@704facf...13aacd8)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51640
    Refs: actions/cache@13aacd8
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    97e3cb5 View commit details
    Browse the repository at this point in the history
  109. meta: bump step-security/harden-runner from 2.6.1 to 2.7.0

    Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.6.1 to 2.7.0.
    - [Release notes](https://github.com/step-security/harden-runner/releases)
    - [Commits](step-security/harden-runner@eb238b5...63c24ba)
    
    ---
    updated-dependencies:
    - dependency-name: step-security/harden-runner
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51641
    Refs: step-security/harden-runner@63c24ba
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    51f0d80 View commit details
    Browse the repository at this point in the history
  110. meta: bump actions/upload-artifact from 4.0.0 to 4.3.0

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.3.0.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@c7d193f...26f96df)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51643
    Refs: actions/upload-artifact@26f96df
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    9782560 View commit details
    Browse the repository at this point in the history
  111. meta: bump actions/download-artifact from 4.1.0 to 4.1.1

    Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.0 to 4.1.1.
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](actions/download-artifact@f44cd7b...6b208ae)
    
    ---
    updated-dependencies:
    - dependency-name: actions/download-artifact
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51644
    Refs: actions/download-artifact@6b208ae
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    16aa6e5 View commit details
    Browse the repository at this point in the history
  112. meta: bump codecov/codecov-action from 3.1.4 to 4.0.1

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.0.1.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@eaaf4be...e0b68c6)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    PR-URL: #51648
    Refs: codecov/codecov-action@e0b68c6
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    dependabot[bot] authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e5c52a2 View commit details
    Browse the repository at this point in the history
  113. http: split set-cookie when using setHeaders

    PR-URL: #51649
    Fixes: #51599
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Akhil Marsonya <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    b8e7a87 View commit details
    Browse the repository at this point in the history
  114. test: remove duplicate entry for flaky test

    Refs: https://github.com/nodejs/node/blob/5acd42ed9e65/test/parallel/parallel.status#L28-L30
    PR-URL: #51654
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Filip Skokan <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    lpinca authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    e929925 View commit details
    Browse the repository at this point in the history
  115. deps: update c-ares to 1.26.0

    PR-URL: #51582
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c3dbd7c View commit details
    Browse the repository at this point in the history
  116. tools: update github_reporter to 1.6.0

    PR-URL: #51658
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    751821f View commit details
    Browse the repository at this point in the history
  117. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51720
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    nodejs-github-bot authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    ba22c61 View commit details
    Browse the repository at this point in the history
  118. doc: document the GN build

    PR-URL: #51676
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zcbenz authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    1b45ca4 View commit details
    Browse the repository at this point in the history
  119. doc: updates for better json generating

    PR-URL: #51592
    Reviewed-By: Chemi Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Filip Skokan <[email protected]>
    Semigradsky authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    519dc8a View commit details
    Browse the repository at this point in the history
  120. doc: fix globals.md introduction

    Splitting the introduction sentence in two paragraphs so it's
    clearer the list of variables only apply to the second sentence.
    
    PR-URL: #51742
    Reviewed-By: Jithil P Ponnan <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Chemi Atlow <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    aduh95 authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    a62f69e View commit details
    Browse the repository at this point in the history
  121. doc: mark isWebAssemblyCompiledModule eol

    PR-URL: #51442
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    marco-ippolito authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    af6b5b1 View commit details
    Browse the repository at this point in the history
  122. vm: support using the default loader to handle dynamic import()

    This patch adds support for using
    `vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER` as
    `importModuleDynamically` in all APIs that take the option
    except `vm.SourceTextModule`. This allows users to have a shortcut
    to support dynamic import() in the compiled code without missing
    the compilation cache if they don't need customization of the
    loading process. We emit an experimental warning when the
    `import()` is actually handled by the default loader through
    this option instead of requiring `--experimental-vm-modules`.
    
    In addition this refactors the documentation for
    `importModuleDynamically` and adds a dedicated section for it
    with examples.
    
    `vm.SourceTextModule` is not supported in this patch because
    it needs additional refactoring to handle `initializeImportMeta`,
    which can be done in a follow-up.
    
    PR-URL: #51244
    Fixes: #51154
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and targos committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    4c50826 View commit details
    Browse the repository at this point in the history
  123. url: don't update URL immediately on update to URLSearchParams

    PR-URL: #51520
    Fixes: #51518
    Backport-PR-URL: #51559
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    MattIPv4 authored Feb 15, 2024
    Configuration menu
    Copy the full SHA
    407341e View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. tools: fix update-icu.sh

    The name of the sources MD5 file has changed.
    
    Refs: https://github.com/unicode-org/icu/releases/tag/release-74-2
    PR-URL: #51723
    Refs: #51721
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    Reviewed-By: Steven R Loomis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    787fb32 View commit details
    Browse the repository at this point in the history
  2. deps: update icu to 74.2

    Refs: https://github.com/unicode-org/icu/releases/tag/release-74-2
    PR-URL: #51723
    Refs: #51721
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    Reviewed-By: Steven R Loomis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    8d22227 View commit details
    Browse the repository at this point in the history
  3. deps: update timezone to 2024a

    PR-URL: #51723
    Refs: https://github.com/unicode-org/icu/releases/tag/release-74-2
    Refs: #51721
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: LiviaMedeiros <[email protected]>
    Reviewed-By: Steven R Loomis <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    6d2699d View commit details
    Browse the repository at this point in the history
  4. build: build opt to set local location of headers

    Some linux distroes install headers through their
    package managers. When headers are locally installed
    we'd like them to be used.
    
    Add a build time configuration option
    --use-prefix-to-find-headers that will will suggest to
    node-gyp to look for headers based on the prefix
    
    A PR to node-gyp will use this value when building
    addons to automatially find and use the headers
    if they have been installed locally
    
    Signed-off-by: Michael Dawson <[email protected]>
    PR-URL: #51525
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    mhdawson authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    8ae0eeb View commit details
    Browse the repository at this point in the history
  5. doc: update technical priorities for 2023

    PR-URL: #47523
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    sheplu authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    7fa3081 View commit details
    Browse the repository at this point in the history
  6. test: fix internet/test-inspector-help-page

    The webpage at the URL referenced by `node --inspect` was retitled when
    it was recently moved.
    
    Update the test to match the new title "Debugging Node.js" (formerly
    "Debugging Guide").
    
    Refs: nodejs/nodejs.org#6265
    PR-URL: #51693
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    richardlau authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    d7563a5 View commit details
    Browse the repository at this point in the history
  7. vm: implement isContext() directly in JS land with private symbol

    We are now directly checking the existence of a private symbol
    in the object to determine if an object is a ContextifyContext
    anyway, so there is no need to implement it in C++ anymore.
    
    PR-URL: #51685
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    joyeecheung authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ba444a9 View commit details
    Browse the repository at this point in the history
  8. src: check empty before accessing string

    Fix an assertion when running dotnev tests with GN build:
    assertion !empty() failed: string::front(): string is empty
    
    which was caused by calling value.front() without verifying the value is
    not empty.
    
    PR-URL: #51665
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Gerhard Stöbich <[email protected]>
    zcbenz authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    2a46dc7 View commit details
    Browse the repository at this point in the history
  9. doc: add entry to stewards

    PR-URL: #51760
    Refs: nodejs-private/node-private#514
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    RafaelGSS authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    4e0c79b View commit details
    Browse the repository at this point in the history
  10. test: remove test-domain-error-types flaky designation

    There is no recent trace of failure for this test.
    
    Fixes: #38063
    PR-URL: #51717
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    lpinca authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    9d3a014 View commit details
    Browse the repository at this point in the history
  11. test: remove test-cli-node-options flaky designation

    The last trace of failure dates back to 2023-09-24.
    
    Fixes: #50295
    PR-URL: #51716
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    lpinca authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ea08350 View commit details
    Browse the repository at this point in the history
  12. build: encode non-ASCII Latin1 characters as one byte in JS2C

    Previously we had two encodings for JS files:
    
    1. If a file contains only ASCII characters, encode it as a one-byte
      string (interpreted as uint8_t array during loading).
    2. If a file contains any characters with code point above 127,
      encode it as a two-byte string (interpreted as uint16_t array
      during loading).
    
    This was done because V8 only supports Latin-1 and UTF16 encoding
    as underlying representation for strings. To store the JS code
    as external strings to save encoding cost and memory overhead
    we need to follow the representations supported by V8.
    Notice that there is a gap in the Latin1 range (128-255) that we
    encoded as two-byte, which was an undocumented TODO for a long
    time. That was fine previously because then files that contained
    code points beyond the 0-127 range contained code points >255.
    Now we have undici which contains code points in the range 0-255
    (minus a replaceable code point >255). So this patch adds handling
    for the 128-255 range to reduce the size overhead caused by encoding
    them as two-byte. This could reduce the size of the binary by
    ~500KB and helps future files with this kind of code points.
    
    Drive-by: replace `’` with `'` in undici.js to make it a Latin-1
    only string. That could be removed if undici updates itself to
    replace this character in the comment.
    
    PR-URL: #51605
    Reviewed-By: Daniel Lemire <[email protected]>
    Reviewed-By: Ethan Arrowood <[email protected]>
    joyeecheung authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    9840715 View commit details
    Browse the repository at this point in the history
  13. sea: update stability index

    The design is relatively stable now and it's more suitable to
    describe it as being "in active developement".
    
    PR-URL: #51774
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Debadree Chatterjee <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    joyeecheung authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    7ceb6d6 View commit details
    Browse the repository at this point in the history
  14. test_runner: check if timeout was cleared by own callback

    PR-URL: #51673
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Benricheson101 authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    af5875c View commit details
    Browse the repository at this point in the history
  15. doc,crypto: add changelog and note about disabled RSA_PKCS1_PADDING

    PR-URL: #51782
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    panva authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    b53919d View commit details
    Browse the repository at this point in the history
  16. typings: lib/internal/vm.js

    PR-URL: #50112
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    GeoffreyBooth authored and targos committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    adb2c36 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. test: increase platform timeout zlib-brotli-16gb

    PR-URL: #51792
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    RafaelGSS authored and targos committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    83f581d View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. doc: add zcbenz to collaborators

    Fixes: #51479
    PR-URL: #51812
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    zcbenz authored and marco-ippolito committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    a8c9e6f View commit details
    Browse the repository at this point in the history
  2. doc,crypto: further clarify RSA_PKCS1_PADDING support

    PR-URL: #51799
    Reviewed-By: Filip Skokan <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    tniessen authored and marco-ippolito committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    80c750c View commit details
    Browse the repository at this point in the history
  3. test: skip test-http-correct-hostname on loong64

    PR-URL: #51663
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Adrian Estrada <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    shipujin authored and marco-ippolito committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    b046712 View commit details
    Browse the repository at this point in the history
  4. lib: create global console properties at snapshot build time

    It is safe to create the console properties for the global
    console at snapshot build time. Streams must still be created
    lazily however because they need special synchronization for
    the handles.
    
    PR-URL: #51700
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    77ae03f View commit details
    Browse the repository at this point in the history
  5. src: compile code eagerly in snapshot builder

    By default V8 only compiles the top-level function and
    skips code generation for inner functions - that would
    only be done when those inner functions are invoked.
    Since builtins are compiled as wrapped functions, most
    functions that look visually top-level are not actually
    included in the built-in code cache. For most of the
    builtins this is not too bad because usually only a subset of
    all builtin functions are needed by a particular
    application and including all their code in the binary
    would incur an unnecessary size overhead. But there is also
    a subset of more commonly used builtins and it would be
    better to include the inner functions in the built-in
    code cache because they are more universally used by
    most applications.
    
    This patch changes the compilation strategy to eager compilation
    (including inner functions) for the following scripts:
    
    1. Primordials (internal/per_context/*), in all situations.
    2. Bootstrap scripts (internal/bootstrap/*) and main scripts
       (internal/main/*), when being compiled for built-in code
       cache.
    3. Any scripts loaded during built-in snapshot generation.
    
    We can't compile the code eagerly during snapshot generation
    and include them into the V8 snapshot itself just now because
    we need to start the inspector before context deserialization
    for coverage collection to work. So leave that as a TODO.
    
    With this patch the binary size increases by about 666KB
    (~0.6% increase) in return the worker startup can be 18-19% faster.
    
    PR-URL: #51672
    Reviewed-By: Yagiz Nizipli <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    0c41210 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. benchmark: rename startup.js to startup-core.js

    It is easier to filter the core startup benchmark with this name.
    
    PR-URL: #51669
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    92e7c31 View commit details
    Browse the repository at this point in the history
  2. lib: add assertion for user ESM execution

    Previously we only had an internal assertion to ensure certain
    code is executed before any user-provided CJS is run. This patch
    adds another assertion for ESM.
    
    Note that this internal state is not updated during source text
    module execution via vm because to run any code via vm, some
    user JS code must have already been executed anyway.
    
    In addition this patch moves the states into internal/modules/helpers
    to avoid circular dependencies. Also moves toggling the states to
    true *right before* user code execution instead of after in case
    we are half-way in the execution when internals try to check them.
    
    PR-URL: #51748
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    614ca32 View commit details
    Browse the repository at this point in the history
  3. doc: add mention to GPG_TTY

    PR-URL: #51806
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Ruy Adorno <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    RafaelGSS authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ad8cefc View commit details
    Browse the repository at this point in the history
  4. doc: reserve 123 for Electron 30

    PR-URL: #51803
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Adrian Estrada <[email protected]>
    Reviewed-By: Shelley Vohr <[email protected]>
    VerteDinde authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    2de1e85 View commit details
    Browse the repository at this point in the history
  5. doc: add Paolo to TSC members

    Refs: nodejs/TSC#1501
    
    Signed-off-by: Michael Dawson <[email protected]>
    PR-URL: #51825
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    mhdawson authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    32d92ac View commit details
    Browse the repository at this point in the history
  6. test: remove test-fs-stat-bigint flaky designation

    Refs: #31727 (comment)
    PR-URL: #51735
    Reviewed-By: Michael Dawson <[email protected]>
    lpinca authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    2fb620c View commit details
    Browse the repository at this point in the history
  7. test: mark test-wasi as flaky on Windows on ARM

    It has failed 22 PRs from the latest 100 CI runs.
    
    PR-URL: #51834
    Refs: #51822
    Refs: nodejs/reliability#790
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    275cea0 View commit details
    Browse the repository at this point in the history
  8. src: simplify embedder entry point execution

    Previously we wrapped the embedder entry point callback into a
    binding and then invoke the binding from JS land which was a bit
    convoluted. Now we just call it directly from C++.
    The main scripts that needed to tail call the embedder callback now
    return the arguments in an array so that the C++ land can extract
    the arguments and pass them to the callback. We also set
    `PauseOnNextJavascriptStatement()` for --inspect-brk and mark
    the bootstrap complete milestone directly in C++ for these
    execution modes.
    
    PR-URL: #51557
    Reviewed-By: Daniel Lemire <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ccc76bb View commit details
    Browse the repository at this point in the history
  9. build: fix building js2c with GN

    This is a follow-up to #51605.
    
    PR-URL: #51818
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zcbenz authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    d1a8c2e View commit details
    Browse the repository at this point in the history
  10. build: fix warning in cares under GN build

    This change can be removed after the upstream fix lands in Node:
    c-ares/c-ares#709
    
    PR-URL: #51687
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Juan José Arboleda <[email protected]>
    zcbenz authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9be6b7c View commit details
    Browse the repository at this point in the history
  11. build,tools: make addons tests work with GN

    PR-URL: #50737
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    zcbenz authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5911731 View commit details
    Browse the repository at this point in the history
  12. build: do not rely on gn_helpers in GN build

    PR-URL: #51439
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zcbenz authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    86ac787 View commit details
    Browse the repository at this point in the history
  13. node-api: make napi_get_buffer_info check if passed buffer is valid

    PR-URL: #51571
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Vladimir Morozov <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Janrupf authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    bc6f33d View commit details
    Browse the repository at this point in the history
  14. inspector: add NodeRuntime.waitingForDebugger event

    `NodeRuntime.waitingForDebugger` is a new Inspector Protocol event that
    will fire when the process being inspected is waiting for the debugger
    (for example, when `inspector.waitForDebugger()` is called). This allows
    inspecting processes to know when the inspected process is waiting for a
    `Runtime.runIfWaitingForDebugger` message to resume execution. It allows
    tooling to resume execution of the inspected process as soon as it deems
    necessary, without having to guess if the inspected process is waiting
    or not, making the workflow more deterministic. With a more
    deterministic workflow, it is possible to update Node.js core tests to
    avoid race conditions that can cause flakiness. Therefore, tests were
    also changed as following:
    
      * Remove no-op Runtime.runIfWaitingForDebugger from tests that don't
        need it
      * Use NodeRuntime.waitingForDebugger in all tests that need
        Runtime.runIfWaitingForDebugger, to ensure order of operations is
        predictable and correct
      * Simplify test-inspector-multisession-ws
    
    There might be value in adding `NodeWorker.waitingForDebugger` in a
    future patch, but as of right now, no Node.js core inspector tests using
    worker threads are not failing due to race conditions.
    
    Fixes: #34730
    PR-URL: #51560
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Franziska Hinkelmann <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    mmarchini authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    58e2015 View commit details
    Browse the repository at this point in the history
  15. test: split wasi tests

    Move the child process code into a fixture and split the test
    so that it can be run in parallel and it's easier to identify
    where the failure is coming from. Also use the
    spawnSyncAndExitWithoutError() utility so that the test shows
    complete information on failure.
    
    Instead of marking all the wasi tests as flaky, only mark the
    wasi-poll one which is flaking in the CI now.
    
    PR-URL: #51836
    Refs: #51822
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f845a16 View commit details
    Browse the repository at this point in the history
  16. tools: disable automated libuv updates

    Because the previous security release modified the bundled version of
    libuv, we cannot automatically update libuv without potentially undoing
    those changes.
    
    PR-URL: #51775
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    RafaelGSS authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    b502be1 View commit details
    Browse the repository at this point in the history
  17. test: fix test-child-process-fork-net

    The child processes are supposed to get 4 messages (2 ends, 2 writes).
    Previously the mustCall() wrapping the message listener attempts
    to match exactly 1 invocation which is bound to fail but could be
    swallowed if the child happens to be killed before the exit event
    is fired for the mustCall() check to work. In the CI, on some
    machines the kill() could happen after the child process finishes
    with the mustCall() check, resulting in EPERM errors in kill().
    
    This patch fixes the mustCall() checks (updating the expected
    invocation count to 4) and swallow the errors when kill() fails,
    which should be fine because they are only there for cleanup.
    
    PR-URL: #51841
    Refs: #51813
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1f6551d View commit details
    Browse the repository at this point in the history
  18. test: ensure delay in recursive fs watch tests

    The recursive fs watch tests that mutate the watched folder
    immediately after fs.watch() returns are all flaking in the
    CI while the others that mutate the folder with a bit of delay
    aren't flaking. So this patch adds a bit of delay for the rest
    of the tests to deflake them.
    
    PR-URL: #51842
    Refs: nodejs/reliability#790
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    c0918f0 View commit details
    Browse the repository at this point in the history
  19. build: remove librt libs link for Android compatibility

    PR-URL: #51632
    Fixes: #50184
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    MeowShe authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    c9ada53 View commit details
    Browse the repository at this point in the history
  20. tools: fix missing [[fallthrough]] in js2c

    The latest clang warns about this.
    
    PR-URL: #51845
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zcbenz authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    03f926d View commit details
    Browse the repository at this point in the history
  21. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51795
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    6c0a3b9 View commit details
    Browse the repository at this point in the history
  22. tools: update lint-md-dependencies to [email protected]

    PR-URL: #51795
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    20effe6 View commit details
    Browse the repository at this point in the history
  23. deps: update c-ares to 1.27.0

    PR-URL: #51846
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    c708372 View commit details
    Browse the repository at this point in the history
  24. deps: update corepack to 0.25.2

    PR-URL: #51810
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    58b1403 View commit details
    Browse the repository at this point in the history
  25. test: fix test-bootstrap-modules for coverage generation

    The internal binding profiler is loaded if the test is run with
    NODE_V8_COVERAGE.
    
    PR-URL: #51816
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ethan Arrowood <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    d47a95f View commit details
    Browse the repository at this point in the history
  26. test: fix test-debugger-profile for coverage generation

    The child process should not inherit NODE_V8_COVERAGE because
    that clobbers the inspector output the test is checking.
    
    PR-URL: #51816
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Ethan Arrowood <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    2bf03ee View commit details
    Browse the repository at this point in the history
  27. crypto: update root certificates to NSS 3.98

    This is the certdata.txt[0] from NSS 3.98, released on 2024-02-15.
    
    This is the version of NSS that will ship in Firefox 124 on
    2024-03-19.
    
    Certificates added:
    - Telekom Security TLS ECC Root 2020
    - Telekom Security TLS RSA Root 2023
    
    Certificates removed:
    - Security Communication Root CA
    
    [0] https://hg.mozilla.org/projects/nss/raw-file/NSS_3_98_RTM/lib/ckfw/builtins/certdata.txt
    
    PR-URL: #51794
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    496776c View commit details
    Browse the repository at this point in the history
  28. deps: update simdjson to 3.7.0

    PR-URL: #51859
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    lemire authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    28c0ffb View commit details
    Browse the repository at this point in the history
  29. test: deflake test-http2-large-write-multiple-requests

    If the server is not referenced, it might go away too soon
    and the client may not get enough ends for it to close
    itself, resulting a timeout.
    This patch updates the test to simply close the server when
    enough requests have been processed, and keep the server
    referenced while the test is ongoing.
    
    Drive-by: add more logs to facilitate debugging.
    PR-URL: #51863
    Refs: nodejs/reliability#791
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    049e5f5 View commit details
    Browse the repository at this point in the history
  30. lib: do not access process.noDeprecation at build time

    Delay access at run time otherwise the value is captured at build
    time and always false.
    
    PR-URL: #51447
    Reviewed-By: Jithil P Ponnan <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    eb1089a View commit details
    Browse the repository at this point in the history
  31. lib,src: extract sourceMappingURL from module

    PR-URL: #51690
    Refs: #51522
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    unbyte authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8dc3f91 View commit details
    Browse the repository at this point in the history
  32. util: add styleText API to text formatting

    Co-Authored-By: Hemanth HM <[email protected]>
    PR-URL: #51850
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Adrian Estrada <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    2 people authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    88e08bb View commit details
    Browse the repository at this point in the history
  33. deps: update ngtcp2 to 1.3.0

    PR-URL: #51796
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    3b29dff View commit details
    Browse the repository at this point in the history
  34. doc: change ExperimentalWarnings to ExperimentalWarning

    PR-URL: #51741
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    akaustav authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    a5a17a1 View commit details
    Browse the repository at this point in the history
  35. src: stop the profiler and the inspector before snapshot serialization

    Otherwise NODE_V8_COVERAGE would crash in snapshot tests because V8
    cannot serialize the leftover debug infos. This ensures that we clean
    them all up before serialization.
    
    PR-URL: #51815
    Reviewed-By: Juan José Arboleda <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8f10543 View commit details
    Browse the repository at this point in the history
  36. test_runner: add ref methods to mocked timers

    Fixes: #51701
    PR-URL: #51809
    Reviewed-By: Chemi Atlow <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5f94912 View commit details
    Browse the repository at this point in the history
  37. http: fix close return value mismatch between doc and implementation

    PR-URL: #51797
    Fixes: #51787
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Robert Nagy <[email protected]>
    Reviewed-By: Ethan Arrowood <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    kylo5aby authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ec17fd7 View commit details
    Browse the repository at this point in the history
  38. events: no stopPropagation call in cancelBubble

    PR-URL: #50405
    Reviewed-By: Matthew Aitken <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Deokjin Kim <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    mert.altin authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    78f8180 View commit details
    Browse the repository at this point in the history
  39. tools: update eslint to 8.57.0

    PR-URL: #51867
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    71a809b View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Revert "fs: remove workaround for esm package"

    This reverts commit 95b1989.
    
    It appears that the workaround is still needed: issue #51081
    
    Backport-PR-URL: #51390
    PR-URL: #50907
    Fixes: #51081
    Reviewed-By: Marco Ippolito <[email protected]>
    jeremymeng authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f130a33 View commit details
    Browse the repository at this point in the history
  2. deps: update undici to 6.6.2

    This commit is the result of reverting the v5.28.3 security update
    and then cleanly cherry-picking all 6.x updates from `main` until
    6.6.2, which also includes the security fix.
    
    Backport-PR-URL: #51768
    PR-URL: #51667
    Reviewed-By: Marco Ippolito <[email protected]>
    targos authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    4ebb944 View commit details
    Browse the repository at this point in the history
  3. lib: move encodingsMap to internal/util

    PR-URL: #51044
    Refs: nodejs/performance#136
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5a2d2da View commit details
    Browse the repository at this point in the history
  4. crypto: implement crypto.hash()

    This patch introduces a helper crypto.hash() that computes
    a digest from the input at one shot. This can be 1.2-1.6x faster
    than the object-based createHash() for smaller inputs (<= 5MB)
    that are readily available (not streamed) and incur less memory
    overhead since no intermediate objects will be created.
    
    PR-URL: #51044
    Refs: nodejs/performance#136
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    78c2262 View commit details
    Browse the repository at this point in the history
  5. doc: update guide link for Event Loop

    PR-URL: #51874
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Qingyu Deng <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Claudio Wunder <[email protected]>
    Reviewed-By: Tierney Cyren <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    shrujalshah28 authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    db30428 View commit details
    Browse the repository at this point in the history
  6. net: fix connect crash when call destroy in lookup handler

    PR-URL: #51826
    Fixes: #50841
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Jiawen Geng <[email protected]>
    theanarkh authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c6cc3ed View commit details
    Browse the repository at this point in the history
  7. doc: add website team to sharing project news

    PR-URL: #49002
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    UlisesGascon authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    2cdfe35 View commit details
    Browse the repository at this point in the history
  8. src: simplify direct queries of env vars in C++ land

    In many cases we can query the environment variable directly instead
    of encoding it into UTF8 first and then decoding it again from
    UTF8 via an intermediate V8 string.
    
    Drive-by: pass per_process::system_environment explicitly when
    the real environment variables are supposed to be used instead of
    relying on fallback with defaults.
    
    PR-URL: #51829
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    joyeecheung authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7543e77 View commit details
    Browse the repository at this point in the history
  9. stream: fix eventNames() to not return not defined events

    PR-URL: #51331
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    IlyasShabi authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5b06af7 View commit details
    Browse the repository at this point in the history
  10. benchmark: update iterations of benchmark/assert/deepequal-map.js

    Fixed: #50571
    PR-URL: #51416
    Fixes: #50571
    Reviewed-By: Chengzhong Wu <[email protected]>
    Lei Shi authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    72be232 View commit details
    Browse the repository at this point in the history
  11. benchmark: update iterations of assert/deepequal-typedarrays.js

    Fixes: #50571
    PR-URL: #51419
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Lei Shi authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7e06c11 View commit details
    Browse the repository at this point in the history
  12. doc: update node-api/node-addon-api team link to sharing project news

    PR-URL: #51877
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    UlisesGascon authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5874773 View commit details
    Browse the repository at this point in the history
  13. doc: remove redundant backquote which breaks sentence

    PR-URL: #51904
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Jacob Smith <[email protected]>
    Reviewed-By: theanarkh <[email protected]>
    Reviewed-By: Qingyu Deng <[email protected]>
    JounQin authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3fdaeba View commit details
    Browse the repository at this point in the history
  14. meta: move one or more collaborators to emeritus

    PR-URL: #51726
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    nodejs-github-bot authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    84c71fa View commit details
    Browse the repository at this point in the history
  15. test: test surrogate pair filenames on windows

    PR-URL: #51800
    Fixes: #51789
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    mertcanaltin authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    e2c5138 View commit details
    Browse the repository at this point in the history
  16. perf_hooks: performance milestone time origin timestamp improvement

    PR-URL: #51713
    Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Minwoo Jung <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    IlyasShabi authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    cb62186 View commit details
    Browse the repository at this point in the history
  17. test_runner: serialize 'expected' and 'actual' in isolation

    Previously, a value seen in 'actual' would be serialized as a circular
    reference if it had also appeared in 'expected'.
    
    PR-URL: #51851
    Reviewed-By: Antoine du Hamel <[email protected]>
    Reviewed-By: Moshe Atlow <[email protected]>
    Reviewed-By: Chemi Atlow <[email protected]>
    malthe authored and marco-ippolito committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    e4d4bc6 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. lib: only build the ESM facade for builtins when they are needed

    We previously build the ESM facade (synthetic modules re-exporting
    builtin's exports) for builtins even when they are not directly
    import'ed (which rarely happens for internal builtins as that
    requires --expose-internals). This patch removes
    the eager generation to avoid the overhead and the extra
    promises created in facade building when it's not reqested by the user.
    When the facade is needed the ESM loader that can be requested
    it in the translator on-demand.
    
    Drive-by: set the ModuleWrap prototype to null in the built-in
    snapshot.
    
    PR-URL: #51669
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Geoffrey Booth <[email protected]>
    Reviewed-By: Yagiz Nizipli <[email protected]>
    Reviewed-By: Antoine du Hamel <[email protected]>
    joyeecheung authored and marco-ippolito committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    4dfc9e0 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade npm to 10.5.0

    PR-URL: #51913
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    npm-cli-bot authored and marco-ippolito committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    014cc53 View commit details
    Browse the repository at this point in the history
  3. lib: fix http client socket path

    PR-URL: #51900
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Paolo Insogna <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    theanarkh authored and marco-ippolito committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    1edbc7d View commit details
    Browse the repository at this point in the history
  4. lib: account for cwd access from snapshot serialization cb

    Functions registered with `addSerializeCallback()` can access and call
    `process.cwd()`. b7d836e accounted for the fact that it is
    necessary to reset the cwd cache after the snapshot builder script has
    run, but did not account for possible accesses from serialization
    callbacks. To properly account for these, add a deserialization
    callback as well.
    
    As a related drive-by fix, also mention the execution order of
    callbacks in the documentation.
    
    Refs: #49684
    PR-URL: #51901
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    addaleax authored and marco-ippolito committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    af32d43 View commit details
    Browse the repository at this point in the history
  5. test: fix unreliable assumption in js-native-api/test_cannot_run_js

    Previously the test assumes that when the queued finalizer is run,
    it must be run at a point where env->can_call_into_js() is false
    (typically, during Environment shutdown), which is not certain.
    If GC kicks in early and the second pass finalizer is queued before
    the event loop runs the check callbacks, the finalizer would then
    be called in check callbacks (via native immediates), where
    the finalizer can still call into JS. Essentially, addons can't
    make assumptions about where the queued finalizer would be called.
    This patch updates the assertions in the test to account for that.
    
    PR-URL: #51898
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Chengzhong Wu <[email protected]>
    joyeecheung authored and marco-ippolito committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    17ab5ae View commit details
    Browse the repository at this point in the history
  6. tools: fix installing node with shared mode

    Fix a bug caused by #50737 that,
    make install fails for --shared mode.
    
    PR-URL: #51910
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    zcbenz authored and marco-ippolito committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    27f8549 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. doc: add stability index to crypto.hash()

    PR-URL: #51978
    Reviewed-By: Filip Skokan <[email protected]>
    Reviewed-By: Rafael Gonzaga <[email protected]>
    Reviewed-By: Marco Ippolito <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    joyeecheung authored and marco-ippolito committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    4a889e8 View commit details
    Browse the repository at this point in the history
  2. 2024-03-06, Version 21.7.0 (Current)

    Notable changes:
    
    build:
      * (SEMVER-MINOR) build opt to set local location of headers (Michael Dawson) #51525
    crypto:
      * (SEMVER-MINOR) implement crypto.hash() (Joyee Cheung) #51044
      * update root certificates to NSS 3.98 (Node.js GitHub Bot) #51794
    doc:
      * add zcbenz to collaborators (Cheng Zhao) #51812
      * add lemire to collaborators (Daniel Lemire) #51572
    http2:
      * (SEMVER-MINOR) add h2 compat support for appendHeader (Tim Perry) #51412
      * (SEMVER-MINOR) add server handshake utility (snek) #51172
      * (SEMVER-MINOR) receive customsettings (Marten Richter) #51323
    lib:
      * (SEMVER-MINOR) move encodingsMap to internal/util (Joyee Cheung) #51044
    sea:
      * (SEMVER-MINOR) support sea.getRawAsset() (Joyee Cheung) #50960
      * (SEMVER-MINOR) support embedding assets (Joyee Cheung) #50960
    src:
      * (SEMVER-MINOR) print string content better in BlobDeserializer (Joyee Cheung) #50960
      * (SEMVER-MINOR) support multi-line values for .env file (IlyasShabi) #51289
      * (SEMVER-MINOR) add `process.loadEnvFile` and `util.parseEnv` (Yagiz Nizipli) #51476
      * (SEMVER-MINOR) do not coerce dotenv paths (Tobias Nießen) #51425
    stream:
      * (SEMVER-MINOR) implement `min` option for `ReadableStreamBYOBReader.read` (Mattias Buelens) #50888
    util:
      * (SEMVER-MINOR) add styleText API to text formatting (Rafael Gonzaga) #51850
    vm:
      * (SEMVER-MINOR) support using the default loader to handle dynamic import() (Joyee Cheung) #51244
    
    PR-URL: #51932
    marco-ippolito committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    47e6820 View commit details
    Browse the repository at this point in the history