Socket
Socket
Sign inDemoInstall

@types/end-of-stream

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/end-of-stream - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

6

end-of-stream/index.d.ts

@@ -8,5 +8,5 @@ // Type definitions for end-of-stream 1.4

interface Options {
readable?: boolean;
writable?: boolean;
error?: boolean;
readable?: boolean | undefined;
writable?: boolean | undefined;
error?: boolean | undefined;
}

@@ -13,0 +13,0 @@ type Stream = NodeJS.ReadableStream | NodeJS.WritableStream;

{
"name": "@types/end-of-stream",
"version": "1.4.0",
"version": "1.4.1",
"description": "TypeScript definitions for end-of-stream",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream",
"license": "MIT",

@@ -14,5 +15,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/end-of-stream"
},

@@ -23,4 +26,4 @@ "scripts": {},

},
"typesPublisherContentHash": "9aa8e778f17399d48817eb25cf15f0a43224647b3a6c7a613ab2847881f5c27c",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "70833a02ec8f288737aa88aeecd7c65cb947e8532c04894998358bcd0376388d",
"typeScriptVersion": "3.6"
}

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

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/end-of-stream/index.d.ts)
````ts
// Type definitions for end-of-stream 1.4
// Project: https://github.com/mafintosh/end-of-stream
// Definitions by: Sami Kukkonen <https://github.com/strax>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node"/>
Additional Details
* Last updated: Wed, 27 Sep 2017 17:12:33 GMT
* Dependencies: node
interface Options {
readable?: boolean | undefined;
writable?: boolean | undefined;
error?: boolean | undefined;
}
type Stream = NodeJS.ReadableStream | NodeJS.WritableStream;
type Callback = (error?: Error | null) => void;
declare function eos(
stream: Stream,
callback?: Callback
): () => void;
declare function eos(
stream: Stream,
options: Options,
callback?: Callback
): () => void;
declare namespace eos {
}
export = eos;
````
### Additional Details
* Last updated: Tue, 06 Jul 2021 19:03:13 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Sami Kukkonen <https://github.com/strax>.
These definitions were written by [Sami Kukkonen](https://github.com/strax).

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