@tinkoff/hook-runner
Advanced tools
+1
-0
| import uniq from '@tinkoff/utils/array/uniq'; | ||
| class Hooks { | ||
| hooks; | ||
| constructor() { | ||
@@ -5,0 +6,0 @@ this.hooks = Object.create(null); |
+1
-0
@@ -12,2 +12,3 @@ 'use strict'; | ||
| class Hooks { | ||
| hooks; | ||
| constructor() { | ||
@@ -14,0 +15,0 @@ this.hooks = Object.create(null); |
+1
-1
@@ -1,2 +0,2 @@ | ||
| import type { AsyncFn, AsyncParallelTapableHookInstance, AsyncTapableHookInstance, AsyncWrapper, SyncTapableHookInstance, SyncWrapper, TapableFactory } from './types'; | ||
| import type { TapableFactory, AsyncFn, AsyncParallelTapableHookInstance, AsyncTapableHookInstance, AsyncWrapper, SyncTapableHookInstance, SyncWrapper } from './types'; | ||
| export { SyncTapableHookInstance, AsyncTapableHookInstance, AsyncParallelTapableHookInstance }; | ||
@@ -3,0 +3,0 @@ export declare class SyncTapable<Payload, Result, Context = {}> implements SyncTapableHookInstance<Payload, Result, Context> { |
| class SyncTapable { | ||
| name; | ||
| plugins = new Set(); | ||
| wrappers = new Set(); | ||
| constructor(name) { | ||
| this.plugins = new Set(); | ||
| this.wrappers = new Set(); | ||
| this.name = name; | ||
@@ -44,5 +45,6 @@ } | ||
| class AsyncTapable { | ||
| name; | ||
| plugins = new Set(); | ||
| wrappers = new Set(); | ||
| constructor(name) { | ||
| this.plugins = new Set(); | ||
| this.wrappers = new Set(); | ||
| this.name = name; | ||
@@ -130,5 +132,6 @@ } | ||
| class AsyncParallelTapable { | ||
| name; | ||
| plugins = new Set(); | ||
| wrappers = new Set(); | ||
| constructor(name) { | ||
| this.plugins = new Set(); | ||
| this.wrappers = new Set(); | ||
| this.name = name; | ||
@@ -135,0 +138,0 @@ } |
+9
-6
@@ -6,5 +6,6 @@ 'use strict'; | ||
| class SyncTapable { | ||
| name; | ||
| plugins = new Set(); | ||
| wrappers = new Set(); | ||
| constructor(name) { | ||
| this.plugins = new Set(); | ||
| this.wrappers = new Set(); | ||
| this.name = name; | ||
@@ -49,5 +50,6 @@ } | ||
| class AsyncTapable { | ||
| name; | ||
| plugins = new Set(); | ||
| wrappers = new Set(); | ||
| constructor(name) { | ||
| this.plugins = new Set(); | ||
| this.wrappers = new Set(); | ||
| this.name = name; | ||
@@ -135,5 +137,6 @@ } | ||
| class AsyncParallelTapable { | ||
| name; | ||
| plugins = new Set(); | ||
| wrappers = new Set(); | ||
| constructor(name) { | ||
| this.plugins = new Set(); | ||
| this.wrappers = new Set(); | ||
| this.name = name; | ||
@@ -140,0 +143,0 @@ } |
+1
-1
| { | ||
| "name": "@tinkoff/hook-runner", | ||
| "version": "0.7.3", | ||
| "version": "0.7.4", | ||
| "initialVersion": "0.3.17", | ||
@@ -5,0 +5,0 @@ "description": "", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
704
1.15%0
-100%27581
-0.09%