Remove insecure and bloated module

This commit is contained in:
Cooldude2606 committed 2024-01-18 18:50:30 +00:00
1 parent 9bcbc1e7f3
commit 0e68596fbd
3 files changed
+47 -13

No files matched your search

+4 -4
View File
@@ -8,8 +8,8 @@ export const levels = Object.freeze({
warn: 2,
audit: 3,
info: 4,
server: 5,
http: 6,
http: 5,
server: 6,
verbose: 7,
});
@@ -19,8 +19,8 @@ export const colors = {
warn: "bold brightYellow",
audit: "bold brightGreen",
info: "bold brightBlue",
http: "bold",
server: "bold",
http: "bold grey",
verbose: "bold grey",
} as const;
winston.addColors(colors);
@@ -174,8 +174,8 @@ export type Logger = Omit<winston.Logger,
warn: winston.LeveledLogMethod,
audit: winston.LeveledLogMethod,
info: winston.LeveledLogMethod,
server: winston.LeveledLogMethod,
http: winston.LeveledLogMethod,
server: winston.LeveledLogMethod,
verbose: winston.LeveledLogMethod,
child(options: object): Logger,
};