Rich Trott
172cbfefa8
tools: simplify regex in ESLint config
...
PR-URL: https://github.com/nodejs/node/pull/45399
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-01-03 08:38:45 -05:00
Rich Trott
456f048e0e
tools: enable jsdoc/require-property-description rule
...
PR-URL: https://github.com/nodejs/node/pull/45370
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-01-03 08:38:45 -05:00
Rich Trott
066993a10a
esm: add JSDoc property descriptions for loader
...
PR-URL: https://github.com/nodejs/node/pull/45370
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-01-03 08:38:45 -05:00
Rich Trott
fa210f91df
esm: add JSDoc property descriptions for fetch
...
PR-URL: https://github.com/nodejs/node/pull/45370
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-01-03 08:38:44 -05:00
Rich Trott
3937118f5e
http: add JSDoc property descriptions
...
PR-URL: https://github.com/nodejs/node/pull/45370
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-01-03 08:38:44 -05:00
Michaël Zasso
17a89d1f4e
deps: V8: cherry-pick 031b98b25cba
...
Original commit message:
[runtime] Clear array join stack when throwing uncatchable
... exception.
Array#join depends array_join_stack to avoid infinite loop
and ensures symmetric pushes/pops through catch blocks to
correctly maintain the elements in the join stack.
However, the stack does not pop the elements and leaves in
an invalid state when throwing the uncatchable termination
exception. And the invalid join stack state will affect
subsequent Array#join calls. Because all the terminate
exception will be handled by Isolate::UnwindAndFindHandler,
we could clear the array join stack when unwinding the terminate
exception.
Bug: v8:13259
Change-Id: I23823e823c5fe0b089528c5cf654864cea78ebeb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3878451
Reviewed-by: Jakob Linke <jgruber@chromium.org >
Commit-Queue: 王澳 <wangao.james@bytedance.com >
Cr-Commit-Position: refs/heads/main@{#83465}
Refs: https://github.com/v8/v8/commit/031b98b25cbaaa4c62d8544f5f667d33ea4076c4
Closes: https://github.com/nodejs/node/issues/44417
PR-URL: https://github.com/nodejs/node/pull/45375
Fixes: https://github.com/nodejs/node/issues/44417
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
2023-01-03 08:38:44 -05:00
Yagiz Nizipli
cd740d0b0d
util: improve text decoder performance
...
PR-URL: https://github.com/nodejs/node/pull/45388
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:44 -05:00
Khafra
3a7f3d5993
buffer: introduce File
...
PR-URL: https://github.com/nodejs/node/pull/45139
Fixes: https://github.com/nodejs/node/issues/39015
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-01-03 08:38:44 -05:00
Rich Trott
6fafec351a
tools: dynamically determine parallelism on GitHub Actions macOS
...
Refs: https://github.com/nodejs/node/pull/45340#discussion_r1014859250
PR-URL: https://github.com/nodejs/node/pull/45350
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-01-03 08:38:43 -05:00
Rich Trott
221f298078
meta: be more proactive about removing from teams
...
PR-URL: https://github.com/nodejs/node/pull/45352
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-01-03 08:38:43 -05:00
Stephen Belanger
2752f543bc
diagnostics_channel: mark as stable
...
PR-URL: https://github.com/nodejs/node/pull/45290
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2023-01-03 08:38:43 -05:00
RafaelGSS
b9d4ac2c7e
lib: fix eslint early return
...
The https://github.com/nodejs/node/pull/45243 upgraded eslint
and apparently, when you specific a `@returns` early returns
aren't considered valid. This PR fixes this lint issue.
PR-URL: https://github.com/nodejs/node/pull/45409
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruy Adorno <ruyadorno@google.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
2023-01-03 08:38:43 -05:00
Facundo Tuesca
2ca30cacee
tools: add automation for updating acorn dependency
...
Add a Github Action that checks for new versions of the `acorn` and
`acorn-walk` dependencies, and creates PRs to update them if newer
versions than the ones present in the repo are found.
Refs: https://github.com/nodejs/security-wg/issues/828
PR-URL: https://github.com/nodejs/node/pull/45357
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2023-01-03 08:38:43 -05:00
Gerhard Stöbich
cc1f41a57e
doc, async_hooks: improve and add migration hints
...
Add hints to migrate away from async hooks.
Change docs at various places to be more clear that resources are
internals and may change at any time.
PR-URL: https://github.com/nodejs/node/pull/45369
Refs: https://github.com/nodejs/node/pull/45335
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-01-03 08:38:42 -05:00
Michael Dawson
746175a272
node-api: handle no support for external buffers
...
Refs: https://github.com/electron/electron/issues/35801
Refs: https://github.com/nodejs/abi-stable-node/issues/441
Electron recently dropped support for external
buffers. Provide a way for addon authors to:
- hide the methods to create external buffers so they can
avoid using them if they want the broadest compatibility.
- call the methods that create external buffers at runtime
to check if external buffers are supported and either
use them or not based on the return code.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/45181
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-01-03 08:38:42 -05:00
Claudio Wunder
04f213b44c
tools: add documentation regarding our api tooling
...
Introduces a proper imperative description of how the
current API documentation build system works.
Refs: https://github.com/nodejs/next-10/issues/169
PR-URL: https://github.com/nodejs/node/pull/45270
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-01-03 08:38:42 -05:00
Luigi Pinca
c63d825681
tools: allow scripts to run from anywhere
...
Make the `update-cares.sh`, `update-llhttp.sh`, `update-nghttp2.sh`,
and `update-npm.sh` scripts work even if they are run outside of the
`tools` directory.
PR-URL: https://github.com/nodejs/node/pull/45361
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-01-03 08:38:42 -05:00
Yagiz Nizipli
1dc91abddf
util: improve text-decoder performance
...
PR-URL: https://github.com/nodejs/node/pull/45363
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:42 -05:00
Yagiz Nizipli
762d285c98
benchmark: add parameters to text-decoder benchmark
...
PR-URL: https://github.com/nodejs/node/pull/45363
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:41 -05:00
Yagiz Nizipli
ab891ecbff
benchmark: fix text-decoder benchmark
...
PR-URL: https://github.com/nodejs/node/pull/45363
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:41 -05:00
Ben Noordhuis
10cc827ebf
tls: add "ca" property to certificate object
...
The objects returned by getPeerCertificate() now have an additional "ca"
boolean property that indicates whether the certificate is a Certificate
Authority certificate or not.
Fixes: https://github.com/nodejs/node/issues/44905
PR-URL: https://github.com/nodejs/node/pull/44935
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-01-03 08:38:41 -05:00
Michael Dawson
00e02bda3a
doc: allow for holidays in triage response
...
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/45267
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2023-01-03 08:38:41 -05:00
Juan José Arboleda
bef5206b84
doc: include last security release date
...
PR-URL: https://github.com/nodejs/node/pull/45368
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
2023-01-03 08:38:41 -05:00
Michael Dawson
846b1aefac
doc: fix email for Ashley
...
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/45364
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ash Cripps <acripps@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
2023-01-03 08:38:41 -05:00
Node.js GitHub Bot
1b0b68037a
tools: update eslint to 8.27.0
...
PR-URL: https://github.com/nodejs/node/pull/45358
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:40 -05:00
cjihrig
92909f6855
test_runner: support function mocking
...
This commit allows tests in the test runner to mock functions
and methods.
PR-URL: https://github.com/nodejs/node/pull/45326
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2023-01-03 08:38:40 -05:00
Joyee Cheung
9ac7df1c6a
src: track contexts in the Environment instead of AsyncHooks
...
This makes it easier to support the vm contexts in the startup
snapshot. We now manage the promise hooks using references to
the contexts from the Environment, and AsyncHooks only hold references
to the hooks.
PR-URL: https://github.com/nodejs/node/pull/45282
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-01-03 08:38:40 -05:00
Rich Trott
7e0332a46b
test: skip test-fs-largefile if not enough disk space
...
Fixes: https://github.com/nodejs/build/issues/3071
PR-URL: https://github.com/nodejs/node/pull/45339
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com >
2023-01-03 08:38:40 -05:00
Colin Ihrig
913b669a2b
doc: fix test runner's only tests section header
...
Only tests are not a subsection of describe/it syntax.
This commit updates the heading of the 'only tests'
section to reflect this.
PR-URL: https://github.com/nodejs/node/pull/45343
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
2023-01-03 08:38:39 -05:00
Pavel Horal
ad3b41c858
test: fix catching failed assertion
...
PR-URL: https://github.com/nodejs/node/pull/45222
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-01-03 08:38:39 -05:00
npm CLI robot
bbe67c484a
deps: upgrade npm to 8.19.3
...
PR-URL: https://github.com/nodejs/node/pull/45322
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-01-03 08:38:39 -05:00
Node.js GitHub Bot
398ca2496b
tools: update eslint to 8.26.0
...
PR-URL: https://github.com/nodejs/node/pull/45243
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2023-01-03 08:38:39 -05:00
Rich Trott
4ef86b59b5
lib: fix JSDoc issues
...
Updating ESLint and dependencies will start flagging a few additional
JSDoc issues. One or two of these are simple fixes. The ESM stuff
requires throwing explicitly in JSDoc'ed functions rather than calling
another function to throw. I think this makes the code easier to
understand--you don't need to know that a particular function that
starts with `throwsIf` *might* throw but something that starts with
`throwsAnythingElse` will always throw. Instead, it's right there in the
code. This also might make it easier to improve stack traces if that's
something we'd like to do at some point.
PR-URL: https://github.com/nodejs/node/pull/45243
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
2023-01-03 08:38:38 -05:00
Filip Skokan
1ba1809dfd
crypto: handle more webcrypto errors with OperationError
...
PR-URL: https://github.com/nodejs/node/pull/45320
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-01-03 08:38:38 -05:00
Filip Skokan
b54f8761ae
crypto: handle unsupported AES ciphers in webcrypto
...
Refs: https://github.com/electron/electron/issues/36256
PR-URL: https://github.com/nodejs/node/pull/45321
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com >
2023-01-03 08:38:38 -05:00
Jithil P Ponnan
0f69b6c26d
test_runner: fix afterEach not running on test failures
...
test_runner: fix afterEach not running on test failures
PR-URL: https://github.com/nodejs/node/pull/45204
Fixes: https://github.com/nodejs/node/issues/45192
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-01-03 08:38:38 -05:00
Node.js GitHub Bot
3053c65fb1
tools: update lint-md-dependencies to rollup@3.2.5
...
PR-URL: https://github.com/nodejs/node/pull/45332
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-01-03 08:38:38 -05:00
github-actions[bot]
691da886f1
doc: run license-builder
...
PR-URL: https://github.com/nodejs/node/pull/45349
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2023-01-03 08:38:38 -05:00
Node.js GitHub Bot
a274d6bc0d
deps: update corepack to 0.15.1
...
PR-URL: https://github.com/nodejs/node/pull/45331
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-01-03 08:38:37 -05:00
Antoine du Hamel
510506027b
tools: fix stability index generation
...
PR-URL: https://github.com/nodejs/node/pull/45346
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2023-01-03 08:38:37 -05:00
Tobias Nießen
89b3336120
src: resolve TODO related to inspector CVEs
...
This was not done before the security release because the latest CVE was
not known at the time.
PR-URL: https://github.com/nodejs/node/pull/45341
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2023-01-03 08:38:37 -05:00
Yagiz Nizipli
4730850972
util: improve textdecoder decode performance
...
PR-URL: https://github.com/nodejs/node/pull/45294
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:37 -05:00
Rich Trott
e0a8effbc1
tools: increase macOS cores to 3 on GitHub CI
...
In efbec85f30 , we reduced the cores to 2
based on GitHub documentation. The documentation now says that there are
3 cores.
Refs: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
PR-URL: https://github.com/nodejs/node/pull/45340
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-01-03 08:38:37 -05:00
theanarkh
90a28920de
doc: add more info for timer.setInterval
...
PR-URL: https://github.com/nodejs/node/pull/45232
Refs: https://github.com/nodejs/node/issues/45224
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-01-03 08:38:36 -05:00
Filip Skokan
d2fc2aa666
doc: use module names in stability overview table
...
PR-URL: https://github.com/nodejs/node/pull/45312
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-01-03 08:38:36 -05:00
Node.js GitHub Bot
28b937ae38
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/45333
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-01-03 08:38:36 -05:00
Facundo Tuesca
75a146f436
tools: add automation for updating base64 dependency
...
Add a Github Action that checks for new versions of the `base64` C
library, and creates a PR to update it if a newer version than the one
present in the repo is found.
Refs: https://github.com/nodejs/security-wg/issues/828
PR-URL: https://github.com/nodejs/node/pull/45300
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-01-03 08:38:36 -05:00
Daeyeon Jeong
3f69d21b5c
doc: add node: prefix for examples
...
Core modules are currently distinguished with the `node:` prefix.
This updates a few examples in docs to use the prefix for consistency.
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/45328
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-01-03 08:38:36 -05:00
Luigi Pinca
c9c958e188
deps: upgrade to libuv 1.44.2
...
Notable changes:
- Build regression fixes for various platform updates
(https://github.com/libuv/libuv/pull/3428 ,
https://github.com/libuv/libuv/pull/3419 ,
https://github.com/libuv/libuv/pull/3423 ,
https://github.com/libuv/libuv/pull/3413 ,
https://github.com/libuv/libuv/pull/3431 )
- Support for GNU/Hurd (https://github.com/libuv/libuv/pull/3450 )
- Release tool improvements
(https://github.com/libuv/libuv-release-tool/pull/13 )
- Better performing rw locks on Win32 (https://github.com/libuv/libuv/pull/3383 )
- Support for posix_spawn API (https://github.com/libuv/libuv/pull/3257 )
- Fix regression on OpenBSD (https://github.com/libuv/libuv/pull/3506 )
- Add uv_available_parallelism() (https://github.com/libuv/libuv/pull/3499 )
- Don't use thread-unsafe strtok() (https://github.com/libuv/libuv/pull/3524 )
- Fix hang after NOTE_EXIT (https://github.com/libuv/libuv/pull/3521 )
- Better align order-of-events behavior between platforms
(https://github.com/libuv/libuv/pull/3598 )
- Fix fs event not fired if the watched file is moved/removed/recreated
(https://github.com/libuv/libuv/pull/3540 )
- Fix pipe resource leak if closed during connect (and other bugs)
(https://github.com/libuv/libuv/pull/3611 )
- Don't error when killing a zombie process
(https://github.com/libuv/libuv/pull/3625 )
- Avoid posix_spawnp() cwd bug (https://github.com/libuv/libuv/pull/3597 )
- Skip EVFILT_PROC events when invalidating events for an fd
(https://github.com/libuv/libuv/pull/3629 )
Fixes: https://github.com/nodejs/node/issues/42290
PR-URL: https://github.com/nodejs/node/pull/42340
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-01-03 08:38:36 -05:00
Luigi Pinca
12764fc725
test: defer invocation checks
...
Do not immediately check the `tcpserver` hook invocations when it
closes. Do it in the next iteration of the event loop.
PR-URL: https://github.com/nodejs/node/pull/42340
Refs: https://github.com/nodejs/node/pull/42340#issuecomment-1290964192
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-01-03 08:38:35 -05:00