Commit Graph
34445 Commits
Author SHA1 Message Date
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
Joyee Cheung 00cca48081 src: register external references of TCPWrap 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 6095fb07b6 src: register external references of SignalWrap 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 db75711c5c src: register missing process methods external references
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:17 +01:00
Joyee Cheung b4e074c295 src: register missing stream wrap external references
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:17 +01:00
Joyee Cheung a2c1c3ef64 src: register external references of BaseObject 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:17 +01:00
Joyee Cheung 6fdf02523e src: register external references of node-report 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:17 +01:00
Joyee Cheung bef78a2f88 src: register external references of dtrace 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:16 +01:00
Node.js GitHub Bot 381293f54a meta: update AUTHORS
PR-URL: https://github.com/nodejs/node/pull/39957
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-10 20:34:39 +01:00
Filip Skokan fb226ff2ee crypto: add rsa-pss keygen parameters
PR-URL: https://github.com/nodejs/node/pull/39927
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-10 20:34:38 +01:00
Jesse Chan 22a78a75ee build: preserves symbols during LTO with macOS linker
man ld -export_dynamic:

```
Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.
```

Bug: vercel/pkg#1155
Signed-off-by: Jesse Chan <jc@linux.com>

PR-URL: https://github.com/nodejs/node/pull/39839
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-10 20:34:38 +01:00
Robert Nagy 97f3072ceb stream: add signal support to pipeline generators
Generators in pipeline must be able to be aborted or pipeline
can deadlock.

PR-URL: https://github.com/nodejs/node/pull/39067
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-10 20:34:38 +01:00
Richard Lau 450da99b9b Working on v16.9.2
PR-URL: https://github.com/nodejs/node/issues/40069
2021-09-10 20:32:28 +01:00
Richard Lau 711e073596 2021-09-10, Version 16.9.1 (Current)
Notable changes:

This release fixes a regression introduced by the V8 9.3 update in Node.js 16.9.0.

PR-URL: https://github.com/nodejs/node/issues/40069
v16.9.1
2021-09-10 11:23:47 -04:00
Jiawen Geng 04f1943109 deps: V8: cherry-pick 9a607043cb31
Original commit message:

    [compiler] Gracefully handle an unsupported situation

    ... by skipping the optimization instead of CHECK-failing.

    Bug: v8:12188
    Change-Id: I6709bf1c55506f3d12886efbfbb9934788cd02ce
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3148132
    Auto-Submit: Georg Neis <neis@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76741}

Refs: https://github.com/v8/v8/commit/9a607043cb3161f8ceae1583807bece595388108

PR-URL: https://github.com/nodejs/node/pull/40046
Fixes: https://github.com/nodejs/node/issues/40030
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-09-10 11:15:04 -04:00
Michaël Zasso b51b55ca9e Working on v16.9.1
PR-URL: https://github.com/nodejs/node/pull/40011
2021-09-07 11:59:40 +02:00
Michaël Zasso b7c0d64878 2021-09-07, Version 16.9.0 (Current)
Notable changes:

crypto:
  * (SEMVER-MINOR) add RSA-PSS params to asymmetricKeyDetails (Tobias Nießen) https://github.com/nodejs/node/pull/39851
deps:
  * (SEMVER-MINOR) add corepack (Maël Nison) https://github.com/nodejs/node/pull/39608
  * (SEMVER-MINOR) update V8 to 9.3.345.16 (Michaël Zasso) https://github.com/nodejs/node/pull/39947
module:
  * (SEMVER-MINOR) support pattern trailers (Guy Bedford) https://github.com/nodejs/node/pull/39635
stream:
  * (SEMVER-MINOR) add stream.compose (Robert Nagy) https://github.com/nodejs/node/pull/39029

PR-URL: https://github.com/nodejs/node/pull/40011
v16.9.0
2021-09-06 10:15:24 +02:00
Robert Nagy cb44781371 stream: add stream.compose
Refs: #32020

