Skip to content

Commit

Permalink
doc: fix deprecation documentation inconsistencies
Browse files Browse the repository at this point in the history
PR-URL: #35082
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
aduh95 authored and Trott committed Sep 16, 2020
1 parent 3aab64c commit dfa2dad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions doc/api/domain.md
@@ -1,5 +1,6 @@
# Domain
<!-- YAML
deprecated: v1.4.2
changes:
- version: v8.8.0
description: Any `Promise`s created in VM contexts no longer have a
Expand Down
2 changes: 1 addition & 1 deletion doc/api/events.md
Expand Up @@ -305,7 +305,7 @@ The `'removeListener'` event is emitted *after* the `listener` is removed.
### `EventEmitter.listenerCount(emitter, eventName)`
<!-- YAML
added: v0.9.12
deprecated: v4.0.0
deprecated: v3.2.0
-->

> Stability: 0 - Deprecated: Use [`emitter.listenerCount()`][] instead.
Expand Down
4 changes: 4 additions & 0 deletions doc/api/fs.md
Expand Up @@ -2403,6 +2403,8 @@ changes:
pr-url: https://github.com/nodejs/node/pull/7897
description: The `callback` parameter is no longer optional. Not passing
it will emit a deprecation warning with id DEP0013.
- version: v0.4.7
description: Documentation-only deprecation.
-->

* `path` {string|Buffer|URL}
Expand All @@ -2420,6 +2422,8 @@ changes:
- version: v10.6.0
pr-url: https://github.com/nodejs/node/pull/21498
description: This API is no longer deprecated.
- version: v0.4.7
description: Documentation-only deprecation.
-->

* `path` {string|Buffer|URL}
Expand Down
5 changes: 1 addition & 4 deletions doc/api/punycode.md
@@ -1,9 +1,6 @@
# Punycode
<!-- YAML
changes:
- version: v7.0.0
pr-url: https://github.com/nodejs/node/pull/7941
description: Accessing this module will now emit a deprecation warning.
deprecated: v7.0.0
-->

<!--introduced_in=v0.10.0-->
Expand Down

0 comments on commit dfa2dad

Please sign in to comment.