@emulsify/cli 1.10.2 → 1.11.1

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 (111) hide show
  1. package/README.md +6 -6
  2. package/dist/node_modules/.package-lock.json +22 -22
  3. package/dist/node_modules/@types/node/README.md +1 -1
  4. package/dist/node_modules/@types/node/assert.d.ts +2 -2
  5. package/dist/node_modules/@types/node/buffer.buffer.d.ts +385 -0
  6. package/dist/node_modules/@types/node/buffer.d.ts +42 -390
  7. package/dist/node_modules/@types/node/child_process.d.ts +32 -28
  8. package/dist/node_modules/@types/node/cluster.d.ts +1 -1
  9. package/dist/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  10. package/dist/node_modules/@types/node/compatibility/index.d.ts +9 -0
  11. package/dist/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  12. package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  13. package/dist/node_modules/@types/node/console.d.ts +2 -2
  14. package/dist/node_modules/@types/node/crypto.d.ts +3 -3
  15. package/dist/node_modules/@types/node/dns/promises.d.ts +6 -5
  16. package/dist/node_modules/@types/node/dns.d.ts +5 -5
  17. package/dist/node_modules/@types/node/domain.d.ts +2 -2
  18. package/dist/node_modules/@types/node/events.d.ts +3 -3
  19. package/dist/node_modules/@types/node/fs/promises.d.ts +2 -2
  20. package/dist/node_modules/@types/node/fs.d.ts +2 -2
  21. package/dist/node_modules/@types/node/globals.d.ts +124 -68
  22. package/dist/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  23. package/dist/node_modules/@types/node/http.d.ts +43 -7
  24. package/dist/node_modules/@types/node/http2.d.ts +238 -101
  25. package/dist/node_modules/@types/node/https.d.ts +17 -23
  26. package/dist/node_modules/@types/node/index.d.ts +11 -9
  27. package/dist/node_modules/@types/node/inspector.d.ts +1061 -111
  28. package/dist/node_modules/@types/node/module.d.ts +3 -3
  29. package/dist/node_modules/@types/node/net.d.ts +8 -2
  30. package/dist/node_modules/@types/node/os.d.ts +1 -1
  31. package/dist/node_modules/@types/node/package.json +11 -3
  32. package/dist/node_modules/@types/node/path.d.ts +10 -1
  33. package/dist/node_modules/@types/node/perf_hooks.d.ts +49 -20
  34. package/dist/node_modules/@types/node/process.d.ts +142 -17
  35. package/dist/node_modules/@types/node/punycode.d.ts +1 -1
  36. package/dist/node_modules/@types/node/querystring.d.ts +1 -1
  37. package/dist/node_modules/@types/node/readline/promises.d.ts +1 -1
  38. package/dist/node_modules/@types/node/readline.d.ts +10 -10
  39. package/dist/node_modules/@types/node/repl.d.ts +4 -4
  40. package/dist/node_modules/@types/node/stream/promises.d.ts +8 -1
  41. package/dist/node_modules/@types/node/stream/web.d.ts +182 -25
  42. package/dist/node_modules/@types/node/stream.d.ts +36 -17
  43. package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
  44. package/dist/node_modules/@types/node/test.d.ts +313 -94
  45. package/dist/node_modules/@types/node/timers/promises.d.ts +1 -1
  46. package/dist/node_modules/@types/node/timers.d.ts +1 -1
  47. package/dist/node_modules/@types/node/tls.d.ts +5 -5
  48. package/dist/node_modules/@types/node/trace_events.d.ts +4 -4
  49. package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
  50. package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  51. package/dist/node_modules/@types/node/ts5.6/index.d.ts +91 -0
  52. package/dist/node_modules/@types/node/tty.d.ts +1 -1
  53. package/dist/node_modules/@types/node/url.d.ts +14 -11
  54. package/dist/node_modules/@types/node/util.d.ts +55 -49
  55. package/dist/node_modules/@types/node/v8.d.ts +12 -12
  56. package/dist/node_modules/@types/node/vm.d.ts +11 -12
  57. package/dist/node_modules/@types/node/worker_threads.d.ts +22 -22
  58. package/dist/node_modules/@types/node/zlib.d.ts +17 -8
  59. package/dist/node_modules/debug/README.md +1 -1
  60. package/dist/node_modules/debug/package.json +2 -2
  61. package/dist/node_modules/fast-uri/.github/workflows/ci.yml +2 -2
  62. package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
  63. package/dist/node_modules/fast-uri/index.js +3 -9
  64. package/dist/node_modules/fast-uri/package.json +4 -4
  65. package/dist/node_modules/fast-uri/test/ajv.test.js +1 -1
  66. package/dist/node_modules/fast-uri/test/compatibility.test.js +3 -2
  67. package/dist/node_modules/fast-uri/test/equal.test.js +1 -2
  68. package/dist/node_modules/fast-uri/test/parse.test.js +1 -2
  69. package/dist/node_modules/fast-uri/test/resolve.test.js +1 -2
  70. package/dist/node_modules/fast-uri/test/serialize.test.js +1 -2
  71. package/dist/node_modules/fast-uri/test/uri-js.test.js +539 -567
  72. package/dist/node_modules/fast-uri/test/util.test.js +2 -3
  73. package/dist/node_modules/ms/index.js +1 -1
  74. package/dist/node_modules/ms/license.md +1 -1
  75. package/dist/node_modules/ms/package.json +5 -4
  76. package/dist/node_modules/ms/readme.md +1 -2
  77. package/dist/node_modules/simple-git/dist/cjs/index.js +14 -15
  78. package/dist/node_modules/simple-git/dist/cjs/index.js.map +2 -2
  79. package/dist/node_modules/simple-git/dist/esm/index.js +14 -15
  80. package/dist/node_modules/simple-git/dist/esm/index.js.map +2 -2
  81. package/dist/node_modules/simple-git/dist/typings/response.d.ts +7 -6
  82. package/dist/node_modules/simple-git/package.json +5 -5
  83. package/dist/node_modules/undici-types/LICENSE +21 -0
  84. package/dist/node_modules/undici-types/balanced-pool.d.ts +11 -0
  85. package/dist/node_modules/undici-types/client.d.ts +12 -1
  86. package/dist/node_modules/undici-types/diagnostics-channel.d.ts +1 -2
  87. package/dist/node_modules/undici-types/dispatcher.d.ts +18 -4
  88. package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  89. package/dist/node_modules/undici-types/errors.d.ts +21 -0
  90. package/dist/node_modules/undici-types/eventsource.d.ts +63 -0
  91. package/dist/node_modules/undici-types/fetch.d.ts +25 -25
  92. package/dist/node_modules/undici-types/formdata.d.ts +1 -1
  93. package/dist/node_modules/undici-types/handlers.d.ts +10 -4
  94. package/dist/node_modules/undici-types/index.d.ts +10 -2
  95. package/dist/node_modules/undici-types/interceptors.d.ts +12 -2
  96. package/dist/node_modules/undici-types/mock-interceptor.d.ts +4 -4
  97. package/dist/node_modules/undici-types/package.json +1 -1
  98. package/dist/node_modules/undici-types/pool.d.ts +11 -0
  99. package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -2
  100. package/dist/node_modules/undici-types/readable.d.ts +2 -3
  101. package/dist/node_modules/undici-types/retry-agent.d.ts +8 -0
  102. package/dist/node_modules/undici-types/retry-handler.d.ts +116 -0
  103. package/dist/node_modules/undici-types/util.d.ts +18 -0
  104. package/dist/node_modules/undici-types/webidl.d.ts +10 -8
  105. package/dist/node_modules/undici-types/websocket.d.ts +22 -1
  106. package/dist/package-lock.json +834 -700
  107. package/dist/package.json +2 -2
  108. package/dist/util/system/getAvailableSystems.js +5 -0
  109. package/package.json +2 -2
  110. package/dist/node_modules/@types/node/globals.global.d.ts +0 -1
  111. package/dist/node_modules/fast-uri/.taprc +0 -3
