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

Strict Gregorian calendar interpretation #1

Merged
merged 82 commits into from Mar 3, 2024

Commits on Feb 19, 2024

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

    PR-URL: nodejs#51792
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    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: Joyee Cheung <joyeec9h3@gmail.com>
    RafaelGSS committed Feb 19, 2024
    Copy the full SHA
    9642532 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. doc: add zcbenz to collaborators

    Fixes: nodejs#51479
    PR-URL: nodejs#51812
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    zcbenz committed Feb 20, 2024
    Copy the full SHA
    079c346 View commit details
    Browse the repository at this point in the history
  2. doc,crypto: further clarify RSA_PKCS1_PADDING support

    PR-URL: nodejs#51799
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    tniessen authored and mhdawson committed Feb 20, 2024
    Copy the full SHA
    57f9298 View commit details
    Browse the repository at this point in the history
  3. test: skip test-http-correct-hostname on loong64

    PR-URL: nodejs#51663
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    shipujin authored and mhdawson committed Feb 20, 2024
    Copy the full SHA
    2eaee28 View commit details
    Browse the repository at this point in the history
  4. lib: create global console properties at snapshot build time

    It is safe to create the console properties for the global
    console at snapshot build time. Streams must still be created
    lazily however because they need special synchronization for
    the handles.
    
    PR-URL: nodejs#51700
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    joyeecheung committed Feb 20, 2024
    Copy the full SHA
    7851af0 View commit details
    Browse the repository at this point in the history
  5. src: compile code eagerly in snapshot builder

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

    We previously build the ESM facade (synthetic modules re-exporting
    builtin's exports) for builtins even when they are not directly
    import'ed (which rarely happens for internal builtins as that
    requires --expose-internals). This patch removes
    the eager generation to avoid the overhead and the extra
    promises created in facade building when it's not reqested by the user.
    When the facade is needed the ESM loader that can be requested
    it in the translator on-demand.
    
    Drive-by: set the ModuleWrap prototype to null in the built-in
    snapshot.
    
    PR-URL: nodejs#51669
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    joyeecheung committed Feb 20, 2024
    Copy the full SHA
    87855a5 View commit details
    Browse the repository at this point in the history
  7. benchmark: rename startup.js to startup-core.js

    It is easier to filter the core startup benchmark with this name.
    
    PR-URL: nodejs#51669
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    joyeecheung committed Feb 20, 2024
    Copy the full SHA
    39e3d21 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. lib: add assertion for user ESM execution

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

    PR-URL: nodejs#51806
    Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    RafaelGSS committed Feb 21, 2024
    Copy the full SHA
    1263bb6 View commit details
    Browse the repository at this point in the history
  3. doc: reserve 123 for Electron 30

    PR-URL: nodejs#51803
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
    VerteDinde authored and codebytere committed Feb 21, 2024
    Copy the full SHA
    a0ac8bd View commit details
    Browse the repository at this point in the history
  4. doc: add Paolo to TSC members

    Refs: nodejs/TSC#1501
    
    Signed-off-by: Michael Dawson <midawson@redhat.com>
    PR-URL: nodejs#51825
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    mhdawson committed Feb 21, 2024
    Copy the full SHA
    5dfff3a View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. test: remove test-fs-stat-bigint flaky designation

    Refs: nodejs#31727 (comment)
    PR-URL: nodejs#51735
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    lpinca committed Feb 22, 2024
    Copy the full SHA
    c1fa929 View commit details
    Browse the repository at this point in the history
  2. test: mark test-wasi as flaky on Windows on ARM

    It has failed 22 PRs from the latest 100 CI runs.
    
    PR-URL: nodejs#51834
    Refs: nodejs#51822
    Refs: nodejs/reliability#790
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    joyeecheung committed Feb 22, 2024
    Copy the full SHA
    d51a74a View commit details
    Browse the repository at this point in the history
  3. src: implement v8 array iteration using the new callback-based API

    Using this to iterate over an array can be faster than calling
    Array::Get repeatedly. Local experiment shows that this is faster
    once the array size is bigger than 2.
    
    PR-URL: nodejs#51758
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Feb 22, 2024
    Copy the full SHA
    5cd2ec8 View commit details
    Browse the repository at this point in the history
  4. src: use callback-based array iteration in Blob

    PR-URL: nodejs#51758
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Feb 22, 2024
    Copy the full SHA
    1a8ae9d View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. src: simplify embedder entry point execution

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

    This is a follow-up to nodejs#51605.
    
    PR-URL: nodejs#51818
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    zcbenz committed Feb 23, 2024
    Copy the full SHA
    0992002 View commit details
    Browse the repository at this point in the history
  3. build: fix warning in cares under GN build

    This change can be removed after the upstream fix lands in Node:
    c-ares/c-ares#709
    
    PR-URL: nodejs#51687
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    zcbenz committed Feb 23, 2024
    Copy the full SHA
    f22802c View commit details
    Browse the repository at this point in the history
  4. build,tools: make addons tests work with GN

    PR-URL: nodejs#50737
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    zcbenz committed Feb 23, 2024
    Copy the full SHA
    b1468d2 View commit details
    Browse the repository at this point in the history
  5. build: do not rely on gn_helpers in GN build

    PR-URL: nodejs#51439
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    zcbenz committed Feb 23, 2024
    Copy the full SHA
    f04abdb View commit details
    Browse the repository at this point in the history
  6. node-api: make napi_get_buffer_info check if passed buffer is valid

    PR-URL: nodejs#51571
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Janrupf committed Feb 23, 2024
    Copy the full SHA
    281c342 View commit details
    Browse the repository at this point in the history
  7. inspector: add NodeRuntime.waitingForDebugger event

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

