Skip to content

Commit c1e16d1

Browse files
aduh95ruyadorno
authored andcommitted
doc: fix deprecation documentation inconsistencies
PR-URL: #35082 Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 910deff commit c1e16d1

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

doc/api/domain.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Domain
22
<!-- YAML
3+
deprecated: v1.4.2
34
changes:
45
- version: v8.8.0
56
description: Any `Promise`s created in VM contexts no longer have a

doc/api/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ The `'removeListener'` event is emitted *after* the `listener` is removed.
305305
### `EventEmitter.listenerCount(emitter, eventName)`
306306
<!-- YAML
307307
added: v0.9.12
308-
deprecated: v4.0.0
308+
deprecated: v3.2.0
309309
-->
310310

311311
> Stability: 0 - Deprecated: Use [`emitter.listenerCount()`][] instead.

doc/api/fs.md

+4
Original file line numberDiff line numberDiff line change
@@ -2399,6 +2399,8 @@ changes:
23992399
pr-url: https://github.com/nodejs/node/pull/7897
24002400
description: The `callback` parameter is no longer optional. Not passing
24012401
it will emit a deprecation warning with id DEP0013.
2402+
- version: v0.4.7
2403+
description: Documentation-only deprecation.
24022404
-->
24032405

24042406
* `path` {string|Buffer|URL}
@@ -2416,6 +2418,8 @@ changes:
24162418
- version: v10.6.0
24172419
pr-url: https://github.com/nodejs/node/pull/21498
24182420
description: This API is no longer deprecated.
2421+
- version: v0.4.7
2422+
description: Documentation-only deprecation.
24192423
-->
24202424

24212425
* `path` {string|Buffer|URL}

doc/api/punycode.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Punycode
22
<!-- YAML
3-
changes:
4-
- version: v7.0.0
5-
pr-url: https://github.com/nodejs/node/pull/7941
6-
description: Accessing this module will now emit a deprecation warning.
3+
deprecated: v7.0.0
74
-->
85

96
<!--introduced_in=v0.10.0-->

0 commit comments

Comments
 (0)