summaryrefslogtreecommitdiff
path: root/doc/api/deprecations.md
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-11-12 10:02:12 -0800
committerDanielle Adams <adamzdanielle@gmail.com>2020-12-07 13:48:22 -0500
commit186ad24fdf80a225a6c36f750ce0922ffef1f54b (patch)
tree5da58c6f7ee9227b08cacf4a771eb1b9d890c799 /doc/api/deprecations.md
parent47397ffd56683e1bddfebdc8a0595bc1d914647c (diff)
downloadnode-new-186ad24fdf80a225a6c36f750ce0922ffef1f54b.tar.gz
doc: cleanup events.md structure
Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/36100 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/deprecations.md')
-rw-r--r--doc/api/deprecations.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 41ad56bc36..47b2a5526d 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -717,7 +717,7 @@ changes:
Type: Documentation-only
-The [`EventEmitter.listenerCount(emitter, eventName)`][] API is
+The [`events.listenerCount(emitter, eventName)`][] API is
deprecated. Please use [`emitter.listenerCount(eventName)`][] instead.
### DEP0034: `fs.exists(path, callback)`
@@ -2712,7 +2712,6 @@ runtime warning results no matter where the `"exports"` usage occurs.
[`Buffer.isBuffer()`]: buffer.md#buffer_static_method_buffer_isbuffer_obj
[`Cipher`]: crypto.md#crypto_class_cipher
[`Decipher`]: crypto.md#crypto_class_decipher
-[`EventEmitter.listenerCount(emitter, eventName)`]: events.md#events_eventemitter_listenercount_emitter_eventname
[`REPLServer.clearBufferedCommand()`]: repl.md#repl_replserver_clearbufferedcommand
[`ReadStream.open()`]: fs.md#fs_class_fs_readstream
[`Server.getConnections()`]: net.md#net_server_getconnections_callback
@@ -2741,6 +2740,7 @@ runtime warning results no matter where the `"exports"` usage occurs.
[`domain`]: domain.md
[`ecdh.setPublicKey()`]: crypto.md#crypto_ecdh_setpublickey_publickey_encoding
[`emitter.listenerCount(eventName)`]: events.md#events_emitter_listenercount_eventname
+[`events.listenerCount(emitter, eventName)`]: events.md#events_events_listenercount_emitter_eventname
[`fs.FileHandle`]: fs.md#fs_class_filehandle
[`fs.access()`]: fs.md#fs_fs_access_path_mode_callback
[`fs.createReadStream()`]: fs.md#fs_fs_createreadstream_path_options