NeonJS
/
framework
Archived
0
0
Fork 0

feat: switched logger to winston

This commit is contained in:
Daryl Ronningen 2021-11-04 15:54:32 -07:00
parent 3330f72ad8
commit 4223f51976
Signed by: Daryl Ronningen
GPG Key ID: FD23F0C934A5EC6B
5 changed files with 239 additions and 225 deletions

View File

@ -45,8 +45,7 @@
"discord.js": "^13.3.1",
"lodash": "^4.17.21",
"node-fetch": "^3.0.0",
"pino": "^ v6.13.3",
"pino-pretty": "^ v6.0.0"
"winston": "^3.3.3"
},
"devDependencies": {
"@commitlint/cli": "^14.1.0",
@ -61,7 +60,6 @@
"@types/eslint": "^7.28.2",
"@types/lodash": "^4.14.176",
"@types/node": "^16.11.6",
"@types/pino": "^6.3.12",
"@types/semantic-release": "^17.2.2",
"@types/source-map-support": "^0.5.4",
"@typescript-eslint/eslint-plugin": "^5.3.0",

View File

@ -1,11 +1,9 @@
import { REST } from '@discordjs/rest';
import { APIApplicationCommand, Routes } from 'discord-api-types/v9';
import { ApplicationCommand, ApplicationCommandOptionData, ChatInputApplicationCommandData, Client, ClientOptions, Collection } from 'discord.js';
import _ from 'lodash';
import path from 'path';
import pino from 'pino';
import PinoPretty from 'pino-pretty';
import Logger from './utils/logger';
import { walkDir } from './utils/utils';
import type { Command } from './structures/command';
@ -16,9 +14,10 @@ let isBotReady = false;
export class NeonClient extends Client {
public commands: Collection<string, Command> = new Collection();
public logger = pino({ level: 'trace', prettifier: PinoPretty({ colorize: true, translateTime: true, levelFirst: true }) });
public ownerID: string;
public static logger = new Logger();
public constructor(ownerID: string, options: ClientOptions) {
super(options);
@ -115,7 +114,7 @@ export class NeonClient extends Client {
if (findCommand.options.ownerOnly && interaction.user.id !== this.ownerID) {
await interaction.reply('This command can be ran by the bot owner only!');
this.logger.warn(`$${interaction.user.username} tried running command ${findCommand.options.name} but doesn't have the permissions to.`);
this.logger.notice(`$${interaction.user.username} tried running command ${findCommand.options.name} but doesn't have the permissions to.`);
return;
}
@ -123,7 +122,7 @@ export class NeonClient extends Client {
if ((findCommand.options.runIn === 'dms') && interaction.channel?.type !== 'DM') {
await interaction.reply('This command can only be ran in DMs!');
this.logger.warn(`$${interaction.user.username} tried running command ${findCommand.options.name} in a server but the command can only be ran in a DM.`);
this.logger.notice(`$${interaction.user.username} tried running command ${findCommand.options.name} in a server but the command can only be ran in a DM.`);
return;
}
@ -131,7 +130,7 @@ export class NeonClient extends Client {
if ((findCommand.options.runIn === 'servers') && interaction.channel?.type !== 'GUILD_TEXT') {
await interaction.reply('This command can only be ran in a Server!');
this.logger.warn(`$${interaction.user.username} tried running command ${findCommand.options.name} in a DM but the command can only be ran in a Server.`);
this.logger.notice(`$${interaction.user.username} tried running command ${findCommand.options.name} in a DM but the command can only be ran in a Server.`);
return;
}

View File

@ -1,11 +1,11 @@
import type { Collection } from 'discord.js';
import type pino from 'pino';
import type Logger from './logger';
import type { Command } from '../structures/command';
declare module 'discord.js' {
// eslint-disable-next-line @typescript-eslint/naming-convention
interface Client {
commands: Collection<string, Command>;
logger: pino.Logger;
logger: Logger;
}
}

55
src/lib/utils/logger.ts Normal file
View File

@ -0,0 +1,55 @@
import winston from 'winston';
winston.addColors(winston.config.syslog.colors);
export default class Logger {
private readonly _logger = winston.createLogger({
level: 'debug',
levels: winston.config.syslog.levels,
format: winston.format.combine(
winston.format.colorize({ all: true }),
winston.format.timestamp({ format: 'YYYY-MM-DD hh:mm:ss A (ZZ)' }),
winston.format.prettyPrint({ colorize: true }),
winston.format.align(),
winston.format.printf((info) => `[${info.level}] [${info['timestamp']}]: ${info.message}`),
),
transports: [
new winston.transports.Console(),
],
exceptionHandlers: [
new winston.transports.Console(),
],
});
public emerg(message: string): void {
this._logger.emerg(message);
}
public alert(message: string): void {
this._logger.alert(message);
}
public crit(message: string): void {
this._logger.crit(message);
}
public error(message: string): void {
this._logger.error(message);
}
public warning(message: string): void {
this._logger.warning(message);
}
public notice(message: string): void {
this._logger.notice(message);
}
public info(message: string): void {
this._logger.info(message);
}
public debug(message: string): void {
this._logger.debug(message);
}
}

388
yarn.lock
View File

@ -504,6 +504,17 @@ __metadata:
languageName: node
linkType: hard
"@dabh/diagnostics@npm:^2.0.2":
version: 2.0.2
resolution: "@dabh/diagnostics@npm:2.0.2"
dependencies:
colorspace: 1.1.x
enabled: 2.0.x
kuler: ^2.0.0
checksum: 4d95cc31249a840b6cc3dba3dc4345a9295265413456068a0d07b69fa0ec6a5a5bc2c39e56ec04c6509ac1f4d9c17fc80baaaddd5caa1abcdd3aaeffe2b63cec
languageName: node
linkType: hard
"@discordjs/builders@npm:^0.8.1":
version: 0.8.1
resolution: "@discordjs/builders@npm:0.8.1"
@ -596,13 +607,6 @@ __metadata:
languageName: node
linkType: hard
"@hapi/bourne@npm:^2.0.0":
version: 2.0.0
resolution: "@hapi/bourne@npm:2.0.0"
checksum: 2ea0922101d3fecec43428194c72c5dbe0be908dd7ad07347879dc720820ac410ead79a4c349a2e1726e8af062464160c6d32b6566bbc4c60865923f9d7dd006
languageName: node
linkType: hard
"@humanwhocodes/config-array@npm:^0.6.0":
version: 0.6.0
resolution: "@humanwhocodes/config-array@npm:0.6.0"
@ -645,7 +649,6 @@ __metadata:
"@types/eslint": ^7.28.2
"@types/lodash": ^4.14.176
"@types/node": ^16.11.6
"@types/pino": ^6.3.12
"@types/semantic-release": ^17.2.2
"@types/source-map-support": ^0.5.4
"@typescript-eslint/eslint-plugin": ^5.3.0
@ -662,13 +665,12 @@ __metadata:
lint-staged: ^11.2.6
lodash: ^4.17.21
node-fetch: ^3.0.0
pino: ^ v6.13.3
pino-pretty: ^ v6.0.0
pinst: ^2.1.6
rimraf: ^3.0.2
semantic-release: ^18.0.0
source-map-support: ^0.5.20
typescript: ^4.4.4
winston: ^3.3.3
languageName: unknown
linkType: soft
@ -1392,36 +1394,6 @@ __metadata:
languageName: node
linkType: hard
"@types/pino-pretty@npm:*":
version: 4.7.1
resolution: "@types/pino-pretty@npm:4.7.1"
dependencies:
"@types/pino": "*"
checksum: 5a8a80bd42eda30c4aa0a322cdc55e8dd88d768b84d2e549802a3f6a2d822824364598ba4e24b3db701d87b0478568b5fe4d036f4146d0a3691fb751ccc83d50
languageName: node
linkType: hard
"@types/pino-std-serializers@npm:*":
version: 2.4.1
resolution: "@types/pino-std-serializers@npm:2.4.1"
dependencies:
"@types/node": "*"
checksum: a156e25882db9aade2576dbe6414379efcdd4fad24211d3f22f20e0cd4bee569215799ee5cd9b2b15282f18461a8a54573ff42bf6bee5d35b72513be2f78bdec
languageName: node
linkType: hard
"@types/pino@npm:*, @types/pino@npm:^6.3.12":
version: 6.3.12
resolution: "@types/pino@npm:6.3.12"
dependencies:
"@types/node": "*"
"@types/pino-pretty": "*"
"@types/pino-std-serializers": "*"
sonic-boom: ^2.1.0
checksum: 801735146669312d02459781e5180220630eaef643da36dc5a9a97520e7ecc3da7270f31a86fcdcb1dc835073c9143fc628024ba5e3a0ea7cbb86aada4897709
languageName: node
linkType: hard
"@types/responselike@npm:*, @types/responselike@npm:^1.0.0":
version: 1.0.0
resolution: "@types/responselike@npm:1.0.0"
@ -1800,18 +1772,6 @@ __metadata:
languageName: node
linkType: hard
"args@npm:^5.0.1":
version: 5.0.1
resolution: "args@npm:5.0.1"
dependencies:
camelcase: 5.0.0
chalk: 2.4.2
leven: 2.1.0
mri: 1.1.4
checksum: 51e2a05f32d15b8e292f000e6b232118df61b8f4fd446b17bb4e99df9ab47fe2c4a01924d7f967a6f08e82f9c19be277b08ed22bceff058aca849144ef8efed3
languageName: node
linkType: hard
"argv-formatter@npm:~1.0.0":
version: 1.0.0
resolution: "argv-formatter@npm:1.0.0"
@ -1870,6 +1830,13 @@ __metadata:
languageName: node
linkType: hard
"async@npm:^3.1.0":
version: 3.2.2
resolution: "async@npm:3.2.2"
checksum: 90712c98df0c6d0ef0190f8bee9797bf6c7035a1317c9a036b80306a8d2246396b3ee356b4540ff349e29e625fafa25d4f04e11b6ac1c5f6b4c74c803e641137
languageName: node
linkType: hard
"asynckit@npm:^0.4.0":
version: 0.4.0
resolution: "asynckit@npm:0.4.0"
@ -1884,13 +1851,6 @@ __metadata:
languageName: node
linkType: hard
"atomic-sleep@npm:^1.0.0":
version: 1.0.0
resolution: "atomic-sleep@npm:1.0.0"
checksum: b95275afb2f80732f22f43a60178430c468906a415a7ff18bcd0feeebc8eec3930b51250aeda91a476062a90e07132b43a1794e8d8ffcf9b650e8139be75fa36
languageName: node
linkType: hard
"aws-sign2@npm:~0.7.0":
version: 0.7.0
resolution: "aws-sign2@npm:0.7.0"
@ -2115,13 +2075,6 @@ __metadata:
languageName: node
linkType: hard
"camelcase@npm:5.0.0":
version: 5.0.0
resolution: "camelcase@npm:5.0.0"
checksum: 8bfe920e0472d79d34f0279da1391f155bcce7fc74c99b49dafae4f787396040a34f4023da837ab0b4372e63224b460f9524b495906863c38876faea9da53705
languageName: node
linkType: hard
"camelcase@npm:^5.3.1":
version: 5.3.1
resolution: "camelcase@npm:5.3.1"
@ -2165,7 +2118,7 @@ __metadata:
languageName: node
linkType: hard
"chalk@npm:2.4.2, chalk@npm:^2.0.0, chalk@npm:^2.3.2, chalk@npm:^2.4.1, chalk@npm:^2.4.2":
"chalk@npm:^2.0.0, chalk@npm:^2.3.2, chalk@npm:^2.4.1, chalk@npm:^2.4.2":
version: 2.4.2
resolution: "chalk@npm:2.4.2"
dependencies:
@ -2338,7 +2291,7 @@ __metadata:
languageName: node
linkType: hard
"color-convert@npm:^1.9.0":
"color-convert@npm:^1.9.0, color-convert@npm:^1.9.3":
version: 1.9.3
resolution: "color-convert@npm:1.9.3"
dependencies:
@ -2363,13 +2316,23 @@ __metadata:
languageName: node
linkType: hard
"color-name@npm:~1.1.4":
"color-name@npm:^1.0.0, color-name@npm:~1.1.4":
version: 1.1.4
resolution: "color-name@npm:1.1.4"
checksum: b0445859521eb4021cd0fb0cc1a75cecf67fceecae89b63f62b201cca8d345baf8b952c966862a9d9a2632987d4f6581f0ec8d957dfacece86f0a7919316f610
languageName: node
linkType: hard
"color-string@npm:^1.6.0":
version: 1.6.0
resolution: "color-string@npm:1.6.0"
dependencies:
color-name: ^1.0.0
simple-swizzle: ^0.2.2
checksum: 33466a65277dd3d4ce24ef1991b47069292f75d1a43b0d2e7ea43076ba793728e965d50deed2b523f35519f4995a908253fcbcc774baceae8e439bc78c02e850
languageName: node
linkType: hard
"color-support@npm:^1.1.2":
version: 1.1.3
resolution: "color-support@npm:1.1.3"
@ -2379,20 +2342,40 @@ __metadata:
languageName: node
linkType: hard
"colorette@npm:^1.3.0, colorette@npm:^1.4.0":
"color@npm:^3.1.3":
version: 3.2.1
resolution: "color@npm:3.2.1"
dependencies:
color-convert: ^1.9.3
color-string: ^1.6.0
checksum: f81220e8b774d35865c2561be921f5652117638dcda7ca4029262046e37fc2444ac7bbfdd110cf1fd9c074a4ee5eda8f85944ffbdda26186b602dd9bb05f6400
languageName: node
linkType: hard
"colorette@npm:^1.4.0":
version: 1.4.0
resolution: "colorette@npm:1.4.0"
checksum: 01c3c16058b182a4ab4c126a65a75faa4d38a20fa7c845090b25453acec6c371bb2c5dceb0a2338511f17902b9d1a9af0cadd8509c9403894b79311032c256c3
languageName: node
linkType: hard
"colors@npm:^1.1.2":
"colors@npm:^1.1.2, colors@npm:^1.2.1":
version: 1.4.0
resolution: "colors@npm:1.4.0"
checksum: 98aa2c2418ad87dedf25d781be69dc5fc5908e279d9d30c34d8b702e586a0474605b3a189511482b9d5ed0d20c867515d22749537f7bc546256c6014f3ebdcec
languageName: node
linkType: hard
"colorspace@npm:1.1.x":
version: 1.1.4
resolution: "colorspace@npm:1.1.4"
dependencies:
color: ^3.1.3
text-hex: 1.0.x
checksum: bb3934ef3c417e961e6d03d7ca60ea6e175947029bfadfcdb65109b01881a1c0ecf9c2b0b59abcd0ee4a0d7c1eae93beed01b0e65848936472270a0b341ebce8
languageName: node
linkType: hard
"columnify@npm:*":
version: 1.5.4
resolution: "columnify@npm:1.5.4"
@ -2658,13 +2641,6 @@ __metadata:
languageName: node
linkType: hard
"dateformat@npm:^4.5.1":
version: 4.6.3
resolution: "dateformat@npm:4.6.3"
checksum: c3aa0617c0a5b30595122bc8d1bee6276a9221e4d392087b41cbbdf175d9662ae0e50d0d6dcdf45caeac5153c4b5b0844265f8cd2b2245451e3da19e39e3b65d
languageName: node
linkType: hard
"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2":
version: 4.3.2
resolution: "debug@npm:4.3.2"
@ -2936,6 +2912,13 @@ __metadata:
languageName: node
linkType: hard
"enabled@npm:2.0.x":
version: 2.0.0
resolution: "enabled@npm:2.0.0"
checksum: 9d256d89f4e8a46ff988c6a79b22fa814b4ffd82826c4fdacd9b42e9b9465709d3b748866d0ab4d442dfc6002d81de7f7b384146ccd1681f6a7f868d2acca063
languageName: node
linkType: hard
"encoding@npm:^0.1.12":
version: 0.1.13
resolution: "encoding@npm:0.1.13"
@ -3349,20 +3332,6 @@ __metadata:
languageName: node
linkType: hard
"fast-redact@npm:^3.0.0":
version: 3.0.2
resolution: "fast-redact@npm:3.0.2"
checksum: f4ffdf48f1647dbe0411884e5dca85ebef0762d1ce1937f6779beaea5c83ef7c35416d800b2bff60f1a252b670d1707f9484c9a5d0ef721e68f3dae94b420fa8
languageName: node
linkType: hard
"fast-safe-stringify@npm:^2.0.7, fast-safe-stringify@npm:^2.0.8":
version: 2.1.1
resolution: "fast-safe-stringify@npm:2.1.1"
checksum: a851cbddc451745662f8f00ddb622d6766f9bd97642dabfd9a405fb0d646d69fc0b9a1243cbf67f5f18a39f40f6fa821737651ff1bceeba06c9992ca2dc5bd3d
languageName: node
linkType: hard
"fastest-levenshtein@npm:*":
version: 1.0.12
resolution: "fastest-levenshtein@npm:1.0.12"
@ -3370,13 +3339,6 @@ __metadata:
languageName: node
linkType: hard
"fastify-warning@npm:^0.2.0":
version: 0.2.0
resolution: "fastify-warning@npm:0.2.0"
checksum: c19ebccf54a3122877d2248400772ca98bacbabdf97826211ede29246c640d47431a2eebed1f52f9421139ed5e52e42d3bd4aefc46e27b6f34add3507529fd97
languageName: node
linkType: hard
"fastq@npm:^1.6.0":
version: 1.13.0
resolution: "fastq@npm:1.13.0"
@ -3386,6 +3348,13 @@ __metadata:
languageName: node
linkType: hard
"fecha@npm:^4.2.0":
version: 4.2.1
resolution: "fecha@npm:4.2.1"
checksum: 26993474949d94cd2de5eee7dfe283d671d5cd61acdba8819df478cbc86495273363f4a7e98d15ee51563110a38328d268982a6e9048169bce8f15aeba5931f9
languageName: node
linkType: hard
"fetch-blob@npm:^3.1.2":
version: 3.1.2
resolution: "fetch-blob@npm:3.1.2"
@ -3508,13 +3477,6 @@ __metadata:
languageName: node
linkType: hard
"flatstr@npm:^1.0.12":
version: 1.0.12
resolution: "flatstr@npm:1.0.12"
checksum: e1bb562c94b119e958bf37e55738b172b5f8aaae6532b9660ecd877779f8559dbbc89613ba6b29ccc13447e14c59277d41450f785cf75c30df9fce62f459e9a8
languageName: node
linkType: hard
"flatted@npm:^3.1.0":
version: 3.2.2
resolution: "flatted@npm:3.2.2"
@ -3522,6 +3484,13 @@ __metadata:
languageName: node
linkType: hard
"fn.name@npm:1.x.x":
version: 1.1.0
resolution: "fn.name@npm:1.1.0"
checksum: e357144f48cfc9a7f52a82bbc6c23df7c8de639fce049cac41d41d62cabb740cdb9f14eddc6485e29c933104455bdd7a69bb14a9012cef9cd4fa252a4d0cf293
languageName: node
linkType: hard
"forever-agent@npm:~0.6.1":
version: 0.6.1
resolution: "forever-agent@npm:0.6.1"
@ -4305,6 +4274,13 @@ __metadata:
languageName: node
linkType: hard
"is-arrayish@npm:^0.3.1":
version: 0.3.2
resolution: "is-arrayish@npm:0.3.2"
checksum: 977e64f54d91c8f169b59afcd80ff19227e9f5c791fa28fa2e5bce355cbaf6c2c356711b734656e80c9dd4a854dd7efcf7894402f1031dfc5de5d620775b4d5f
languageName: node
linkType: hard
"is-builtin-module@npm:^3.1.0":
version: 3.1.0
resolution: "is-builtin-module@npm:3.1.0"
@ -4526,20 +4502,6 @@ __metadata:
languageName: node
linkType: hard
"jmespath@npm:^0.15.0":
version: 0.15.0
resolution: "jmespath@npm:0.15.0"
checksum: 353bb9e69cc4c1560be0a4df43cb4020abc246e1c60cb5b55dcc76d8c858383f1633faf22ccaf6a5e09568a2077d0f4f1e989e6fcfd496b5cef87964cc8cb9e7
languageName: node
linkType: hard
"joycon@npm:^3.0.0":
version: 3.0.1
resolution: "joycon@npm:3.0.1"
checksum: 1fb67a921e468e1c8f665fe6cf6758194edd19a41fcdb05b2e2a480ddf1ab6418042b9e989b4057fce46e4eddf4c284972c19aef791cda501410bf4dc4ec2b71
languageName: node
linkType: hard
"js-tokens@npm:^4.0.0":
version: 4.0.0
resolution: "js-tokens@npm:4.0.0"
@ -4727,10 +4689,10 @@ __metadata:
languageName: node
linkType: hard
"leven@npm:2.1.0":
version: 2.1.0
resolution: "leven@npm:2.1.0"
checksum: f7b4a01b15c0ee2f92a04c0367ea025d10992b044df6f0d4ee1a845d4a488b343e99799e2f31212d72a2b1dea67124f57c1bb1b4561540df45190e44b5b8b394
"kuler@npm:^2.0.0":
version: 2.0.0
resolution: "kuler@npm:2.0.0"
checksum: 9e10b5a1659f9ed8761d38df3c35effabffbd19fc6107324095238e4ef0ff044392cae9ac64a1c2dda26e532426485342226b93806bd97504b174b0dcf04ed81
languageName: node
linkType: hard
@ -5063,6 +5025,19 @@ __metadata:
languageName: node
linkType: hard
"logform@npm:^2.2.0":
version: 2.3.0
resolution: "logform@npm:2.3.0"
dependencies:
colors: ^1.2.1
fecha: ^4.2.0
ms: ^2.1.1
safe-stable-stringify: ^1.1.0
triple-beam: ^1.3.0
checksum: a82d36823d487dffeb9c7f468bb60a20a643bb5299860b17050e68866f2b8c18f1a6eeb158ad5ae8aa90ada2923a5f2a04809f1e041dd2167f18308116432970
languageName: node
linkType: hard
"longest@npm:^2.0.1":
version: 2.0.1
resolution: "longest@npm:2.0.1"
@ -5423,14 +5398,7 @@ __metadata:
languageName: node
linkType: hard
"mri@npm:1.1.4":
version: 1.1.4
resolution: "mri@npm:1.1.4"
checksum: e65b9aed3b9e423ad4c11f529ab1b9280f65dce8fb476d0da236b5c570ad3322fbbcd2393180855f1474f8b0f982d76ad398766fbd47b8a5ab4069e325d0268e
languageName: node
linkType: hard
"ms@npm:*, ms@npm:^2.0.0":
"ms@npm:*, ms@npm:^2.0.0, ms@npm:^2.1.1":
version: 2.1.3
resolution: "ms@npm:2.1.3"
checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d
@ -5862,6 +5830,15 @@ __metadata:
languageName: node
linkType: hard
"one-time@npm:^1.0.0":
version: 1.0.0
resolution: "one-time@npm:1.0.0"
dependencies:
fn.name: 1.x.x
checksum: fd008d7e992bdec1c67f53a2f9b46381ee12a9b8c309f88b21f0223546003fb47e8ad7c1fd5843751920a8d276c63bd4b45670ef80c61fb3e07dbccc962b5c7d
languageName: node
linkType: hard
"onetime@npm:^2.0.0":
version: 2.0.1
resolution: "onetime@npm:2.0.1"
@ -6274,52 +6251,6 @@ __metadata:
languageName: node
linkType: hard
"pino-pretty@npm:^ v6.0.0":
version: 6.0.0
resolution: "pino-pretty@npm:6.0.0"
dependencies:
"@hapi/bourne": ^2.0.0
args: ^5.0.1
colorette: ^1.3.0
dateformat: ^4.5.1
fast-safe-stringify: ^2.0.7
jmespath: ^0.15.0
joycon: ^3.0.0
pump: ^3.0.0
readable-stream: ^3.6.0
rfdc: ^1.3.0
split2: ^3.1.1
strip-json-comments: ^3.1.1
bin:
pino-pretty: bin.js
checksum: dd2c8e09a62a2fe12420f55d8929bd425d24c9edc9ccaf8489b174398d45aad8376337a4f904c06d1381c8e233d3b97aa10f7c29e1e85d3c001d9030ffa2e3bb
languageName: node
linkType: hard
"pino-std-serializers@npm:^3.1.0":
version: 3.2.0
resolution: "pino-std-serializers@npm:3.2.0"
checksum: 77e29675b116e42ae9fe6d4ef52ef3a082ffc54922b122d85935f93ddcc20277f0b0c873c5c6c5274a67b0409c672aaae3de6bcea10a2d84699718dda55ba95b
languageName: node
linkType: hard
"pino@npm:^ v6.13.3":
version: 6.13.3
resolution: "pino@npm:6.13.3"
dependencies:
fast-redact: ^3.0.0
fast-safe-stringify: ^2.0.8
fastify-warning: ^0.2.0
flatstr: ^1.0.12
pino-std-serializers: ^3.1.0
quick-format-unescaped: ^4.0.3
sonic-boom: ^1.0.2
bin:
pino: bin.js
checksum: a580decd47a1c8b32a846ba1cb478087b523636d697bd4c57833d10b3f2b35c7d06739715ad9a291b41caf002b8d1bbf98674bfb3e99989fd41b7d934cca861c
languageName: node
linkType: hard
"pinst@npm:^2.1.6":
version: 2.1.6
resolution: "pinst@npm:2.1.6"
@ -6495,13 +6426,6 @@ __metadata:
languageName: node
linkType: hard
"quick-format-unescaped@npm:^4.0.3":
version: 4.0.4
resolution: "quick-format-unescaped@npm:4.0.4"
checksum: 7bc32b99354a1aa46c089d2a82b63489961002bb1d654cee3e6d2d8778197b68c2d854fd23d8422436ee1fdfd0abaddc4d4da120afe700ade68bd357815b26fd
languageName: node
linkType: hard
"quick-lru@npm:^4.0.1":
version: 4.0.1
resolution: "quick-lru@npm:4.0.1"
@ -6595,7 +6519,7 @@ __metadata:
languageName: node
linkType: hard
"readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.2, readable-stream@npm:^2.0.6, readable-stream@npm:~2.3.6":
"readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.2, readable-stream@npm:^2.0.6, readable-stream@npm:^2.3.7, readable-stream@npm:~2.3.6":
version: 2.3.7
resolution: "readable-stream@npm:2.3.7"
dependencies:
@ -6804,13 +6728,6 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"rfdc@npm:^1.3.0":
version: 1.3.0
resolution: "rfdc@npm:1.3.0"
checksum: fb2ba8512e43519983b4c61bd3fa77c0f410eff6bae68b08614437bc3f35f91362215f7b4a73cbda6f67330b5746ce07db5dd9850ad3edc91271ad6deea0df32
languageName: node
linkType: hard
"rimraf@npm:*, rimraf@npm:^3.0.0, rimraf@npm:^3.0.2":
version: 3.0.2
resolution: "rimraf@npm:3.0.2"
@ -6879,6 +6796,13 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"safe-stable-stringify@npm:^1.1.0":
version: 1.1.1
resolution: "safe-stable-stringify@npm:1.1.1"
checksum: e32a30720e8a2e3043b8b96733f015c1aa7a21a5a328074ce917b8afe4d26b4308c186c74fa92131e5f794b1efc63caa32defafceaa2981accaaedbc8b2c861c
languageName: node
linkType: hard
"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0":
version: 2.1.2
resolution: "safer-buffer@npm:2.1.2"
@ -7017,6 +6941,15 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"simple-swizzle@npm:^0.2.2":
version: 0.2.2
resolution: "simple-swizzle@npm:0.2.2"
dependencies:
is-arrayish: ^0.3.1
checksum: a7f3f2ab5c76c4472d5c578df892e857323e452d9f392e1b5cf74b74db66e6294a1e1b8b390b519fa1b96b5b613f2a37db6cffef52c3f1f8f3c5ea64eb2d54c0
languageName: node
linkType: hard
"slash@npm:^3.0.0":
version: 3.0.0
resolution: "slash@npm:3.0.0"
@ -7085,25 +7018,6 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"sonic-boom@npm:^1.0.2":
version: 1.4.1
resolution: "sonic-boom@npm:1.4.1"
dependencies:
atomic-sleep: ^1.0.0
flatstr: ^1.0.12
checksum: 189fa8fe5c2dc05d3513fc1a4926a2f16f132fa6fa0b511745a436010cdcd9c1d3b3cb6a9d7c05bd32a965dc77673a5ac0eb0992e920bdedd16330d95323124f
languageName: node
linkType: hard
"sonic-boom@npm:^2.1.0":
version: 2.3.1
resolution: "sonic-boom@npm:2.3.1"
dependencies:
atomic-sleep: ^1.0.0
checksum: 4f5022de97483bb6f889415e342f9a451dbdebbe732df454f7d6e417cc80e813c19e2d646ad5ae20a92510a34c311fb9fbc440864bb234b78b3a2100467d851b
languageName: node
linkType: hard
"source-map-support@npm:^0.5.17, source-map-support@npm:^0.5.20":
version: 0.5.20
resolution: "source-map-support@npm:0.5.20"
@ -7169,7 +7083,7 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"split2@npm:^3.0.0, split2@npm:^3.1.1":
"split2@npm:^3.0.0":
version: 3.2.2
resolution: "split2@npm:3.2.2"
dependencies:
@ -7233,6 +7147,13 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"stack-trace@npm:0.0.x":
version: 0.0.10
resolution: "stack-trace@npm:0.0.10"
checksum: 473036ad32f8c00e889613153d6454f9be0536d430eb2358ca51cad6b95cea08a3cc33cc0e34de66b0dad221582b08ed2e61ef8e13f4087ab690f388362d6610
languageName: node
linkType: hard
"stream-combiner2@npm:~1.1.1":
version: 1.1.1
resolution: "stream-combiner2@npm:1.1.1"
@ -7483,6 +7404,13 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"text-hex@npm:1.0.x":
version: 1.0.0
resolution: "text-hex@npm:1.0.0"
checksum: 1138f68adc97bf4381a302a24e2352f04992b7b1316c5003767e9b0d3367ffd0dc73d65001ea02b07cd0ecc2a9d186de0cf02f3c2d880b8a522d4ccb9342244a
languageName: node
linkType: hard
"text-table@npm:*, text-table@npm:^0.2.0":
version: 0.2.0
resolution: "text-table@npm:0.2.0"
@ -7593,6 +7521,13 @@ resolve@^1.10.0:
languageName: node
linkType: hard
"triple-beam@npm:^1.2.0, triple-beam@npm:^1.3.0":
version: 1.3.0
resolution: "triple-beam@npm:1.3.0"
checksum: 7d7b77d8625fb252c126c24984a68de462b538a8fcd1de2abd0a26421629cf3527d48e23b3c2264f08f4a6c3bc40a478a722176f4d7b6a1acc154cb70c359f2b
languageName: node
linkType: hard
"ts-mixer@npm:^6.0.0":
version: 6.0.0
resolution: "ts-mixer@npm:6.0.0"
@ -7987,6 +7922,33 @@ typescript@^4.4.4:
languageName: node
linkType: hard
"winston-transport@npm:^4.4.0":
version: 4.4.0
resolution: "winston-transport@npm:4.4.0"
dependencies:
readable-stream: ^2.3.7
triple-beam: ^1.2.0
checksum: 953d78d152b355962d97697c3ccdc26fda6be017a0e1e555729e218d1269aa32a60e9ff16eb7a72c6403f733e88bab664b259feae3857667b54ff8e2f149fa52
languageName: node
linkType: hard
"winston@npm:^3.3.3":
version: 3.3.3
resolution: "winston@npm:3.3.3"
dependencies:
"@dabh/diagnostics": ^2.0.2
async: ^3.1.0
is-stream: ^2.0.0
logform: ^2.2.0
one-time: ^1.0.0
readable-stream: ^3.4.0
stack-trace: 0.0.x
triple-beam: ^1.3.0
winston-transport: ^4.4.0
checksum: 89a0a8db4e577d0df2bee8af67a751663fb80aaa782750b5a0a151a6bf97074dd0eb7c81780e196197735b851c12ea9c176952128fc51fae07a8a5ddba82913a
languageName: node
linkType: hard
"word-wrap@npm:^1.0.3, word-wrap@npm:^1.2.3":
version: 1.2.3
resolution: "word-wrap@npm:1.2.3"