Rich Trott
df70861863
doc: simplify circular dependencies text in modules.md
...
PR-URL: https://github.com/nodejs/node/pull/35126
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:41 -04:00
Rich Trott
4bde865145
errors: simplify ERR_REQUIRE_ESM message generation
...
Because of the condition that starts the `if` block, we know that
`parentPath` must be truthy. So there is no need to check for that in
the template string that generates the error message.
PR-URL: https://github.com/nodejs/node/pull/35123
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2020-09-17 10:36:41 -04:00
Michael Dawson
f4e714aaf5
doc: update my email address
...
Update email address to reflect move to
Red Hat
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/35121
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:41 -04:00
Anna Henningsen
46b9f4b376
doc: add missing changes entry for breakEvalOnSigint REPL option
...
PR-URL: https://github.com/nodejs/node/pull/35143
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:41 -04:00
cjihrig
d4389b59b4
deps: update to uvwasi 0.0.11
...
Notable changes:
- Several issues have been addressed in uvwasi_fd_readdir().
A bug in the copying of the directory entry's name has been fixed.
The function now returns UVWASI_ENOSYS on Windows and Android.
Serdes support has been added for uvwasi_dirent_t's.
- The libuv dependency has been updated to v1.39.0.
PR-URL: https://github.com/nodejs/node/pull/35104
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:41 -04:00
Michael Dawson
122edad98b
doc: update security process
...
- update security process to reflect current way
to request tweet/retweet of security release
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/35107
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Ash Cripps <ashley.cripps@ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:41 -04:00
Guy Bedford
6e622d6337
esm: better package.json parser errors
...
PR-URL: https://github.com/nodejs/node/pull/35117
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:40 -04:00
Anna Henningsen
b75822dd93
doc,test: specify and test CLI option precedence rules
...
Refs: https://github.com/nodejs/node/pull/35098#issuecomment-689051526
PR-URL: https://github.com/nodejs/node/pull/35106
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2020-09-17 10:36:40 -04:00
Rich Trott
aa93c1c22d
doc: fix broken link in perf_hooks.md
...
PR-URL: https://github.com/nodejs/node/pull/35113
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:40 -04:00
Rich Trott
5c8d2083c5
doc: fix broken link in http2.md
...
PR-URL: https://github.com/nodejs/node/pull/35112
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:40 -04:00
Rich Trott
f4e958fc0c
doc: fix broken link in fs.md
...
PR-URL: https://github.com/nodejs/node/pull/35111
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:40 -04:00
Rich Trott
79c6d92e49
doc: fix broken links in deprecations.md
...
PR-URL: https://github.com/nodejs/node/pull/35109
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:40 -04:00
himself65
314483cd09
module: fix specifier resolution option value
...
Fixes: https://github.com/nodejs/node/issues/35095
PR-URL: https://github.com/nodejs/node/pull/35098
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:39 -04:00
Rich Trott
379c5cefd7
test: revise test-policy-integrity
...
* eliminate unneeded Set deletion/cleanup
* use number of CPUs as limit for processes spawned rather than
hard-coding the limit
PR-URL: https://github.com/nodejs/node/pull/35101
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com >
2020-09-17 10:36:39 -04:00
Tobias Nießen
93e4d545d8
doc: add note about path.basename on Windows
...
PR-URL: https://github.com/nodejs/node/pull/35065
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:39 -04:00
Rich Trott
0a2610a7aa
doc: avoid double-while sentence in perf_hooks.md
...
This improves readability, as well as awkward reptition of the word
_while_ with two different meanings in a single sentence.
Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/w/while
PR-URL: https://github.com/nodejs/node/pull/35078
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-17 10:36:39 -04:00
Tobias Nießen
6627c1f8e4
test: remove setMaxListeners in test-crypto-random
...
This appears to be a remnant from
413d38c43b .
PR-URL: https://github.com/nodejs/node/pull/35079
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:39 -04:00
Rich Trott
1bb0ed3c6a
crypto: improve invalid arg type message for randomInt()
...
Use "must be a safe integer" rather than "must be safe integer". I
believe the former is more easily understood/clear.
PR-URL: https://github.com/nodejs/node/pull/35089
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-09-17 10:36:38 -04:00
Rich Trott
3573545315
crypto: improve randomInt out-of-range error message
...
Previously, the crypto.randomInt() message when "max" was less than or
equal to "min" made it sound like the lower bound for "max" was
hard-coded. Make it clear that it is instead dynamic based on the value
of "min".
For crypto.randomInt(10,0):
Before:
RangeError [ERR_OUT_OF_RANGE]: The value of "max" is out of range. It
must be > 10. Received 0
After:
RangeError [ERR_OUT_OF_RANGE]: The value of "max" is out of range. It
must be greater than the value of "min" (10). Received 0
PR-URL: https://github.com/nodejs/node/pull/35088
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-09-17 10:36:38 -04:00
Tobias Nießen
bc38485fb1
test: fix comment about DNS lookup test
...
PR-URL: https://github.com/nodejs/node/pull/35080
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:38 -04:00
Rich Trott
1cf9934e4e
doc: make minor improvements to module.md
...
* sort references in ASCII order
* replace abbreviation
* split comma splice into two sentences and add appropriate punctuation
* replace future tense with present tense
PR-URL: https://github.com/nodejs/node/pull/35083
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2020-09-17 10:36:38 -04:00
Leko
9faaa659b2
test: separate the test fixtures between ICU and URL
...
We need to emit dependency of ICU's toASCII in order to update the WPT
fixtures. Since ICU and URL isn't the same implementation and they also
follow different specifications. ICU's toASCII shouldn't have a
dependency on WPT fixtures.
Refs: https://github.com/nodejs/node/pull/33770#issuecomment-680853608
PR-URL: https://github.com/nodejs/node/pull/35077
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2020-09-17 10:36:38 -04:00
Rich Trott
f3c45a1cef
Revert "build: require "allow edits" to be checked"
...
This reverts commit 07423b5472 .
Refs: https://github.com/nodejs/node/pull/35002#issuecomment-688363345
PR-URL: https://github.com/nodejs/node/pull/35094
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-09-17 10:36:38 -04:00
Anna Henningsen
25f93f3ec3
test: add more valid results to test-trace-atomics-wait
...
The two starting `Atomics.wait()` operations are not ordered,
but the test assumed a specific ordering because of the latency
that comes with spinning up a Worker thread.
Add variants of the existing potential valid results that account
for the reverse ordering.
Fixes: https://github.com/nodejs/node/issues/35059
PR-URL: https://github.com/nodejs/node/pull/35066
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:37 -04:00
Rich Trott
fb89be63be
doc: use correct Error type for EventEmitter.defaultMaxListener
...
If a bad value is assigned to EventEmitter.defaultMaxListener, a
RangeError is thrown and not a TypeError. Update documentation to
reflect this.
PR-URL: https://github.com/nodejs/node/pull/35069
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-17 10:36:37 -04:00
Richard Lau
8bbf92a49a
Working on v14.11.1
...
PR-URL: https://github.com/nodejs-private/node-private/pull/225
2020-09-15 16:17:41 -04:00
Richard Lau
d844fa0a54
2020-09-15, Version 14.11.0 (Current)
...
This is a security release.
Notable changes:
Vulnerabilities fixed:
- CVE-2020-8251: Denial of Service by resource exhaustion CWE-400 due
to unfinished HTTP/1.1 requests (Critical).
- CVE-2020-8201: HTTP Request Smuggling due to CR-to-Hyphen conversion
(High).
PR-URL: https://github.com/nodejs-private/node-private/pull/225
v14.11.0
2020-09-15 15:17:31 -04:00
753f3b247a
http: add requestTimeout
...
This commits introduces a new http.Server option called requestTimeout
with a default value in milliseconds of 0.
If requestTimeout is set to a positive value, the server will start a new
timer set to expire in requestTimeout milliseconds when a new connection
is established. The timer is also set again if new requests after the
first are received on the socket (this handles pipelining and keep-alive
cases).
The timer is cancelled when:
1. the request body is completely received by the server.
2. the response is completed. This handles the case where the
application responds to the client without consuming the request body.
3. the connection is upgraded, like in the WebSocket case.
If the timer expires, then the server responds with status code 408 and
closes the connection.
CVE-2020-8251
PR-URL: https://github.com/nodejs-private/node-private/pull/208
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Co-Authored-By: Paolo Insogna <paolo@cowtech.it >
Co-Authored-By: Robert Nagy <ronagy@icloud.com >
2020-09-15 11:20:08 -04:00
Fedor Indutny
dd828376a0
deps: update llhttp to 2.1.2
...
- update llhttp to 2.1.2
- modify test to support the latest llhttp
PR-URL: https://github.com/nodejs-private/node-private/pull/215
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-14 12:14:36 -04:00
Richard Lau
8d1d5f9cbd
Working on v14.10.2
...
PR-URL: https://github.com/nodejs/node/pull/35137
2020-09-10 10:43:53 -04:00
Richard Lau
4c2b513b41
2020-09-10, Version 14.10.1 (Current)
...
Notable changes:
Node.js 14.10.0 included a streams regression with async generators
and a docs rendering regression that are being fixed in this release.
PR-URL: https://github.com/nodejs/node/pull/35137
v14.10.1
2020-09-10 06:12:43 -04:00
Rich Trott
3c92f93b44
doc: restore color for visited links
...
A previous change altered the rendering of visited links. This restores
it.
PR-URL: https://github.com/nodejs/node/pull/35108
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
2020-09-10 05:35:51 -04:00
Richard Lau
0f94c6b4e4
Revert "stream: simpler and faster Readable async iterator"
...
This reverts commit 4bb40078da .
2020-09-09 19:49:34 -04:00
Richard Lau
2d52bdf5c6
Working on v14.10.1
...
PR-URL: https://github.com/nodejs/node/pull/35023
2020-09-08 11:04:47 -04:00
Richard Lau
ce5f5877c2
2020-09-08, Version 14.10.0 (Current)
...
Notable changes:
- buffer: also alias BigUInt methods (Anna Henningsen)
https://github.com/nodejs/node/pull/34960
- crypto: add randomInt function (Oli Lalonde)
https://github.com/nodejs/node/pull/34600
- perf_hooks: add idleTime and event loop util (Trevor Norris)
https://github.com/nodejs/node/pull/34938
- stream: simpler and faster Readable async iterator (Robert Nagy)
https://github.com/nodejs/node/pull/34035
- stream: save error in state (Robert Nagy)
https://github.com/nodejs/node/pull/34103
PR-URL: https://github.com/nodejs/node/pull/35023
v14.10.0
2020-09-07 12:37:51 -04:00
Robert Nagy
4bb40078da
stream: simpler and faster Readable async iterator
...
Reimplement as an async generator instead of a custom
iterator class.
Backport-PR-URL: https://github.com/nodejs/node/pull/34887
PR-URL: https://github.com/nodejs/node/pull/34035
Refs: https://github.com/nodejs/node/issues/34680
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2020-09-07 12:30:02 -04:00
Robert Nagy
ffae5f3809
stream: save error in state
...
Useful for future PR's to resolve situations where e.g. finished()
is invoked on an already errored streams.
PR-URL: https://github.com/nodejs/node/pull/34103
Backport-PR-URL: https://github.com/nodejs/node/pull/34887
Refs: https://github.com/nodejs/node/issues/34680
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-07 12:30:00 -04:00
Rich Trott
bbf7b925a2
doc: use present tense in events.md
...
Present tense should be default choice. It is usually easier to read and
understand.
Refs: https://docs.microsoft.com/en-us/style-guide/grammar/verbs
PR-URL: https://github.com/nodejs/node/pull/35068
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-07 12:29:59 -04:00
Rich Trott
178a740caf
crypto: simplify KeyObject constructor
...
Inline a function that only gets called in the constructor. Make call to
`super()` more straightforward in the process by removing conditional
involving the function as it only ever returns `undefined` or else
throws. That made the code a little hard to understand, as without
looking at the function, one would likely expect it to return `true`
on success rather than `undefined`.
PR-URL: https://github.com/nodejs/node/pull/35064
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-07 12:29:58 -04:00
Tobias Nießen
a12d92c97b
crypto: fix randomInt range check
...
Refs: https://github.com/nodejs/node/pull/34600
PR-URL: https://github.com/nodejs/node/pull/35052
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-09-07 12:29:51 -04:00
Rich Trott
f6b2286e12
doc: change stablility-2 color for accessibility
...
Current contrast ratio (2.51) does not pass WCAG AA. This PR increases
the contrast to 4.50, which passes WCAG AA. The color, of course, is
still green.
PR-URL: https://github.com/nodejs/node/pull/35061
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-07 12:29:50 -04:00
Guy Bedford
1fdfaa578f
bootstrap: correct --frozen-intrinsics override fix
...
PR-URL: https://github.com/nodejs/node/pull/35041
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-07 12:29:49 -04:00
Tobias Nießen and Rich Trott
8044533e87
doc: add link to safe integer definition
...
Refs: https://github.com/nodejs/node/pull/34600
Co-authored-by: Rich Trott <rtrott@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/35049
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-07 12:29:48 -04:00
Tobias Nießen
f03a4d78a2
doc: format exponents better
...
The `2^n` notation is common in mathematics, but even then it often
requires parentheses or braces. In JavaScript and C++, the `^` operator
stands for bitwise xor, and should be avoided in the docs. In code tags,
the JavaScript operator `**` can be used. Otherwise, the `sup` tag can
be used for formatting.
PR-URL: https://github.com/nodejs/node/pull/35050
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-07 12:29:47 -04:00
Benjamin Coe
791a85b880
deps: V8: cherry-pick 6be2f6e26e8d
...
Original commit message:
[coverage] IncBlockCounter should not be side-effect
Incrementing coverage counter was triggering EvalError for
evaluateOnCallFrame when throwOnSideEffect is true.
R=jgruber@chromium.org , sigurds@chromium.org , yangguo@chromium.org
Bug: v8:10856
Change-Id: I0552e19a3a14ff61a9cb626494fb4a21979d535e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2384011
Commit-Queue: Benjamin Coe <bencoe@google.com >
Reviewed-by: Jakob Gruber <jgruber@chromium.org >
Reviewed-by: Yang Guo <yangguo@chromium.org >
Reviewed-by: Sigurd Schneider <sigurds@chromium.org >
Cr-Commit-Position: refs/heads/master@{#69628}
Refs: https://github.com/v8/v8/commit/6be2f6e26e8ddfbc1a48c510672b319809674a34
PR-URL: https://github.com/nodejs/node/pull/35055
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-07 12:29:46 -04:00
Antoine du HAMEL
1a9ca52716
doc: add ESM examples in module API doc page
...
PR-URL: https://github.com/nodejs/node/pull/34875
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2020-09-07 12:29:45 -04:00
Antoine du HAMEL
0ac7d5423f
doc: add deprecated badge to legacy URL methods
...
PR-URL: https://github.com/nodejs/node/pull/34931
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Guy Bedford <guybedford@gmail.com >
2020-09-07 12:29:44 -04:00
Antoine du HAMEL
577978a96c
tools: fix docopen target
...
Adds to prerequisites the output file to open. Previously, this would
open an out-of-date version of the file, or fail if it hasn't been built
before.
PR-URL: https://github.com/nodejs/node/pull/35062
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-07 12:29:43 -04:00
Derek Lewis
a08e853edc
doc: spruce up user journey to local docs browsing
...
This patch improves the means by which the docs are viewed locally.
* Remove extraneous code in the `docserve` Makefile target
* Document the `docserve` task for all to know
* Bring all code snippets in this section up to speed
* Clarify the purpose of each documentation browsing method
Fixes: https://github.com/nodejs/node/issues/34977
PR-URL: https://github.com/nodejs/node/pull/34986
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-09-07 12:29:42 -04:00
Antoine du HAMEL
2b445bb3ee
tools: fix doc build targets
...
Adds doc output directory as order-only prerequisite for build target.
PR-URL: https://github.com/nodejs/node/pull/35060
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
2020-09-07 12:29:41 -04:00