PR-URL: https://github.com/nodejs/node/pull/39029
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Backport-PR-URL: https://github.com/nodejs/node/pull/39563
2021-09-06 09:23:53 +02:00
Luigi Pinca 9e782eb758 doc: remove {C,Dec}ompressionStream documentation
Documentation for `CompressionStream` and `DecompressionStream` was
erroneously added in https://github.com/nodejs/node/commit/f57a0e4d8b.

Fixes: https://github.com/nodejs/node/issues/39895

PR-URL: https://github.com/nodejs/node/pull/39899
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2021-09-06 09:21:22 +02:00
Antoine du Hamel d92bd9a982 tools: add support for import assertions in linter
PR-URL: https://github.com/nodejs/node/pull/39924
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
2021-09-06 09:19:25 +02:00
Darshan Sen 879dc4658e src: remove usage of AllocatedBuffer from src/node_buffer.cc
Since AllocatedBuffer is just a thin wrapper around v8::BackingStore, we
should prefer using v8::BackingStore directly.

Refs: https://github.com/nodejs/node/blob/52abf271c563ddffdc93b444ea05e5347a7f2784/src/allocated_buffer.h#L30-L31

Signed-off-by: Darshan Sen <darshan.sen@postman.com>

PR-URL: https://github.com/nodejs/node/pull/39941
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-06 09:19:25 +02:00
Ray 7857e9cc77 doc: add descriptions about when options.mode is ignored
PR-URL: https://github.com/nodejs/node/pull/39881
Fixes: https://github.com/nodejs/node/issues/39859
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: Anto Aravinth <anto.aravinth.cse@gmail.com>
2021-09-06 09:19:25 +02:00
Rich Trott 402071bc45 meta: remove duplicate AUTHORS entry for NigelKibodeaux
PR-URL: https://github.com/nodejs/node/pull/39967
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-09-06 09:19:25 +02:00
Michaël Zasso 00951827cd Revert "build: add windows-2022 to GitHub test matrix"
This reverts commit 13b569c679.

V8 9.3 is not compatible.

Refs: https://github.com/nodejs/node/issues/39976

PR-URL: https://github.com/nodejs/node/pull/39982
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-09-06 09:19:25 +02:00
Daniel Bevenius d43b555047 doc: remove danbev from TSC member list
PR-URL: https://github.com/nodejs/node/pull/39978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
2021-09-06 09:19:24 +02:00
Michaël Zasso e7834535b3 build: add windows-2022 to GitHub test matrix
PR-URL: https://github.com/nodejs/node/pull/39857
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-09-06 09:19:24 +02:00
Michaël Zasso c49b0c0dd4 build: add support for Visual Studio 2022
PR-URL: https://github.com/nodejs/node/pull/39857
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-09-06 09:19:24 +02:00
Michaël Zasso 9763561e30 tools: update gyp-next to v0.10.0
PR-URL: https://github.com/nodejs/node/pull/39857
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2021-09-06 09:19:24 +02:00
Tobias Nießen 585199497f crypto: fix regression in RSA-PSS keygen
Fixes: https://github.com/nodejs/node/issues/39936
Refs: https://github.com/nodejs/node/pull/35093

PR-URL: https://github.com/nodejs/node/pull/39937
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-06 09:19:24 +02:00
Tobias Nießen fc01dd916e doc: add missing changes to generateKeyPair(Sync)
Refs: https://github.com/nodejs/node/pull/26774
Refs: https://github.com/nodejs/node/pull/26960

PR-URL: https://github.com/nodejs/node/pull/39963
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-09-06 09:19:24 +02:00
Daniel Bevenius 953f2e9f88 doc: add nodejs/tweet issue creation to sec. doc
This commit adds a suggestion to create a github issue for the security
release tweets. Currently, the security release document requests that
these tweets be created by asking in the #nodejs-social channel. Someone
from that channel would then create an issue, so we could just create
the issue ourselves.

