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

v20.6.0 proposal #49185

Merged
merged 157 commits into from
Sep 4, 2023
Merged

v20.6.0 proposal #49185

merged 157 commits into from
Sep 4, 2023

Commits on Aug 15, 2023

  1. module: implement register utility

    PR-URL: #46826
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jlenon7 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    5aef593 View commit details
    Browse the repository at this point in the history
  2. test: fix flaky test-string-decode.js on x86

    Removes flakiness from the mentioned test due to the x86 memory limit
    
    PR-URL: #48750
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    StefanStojanovic authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    d5e93b1 View commit details
    Browse the repository at this point in the history
  3. child_process: harden against prototype pollution

    PR-URL: #48726
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    1f35c0c View commit details
    Browse the repository at this point in the history
  4. permission: fix data types in PrintTree

    * The first argument `node` should be a const pointer.
    * The second argument `spaces` should not be a signed integer type.
    * The local variable `child` should be size_t.
    * The local variable `pair` in the range declaration should be a
      reference type to avoid copying the object.
    
    Refs: #48677
    PR-URL: #48770
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    tniessen authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    30ea480 View commit details
    Browse the repository at this point in the history
  5. doc: expand on squashing and rebasing to land a PR

    PR-URL: #48751
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    legendecas authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    ea54784 View commit details
    Browse the repository at this point in the history
  6. util: use primordials.ArrayPrototypeIndexOf instead of mutable method

    PR-URL: #48586
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    DaisyDogs07 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    c3dbd0c View commit details
    Browse the repository at this point in the history
  7. src: use string_view for utf-8 string creation

    PR-URL: #48722
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    anonrig authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    41cc3ef View commit details
    Browse the repository at this point in the history
  8. src: remove OnScopeLeaveImpl's move assignment overload

    ... as it's not valid implementation and also has not been used
    
    PR-URL: #48732
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    CGQAQ authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    07d0fd6 View commit details
    Browse the repository at this point in the history
  9. deps: update googletest to cc36671

    PR-URL: #48789
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    318e075 View commit details
    Browse the repository at this point in the history
  10. test: skip experimental test with pointer compression

    The test test/parallel/test-experimental-shared-value-conveyor.js was
    added to test the --harmony-struct feature of V8. However, when used
    with pointer compression, the process crashes. This commit skips
    the test for pointer compression builds. This change uses a child
    process because starting a Node pointer compression build with
    --harmony-struct immediately crashes the process. Once this crash
    is addresses, this commit can be reverted.
    
    PR-URL: #48738
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    cjihrig authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e01cce5 View commit details
    Browse the repository at this point in the history
  11. inspector: open add SymbolDispose

    PR-URL: #48765
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    atlowChemi authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    67f9896 View commit details
    Browse the repository at this point in the history
  12. doc: nodejs-social over nodejs/tweet

    PR-URL: #48769
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    e69c8e1 View commit details
    Browse the repository at this point in the history
  13. url: reduce pathToFileURL cpp calls

    PR-URL: #48709
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    anonrig authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    30fb7b7 View commit details
    Browse the repository at this point in the history
  14. doc: remove the . in the end to reduce confusing

    PR-URL: #48719
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    CGQAQ authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    fe20528 View commit details
    Browse the repository at this point in the history
  15. meta: add mailmap entry for atlowChemi

    PR-URL: #48810
    Refs: #48806
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    atlowChemi authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    84c0c68 View commit details
    Browse the repository at this point in the history
  16. esm: add back globalPreload tests and fix failing ones

    PR-URL: #48779
    Fixes: #48778
    Fixes: #48516
    Refs: #46402
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    aduh95 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    a559747 View commit details
    Browse the repository at this point in the history
  17. tools: update eslint to 8.45.0

    PR-URL: #48793
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    1761bdf View commit details
    Browse the repository at this point in the history
  18. stream: implement ReadableStream.from

    Fixes: #48389
    PR-URL: #48395
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    debadree25 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    609b25f View commit details
    Browse the repository at this point in the history
  19. tools: update lint-md-dependencies to @rollup/plugin-commonjs@25.0.3

    PR-URL: #48791
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    41929a2 View commit details
    Browse the repository at this point in the history
  20. doc: declare path on example of async_hooks.executionAsyncId()

    Example is not runnable because `path` is used, but it's not
    declared.
    
    PR-URL: #48556
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    deokjinkim authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    388c7d9 View commit details
    Browse the repository at this point in the history
  21. src: fix nullptr access on realm

    Adding the per-realm binding data tracking introduced a call to a realm
    method when realm was potentially null. This is triggered whenever the
    function is called from `ContextifyContext::New` which passes `nullptr`
    as the `realm`.
    
    PR-URL: #48802
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    jkrems authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    409cc69 View commit details
    Browse the repository at this point in the history
  22. doc: refactor node-api support matrix

    - refactor table so that it does not grow for
      every new version of Node.js
    - refer to latest version of table as the canonical
      reference
    - add info for Node-API v9
    
    Refs: #48277
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    PR-URL: #48774
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    mhdawson authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    aeac327 View commit details
    Browse the repository at this point in the history
  23. esm: unflag Module.register and allow nested loader import()

    Major functional changes:
    
    - Allow `import()` to work within loaders that require other loaders,
    - Unflag the use of `Module.register`.
    
    A new interface `Customizations` has been created in order to unify
    `ModuleLoader` (previously `DefaultModuleLoader`), `Hooks` and
    `CustomizedModuleLoader` all of which now implement it:
    
    ```ts
    interface LoadResult {
      format: ModuleFormat;
      source: ModuleSource;
    }
    
    interface ResolveResult {
      format: string;
      url: URL['href'];
    }
    
    interface Customizations {
      allowImportMetaResolve: boolean;
      load(url: string, context: object): Promise<LoadResult>
      resolve(
        originalSpecifier:
        string, parentURL: string,
        importAssertions: Record<string, string>
      ): Promise<ResolveResult>
      resolveSync(
        originalSpecifier:
        string, parentURL: string,
        importAssertions: Record<string, string>
      ) ResolveResult;
      register(specifier: string, parentUrl: string): any;
      forceLoadHooks(): void;
      importMetaInitialize(meta, context, loader): void;
    }
    ```
    
    The `ModuleLoader` class now has `setCustomizations` which takes an
    object of this shape and delegates its responsibilities to this object
    if present.
    
    Note that two properties `allowImportMetaResolve` and `resolveSync`
    exist now as a mechanism for `import.meta.resolve` – since `Hooks`
    does not implement `resolveSync` other loaders cannot use
    `import.meta.resolve`; `allowImportMetaResolve` is a way of checking
    for that case instead of invoking `resolveSync` and erroring.
    
    Fixes #48515
    Closes #48439
    
    PR-URL: #48559
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    izaakschroeder authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    0a4f7c6 View commit details
    Browse the repository at this point in the history
  24. doc: add new TSC members

    Refs: nodejs/TSC#1411
    Refs: nodejs/TSC#1410
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #48841
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    mhdawson authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    d649339 View commit details
    Browse the repository at this point in the history
  25. src: remove unnecessary temporary creation

    PR-URL: #48734
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    CGQAQ authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    d759d4f View commit details
    Browse the repository at this point in the history
  26. test: delete test-net-bytes-per-incoming-chunk-overhead

    The test's assumptions about RSS are no longer valid, at least with
    Fedora 38.
    
    Closes: #48490
    PR-URL: #48811
    Fixes: #48490
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    targos authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    24c3742 View commit details
    Browse the repository at this point in the history
  27. fs: remove redundant nullCheck

    PR-URL: #48826
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    4515a28 View commit details
    Browse the repository at this point in the history
  28. deps: V8: cherry-pick c1a54d5ffcd1

    Original commit message:
    
        Skip regress-1320641 when the system does not have enough memory
    
        Change-Id: I23a5232f6437c4bc77390796ee2986f1600cb1bf
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4689686
        Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
        Commit-Queue: Joyee Cheung <joyee@igalia.com>
        Cr-Commit-Position: refs/heads/main@{#88973}
    
    Refs: v8/v8@c1a54d5
    PR-URL: #48830
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    joyeecheung authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    c8e1782 View commit details
    Browse the repository at this point in the history
  29. deps: V8: cherry-pick 9f4b7699f68e

    Original commit message:
    
        Fix mistake in the skip branch of test/mjsunit/regress-1320641.js
    
        It was doing a `string.test(regex)` which was wrong. It's supposed
        to be `regex.test(string)`. It wasn't caught in the CI because
        the skip path is not normally taken in the V8 CI.
    
        Change-Id: Id1bdab5bbc41968bba8adc1cb3664e8f95fb5d72
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4697855
        Commit-Queue: Joyee Cheung <joyee@igalia.com>
        Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#89044}
    
    Refs: v8/v8@9f4b769
    PR-URL: #48830
    Refs: v8/v8@c1a54d5
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    joyeecheung authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    2a7835c View commit details
    Browse the repository at this point in the history
  30. deps: update zlib to 1.2.13.1-motley-61dc0bd

    PR-URL: #48788
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    d92b013 View commit details
    Browse the repository at this point in the history
  31. src: support snapshot in single executable applications

    This patch adds snapshot support to single executable applications.
    To build a snapshot from the main script when preparing the
    blob that will be injected into the single executable application,
    add `"useSnapshot": true` to the configuration passed to
    `--experimental-sea-config`. For example:
    
    ```
    {
        "main": "snapshot.js",
        "output": "sea-prep.blob",
        "useSnapshot": true
    }
    ```
    
    The main script used to build the snapshot must invoke
    `v8.startupSnapshot.setDeserializeMainFunction()` to configure the
    entry point. The generated startup snapshot would be part of the
    preparation blob and get injected into the final executable.
    
    When the single executable application is launched, instead of running
    the `main` script from scratch, Node.js would instead deserialize the
    snapshot to get to the state initialized during build-time directly.
    
    PR-URL: #46824
    Refs: nodejs/single-executable#57
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    joyeecheung authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    5dec186 View commit details
    Browse the repository at this point in the history
  32. src: save the performance milestone time origin in the AliasedArray

    Previously we cache the time origin for the milestones in the user
    land, and refresh it at pre-execution. As result the time origin
    gets serialized into the snapshot and is therefore not deterministic.
    Now we store it in the milestone array as an internal value and
    reset the milestones at serialization time instead of
    deserialization time. This improves the determinism of the snapshot.
    
    Drive-by: remove the unused MarkMilestone() binding.
    PR-URL: #48708
    Refs: nodejs/build#3043
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    joyeecheung authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    ed23426 View commit details
    Browse the repository at this point in the history
  33. test_runner: call abort on test finish

    PR-URL: #48827
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    rluvaton authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    41058be View commit details
    Browse the repository at this point in the history
  34. doc: include experimental features assessment

    PR-URL: #48824
    Refs: nodejs-private/node-private#420
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    c20d35d View commit details
    Browse the repository at this point in the history
  35. test: validate host with commas on url.parse

    PR-URL: #48878
    Refs: #48873
    Refs: #48855
    Refs: #48850
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    anonrig authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    3680a66 View commit details
    Browse the repository at this point in the history
  36. lib: remove invalid parameter to toASCII

    PR-URL: #48878
    Refs: #48873
    Refs: #48855
    Refs: #48850
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    anonrig authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    420b85c View commit details
    Browse the repository at this point in the history
  37. test_runner: fix test_runner test:fail event type

    PR-URL: #48854
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Ethan Arrowood authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    4bd5e55 View commit details
    Browse the repository at this point in the history
  38. typings: sync JSDoc with the actual implementation

    JSDoc comment did not match the actual implementation of
    `FileHandle#readableWebStream`.
    
    Refs: #46933
    PR-URL: #48853
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    illusi0n7 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    be7b511 View commit details
    Browse the repository at this point in the history
  39. src: use ARES_SUCCESS instead of 0

    Since error messages are also using defined values, it is more clear
    to use the defined value even when the operation succeeds.
    
    PR-URL: #48834
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    illusi0n7 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    578c3d1 View commit details
    Browse the repository at this point in the history
  40. deps: upgrade npm to 9.8.1

    PR-URL: #48838
    Reviewed-By: Luke Karrys <luke@lukekarrys.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    npm-cli-bot authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    d960ee0 View commit details
    Browse the repository at this point in the history
  41. test_runner: fix async callback in describe not awaited

    PR-URL: #48856
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    rluvaton authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    65d2394 View commit details
    Browse the repository at this point in the history
  42. permission: move PrintTree into unnamed namespace

    This function is not declared outside of fs_permission.cc and thus
    should not be visible outside the file during the linking stage.
    
    PR-URL: #48874
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    tniessen authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    53ee985 View commit details
    Browse the repository at this point in the history
  43. node-api: avoid macro redefinition

    Even though the redefinition complies with the C standard because the
    second definition is "effectively the same" as the first definition,
    it's best to avoid any redefinition.
    
    Refs: #28237
    Refs: #30006
    PR-URL: #48879
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    015c4f7 View commit details
    Browse the repository at this point in the history
  44. url: ensure getter access do not mutate observable symbols

    PR-URL: #48897
    Refs: #48891
    Refs: #48886
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    aduh95 authored and RafaelGSS committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    b12c3b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. doc: add ver of 18.x where Node-api 9 is supported

    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    PR-URL: #48876
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    mhdawson authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    045e3c5 View commit details
    Browse the repository at this point in the history
  2. http: start connections checking interval on listen

    Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
    PR-URL: #48611
    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>
    2 people authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    742597b View commit details
    Browse the repository at this point in the history
  3. tools: update lint-md-dependencies to rollup@3.26.3

    PR-URL: #48888
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    0cd2393 View commit details
    Browse the repository at this point in the history
  4. doc: improve requireHostHeader

    PR-URL: #48860
    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>
    GuidoPenta authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5e47308 View commit details
    Browse the repository at this point in the history
  5. doc: change duration to duration_ms on test documentation

    PR-URL: #48892
    Fixes: #48887
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    ardinugrxha authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    092f9fe View commit details
    Browse the repository at this point in the history
  6. deps: update ada to 2.6.0

    PR-URL: #48896
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    4b0e505 View commit details
    Browse the repository at this point in the history
  7. doc: run license-builder

    PR-URL: #48898
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    github-actions[bot] authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    660da78 View commit details
    Browse the repository at this point in the history
  8. sea: add support for V8 bytecode-only caching

    Refs: nodejs/single-executable#73
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    PR-URL: #48191
    Fixes: nodejs/single-executable#73
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    RaisinTen authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bc009d0 View commit details
    Browse the repository at this point in the history
  9. fs: make mkdtemp accept buffers and URL

    PR-URL: #48828
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    d634d78 View commit details
    Browse the repository at this point in the history
  10. fs: mention URL in NUL character error message

    PR-URL: #48828
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    c14ff69 View commit details
    Browse the repository at this point in the history
  11. doc: add new reporter events to custom reporter examples

    Fixes: #48894
    PR-URL: #48903
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    atlowChemi authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5173c55 View commit details
    Browse the repository at this point in the history
  12. src: remove ContextEmbedderIndex::kBindingDataStoreIndex

    We can now get the binding data through the reference to the
    realm directly, so remove it from the context embedder data
    slot.
    
    PR-URL: #48836
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e0fdb7b View commit details
    Browse the repository at this point in the history
  13. src,permission: restrict by default when pm enabled

    PR-URL: #48907
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    62a46d9 View commit details
    Browse the repository at this point in the history
  14. module: ensure successful import returns the same result

    PR-URL: #46662
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    a5322c4 View commit details
    Browse the repository at this point in the history
  15. benchmark: add pm startup benchmark

    PR-URL: #48905
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6b27bb0 View commit details
    Browse the repository at this point in the history
  16. lib,permission: drop repl autocomplete when pm enabled

    PR-URL: #48920
    Fixes: #48884
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    a12ce11 View commit details
    Browse the repository at this point in the history
  17. doc: fix second parameter name of events.addAbortListener

    Second parameter name is described as `listener`(not resource)
    in below line.
    
    PR-URL: #48922
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    deokjinkim authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    0db104a View commit details
    Browse the repository at this point in the history
  18. watch: use debounce instead of throttle

    PR-URL: #48926
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    a129962 View commit details
    Browse the repository at this point in the history
  19. watch: decrease debounce rate

    PR-URL: #48926
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b79b292 View commit details
    Browse the repository at this point in the history
  20. doc: improved joinDuplicateHeaders definition

    PR-URL: #48859
    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>
    OnSuorce authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    f3d62ab View commit details
    Browse the repository at this point in the history
  21. test: fix es-module/test-esm-initialization

    PR-URL: #48880
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    314bd60 View commit details
    Browse the repository at this point in the history
  22. test_runner: add __proto__ null

    PR-URL: #48663
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    rluvaton authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    fa19b0e View commit details
    Browse the repository at this point in the history
  23. benchmark: add benchmarks for the test_runner

    PR-URL: #48931
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    rluvaton authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    771abcb View commit details
    Browse the repository at this point in the history
  24. url: fix isURL detection by checking path

    Fixes: #48921
    PR-URL: #48928
    Fixes: getsentry/sentry-javascript#8552
    Fixes: request/request#3458
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Zhangdroid authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    60d6141 View commit details
    Browse the repository at this point in the history
  25. test_runner: unwrap error message in TAP reporter

    The TAP reporter unwraps errors that come from user code. It
    was not properly unwrapping the error message when the failure
    originated from a test hook. This lead to difficult to debug
    errors when TAP output was used. This commit updates the TAP
    reporter to properly unwrap the error message.
    
    Fixes: #48941
    PR-URL: #48942
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    cjihrig authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    5ccfb8d View commit details
    Browse the repository at this point in the history
  26. test_runner: fix todo and only in spec reporter

    PR-URL: #48929
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    52c9490 View commit details
    Browse the repository at this point in the history
  27. test_runner: dont set exit code on todo tests

    PR-URL: #48929
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9136667 View commit details
    Browse the repository at this point in the history
  28. test: improve internal/worker/io.js coverage

    PR-URL: #42387
    Refs: https://coverage.nodejs.org/coverage-6d3920d579a3dc3a/lib/internal/worker/io.js.html#L485
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    kuriyosh authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    62e23f8 View commit details
    Browse the repository at this point in the history
  29. test: fix some assumptions in tests

    Some tests are assuming they will be run from a directory that do not
    contain any quote or special character in its path. That assumption is
    not necessary, using `JSON.stringify` or `pathToFileURL` ensures the
    test can be run whatever the path looks like.
    
    PR-URL: #48958
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b5991f5 View commit details
    Browse the repository at this point in the history
  30. test: order common.mjs in ASCII order

    PR-URL: #48960
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    d4398d4 View commit details
    Browse the repository at this point in the history
  31. diagnostics_channel: fix last subscriber removal

    When iterating over diagnostics channel subscribers, assume their count
    is zero if the list of subscribers becomes undefined, because there may
    be only one subscriber which may unsubscribe itself as part of its
    onMessage handler.
    
    Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
    PR-URL: #48933
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: theanarkh <theratliter@gmail.com>
    gabrielschulhof authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    114e088 View commit details
    Browse the repository at this point in the history
  32. test: fix snapshot tests when cwd contains spaces or backslashes

    Both are valid characters for file names on non-Windows systems.
    
    PR-URL: #48959
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b4ca4a6 View commit details
    Browse the repository at this point in the history
  33. deps: update googletest to c875c4e

    PR-URL: #48964
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6ead861 View commit details
    Browse the repository at this point in the history
  34. tools: update lint-md-dependencies to rollup@3.27.0

    PR-URL: #48965
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e09a6b4 View commit details
    Browse the repository at this point in the history
  35. tools: update eslint to 8.46.0

    PR-URL: #48966
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    c1bd680 View commit details
    Browse the repository at this point in the history
  36. test: validate error code rather than message

    PR-URL: #48972
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9138b78 View commit details
    Browse the repository at this point in the history
  37. src: do not pass user input to format string

    PR-URL: #48973
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    7b9adff View commit details
    Browse the repository at this point in the history
  38. src: cast v8::Object::GetInternalField() return value to v8::Value

    In preparation of https://chromium-review.googlesource.com/c/v8/v8/+/4707972
    which changes the return value to v8::Data.
    
    PR-URL: #48943
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    joyeecheung authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6c389df View commit details
    Browse the repository at this point in the history
  39. doc: drop github actions check in sec release process

    PR-URL: #48978
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9641ac6 View commit details
    Browse the repository at this point in the history
  40. esm: fix typo parentUrl -> parentURL

    PR-URL: #48999
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    74a2e1e View commit details
    Browse the repository at this point in the history
  41. esm: add initialize hook, integrate with register

    Follows @giltayar's proposed API:
    
    > `register` can pass any data it wants to the loader, which will be
    passed to the exported `initialize` function of the loader.
    Additionally, if the user of `register` wants to communicate with the
    loader, it can just create a `MessageChannel` and pass the port to the
    loader as data.
    
    The `register` API is now:
    
    ```ts
    interface Options {
      parentUrl?: string;
      data?: any;
      transferList?: any[];
    }
    
    function register(loader: string, parentUrl?: string): any;
    function register(loader: string, options?: Options): any;
    ```
    
    This API is backwards compatible with the old one (new arguments are
    optional and at the end) and allows for passing data into the new
    `initialize` hook. If this hook returns data it is passed back to
    `register`:
    
    ```ts
    function initialize(data: any): Promise<any>;
    ```
    
    **NOTE**: Currently there is no mechanism for a loader to exchange
    ownership of something back to the caller.
    
    Refs: nodejs/loaders#147
    PR-URL: #48842
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    izaakschroeder authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    386e826 View commit details
    Browse the repository at this point in the history
  42. meta: bump actions/setup-python from 4.6.1 to 4.7.0

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.1 to 4.7.0.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@bd6b4b6...61a6322)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    PR-URL: #48983
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    dependabot[bot] authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    40103ad View commit details
    Browse the repository at this point in the history
  43. meta: bump actions/setup-node from 3.6.0 to 3.7.0

    Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.7.0.
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@64ed1c7...e33196f)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    PR-URL: #48984
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    dependabot[bot] authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    22fc2a6 View commit details
    Browse the repository at this point in the history
  44. meta: bump step-security/harden-runner from 2.4.1 to 2.5.0

    Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.4.1 to 2.5.0.
    - [Release notes](https://github.com/step-security/harden-runner/releases)
    - [Commits](step-security/harden-runner@55d479f...cba0d00)
    
    ---
    updated-dependencies:
    - dependency-name: step-security/harden-runner
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    PR-URL: #48985
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    dependabot[bot] authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    4f88cb1 View commit details
    Browse the repository at this point in the history
  45. meta: bump github/codeql-action from 2.20.1 to 2.21.2

    Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.1 to 2.21.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@f6e388e...0ba4244)
    
    ---
    updated-dependencies:
    - dependency-name: github/codeql-action
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    PR-URL: #48986
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    dependabot[bot] authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    458eaf5 View commit details
    Browse the repository at this point in the history
  46. test: use fixtures.fileURL when appropriate

    PR-URL: #48990
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6c3e5c4 View commit details
    Browse the repository at this point in the history
  47. test: refactor test-node-output-errors

    The main reason is to not have the test fail if the CWD contains some
    special URL chars.
    
    PR-URL: #48992
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b3a7427 View commit details
    Browse the repository at this point in the history
  48. tls: fix bugs of double TLS

    Fixs two issues in `TLSWrap`, one of them is reported in
    #30896.
    
    1. `TLSWrap` has exactly one `StreamListener`, however,
    that `StreamListener` can be replaced. We have not been
    rigorous enough here: if an active write has not been
    finished before the transition, the finish callback of it
    will be wrongly fired the successor `StreamListener`.
    
    2. A `TLSWrap` does not allow more than one active write,
    as checked in the assertion about current_write in
    `TLSWrap::DoWrite()`.
    
    However, when users make use of an existing `tls.TLSSocket`
    to establish double TLS, by
    either
      tls.connect({socket: tlssock})
    or
      tlsServer.emit('connection', tlssock)
    we have both of the user provided `tls.TLSSocket`, tlssock and
    a brand new created `TLSWrap` writing to the `TLSWrap` bound to
    tlssock, which easily violates the constranint because two writers
    have no idea of each other.
    
    The design of the fix is:
    when a `TLSWrap` is created on top of a user provided socket,
    do not send any data to the socket until all existing writes
    of the socket are done and ensure registered callbacks of
    those writes can be fired.
    
    PR-URL: #48969
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    ywave620 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    821b11a View commit details
    Browse the repository at this point in the history
  49. test: use spawn and spawnPromisified instead of exec

    PR-URL: #48991
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b945d7b View commit details
    Browse the repository at this point in the history
  50. doc: remove v14 mention

    PR-URL: #49005
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    7186e02 View commit details
    Browse the repository at this point in the history
  51. doc: clarify use of process.env in worker threads on Windows

    Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
    PR-URL: #49008
    Fixes: #48955
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    daeyeon authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9c26c0f View commit details
    Browse the repository at this point in the history
  52. typings: update JSDoc for cwd in child_process

    PR-URL: #49029
    Refs: #38862
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b82f05c View commit details
    Browse the repository at this point in the history
  53. tools: limit the number of auto start CIs

    PR-URL: #49067
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    a5f3717 View commit details
    Browse the repository at this point in the history
  54. doc: reserve 118 for Electron 27

    Signed-off-by: David Sanders <dsanders11@ucsbalum.com>
    PR-URL: #49023
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    dsanders11 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6ce25f8 View commit details
    Browse the repository at this point in the history
  55. tools: update lint-md-dependencies to rollup@3.27.2

    PR-URL: #49035
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ed065bc View commit details
    Browse the repository at this point in the history
  56. doc: add "type" to test runner event details

    In version 20.0.0 (and backported to 19.9.0 and 18.7.0) the test runner
    started reporting on whether a test was a suite. This was exposed to
    reporters in the `details` object of a `test:pass` or `test:fail` event
    but this hasn't been documented. This adds the `type` property to both
    event's `details` object.
    
    PR-URL: #49014
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    philnash authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    195885c View commit details
    Browse the repository at this point in the history
  57. doc: detailed description of keystrokes Ctrl-Y and Meta-Y

    PR-URL: #43529
    Reviewed-By: James M Snell <jasnell@gmail.com>
    rayw000 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    48f8ccf View commit details
    Browse the repository at this point in the history
  58. doc: add ESM examples in http.md

    PR-URL: #47763
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    btea authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    7e7b554 View commit details
    Browse the repository at this point in the history
  59. doc: add missing period

    PR-URL: #49094
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Trott authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e9d9ca1 View commit details
    Browse the repository at this point in the history
  60. src: fix callback_queue.h missing header

    PR-URL: #48733
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    CGQAQ authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    9d13503 View commit details
    Browse the repository at this point in the history
  61. test: add tmpdir.fileURL()

    PR-URL: #49040
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    669ac03 View commit details
    Browse the repository at this point in the history
  62. esm: protect ERR_UNSUPPORTED_DIR_IMPORT against prototype pollution

    PR-URL: #49060
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    f23b2a3 View commit details
    Browse the repository at this point in the history
  63. test: print instruction for creating missing snapshot in assertSnapshot

    PR-URL: #48914
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    rluvaton authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e70e974 View commit details
    Browse the repository at this point in the history
  64. test: stabilize the inspector-open-dispose test

    Ref: https://ci.nodejs.org/job/node-test-commit-osx-arm/nodes\=osx11/12543/console, nodejs/reliability#631
    PR-URL: #49000
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    atlowChemi authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    7816e04 View commit details
    Browse the repository at this point in the history
  65. doc: add description for --port flag of node inspect

    PR-URL: #48785
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    iloveitaly authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3d36e7a View commit details
    Browse the repository at this point in the history
  66. src: avoid string copy in BuiltinLoader::GetBuiltinIds

    PR-URL: #48721
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    anonrig authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    db4370f View commit details
    Browse the repository at this point in the history
  67. src: modernize use-equals-default

    PR-URL: #48735
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    CGQAQ authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    f126b9e View commit details
    Browse the repository at this point in the history
  68. doc: update with latest security release

    PR-URL: #49085
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    89fa3fa View commit details
    Browse the repository at this point in the history
  69. doc: update process.binding deprecation text

    As part of the recent security release, 4aa0eff updated the
    documentation but bd7443a did not.
    
    PR-URL: #49086
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    tniessen authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    f888a1d View commit details
    Browse the repository at this point in the history
  70. test: reduce flakiness of test-esm-loader-hooks

    PR-URL: #49105
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    2fcb855 View commit details
    Browse the repository at this point in the history
  71. readline: add paste bracket mode

    The paste bracket mode allows REPL to have auto-indentation
    that is handled differently when the user copy-pastes the code
    from the clipboard and the code already has an indentation.
    
    PR-URL: #47150
    Fixes: #45213
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    jcubic authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    8380800 View commit details
    Browse the repository at this point in the history
  72. lib: fix to add resolve() before return at Blob.stream()'s source.pull()

    Add lacked calling resolve() for finish ReadableStream source.pull().
    
    Fixes: #48668
    Fixes: #48916
    Fixes: #48232
    Refs: 8cc1438
    PR-URL: #48935
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    bellbind authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    dca8678 View commit details
    Browse the repository at this point in the history
  73. events: remove weak listener for event target

    Fixes: #48951
    PR-URL: #48952
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    rluvaton authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    d568600 View commit details
    Browse the repository at this point in the history
  74. deps: update undici to 5.23.0

    PR-URL: #49021
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b79c652 View commit details
    Browse the repository at this point in the history
  75. fs: fix readdir recursive sync & callback

    Refs: #48640
    PR-URL: #48698
    Fixes: #48858
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Ethan Arrowood authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3d942d9 View commit details
    Browse the repository at this point in the history
  76. src: remove redundant code for uv_handle_type

    PR-URL: #49061
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Jungku Lee authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e5b0dfa View commit details
    Browse the repository at this point in the history
  77. src: add ability to overload fast api functions

    PR-URL: #48993
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    anonrig authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    497df82 View commit details
    Browse the repository at this point in the history
  78. url: overload canParse V8 fast api method

    PR-URL: #48993
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    anonrig authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    45c8600 View commit details
    Browse the repository at this point in the history
  79. esm: import.meta.resolve exact module not found errors should return

    PR-URL: #49038
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    guybedford authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    57b24a3 View commit details
    Browse the repository at this point in the history
  80. test: document fixtures.fileURL()

    PR-URL: #49083
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    89b1bce View commit details
    Browse the repository at this point in the history
  81. test: add tmpdir.resolve()

    PR-URL: #49079
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    13bd7a0 View commit details
    Browse the repository at this point in the history
  82. module: make CJS load from ESM loader

    PR-URL: #47999
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    1a6e945 View commit details
    Browse the repository at this point in the history
  83. esm: unflag import.meta.resolve

    PR-URL: #49028
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    guybedford authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    eb12158 View commit details
    Browse the repository at this point in the history
  84. stream: improve WebStreams performance

    PR-URL: #49089
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    rluvaton authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    600c08d View commit details
    Browse the repository at this point in the history
  85. esm: fix globalPreload warning

    PR-URL: #49069
    Fixes: #49026
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    31442b9 View commit details
    Browse the repository at this point in the history
  86. lib: fix MIME overmatch in data URLs

    This commit adds the delimiters ^ and $ to the regex that matches the
    MIME types for `data:` URLs.
    
    PR-URL: #49104
    Fixes: #48957
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    andremralves authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b66a3c1 View commit details
    Browse the repository at this point in the history
  87. doc: make the NODE_VERSION_IS_RELEASE revert clear

    PR-URL: #49114
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    aa4caf8 View commit details
    Browse the repository at this point in the history
  88. doc: fix name of the flag in initialize() docs

    PR-URL: #49158
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    91d41e7 View commit details
    Browse the repository at this point in the history
  89. src: refactor vector writing in snapshot builder

    - Build a static table of octal strings and use it instead of
      building octal strings repeatedly during printing.
    - Print a newline and an offset for every 64 bytes in the case
      of printing array literals so it's easier to locate
      variation in snapshot blobs.
    - Rework the printing routines so that the differences are only
      made in a WriteByteVectorLiteral routine. We can update this
      for compression support in the future.
    - Rename Snapshot::Generate() that write the data as C++ source
      instead of a blob as Snaphost::GenerateAsSource() for clarity,
      and move the file stream operations into it to streamline
      error handling.
    
    PR-URL: #48851
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    joyeecheung authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b030004 View commit details
    Browse the repository at this point in the history
  90. src: remove duplicated code in GenerateSingleExecutableBlob()

    PR-URL: #49119
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Jungku Lee authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    8d6948f View commit details
    Browse the repository at this point in the history
  91. deps: update zlib to 1.2.13.1-motley-526382e

    PR-URL: #49033
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bfaa0fb View commit details
    Browse the repository at this point in the history
  92. doc: fix Type notation in webstreams

    Replace `type` with `Type: {Promise}`. Plus, fix incorrect
    verb(`creates` -> `returns`) in description.
    
    PR-URL: #49121
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    deokjinkim authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    032107a View commit details
    Browse the repository at this point in the history
  93. tools: update eslint to 8.47.0

    PR-URL: #49124
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    995cbf9 View commit details
    Browse the repository at this point in the history
  94. deps: update googletest to 7e33b6a

    PR-URL: #49034
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    e14f045 View commit details
    Browse the repository at this point in the history
  95. tools: add @reporters/github to tools

    PR-URL: #49129
    Refs: #49120
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    95a6e76 View commit details
    Browse the repository at this point in the history
  96. tools: use @reporters/github when running in github actions

    PR-URL: #49129
    Refs: #49120
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3471758 View commit details
    Browse the repository at this point in the history
  97. tools: use spec reporter in actions

    PR-URL: #49129
    Refs: #49120
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    MoLow authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    21dc844 View commit details
    Browse the repository at this point in the history
  98. test: refactor test-esm-loader-hooks for easier debugging

    - Always check stderr before stdout as the former would contain error
      information.
    - Always match the full stdout to avoid surprises.
    - Use `deepStrictEqual` when appropriate to get more informative test
      failures.
    - Remove leading slashes from relative paths/URLs to not confuse them
      with absolute paths.
    - Remove unnecessary `--no-warnings` flag.
    
    PR-URL: #49131
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    aduh95 authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    1d17c10 View commit details
    Browse the repository at this point in the history
  99. test: fix assertion message in test_async.c

    PR-URL: #49146
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    3ddb155 View commit details
    Browse the repository at this point in the history
  100. tools: update lint-md-dependencies

    - @rollup/plugin-commonjs@25.0.4
    - rollup@3.28.0
    
    PR-URL: #49122
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    4439327 View commit details
    Browse the repository at this point in the history
  101. test: use tmpdir.resolve() in fs tests

    PR-URL: #49125
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b3c56d2 View commit details
    Browse the repository at this point in the history
  102. test: use tmpdir.resolve() in fs tests

    PR-URL: #49126
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    661b055 View commit details
    Browse the repository at this point in the history
  103. test: use tmpdir.resolve()

    Subsystems: blob, child_process, common, crypto, http, http2,
    readline, repl, snapshot, trace_events
    
    PR-URL: #49127
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6595367 View commit details
    Browse the repository at this point in the history
  104. test: use tmpdir.resolve()

    PR-URL: #49128
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    750cca2 View commit details
    Browse the repository at this point in the history
  105. doc: add print results for examples in WebStreams

    PR-URL: #49143
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Jungku Lee authored and RafaelGSS committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    21949c4 View commit details
    Browse the repository at this point in the history
  106. src: add built-in .env file support

    PR-URL: #48890
    Refs: https://github.com/orgs/nodejs/discussions/44975
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    anonrig authored and UlisesGascon committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    bf7ff36 View commit details
    Browse the repository at this point in the history
  107. deps: update simdutf to 3.2.17

    PR-URL: #49019
    Fixes: #48995
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and UlisesGascon committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    f71e383 View commit details
    Browse the repository at this point in the history
  108. doc: add rluvaton to collaborators

    PR-URL: #49215
    Fixes: #49049
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    rluvaton authored and UlisesGascon committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    00fc8bb View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. deps: V8: cherry-pick 93275031284c

    Original commit message:
    
        [cppgc] expose wrapper descriptor on CppHeap
    
        This makes it possible for embedders to:
    
        1. Avoid creating wrapper objects that happen to have a layout that
          leads V8 to consider the object cppgc-managed while it's not.
          Refs: #43521
        2. Create cppgc-managed wrapper objects when they do not own the
           CppHeap. Refs: #45704
    
        Bug: v8:13960
        Change-Id: If31f4d56c5ead59dc0d56f937494d23d631f7438
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4598833
        Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
        Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#88490}
    
    Refs: v8/v8@9327503
    PR-URL: #48660
    Backport-PR-URL: #49187
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Refs: #40786
    Refs: https://docs.google.com/document/d/1ny2Qz_EsUnXGKJRGxoA-FXIE2xpLgaMAN6jD7eAkqFQ/edit
    joyeecheung authored and UlisesGascon committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    d6862b0 View commit details
    Browse the repository at this point in the history
  2. src: use effective cppgc wrapper id to deduce non-cppgc id

    Previously we hard-code a wrapper id to be used in BaseObjects
    to avoid accidentally triggering cppgc on these non-cppgc-managed
    objects, but hard-coding can be be hacky and result in mismatch
    when we start to create CppHeap ourselves. This patch makes it
    more robust by deducing non-cppgc id from the effective cppgc id,
    if there is one.
    
    PR-URL: #48660
    Backport-PR-URL: #49187
    Refs: v8/v8@9327503
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Refs: #40786
    Refs: https://docs.google.com/document/d/1ny2Qz_EsUnXGKJRGxoA-FXIE2xpLgaMAN6jD7eAkqFQ/edit
    joyeecheung authored and UlisesGascon committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    f2f4ce9 View commit details
    Browse the repository at this point in the history
  3. src,tools: initialize cppgc

    This patch:
    
    - Initializes cppgc in InitializeOncePerProcess() when
      kNoInitializeCppgc is not set
    - Create a CppHeap and attach it to the Isolate when
      there isn't one already during IsolateData initialization.
      The CppHeap is detached and terminated when IsolateData
      is freed.
    - Publishes the cppgc headers in the tarball.
    
    This allows C++ addons to start using cppgc to manage objects.
    
    A helper node::SetCppgcReference() is also added to help addons
    enable cppgc tracing in a user-defined object.
    
    Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
    Refs: #40786
    PR-URL: #45704
    Backport-PR-URL: #49187
    Refs: https://docs.google.com/document/d/1ny2Qz_EsUnXGKJRGxoA-FXIE2xpLgaMAN6jD7eAkqFQ/edit
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    PR-URL: #48660
    Refs: v8/v8@9327503
    2 people authored and UlisesGascon committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    099159c View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. 2023-09-04, Version 20.6.0 (Current)

    Notable changes:
    
    deps:
      * V8: cherry-pick 93275031284c (Joyee Cheung) #48660
    doc:
      * add new TSC members (Michael Dawson) #48841
      * add rluvaton to collaborators (Raz Luvaton) #49215
    esm:
      * unflag import.meta.resolve (Guy Bedford) #49028
      * add `initialize` hook, integrate with `register` (Izaak Schroeder) #48842
      * unflag `Module.register` and allow nested loader `import()` (Izaak Schroeder) #48559
    inspector:
      * (SEMVER-MINOR) open add `SymbolDispose` (Chemi Atlow) #48765
    module:
      * implement `register` utility (João Lenon) #46826
      * make CJS load from ESM loader (Antoine du Hamel) #47999
    src:
      * add built-in `.env` file support (Yagiz Nizipli) #48890
      * initialize cppgc (Daryl Haresign and Joyee Cheung) #48660 and #45704
    test_runner:
      * (SEMVER-MINOR) expose location of tests (Colin Ihrig) #48975
    
    PR-URL: #49185
    UlisesGascon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    9700344 View commit details
    Browse the repository at this point in the history
  2. Working on v20.6.1

    PR-URL: #49185
    UlisesGascon committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    6b5d5b2 View commit details
    Browse the repository at this point in the history