Yoshiki Kurihara
ae12a609a5
test: improve test coverage of readline/promises
...
PR-URL: https://github.com/nodejs/node/pull/40876
Refs: https://coverage.nodejs.org/coverage-0c2011c6c5d311a9/lib/readline/promises.js.html#L33
Reviewed-By: Qingyu Deng <i@ayase-lab.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-26 15:36:34 +01:00
Rich Trott
05d652a555
build: fix branch name for lint-md-dependencies update
...
Refs: https://github.com/nodejs/node/runs/4288412090?check_suite_focus=true
PR-URL: https://github.com/nodejs/node/pull/40924
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-11-26 15:36:33 +01:00
Michael Dawson
cf495a6293
doc: clarify more optional parameters in node-api
...
Refs: https://github.com/nodejs/abi-stable-node/issues/252
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40888
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-11-26 15:36:33 +01:00
Rich Trott
3d593aa4ed
tools: update lint-md dependencies
...
Patch updates for remark-parse, remark-stringify, and unified.
Patch updates to rollup plugins and minor update to rollup.
PR-URL: https://github.com/nodejs/node/pull/40894
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2021-11-26 15:36:33 +01:00
Luigi Pinca
e674f61720
tools: update ESLint to 8.3.0
...
PR-URL: https://github.com/nodejs/node/pull/40917
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-26 15:36:33 +01:00
Robert Nagy
650c9bd022
stream: pipeline with end option
...
Currently pipeline cannot fully replace pipe due
to the missing end option. This PR adds the end
option to the promisified pipeline method.
PR-URL: https://github.com/nodejs/node/pull/40886
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-26 15:36:32 +01:00
Matteo Collina
534409d4e7
stream: fix finished regression when working with legacy Stream
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
PR-URL: https://github.com/nodejs/node/pull/40858
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2021-11-26 15:36:32 +01:00
npm team
90f35fc329
deps: upgrade npm to 8.1.4
...
PR-URL: https://github.com/nodejs/node/pull/40865
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-26 15:36:32 +01:00
Rich Trott
1482c4415f
build: fix make invocation in tools.yml
...
Be in the correct directory for `make lint-md-rollup`.
PR-URL: https://github.com/nodejs/node/pull/40890
Refs: https://github.com/nodejs/node/runs/4270533399?check_suite_focus=true
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-11-26 15:36:31 +01:00
Luigi Pinca
4288c6a26e
test: deflake cluster-concurrent-disconnect
...
Occasionally the error code is `'ENOTCONN'` on macOS. Add it as an
allowed/expected code.
Fixes: https://github.com/nodejs/node/issues/38405
PR-URL: https://github.com/nodejs/node/pull/40877
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2021-11-26 15:36:31 +01:00
Luigi Pinca
009ab4d9bb
test: deflake fs-promises-watch
...
Change the contents of the file every 100 milliseconds until the watcher
notices the change. This is already done in the callback based version
of the test (`test-fs-watch.js`).
Fixes: https://github.com/nodejs/node/issues/37637
PR-URL: https://github.com/nodejs/node/pull/40863
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2021-11-26 15:36:31 +01:00
Rich Trott
878ba91bf6
tools: add find-inactive-tsc
...
Automate the implementation of rules in the TSC Charter around automatic
removal of members who do not participate in TSC votes and attend fewer
than 25% of the meetings in a 3-month period.
PR-URL: https://github.com/nodejs/node/pull/40884
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@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 >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-26 15:36:30 +01:00
Michaël Zasso
d97ad3080f
tools: disable trap handler for Windows cross-compiler
...
`handler-outside-simulator.cc` uses inline assembly, which is not
supported by MSVC.
PR-URL: https://github.com/nodejs/node/pull/40488
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:05 +01:00
Michaël Zasso
e3f8988118
tools: update V8 gypfiles for 9.6
...
PR-URL: https://github.com/nodejs/node/pull/40488
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:04 +01:00
Ray Wang
d461603d71
deps: V8: cherry-pick cced52a97ee9
...
Original commit message:
[date] Skip leading zeros when parsing date string
1. Skip leading zeros when parsing date string
2. Add necessary unittests
Bug: v8:12256
Change-Id: Ibc1f320382a2e33175f7f57542c8fe48afd05fa8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3223239
Reviewed-by: Shu-yu Guo <syg@chromium.org >
Reviewed-by: Igor Sheludko <ishell@chromium.org >
Commit-Queue: Shu-yu Guo <syg@chromium.org >
Cr-Commit-Position: refs/heads/main@{#77592}
Refs: https://github.com/v8/v8/commit/cced52a97ee954fedd6187abfd042c95a1cce6c6
PR-URL: https://github.com/nodejs/node/pull/40656
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:04 +01:00
Ray Wang
d6ae50ff96
deps: V8: cherry-pick 7ae0b77628f6
...
Original commit message:
[interpreter] Stop jump-table optimizing switch stms when spread overflows
Bug: v8:12389
Change-Id: I53c728ab0c8ba38c7dd96c7e1089f771ba44b9f0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289227
Reviewed-by: Leszek Swirski <leszeks@chromium.org >
Commit-Queue: Leszek Swirski <leszeks@chromium.org >
Cr-Commit-Position: refs/heads/main@{#77995}
Refs: https://github.com/v8/v8/commit/7ae0b77628f6b7ef5b38658bec82fd57115dfaf3
PR-URL: https://github.com/nodejs/node/pull/40882
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:04 +01:00
Michaël Zasso
e60053deee
deps: V8: cherry-pick 2a0bc36dec12
...
Original commit message:
[parser] Fix the MSVC build
MSVC seems to instantiate the Parser::PreParserIdentifierToAstRawString
method despite it being unused. This CL adds an (unreachable)
definition for it.
Bug: v8:12266
Change-Id: I355ca82a9d6b7bc8cd16768a8df93e40f8bfc638
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3199856
Reviewed-by: Jakob Gruber <jgruber@chromium.org >
Reviewed-by: Leszek Swirski <leszeks@chromium.org >
Commit-Queue: Jakob Gruber <jgruber@chromium.org >
Cr-Commit-Position: refs/heads/main@{#77313}
Refs: https://github.com/v8/v8/commit/2a0bc36dec121c9f30e3c18e8ed1f0d0b4f2ed7c
PR-URL: https://github.com/nodejs/node/pull/40178
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-11-21 16:10:04 +01:00
Michaël Zasso
94acaae3d4
deps: V8: patch jinja2 for Python 3.10 compat
...
PR-URL: https://github.com/nodejs/node/pull/40296
Fixes: https://github.com/nodejs/node/issues/40294
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Christian Clauss <cclauss@me.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-21 16:10:04 +01:00
Michaël Zasso
37c9828d39
deps: disable trap handler for Windows cross-compiler
...
`handler-outside-simulator.cc` uses inline assembly, which is not
supported by MSVC.
PR-URL: https://github.com/nodejs/node/pull/40488
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:03 +01:00
Michaël Zasso
dfb97fb501
deps: silence irrelevant V8 warning
...
PR-URL: https://github.com/nodejs/node/pull/38990
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-11-21 16:10:03 +01:00
Michaël Zasso
9ecf4be0c2
deps: silence irrelevant V8 warning
...
PR-URL: https://github.com/nodejs/node/pull/37587
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2021-11-21 16:10:03 +01:00
Jiawen Geng
82a8736dec
deps: fix V8 build issue with inline methods
...
PR-URL: https://github.com/nodejs/node/pull/35415
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
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 >
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 >
deps: workaround debug link error on Windows
PR-URL: https://github.com/nodejs/node/pull/38807
Refs: https://github.com/nodejs/node/pull/38788
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ash Cripps <acripps@redhat.com >
2021-11-21 16:10:03 +01:00
Joao Reis
eab5ef5505
deps: make v8.h compatible with VS2015
...
There is a bug in the most recent version of VS2015 that affects v8.h
and therefore prevents compilation of addons.
Refs: https://stackoverflow.com/q/38378693
PR-URL: https://github.com/nodejs/node/pull/32116
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2021-11-21 16:10:03 +01:00
Refael Ackermann
d6e5dd56ff
deps: V8: forward declaration of Rtl*FunctionTable
...
This should be semver-patch since actual invocation is version
conditional.
PR-URL: https://github.com/nodejs/node/pull/32116
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2021-11-21 16:10:03 +01:00
Refael Ackermann
29a6e15480
deps: V8: patch register-arm64.h
...
Fixes a compilation issue on some platforms
PR-URL: https://github.com/nodejs/node/pull/32116
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2021-11-21 16:10:02 +01:00
Refael Ackermann
1ff83c4945
deps: V8: un-cherry-pick bd019bd
...
Original commit message:
[testrunner] delete ancient junit compatible format support
Testrunner has ancient support for JUnit compatible XML output.
This CL removes this old feature.
R=mstarzinger@chromium.org ,jgruber@chromium.org ,jkummerow@chromium.org
CC=machenbach@chromium.org
Bug: v8:8728
Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0
Reviewed-on: https://chromium-review.googlesource.com/c/1430065
Reviewed-by: Jakob Gruber <jgruber@chromium.org >
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org >
Commit-Queue: Tamer Tas <tmrts@chromium.org >
Cr-Commit-Position: refs/heads/master@{#59045}
Refs: https://github.com/v8/v8/commit/bd019bdb725cebaa34327634d73936cd7003d17c
PR-URL: https://github.com/nodejs/node/pull/32116
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2021-11-21 16:10:02 +01:00
Michaël Zasso
69de8c8143
build: reset embedder string to "-node.0"
...
PR-URL: https://github.com/nodejs/node/pull/40488
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:02 +01:00
Michaël Zasso
371ee64c92
deps: update V8 to 9.6.180.14
...
PR-URL: https://github.com/nodejs/node/pull/40488
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:10:01 +01:00
Ray Wang
6506a42c16
deps: V8: cherry-pick cced52a97ee9
...
Original commit message:
[date] Skip leading zeros when parsing date string
1. Skip leading zeros when parsing date string
2. Add necessary unittests
Bug: v8:12256
Change-Id: Ibc1f320382a2e33175f7f57542c8fe48afd05fa8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3223239
Reviewed-by: Shu-yu Guo <syg@chromium.org >
Reviewed-by: Igor Sheludko <ishell@chromium.org >
Commit-Queue: Shu-yu Guo <syg@chromium.org >
Cr-Commit-Position: refs/heads/main@{#77592}
Refs: https://github.com/v8/v8/commit/cced52a97ee954fedd6187abfd042c95a1cce6c6
PR-URL: https://github.com/nodejs/node/pull/40656
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:08:38 +01:00
Ray Wang
a612ecb42f
deps: V8: cherry-pick 7ae0b77628f6
...
Original commit message:
[interpreter] Stop jump-table optimizing switch stms when spread overflows
Bug: v8:12389
Change-Id: I53c728ab0c8ba38c7dd96c7e1089f771ba44b9f0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3289227
Reviewed-by: Leszek Swirski <leszeks@chromium.org >
Commit-Queue: Leszek Swirski <leszeks@chromium.org >
Cr-Commit-Position: refs/heads/main@{#77995}
Refs: https://github.com/v8/v8/commit/7ae0b77628f6b7ef5b38658bec82fd57115dfaf3
PR-URL: https://github.com/nodejs/node/pull/40882
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:08:38 +01:00
Luigi Pinca
522a30f469
test: fix argument order in assertion
...
The first argument is the actual value, the second argument is the
expected value.
PR-URL: https://github.com/nodejs/node/pull/40842
Fixes: https://github.com/nodejs/node/issues/40277
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
2021-11-21 16:08:38 +01:00
Luigi Pinca
b190b0e77b
test: deflake http2-pipe-named-pipe
...
Wait for all data to be read before sending the response and closing
the client.
Fixes: https://github.com/nodejs/node/issues/40277
PR-URL: https://github.com/nodejs/node/pull/40842
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
2021-11-21 16:08:38 +01:00
Luigi Pinca
c485460793
test: use descriptive name for destination file
...
`http2-url-tests.js` is misleading. Use the same name of the source file
instead.
PR-URL: https://github.com/nodejs/node/pull/40842
Fixes: https://github.com/nodejs/node/issues/40277
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
2021-11-21 16:08:38 +01:00
Guy Bedford
694012b392
doc: define "types", "deno" community conditions
...
PR-URL: https://github.com/nodejs/node/pull/40708
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-11-21 16:08:37 +01:00
Node.js GitHub Bot
de4d0180dc
tools: update @babel/eslint-parser to 7.16.3
...
PR-URL: https://github.com/nodejs/node/pull/40889
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: Luigi Pinca <luigipinca@gmail.com >
2021-11-21 16:08:37 +01:00
Colin Ihrig
b46184df5e
deps: update to uvwasi 0.0.12
...
Notable changes:
- Several overflows have been fixed.
- The libuv dependency has been updated to v1.42.0.
PR-URL: https://github.com/nodejs/node/pull/40847
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-11-21 16:08:37 +01:00
Michael Dawson
4c47b0150b
doc: document optional params in napi_get_cb_info
...
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40821
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-21 16:08:36 +01:00
Rich Trott
dfdf68f4d0
doc: improve README.md lede section
...
Use clear and concise language.
PR-URL: https://github.com/nodejs/node/pull/40837
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
2021-11-21 16:08:36 +01:00
Rich Trott
e793331322
build: fix tools.yml errors
...
PR-URL: https://github.com/nodejs/node/pull/40870
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-11-21 16:08:36 +01:00
Michael Dawson
9c200e1de4
doc: add pref to using draft PR versus WIP label
...
- add to the contribution guide that we prefer that
people use draft PRs instead of the WIP label.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40824
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-21 16:08:36 +01:00
null
dfc6fc987a
meta: update name and email
...
PR-URL: https://github.com/nodejs/node/pull/40848
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-21 16:08:36 +01:00
Darshan Sen
48157c44c2
Revert "async_hooks: merge resource_symbol with owner_symbol"
...
This reverts commit 7ca2f13039 .
PR-URL: https://github.com/nodejs/node/pull/40741
Fixes: https://github.com/nodejs/node/issues/40693
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2021-11-21 16:08:36 +01:00
Darshan Sen
b614b17525
Revert "lib: use helper for readability"
...
This reverts commit 937bbc5571 .
PR-URL: https://github.com/nodejs/node/pull/40741
Fixes: https://github.com/nodejs/node/issues/40693
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2021-11-21 16:08:35 +01:00
Darshan Sen
43e86508ae
test: add AsyncLocalStorage tests using udp, tcp and tls sockets
...
Fixes: https://github.com/nodejs/node/issues/40693
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
PR-URL: https://github.com/nodejs/node/pull/40741
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2021-11-21 16:08:35 +01:00
Robert Nagy
16ee8423d6
stream: pipeline should drain empty readable
...
This simplifies some cases where the last stream is a Duplex
without any expected output.
await pipeline(readable, duplex)
PR-URL: https://github.com/nodejs/node/pull/40654
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-21 16:08:35 +01:00
Luigi Pinca
fe2cd09750
doc: fix added: info for Readable.fromWeb()
...
`stream.Readable.fromWeb()` was added to Node.js v17.0.0 via a99c230305 .
PR-URL: https://github.com/nodejs/node/pull/40820
Refs: https://github.com/nodejs/node/issues/40818
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-21 16:07:38 +01:00
Luigi Pinca
896073be47
test: deflake child-process-pipe-dataflow
...
Fixes: https://github.com/nodejs/node/issues/25988
PR-URL: https://github.com/nodejs/node/pull/40838
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-21 16:07:38 +01:00
JckXia
c2259c974b
src: reset error struct if error code is napi_ok
...
PR-URL: https://github.com/nodejs/node/pull/40552
Refs: https://github.com/nodejs/node-addon-api/issues/1089
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2021-11-21 16:07:37 +01:00
Shelley Vohr
a8cc8b6554
crypto: trim input for NETSCAPE_SPKI_b64_decode
...
PR-URL: https://github.com/nodejs/node/pull/40757
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-21 16:07:37 +01:00
Joyee Cheung
3a4f3873be
process: support hrtime in the snapshot
...
Put the hrtime backing store in the process methods binding data
so that it can be integrated into the snapshot builder. For
now we simply discard the contents of the hrtime buffer during
serialization and create new buffers upon deserialization because
the contents are only useful in a synchronous call.
This also moves the helper function for creating V8 FastAPI methods
into `Environment::SetFastMethod()` for code reuse. The v8::CFunction
need to be created before the Environment is created so that we
have the CTypeInfo address available for external reference
registration.
PR-URL: https://github.com/nodejs/node/pull/40649
Refs: https://github.com/nodejs/node/issues/35711
Refs: https://github.com/nodejs/node/issues/37476
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-21 16:07:37 +01:00