@types/node 16.7.8 → 16.7.12

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 CHANGED
@@ -8,9 +8,9 @@ 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: Mon, 30 Aug 2021 19:31:20 GMT
11
+ * Last updated: Tue, 07 Sep 2021 04:01:21 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), and [Linus Unnebäck](https://github.com/LinusU).
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
@@ -185,7 +185,6 @@ declare namespace NodeJS {
185
185
  code?: string | undefined;
186
186
  path?: string | undefined;
187
187
  syscall?: string | undefined;
188
- stack?: string | undefined;
189
188
  }
190
189
 
191
190
  interface ReadableStream extends EventEmitter {
node/index.d.ts CHANGED
@@ -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.8",
3
+ "version": "16.7.12",
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": "39f9c49f6a970a57080fc8c4d55e25baf9da3bff3415a32ea548454d6f5b85a3",
233
+ "typesPublisherContentHash": "64fe277cec6136f1aeabf545d434cdfe99b1f4255d740e147c54f1a5b8cfa86e",
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/tls.d.ts CHANGED
@@ -160,9 +160,10 @@ declare module 'tls' {
160
160
  encrypted: boolean;
161
161
  /**
162
162
  * String containing the selected ALPN protocol.
163
- * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false.
163
+ * Before a handshake has completed, this value is always null.
164
+ * When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
164
165
  */
165
- alpnProtocol?: string | undefined;
166
+ alpnProtocol: string | false | null;
166
167
  /**
167
168
  * Returns an object representing the local certificate. The returned object has
168
169
  * some properties corresponding to the fields of the certificate.
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