Mert Can Altın
e2c51385c7
test: test surrogate pair filenames on windows
...
PR-URL: https://github.com/nodejs/node/pull/51800
Fixes: https://github.com/nodejs/node/issues/51789
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-29 12:54:52 +01:00
Node.js GitHub Bot
84c71fa895
meta: move one or more collaborators to emeritus
...
PR-URL: https://github.com/nodejs/node/pull/51726
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-29 12:54:52 +01:00
JounQin
3fdaeba9e6
doc: remove redundant backquote which breaks sentence
...
PR-URL: https://github.com/nodejs/node/pull/51904
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
2024-02-29 12:54:51 +01:00
Ulises Gascón
58747734a2
doc: update node-api/node-addon-api team link to sharing project news
...
PR-URL: https://github.com/nodejs/node/pull/51877
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2024-02-29 12:54:51 +01:00
Lei Shi
7e06c11f55
benchmark: update iterations of assert/deepequal-typedarrays.js
...
Fixes: https://github.com/nodejs/node/issues/50571
PR-URL: https://github.com/nodejs/node/pull/51419
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-29 12:54:51 +01:00
Lei Shi
72be232006
benchmark: update iterations of benchmark/assert/deepequal-map.js
...
Fixed: https://github.com/nodejs/node/issues/50571
PR-URL: https://github.com/nodejs/node/pull/51416
Fixes: https://github.com/nodejs/node/issues/50571
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-29 12:54:51 +01:00
IlyasShabi
5b06af7814
stream: fix eventNames() to not return not defined events
...
PR-URL: https://github.com/nodejs/node/pull/51331
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-29 12:54:51 +01:00
Joyee Cheung
7543e774bd
src: simplify direct queries of env vars in C++ land
...
In many cases we can query the environment variable directly instead
of encoding it into UTF8 first and then decoding it again from
UTF8 via an intermediate V8 string.
Drive-by: pass per_process::system_environment explicitly when
the real environment variables are supposed to be used instead of
relying on fallback with defaults.
PR-URL: https://github.com/nodejs/node/pull/51829
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-02-29 12:54:51 +01:00
Ulises Gascón
2cdfe35437
doc: add website team to sharing project news
...
PR-URL: https://github.com/nodejs/node/pull/49002
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-29 12:54:51 +01:00
theanarkh
c6cc3ed3b4
net: fix connect crash when call destroy in lookup handler
...
PR-URL: https://github.com/nodejs/node/pull/51826
Fixes: https://github.com/nodejs/node/issues/50841
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2024-02-29 12:54:51 +01:00
Shrujal Shah
db30428f06
doc: update guide link for Event Loop
...
PR-URL: https://github.com/nodejs/node/pull/51874
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Claudio Wunder <cwunder@gnome.org >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-29 12:54:51 +01:00
Joyee Cheung
78c226281c
crypto: implement crypto.hash()
...
This patch introduces a helper crypto.hash() that computes
a digest from the input at one shot. This can be 1.2-1.6x faster
than the object-based createHash() for smaller inputs (<= 5MB)
that are readily available (not streamed) and incur less memory
overhead since no intermediate objects will be created.
PR-URL: https://github.com/nodejs/node/pull/51044
Refs: https://github.com/nodejs/performance/issues/136
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
2024-02-29 12:54:51 +01:00
Joyee Cheung
5a2d2daad5
lib: move encodingsMap to internal/util
...
PR-URL: https://github.com/nodejs/node/pull/51044
Refs: https://github.com/nodejs/performance/issues/136
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
2024-02-29 12:54:51 +01:00
Michaël Zasso
4ebb944800
deps: update undici to 6.6.2
...
This commit is the result of reverting the v5.28.3 security update
and then cleanly cherry-picking all 6.x updates from `main` until
6.6.2, which also includes the security fix.
Backport-PR-URL: https://github.com/nodejs/node/pull/51768
PR-URL: https://github.com/nodejs/node/pull/51667
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-29 12:54:20 +01:00
Jeremy Meng
f130a33438
Revert "fs: remove workaround for esm package"
...
This reverts commit 95b1989113 .
It appears that the workaround is still needed: issue #51081
Backport-PR-URL: https://github.com/nodejs/node/pull/51390
PR-URL: https://github.com/nodejs/node/pull/50907
Fixes: https://github.com/nodejs/node/issues/51081
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-29 12:52:55 +01:00
Node.js GitHub Bot
71a809bd43
tools: update eslint to 8.57.0
...
PR-URL: https://github.com/nodejs/node/pull/51867
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-27 12:13:41 +01:00
mert.altin
78f818069a
events: no stopPropagation call in cancelBubble
...
PR-URL: https://github.com/nodejs/node/pull/50405
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2024-02-27 12:13:41 +01:00
kylo5aby
ec17fd73cc
http: fix close return value mismatch between doc and implementation
...
PR-URL: https://github.com/nodejs/node/pull/51797
Fixes: https://github.com/nodejs/node/issues/51787
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-27 12:13:41 +01:00
Marco Ippolito
5f9491237c
test_runner: add ref methods to mocked timers
...
Fixes: https://github.com/nodejs/node/issues/51701
PR-URL: https://github.com/nodejs/node/pull/51809
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Tierney Cyren <hello@bnb.im >
2024-02-27 12:13:41 +01:00
Joyee Cheung
8f10543c58
src: stop the profiler and the inspector before snapshot serialization
...
Otherwise NODE_V8_COVERAGE would crash in snapshot tests because V8
cannot serialize the leftover debug infos. This ensures that we clean
them all up before serialization.
PR-URL: https://github.com/nodejs/node/pull/51815
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-27 12:13:41 +01:00
Ameet Kaustav
a5a17a18e3
doc: change ExperimentalWarnings to ExperimentalWarning
...
PR-URL: https://github.com/nodejs/node/pull/51741
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
2024-02-27 12:10:14 +01:00
Node.js GitHub Bot
3b29dff0ed
deps: update ngtcp2 to 1.3.0
...
PR-URL: https://github.com/nodejs/node/pull/51796
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2024-02-27 12:10:14 +01:00
Rafael Gonzaga and Hemanth HM
88e08bbe80
util: add styleText API to text formatting
...
Co-Authored-By: Hemanth HM <hemanth.hm@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/51850
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2024-02-27 12:10:14 +01:00
unbyte
8dc3f91eb4
lib,src: extract sourceMappingURL from module
...
PR-URL: https://github.com/nodejs/node/pull/51690
Refs: https://github.com/nodejs/node/issues/51522
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2024-02-27 12:10:14 +01:00
Joyee Cheung
eb1089ab17
lib: do not access process.noDeprecation at build time
...
Delay access at run time otherwise the value is captured at build
time and always false.
PR-URL: https://github.com/nodejs/node/pull/51447
Reviewed-By: Jithil P Ponnan <jithil@outlook.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-27 12:10:14 +01:00
Joyee Cheung
049e5f5e8c
test: deflake test-http2-large-write-multiple-requests
...
If the server is not referenced, it might go away too soon
and the client may not get enough ends for it to close
itself, resulting a timeout.
This patch updates the test to simply close the server when
enough requests have been processed, and keep the server
referenced while the test is ongoing.
Drive-by: add more logs to facilitate debugging.
PR-URL: https://github.com/nodejs/node/pull/51863
Refs: https://github.com/nodejs/reliability/issues/791
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:14 +01:00
Daniel Lemire
28c0ffb363
deps: update simdjson to 3.7.0
...
PR-URL: https://github.com/nodejs/node/pull/51859
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:14 +01:00
Node.js GitHub Bot
496776cc78
crypto: update root certificates to NSS 3.98
...
This is the certdata.txt[0] from NSS 3.98, released on 2024-02-15.
This is the version of NSS that will ship in Firefox 124 on
2024-03-19.
Certificates added:
- Telekom Security TLS ECC Root 2020
- Telekom Security TLS RSA Root 2023
Certificates removed:
- Security Communication Root CA
[0] https://hg.mozilla.org/projects/nss/raw-file/NSS_3_98_RTM/lib/ckfw/builtins/certdata.txt
PR-URL: https://github.com/nodejs/node/pull/51794
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2024-02-27 12:10:14 +01:00
Joyee Cheung
2bf03ee678
test: fix test-debugger-profile for coverage generation
...
The child process should not inherit NODE_V8_COVERAGE because
that clobbers the inspector output the test is checking.
PR-URL: https://github.com/nodejs/node/pull/51816
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2024-02-27 12:10:14 +01:00
Joyee Cheung
d47a95f3b1
test: fix test-bootstrap-modules for coverage generation
...
The internal binding profiler is loaded if the test is run with
NODE_V8_COVERAGE.
PR-URL: https://github.com/nodejs/node/pull/51816
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev >
2024-02-27 12:10:14 +01:00
Node.js GitHub Bot
58b1403693
deps: update corepack to 0.25.2
...
PR-URL: https://github.com/nodejs/node/pull/51810
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2024-02-27 12:10:14 +01:00
Node.js GitHub Bot
c7083720cc
deps: update c-ares to 1.27.0
...
PR-URL: https://github.com/nodejs/node/pull/51846
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:14 +01:00
Node.js GitHub Bot
20effe638a
tools: update lint-md-dependencies to rollup@4.12.0
...
PR-URL: https://github.com/nodejs/node/pull/51795
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2024-02-27 12:10:13 +01:00
Node.js GitHub Bot
6c0a3b9c0d
tools: update lint-md-dependencies to rollup@4.12.0
...
PR-URL: https://github.com/nodejs/node/pull/51795
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2024-02-27 12:10:13 +01:00
Cheng Zhao
03f926ddca
tools: fix missing [[fallthrough]] in js2c
...
The latest clang warns about this.
PR-URL: https://github.com/nodejs/node/pull/51845
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:13 +01:00
BuShe Pie
c9ada533a2
build: remove librt libs link for Android compatibility
...
PR-URL: https://github.com/nodejs/node/pull/51632
Fixes: https://github.com/nodejs/node/issues/50184
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2024-02-27 12:10:13 +01:00
Joyee Cheung
c0918f082f
test: ensure delay in recursive fs watch tests
...
The recursive fs watch tests that mutate the watched folder
immediately after fs.watch() returns are all flaking in the
CI while the others that mutate the folder with a bit of delay
aren't flaking. So this patch adds a bit of delay for the rest
of the tests to deflake them.
PR-URL: https://github.com/nodejs/node/pull/51842
Refs: https://github.com/nodejs/reliability/issues/790
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:13 +01:00
Joyee Cheung
1f6551dda2
test: fix test-child-process-fork-net
...
The child processes are supposed to get 4 messages (2 ends, 2 writes).
Previously the mustCall() wrapping the message listener attempts
to match exactly 1 invocation which is bound to fail but could be
swallowed if the child happens to be killed before the exit event
is fired for the mustCall() check to work. In the CI, on some
machines the kill() could happen after the child process finishes
with the mustCall() check, resulting in EPERM errors in kill().
This patch fixes the mustCall() checks (updating the expected
invocation count to 4) and swallow the errors when kill() fails,
which should be fine because they are only there for cleanup.
PR-URL: https://github.com/nodejs/node/pull/51841
Refs: https://github.com/nodejs/node/issues/51813
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:13 +01:00
Rafael Gonzaga
b502be1d09
tools: disable automated libuv updates
...
Because the previous security release modified the bundled version of
libuv, we cannot automatically update libuv without potentially undoing
those changes.
PR-URL: https://github.com/nodejs/node/pull/51775
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-02-27 12:10:13 +01:00
Joyee Cheung
f845a16c58
test: split wasi tests
...
Move the child process code into a fixture and split the test
so that it can be run in parallel and it's easier to identify
where the failure is coming from. Also use the
spawnSyncAndExitWithoutError() utility so that the test shows
complete information on failure.
Instead of marking all the wasi tests as flaky, only mark the
wasi-poll one which is flaking in the CI now.
PR-URL: https://github.com/nodejs/node/pull/51836
Refs: https://github.com/nodejs/node/issues/51822
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2024-02-27 12:10:13 +01:00
mary marchini
58e2015a03
inspector: add NodeRuntime.waitingForDebugger event
...
`NodeRuntime.waitingForDebugger` is a new Inspector Protocol event that
will fire when the process being inspected is waiting for the debugger
(for example, when `inspector.waitForDebugger()` is called). This allows
inspecting processes to know when the inspected process is waiting for a
`Runtime.runIfWaitingForDebugger` message to resume execution. It allows
tooling to resume execution of the inspected process as soon as it deems
necessary, without having to guess if the inspected process is waiting
or not, making the workflow more deterministic. With a more
deterministic workflow, it is possible to update Node.js core tests to
avoid race conditions that can cause flakiness. Therefore, tests were
also changed as following:
* Remove no-op Runtime.runIfWaitingForDebugger from tests that don't
need it
* Use NodeRuntime.waitingForDebugger in all tests that need
Runtime.runIfWaitingForDebugger, to ensure order of operations is
predictable and correct
* Simplify test-inspector-multisession-ws
There might be value in adding `NodeWorker.waitingForDebugger` in a
future patch, but as of right now, no Node.js core inspector tests using
worker threads are not failing due to race conditions.
Fixes: https://github.com/nodejs/node/issues/34730
PR-URL: https://github.com/nodejs/node/pull/51560
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2024-02-27 12:10:13 +01:00
Janrupf
bc6f33d8d1
node-api: make napi_get_buffer_info check if passed buffer is valid
...
PR-URL: https://github.com/nodejs/node/pull/51571
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-27 12:10:13 +01:00
Cheng Zhao
86ac787889
build: do not rely on gn_helpers in GN build
...
PR-URL: https://github.com/nodejs/node/pull/51439
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:13 +01:00
Cheng Zhao
59117317f3
build,tools: make addons tests work with GN
...
PR-URL: https://github.com/nodejs/node/pull/50737
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
2024-02-27 12:10:13 +01:00
Cheng Zhao
9be6b7ccf0
build: fix warning in cares under GN build
...
This change can be removed after the upstream fix lands in Node:
https://github.com/c-ares/c-ares/pull/709
PR-URL: https://github.com/nodejs/node/pull/51687
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-02-27 12:10:13 +01:00
Cheng Zhao
d1a8c2e989
build: fix building js2c with GN
...
This is a follow-up to https://github.com/nodejs/node/pull/51605 .
PR-URL: https://github.com/nodejs/node/pull/51818
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-02-27 12:10:13 +01:00
Joyee Cheung
ccc76bbfd7
src: simplify embedder entry point execution
...
Previously we wrapped the embedder entry point callback into a
binding and then invoke the binding from JS land which was a bit
convoluted. Now we just call it directly from C++.
The main scripts that needed to tail call the embedder callback now
return the arguments in an array so that the C++ land can extract
the arguments and pass them to the callback. We also set
`PauseOnNextJavascriptStatement()` for --inspect-brk and mark
the bootstrap complete milestone directly in C++ for these
execution modes.
PR-URL: https://github.com/nodejs/node/pull/51557
Reviewed-By: Daniel Lemire <daniel@lemire.me >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2024-02-27 12:10:13 +01:00
Joyee Cheung
275cea0fdb
test: mark test-wasi as flaky on Windows on ARM
...
It has failed 22 PRs from the latest 100 CI runs.
PR-URL: https://github.com/nodejs/node/pull/51834
Refs: https://github.com/nodejs/node/issues/51822
Refs: https://github.com/nodejs/reliability/issues/790
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-02-27 12:10:13 +01:00
Luigi Pinca
2fb620cd00
test: remove test-fs-stat-bigint flaky designation
...
Refs: https://github.com/nodejs/node/issues/31727#issuecomment-985589968
PR-URL: https://github.com/nodejs/node/pull/51735
Reviewed-By: Michael Dawson <midawson@redhat.com >
2024-02-27 12:10:13 +01:00
Michael Dawson
32d92aca1f
doc: add Paolo to TSC members
...
Refs: https://github.com/nodejs/TSC/issues/1501
Signed-off-by: Michael Dawson <midawson@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/51825
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2024-02-27 12:10:13 +01:00