Merge branch 'v2-dev' into v2_admin_mode

This commit is contained in:
xiaojunnuo
2026-02-06 16:51:57 +08:00
39 changed files with 198 additions and 66 deletions

View File

@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.38.7](https://github.com/certd/certd/compare/v1.38.6...v1.38.7) (2026-02-05)
**Note:** Version bump only for package @certd/basic
## [1.38.6](https://github.com/certd/certd/compare/v1.38.5...v1.38.6) (2026-02-04)
**Note:** Version bump only for package @certd/basic

View File

@@ -1 +1 @@
01:13
16:26

View File

@@ -1,7 +1,7 @@
{
"name": "@certd/basic",
"private": false,
"version": "1.38.6",
"version": "1.38.7",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
@@ -47,5 +47,5 @@
"tslib": "^2.8.1",
"typescript": "^5.4.2"
},
"gitHead": "1368259a1e780486204e9d814c88a741a373dcca"
"gitHead": "29d37075dd600fa4898c5e38611e09db522e32fc"
}

View File

@@ -77,6 +77,8 @@ export type ILogger = {
fatal(message: any, ...args: any[]): void;
mark(message: any, ...args: any[]): void;
addSecret(secret: string): void;
};
const locale = Intl.DateTimeFormat().resolvedOptions().locale;
@@ -106,10 +108,14 @@ export class PipelineLogger implements ILogger {
constructor(name: string, write: (text: string) => void) {
this.customWriter = write;
//@ts-ignore
this.logger = log4js.getLogger(name);
}
addSecret(secret: string) {
if (!secret) {
return;
}
this._secrets.push(secret);
}