summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2021-09-22, Version 16.10.0 (Current)v16.10.0v16.10.0-proposalBeth Griggs2021-09-229-16/+132
| | | | | | | | | | | | | | | | | | | | | Notable changes: crypto: * (SEMVER-MINOR) add rsa-pss keygen parameters (Filip Skokan) https://github.com/nodejs/node/pull/39927 doc: * add Ayase-252 to collaborators (Qingyu Deng) https://github.com/nodejs/node/pull/40078 fs: * (SEMVER-MINOR) make `open` and `close` stream override optional when unused (Antoine du Hamel) https://github.com/nodejs/node/pull/40013 http: * (SEMVER-MINOR) limit requests per connection (Artur K) https://github.com/nodejs/node/pull/40082 src: * (SEMVER-MINOR) add --no-global-search-paths cli option (Cheng Zhao) https://github.com/nodejs/node/pull/39754 * (SEMVER-MINOR) add option to disable global search paths (Cheng Zhao) https://github.com/nodejs/node/pull/39754 * (SEMVER-MINOR) make napi_create_reference accept symbol (JckXia) https://github.com/nodejs/node/pull/39926 stream: * (SEMVER-MINOR) add signal support to pipeline generators (Robert Nagy) https://github.com/nodejs/node/pull/39067 PR-URL: https://github.com/nodejs/node/pull/40175
* meta: update AUTHORSNode.js GitHub Bot2021-09-221-0/+3
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/40148 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* doc: changes default values for fs.read fnsRISHABH BUDHIRAJA2021-09-221-8/+4
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/39163 Fixes: https://github.com/nodejs/node/issues/39034 Reviewed-By: Nitzan Uziely <linkgoron@gmail.com> Reviewed-By: Qingyu Deng <i@ayase-lab.com>
* deps: upgrade npm to 7.24.0npm team2021-09-2228-181/+429
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40167 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
* doc: fix markdown indentation in listsMichaël Zasso2021-09-224-4/+5
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/40142 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* test: fix test-dgram-udp6-link-local-address on WindowsMichaël Zasso2021-09-221-2/+4
| | | | | PR-URL: https://github.com/nodejs/node/pull/40005 Reviewed-By: Rich Trott <rtrott@gmail.com>
* doc: prepare README.md for stricter lintingRich Trott2021-09-222-268/+275
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40137 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
* crypto: fix webcrypto ed(25519|448) spki/pkcs8 importFilip Skokan2021-09-223-19/+41
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40131 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
* http: limit requests per connectionArtur K2021-09-225-16/+258
| | | | | | | Fixes: https://github.com/nodejs/node/issues/40071 PR-URL: https://github.com/nodejs/node/pull/40082 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com>
* tools,doc: fix misrendering of consecutive JS blocksRich Trott2021-09-221-1/+2
| | | | | | | | | | | Our markdown-to-html tool was assuming that any consecutive JS blocks were ESM vs CJS alternatives, but that is not always the case, resulting in both a confusing interface and invalid HTML. PR-URL: https://github.com/nodejs/node/pull/40146 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* doc: fix comma spliceRich Trott2021-09-221-1/+1
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/40133 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* meta: update GeoffreyBooth email addresses in AUTHORS and .mailmapRich Trott2021-09-222-4/+3
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40132 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
* test: do not run `test-corepack-yarn-install` with no internetAntoine du Hamel2021-09-221-0/+1
| | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/40090 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* tools: update doc generator dependenciesMichaël Zasso2021-09-2210-1021/+1573
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/40042 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* meta: add mailmap entry for LPardueRich Trott2021-09-222-2/+2
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40129 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* doc: clean up weird notes about reentrancyAnna Henningsen2021-09-221-4/+4
| | | | | | | | | | | | | | All N-API methods are reentrant, it does not make sense to talk about specific ones here. Some of these methods can run JS code, which of course can run other N-API code. For those methods, let’s note that down explicitly. PR-URL: https://github.com/nodejs/node/pull/40107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
* doc: correct parameters in fs and stream documentationvipul kumar2021-09-222-3/+3
| | | | | | PR-URL: https://github.com/nodejs/node/pull/39984 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
* lib: remove useless statementMaledong2021-09-221-1/+1
| | | | | | | | | | | There's no need to set 'false' to 'isAsync' because we've declared it before. PR-URL: https://github.com/nodejs/node/pull/39983 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
* lib: avoid creating a throw away object in `validateObject`Antoine du Hamel2021-09-221-5/+14
| | | | | | PR-URL: https://github.com/nodejs/node/pull/39807 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
* src: add --no-global-search-paths cli optionCheng Zhao2021-09-225-1/+20
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/39754 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
* src: add option to disable global search pathsCheng Zhao2021-09-227-5/+31
| | | | | | | | | | PR-URL: https://github.com/nodejs/node/pull/39754 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
* doc: fix CJS-ESM selector in SafariBradley Farias2021-09-221-0/+1
| | | | | | | | | Safari needs a vendor prefix on the appearance of the checkbox. PR-URL: https://github.com/nodejs/node/pull/40135 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
* deps: add riscv64 into openssl Makefile and gen openssl-riscv64Lu Yahan2021-09-229-1/+16947
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40063 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* crypto: use `validateObject`Voltrex2021-09-221-2/+1
| | | | | | | | | | The `validateObject()` validator can be used to cleanup validation and keep consistency. PR-URL: https://github.com/nodejs/node/pull/39872 Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: James M Snell <jasnell@gmail.com>
* fs: make `open` and `close` stream override optional when unusedAntoine du Hamel2021-09-222-59/+77
| | | | | | | | | | | | When using `createReadStream` or `createWriteStream` with a specific file descriptor or `FileHandle` instead of a path, `open` method is not used, there is no point in forcing users to provide it. When using `createReadStream` or `createWriteStream` with `autoClose` set to false, `close` method is not used, there is no point in forcing users to provide it. PR-URL: https://github.com/nodejs/node/pull/40013 Reviewed-By: James M Snell <jasnell@gmail.com>
* build: run modified internet tests on GitHub ActionsRich Trott2021-09-221-1/+15
| | | | | | | | | If internet tests are modified in a pull request, run the internet tests in GitHub Actions. PR-URL: https://github.com/nodejs/node/pull/40100 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
* dns: cleanup validationVoltrex2021-09-221-3/+2
| | | | | | | | | | The `validateString()` validator should cleanup the validation and keep consistency. PR-URL: https://github.com/nodejs/node/pull/40061 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* doc: add timeout.closeNikita Galkin2021-09-221-0/+11
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/40036 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
* meta: update GeoffreyBooth email addressGeoffrey Booth2021-09-222-1/+3
| | | | | | | | PR-URL: https://github.com/nodejs/node/pull/40102 Reviewed-By: Qingyu Deng <i@ayase-lab.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
* src: remove unnecessary comment and add a CHECK in crypto_tls.ccDarshan Sen2021-09-221-8/+1
| | | | | | | Signed-off-by: Darshan Sen <darshan.sen@postman.com> PR-URL: https://github.com/nodejs/node/pull/39991 Reviewed-By: Anna Henningsen <anna@addaleax.net>
* build: add .mailmap/AUTHORS to paths-ignore for test-macosRich Trott2021-09-221-0/+4
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/40109 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* build: add .mailmap/AUTHORS to path-ignore for test-asanRich Trott2021-09-221-5/+9
| | | | | | | PR-URL: https://github.com/nodejs/node/pull/40109 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* build: add paths-ignore for build-tarball workflowRich Trott2021-09-221-0/+10
| | | | | | | | | | In GitHub Actions, don't run build-tarball if the only changed files are docs. PR-URL: https://github.com/nodejs/node/pull/40109 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
* deps: patch V8 to 9.3.345.19Michaël Zasso2021-09-224-20/+32
| | | | | | | | | Refs: https://github.com/v8/v8/compare/9.3.345.16...9.3.345.19 PR-URL: https://github.com/nodejs/node/pull/40108 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
* meta: add .mailmap entry for arcanisRich Trott2021-09-222-2/+2
| | | | | | | | 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>
* http: remove CRLF variableshfshanyue2021-09-223-26/+25
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40101 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
* src: register zlib external references for snapshotJoyee Cheung2021-09-222-0/+19
| | | | | | | | | | 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>
* doc: clarify that ObjectWrap requires manual cleanup on shutdownGerhard Stöbich2021-09-221-0/+4
| | | | | | | | | | | 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>
* deps: upgrade npm to 7.23.0npm team2021-09-22203-1957/+3991
| | | | | | | 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>
* doc: add full list of subsystemsFrankQiu2021-09-221-0/+3
| | | | | | | | 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>
* events: fix duplicate require which cause performance penaltywwwzbwcom2021-09-221-5/+1
| | | | | | | | | | | | | 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>
* module: support pattern trailers for imports fieldGuy Bedford2021-09-223-14/+27
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40041 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
* tools: update ansi-regex in lint-md rollupRich Trott2021-09-222-7/+7
| | | | | | | | | | | | 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>
* module: deprecate trailing slash pattern mappingsGuy Bedford2021-09-229-1/+57
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40039 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
* build: only lint version numbers for pull requestsMichaël Zasso2021-09-221-1/+1
| | | | | | | | | | 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>
* meta: update AUTHORSNode.js GitHub Bot2021-09-221-0/+8
| | | | | | | | | | 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>
* build: add daily/on-demand internet test workflowRich Trott2021-09-221-0/+26
| | | | | | PR-URL: https://github.com/nodejs/node/pull/40086 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
* test: update OpenSSL3 error messages for 3.0.0+quicDaniel Bevenius2021-09-222-4/+7
| | | | | | | | | | | | 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>
* module: fix $ pattern replacementsGuy Bedford2021-09-222-5/+8
| | | | | | | 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>
* test: mark test-crypto-timing-safe-equal-benchmarks flakyRichard Lau2021-09-221-0/+25
| | | | | | | | | | 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>