Skip to content

Commit 945982c

Browse files
hutzelknechtMichael Sinner
authored andcommitted
in node 22 there is an error message by node with the code: [DEP0060].
See: https://nodejs.org/api/deprecations.html#dep0060-util_extend
1 parent b7a9137 commit 945982c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var formatters = {
2929

3030
function Logger(options) {
3131
var defaults = JSON.parse(JSON.stringify(Logger.DEFAULTS));
32-
options = Object.assign(defaults, options || {});
32+
options = Object.assign(defaults, options ?? {});
3333
var catcher = deLiner();
3434
var emitter = catcher;
3535
var transforms = [

0 commit comments

Comments
 (0)