diff options
author | cjihrig <cjihrig@gmail.com> | 2019-10-03 00:39:38 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-02 19:58:26 -0700 |
commit | a67b73b9aee64d74dba52029b57c7d2b97b9e149 (patch) | |
tree | a8a84d59a521f430a958e3121da1b6582a1bac12 | |
parent | 70c24441559422455a51b6c90876034475ac76c6 (diff) | |
download | android-node-v8-a67b73b9aee64d74dba52029b57c7d2b97b9e149.tar.gz android-node-v8-a67b73b9aee64d74dba52029b57c7d2b97b9e149.tar.bz2 android-node-v8-a67b73b9aee64d74dba52029b57c7d2b97b9e149.zip |
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>
-rw-r--r-- | doc/api/deprecations.md | 4 | ||||
-rw-r--r-- | lib/internal/bootstrap/pre_execution.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index a4aad4180c..08f45c396e 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2519,8 +2519,8 @@ Type: Documentation-only Prefer [`response.socket`][] over [`response.connection`] and [`request.socket`][] over [`request.connection`]. -<a id="DEP0XXX"></a> -### DEP0XXX: process._tickCallback +<a id="DEP0134"></a> +### DEP0134: process._tickCallback <!-- YAML changes: - version: REPLACEME diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js index ba8fa39a16..174ffcd018 100644 --- a/lib/internal/bootstrap/pre_execution.js +++ b/lib/internal/bootstrap/pre_execution.js @@ -274,7 +274,7 @@ function initializeDeprecations() { process._tickCallback = deprecate(process._tickCallback, 'process._tickCallback() is deprecated', - 'DEP0XXX'); + 'DEP0134'); } // Create global.process and global.Buffer as getters so that we have a |