Rich Trott
a0656ff863
doc: fix broken link to response.finished in deprecations doc
...
PR-URL: https://github.com/nodejs/node/pull/34982
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-09-03 07:02:10 -04:00
Rich Trott
f4524b8936
doc: fix broken link to writableEnded in deprecations doc
...
PR-URL: https://github.com/nodejs/node/pull/34984
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-03 07:02:09 -04:00
Robert Williams
514a538f64
doc: fix typos in buffer doc
...
* pluralize "strings" in hex encoding description.
* fix typo in ascii encoding description
* remove double "array"
PR-URL: https://github.com/nodejs/node/pull/34981
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2020-09-03 07:01:06 -04:00
Rich Trott
df76c89b78
doc: recommend URL() over url.parse() in http2 doc
...
PR-URL: https://github.com/nodejs/node/pull/34978
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-09-01 14:05:08 -04:00
Rich Trott
ca0302e4f1
doc: arrange perf_hooks entries alphabetically
...
Entries in perf_hooks.md are almost-but-not-quite in alphabetical order.
Our docs (usually) list things in alphabetical order, so move a few
entries to make it so in perf_hooks.md.
PR-URL: https://github.com/nodejs/node/pull/34973
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
2020-09-01 14:05:07 -04:00
Rich Trott
94c6e09367
doc: replace require() with reference links in http2.md
...
Refs: https://github.com/nodejs/node/pull/34929#discussion_r477101289
PR-URL: https://github.com/nodejs/node/pull/34956
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-09-01 11:27:31 -04:00
Igor Mikhalev
2407a7a671
doc: add a note about possible missing lines to readline.asyncIterator
...
Fixes: https://github.com/nodejs/node/issues/33463
PR-URL: https://github.com/nodejs/node/pull/34675
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-01 11:22:27 -04:00
Rich Trott
31098a4c0e
doc: make minor improvements to query string sentence in http2.md
...
PR-URL: https://github.com/nodejs/node/pull/34929
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-09-01 11:22:26 -04:00
Trevor Norris
8aac42caf2
perf_hooks: add idleTime and event loop util
...
Use uv_metrics_idle_time() to return a high resolution millisecond timer
of the amount of time the event loop has been idle since it was
initialized.
Include performance.eventLoopUtilization() API to handle the math of
calculating the idle and active times. This has been added to prevent
accidental miscalculations of the event loop utilization. Such as not
taking into consideration offsetting nodeTiming.loopStart or timing
differences when being called from a Worker thread.
PR-URL: https://github.com/nodejs/node/pull/34938
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Adrian Estrada <edsadr@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2020-09-01 11:22:24 -04:00
Rich Trott
1589f0e6f4
doc: make general copy-edit changes to policy.md
...
PR-URL: https://github.com/nodejs/node/pull/34943
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2020-09-01 11:22:23 -04:00
Rich Trott
aee3b8510b
doc: simplify "make use of" to "use"
...
PR-URL: https://github.com/nodejs/node/pull/34861
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-01 11:17:55 -04:00
Gabriel Schulhof and Anna Henningsen
3c32fe09e9
n-api: re-implement async env cleanup hooks
...
* Avoid passing core `void*` and function pointers into add-on.
* Document `napi_async_cleanup_hook_handle` type.
* Render receipt of the handle mandatory from the point where the
hook gets called. Removal of the handle remains mandatory.
Fixes: https://github.com/nodejs/node/issues/34715
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com >
Co-authored-by: Anna Henningsen <github@addaleax.net >
PR-URL: https://github.com/nodejs/node/pull/34819
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
2020-09-01 11:15:51 -04:00
Rich Trott
fbd18be459
doc: provide more guidance about process.version
...
PR-URL: https://github.com/nodejs/node/pull/34909
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2020-09-01 11:15:49 -04:00
Rich Trott
4782ec7b3b
doc: use consistent typography for node-addon-api
...
Most of the instances of _node-addon-api_ are surrounded with backticks,
but two aren't. Add backticks for consistency.
PR-URL: https://github.com/nodejs/node/pull/34910
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-01 11:15:48 -04:00
Bradley Farias
18b04ab4c8
policy: implement scopes field
...
PR-URL: https://github.com/nodejs/node/pull/34552
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-09-01 11:15:46 -04:00
Rich Trott
2fe95094fd
doc: improve link-local text in dgram.md
...
Minor improvements.
PR-URL: https://github.com/nodejs/node/pull/34868
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-01 11:15:40 -04:00
Rich Trott
657292e2dd
doc: fix broken markdown/display in cli.html
...
The `<` character is interpreted as the start of an HTML tag, making the
word `address` not render and the rest of the document rendered with a
grey background and in italics. Use `<` instead.
PR-URL: https://github.com/nodejs/node/pull/34892
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-01 11:15:38 -04:00
Rich Trott
4cf93bb3cf
doc: use "previous"/"preceding" instead of "above" as modifier
...
Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/above
PR-URL: https://github.com/nodejs/node/pull/34877
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-01 11:15:30 -04:00
Danielle Adams
3153c2d383
2020-08-27, Version 14.9.0 (Current)
...
Notable changes:
- build: set --v8-enable-object-print by default (Mary Marchini)
[#34705 ](https://github.com/nodejs/node/pull/34705 )
- deps:
- upgrade to libuv 1.39.0 (cjihrig)
[#34915 ](https://github.com/nodejs/node/pull/34915 )
- upgrade npm to 6.14.8 (Ruy Adorno)
[#34834 ](https://github.com/nodejs/node/pull/34834 )
- V8: cherry-pick e06ace6b5cdb (Anna Henningsen)
[#34673 ](https://github.com/nodejs/node/pull/34673 )
- n-api: handle weak no-finalizer refs correctly (Gabriel Schulhof)
[#34839 ](https://github.com/nodejs/node/pull/34839 )
- tools: add debug entitlements for macOS 10.15+ (Gabriele Greco)
[#34378 ](https://github.com/nodejs/node/pull/34378 )
PR-URL: https://github.com/nodejs/node/pull/34852
2020-08-27 07:40:07 -04:00
Beth Griggs
cd32522c92
doc: add missing DEP ID for 'new crypto.Certificate()'
...
PR-URL: https://github.com/nodejs/node/pull/34940
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-08-27 00:21:33 +01:00
Richard Lau
a69d30eb3f
module: drop -u alias for --conditions
...
Old versions of mocha break after https://github.com/nodejs/node/pull/34637 .
This was a bug in mocha, but since this is a widely used module
we can expect ecosystem breakage until modules are updated to
the latest version of mocha. Drop the conflicting `-u` alias --
we can potentially bring it back once modules have been updated.
PR-URL: https://github.com/nodejs/node/pull/34935
Refs: https://github.com/mochajs/mocha/issues/4417
Refs: https://github.com/nodejs/node/pull/34637
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
2020-08-26 12:49:13 -04:00
James M Snell
ff15c92a7f
doc: improve fs doc intro
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/34843
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-08-25 07:12:55 -04:00
Jim Schlight
9ebae0a758
doc,n-api: add link to n-api tutorial website
...
PR-URL: https://github.com/nodejs/node/pull/34870
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-25 07:12:55 -04:00
Danny Guo
dae93ca0cb
doc: indicate the format of process.version
...
PR-URL: https://github.com/nodejs/node/pull/34872
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-25 07:12:55 -04:00
Antoine du HAMEL
bf7f492cb6
doc: rename module pages
...
Using a "Modules:" prefix groups all the related pages together when
using alphabetical order.
Refs: https://github.com/nodejs/modules/issues/539
PR-URL: https://github.com/nodejs/node/pull/34663
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-24 12:19:59 +01:00
Rich Trott
f2c2f42195
doc: improve wording in deprecations.md
...
* utilize -> use
* may -> can/might as appropriate
PR-URL: https://github.com/nodejs/node/pull/34860
Reviewed-By: Trivikram Kamat <trivikr.dev@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 >
2020-08-24 12:19:59 +01:00
Maksim Sinik
4b3b0e3f98
doc: fix ESM/CJS wrapper example
...
PR-URL: https://github.com/nodejs/node/pull/34853
Refs: https://github.com/nodejs/node/issues/34714
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-24 12:19:58 +01:00
Rich Trott
e4679bd45d
doc: use 'console' info string for console output
...
PR-URL: https://github.com/nodejs/node/pull/34837
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-08-24 12:19:57 +01:00
Rich Trott
ef41ddf5cb
doc: sort references lexically
...
Keep references sorted in ASCII order in module.md.
PR-URL: https://github.com/nodejs/node/pull/34848
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-08-24 12:19:11 +01:00
Antoine du HAMEL
b73943e476
workers: add support for data: URLs
...
PR-URL: https://github.com/nodejs/node/pull/34584
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
2020-08-20 15:05:24 +01:00
Antoine du HAMEL
34430abd71
doc: move module core module doc to separate page
...
The `module` core module is available for both CJS and ESM users, it
deserves its own page.
PR-URL: https://github.com/nodejs/node/pull/34747
Refs: https://github.com/nodejs/modules/issues/539
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-08-20 15:05:23 +01:00
Jerome T.K. Covington
b356b79ca4
doc: reorder deprecated tls docs
...
In other api docs, it seems that deprecated classes and methods are
listed along with others, and marked as deprecated. In tls docs,
deprecations were listed at the bottom of the document. This commit
reorders them to what seems to be the standard, and corrects some links
in doc/api/deprecations.md
PR-URL: https://github.com/nodejs/node/pull/34687
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-20 15:05:22 +01:00
Frank Lemanschik
5c987ffc96
doc: fix file name to main.mjs and not main.js in esm.md
...
PR-URL: https://github.com/nodejs/node/pull/34786
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-20 15:05:22 +01:00
Andrey Pechkurov
969fb1c5e3
doc: improve async_hooks snippets
...
PR-URL: https://github.com/nodejs/node/pull/34829
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
2020-08-20 15:05:22 +01:00
Rich Trott
47f2f45dd8
doc: deprecate (doc-only) crypto.Certificate()
...
Documentation-only: Recommend people use the static methods on
crypto.Certificate() and not the legacy API constructor.
PR-URL: https://github.com/nodejs/node/pull/34697
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-08-20 15:05:21 +01:00
Rich Trott
3bfe199c28
doc: remove "is recommended from crypto legacy API text
...
The text for the legacy API sends mixed signals. It's legacy, but still
supported, so not deprecated, but not recommended. Let's begin to
clarify this by removing "not recommended". If we want to not-recommend
it, let's doc-deprecate it properly, or at least include an explanation
as to why it's not recommended.
PR-URL: https://github.com/nodejs/node/pull/34697
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-08-20 15:05:20 +01:00
Rich Trott
7d0970ca66
doc,lib: remove unused error code
...
As best as I can tell, ERR_V8BREAKITERATOR is unused anywhere in our
code base and dependencies. Move to legacy errors.
PR-URL: https://github.com/nodejs/node/pull/34792
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-08-20 15:05:20 +01:00
Rich Trott
258f64f578
doc: edit filehandle.close() entry in fs.md
...
PR-URL: https://github.com/nodejs/node/pull/34782
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-08-20 15:05:19 +01:00
Derek Lewis and Guy Bedford
e4a0e5bc1a
module: fix check for package.json at volume root
...
This patch converts the "read package scope" algorithm's while loop
into a do-while loop enabling items at the filesystem root dir to
be considered within the scope of a sibling package.json also at the
filesystem root dir.
Fixes: https://github.com/nodejs/node/issues/33438
Co-authored-by: Guy Bedford <guybedford@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/34595
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
2020-08-20 15:05:17 +01:00
cjihrig
5009d82b0c
test,doc: add missing uv_setup_args() calls
...
libuv 1.39.0 will begin requiring uv_setup_args() to be called
before attempting to access the process title. This commit adds
uv_setup_args() calls that were missing in order for the test
suite to pass (and updates the documentation).
PR-URL: https://github.com/nodejs/node/pull/34751
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-20 15:05:16 +01:00
Robert Nagy
7ef5591d06
fs: guard against undefined behavior
...
Calling close on a file description which is currently in use is
undefined behavior due to implementation details in libuv. Add
a guard against this when using FileHandle.
PR-URL: https://github.com/nodejs/node/pull/34746
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-08-20 15:05:15 +01:00
Anna Henningsen
332e38433b
buffer: alias UInt ➡️ Uint in buffer methods
...
It’s *so* hard to remember that it’s `UintXArray` but not
`(write|read)UintX`. Let’s fix that by just providing aliases. 😊
PR-URL: https://github.com/nodejs/node/pull/34729
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-08-20 15:05:15 +01:00
Bradley Farias
84031183bc
policy: support conditions for redirects
...
PR-URL: https://github.com/nodejs/node/pull/34414
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2020-08-20 15:05:14 +01:00
Guy Bedford
698cae7625
module: share CJS/ESM resolver fns, refactoring
...
PR-URL: https://github.com/nodejs/node/pull/34744
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-08-20 15:05:14 +01:00
Priyank Singh
6ee2578427
http2: add maxHeaderSize option to http2
...
add maxHeaderSize to http2 as an alias for maxHeaderListSize.
Fixes: https://github.com/nodejs/node/issues/33517
PR-URL: https://github.com/nodejs/node/pull/33636
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2020-08-20 15:05:13 +01:00
Rich Trott
f7563f811a
doc: remove typo in crypto.md
...
Change "its[sic] recommended to" to "be sure to". This fixes a typo and
also improves the passive and indirect phrasing to a more concise active
and direct phrasing.
PR-URL: https://github.com/nodejs/node/pull/34698
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-08-20 15:05:12 +01:00
Guy Bedford
6929649793
module: custom --conditions flag option
...
PR-URL: https://github.com/nodejs/node/pull/34637
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
2020-08-20 15:05:12 +01:00
Jim Schlight
ea98122a51
doc: n-api environment life cycle APIs are stable
...
PR-URL: https://github.com/nodejs/node/pull/34641
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2020-08-20 15:05:11 +01:00
Antoine du HAMEL
91f53245ae
doc: use semantically appropriate tag for lines
...
The HTML <hr> element represents a thematic break between
paragraph-level elements: for example, a change of scene in a story,
or a shift of topic within a section.
The HTML Content Division element (<div>) is the generic container
for flow content and does not inherently represent anything.
The <hr> tag semantically fits better the meaning of the line between
the lists.
Refs: https://html.spec.whatwg.org/multipage/grouping-content.html#the-hr-element
PR-URL: https://github.com/nodejs/node/pull/34660
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-08-20 15:05:11 +01:00
Nikolay Krashnikov
230bcaf276
doc: add HPE_UNEXPECTED_CONTENT_LENGTH error description
...
PR-URL: https://github.com/nodejs/node/pull/34596
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
2020-08-20 15:05:10 +01:00