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

@gasket/engine

Package Overview
Dependencies
Maintainers
6
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gasket/engine - npm Package Compare versions

Comparing version 6.24.2 to 6.26.1

52

lib/engine.d.ts

@@ -48,15 +48,13 @@ declare module '@gasket/engine' {

export interface Gasket {
export default class GasketEngine {
constructor(config: GasketConfigFile, context?: { resolveFrom?: string });
config: GasketConfig;
exec<Id extends HookId>(
hook: Id,
...args: Parameters<HookExecTypes[Id]>
): Promise<Array<ResolvedType<ReturnType<HookExecTypes[Id]>>>>;
): Promise<ResolvedType<ReturnType<HookExecTypes[Id]>>[]>;
execSync<Id extends HookId>(
hook: Id,
...args: Parameters<HookExecTypes[Id]>
): Promise<Array<ResolvedType<ReturnType<HookExecTypes[Id]>>>>;
): Promise<ResolvedType<ReturnType<HookExecTypes[Id]>>[]>;
execWaterfall<Id extends HookId>(

@@ -66,3 +64,2 @@ hook: Id,

): ReturnType<HookExecTypes[Id]>;
execWaterfallSync<Id extends HookId>(

@@ -72,14 +69,14 @@ hook: Id,

): ReturnType<HookExecTypes[Id]>;
execApply<Id extends HookId, Return = void>(
hook: Id,
callback: (plugin: Plugin | null, handler: ApplyHookHandler<Id>) => Promise<Return>
): Promise<Array<Return>>
callback: (plugin: Plugin, handler: ApplyHookHandler<Id>) => Promise<Return>
): Promise<Return[]>;
execApplySync<Id extends HookId, Return = void>(
hook: Id,
callback: (plugin: Plugin | null, handler: ApplyHookHandler<Id>) => Return
): Array<Return>
callback: (plugin: Plugin, handler: ApplyHookHandler<Id>) => Return
): Return[];
}
export interface Gasket extends GasketEngine {}
type PartialRecursive<T> =

@@ -102,31 +99,2 @@ T extends Object

}
export default class GasketEngine implements Gasket {
constructor(config: GasketConfigFile, context?: { resolveFrom?: string });
config: GasketConfig;
exec<Id extends HookId>(
hook: Id,
...args: Parameters<HookExecTypes[Id]>
): Promise<ResolvedType<ReturnType<HookExecTypes[Id]>>[]>;
execSync<Id extends HookId>(
hook: Id,
...args: Parameters<HookExecTypes[Id]>
): Promise<ResolvedType<ReturnType<HookExecTypes[Id]>>[]>;
execWaterfall<Id extends HookId>(
hook: Id,
...args: Parameters<HookExecTypes[Id]>
): ReturnType<HookExecTypes[Id]>;
execWaterfallSync<Id extends HookId>(
hook: Id,
...args: Parameters<HookExecTypes[Id]>
): ReturnType<HookExecTypes[Id]>;
execApply<Id extends HookId, Return = void>(
hook: Id,
callback: (plugin: Plugin, handler: ApplyHookHandler<Id>) => Promise<Return>
): Promise<Return[]>;
execApplySync<Id extends HookId, Return = void>(
hook: Id,
callback: (plugin: Plugin, handler: ApplyHookHandler<Id>) => Return
): Return[];
}
}

4

package.json
{
"name": "@gasket/engine",
"version": "6.24.2",
"version": "6.26.1",
"description": "Plugin engine for gasket",

@@ -72,3 +72,3 @@ "main": "lib/engine.js",

},
"gitHead": "f9a5d895f1bafefe2c4f4eb0375afce9460931cf"
"gitHead": "4ae5de8292ef8695e66583a8c74e945423a00707"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc