Gerhard Stoebich
7f3b2b2a1f
n-api: add more property defaults
...
Add a default value for class method and js like property in enum
napi_property_attributes.
n-api currently offers only one default which is non configurable,
non writable, non enumerable - like Object.defineProperty(). While
this is formal correct the usual way to create properties in JS is
either by defining a class or use obj.prop = value.
The defaults from these variants are now backed into enum values.
PR-URL: https://github.com/nodejs/node/pull/35214
Refs: https://github.com/nodejs/node-addon-api/issues/811
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com >
2020-09-21 12:12:34 -04:00
Turner Jabbour
64ac5c68aa
doc: fix small grammatical issues in timers.md
...
PR-URL: https://github.com/nodejs/node/pull/35203
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-21 12:12:34 -04:00
cjihrig
8357b56984
test: add wasi readdir() test
...
This commit provides coverage for __wasi_fd_readdir().
PR-URL: https://github.com/nodejs/node/pull/35202
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-09-21 12:12:34 -04:00
Phillip Johnsen
3d78686987
build: increase API requests for stale action
...
The second attempt at getting the auto closing of issues & PRs to work
as expected without hitting a maximum operations allowed error we've
been seeing.
Recently discovered that the mentioned error is actually self imposed
by the stale action itself. It keeps track of how many outgoing GitHub
API requests it performs, and if that count exceeds the configured
`operations-per-run` option, it exits to avoid hitting API rate limits.
Default `operations-per-run` value is set to `30`.
That's a very low limit and we're not at all concerned hitting that
rate limit as of now, so we're bumping `operations-per-run` to `500`
with these changes.
Refs https://github.com/nodejs/node/issues/35144
PR-URL: https://github.com/nodejs/node/pull/35235
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-21 12:12:33 -04:00
Michael Dawson
92a14d3c72
doc: add technical values document
...
As part of the [next-10](https://github.com/nodejs/next-10 ) we found
we needed to capture the project's technical values/priorities as
a starting point before discussing key technologies/areas for the
next 10 years of Node.js
This is a first cut that the team put together. The discussion
took place in a few meetings as well as this
[PR](https://github.com/nodejs/next-10/pull/11 ). We believe the doc
should live in the core node repository as it is intended to
reflect the agreement of the collaborator base.
I think this is a good starting point but we also
acknowledge that only a small subset of the Node.js collaborators
have participated/commented so far. This PR should be a good
way to get additional review/input from the larger set
of Node.js collaborators.
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/35145
Reviewed-By: Christopher Hiller <boneskull@boneskull.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Ruy Adorno <ruyadorno@github.com >
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Ash Cripps <acripps@redhat.com >
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com >
2020-09-21 12:12:33 -04:00
Rich Trott
dbfd3b261d
doc: remove "end user"
...
We use "end user" in ambiguous ways. Sometimes we mean the developer,
and sometimes we mean the application user. Use "developer" where
developer is meant.
Refs: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/u/user-end-user
PR-URL: https://github.com/nodejs/node/pull/35200
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2020-09-21 12:12:32 -04:00
Rich Trott
c1c93a6cde
doc: use command-line/command line consistently
...
Docs switch between "command line" and "command-line" with no apparent
uniformity. Microsoft Style Guide prescribes "command line" as a noun
and "command-line" as a modifier, which makes a lot of sense to me.
Updating docs as appropriate.
PR-URL: https://github.com/nodejs/node/pull/35198
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-21 12:10:01 -04:00
Rich Trott
70ec369b76
doc: replace "you should do X" with "do X"
...
PR-URL: https://github.com/nodejs/node/pull/35194
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-21 12:05:57 -04:00
Tom Atkinson
e5fffe2f8f
doc: fix missing word in dgram.md
...
The word "cannot" is missing from this sentence
PR-URL: https://github.com/nodejs/node/pull/35231
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2020-09-21 11:53:37 -04:00
Antoine du HAMEL
c1e16d15dd
doc: fix deprecation documentation inconsistencies
...
PR-URL: https://github.com/nodejs/node/pull/35082
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-21 11:53:37 -04:00
Rich Trott
910deff2de
doc: fix broken link in crypto.md
...
URL that lacks a scheme gets treated as a relative URL. Add missing
`https://`.
PR-URL: https://github.com/nodejs/node/pull/35181
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-21 11:53:36 -04:00
Jordan Harband
beb75bd031
fs: loosen validation to allow objects with an own toString function
...
PR-URL: https://github.com/nodejs/node/pull/34993
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-21 11:53:36 -04:00
Antoine du HAMEL
76e24f9aa9
module: use isURLInstance instead of instanceof
...
PR-URL: https://github.com/nodejs/node/pull/34951
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-21 11:53:35 -04:00
Rich Trott
49da459ce6
test: improve pummel/test-timers.js
...
* use Date.now() instead of new Date() because only the timestamp is
ever used, so we don't need the full Date object
* use separate start times recorded for the two different test cases
* improve assertion messages
PR-URL: https://github.com/nodejs/node/pull/35175
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Shingo Inoue <leko.noor@gmail.com >
2020-09-21 11:53:35 -04:00
Rich Trott
066148d229
doc: remove problematic auto-linking of curl man pages
...
The only instance of curl man page linking is in repl.md and it is
explicit. The magic autolinking in html.js creates a superfluous empty
link. Remove it.
Before, two adjacent links generated, with the first one having no text:
```html
<a href="https://curl.haxx.se/docs/manpage.html "></a>
<a href="https://curl.haxx.se/docs/manpage.html "><code>curl(1)</code></a>
```
After, just one link:
```html
<a href="https://curl.haxx.se/docs/manpage.html "><code>curl(1)</code></a>
```
PR-URL: https://github.com/nodejs/node/pull/35174
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Coe <bencoe@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-21 11:53:34 -04:00
cjihrig
0a97f44b50
tools: update ESLint to 7.9.0
...
Update ESLint to 7.9.0
PR-URL: https://github.com/nodejs/node/pull/35170
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:44 -04:00
Anna Henningsen
aea3f77c8d
doc: update eventLoopUtilization documentation
...
PR-URL: https://github.com/nodejs/node/pull/35155
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:44 -04:00
schamberg97
32d1731ae1
doc: update process.release
...
`process.release` documentation is out of date. This commit makes it up
to date.
PR-URL: https://github.com/nodejs/node/pull/35167
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:44 -04:00
Rich Trott
176e9e4054
doc: fix broken links in modules.md
...
PR-URL: https://github.com/nodejs/node/pull/35182
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-17 10:36:44 -04:00
Shelley Vohr
dc4c5696da
doc: add missing copyFile change history
...
PR-URL: https://github.com/nodejs/node/pull/35056
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:44 -04:00
Rich Trott
e8d479ed67
doc: perform cleanup on security-release-process.md
...
These are exceedingly minor, but I'm doing them anyway for consistency
across our docs (whether internal process docs or user-facing docs).
* ASCII order for references
* Minor punctuation adjustments
* Use product capitalization for Twitter and Slack
* Sentence-case for header
PR-URL: https://github.com/nodejs/node/pull/35154
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-17 10:36:44 -04:00
Phillip Johnsen
f2cc1c22c1
build: filter issues & PRs to auto close by matching on stalled label
...
The auto closing of issues & PRs labelled with `stalled` doesn't seem
to be working as expected. The GitHub Action UI gives the impression
the stale action tries to execute more operations than it is allowed to
do.
Previously there was no filtering on issues & PRs. So when it tries to
fetch all the currently open issues, checking whether or not they should
be get closed, it would have to perform quite a few requests pagination
requests to get the information needed.
Knowing that we only care about issues & PRs already labelled `stalled`,
we can provide the [`only-labels`](https://github.com/actions/stale/blob/13b324e4b28a2708236aadb11361fa65af60d201/action.yml#L38 )
option to make sure we only fetch relevant issues.
Refs https://github.com/nodejs/node/issues/35144
PR-URL: https://github.com/nodejs/node/pull/35159
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-09-17 10:36:43 -04:00
Amila Welihinda
99785e48ea
doc: fix minor punctuation issue in path.md
...
PR-URL: https://github.com/nodejs/node/pull/35127
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:43 -04:00
Mary Marchini
12f2934224
meta: add links to OpenJSF Slack
...
The OpenJS Foundation has an official Slack, and the Node.js project has
many channels there for working groups as well as for general
discussions. Add links to the workspace and channels for folks who want
to join.
PR-URL: https://github.com/nodejs/node/pull/35128
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:43 -04:00
Rich Trott
ae85228e54
doc: perform minor cleanup on cli.md
...
* sort references in ASCII order
* merge logically-connected single-sentence paragraphs
* remove _please_ from referrals to other docs
* remove unnecessary italics
* make some text more concise
* change some instances of future tense to present tense
PR-URL: https://github.com/nodejs/node/pull/35152
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2020-09-17 10:36:43 -04:00
Rich Trott
e4105140e7
doc: improve table accessibility
...
The compatibility matrix in the N-API doc needs row headers for
accessibility purposes. Unfortunately, those aren't possible in markdown
without resorting to HTML markup. So this converts the table from
markdown to HTML. This is less convenient for documentation authors and
for other readers of the raw markdown docs, but I believe accessibility
for the viewers of our HTML docs outweighs that concern.
PR-URL: https://github.com/nodejs/node/pull/35146
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
2020-09-17 10:36:43 -04:00
Rich Trott
7dbcd24541
doc: fix left nav color contrast
...
I believe this is the last change to make in the docs for color contrast
accessibility per WCAG AA.
Currently, the current item in the nav is #43853d on a #333333
background for a color contrast of 2.8:1, failing WCAG AA. This swaps in
removes a confusing bottom border on the item, replacing it with
bolding to preserve the item's highlighting.
PR-URL: https://github.com/nodejs/node/pull/35141
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:43 -04:00
Ash Cripps
331142ca25
doc: update contact info for Ash Cripps
...
PR-URL: https://github.com/nodejs/node/pull/35139
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:42 -04:00
atian25@qq.com
8ea28536d0
http: only set keep-alive when not exists
...
PR-URL: https://github.com/nodejs/node/pull/35138
Fixes: https://github.com/nodejs/node/issues/34561
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
2020-09-17 10:36:42 -04:00
Anna Henningsen
5229ffadcf
buffer: adjust validation to account for buffer.kMaxLength
...
PR-URL: https://github.com/nodejs/node/pull/35134
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2020-09-17 10:36:42 -04:00
devsnek
f21a5c6200
meta: update my collab entry
...
PR-URL: https://github.com/nodejs/node/pull/35160
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-17 10:36:42 -04:00
Arnaud Lefebvre
977b0ed865
http: allow Content-Length header for 304 responses
...
Fixes: https://github.com/nodejs/node/issues/31037
PR-URL: https://github.com/nodejs/node/pull/34835
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ricky Zhou <0x19951125@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
2020-09-17 10:36:42 -04:00
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