module: move Module._debug to end-of-life

Was runtime deprecated 7 years ago. Probably safe to remove now.

PR-URL: https://github.com/nodejs/node/pull/58473
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
James M Snell 2025-05-26 10:57:17 -07:00
parent 62ba6196d4
commit 705bcc2a00
2 changed files with 5 additions and 3 deletions

View File

@ -1769,14 +1769,17 @@ not handle all certificate subjects correctly and should not be used.
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/58473
description: End-of-Life.
- version: v9.0.0
pr-url: https://github.com/nodejs/node/pull/13948
description: Runtime deprecation.
-->
Type: Runtime
Type: End-of-Life
`Module._debug()` is deprecated.
`Module._debug()` has been removed.
The `Module._debug()` function was never documented as an officially
supported API.

View File

@ -429,7 +429,6 @@ ObjectDefineProperty(Module.prototype, 'parent', {
'DEP0144',
),
});
Module._debug = pendingDeprecate(debug, 'Module._debug is deprecated.', 'DEP0077');
Module.isBuiltin = BuiltinModule.isBuiltin;
/**