Rich Trott
588257c00a
meta: add .mailmap entry for arcanis
...
PR-URL: https://github.com/nodejs/node/pull/40103
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-22 00:27:07 +01:00
shfshanyue
bc9c2ca6af
http: remove CRLF variable
...
PR-URL: https://github.com/nodejs/node/pull/40101
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-09-22 00:27:07 +01:00
Joyee Cheung
31994fbf8e
src: register zlib external references for snapshot
...
PR-URL: https://github.com/nodejs/node/pull/40050
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
2021-09-22 00:27:06 +01:00
Gerhard Stöbich
81cb14bb58
doc: clarify that ObjectWrap requires manual cleanup on shutdown
...
Clarify that ObjectWrap instances are not destroyed on process or
worker shutdown and require manual destruction to avoid resource
leaks.
PR-URL: https://github.com/nodejs/node/pull/40074
Fixes: https://github.com/nodejs/node/issues/38816
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-22 00:27:05 +01:00
npm team
0df47d5843
deps: upgrade npm to 7.23.0
...
PR-URL: https://github.com/nodejs/node/pull/40055
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2021-09-22 00:27:04 +01:00
FrankQiu
8aad81dd99
doc: add full list of subsystems
...
PR-URL: https://github.com/nodejs/node/pull/39971
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
2021-09-22 00:27:03 +01:00
wwwzbwcom
f666f5a8d1
events: fix duplicate require which cause performance penalty
...
PR-URL: https://github.com/nodejs/node/pull/39892
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
2021-09-22 00:27:03 +01:00
Guy Bedford
1eca9bc5b2
module: support pattern trailers for imports field
...
PR-URL: https://github.com/nodejs/node/pull/40041
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
2021-09-22 00:27:02 +01:00
Rich Trott
ec6de1195a
tools: update ansi-regex in lint-md rollup
...
Update ansi-regex from 6.0.0 to 6.0.1.
Refs: https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908
PR-URL: https://github.com/nodejs/node/pull/40112
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-22 00:27:01 +01:00
Guy Bedford
7376edca6d
module: deprecate trailing slash pattern mappings
...
PR-URL: https://github.com/nodejs/node/pull/40039
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
2021-09-22 00:27:00 +01:00
Michaël Zasso
01b1946b38
build: only lint version numbers for pull requests
...
Fixes: https://github.com/nodejs/node/issues/39850
PR-URL: https://github.com/nodejs/node/pull/40027
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-22 00:27:00 +01:00
Node.js GitHub Bot
7ee3fbd1e0
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/40087
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-22 00:26:59 +01:00
Rich Trott
c804d070a6
build: add daily/on-demand internet test workflow
...
PR-URL: https://github.com/nodejs/node/pull/40086
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-09-22 00:26:58 +01:00
Daniel Bevenius
4aa2610252
test: update OpenSSL3 error messages for 3.0.0+quic
...
This commit updates two OpenSSL 3.0.0 error messages required for
OpenSSL 3.0.0+quic.
PR-URL: https://github.com/nodejs/node/pull/40093
Refs: https://github.com/nodejs/build/pull/2759
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-22 00:26:58 +01:00
Guy Bedford
92f182b23d
module: fix $ pattern replacements
...
PR-URL: https://github.com/nodejs/node/pull/40044
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
2021-09-22 00:26:57 +01:00
Richard Lau
4367a61a9b
test: mark test-crypto-timing-safe-equal-benchmarks flaky
...
PR-URL: https://github.com/nodejs/node/pull/40065
Refs: https://github.com/nodejs/node/issues/38226
Reviewed-By: Ash Cripps <acripps@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-22 00:26:57 +01:00
Michaël Zasso
d55804ca4e
tools: update all dependencies of markdown linter
...
PR-URL: https://github.com/nodejs/node/pull/40035
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-22 00:26:56 +01:00
Jiawen Geng
b3843bf417
deps: patch v8 for vs2019 in std17
...
PR-URL: https://github.com/nodejs/node/pull/40060
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-09-22 00:26:55 +01:00
Santiago Gimeno
5983568204
worker: avoid potential deadlock on NearHeapLimit
...
It can happen that the `NearHeapLimit` callback is called while calling
the `oninit()` function on `MessagePort` construction causing a deadlock
when the `Worker::Exit()` method is called, as the `mutex_` was already
held on the `CreateEnvMessagePort()` method. To fix it, just use the
`mutex_` to protect the `child_port_data_` variable and avoid holding it
when creating the `MessagePort`.
Also, return early from `Worker::Run()` if the worker message port
could not be created.
Fixes: https://github.com/nodejs/node/issues/38208
PR-URL: https://github.com/nodejs/node/pull/38403
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2021-09-22 00:26:55 +01:00
Rich Trott
5b5e27281c
test: fix internet/test-dns
...
internet/test-dns is failing due to a typo that inadvertently sends a
boolean instead of a regular expression.
PR-URL: https://github.com/nodejs/node/pull/40083
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-22 00:26:54 +01:00
Rich Trott
2a41530a5e
meta: consolidate AUTHORS entry for mikemaccana
...
PR-URL: https://github.com/nodejs/node/pull/40051
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-22 00:26:54 +01:00
Qingyu Deng
9655329772
doc: add Ayase-252 to collaborators
...
Fixes: https://github.com/nodejs/node/issues/39912
PR-URL: https://github.com/nodejs/node/pull/40078
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-09-22 00:26:53 +01:00
Shelley Vohr
cfcd57182b
src: fix -Wunreachable-code-return error
...
PR-URL: https://github.com/nodejs/node/pull/40034
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2021-09-22 00:26:52 +01:00
Tobias Nießen
6d399e11e9
doc: fix CCM cipher example in MJS
...
The original example used 'return' to terminate the current control
flow, which is valid in CommonJS. When the example was copied and
modified to use MJS syntax, the 'return' statement was left in but is
not allowed.
Refs: https://github.com/nodejs/node/pull/37594
PR-URL: https://github.com/nodejs/node/pull/39949
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-09-22 00:26:52 +01:00
Dominic Elm
9f3a015b60
src: add option to disable loading native addons
...
PR-URL: https://github.com/nodejs/node/pull/39977
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-09-22 00:26:22 +01:00
Tobias Nießen
d657ae6f8a
crypto: fix RSA-PSS default saltLength
...
PR-URL: https://github.com/nodejs/node/pull/39999
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2021-09-21 19:14:08 +01:00
Tobias Nießen
fc45cbe7a8
crypto: fix default MGF1 hash for OpenSSL 3
...
Refs: https://github.com/nodejs/node/pull/39999
PR-URL: https://github.com/nodejs/node/pull/40031
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2021-09-21 19:14:08 +01:00
Rich Trott
a71579b05e
meta: add more mailmap entries for bajtos
...
PR-URL: https://github.com/nodejs/node/pull/40023
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-21 19:14:07 +01:00
Jiawen Geng
67759585a0
deps: patch for v8 on windows
...
PR-URL: https://github.com/nodejs/node/pull/40010
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-21 19:14:03 +01:00
Michaël Zasso
f03bae7c82
tools: update remark-html to v13.0.2
...
PR-URL: https://github.com/nodejs/node/pull/40043
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-09-21 19:13:39 +01:00
Mestery
d6124d8259
repl: fix top level await with surrogate characters
...
Fixes: https://github.com/nodejs/node/issues/39929
PR-URL: https://github.com/nodejs/node/pull/39931
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
2021-09-21 19:13:39 +01:00
null
edcfffeaea
lib: use standard property names
...
The standard property names that aren't strings can be used where
appropiate, this is one of them.
PR-URL: https://github.com/nodejs/node/pull/39981
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-09-21 19:13:39 +01:00
Christian Boehlke
d426ee9b17
doc: fix property name 'detail' of performanceEntry
...
PR-URL: https://github.com/nodejs/node/pull/40019
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-21 19:13:38 +01:00
Anna Henningsen
570bef1710
Revert "src: skip test_fatal/test_threads for Debug builds"
...
This reverts commit 1fc4d43a32 .
PR-URL: https://github.com/nodejs/node/pull/39954
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-09-21 19:13:38 +01:00
Anna Henningsen
842f936e04
src: use Isolate::TryGetCurrent where appropriate
...
In two places, we call `Isolate::GetCurrent()` even though that is
technically invalid usage of the function.
Now that V8 exposes `Isolate::TryGetCurrent()`, we can do this
in a proper way.
PR-URL: https://github.com/nodejs/node/pull/39954
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-09-21 19:13:38 +01:00
Michaël Zasso
98f56d179c
deps: update Acorn to v8.5.0
...
PR-URL: https://github.com/nodejs/node/pull/40015
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-21 19:13:38 +01:00
JckXia
fe920b6cbf
src: make napi_create_reference accept symbol
...
PR-URL: https://github.com/nodejs/node/pull/39926
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-21 19:13:37 +01:00
Alexey Ten
846e7e880e
doc: fix list indentation in corepack.md
...
PR-URL: https://github.com/nodejs/node/pull/40029
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-21 19:13:37 +01:00
Filip Skokan
105c9e6d3b
crypto: check webcrypto asymmetric key types during importKey
...
PR-URL: https://github.com/nodejs/node/pull/39962
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-09-21 19:13:37 +01:00
Rich Trott
7bddaecbf4
build: add YAML linting to GitHub Actions
...
PR-URL: https://github.com/nodejs/node/pull/40007
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-21 19:13:37 +01:00
Rich Trott
5a20f9055c
build: add YAML linting
...
PR-URL: https://github.com/nodejs/node/pull/40007
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-21 19:13:36 +01:00
Rich Trott
99af21292f
tools,build: update YAML files in preparation for linting
...
Fix indentation, traiiling spaces, and missing newline issues in
preparation for linting.
PR-URL: https://github.com/nodejs/node/pull/40007
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-09-21 19:13:36 +01:00
Rich Trott
0b30867c08
build: run AUTHORS update weekly
...
PR-URL: https://github.com/nodejs/node/pull/40004
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-09-21 19:13:36 +01:00
Michaël Zasso
67bbfeb7e1
test: make tests pass on Windows with Unix EOL
...
It is possible on Windows to configure Git to checkout line-endings
"as-is", which for Node.js means Unix-style.
This change makes the tests that rely on line endings pass in that case.
PR-URL: https://github.com/nodejs/node/pull/40002
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-21 19:13:36 +01:00
Michaël Zasso
73aa4e34ff
src: fix C4805 MSVC warning
...
'==' : unsafe mix of type 'bool' and type 'int' in operation
PR-URL: https://github.com/nodejs/node/pull/39998
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-21 19:13:36 +01:00
XadillaX
640353af86
lib,repl: ignore non-canBeRequiredByUsers built-in
...
e.g. `wasi` under no `--experimental-wasi-unstable-preview1` flag
shouldn't be pre-required.
PR-URL: https://github.com/nodejs/node/pull/39942
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2021-09-21 19:13:35 +01:00
Rich Trott
29104f5e64
meta: consolidate AUTHORS entries for mithunsasidharan
...
PR-URL: https://github.com/nodejs/node/pull/40003
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-09-21 19:13:35 +01:00
Antoine du Hamel
b6dd2ea930
doc: fix missing history version in fs.md
...
Refs: https://github.com/nodejs/node/pull/33716
Refs: https://github.com/nodejs/node/pull/35993
Refs: https://github.com/nodejs/node/pull/35911
PR-URL: https://github.com/nodejs/node/pull/39972
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-09-21 19:13:19 +01:00
Joyee Cheung
826eee363c
src: register external references of PipeWrap for snapshot
...
PR-URL: https://github.com/nodejs/node/pull/39961
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-09-21 19:13:18 +01:00
Joyee Cheung
7a17cbfdea
src: register external references of TTYWrap for snapshot
...
PR-URL: https://github.com/nodejs/node/pull/39961
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-09-21 19:13:18 +01:00