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

2024-05-02, Version 22.1.0 (Current) #52768

Merged
merged 98 commits into from
May 2, 2024
Merged

2024-05-02, Version 22.1.0 (Current) #52768

merged 98 commits into from
May 2, 2024

Commits on Apr 29, 2024

  1. lib: replace string prototype usage with alternatives

    PR-URL: #52440
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    014bf01 View commit details
    Browse the repository at this point in the history
  2. crypto: enable NODE_EXTRA_CA_CERTS with BoringSSL

    PR-URL: #52217
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    codebytere authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    61e1ac0 View commit details
    Browse the repository at this point in the history
  3. deps: upgrade npm to 10.5.2

    PR-URL: #52458
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    npm-cli-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8738b89 View commit details
    Browse the repository at this point in the history
  4. buffer: improve base64 and base64url performance

    Co-authored-by: Daniel Lemire <daniel@lemire.me>
    PR-URL: #52428
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    2 people authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    44ee04c View commit details
    Browse the repository at this point in the history
  5. lib: convert WeakMaps in cjs loader with private symbol properties

    Symbol properties are typically more GC-efficient than using WeakMaps,
    since WeakMap requires ephemeron GC. `module[kModuleExportNames]`
    would be easier to read than `importedCJSCache.get(module).exportNames`
    as well.
    
    PR-URL: #52095
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    legendecas authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f6145aa View commit details
    Browse the repository at this point in the history
  6. lib: refactor lazy loading of undici for fetch method

    Object.defineProperty is updated to lazily load the undici dependency
    for the fetch method. This change allows for simpler and more reliable
    mocking of the fetch method for testing purposes, resolving issues
    encountered with premature method invocation during testing.
    
    Fixes: #52015
    PR-URL: #52275
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Victor Chen authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    fdcde84 View commit details
    Browse the repository at this point in the history
  7. url: implement parse method for safer URL parsing

    Implement the static parse method as per the WHATWG URL specification.
    Unlike the URL constructor, URL.parse does not throw on invalid input,
    instead returning null. This behavior allows safer parsing of URLs
    without the need for try-catch blocks around constructor calls. The
    implementation follows the steps outlined in the WHATWG URL standard,
    ensuring compatibility and consistency with web platform URL parsing
    APIs.
    
    Fixes: #52208
    Refs: whatwg/url#825
    PR-URL: #52280
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daniel Lemire <daniel@lemire.me>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    thisalihassan authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9b18df9 View commit details
    Browse the repository at this point in the history
  8. tools: add a linter for README lists

    PR-URL: #52476
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    8ae1507 View commit details
    Browse the repository at this point in the history
  9. buffer: add missing ARG_TYPE(ArrayBuffer) for isUtf8

    PR-URL: #52477
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Jungku Lee authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    dfda6fe View commit details
    Browse the repository at this point in the history
  10. benchmark: add ipc support to spawn stdio config

    Enabled inter-process communication (ipc) in the stdio configuration
    of the spawn function within the benchmark subsystem.
    This change allows for improved data exchange between parent
    and benchmarked child processes, addressing limitations in performance
    testing scenarios.
    
    Fixes: #52233
    Refs: nodejs/performance#161
    PR-URL: #52456
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
    thisalihassan authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7b82c17 View commit details
    Browse the repository at this point in the history
  11. benchmark: inherit stdio/stderr instead of pipe

    PR-URL: #52456
    Fixes: #52233
    Refs: nodejs/performance#161
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
    thisalihassan authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7cdfe8a View commit details
    Browse the repository at this point in the history
  12. module: tidy code and comments

    PR-URL: #52437
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    JakobJingleheimer authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b00766d View commit details
    Browse the repository at this point in the history
  13. test_runner: move end of work check to finalize()

    This commit moves the end of work check from postRun() to
    finalize(). The reasoning is that finalize() is guaranteed to
    run in the order that the tests are defined, while postRun() is
    not. This makes the check a little simpler.
    
    PR-URL: #52488
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    cjihrig authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b4ccb6c View commit details
    Browse the repository at this point in the history
  14. test_runner: don't exceed call stack when filtering

    This commit updates filteredRun() to call postRun() after a
    microtask instead of synchronously. Currently, if approximately
    1,545 subtests are filtered, enough synchronous calls can be
    made to cause a call stack exceeded exception.
    
    PR-URL: #52488
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    cjihrig authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3287553 View commit details
    Browse the repository at this point in the history
  15. meta: move one or more collaborators to emeritus

    PR-URL: #52457
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Ash Cripps <email@ashleycripps.co.uk>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e70d8a4 View commit details
    Browse the repository at this point in the history
  16. lib, doc: rename readme.md to README.md

    PR-URL: #52471
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    dc399dd View commit details
    Browse the repository at this point in the history
  17. tools: update minimatch index path

    PR-URL: #52523
    Fixes: #52520
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    marco-ippolito authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    15c5686 View commit details
    Browse the repository at this point in the history
  18. test: write tests for assertIsArray http2 util

    PR-URL: #52511
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    sinansonmez authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e34e0a9 View commit details
    Browse the repository at this point in the history
  19. test_runner: better error handing for test hook

    Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
    PR-URL: #52401
    Fixes: #52399
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    2 people authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e066ba2 View commit details
    Browse the repository at this point in the history
  20. tools: use stylistic ESLint plugin for formatting

    Refs: https://eslint.org/blog/2023/10/deprecating-formatting-rules/
    PR-URL: #50714
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    targos authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4e5ce3a View commit details
    Browse the repository at this point in the history
  21. node-api: copy external type tags when they are set

    In order to adapt to V8 changes regarding storing private
    properties on Externals, ExternalWrapper objects were introduced
    in #51149.
    
    However, this new code stores the type tag pointer and not the
    128-bit value inside. This breaks some pre-existing code that
    were making temporary tags. It also means that unloading the module
    will cause existing External objects to have a tag pointer that
    points nowhere (use-after-free bug).
    
    Change ExternalWrapper to store tags by value to fix this regression.
    
    PR-URL: #52426
    Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Koromix authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    1fca8ba View commit details
    Browse the repository at this point in the history
  22. doc: update test runner coverage limitations

    PR-URL: #52515
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    MoLow authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    7e93c48 View commit details
    Browse the repository at this point in the history
  23. tools: update lint-md-dependencies to rollup@4.14.2 vfile-reporter@8.1.1

    PR-URL: #52518
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    6b4bbfb View commit details
    Browse the repository at this point in the history
  24. deps: update minimatch to 9.0.4

    PR-URL: #52524
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d67a9a5 View commit details
    Browse the repository at this point in the history
  25. module: fix submodules loaded by require() and import()

    Previously there is an edge case where submodules loaded by require()
    may not be loaded by import() again from different intermediate
    edges in the graph. This patch fixes that, added tests, and added
    debug logs.
    
    Drive-by: make loader a private field so it doesn't show up in logs.
    PR-URL: #52487
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    joyeecheung authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9794d21 View commit details
    Browse the repository at this point in the history
  26. src: fix loadEnvFile ENOENT error

    Before this change the error message for `process.loadEnvFile()` without
    an `.env` file present in the current working directory was looking like
    this: `ENOENT: .env, Failed to load '%s'.` This obviously isn't what the
    author intended.
    
    To fix that, just return a "plain" ENOENT open error. It should be
    descriptive enough. That means for the above example, the error message
    is now `ENOENT: no such file or directory, open '.env'`.
    
    PR-URL: #52438
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    fahrradflucht authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f283d27 View commit details
    Browse the repository at this point in the history
  27. src: remove regex usage for env file parsing

    PR-URL: #52406
    Fixes: #52248
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    IlyasShabi authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ac04c64 View commit details
    Browse the repository at this point in the history
  28. net: add CLI option for autoSelectFamilyAttemptTimeout

    PR-URL: #52474
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    ShogunPanda authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d79ae74 View commit details
    Browse the repository at this point in the history
  29. tools: fix heading spaces for osx-entitlements.plist

    PR-URL: #52561
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    JacksonTian authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    df61feb View commit details
    Browse the repository at this point in the history
  30. test: split wasi poll test for windows

    PR-URL: #52538
    Fixes: #51822
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    huseyinacacak-janea authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    18aa5d6 View commit details
    Browse the repository at this point in the history
  31. dns: add order option and support ipv6first

    PR-URL: #52492
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    ShogunPanda authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3c37ce5 View commit details
    Browse the repository at this point in the history
  32. doc: fix issue detected in markdown lint update

    Refs: nodejs/remark-preset-lint-node#535
    PR-URL: #52566
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Trott authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    63cc2b8 View commit details
    Browse the repository at this point in the history
  33. benchmark: reduce the buffer size for blob

    PR-URL: #52548
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    debadree25 authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    35643c1 View commit details
    Browse the repository at this point in the history
  34. deps: update zlib to 1.3.0.1-motley-7d77fb7

    PR-URL: #52516
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9a44059 View commit details
    Browse the repository at this point in the history
  35. module: implement NODE_COMPILE_CACHE for automatic on-disk code caching

    This patch implements automatic on-disk code caching that can be enabled
    via an environment variable NODE_COMPILE_CACHE.
    
    When set, whenever Node.js compiles a CommonJS or a ECMAScript Module,
    it will use on-disk [V8 code cache][] persisted in the specified
    directory to speed up the compilation. This may slow down the first
    load of a module graph, but subsequent loads of the same module graph
    may get a significant speedup if the contents of the modules do not
    change. Locally, this speeds up loading of
    test/fixtures/snapshot/typescript.js from ~130ms to ~80ms.
    
    To clean up the generated code cache, simply remove the directory.
    It will be recreated the next time the same directory is used for
    `NODE_COMPILE_CACHE`.
    
    Compilation cache generated by one version of Node.js may not be used
    by a different version of Node.js. Cache generated by different versions
    of Node.js will be stored separately if the same directory is used
    to persist the cache, so they can co-exist.
    
    Caveat: currently when using this with V8 JavaScript code coverage, the
    coverage being collected by V8 may be less precise in functions that are
    deserialized from the code cache. It's recommended to turn this off when
    running tests to generate precise coverage.
    
    Implementation details:
    
    There is one cache file per module on disk. The directory layout
    is:
    
    - Compile cache directory (from NODE_COMPILE_CACHE)
      - 8b23c8fe: CRC32 hash of CachedDataVersionTag + NODE_VERESION
      - 2ea3424d:
         - 10860e5a: CRC32 hash of filename + module type
         - 431e9adc: ...
         - ...
    
    Inside the cache file, there is a header followed by the actual
    cache content:
    
    ```
    [uint32_t] code size
    [uint32_t] code hash
    [uint32_t] cache size
    [uint32_t] cache hash
    ... compile cache content ...
    ```
    
    When reading the cache file, we'll also check if the code size
    and code hash match the code that the module loader is loading
    and whether the cache size and cache hash match the file content
    read. If they don't match, or if V8 rejects the cache passed,
    we'll ignore the mismatch cache, and regenerate the cache after
    compilation succeeds and rewrite it to disk.
    
    PR-URL: #52535
    Refs: #47472
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    joyeecheung authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4d77fd2 View commit details
    Browse the repository at this point in the history
  36. test: fix test-tls-ticket-cluster.js

    Ensured connection end is initiated by worker (server)
    
    Fixes: #2510
    PR-URL: #52431
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    huseyinacacak-janea authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c8c6173 View commit details
    Browse the repository at this point in the history
  37. test_runner: add --test-skip-pattern cli option

    PR-URL: #52529
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e247a61 View commit details
    Browse the repository at this point in the history
  38. test: ensure that all worker servers are ready

    Wait for the `'listening'` message from all workers before creating the
    first connection. This fixes an `EMFILE` error that is raised on Windows
    when running the following command
    
    ```
    python tools/test.py -J --repeat=1000 parallel/test-tls-ticket-cluster
    ```
    
    PR-URL: #52563
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    lpinca authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ed080d8 View commit details
    Browse the repository at this point in the history
  39. fs: fixes recursive fs.watch crash on Linux when deleting files

    Signed-off-by: Matteo Collina <hello@matteocollina.com>
    Fixes: #52018
    PR-URL: #52349
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    mcollina authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    a7e03d3 View commit details
    Browse the repository at this point in the history
  40. src: parse inspector profiles with simdjson

    This allows us to start the profilers before context creation
    so that more samples can be collected.
    
    PR-URL: #51783
    Reviewed-By: Daniel Lemire <daniel@lemire.me>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    a56faff View commit details
    Browse the repository at this point in the history
  41. module: detect ESM syntax by trying to recompile as SourceTextModule

    Instead of using an async function wrapper, just try compiling code with
    unknown module format as SourceTextModule when it cannot be compiled
    as CJS and the error message indicates that it's worth a retry. If
    it can be parsed as SourceTextModule then it's considered ESM.
    
    Also, move shouldRetryAsESM() to C++ completely so that
    we can reuse it in the CJS module loader for require(esm).
    
    Drive-by: move methods that don't belong to ContextifyContext
    out as static methods and move GetHostDefinedOptions to
    ModuleWrap.
    
    PR-URL: #52413
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    joyeecheung authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3df3afc View commit details
    Browse the repository at this point in the history
  42. deps: update undici to 6.13.0

    PR-URL: #52493
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    80cbe72 View commit details
    Browse the repository at this point in the history
  43. tools: update lint-md-dependencies

    remark-preset-lint-node@5.0.2
    rollup@4.14.3
    
    PR-URL: #52581
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    552642a View commit details
    Browse the repository at this point in the history
  44. doc: add RedYetiDev to triage team

    PR-URL: #52556
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    27ffa35 View commit details
    Browse the repository at this point in the history
  45. crypto: simplify assertions in Safe*Print

    Checking the X509V3_EXT_METHOD doesn't do anything. X509V3_EXT_get is
    already implemented by calling X509V3_EXT_get_nid on the extension's
    NID. We may as well just check the NID directly.
    
    PR-URL: #49709
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    davidben authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    910533f View commit details
    Browse the repository at this point in the history
  46. lib: use predefined variable instead of bit operation

    PR-URL: #52580
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    deokjinkim authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9ffdcad View commit details
    Browse the repository at this point in the history
  47. doc: correct stream.finished changes

    PR-URL: #52551
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    climba03003 authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    a93f5d4 View commit details
    Browse the repository at this point in the history
  48. deps: update icu to 75.1

    PR-URL: #52573
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    5b52a48 View commit details
    Browse the repository at this point in the history
  49. quic: rework TLSContext, additional cleanups

    PR-URL: #51340
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    jasnell authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    fb4edf7 View commit details
    Browse the repository at this point in the history
  50. deps: update ada to 2.7.8

    PR-URL: #52517
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d40e4d4 View commit details
    Browse the repository at this point in the history
  51. doc: sort options alphabetically

    Sort options alphabetically in `doc/api/net.md`.
    
    PR-URL: #52589
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    lpinca authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    31831e9 View commit details
    Browse the repository at this point in the history
  52. doc: replace U+00A0 with U+0020

    Replace NO-BREAK SPACE (U+00A0) with SPACE (U+0020) in `doc/api/net.md`.
    
    PR-URL: #52590
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    lpinca authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c83526a View commit details
    Browse the repository at this point in the history
  53. doc: correct unsafe URL example in http docs

    The previous documentation example for converting `request.url` to an
    `URL` object was unsafe, as it could allow a server crash through
    malformed URL inputs and potentially enable host header attacks.
    
    This commit revises the example to use string concatenation over the
    usage of the `baseUrl` and removes the usage of the `req.headers.host`
    as the authority part of the url, mitigating both the crash and security
    risks by ensuring the host part of the URL remains controlled and
    predictable.
    
    Fixes #52494
    
    Co-authored-by: @astlouisf
    Co-authored-by: @samhh
    PR-URL: #52555
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    mlegenhausen authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    eeb80ad View commit details
    Browse the repository at this point in the history
  54. tools: add lint rule to keep primordials in ASCII order

    PR-URL: #52592
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f9ddd77 View commit details
    Browse the repository at this point in the history
  55. doc: add info on contributor spotlight program

    Refs: nodejs/TSC#1474
    
    Signed-off-by: Michael Dawson <midawson@redhat.com>
    PR-URL: #52598
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Ruy Adorno <ruy@vlt.sh>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3552829 View commit details
    Browse the repository at this point in the history
  56. fs: fix read / readSync positional offset types

    This changeset fixes the types in comments to match the implementation.
    
    PR-URL: #52603
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    ruyadorno authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    f23fa1d View commit details
    Browse the repository at this point in the history
  57. deps: update corepack to 0.28.0

    PR-URL: #52616
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3b422dd View commit details
    Browse the repository at this point in the history
  58. tools: update lint-md-dependencies to rollup@4.15.0

    PR-URL: #52617
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    382d951 View commit details
    Browse the repository at this point in the history
  59. events,doc: mark CustomEvent as stable

    Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
    PR-URL: #52618
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    daeyeon authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    3026401 View commit details
    Browse the repository at this point in the history
  60. tools: fix invalid escape sequence in mkssldef

    Use a raw string for the regex.
    
    PR-URL: #52624
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    targos authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    01103a8 View commit details
    Browse the repository at this point in the history
  61. lib: enforce ASCII order in error code imports

    PR-URL: #52625
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d1adc9b View commit details
    Browse the repository at this point in the history
  62. doc: run license-builder

    PR-URL: #52631
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    github-actions[bot] authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    04c8e11 View commit details
    Browse the repository at this point in the history
  63. meta: move one or more collaborators to emeritus

    PR-URL: #52633
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
    nodejs-github-bot authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    20c07e9 View commit details
    Browse the repository at this point in the history
  64. doc: add .gitattributes for md files

    PR-URL: #52161
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    huseyinacacak-janea authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4d577fa View commit details
    Browse the repository at this point in the history
  65. test: skip test-fs-watch-recursive-delete.js on IBM i

    PR-URL: #52645
    Refs: #52640
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    abmusse authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b2f754c View commit details
    Browse the repository at this point in the history
  66. src: add string_view overload to snapshot FromBlob

    The `const std::vector<char>&` variant only delegates to a method
    that converts it to a `std::string_view` anyway, but adding this
    capability to the public API as well means that it’s easier to
    store snapshot data in embedding applications (because using
    `std::vector<>` enforces heap allocation and `std::string_view`
    does not).
    
    PR-URL: #52595
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    addaleax authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    43fa6a1 View commit details
    Browse the repository at this point in the history
  67. build: fix arm64 cross-compilation bug on non-arm machines

    PR-URL: #52559
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    devraymondsh authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4baeb7b View commit details
    Browse the repository at this point in the history
  68. doc: fix info string causing duplicated code blocks

    Two fenced code blocks were incorrectly labeled as `js` instead of
    `cjs`, causing both ESM and CJS version to be shown on
    https://nodejs.org/api/test.html#timers instead of being conditionally
    shown depending on the value of the "CJS / ESM" toggle.
    
    PR-URL: #52660
    Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    mleenhardt authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    90c6e77 View commit details
    Browse the repository at this point in the history
  69. lib, url: add a windows option to path parsing

    PR-URL: #52509
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    64428dc View commit details
    Browse the repository at this point in the history
  70. typings: fix invalid JSDoc declarations

    PR-URL: #52659
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    anonrig authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    0b97031 View commit details
    Browse the repository at this point in the history
  71. test: fix backtick usage in docs

    PR-URL: #52643
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    10596e2 View commit details
    Browse the repository at this point in the history
  72. doc: remove relative limitation to pm

    PR-URL: #52648
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    RafaelGSS authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9a032cf View commit details
    Browse the repository at this point in the history
  73. lib,src: iterate module requests of a module wrap in JS

    Avoid repetitively calling into JS callback from C++ in
    `ModuleWrap::Link`. This removes the convoluted callback style of the
    internal `ModuleWrap` link step.
    
    PR-URL: #52058
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    legendecas authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9b2b6ab View commit details
    Browse the repository at this point in the history
  74. build: fix headers install for shared mode on Win

    PR-URL: #52442
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    segevfiner authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    4f713fb View commit details
    Browse the repository at this point in the history
  75. module: skip NODE_COMPILE_CACHE when policy is enabled

    It might be worth designing a policy for the compilation cache. For
    now, just skip the cache when policy is enabled.
    
    PR-URL: #52577
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    544c602 View commit details
    Browse the repository at this point in the history
  76. src: cast to v8::Value before using v8::EmbedderGraph::V8Node

    This is required to disambiguate the call site for an upstream
    patch to support v8::Data in traced references and pass the
    Node.js integration in the V8 CI. When that lands in the upstream
    we can implement V8Node(const v8::Local<v8::Data>) in a
    follow-up.
    
    Refs: https://chromium-review.googlesource.com/c/v8/v8/+/5403888
    PR-URL: #52638
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    joyeecheung authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    e20d2f1 View commit details
    Browse the repository at this point in the history
  77. vm: fix ASCII-betical order

    PR-URL: #52686
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    RedYetiDev authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d33131a View commit details
    Browse the repository at this point in the history
  78. build,tools,node-api: fix building node-api tests for Windows Debug

    PR-URL: #52632
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Cheng Zhao <zcbenz@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    vmoroz authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d5cd468 View commit details
    Browse the repository at this point in the history
  79. node-api: address coverity report

    Address missing initialization reported by coverity
    
    Signed-off-by: Michael Dawson <midawson@redhat.com>
    PR-URL: #52584
    Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    mhdawson authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    b17cfea View commit details
    Browse the repository at this point in the history
  80. tools: take co-authors into account in find-inactive-collaborators

    PR-URL: #52669
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    db421bd View commit details
    Browse the repository at this point in the history
  81. test: mark test as flaky

    Refs: #51862
    
    Ran into this a few times myself this week and also
    seems to be a top failer in the reliability reports
    
    Signed-off-by: Michael Dawson <midawson@redhat.com>
    PR-URL: #52671
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    mhdawson authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    45f7002 View commit details
    Browse the repository at this point in the history
  82. deps: V8: cherry-pick 500de8bd371b

    Original commit message:
    
        [gcc] Fix gcc / bazel build
    
        Add <iomanip> includes to fix gcc/blaze builds. Also ignore a dangling
        pointer warning introduced in newer gcc, since it has false positives
        on some uses of scope classes.
    
        Change-Id: Ib86a2437ffc34b5497a5b8619013d6d5b4ea30fe
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5380192
        Auto-Submit: Leszek Swirski <leszeks@chromium.org>
        Reviewed-by: Adam Klein <adamk@chromium.org>
        Reviewed-by: Michael Achenbach <machenbach@chromium.org>
        Commit-Queue: Michael Achenbach <machenbach@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#92977}
    
    Refs: v8/v8@500de8b
    PR-URL: #52676
    Fixes: #52675
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    richardlau authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    27a5f94 View commit details
    Browse the repository at this point in the history
  83. fs: allow setting Stat date properties

    PR-URL: #52708
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Raz Luvaton <rluvaton@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nicolo-ribaudo authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c6e0fe2 View commit details
    Browse the repository at this point in the history
  84. stream: update ongoing promise in async iterator return() method

    PR-URL: #52657
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    MattiasBuelens authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9f9eca9 View commit details
    Browse the repository at this point in the history
  85. http2: fix excessive CPU usage when using allowHTTP1=true

    When Http2SecureServer is configured with `allowHTTP1=true`, it calls
    `setupConnectionsTracking` to start monitoring for idle HTTP1
    connections. `setupConnectionsTracking` expects to have
    `this.connectionsCheckingInterval` property defined, but it does not
    exist on `Http2SecureServer`. This `undefined` value is passed to
    `setInterval`, which results in `checkConnections` being called on
    every tick, creating significant additional load on the server CPU.
    The fix is to define `this.connectionsCheckingInterval` on the
    Http2SecureServer instance.
    
    Refs: #51569
    PR-URL: #52713
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    eugene1g authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d5ecb6c View commit details
    Browse the repository at this point in the history
  86. test: mark test-error-serdes as flaky

    PR-URL: #52739
    Refs: #52630
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    d568a9a View commit details
    Browse the repository at this point in the history
  87. build: fix typo in node.gyp

    PR-URL: #52719
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    targos authored and aduh95 committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c64a1a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. quic: address recent coverity warnings

    Signed-off-by: Michael Dawson <midawson@redhat.com>
    PR-URL: #52647
    Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    mhdawson authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d086ab4 View commit details
    Browse the repository at this point in the history
  2. module: support ESM detection in the CJS loader

    This patch:
    
    1. Adds ESM syntax detection to compileFunctionForCJSLoader()
      for --experimental-detect-module and allow it to emit the
      warning for how to load ESM when it's used to parse ESM as
      CJS but detection is not enabled.
    2. Moves the ESM detection of --experimental-detect-module for
      the entrypoint from executeUserEntryPoint() into
      Module.prototype._compile() and handle it directly in the
      CJS loader so that the errors thrown during compilation *and
      execution* during the loading of the entrypoint does not
      need to be bubbled all the way up. If the entrypoint doesn't
      parse as CJS, and detection is enabled, the CJS loader will
      re-load the entrypoint as ESM on the spot asynchronously using
      runEntryPointWithESMLoader() and cascadedLoader.import(). This
      is fine for the entrypoint because unlike require(ESM) we don't
      the namespace of the entrypoint synchronously, and can just
      ignore the returned value. In this case process.mainModule is
      reset to undefined as they are not available for ESM entrypoints.
    3. Supports --experimental-detect-module for require(esm).
    
    PR-URL: #52047
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    joyeecheung authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    20ab8f2 View commit details
    Browse the repository at this point in the history
  3. meta: standardize regex

    PR-URL: #52693
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    RedYetiDev authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    896a80e View commit details
    Browse the repository at this point in the history
  4. tools: update lint-md-dependencies to rollup@4.17.0

    PR-URL: #52729
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    2ef9380 View commit details
    Browse the repository at this point in the history
  5. src,permission: throw async errors on async APIs

    PR-URL: #52730
    Refs: nodejs/security-wg#898
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    RafaelGSS authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c6fe433 View commit details
    Browse the repository at this point in the history
  6. deps,src: simplify base64 encoding

    PR-URL: #52714
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    lemire authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8e4fd28 View commit details
    Browse the repository at this point in the history
  7. doc: remove mold use on mac for speeding up build

    Co-authored-by: Vinicius Lourenço
    <12551007+H4ad@users.noreply.github.com>
    PR-URL: #52252
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    congzhangzh authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c0b58e0 View commit details
    Browse the repository at this point in the history
  8. doc: update process.versions properties

    PR-URL: #52736
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    IlyasShabi authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    3987a28 View commit details
    Browse the repository at this point in the history
  9. src: remove misplaced windows code under posix guard in node.cc

    The V8 WebAssembly trap handler setup for Windows was incorrectly
    nested within a POSIX conditional compilation block in src/node.cc.
    This caused the related functions to be effectively non-operational
    on Windows. The changes involve removing the Windows-specific code from
    the POSIX section and correctly placing it under the WIN32 check.
    This fix will ensure that the intended exception handling is active
    on Windows builds.
    
    Fixes: #52404
    Refs: #35033
    PR-URL: #52545
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    thisalihassan authored and aduh95 committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    0c58d03 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. deps: upgrade npm to 10.7.0

    PR-URL: #52767
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    npm-cli-bot authored and aduh95 committed May 1, 2024
    Configuration menu
    Copy the full SHA
    6e98eee View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. 2024-05-02, Version 22.1.0 (Current)

    Notable changes:
    
    buffer:
      * improve `base64` and `base64url` performance (Yagiz Nizipli) #52428
    dns:
      * (SEMVER-MINOR) add order option and support ipv6first (Paolo Insogna) #52492
    events,doc:
      * mark CustomEvent as stable (Daeyeon Jeong) #52618
    lib, url:
      * (SEMVER-MINOR) add a `windows` option to path parsing (Aviv Keller) #52509
    module:
      * (SEMVER-MINOR) implement NODE_COMPILE_CACHE for automatic on-disk code caching (Joyee Cheung) #52535
    net:
      * (SEMVER-MINOR) add CLI option for autoSelectFamilyAttemptTimeout (Paolo Insogna) #52474
    src:
      * (SEMVER-MINOR) add `string_view` overload to snapshot FromBlob (Anna Henningsen) #52595
    src,permission:
      * throw async errors on async APIs (Rafael Gonzaga) #52730
    test_runner:
      * (SEMVER-MINOR) add --test-skip-pattern cli option (Aviv Keller) #52529
    url:
      * (SEMVER-MINOR) implement parse method for safer URL parsing (Ali Hassan) #52280
    
    PR-URL: #52768
    aduh95 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    87b87a8 View commit details
    Browse the repository at this point in the history