File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -2519,6 +2519,19 @@ Type: Documentation-only
2519
2519
Prefer [`response.socket`][] over [`response.connection`] and
2520
2520
[`request.socket`][] over [`request.connection`].
2521
2521
2522
+ <a id="DEP0XXX"></a>
2523
+ ### DEP0XXX: process._tickCallback
2524
+ <!-- YAML
2525
+ changes:
2526
+ - version: REPLACEME
2527
+ pr-url: https://github.com/nodejs/node/pull/29781
2528
+ description: Documentation-only deprecation.
2529
+ -->
2530
+ Type: Documentation-only (supports [`--pending-deprecation`][])
2531
+
2532
+ The `process._tickCallback` property was never documented as
2533
+ an officially supported API.
2534
+
2522
2535
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
2523
2536
[`--throw-deprecation`]: cli.html#cli_throw_deprecation
2524
2537
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
Original file line number Diff line number Diff line change @@ -271,6 +271,10 @@ function initializeDeprecations() {
271
271
process . binding = deprecate ( process . binding ,
272
272
'process.binding() is deprecated. ' +
273
273
'Please use public APIs instead.' , 'DEP0111' ) ;
274
+
275
+ process . _tickCallback = deprecate ( process . _tickCallback ,
276
+ 'process._tickCallback() is deprecated' ,
277
+ 'DEP0XXX' ) ;
274
278
}
275
279
276
280
// Create global.process and global.Buffer as getters so that we have a
You can’t perform that action at this time.
0 commit comments