Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
b130feb
deps: upgrade openssl sources to 1.0.2m
shigeki Nov 2, 2017
3438765
deps: copy all openssl header files to include dir
shigeki Nov 2, 2017
3d7eea5
deps: fix openssl assembly error on ia32 win32
indutny Jan 8, 2014
e0f6dee
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
083a6e3
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
162686f
deps: add -no_rand_screen to openssl s_client
May 27, 2015
185229e
deps: update openssl asm and asm_obsolete files
shigeki Nov 2, 2017
ed0fbd8
deps: cherry-pick e7f4e9e from upstream libuv
bzoz Nov 3, 2017
d6a0ffe
zlib: warn before crash on invalid internals usage
addaleax Oct 31, 2017
88ad01f
build: make doc target quiet
danbev Oct 26, 2017
8bc5249
build: make test-doc and lint addon docs
joyeecheung Oct 22, 2017
1cef9ef
doc: make default values and periods consistent
matejkrajcovic Oct 27, 2017
97fd6df
src: do not include x.h if x-inl.h is included
joyeecheung Oct 27, 2017
d733dd9
doc: add *-inl.h include rule to C++ style guide
joyeecheung Oct 27, 2017
224ea15
http2: move uv_prepare handle to `Http2Session`
addaleax Oct 24, 2017
f31b796
src: add `InternalCallbackScope` util constructor
addaleax Oct 24, 2017
b50c334
http2: track async state for sending
addaleax Oct 24, 2017
3f52962
http2: remove unused assignment
addaleax Oct 24, 2017
bf7dc38
http2: make sessions garbage-collectible
addaleax Oct 24, 2017
c4736cf
src: fix etw provider include on Windows
joyeecheung Oct 31, 2017
05f9047
repl: avoid crashing from null and undefined errors
priyank-p Oct 28, 2017
59a4789
doc: howto decode buffers extending from Writable
dicearr Oct 23, 2017
6ee28b2
doc: util.isDeepStrictEqual returns boolean
azz Oct 31, 2017
f9b2099
test: use fixtures module in test-https-pfx
t-k-g Oct 6, 2017
4f8765d
src: remove unused includes in string_bytes.h
danbev Oct 30, 2017
433745e
build: add missing comma in sources list
danbev Oct 30, 2017
ffe4d7b
test: increase coverage for ModuleMap
robtpaton Oct 6, 2017
f3e0161
build,src: Add CloudABI as a POSIX-like runtime environment.
EdSchouten Oct 30, 2017
1771bb5
doc: fix Changelog link order
gibfahn Oct 31, 2017
6998591
test,net: remove scatological terminology
Trott Oct 30, 2017
f3a65a8
src: pass context to Get() operations for cares_wrap
evanlucas Oct 31, 2017
3fd7edd
doc: add windowsVerbatimArguments docs
Oct 18, 2017
09181eb
doc: add details about rss on process.memoryUsage
profnandaa Oct 27, 2017
90e8e81
doc : mention constant-time in crypto doc
mithunsasidharan Oct 30, 2017
c40b3c6
src: add 'dynamic' process.release.lts property
rvagg Oct 6, 2015
d178c6d
test: update process-release for Node 8 Carbon
Fishrock123 Nov 1, 2017
5077faf
test: pause child until parent is ready
jBarz Oct 4, 2017
0b337cb
test: fix flaky test-http2-server-rst-stream.js
apapirovski Nov 2, 2017
3241799
build: suppress lint-md output
gibfahn Oct 27, 2017
d5ea177
doc: add nodejs/gyp team for GYP related issues
gibfahn Oct 31, 2017
7349d42
cli: add --stack-trace-limit to NODE_OPTIONS
addaleax Oct 25, 2017
a814786
src: improve module loader readability
addaleax Oct 26, 2017
a0b94f4
lib: refactor ES module loader for readability
addaleax Oct 28, 2017
d6d4610
http, tls: better support for IPv6 addresses
mattiasholmlund Aug 10, 2017
689c9d4
test: mark test-async-wrap-uncaughtexception as flaky
refack Nov 2, 2017
fc58c52
test: fix malformed parallel.status line
Trott Nov 3, 2017
e585c41
doc: add docs for Zlib#close()
lpinca Oct 29, 2017
26f1a1d
test: fix test-cli-node-options on Windows
addaleax Nov 3, 2017
dfe5684
http2: refactor settings handling
jasnell Nov 1, 2017
e3283c7
http2: allocate on every chunk send
jasnell Nov 1, 2017
7388144
doc: add 9.x to version picker and mark 8.x as LTS
Nov 1, 2017
77e4ec8
doc: update license to include node-inspect
MylesBorins Nov 1, 2017
a87f846
src: add method to compute storage in WriteWrap
addaleax Nov 3, 2017
326a048
tools: add fixer for no-let-in-for-declaration
starkwang Oct 31, 2017
1b090c9
http, http2: add 103 Early Hints status code
yosuke-furukawa Oct 31, 2017
87b4e3e
tls: accept array of protocols in TLSSocket
qubyte Oct 31, 2017
9c39d79
http: use arrow fns for lexical `this` in Agent
bengl Oct 25, 2017
72d0e7e
http2: refactor multiple internals
jasnell Nov 1, 2017
0ab3d37
test: refactor exitedAfterDisconnect test
Trott Nov 3, 2017
6074c8c
inspector: include node_platform.h header
alexeykuzmin Nov 2, 2017
762a11f
http2: improve errors thrown in header validation
joyeecheung Nov 3, 2017
d7df4df
doc: correct EventEmitter reference
gowpen Nov 6, 2017
e05d4f4
doc: correct effects to affects
gowpen Nov 6, 2017
2bb148f
doc: make stream.Readable consistent
thefourtheye Nov 6, 2017
8a2b4ee
src: remove unnecessary call to SetHiddenPrototype
verwaest Oct 27, 2017
fa5a841
tools: update to ESLint 4.10.0
cjihrig Nov 4, 2017
6a2cb12
src: clean up uv_fs_t's in module_wrap.cc
cjihrig Nov 3, 2017
f3e63f2
test: update test to use fixtures
awegrzyn Nov 6, 2017
bcd818a
test: replace `common.fixturesDir` usage
sastan Nov 6, 2017
422d315
tools: replace string concetation with templates
Nov 6, 2017
700c5e7
test: replace common.fixturesDir with fixtures.readSync()
AdriVanHoudt Nov 6, 2017
ec1b110
test: replace common.fixturesDir with fixtures module
doomhz Nov 6, 2017
e781d93
tools: replace string concatenation with template literals
lambrojos Nov 6, 2017
2156828
test: clarified assert message for test-require-json.js
matthias-reis Nov 6, 2017
021ccb4
test: use default assertion messages
trootski Nov 6, 2017
e4b3c00
test: replace fixturesDir with usage of fixtures module
itavy Nov 6, 2017
77f0359
http: use 'connect' event only if socket is connecting
lpinca Nov 3, 2017
6e22dc8
tools: replace string concatenation with template literals
kevinwcyu Nov 6, 2017
219ac4b
test: fix typos in read-buffer tests
jimivdw Nov 6, 2017
e9396d2
tools: remove unneeded parentheses in doc/html.js
vsemozhetbyt Nov 6, 2017
ef67980
test: update test to use fixtures.readKey
Nov 6, 2017
6831e42
test: use fixtures module in test-repl
DamianLion Nov 6, 2017
d054e94
test: add detailed message for assertion failure
Nov 6, 2017
5f88543
test: refactor tls test to use fixtres.readSync
brianoconnell Nov 6, 2017
6739f41
doc: fix json generator warnings
lpinca Nov 4, 2017
50d505c
test: include file mode in assert message
sastan Nov 6, 2017
a85d6e9
test: show incorrect value on test failure
Nov 6, 2017
527ddda
test: remove custom message from assertion
Marsup Nov 6, 2017
a409b87
test: improve message in test-fs-readfile-pipe-large
keldorus Nov 6, 2017
978aa84
doc: add isTTY property documentation
sonaysevik Nov 6, 2017
b441573
test: use default assertion message
jonask-wix Nov 6, 2017
da66610
src: fix -Winconsistent-missing-override warning
bnoordhuis Nov 3, 2017
c14030e
lib: fix version check in tick processor
bnoordhuis Nov 5, 2017
e0c7b3d
lib: shuffle v8_prof_polyfill.js for unit testing
bnoordhuis Nov 5, 2017
2294ba4
test: tick processor version check regression test
bnoordhuis Nov 5, 2017
f097e27
doc: fix a link in dgram.md
vsemozhetbyt Nov 7, 2017
dee7800
doc: add links to EventEmitter in errors.md
Delapouite Nov 7, 2017
9de633d
2017-11-07, Version 9.1.0 (Current)
cjihrig Nov 7, 2017
5f5ef42
Working on v9.1.1
cjihrig Nov 7, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: make default values and periods consistent
PR-URL: #16563
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
matejkrajcovic authored and cjihrig committed Nov 6, 2017
commit 1cef9ef1de2d58a0bbdeec8b220f4b7130e16df2
4 changes: 2 additions & 2 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ changes:

