@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 +1 -1
- node/child_process.d.ts +2 -2
- node/dns/promises.d.ts +25 -23
- node/dns.d.ts +23 -23
- node/package.json +2 -2
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:
|
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
|
-
|
364
|
-
const
|
365
|
-
const
|
366
|
-
const
|
367
|
-
const
|
368
|
-
const
|
369
|
-
const
|
370
|
-
const
|
371
|
-
const
|
372
|
-
const
|
373
|
-
const
|
374
|
-
const
|
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: "
|
377
|
-
const NOMEM: "
|
378
|
-
const DESTRUCTION: "
|
379
|
-
const BADSTR: "
|
380
|
-
const BADFLAGS: "
|
381
|
-
const NONAME: "
|
382
|
-
const BADHINTS: "
|
383
|
-
const NOTINITIALIZED: "
|
384
|
-
const LOADIPHLPAPI: "
|
385
|
-
const ADDRGETNETWORKPARAMS: "
|
386
|
-
const 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: "
|
747
|
-
export const FORMERR: "
|
748
|
-
export const SERVFAIL: "
|
749
|
-
export const NOTFOUND: "
|
750
|
-
export const NOTIMP: "
|
751
|
-
export const REFUSED: "
|
752
|
-
export const BADQUERY: "
|
753
|
-
export const BADNAME: "
|
754
|
-
export const BADFAMILY: "
|
755
|
-
export const BADRESP: "
|
756
|
-
export const CONNREFUSED: "
|
757
|
-
export const 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: "
|
760
|
-
export const NOMEM: "
|
761
|
-
export const DESTRUCTION: "
|
762
|
-
export const BADSTR: "
|
763
|
-
export const BADFLAGS: "
|
764
|
-
export const NONAME: "
|
765
|
-
export const BADHINTS: "
|
766
|
-
export const NOTINITIALIZED: "
|
767
|
-
export const LOADIPHLPAPI: "
|
768
|
-
export const ADDRGETNETWORKPARAMS: "
|
769
|
-
export const 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.
|
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": "
|
215
|
+
"typesPublisherContentHash": "e79282850f387d1bca6eea06eccb5f41cc0418e1cdf8351686abc23d073af52d",
|
216
216
|
"typeScriptVersion": "4.7"
|
217
217
|
}
|