cdk-ecr-deployment 0.0.80 → 0.0.81

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.
Files changed (40) hide show
  1. package/.gitattributes +20 -21
  2. package/.jsii +2 -2
  3. package/lib/index.js +3 -3
  4. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +2 -2
  5. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1 -0
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +11 -0
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +11 -0
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +44 -8
  9. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +3 -2
  10. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
  11. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +2 -2
  12. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +8 -8
  13. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +5 -1
  14. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
  15. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +24 -1
  16. package/node_modules/@types/keyv/node_modules/@types/node/README.md +2 -2
  17. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1 -0
  18. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +11 -0
  19. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +11 -0
  20. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +44 -8
  21. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +3 -2
  22. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
  23. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +2 -2
  24. package/node_modules/@types/keyv/node_modules/@types/node/package.json +8 -8
  25. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +5 -1
  26. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
  27. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +24 -1
  28. package/node_modules/@types/responselike/node_modules/@types/node/README.md +2 -2
  29. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1 -0
  30. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +11 -0
  31. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +11 -0
  32. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +44 -8
  33. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +3 -2
  34. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
  35. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +2 -2
  36. package/node_modules/@types/responselike/node_modules/@types/node/package.json +8 -8
  37. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +5 -1
  38. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
  39. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +24 -1
  40. package/package.json +17 -17
package/.gitattributes CHANGED
@@ -1,23 +1,22 @@
1
1
  # ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
2
2
 
3
- *.snap linguist-generated
4
- /.eslintrc.json linguist-generated
5
- /.gitattributes linguist-generated
6
- /.github/pull_request_template.md linguist-generated
7
- /.github/workflows/auto-approve.yml linguist-generated
8
- /.github/workflows/build.yml linguist-generated
9
- /.github/workflows/release.yml linguist-generated
10
- /.github/workflows/stale.yml linguist-generated
11
- /.github/workflows/upgrade-projen.yml linguist-generated
12
- /.github/workflows/upgrade.yml linguist-generated
13
- /.gitignore linguist-generated
14
- /.mergify.yml linguist-generated
15
- /.npmignore linguist-generated
16
- /.projen/** linguist-generated
17
- /.projen/deps.json linguist-generated
18
- /.projen/tasks.json linguist-generated
19
- /LICENSE linguist-generated
20
- /package.json linguist-generated
21
- /tsconfig.eslint.json linguist-generated
22
- /tsconfig.jest.json linguist-generated
23
- /yarn.lock linguist-generated
3
+ *.snap linguist-generated
4
+ /.eslintrc.json linguist-generated
5
+ /.gitattributes linguist-generated
6
+ /.github/pull_request_template.md linguist-generated
7
+ /.github/workflows/auto-approve.yml linguist-generated
8
+ /.github/workflows/build.yml linguist-generated
9
+ /.github/workflows/pull-request-lint.yml linguist-generated
10
+ /.github/workflows/release.yml linguist-generated
11
+ /.github/workflows/stale.yml linguist-generated
12
+ /.github/workflows/upgrade-main.yml linguist-generated
13
+ /.gitignore linguist-generated
14
+ /.mergify.yml linguist-generated
15
+ /.npmignore linguist-generated
16
+ /.projen/** linguist-generated
17
+ /.projen/deps.json linguist-generated
18
+ /.projen/tasks.json linguist-generated
19
+ /LICENSE linguist-generated
20
+ /package.json linguist-generated
21
+ /tsconfig.dev.json linguist-generated
22
+ /yarn.lock linguist-generated
package/.jsii CHANGED
@@ -1096,6 +1096,6 @@
1096
1096
  "symbolId": "src/index:S3ArchiveName"
1097
1097
  }
1098
1098
  },
1099
- "version": "0.0.80",
1100
- "fingerprint": "8p+ccAbOMd29KDa2WktlUFCABYcSKietbJzGGK2OPxY="
1099
+ "version": "0.0.81",
1100
+ "fingerprint": "5B4QU5vY2Z1gF+eXYJA/sqVl72Qwrvh/3p9MCmy4z5A="
1101
1101
  }
package/lib/index.js CHANGED
@@ -68,7 +68,7 @@ class DockerImageName {
68
68
  }
69
69
  exports.DockerImageName = DockerImageName;
70
70
  _a = JSII_RTTI_SYMBOL_1;
71
- DockerImageName[_a] = { fqn: "cdk-ecr-deployment.DockerImageName", version: "0.0.80" };
71
+ DockerImageName[_a] = { fqn: "cdk-ecr-deployment.DockerImageName", version: "0.0.81" };
72
72
  /**
73
73
  * @stability stable
74
74
  */
@@ -94,7 +94,7 @@ class S3ArchiveName {
94
94
  }
95
95
  exports.S3ArchiveName = S3ArchiveName;
96
96
  _b = JSII_RTTI_SYMBOL_1;
97
- S3ArchiveName[_b] = { fqn: "cdk-ecr-deployment.S3ArchiveName", version: "0.0.80" };
97
+ S3ArchiveName[_b] = { fqn: "cdk-ecr-deployment.S3ArchiveName", version: "0.0.81" };
98
98
  /**
99
99
  * @stability stable
100
100
  */
@@ -177,5 +177,5 @@ class ECRDeployment extends core_1.Construct {
177
177
  }
178
178
  exports.ECRDeployment = ECRDeployment;
179
179
  _c = JSII_RTTI_SYMBOL_1;