PR-URL: https://github.com/nodejs/node/pull/39940
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2021-09-06 09:19:23 +02:00
Stephen Belanger 2343c394fb async_hooks: use resource stack for AsyncLocalStorage run
PR-URL: https://github.com/nodejs/node/pull/39890
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
2021-09-06 09:19:23 +02:00
Michaël Zasso ca9b781d20 test: use assert.match instead of regexp.test
PR-URL: https://github.com/nodejs/node/pull/39928
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
2021-09-06 09:19:23 +02:00
Guy Bedford 29c4b07716 doc: update WASI example to use import.meta.url
PR-URL: https://github.com/nodejs/node/pull/39925
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-09-06 09:19:23 +02:00
Rich Trott 3588f07603 meta: add mailmap entry for Ethan-Arrowood
The next update-authors.js run will add a second entry to AUTHORS for
Ethan-Arrowood because they use a new email address in a commit they
authored very recently. Add the new email address to mailmap and update
AUTHORS.

PR-URL: https://github.com/nodejs/node/pull/39930
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
2021-09-06 09:19:23 +02:00
Tobias Nießen 9eb4a70c14 doc: move reference to OpenSSL flags SSL_OP_*
Refs: https://github.com/nodejs/node/pull/34050

PR-URL: https://github.com/nodejs/node/pull/39935
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-06 09:19:23 +02:00
Rich Trott afdb665e57 build: fix find-inactive-collaborators workflow token
Use a token that will result in GitHub CI running on the pull requests
that this workflow opens.

PR-URL: https://github.com/nodejs/node/pull/39909
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-09-06 09:19:22 +02:00
Rich Trott 0ff88f362f build: update token used for pull requests
Refs: https://github.com/nodejs/node/pull/39874#issuecomment-905538468

PR-URL: https://github.com/nodejs/node/pull/39907
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: Luigi Pinca <luigipinca@gmail.com>
2021-09-06 09:19:22 +02:00
Tim Perry 8ea4befc82 doc: add docs for duplex.allowHalfOpen property
PR-URL: https://github.com/nodejs/node/pull/39126
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-06 09:19:22 +02:00
FrankQiu bc2b73ec9b doc: add FrankQiu to a triager
PR-URL: https://github.com/nodejs/node/pull/39922
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-09-06 09:19:22 +02:00
voltrexmaster 8b68f8ec38 doc: add VoltrexMaster to triagers
PR-URL: https://github.com/nodejs/node/pull/39920
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-09-06 09:19:22 +02:00
Antoine du Hamel 112af69194 fs: add docs and tests for AsyncIterable support in fh.writeFile
Refs: https://github.com/nodejs/node/pull/37490

PR-URL: https://github.com/nodejs/node/pull/39836
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
2021-09-06 09:19:21 +02:00
Tobias Nießen 34c627e4bc crypto: add RSA-PSS params to asymmetricKeyDetails
Fixes: https://github.com/nodejs/node/issues/39837
Refs: https://github.com/openssl/openssl/pull/10568

PR-URL: https://github.com/nodejs/node/pull/39851
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
2021-09-06 09:19:21 +02:00
Michaël Zasso 3a8f77ac0d doc: document JavaScript tool for benchmark comparison
This makes it simpler for everyone to do the statistical analysis since
it doesn't require to install R and its dependencies.

Refs: https://github.com/targos/node-benchmark-compare

PR-URL: https://github.com/nodejs/node/pull/39835
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
2021-09-06 09:19:21 +02:00
Darshan Sen 007e2855af test: use error code mapping in place of raw errno
Refs: https://github.com/nodejs/node/pull/38159#discussion_r610288214

PR-URL: https://github.com/nodejs/node/pull/38675
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2021-09-06 09:19:21 +02:00
npm team e25dc8e470 deps: upgrade npm to 7.21.1
PR-URL: https://github.com/nodejs/node/pull/39904
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-09-06 09:19:21 +02:00
Rich Trott 259e0cf4d7 meta: add mailmap entry for branisha
Add mailmap entry to consolidate duplicate entries in AUTHORS file.

PR-URL: https://github.com/nodejs/node/pull/39889
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-09-06 09:19:21 +02:00
Filip Skokan 1dd91582da crypto: fix rsa-pss one-shot sign/verify error handling
fixes #39822

PR-URL: https://github.com/nodejs/node/pull/39830
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-06 09:19:20 +02:00