Bryce Seefieldt
d9f92bc042
doc: fix TOC in releases.md
...
Fixes: https://github.com/nodejs/node/issues/50368
PR-URL: https://github.com/nodejs/node/pull/50372
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-11-11 20:38:21 +01:00
Robert Nagy
e433fa54b7
stream: optimize creation
...
Refs: https://github.com/nodejs/performance/issues/79
PR-URL: https://github.com/nodejs/node/pull/50337
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-11-11 20:38:20 +01:00
Mika Fischer
e2c3b015cd
test_runner: test return value of mocked promisified timers
...
PR-URL: https://github.com/nodejs/node/pull/50331
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Chemi Atlow <chemi@atlow.co.il >
Reviewed-By: Erick Wendel <erick.workspace@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-11-11 20:38:20 +01:00
Cheng Zhao
54ebfc10cb
build: fix building when there is only python3
...
PR-URL: https://github.com/nodejs/node/pull/48462
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2023-11-11 20:38:20 +01:00
Daniel Lemire
f1d79b3cbb
src: use find instead of char-by-char in FromFilePath()
...
PR-URL: https://github.com/nodejs/node/pull/50288
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-11-11 20:37:45 +01:00
Node.js GitHub Bot
62515e118c
deps: update llhttp to 9.1.3
...
PR-URL: https://github.com/nodejs/node/pull/50080
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-11-11 20:37:44 +01:00
Robert Nagy
f56ae67c7b
stream: refactor writable _write
...
PR-URL: https://github.com/nodejs/node/pull/50198
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2023-11-11 20:37:44 +01:00
Raz Luvaton
c4b6e1e9e4
benchmark: add more cases to Readable.from
...
PR-URL: https://github.com/nodejs/node/pull/50351
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-11-11 20:37:44 +01:00
Michael Dawson
2006b57a9a
benchmark: skip test-benchmark-os on IBMi
...
- IBMi does not have the os.uptime implemented so skip
otherwise CI tests fail.
Signed-off-by: Michael Dawson <midawson@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/50286
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-11-11 20:37:44 +01:00
Node.js GitHub Bot
5ccdda4004
tools: update eslint to 8.52.0
...
PR-URL: https://github.com/nodejs/node/pull/50326
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-11-11 20:37:43 +01:00
Node.js GitHub Bot
d6f49c7bdc
deps: update googletest to 116b7e5
...
PR-URL: https://github.com/nodejs/node/pull/50324
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-11-11 20:37:43 +01:00
Aki Hasegawa-Johnson
800206b04a
benchmark: move permission-fs-read to permission-processhas-fs-read
...
PR-URL: https://github.com/nodejs/node/pull/49770
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-11-11 20:37:43 +01:00
Antoine du Hamel
31cd05c39f
test: ensure never settling promises are detected
...
PR-URL: https://github.com/nodejs/node/pull/50318
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-11-11 20:37:42 +01:00
Yagiz Nizipli
3e7226a12f
fs: do not throw error on cpSync internals
...
PR-URL: https://github.com/nodejs/node/pull/50185
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-11-11 20:37:42 +01:00
Jithil P Ponnan
541bdf1e92
src: add commit hash shorthand in zlib version
...
src: add commit hash shorthand in zlib version
PR-URL: https://github.com/nodejs/node/pull/50158
Fixes: https://github.com/nodejs/node/issues/50139
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-11-11 20:37:42 +01:00
Node.js GitHub Bot
bd4634874c
tools: update lint-md-dependencies
...
- @rollup/plugin-commonjs@25.0.7
- @rollup/plugin-node-resolve@15.2.3
- rollup@4.1.4
PR-URL: https://github.com/nodejs/node/pull/50190
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-11-11 20:37:42 +01:00
Rafael Gonzaga
e008336b17
meta: mention other notable changes section
...
PR-URL: https://github.com/nodejs/node/pull/50309
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
2023-11-11 20:37:41 +01:00
Vinícius Lourenço
ad316419dd
test: avoid v8 deadcode on performance function
...
PR-URL: https://github.com/nodejs/node/pull/50074
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-11-11 20:37:41 +01:00
Vinícius Lourenço
905ca00cbc
perf_hooks: reduce overhead of createHistogram
...
PR-URL: https://github.com/nodejs/node/pull/50074
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-11-11 20:37:41 +01:00
Robert Nagy
766bd9c8cc
stream: avoid getter for defaultEncoding
...
PR-URL: https://github.com/nodejs/node/pull/50203
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-11-11 20:37:41 +01:00
Lucas Santos
f6c496563e
test_runner: add Date to the supported mock APIs
...
signed-off-by: Lucas Santos <lhs.santoss@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/48638
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Erick Wendel <erick.workspace@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-11-11 20:37:40 +01:00
Michaël Zasso
dcbddf05f3
Working on v21.1.1
...
PR-URL: https://github.com/nodejs/node/pull/50335
2023-10-24 15:11:08 +02:00
Michaël Zasso
f4e5bebe7d
2023-10-24, Version 21.1.0 (Current)
...
Notable changes:
doc:
* add H4ad to collaborators (Vinícius Lourenço) https://github.com/nodejs/node/pull/50217
esm:
* (SEMVER-MINOR) detect ESM syntax in ambiguous JavaScript (Geoffrey Booth) https://github.com/nodejs/node/pull/50096
fs:
* (SEMVER-MINOR) add flush option to appendFile() functions (Colin Ihrig) https://github.com/nodejs/node/pull/50095
lib:
* (SEMVER-MINOR) add `navigator.userAgent` (Yagiz Nizipli) https://github.com/nodejs/node/pull/50200
stream:
* (SEMVER-MINOR) allow pass stream class to `stream.compose` (Alex Yang) https://github.com/nodejs/node/pull/50187
* call helper function from push and unshift (Raz Luvaton) https://github.com/nodejs/node/pull/50173
PR-URL: https://github.com/nodejs/node/pull/50335
v21.1.0
2023-10-24 11:48:05 +02:00
Luke Albao
f4da308f8d
deps: V8: cherry-pick f7d000a7ae7b
...
Original commit message:
[logging] Bugfix: LinuxPerfBasicLogger should log JS functions
This patch fixes a typo that was introduced in commit
c51041f45400928cd64fbc8f389c0dd0dd15f82f /
https://chromium-review.googlesource.com/c/v8/v8/+/2336793 , which reversed the behavior of the perf_basic_prof_only_functions flag.
This also refactors the equivalent guard in LinuxPerfJitLogger to use the same inline CodeKind API for identifying JS Functions. This is unrelated to the bug, but it seems a fair rider to add on here.
Bug: v8:14387
Change-Id: I25766b0d45f4c65dfec5ae01e094a1ed94111054
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4954225
Reviewed-by: Camillo Bruni <cbruni@chromium.org >
Commit-Queue: Camillo Bruni <cbruni@chromium.org >
Cr-Commit-Position: refs/heads/main@{#90501}
Refs: https://github.com/v8/v8/commit/f7d000a7ae7b731805338338eb51a81fbcfe2628
PR-URL: https://github.com/nodejs/node/pull/50302
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-10-24 09:41:06 +02:00
Antoine du Hamel
998feda118
esm: do not give wrong hints when detecting file format
...
PR-URL: https://github.com/nodejs/node/pull/50314
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-10-24 09:41:06 +02:00
Node.js GitHub Bot
269e268c38
deps: update ada to 2.7.2
...
PR-URL: https://github.com/nodejs/node/pull/50338
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-10-24 09:41:06 +02:00
Tobias Nießen
db2a1cf1cb
doc: fix navigator.hardwareConcurrency example
...
PR-URL: https://github.com/nodejs/node/pull/50278
Refs: https://github.com/nodejs/node/pull/47769
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-10-24 09:41:06 +02:00
Antoine du Hamel
8f7eb15603
vm: use import attributes instead of import assertions
...
The old import assertions proposal has been
renamed to "import attributes" with the following major changes:
1. The keyword is now `with` instead of `assert`.
2. Unknown assertions cause an error rather than being ignored.
This PR updates the documentation to encourage folks to use the new
syntax, and add aliases to preserve backward compatibility.
PR-URL: https://github.com/nodejs/node/pull/50141
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-10-24 09:41:05 +02:00
Moshe Atlow
a9ca7b32e7
test: improve watch mode test
...
PR-URL: https://github.com/nodejs/node/pull/50319
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-10-24 09:41:05 +02:00
Chengzhong Wu
91e373f8e9
node-api: return napi_exception_pending on proxy handlers
...
Accessing JS objects can be trapped with proxy handlers. These
handlers can throw when no node-api errors occur. In such cases,
`napi_pending_exception` should be returned.
PR-URL: https://github.com/nodejs/node/pull/48607
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-10-24 09:41:05 +02:00
Node.js GitHub Bot
03a31ce41e
deps: update corepack to 0.22.0
...
PR-URL: https://github.com/nodejs/node/pull/50325
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-10-24 09:41:05 +02:00
Geoffrey Booth
6e537aeb44
doc: explain how to disable navigator
...
PR-URL: https://github.com/nodejs/node/pull/50310
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-10-23 08:19:46 +02:00
Juan José
87be790fa9
worker: handle detached MessagePort from a different context
...
When `worker.moveMessagePortToContext` is used, the async handle
associated with the port, will be triggered more than needed (at least
one more time) and with null data. That can be avoided by simply
checking that the data is present and the port is not detached.
Fixes: https://github.com/nodejs/node/issues/49075
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/49150
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-10-23 08:19:46 +02:00
Aras Abbasi
1464eba1a0
lib: improve performance of validateStringArray and validateBooleanArray
...
PR-URL: https://github.com/nodejs/node/pull/49756
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2023-10-23 08:19:45 +02:00
Yagiz Nizipli
63b7059efd
test: set test-watch-mode-inspect as flaky
...
PR-URL: https://github.com/nodejs/node/pull/50259
Refs: https://github.com/nodejs/node/issues/49933
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-10-23 08:19:45 +02:00
Robert Nagy
531a3ae4b5
stream: simplify prefinish
...
PR-URL: https://github.com/nodejs/node/pull/50204
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-10-23 08:19:45 +02:00
Node.js GitHub Bot
000531781b
deps: update undici to 5.26.4
...
PR-URL: https://github.com/nodejs/node/pull/50274
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2023-10-23 08:19:45 +02:00
Shi Pujin
c40de82d62
doc: add loong64 info into platform list
...
PR-URL: https://github.com/nodejs/node/pull/50086
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-10-23 08:19:45 +02:00
Richard Lau
1c21a1880b
doc: update release process LTS step
...
A recent refactor of `nodejs-latest-linker` has moved the mapping
between Node.js versions and codenames to a different file.
Refs: https://github.com/nodejs/nodejs-latest-linker/pull/12
PR-URL: https://github.com/nodejs/node/pull/50299
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-10-23 08:19:44 +02:00
Antoine du Hamel
7f87084b05
Revert "test: set test-esm-loader-resolve-type as flaky"
...
This reverts commit 2e4bb3c017 .
PR-URL: https://github.com/nodejs/node/pull/50315
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-10-23 08:19:44 +02:00
Ulises Gascón
ab4bae8e1f
tools: drop support for osx notarization with gon
...
Refs: https://github.com/nodejs/build/issues/3385#issuecomment-1729281269
PR-URL: https://github.com/nodejs/node/pull/50291
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-10-23 08:19:44 +02:00
Niya Shiyas
4d390e2de4
test: replace forEach with for..of in test-http-perf_hooks.js
...
PR-URL: https://github.com/nodejs/node/pull/49818
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-10-23 08:19:44 +02:00
Niya Shiyas
67c599ec39
test: replace forEach with for..of in test-net-isipv4.js
...
PR-URL: https://github.com/nodejs/node/pull/49822
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-10-23 08:19:44 +02:00
Antoine du Hamel
19d3ce2494
test: deflake test-esm-loader-resolve-type
...
PR-URL: https://github.com/nodejs/node/pull/50273
Fixes: https://github.com/nodejs/node/issues/50040
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-10-23 08:19:43 +02:00
Niya Shiyas
2d8d6c5701
test: replace forEach with for..of in test-http2-server
...
PR-URL: https://github.com/nodejs/node/pull/49819
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-10-23 08:19:43 +02:00
Niya Shiyas
af31d51e5a
test: replace forEach with for..of in test-http2-client-destroy.js
...
PR-URL: https://github.com/nodejs/node/pull/49820
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-10-23 08:19:43 +02:00
Aras Abbasi
5dc454a837
util: remove internal mime fns from benchmarks
...
PR-URL: https://github.com/nodejs/node/pull/50201
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br >
2023-10-23 08:19:43 +02:00
Jungku Lee
0cc176ef25
fs: improve error performance for readSync
...
PR-URL: https://github.com/nodejs/node/pull/50033
Refs: https://github.com/nodejs/performance/issues/106
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2023-10-23 08:19:43 +02:00
Node.js GitHub Bot
f050668c14
deps: update c-ares to 1.20.1
...
PR-URL: https://github.com/nodejs/node/pull/50082
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-10-23 08:19:42 +02:00
Node.js GitHub Bot and Richard Lau
ba258b682b
deps: update c-ares to 1.20.0
...
Co-authored-by: Richard Lau <rlau@redhat.com >
PR-URL: https://github.com/nodejs/node/pull/50082
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-10-23 08:19:42 +02:00