180
- ECRDeployment[_c] = { fqn: "cdk-ecr-deployment.ECRDeployment", version: "0.0.80" };
180
+ ECRDeployment[_c] = { fqn: "cdk-ecr-deployment.ECRDeployment", version: "0.0.81" };
181
181
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxxRUFBcUU7QUFDckUsc0NBQXNDO0FBR3RDLCtDQUErQztBQUMvQyw2QkFBNkI7QUFFN0Isd0NBQXdDO0FBQ3hDLDhDQUE4QztBQUM5QyxxQ0FBcUM7QUFHckMsOERBQThEO0FBQzlELHdDQUEwRTtBQWlDMUUsU0FBUyxPQUFPO0lBQ2QsSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxFQUFFLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxrQkFBa0IsQ0FBQyxFQUFFO1FBQ3ZELElBQUk7WUFDRixPQUFPLENBQUMsR0FBRyxDQUFDLDRCQUE0QixDQUFDLENBQUM7WUFFMUMsTUFBTSxhQUFhLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUsc0JBQXNCLENBQUMsQ0FBQztZQUNuRSxNQUFNLFlBQVksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBRSxlQUFlLENBQUMsQ0FBQztZQUMzRCxhQUFhLENB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BJbmMuIG9yIGl0cyBhZmZpbGlhdGVzLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuLy8gU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IEFwYWNoZS0yLjBcblxuXG5pbXBvcnQgKiBhcyBjaGlsZF9wcm9jZXNzIGZyb20gJ2NoaWxkX3Byb2Nlc3MnO1xuaW1wb3J0ICogYXMgcGF0aCBmcm9tICdwYXRoJztcbmltcG9ydCAqIGFzIGVjMiBmcm9tICdAYXdzLWNkay9hd3MtZWMyJztcbmltcG9ydCAqIGFzIGlhbSBmcm9tICdAYXdzLWNkay9hd3MtaWFtJztcbmltcG9ydCAqIGFzIGxhbWJkYSBmcm9tICdAYXdzLWNkay9hd3MtbGFtYmRhJztcbmltcG9ydCAqIGFzIGNkayBmcm9tICdAYXdzLWNkay9jb3JlJztcbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tZHVwbGljYXRlLWltcG9ydHMsIGltcG9ydC9vcmRlclxuaW1wb3J0IHsgQXNzZXRIYXNoVHlwZSwgQ29uc3RydWN0IGFzIENvcmVDb25zdHJ1Y3QgfSBmcm9tICdAYXdzLWNkay9jb3JlJztcblxuZXhwb3J0IGludGVyZmFjZSBFQ1JEZXBsb3ltZW50UHJvcHMge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHNyYzogSUltYWdlTmFtZTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGVzdDogSUltYWdlTmFtZTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgbWVtb3J5TGltaXQ/OiBudW1iZXI7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSByb2xlPzogaWFtLklSb2xlO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgdnBjPzogZWMyLklWcGM7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHZwY1N1Ym5ldHM/OiBlYzIuU3VibmV0U2VsZWN0aW9uO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZW52aXJvbm1lbnQ/OiB7IFtrZXk6IHN0cmluZ106IHN0cmluZyB9O1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIElJbWFnZU5hbWUge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg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AvLyB3aXRoIHRoaXMgY29uZmlndXJhdGlvbi4gb3RoZXJ3aXNlLCBpdCB3b24ndCBiZSBwb3NzaWJsZSB0byB1c2UgbXVsdGlwbGVcbiAgICAvLyBjb25maWd1cmF0aW9ucyBzaW5jZSB3ZSBoYXZlIGEgc2luZ2xldG9uLlxuICAgIGlmIChtZW1vcnlMaW1pdCkge1xuICAgICAgaWYgKGNkay5Ub2tlbi5pc1VucmVzb2x2ZWQobWVtb3J5TGltaXQpKSB7XG4gICAgICAgIHRocm93IG5ldyBFcnJvcignQ2FuXFwndCB1c2UgdG9rZW5zIHdoZW4gc3BlY2lmeWluZyBcIm1lbW9yeUxpbWl0XCIgc2luY2Ugd2UgdXNlIGl0IHRvIGlkZW50aWZ5IHRoZSBzaW5nbGV0b24gY3VzdG9tIHJlc291cmNlIGhhbmRsZXInKTtcbiAgICAgIH1cblxuICAgICAgdXVpZCArPSBgLSR7bWVtb3J5TGltaXQudG9TdHJpbmcoKX1NaUJgO1xuICAgIH1cblxuICAgIHJldHVybiB1dWlkO1xuICB9XG59XG4iXX0=
@@ -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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 14 Oct 2021 18:01:22 GMT
11
+ * Last updated: Tue, 23 Nov 2021 19:31:07 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
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), [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), [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), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
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), [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), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [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), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
@@ -789,6 +789,7 @@ declare module 'child_process' {
789
789
  function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptions): ChildProcess;
790
790
  interface ExecOptions extends CommonOptions {
791
791
  shell?: string | undefined;
792
+ signal?: AbortSignal | undefined;
792
793
  maxBuffer?: number | undefined;
793
794
  killSignal?: NodeJS.Signals | number | undefined;
794
795
  }
