diff --git a/CHANGELOG.md b/CHANGELOG.md index 818f8f1eeae..1a9656e1033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,7 +29,8 @@ release. -9.0.0
+9.1.0
+9.0.0
8.9.0
@@ -50,7 +51,8 @@ release. 8.0.0
-6.11.5
+6.12.0
+6.11.5
6.11.4
6.11.3
6.11.2
@@ -81,7 +83,8 @@ release. 6.0.0
-4.8.5
+4.8.6
+4.8.5
4.8.4
4.8.3
4.8.2
diff --git a/doc/api/console.md b/doc/api/console.md index 9ccdad99983..8a9ca1ac861 100644 --- a/doc/api/console.md +++ b/doc/api/console.md @@ -216,7 +216,7 @@ undefined > ``` -### console.countReset([label = 'default']) +### console.countReset([label='default']) @@ -293,7 +293,7 @@ values are concatenated. See [`util.format()`][] for more information. added: v8.5.0 --> -* `label` {any} +* `...label` {any} Increases indentation of subsequent lines by two spaces. diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 980537640f6..910289b37f9 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -629,7 +629,7 @@ and `udp6` sockets). The bound address and port can be retrieved using [`socket.address().address`]: #dgram_socket_address [`socket.address().port`]: #dgram_socket_address [`socket.bind()`]: #dgram_socket_bind_port_address_callback -[`System Error`]: errors.html#errors_class_system_error +[`System Error`]: errors.html#errors_class_systemerror [byte length]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding [IPv6 Zone Indices]: https://en.wikipedia.org/wiki/IPv6_address#Link-local_addresses_and_zone_indices [RFC 4007]: https://tools.ietf.org/html/rfc4007 diff --git a/doc/api/errors.md b/doc/api/errors.md index 1210a721538..548113a47d0 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -76,8 +76,8 @@ Errors that occur within _Asynchronous APIs_ may be reported in multiple ways: // Otherwise handle the data }); ``` -- When an asynchronous method is called on an object that is an `EventEmitter`, - errors can be routed to that object's `'error'` event. +- When an asynchronous method is called on an object that is an + [`EventEmitter`][], errors can be routed to that object's `'error'` event. ```js const net = require('net'); @@ -105,7 +105,7 @@ and [event emitter-based][] APIs, which themselves represent a series of asynchronous operations over time (as opposed to a single operation that may pass or fail). -For *all* `EventEmitter` objects, if an `'error'` event handler is not +For *all* [`EventEmitter`][] objects, if an `'error'` event handler is not provided, the error will be thrown, causing the Node.js process to report an unhandled exception and crash unless either: The [`domain`][domains] module is used appropriately or a handler has been registered for the @@ -1474,7 +1474,7 @@ Used when a string that contains unescaped characters was received. ### ERR_UNHANDLED_ERROR Used when an unhandled "error" occurs (for instance, when an `'error'` event -is emitted by an `EventEmitter` but an `'error'` handler is not registered). +is emitted by an [`EventEmitter`][] but an `'error'` handler is not registered). ### ERR_UNKNOWN_ENCODING @@ -1551,6 +1551,7 @@ Used when creation of a [`zlib`][] object fails due to incorrect configuration. [`crypto.timingSafeEqual()`]: crypto.html#crypto_crypto_timingsafeequal_a_b [`dgram.createSocket()`]: dgram.html#dgram_dgram_createsocket_options_callback [`ERR_INVALID_ARG_TYPE`]: #ERR_INVALID_ARG_TYPE +[`EventEmitter`]: events.html#events_class_eventemitter [`hash.digest()`]: crypto.html#crypto_hash_digest_encoding [`hash.update()`]: crypto.html#crypto_hash_update_data_inputencoding [`readable._read()`]: stream.html#stream_readable_read_size_1 diff --git a/doc/api/http2.md b/doc/api/http2.md index 623718b6788..33f7caa97b2 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1471,7 +1471,7 @@ not be emitted. diff --git a/doc/api/tty.md b/doc/api/tty.md index 497f53509d5..f91a37a1209 100644 --- a/doc/api/tty.md +++ b/doc/api/tty.md @@ -47,6 +47,13 @@ added: v0.7.7 A `boolean` that is `true` if the TTY is currently configured to operate as a raw device. Defaults to `false`. +### readStream.isTTY + + +A `boolean` that is always `true`. + ### readStream.setRawMode(mode) + +A `boolean` that is always `true`. + ### writeStream.rows \n` + - inc + `\n\n`; - input = input.split(include + '\n').join(includeData[fname] + '\n'); + `${inc}\n\n`; + input = input.split(`${include}\n`).join(`${includeData[fname]}\n`); if (incCount === 0) { return cb(null, input); }