summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLucas Holmquist <lholmqui@redhat.com>2019-09-30 13:56:26 -0400
committerRich Trott <rtrott@gmail.com>2019-10-02 14:34:55 -0700
commit83418b593f154aab704c7aa198b3c8cc1b974ed3 (patch)
treec3fdfafd3a083b7c5a3a5863747964ea415e2453 /lib
parent420d4e461dcb64bd52b6cce97bcff405efd6878a (diff)
downloadandroid-node-v8-83418b593f154aab704c7aa198b3c8cc1b974ed3.tar.gz
android-node-v8-83418b593f154aab704c7aa198b3c8cc1b974ed3.tar.bz2
android-node-v8-83418b593f154aab704c7aa198b3c8cc1b974ed3.zip
doc: add documentation deprecation for process._tickCallback
This change also supports --pending-deprecation for the new deprecation. PR-URL: https://github.com/nodejs/node/pull/29781 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/bootstrap/pre_execution.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/internal/bootstrap/pre_execution.js b/lib/internal/bootstrap/pre_execution.js
index cab2d47c8e..ba8fa39a16 100644
--- a/lib/internal/bootstrap/pre_execution.js
+++ b/lib/internal/bootstrap/pre_execution.js
@@ -271,6 +271,10 @@ function initializeDeprecations() {
process.binding = deprecate(process.binding,
'process.binding() is deprecated. ' +
'Please use public APIs instead.', 'DEP0111');
+
+ process._tickCallback = deprecate(process._tickCallback,
+ 'process._tickCallback() is deprecated',
+ 'DEP0XXX');
}
// Create global.process and global.Buffer as getters so that we have a