@certd/basic 1.38.6 → 1.38.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.38.8](https://github.com/certd/certd/compare/v1.38.7...v1.38.8) (2026-02-06)
7
+
8
+ **Note:** Version bump only for package @certd/basic
9
+
10
+ ## [1.38.7](https://github.com/certd/certd/compare/v1.38.6...v1.38.7) (2026-02-05)
11
+
12
+ **Note:** Version bump only for package @certd/basic
13
+
6
14
  ## [1.38.6](https://github.com/certd/certd/compare/v1.38.5...v1.38.6) (2026-02-04)
7
15
 
8
16
  **Note:** Version bump only for package @certd/basic
package/build.md CHANGED
@@ -1 +1 @@
1
- 01:13
1
+ 02:23
@@ -1,6 +1,6 @@
1
- import log4js, { CallStack, Level } from "log4js";
1
+ import { CallStack, Level } from "log4js";
2
2
  export declare function resetLogConfigure(): void;
3
- export declare const logger: log4js.Logger;
3
+ export declare const logger: ILogger;
4
4
  export declare function resetLogFilePath(filePath: string): void;
5
5
  export declare function buildLogger(write: (text: string) => void): PipelineLogger;
6
6
  export type ILogger = {
@@ -37,6 +37,7 @@ export type ILogger = {
37
37
  error(message: any, ...args: any[]): void;
38
38
  fatal(message: any, ...args: any[]): void;
39
39
  mark(message: any, ...args: any[]): void;
40
+ addSecret(secret: string): void;
40
41
  };
41
42
  export declare class PipelineLogger implements ILogger {
42
43
  callStackLinesToSkip: number;
@@ -50,9 +50,13 @@ export class PipelineLogger {
50
50
  customWriter;
51
51
  constructor(name, write) {
52
52
  this.customWriter = write;
53
+ //@ts-ignore
53
54
  this.logger = log4js.getLogger(name);
54
55
  }
55
56
  addSecret(secret) {
57
+ if (!secret) {
58
+ return;
59
+ }
56
60
  this._secrets.push(secret);
57
61
  }
58
62
  _doLog(level, ...args) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@certd/basic",
3
3
  "private": false,
4
- "version": "1.38.6",
4
+ "version": "1.38.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -47,5 +47,5 @@
47
47
  "tslib": "^2.8.1",
48
48
  "typescript": "^5.4.2"
49
49
  },
50
- "gitHead": "1368259a1e780486204e9d814c88a741a373dcca"
50
+ "gitHead": "4fda6cbcde3d398d7f4dc3ee7e8ea90e691098db"
51
51
  }