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.1
to
1.0.2
+1
-1
flushable/index.d.ts

@@ -22,3 +22,3 @@ // Type definitions for flushable 1.0

onComplete: flushable.FlushableOnCompleteHandler,
delay: number
delay: number,
): flushable.FlushableOperation;
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Copyright (c) Microsoft Corporation.

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "@types/flushable",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for flushable",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flushable",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "754689adacbbe0d819297528c44f9acb58e654d3c7006cc85b92db7fd926a813",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "ff5412129bd683f3b48fde8f92cb1fd6f46e4770d03f3c04218ba0acfdc7b1c5",
"typeScriptVersion": "4.5"
}

@@ -5,9 +5,36 @@ # 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).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flushable
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flushable.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/flushable/index.d.ts)
````ts
// Type definitions for flushable 1.0
// Project: https://github.com/petegleeson/flushable#readme
// Definitions by: Parth Mehta <https://github.com/pash90>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Tue, 12 Mar 2019 17:11:50 GMT
declare namespace flushable {
type FlushableOnCompleteHandler = (flushed: boolean) => any;
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 = flushable;
declare function flushable(
onComplete: flushable.FlushableOnCompleteHandler,
delay: number,
): flushable.FlushableOperation;
````
### Additional Details
* Last updated: Thu, 14 Sep 2023 15:26:41 GMT
* Dependencies: none

@@ -17,2 +44,2 @@ * Global values: none

# Credits
These definitions were written by Parth Mehta <https://github.com/pash90>.
These definitions were written by [Parth Mehta](https://github.com/pash90).