@sapphire/plugin-logger
Advanced tools
@@ -9,3 +9,3 @@ 'use strict'; | ||
| // src/index.ts | ||
| var version = "4.1.1-next.2b834b3"; | ||
| var version = "4.1.1-next.2b9f42f"; | ||
@@ -12,0 +12,0 @@ exports.version = version; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;AAkBO,IAAM,OAAA,GAAkB","file":"index.cjs","sourcesContent":["import type { LoggerOptions } from './lib/Logger';\n\nexport * from './lib/Logger';\nexport * from './lib/LoggerLevel';\nexport * from './lib/LoggerStyle';\nexport * from './lib/LoggerTimestamp';\n\ndeclare module '@sapphire/framework' {\n\texport interface ClientLoggerOptions extends LoggerOptions {}\n}\n\n/**\n * The [@sapphire/plugin-logger](https://github.com/sapphiredev/plugins/blob/main/packages/logger) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.1.1-next.2b834b3';\n"]} | ||
| {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;AAkBO,IAAM,OAAA,GAAkB","file":"index.cjs","sourcesContent":["import type { LoggerOptions } from './lib/Logger';\n\nexport * from './lib/Logger';\nexport * from './lib/LoggerLevel';\nexport * from './lib/LoggerStyle';\nexport * from './lib/LoggerTimestamp';\n\ndeclare module '@sapphire/framework' {\n\texport interface ClientLoggerOptions extends LoggerOptions {}\n}\n\n/**\n * The [@sapphire/plugin-logger](https://github.com/sapphiredev/plugins/blob/main/packages/logger) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.1.1-next.2b9f42f';\n"]} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["../../src/register.ts"],"names":["Plugin","preGenericsInitialization","Logger","SapphireClient"],"mappings":";;;;;;;AASO,IAAM,aAAA,GAAN,MAAM,aAAA,SAAqBA,gBAAA,CAAO;AAAA;AAAA;AAAA;AAAA,EAIxC,QAAeC,mCAAyB,CAAA,CAAwB,OAAA,EAA8B;AAC7F,IAAA,OAAA,CAAQ,WAAW,EAAC;AACpB,IAAA,OAAA,CAAQ,MAAA,CAAO,QAAA,KAAa,IAAIC,gBAAA,CAAO,QAAQ,MAAM,CAAA;AAAA,EACtD;AACD,CAAA;AARyC,MAAA,CAAA,aAAA,EAAA,cAAA,CAAA;AAAlC,IAAM,YAAA,GAAN;AAUPC,wBAAA,CAAe,OAAA,CAAQ,qCAAA,CAAsC,YAAA,CAAaF,mCAAyB,GAAG,kCAAkC,CAAA","file":"register.cjs","sourcesContent":["import './index';\n\nimport { Plugin, preGenericsInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { Logger } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class LoggerPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [preGenericsInitialization](this: SapphireClient, options: ClientOptions): void {\n\t\toptions.logger ??= {};\n\t\toptions.logger.instance ??= new Logger(options.logger);\n\t}\n}\n\nSapphireClient.plugins.registerPreGenericsInitializationHook(LoggerPlugin[preGenericsInitialization], 'Logger-PreGenericsInitialization');\n"]} | ||
| {"version":3,"sources":["../../src/register.ts"],"names":["Plugin","preGenericsInitialization","Logger","SapphireClient"],"mappings":";;;;;;;AASO,IAAM,aAAA,GAAN,MAAM,aAAA,SAAqBA,gBAAA,CAAO;AAAA;AAAA;AAAA;AAAA,EAIxC,QAAwBC,mCAAyB,CAAA,CAAwB,OAAA,EAA8B;AACtG,IAAA,OAAA,CAAQ,WAAW,EAAC;AACpB,IAAA,OAAA,CAAQ,MAAA,CAAO,QAAA,KAAa,IAAIC,gBAAA,CAAO,QAAQ,MAAM,CAAA;AAAA,EACtD;AACD,CAAA;AARyC,MAAA,CAAA,aAAA,EAAA,cAAA,CAAA;AAAlC,IAAM,YAAA,GAAN;AAUPC,wBAAA,CAAe,OAAA,CAAQ,qCAAA,CAAsC,YAAA,CAAaF,mCAAyB,GAAG,kCAAkC,CAAA","file":"register.cjs","sourcesContent":["import './index';\n\nimport { Plugin, preGenericsInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { Logger } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class LoggerPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static override [preGenericsInitialization](this: SapphireClient, options: ClientOptions): void {\n\t\toptions.logger ??= {};\n\t\toptions.logger.instance ??= new Logger(options.logger);\n\t}\n}\n\nSapphireClient.plugins.registerPreGenericsInitializationHook(LoggerPlugin[preGenericsInitialization], 'Logger-PreGenericsInitialization');\n"]} |
@@ -7,3 +7,3 @@ import './chunk-2JTKI4GS.mjs'; | ||
| var version = "4.1.1-next.2b834b3"; | ||
| var version = "4.1.1-next.2b9f42f"; | ||
@@ -10,0 +10,0 @@ export { version }; |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAkBO,IAAM,OAAA,GAAkB","file":"index.mjs","sourcesContent":["import type { LoggerOptions } from './lib/Logger';\n\nexport * from './lib/Logger';\nexport * from './lib/LoggerLevel';\nexport * from './lib/LoggerStyle';\nexport * from './lib/LoggerTimestamp';\n\ndeclare module '@sapphire/framework' {\n\texport interface ClientLoggerOptions extends LoggerOptions {}\n}\n\n/**\n * The [@sapphire/plugin-logger](https://github.com/sapphiredev/plugins/blob/main/packages/logger) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.1.1-next.2b834b3';\n"]} | ||
| {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAkBO,IAAM,OAAA,GAAkB","file":"index.mjs","sourcesContent":["import type { LoggerOptions } from './lib/Logger';\n\nexport * from './lib/Logger';\nexport * from './lib/LoggerLevel';\nexport * from './lib/LoggerStyle';\nexport * from './lib/LoggerTimestamp';\n\ndeclare module '@sapphire/framework' {\n\texport interface ClientLoggerOptions extends LoggerOptions {}\n}\n\n/**\n * The [@sapphire/plugin-logger](https://github.com/sapphiredev/plugins/blob/main/packages/logger) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '4.1.1-next.2b9f42f';\n"]} |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AASO,IAAM,aAAA,GAAN,MAAM,aAAA,SAAqB,MAAA,CAAO;AAAA;AAAA;AAAA;AAAA,EAIxC,QAAe,yBAAyB,CAAA,CAAwB,OAAA,EAA8B;AAC7F,IAAA,OAAA,CAAQ,WAAW,EAAC;AACpB,IAAA,OAAA,CAAQ,MAAA,CAAO,QAAA,KAAa,IAAI,MAAA,CAAO,QAAQ,MAAM,CAAA;AAAA,EACtD;AACD,CAAA;AARyC,MAAA,CAAA,aAAA,EAAA,cAAA,CAAA;AAAlC,IAAM,YAAA,GAAN;AAUP,cAAA,CAAe,OAAA,CAAQ,qCAAA,CAAsC,YAAA,CAAa,yBAAyB,GAAG,kCAAkC,CAAA","file":"register.mjs","sourcesContent":["import './index';\n\nimport { Plugin, preGenericsInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { Logger } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class LoggerPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static [preGenericsInitialization](this: SapphireClient, options: ClientOptions): void {\n\t\toptions.logger ??= {};\n\t\toptions.logger.instance ??= new Logger(options.logger);\n\t}\n}\n\nSapphireClient.plugins.registerPreGenericsInitializationHook(LoggerPlugin[preGenericsInitialization], 'Logger-PreGenericsInitialization');\n"]} | ||
| {"version":3,"sources":["../../src/register.ts"],"names":[],"mappings":";;;;AASO,IAAM,aAAA,GAAN,MAAM,aAAA,SAAqB,MAAA,CAAO;AAAA;AAAA;AAAA;AAAA,EAIxC,QAAwB,yBAAyB,CAAA,CAAwB,OAAA,EAA8B;AACtG,IAAA,OAAA,CAAQ,WAAW,EAAC;AACpB,IAAA,OAAA,CAAQ,MAAA,CAAO,QAAA,KAAa,IAAI,MAAA,CAAO,QAAQ,MAAM,CAAA;AAAA,EACtD;AACD,CAAA;AARyC,MAAA,CAAA,aAAA,EAAA,cAAA,CAAA;AAAlC,IAAM,YAAA,GAAN;AAUP,cAAA,CAAe,OAAA,CAAQ,qCAAA,CAAsC,YAAA,CAAa,yBAAyB,GAAG,kCAAkC,CAAA","file":"register.mjs","sourcesContent":["import './index';\n\nimport { Plugin, preGenericsInitialization, SapphireClient } from '@sapphire/framework';\nimport type { ClientOptions } from 'discord.js';\nimport { Logger } from './index';\n\n/**\n * @since 1.0.0\n */\nexport class LoggerPlugin extends Plugin {\n\t/**\n\t * @since 1.0.0\n\t */\n\tpublic static override [preGenericsInitialization](this: SapphireClient, options: ClientOptions): void {\n\t\toptions.logger ??= {};\n\t\toptions.logger.instance ??= new Logger(options.logger);\n\t}\n}\n\nSapphireClient.plugins.registerPreGenericsInitializationHook(LoggerPlugin[preGenericsInitialization], 'Logger-PreGenericsInitialization');\n"]} |
+5
-5
| { | ||
| "name": "@sapphire/plugin-logger", | ||
| "version": "4.1.1-next.2b834b3", | ||
| "version": "4.1.1-next.2b9f42f", | ||
| "description": "Plugin for @sapphire/framework to have pretty console output", | ||
@@ -88,8 +88,8 @@ "author": "@sapphire", | ||
| "concurrently": "^9.2.1", | ||
| "tsup": "^8.5.0", | ||
| "tsx": "^4.20.6", | ||
| "typedoc": "^0.26.11", | ||
| "tsup": "^8.5.1", | ||
| "tsx": "^4.21.0", | ||
| "typedoc": "^0.28.14", | ||
| "typedoc-json-parser": "^10.2.0", | ||
| "typescript": "~5.4.5" | ||
| "typescript": "~5.9.3" | ||
| } | ||
| } |
120567
0.02%