sinkhaha
11918d705f
doc: update Buffer.allocUnsafe description
...
PR-URL: https://github.com/nodejs/node/pull/48183
Fixes: https://github.com/nodejs/node/issues/42821
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:34 +02:00
Luigi Pinca
e12ee59d26
test: use lower security level in s_client
...
With the default security level (SECLEVEL=2), the following error
```
40E72B52DB7F0000:error:0A00018A:SSL routines:tls_process_ske_dhe:dh key
too small:../deps/openssl/openssl/ssl/statem/statem_clnt.c:2100
```
is raised on on Ubuntu 22.04 on WSL2.
PR-URL: https://github.com/nodejs/node/pull/48192
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-05-30 12:24:34 +02:00
Filip Skokan
1dabc7390c
Revert "test: unskip negative-settimeout.any.js WPT"
...
This reverts commit 8244e6c35c .
PR-URL: https://github.com/nodejs/node/pull/48182
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-05-30 12:24:34 +02:00
Luigi Pinca
1416b75eaa
tools: use shasum instead of sha256sum
...
By default, there is no sha256sum command in macOS.
PR-URL: https://github.com/nodejs/node/pull/48229
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-05-30 12:24:34 +02:00
Antoine du Hamel
b81e9d9b7b
tools: harmonize dep_updaters scripts
...
PR-URL: https://github.com/nodejs/node/pull/48201
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-05-30 12:24:33 +02:00
Andrea Fassina
a60bc41e53
tools: deps update authenticate github api request
...
PR-URL: https://github.com/nodejs/node/pull/48200
Fixes: https://github.com/nodejs/node/issues/48119
Refs: https://github.com/nodejs/security-wg/issues/973
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Mestery <mestery@protonmail.com >
2023-05-30 12:24:33 +02:00
Claudio Wunder
2b51ee5e22
doc: update codeowners with website team
...
PR-URL: https://github.com/nodejs/node/pull/48197
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:33 +02:00
Luca
7478ed014e
tools: order dependency jobs alphabetically
...
Refs: https://github.com/nodejs/security-wg/issues/973
PR-URL: https://github.com/nodejs/node/pull/48184
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-05-30 12:24:33 +02:00
Colin Ihrig
15336c3139
test_runner: remove redundant check from coverage
...
The code coverage reporting logic already filters out URLs that
don't start with 'file:', so there is no need to also filter
out URLs that start with 'node:'.
PR-URL: https://github.com/nodejs/node/pull/48070
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
2023-05-30 12:24:33 +02:00
Darshan Sen
802db923e0
doc,vm: clarify usage of cachedData in vm.compileFunction()
...
Fixes: https://github.com/nodejs/node/issues/48175
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/48193
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:32 +02:00
Andrea Fassina
360df25d04
doc: fix broken link to new folder doc/contributing/maintaining
...
PR-URL: https://github.com/nodejs/node/pull/48205
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-05-30 12:24:32 +02:00
Michaël Zasso
568a705799
tools: refactor v8_pch config
...
Avoid repetition by defining a new GYP target.
PR-URL: https://github.com/nodejs/node/pull/47364
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2023-05-30 12:24:32 +02:00
Chemi Atlow
13e95e21a4
doc: add atlowChemi to triagers
...
PR-URL: https://github.com/nodejs/node/pull/48104
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Feng Yu <F3n67u@outlook.com >
2023-05-30 12:24:32 +02:00
Keyhan Vakil
c1c4796a86
test: mark test_cannot_run_js as flaky
...
This test has been failing occasionally since it was introduced ~5 days
ago. It was the most common failing JS test in the most recent
reliability report. Mark it as flaky.
Fixes: https://github.com/nodejs/node/issues/48180
Refs: https://github.com/nodejs/node/pull/47986
Refs: https://github.com/nodejs/reliability/issues/576
PR-URL: https://github.com/nodejs/node/pull/48181
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-05-30 12:24:32 +02:00
Vadym
5f83ce530f
doc: fix typo in readline completer function section
...
PR-URL: https://github.com/nodejs/node/pull/48188
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2023-05-30 12:24:31 +02:00
Rich Trott
3c82165d27
doc: remove broken link for keygen
...
Remove broken link to deprecated keygen element.
Replacing the link with something to the relevant
part of the HTML spec might be OK, but I don't think
it's necessary. People who need to know will find it
and everyone else should be discouraged from using
this.
Support for the keygen element was removed from Chrome in 2017
and removed from Firefox in 2019. We might consider deprecating
and removing support ourselves, or at least marking the API
as legacy.
Refs: https://caniuse.com/?search=keygen
PR-URL: https://github.com/nodejs/node/pull/48176
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-05-30 12:24:31 +02:00
Daniel Holbert
0ca90a1e6d
doc: add auto intrinsic height to prevent jitter/flicker
...
This commit addresses a scrolling/flickering issue in the HTML version
of the docs. By adding `auto` to the `contain-intrinsic-size` CSS
property, we're asking the browser to remember the last-rendered size
for the element (once it's been rendered) instead of forcing the browser
to treat it as being 1px by 5000px when it goes offscreen.
PR-URL: https://github.com/nodejs/node/pull/48195
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-05-30 12:24:31 +02:00
Raghu Saxena
b8f4070f71
src: check node_extra_ca_certs after openssl cfg
...
I recently discovered that the custom NodeJS specific OpenSSL
config section in openssl.cnf would not be respected, if the
environment variable `NODE_EXTRA_CA_CERTS` was set.
This happens even if it contains an invalid value, i.e no actual
certs are read.
Someone suggested moving the checking of extra ca certs to after
the OpenSSL config is read, and this seems to work.
PR-URL: https://github.com/nodejs/node/pull/48159
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-05-30 12:24:31 +02:00
Nicolas DUBIEN
ed4514294a
vm: properly handle defining symbol props
...
This PR is a follow-up of #46615 .
When bumping V8 for node 18, various bugs appeared around vm.
Some have been fixed along the flow, but there is at least one
remaining and described at:
https://github.com/facebook/jest/issues/13338 .
The current fix does nothing on node 20: the new bump of v8 done for
node 20 seems to fix it. But it would fix the problem in both node 18
and node 19. I confirmed it would fix node 19 by cherry-picking the
commit on v19.x-staging and launching `make -j4 jstest` on it.
PR-URL: https://github.com/nodejs/node/pull/47572
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-05-30 12:24:31 +02:00
Michael Dawson
8b89f13933
build: add action to close stale PRs
...
Add action to close PRs that are over 1 year old and
have had no comments or updates in the last 6 months.
Fixes: https://github.com/nodejs/node/issues/42981
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/48051
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2023-05-30 12:24:30 +02:00
Richard Lau
3047caebec
deps: set CARES_RANDOM_FILE for c-ares
...
Upstream c-ares renamed `RANDOM_FILE` to `CARES_RANDOM_FILE` some
time ago in c-ares 1.17.2.
PR-URL: https://github.com/nodejs/node/pull/48156
Refs: https://github.com/c-ares/c-ares/pull/397
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2023-05-30 12:24:30 +02:00
Matteo Collina
60ce2bcabc
http: send implicit headers on HEAD with no body
...
If we respond to a HEAD request with a body, we ignore all writes.
However, we must still include all implicit headers.
Fixes a regressions introduced in
https://github.com/nodejs/node/pull/47732 .
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/48108
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-05-30 12:24:30 +02:00
Andrea Fassina
801573ba46
tools: log and verify sha256sum
...
PR-URL: https://github.com/nodejs/node/pull/48088
Refs: https://github.com/nodejs/security-wg/issues/973
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-05-30 12:24:30 +02:00
Moshe Atlow
8c49d74002
test: fix flaky test-runner-watch-mode
...
PR-URL: https://github.com/nodejs/node/pull/48144
Reviewed-By: Jacob Smith <jacob@frende.me >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2023-05-30 12:24:30 +02:00
Daeyeon Jeong
6cf2adc36e
cluster: use ObjectPrototypeHasOwnProperty
...
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/48141
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-05-30 12:24:29 +02:00
Antoine du Hamel
f117855092
doc: add version info on the SEA docs
...
PR-URL: https://github.com/nodejs/node/pull/48173
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-05-30 12:24:29 +02:00
Joyee Cheung
0347a18056
src: include missing header in node_sea.h
...
PR-URL: https://github.com/nodejs/node/pull/48152
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-05-30 12:24:29 +02:00
Michael Dawson
5094d1b292
doc: add Ruy to list of TSC members
...
Fixes: https://github.com/nodejs/TSC/issues/1388
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/48172
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-05-30 12:24:29 +02:00
Saba Kharanauli
39d8140227
doc: update socket.remote* properties documentation
...
Fixes: https://github.com/nodejs/node/issues/48061
PR-URL: https://github.com/nodejs/node/pull/48139
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Paolo Insogna <paolo@cowtech.it >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-05-30 12:24:29 +02:00
Moshe Atlow
750d3e8606
test_runner: pass FORCE_COLOR to child process
...
PR-URL: https://github.com/nodejs/node/pull/48057
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-05-30 12:24:28 +02:00
Moshe Atlow
3278542243
test_runner: dont split lines on test:stdout
...
PR-URL: https://github.com/nodejs/node/pull/48057
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-05-30 12:24:28 +02:00
Marco Ippolito
db62325e18
tools: open issue when update workflow fails
...
PR-URL: https://github.com/nodejs/node/pull/48018
Refs: https://github.com/nodejs/security-wg/issues/973
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-05-30 12:24:28 +02:00
Marco Ippolito
0db79a0872
deps: update histogram 0.11.8
...
PR-URL: https://github.com/nodejs/node/pull/47742
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-05-30 12:24:28 +02:00
Marco Ippolito
99af6716f5
deps: update histogram to 0.11.7
...
PR-URL: https://github.com/nodejs/node/pull/47742
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
2023-05-30 12:24:27 +02:00
sinkhaha
10cc60fc91
lib: use existing isWindows variable
...
PR-URL: https://github.com/nodejs/node/pull/48134
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2023-05-30 12:24:27 +02:00
Rich Trott
ad8a68856d
tools: alphabetize CODEOWNERS
...
Keep each list in CODEOWNERS in alphabetical order so it is easier to
find things in the longer lists.
PR-URL: https://github.com/nodejs/node/pull/48124
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Mestery <mestery@protonmail.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:27 +02:00
Andrea Fassina
4cf5a9edaf
tools: use latest upstream commit for zlib updates
...
Zlib rarely gets new tags or releases, so now we use the latest commit
on the upstream default branch to check if an update is available.
Refs: https://github.com/nodejs/security-wg/issues/973
PR-URL: https://github.com/nodejs/node/pull/48054
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-05-30 12:24:27 +02:00
Tobias Nießen
5497c13efe
doc: update outdated section on TLSv1.3-PSK
...
Recent OpenSSL versions support PSKs with non-SHA-256 TLSv1.3 ciphers,
e.g., TLS_AES_256_GCM_SHA384.
PR-URL: https://github.com/nodejs/node/pull/48123
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:27 +02:00
Tobias Nießen
281dfaf727
doc: improve HMAC key recommendations
...
Add a reference to potential problems with using strings as HMAC keys.
Also advise against exceeding the underlying hash function's block size
when generating HMAC keys from a cryptographically secure source of
entropy.
Refs: https://github.com/nodejs/node/pull/48052
Refs: https://github.com/nodejs/node/pull/37248
PR-URL: https://github.com/nodejs/node/pull/48121
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:26 +02:00
Tobias Nießen
45c3782c20
src: remove INT_MAX asserts in SecretKeyGenTraits
...
Now that CSPRNG() does not silently fail when the length exceeds
INT_MAX anymore, there is no need for the two relevant assertions
in SecretKeyGenTraits anymore.
Refs: https://github.com/nodejs/node/pull/47515
PR-URL: https://github.com/nodejs/node/pull/48053
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2023-05-30 12:24:26 +02:00
Stephen Odogwu
bd311b6c70
doc: clarify mkdir() recursive behavior
...
PR-URL: https://github.com/nodejs/node/pull/48109
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:26 +02:00
Joyee Cheung
b25e7045ad
src: avoid prototype access in binding templates
...
This patch makes the binding templates ObjectTemplates, since we
don't actually need the constructor function. This also avoids
setting the properties on prototype, and instead initializes them
directly on the object template.
Previously the initialization was similar to:
```
function Binding() {}
Binding.prototype.property = ...;
module.exports = new Binding;
```
Now it's similar to:
```
module.exports = { property: ... };
```
PR-URL: https://github.com/nodejs/node/pull/47913
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-05-30 12:24:26 +02:00
Node.js GitHub Bot
d4922bc985
deps: update c-ares to 1.19.1
...
PR-URL: https://github.com/nodejs/node/pull/48115
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-05-30 12:24:26 +02:00
Joyee Cheung
3e6e3abf32
bootstrap: throw ERR_NOT_SUPPORTED_IN_SNAPSHOT in unsupported operation
...
This patch adds a new ERR_NOT_SUPPORTED_IN_SNAPSHOT error and throw
it in the worker constructor.
PR-URL: https://github.com/nodejs/node/pull/47887
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-05-30 12:24:25 +02:00
Joyee Cheung
c480559347
bootstrap: put is_building_snapshot state in IsolateData
...
Previously we modify the CLI options store to indicate whether the
isolate is created for building snapshot, which is a bit hacky and
makes it difficult to tell whether the snapshot is built from the
command line or through other APIs. This patch adds
is_building_snapshot to IsolateData and use this instead when we
need to know whether the isolate is created for building snapshot
(but do not care about where that request is coming from).
PR-URL: https://github.com/nodejs/node/pull/47887
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
2023-05-30 12:24:25 +02:00
Marco Ippolito
8d93af381b
tools: add security-wg as dep updaters owner
...
PR-URL: https://github.com/nodejs/node/pull/48113
Refs: https://github.com/nodejs/security-wg/issues/828
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 12:24:25 +02:00
Joyee Cheung
5d92202220
build: replace js2c.py with js2c.cc
...
PR-URL: https://github.com/nodejs/node/pull/46997
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-05-30 12:24:25 +02:00
Joyee Cheung
5325be1d99
tools: port js2c.py to C++
...
This makes it easier to use third-party dependencies in this tool
(e.g. adding compression using algorithms not available in Python).
It is also much faster - locally js2c.py takes ~1.5s to generate the
output whereas this version takes ~0.1s - and consumes less memory
(~110MB v.s. 66MB).
This also modifies the js2c.py a bit to simplify the output, making
it easier to compare with one generated by the C++ version. Locally
the output from the two are identical. We'll remove js2c.py in a
subsequent commit when the C++ version is used by default.
PR-URL: https://github.com/nodejs/node/pull/46997
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-05-30 12:24:24 +02:00
Darshan Sen
4d4e506f2b
test,doc,sea: run SEA tests on ppc64
...
The recent Postject upgrade, https://github.com/nodejs/node/pull/48072 ,
included a performance improvement for the injection operation
(see https://github.com/nodejs/postject/pull/86 ), so now it might be
possible to run the SEA tests on the ppc64 architecture runners on
Jenkins, which was previously getting timed out.
Signed-off-by: Darshan Sen <raisinten@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/48111
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-05-30 11:36:23 +02:00
Chemi Atlow
9e2b13dfa7
stream: deprecate asIndexedPairs
...
PR-URL: https://github.com/nodejs/node/pull/48102
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2023-05-30 11:36:22 +02:00