File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -624,15 +624,15 @@ changes:
624624 deprecated and emits a warning.
625625-->
626626
627+ > Stability: 0 - Deprecated: Use ` assert.fail([message]) ` or other assert
628+ > functions instead.
629+
627630* ` actual ` {any}
628631* ` expected ` {any}
629632* ` message ` {string|Error}
630633* ` operator ` {string} ** Default:** ` '!=' `
631634* ` stackStartFn ` {Function} ** Default:** ` assert.fail `
632635
633- > Stability: 0 - Deprecated: Use ` assert.fail([message]) ` or other assert
634- > functions instead.
635-
636636If ` message ` is falsy, the error message is set as the values of ` actual ` and
637637` expected ` separated by the provided ` operator ` . If just the two ` actual ` and
638638` expected ` arguments are provided, ` operator ` will default to ` '!=' ` . If
Original file line number Diff line number Diff line change @@ -229,11 +229,11 @@ added: v0.9.12
229229deprecated: v4.0.0
230230-->
231231
232+ > Stability: 0 - Deprecated: Use [ ` emitter.listenerCount() ` ] [ ] instead.
233+
232234* ` emitter ` {EventEmitter} The emitter to query
233235* ` eventName ` {string|symbol} The event name
234236
235- > Stability: 0 - Deprecated: Use [ ` emitter.listenerCount() ` ] [ ] instead.
236-
237237A class method that returns the number of listeners for the given ` eventName `
238238registered on the given ` emitter ` .
239239
Original file line number Diff line number Diff line change @@ -1169,10 +1169,10 @@ added: v0.3.0
11691169deprecated: REPLACEME
11701170-->
11711171
1172- * {net.Socket}
1173-
11741172> Stability: 0 - Deprecated. Use [ ` response.socket ` ] [ ] .
11751173
1174+ * {net.Socket}
1175+
11761176See [ ` response.socket ` ] [ ] .
11771177
11781178### response.end([ data[ , encoding]] [ , callback ] )
Original file line number Diff line number Diff line change @@ -970,12 +970,12 @@ added: v10.12.0
970970deprecated: v12.2.0
971971-->
972972
973+ > Stability: 0 - Deprecated: Please use [` createRequire ()` ][] instead.
974+
973975* ` filename` {string} Filename to be used to construct the relative require
974976 function.
975977* Returns: {require} Require function
976978
977- > Stability: 0 - Deprecated: Please use [` createRequire ()` ][] instead.
978-
979979` ` ` js
980980const { createRequireFromPath } = require (' module' );
981981const requireUtil = createRequireFromPath (' ../src/utils/' );
Original file line number Diff line number Diff line change @@ -482,12 +482,12 @@ added: v0.8.9
482482deprecated: v9.0.0
483483-->
484484
485+ > Stability: 0 - Deprecated.
486+
485487* ` keyword ` {string} the potential keyword to parse and execute
486488* ` rest ` {any} any parameters to the keyword command
487489* Returns: {boolean}
488490
489- > Stability: 0 - Deprecated.
490-
491491An internal method used to parse and execute ` REPLServer ` keywords.
492492Returns ` true ` if ` keyword ` is a valid keyword, otherwise ` false ` .
493493
Original file line number Diff line number Diff line change @@ -1769,11 +1769,11 @@ added: v0.7.5
17691769deprecated: v6.0.0
17701770-->
17711771
1772+ > Stability: 0 - Deprecated: Use [ ` Object.assign() ` ] instead.
1773+
17721774* ` target ` {Object}
17731775* ` source ` {Object}
17741776
1775- > Stability: 0 - Deprecated: Use [ ` Object.assign() ` ] instead.
1776-
17771777The ` util._extend() ` method was never intended to be used outside of internal
17781778Node.js modules. The community found and used it anyway.
17791779
You can’t perform that action at this time.
0 commit comments