@types/node 16.7.9 → 16.7.13
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 +3 -3
- node/globals.d.ts +0 -1
- node/index.d.ts +2 -1
- node/package.json +7 -2
- node/stream.d.ts +1 -0
- node/vm.d.ts +4 -0
node/README.md
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (
|
|
5
|
+
This package contains type definitions for Node.js (https://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
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, 07 Sep 2021 07:31:41 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS),
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
node/globals.d.ts
CHANGED
node/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Type definitions for non-npm package Node.js 16.7
|
|
2
|
-
// Project:
|
|
2
|
+
// Project: https://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Alberto Schiabel <https://github.com/jkomyno>
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
43
43
|
// NodeJS Contributors <https://github.com/NodeJS>
|
|
44
44
|
// Linus Unnebäck <https://github.com/LinusU>
|
|
45
|
+
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
45
46
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
46
47
|
|
|
47
48
|
/**
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.7.
|
|
3
|
+
"version": "16.7.13",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -214,6 +214,11 @@
|
|
|
214
214
|
"name": "Linus Unnebäck",
|
|
215
215
|
"url": "https://github.com/LinusU",
|
|
216
216
|
"githubUsername": "LinusU"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "wafuwafu13",
|
|
220
|
+
"url": "https://github.com/wafuwafu13",
|
|
221
|
+
"githubUsername": "wafuwafu13"
|
|
217
222
|
}
|
|
218
223
|
],
|
|
219
224
|
"main": "",
|
|
@@ -225,6 +230,6 @@
|
|
|
225
230
|
},
|
|
226
231
|
"scripts": {},
|
|
227
232
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
233
|
+
"typesPublisherContentHash": "9b7bfbb6b09092db2ff593d7951dec81d432772b5f3169a7f2b2c484820cca31",
|
|
229
234
|
"typeScriptVersion": "3.7"
|
|
230
235
|
}
|
node/stream.d.ts
CHANGED
|
@@ -790,6 +790,7 @@ declare module 'stream' {
|
|
|
790
790
|
readonly writableLength: number;
|
|
791
791
|
readonly writableObjectMode: boolean;
|
|
792
792
|
readonly writableCorked: number;
|
|
793
|
+
allowHalfOpen: boolean;
|
|
793
794
|
constructor(opts?: DuplexOptions);
|
|
794
795
|
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
795
796
|
_writev?(
|
node/vm.d.ts
CHANGED
|
@@ -267,7 +267,11 @@ declare module 'vm' {
|
|
|
267
267
|
* @since v10.6.0
|
|
268
268
|
*/
|
|
269
269
|
createCachedData(): Buffer;
|
|
270
|
+
|
|
271
|
+
/** @deprecated in favor of `script.createCachedData()` */
|
|
272
|
+
cachedDataProduced?: boolean | undefined;
|
|
270
273
|
cachedDataRejected?: boolean | undefined;
|
|
274
|
+
cachedData?: Buffer | undefined;
|
|
271
275
|
}
|
|
272
276
|
/**
|
|
273
277
|
* If given a `contextObject`, the `vm.createContext()` method will `prepare
|