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

@types/event-stream

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/event-stream - npm Package Compare versions

Comparing version 3.3.34 to 4.0.0

15

event-stream/index.d.ts

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

11

event-stream/package.json
{
"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

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