summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/util.ts
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-08-08 13:52:14 +0200
committerGitHub <noreply@github.com>2024-08-08 13:52:14 +0200
commitf50d38869d004fdcfbbdd165f634ab4a4a612d1f (patch)
treec38c884d2763e4f17c681723b7ee830c4379a6f7 /ext/node/polyfills/util.ts
parent65224786d2661fc9d1c42fba17d66079600db6ad (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.ts2
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,
};