Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Nov 9, 2022

  1. tls: add "ca" property to certificate object

    The objects returned by getPeerCertificate() now have an additional "ca"
    boolean property that indicates whether the certificate is a Certificate
    Authority certificate or not.
    
    Fixes: #44905
    PR-URL: #44935
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    bnoordhuis committed Nov 9, 2022

Commits on Nov 8, 2022

  1. doc: allow for holidays in triage response

    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #45267
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    mhdawson authored and Trott committed Nov 8, 2022
  2. doc: include last security release date

    PR-URL: #45368
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    juanarbol committed Nov 8, 2022
  3. lib: add options to the heap snapshot APIs

    Support configuration of the HeapSnapshotMode and NumericsMode
    fields inf HeapSnapshotOptions in the JS APIs for heap snapshots.
    
    PR-URL: #44989
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung committed Nov 8, 2022
  4. doc: fix email for Ashley

    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    PR-URL: #45364
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ash Cripps <acripps@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
    mhdawson committed Nov 8, 2022
  5. deps: V8: cherry-pick 56816d76c121

    Original commit message:
    
        [loong64] Supplement a LoongArch support in include/v8config.h
    
        Change-Id: I658c1b781163bcd3ca39bfceb74aef9d255247b8
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3894795
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Commit-Queue: Liu Yu <liuyu@loongson.cn>
        Cr-Commit-Position: refs/heads/main@{#83374}
    
    PR-URL: #45353
    Refs: v8/v8@56816d7
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    shipujin committed Nov 8, 2022
  6. tools: update eslint to 8.27.0

    PR-URL: #45358
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot committed Nov 8, 2022

Commits on Nov 7, 2022

  1. test_runner: support function mocking

    This commit allows tests in the test runner to mock functions
    and methods.
    
    PR-URL: #45326
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    cjihrig committed Nov 7, 2022
  2. src: track contexts in the Environment instead of AsyncHooks

    This makes it easier to support the vm contexts in the startup
    snapshot. We now manage the promise hooks using references to
    the contexts from the Environment, and AsyncHooks only hold references
    to the hooks.
    
    PR-URL: #45282
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    joyeecheung committed Nov 7, 2022
  3. test: skip test-fs-largefile if not enough disk space

    Fixes: nodejs/build#3071
    
    PR-URL: #45339
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
    Trott committed Nov 7, 2022
  4. doc: fix test runner's only tests section header

    Only tests are not a subsection of describe/it syntax.
    This commit updates the heading of the 'only tests'
    section to reflect this.
    
    PR-URL: #45343
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    cjihrig committed Nov 7, 2022
  5. test: fix catching failed assertion

    PR-URL: #45222
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    pavelhoral committed Nov 7, 2022
  6. deps: upgrade npm to 8.19.3

    PR-URL: #45322
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    npm-cli-bot committed Nov 7, 2022
  7. test_runner: avoid swallowing of asynchronously thrown errors

    Fixes: #44612
    PR-URL: #45264
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    fossamagna committed Nov 7, 2022
  8. tools: update eslint to 8.26.0

    PR-URL: #45243
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    nodejs-github-bot committed Nov 7, 2022
  9. lib: fix JSDoc issues

    Updating ESLint and dependencies will start flagging a few additional
    JSDoc issues. One or two of these are simple fixes. The ESM stuff
    requires throwing explicitly in JSDoc'ed functions rather than calling
    another function to throw. I think this makes the code easier to
    understand--you don't need to know that a particular function that
    starts with `throwsIf` *might* throw but something that starts with
    `throwsAnythingElse` will always throw. Instead, it's right there in the
    code. This also might make it easier to improve stack traces if that's
    something we'd like to do at some point.
    
    PR-URL: #45243
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Trott authored and nodejs-github-bot committed Nov 7, 2022
  10. crypto: handle more webcrypto errors with OperationError

    PR-URL: #45320
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva committed Nov 7, 2022
  11. crypto: handle unsupported AES ciphers in webcrypto

    Refs: electron/electron#36256
    PR-URL: #45321
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
    panva committed Nov 7, 2022
  12. test_runner: fix afterEach not running on test failures

    test_runner: fix afterEach not running on test failures
    
    PR-URL: #45204
    Fixes: #45192
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    MrJithil committed Nov 7, 2022
  13. tools: update lint-md-dependencies to rollup@3.2.5

    PR-URL: #45332
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot committed Nov 7, 2022
  14. doc: run license-builder

    PR-URL: #45349
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    github-actions[bot] committed Nov 7, 2022
  15. deps: update corepack to 0.15.1

    PR-URL: #45331
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    nodejs-github-bot committed Nov 7, 2022
  16. tools: fix stability index generation

    PR-URL: #45346
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    aduh95 committed Nov 7, 2022

Commits on Nov 6, 2022

  1. src: resolve TODO related to inspector CVEs

    This was not done before the security release because the latest CVE was
    not known at the time.
    
    PR-URL: #45341
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    tniessen committed Nov 6, 2022
  2. util: improve textdecoder decode performance

    PR-URL: #45294
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    anonrig committed Nov 6, 2022
  3. tools: increase macOS cores to 3 on GitHub CI

    In efbec85, we reduced the cores to 2
    based on GitHub documentation. The documentation now says that there are
    3 cores.
    
    Refs: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
    PR-URL: #45340
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott committed Nov 6, 2022
  4. doc: add more info for timer.setInterval

    PR-URL: #45232
    Refs: #45224
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    theanarkh committed Nov 6, 2022
  5. doc: use module names in stability overview table

    PR-URL: #45312
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    panva committed Nov 6, 2022
  6. deps: patch V8 to 10.7.193.20

    Refs: v8/v8@10.7.193.16...10.7.193.20
    PR-URL: #45228
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    targos committed Nov 6, 2022
  7. meta: update AUTHORS

    PR-URL: #45333
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot committed Nov 6, 2022
  8. tools: add automation for updating base64 dependency

    Add a Github Action that checks for new versions of the `base64` C
    library, and creates a PR to update it if a newer version than the one
    present in the repo is found.
    
    Refs: nodejs/security-wg#828
    PR-URL: #45300
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    facutuesca committed Nov 6, 2022

Commits on Nov 5, 2022

  1. doc: add node: prefix for examples

    Core modules are currently distinguished with the `node:` prefix.
    This updates a few examples in docs to use the prefix for consistency.
    
    Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
    PR-URL: #45328
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    daeyeon committed Nov 5, 2022
  2. deps: upgrade to libuv 1.44.2

    Notable changes:
    
    - Build regression fixes for various platform updates
      (libuv/libuv#3428,
      libuv/libuv#3419,
      libuv/libuv#3423,
      libuv/libuv#3413,
      libuv/libuv#3431)
    - Support for GNU/Hurd (libuv/libuv#3450)
    - Release tool improvements
      (libuv/libuv-release-tool#13)
    - Better performing rw locks on Win32 (libuv/libuv#3383)
    - Support for posix_spawn API (libuv/libuv#3257)
    - Fix regression on OpenBSD (libuv/libuv#3506)
    - Add uv_available_parallelism() (libuv/libuv#3499)
    - Don't use thread-unsafe strtok() (libuv/libuv#3524)
    - Fix hang after NOTE_EXIT (libuv/libuv#3521)
    - Better align order-of-events behavior between platforms
      (libuv/libuv#3598)
    - Fix fs event not fired if the watched file is moved/removed/recreated
      (libuv/libuv#3540)
    - Fix pipe resource leak if closed during connect (and other bugs)
      (libuv/libuv#3611)
    - Don't error when killing a zombie process
      (libuv/libuv#3625)
    - Avoid posix_spawnp() cwd bug (libuv/libuv#3597)
    - Skip EVFILT_PROC events when invalidating events for an fd
      (libuv/libuv#3629)
    
    Fixes: #42290
    PR-URL: #42340
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    lpinca committed Nov 5, 2022
  3. test: defer invocation checks

    Do not immediately check the `tcpserver` hook invocations when it
    closes. Do it in the next iteration of the event loop.
    
    PR-URL: #42340
    Refs: #42340 (comment)
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    lpinca committed Nov 5, 2022
  4. lib: use process.nextTick() instead of setImmediate()

    Do not delay the call to `stream.end()` too much.
    
    PR-URL: #42340
    Refs: #42340 (comment)
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    lpinca committed Nov 5, 2022
Older