@@ -10,7 +10,7 @@ declare module "https" {
10
10
  import { URL } from "node:url";
11
11
  type ServerOptions<
12
12
  Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
13
- Response extends typeof http.ServerResponse = typeof http.ServerResponse,
13
+ Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
14
14
  > = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>;
15
15
  type RequestOptions =
16
16
  & http.RequestOptions
@@ -34,7 +34,7 @@ declare module "https" {
34
34
  }
35
35
  interface Server<
36
36
  Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
37
- Response extends typeof http.ServerResponse = typeof http.ServerResponse,
37
+ Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
38
38
  > extends http.Server<Request, Response> {}
39
39
  /**
40
40
  * See `http.Server` for more information.
@@ -42,7 +42,7 @@ declare module "https" {
42
42
  */
43
43
  class Server<
44
44
  Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
45
- Response extends typeof http.ServerResponse = typeof http.ServerResponse,
45
+ Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
46
46
  > extends tls.Server {
47
47
  constructor(requestListener?: http.RequestListener<Request, Response>);
48
48
  constructor(
@@ -119,25 +119,19 @@ declare module "https" {
119
119
  emit(
120
120
  event: "checkContinue",
121
121
  req: InstanceType<Request>,
122
- res: InstanceType<Response> & {
123
- req: InstanceType<Request>;
124
- },
122
+ res: InstanceType<Response>,
125
123
  ): boolean;
126
124
  emit(
127
125
  event: "checkExpectation",
128
126
  req: InstanceType<Request>,
129
- res: InstanceType<Response> & {
130
- req: InstanceType<Request>;
131
- },
127
+ res: InstanceType<Response>,
132
128
  ): boolean;
133
129
  emit(event: "clientError", err: Error, socket: Duplex): boolean;
134
130
  emit(event: "connect", req: InstanceType<Request>, socket: Duplex, head: Buffer): boolean;
135
131
  emit(
136
132
  event: "request",
137
133
  req: InstanceType<Request>,
138
- res: InstanceType<Response> & {
139
- req: InstanceType<Request>;
140
- },
134
+ res: InstanceType<Response>,
141
135
  ): boolean;
142
136
  emit(event: "upgrade", req: InstanceType<Request>, socket: Duplex, head: Buffer): boolean;
143
137
  on(event: string, listener: (...args: any[]) => void): this;
@@ -276,8 +270,8 @@ declare module "https" {
276
270
  /**
277
271
  * ```js
278
272
  * // curl -k https://localhost:8000/
279
- * const https = require('node:https');
280
- * const fs = require('node:fs');
273
+ * import https from 'node:https';
274
+ * import fs from 'node:fs';
281
275
  *
282
276
  * const options = {
283
277
  * key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
@@ -293,8 +287,8 @@ declare module "https" {
293
287
  * Or
294
288
  *
295
289
  * ```js
296
- * const https = require('node:https');
297
- * const fs = require('node:fs');
290
+ * import https from 'node:https';
291
+ * import fs from 'node:fs';
298
292
  *
299
293
  * const options = {
300
294
  * pfx: fs.readFileSync('test/fixtures/test_cert.pfx'),
@@ -312,11 +306,11 @@ declare module "https" {
312
306
  */
313
307
  function createServer<
314
308
  Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
315
- Response extends typeof http.ServerResponse = typeof http.ServerResponse,
309
+ Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
316
310
  >(requestListener?: http.RequestListener<Request, Response>): Server<Request, Response>;
317
311
  function createServer<
318
312
  Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
319
- Response extends typeof http.ServerResponse = typeof http.ServerResponse,
313
+ Response extends typeof http.ServerResponse<InstanceType<Request>> = typeof http.ServerResponse,
320
314
  >(
321
315
  options: ServerOptions<Request, Response>,
322
316
  requestListener?: http.RequestListener<Request, Response>,
@@ -334,7 +328,7 @@ declare module "https" {
334
328
  * upload a file with a POST request, then write to the `ClientRequest` object.
335
329
  *
336
330
  * ```js
337
- * const https = require('node:https');
331
+ * import https from 'node:https';
338
332
  *
339
333
  * const options = {
340
334
  * hostname: 'encrypted.google.com',
@@ -407,9 +401,9 @@ declare module "https" {
407
401
  * Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`):
408
402
  *
409
403
  * ```js
410
- * const tls = require('node:tls');
411
- * const https = require('node:https');
412
- * const crypto = require('node:crypto');
404
+ * import tls from 'node:tls';
405
+ * import https from 'node:https';
406
+ * import crypto from 'node:crypto';
413
407
  *
414
408
  * function sha256(s) {
415
409
  * return crypto.createHash('sha256').update(s).digest('base64');
@@ -517,7 +511,7 @@ declare module "https" {
517
511
  * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
518
512
  *
519
513
  * ```js
520
- * const https = require('node:https');
514
+ * import https from 'node:https';
521
515
  *
522
516
  * https.get('https://encrypted.google.com/', (res) => {
523
517
  * console.log('statusCode:', res.statusCode);
@@ -22,18 +22,22 @@
22
22
  * IN THE SOFTWARE.
23
23
  */
24
24
 
25
- // NOTE: These definitions support NodeJS and TypeScript 4.9+.
25
+ // NOTE: These definitions support Node.js and TypeScript 5.7+.
26
26
 
27
- // Reference required types from the default lib:
27
+ // Reference required TypeScript libs:
28
28
  /// <reference lib="es2020" />
29
- /// <reference lib="esnext.asynciterable" />
30
- /// <reference lib="esnext.intl" />
31
- /// <reference lib="esnext.bigint" />
32
29
 
33
- // Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
30
+ // TypeScript backwards-compatibility definitions:
31
+ /// <reference path="compatibility/index.d.ts" />
32
+
33
+ // Definitions specific to TypeScript 5.7+:
34
+ /// <reference path="globals.typedarray.d.ts" />
35
+ /// <reference path="buffer.buffer.d.ts" />
36
+
37
+ // Definitions for Node.js modules that are not specific to any version of TypeScript:
38
+ /// <reference path="globals.d.ts" />
34
39
  /// <reference path="assert.d.ts" />
35
40
  /// <reference path="assert/strict.d.ts" />
36
- /// <reference path="globals.d.ts" />
37
41
  /// <reference path="async_hooks.d.ts" />
38
42
  /// <reference path="buffer.d.ts" />
39
43
  /// <reference path="child_process.d.ts" />
@@ -85,5 +89,3 @@
85
89
  /// <reference path="wasi.d.ts" />
86
90
  /// <reference path="worker_threads.d.ts" />
87
91
  /// <reference path="zlib.d.ts" />
88
-
89
- /// <reference path="globals.global.d.ts" />