@types/node 12.20.23 → 12.20.27

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 v12.20/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 (http://nodejs.org/).
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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 31 Aug 2021 23:01:33 GMT
11
+ * Last updated: Sat, 25 Sep 2021 11:01:25 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), and [Jason Kwok](https://github.com/JasonHK).
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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), and [ExE Boss](https://github.com/ExE-Boss).
@@ -445,12 +445,13 @@ declare module 'child_process' {
445
445
  error?: Error | undefined;
446
446
  }
447
447
  function spawnSync(command: string): SpawnSyncReturns<Buffer>;
448
- function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
449
- function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
450
- function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
451
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
452
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
453
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
448
+ function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
449
+ function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
450
+ function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
451
+ function spawnSync(command: string, args: ReadonlyArray<string>): SpawnSyncReturns<Buffer>;
452
+ function spawnSync(command: string, args: ReadonlyArray<string>, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
453
+ function spawnSync(command: string, args: ReadonlyArray<string>, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
454
+ function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
454
455
 
455
456
  interface ExecSyncOptions extends CommonOptions {
456
457
  input?: string | Uint8Array | undefined;
@@ -467,9 +468,9 @@ declare module 'child_process' {
467
468
  encoding: string; // specify `null`.
468
469
  }
469
470
  function execSync(command: string): Buffer;
470
- function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string;
471
- function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer;
472
- function execSync(command: string, options?: ExecSyncOptions): Buffer;
471
+ function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
472
+ function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer;
473
+ function execSync(command: string, options?: ExecSyncOptions): string | Buffer;
473
474
 
474
475
  interface ExecFileSyncOptions extends CommonOptions {
475
476
  input?: string | NodeJS.ArrayBufferView | undefined;
@@ -486,10 +487,11 @@ declare module 'child_process' {
486
487
  encoding: string; // specify `null`.
487
488
  }
488
489
  function execFileSync(command: string): Buffer;
489
- function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string;
490
- function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
491
- function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer;
492
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithStringEncoding): string;
493
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
494
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): Buffer;
490
+ function execFileSync(command: string, options: ExecFileSyncOptionsWithStringEncoding): string;
491
+ function execFileSync(command: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
492
+ function execFileSync(command: string, options?: ExecFileSyncOptions): string | Buffer;
493
+ function execFileSync(command: string, args: ReadonlyArray<string>): Buffer;
494
+ function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithStringEncoding): string;
495
+ function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
496
+ function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
495
497
  }
@@ -629,7 +629,6 @@ declare namespace NodeJS {
629
629
  code?: string | undefined;
630
630
  path?: string | undefined;
631
631
  syscall?: string | undefined;
632
- stack?: string | undefined;
633
632
  }
634
633
 
635
634
  class EventEmitter {
node v12.20/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Type definitions for non-npm package Node.js 12.20
2
- // Project: http://nodejs.org/
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>
@@ -36,7 +36,6 @@
36
36
  // Junxiao Shi <https://github.com/yoursunny>
37
37
  // Ilia Baryshnikov <https://github.com/qwelias>
38
38
  // ExE Boss <https://github.com/ExE-Boss>
39
- // Jason Kwok <https://github.com/JasonHK>
40
39
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
41
40
 
42
41
  // NOTE: These definitions support NodeJS and TypeScript 3.7.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.23",
3
+ "version": "12.20.27",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -184,11 +184,6 @@
184
184
  "name": "ExE Boss",
185
185
  "url": "https://github.com/ExE-Boss",
186
186
  "githubUsername": "ExE-Boss"
187
- },
188
- {
189
- "name": "Jason Kwok",
190
- "url": "https://github.com/JasonHK",
191
- "githubUsername": "JasonHK"
192
187
  }
193
188
  ],
194
189
  "main": "",
@@ -200,6 +195,6 @@
200
195
  },
201
196
  "scripts": {},
202
197
  "dependencies": {},
203
- "typesPublisherContentHash": "b54e1ad768c7f46e0cb25c41c1febd78527776fec36ba84da7897e4a78e533fb",
198
+ "typesPublisherContentHash": "f1d2e6c3a55602b2544f03645a9c5c3e06a2ea1424f8fb594cfdde5f4b83856d",
204
199
  "typeScriptVersion": "3.7"
205
200
  }