* {Object}
* `execArgv` {Array} List of string arguments passed to the Node.js
executable. (Default=`process.execArgv`)
* `exec` {string} File path to worker file. (Default=`process.argv[1]`)
executable. **Default:** `process.execArgv`
* `exec` {string} File path to worker file. **Default:** `process.argv[1]`
* `args` {Array} String arguments passed to worker.
**Default:** `process.argv.slice(2)`
* `silent` {boolean} Whether or not to send output to parent's stdio.
Expand Down
6 changes: 3 additions & 3 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ changes:
- `hints` {number} One or more [supported `getaddrinfo` flags][]. Multiple
flags may be passed by bitwise `OR`ing their values.
- `all` {boolean} When `true`, the callback returns all resolved addresses in
an array. Otherwise, returns a single address. Defaults to `false`.
an array. Otherwise, returns a single address. **Default:** `false`
- `verbatim` {boolean} When `true`, the callback receives IPv4 and IPv6
addresses in the order the DNS resolver returned them. When `false`,
IPv4 addresses are placed before IPv6 addresses.
Default: currently `false` (addresses are reordered) but this is expected
**Default:** currently `false` (addresses are reordered) but this is expected
to change in the not too distant future.
New code should use `{ verbatim: true }`.
- `callback` {Function}
Expand Down Expand Up @@ -245,7 +245,7 @@ Promise for an object with `hostname` and `service` properties.
added: v0.1.27
-->
- `hostname` {string} Hostname to resolve.
- `rrtype` {string} Resource record type. Default: `'A'`.
- `rrtype` {string} Resource record type. **Default:** `'A'`
- `callback` {Function}
- `err` {Error}
- `records` {string[] | Object[] | Object}
Expand Down
64 changes: 32 additions & 32 deletions doc/api/http2.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ added: v8.4.0
* `exclusive` {boolean} When `true` and `parent` identifies a parent Stream,
the created stream is made the sole direct dependency of the parent, with
all other existing dependents made a dependent of the newly created stream.
Defaults to `false`.
**Default:** `false`
* `parent` {number} Specifies the numeric identifier of a stream the newly
created stream is dependent on.
* `weight` {number} Specifies the relative dependency of a stream in relation
Expand Down Expand Up @@ -415,7 +415,7 @@ added: v8.4.0
-->