Commits on Feb 24, 2024

  1. test: split wasi tests

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

    Because the previous security release modified the bundled version of
    libuv, we cannot automatically update libuv without potentially undoing
    those changes.
    
    PR-URL: nodejs#51775
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    RafaelGSS committed Feb 24, 2024
    Copy the full SHA
    a492646 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. test: fix test-child-process-fork-net

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

    The recursive fs watch tests that mutate the watched folder
    immediately after fs.watch() returns are all flaking in the
    CI while the others that mutate the folder with a bit of delay
    aren't flaking. So this patch adds a bit of delay for the rest
    of the tests to deflake them.
    
    PR-URL: nodejs#51842
    Refs: nodejs/reliability#790
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung committed Feb 25, 2024
    Copy the full SHA
    7f3852c View commit details
    Browse the repository at this point in the history
  3. build: remove librt libs link for Android compatibility

    PR-URL: nodejs#51632
    Fixes: nodejs#50184
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    MeowShe committed Feb 25, 2024
    Copy the full SHA
    56ced19 View commit details
    Browse the repository at this point in the history
  4. tools: fix missing [[fallthrough]] in js2c

    The latest clang warns about this.
    
    PR-URL: nodejs#51845
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    zcbenz committed Feb 25, 2024
    Copy the full SHA
    d8586db View commit details
    Browse the repository at this point in the history
  5. tools: update lint-md-dependencies to rollup@4.12.0

    PR-URL: nodejs#51795
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot committed Feb 25, 2024
    Copy the full SHA
    921b883 View commit details
    Browse the repository at this point in the history
  6. tools: update lint-md-dependencies to rollup@4.12.0

    PR-URL: nodejs#51795
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot committed Feb 25, 2024
    Copy the full SHA
    cb13e52 View commit details
    Browse the repository at this point in the history
  7. deps: update c-ares to 1.27.0

    PR-URL: nodejs#51846
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot committed Feb 25, 2024
    Copy the full SHA
    3b96741 View commit details
    Browse the repository at this point in the history
  8. deps: update corepack to 0.25.2

    PR-URL: nodejs#51810
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    nodejs-github-bot committed Feb 25, 2024
    Copy the full SHA
    db070ee View commit details
    Browse the repository at this point in the history
  9. test: fix test-bootstrap-modules for coverage generation

    The internal binding profiler is loaded if the test is run with
    NODE_V8_COVERAGE.
    
    PR-URL: nodejs#51816
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
    joyeecheung authored and nodejs-github-bot committed Feb 25, 2024
    Copy the full SHA
    765baa7 View commit details
    Browse the repository at this point in the history
  10. test: fix test-debugger-profile for coverage generation

    The child process should not inherit NODE_V8_COVERAGE because
    that clobbers the inspector output the test is checking.
    
    PR-URL: nodejs#51816
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
    joyeecheung authored and nodejs-github-bot committed Feb 25, 2024
    Copy the full SHA
    1353a7b View commit details
    Browse the repository at this point in the history
  11. crypto: update root certificates to NSS 3.98

    This is the certdata.txt[0] from NSS 3.98, released on 2024-02-15.
    
    This is the version of NSS that will ship in Firefox 124 on
    2024-03-19.
    
    Certificates added:
    - Telekom Security TLS ECC Root 2020
    - Telekom Security TLS RSA Root 2023
    
    Certificates removed:
    - Security Communication Root CA
    
    [0] https://hg.mozilla.org/projects/nss/raw-file/NSS_3_98_RTM/lib/ckfw/builtins/certdata.txt
    
    PR-URL: nodejs#51794
    Reviewed-By: Richard Lau <rlau@redhat.com>
    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 committed Feb 25, 2024
    Copy the full SHA
    13f66c2 View commit details
    Browse the repository at this point in the history
  12. deps: update simdjson to 3.7.0

    PR-URL: nodejs#51859
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    lemire committed Feb 25, 2024
    Copy the full SHA
    bac55f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. test: deflake test-http2-large-write-multiple-requests

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

    Delay access at run time otherwise the value is captured at build
    time and always false.
    
    PR-URL: nodejs#51447
    Reviewed-By: Jithil P Ponnan <jithil@outlook.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Feb 26, 2024
    Copy the full SHA
    9ac98b1 View commit details
    Browse the repository at this point in the history
  3. lib,src: extract sourceMappingURL from module

    PR-URL: nodejs#51690
    Refs: nodejs#51522
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    unbyte authored and legendecas committed Feb 26, 2024
    Copy the full SHA
    fc0f2cf View commit details
    Browse the repository at this point in the history
  4. util: add styleText API to text formatting

    Co-Authored-By: Hemanth HM <hemanth.hm@gmail.com>
    PR-URL: nodejs#51850
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    RafaelGSS and hemanth committed Feb 26, 2024
    Copy the full SHA
    4556445 View commit details
    Browse the repository at this point in the history
  5. deps: update ngtcp2 to 1.3.0

    PR-URL: nodejs#51796
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    nodejs-github-bot committed Feb 26, 2024
    Copy the full SHA
    0350609 View commit details
    Browse the repository at this point in the history
  6. doc: change ExperimentalWarnings to ExperimentalWarning

    PR-URL: nodejs#51741
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    akaustav committed Feb 26, 2024
    Copy the full SHA
    123dc51 View commit details
    Browse the repository at this point in the history
  7. src: stop the profiler and the inspector before snapshot serialization

    Otherwise NODE_V8_COVERAGE would crash in snapshot tests because V8
    cannot serialize the leftover debug infos. This ensures that we clean
    them all up before serialization.
    
    PR-URL: nodejs#51815
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Feb 26, 2024
    Copy the full SHA
    60f09c6 View commit details
    Browse the repository at this point in the history
  8. test_runner: add ref methods to mocked timers

    Fixes: nodejs#51701
    PR-URL: nodejs#51809
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    marco-ippolito committed Feb 26, 2024
    Copy the full SHA
    6cb8a60 View commit details
    Browse the repository at this point in the history
  9. http: fix close return value mismatch between doc and implementation

    PR-URL: nodejs#51797
    Fixes: nodejs#51787
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    kylo5aby committed Feb 26, 2024
    Copy the full SHA
    60ce078 View commit details
    Browse the repository at this point in the history
  10. events: no stopPropagation call in cancelBubble

    PR-URL: nodejs#50405
    Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    mert.altin authored and mhdawson committed Feb 26, 2024
    Copy the full SHA
    399654f View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. tools: update eslint to 8.57.0

    PR-URL: nodejs#51867
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    nodejs-github-bot committed Feb 27, 2024
    Copy the full SHA
    6bb7c4d View commit details
    Browse the repository at this point in the history
  2. lib: move encodingsMap to internal/util

    PR-URL: nodejs#51044
    Refs: nodejs/performance#136
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    joyeecheung committed Feb 27, 2024
    Copy the full SHA
    4cae1b9 View commit details
    Browse the repository at this point in the history
  3. crypto: implement crypto.hash()

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

    PR-URL: nodejs#51874
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Claudio Wunder <cwunder@gnome.org>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    shrujalshah28 committed Feb 27, 2024
    Copy the full SHA
    7824a79 View commit details
    Browse the repository at this point in the history
  5. net: fix connect crash when call destroy in lookup handler

    PR-URL: nodejs#51826
    Fixes: nodejs#50841
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    theanarkh committed Feb 27, 2024
    Copy the full SHA
    292016c View commit details
    Browse the repository at this point in the history
  6. doc: add website team to sharing project news

    PR-URL: nodejs#49002
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    UlisesGascon committed Feb 27, 2024
    Copy the full SHA
    f28ccd3 View commit details
    Browse the repository at this point in the history
  7. src: simplify direct queries of env vars in C++ land

    In many cases we can query the environment variable directly instead
    of encoding it into UTF8 first and then decoding it again from
    UTF8 via an intermediate V8 string.
    
    Drive-by: pass per_process::system_environment explicitly when
    the real environment variables are supposed to be used instead of
    relying on fallback with defaults.
    
    PR-URL: nodejs#51829
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung committed Feb 27, 2024
    Copy the full SHA
    73f150b View commit details
    Browse the repository at this point in the history
  8. stream: fix eventNames() to not return not defined events

    PR-URL: nodejs#51331
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    IlyasShabi committed Feb 27, 2024
    Copy the full SHA
    a51efa2 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. benchmark: update iterations of benchmark/assert/deepequal-map.js

    Fixed: nodejs#50571
    PR-URL: nodejs#51416
    Fixes: nodejs#50571
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    lucshi committed Feb 28, 2024
    Copy the full SHA
    6c080f6 View commit details
    Browse the repository at this point in the history
  2. benchmark: update iterations of assert/deepequal-typedarrays.js

    Fixes: nodejs#50571
    PR-URL: nodejs#51419
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    lucshi committed Feb 28, 2024
    Copy the full SHA
    e8de0f5 View commit details
    Browse the repository at this point in the history
  3. doc: update node-api/node-addon-api team link to sharing project news

    PR-URL: nodejs#51877
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    UlisesGascon committed Feb 28, 2024
    Copy the full SHA
    a8eaa0d View commit details
    Browse the repository at this point in the history
  4. doc: remove redundant backquote which breaks sentence

    PR-URL: nodejs#51904
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    JounQin committed Feb 28, 2024
    Copy the full SHA
    2f01f02 View commit details
    Browse the repository at this point in the history
  5. meta: move one or more collaborators to emeritus

    PR-URL: nodejs#51726
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    nodejs-github-bot committed Feb 28, 2024
    Copy the full SHA
    8a94177 View commit details
    Browse the repository at this point in the history
  6. test: test surrogate pair filenames on windows

    PR-URL: nodejs#51800
    Fixes: nodejs#51789
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    mertcanaltin authored and richardlau committed Feb 28, 2024
    Copy the full SHA
    8e7da60 View commit details
    Browse the repository at this point in the history
  7. perf_hooks: performance milestone time origin timestamp improvement

    PR-URL: nodejs#51713
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    IlyasShabi committed Feb 28, 2024
    Copy the full SHA
    f4af4b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. test_runner: serialize 'expected' and 'actual' in isolation

    Previously, a value seen in 'actual' would be serialized as a circular
    reference if it had also appeared in 'expected'.
    
    PR-URL: nodejs#51851
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    malthe committed Feb 29, 2024
    Copy the full SHA
    3ef7117 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade npm to 10.5.0

    PR-URL: nodejs#51913
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    npm-cli-bot committed Feb 29, 2024
    Copy the full SHA
    c08b797 View commit details
    Browse the repository at this point in the history
  3. lib: fix http client socket path

    PR-URL: nodejs#51900
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    theanarkh committed Feb 29, 2024
    Copy the full SHA
    f63e8b7 View commit details
    Browse the repository at this point in the history
  4. lib: account for cwd access from snapshot serialization cb

    Functions registered with `addSerializeCallback()` can access and call
    `process.cwd()`. b7d836e accounted for the fact that it is
    necessary to reset the cwd cache after the snapshot builder script has
    run, but did not account for possible accesses from serialization
    callbacks. To properly account for these, add a deserialization
    callback as well.
    
    As a related drive-by fix, also mention the execution order of
    callbacks in the documentation.
    
    Refs: nodejs#49684
    PR-URL: nodejs#51901
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    addaleax committed Feb 29, 2024
    Copy the full SHA
    40565e9 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. test: fix unreliable assumption in js-native-api/test_cannot_run_js

    Previously the test assumes that when the queued finalizer is run,
    it must be run at a point where env->can_call_into_js() is false
    (typically, during Environment shutdown), which is not certain.
    If GC kicks in early and the second pass finalizer is queued before
    the event loop runs the check callbacks, the finalizer would then
    be called in check callbacks (via native immediates), where
    the finalizer can still call into JS. Essentially, addons can't
    make assumptions about where the queued finalizer would be called.
    This patch updates the assertions in the test to account for that.
    
    PR-URL: nodejs#51898
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Mar 1, 2024
    Copy the full SHA
    30c9181 View commit details
    Browse the repository at this point in the history
  2. test_runner: add test:complete event to reflect execution order

    PR-URL: nodejs#51909
    Fixes: nodejs#51907
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    MoLow committed Mar 1, 2024
    Copy the full SHA
    aac5ad9 View commit details
    Browse the repository at this point in the history
  3. tools: fix installing node with shared mode

    Fix a bug caused by nodejs#50737 that,
    make install fails for --shared mode.
    
    PR-URL: nodejs#51910
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    zcbenz committed Mar 1, 2024
    Copy the full SHA
    6aa1d98 View commit details
    Browse the repository at this point in the history
  4. test_runner: improve --test-name-pattern to allow matching single test

    Try to match a test by name prefixed with all its ancestors
    to ensure uniqueness of the name
    
    Fixes: nodejs#46728
    PR-URL: nodejs#51577
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    mdrobny committed Mar 1, 2024
    Copy the full SHA
    00dc6d9 View commit details
    Browse the repository at this point in the history
  5. lib: return directly if udp socket close before lookup

    PR-URL: nodejs#51914
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    theanarkh committed Mar 1, 2024
    Copy the full SHA
    d405a60 View commit details
    Browse the repository at this point in the history
  6. report: add --report-exclude-network option

    New option `--report-exclude-network`, also available as
    `report.excludeNetwork`, enables the user to exclude
    networking interfaces in their diagnostic report.
    On some systems, this can cause the report to take minutes
    to generate so this option can be used to optimize that.
    
    Fixes: nodejs#46060
    
    PR-URL: nodejs#51645
    
    Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Ethan-Arrowood and joyeecheung committed Mar 1, 2024
    Copy the full SHA
    009665f View commit details
    Browse the repository at this point in the history
  7. src: fix --disable-single-executable-application

    Previously it would not compile if the build is configured with
    --disable-single-executable-application because we use directives
    to exclude the definition of SEA-related code completely. This patch
    changes them so that the SEA code are still compiled and internals
    can still check whether the executable is an SEA. The executable would
    not try to load the SEA blob at all if SEA is disabled. If future
    modifications to the C++ code attempt to load the SEA blob when SEA
    is disabled, UNREACHABLE() would be raised. If user attempt to
    generate the SEA blob with --experimental-sea-config with an executable
    that disables SEA, they would get an error.
    
    PR-URL: nodejs#51808
    Fixes: nodejs#51730
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    joyeecheung committed Mar 1, 2024
    Copy the full SHA
    01cb943 View commit details
    Browse the repository at this point in the history
  8. test: skip SEA tests when SEA generation fails

    In the SEA tests, if any of these steps fail:
    
    1. Copy the executable
    2. Inject the SEA blob
    3. Signing the SEA
    
    We skip the test because the error likely comes from the system or
    postject and is not something the Node.js core can fix. We only leave
    an exception for a basic test that test injecting empty files as
    SEA to ensure the workflow is working (but we still skip if copying
    fails or signing fails on Windows).
    
    PR-URL: nodejs#51887
    Refs: nodejs#49630
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    joyeecheung committed Mar 1, 2024
    Copy the full SHA
    17e0e3e View commit details
    Browse the repository at this point in the history
  9. doc: clarify Corepack threat model

    PR-URL: nodejs#51917
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    aduh95 committed Mar 1, 2024
    Copy the full SHA
    1429381 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. test_runner: add support for null and date value output

    PR-URL: nodejs#51920
    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: Antoine du Hamel <duhamelantoine1995@gmail.com>
    malthe committed Mar 2, 2024
    Copy the full SHA
    8451990 View commit details
    Browse the repository at this point in the history
  2. test: remove flaky designation

    Searching the automatically-generated test failure reports in the issues
    at https://github.com/nodejs/reliability/issues, I don't see
    `test-worker-message-port-message-before-close` failing any time
    recently.
    
    PR-URL: nodejs#51736
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    lpinca committed Mar 2, 2024
    Copy the full SHA
    5c97f41 View commit details
    Browse the repository at this point in the history
  3. doc,module: clarify hook chain execution sequence

    PR-URL: nodejs#51884
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    JakobJingleheimer committed Mar 2, 2024
    Copy the full SHA
    2e2a848 View commit details
    Browse the repository at this point in the history
  4. doc: fix actual result of example is different in events

    Refs: nodejs#50428
    PR-URL: nodejs#51925
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    deokjinkim committed Mar 2, 2024
    Copy the full SHA
    9930f11 View commit details
    Browse the repository at this point in the history
  5. v8: implement v8.queryObjects() for memory leak regression testing

    This is similar to the `queryObjects()` console API provided by the
    Chromium DevTools console. It can be used to search for objects that
    have the matching constructor on its prototype chain in the entire
    heap, which can be useful for memory leak regression tests. To avoid
    surprising results, users should avoid using this API on constructors
    whose implementation they don't control, or on constructors that can
    be invoked by other parties in the application.
    
    To avoid accidental leaks, this API does not return raw references to
    the objects found. By default, it returns the count of the objects
    found. If `options.format` is `'summary'`, it returns an array
    containing brief string representations for each object. The visibility
    provided in this API is similar to what the heap snapshot provides,
    while users can save the cost of serialization and parsing and directly
    filer the target objects during the search.
    
    We have been using this API internally for the test suite, which
    has been more stable than any other leak regression testing
    strategies in the CI. With a public implementation we can now
    use the public API instead.
    
    PR-URL: nodejs#51927
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    joyeecheung committed Mar 2, 2024
    Copy the full SHA
    7f2d61f View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. doc: add policy for distribution

    PR-URL: nodejs#51918
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
    GeoffreyBooth committed Mar 3, 2024
    Copy the full SHA
    2a70831 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    0663467 View commit details
    Browse the repository at this point in the history