New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

takin

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

takin - npm Package Compare versions

Comparing version 0.0.28 to 0.0.29

@@ -79,2 +79,6 @@ import { AsyncParallelHook, AsyncSeriesHook, AsyncSeriesWaterfallHook, HookMap, SyncBailHook, SyncHook } from 'tapable';

done: AsyncParallelHook<Runner>;
/**
* runner 运行失败
*/
failed: SyncHook<Error>;
}

@@ -81,0 +85,0 @@ /**

@@ -164,3 +164,4 @@ "use strict";

run: new tapable_1.HookMap(() => new tapable_1.AsyncParallelHook(['command'])),
done: new tapable_1.AsyncParallelHook(['runner'])
done: new tapable_1.AsyncParallelHook(['runner']),
failed: new tapable_1.SyncHook(['error'])
};

@@ -252,2 +253,4 @@ // 添加自定义 hook

error.isErrorLogged = true;
// 触发 failed hook
this.hooks.failed.call(error);
// 如果从是 cli 执行, 则直接异常退出

@@ -254,0 +257,0 @@ if (this.commandInvokedBy === 'cli') {

{
"name": "takin",
"version": "0.0.28",
"version": "0.0.29",
"description": "Front end engineering base toolchain and scaffold",

@@ -5,0 +5,0 @@ "main": "dist/index.js",