@types/node 14.18.62 → 14.18.63

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 (84) hide show
  1. node v14.18/README.md +1 -1
  2. node v14.18/assert.d.ts +33 -31
  3. node v14.18/async_hooks.d.ts +27 -20
  4. node v14.18/buffer.d.ts +4 -4
  5. node v14.18/child_process.d.ts +191 -62
  6. node v14.18/cluster.d.ts +59 -28
  7. node v14.18/console.d.ts +6 -6
  8. node v14.18/constants.d.ts +12 -11
  9. node v14.18/crypto.d.ts +232 -228
  10. node v14.18/dgram.d.ts +50 -14
  11. node v14.18/dns.d.ts +183 -54
  12. node v14.18/domain.d.ts +4 -4
  13. node v14.18/events.d.ts +4 -4
  14. node v14.18/fs/promises.d.ts +87 -25
  15. node v14.18/fs.d.ts +404 -104
  16. node v14.18/globals.d.ts +33 -16
  17. node v14.18/http.d.ts +201 -201
  18. node v14.18/http2.d.ts +340 -93
  19. node v14.18/https.d.ts +107 -105
  20. node v14.18/module.d.ts +4 -4
  21. node v14.18/net.d.ts +27 -12
  22. node v14.18/os.d.ts +4 -4
  23. node v14.18/package.json +2 -2
  24. node v14.18/path.d.ts +5 -5
  25. node v14.18/perf_hooks.d.ts +5 -5
  26. node v14.18/process.d.ts +61 -22
  27. node v14.18/punycode.d.ts +3 -3
  28. node v14.18/querystring.d.ts +15 -5
  29. node v14.18/readline.d.ts +16 -6
  30. node v14.18/repl.d.ts +13 -7
  31. node v14.18/stream.d.ts +160 -100
  32. node v14.18/string_decoder.d.ts +3 -3
  33. node v14.18/timers.d.ts +3 -3
  34. node v14.18/tls.d.ts +109 -27
  35. node v14.18/trace_events.d.ts +3 -3
  36. node v14.18/ts4.8/assert.d.ts +33 -31
  37. node v14.18/ts4.8/async_hooks.d.ts +27 -20
  38. node v14.18/ts4.8/buffer.d.ts +4 -4
  39. node v14.18/ts4.8/child_process.d.ts +191 -62
  40. node v14.18/ts4.8/cluster.d.ts +59 -28
  41. node v14.18/ts4.8/console.d.ts +6 -6
  42. node v14.18/ts4.8/constants.d.ts +12 -11
  43. node v14.18/ts4.8/crypto.d.ts +232 -228
  44. node v14.18/ts4.8/dgram.d.ts +50 -14
  45. node v14.18/ts4.8/dns.d.ts +183 -54
  46. node v14.18/ts4.8/domain.d.ts +4 -4
  47. node v14.18/ts4.8/events.d.ts +4 -4
  48. node v14.18/ts4.8/fs/promises.d.ts +87 -25
  49. node v14.18/ts4.8/fs.d.ts +404 -104
  50. node v14.18/ts4.8/globals.d.ts +33 -16
  51. node v14.18/ts4.8/http.d.ts +200 -200
  52. node v14.18/ts4.8/http2.d.ts +340 -93
  53. node v14.18/ts4.8/https.d.ts +107 -105
  54. node v14.18/ts4.8/module.d.ts +4 -4
  55. node v14.18/ts4.8/net.d.ts +27 -12
  56. node v14.18/ts4.8/os.d.ts +4 -4
  57. node v14.18/ts4.8/path.d.ts +5 -5
  58. node v14.18/ts4.8/perf_hooks.d.ts +5 -5
  59. node v14.18/ts4.8/process.d.ts +61 -22
  60. node v14.18/ts4.8/punycode.d.ts +3 -3
  61. node v14.18/ts4.8/querystring.d.ts +15 -5
  62. node v14.18/ts4.8/readline.d.ts +16 -6
  63. node v14.18/ts4.8/repl.d.ts +13 -7
  64. node v14.18/ts4.8/stream.d.ts +160 -100
  65. node v14.18/ts4.8/string_decoder.d.ts +3 -3
  66. node v14.18/ts4.8/timers.d.ts +3 -3
  67. node v14.18/ts4.8/tls.d.ts +109 -27
  68. node v14.18/ts4.8/trace_events.d.ts +3 -3
  69. node v14.18/ts4.8/tty.d.ts +4 -4
  70. node v14.18/ts4.8/url.d.ts +21 -12
  71. node v14.18/ts4.8/util.d.ts +102 -40
  72. node v14.18/ts4.8/v8.d.ts +4 -5
  73. node v14.18/ts4.8/vm.d.ts +7 -7
  74. node v14.18/ts4.8/wasi.d.ts +3 -4
  75. node v14.18/ts4.8/worker_threads.d.ts +8 -8
  76. node v14.18/ts4.8/zlib.d.ts +13 -13
  77. node v14.18/tty.d.ts +4 -4
  78. node v14.18/url.d.ts +21 -12
  79. node v14.18/util.d.ts +102 -40
  80. node v14.18/v8.d.ts +4 -5
  81. node v14.18/vm.d.ts +7 -7
  82. node v14.18/wasi.d.ts +3 -4
  83. node v14.18/worker_threads.d.ts +8 -8
  84. node v14.18/zlib.d.ts +13 -13
@@ -1,9 +1,9 @@
1
- declare module 'console' {
2
- import console = require('node:console');
1
+ declare module "console" {
2
+ import console = require("node:console");
3
3
  export = console;
4
4
  }
5
- declare module 'node:console' {
6
- import { InspectOptions } from 'util';
5
+ declare module "node:console" {
6
+ import { InspectOptions } from "util";
7
7
 
8
8
  global {
9
9
  // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build
@@ -117,13 +117,13 @@ declare module 'node:console' {
117
117
  stdout: WritableStream;
118
118
  stderr?: WritableStream | undefined;
119
119
  ignoreErrors?: boolean | undefined;
120
- colorMode?: boolean | 'auto' | undefined;
120
+ colorMode?: boolean | "auto" | undefined;
121
121
  inspectOptions?: InspectOptions | undefined;
122
122
  /**
123
123
  * Set group indentation
124
124
  * @default 2
125
125
  */
126
- groupIndentation?: number | undefined;
126
+ groupIndentation?: number | undefined;
127
127
  }
128
128
 
129
129
  interface ConsoleConstructor {
@@ -1,18 +1,19 @@
1
1
  /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
2
- declare module 'constants' {
3
- import { constants as osConstants, SignalConstants } from 'os';
4
- import { constants as cryptoConstants } from 'crypto';
5
- import { constants as fsConstants } from 'fs';
2
+ declare module "constants" {
3
+ import { constants as osConstants, SignalConstants } from "os";
4
+ import { constants as cryptoConstants } from "crypto";
5
+ import { constants as fsConstants } from "fs";
6
6
 
7
- const exp: typeof osConstants.errno &
8
- typeof osConstants.priority &
9
- SignalConstants &
10
- typeof cryptoConstants &
11
- typeof fsConstants;
7
+ const exp:
8
+ & typeof osConstants.errno
9
+ & typeof osConstants.priority
10
+ & SignalConstants
11
+ & typeof cryptoConstants
12
+ & typeof fsConstants;
12
13
  export = exp;
13
14
  }
14
15
 
15
- declare module 'node:constants' {
16
- import constants = require('constants');
16
+ declare module "node:constants" {
17
+ import constants = require("constants");
17
18
  export = constants;
18
19
  }