Skip to content

Commit a287ccb

Browse files
aduh95joesepi
authored andcommitted
doc: fix deprecation documentation inconsistencies
PR-URL: nodejs#35082 Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent cd0d95c commit a287ccb

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
@@ -2403,6 +2403,8 @@ changes:
24032403
pr-url: https://github.com/nodejs/node/pull/7897
24042404
description: The `callback` parameter is no longer optional. Not passing
24052405
it will emit a deprecation warning with id DEP0013.
2406+
- version: v0.4.7
2407+
description: Documentation-only deprecation.
24062408
-->
24072409

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

24252429
* `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)