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 <[email protected]>
  • Loading branch information
aduh95 authored and ruyadorno committed Sep 21, 2020
1 parent 910deff commit c1e16d1
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -2399,6 +2399,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 @@ -2416,6 +2418,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
Original file line number Diff line number Diff line change
@@ -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 c1e16d1

Please sign in to comment.