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

V16.18.0 proposal #44886

Merged
merged 336 commits into from Oct 12, 2022
Merged

V16.18.0 proposal #44886

merged 336 commits into from Oct 12, 2022
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Oct 11, 2022

  1. test: use mustSucceed instead of mustCall with assert.ifError

    PR-URL: #44196
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    fossamagna authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8725a87 View commit details
    Browse the repository at this point in the history
  2. doc: improved building doc for Android

    PR-URL: #44166
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    MeowShe authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6196bce View commit details
    Browse the repository at this point in the history
  3. build: enable pointer authentication for branch protection on arm64

    PR-URL: #43200
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    jgowdy-godaddy authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    aaad7a6 View commit details
    Browse the repository at this point in the history
  4. errors: refactor to use optional chaining

    PR-URL: #44184
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    xtx1130 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9593c37 View commit details
    Browse the repository at this point in the history
  5. src: fix --heapsnapshot-near-heap-limit error hint

    PR-URL: #44216
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c045faf View commit details
    Browse the repository at this point in the history
  6. meta: update AUTHORS

    PR-URL: #44231
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    d535190 View commit details
    Browse the repository at this point in the history
  7. test: mark connection leak test flaky on IBM i

    Mark `test-http-pipeline-requests-connection-leak` flaky on IBM i.
    
    PR-URL: #44215
    Refs: #43509
    Refs: #39683
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    richardlau authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4485ade View commit details
    Browse the repository at this point in the history
  8. tools: update lint-md-dependencies to rollup@2.77.3

    PR-URL: #44230
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e42227a View commit details
    Browse the repository at this point in the history
  9. deps: update corepack to 0.12.3

    PR-URL: #44229
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2a44872 View commit details
    Browse the repository at this point in the history
  10. doc: add cola119 to collaborators

    Fixes: #44123
    
    PR-URL: #44248
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    cola119 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4294836 View commit details
    Browse the repository at this point in the history
  11. test: move "errors" test to "parallel"

    PR-URL: #44233
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    targos authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    003ab59 View commit details
    Browse the repository at this point in the history
  12. report: skip report if uncaught exception is handled

    If the exception is handled by the userland
    process#uncaughtException handler, reports should not be generated
    repetitively as the process may continue to run.
    
    PR-URL: #44208
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ff34d48 View commit details
    Browse the repository at this point in the history
  13. http: add max for http keepalive

    PR-URL: #44217
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    fa6183f View commit details
    Browse the repository at this point in the history
  14. tools: update lint-md-dependencies to rollup@2.78.0

    PR-URL: #44244
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    df49c42 View commit details
    Browse the repository at this point in the history
  15. trace_events: add example

    PR-URL: #43253
    Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    cb6b57f View commit details
    Browse the repository at this point in the history
  16. tls: use logical OR operator

    Use the logical OR operator instead of the ternary operator where
    applicable.
    
    PR-URL: #44236
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    VoltrexKeyva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e4b4b37 View commit details
    Browse the repository at this point in the history
  17. tools: update ESLint to 8.22.0

    PR-URL: #44243
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    lpinca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9391ebd View commit details
    Browse the repository at this point in the history
  18. meta: update web streams in label-pr-config

    Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
    PR-URL: #44235
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    dc5478a View commit details
    Browse the repository at this point in the history
  19. lib: refactor to avoid prototype pollution

    PR-URL: #43474
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a99e236 View commit details
    Browse the repository at this point in the history
  20. deps: upgrade npm to 8.18.0

    PR-URL: #44263
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    npm-cli-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    fdb699c View commit details
    Browse the repository at this point in the history
  21. src: avoid copying BaseObjectPtrs in loop

    While copying BaseObjectPtrs is cheap, it is not a no-op, so it is best
    to iterate over references to BaseObjectPtrs only.
    
    PR-URL: #44270
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8195c81 View commit details
    Browse the repository at this point in the history
  22. doc,report: document special filenames

    Filenames `stdout` and `stderr` have special meanings when writing
    the report.
    
    PR-URL: #44257
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4308d95 View commit details
    Browse the repository at this point in the history
  23. src: extract common context embedder tag checks

    Extract common context embedder tag checks to ContextEmbedderTag so
    that verifying if a context is a node context doesn't need to access
    private members of node::Environment.
    
    PR-URL: #44258
    Refs: #44179
    Refs: #44252
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b186684 View commit details
    Browse the repository at this point in the history
  24. doc: add TypeScript execution requirements

    Add section with high level approach/requirements for
    enabling TypeScript execution as discussed in the Next-10
    [TypeScript mini-summit](nodejs/next-10#150)
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #44030
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    mhdawson authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5978eb1 View commit details
    Browse the repository at this point in the history
  25. test: add coverage for invalid RSA-PSS digests

    PR-URL: #44271
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    73cd9dd View commit details
    Browse the repository at this point in the history
  26. src: refactor to avoid using a moved object

    KeyPairGenTraits::EncodeKey should not use an object that it previously
    moved. Make ManagedEVPPKey::ToEncoded(Public|Private)Key non-static
    members of ManagedEVPPKey and call them on the key object instead.
    
    PR-URL: #44269
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ac2edbc View commit details
    Browse the repository at this point in the history
  27. doc: fix typo

    PR-URL: #44262
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    h-a-n-a authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    87cc487 View commit details
    Browse the repository at this point in the history
  28. doc: fix optionality of callback arg of checkPrime

    The callback argument is required.
    
    PR-URL: #44311
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5ac344b View commit details
    Browse the repository at this point in the history
  29. test_runner: fix test runner hooks failure stack

    PR-URL: #44284
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    MoLow authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    56dc4b3 View commit details
    Browse the repository at this point in the history
  30. meta: update AUTHORS

    PR-URL: #44321
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    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 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4bdd4a3 View commit details
    Browse the repository at this point in the history
  31. src: use imported namespaces in node_contextify.cc

    PR-URL: #44299
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    juanarbol committed Oct 11, 2022
    Copy the full SHA
    525fbfd View commit details
    Browse the repository at this point in the history
  32. tools: update lint-md-dependencies to rollup@2.78.1

    PR-URL: #44320
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0bf57df View commit details
    Browse the repository at this point in the history
  33. fs: add encoding parameter to benchmarks

    PR-URL: #44278
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    anonrig authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    bf217f8 View commit details
    Browse the repository at this point in the history
  34. deps: update corepack to 0.13.0

    PR-URL: #44318
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    763a63c View commit details
    Browse the repository at this point in the history
  35. lib: add diagnostics channel and perf hooks detail

    Co-Authored-By: theanarkh <theratliter@gmail.com>
    PR-URL: #43984
    Backport-PR-URL: #44256
    Reviewed-By: Matteo Collina matteo.collina@gmail.com
    Reviewed-By: Mohammed Keyvanzadeh mohammadkeyvanzade94@gmail.com
    Reviewed-By: Minwoo Jung nodecorelab@gmail.com
    2 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9dad4b0 View commit details
    Browse the repository at this point in the history
  36. test: deflake test-diagnostics-channel-net

    This test uses the deprecated methods in `diagnostic_channel` (see the
    reference), which are deprecated because the channels can be GC'd while
    in use, leading to lost messages.
    
    Change to use the non-deprecated APIs, which should work. I wasn't able
    to reproduce this locally; I assume it's memory dependent.
    
    Refs: #42714
    Fixes: #44143
    PR-URL: #44144
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    kvakil authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    03b8cb8 View commit details
    Browse the repository at this point in the history
  37. deps: upgrade npm to 8.19.1

    PR-URL: #44486
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    npm-cli-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8a921fe View commit details
    Browse the repository at this point in the history
  38. deps: update undici to 5.9.1

    PR-URL: #44319
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0c4953c View commit details
    Browse the repository at this point in the history
  39. deps: update icu tzdata to 2022b

    Following the documentation at:
    https://github.com/nodejs/node/blob/main/doc/contributing/maintaining-icu.md#time-zone-data
    
    Refs: nodejs/Release#773
    Refs: unicode-org/icu-data#29
    
    PR-URL: #44283
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Manizuca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1811a6a View commit details
    Browse the repository at this point in the history
  40. deps: update Acorn to v8.8.0

    PR-URL: #44437
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    targos authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9f14dc1 View commit details
    Browse the repository at this point in the history
  41. deps: update corepack to 0.14.0

    PR-URL: #44509
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    67cbbcc View commit details
    Browse the repository at this point in the history
  42. doc: add missing parenthesis in TLSSocket section

    PR-URL: #44512
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    89e5ac9 View commit details
    Browse the repository at this point in the history
  43. doc: add missing imports in events sample code

    There were missing imports in the example for using
    `EventEmitterAsyncResource`, so I added them in both ESM and CJS.
    
    PR-URL: #44337
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    mrbrianevans authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    cf60c6b View commit details
    Browse the repository at this point in the history
  44. build: added NINJA env to customize ninja binary

    Fixes: #44286
    PR-URL: #44293
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    jdx authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2a4491b View commit details
    Browse the repository at this point in the history
  45. test: make tmpdir.js importable from esm

    PR-URL: #44322
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ian Sutherland <ian@iansutherland.ca>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    GeoffreyBooth authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c397bb9 View commit details
    Browse the repository at this point in the history
  46. test: remove duplicate test

    The test in `test/parallel/test-stream-writable-callback-twice.js` is
    duplicated in `test/parallel/test-stream-writable-write-cb-twice.js`.
    
    PR-URL: #44313
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    lpinca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b2b9de9 View commit details
    Browse the repository at this point in the history
  47. doc: fix style of n-api.md

    PR-URL: #44377
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Adrian Estrada <edsadr@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c145806 View commit details
    Browse the repository at this point in the history
  48. doc: add daeyeon to collaborators

    Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
    PR-URL: #44355
    Fixes: #44142
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    17c5b97 View commit details
    Browse the repository at this point in the history
  49. doc: fix typo in test runner code examples

    PR-URL: #44351
    Reviewed-By: Jacob Smith <jacob@frende.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    MoLow authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    eb90d65 View commit details
    Browse the repository at this point in the history
  50. doc: add history for net.createServer() options

    Fixes: #44298
    PR-URL: #44326
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    lpinca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a1dbe4b View commit details
    Browse the repository at this point in the history
  51. doc: do not use "Returns:" for crypto.constants

    This is not a function and should not use the term "return" to describe
    its type or value.
    
    PR-URL: #44481
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8ea3e6f View commit details
    Browse the repository at this point in the history
  52. doc: use serial comma in addons docs

    Refs: #11321
    Refs: #17384
    PR-URL: #44482
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0e99139 View commit details
    Browse the repository at this point in the history
  53. doc: apply scroll-margin-top to h2, h3 elements

    PR-URL: #44414
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    metonym authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a5906a0 View commit details
    Browse the repository at this point in the history
  54. doc: fix spacing issue in --build-snapshot help text

    PR-URL: #44435
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    syohex authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4a40251 View commit details
    Browse the repository at this point in the history
  55. doc: mention cherry-pick edge-case on release

    PR-URL: #44408
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7ec097f View commit details
    Browse the repository at this point in the history
  56. doc: note on release guide to update main branch

    Added an extra command to make sure to remind me (and other releasers)
    to update the `main` branch _before_ cherry-picking the release commit
    to the branch.
    
    Adding this command will often avoid unnecessary extra-work in case
    there are mismatches between the local state of the main branch and
    remote.
    
    PR-URL: #44384
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    ruyadorno authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7b69172 View commit details
    Browse the repository at this point in the history
  57. doc: fix release guide example consistency

    This changeset fixes two consistency issues in this single example that
    guides releasers on how to push the tag to the remote repo.
    
    The first issue is that the remote git reference is consistently
    referred as `upstream` elsewhere in the guide.
    
    The second issue being that the version example used in the rest of the
    guide should be a fictional `v1.2.3` as stated in the "How to create a
    release" guide notes:
    
    >  * Examples will use the fictional release version `1.2.3`.
    
    PR-URL: #44385
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    ruyadorno authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1998bc8 View commit details
    Browse the repository at this point in the history
  58. report: add queue info for udp

    PR-URL: #44345
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    779761d View commit details
    Browse the repository at this point in the history
  59. meta: update AUTHORS

    PR-URL: #44422
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    edb0851 View commit details
    Browse the repository at this point in the history
  60. meta: update AUTHORS

    PR-URL: #44511
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    aa68a31 View commit details
    Browse the repository at this point in the history
  61. tools: update eslint to 8.23.0

    PR-URL: #44419
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2891d9f View commit details
    Browse the repository at this point in the history
  62. tools: update doc to unist-util-visit@4.1.1

    PR-URL: #44370
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b3629da View commit details
    Browse the repository at this point in the history
  63. tools: don't use f-strings in test.py

    PR #43954 introduced the use of f-strings to `test.py` making the script
    only work with python versions >= 3.6. Remove that use to make it
    compatible again with older python versions.
    
    PR-URL: #44407
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    santigimeno authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    255023f View commit details
    Browse the repository at this point in the history
  64. tools: update lint-md-dependencies to rollup@2.79.0

    PR-URL: #44510
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    bad8ecc View commit details
    Browse the repository at this point in the history
  65. lib: use safe Promise alternatives when available

    PR-URL: #43476
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    59be5f8 View commit details
    Browse the repository at this point in the history
  66. debugger: decrease timeout used to wait for the port to be free

    By default, the debugger would query the specified inspector
    sever port to see if it's available before starting the server,
    and it would keep retrying until a timeout (previously 9999 ms)
    is reached. This timeout seems to be longer than necessary. This
    patch decreases the timeout to 3 seconds.
    
    PR-URL: #44359
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f717c1e View commit details
    Browse the repository at this point in the history
  67. src: make minor improvements to SecureBuffer

    Remove an unnecessary static_cast<char*>().
    
    Use OPENSSL_secure_zalloc() instead of OPENSSL_secure_malloc() +
    memset().
    
    Update the comment describing the function which predates support for
    OpenSSL's secure heap.
    
    PR-URL: #44302
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2f3502f View commit details
    Browse the repository at this point in the history
  68. tls: use OpenSSL constant for client random size

    Avoid magic numbers in the code and use an OpenSSL constant instead.
    
    PR-URL: #44305
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c35a071 View commit details
    Browse the repository at this point in the history
  69. test: raise sleep times in child process tests

    sequential/test-child-process-execsync and
    parallel/test-child-process-spawnsync-timeout are both flaky
    on azure Windows machines, where it may take longer for Node.js
    to launch and receive output from child processes. These tests
    work by spawning a child processes that is supposed to sleep
    for a long time, but the option is configured so that Node.js
    would terminate them early when a shorter timeout is reached.
    Then the tests assert that the time taken for the whole thing
    is shorter than the specified sleep time (meaning the process
    don't actually get to sleep for that long). To make the tests
    less brittle on azure Windows, this patch raises the sleep
    times in those tests on Windows platform, so that the overhead
    can be taken into account there.
    
    PR-URL: #44375
    Refs: nodejs/build#3014
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6990833 View commit details
    Browse the repository at this point in the history
  70. test: fix multiple incorrect mustNotCall() uses

    This does not fix occurrences in test/parallel/test-dns-* because those
    tests contain unrelated pre-existing bugs that would cause the tests to
    fail with this fix. This unrelated bug in those tests should be fixed
    separately before the use of mustNotCall() can be fixed in those files.
    
    PR-URL: #44022
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a139f5d View commit details
    Browse the repository at this point in the history
  71. test: split heap prof tests

    The original heap prof tests can take too long to complete on
    azure Windows machines, resulting in timeouts. Split them into
    smaller tests and move them into the parallel directory to
    speed up the execution.
    
    PR-URL: #44388
    Refs: nodejs/reliability#356
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b5901a0 View commit details
    Browse the repository at this point in the history
  72. test: make the vm timeout escape tests more lenient

    Previously the tests required that Node.js finish the initialization
    of the watchdog thread and fires the timeout within 100ms, which
    can be difficult on certain systems under load. This patch
    relaxes the requirement to 2000ms. If there is a bug and the
    timeout can actually be escaped, raising the timeout to 2000ms
    would not make a difference anyway.
    
    PR-URL: #44433
    Refs: nodejs/reliability#333
    Refs: nodejs/reliability#361
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c3429ab View commit details
    Browse the repository at this point in the history
  73. test: deflake child process exec timeout tests

    On Windows it might take too long for the parent to start the
    communication with a child process, so by the time the parent
    starts its own timer, the child process might have already
    completed running, and the parent in those tests won't have a
    chance to terminate these child processes after the timeout.
    To address this issue, raise the time for which the child is
    supposed to run to make sure that the parent starts
    its own timer before the child terminates in the tests.
    Also, split the test into smaller ones to reduce the overhead.
    
    PR-URL: #44390
    Refs: nodejs/reliability#356
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    edb3335 View commit details
    Browse the repository at this point in the history
  74. test: avoid race in file write stream handle tests

    The test previously created two fs.promises.open calls on the
    same file with w+ back-to-back, and one of them could fail
    when checking the contents of that file if the other happened
    to be opening the file for write. Split them into different
    tests (with different tmpdir) to avoid the race.
    
    PR-URL: #44380
    Refs: nodejs/reliability#354
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Evan Lucas <evanlucas@me.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5af3a5d View commit details
    Browse the repository at this point in the history
  75. crypto: improve RSA-PSS digest error messages

    md and mgf1_md are internal variable names and should not appear in
    JS error messages. Also include the invalid digest name in the error
    message.
    
    PR-URL: #44307
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    566d80f View commit details
    Browse the repository at this point in the history
  76. src: fix multiple format string bugs

    The THROW_ERR_* functions interpret the first argument as a printf-like
    format string, which is problematic when it contains unsanitized user
    input. This typically happens when a printf-like function is used to
    produce the error message, which is then passed to a THROW_ERR_*
    function, which again interprets the error message as a format string.
    
    Fix such occurrences by properly formatting error messages using static
    format strings only, and in a single step.
    
    PR-URL: #44314
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f0d841f View commit details
    Browse the repository at this point in the history
  77. tty: fix TypeError when stream is closed

    Fixes: #41330
    PR-URL: #43803
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    be863b7 View commit details
    Browse the repository at this point in the history
  78. src: remove KeyObjectData::symmetric_key_len_

    symmetric_key_len_ is always equal to symmetric_key_.size(). Storing it
    separately is redundant and has no significant benefit.
    
    PR-URL: #44346
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a6ce1de View commit details
    Browse the repository at this point in the history
  79. node-api: cleanup redundant static modifiers

    Functions declared in anonymous namespaces are not necessarily to be
    marked as static.
    
    PR-URL: #44301
    Refs: #44141
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5b5d95d View commit details
    Browse the repository at this point in the history
  80. src: simplify ECDH::GetCurves()

    There is no need to explicitly branch based on num_curves or on the
    return value of the second call to EC_get_builtin_curves. Remove
    unnecessary branches and replace the loop with a functional transform.
    
    PR-URL: #44309
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4c27d77 View commit details
    Browse the repository at this point in the history
  81. build: add --libdir flag to configure

    This will allow distribution packages to select an alternative
    location for the unofficial libnode.so. For example, on Fedora it
    will install into /usr/lib64 on 64-bit systems.
    
    Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
    PR-URL: #44361
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    sgallagher authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e96bb14 View commit details
    Browse the repository at this point in the history
  82. src: simplify and optimize GetOpenSSLVersion()

    The previous implementation was typically compiled to a fair amount of
    code even though all inputs are available at compile time.
    
    The fact that GetOpenSSLVersion() returns a std::string and used an
    uninitialized buffer with snprintf made it impossible to make
    GetOpenSSLVersion() a constexpr, and compilers would typically emit code
    to dynamically construct the resulting string.
    
    The simplified implementation usually boils down to a few mov
    instructions.
    
    (Ideally, this function could be a constexpr returning a
    std::string_view, but that does not have any advantage in the current
    design of node::Metadata::Versions which stores versions as
    std::string instances.)
    
    Also make the function static since it is not in an anonymous namespace
    and change the argument types and the return type of search() to
    types that are more appropriate, semantically. (The use of snprintf
    previously made this difficult.) Lastly, make the n argument of search()
    optional because the simplified implementation always sets it to 0
    except during recursive calls within search() itself.
    
    PR-URL: #44395
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    dd08d6c View commit details
    Browse the repository at this point in the history
  83. cluster: fix cluster rr distribute error

    PR-URL: #44202
    Reviewed-By: James M Snell <jasnell@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a3bdd07 View commit details
    Browse the repository at this point in the history
  84. src: trace fs async api

    PR-URL: #44057
    Reviewed-By: James M Snell <jasnell@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6b8ed27 View commit details
    Browse the repository at this point in the history
  85. src: fix ssize_t error from nghttp2.h

    The "node_http2.h" include reordering enforced by clang-format broke
    Electron's Node.js upgrade on Windows. ssize_t is a part of the POSIX
    standard and it's not available on Windows, so the fix for this is to
    include "node.h" which typedefs it on Windows in
    https://github.com/nodejs/node/blob/bb4dff783ddb3b20c67041f7ccef796c335c2407/src/node.h#L212-L220.
    
    Refs: electron/electron#35350 (comment)
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    PR-URL: #44393
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    RaisinTen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    aa80826 View commit details
    Browse the repository at this point in the history
  86. src: make Endianness an enum class

    PR-URL: #44411
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a711080 View commit details
    Browse the repository at this point in the history
  87. src: fix uv_err_name memory leak

    PR-URL: #44421
    Refs: #44401
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a3dc7e1 View commit details
    Browse the repository at this point in the history
  88. src: remove base64_select_table and base64_table

    node::base64_encode() uses ::base64_encode() when the mode is
    Base64Mode::NORMAL, so base64_select_table is only ever called for
    Base64Mode::URL and thus only ever returns base64_table_url, but never
    base64_table.
    
    Also move base64_table_url into base64-inl.h.
    
    PR-URL: #44425
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c7713f1 View commit details
    Browse the repository at this point in the history
  89. node-api: avoid calling virtual methods in base's dtor

    Derived classes' fields are already destroyed if the virtual methods are
    invoked in the base class's destructor. It is not safe to call virtual
    methods in base's dtor.
    
    PR-URL: #44424
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f38987e View commit details
    Browse the repository at this point in the history
  90. src: add error handling to uv_uptime call

    PR-URL: #44386
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    juanarbol committed Oct 11, 2022
    Copy the full SHA
    8f3ed25 View commit details
    Browse the repository at this point in the history
  91. src: avoid casting std::trunc(... / ...) to size_t

    Given that the divisor is not zero, the result of dividing unsigned
    integers is an unsigned integer that is always rounded down, i.e.,
    there is no need to call std::trunc(). Doing so unnecessarily yields
    a floating-point number, requiring the result to be cast to an unsigned
    integer again.
    
    PR-URL: #44467
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c0875d1 View commit details
    Browse the repository at this point in the history
  92. src: fix incorrect comments in crypto

    PR-URL: #44470
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    cae9c5d View commit details
    Browse the repository at this point in the history
  93. src: improve error handling in CloneSSLCerts

    If sk_X509_new() returns NULL or if sk_X509_push() fails, return instead
    of silently ignoring the error.
    
    PR-URL: #44410
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    d76e7e4 View commit details
    Browse the repository at this point in the history
  94. crypto: add digest name to INVALID_DIGEST errors

    We already do this in some places. This adds the digest name to
    remaining uses of ERR_CRYPTO_INVALID_DIGEST except for one occurrence in
    crypto_sig.cc that would require significant refactoring due to the
    unusual error handling there.
    
    PR-URL: #44468
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    579e066 View commit details
    Browse the repository at this point in the history
  95. net: add local family

    PR-URL: #43975
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    092239a View commit details
    Browse the repository at this point in the history
  96. http: make idle http parser count configurable

    PR-URL: #43974
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8398e98 View commit details
    Browse the repository at this point in the history
  97. lib: make validateObject less affected by prototype tampering

    PR-URL: #42929
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    acff743 View commit details
    Browse the repository at this point in the history
  98. bootstrap: stop delaying instantiation of maps in per-context scripts

    The linked issue, https://bugs.chromium.org/p/v8/issues/detail?id=6593,
    is marked as "Fixed", so I think we can revert this now.
    
    This reverts commit 08a9c4a.
    
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    
    PR-URL: #42934
    Refs: https://bugs.chromium.org/p/v8/issues/detail?id=9187
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    db151e1 View commit details
    Browse the repository at this point in the history
  99. buffer: fix atob input validation

    This commit fixes a few inconsistencies between Node.js `atob`
    implementation and the WHATWG spec.
    
    Refs: https://infra.spec.whatwg.org/#forgiving-base64-decode
    Fixes: #42646
    PR-URL: #42662
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    austinkelleher authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f700074 View commit details
    Browse the repository at this point in the history
  100. lib: refactor validateInt32 and validateUint32

    PR-URL: #43071
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    mawaregetsuka authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4968ebf View commit details
    Browse the repository at this point in the history
  101. src: use a typed array internally for process._exiting

    This would prevent manual writes to the _exiting JS property on the
    process object by passing the data directly via a typed array for
    performance.
    
    This change partially addresses this TODO:
    https://github.com/nodejs/node/blob/3d575a4f1bd197c3ce669758a2a3c763462a883a/src/api/hooks.cc#L68-L71
    
    Signed-off-by: Darshan Sen <raisinten@gmail.com>
    
    PR-URL: #43883
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    RaisinTen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e7d30b4 View commit details
    Browse the repository at this point in the history
  102. net,tls: pass a valid socket on tlsClientError

    On the 'tlsClientError' event, the `tlsSocket` instance is passed as
    `closed` status. Thus, users can't get information such as `remote
    address`, `remoteFamily`, and so on.
    
    This adds a flag to close a socket after emitting an `error` event.
    
    Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
    PR-URL: #44021
    Fixes: #43963
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1400796 View commit details
    Browse the repository at this point in the history
  103. util: add maxArrayLength option to Set and Map

    PR-URL: #43576
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    cola119 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    70563b5 View commit details
    Browse the repository at this point in the history
  104. src: nest namespace report in namespace node

    PR-URL: #44069
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    91ef427 View commit details
    Browse the repository at this point in the history
  105. lib: reset RegExp statics before running user code

    Fixes: #43740
    
    PR-URL: #43741
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ac8d2de View commit details
    Browse the repository at this point in the history
  106. doc: add performance note to --enable-source-maps docs

    PR-URL: #43817
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    saurabhdaware authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5c721a3 View commit details
    Browse the repository at this point in the history
  107. src: fix cppgc incompatibility in v8

    This patch updates the layout of the BaseObjects to make sure
    that the first embedder field of them is a "type" pointer, the
    first 16 bits of which are the Node.js embedder ID, so that
    cppgc will always skip over them. In addition we now use this
    field to determine if the native object should be interpreted
    as a Node.js embedder object in the serialization and deserialization
    callbacks for the startup snapshot to improve the reliability.
    
    Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
    PR-URL: #43521
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    2 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    70662f4 View commit details
    Browse the repository at this point in the history
  108. typings: add JSDoc for internal/validators

    PR-URL: #44181
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    anonrig authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a08cdea View commit details
    Browse the repository at this point in the history
  109. report: print javascript stack on fatal error

    Try to print JavaScript stack on fatal error. OOMError needs to be
    distinguished from fatal error since no new handle can be created at
    that time.
    
    PR-URL: #44242
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    30cfe0a View commit details
    Browse the repository at this point in the history
  110. tls: remove SecureContext setFreeListLength

    This function was introduced in 2684c90
    as an internal helper function. The C++ implementation became a no-op in
    a57e2f2 when building against OpenSSL
    1.1.0 (instead of OpenSSL 1.0.2), and eventually became a no-op in all
    supported OpenSSL versions in 970ce14.
    Finally, eb20447 removed the only call
    site of setFreeListLength (which was already a no-op at that point).
    
    Refs: #1529
    Refs: #10859
    Refs: #19794
    Refs: #38116
    PR-URL: #44300
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b53ea08 View commit details
    Browse the repository at this point in the history
  111. report: expose report public native apis

    Allows APM vendors to generate a diagnostic report without calling into
    JavaScript. Like, from their own message channels interrupting the
    isolate and generating a report on demand.
    
    PR-URL: #44255
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    381e11e View commit details
    Browse the repository at this point in the history
  112. inspector: prevent integer overflow in open()

    PR-URL: #44367
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c736927 View commit details
    Browse the repository at this point in the history
  113. test: split report OOM tests

    On some machines the report OOM tests can take too long to complete,
    resulting in a timeout. This splits the test into several different
    smaller tests to reduce the flakiness of it.
    
    PR-URL: #44389
    Refs: nodejs/reliability#356
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0c76e01 View commit details
    Browse the repository at this point in the history
  114. doc,worker: document resourceLimits overrides

    If `--max-old-space-size` is passed on the command line, it takes
    precedence over `resourceLimits.maxOldSpaceSizeMb` passed to the worker
    thread. IMO this is a bug, but seems unlikely to change(?), so let's
    start by documenting it. See the attached issue for more details.
    
    Refs: #43991
    PR-URL: #43992
    Reviewed-By: James M Snell <jasnell@gmail.com>
    kvakil authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    89c837a View commit details
    Browse the repository at this point in the history
  115. os: add machine method

    PR-URL: #44416
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8f3e8bb View commit details
    Browse the repository at this point in the history
  116. lib: add diagnostics channel for process and worker

    PR-URL: #44045
    Reviewed-By: James M Snell <jasnell@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6be761e View commit details
    Browse the repository at this point in the history
  117. crypto: use actual option name in error message

    oaep_label is the name of the C++ variable. Use oaepLabel instead, which
    is the name of the documented option.
    
    PR-URL: #44455
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7100bae View commit details
    Browse the repository at this point in the history
  118. src: expose environment RequestInterrupt api

    Allow add-ons to interrupt JavaScript execution, and wake up loop if it
    is currently idle.
    
    PR-URL: #44362
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2ba547a View commit details
    Browse the repository at this point in the history
  119. report: fix missing section javascriptHeap on OOMError

    `Environment::GetCurrent` may not available in the context of OOM.
    Removes the cyclic `Environment::GetCurrent` and `env->isolate()`
    calls to ensure both `isolate` and `env` is present if available.
    
    However, this behavior is not guaranteed. As
    `Environment::GetCurrent` didn't allocate new handles in the heap,
    when a Context is entered it can still get the valid env pointer.
    Removes the unstable assertion of the absence of env in the test.
    
    PR-URL: #44398
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5355a46 View commit details
    Browse the repository at this point in the history
  120. report: get stack trace with cross origin contexts

    When a new context with a different security token is entered, or
    when no context is entered, `StackTrace::CurrentStackTrace` need to
    be explicitly set with flag `kExposeFramesAcrossSecurityOrigins` to
    avoid crashing.
    
    PR-URL: #44398
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0e2c206 View commit details
    Browse the repository at this point in the history
  121. crypto: handle invalid prepareAsymmetricKey JWK inputs

    Fixes #44471
    
    PR-URL: #44475
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9a52ee7 View commit details
    Browse the repository at this point in the history
  122. src: rename misleading arg in ClientHelloParser

    Despite being named onend_arg, the pointer is passed both to the
    onend_cb and to the onhello_cb. Rename it to cb_arg, which matches the
    name of the class field cb_arg_.
    
    PR-URL: #44500
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    49cf345 View commit details
    Browse the repository at this point in the history
  123. doc: move policy docs to the permissions scope

    PR-URL: #44222
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    d846e5b View commit details
    Browse the repository at this point in the history
  124. test: add more cases for parse-encoding

    PR-URL: #44427
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Qingyu Deng <i@ayase-lab.com>
    tony-go authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3718047 View commit details
    Browse the repository at this point in the history
  125. test: fix DebugSymbolsTest.ReqWrapList on PPC64LE

    Currently, DebugSymbolsTest.ReqWrapList fails on PPC64LE when Node has
    been configured with Link Time Optimization (LTO) and using RHEL 8.5
    and gcc:
    ```console
    $ . /opt/rh/gcc-toolset-11/enable
    $ export CC='ccache gcc'
    $ export CXX='ccache g++'
    $ ./configure --enable-lto
    $ make -j8 cctest
    ...
    21:52:27 [ RUN      ] DebugSymbolsTest.ReqWrapList
    21:52:27 ../test/cctest/test_node_postmortem_metadata.cc:203: Failure
    21:52:27 Expected equality of these values:
    21:52:27   expected
    21:52:27     Which is: 140736537072320
    21:52:27   calculated
    21:52:27     Which is: 1099680328560
    21:52:27 [  FAILED  ] DebugSymbolsTest.ReqWrapList (43 ms)
    ```
    
    After looking into this is seems that the compiler is tampering with the
    `last` variable when compiling with LTO enabled. This commit suggests
    adding volatile to this variable to prevent the compiler from tampering
    with it.
    
    PR-URL: #44341
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    danbev authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    88dfd50 View commit details
    Browse the repository at this point in the history
  126. doc: document attribute Script.cachedDataRejected

    Explicitly document the attribute `Script.cachedDataRejected` in a
    dedicated section.
    
    Removes the documented option `produceCachedData` and the description
    of `cachedDataRejected` in `vm.runInContext`, `vm.runInNewContext`,
    and `vm.runInThisContext` as the created `vm.Script` instance is not
    accessible from userland in these methods.
    
    PR-URL: #44451
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6d881b8 View commit details
    Browse the repository at this point in the history
  127. deps: update to uvwasi 0.0.13

    Notable changes:
    
    - A bug has been fixed in `uvwasi_fd_readdir()` that caused
      the number of entries to be processed incorrectly.
    
    PR-URL: #44524
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    cjihrig authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    916b319 View commit details
    Browse the repository at this point in the history
  128. lib: fix reference leak

    PR-URL: #44499
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    falsandtru authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a021f19 View commit details
    Browse the repository at this point in the history
  129. v8: add setHeapSnapshotNearHeapLimit

    PR-URL: #44420
    Refs: #33010
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    theanarkh authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0beedb7 View commit details
    Browse the repository at this point in the history
  130. tools: fix shebang to use python3 by default

    PR-URL: #44531
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    himself65 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    602ecaa View commit details
    Browse the repository at this point in the history
  131. doc: emphasize that createCipher is never secure

    The current documentation clearly states that createCipher() and
    createDecipher() should not be used with ciphers in counter mode, but
    (1) this is an understatement, and (2) these functions are
    (semantically) insecure for ciphers in any other supported block cipher
    mode as well.
    
    Semantic security requires IND-CPA, but a deterministic cipher with
    fixed key and IV, such as those generated by these functions, does not
    fulfill IND-CPA.
    
    Are there justified use cases for createCipher() and createDecipher()?
    Yes and no. The only case in which these functions can be used in a
    semantically secure manner arises only when the password argument is
    not actually a password but rather a random or pseudo-random sequence
    that is unpredictable and that is never reused (e.g., securely derived
    from a password with a proper salt). Insofar, it is possible to use
    these APIs without immediately creating a vulnerability. However,
    
    - any application that manages to fulfill this requirement should also
      be able to fulfill the similar requirements of crypto.createCipheriv()
      and those of crypto.createDecipheriv(), which give much more control
      over key and initialization vector, and
    - the MD5-based key derivation step generally does not help and might
      even reduce the overall security due to its many weaknesses.
    
    Refs: #13821
    Refs: #19343
    Refs: #22089
    PR-URL: #44538
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9d24c7a View commit details
    Browse the repository at this point in the history
  132. stream: add ReadableByteStream.tee()

    This supports teeing readable byte streams to meet
    the latest web streams standards.
    
    Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
    PR-URL: #44505
    Refs: https://streams.spec.whatwg.org/#readable-stream-tee
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6ed3367 View commit details
    Browse the repository at this point in the history
  133. doc: remove ebpf from supported tooling list

    PR-URL: #44549
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e26d95e View commit details
    Browse the repository at this point in the history
  134. test: use python3 instead of python

    On some platforms, such as macOS, the `python` command is no longer
    available by default.
    
    PR-URL: #44545
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    lpinca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    370b0ec View commit details
    Browse the repository at this point in the history
  135. doc: do not use weak MODP group in example

    As a first, small step toward deprecating modp1, stop using it in an
    example that users might copy.
    
    Refs: #44539
    PR-URL: #44585
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0747fac View commit details
    Browse the repository at this point in the history
  136. crypto: restrict PBKDF2 args to signed int

    OpenSSL internally represents the output length and the iteration count
    as signed integers, which is why node's C++ implementation expects these
    arguments to fit into signed integers as well. The JavaScript validation
    logic, however, only requires the arguments to be unsigned 32-bit
    integers, which is a superset of non-negative (signed) 32-bit integers.
    
    Change the JavaScript validation to match the expectation within C++.
    
    Fixes: #44570
    PR-URL: #44575
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1fc6394 View commit details
    Browse the repository at this point in the history
  137. meta: update AUTHORS

    PR-URL: #44591
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7ac9baf View commit details
    Browse the repository at this point in the history
  138. doc: fix link in process.md

    PR-URL: #44594
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    d068978 View commit details
    Browse the repository at this point in the history
  139. doc: mention how to get commit release

    PR-URL: #44572
    Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8187f03 View commit details
    Browse the repository at this point in the history
  140. tools: increase timeout of running WPT

    We run all WPT from one subset in the same process using workers.
    As the number of the tests grow, it can take longer to run some of the
    subsets, but it's still overall faster than running them in different
    processes. This patch increases the timeout
    for WPT to prevent the test from failing because it takes longer
    to run (even though it would still complete at some point).
    
    PR-URL: #44574
    Refs: nodejs/reliability#371
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    657fa79 View commit details
    Browse the repository at this point in the history
  141. build: rewritten the Android build system

    Completely rewritten the Android build system using Python
    
    Co-Authored-By: 东灯 <43312495+Lampese@users.noreply.github.com>
    Co-Authored-By: Feng Yu <F3n67u@outlook.com>
    PR-URL: #44207
    Refs: #36287
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Christian Clauss <cclauss@me.com>
    3 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7b3a2c3 View commit details
    Browse the repository at this point in the history
  142. doc: fix vm.Script createCachedData example

    `Script.createCachedData` and `SourceTextModule.createCachedData`
    doesn't serialize JavaScript variables.
    
    PR-URL: #44487
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    cc55e84 View commit details
    Browse the repository at this point in the history
  143. doc: fix errors in http.md

    Fixes: #44567
    PR-URL: #44587
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Paolo Insogna <paolo@cowtech.it>
    Reviewed-By: Mestery <mestery@protonmail.com>
    lpinca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2084ad6 View commit details
    Browse the repository at this point in the history
  144. doc: fix heading levels for test runner hooks

    before/after/beforeEach/afterEach are exported directly from `node:test`
    and should not be indented under `it.todo`.
    
    PR-URL: #44603
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    meyfa authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    53543c6 View commit details
    Browse the repository at this point in the history
  145. doc: remove old OpenSSL ENGINE constants

    These constants have not existed since OpenSSL 1.1.0 reached EOL a few
    years ago.
    
    Refs: #19794
    PR-URL: #44589
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9fac6dd View commit details
    Browse the repository at this point in the history
  146. doc: deprecate modp1, modp2, and modp5 groups

    These MODP groups should not be used by new applications, and existing
    applications should attempt to migrate to stronger groups (or different
    key exchange mechanisms).
    
    Some applications still rely on these particular groups, so Node.js will
    likely maintain support, directly or indirectly, for the foreseeable
    future.
    
    Refs: #44539
    PR-URL: #44588
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f80bdc5 View commit details
    Browse the repository at this point in the history
  147. test: ignore stale process cleanup failures on Windows

    In some tests we try to clean up stale child processes on Windows,
    but they don't necessarily exist, in that case we should ignore
    any failures from the WMIC.exe command.
    
    PR-URL: #44480
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    31f809a View commit details
    Browse the repository at this point in the history
  148. inspector: expose inspector.close on workers

    Workers can open their own inspector agent with `inspector.open`.
    They should be able to close their own inspector agent too with
    `inspector.close`.
    
    PR-URL: #44489
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4e49d5d View commit details
    Browse the repository at this point in the history
  149. win: fix fs.realpath.native for long paths

    Unlike other fs.js functions that work with paths, realpath.native isn't
    using pathModule.toNamespacedPath prior to calling libuv function. This
    is causing issues on windows.
    
    Windows long path test is also improved to cover the mentioned issue.
    
    Fixes: #39721
    PR-URL: #44536
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    StefanStojanovic authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8d259e6 View commit details
    Browse the repository at this point in the history
  150. src: dump isolate stats when process exits

    When process exits, dump v8 isolate's internal stats for performance
    evaluation and debugging.
    It fixed the incorrect profiling log output when running V8's builtin
    PGO profiling for node.js service type application,which exits by user
    pressing CTRL+C etc. keys.
    
    PR-URL: #44534
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    qdaoming authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    eaf2ffc View commit details
    Browse the repository at this point in the history
  151. stream: refactor use es2020 statement

    PR-URL: #44533
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
    xtx1130 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ffb1c85 View commit details
    Browse the repository at this point in the history
  152. benchmark: add stream destroy benchmark

    PR-URL: #44533
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
    xtx1130 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    29c0f9e View commit details
    Browse the repository at this point in the history
  153. tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.0.1

    PR-URL: #44590
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f05ce2b View commit details
    Browse the repository at this point in the history
  154. src: make NearHeapLimitCallback() more robust

    Instead of removing the callback before generating heap snapshot
    and then adding it back after the heap snapshot is generated,
    just remove it once the heap snapshot limit is reached.
    Otherwise if the worker callback kicks in and sets the heap
    limit to higher value during the heap snapshot generation,
    the current_heap_limit in the heap snapshot callback becomes
    invalid, and we might return a heap limit lower than the current
    one, resulting in OOM.
    
    In addition add more logs and checks in Worker::NearHeapLimit()
    to help us catch problems.
    
    PR-URL: #44581
    Refs: nodejs/reliability#372
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ea2957f View commit details
    Browse the repository at this point in the history
  155. build: remove redundant entry in crypto

    PR-URL: #44604
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: theanarkh <theratliter@gmail.com>
    gengjiawen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    bec2ede View commit details
    Browse the repository at this point in the history
  156. src: make ReqWrap weak

    This commit allows throwing an exception after creating `FSReqCallback`
    
    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    PR-URL: #44074
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    2 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    eda1f45 View commit details
    Browse the repository at this point in the history
  157. doc: remove empty line in YAML block

    PR-URL: #44617
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    ovflowd authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    90eaae3 View commit details
    Browse the repository at this point in the history
  158. fs: remove unused option in fs.fstatSync()

    PR-URL: #44613
    Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: theanarkh <theratliter@gmail.com>
    LiviaMedeiros authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    bbbb446 View commit details
    Browse the repository at this point in the history
  159. doc: use serial comma in stream docs

    Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
    PR-URL: #44609
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ff9ef61 View commit details
    Browse the repository at this point in the history
  160. test_runner: include stack of uncaught exceptions

    PR-URL: #44614
    Fixes: #44611
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    MoLow authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9a469be View commit details
    Browse the repository at this point in the history
  161. src: avoid copy when creating Blob

    PR-URL: #44616
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    24172ca View commit details
    Browse the repository at this point in the history
  162. test: fix test-repl not validating leaked globals properly

    PR-URL: #44640
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    aduh95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a46dd37 View commit details
    Browse the repository at this point in the history
  163. tools: update lint-md-dependencies to @rollup/plugin-node-resolve@14.1.0

    PR-URL: #44638
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2c0d9ff View commit details
    Browse the repository at this point in the history
  164. doc: use serial comma in report docs

    Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
    PR-URL: #44608
    Reviewed-By: theanarkh <theratliter@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c9af436 View commit details
    Browse the repository at this point in the history
  165. tools: update eslint to 8.23.1

    PR-URL: #44639
    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 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b6c232f View commit details
    Browse the repository at this point in the history
  166. meta: update test_runner in label-pr-config

    PR-URL: #44615
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    shrujalshah28 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    af5d49f View commit details
    Browse the repository at this point in the history
  167. doc: remove comma in README.md

    Grammar edit
    
    PR-URL: #44599
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Taha-Chaudhry authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3614f5a View commit details
    Browse the repository at this point in the history
  168. lib,test: fix bug in InternalSocketAddress

    InternalSocketAddress must set [kDetails] in order for the inherited
    properties to function correctly.
    
    Co-authored-by: Tobias Nießen <tniessen@tnie.de>
    PR-URL: #44618
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    debf730 View commit details
    Browse the repository at this point in the history
  169. tls: fix out-of-bounds read in ClientHelloParser

    ClientHelloParser::ParseHeader(data, avail) potentially accesses data
    beyond avail bytes because it trusts the client to transmit a valid
    frame length. Sending an impossibly small frame length causes the TLS
    server to read beyond the buffer provided by the caller.
    
    Guard against this by calling End() on the ClientHelloParser when the
    client transmits an impossibly small frame length.
    
    The test is designed to reliable cause a segmentation fault on Linux and
    Windows when the buffer overrun occurs, and to trigger a spatial safety
    violation when compiled with an address sanitizer enabled or when
    running under valgrind.
    
    PR-URL: #44580
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8118fc2 View commit details
    Browse the repository at this point in the history
  170. doc,inspector: document changes of inspector.close

    Retrospectively document the changes history of the `inspector.close`
    API.
    
    PR-URL: #44628
    Refs: #44489
    Refs: #13228
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    891c4e7 View commit details
    Browse the repository at this point in the history
  171. test: improve lib/readline.js coverage

    PR-URL: #42686
    Refs: https://coverage.nodejs.org/coverage-a0461255c05c79cf/lib/readline.js.html#L105
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    fossamagna authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f13e06a View commit details
    Browse the repository at this point in the history
  172. tools: add timezone update workflow

    Fixes: #43134
    PR-URL: #43988
    Reviewed-By: Steven R Loomis <srloomis@us.ibm.com>
    98lenvi authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    d190e71 View commit details
    Browse the repository at this point in the history
  173. tools: fix typo in update-nghttp2.sh

    PR-URL: #44664
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    lpinca authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0b3f49c View commit details
    Browse the repository at this point in the history
  174. doc: add legendecas to TSC list

    Refs: nodejs/TSC#1282
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #44662
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    mhdawson authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6881ecb View commit details
    Browse the repository at this point in the history
  175. test: fix test-performance-measure

    Refs: #42949
    
    Looking at the documentation for setTimeout
    (https://nodejs.org/api/timers.html#settimeoutcallback-delay-args)
    there is no guarantee that setTimeout won't complete early.
    
    From the failure of #42949 this
    is likely what happened.
    
    I have updated the assert.ok test to allow some variation in
    the test.
    
    PR-URL: #44637
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    smitley authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    aae8ff6 View commit details
    Browse the repository at this point in the history
  176. doc: maintain only one list of MODP groups

    There are two lists of MODP groups, one of which is redundant and does
    not mark weak groups as deprecated. Remove said list and refer readers
    to the first list instead.
    
    Refs: #43986
    Refs: #44588
    PR-URL: #44644
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5ee0127 View commit details
    Browse the repository at this point in the history
  177. doc: improve building doc for Windows Powershell

    PR-URL: #44625
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    bmuenzenmeyer authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0f88588 View commit details
    Browse the repository at this point in the history
  178. deps: upgrade npm to 8.19.2

    PR-URL: #44632
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    npm-cli-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    21b5ab1 View commit details
    Browse the repository at this point in the history
  179. doc: make legacy banner slightly less bright

    PR-URL: #44665
    Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3e38ba5 View commit details
    Browse the repository at this point in the history
  180. meta: move dnlup to emeriti

    PR-URL: #44667
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    dnlup authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3564da1 View commit details
    Browse the repository at this point in the history
  181. http: throw error on content-length mismatch

    PR-URL: #44378
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    sidwebworks authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2cd2f56 View commit details
    Browse the repository at this point in the history
  182. deps: update ngtcp2 update instructions

    Prefer tagged versions over the latest commit on the development branch,
    and a few other minor improvements.
    
    PR-URL: #44619
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e4f18b4 View commit details
    Browse the repository at this point in the history
  183. deps: update corepack to 0.14.1

    PR-URL: #44704
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1a8aada View commit details
    Browse the repository at this point in the history
  184. module: open stat/readPackage to mutations

    PR-URL: #44537
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    arcanis authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1bb394e View commit details
    Browse the repository at this point in the history
  185. deps: update to ngtcp2 0.8.1 and nghttp3 0.7.0

    Refs: #44619
    Co-authored-by: James M Snell <jasnell@gmail.com>
    PR-URL: #44622
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    2 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    0f2fcaf View commit details
    Browse the repository at this point in the history
  186. src: remove <unistd.h> from node_os.cc

    The file does not use sysconf() and its use of gethostname() has been
    removed, so including <unistd.h> appears to be unnecessary.
    
    PR-URL: #44668
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4f056b5 View commit details
    Browse the repository at this point in the history
  187. meta: update AUTHORS

    PR-URL: #44705
    Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b9deb1e View commit details
    Browse the repository at this point in the history
  188. tools: add update-llhttp.sh

    PR-URL: #44652
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Co-authored-by: Tobias Nießen <tniessen@tnie.de>
    Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
    4 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1079c80 View commit details
    Browse the repository at this point in the history
  189. meta: add mailmap entry for dnlup

    This updates dnlup's name to their preferred email per their last pull
    request.
    
    This will also prevent duplicate entries for dnlup when the
    update-authors job runs.
    
    It also moves one unrelated line in .mailmap so that all lines are
    sorted in lexical order.
    
    PR-URL: #44716
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Trott authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    fe91711 View commit details
    Browse the repository at this point in the history
  190. esm,loader: tidy ESMLoader internals

    PR-URL: #44701
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    JakobJingleheimer authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    42a91e3 View commit details
    Browse the repository at this point in the history
  191. doc: remove extra space on threadpool usage

    PR-URL: #44734
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    connorjburton authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    bc9f8d2 View commit details
    Browse the repository at this point in the history
  192. doc: mention where to push security commits

    PR-URL: #44691
    Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9e83c00 View commit details
    Browse the repository at this point in the history
  193. gyp: libnode for ios app embedding

    PR-URL: #44210
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    chexiongsheng authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    1308e68 View commit details
    Browse the repository at this point in the history
  194. src: avoid using v8 on Isolate termination

    Fix multiple instances of those uncovered while running the tests on
    debug builds.
    
    Fixes: nodejs/node-v8#227
    PR-URL: #44669
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    santigimeno authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    916f2c5 View commit details
    Browse the repository at this point in the history
  195. doc: include code examples for webstreams consumers

    Add missing examples for webstreams consumers
    
    Doc URL: https://nodejs.org/api/webstreams.html#streamconsumerstextstream
    
    PR-URL: #44387
    Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    khaosdoctor authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8d3cb6c View commit details
    Browse the repository at this point in the history
  196. benchmark: fix startup benchmark

    This allows the misc/startup benchmark to run again
    after the renaming of the C++ `native_module` to `builtins`
    
    PR-URL: #44727
    Refs: #44135
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    evanlucas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2e87cdd View commit details
    Browse the repository at this point in the history
  197. doc,crypto: cleanup removed pbkdf2 behaviours

    PR-URL: #44733
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    6758c63 View commit details
    Browse the repository at this point in the history
  198. util: increase robustness with primordials

    PR-URL: #41212
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ljharb authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a6a655d View commit details
    Browse the repository at this point in the history
  199. doc: add registry number for Electron 22

    PR-URL: #44748
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    VerteDinde authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f381a1e View commit details
    Browse the repository at this point in the history
  200. test: change promise to async/await in debugger-watcher

    PR-URL: #44687
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Pooja444 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    fc1edaf View commit details
    Browse the repository at this point in the history
  201. doc: update guidance for adding new modules

    - updated based on decision to use node: prefix in
      nodejs/TSC#1206
    - updated based on agreement in TSC meeting
      on adding /promises to existing modules as per
      minutes - nodejs/TSC#1281
    
    Signed-off-by: Michael Dawson <mdawson@devrus.com>
    
    PR-URL: #44576
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Danielle Adams <adamzdanielle@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    mhdawson authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3872abd View commit details
    Browse the repository at this point in the history
  202. http: disable chunked encoding when OBS fold is used

    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
    PR-URL: #341
    CVE-ID: CVE-2022-32213, CVE-2022-32215, CVE-2022-35256
    ShogunPanda authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2cee039 View commit details
    Browse the repository at this point in the history
  203. doc: update the deprecation for exit code to clarify its scope

    This updates the deprecation, DEP0164, to clarify its scope.
    
    Previously, `process.exitCode` wasn't mentioned but it needs
    to be applied with the same deprecation because its meaning
    is the same as the `code` value and it's overridden with the
    `code` value in `process.exit()`.
    
    Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    PR-URL: #44714
    Refs: #44712
    Refs: #43738
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    2 people authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    fe832a0 View commit details
    Browse the repository at this point in the history
  204. meta: update AUTHORS

    PR-URL: #44777
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c1d1ed5 View commit details
    Browse the repository at this point in the history
  205. test: check that sysconf returns a positive value

    Static analysis insists that sysconf(_SC_PAGE_SIZE) might return a
    negative integer (even though it never will). This was supposed to be
    handled by the existing check EXPECT_GE(page, static_cast<int>(N)).
    I assume that static analysis does not consider this sufficient because
    static_cast<int>(N) could be negative or zero if N exceeds INT_MAX (even
    though it never will).
    
    To resolve this (theoretical) problem, explicitly check that the return
    value is positive and then cast it to a size_t.
    
    PR-URL: #44666
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2752d7c View commit details
    Browse the repository at this point in the history
  206. test: update test-debugger-low-level to use await/async

    PR-URL: #44688
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ml7181 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    095cb7e View commit details
    Browse the repository at this point in the history
  207. test: use async/await in test-debugger-invalid-args

    PR-URL: #44678
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    nupurchauhan6 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2e3aa39 View commit details
    Browse the repository at this point in the history
  208. doc: fix v16.17.1 security release changelog

    doc/changelogs/CHANGELOG_V16.md is missing the security release header
    prior to the "Notable changes" section.
    
    PR-URL: #44759
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Bryan English <bryan@bryanenglish.com>
    Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    ruyadorno authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    895719d View commit details
    Browse the repository at this point in the history
  209. doc: fix description for napi_get_cb_info() in n-api.md

    Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
    PR-URL: #44761
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    daeyeon authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e0fe11c View commit details
    Browse the repository at this point in the history
  210. test: change promises to async/await

    PR-URL: #44683
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    MadhulikaSharma95 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8633619 View commit details
    Browse the repository at this point in the history
  211. fs: fix typo in mkdir example

    PR-URL: #44791
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    SergeyTsukanov authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    83cf979 View commit details
    Browse the repository at this point in the history
  212. test: verify napi_remove_wrap with napi_delete_reference

    Verify that napi_remove_wrap and napi_delete_reference should be safe
    to be called consecutively on the in-out params of napi_wrap.
    
    PR-URL: #44754
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    8b8d18a View commit details
    Browse the repository at this point in the history
  213. doc: ensure to revert node_version changes

    PR-URL: #44760
    Reviewed-By: Ruy Adorno <ruyadorno@google.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    618c9c8 View commit details
    Browse the repository at this point in the history
  214. doc: mention git node backport

    PR-URL: #44764
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RafaelGSS authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5e4a2e9 View commit details
    Browse the repository at this point in the history
  215. tools: update lint-md-dependencies to rollup@2.79.1

    PR-URL: #44776
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ce33972 View commit details
    Browse the repository at this point in the history
  216. tools: update eslint to 8.24.0

    PR-URL: #44778
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    nodejs-github-bot authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    b06a78e View commit details
    Browse the repository at this point in the history
  217. path: change basename() argument from ext to suffix

    Closes: #44773
    PR-URL: #44774
    Fixes: #44773
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Trott authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3cb28bd View commit details
    Browse the repository at this point in the history
  218. tools: update eslint-check.js to object style

    Updated rule from deprecated function-style
    format to object-style format.
    
    Refs: https://eslint.org/docs/latest/developer-guide/working-with-rules
    PR-URL: #44706
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    andiemontoyeah authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    c6289d6 View commit details
    Browse the repository at this point in the history
  219. test: change the promises to async/await in test-debugger-exec-scope.js

    PR-URL: #44685
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Ankita-Khiratkar authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    ffc4fad View commit details
    Browse the repository at this point in the history
  220. test: use async/await in test-debugger-profile

    PR-URL: #44684
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    surbhirjain authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2baa3c3 View commit details
    Browse the repository at this point in the history
  221. test: use async/await in test-debugger-preserve-breaks

    PR-URL: #44696
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    poorvitusam authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    510365a View commit details
    Browse the repository at this point in the history
  222. test: update test-debugger-breakpoint-exists.js to use async/await

    PR-URL: #44682
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    archana-kamath authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e9e1309 View commit details
    Browse the repository at this point in the history
  223. build: update timezone-update.yml

    Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
    
    PR-URL: #44717
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Mestery <mestery@protonmail.com>
    Reviewed-By: Tierney Cyren <hello@bnb.im>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    sashashura authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e10095a View commit details
    Browse the repository at this point in the history
  224. test: modify test-debugger-custom-port.js to use async-await

    PR-URL: #44680
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    pshastricb authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    af2aa5b View commit details
    Browse the repository at this point in the history
  225. doc: remove "currently" and comma splice from child_process.md

    Remove redundant use of "currently" and fix a comma splice.
    
    PR-URL: #44789
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Trott authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    969a12b View commit details
    Browse the repository at this point in the history
  226. tools: refactor deprecated format in no-unescaped-regexp-dot

    PR-URL: #44763
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    sonimadhuri authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    006d7f1 View commit details
    Browse the repository at this point in the history
  227. esm: fix duplicated test

    PR-URL: #44779
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    GeoffreyBooth authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7cead59 View commit details
    Browse the repository at this point in the history
  228. test: refactor to async/await

    PR-URL: #44694
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    DivyaMohan94 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    9386c85 View commit details
    Browse the repository at this point in the history
  229. bootstrap: update comments in bootstrap/node.js

    The comments in bootstrap/node.js are now out of date due to
    recent changes to the bootstrap process. Update them to reflect
    the current status.
    
    PR-URL: #44726
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f01bb58 View commit details
    Browse the repository at this point in the history
  230. child_process: remove lookup of undefined property

    execSync() passes opts.args to checkExecSyncError(). There are
    two problems:
    
    1. opts.args appears to always be undefined.
    2. Even if it was defined, checkExecSyncError() would not use
       it since the command input is guaranteed to be defined.
    
    This commit updates the code to pass undefined instead.
    
    PR-URL: #44766
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    cjihrig authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    25e6f48 View commit details
    Browse the repository at this point in the history
  231. fs: don't hard code name in validatePosition()

    The name of the position being validated by validatePosition()
    was not being used. Instead, the string 'position' was being
    used everywhere. It worked out because the only call sites were
    using the name 'position' as well.
    
    PR-URL: #44767
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    cjihrig authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    14ec52b View commit details
    Browse the repository at this point in the history
  232. test: add extra tests for basename with ext option

    PR-URL: #44772
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    connorjburton authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    fada3a2 View commit details
    Browse the repository at this point in the history
  233. test: use async/await in test-debugger-sb-before-load

    PR-URL: #44697
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    hopeolaide authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    f630881 View commit details
    Browse the repository at this point in the history
  234. test: change promises to async/await in test-debugger-backtrace.js

    PR-URL: #44677
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    zhangjuliet authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5bed2d1 View commit details
    Browse the repository at this point in the history
  235. test: migrated from Promise chains to Async/Await

    PR-URL: #44674
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    rathi2016 authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a7666ab View commit details
    Browse the repository at this point in the history
  236. src: remove ParseIP() in cares_wrap.cc

    This function is only used in one place where the result argument is
    never nullptr, so remove special handling of that case. Also, instead
    of returning magic values 0/4/6 and then later translating those into
    error/AF_INET/AF_INET6, use AF_INET/AF_INET6 directly. Lastly, inline
    the function, which is simpler overall.
    
    PR-URL: #44771
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
    tniessen authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    3e8569c View commit details
    Browse the repository at this point in the history
  237. test: use async/await in test-debugger-auto-resume

    PR-URL: #44675
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    samyuktaprabhu authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    5854abc View commit details
    Browse the repository at this point in the history
  238. crypto: use EVP_PKEY_CTX_set_dsa_paramgen_q_bits when available

    This matches the formulation described in the documentation:
    https://www.openssl.org/docs/man3.0/man3/EVP_PKEY_CTX_set_dsa_paramgen_q_bits.html
    
    It is also, starting OpenSSL 3.0, more type-safe because the wrapper
    macros were finally converted to real functions. In OpenSSL 3.0, it is
    also no longer quite a wrapper over EVP_PKEY_CTX_ctrl, so using this
    name saves some extra OSSL_PARAM <-> EVP_PKEY_CTRL conversions.
    
    Alas, it was only backported to OpenSSL 1.1.1e, so I've left a temporary
    compatibility define until you all decide to drop pre-1.1.1e releases of
    1.1.1.
    
    PR-URL: #44561
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    davidben authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7e07cce View commit details
    Browse the repository at this point in the history
  239. node-api: add deprecation code of uncaught exception

    Deprecation should reference a valid deprecation code.
    
    PR-URL: #44624
    Refs: #36510
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    legendecas authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    adae66c View commit details
    Browse the repository at this point in the history
  240. test: don't clobber RegExp.$_ on startup

    Some tests expect it to be empty so clear it again after running a
    regular expression against /proc/cpuinfo.
    
    It didn't cause test failures on any of the CI machines, to the best of
    my knowledge, because most of the time /proc/cpuinfo doesn't contain
    the string it was looking for.
    
    Fixes: #44840
    PR-URL: #44864
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    bnoordhuis authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4368acd View commit details
    Browse the repository at this point in the history
  241. test: update WPT runner

    PR-URL: #43455
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    14c7f4a View commit details
    Browse the repository at this point in the history
  242. crypto: fix webcrypto generateKey() AES key length validation error

    PR-URL: #44170
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    a6e2cb4 View commit details
    Browse the repository at this point in the history
  243. crypto: fix webcrypto operation errors to be OperationError

    PR-URL: #44171
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    2c938d7 View commit details
    Browse the repository at this point in the history
  244. crypto: fix webcrypto EC key namedCurve validation errors

    PR-URL: #44172
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7ad2a26 View commit details
    Browse the repository at this point in the history
  245. crypto: fix webcrypto deriveBits validations

    PR-URL: #44173
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    7e705d8 View commit details
    Browse the repository at this point in the history
  246. crypto: allow zero-length secret KeyObject

    PR-URL: #44201
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    e5c9975 View commit details
    Browse the repository at this point in the history
  247. crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2

    PR-URL: #44201
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    317cd05 View commit details
    Browse the repository at this point in the history
  248. test,crypto: update WebCryptoAPI WPT

    PR-URL: #44223
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Feng Yu <F3n67u@outlook.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Backport-PR-URL: #44872
    panva authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    4ebb3ef View commit details
    Browse the repository at this point in the history
  249. tools: increase timeout of running WPT

    We run all WPT from one subset in the same process using workers.
    As the number of the tests grow, it can take longer to run some of the
    subsets, but it's still overall faster than running them in different
    processes. This patch increases the timeout
    for WPT to prevent the test from failing because it takes longer
    to run (even though it would still complete at some point).
    
    Refs: nodejs/reliability#371
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: Filip Skokan <panva.ip@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    PR-URL: #44574
    Backport-PR-URL: #44872
    joyeecheung authored and juanarbol committed Oct 11, 2022
    Copy the full SHA
    18e1766 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. 2022-10-12, Version 16.18.0 'Gallium' (LTS)

    Notable changes:
    
    assert: add `getCalls` and `reset` to callTracker (Moshe Atlow) #44191
    crypto: allow zero-length secret KeyObject (Filip Skokan) #44201
    crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) #44201
    doc: deprecate modp1, modp2, and modp5 groups (Tobias Nießen) #44588
    http: make idle http parser count configurable (theanarkh) #43974
    http: throw error on content-length mismatch (sidwebworks) #44378
    lib: add diagnostics channel for process and worker (theanarkh) #44045
    net,tls: pass a valid socket on `tlsClientError` (Daeyeon Jeong) #44021
    net: add local family (theanarkh) #43975
    report: expose report public native apis (Chengzhong Wu) #44255
    src: expose environment RequestInterrupt api (Chengzhong Wu) #44362
    stream: add `ReadableByteStream.tee()` (Daeyeon Jeong) #44505
    test_runner: add before/after/each hooks (Moshe Atlow) #43730
    util: add `maxArrayLength` option to Set and Map (Kohei Ueno) #43576
    
    PR-URL: #44886
    juanarbol committed Oct 12, 2022
    Copy the full SHA
    90af1d6 View commit details
    Browse the repository at this point in the history