Node.js GitHub Bot
c2fabdbce8
meta: update AUTHORS
...
PR-URL: https://github.com/nodejs/node/pull/40668
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-06 10:59:58 +01:00
Rich Trott
126e669b84
test,doc: correct documentation for runBenchmark()
...
The function only takes two arguments.
PR-URL: https://github.com/nodejs/node/pull/40683
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-06 10:59:58 +01:00
Antoine du Hamel
0787c781ce
tools: abort CQ session when landing several commits
...
Most PRs are meant to be squashed in one commit when landing. If the
collaborator hasn't been using `fixup!` commits, the CQ lands the PR
as several commits. This change makes the CQ abort by default
when attempting to land several commits, unless there's another
label added to the PR to force squashing or landing as several commits.
Fixes: https://github.com/nodejs/node/issues/40436
Refs: https://github.com/nodejs/node-core-utils/pull/572
PR-URL: https://github.com/nodejs/node/pull/40577
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-06 10:59:58 +01:00
Antoine du Hamel
ddc44ddfd9
tools: fix commit-lint workflow
...
PR-URL: https://github.com/nodejs/node/pull/40673
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-06 10:59:58 +01:00
Stephen Belanger
fbeb895ca6
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 >
2021-11-06 10:59:58 +01:00
Rich Trott
5020f634b8
test: mark test-policy-integrity flaky on Windows
...
Ref: https://github.com/nodejs/node/issues/40694
PR-URL: https://github.com/nodejs/node/pull/40684
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:59:57 +01:00
Rich Trott
1844463ce2
test,tools: increase pummel/benchmark test timeout from 4x to 6x
...
The win10-COMPILED_BY-vs2019 hosts in CI are very slow and timing out on
certain tests in pummel and (previously) benchmark. Increase timeout
from 4x to 6x.
PR-URL: https://github.com/nodejs/node/pull/40684
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:59:57 +01:00
Rich Trott
f731f5ffb5
test,tools: increase timeout for benchmark tests
...
test-benchmark-buffer is consistently timing out on a single Windows
host in CI. Rather than try to figure out if we need to scale the
timeout up for a certain memory limit or chip speed or something else,
let's increase the timeout for benchmark tests in general.
PR-URL: https://github.com/nodejs/node/pull/40684
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:59:57 +01:00
Piotr Rybak
8fa1c61e40
test: fix test-datetime-change-notify after daylight change
...
Add standard timezone name for Dublin without daylight saving
PR-URL: https://github.com/nodejs/node/pull/40684
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:59:57 +01:00
Rich Trott
47eddd7076
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 >
2021-11-06 10:59:55 +01:00
Rich Trott
95a7117037
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 >
2021-11-06 10:59:32 +01:00
Rich Trott
16624b404c
tools,meta: remove exclusions from AUTHORS
...
The update-authors tool omits Chromium team members. This was a decision
made years ago. The idea was that these folks contributed to V8 not to
Node.js, as they typically ended up in our code-base via cherry-picked
commits from V8.
Ref: https://github.com/nodejs/node/pull/232#discussion-diff-22412788
Now that there are over 3000 contributors identified in AUTHORS, some of
whom are bots that we run, I think it's time to undo this exception. If
we used someone else's code in a cherry-pick, congratulations to them,
they're authors. In particular, this will fix the omission of Yang
Guo who contributed extensively to Node.js outside of V8 contributions.
PR-URL: https://github.com/nodejs/node/pull/40648
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-06 10:57:08 +01:00
Mestery
b4194ff349
typings: add more bindings typings
...
PR-URL: https://github.com/nodejs/node/pull/40415
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-06 10:57:08 +01:00
FrankQiu
c104f5a9ab
doc: remove --experimental-modules documentation
...
PR-URL: https://github.com/nodejs/node/pull/38974
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:08 +01:00
Voltrex
da859b56cb
typings: add JSDoc typings for inspector
...
Added JSDoc typings for the `inspector` lib module.
PR-URL: https://github.com/nodejs/node/pull/38390
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2021-11-06 10:57:07 +01:00
Antoine du Hamel
c700de3705
tools: avoid fetch extra commits when validating commit messages
...
PR-URL: https://github.com/nodejs/node/pull/39128
Reviewed-By: Mary Marchini <oss@mmarchini.me >
2021-11-06 10:57:07 +01:00
Darshan Sen
e9388c87bf
src: remove usage of AllocatedBuffer from node_http2
...
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
PR-URL: https://github.com/nodejs/node/pull/40584
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2021-11-06 10:57:07 +01:00
Darshan Sen
179a5c5436
test: test crypto.setEngine() using an actual engine
...
Signed-off-by: Darshan Sen <darshan.sen@postman.com >
PR-URL: https://github.com/nodejs/node/pull/40481
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:07 +01:00
Rich Trott
aa98c6bdce
meta: consolidate AUTHORS entries for brettkiefer
...
PR-URL: https://github.com/nodejs/node/pull/40599
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2021-11-06 10:57:06 +01:00
Joyee Cheung
ac81f89bbf
doc: update tracking issues of startup performance
...
The issues listed in the doc have been closed, and a new one is
currently being used to track snapshot integration.
PR-URL: https://github.com/nodejs/node/pull/40629
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:06 +01:00
ryan
65effa11fc
doc: fix markdown syntax and HTML tag misses
...
PR-URL: https://github.com/nodejs/node/pull/40608
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:57:06 +01:00
Tobias Nießen
7a22f913b0
src: fix #endif description in crypto_keygen.h
...
PR-URL: https://github.com/nodejs/node/pull/40639
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:06 +01:00
Tobias Nießen
cf6ded4db5
test: use conventional argument order in assertion
...
PR-URL: https://github.com/nodejs/node/pull/40591
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:06 +01:00
Rich Trott
18296c3d8e
meta: consolidate AUTHORS entries for alexzherdev
...
PR-URL: https://github.com/nodejs/node/pull/40620
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:05 +01:00
Rich Trott
88d812793d
meta: consolidate AUTHORS entries for Azard
...
PR-URL: https://github.com/nodejs/node/pull/40619
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:05 +01:00
Mestery
90aa96dc44
typings: improve internal bindings typings
...
PR-URL: https://github.com/nodejs/node/pull/40411
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:57:05 +01:00
Mestery
c78d708a16
doc: use 'GitHub Actions workflow' instead
...
PR-URL: https://github.com/nodejs/node/pull/40586
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-11-06 10:57:05 +01:00
Tobias Nießen
71bac70bf2
doc: ref OpenSSL legacy provider from crypto docs
...
This adds a link to the --openssl-legacy-provider flag to the
"Support for weak or compromised algorithms" section.
PR-URL: https://github.com/nodejs/node/pull/40593
Refs: https://github.com/nodejs/node/pull/40478
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
2021-11-06 10:57:04 +01:00
Daniel Nalborczyk
8f410229ac
doc: add node: url scheme
...
PR-URL: https://github.com/nodejs/node/pull/40573
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:57:04 +01:00
Daniel Nalborczyk
35dbed21f2
doc: call cwd function
...
PR-URL: https://github.com/nodejs/node/pull/40573
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:57:04 +01:00
Daniel Nalborczyk
4870a23ccc
doc: remove unused imports
...
PR-URL: https://github.com/nodejs/node/pull/40573
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:57:04 +01:00
Rich Trott
5951ccc12e
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 >
2021-11-06 10:57:04 +01:00
Guy Bedford
6ae134ecb7
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 >
2021-11-06 10:57:03 +01:00
Richard Lau
09239216f6
doc: update CHANGELOG.md for Node.js 16.13.0
...
Update missed changes for the main CHANGELOG.md for Node.js 16.13.0.
PR-URL: https://github.com/nodejs/node/pull/40617
Refs: https://github.com/nodejs/node/pull/40536
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-11-06 10:57:02 +01:00
Luigi Pinca
716963484b
tools: update ESLint to 8.1.0
...
PR-URL: https://github.com/nodejs/node/pull/40582
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2021-11-06 10:56:46 +01:00
Rich Trott
9cb2116608
tools: fix formatting of warning message in update-authors.js
...
The email already has `<` and `>` surrounding it so adding it results in
a misformatted message.
PR-URL: https://github.com/nodejs/node/pull/40600
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-06 10:56:46 +01:00
Michael Dawson
46ec5ac4df
doc: add info on project's usage of coverity
...
Document project's used of coverity and how
collaborators can get access.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/40506
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-11-06 10:56:46 +01:00
Jeremiah Senkpiel
d81b65ca0e
meta: move Fishrock123 to emeritus
...
I've moved on. I do not wish to be responsible for anything here and
have been inactive for more than a year.
PR-URL: https://github.com/nodejs/node/pull/40596
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com >
2021-11-06 10:56:45 +01:00
Rich Trott
ec02e7b68a
meta: consolidate AUTHORS entries for clakech
...
PR-URL: https://github.com/nodejs/node/pull/40589
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com >
2021-11-06 10:56:45 +01:00
Luigi Pinca
7eb1a44410
doc: fix typo in changelogs
...
Fix typo in v12.22.7, v14.18.1, and v16.11.1 changelogs.
PR-URL: https://github.com/nodejs/node/pull/40585
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:56:45 +01:00
Nitzan Uziely
79bf429405
dgram: fix send with out of bounds offset + length
...
fix Socket.prototype.send sending garbage when the message is a string,
or Buffer and offset+length is out of bounds.
Fixes: https://github.com/nodejs/node/issues/40491
PR-URL: https://github.com/nodejs/node/pull/40568
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2021-11-06 10:56:45 +01:00
Robert Nagy
825a683423
http: response should always emit 'close'
...
Fixes: https://github.com/nodejs/node/issues/40528
PR-URL: https://github.com/nodejs/node/pull/40543
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-06 10:56:44 +01:00
Rich Trott
b320387c83
policy: fix message for invalid manifest specifier
...
Add test for invalid manifest specifier and fix the error message
which is missing a space ("singletrailing" instead of
"single trailing").
PR-URL: https://github.com/nodejs/node/pull/40574
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
2021-11-06 10:56:44 +01:00
Guy Bedford
075cfbf941
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 >
2021-11-06 10:56:44 +01:00
Rich Trott
8a00dc5add
build: skip long-running Actions for README-only modifications
...
If the only file modified is README.md do not run test-linux or
build-windows tasks. This will help streamline onboarding sessions but
may help some other cases too.
PR-URL: https://github.com/nodejs/node/pull/40571
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:56:44 +01:00
Rich Trott
132f6cba05
doc: update onboarding task
...
Make starting Jenkins CI optional.
PR-URL: https://github.com/nodejs/node/pull/40570
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:56:43 +01:00
Rich Trott
08e7a2ff24
meta: consolidate AUTHORS entries for darai0512
...
PR-URL: https://github.com/nodejs/node/pull/40569
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-11-06 10:56:43 +01:00
Rich Trott
5e2d0ed61e
doc: simplify ccache instructions
...
`ccache` has reasonable defaults for `max_size` and `cache_dir` so
remove instructions to set those things explicitly.
Change fenced code from `console` to `bash` for easier copy/paste.
PR-URL: https://github.com/nodejs/node/pull/40550
Fixes: https://github.com/nodejs/node/issues/40542
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-06 10:56:43 +01:00
Rich Trott
c1c1738bfc
doc: fix macOS environment variables for ccache
...
macOS requires `cc` and `c++` rather than `gcc` and `g++`.
Closes: https://github.com/nodejs/node/issues/40542
PR-URL: https://github.com/nodejs/node/pull/40550
Fixes: https://github.com/nodejs/node/issues/40542
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-11-06 10:56:43 +01:00
Michaël Zasso
6e3e50f2ab
doc: improve async_context introduction
...
- Rename "Async_context" to "Asynchronous context tracking" in toc.
- Use named imports to show how `AsyncLocalStorage` and `AsyncResource`
can be imported.
PR-URL: https://github.com/nodejs/node/pull/40560
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2021-11-06 10:56:43 +01:00