@types/node 20.14.5 → 20.14.7

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/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 18 Jun 2024 06:37:41 GMT
11
+ * Last updated: Thu, 20 Jun 2024 21:07:25 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/child_process.d.ts CHANGED
@@ -1391,8 +1391,8 @@ declare module "child_process" {
1391
1391
  * @param modulePath The module to run in the child.
1392
1392
  * @param args List of string arguments.
1393
1393
  */
1394
- function fork(modulePath: string, options?: ForkOptions): ChildProcess;
1395
- function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess;
1394
+ function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
1395
+ function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
1396
1396
  interface SpawnSyncOptions extends CommonSpawnOptions {
1397
1397
  input?: string | NodeJS.ArrayBufferView | undefined;
1398
1398
  maxBuffer?: number | undefined;
node/dns/promises.d.ts CHANGED
@@ -360,30 +360,32 @@ declare module "dns/promises" {
360
360
  * @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
361
361
  */
362
362
  function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
363
- const NODATA: "NODATA";
364
- const FORMERR: "FORMERR";
365
- const SERVFAIL: "SERVFAIL";
366
- const NOTFOUND: "NOTFOUND";
367
- const NOTIMP: "NOTIMP";
368
- const REFUSED: "REFUSED";
369
- const BADQUERY: "BADQUERY";
370
- const BADNAME: "BADNAME";
371
- const BADFAMILY: "BADFAMILY";
372
- const BADRESP: "BADRESP";
373
- const CONNREFUSED: "TIMEOUT";
374
- const TIMEOUT: "TIMEOUT";
363
+ // Error codes
364
+ const NODATA: "ENODATA";
365
+ const FORMERR: "EFORMERR";
366
+ const SERVFAIL: "ESERVFAIL";
367
+ const NOTFOUND: "ENOTFOUND";
368
+ const NOTIMP: "ENOTIMP";
369
+ const REFUSED: "EREFUSED";
370
+ const BADQUERY: "EBADQUERY";
371
+ const BADNAME: "EBADNAME";
372
+ const BADFAMILY: "EBADFAMILY";
373
+ const BADRESP: "EBADRESP";
374
+ const CONNREFUSED: "ECONNREFUSED";
375
+ const TIMEOUT: "ETIMEOUT";
375
376
  const EOF: "EOF";
376
- const FILE: "FILE";
377
- const NOMEM: "NOMEM";
378
- const DESTRUCTION: "DESTRUCTION";
379
- const BADSTR: "BADSTR";
380
- const BADFLAGS: "BADFLAGS";
381
- const NONAME: "NONAME";
382
- const BADHINTS: "BADHINTS";
383
- const NOTINITIALIZED: "NOTINITIALIZED";
384
- const LOADIPHLPAPI: "LOADIPHLPAPI";
385
- const ADDRGETNETWORKPARAMS: "ADDRGETNETWORKPARAMS";
386
- const CANCELLED: "CANCELLED";
377
+ const FILE: "EFILE";
378
+ const NOMEM: "ENOMEM";
379
+ const DESTRUCTION: "EDESTRUCTION";
380
+ const BADSTR: "EBADSTR";
381
+ const BADFLAGS: "EBADFLAGS";
382
+ const NONAME: "ENONAME";
383
+ const BADHINTS: "EBADHINTS";
384
+ const NOTINITIALIZED: "ENOTINITIALIZED";
385
+ const LOADIPHLPAPI: "ELOADIPHLPAPI";
386
+ const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
387
+ const CANCELLED: "ECANCELLED";
388
+
387
389
  /**
388
390
  * An independent resolver for DNS requests.
389
391
  *
node/dns.d.ts CHANGED
@@ -743,30 +743,30 @@ declare module "dns" {
743
743
  */
744
744
  export function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
745
745
  // Error codes
746
- export const NODATA: "NODATA";
747
- export const FORMERR: "FORMERR";
748
- export const SERVFAIL: "SERVFAIL";
749
- export const NOTFOUND: "NOTFOUND";
750
- export const NOTIMP: "NOTIMP";
751
- export const REFUSED: "REFUSED";
752
- export const BADQUERY: "BADQUERY";
753
- export const BADNAME: "BADNAME";
754
- export const BADFAMILY: "BADFAMILY";
755
- export const BADRESP: "BADRESP";
756
- export const CONNREFUSED: "TIMEOUT";
757
- export const TIMEOUT: "TIMEOUT";
746
+ export const NODATA: "ENODATA";
747
+ export const FORMERR: "EFORMERR";
748
+ export const SERVFAIL: "ESERVFAIL";
749
+ export const NOTFOUND: "ENOTFOUND";
750
+ export const NOTIMP: "ENOTIMP";
751
+ export const REFUSED: "EREFUSED";
752
+ export const BADQUERY: "EBADQUERY";
753
+ export const BADNAME: "EBADNAME";
754
+ export const BADFAMILY: "EBADFAMILY";
755
+ export const BADRESP: "EBADRESP";
756
+ export const CONNREFUSED: "ECONNREFUSED";
757
+ export const TIMEOUT: "ETIMEOUT";
758
758
  export const EOF: "EOF";
759
- export const FILE: "FILE";
760
- export const NOMEM: "NOMEM";
761
- export const DESTRUCTION: "DESTRUCTION";
762
- export const BADSTR: "BADSTR";
763
- export const BADFLAGS: "BADFLAGS";
764
- export const NONAME: "NONAME";
765
- export const BADHINTS: "BADHINTS";
766
- export const NOTINITIALIZED: "NOTINITIALIZED";
767
- export const LOADIPHLPAPI: "LOADIPHLPAPI";
768
- export const ADDRGETNETWORKPARAMS: "ADDRGETNETWORKPARAMS";
769
- export const CANCELLED: "CANCELLED";
759
+ export const FILE: "EFILE";
760
+ export const NOMEM: "ENOMEM";
761
+ export const DESTRUCTION: "EDESTRUCTION";
762
+ export const BADSTR: "EBADSTR";
763
+ export const BADFLAGS: "EBADFLAGS";
764
+ export const NONAME: "ENONAME";
765
+ export const BADHINTS: "EBADHINTS";
766
+ export const NOTINITIALIZED: "ENOTINITIALIZED";
767
+ export const LOADIPHLPAPI: "ELOADIPHLPAPI";
768
+ export const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
769
+ export const CANCELLED: "ECANCELLED";
770
770
  export interface ResolverOptions {
771
771
  /**
772
772
  * Query timeout in milliseconds, or `-1` to use the default timeout.
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.14.5",
3
+ "version": "20.14.7",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -212,6 +212,6 @@
212
212
  "dependencies": {
213
213
  "undici-types": "~5.26.4"
214
214
  },
215
- "typesPublisherContentHash": "8dc6f8d71b81b71918d54a2fc8b71f492e0c9ebb263ffe4a93970039c9aadd3b",
215
+ "typesPublisherContentHash": "e79282850f387d1bca6eea06eccb5f41cc0418e1cdf8351686abc23d073af52d",
216
216
  "typeScriptVersion": "4.7"
217
217
  }