doc: fix deprecation documentation inconsistencies

PR-URL: https://github.com/nodejs/node/pull/35082
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Antoine du HAMEL authored and Rich Trott committed 2020-09-16 07:10:21 -07:00
1 parent 3aab64cd5f
commit dfa2dada07
4 files changed
+7 -5

No files matched your search

+1
View File
@@ -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
+1 -1
View File
@@ -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.
+4
View File
@@ -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}
@@ -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}
+1 -4
View File
@@ -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-->