Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ added: REPLACEME
- `curve` {string}
- `inputEncoding` {string}
- `outputEncoding` {string}
- `format` {string} **Default:** `uncompressed`
- `format` {string} **Default:** `'uncompressed'`
- Returns: {Buffer | string}

Converts the EC Diffie-Hellman public key specified by `key` and `curve` to the
Expand Down Expand Up @@ -757,7 +757,7 @@ its recommended for developers to handle this exception accordingly.
added: v0.11.14
-->
- `encoding` {string}
- `format` {string} **Default:** `uncompressed`
- `format` {string} **Default:** `'uncompressed'`
- Returns: {Buffer | string}

Generates private and public EC Diffie-Hellman key values, and returns
Expand Down Expand Up @@ -786,7 +786,7 @@ added: v0.11.14
added: v0.11.14
-->
- `encoding` {string}
- `format` {string} **Default:** `uncompressed`
- `format` {string} **Default:** `'uncompressed'`
- Returns: {Buffer | string} The EC Diffie-Hellman public key in the specified
`encoding` and `format`.

Expand Down
4 changes: 2 additions & 2 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -1823,9 +1823,9 @@ changes:
-->

* `options` {Object | string | URL}
* `protocol` {string} Protocol to use. **Default:** `http:`.
* `protocol` {string} Protocol to use. **Default:** `'http:'`.
* `host` {string} A domain name or IP address of the server to issue the
request to. **Default:** `localhost`.
request to. **Default:** `'localhost'`.
* `hostname` {string} Alias for `host`. To support [`url.parse()`][],
`hostname` is preferred over `host`.
* `family` {number} IP address family to use when resolving `host` and
Expand Down
2 changes: 1 addition & 1 deletion doc/api/https.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ changes:
-->
- `options` {Object | string | URL} Accepts all `options` from
[`http.request()`][], with some differences in default values:
- `protocol` **Default:** `https:`
- `protocol` **Default:** `'https:'`
- `port` **Default:** `443`
- `agent` **Default:** `https.globalAgent`
- `callback` {Function}
Expand Down
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ added: v8.0.0
* `warning` {string|Error} The warning to emit.
* `options` {Object}
* `type` {string} When `warning` is a String, `type` is the name to use
for the *type* of warning being emitted. **Default:** `Warning`.
for the *type* of warning being emitted. **Default:** `'Warning'`.
* `code` {string} A unique identifier for the warning instance being emitted.
* `ctor` {Function} When `warning` is a String, `ctor` is an optional
function used to limit the generated stack trace. **Default:**
Expand Down Expand Up @@ -745,7 +745,7 @@ added: v6.0.0

* `warning` {string|Error} The warning to emit.
* `type` {string} When `warning` is a String, `type` is the name to use
for the *type* of warning being emitted. **Default:** `Warning`.
for the *type* of warning being emitted. **Default:** `'Warning'`.
* `code` {string} A unique identifier for the warning instance being emitted.
* `ctor` {Function} When `warning` is a String, `ctor` is an optional
function used to limit the generated stack trace. **Default:**
Expand Down
6 changes: 3 additions & 3 deletions doc/api/repl.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ changes:
-->

* `options` {Object|string}
* `prompt` {string} The input prompt to display. **Default:** `> `.
* `prompt` {string} The input prompt to display. **Default:** `'> '`
(with a trailing space).
* `input` {stream.Readable} The Readable stream from which REPL input will be
read. **Default:** `process.stdin`.
Expand Down Expand Up @@ -513,8 +513,8 @@ environment variables:
- `NODE_REPL_HISTORY_SIZE` - Controls how many lines of history will be
persisted if history is available. Must be a positive number.
**Default:** `1000`.
- `NODE_REPL_MODE` - May be either `sloppy` or `strict`. **Default:** `sloppy`,
which will allow non-strict mode code to be run.
- `NODE_REPL_MODE` - May be either `'sloppy'` or `'strict'`. **Default:**
`'sloppy'`, which will allow non-strict mode code to be run.

### Persistent History

Expand Down