@types/node 14.17.15 → 14.17.19

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: Tue, 07 Sep 2021 07:31:43 GMT
11
+ * Last updated: Sat, 25 Sep 2021 11:01:24 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), [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), 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), [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), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), and [Bond](https://github.com/bondz).
@@ -462,10 +462,10 @@ declare module 'child_process' {
462
462
  function spawnSync(command: string): SpawnSyncReturns<Buffer>;
463
463
  function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
464
464
  function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
465
- function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
465
+ function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
466
466
  function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
467
467
  function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<Buffer>;
468
- function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<Buffer>;
468
+ function spawnSync(command: string, args?: ReadonlyArray<string>, options?: SpawnSyncOptions): SpawnSyncReturns<string | Buffer>;
469
469
 
470
470
  interface ExecSyncOptions extends CommonOptions {
471
471
  input?: string | Uint8Array | undefined;
@@ -482,9 +482,9 @@ declare module 'child_process' {
482
482
  encoding?: 'buffer' | null | undefined;
483
483
  }
484
484
  function execSync(command: string): Buffer;
485
- function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string;
486
- function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer;
487
- function execSync(command: string, options?: ExecSyncOptions): Buffer;
485
+ function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
486
+ function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): Buffer;
487
+ function execSync(command: string, options?: ExecSyncOptions): string | Buffer;
488
488
 
489
489
  interface ExecFileSyncOptions extends CommonOptions {
490
490
  input?: string | NodeJS.ArrayBufferView | undefined;
@@ -501,10 +501,11 @@ declare module 'child_process' {
501
501
  encoding: BufferEncoding; // specify `null`.
502
502
  }
503
503
  function execFileSync(command: string): Buffer;
504
- function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string;
505
- function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
506
- function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer;
507
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithStringEncoding): string;
508
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer;
509
- function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): Buffer;
504
+ function execFileSync(command: string, options: ExecFileSyncOptionsWithStringEncoding): string;
505
+ function execFileSync(command: string, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
506
+ function execFileSync(command: string, options?: ExecFileSyncOptions): string | Buffer;
507
+ function execFileSync(command: string, args: ReadonlyArray<string>): Buffer;
508
+ function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithStringEncoding): string;
509
+ function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
510
+ function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
510
511
  }
@@ -437,7 +437,6 @@ declare namespace NodeJS {
437
437
  code?: string | undefined;
438
438
  path?: string | undefined;
439
439
  syscall?: string | undefined;
440
- stack?: string | undefined;
441
440
  }
442
441
 
443
442
  interface ReadableStream extends EventEmitter {
node v14.17/index.d.ts CHANGED
@@ -38,7 +38,6 @@
38
38
  // Surasak Chaisurin <https://github.com/Ryan-Willpower>
39
39
  // Piotr Błażejewicz <https://github.com/peterblazejewicz>
40
40
  // Anna Henningsen <https://github.com/addaleax>
41
- // Jason Kwok <https://github.com/JasonHK>
42
41
  // Victor Perin <https://github.com/victorperin>
43
42
  // Yongsheng Zhang <https://github.com/ZYSzys>
44
43
  // Bond <https://github.com/bondz>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.17.15",
3
+ "version": "14.17.19",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -195,11 +195,6 @@
195
195
  "url": "https://github.com/addaleax",
196
196
  "githubUsername": "addaleax"
197
197
  },
198
- {
199
- "name": "Jason Kwok",
200
- "url": "https://github.com/JasonHK",
201
- "githubUsername": "JasonHK"
202
- },
203
198
  {
204
199
  "name": "Victor Perin",
205
200
  "url": "https://github.com/victorperin",
@@ -225,6 +220,6 @@
225
220
  },
226
221
  "scripts": {},
227
222
  "dependencies": {},
228
- "typesPublisherContentHash": "cc6eb5a4ee285b4918af508cea3ca63abdb77c14ad6f8cfebcfabc5dc714aa00",
223
+ "typesPublisherContentHash": "8a3a81c8ee929dff59247980399dd3ba511f47cf9643417aabe87123c38a8bce",
229
224
  "typeScriptVersion": "3.7"
230
225
  }
node v14.17/url.d.ts CHANGED
@@ -98,7 +98,7 @@ declare module 'url' {
98
98
  }
99
99
 
100
100
  class URLSearchParams implements Iterable<[string, string]> {
101
- constructor(init?: URLSearchParams | string | NodeJS.Dict<string | ReadonlyArray<string>> | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
101
+ constructor(init?: URLSearchParams | string | Record<string, string | ReadonlyArray<string>> | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
102
102
  append(name: string, value: string): void;
103
103
  delete(name: string): void;
104
104
  entries(): IterableIterator<[string, string]>;