@types/node 14.18.45 → 14.18.46

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.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/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 05 May 2023 21:32:49 GMT
11
+ * Last updated: Mon, 08 May 2023 20:33:02 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
@@ -338,7 +338,10 @@ declare module 'child_process' {
338
338
  interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
339
339
  encoding: BufferEncoding;
340
340
  }
341
- type ExecFileException = ExecException & NodeJS.ErrnoException;
341
+ type ExecFileException =
342
+ & Omit<ExecException, 'code'>
343
+ & Omit<NodeJS.ErrnoException, 'code'>
344
+ & { code?: string | number | undefined | null };
342
345
 
343
346
  function execFile(file: string): ChildProcess;
344
347
  function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.18.45",
3
+ "version": "14.18.46",
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": "cf29a74ab9c86db6a476d5839324ec05ab9ecfea763e41c96c0590b3a25503f7",
230
+ "typesPublisherContentHash": "32485d829ef18b69e5c69b0e6cd269c7c93ef50b4fd2cfea4be458c1e15982e3",
231
231
  "typeScriptVersion": "4.3"
232
232
  }
@@ -338,7 +338,10 @@ declare module 'child_process' {
338
338
  interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {
339
339
  encoding: BufferEncoding;
340
340
  }
341
- type ExecFileException = ExecException & NodeJS.ErrnoException;
341
+ type ExecFileException =
342
+ & Omit<ExecException, 'code'>
343
+ & Omit<NodeJS.ErrnoException, 'code'>
344
+ & { code?: string | number | undefined | null };
342
345
 
343
346
  function execFile(file: string): ChildProcess;
344
347
  function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess;