@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.
- package/README.md +6 -6
- package/dist/node_modules/.package-lock.json +22 -22
- package/dist/node_modules/@types/node/README.md +1 -1
- package/dist/node_modules/@types/node/assert.d.ts +2 -2
- package/dist/node_modules/@types/node/buffer.buffer.d.ts +385 -0
- package/dist/node_modules/@types/node/buffer.d.ts +42 -390
- package/dist/node_modules/@types/node/child_process.d.ts +32 -28
- package/dist/node_modules/@types/node/cluster.d.ts +1 -1
- package/dist/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/dist/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/dist/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/dist/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/dist/node_modules/@types/node/console.d.ts +2 -2
- package/dist/node_modules/@types/node/crypto.d.ts +3 -3
- package/dist/node_modules/@types/node/dns/promises.d.ts +6 -5
- package/dist/node_modules/@types/node/dns.d.ts +5 -5
- package/dist/node_modules/@types/node/domain.d.ts +2 -2
- package/dist/node_modules/@types/node/events.d.ts +3 -3
- package/dist/node_modules/@types/node/fs/promises.d.ts +2 -2
- package/dist/node_modules/@types/node/fs.d.ts +2 -2
- package/dist/node_modules/@types/node/globals.d.ts +124 -68
- package/dist/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/dist/node_modules/@types/node/http.d.ts +43 -7
- package/dist/node_modules/@types/node/http2.d.ts +238 -101
- package/dist/node_modules/@types/node/https.d.ts +17 -23
- package/dist/node_modules/@types/node/index.d.ts +11 -9
- package/dist/node_modules/@types/node/inspector.d.ts +1061 -111
- package/dist/node_modules/@types/node/module.d.ts +3 -3
- package/dist/node_modules/@types/node/net.d.ts +8 -2
- package/dist/node_modules/@types/node/os.d.ts +1 -1
- package/dist/node_modules/@types/node/package.json +11 -3
- package/dist/node_modules/@types/node/path.d.ts +10 -1
- package/dist/node_modules/@types/node/perf_hooks.d.ts +49 -20
- package/dist/node_modules/@types/node/process.d.ts +142 -17
- package/dist/node_modules/@types/node/punycode.d.ts +1 -1
- package/dist/node_modules/@types/node/querystring.d.ts +1 -1
- package/dist/node_modules/@types/node/readline/promises.d.ts +1 -1
- package/dist/node_modules/@types/node/readline.d.ts +10 -10
- package/dist/node_modules/@types/node/repl.d.ts +4 -4
- package/dist/node_modules/@types/node/stream/promises.d.ts +8 -1
- package/dist/node_modules/@types/node/stream/web.d.ts +182 -25
- package/dist/node_modules/@types/node/stream.d.ts +36 -17
- package/dist/node_modules/@types/node/string_decoder.d.ts +3 -3
- package/dist/node_modules/@types/node/test.d.ts +313 -94
- package/dist/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/dist/node_modules/@types/node/timers.d.ts +1 -1
- package/dist/node_modules/@types/node/tls.d.ts +5 -5
- package/dist/node_modules/@types/node/trace_events.d.ts +4 -4
- package/dist/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +385 -0
- package/dist/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/dist/node_modules/@types/node/ts5.6/index.d.ts +91 -0
- package/dist/node_modules/@types/node/tty.d.ts +1 -1
- package/dist/node_modules/@types/node/url.d.ts +14 -11
- package/dist/node_modules/@types/node/util.d.ts +55 -49
- package/dist/node_modules/@types/node/v8.d.ts +12 -12
- package/dist/node_modules/@types/node/vm.d.ts +11 -12
- package/dist/node_modules/@types/node/worker_threads.d.ts +22 -22
- package/dist/node_modules/@types/node/zlib.d.ts +17 -8
- package/dist/node_modules/debug/README.md +1 -1
- package/dist/node_modules/debug/package.json +2 -2
- package/dist/node_modules/fast-uri/.github/workflows/ci.yml +2 -2
- package/dist/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +1 -1
- package/dist/node_modules/fast-uri/index.js +3 -9
- package/dist/node_modules/fast-uri/package.json +4 -4
- package/dist/node_modules/fast-uri/test/ajv.test.js +1 -1
- package/dist/node_modules/fast-uri/test/compatibility.test.js +3 -2
- package/dist/node_modules/fast-uri/test/equal.test.js +1 -2
- package/dist/node_modules/fast-uri/test/parse.test.js +1 -2
- package/dist/node_modules/fast-uri/test/resolve.test.js +1 -2
- package/dist/node_modules/fast-uri/test/serialize.test.js +1 -2
- package/dist/node_modules/fast-uri/test/uri-js.test.js +539 -567
- package/dist/node_modules/fast-uri/test/util.test.js +2 -3
- package/dist/node_modules/ms/index.js +1 -1
- package/dist/node_modules/ms/license.md +1 -1
- package/dist/node_modules/ms/package.json +5 -4
- package/dist/node_modules/ms/readme.md +1 -2
- package/dist/node_modules/simple-git/dist/cjs/index.js +14 -15
- package/dist/node_modules/simple-git/dist/cjs/index.js.map +2 -2
- package/dist/node_modules/simple-git/dist/esm/index.js +14 -15
- package/dist/node_modules/simple-git/dist/esm/index.js.map +2 -2
- package/dist/node_modules/simple-git/dist/typings/response.d.ts +7 -6
- package/dist/node_modules/simple-git/package.json +5 -5
- package/dist/node_modules/undici-types/LICENSE +21 -0
- package/dist/node_modules/undici-types/balanced-pool.d.ts +11 -0
- package/dist/node_modules/undici-types/client.d.ts +12 -1
- package/dist/node_modules/undici-types/diagnostics-channel.d.ts +1 -2
- package/dist/node_modules/undici-types/dispatcher.d.ts +18 -4
- package/dist/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/dist/node_modules/undici-types/errors.d.ts +21 -0
- package/dist/node_modules/undici-types/eventsource.d.ts +63 -0
- package/dist/node_modules/undici-types/fetch.d.ts +25 -25
- package/dist/node_modules/undici-types/formdata.d.ts +1 -1
- package/dist/node_modules/undici-types/handlers.d.ts +10 -4
- package/dist/node_modules/undici-types/index.d.ts +10 -2
- package/dist/node_modules/undici-types/interceptors.d.ts +12 -2
- package/dist/node_modules/undici-types/mock-interceptor.d.ts +4 -4
- package/dist/node_modules/undici-types/package.json +1 -1
- package/dist/node_modules/undici-types/pool.d.ts +11 -0
- package/dist/node_modules/undici-types/proxy-agent.d.ts +0 -2
- package/dist/node_modules/undici-types/readable.d.ts +2 -3
- package/dist/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/dist/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/dist/node_modules/undici-types/util.d.ts +18 -0
- package/dist/node_modules/undici-types/webidl.d.ts +10 -8
- package/dist/node_modules/undici-types/websocket.d.ts +22 -1
- package/dist/package-lock.json +834 -700
- package/dist/package.json +2 -2
- package/dist/util/system/getAvailableSystems.js +5 -0
- package/package.json +2 -2
- package/dist/node_modules/@types/node/globals.global.d.ts +0 -1
- 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
|
-
*
|
|
280
|
-
*
|
|
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
|
-
*
|
|
297
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
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
|
-
*
|
|
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
|
|
25
|
+
// NOTE: These definitions support Node.js and TypeScript 5.7+.
|
|
26
26
|
|
|
27
|
-
// Reference required
|
|
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
|
-
//
|
|
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" />
|