James M Snell
b915124e49
src: use spaceship operator in SocketAddress
...
PR-URL: https://github.com/nodejs/node/pull/56059
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2024-12-03 07:15:14 -08:00
Shelley Vohr
3b6da7ce76
build: allow overriding clang usage
...
PR-URL: https://github.com/nodejs/node/pull/56016
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2024-12-03 14:17:48 +00:00
Yagiz Nizipli
ebc179d68b
src: add missing qualifiers to env.cc
...
PR-URL: https://github.com/nodejs/node/pull/56062
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2024-12-03 14:05:50 +00:00
Rafael Gonzaga
742ea1c85f
doc: add create-release-action to process
...
PR-URL: https://github.com/nodejs/node/pull/55993
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
2024-12-03 13:22:48 +00:00
Mert Can Altin
20bcaa081b
util: add fast path for Latin1 decoding
...
PR-URL: https://github.com/nodejs/node/pull/55275
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Daniel Lemire <daniel@lemire.me >
2024-12-03 11:32:01 +00:00
Node.js GitHub Bot
5ef4985175
deps: update sqlite to 3.47.1
...
PR-URL: https://github.com/nodejs/node/pull/56094
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2024-12-03 01:04:38 +00:00
Geoffrey Booth
94c327c753
module: remove --experimental-default-type
...
PR-URL: https://github.com/nodejs/node/pull/56092
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jacob Smith <jacob@frende.me >
2024-12-02 22:43:55 +00:00
Node.js GitHub Bot
47b80c293d
deps: update undici to 7.0.0
...
PR-URL: https://github.com/nodejs/node/pull/56070
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2024-12-02 20:59:24 +00:00
theanarkh
d5d1e80763
net: support blocklist for net.Server
...
PR-URL: https://github.com/nodejs/node/pull/56079
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-12-02 15:21:31 +00:00
Yagiz Nizipli
8bd9a848d7
src: use std::string_view for process emit fns
...
PR-URL: https://github.com/nodejs/node/pull/56086
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-12-02 15:08:33 +00:00
theanarkh
61e4ad5352
dgram: check udp buffer size to avoid fd leak
...
PR-URL: https://github.com/nodejs/node/pull/56084
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-12-02 04:48:53 +00:00
Gerhard Stöbich
384fa62569
src: remove dead code in async_wrap
...
The silent option for AsyncWrap and AsyncReset is not used anywhere.
Seems like a leftover from times PromiseWrap was used.
PR-URL: https://github.com/nodejs/node/pull/56065
Refs: https://github.com/nodejs/node/pull/39135
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2024-12-01 18:50:15 +00:00
Gerhard Stöbich
58982d712b
src: add async context frame to AsyncResource
...
Add member to hold the async context frame to AsyncResource to avoid
the need for the async_resource_context_frames_ map in env.
Semver major because it changes ABI.
PR-URL: https://github.com/nodejs/node/pull/56082
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2024-12-01 18:28:25 +00:00
Yagiz Nizipli
de5f91db8b
src: avoid copy on getV8FastApiCallCount
...
PR-URL: https://github.com/nodejs/node/pull/56081
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-12-01 17:27:16 +00:00
Luigi Pinca
3f9c6c0f60
test: move test-worker-arraybuffer-zerofill to parallel
...
Move `test/sequential/test-worker-arraybuffer-zerofill.js` back to
`test/parallel/test-worker-arraybuffer-zerofill.js` and remove the
flaky designation.
The original issue is likely the same as other tests that time out.
Refs: https://github.com/nodejs/node/issues/54918
Refs: https://github.com/nodejs/node/pull/54839
Refs: https://github.com/nodejs/node/pull/54802
PR-URL: https://github.com/nodejs/node/pull/56053
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2024-12-01 07:13:10 +00:00
Tobias Nießen
3fb2ea8689
doc: rename file to advocacy-ambassador-program.md
...
PR-URL: https://github.com/nodejs/node/pull/56046
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2024-11-30 18:41:06 +00:00
Rafael Gonzaga
03ec900e07
build: remove defaults for create-release-proposal
...
To prevent users from executing the workflow via CLI
without passing the desired inputs.
PR-URL: https://github.com/nodejs/node/pull/56042
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-11-30 02:14:00 +00:00
Rafael Gonzaga
1c81dbbf87
meta: add releasers as CODEOWNERS to proposal action
...
PR-URL: https://github.com/nodejs/node/pull/56043
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2024-11-29 21:04:28 +00:00
Yagiz Nizipli
4ee87b8bc3
zlib: deprecate classes usage without new
...
PR-URL: https://github.com/nodejs/node/pull/55718
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
2024-11-29 20:55:03 +00:00
Alex Yang
22792b852c
sqlite: deps include sqlite3ext.h
...
PR-URL: https://github.com/nodejs/node/pull/56010
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-29 18:10:40 +00:00
Michaël Zasso
61b077d346
tools: fix update-undici script
...
The `build:node` npm script now expects esbuild to be installed and
bin-linked.
Closes: https://github.com/nodejs/node/issues/56061
PR-URL: https://github.com/nodejs/node/pull/56069
Fixes: https://github.com/nodejs/node/issues/56061
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2024-11-29 09:09:04 +00:00
Node.js GitHub Bot
4efb7ae454
deps: update zlib to 1.3.0.1-motley-82a5fec
...
PR-URL: https://github.com/nodejs/node/pull/55980
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-11-29 06:47:40 +00:00
Antoine du Hamel
b5eb77fd5d
tools: allow dispatch of tools.yml from forks
...
PR-URL: https://github.com/nodejs/node/pull/56008
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-28 23:52:37 +00:00
Antoine du Hamel
0a9524bd35
tools: fix nghttp3 updater script
...
PR-URL: https://github.com/nodejs/node/pull/56007
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2024-11-28 23:52:23 +00:00
James M Snell
4cf6fabce2
quic: update more QUIC implementation
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/55986
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
2024-11-28 09:53:50 -08:00
theanarkh
aa7c8ccd45
src: fix check fd
...
PR-URL: https://github.com/nodejs/node/pull/56000
Fixes: https://github.com/nodejs/node/issues/55983
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-28 16:26:17 +00:00
Node.js GitHub Bot
d09458f3f0
test: update WPT for url to 67880a4eb83ca9aa732eec4b35a1971ff5bf37ff
...
PR-URL: https://github.com/nodejs/node/pull/55999
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
2024-11-28 13:55:51 +00:00
Gürgün Dayıoğlu
ba912ee310
fs: lazily load ReadFileContext
...
PR-URL: https://github.com/nodejs/node/pull/55998
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
2024-11-28 12:00:52 +00:00
Filip Skokan
08e0147d97
test,crypto: update WebCryptoAPI WPT
...
PR-URL: https://github.com/nodejs/node/pull/55997
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2024-11-28 10:23:14 +00:00
Bart Louwers
853b304db8
doc: add added tag and fix typo sqlite.md
...
PR-URL: https://github.com/nodejs/node/pull/56012
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2024-11-27 20:56:40 +00:00
Pietro Marchini
24a8662359
lib: refactor code to improve readability
...
PR-URL: https://github.com/nodejs/node/pull/55995
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2024-11-27 20:48:21 +00:00
Blended Bram
e64f9496c0
doc: remove unused import from sample code
...
The `node:path` module is referenced in a code snippet that doesn't
actually use it.
PR-URL: https://github.com/nodejs/node/pull/55570
Reviewed-By: Raz Luvaton <rluvaton@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-11-27 21:18:00 +01:00
Antoine du Hamel
5ae07d0717
tools: filter release keys to reduce interactivity
...
PR-URL: https://github.com/nodejs/node/pull/55950
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-27 20:16:10 +00:00
Rafael Gonzaga
585f7bc952
doc: add FAQ to releases section
...
PR-URL: https://github.com/nodejs/node/pull/55992
Reviewed-By: Ruy Adorno <ruy@vlt.sh >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-11-27 14:57:13 +00:00
Luigi Pinca
db8ff56629
doc: move history entry to class description
...
Move the history entry for the `TextDecoder` class into the class
description itself instead of its constructor.
Refs: https://github.com/nodejs/node/issues/55938
PR-URL: https://github.com/nodejs/node/pull/55991
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2024-11-27 14:24:53 +00:00
Luigi Pinca
090aa8bd8e
doc: add history entry for textEncoder.encodeInto()
...
Fixes: https://github.com/nodejs/node/issues/55938
PR-URL: https://github.com/nodejs/node/pull/55990
Refs: https://github.com/nodejs/node/pull/29524
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
2024-11-27 14:11:49 +00:00
Shelley Vohr
c6d3fddbb3
doc: improve GN build documentation a bit
...
PR-URL: https://github.com/nodejs/node/pull/55968
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-27 14:11:35 +00:00
Filip Skokan
5bdf1c4ee8
doc: fix deprecation codes
...
PR-URL: https://github.com/nodejs/node/pull/56018
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-11-27 13:16:21 +00:00
Luigi Pinca
17f39bcf3c
doc: remove confusing and outdated sentence
...
Remove confusing and outdated sentence in `doc/api/stream.md`.
Fixes: https://github.com/nodejs/node/issues/55987
PR-URL: https://github.com/nodejs/node/pull/55988
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jason Zhang <xzha4350@gmail.com >
Reviewed-By: LiviaMedeiros <livia@cirno.name >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
2024-11-27 10:26:27 +00:00
Joyee Cheung
9029aec834
cli: implement --trace-env and --trace-env-[js|native]-stack
...
This implements --trace-env, --trace-env-js-stack and
--trace-env-native-stack CLI options which can be used to find
out what environment variables are accessed and where they are
accessed.
PR-URL: https://github.com/nodejs/node/pull/55604
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-11-27 09:44:16 +00:00
René
ae8280c95d
process: deprecate features.{ipv6,uv} and features.tls_*
...
PR-URL: https://github.com/nodejs/node/pull/55545
Fixes: https://github.com/nodejs/node/issues/55537
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-27 04:19:16 +00:00
Antoine du Hamel
7450332339
tools: update WPT updater
...
Update the workflow to support subsystems that contains non alphanumeric
char. Remove the Jenkins token as it is unused. Update external actions.
Use shorter ref for upstream commits.
PR-URL: https://github.com/nodejs/node/pull/56003
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2024-11-26 20:04:41 +00:00
Mert Can Altin
4f62ab5af8
tools: add WPT updater for specific subsystems
...
PR-URL: https://github.com/nodejs/node/pull/54460
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2024-11-26 13:43:43 +00:00
Shima Ryuhei
3bb1d28499
src: safely remove the last line from dotenv
...
Refs: https://github.com/nodejs/node/issues/55925
PR-URL: https://github.com/nodejs/node/pull/55982
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-26 10:12:50 +00:00
Stefan Stojanovic
542f252d36
build: avoid compiling with VS v17.12
...
Refs: https://github.com/nodejs/build/issues/3963
PR-URL: https://github.com/nodejs/node/pull/55930
Refs: https://github.com/nodejs/node/pull/53863
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2024-11-26 10:12:34 +00:00
Shelley Vohr
0ba264ff4a
build: set node_arch to target_cpu in GN
...
PR-URL: https://github.com/nodejs/node/pull/55967
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-26 10:01:09 +00:00
ywave620
fb8de039c9
http2: fix memory leak caused by premature listener removing
...
Http2Session should always call ondone into JS to detach the
handle. In some case, ondone is defered to be called by the
StreamListener through WriteWrap, we should be careful of this
before getting rid of the StreamListener.
PR-URL: https://github.com/nodejs/node/pull/55966
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2024-11-26 03:25:22 +00:00
Node.js GitHub Bot
619355b9c6
deps: update corepack to 0.30.0
...
PR-URL: https://github.com/nodejs/node/pull/55977
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2024-11-26 01:02:35 +00:00
Node.js GitHub Bot
1fd48f2157
deps: update ngtcp2 to 1.9.0
...
PR-URL: https://github.com/nodejs/node/pull/55975
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2024-11-26 01:01:52 +00:00
Node.js GitHub Bot
9fde4f6834
deps: update simdutf to 5.6.3
...
PR-URL: https://github.com/nodejs/node/pull/55973
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2024-11-26 01:01:45 +00:00