@types/node 14.17.30 → 14.17.34

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 v14.17/README.md CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 25 Oct 2021 15:01:21 GMT
11
+ * Last updated: Thu, 18 Nov 2021 19:01:40 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
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), [Hoàng Văn Khải](https://github.com/KSXGitHub), [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), [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), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), and [Bond](https://github.com/bondz).
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), [Hoàng Văn Khải](https://github.com/KSXGitHub), [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), [Seth Westphal](https://github.com/westy92), [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), [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), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), and [Bond](https://github.com/bondz).
@@ -264,7 +264,6 @@ declare module 'child_process' {
264
264
 
265
265
  interface ExecOptions extends CommonOptions {
266
266
  shell?: string | undefined;
267
- signal?: AbortSignal | undefined;
268
267
  maxBuffer?: number | undefined;
269
268
  killSignal?: NodeJS.Signals | number | undefined;
270
269
  }
node v14.17/dns.d.ts CHANGED
@@ -250,6 +250,8 @@ declare module 'dns' {
250
250
  function setServers(servers: ReadonlyArray<string>): void;
251
251
  function getServers(): string[];
252
252
 
253
+ function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
254
+
253
255
  // Error codes
254
256
  const NODATA: string;
255
257
  const FORMERR: string;
@@ -356,6 +358,8 @@ declare module 'dns' {
356
358
 
357
359
  function setServers(servers: ReadonlyArray<string>): void;
358
360
 
361
+ function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
362
+
359
363
  class Resolver {
360
364
  constructor(options?: ResolverOptions);
361
365
  cancel(): void;
node v14.17/fs.d.ts CHANGED
@@ -143,7 +143,7 @@ declare module 'fs' {
143
143
  }
144
144
 
145
145
  export class ReadStream extends stream.Readable {
146
- close(): void;
146
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
147
147
  bytesRead: number;
148
148
  path: string | Buffer;
149
149
  pending: boolean;
@@ -211,7 +211,7 @@ declare module 'fs' {
211
211
  }
212
212
 
213
213
  export class WriteStream extends stream.Writable {
214
- close(): void;
214
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
215
215
  bytesWritten: number;
216
216
  path: string | Buffer;
217
217
  pending: boolean;
node v14.17/index.d.ts CHANGED
@@ -22,6 +22,7 @@
22
22
  // Nikita Galkin <https://github.com/galkin>
23
23
  // Parambir Singh <https://github.com/parambirs>
24
24
  // Sebastian Silbermann <https://github.com/eps1lon>
25
+ // Seth Westphal <https://github.com/westy92>
25
26
  // Simon Schick <https://github.com/SimonSchick>
26
27
  // Thomas den Hollander <https://github.com/ThomasdenH>
27
28
  // Wilco Bakker <https://github.com/WilcoBakker>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.17.30",
3
+ "version": "14.17.34",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -115,6 +115,11 @@
115
115
  "url": "https://github.com/eps1lon",
116
116
  "githubUsername": "eps1lon"
117
117
  },
118
+ {
119
+ "name": "Seth Westphal",
120
+ "url": "https://github.com/westy92",
121
+ "githubUsername": "westy92"
122
+ },
118
123
  {
119
124
  "name": "Simon Schick",
120
125
  "url": "https://github.com/SimonSchick",
@@ -215,6 +220,6 @@
215
220
  },
216
221
  "scripts": {},
217
222
  "dependencies": {},
218
- "typesPublisherContentHash": "b6ded63089f40ac79d7e8ac79f2f32b442b8f2e7f0b1a92160231a145bf5a0e7",
219
- "typeScriptVersion": "3.7"
223
+ "typesPublisherContentHash": "e2a1fbcecdca546c154d6cef43d8b0cd889ae502a33a0aa58c210786c3a2fa7e",
224
+ "typeScriptVersion": "3.8"
220
225
  }
@@ -45,6 +45,7 @@ declare module 'readline' {
45
45
  resume(): this;
46
46
  close(): void;
47
47
  write(data: string | Buffer, key?: Key): void;
48
+ write(data: undefined | null | string | Buffer, key: Key): void;
48
49
 
49
50
  /**
50
51
  * Returns the real position of the cursor in relation to the input