diff options
author | Marvin Hagemeister <marvin@deno.com> | 2024-08-08 13:52:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 13:52:14 +0200 |
commit | f50d38869d004fdcfbbdd165f634ab4a4a612d1f (patch) | |
tree | c38c884d2763e4f17c681723b7ee830c4379a6f7 /ext/node/polyfills/util.ts | |
parent | 65224786d2661fc9d1c42fba17d66079600db6ad (diff) |
fix(node/util): add missing `debug` alias of `debuglog` (#24944)
Add the missing `node:util.debug` export which is an alias of
`node:util.debuglog`, see
https://nodejs.org/api/util.html#utildebugsection
Diffstat (limited to 'ext/node/polyfills/util.ts')
-rw-r--r-- | ext/node/polyfills/util.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/polyfills/util.ts b/ext/node/polyfills/util.ts index 0c150301a..eee171ccf 100644 --- a/ext/node/polyfills/util.ts +++ b/ext/node/polyfills/util.ts @@ -47,6 +47,7 @@ import { parseArgs } from "ext:deno_node/internal/util/parse_args/parse_args.js" export { callbackify, debuglog, + debuglog as debug, format, formatWithOptions, inspect, @@ -321,5 +322,6 @@ export default { toUSVString, log, debuglog, + debug: debuglog, isDeepStrictEqual, }; |