* stream {Http2Stream}
* code {number} Unsigned 32-bit integer identifying the error code. Defaults to
* code {number} Unsigned 32-bit integer identifying the error code. **Default:**
`http2.constant.NGHTTP2_NO_ERROR` (`0x00`)
* Returns: {undefined}

Expand Down Expand Up @@ -444,7 +444,7 @@ added: v8.4.0
* `graceful` {boolean} `true` to attempt a polite shutdown of the
`Http2Session`.
* `errorCode` {number} The HTTP/2 [error code][] to return. Note that this is
*not* the same thing as an HTTP Response Status Code. Defaults to `0x00`
*not* the same thing as an HTTP Response Status Code. **Default:** `0x00`
(No Error).
* `lastStreamID` {number} The Stream ID of the last successfully processed
`Http2Stream` on this `Http2Session`.
Expand Down Expand Up @@ -522,8 +522,8 @@ added: v8.4.0
* `options` {Object}
* `exclusive` {boolean} When `true` and `parent` identifies a parent Stream,
the given stream is made the sole direct dependency of the parent, with
all other existing dependents made a dependent of the given stream. Defaults
to `false`.
all other existing dependents made a dependent of the given stream. **Default:**
`false`
* `parent` {number} Specifies the numeric identifier of a stream the given
stream is dependent on.
* `weight` {number} Specifies the relative dependency of a stream in relation
Expand Down Expand Up @@ -734,8 +734,8 @@ added: v8.4.0
* `options` {Object}
* `exclusive` {boolean} When `true` and `parent` identifies a parent Stream,
this stream is made the sole direct dependency of the parent, with
all other existing dependents made a dependent of this stream. Defaults
to `false`.
all other existing dependents made a dependent of this stream. **Default:**
`false`
* `parent` {number} Specifies the numeric identifier of a stream this stream
is dependent on.
* `weight` {number} Specifies the relative dependency of a stream in relation
Expand Down Expand Up @@ -764,7 +764,7 @@ calling `http2stream.rstStream()`, or `http2stream.destroy()`. Will be
added: v8.4.0
-->

