@weapp-core/logger 3.1.10 → 3.2.0

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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { ConsolaInstance } from "consola";
2
2
  import picocolors from "picocolors";
3
- //#region src/index.d.ts
4
3
  /**
5
4
  * @description 日志类型
6
5
  */
@@ -32,5 +31,4 @@ export interface LoggerConfig {
32
31
  */
33
32
  export declare function configureLogger(config?: LoggerConfig): void;
34
33
  declare const logger: ConsolaInstance;
35
- //#endregion
36
34
  export { logger as default };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createConsola } from "consola";
2
2
  import picocolors from "picocolors";
3
- //#region src/index.ts
3
+ // src/index.ts
4
4
  /**
5
5
  * @description 终端文本染色工具,基于 picocolors。
6
6
  */
@@ -64,5 +64,4 @@ function createLogger(tag) {
64
64
  } });
65
65
  }
66
66
  const logger = createLogger();
67
- //#endregion
68
67
  export { colors, configureLogger, logger as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-core/logger",
3
3
  "type": "module",
4
- "version": "3.1.10",
4
+ "version": "3.2.0",
5
5
  "description": "Structured logging utilities for the weapp-vite toolchain and mini-program runtimes.",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "dist"
46
46
  ],
47
47
  "engines": {
48
- "node": "^20.19.0 || >=22.12.0"
48
+ "node": "^22.23.4 || ^24.22.1 || >=26.12.1"
49
49
  },
50
50
  "tsd": {
51
51
  "compilerOptions": {