Beth Griggs
47c891d3d2
2019-08-06, Version 10.16.2 'Dubnium' (LTS)
...
Notable changes:
This release patches a regression in the OpenSSL upgrade to 1.1.1c that
causes intermittent hangs in machines that have low entropy.
Refs: https://github.com/nodejs/node/issues/28932
PR-URL: https://github.com/nodejs/node/pull/29021
2019-08-06 16:31:10 +01:00
Beth Griggs
a395299ace
2019-07-31, Version 10.16.1 'Dubnium' (LTS)
...
Notable changes:
- **deps**: upgrade openssl sources to 1.1.1c (Sam Roberts) [#28212 ](https://github.com/nodejs/node/pull/28212 )
- **stream**: do not unconditionally call `\_read()` on `resume()` (Anna Henningsen) [#26965 ](https://github.com/nodejs/node/pull/26965 )
- **worker**: fix nullptr deref after MessagePort deser failure (Anna Henningsen) [#25076 ](https://github.com/nodejs/node/pull/25076 )
PR-URL: https://github.com/nodejs/node/pull/28731
2019-07-31 16:41:22 +01:00
Roman Reiss
ad588eb5fc
doc: adjust TOC margins
...
PR-URL: https://github.com/nodejs/node/pull/28075
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
2019-07-16 17:38:01 +01:00
Ruben Bridgewater
b3d8a1b1d0
doc: add missing changes entry
...
The `util.format()` behavior changed recently. Add the changes entry
to document the new BigInt behavior.
PR-URL: https://github.com/nodejs/node/pull/24758
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-07-16 17:38:00 +01:00
Beth Griggs
308b8b943a
2019-05-28, Version 10.16.0 'Dubnium' (LTS)
...
Notable changes:
- **deps**:
- update ICU to 64.2 (Ujjwal Sharma)
[#27361 ](https://github.com/nodejs/node/pull/27361 )
- upgrade npm to 6.9.0 (Kat Marchán)
[#26244 ](https://github.com/nodejs/node/pull/26244 )
- upgrade openssl sources to 1.1.1b (Sam Roberts)
[#26327 ](https://github.com/nodejs/node/pull/26327 )
- upgrade to libuv 1.28.0 (cjihrig)
[#27241 ](https://github.com/nodejs/node/pull/27241 )
- **events**:
- add once method to use promises with EventEmitter (Matteo Collina)
[#26078 ](https://github.com/nodejs/node/pull/26078 )
- **n-api**:
- mark thread-safe function as stable (Gabriel Schulhof)
[#25556 ](https://github.com/nodejs/node/pull/25556 )
- **repl**:
- support top-level for-await-of (Shelley Vohr)
[#23841 ](https://github.com/nodejs/node/pull/23841 )
- **zlib**:
- add brotli support (Anna Henningsen)
[#24938 ](https://github.com/nodejs/node/pull/24938 )
PR-URL: https://github.com/nodejs/node/pull/27514
2019-05-28 22:12:02 +01:00
Richard Lau
99e969e5cc
doc,n-api: update matrix for N-API version 4
...
The N-API version was bumped to 4 for Node.js 10 in
https://github.com/nodejs/node/pull/25633
Refs: https://github.com/nodejs/node/pull/25633
PR-URL: https://github.com/nodejs/node/pull/27832
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-05-28 13:06:18 +01:00
Anna Henningsen
93edf907ca
doc: add documentation for brotli support
...
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:03 -04:00
Anna Henningsen and Hackzzila
53e9c8508c
zlib: add brotli support
...
Refs: https://github.com/nodejs/node/pull/20458
Co-authored-by: Hackzzila <admin@hackzzila.com >
Backport-PR-URL: https://github.com/nodejs/node/pull/27681
PR-URL: https://github.com/nodejs/node/pull/24938
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Jan Krems <jan.krems@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2019-05-16 14:57:03 -04:00
Luigi Pinca
498edfde9b
doc: fix http.Agent timeout option description
...
By default the agent options are passed to `net.createConnection()`
which sets the timeout on the socket immediately after creating it.
PR-URL: https://github.com/nodejs/node/pull/25489
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:55 -04:00
Eric Whitebloom
a040a73ee3
doc: fix file extension on ESM file example
...
PR-URL: https://github.com/nodejs/node/pull/25692
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2019-05-16 14:56:53 -04:00
Rich Trott
6a2d9d192f
doc: remove outdated s_client information in tls.md
...
There is a description of how to use s_client for testing of
renegotiation limits in the `tls` module documentation. The information
is somewhat out of scope, but it also may be somewhat problematic due to
changes/peculiarities (bugs?) in recent s_client. Remove the text.
Refs: https://github.com/nodejs/node/pull/25381#issuecomment-457067137
PR-URL: https://github.com/nodejs/node/pull/25678
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-05-16 14:56:52 -04:00
Samuel D. Leslie
2f1ad8efbd
repl: improve doc for disabling REPL history on Windows
...
Environment variables with empty values are not permitted on Windows. As
such, to disable persistent REPL history one or more spaces should be
used. Node will trim whitespace from the variable, resulting in a blank
variable at runtime and the desired behaviour.
PR-URL: https://github.com/nodejs/node/pull/25672
Fixes: https://github.com/nodejs/node/issues/25661
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
2019-05-16 14:56:51 -04:00
Sam Roberts
bb96d79a7e
doc: clarify what dns.setResolvers() affects
...
It does not affect dns.lookup().
PR-URL: https://github.com/nodejs/node/pull/25570
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-05-16 14:56:51 -04:00
Rich Trott
a382932097
doc: simplify process.binding() deprecation message
...
Keep the process.binding() deprecation message short and direct. In
addition to the usual benefits of doing that, it also means the message
is less likely to line-wrap once we move to a runtime deprecation.
PR-URL: https://github.com/nodejs/node/pull/25654
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-05-16 14:56:50 -04:00
Myles Borins
b1a15ab4cf
doc: add note regarding pushing release tags
...
Tags shouldn't be pushed unless the remainder of release steps are able
to be completed.
PR-URL: https://github.com/nodejs/node/pull/25569
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-05-16 14:56:50 -04:00
Jeremiah Senkpiel
16a92f66a1
child_process: truncate output when maxBuffer is exceeded
...
Preserves truncated output for `child_process.exec()` when `maxBuffer`
is exceeded.
This is particularly useful for commands which have indistinguishable
error codes for what output they produce.
PR-URL: https://github.com/nodejs/node/pull/24951
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:49 -04:00
Daniel George Holz
6ae41bde4d
doc: reword stream docs to clarify that decodeStrings encodes strings
...
I was implementing a Writable stream and misunderstood `decodeStrings`
to mean 'will decode `Buffer`s into `string`s before calling `_write`'.
This change adds a little more detail to the description of
`decodeStrings` to clarify its effect on a Writable stream & what gets
passed to `_write`.
Changing the name of the option to `encodeStrings` would make it much
easier to understand, but the name was chosen in 2012 and the option
used in many projects (22k mentions of 'decodeStringsr in JS projects in
GitHub). Deprecating the old name & rolling out a replacement is beyond
my capabilities as a first-time contributor.
PR-URL: https://github.com/nodejs/node/pull/25468
Fixes: https://github.com/nodejs/node/issues/25464
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:43 -04:00
Vse Mozhet Byt
13205d5805
doc: correct my wrong note about buf.fill()
...
PR-URL: https://github.com/nodejs/node/pull/25585
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2019-05-16 14:56:42 -04:00
Luigi Pinca
2319bc55ca
tls: make tls.connect() accept a timeout option
...
If specified, and only when a socket is created internally, the option
will make `socket.setTimeout()` to be called on the created socket with
the given timeout.
This is consistent with the `timeout` option of `net.connect()` and
prevents the `timeout` option of the `https.Agent` from being ignored
when a socket is created.
PR-URL: https://github.com/nodejs/node/pull/25517
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-05-16 14:56:42 -04:00
Vse Mozhet Byt
12fe2d30fe
doc: add a note to buf.fill() description
...
PR-URL: https://github.com/nodejs/node/pull/25547
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:56:41 -04:00
H1Gdev
92d0794d63
doc: fix typo in Buffer API
...
PR-URL: https://github.com/nodejs/node/pull/25544
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-05-16 14:56:40 -04:00
Sam Roberts
5631d7a6e0
doc: add metadata about ecdh curve options
...
- DEFAULT_ECDH_CURVE default changed to 'auto' for 10.0.0
- ecdhCurve parameter allowed multiple values and 'auto' from 9.0.0
PR-URL: https://github.com/nodejs/node/pull/25502
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-05-16 14:56:38 -04:00
Sam Roberts
5c602dabc4
doc: add TLSSocket.isSessionReused() docs
...
The API has existed forever and is used in our unit tests. It is
supported for TLS1.3 as well as 1.2 and useful for troubleshooting, so
it should be documented.
PR-URL: https://github.com/nodejs/node/pull/25423
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2019-05-16 14:56:36 -04:00
Vse Mozhet Byt
07f878b0c1
doc: fix sorting in buffer.md
...
This PR places
`Buffer.from(object...)` section before
`Buffer.from(string...)` section
and upper-cased bottom references before backtick-started ones.
PR-URL: https://github.com/nodejs/node/pull/25477
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
2019-05-16 14:56:33 -04:00
Philipp Renoth
9dffc2ba0c
doc: fix napi_open_callback_scope description
...
- parameter `resource_object` is mandatory
PR-URL: https://github.com/nodejs/node/pull/25366
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2019-05-16 14:56:33 -04:00
Matteo Collina
0c33ecb2bd
doc: document that stream.on('close') was changed in Node 10
...
See: https://github.com/nodejs/node/issues/25373
See: https://github.com/nodejs/node/pull/18438
PR-URL: https://github.com/nodejs/node/pull/25413
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
2019-05-16 14:56:32 -04:00
Mitar
8f0fa61406
doc: fix the path to postMessage()
...
PR-URL: https://github.com/nodejs/node/pull/25332
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:56:31 -04:00
jvelezpo
3a30c87e88
doc: update os.networkInterfaces() example
...
The os.networkInterfaces() example was outdated
as the IPv6 interfaces did not include the scopeid property,
now they do.
PR-URL: https://github.com/nodejs/node/pull/25417
Fixes: https://github.com/nodejs/node/issues/25408
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Weijia Wang <starkwang@126.com >
2019-05-16 14:56:31 -04:00
Matteo Collina
530f005d7d
doc: make sure that calls to .read() are looped
...
The 'readable' event assumes that calls to readable.read() happens
within that event handler until readable.read() returns null.
Fixes: https://github.com/nodejs/node/issues/20503
PR-URL: https://github.com/nodejs/node/pull/25375
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-05-16 14:56:28 -04:00
James Bunton
487f6536bc
doc: add history to http.request.setTimeout()
...
PR-URL: https://github.com/nodejs/node/pull/25121
Refs: https://github.com/nodejs/node/pull/8895
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:56:26 -04:00
Michael Dawson
66ab7e4a99
doc: add clarification for exception behaviour
...
Document current behaviour where some methods can be called
when an exception is pending, while others cannot and explain
the behaviour.
PR-URL: https://github.com/nodejs/node/pull/25339
Refs: https://github.com/nodejs/abi-stable-node/issues/356
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-05-16 14:56:26 -04:00
Sam Roberts
ce3cf0dffd
doc: clarify timing of socket.connecting
...
Fixes: https://github.com/nodejs/node/issues/25328
PR-URL: https://github.com/nodejs/node/pull/25333
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:25 -04:00
Kazushi Kitaya
b68d47a246
doc: update benchmark doc
...
Benchmark for arrays no longer exists, but it was still referenced in
documentation.
Refs: https://github.com/nodejs/node/pull/21831
PR-URL: https://github.com/nodejs/node/pull/25367
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2019-05-16 14:56:25 -04:00
Rich Trott
252a696568
doc: use lowercase for zlib
...
PR-URL: https://github.com/nodejs/node/pull/25371
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2019-05-16 14:56:24 -04:00
Anna Henningsen
8d5ac6c8ef
doc: fix process.stdin example
...
Fixes: https://github.com/nodejs/node/issues/20503
PR-URL: https://github.com/nodejs/node/pull/25344
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:56:22 -04:00
Corey Farrell
ef6e4f15a0
doc: fs.mkdir('/') throws EPERM on Windows
...
Fixes: https://github.com/nodejs/node/issues/25110
PR-URL: https://github.com/nodejs/node/pull/25340
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ben Coe <bencoe@gmail.com >
2019-05-16 14:56:19 -04:00
Sam Roberts
b76931b7e9
doc: describe TLS session resumption
...
PR-URL: https://github.com/nodejs/node/pull/25174
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
2019-05-16 14:56:11 -04:00
Sam Roberts
c84b4fb51a
doc: link and expand --tls-cipher-list docs
...
Link to the cli docs for --tls-cipher-list, and link to and mention that
NODE_OPTIONS can also be used.
PR-URL: https://github.com/nodejs/node/pull/25174
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
2019-05-16 14:56:11 -04:00
Philipp Renoth
b980fa3a21
doc: fix NAPI typo
...
PR-URL: https://github.com/nodejs/node/pull/25216
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2019-05-16 14:56:08 -04:00
Sam Roberts
c571e9e18b
doc: describe root cert update process
...
PR-URL: https://github.com/nodejs/node/pull/25113
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-05-16 14:56:05 -04:00
Sam Roberts
20980a3a28
test: test TLS client authentication
...
TLS client authentication should be tested, including failure scenarios.
PR-URL: https://github.com/nodejs/node/pull/24733
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2019-05-16 14:56:01 -04:00
Timothy Gu and Ivan Filenko
d3f15b0ffb
readline: add support for async iteration
...
Co-authored-by: Ivan Filenko <ivan.filenko@protonmail.com >
Fixes: https://github.com/nodejs/node/issues/18603
Refs: https://github.com/nodejs/node/pull/18904
PR-URL: https://github.com/nodejs/node/pull/23916
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Gus Caplan <me@gus.host >
2019-05-16 14:56:01 -04:00
Anna Henningsen
ae465f6fc4
fs,net: standardize pending stream property
...
Use the same property name as http2 does to indicate that
the stream is in the state before the `ready` event is emitted.
PR-URL: https://github.com/nodejs/node/pull/24067
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2019-05-16 14:56:00 -04:00
Mohammed Essehemy
f52160d385
doc: change error message to 'not defined'
...
PR-URL: https://github.com/nodejs/node/pull/26857
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
2019-05-16 14:55:58 -04:00
Hang Jiang
6bd33dde62
doc: fix comma of the list in worker_threads.md
...
PR-URL: https://github.com/nodejs/node/pull/26838
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Masashi Hirano <shisama07@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
2019-05-16 14:55:56 -04:00
kohta ito
09f162b18f
doc: add Note of options.stdio into child_process
...
PR-URL: https://github.com/nodejs/node/pull/26604
Refs: https://github.com/nodejs/node/pull/22892#issuecomment-469173273
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com >
2019-05-16 14:55:54 -04:00
Rich Trott
83c2a14e08
doc: update spawnSync() status value possibilities
...
The object returned by `child_process.spawnSync()` can have the `status`
property set to `null` if the process terminated due to a signal. We
even test for this in
test/parallel/test-child-process-spawnsync-kill-signal.js.
Update the documentation to reflect this.
PR-URL: https://github.com/nodejs/node/pull/26680
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: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2019-04-17 11:32:25 +01:00
Thomas Hunter II
1e6faf9ee0
doc: note about DNS ANY queries / RFC 8482
...
PR-URL: https://github.com/nodejs/node/pull/26695
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Bryan English <bryan@bryanenglish.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2019-04-17 11:28:20 +01:00
Ruben Bridgewater
4285b57e78
tty: add hasColors function
...
This adds a small wrapper around the `getColorDepth` function to check
if the stream supports at least a specific amount of colors. This is
convenient as the other API is not as straight forward and most use
cases likely only want to know if a specific amount of colors is
supported or not.
PR-URL: https://github.com/nodejs/node/pull/26247
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Weijia Wang <starkwang@126.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2019-04-17 00:15:13 +01:00
Matteo Collina and David Mark Clements
064511ec4b
events: add once method to use promises with EventEmitter
...
This change adds a EventEmitter.once() method that wraps ee.once in a
promise.
Co-authored-by: David Mark Clements <david.mark.clements@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/26078
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2019-04-17 00:15:12 +01:00