* code {number} Unsigned 32-bit integer identifying the error code. Defaults to
* code {number} Unsigned 32-bit integer identifying the error code. **Default:**
`http2.constant.NGHTTP2_NO_ERROR` (`0x00`)
* Returns: {undefined}

Expand Down Expand Up @@ -986,7 +986,7 @@ added: v8.4.0
* `exclusive` {boolean} When `true` and `parent` identifies a parent Stream,
the created stream is made the sole direct dependency of the parent, with
all other existing dependents made a dependent of the newly created stream.
Defaults to `false`.
**Default:** `false`
* `parent` {number} Specifies the numeric identifier of a stream the newly
created stream is dependent on.
* `callback` {Function} Callback that is called once the push stream has been
Expand Down Expand Up @@ -1063,14 +1063,14 @@ fields.
added: v8.4.0
-->

* `fd` {number} A readable file descriptor
* `fd` {number} A readable file descriptor.
* `headers` {[Headers Object][]}
* `options` {Object}
* `statCheck` {Function}
* `getTrailers` {Function} Callback function invoked to collect trailer
headers.
* `offset` {number} The offset position at which to begin reading
* `length` {number} The amount of data from the fd to send
* `offset` {number} The offset position at which to begin reading.
* `length` {number} The amount of data from the fd to send.

Initiates a response whose data is read from the given file descriptor. No
validation is performed on the given file descriptor. If an error occurs while
Expand Down Expand Up @@ -1152,11 +1152,11 @@ added: v8.4.0
* `options` {Object}
* `statCheck` {Function}
* `onError` {Function} Callback function invoked in the case of an
Error before send
Error before send.
* `getTrailers` {Function} Callback function invoked to collect trailer
headers.
* `offset` {number} The offset position at which to begin reading
* `length` {number} The amount of data from the fd to send
* `offset` {number} The offset position at which to begin reading.
* `length` {number} The amount of data from the fd to send.

Sends a regular file as the response. The `path` must specify a regular file
or an `'error'` event will be emitted on the `Http2Stream` object.
Expand Down Expand Up @@ -1474,13 +1474,13 @@ added: v8.4.0

