Socket
Socket
Sign inDemoInstall

@types/tapable

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/tapable - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

38

tapable v1.0/index.d.ts

@@ -250,5 +250,5 @@ // Type definitions for tapable v1.0.0

fn: TapFunction<TTapType, TArg1, TArg2, TArg3, THookResult>;
stage?: number;
context?: boolean;
before?: string | string[];
stage?: number | undefined;
context?: boolean | undefined;
before?: string | string[] | undefined;
}

@@ -258,21 +258,21 @@

name: string;
stage?: number;
context?: boolean;
before?: string | string[];
stage?: number | undefined;
context?: boolean | undefined;
before?: string | string[] | undefined;
} & (
TTapType extends "sync" ? {
type?: "sync";
fn?: TapFunction<"sync", TArg1, TArg2, TArg3, THookResult>;
type?: "sync" | undefined;
fn?: TapFunction<"sync", TArg1, TArg2, TArg3, THookResult> | undefined;
} :
TTapType extends "async" ? {
type?: "async";
fn?: TapFunction<"async", TArg1, TArg2, TArg3, THookResult>;
type?: "async" | undefined;
fn?: TapFunction<"async", TArg1, TArg2, TArg3, THookResult> | undefined;
} :
TTapType extends "promise" ? {
type?: "promise";
fn?: TapFunction<"promise", TArg1, TArg2, TArg3, THookResult>;
type?: "promise" | undefined;
fn?: TapFunction<"promise", TArg1, TArg2, TArg3, THookResult> | undefined;
} :
{
type?: TTapType;
fn?: TapFunction<TTapType, TArg1, TArg2, TArg3, THookResult>;
type?: TTapType | undefined;
fn?: TapFunction<TTapType, TArg1, TArg2, TArg3, THookResult> | undefined;
}

@@ -310,7 +310,7 @@ );

export class HookInterceptor {
call?: (...args: any[]) => void;
loop?: (...args: any[]) => void;
tap?: (tap: Tap) => void;
register?: (tap: Tap) => Tap | undefined;
context?: boolean;
call?: ((...args: any[]) => void) | undefined;
loop?: ((...args: any[]) => void) | undefined;
tap?: ((tap: Tap) => void) | undefined;
register?: ((tap: Tap) => Tap | undefined) | undefined;
context?: boolean | undefined;
}

@@ -317,0 +317,0 @@

{
"name": "@types/tapable",
"version": "1.0.7",
"version": "1.0.8",
"description": "TypeScript definitions for tapable",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tapable",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "062eb93177f00ada0b449447e4107f87c471ff177ab02871540f7ee1f11b75f9",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "14ebc399c2b0cbceb7a2266ba4eff57b8eaeb39dafafa3b208ec3a10fd3ccc47",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 25 Mar 2021 20:32:08 GMT
* Last updated: Fri, 02 Jul 2021 21:32:11 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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