New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/flushable

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/flushable - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+14
-11
flushable/index.d.ts

@@ -6,16 +6,19 @@ // Type definitions for flushable 1.0

export type FlushableOnCompleteHandler = (flushed: boolean) => any;
declare namespace flushable {
type FlushableOnCompleteHandler = (flushed: boolean) => any;
export interface FlushableOperation {
/** Returns whether or not the callback has been executed */
pending: () => boolean;
/** Stops the callback from being executed */
cancel: () => void;
/** Immediately executes the callback */
flush: () => void;
interface FlushableOperation {
/** Returns whether or not the callback has been executed */
pending: () => boolean;
/** Stops the callback from being executed */
cancel: () => void;
/** Immediately executes the callback */
flush: () => void;
}
}
export default function flushable(
onComplete: FlushableOnCompleteHandler,
export = flushable;
declare function flushable(
onComplete: flushable.FlushableOnCompleteHandler,
delay: number
): FlushableOperation;
): flushable.FlushableOperation;
{
"name": "@types/flushable",
"version": "1.0.0",
"version": "1.0.1",
"description": "TypeScript definitions for flushable",

@@ -17,8 +17,9 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/flushable"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "a80769d329616376cebeaef647b5937dce58c89bf9667f1c3b14fc2adc82a96d",
"typesPublisherContentHash": "754689adacbbe0d819297528c44f9acb58e654d3c7006cc85b92db7fd926a813",
"typeScriptVersion": "2.0"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for flushable (https://github.com/petegleeson/flushable#readme).
This package contains type definitions for flushable ( https://github.com/petegleeson/flushable#readme ).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Mon, 17 Dec 2018 17:26:42 GMT
* Last updated: Tue, 12 Mar 2019 17:11:50 GMT
* Dependencies: none

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