Skip to content

Commit f0e5afc

Browse files
committed
src: fix missing deprecation assignment
PR-URL: #23809 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 1bd44d7 commit f0e5afc

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

doc/api/deprecations.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,7 @@ It will become an error in future versions of Node.js.
22352235
22362236
<a id="DEP0119"></a>
22372237
### DEP0119: process.binding('uv').errname() private API
2238-
<!--
2238+
<!-- YAML
22392239
changes:
22402240
- version: REPLACEME
22412241
pr-url: https://github.com/nodejs/node/pull/23597
@@ -2247,6 +2247,23 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
22472247
Directly calling `process.binding('uv').errname(<val>)` is deprecated.
22482248
Please make sure to use [`util.getSystemErrorName()`][] instead.
22492249
2250+
<a id="DEP0120"></a>
2251+
### DEP0120: Windows Performance Counter Support
2252+
<!-- YAML
2253+
changes:
2254+
- version: REPLACEME
2255+
pr-url: https://github.com/nodejs/node/pull/22485
2256+
description: Runtime deprecation.
2257+
-->
2258+
2259+
Type: Runtime
2260+
2261+
Windows Performance Counter support has been removed from Node.js. The
2262+
undocumented `COUNTER_NET_SERVER_CONNECTION()`,
2263+
`COUNTER_NET_SERVER_CONNECTION_CLOSE()`, `COUNTER_HTTP_SERVER_REQUEST()`,
2264+
`COUNTER_HTTP_SERVER_RESPONSE()`, `COUNTER_HTTP_CLIENT_REQUEST()`, and
2265+
`COUNTER_HTTP_CLIENT_RESPONSE()` functions have been deprecated.
2266+
22502267
22512268
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
22522269
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size

lib/internal/bootstrap/node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
enumerable: false,
223223
value: deprecate(noop,
224224
`COUNTER_${names[n]}() is deprecated.`,
225-
'DEP00XX')
225+
'DEP0120')
226226
});
227227
}
228228
}

0 commit comments

Comments
 (0)