* `options` {Object}
* `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size
for deflating header fields. Defaults to 4Kib.
for deflating header fields. **Default:** `4Kib`
* `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a
serialized, compressed block of headers. Attempts to send headers that
exceed this limit will result in a `'frameError'` event being emitted
and the stream being closed and destroyed.
* `paddingStrategy` {number} Identifies the strategy used for determining the
amount of padding to use for HEADERS and DATA frames. Defaults to
amount of padding to use for HEADERS and DATA frames. **Default:**
`http2.constants.PADDING_STRATEGY_NONE`. Value may be one of:
* `http2.constants.PADDING_STRATEGY_NONE` - Specifies that no padding is
to be applied.
Expand All @@ -1492,8 +1492,8 @@ added: v8.4.0
amount of padding.
* `peerMaxConcurrentStreams` {number} Sets the maximum number of concurrent
streams for the remote peer as if a SETTINGS frame had been received. Will
be overridden if the remote peer sets its own value for
`maxConcurrentStreams`. Defaults to 100.
be overridden if the remote peer sets its own value for.
`maxConcurrentStreams`. **Default** `100`
* `selectPadding` {Function} When `options.paddingStrategy` is equal to
`http2.constants.PADDING_STRATEGY_CALLBACK`, provides the callback function
used to determine the padding. See [Using options.selectPadding][].
Expand Down Expand Up @@ -1529,16 +1529,16 @@ added: v8.4.0