@@ -331,6 +331,17 @@ declare module 'dns/promises' {
331
331
  * @param servers array of `RFC 5952` formatted addresses
332
332
  */
333
333
  function setServers(servers: ReadonlyArray<string>): void;
334
+ /**
335
+ * Set the default value of `verbatim` in {@link lookup}. The value could be:
336
+ * - `ipv4first`: sets default `verbatim` `false`.
337
+ * - `verbatim`: sets default `verbatim` `true`.
338
+ *
339
+ * The default is `ipv4first` and {@link setDefaultResultOrder} have higher priority than `--dns-result-order`.
340
+ * When using worker threads, {@link setDefaultResultOrder} from the main thread won't affect the default dns orders in workers.
341
+ * @since v14.18.0
342
+ * @param order must be 'ipv4first' or 'verbatim'.
343
+ */
344
+ function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
334
345
  class Resolver {
335
346
  constructor(options?: ResolverOptions);
336
347
  cancel(): void;
@@ -526,6 +526,17 @@ declare module 'dns' {
526
526
  * @since v0.11.3
527
527
  */
528
528
  export function getServers(): string[];
529
+ /**
530
+ * Set the default value of `verbatim` in {@link lookup}. The value could be:
531
+ * - `ipv4first`: sets default `verbatim` `false`.
532
+ * - `verbatim`: sets default `verbatim` `true`.
533
+ *
534
+ * The default is `ipv4first` and {@link setDefaultResultOrder} have higher priority than `--dns-result-order`.
535
+ * When using worker threads, {@link setDefaultResultOrder} from the main thread won't affect the default dns orders in workers.
536
+ * @since v14.18.0
537
+ * @param order must be 'ipv4first' or 'verbatim'.
538
+ */
539
+ export function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
529
540
  // Error codes
530
541
  export const NODATA: string;
531
542
  export const FORMERR: string;
@@ -260,6 +260,29 @@ declare module 'fs' {
260
260
  */
261
261
  readSync(): Dirent | null;
262
262
  }
263
+ /**
264
+ * Class: fs.StatWatcher
265
+ * @since v14.3.0, v12.20.0
266
+ * Extends `EventEmitter`
267
+ * A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
268
+ */
269
+ export interface StatWatcher extends EventEmitter {
270
+ /**
271
+ * @since v14.3.0, v12.20.0
272
+ * When called, requests that the Node.js event loop not exit so long as the `fs.StatWatcher` is active.
273
+ * Calling `watcher.ref()` multiple times will have no effect.
274
+ * By default, all `fs.StatWatcher`` objects are "ref'ed", making it normally unnecessary to call `watcher.ref()`
275
+ * unless `watcher.unref()` had been called previously.
276
+ */
277
+ ref(): this;
278
+ /**
279
+ * @since v14.3.0, v12.20.0
280
+ * When called, the active `fs.StatWatcher`` object will not require the Node.js event loop to remain active.
281
+ * If there is no other activity keeping the event loop running, the process may exit before the `fs.StatWatcher`` object's callback is invoked.
282
+ * `Calling watcher.unref()` multiple times will have no effect.
283
+ */
284
+ unref(): this;
285
+ }
263
286
  export interface FSWatcher extends EventEmitter {
264
287
  /**
265
288
  * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
@@ -297,7 +320,7 @@ declare module 'fs' {
297
320
  * @since v0.1.93
298
321
  */
299
322
  export class ReadStream extends stream.Readable {
300
- close(): void;
323
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
301
324
  /**
302
325
  * The number of bytes that have been read so far.
303
326
  * @since v6.4.0
@@ -385,7 +408,7 @@ declare module 'fs' {
385
408
  * callback that will be executed once the `writeStream`is closed.
386
409
  * @since v0.9.4
387
410
  */
388
- close(): void;
411
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
389
412
  /**
390
413
  * The number of bytes written so far. Does not include data that is still queued
391
414
  * for writing.
@@ -2784,21 +2807,34 @@ declare module 'fs' {
2784
2807
  * * the file is renamed and then renamed a second time back to its original name
2785
2808
  * @since v0.1.31
2786
2809
  */
2810
+ export interface WatchFileOptions {
2811
+ bigint?: boolean | undefined;
2812
+ persistent?: boolean | undefined;
2813
+ interval?: number | undefined;
2814
+ }
2787
2815
  export function watchFile(
2788
2816
  filename: PathLike,
2789
2817
  options:
2790
- | {
2791
- persistent?: boolean | undefined;
2792
- interval?: number | undefined;
2793
- }
2818
+ | (WatchFileOptions & {
2819
+ bigint?: false | undefined;
2820
+ })
2794
2821
  | undefined,
2795
2822
  listener: (curr: Stats, prev: Stats) => void
2796
- ): void;
2823
+ ): StatWatcher;
2824
+ export function watchFile(
2825
+ filename: PathLike,
2826
+ options:
2827
+ | (WatchFileOptions & {
2828
+ bigint: true;
2829
+ })
2830
+ | undefined,
2831
+ listener: (curr: BigIntStats, prev: BigIntStats) => void
2832
+ ): StatWatcher;
2797
2833
  /**
2798
2834
  * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
2799
2835
  * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2800
2836
  */
2801
- export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void;
2837
+ export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): StatWatcher;
2802
2838
  /**
2803
2839
  * Stop watching for changes on `filename`. If `listener` is specified, only that
2804
2840
  * particular listener is removed. Otherwise, _all_ listeners are removed,
@@ -42,7 +42,7 @@
42
42
  declare module 'http' {
43
43
  import * as stream from 'node:stream';
44
44
  import { URL } from 'node:url';
45
- import { Socket, Server as NetServer } from 'node:net';
45
+ import { TcpSocketConnectOpts, Socket, Server as NetServer, LookupFunction } from 'node:net';
46
46
  // incoming headers will never contain number
47
47
  interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
48
48
  accept?: string | undefined;
@@ -136,6 +136,7 @@ declare module 'http' {
136
136
  setHost?: boolean | undefined;
137
137
  // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
138
138
  createConnection?: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined;
139
+ lookup?: LookupFunction | undefined;
139
140
  }
140
141
  interface ServerOptions {
141
142
  IncomingMessage?: typeof IncomingMessage | undefined;
@@ -950,7 +951,7 @@ declare module 'http' {
950
951
  */
951
952
  destroy(error?: Error): void;
952
953
  }
953
- interface AgentOptions {
954
+ interface AgentOptions extends Partial<TcpSocketConnectOpts> {
954
955
  /**
955
956
  * Keep sockets around in a pool to be used by other requests in the future. Default = false
956
957
  */
@@ -21,6 +21,7 @@
21
21
  // Nikita Galkin <https://github.com/galkin>
22
22
  // Parambir Singh <https://github.com/parambirs>
23
23
  // Sebastian Silbermann <https://github.com/eps1lon>
24
+ // Seth Westphal <https://github.com/westy92>
24
25
  // Simon Schick <https://github.com/SimonSchick>
25
26
  // Thomas den Hollander <https://github.com/ThomasdenH>
26
27
  // Wilco Bakker <https://github.com/WilcoBakker>
@@ -30,7 +31,6 @@
30
31
  // Thanik Bhongbhibhat <https://github.com/bhongy>
31
32
  // Marcin Kopacz <https://github.com/chyzwar>
32
33
  // Trivikram Kamat <https://github.com/trivikr>
33
- // Minh Son Nguyen <https://github.com/nguymin4>
34
34
  // Junxiao Shi <https://github.com/yoursunny>
35
35
  // Ilia Baryshnikov <https://github.com/qwelias>
36
36
  // ExE Boss <https://github.com/ExE-Boss>
@@ -255,12 +255,12 @@ declare module 'net' {
255
255
  * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
256
256
  * @since v0.9.6
257
257
  */
258
- readonly localAddress: string;
258
+ readonly localAddress?: string;
259
259
  /**
260
260
  * The numeric representation of the local port. For example, `80` or `21`.
261
261
  * @since v0.9.6
262
262
  */
263
- readonly localPort: number;
263
+ readonly localPort?: number;
264
264
  /**
265
265
  * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
266
266
  * the socket is destroyed (for example, if the client disconnected).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.0",
3
+ "version": "16.11.10",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -110,6 +110,11 @@
110
110
  "url": "https://github.com/eps1lon",
111
111
  "githubUsername": "eps1lon"
112
112
  },
113
+ {
114
+ "name": "Seth Westphal",
115
+ "url": "https://github.com/westy92",
116
+ "githubUsername": "westy92"
117
+ },
113
118
  {
114
119
  "name": "Simon Schick",
115
120
  "url": "https://github.com/SimonSchick",
@@ -155,11 +160,6 @@
155
160
  "url": "https://github.com/trivikr",
156
161
  "githubUsername": "trivikr"
157
162
  },
158
- {
159
- "name": "Minh Son Nguyen",
160
- "url": "https://github.com/nguymin4",
161
- "githubUsername": "nguymin4"
162
- },
163
163
  {
164
164
  "name": "Junxiao Shi",
165
165
  "url": "https://github.com/yoursunny",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "827f2ca6e5d8c037066cca1f4ed1235b83dec1ca8f49b34c8c2b6f477c8f9d6b",
229
- "typeScriptVersion": "3.7"
228
+ "typesPublisherContentHash": "b24d5d157d742f1a54b5d70ed1c014862c87e0187063c31ed2038790f909f02d",
229
+ "typeScriptVersion": "3.8"
230
230
  }
@@ -94,7 +94,11 @@ declare module 'process' {
94
94
  type ExitListener = (code: number) => void;
95
95
  type RejectionHandledListener = (promise: Promise<unknown>) => void;
96
96
  type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
97
- type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<unknown>) => void;
97
+ /**
98
+ * Most of the time the unhandledRejection will be an Error, but this should not be relied upon
99
+ * as *anything* can be thrown/rejected, it is therefore unsafe to assume the the value is an Error.
100
+ */
101
+ type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
98
102
  type WarningListener = (warning: Error) => void;
99
103
  type MessageListener = (message: unknown, sendHandle: unknown) => void;
100
104
  type SignalsListener = (signal: Signals) => void;
@@ -236,6 +236,7 @@ declare module 'readline' {
236
236
  * @since v0.1.98
237
237
  */
238
238
  write(data: string | Buffer, key?: Key): void;
239
+ write(data: undefined | null | string | Buffer, key: Key): void;
239
240
  /**
240
241
  * Returns the real position of the cursor in relation to the input
241
242
  * prompt + string. Long input (wrapping) strings, as well as multiple
@@ -71,6 +71,30 @@ declare module 'url' {
71
71
  function parse(urlString: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
72
72
  function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
73
73
  function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
74
+ /**
75
+ * The URL object has both a `toString()` method and `href` property that return string serializations of the URL.
76
+ * These are not, however, customizable in any way. The `url.format(URL[, options])` method allows for basic
77
+ * customization of the output.
78
+ * Returns a customizable serialization of a URL `String` representation of a `WHATWG URL` object.
79
+ *
80
+ * ```js
81
+ * import url from 'url';
82
+ * const myURL = new URL('https://a:b@測試?abc#foo');
83
+ *
84
+ * console.log(myURL.href);
85
+ * // Prints https://a:b@xn--g6w251d/?abc#foo
86
+ *
87
+ * console.log(myURL.toString());
88
+ * // Prints https://a:b@xn--g6w251d/?abc#foo
89
+ *
90
+ * console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
91
+ * // Prints 'https://測試/?abc'
92
+ * ```
93
+ * @since v7.6.0
94
+ * @param urlObject A `WHATWG URL` object
95
+ * @param options
96
+ */
97
+ function format(urlObject: URL, options?: URLFormatOptions): string;
74
98
  /**
75
99
  * The `url.format()` method returns a formatted URL string derived from`urlObject`.
76
100
  *
@@ -134,7 +158,6 @@ declare module 'url' {
134
158
  * @deprecated Legacy: Use the WHATWG URL API instead.
135
159
  * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
136
160
  */
137
- function format(urlObject: URL, options?: URLFormatOptions): string;
138
161
  function format(urlObject: UrlObject | string): string;
139
162
  /**
140
163
  * The `url.resolve()` method resolves a target URL relative to a base URL in a
@@ -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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 14 Oct 2021 18:01:22 GMT
11
+ * Last updated: Tue, 23 Nov 2021 19:31:07 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
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), [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), [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), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
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), [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), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [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), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
@@ -789,6 +789,7 @@ declare module 'child_process' {
789
789
  function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptions): ChildProcess;
790
790
  interface ExecOptions extends CommonOptions {
791
791
  shell?: string | undefined;
792
+ signal?: AbortSignal | undefined;
792
793
  maxBuffer?: number | undefined;
793
794
  killSignal?: NodeJS.Signals | number | undefined;
794
795
  }
@@ -331,6 +331,17 @@ declare module 'dns/promises' {
331
331
  * @param servers array of `RFC 5952` formatted addresses
332
332
  */
333
333
  function setServers(servers: ReadonlyArray<string>): void;
334
+ /**
335
+ * Set the default value of `verbatim` in {@link lookup}. The value could be:
336
+ * - `ipv4first`: sets default `verbatim` `false`.
337
+ * - `verbatim`: sets default `verbatim` `true`.
338
+ *
339
+ * The default is `ipv4first` and {@link setDefaultResultOrder} have higher priority than `--dns-result-order`.
340
+ * When using worker threads, {@link setDefaultResultOrder} from the main thread won't affect the default dns orders in workers.
341
+ * @since v14.18.0
342
+ * @param order must be 'ipv4first' or 'verbatim'.
343
+ */
344
+ function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
334
345
  class Resolver {
335
346
  constructor(options?: ResolverOptions);
336
347
  cancel(): void;
@@ -526,6 +526,17 @@ declare module 'dns' {
526
526
  * @since v0.11.3
527
527
  */
528
528
  export function getServers(): string[];
529
+ /**
530
+ * Set the default value of `verbatim` in {@link lookup}. The value could be:
531
+ * - `ipv4first`: sets default `verbatim` `false`.
532
+ * - `verbatim`: sets default `verbatim` `true`.
533
+ *
534
+ * The default is `ipv4first` and {@link setDefaultResultOrder} have higher priority than `--dns-result-order`.
535
+ * When using worker threads, {@link setDefaultResultOrder} from the main thread won't affect the default dns orders in workers.
536
+ * @since v14.18.0
537
+ * @param order must be 'ipv4first' or 'verbatim'.
538
+ */
539
+ export function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
529
540
  // Error codes
530
541
  export const NODATA: string;
531
542
  export const FORMERR: string;
@@ -260,6 +260,29 @@ declare module 'fs' {
260
260
  */
261
261
  readSync(): Dirent | null;
262
262
  }
263
+ /**
264
+ * Class: fs.StatWatcher
265
+ * @since v14.3.0, v12.20.0
266
+ * Extends `EventEmitter`
267
+ * A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
268
+ */
269
+ export interface StatWatcher extends EventEmitter {
270
+ /**
271
+ * @since v14.3.0, v12.20.0
272
+ * When called, requests that the Node.js event loop not exit so long as the `fs.StatWatcher` is active.
273
+ * Calling `watcher.ref()` multiple times will have no effect.
274
+ * By default, all `fs.StatWatcher`` objects are "ref'ed", making it normally unnecessary to call `watcher.ref()`
275
+ * unless `watcher.unref()` had been called previously.
276
+ */
277
+ ref(): this;
278
+ /**
279
+ * @since v14.3.0, v12.20.0
280
+ * When called, the active `fs.StatWatcher`` object will not require the Node.js event loop to remain active.
281
+ * If there is no other activity keeping the event loop running, the process may exit before the `fs.StatWatcher`` object's callback is invoked.
282
+ * `Calling watcher.unref()` multiple times will have no effect.
283
+ */
284
+ unref(): this;
285
+ }
263
286
  export interface FSWatcher extends EventEmitter {
264
287
  /**
265
288
  * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
@@ -297,7 +320,7 @@ declare module 'fs' {
297
320
  * @since v0.1.93
298
321
  */
299
322
  export class ReadStream extends stream.Readable {
300
- close(): void;
323
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
301
324
  /**
302
325
  * The number of bytes that have been read so far.
303
326
  * @since v6.4.0
@@ -385,7 +408,7 @@ declare module 'fs' {
385
408
  * callback that will be executed once the `writeStream`is closed.
386
409
  * @since v0.9.4
387
410
  */
388
- close(): void;
411
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
389
412
  /**
390
413
  * The number of bytes written so far. Does not include data that is still queued
391
414
  * for writing.
@@ -2784,21 +2807,34 @@ declare module 'fs' {
2784
2807
  * * the file is renamed and then renamed a second time back to its original name
2785
2808
  * @since v0.1.31
2786
2809
  */
2810
+ export interface WatchFileOptions {
2811
+ bigint?: boolean | undefined;
2812
+ persistent?: boolean | undefined;
2813
+ interval?: number | undefined;
2814
+ }
2787
2815
  export function watchFile(
2788
2816
  filename: PathLike,
2789
2817
  options:
2790
- | {
2791
- persistent?: boolean | undefined;
2792
- interval?: number | undefined;
2793
- }
2818
+ | (WatchFileOptions & {
2819
+ bigint?: false | undefined;
2820
+ })
2794
2821
  | undefined,
2795
2822
  listener: (curr: Stats, prev: Stats) => void
2796
- ): void;
2823
+ ): StatWatcher;
2824
+ export function watchFile(
2825
+ filename: PathLike,
2826
+ options:
2827
+ | (WatchFileOptions & {
2828
+ bigint: true;
2829
+ })
2830
+ | undefined,
2831
+ listener: (curr: BigIntStats, prev: BigIntStats) => void
2832
+ ): StatWatcher;
2797
2833
  /**
2798
2834
  * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
2799
2835
  * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2800
2836
  */
2801
- export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void;
2837
+ export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): StatWatcher;
2802
2838
  /**
2803
2839
  * Stop watching for changes on `filename`. If `listener` is specified, only that
2804
2840
  * particular listener is removed. Otherwise, _all_ listeners are removed,
@@ -42,7 +42,7 @@
42
42
  declare module 'http' {
43
43
  import * as stream from 'node:stream';
44
44
  import { URL } from 'node:url';
45
- import { Socket, Server as NetServer } from 'node:net';
45
+ import { TcpSocketConnectOpts, Socket, Server as NetServer, LookupFunction } from 'node:net';
46
46
  // incoming headers will never contain number
47
47
  interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
48
48
  accept?: string | undefined;
@@ -136,6 +136,7 @@ declare module 'http' {
136
136
  setHost?: boolean | undefined;
137
137
  // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
138
138
  createConnection?: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined;
139
+ lookup?: LookupFunction | undefined;
139
140
  }
140
141
  interface ServerOptions {
141
142
  IncomingMessage?: typeof IncomingMessage | undefined;
@@ -950,7 +951,7 @@ declare module 'http' {
950
951
  */
951
952
  destroy(error?: Error): void;
952
953
  }
953
- interface AgentOptions {
954
+ interface AgentOptions extends Partial<TcpSocketConnectOpts> {
954
955
  /**
955
956
  * Keep sockets around in a pool to be used by other requests in the future. Default = false
956
957
  */
@@ -21,6 +21,7 @@
21
21
  // Nikita Galkin <https://github.com/galkin>
22
22
  // Parambir Singh <https://github.com/parambirs>
23
23
  // Sebastian Silbermann <https://github.com/eps1lon>
24
+ // Seth Westphal <https://github.com/westy92>
24
25
  // Simon Schick <https://github.com/SimonSchick>
25
26
  // Thomas den Hollander <https://github.com/ThomasdenH>
26
27
  // Wilco Bakker <https://github.com/WilcoBakker>
@@ -30,7 +31,6 @@
30
31
  // Thanik Bhongbhibhat <https://github.com/bhongy>
31
32
  // Marcin Kopacz <https://github.com/chyzwar>
32
33
  // Trivikram Kamat <https://github.com/trivikr>
33
- // Minh Son Nguyen <https://github.com/nguymin4>
34
34
  // Junxiao Shi <https://github.com/yoursunny>
35
35
  // Ilia Baryshnikov <https://github.com/qwelias>
36
36
  // ExE Boss <https://github.com/ExE-Boss>
@@ -255,12 +255,12 @@ declare module 'net' {
255
255
  * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
256
256
  * @since v0.9.6
257
257
  */
258
- readonly localAddress: string;
258
+ readonly localAddress?: string;
259
259
  /**
260
260
  * The numeric representation of the local port. For example, `80` or `21`.
261
261
  * @since v0.9.6
262
262
  */
263
- readonly localPort: number;
263
+ readonly localPort?: number;
264
264
  /**
265
265
  * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
266
266
  * the socket is destroyed (for example, if the client disconnected).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.0",
3
+ "version": "16.11.10",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -110,6 +110,11 @@
110
110
  "url": "https://github.com/eps1lon",
111
111
  "githubUsername": "eps1lon"
112
112
  },
113
+ {
114
+ "name": "Seth Westphal",
115
+ "url": "https://github.com/westy92",
116
+ "githubUsername": "westy92"
117
+ },
113
118
  {
114
119
  "name": "Simon Schick",
115
120
  "url": "https://github.com/SimonSchick",
@@ -155,11 +160,6 @@
155
160
  "url": "https://github.com/trivikr",
156
161
  "githubUsername": "trivikr"
157
162
  },
158
- {
159
- "name": "Minh Son Nguyen",
160
- "url": "https://github.com/nguymin4",
161
- "githubUsername": "nguymin4"
162
- },
163
163
  {
164
164
  "name": "Junxiao Shi",
165
165
  "url": "https://github.com/yoursunny",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "827f2ca6e5d8c037066cca1f4ed1235b83dec1ca8f49b34c8c2b6f477c8f9d6b",
229
- "typeScriptVersion": "3.7"
228
+ "typesPublisherContentHash": "b24d5d157d742f1a54b5d70ed1c014862c87e0187063c31ed2038790f909f02d",
229
+ "typeScriptVersion": "3.8"
230
230
  }
@@ -94,7 +94,11 @@ declare module 'process' {
94
94
  type ExitListener = (code: number) => void;
95
95
  type RejectionHandledListener = (promise: Promise<unknown>) => void;
96
96
  type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
97
- type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<unknown>) => void;
97
+ /**
98
+ * Most of the time the unhandledRejection will be an Error, but this should not be relied upon
99
+ * as *anything* can be thrown/rejected, it is therefore unsafe to assume the the value is an Error.
100
+ */
101
+ type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
98
102
  type WarningListener = (warning: Error) => void;
99
103
  type MessageListener = (message: unknown, sendHandle: unknown) => void;
100
104
  type SignalsListener = (signal: Signals) => void;
@@ -236,6 +236,7 @@ declare module 'readline' {
236
236
  * @since v0.1.98
237
237
  */
238
238
  write(data: string | Buffer, key?: Key): void;
239
+ write(data: undefined | null | string | Buffer, key: Key): void;
239
240
  /**
240
241
  * Returns the real position of the cursor in relation to the input
241
242
  * prompt + string. Long input (wrapping) strings, as well as multiple
@@ -71,6 +71,30 @@ declare module 'url' {
71
71
  function parse(urlString: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
72
72
  function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
73
73
  function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
74
+ /**
75
+ * The URL object has both a `toString()` method and `href` property that return string serializations of the URL.
76
+ * These are not, however, customizable in any way. The `url.format(URL[, options])` method allows for basic
77
+ * customization of the output.
78
+ * Returns a customizable serialization of a URL `String` representation of a `WHATWG URL` object.
79
+ *
80
+ * ```js
81
+ * import url from 'url';
82
+ * const myURL = new URL('https://a:b@測試?abc#foo');
83
+ *
84
+ * console.log(myURL.href);
85
+ * // Prints https://a:b@xn--g6w251d/?abc#foo
86
+ *
87
+ * console.log(myURL.toString());
88
+ * // Prints https://a:b@xn--g6w251d/?abc#foo
89
+ *
90
+ * console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
91
+ * // Prints 'https://測試/?abc'
92
+ * ```
93
+ * @since v7.6.0
94
+ * @param urlObject A `WHATWG URL` object
95
+ * @param options
96
+ */
97
+ function format(urlObject: URL, options?: URLFormatOptions): string;
74
98
  /**
75
99
  * The `url.format()` method returns a formatted URL string derived from`urlObject`.
76
100
  *
@@ -134,7 +158,6 @@ declare module 'url' {
134
158
  * @deprecated Legacy: Use the WHATWG URL API instead.
135
159
  * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
136
160
  */
137
- function format(urlObject: URL, options?: URLFormatOptions): string;
138
161
  function format(urlObject: UrlObject | string): string;
139
162
  /**
140
163
  * The `url.resolve()` method resolves a target URL relative to a base URL in a
@@ -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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 14 Oct 2021 18:01:22 GMT
11
+ * Last updated: Tue, 23 Nov 2021 19:31:07 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
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), [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), [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), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
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), [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), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [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), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
@@ -789,6 +789,7 @@ declare module 'child_process' {
789
789
  function spawn(command: string, args: ReadonlyArray<string>, options: SpawnOptions): ChildProcess;
790
790
  interface ExecOptions extends CommonOptions {
791
791
  shell?: string | undefined;
792
+ signal?: AbortSignal | undefined;
792
793
  maxBuffer?: number | undefined;
793
794
  killSignal?: NodeJS.Signals | number | undefined;
794
795
  }
@@ -331,6 +331,17 @@ declare module 'dns/promises' {
331
331
  * @param servers array of `RFC 5952` formatted addresses
332
332
  */
333
333
  function setServers(servers: ReadonlyArray<string>): void;
334
+ /**
335
+ * Set the default value of `verbatim` in {@link lookup}. The value could be:
336
+ * - `ipv4first`: sets default `verbatim` `false`.
337
+ * - `verbatim`: sets default `verbatim` `true`.
338
+ *
339
+ * The default is `ipv4first` and {@link setDefaultResultOrder} have higher priority than `--dns-result-order`.
340
+ * When using worker threads, {@link setDefaultResultOrder} from the main thread won't affect the default dns orders in workers.
341
+ * @since v14.18.0
342
+ * @param order must be 'ipv4first' or 'verbatim'.
343
+ */
344
+ function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
334
345
  class Resolver {
335
346
  constructor(options?: ResolverOptions);
336
347
  cancel(): void;
@@ -526,6 +526,17 @@ declare module 'dns' {
526
526
  * @since v0.11.3
527
527
  */
528
528
  export function getServers(): string[];
529
+ /**
530
+ * Set the default value of `verbatim` in {@link lookup}. The value could be:
531
+ * - `ipv4first`: sets default `verbatim` `false`.
532
+ * - `verbatim`: sets default `verbatim` `true`.
533
+ *
534
+ * The default is `ipv4first` and {@link setDefaultResultOrder} have higher priority than `--dns-result-order`.
535
+ * When using worker threads, {@link setDefaultResultOrder} from the main thread won't affect the default dns orders in workers.
536
+ * @since v14.18.0
537
+ * @param order must be 'ipv4first' or 'verbatim'.
538
+ */
539
+ export function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
529
540
  // Error codes
530
541
  export const NODATA: string;
531
542
  export const FORMERR: string;
@@ -260,6 +260,29 @@ declare module 'fs' {
260
260
  */
261
261
  readSync(): Dirent | null;
262
262
  }
263
+ /**
264
+ * Class: fs.StatWatcher
265
+ * @since v14.3.0, v12.20.0
266
+ * Extends `EventEmitter`
267
+ * A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
268
+ */
269
+ export interface StatWatcher extends EventEmitter {
270
+ /**
271
+ * @since v14.3.0, v12.20.0
272
+ * When called, requests that the Node.js event loop not exit so long as the `fs.StatWatcher` is active.
273
+ * Calling `watcher.ref()` multiple times will have no effect.
274
+ * By default, all `fs.StatWatcher`` objects are "ref'ed", making it normally unnecessary to call `watcher.ref()`
275
+ * unless `watcher.unref()` had been called previously.
276
+ */
277
+ ref(): this;
278
+ /**
279
+ * @since v14.3.0, v12.20.0
280
+ * When called, the active `fs.StatWatcher`` object will not require the Node.js event loop to remain active.
281
+ * If there is no other activity keeping the event loop running, the process may exit before the `fs.StatWatcher`` object's callback is invoked.
282
+ * `Calling watcher.unref()` multiple times will have no effect.
283
+ */
284
+ unref(): this;
285
+ }
263
286
  export interface FSWatcher extends EventEmitter {
264
287
  /**
265
288
  * Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
@@ -297,7 +320,7 @@ declare module 'fs' {
297
320
  * @since v0.1.93
298
321
  */
299
322
  export class ReadStream extends stream.Readable {
300
- close(): void;
323
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
301
324
  /**
302
325
  * The number of bytes that have been read so far.
303
326
  * @since v6.4.0
@@ -385,7 +408,7 @@ declare module 'fs' {
385
408
  * callback that will be executed once the `writeStream`is closed.
386
409
  * @since v0.9.4
387
410
  */
388
- close(): void;
411
+ close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
389
412
  /**
390
413
  * The number of bytes written so far. Does not include data that is still queued
391
414
  * for writing.
@@ -2784,21 +2807,34 @@ declare module 'fs' {
2784
2807
  * * the file is renamed and then renamed a second time back to its original name
2785
2808
  * @since v0.1.31
2786
2809
  */
2810
+ export interface WatchFileOptions {
2811
+ bigint?: boolean | undefined;
2812
+ persistent?: boolean | undefined;
2813
+ interval?: number | undefined;
2814
+ }
2787
2815
  export function watchFile(
2788
2816
  filename: PathLike,
2789
2817
  options:
2790
- | {
2791
- persistent?: boolean | undefined;
2792
- interval?: number | undefined;
2793
- }
2818
+ | (WatchFileOptions & {
2819
+ bigint?: false | undefined;
2820
+ })
2794
2821
  | undefined,
2795
2822
  listener: (curr: Stats, prev: Stats) => void
2796
- ): void;
2823
+ ): StatWatcher;
2824
+ export function watchFile(
2825
+ filename: PathLike,
2826
+ options:
2827
+ | (WatchFileOptions & {
2828
+ bigint: true;
2829
+ })
2830
+ | undefined,
2831
+ listener: (curr: BigIntStats, prev: BigIntStats) => void
2832
+ ): StatWatcher;
2797
2833
  /**
2798
2834
  * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
2799
2835
  * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
2800
2836
  */
2801
- export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void;
2837
+ export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): StatWatcher;
2802
2838
  /**
2803
2839
  * Stop watching for changes on `filename`. If `listener` is specified, only that
2804
2840
  * particular listener is removed. Otherwise, _all_ listeners are removed,
@@ -42,7 +42,7 @@
42
42
  declare module 'http' {
43
43
  import * as stream from 'node:stream';
44
44
  import { URL } from 'node:url';
45
- import { Socket, Server as NetServer } from 'node:net';
45
+ import { TcpSocketConnectOpts, Socket, Server as NetServer, LookupFunction } from 'node:net';
46
46
  // incoming headers will never contain number
47
47
  interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
48
48
  accept?: string | undefined;
@@ -136,6 +136,7 @@ declare module 'http' {
136
136
  setHost?: boolean | undefined;
137
137
  // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
138
138
  createConnection?: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined;
139
+ lookup?: LookupFunction | undefined;
139
140
  }
140
141
  interface ServerOptions {
141
142
  IncomingMessage?: typeof IncomingMessage | undefined;
@@ -950,7 +951,7 @@ declare module 'http' {
950
951
  */
951
952
  destroy(error?: Error): void;
952
953
  }
953
- interface AgentOptions {
954
+ interface AgentOptions extends Partial<TcpSocketConnectOpts> {
954
955
  /**
955
956
  * Keep sockets around in a pool to be used by other requests in the future. Default = false
956
957
  */
@@ -21,6 +21,7 @@
21
21
  // Nikita Galkin <https://github.com/galkin>
22
22
  // Parambir Singh <https://github.com/parambirs>
23
23
  // Sebastian Silbermann <https://github.com/eps1lon>
24
+ // Seth Westphal <https://github.com/westy92>
24
25
  // Simon Schick <https://github.com/SimonSchick>
25
26
  // Thomas den Hollander <https://github.com/ThomasdenH>
26
27
  // Wilco Bakker <https://github.com/WilcoBakker>
@@ -30,7 +31,6 @@
30
31
  // Thanik Bhongbhibhat <https://github.com/bhongy>
31
32
  // Marcin Kopacz <https://github.com/chyzwar>
32
33
  // Trivikram Kamat <https://github.com/trivikr>
33
- // Minh Son Nguyen <https://github.com/nguymin4>
34
34
  // Junxiao Shi <https://github.com/yoursunny>
35
35
  // Ilia Baryshnikov <https://github.com/qwelias>
36
36
  // ExE Boss <https://github.com/ExE-Boss>
@@ -255,12 +255,12 @@ declare module 'net' {
255
255
  * connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
256
256
  * @since v0.9.6
257
257
  */
258
- readonly localAddress: string;
258
+ readonly localAddress?: string;
259
259
  /**
260
260
  * The numeric representation of the local port. For example, `80` or `21`.
261
261
  * @since v0.9.6
262
262
  */
263
- readonly localPort: number;
263
+ readonly localPort?: number;
264
264
  /**
265
265
  * The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
266
266
  * the socket is destroyed (for example, if the client disconnected).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.0",
3
+ "version": "16.11.10",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -110,6 +110,11 @@
110
110
  "url": "https://github.com/eps1lon",
111
111
  "githubUsername": "eps1lon"
112
112
  },
113
+ {
114
+ "name": "Seth Westphal",
115
+ "url": "https://github.com/westy92",
116
+ "githubUsername": "westy92"
117
+ },
113
118
  {
114
119
  "name": "Simon Schick",
115
120
  "url": "https://github.com/SimonSchick",
@@ -155,11 +160,6 @@
155
160
  "url": "https://github.com/trivikr",
156
161
  "githubUsername": "trivikr"
157
162
  },
158
- {
159
- "name": "Minh Son Nguyen",
160
- "url": "https://github.com/nguymin4",
161
- "githubUsername": "nguymin4"
162
- },
163
163
  {
164
164
  "name": "Junxiao Shi",
165
165
  "url": "https://github.com/yoursunny",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "827f2ca6e5d8c037066cca1f4ed1235b83dec1ca8f49b34c8c2b6f477c8f9d6b",
229
- "typeScriptVersion": "3.7"
228
+ "typesPublisherContentHash": "b24d5d157d742f1a54b5d70ed1c014862c87e0187063c31ed2038790f909f02d",
229
+ "typeScriptVersion": "3.8"
230
230
  }
@@ -94,7 +94,11 @@ declare module 'process' {
94
94
  type ExitListener = (code: number) => void;
95
95
  type RejectionHandledListener = (promise: Promise<unknown>) => void;
96
96
  type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
97
- type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise<unknown>) => void;
97
+ /**
98
+ * Most of the time the unhandledRejection will be an Error, but this should not be relied upon
99
+ * as *anything* can be thrown/rejected, it is therefore unsafe to assume the the value is an Error.
100
+ */
101
+ type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
98
102
  type WarningListener = (warning: Error) => void;
99
103
  type MessageListener = (message: unknown, sendHandle: unknown) => void;
100
104
  type SignalsListener = (signal: Signals) => void;
@@ -236,6 +236,7 @@ declare module 'readline' {
236
236
  * @since v0.1.98
237
237
  */
238
238
  write(data: string | Buffer, key?: Key): void;
239
+ write(data: undefined | null | string | Buffer, key: Key): void;
239
240
  /**
240
241
  * Returns the real position of the cursor in relation to the input
241
242
  * prompt + string. Long input (wrapping) strings, as well as multiple
@@ -71,6 +71,30 @@ declare module 'url' {
71
71
  function parse(urlString: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
72
72
  function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
73
73
  function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
74
+ /**
75
+ * The URL object has both a `toString()` method and `href` property that return string serializations of the URL.
76
+ * These are not, however, customizable in any way. The `url.format(URL[, options])` method allows for basic
77
+ * customization of the output.
78
+ * Returns a customizable serialization of a URL `String` representation of a `WHATWG URL` object.
79
+ *
80
+ * ```js
81
+ * import url from 'url';
82
+ * const myURL = new URL('https://a:b@測試?abc#foo');
83
+ *
84
+ * console.log(myURL.href);
85
+ * // Prints https://a:b@xn--g6w251d/?abc#foo
86
+ *
87
+ * console.log(myURL.toString());
88
+ * // Prints https://a:b@xn--g6w251d/?abc#foo
89
+ *
90
+ * console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
91
+ * // Prints 'https://測試/?abc'
92
+ * ```
93
+ * @since v7.6.0
94
+ * @param urlObject A `WHATWG URL` object
95
+ * @param options
96
+ */
97
+ function format(urlObject: URL, options?: URLFormatOptions): string;
74
98
  /**
75
99
  * The `url.format()` method returns a formatted URL string derived from`urlObject`.
76
100
  *
@@ -134,7 +158,6 @@ declare module 'url' {
134
158
  * @deprecated Legacy: Use the WHATWG URL API instead.
135
159
  * @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
136
160
  */
137
- function format(urlObject: URL, options?: URLFormatOptions): string;
138
161
  function format(urlObject: UrlObject | string): string;
139
162
  /**
140
163
  * The `url.resolve()` method resolves a target URL relative to a base URL in a
package/package.json CHANGED
@@ -6,27 +6,27 @@
6
6
  "url": "https://github.com/cdklabs/cdk-ecr-deployment"
7
7
  },
8
8
  "scripts": {
9
- "clobber": "npx projen clobber",
10
- "compile": "npx projen compile",
11
- "test:compile": "npx projen test:compile",
12
- "test": "npx projen test",
13
9
  "build": "npx projen build",
14
- "test:watch": "npx projen test:watch",
15
- "test:update": "npx projen test:update",
16
10
  "bump": "npx projen bump",
17
- "unbump": "npx projen unbump",
18
- "publish:github": "npx projen publish:github",
19
- "upgrade": "npx projen upgrade",
20
- "upgrade-projen": "npx projen upgrade-projen",
11
+ "clobber": "npx projen clobber",
12
+ "compat": "npx projen compat",
13
+ "compile": "npx projen compile",
21
14
  "default": "npx projen default",
22
- "watch": "npx projen watch",
23
- "package": "npx projen package",
15
+ "docgen": "npx projen docgen",
24
16
  "eslint": "npx projen eslint",
25
- "compat": "npx projen compat",
17
+ "package": "npx projen package",
18
+ "post-compile": "npx projen post-compile",
19
+ "pre-compile": "npx projen pre-compile",
20
+ "publish:github": "npx projen publish:github",
26
21
  "publish:npm": "npx projen publish:npm",
27
22
  "publish:pypi": "npx projen publish:pypi",
28
- "docgen": "npx projen docgen",
29
23
  "release": "npx projen release",
24
+ "test": "npx projen test",
25
+ "test:update": "npx projen test:update",
26
+ "test:watch": "npx projen test:watch",
27
+ "unbump": "npx projen unbump",
28
+ "upgrade": "npx projen upgrade",
29
+ "watch": "npx projen watch",
30
30
  "projen": "npx projen"
31
31
  },
32
32
  "author": {
@@ -53,7 +53,7 @@
53
53
  "jsii-pacmak": "^1.39.0",
54
54
  "json-schema": "^0.3.0",
55
55
  "npm-check-updates": "^11",
56
- "projen": "^0.28.0",
56
+ "projen": "^0.34.23",
57
57
  "standard-version": "^9",
58
58
  "ts-jest": "^27.0.7",
59
59
  "typescript": "^4.4.4"
@@ -80,7 +80,7 @@
80
80
  ],
81
81
  "main": "lib/index.js",
82
82
  "license": "Apache-2.0",
83
- "version": "0.0.80",
83
+ "version": "0.0.81",
84
84
  "jest": {
85
85
  "testMatch": [
86
86
  "**/__tests__/**/*.ts?(x)",
@@ -116,7 +116,7 @@
116
116
  "preset": "ts-jest",
117
117
  "globals": {
118
118
  "ts-jest": {
119
- "tsconfig": "tsconfig.jest.json"
119
+ "tsconfig": "tsconfig.dev.json"
120
120
  }
121
121
  }
122
122
  },