@types/node 12.20.26 → 12.20.30

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
@@ -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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 21 Sep 2021 18:31:42 GMT
11
+ * Last updated: Wed, 13 Oct 2021 16:31:24 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).
node v12.20/dgram.d.ts CHANGED
@@ -58,7 +58,7 @@ declare module 'dgram' {
58
58
  send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void;
59
59
  setBroadcast(flag: boolean): void;
60
60
  setMulticastInterface(multicastInterface: string): void;
61
- setMulticastLoopback(flag: boolean): void;
61
+ setMulticastLoopback(flag: boolean): boolean;
62
62
  setMulticastTTL(ttl: number): void;
63
63
  setRecvBufferSize(size: number): void;
64
64
  setSendBufferSize(size: number): void;
@@ -542,6 +542,11 @@ declare namespace NodeJS {
542
542
  ignoreErrors?: boolean | undefined;
543
543
  colorMode?: boolean | 'auto' | undefined;
544
544
  inspectOptions?: InspectOptions | undefined;
545
+ /**
546
+ * Set group indentation
547
+ * @default 2
548
+ */
549
+ groupIndentation?: number | undefined;
545
550
  }
546
551
 
547
552
  interface ConsoleConstructor {
node v12.20/index.d.ts CHANGED
@@ -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.
@@ -1910,11 +1910,17 @@ declare module 'inspector' {
1910
1910
 
1911
1911
  /**
1912
1912
  * Connects a session to the inspector back-end.
1913
- * An exception will be thrown if there is already a connected session established either
1914
- * through the API or by a front-end connected to the Inspector WebSocket port.
1915
1913
  */
1916
1914
  connect(): void;
1917
1915
 
1916
+ /**
1917
+ * Connects a session to the main thread inspector back-end.
1918
+ * An exception will be thrown if this API was not called on a Worker
1919
+ * thread.
1920
+ * @since 12.11.0
1921
+ */
1922
+ connectToMainThread(): void;
1923
+
1918
1924
  /**
1919
1925
  * Immediately close the session. All pending message callbacks will be called with an error.
1920
1926
  * session.connect() will need to be called to be able to send messages again.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.26",
3
+ "version": "12.20.30",
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": "a306840a5ab2bd20920a38042841e53fb66553e7f394ca81bcae00ef7572dd93",
198
+ "typesPublisherContentHash": "6e04db4649a8e9eac3827af31fea2acbba8ee510fa471be3b776a44c09fa1f8e",
204
199
  "typeScriptVersion": "3.7"
205
200
  }