File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -623,15 +623,15 @@ changes:
623
623
deprecated and emits a warning.
624
624
-->
625
625
626
+ > Stability: 0 - Deprecated: Use ` assert.fail([message]) ` or other assert
627
+ > functions instead.
628
+
626
629
* ` actual ` {any}
627
630
* ` expected ` {any}
628
631
* ` message ` {string|Error}
629
632
* ` operator ` {string} ** Default:** ` '!=' `
630
633
* ` stackStartFn ` {Function} ** Default:** ` assert.fail `
631
634
632
- > Stability: 0 - Deprecated: Use ` assert.fail([message]) ` or other assert
633
- > functions instead.
634
-
635
635
If ` message ` is falsy, the error message is set as the values of ` actual ` and
636
636
` expected ` separated by the provided ` operator ` . If just the two ` actual ` and
637
637
` 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
229
229
deprecated: v4.0.0
230
230
-->
231
231
232
+ > Stability: 0 - Deprecated: Use [ ` emitter.listenerCount() ` ] [ ] instead.
233
+
232
234
* ` emitter ` {EventEmitter} The emitter to query
233
235
* ` eventName ` {string|symbol} The event name
234
236
235
- > Stability: 0 - Deprecated: Use [ ` emitter.listenerCount() ` ] [ ] instead.
236
-
237
237
A class method that returns the number of listeners for the given ` eventName `
238
238
registered on the given ` emitter ` .
239
239
Original file line number Diff line number Diff line change @@ -970,12 +970,12 @@ added: v10.12.0
970
970
deprecated: v12.2.0
971
971
-->
972
972
973
+ > Stability: 0 - Deprecated: Please use [` createRequire ()` ][] instead.
974
+
973
975
* ` filename` {string} Filename to be used to construct the relative require
974
976
function.
975
977
* Returns: {require} Require function
976
978
977
- > Stability: 0 - Deprecated: Please use [` createRequire ()` ][] instead.
978
-
979
979
` ` ` js
980
980
const { createRequireFromPath } = require (' module' );
981
981
const requireUtil = createRequireFromPath (' ../src/utils/' );
Original file line number Diff line number Diff line change @@ -482,12 +482,12 @@ added: v0.8.9
482
482
deprecated: v9.0.0
483
483
-->
484
484
485
+ > Stability: 0 - Deprecated.
486
+
485
487
* ` keyword ` {string} the potential keyword to parse and execute
486
488
* ` rest ` {any} any parameters to the keyword command
487
489
* Returns: {boolean}
488
490
489
- > Stability: 0 - Deprecated.
490
-
491
491
An internal method used to parse and execute ` REPLServer ` keywords.
492
492
Returns ` true ` if ` keyword ` is a valid keyword, otherwise ` false ` .
493
493
Original file line number Diff line number Diff line change @@ -1766,11 +1766,11 @@ added: v0.7.5
1766
1766
deprecated: v6.0.0
1767
1767
-->
1768
1768
1769
+ > Stability: 0 - Deprecated: Use [ ` Object.assign() ` ] instead.
1770
+
1769
1771
* ` target ` {Object}
1770
1772
* ` source ` {Object}
1771
1773
1772
- > Stability: 0 - Deprecated: Use [ ` Object.assign() ` ] instead.
1773
-
1774
1774
The ` util._extend() ` method was never intended to be used outside of internal
1775
1775
Node.js modules. The community found and used it anyway.
1776
1776
You can’t perform that action at this time.
0 commit comments