doc: update missing deprecation · nodejs/node@c99026b (original) (raw)

3 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -2264,8 +2264,8 @@ undocumented `COUNTER_NET_SERVER_CONNECTION()`,
2264 2264 `COUNTER_HTTP_SERVER_RESPONSE()`, `COUNTER_HTTP_CLIENT_REQUEST()`, and
2265 2265 `COUNTER_HTTP_CLIENT_RESPONSE()` functions have been deprecated.
2266 2266
2267 -
2268 -### DEP00XX: net._setSimultaneousAccepts()
2267 +
2268 +### DEP0121: net._setSimultaneousAccepts()
2269 2269 <!-- YAML
2270 2270 changes:
2271 2271 - version: REPLACEME
Original file line number Diff line number Diff line change
@@ -1677,7 +1677,7 @@ if (process.platform === 'win32') {
1677 1677 if (warnSimultaneousAccepts) {
1678 1678 process.emitWarning(
1679 1679 'net._setSimultaneousAccepts() is deprecated and will be removed.',
1680 -'DeprecationWarning', 'DEP00XX');
1680 +'DeprecationWarning', 'DEP0121');
1681 1681 warnSimultaneousAccepts = false;
1682 1682 }
1683 1683 if (handle === undefined) {
@@ -1699,7 +1699,7 @@ if (process.platform === 'win32') {
1699 1699 if (warnSimultaneousAccepts) {
1700 1700 process.emitWarning(
1701 1701 'net._setSimultaneousAccepts() is deprecated and will be removed.',
1702 -'DeprecationWarning', 'DEP00XX');
1702 +'DeprecationWarning', 'DEP0121');
1703 1703 warnSimultaneousAccepts = false;
1704 1704 }
1705 1705 };
Original file line number Diff line number Diff line change
@@ -11,6 +11,6 @@ const {
11 11 expectWarning(
12 12 'DeprecationWarning',
13 13 'net._setSimultaneousAccepts() is deprecated and will be removed.',
14 -'DEP00XX');
14 +'DEP0121');
15 15
16 16 _setSimultaneousAccepts();