Skip to content

Commit 705bcc2

Browse files
committed
module: move Module._debug to end-of-life
Was runtime deprecated 7 years ago. Probably safe to remove now. PR-URL: #58473 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 62ba619 commit 705bcc2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

doc/api/deprecations.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,14 +1769,17 @@ not handle all certificate subjects correctly and should not be used.
17691769

17701770
<!-- YAML
17711771
changes:
1772+
- version: REPLACEME
1773+
pr-url: https://github.com/nodejs/node/pull/58473
1774+
description: End-of-Life.
17721775
- version: v9.0.0
17731776
pr-url: https://github.com/nodejs/node/pull/13948
17741777
description: Runtime deprecation.
17751778
-->
17761779

1777-
Type: Runtime
1780+
Type: End-of-Life
17781781

1779-
`Module._debug()` is deprecated.
1782+
`Module._debug()` has been removed.
17801783

17811784
The `Module._debug()` function was never documented as an officially
17821785
supported API.

lib/internal/modules/cjs/loader.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ ObjectDefineProperty(Module.prototype, 'parent', {
429429
'DEP0144',
430430
),
431431
});
432-
Module._debug = pendingDeprecate(debug, 'Module._debug is deprecated.', 'DEP0077');
433432
Module.isBuiltin = BuiltinModule.isBuiltin;
434433

435434
/**

0 commit comments

Comments
 (0)