Michael Dawson
86bbb427ce
http: add missing initialization
...
Add missing initialization reported by coverity scan.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40555
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-01-31 22:53:25 -05:00
Evan Lucas
7fba4e5819
doc: fix transform stream example
...
There was a missing callback in the Transform#flush example
implementation.
PR-URL: https://github.com/nodejs/node/pull/40777
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-01-31 22:53:25 -05:00
Martin Jansa
00fd7d28ef
crypto: fix build without scrypt
...
* add missing semicolon to fix:
In file included from ../src/node_crypto.h:47,
from ../src/node.cc:46:
../src/crypto/crypto_scrypt.h:80:2:
error: expected ';' after struct definition
80 | }
| ^
| ;
and fix typo in the comment
Signed-off-by: Martin Jansa <martin.jansa@lge.com >
PR-URL: https://github.com/nodejs/node/pull/40613
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2022-01-31 22:53:24 -05:00
npm team
c0200e20a0
deps: upgrade npm to 8.1.3
...
PR-URL: https://github.com/nodejs/node/pull/40726
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2022-01-31 22:53:23 -05:00
Rich Trott
25a166dd25
test: fix flaky test-policy-integrity
...
Split the test into seven tests so that it doesn't time out.
Fixes: https://github.com/nodejs/node/issues/40694
Fixes: https://github.com/nodejs/node/issues/38088
PR-URL: https://github.com/nodejs/node/pull/40763
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
2022-01-31 22:53:23 -05:00
voltrexmaster
a74673fc7c
doc: fix linter-enforced formatting in crypto.md
...
The markdown-linter (lint-md) is failing because of a missing newline
caused by 79d681501d .
PR-URL: https://github.com/nodejs/node/pull/40780
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2022-01-31 22:53:22 -05:00
3nprob
bd9a6a0194
src: add x509.fingerprint512 to crypto module
...
PR-URL: https://github.com/nodejs/node/pull/39809
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-01-31 22:53:21 -05:00
Tobias Nießen
7681fdfd7d
src: add and fix some preprocessor comments
...
PR-URL: https://github.com/nodejs/node/pull/40701
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2022-01-31 22:53:17 -05:00
Subhi Al Hasan
be53296a1d
http: change totalSocketCount only on socket creation/close
...
PR-URL: https://github.com/nodejs/node/pull/40572
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2022-01-31 22:52:56 -05:00
Steven
d9ae43ef0e
doc: fix corepack grammar for --force flag
...
PR-URL: https://github.com/nodejs/node/pull/40762
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-31 22:52:55 -05:00
Tobias Nießen
7f9bf21241
doc: clarify getAuthTag with authTagLength
...
Refs: https://github.com/nodejs/node/issues/40272
Refs: https://github.com/nodejs/node/pull/20235
PR-URL: https://github.com/nodejs/node/pull/40713
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-31 22:52:54 -05:00
Michael Dawson
fbf732de4f
doc: fix order of announce work
...
- Since we now just reference the nodejs blog post in the
post to the nodejs-sec mailing list, change the order
so the blog post comes first
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40725
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2022-01-31 22:52:54 -05:00
Node.js GitHub Bot
1626d17cbe
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/40748
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-31 22:52:53 -05:00
Michael Dawson and Jean Burellier
ac56a114ad
doc: add initial list of technical priorities
...
Co-authored-by: Jean Burellier <sheplu@users.noreply.github.com >
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40235
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2022-01-31 22:52:53 -05:00
Rich Trott
6b6fb83673
tools: improve update scripts
...
The --production flag has no effect in this situation. Remove it.
Add --ignore-scripts as a precaution.
PR-URL: https://github.com/nodejs/node/pull/40644
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 22:52:52 -05:00
Rich Trott
e354464c3e
build: add GitHub Action to update tools modules
...
Update ESLint, Babel, remark, and so on. Run once a week.
PR-URL: https://github.com/nodejs/node/pull/40644
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 22:52:51 -05:00
Rich Trott
f47d6a37f5
doc: fix lint re-enabling comment in README.md
...
If there is not a blank line before it, the comment does not re-enable
the rule.
PR-URL: https://github.com/nodejs/node/pull/40647
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-31 22:52:51 -05:00
Rich Trott
e915cec505
tools: notify user if format-md needs to be run
...
This will help enforce formatting of markdown files.
PR-URL: https://github.com/nodejs/node/pull/40647
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-31 22:52:50 -05:00
Rich Trott
ea75ef5fbd
tools: update babel-eslint-parser to 7.16.0
...
PR-URL: https://github.com/nodejs/node/pull/40720
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Backport-PR-URL: https://github.com/nodejs/node/pull/41770
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
2022-01-31 21:54:45 -05:00
Rich Trott
25b3187021
test: add semicolons for linter update
...
Add missing semicolons that will be flagged when we update
@babel/eslint-parser to 7.16.0.
PR-URL: https://github.com/nodejs/node/pull/40720
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Backport-PR-URL: https://github.com/nodejs/node/pull/41770
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
2022-01-31 21:54:36 -05:00
Geoffrey Booth
4e0502625b
esm: refactor esm tests out of test/message
...
PR-URL: https://github.com/nodejs/node/pull/41352
Backport-PR-URL: https://github.com/nodejs/node/pull/41776
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-31 21:46:27 -05:00
Geoffrey Booth
442ad8d787
module: import assertions improvements
...
PR-URL: https://github.com/nodejs/node/pull/40785
Backport-PR-URL: https://github.com/nodejs/node/pull/41776
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 21:46:23 -05:00
Geoffrey Booth
a9adbb680b
doc: fix spelling of 'WebAssembly'
...
PR-URL: https://github.com/nodejs/node/pull/40785
Backport-PR-URL: https://github.com/nodejs/node/pull/41776
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2022-01-31 21:46:04 -05:00
Antoine du Hamel
b4fea14cc3
test: disable warnings to fix flaky test
...
Fixes: https://github.com/nodejs/node/issues/40738
PR-URL: https://github.com/nodejs/node/pull/40739
Backport-PR-URL: https://github.com/nodejs/node/pull/41776
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-31 21:45:53 -05:00
Antoine du Hamel and Geoffrey Booth
1b8169a842
esm: add support for JSON import assertion
...
Remove V8 flag for import assertions, enabling support for the syntax;
require the import assertion syntax for imports of JSON.
Support import assertions in user loaders.
Use both resolved module URL and import assertion type as the key for
caching modules.
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com >
PR-URL: https://github.com/nodejs/node/pull/40250
Backport-PR-URL: https://github.com/nodejs/node/pull/41776
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2022-01-31 21:45:46 -05:00
Lu Yahan
036650e046
deps: V8: backport 77599ffe0a74
...
Original commit message:
[riscv64] Add block before LoadAddress
fix node.js DCHECK failed
issue: https://github.com/riscv-collab/v8/issues/514
Change-Id: I07f40e6aca05be3eb7304a43235185fd40ebc1f2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3260979
Reviewed-by: ji qiu <qiuji@iscas.ac.cn >
Commit-Queue: ji qiu <qiuji@iscas.ac.cn >
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn >
Cr-Commit-Position: refs/heads/main@{#77750}
Refs: v8/v8@77599ffe0a
PR-URL: https://github.com/nodejs/node/pull/41566
Refs: https://github.com/v8/v8/commit/d8dc66f
Refs: https://github.com/v8/v8/commit/3cab84c
Refs: https://github.com/v8/v8/commit/471f862
Refs: https://github.com/v8/v8/commit/77599ff
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 21:41:34 -05:00
Lu Yahan
0b27486895
deps: V8: cherry-pick e74d6918fb9f
...
Original commit message:
[sparkplug] Simplify arch-guards to ENABLE_SPARKPLUG
There is still a place to simplify.
Bug: v8:11420, v8:11421
Change-Id: I774139c52d911323f162350532a493e70f518643
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3096885
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn >
Commit-Queue: Leszek Swirski <leszeks@chromium.org >
Reviewed-by: Leszek Swirski <leszeks@chromium.org >
Cr-Commit-Position: refs/heads/master@{#76296}
Refs: v8/v8@e74d6918fb
PR-URL: https://github.com/nodejs/node/pull/41566
Refs: https://github.com/v8/v8/commit/d8dc66f
Refs: https://github.com/v8/v8/commit/3cab84c
Refs: https://github.com/v8/v8/commit/471f862
Refs: https://github.com/v8/v8/commit/77599ff
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 21:41:32 -05:00
Lu Yahan
77ad5dd0ff
deps: V8: cherry-pick 471f862954f3
...
Original commit message:
[riscv64] Link should greater and equal zero
Change-Id: Ieeb5888efc068707766aef6ba6fc842c5deaaf9c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3146673
Commit-Queue: Yahan Lu <yahan@iscas.ac.cn >
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn >
Reviewed-by: Ji Qiu <qiuji@iscas.ac.cn >
Cr-Commit-Position: refs/heads/main@{#76784}
Refs: v8/v8@471f862954
PR-URL: https://github.com/nodejs/node/pull/41566
Refs: https://github.com/v8/v8/commit/d8dc66f
Refs: https://github.com/v8/v8/commit/3cab84c
Refs: https://github.com/v8/v8/commit/471f862
Refs: https://github.com/v8/v8/commit/77599ff
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 21:41:28 -05:00
Lu Yahan
dc6843cabe
deps: V8: cherry-pick 3cab84c24723
...
Original commit message:
[riscv64] Use s1 to save code_obj
The caller saved a4 may be clobbered by the callee function.
So we substitute it with the callee saved s1 to save code_obj.
Change-Id: Iebe707cbaa62d47fdee0aa117e32e88f67dac743
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3096886
Reviewed-by: Ji Qiu <qiuji@iscas.ac.cn >
Commit-Queue: Ji Qiu <qiuji@iscas.ac.cn >
Commit-Queue: Yahan Lu <yahan@iscas.ac.cn >
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn >
Cr-Commit-Position: refs/heads/master@{#76294}
Refs: v8/v8@3cab84c247
PR-URL: https://github.com/nodejs/node/pull/41566
Refs: https://github.com/v8/v8/commit/d8dc66f
Refs: https://github.com/v8/v8/commit/3cab84c
Refs: https://github.com/v8/v8/commit/471f862
Refs: https://github.com/v8/v8/commit/77599ff
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 21:41:22 -05:00
Lu Yahan
e391da45cf
deps: V8: cherry-pick d8dc66f92169
...
Original commit message:
[riscv64][sparkplug] Fix sparkplug verify framesize failed
Change-Id: I7481749ba3d5c41d7405b0d88a51defbc8bec9d6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3093009
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn >
Reviewed-by: Ji Qiu <qiuji@iscas.ac.cn >
Commit-Queue: Yahan Lu <yahan@iscas.ac.cn >
Cr-Commit-Position: refs/heads/master@{#76277}
Refs: v8/v8@d8dc66f9
PR-URL: https://github.com/nodejs/node/pull/41566
Refs: https://github.com/v8/v8/commit/d8dc66f
Refs: https://github.com/v8/v8/commit/3cab84c
Refs: https://github.com/v8/v8/commit/471f862
Refs: https://github.com/v8/v8/commit/77599ff
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 21:41:18 -05:00
Rich Trott
9e68c00d8e
doc: format v8.md in preparation for stricter linting
...
PR-URL: https://github.com/nodejs/node/pull/40647
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 17:03:06 -05:00
Stephen Belanger
e29bd4699d
v8: multi-tenant promise hook api
...
PR-URL: https://github.com/nodejs/node/pull/39283
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2022-01-29 17:03:06 -05:00
Rich Trott
3580286818
tools: avoid unnecessary escaping in markdown formatter
...
Update mdast-util-to-markdown to 1.2.4 which reduces unnecessary
escaping of `_` and some other characters. Re-run markdown formatter.
PR-URL: https://github.com/nodejs/node/pull/40645
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 17:03:01 -05:00
Rich Trott
82facfbe3e
doc: final round of markdown format changes
...
Once the README and find-inactive-collaborators.mjs changes land here,
we can introduce markdown formatting as a step in the toolchain
somewhere.
Before this lands, https://github.com/nodejs/node-core-utils/pull/578
will need to land and be included in a node-core-utils release.
PR-URL: https://github.com/nodejs/node/pull/40645
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2022-01-29 17:00:26 -05:00
Rich Trott
fe1b6fb0b5
doc: simplify CHANGELOG.md
...
Remove unnecessary `<sup>` usage and lint-disabling comment.
PR-URL: https://github.com/nodejs/node/pull/40475
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2022-01-29 16:59:28 -05:00
Guy Bedford
5c90975275
doc: correct esm spec scope lookup definition
...
PR-URL: https://github.com/nodejs/node/pull/40592
Fixes: https://github.com/nodejs/node/issues/40578
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
2022-01-29 16:58:05 -05:00
Guy Bedford
e7391ea1b3
module: resolver & spec hardening /w refactoring
...
PR-URL: https://github.com/nodejs/node/pull/40510
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2022-01-29 16:58:00 -05:00
Rich Trott
ce2dc48588
doc: use GFM footnotes in BUILDING.md
...
PR-URL: https://github.com/nodejs/node/pull/40474
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-29 16:57:28 -05:00
simon-id
5e606b54b7
lib: add unsubscribe method to non-active DC channels
...
PR-URL: https://github.com/nodejs/node/pull/40433
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2022-01-29 16:32:08 -05:00
simon-id
594fe5502d
lib: add return value for DC channel.unsubscribe
...
PR-URL: https://github.com/nodejs/node/pull/40433
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
2022-01-29 16:32:07 -05:00
Cheng Zhao
a9826b09d4
src: add flags for controlling process behavior
...
PR-URL: https://github.com/nodejs/node/pull/40339
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2022-01-29 16:32:06 -05:00
Michaël Zasso
ab28dc5e7f
doc: update maintaining ICU guide
...
Do not ask to separate the changes in deps/icu-small and in the
LICENSE file.
Do not ask to remove the whitespace changes. The way commits are
landed now doesn't eliminate them anymore.
PR-URL: https://github.com/nodejs/node/pull/40658
Backport-PR-URL: https://github.com/nodejs/node/pull/41525
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-01-18 09:27:07 +01:00
Michaël Zasso
5aa45ae757
deps: update ICU to 70.1
...
Refs: https://github.com/unicode-org/icu/releases/tag/release-70-1
PR-URL: https://github.com/nodejs/node/pull/40658
Backport-PR-URL: https://github.com/nodejs/node/pull/41525
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2022-01-18 09:26:59 +01:00
Richard Lau
0466400d7a
deps: update archs files for OpenSSL-1.1.1m+quic
...
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
$ make -C deps/openssl/config
$ git add deps/openssl/config/archs
$ git add deps/openssl/openssl/include/crypto/bn_conf.h
$ git add deps/openssl/openssl/include/crypto/dso_conf.h
$ git add deps/openssl/openssl/include/openssl/opensslconf.h
$ git commit
PR-URL: https://github.com/nodejs/node/pull/41175
Refs: https://github.com/quictls/openssl/pull/68
Refs: https://mta.openssl.org/pipermail/openssl-announce/2021-December/000212.html
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2022-01-17 07:51:17 -05:00
Richard Lau
553246c1e4
deps: upgrade openssl sources to OpenSSL_1_1_1m+quic
...
This updates all sources in deps/openssl/openssl by:
$ git clone https://github.com/quictls/openssl
$ cd openssl
$ git checkout OpenSSL_1_1_1m+quic
$ cd ../node/deps/openssl
$ rm -rf openssl
$ cp -R ../openssl openssl
$ rm -rf openssl/.git* openssl/.travis*
$ git add --all openssl
$ git commit openssl
PR-URL: https://github.com/nodejs/node/pull/41175
Refs: https://github.com/quictls/openssl/pull/68
Refs: https://mta.openssl.org/pipermail/openssl-announce/2021-December/000212.html
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2022-01-17 07:51:14 -05:00
Richard Lau
2c84c3eee8
test: do not load absolute path crypto engines twice
...
Newer versions of OpenSSL now throws an error if an engine is loaded
twice by its absolute path (a second load by its id appears to be okay).
PR-URL: https://github.com/nodejs/node/pull/41175
Refs: https://github.com/quictls/openssl/pull/68
Refs: https://mta.openssl.org/pipermail/openssl-announce/2021-December/000212.html
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2022-01-17 07:51:11 -05:00
Danielle Adams
f4493c1691
doc: format changelog for v16.13.2
...
PR-URL: https://github.com/nodejs/node/pull/41483
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tierney Cyren <hello@bnb.im >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
2022-01-16 17:15:37 -05:00
Daniel Bevenius
95c19c36a9
deps: add -fno-strict-aliasing flag to libuv
...
This commit turns on `-fno-strict-aliasing` in libuv.
Fixes: https://github.com/nodejs/node/issues/40368
Refs: https://github.com/libuv/libuv/issues/1230
PR-URL: https://github.com/nodejs/node/pull/40631
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2022-01-10 18:07:01 -05:00
Danielle Adams
162cc4fa63
Working on v16.13.3
...
PR-URL: https://github.com/nodejs-private/node-private/pull/312
2022-01-10 17:54:27 -05:00
Danielle Adams
acb71eab77
2022-01-10, Version 16.13.2 'Gallium' (LTS)
...
This is a security release.
Notable changes:
Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
- Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI
is specifically defined to use a particular SAN type, can result in
bypassing name-constrained intermediates. Node.js was accepting URI SAN
types, which PKIs are often not defined to use. Additionally, when a
protocol allows URI SANs, Node.js did not match the URI correctly.
- Versions of Node.js with the fix for this disable the URI SAN type when
checking a certificate against a hostname. This behavior can be
reverted through the `--security-revert` command-line option.
- More details will be available at
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531
Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
- Node.js converts SANs (Subject Alternative Names) to a string format.
It uses this string to check peer certificates against hostnames when
validating connections. The string format was subject to an injection
vulnerability when name constraints were used within a certificate
chain, allowing the bypass of these name constraints.
- Versions of Node.js with the fix for this escape SANs containing the
problematic characters in order to prevent the injection. This
behavior can be reverted through the `--security-revert` command-line
option.
- More details will be available at
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532
Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
- Node.js did not handle multi-value Relative Distinguished Names
correctly. Attackers could craft certificate subjects containing a
single-value Relative Distinguished Name that would be interpreted as a
multi-value Relative Distinguished Name, for example, in order to inject
a Common Name that would allow bypassing the certificate subject
verification.
- Affected versions of Node.js do not accept multi-value Relative
Distinguished Names and are thus not vulnerable to such attacks
themselves. However, third-party code that uses node's ambiguous
presentation of certificate subjects may be vulnerable.
- More details will be available at
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44533
Prototype pollution via `console.table` properties (Low)(CVE-2022-21824)
- Due to the formatting logic of the `console.table()` function it was
not safe to allow user controlled input to be passed to the `properties`
parameter while simultaneously passing a plain object with at least one
property as the first parameter, which could be `__proto__`. The
prototype pollution has very limited control, in that it only allows an
empty string to be assigned numerical keys of the object prototype.
- Versions of Node.js with the fix for this use a null protoype for the
object these properties are being assigned to.
- More details will be available at
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21824
PR-URL: https://github.com/nodejs-private/node-private/pull/312
v16.13.2
2022-01-10 15:02:16 -05:00