@types/pump
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -1,6 +0,1 @@ | ||
// Type definitions for pump 1.1 | ||
// Project: https://github.com/mafintosh/pump | ||
// Definitions by: Tomek Łaziuk <https://github.com/tlaziuk>, Jason Cordial <https://github.com/jcordial> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node" /> | ||
@@ -7,0 +2,0 @@ |
{ | ||
"name": "@types/pump", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "TypeScript definitions for pump", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pump", | ||
"license": "MIT", | ||
@@ -9,9 +10,9 @@ "contributors": [ | ||
"name": "Tomek Łaziuk", | ||
"url": "https://github.com/tlaziuk", | ||
"githubUsername": "tlaziuk" | ||
"githubUsername": "tlaziuk", | ||
"url": "https://github.com/tlaziuk" | ||
}, | ||
{ | ||
"name": "Jason Cordial", | ||
"url": "https://github.com/jcordial", | ||
"githubUsername": "jcordial" | ||
"githubUsername": "jcordial", | ||
"url": "https://github.com/jcordial" | ||
} | ||
@@ -30,4 +31,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "665f733d49c823db4fc1236803a666e08d17591a562d4c988996754f4353894b", | ||
"typeScriptVersion": "3.4" | ||
"typesPublisherContentHash": "93440b4825fc340d8f4a1f1c591627a5cd1d0e23d010634482e934dc60893164", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -9,9 +9,25 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pump. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pump/index.d.ts) | ||
````ts | ||
/// <reference types="node" /> | ||
declare function pump(streams: pump.Stream[], callback?: pump.Callback): pump.Stream; | ||
// callback have to be passed as last argument | ||
declare function pump(...streams: Array<pump.Stream | pump.Callback>): pump.Stream; | ||
declare namespace pump { | ||
type Callback = (err?: Error) => any; | ||
type Stream = NodeJS.ReadableStream | NodeJS.WritableStream; | ||
} | ||
export = pump; | ||
```` | ||
### Additional Details | ||
* Last updated: Mon, 22 Feb 2021 06:14:03 GMT | ||
* Last updated: Wed, 18 Oct 2023 05:47:09 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by [Tomek Łaziuk](https://github.com/tlaziuk), and [Jason Cordial](https://github.com/jcordial). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3569
0
33
9
1