@types/node 11.11.3 → 11.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node/README.md +1 -1
- node/package.json +2 -2
- node/stream.d.ts +4 -0
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js ( http://nodejs.org/ ).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated: Tue,
|
|
11
|
+
* Last updated: Tue, 19 Mar 2019 23:42:11 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "11.11.
|
|
3
|
+
"version": "11.11.4",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -206,6 +206,6 @@
|
|
|
206
206
|
},
|
|
207
207
|
"scripts": {},
|
|
208
208
|
"dependencies": {},
|
|
209
|
-
"typesPublisherContentHash": "
|
|
209
|
+
"typesPublisherContentHash": "3ae8881053042a07e21a9cb17e6ca7dc2bd3d90f72ee0923d652dcb7455aa64e",
|
|
210
210
|
"typeScriptVersion": "2.0"
|
|
211
211
|
}
|
node/stream.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare module "stream" {
|
|
|
14
14
|
objectMode?: boolean;
|
|
15
15
|
read?(this: Readable, size: number): void;
|
|
16
16
|
destroy?(this: Readable, error: Error | null, callback: (error: Error | null) => void): void;
|
|
17
|
+
autoDestroy?: boolean;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
class Readable extends Stream implements NodeJS.ReadableStream {
|
|
@@ -98,11 +99,14 @@ declare module "stream" {
|
|
|
98
99
|
interface WritableOptions {
|
|
99
100
|
highWaterMark?: number;
|
|
100
101
|
decodeStrings?: boolean;
|
|
102
|
+
defaultEncoding?: string;
|
|
101
103
|
objectMode?: boolean;
|
|
104
|
+
emitClose?: boolean;
|
|
102
105
|
write?(this: Writable, chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
|
|
103
106
|
writev?(this: Writable, chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
|
|
104
107
|
destroy?(this: Writable, error: Error | null, callback: (error: Error | null) => void): void;
|
|
105
108
|
final?(this: Writable, callback: (error?: Error | null) => void): void;
|
|
109
|
+
autoDestroy?: boolean;
|
|
106
110
|
}
|
|
107
111
|
|
|
108
112
|
class Writable extends Stream implements NodeJS.WritableStream {
|