Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@types/pumpify

Package Overview
Dependencies
3
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.1 to 1.4.2

30

pumpify/index.d.ts

@@ -9,28 +9,28 @@ // Type definitions for pumpify 1.4

import { Stream, Writable, Readable, Duplex } from 'stream';
import * as duplexify from 'duplexify';
import * as duplexify from "duplexify";
import { Duplex, Readable, Stream, Writable } from "stream";
declare class Pumpify extends Duplex implements duplexify.Duplexify {
constructor(...streams: Stream[]);
constructor(streams: Stream[]);
setPipeline(...streams: Stream[]): void;
setPipeline(streams: Stream[]): void;
constructor(...streams: Stream[]);
constructor(streams: Stream[]);
setPipeline(...streams: Stream[]): void;
setPipeline(streams: Stream[]): void;
// Duplexify members
setWritable(writable: Writable): void;
setReadable(readable: Readable): void;
// Duplexify members
setWritable(writable: Writable): void;
setReadable(readable: Readable): void;
}
interface PumpifyFactoryOptions {
autoDestroy: boolean;
destroy: boolean;
objectMode: boolean;
highWaterMark: number;
autoDestroy: boolean;
destroy: boolean;
objectMode: boolean;
highWaterMark: number;
}
declare namespace Pumpify {
let obj: typeof Pumpify;
function ctor(opts: PumpifyFactoryOptions): typeof Pumpify;
let obj: typeof Pumpify;
function ctor(opts: PumpifyFactoryOptions): typeof Pumpify;
}
export = Pumpify;
{
"name": "@types/pumpify",
"version": "1.4.1",
"version": "1.4.2",
"description": "TypeScript definitions for pumpify",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pumpify",
"license": "MIT",

@@ -19,5 +20,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/pumpify"
},

@@ -29,4 +32,4 @@ "scripts": {},

},
"typesPublisherContentHash": "5805aba10359260b710dd626db1141438072a4ca3f53de8e0c9d0af1284434ac",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "c57f7b33d480e1319b98c287cc96d6cdd5b9ce33e4a1fdf4de3c26ede4fbcc77",
"typeScriptVersion": "4.5"
}

@@ -8,10 +8,49 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/pumpify
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pumpify.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pumpify/index.d.ts)
````ts
// Type definitions for pumpify 1.4
// Project: https://github.com/mafintosh/pumpify
// Definitions by: Justin Beckwith <https://github.com/JustinBeckwith>
// Ankur Oberoi <https://github.com/aoberoi>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Tue, 08 May 2018 16:46:27 GMT
* Dependencies: stream, duplexify, node
/// <reference types="node" />
import * as duplexify from "duplexify";
import { Duplex, Readable, Stream, Writable } from "stream";
declare class Pumpify extends Duplex implements duplexify.Duplexify {
constructor(...streams: Stream[]);
constructor(streams: Stream[]);
setPipeline(...streams: Stream[]): void;
setPipeline(streams: Stream[]): void;
// Duplexify members
setWritable(writable: Writable): void;
setReadable(readable: Readable): void;
}
interface PumpifyFactoryOptions {
autoDestroy: boolean;
destroy: boolean;
objectMode: boolean;
highWaterMark: number;
}
declare namespace Pumpify {
let obj: typeof Pumpify;
function ctor(opts: PumpifyFactoryOptions): typeof Pumpify;
}
export = Pumpify;
````
### Additional Details
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT
* Dependencies: [@types/duplexify](https://npmjs.com/package/@types/duplexify), [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Justin Beckwith <https://github.com/JustinBeckwith>, Ankur Oberoi <https://github.com/aoberoi>.
These definitions were written by [Justin Beckwith](https://github.com/JustinBeckwith), and [Ankur Oberoi](https://github.com/aoberoi).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc