@sapphire/plugin-logger 4.1.1-next.948f249 → 4.1.1-next.ca61f97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ var LoggerStyle_cjs = require('./lib/LoggerStyle.cjs');
6
6
  var LoggerTimestamp_cjs = require('./lib/LoggerTimestamp.cjs');
7
7
 
8
8
  // src/index.ts
9
- var version = "4.1.1-next.948f249";
9
+ var version = "4.1.1-next.ca61f97";
10
10
 
11
11
  exports.version = version;
12
12
  Object.keys(Logger_cjs).forEach(function (k) {
@@ -1 +1 @@
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.948f249';\n"]}
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.ca61f97';\n"]}
@@ -1 +1 @@
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"]}
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,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"]}
@@ -4,7 +4,7 @@ export * from './lib/LoggerLevel.mjs';
4
4
  export * from './lib/LoggerStyle.mjs';
5
5
  export * from './lib/LoggerTimestamp.mjs';
6
6
 
7
- var version = "4.1.1-next.948f249";
7
+ var version = "4.1.1-next.ca61f97";
8
8
 
9
9
  export { version };
10
10
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
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.948f249';\n"]}
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.ca61f97';\n"]}
@@ -1 +1 @@
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"]}
1
+ {"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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-logger",
3
- "version": "4.1.1-next.948f249",
3
+ "version": "4.1.1-next.ca61f97",
4
4
  "description": "Plugin for @sapphire/framework to have pretty console output",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -85,10 +85,10 @@
85
85
  "@favware/cliff-jumper": "^6.0.0",
86
86
  "@favware/rollup-type-bundler": "^4.0.0",
87
87
  "concurrently": "^9.2.1",
88
- "tsup": "^8.5.0",
88
+ "tsup": "^8.5.1",
89
89
  "tsx": "^4.20.6",
90
- "typedoc": "^0.26.11",
90
+ "typedoc": "^0.28.14",
91
91
  "typedoc-json-parser": "^10.2.0",
92
- "typescript": "~5.4.5"
92
+ "typescript": "~5.9.3"
93
93
  }
94
94
  }