src: fix missing deprecation assignment
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
9464e43c7b
commit
7f61b528d3
@ -2235,7 +2235,7 @@ It will become an error in future versions of Node.js.
|
||||
|
||||
<a id="DEP0119"></a>
|
||||
### DEP0119: process.binding('uv').errname() private API
|
||||
<!--
|
||||
<!-- YAML
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/23597
|
||||
@ -2247,6 +2247,23 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
|
||||
Directly calling `process.binding('uv').errname(<val>)` is deprecated.
|
||||
Please make sure to use [`util.getSystemErrorName()`][] instead.
|
||||
|
||||
<a id="DEP0120"></a>
|
||||
### DEP0120: Windows Performance Counter Support
|
||||
<!-- YAML
|
||||
changes:
|
||||
- version: REPLACEME
|
||||
pr-url: https://github.com/nodejs/node/pull/22485
|
||||
description: Runtime deprecation.
|
||||
-->
|
||||
|
||||
Type: Runtime
|
||||
|
||||
Windows Performance Counter support has been removed from Node.js. The
|
||||
undocumented `COUNTER_NET_SERVER_CONNECTION()`,
|
||||
`COUNTER_NET_SERVER_CONNECTION_CLOSE()`, `COUNTER_HTTP_SERVER_REQUEST()`,
|
||||
`COUNTER_HTTP_SERVER_RESPONSE()`, `COUNTER_HTTP_CLIENT_REQUEST()`, and
|
||||
`COUNTER_HTTP_CLIENT_RESPONSE()` functions have been deprecated.
|
||||
|
||||
|
||||
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
|
||||
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
|
||||
|
@ -222,7 +222,7 @@
|
||||
enumerable: false,
|
||||
value: deprecate(noop,
|
||||
`COUNTER_${names[n]}() is deprecated.`,
|
||||
'DEP00XX')
|
||||
'DEP0120')
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user