@types/node 16.18.48 → 16.18.50

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 v16.18/README.md CHANGED
@@ -8,7 +8,7 @@ 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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 02 Sep 2023 20:03:03 GMT
11
+ * Last updated: Fri, 08 Sep 2023 21:33:22 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.48",
3
+ "version": "16.18.50",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -227,6 +227,6 @@
227
227
  },
228
228
  "scripts": {},
229
229
  "dependencies": {},
230
- "typesPublisherContentHash": "bce8169de086a32203cbe532fc3b869863af5ee30e0cd23caa77cb8f4c960f4a",
230
+ "typesPublisherContentHash": "9eac96925c53be8d53b95abd39b2b8b89f35f36d377ae4fc683e3a3c6135bfcb",
231
231
  "typeScriptVersion": "4.3"
232
232
  }
@@ -1262,7 +1262,7 @@ declare module 'process' {
1262
1262
  * If Node.js is spawned with an IPC channel, the `process.send()` method can be
1263
1263
  * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
1264
1264
  *
1265
- * If Node.js was not spawned with an IPC channel, `process.send` will be`undefined`.
1265
+ * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`.
1266
1266
  *
1267
1267
  * The message goes through serialization and parsing. The resulting message might
1268
1268
  * not be the same as what is originally sent.
@@ -1262,7 +1262,7 @@ declare module 'process' {
1262
1262
  * If Node.js is spawned with an IPC channel, the `process.send()` method can be
1263
1263
  * used to send messages to the parent process. Messages will be received as a `'message'` event on the parent's `ChildProcess` object.
1264
1264
  *
1265
- * If Node.js was not spawned with an IPC channel, `process.send` will be`undefined`.
1265
+ * If Node.js was not spawned with an IPC channel, `process.send` will be `undefined`.
1266
1266
  *
1267
1267
  * The message goes through serialization and parsing. The resulting message might
1268
1268
  * not be the same as what is originally sent.
@@ -317,7 +317,7 @@ declare module 'util' {
317
317
  * @return The representation of `object`.
318
318
  */
319
319
  export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
320
- export function inspect(object: any, options: InspectOptions): string;
320
+ export function inspect(object: any, options?: InspectOptions): string;
321
321
  export namespace inspect {
322
322
  let colors: NodeJS.Dict<[number, number]>;
323
323
  let styles: {
node v16.18/util.d.ts CHANGED
@@ -317,7 +317,7 @@ declare module 'util' {
317
317
  * @return The representation of `object`.
318
318
  */
319
319
  export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
320
- export function inspect(object: any, options: InspectOptions): string;
320
+ export function inspect(object: any, options?: InspectOptions): string;
321
321
  export namespace inspect {
322
322
  let colors: NodeJS.Dict<[number, number]>;
323
323
  let styles: {