mirror of https://github.com/nodejs/node.git
doc: add missing deprecation code
PR-URL: https://github.com/nodejs/node/pull/29820 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
parent
70c2444155
commit
a67b73b9ae
|
@ -2519,8 +2519,8 @@ Type: Documentation-only
|
||||||
Prefer [`response.socket`][] over [`response.connection`] and
|
Prefer [`response.socket`][] over [`response.connection`] and
|
||||||
[`request.socket`][] over [`request.connection`].
|
[`request.socket`][] over [`request.connection`].
|
||||||
|
|
||||||
<a id="DEP0XXX"></a>
|
<a id="DEP0134"></a>
|
||||||
### DEP0XXX: process._tickCallback
|
### DEP0134: process._tickCallback
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
changes:
|
changes:
|
||||||
- version: REPLACEME
|
- version: REPLACEME
|
||||||
|
|
|
@ -274,7 +274,7 @@ function initializeDeprecations() {
|
||||||
|
|
||||||
process._tickCallback = deprecate(process._tickCallback,
|
process._tickCallback = deprecate(process._tickCallback,
|
||||||
'process._tickCallback() is deprecated',
|
'process._tickCallback() is deprecated',
|
||||||
'DEP0XXX');
|
'DEP0134');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create global.process and global.Buffer as getters so that we have a
|
// Create global.process and global.Buffer as getters so that we have a
|
||||||
|
|
Loading…
Reference in New Issue