* `options` {Object}
* `allowHTTP1` {boolean} Incoming client connections that do not support
HTTP/2 will be downgraded to HTTP/1.x when set to `true`. The default value
is `false`. See the [`'unknownProtocol'`][] event. See [ALPN negotiation][].
HTTP/2 will be downgraded to HTTP/1.x when set to `true`. **Default:**
`false`. See the [`'unknownProtocol'`][] event. See [ALPN negotiation][].
* `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size
for deflating header fields. Defaults to 4Kib.
for deflating header fields. **Default:** `4Kib`
* `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a
serialized, compressed block of headers. Attempts to send headers that
exceed this limit will result in a `'frameError'` event being emitted
and the stream being closed and destroyed.
* `paddingStrategy` {number} Identifies the strategy used for determining the
amount of padding to use for HEADERS and DATA frames. Defaults to
amount of padding to use for HEADERS and DATA frames. **Default:**
`http2.constants.PADDING_STRATEGY_NONE`. Value may be one of:
* `http2.constants.PADDING_STRATEGY_NONE` - Specifies that no padding is
to be applied.
Expand All @@ -1551,7 +1551,7 @@ added: v8.4.0
* `peerMaxConcurrentStreams` {number} Sets the maximum number of concurrent
streams for the remote peer as if a SETTINGS frame had been received. Will
be overridden if the remote peer sets its own value for
`maxConcurrentStreams`. Defaults to 100.
`maxConcurrentStreams`. **Default:** `100`
* `selectPadding` {Function} When `options.paddingStrategy` is equal to
`http2.constants.PADDING_STRATEGY_CALLBACK`, provides the callback function
used to determine the padding. See [Using options.selectPadding][].
Expand Down Expand Up @@ -1595,7 +1595,7 @@ added: v8.4.0
* `authority` {string|URL}
* `options` {Object}
* `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size
for deflating header fields. Defaults to 4Kib.
for deflating header fields. **Default:** `4Kib`
* `maxReservedRemoteStreams` {number} Sets the maximum number of reserved push
streams the client will accept at any given time. Once the current number of
currently reserved push streams exceeds reaches this limit, new push streams
Expand All @@ -1605,7 +1605,7 @@ added: v8.4.0
exceed this limit will result in a `'frameError'` event being emitted
and the stream being closed and destroyed.
* `paddingStrategy` {number} Identifies the strategy used for determining the
amount of padding to use for HEADERS and DATA frames. Defaults to
amount of padding to use for HEADERS and DATA frames. **Default:**
`http2.constants.PADDING_STRATEGY_NONE`. Value may be one of:
* `http2.constants.PADDING_STRATEGY_NONE` - Specifies that no padding is
to be applied.
Expand All @@ -1618,7 +1618,7 @@ added: v8.4.0
* `peerMaxConcurrentStreams` {number} Sets the maximum number of concurrent
streams for the remote peer as if a SETTINGS frame had been received. Will
be overridden if the remote peer sets its own value for
`maxConcurrentStreams`. Defaults to 100.
`maxConcurrentStreams`. **Default:** `100`
* `selectPadding` {Function} When `options.paddingStrategy` is equal to
`http2.constants.PADDING_STRATEGY_CALLBACK`, provides the callback function
used to determine the padding. See [Using options.selectPadding][].
Expand Down Expand Up @@ -1707,7 +1707,7 @@ console.log(packed.toString('base64'));
added: v8.4.0
-->

* `buf` {Buffer|Uint8Array} The packed settings
* `buf` {Buffer|Uint8Array} The packed settings.
* Returns: {[Settings Object][]}

Returns a [Settings Object][] containing the deserialized settings from the
Expand Down Expand Up @@ -1757,15 +1757,15 @@ These objects are ordinary JavaScript objects containing the following
properties.

* `headerTableSize` {number} Specifies the maximum number of bytes used for
header compression. The default value is 4,096 octets. The minimum allowed
header compression. **Default:** `4,096 octets`. The minimum allowed
value is 0. The maximum allowed value is 2<sup>32</sup>-1.
* `enablePush` {boolean} Specifies `true` if HTTP/2 Push Streams are to be
permitted on the `Http2Session` instances.
* `initialWindowSize` {number} Specifies the *senders* initial window size
for stream-level flow control. The default value is 65,535 bytes. The minimum
for stream-level flow control. **Default:** `65,535 bytes`. The minimum
allowed value is 0. The maximum allowed value is 2<sup>32</sup>-1.
* `maxFrameSize` {number} Specifies the size of the largest frame payload.
The default and the minimum allowed value is 16,384 bytes. The maximum
**Default:** `16,384 bytes`. The minimum allowed value is 16,384. The maximum
allowed value is 2<sup>24</sup>-1.
* `maxConcurrentStreams` {number} Specifies the maximum number of concurrent
streams permitted on an `Http2Session`. There is no default value which
Expand Down Expand Up @@ -2478,7 +2478,7 @@ added: v8.4.0
-->

* `name` {string}
* `value` {string | string[]}
* `value` {string|string[]}

Sets a single header value for implicit headers. If this header already exists
in the to-be-sent headers, its value will be replaced. Use an array of strings
Expand Down
40 changes: 20 additions & 20 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ added: v0.11.14
* `path` {string} Will be ignored if `port` is specified. See
[Identifying paths for IPC connections][].
* `backlog` {number} Common parameter of [`server.listen()`][]
functions
* `exclusive` {boolean} Default to `false`
functions.
* `exclusive` {boolean} **Default:** `false`
* `callback` {Function} Common parameter of [`server.listen()`][]
functions
functions.
* Returns: {net.Server}

If `port` is specified, it behaves the same as
Expand Down Expand Up @@ -283,8 +283,8 @@ added: v0.1.90

* `path` {String} Path the server should listen to. See
[Identifying paths for IPC connections][].
* `backlog` {number} Common parameter of [`server.listen()`][] functions
* `callback` {Function} Common parameter of [`server.listen()`][] functions
* `backlog` {number} Common parameter of [`server.listen()`][] functions.
* `callback` {Function} Common parameter of [`server.listen()`][] functions.
* Returns: {net.Server}

Start a [IPC][] server listening for connections on the given `path`.
Expand All @@ -295,8 +295,8 @@ added: v0.1.90
-->
* `port` {number}
* `host` {string}
* `backlog` {number} Common parameter of [`server.listen()`][] functions
* `callback` {Function} Common parameter of [`server.listen()`][] functions
* `backlog` {number} Common parameter of [`server.listen()`][] functions.
* `callback` {Function} Common parameter of [`server.listen()`][] functions.
* Returns: {net.Server}

Start a TCP server listening for connections on the given `port` and `host`.
Expand Down Expand Up @@ -385,11 +385,11 @@ Creates a new socket object.
the given file descriptor, otherwise a new socket will be created.
* `allowHalfOpen` {boolean} Indicates whether half-opened TCP connections
are allowed. See [`net.createServer()`][] and the [`'end'`][] event
for details. Defaults to `false`.
for details. **Default:** `false`
* `readable` {boolean} Allow reads on the socket when an `fd` is passed,
otherwise ignored. Defaults to `false`.
otherwise ignored. **Default:** `false`
* `writable` {boolean} Allow writes on the socket when an `fd` is passed,
otherwise ignored. Defaults to `false`.
otherwise ignored. **Default:** `false`
* Returns: {net.Socket}

The newly created socket can be either a TCP socket or a streaming [IPC][]
Expand Down Expand Up @@ -581,12 +581,12 @@ this only when implementing a custom Socket.
For TCP connections, available `options` are:

* `port` {number} Required. Port the socket should connect to.
* `host` {string} Host the socket should connect to. Defaults to `'localhost'`.
* `host` {string} Host the socket should connect to. **Default:** `'localhost'`
* `localAddress` {string} Local address the socket should connect from.
* `localPort` {number} Local port the socket should connect from.
* `family` {number}: Version of IP stack, can be either 4 or 6. Defaults to 4.
* `family` {number}: Version of IP stack, can be either 4 or 6. **Default:** `4`
* `hints` {number} Optional [`dns.lookup()` hints][].
* `lookup` {Function} Custom lookup function. Defaults to [`dns.lookup()`][].
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][]

For [IPC][] connections, available `options` are:

Expand Down Expand Up @@ -965,9 +965,9 @@ added: v0.1.90

* `port` {number} Port the socket should connect to. Will be passed to
[`socket.connect(port[, host][, connectListener])`][`socket.connect(port, host)`].
* `host` {string} Host the socket should connect to. Defaults to `'localhost'`.
Will be passed to
* `host` {string} Host the socket should connect to. Will be passed to
[`socket.connect(port[, host][, connectListener])`][`socket.connect(port, host)`].
**Default:** `'localhost'`
* `connectListener` {Function} Common parameter of the
[`net.createConnection()`][] functions, an "once" listener for the
`'connect'` event on the initiating socket. Will be passed to
Expand All @@ -989,12 +989,12 @@ added: v0.5.0
Creates a new TCP or [IPC][] server.

* `options` {Object}
* `allowHalfOpen` {boolean} Default to `false`. Indicates whether half-opened
TCP connections are allowed.
* `pauseOnConnect` {boolean} Default to `false`. Indicates whether the socket
should be paused on incoming connections.
* `allowHalfOpen` {boolean} Indicates whether half-opened TCP
connections are allowed. **Default:** `false`
* `pauseOnConnect` {boolean} Indicates whether the socket should be
paused on incoming connections. **Default:** `false`
* `connectionListener` {Function} Automatically set as a listener for the
[`'connection'`][] event
[`'connection'`][] event.
* Returns: {net.Server}

If `allowHalfOpen` is set to `true`, when the other end of the socket
Expand Down
2 changes: 1 addition & 1 deletion doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ added: v6.0.0
* `options` {Object}
* `encoding` {string} Character encoding used to interpret resulting strings.
If `encoding` is set to `'buffer'`, the `username`, `shell`, and `homedir`
values will be `Buffer` instances. (Default: 'utf8')
values will be `Buffer` instances. **Default:** `'utf8'`
* Returns: {Object}

The `os.userInfo()` method returns information about the currently effective
Expand Down
Loading