Antoine du Hamel
0c6143656c
build,tools: add lint-js-doc target
...
Add a build target to lint JS code in Markdown files only.
PR-URL: https://github.com/nodejs/node/pull/35708
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2020-10-30 12:01:46 +01:00
Filip Skokan
e8fe38f7cf
crypto: fix webcrypto ECDH JWK import
...
This fixes the importKey operation when importing a JWK for the ECDH
algorithm. As per the Web Crypto API specification the JWK `alg`
property is not checked (as opposed to ECDSA).
PR-URL: https://github.com/nodejs/node/pull/35855
Fixes: https://github.com/nodejs/node/issues/35812
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-10-30 05:48:12 +01:00
Tobias Nießen
5947862801
doc: fix reference to googletest test fixture
...
PR-URL: https://github.com/nodejs/node/pull/35813
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-10-30 01:57:11 +00:00
Jiawen Geng
48ed72df97
tools: add msvc /P output to .gitignore
...
PR-URL: https://github.com/nodejs/node/pull/35735
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-10-30 01:47:23 +00:00
Guy Bedford
b92d2e4b78
deps: upgrade to cjs-module-lexer@0.5.0
...
PR-URL: https://github.com/nodejs/node/pull/35871
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2020-10-29 16:45:50 -07:00
Daijiro Wachi
802c98d65d
test: add onerror test cases to policy
...
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: https://github.com/nodejs/node/pull/35797
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L60
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L146
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-10-29 23:51:55 +09:00
Myles Borins
acdfc16570
doc: stabilize packages features
...
These features are being used in production and are ready to be
considered stable.
Refs: https://github.com/nodejs/modules/issues/564
PR-URL: https://github.com/nodejs/node/pull/35742
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-10-29 10:23:42 -04:00
Myles Borins
4bd1fba04c
tools: add update-npm script
...
I've had to update this one too many times, and much of it can be
automated, so let's do that!
The maintenance instructions have also been updated.
PR-URL: https://github.com/nodejs/node/pull/35822
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2020-10-29 05:15:41 -07:00
Chris Opperwall
a3cc23923a
doc: add conditional example for setBreakpoint()
...
The `node-inspect` debugging client supports passing an optional third
parameter as a string to be evaluated when the breakpoint is hit. If the
condition evaluates to `true` in the current context, the breakpoint
pauses execution; otherwise the execution continues.
This was raised as an issue in
https://github.com/nodejs/node-inspect/issues/68 , but the client already
supports that functionality, so I thought it'd be helpful to add it to
the node documentation.
PR-URL: https://github.com/nodejs/node/pull/35823
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
2020-10-29 05:12:09 -07:00
Daijiro Wachi
bec918fb9b
test: add upstream test cases to encoding
...
Refs: https://github.com/web-platform-tests/wpt/pull/25988
Refs: https://github.com/web-platform-tests/wpt/pull/26158
PR-URL: https://github.com/nodejs/node/pull/35794
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-28 00:25:51 +09:00
Benjamin Gruenbaum and ExE Boss
f20a783a31
events: make abort_controller event trusted
...
The AbortController abort event is trusted, currently we fire all
events with isTrusted: false. Allow dispatching events
internally with `isTrusted: true` and add a test for it.
Co-Authored-By: ExE Boss <3889017+ExE-Boss@users.noreply.github.com >
Fixes: https://github.com/nodejs/node/issues/35748
PR-URL: https://github.com/nodejs/node/pull/35811
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-28 18:33:03 +00:00
Luigi Pinca
81ba3ae699
events: make eventTarget.removeAllListeners() return this
...
Fixes: https://github.com/nodejs/node/issues/35762
PR-URL: https://github.com/nodejs/node/pull/35805
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-10-28 06:39:16 -07:00
Rich Trott
937b70ddec
doc: make small improvements to REPL doc
...
* button -> key
* apply missing kbd element
* revise "Recoverable errors" text for brevity and clarity
PR-URL: https://github.com/nodejs/node/pull/35808
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-10-28 06:29:39 -07:00
Andrey Pechkurov
761c1b0797
tls: allow reading data into a static buffer
...
Refs: #25436
PR-URL: https://github.com/nodejs/node/pull/35753
Refs: https://github.com/nodejs/node/pull/25436
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
2020-10-28 16:07:29 +03:00
Anna Henningsen
ab660a5416
doc: update MessagePort documentation for EventTarget inheritance
...
Refs: https://github.com/nodejs/node/pull/34057
Refs: https://github.com/nodejs/node/issues/35835
PR-URL: https://github.com/nodejs/node/pull/35839
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-10-28 11:25:35 +00:00
Matthew Francis Brunetti
3df5afb367
child_process: add ChildProcess 'spawn' event
...
The new event signals that the subprocess has spawned successfully and
no 'error' event will be emitted from failing to spawn.
Fixes: https://github.com/nodejs/node/issues/35288
PR-URL: https://github.com/nodejs/node/pull/35369
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-28 12:32:50 +05:30
Daniel Bevenius
923f76d523
src: remove ERR prefix in WebCryptoKeyExportStatus
...
This commit suggests removing the ERR prefix in the
WebCryptoKeyExportStatus enum.
The motivation for this is that I think it improves the readability of
the code. For example, the following line had me look twice to see what
was going on:
case WebCryptoKeyExportStatus::ERR_OK:
// Success!
PR-URL: https://github.com/nodejs/node/pull/35639
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-10-28 06:08:34 +01:00
Pooja D.P
cb62f16164
doc: use case-sensitive in the example
...
PR-URL: https://github.com/nodejs/node/pull/35624
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-10-27 18:45:43 +00:00
Richard Lau
0ca861745a
2020-10-27, Version 14.15.0 'Fermium' (LTS)
...
Notable changes:
This release marks the transition of Node.js 14.x into Long Term Support (LTS)
with the codename 'Fermium'. The 14.x release line now moves into "Active LTS"
and will remain so until October 2021. After that time, it will move into
"Maintenance" until end of life in April 2023.
PR-URL: https://github.com/nodejs/node/pull/35746
2020-10-27 11:59:05 -04:00
Richard Lau
62ead4e14f
2020-10-27, Version 10.23.0 'Dubnium' (LTS)
...
Notable changes:
- deps:
- upgrade npm to 6.14.8 (Ruy Adorno)
https://github.com/nodejs/node/pull/34834
- n-api:
- create N-API version 7 (Gabriel Schulhof)
https://github.com/nodejs/node/pull/35199
- expose napi_build_version variable (NickNaso)
https://github.com/nodejs/node/pull/27835
- tools:
- add debug entitlements for macOS 10.15+ (Gabriele Greco)
https://github.com/nodejs/node/pull/34378
PR-URL: https://github.com/nodejs/node/pull/35544
2020-10-27 11:31:31 -04:00
Daijiro Wachi
f9c9c216cc
test: add upstream test cases to urlsearchparam
...
Refs: https://github.com/web-platform-tests/wpt/pull/26126
PR-URL: https://github.com/nodejs/node/pull/35792
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-27 06:32:15 -07:00
Rich Trott
245ec6f5ab
doc,test: update v8 method doc and comment
...
Update documentation and test comment for v8.cachedDataVersionTag().
PR-URL: https://github.com/nodejs/node/pull/35795
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-27 06:18:26 -07:00
Rich Trott
34810e0141
doc: consolidate and clarify breakOnSigInt text
...
PR-URL: https://github.com/nodejs/node/pull/35787
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-27 11:34:16 +00:00
Michael Dawson
0b45382dff
n-api: revert change to finalization
...
Fixes: https://github.com/nodejs/node/issues/35620
This reverts commit a6b655614f which
changed finalization behavior related to N-API. We will investigate
the original issue with the test separately.
PR-URL: https://github.com/nodejs/node/pull/35777
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2020-10-27 11:40:33 +01:00
Trevor Norris
04d16646a0
worker: add eventLoopUtilization()
...
Allow calling eventLoopUtilization() directly on a worker thread:
const worker = new Worker('./foo.js');
const elu = worker.performance.eventLoopUtilization();
setTimeout(() => {
worker.performance.eventLoopUtilization(elu);
}, 10);
Add a new performance object on the Worker instance that will hopefully
one day hold all the other performance metrics, such as nodeTiming.
Include benchmarks and tests.
PR-URL: https://github.com/nodejs/node/pull/35664
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-27 09:43:20 +01:00
Robert Nagy
0d474327a2
http: lazy create IncomingMessage.headers
...
When rawHeaders is enough don't create the headers object.
PR-URL: https://github.com/nodejs/node/pull/35281
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-27 09:29:32 +01:00
Alejandro Oviedo
7c3ce9db30
doc: fix _construct example params order
...
PR-URL: https://github.com/nodejs/node/pull/35790
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-10-27 06:30:31 +00:00
Pooja D.P
8f1e4d37bf
doc: add a subsystems header in pull-requests.md
...
PR-URL: https://github.com/nodejs/node/pull/35718
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-27 05:40:35 +00:00
Michaël Zasso
16b2bc01eb
deps: update acorn to v8.0.4
...
This adds support for nullish coalescing, optional chaining and
numeric separators.
The acorn-numeric-separator plugin can be removed.
PR-URL: https://github.com/nodejs/node/pull/35791
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-10-27 03:26:56 +00:00
raisinten
ed5e5395c7
doc: fix typo in BUILDING.md
...
PR-URL: https://github.com/nodejs/node/pull/35807
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-10-27 01:13:20 +00:00
Daniel Bevenius
9ff25b19ac
src: remove ignore GCC -Wcast-function-type for v8
...
This reverts Commit 3ff2aeceba ("src:
ignore GCC -Wcast-function-type for v8.h") and Commit
2462a2c5d7 ("src: fix ignore GCC
-Wcast-function-type for older compilers") as this has
now been included in the V8 version being used.
PR-URL: https://github.com/nodejs/node/pull/35768
Refs: https://github.com/v8/v8/commit/f08cbfdc4051266e4200b6e26775d35307b1259b
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
2020-10-26 12:41:51 +01:00
Daniel Bevenius
ba465c5ff6
src: use MaybeLocal.ToLocal instead of IsEmpty
...
PR-URL: https://github.com/nodejs/node/pull/35716
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-10-26 12:32:03 +01:00
Daniel Bevenius
f44029e727
Revert "src: ignore GCC -Wcast-function-type for v8.h"
...
This reverts commit f21cf456bf as this has
now been included in the V8 version being used.
PR-URL: https://github.com/nodejs/node/pull/35758
Refs: https://github.com/v8/v8/commit/f08cbfdc4051266e4200b6e26775d35307b1259b
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-10-26 12:27:56 +01:00
Pooja D.P
48d2aca39b
doc: add require statement in the example
...
PR-URL: https://github.com/nodejs/node/pull/35554
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-26 16:53:24 +05:30
Pooja D.P
a8b8bc8906
doc: modified memory set statement set size
...
PR-URL: https://github.com/nodejs/node/pull/35517
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-26 16:50:40 +05:30
bcoe
4ace92f45c
build: turn off Codecov comments
...
Turns off coverage comments for the time being, until we can sort out
issues.
PR-URL: https://github.com/nodejs/node/pull/35800
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-10-26 03:56:13 -07:00
Rich Trott
dd43715caa
doc: use kbd element in readline doc prose
...
The kbd element has already been added in the keybindings table, but we
missed it in one line in the prose.
PR-URL: https://github.com/nodejs/node/pull/35737
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2020-10-26 03:33:34 -07:00
Shubham Parihar
e2d22060ab
doc: fix a typo in CHANGELOG_V12
...
PR-URL: https://github.com/nodejs/node/pull/35786
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-10-26 08:00:19 +05:30
bcoe
ba907ff750
test: refactor coverage logic
...
Cleanup logic in Makefile for coverage. Update BUILDING.md
accordingly.
PR-URL: https://github.com/nodejs/node/pull/35767
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2020-10-25 07:22:57 -07:00
ax1
bae7ddecf7
doc: fix header level in fs.md
...
Indentation for #fs_fs_promises_api is level 2 but it should be level 3.
PR-URL: https://github.com/nodejs/node/pull/35771
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-25 06:07:34 -07:00
Rich Trott
e54c8b788d
doc: remove stability warning in v8 module doc
...
Remove note indicating that the APIs can change at any time. This module
migrated from Experimental to Stable 6 years ago (in io.js 1.4.2).
PR-URL: https://github.com/nodejs/node/pull/35774
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2020-10-25 05:43:46 -07:00
Vse Mozhe Buty
9437e2fb71
doc: mark optional parameters in timers.md
...
PR-URL: https://github.com/nodejs/node/pull/35764
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2020-10-25 17:48:25 +05:30
Yash Ladha
364ac788e4
stream: remove redundant context from comments
...
Using the variable name in the comment and justifying the type seems
redundant to me and instead it should defined the entity which it is
acting, like in our case it is acting as a flag to control the flow in
streams.
PR-URL: https://github.com/nodejs/node/pull/35728
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
2020-10-25 17:41:21 +05:30
Turner Jabbour
20a6ddc968
timers: correct explanation in comment
...
PR-URL: https://github.com/nodejs/node/pull/35437
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-10-25 17:26:10 +05:30
Pooja D.P
fc3f41b561
doc: add a example code to API doc property
...
example code added to the process.setgroups() API
doc property in process.md
PR-URL: https://github.com/nodejs/node/pull/35738
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-10-25 11:31:08 +01:00
Momtchil Momtchev and Alba Mendez
1f703e1204
http2: fix reinjection check
...
We reinject when the sockets has already waiting
data, remarked by @mildsunrise
Co-authored-by: Alba Mendez <me@alba.sh >
PR-URL: https://github.com/nodejs/node/pull/35678
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Alba Mendez <me@alba.sh >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-10-25 10:29:46 +00:00
Momtchil Momtchev
75202d971d
http2: reinject data received before http2 is attached
...
Reinject the data already received from the TLS
socket when the HTTP2 client is attached with a
delay
Fixes: https://github.com/nodejs/node/issues/35475
PR-URL: https://github.com/nodejs/node/pull/35678
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Alba Mendez <me@alba.sh >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-10-25 10:29:45 +00:00
Vincent Boivin
629e1ab5aa
http2: add updateSettings to both http2 servers
...
Allow the user to update the server settings
after using http2.createSecureServer() or
after using http2.createServer().
Fixes: https://github.com/nodejs/node/issues/35353
PR-URL: https://github.com/nodejs/node/pull/35383
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-10-25 10:29:34 +00:00
1d5b91d0a7
doc: document changes for */promises alias modules
...
Fixes: https://github.com/nodejs/node/issues/35740
Refs: https://github.com/nodejs/node/pull/31553
Refs: https://github.com/nodejs/node/pull/32953
Refs: https://github.com/nodejs/node/pull/33991
Refs: https://github.com/nodejs/node/pull/34001
Refs: https://github.com/nodejs/node/pull/34055
Refs: https://github.com/nodejs/node/pull/34962
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
Co-authored-by: Trivikram Kamat <trivikr.dev@gmail.com >
Co-authored-by: Rich Trott <rtrott@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/34002
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2020-10-25 10:29:21 +00:00
Josh Dague
3e10ce30b4
dns: add setLocalAddress to Resolver
...
Fixes: https://github.com/nodejs/node/issues/34818
PR-URL: https://github.com/nodejs/node/pull/34824
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2020-10-25 11:18:39 +01:00