Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
module: move Module._debug to end-of-life
Was runtime deprecated 7 years ago. Probably safe to remove now.
  • Loading branch information
jasnell committed May 26, 2025
commit 87b59c7635fe5641851adfc68c5e136e032b21e7
7 changes: 5 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1769,14 +1769,17 @@

<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/00000

Check warning on line 1773 in doc/api/deprecations.md

View workflow job for this annotation

GitHub Actions / lint-pr-url

pr-url doesn't match the URL of the current PR.
Comment thread
jasnell marked this conversation as resolved.
Outdated
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.
Expand Down
1 change: 0 additions & 1 deletion lib/internal/modules/cjs/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ ObjectDefineProperty(Module.prototype, 'parent', {
'DEP0144',
),
});
Module._debug = pendingDeprecate(debug, 'Module._debug is deprecated.', 'DEP0077');
Module.isBuiltin = BuiltinModule.isBuiltin;

/**
Expand Down
Loading