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
7
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.38.6 to 6.38.8

22

lib/engine.d.ts

@@ -11,2 +11,9 @@ declare module '@gasket/engine' {

export type HookTimings = {
before?: Array<string>;
after?: Array<string>;
first?: boolean;
last?: boolean;
};
export type HookHandler<Id extends HookId> = (

@@ -22,8 +29,3 @@ gasket: Gasket,

type HookWithTimings<Id extends HookId> = {
timing: {
before?: Array<string>;
after?: Array<string>;
first?: boolean;
last?: boolean;
};
timing: HookWithTimings;
handler: HookHandler<Id>;

@@ -54,2 +56,3 @@ };

config: GasketConfig;
exec<Id extends HookId>(

@@ -79,2 +82,9 @@ hook: Id,

): Return[];
hook<Id extends HookId>(opts: {
event: Id,
pluginName?: string,
timing?: HookTimings,
handler: HookHandler<Id>
}): void;
}

@@ -81,0 +91,0 @@

@@ -428,3 +428,3 @@ const debug = require('debug')('gasket:engine');

const result = exec(plan);
if (result.finally) {
if (typeof result?.finally === 'function') {
return result.finally(() => this._traceDepth--);

@@ -431,0 +431,0 @@ }

{
"name": "@gasket/engine",
"version": "6.38.6",
"version": "6.38.8",
"description": "Plugin engine for gasket",

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

"dependencies": {
"@gasket/resolve": "^6.38.6",
"@gasket/resolve": "^6.38.8",
"debug": "^4.3.1"

@@ -73,3 +73,3 @@ },

},
"gitHead": "cc8c019699952d22567b85fd742fac81414b84a2"
"gitHead": "4031ef753797106674519171a0f9dc58e1545717"
}
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