@types/node 12.7.7 → 12.7.8
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 +2 -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:
|
|
11
|
+
* Last updated: Wed, 25 Sep 2019 23:07:57 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": "12.7.
|
|
3
|
+
"version": "12.7.8",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -216,6 +216,6 @@
|
|
|
216
216
|
},
|
|
217
217
|
"scripts": {},
|
|
218
218
|
"dependencies": {},
|
|
219
|
-
"typesPublisherContentHash": "
|
|
219
|
+
"typesPublisherContentHash": "d1dcbb8f3604365c40837d7427ee5397140ed47f6bff0e5bce6cceea010e9fa1",
|
|
220
220
|
"typeScriptVersion": "2.0"
|
|
221
221
|
}
|
node/stream.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare module "stream" {
|
|
|
26
26
|
readable: boolean;
|
|
27
27
|
readonly readableHighWaterMark: number;
|
|
28
28
|
readonly readableLength: number;
|
|
29
|
+
destroyed: boolean;
|
|
29
30
|
constructor(opts?: ReadableOptions);
|
|
30
31
|
_read(size: number): void;
|
|
31
32
|
read(size?: number): any;
|
|
@@ -119,6 +120,7 @@ declare module "stream" {
|
|
|
119
120
|
readonly writableFinished: boolean;
|
|
120
121
|
readonly writableHighWaterMark: number;
|
|
121
122
|
readonly writableLength: number;
|
|
123
|
+
destroyed: boolean;
|
|
122
124
|
constructor(opts?: WritableOptions);
|
|
123
125
|
_write(chunk: any, encoding: string, callback: (error?: Error | null) => void): void;
|
|
124
126
|
_writev?(chunks: Array<{ chunk: any, encoding: string }>, callback: (error?: Error | null) => void): void;
|