@certd/pipeline 1.38.0 → 1.38.1

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,12 @@
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.1](https://github.com/certd/certd/compare/v1.38.0...v1.38.1) (2026-01-15)
7
+
8
+ ### Bug Fixes
9
+
10
+ * 修复自定义插件name丢失author导致找不到插件的bug ([2fbb58e](https://github.com/certd/certd/commit/2fbb58eb2b239eab4864f90aa72b0ef2ada38e8f))
11
+
6
12
  # [1.38.0](https://github.com/certd/certd/compare/v1.37.17...v1.38.0) (2026-01-13)
7
13
 
8
14
  ### Features
@@ -241,6 +241,10 @@ export class Executor {
241
241
  const lastStatus = this.lastStatusMap.get(step.id);
242
242
  //执行任务
243
243
  const plugin = pluginRegistry.get(step.type);
244
+ if (!plugin) {
245
+ currentLogger.error(`未找到插件${step.type}`);
246
+ throw new Error(`未找到插件${step.type}`);
247
+ }
244
248
  //@ts-ignore
245
249
  let instance = null;
246
250
  try {
@@ -250,7 +254,7 @@ export class Executor {
250
254
  instance = new pluginCls();
251
255
  }
252
256
  catch (e) {
253
- currentLogger.error(`实例化插件失败:${e.message}`);
257
+ currentLogger.error(`实例化插件失败:${step.type}:${e.message}`);
254
258
  throw new Error(`实例化插件失败`, e);
255
259
  }
256
260
  // @ts-ignore
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@certd/pipeline",
3
3
  "private": false,
4
- "version": "1.38.0",
4
+ "version": "1.38.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -18,8 +18,8 @@
18
18
  "compile": "tsc --skipLibCheck --watch"
19
19
  },
20
20
  "dependencies": {
21
- "@certd/basic": "^1.38.0",
22
- "@certd/plus-core": "^1.38.0",
21
+ "@certd/basic": "^1.38.1",
22
+ "@certd/plus-core": "^1.38.1",
23
23
  "dayjs": "^1.11.7",
24
24
  "lodash-es": "^4.17.21",
25
25
  "reflect-metadata": "^0.1.13"
@@ -45,5 +45,5 @@
45
45
  "tslib": "^2.8.1",
46
46
  "typescript": "^5.4.2"
47
47
  },
48
- "gitHead": "a218cd0ffb16b658dd261e106cc0dbea63034756"
48
+ "gitHead": "2c80c35b21b3f435e835167fca13db510bbc38a2"
49
49
  }