Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/pump

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pump - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

5

pump/index.d.ts

@@ -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 @@

15

pump/package.json
{
"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).
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