Node.js GitHub Bot
20d038ffb1
tools: update lint-md-dependencies to rollup@3.29.0 unified@11.0.3
...
PR-URL: https://github.com/nodejs/node/pull/49584
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-09-27 22:32:47 -04:00
Antoine du Hamel
6377f1bce2
errors: use determineSpecificType in more error messages
...
PR-URL: https://github.com/nodejs/node/pull/49580
Fixes: https://github.com/nodejs/node/issues/49576
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
2023-09-27 22:32:46 -04:00
William Marlow
db3fc6d087
fs: fix readdir and opendir recursive with unknown file types
...
If the libuv operations invoked by `readdir`/`opendir` return
`uv_dirent_t` values where the `type` is `UV_DIRENT_UNKNOWN` then a
further `lstat` is issued to fully construct the `Dirent` values. In the
recursive versions of these functions, the `path` parameter was
incorrectly assumed to be the path to the entry when it should be the
path to the directory containing the entry.
Fixes #49499 .
PR-URL: https://github.com/nodejs/node/pull/49603
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-09-27 22:32:46 -04:00
Joyee Cheung
ed7c6d1114
test: mark test-http-regr-gh-2928 as flaky
...
It has been flaky for more than a year. Mark it as flaky to avoid
blocking the CI.
PR-URL: https://github.com/nodejs/node/pull/49565
Refs: https://github.com/nodejs/reliability/issues/658
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Ruy Adorno <ruyadorno@google.com >
2023-09-27 22:32:46 -04:00
Joyee Cheung
3599eebab9
test: use spawnSyncAndExitWithoutError in sea tests
...
To display more information when the command fails.
PR-URL: https://github.com/nodejs/node/pull/49543
Refs: https://github.com/nodejs/reliability/issues/658
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-27 22:32:46 -04:00
Joyee Cheung
f79b153e89
test: use spawnSyncAndExitWithoutError in test/common/sea.js
...
To display more information when the command fails.
PR-URL: https://github.com/nodejs/node/pull/49543
Refs: https://github.com/nodejs/reliability/issues/658
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-27 22:32:46 -04:00
Joyee Cheung
c079c73769
test: use setImmediate() in test-heapdump-shadowrealm.js
...
With a tight loop the GC may not have enough time to kick in.
Try setImmediate() instead.
PR-URL: https://github.com/nodejs/node/pull/49573
Refs: https://github.com/nodejs/node/issues/49572
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-09-27 22:32:45 -04:00
Joyee Cheung
fb21062338
src: set --rehash-snapshot explicitly
...
To prepare for https://chromium-review.googlesource.com/c/v8/v8/+/4839486
PR-URL: https://github.com/nodejs/node/pull/49556
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:32:45 -04:00
Joyee Cheung
667a92493c
test: skip test-child-process-pipe-dataflow.js on Windows
...
This is constantly failing on Windows now that the CI is never green
there. To give CI at least some green space, mark it as SKIP, because
we've been practically ignoring the failure for months anyway, and
will probably just continue doing that.
PR-URL: https://github.com/nodejs/node/pull/49563
Refs: https://github.com/nodejs/node/issues/48300
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-09-27 22:32:45 -04:00
Cheng Zhao
14ece0aa76
src: allow embedders to override NODE_MODULE_VERSION
...
PR-URL: https://github.com/nodejs/node/pull/49279
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2023-09-27 22:32:45 -04:00
Deokjin Kim
f62d649e4d
lib: use internal fileURLToPath
...
For internal usage, `internal/url` should be used.
Refs: https://github.com/nodejs/node/pull/49553
PR-URL: https://github.com/nodejs/node/pull/49558
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Raz Luvaton <rluvaton@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-09-27 22:32:45 -04:00
Livia Medeiros
e515046941
lib: use internal pathToFileURL
...
PR-URL: https://github.com/nodejs/node/pull/49553
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-09-27 22:30:07 -04:00
legendecas
91af0a9a3c
Revert "test: ignore the copied entry_point.c"
...
This reverts commit d15652e959 .
PR-URL: https://github.com/nodejs/node/pull/49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com >
2023-09-27 22:30:07 -04:00
legendecas
567afc71b8
test: avoid copying test source files
...
Converting the helper functions to be inlined and making the helper file
header only.
PR-URL: https://github.com/nodejs/node/pull/49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com >
2023-09-27 22:30:07 -04:00
Luigi Pinca
c23c60f545
zlib: disable CRC32 SIMD optimization
...
It seems that the optimization causes memory corruption. Disable it
until the issue is fixed upstream.
Fixes: https://github.com/nodejs/node/issues/45268
PR-URL: https://github.com/nodejs/node/pull/49511
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-27 22:30:07 -04:00
Antoine du Hamel
ced25a976d
test: increase coverage of Module.register and initialize hook
...
PR-URL: https://github.com/nodejs/node/pull/49532
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-27 22:30:07 -04:00
Geoffrey Booth
be02fbdb8a
test: isolate globalPreload tests
...
PR-URL: https://github.com/nodejs/node/pull/49545
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-09-27 22:30:06 -04:00
Vidar Eldøy
53fb5aead8
doc: save user preference for JS flavor
...
PR-URL: https://github.com/nodejs/node/pull/49526
Fixes: https://github.com/nodejs/node/issues/49508
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2023-09-27 22:30:06 -04:00
Antoine du Hamel
ac06607f9e
typings: fix missing property in ExportedHooks
...
PR-URL: https://github.com/nodejs/node/pull/49567
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-09-27 22:30:06 -04:00
Antoine du Hamel
be48267888
esm: remove return value for Module.register
...
The current API shape si not great because it's too limited and
redundant with the use of `MessagePort`.
PR-URL: https://github.com/nodejs/node/pull/49529
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-09-27 22:30:06 -04:00
Shubham Pandey
e3594d5658
doc: update documentation for node:process warning
...
PR-URL: https://github.com/nodejs/node/pull/49517
Refs: https://github.com/nodejs/node/issues/46862
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-09-27 22:30:06 -04:00
Antoine du Hamel
8e033c3963
doc: rename possibly confusing variable and CSS class
...
A "selector" usually refers to a CSS selector, when here it refers to a
checkbox.
PR-URL: https://github.com/nodejs/node/pull/49536
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2023-09-27 22:30:06 -04:00
Raz Luvaton
4126a6e4c9
benchmark: fix webstream pipe-to
...
PR-URL: https://github.com/nodejs/node/pull/49552
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2023-09-27 22:30:05 -04:00
Cheng Zhao
0f020ed22d
gyp: put cctest filenames in variables
...
PR-URL: https://github.com/nodejs/node/pull/49178
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2023-09-27 22:30:05 -04:00
Joyee Cheung
4b5e23c71b
src: set ModuleWrap internal fields only once
...
There is no need to initialize the internal fields to undefined
and then initialize them to something else in the caller. Simply
pass the internal fields into the constructor to initialize
them just once.
PR-URL: https://github.com/nodejs/node/pull/49391
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-09-27 22:30:05 -04:00
Mustafa Ateş Uzun
2d3f5c7cab
src: fix fs_type_to_name default value
...
PR-URL: https://github.com/nodejs/node/pull/49239
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: theanarkh <theratliter@gmail.com >
2023-09-27 22:30:05 -04:00
Antoine du Hamel
d0e0eb4bb3
doc: update outdated history info
...
PR-URL: https://github.com/nodejs/node/pull/49530
Refs: https://github.com/nodejs/node/pull/48842
Refs: https://github.com/nodejs/node/pull/47999
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2023-09-27 22:30:04 -04:00
Joyee Cheung
f214428845
test: split test-crypto-dh to avoid timeout on slow machines in the CI
...
Locally this speeds up running test-crypto-dh* from 7s to 2s. This was
previously timing out in CI (took more than 2 minutes) so should see
a bigger gap in the CI.
PR-URL: https://github.com/nodejs/node/pull/49492
Refs: https://github.com/nodejs/node/issues/49202
Refs: https://github.com/nodejs/reliability/issues/655
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:52 -04:00
Sébastien Règne
b4724e2e3a
doc: close a parenthesis
...
PR-URL: https://github.com/nodejs/node/pull/49525
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-09-27 22:20:52 -04:00
Cheng Zhao
210c15bd12
tools: allow passing absolute path of config.gypi in js2c
...
PR-URL: https://github.com/nodejs/node/pull/49162
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2023-09-27 22:20:51 -04:00
rogertyang
cfbcb1059c
src: fix comment on StreamResource
...
PR-URL: https://github.com/nodejs/node/pull/49193
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:51 -04:00
Joyee Cheung
39fb83ad16
src: do not rely on the internal field being default to undefined
...
It's an undocumented V8 behavior that is subject to change. Instead
just check if the internal field is set to a promise. There is also
no need to check IsEmpty() since the object is guaranteed to be
constructed by the FileHandle constructor with enough internal
fields.
PR-URL: https://github.com/nodejs/node/pull/49413
Refs: https://chromium-review.googlesource.com/c/v8/v8/+/4707972/comment/be9285cc_a49aad88/
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-27 22:20:18 -04:00
Livia Medeiros
3987094569
test: make test-dotenv-node-options locale-independent
...
PR-URL: https://github.com/nodejs/node/pull/49470
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:18 -04:00
Node.js GitHub Bot
15b54ff95d
deps: update googletest to 8a6feab
...
PR-URL: https://github.com/nodejs/node/pull/49463
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:17 -04:00
Joyee Cheung
0471c5798e
doc: cast GetInternalField() return type to v8::Value in addons.md
...
For the breaking change in
https://chromium-review.googlesource.com/c/v8/v8/+/4707972
PR-URL: https://github.com/nodejs/node/pull/49439
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:17 -04:00
Michaël Zasso
e341efe173
tools: configure never-stale label correctly
...
Feature requests are issues, not PRs.
PR-URL: https://github.com/nodejs/node/pull/49498
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:17 -04:00
dependabot[bot]
5366027756
meta: bump github/codeql-action from 2.21.2 to 2.21.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.2 to 2.21.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/0ba4244466797eb048eb91a6cd43d5c03ca8bd05...00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/49438
Refs: https://github.com/github/codeql-action/commit/00e563ead9f72a8461b24876bee2d0c2e8bd2ee8
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-09-27 22:20:17 -04:00
dependabot[bot]
fe26b74082
meta: bump rtCamp/action-slack-notify from 2.2.0 to 2.2.1
...
Bumps [rtCamp/action-slack-notify](https://github.com/rtcamp/action-slack-notify ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/rtcamp/action-slack-notify/releases )
- [Commits](https://github.com/rtcamp/action-slack-notify/compare/12e36fc18b0689399306c2e0b3e0f2978b7f1ee7...b24d75fe0e728a4bf9fc42ee217caa686d141ee8 )
---
updated-dependencies:
- dependency-name: rtCamp/action-slack-notify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
PR-URL: https://github.com/nodejs/node/pull/49437
Refs: https://github.com/rtCamp/action-slack-notify/commit/b24d75fe0e728a4bf9fc42ee217caa686d141ee8
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-09-27 22:20:17 -04:00
Geoffrey Booth
e74a075124
esm: refactor test-esm-loader-resolve-type
...
PR-URL: https://github.com/nodejs/node/pull/49493
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-09-27 22:20:16 -04:00
Geoffrey Booth
17823b3533
esm: refactor test-esm-named-exports
...
PR-URL: https://github.com/nodejs/node/pull/49493
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-09-27 22:20:16 -04:00
Ariel Weiss
9f8bea3dda
doc: fix documentation for input option in child_process
...
PR-URL: https://github.com/nodejs/node/pull/49481
Fixes: https://github.com/nodejs/node/issues/49417
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2023-09-27 22:20:16 -04:00
Oshri Asulin
f3fea92f8a
doc: fix missing imports in test.run code examples
...
The script was missing necessary imports for the `run`
function and the `path` module, causing it to fail.
This commit adds the missing imports and resolves the issue.
- Import `run` from the appropriate module.
- Import `path` to resolve file paths.
The script should now run without errors.
PR-URL: https://github.com/nodejs/node/pull/49489
Fixes: https://github.com/nodejs/node/issues/49488
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-09-27 22:20:16 -04:00
Milan Burda
00608e8070
lib: check SharedArrayBuffer availability in freeze_intrinsics.js
...
PR-URL: https://github.com/nodejs/node/pull/49482
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-09-27 22:20:16 -04:00
Mert Can Altın
e426b77b67
doc: fix documentation for fs.createWriteStream highWaterMark option
...
PR-URL: https://github.com/nodejs/node/pull/49456
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2023-09-27 22:20:16 -04:00
Jithil P Ponnan
ad043bac31
process: add custom dir support for heapsnapshot-signal
...
PR-URL: https://github.com/nodejs/node/pull/47854
Refs: https://github.com/nodejs/node/issues/47842
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Erick Wendel <erick.workspace@gmail.com >
2023-09-27 22:20:15 -04:00
Erick Wendel
b4d42a8f2b
test_runner: fix invalid timer call
...
Signed-off-by: Erick Wendel <erick.workspace@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/49477
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-09-27 22:20:15 -04:00
Livia Medeiros
34c1741792
test: add test for urlstrings usage in node:fs
...
PR-URL: https://github.com/nodejs/node/pull/49471
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-09-27 22:20:15 -04:00
Claudio W
2b119108ff
doc: updated releasers instructions for node.js website
...
PR-URL: https://github.com/nodejs/node/pull/49427
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Ruy Adorno <ruyadorno@google.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-09-27 22:20:15 -04:00
Erick Wendel
f755e6786b
test_runner: add jsdocs to MockTimers
...
Signed-off-by: Erick Wendel <erick.workspace@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/49476
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
2023-09-27 22:20:15 -04:00
Node.js GitHub Bot
a8a8a498ce
tools: update doc dependencies
...
Updated to rehype-raw@7.0.0 rehype-stringify@10.0.0 unified@11.0.2
PR-URL: https://github.com/nodejs/node/pull/49467
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-09-27 22:20:14 -04:00