Skip to content

Commit

Permalink
doc: add changelogs for util
Browse files Browse the repository at this point in the history
PR-URL: #11489
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
  • Loading branch information
addaleax committed Feb 24, 2017
1 parent 93e7639 commit b868468
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ util.format(1, 2, 3); // '1 2 3'
## util.inherits(constructor, superConstructor)
<!-- YAML
added: v0.3.0
changes:
- version: v5.0.0
pr-url: https://github.com/nodejs/node/pull/3455
description: The `constructor` parameter can refer to an ES6 class now.
-->

_Note: usage of `util.inherits()` is discouraged. Please use the ES6 `class` and
Expand Down Expand Up @@ -203,6 +207,20 @@ stream.write('With ES6');
## util.inspect(object[, options])
<!-- YAML
added: v0.3.0
changes:
- version: v6.6.0
pr-url: https://github.com/nodejs/node/pull/8174
description: Custom inspection functions can now return `this`.
- version: v6.3.0
pr-url: https://github.com/nodejs/node/pull/7499
description: The `breakLength` option is supported now.
- version: v6.1.0
pr-url: https://github.com/nodejs/node/pull/6334
description: The `maxArrayLength` option is supported now; in particular,
long arrays are truncated by default.
- version: v6.1.0
pr-url: https://github.com/nodejs/node/pull/6465
description: The `showProxy` option is supported now.
-->

* `object` {any} Any JavaScript primitive or Object.
Expand Down

0 comments on commit b868468

Please sign in to comment.