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
Rich Trott
83a3e3b681
doc: update syntax highlighting color for accessibility
...
Previous contrast with background was 3.65, failing WCAG AA. This change
brings contrast to 4.50, passing WCAG AA.
PR-URL: https://github.com/nodejs/node/pull/35063
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-09-07 12:29:40 -04:00
Rich Trott
6d0d5b2ec2
crypto: align parameter names with documentation
...
Change _cb_ to _callback_ to align with documentation. This is so that
stack traces and error messages align with the documentation. If the
documentation says "callback", then the stack traces and error messages
should indicate that "callback" needs to be function or whatever, rather
than "cb".
PR-URL: https://github.com/nodejs/node/pull/35054
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-09-07 12:29:39 -04:00
Rich Trott
5bd0e0803d
doc: fix incorrect URL in cli.md
...
Remove incorrect second `#` in URl.
PR-URL: https://github.com/nodejs/node/pull/35043
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
2020-09-07 12:29:38 -04:00
Anna Henningsen
f21d78d537
src: shutdown libuv before exit()
...
This ensures that no operations will be running on the libuv
threadpool, which is important because they may run into race
conditions with the global destructors being triggered from
`exit()`, such as in the added test example here.
PR-URL: https://github.com/nodejs/node/pull/35021
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-07 12:29:37 -04:00
Antoine du HAMEL
28e89f6766
doc: remove style for empty links
...
PR-URL: https://github.com/nodejs/node/pull/35034
Refs: https://github.com/nodejs/node/pull/34955
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-07 12:29:36 -04:00
Milad Farazmand
96ae05a770
deps: V8: backport 3f071e3e7e15
...
Original commit message:
PPC: Optimize clearing higher bits of mulhw/mulhwu
Change-Id: Ie3e14a6ef4531349e81a8ae741bc7470c7e547ca
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2349468
Reviewed-by: Junliang Yan <jyan@ca.ibm.com >
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com >
Cr-Commit-Position: refs/heads/master@{#69343}
Refs: https://github.com/v8/v8/commit/3f071e3e7e15af187267af6c3b369029e27c8cf5
PR-URL: https://github.com/nodejs/node/pull/35036
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ash Cripps <ashley.cripps@ibm.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-07 12:29:35 -04:00
Shelley Vohr
4d533858cf
test: make .out checks embedder-friendly
...
PR-URL: https://github.com/nodejs/node/pull/35040
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-07 12:29:34 -04:00
Rich Trott
cdc1198a62
doc: fix certificate display in tls doc
...
In one context, `<Buffer>` was being interpretted as an HTML tag and not
displayed.
PR-URL: https://github.com/nodejs/node/pull/35032
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-07 12:29:33 -04:00
Rich Trott
72d03cd802
doc: remove duplicate error code entry
...
Fixes: https://github.com/nodejs/node/issues/35029
PR-URL: https://github.com/nodejs/node/pull/35031
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-09-07 12:29:32 -04:00
Rich Trott
680782ea64
doc: use consistent header typography
...
Adding backticks to an entry that has them missing in the header, unlike
the other entries.
PR-URL: https://github.com/nodejs/node/pull/35030
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-07 12:29:31 -04:00
Rich Trott
1ae674c67a
doc: fix malformed hashes in assert.md
...
URL hashes cannot contain `#`. Use hashes for the locations that were
intended.
PR-URL: https://github.com/nodejs/node/pull/35028
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-09-07 12:29:30 -04:00
Shigma
c3a3cb69aa
doc: fix a typo of microtaskMode
...
PR-URL: https://github.com/nodejs/node/pull/34980
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2020-09-07 12:29:29 -04:00
Victory Osikwemhe
a846a9f116
doc: change 'be will' to 'will be'
...
PR-URL: https://github.com/nodejs/node/pull/34999
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-09-07 12:29:28 -04:00
Pooja D.P
a756b92c4a
test: use mustCall() in test-http-timeout
...
PR-URL: https://github.com/nodejs/node/pull/34996
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-09-07 12:29:27 -04:00
Pooja D.P
9011c87c1c
test: change var to let
...
PR-URL: https://github.com/nodejs/node/pull/34902
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2020-09-07 12:29:26 -04:00
Rich Trott
593236ad33
doc: change color contrast for accessibility
...
Change background color of Stability 1 banner. Previous color contrast
of 3.61:1 fails WCAG AA. New color contrast of 4.50:1 passes.
PR-URL: https://github.com/nodejs/node/pull/35047
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is >
2020-09-07 12:29:25 -04:00
Shelley Vohr
789798bedf
src: add get/set pair for env context awareness
...
PR-URL: https://github.com/nodejs/node/pull/35024
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2020-09-07 12:29:24 -04:00
Anna Henningsen
73ef3f2f05
src: disallow JS execution during exit()
...
This is just an extra safeguard – no JS should run once we’ve
decided that we are going to shutdown the process, but we’re opening
a handle scope in order to access V8, so make sure that our operations
do not lead to JS accidentally being run.
PR-URL: https://github.com/nodejs/node/pull/35020
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
2020-09-07 12:29:23 -04:00