@types/event-stream
Advanced tools
Comparing version 3.3.34 to 4.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for event-stream v3.3.2 | ||
// Type definitions for event-stream v4.0 | ||
// Project: https://github.com/dominictarr/event-stream | ||
@@ -10,3 +10,3 @@ // Definitions by: David Gardiner <https://github.com/flcdrg> | ||
interface MapStream extends stream.Stream { | ||
export interface MapStream extends stream.Stream { | ||
writable: boolean; | ||
@@ -23,2 +23,7 @@ readable: boolean; | ||
/** | ||
* Create a stream from a series of MapStreams | ||
*/ | ||
export declare function pipeline(...streams: MapStream[]): MapStream; | ||
/** | ||
* Create a through stream from an asynchronous function | ||
@@ -37,2 +42,8 @@ * | ||
/** | ||
* Filter elements of the stream. | ||
* @param syncFunction | ||
*/ | ||
export declare function filterSync(syncFunction: (value: any) => boolean): MapStream; | ||
/** | ||
* Break up a stream and reassemble it so that each line is a chunk. matcher may be a String, or a RegExp | ||
@@ -39,0 +50,0 @@ * |
{ | ||
"name": "@types/event-stream", | ||
"version": "3.3.34", | ||
"version": "4.0.0", | ||
"description": "TypeScript definitions for event-stream", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/event-stream", | ||
"license": "MIT", | ||
@@ -14,5 +15,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/event-stream" | ||
}, | ||
@@ -23,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "35b4c43162fff4b839f7e1ba26ba5bffc768544a783d12d07b01efc671675879", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "daab04451c63558aa4592d138f543a3672eca239d4a689484419440e54cc2ec0", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/event-stream | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/event-stream. | ||
Additional Details | ||
* Last updated: Thu, 10 May 2018 20:18:20 GMT | ||
* Dependencies: stream, node | ||
### Additional Details | ||
* Last updated: Fri, 19 Nov 2021 09:01:13 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by David Gardiner <https://github.com/flcdrg>. | ||
These definitions were written by [David Gardiner](https://github.com/flcdrg). |
Sorry, the diff of this file is not supported yet
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
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
7694
137
0