@zuplo/cli 6.71.22 → 6.71.23
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/node_modules/@posthog/core/dist/posthog-core-stateless.d.ts +5 -0
- package/node_modules/@posthog/core/dist/posthog-core-stateless.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/posthog-core-stateless.js +50 -10
- package/node_modules/@posthog/core/dist/posthog-core-stateless.mjs +47 -10
- package/node_modules/@posthog/core/dist/posthog-core.d.ts +2 -2
- package/node_modules/@posthog/core/dist/posthog-core.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/posthog-core.js +10 -6
- package/node_modules/@posthog/core/dist/posthog-core.mjs +11 -7
- package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.d.ts +1 -0
- package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.js +3 -0
- package/node_modules/@posthog/core/dist/testing/PostHogCoreTestClient.mjs +3 -0
- package/node_modules/@posthog/core/dist/utils/promise-queue.d.ts +3 -0
- package/node_modules/@posthog/core/dist/utils/promise-queue.d.ts.map +1 -1
- package/node_modules/@posthog/core/dist/utils/promise-queue.js +15 -3
- package/node_modules/@posthog/core/dist/utils/promise-queue.mjs +15 -3
- package/node_modules/@posthog/core/package.json +1 -1
- package/node_modules/@posthog/core/src/posthog-core-stateless.ts +80 -14
- package/node_modules/@posthog/core/src/posthog-core.ts +18 -7
- package/node_modules/@posthog/core/src/testing/PostHogCoreTestClient.ts +4 -0
- package/node_modules/@posthog/core/src/utils/promise-queue.ts +17 -4
- package/node_modules/@posthog/types/dist/posthog.d.ts +12 -0
- package/node_modules/@posthog/types/dist/posthog.d.ts.map +1 -1
- package/node_modules/@posthog/types/package.json +1 -1
- package/node_modules/@posthog/types/src/posthog.ts +13 -0
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/buffer.d.ts +64 -25
- package/node_modules/@types/node/crypto.d.ts +18 -5
- package/node_modules/@types/node/diagnostics_channel.d.ts +237 -3
- package/node_modules/@types/node/dns.d.ts +1 -1
- package/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@types/node/fs/promises.d.ts +3 -0
- package/node_modules/@types/node/fs.d.ts +21 -6
- package/node_modules/@types/node/http.d.ts +25 -0
- package/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/process.d.ts +14 -1
- package/node_modules/@types/node/quic.d.ts +92 -11
- package/node_modules/@types/node/sqlite.d.ts +55 -0
- package/node_modules/@types/node/stream/iter.d.ts +150 -0
- package/node_modules/@types/node/stream.d.ts +32 -0
- package/node_modules/@types/node/test.d.ts +112 -2
- package/node_modules/@types/node/ts5.6/index.d.ts +1 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +1 -0
- package/node_modules/@types/node/util.d.ts +19 -2
- package/node_modules/@types/node/v8.d.ts +84 -2
- package/node_modules/@types/node/worker_threads.d.ts +8 -7
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/out/esm/index.js +11 -11
- package/node_modules/@zuplo/graphql/out/esm/index.js.map +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/out/esm/{chunk-54PA7VDV.js → chunk-4QJJMELB.js} +1 -1
- package/node_modules/@zuplo/runtime/out/esm/{chunk-54PA7VDV.js.map → chunk-4QJJMELB.js.map} +1 -1
- package/node_modules/@zuplo/runtime/out/esm/chunk-5CYWMN74.js +402 -0
- package/node_modules/@zuplo/runtime/out/esm/chunk-5CYWMN74.js.map +1 -0
- package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +7 -7
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/types/index.d.ts +109 -19
- package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +33 -7
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/iconv-lite/encodings/sbcs-data.js +2 -0
- package/node_modules/iconv-lite/encodings/utf32.js +10 -3
- package/node_modules/iconv-lite/package.json +2 -2
- package/node_modules/iconv-lite/types/encodings.d.ts +2 -0
- package/node_modules/protobufjs/dist/light/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.js +5 -2
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/package.json +1 -1
- package/node_modules/protobufjs/src/parse.js +3 -0
- package/node_modules/toad-cache/README.md +10 -9
- package/node_modules/toad-cache/dist/toad-cache.cjs +139 -139
- package/node_modules/toad-cache/dist/toad-cache.mjs +136 -140
- package/node_modules/toad-cache/package.json +8 -8
- package/node_modules/toad-cache/toad-cache.d.cts +20 -14
- package/node_modules/toad-cache/toad-cache.d.ts +18 -14
- package/package.json +6 -6
- package/node_modules/@zuplo/runtime/out/esm/chunk-36XLJ4X6.js +0 -389
- package/node_modules/@zuplo/runtime/out/esm/chunk-36XLJ4X6.js.map +0 -1
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-36XLJ4X6.js.LEGAL.txt → chunk-5CYWMN74.js.LEGAL.txt} +0 -0
|
@@ -974,6 +974,8 @@ declare module "node:util" {
|
|
|
974
974
|
* `reason`.
|
|
975
975
|
*
|
|
976
976
|
* ```js
|
|
977
|
+
* import util from 'node:util';
|
|
978
|
+
*
|
|
977
979
|
* function fn() {
|
|
978
980
|
* return Promise.reject(null);
|
|
979
981
|
* }
|
|
@@ -1246,13 +1248,28 @@ declare module "node:util" {
|
|
|
1246
1248
|
*
|
|
1247
1249
|
* The special format value `none` applies no additional styling to the text.
|
|
1248
1250
|
*
|
|
1251
|
+
* In addition to predefined color names, `util.styleText()` supports hex color
|
|
1252
|
+
* strings using ANSI TrueColor (24-bit) escape sequences. Hex colors can be
|
|
1253
|
+
* specified in either 3-digit (`#RGB`) or 6-digit (`#RRGGBB`) format:
|
|
1254
|
+
*
|
|
1255
|
+
* ```js
|
|
1256
|
+
* import { styleText } from 'node:util';
|
|
1257
|
+
*
|
|
1258
|
+
* // 6-digit hex color
|
|
1259
|
+
* console.log(styleText('#ff5733', 'Orange text'));
|
|
1260
|
+
*
|
|
1261
|
+
* // 3-digit hex color (shorthand)
|
|
1262
|
+
* console.log(styleText('#f00', 'Red text'));
|
|
1263
|
+
* ```
|
|
1264
|
+
*
|
|
1249
1265
|
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v26.x/api/util.html#modifiers).
|
|
1250
|
-
* @param format A text format or an Array of text formats defined in `util.inspect.colors
|
|
1266
|
+
* @param format A text format or an Array of text formats defined in `util.inspect.colors`, or a hex color in `#RGB`
|
|
1267
|
+
* or `#RRGGBB` form.
|
|
1251
1268
|
* @param text The text to to be formatted.
|
|
1252
1269
|
* @since v20.12.0
|
|
1253
1270
|
*/
|
|
1254
1271
|
export function styleText(
|
|
1255
|
-
format: InspectColor | readonly InspectColor[]
|
|
1272
|
+
format: InspectColor | readonly InspectColor[] | `#${string}`,
|
|
1256
1273
|
text: string,
|
|
1257
1274
|
options?: StyleTextOptions,
|
|
1258
1275
|
): string;
|
|
@@ -412,6 +412,21 @@ declare module "node:v8" {
|
|
|
412
412
|
*/
|
|
413
413
|
[Symbol.dispose](): void;
|
|
414
414
|
}
|
|
415
|
+
/**
|
|
416
|
+
* @since v26.1.0
|
|
417
|
+
*/
|
|
418
|
+
interface SyncHeapProfileHandle {
|
|
419
|
+
/**
|
|
420
|
+
* Stopping collecting the profile and return the profile data.
|
|
421
|
+
* @since v26.1.0
|
|
422
|
+
*/
|
|
423
|
+
stop(): string;
|
|
424
|
+
/**
|
|
425
|
+
* Stopping collecting the profile and the profile will be discarded.
|
|
426
|
+
* @since v26.1.0
|
|
427
|
+
*/
|
|
428
|
+
[Symbol.dispose](): void;
|
|
429
|
+
}
|
|
415
430
|
/**
|
|
416
431
|
* @since v24.8.0
|
|
417
432
|
*/
|
|
@@ -444,18 +459,85 @@ declare module "node:v8" {
|
|
|
444
459
|
*/
|
|
445
460
|
[Symbol.asyncDispose](): Promise<void>;
|
|
446
461
|
}
|
|
462
|
+
interface CPUProfileOptions {
|
|
463
|
+
/**
|
|
464
|
+
* Requested sampling interval in milliseconds. **Default:** `0`.
|
|
465
|
+
*/
|
|
466
|
+
sampleInterval?: number | undefined;
|
|
467
|
+
/**
|
|
468
|
+
* Maximum number of samples to keep before older
|
|
469
|
+
* entries are discarded. **Default:** `4294967295`.
|
|
470
|
+
*/
|
|
471
|
+
maxBufferSize?: number | undefined;
|
|
472
|
+
}
|
|
447
473
|
/**
|
|
448
474
|
* Starting a CPU profile then return a `SyncCPUProfileHandle` object.
|
|
449
475
|
* This API supports `using` syntax.
|
|
450
476
|
*
|
|
451
477
|
* ```js
|
|
452
|
-
* const handle = v8.startCpuProfile();
|
|
478
|
+
* const handle = v8.startCpuProfile({ sampleInterval: 1, maxBufferSize: 10_000 });
|
|
453
479
|
* const profile = handle.stop();
|
|
454
480
|
* console.log(profile);
|
|
455
481
|
* ```
|
|
456
482
|
* @since v25.0.0
|
|
457
483
|
*/
|
|
458
|
-
function startCpuProfile(): SyncCPUProfileHandle;
|
|
484
|
+
function startCpuProfile(options?: CPUProfileOptions): SyncCPUProfileHandle;
|
|
485
|
+
interface HeapProfileOptions {
|
|
486
|
+
/**
|
|
487
|
+
* The average sampling interval in bytes.
|
|
488
|
+
* **Default:** `524288` (512 KiB).
|
|
489
|
+
*/
|
|
490
|
+
sampleInterval?: number | undefined;
|
|
491
|
+
/**
|
|
492
|
+
* The maximum stack depth for samples.
|
|
493
|
+
* **Default:** `16`.
|
|
494
|
+
*/
|
|
495
|
+
stackDepth?: number | undefined;
|
|
496
|
+
/**
|
|
497
|
+
* Force garbage collection before taking the profile.
|
|
498
|
+
* **Default:** `false`.
|
|
499
|
+
*/
|
|
500
|
+
forceGC?: boolean | undefined;
|
|
501
|
+
/**
|
|
502
|
+
* Include objects collected
|
|
503
|
+
* by major GC. **Default:** `false`.
|
|
504
|
+
*/
|
|
505
|
+
includeObjectsCollectedByMajorGC?: boolean | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* Include objects collected
|
|
508
|
+
* by minor GC. **Default:** `false`.
|
|
509
|
+
*/
|
|
510
|
+
includeObjectsCollectedByMinorGC?: boolean | undefined;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* Starting a heap profile then return a `SyncHeapProfileHandle` object.
|
|
514
|
+
* This API supports `using` syntax.
|
|
515
|
+
*
|
|
516
|
+
* ```js
|
|
517
|
+
* import v8 from 'node:v8';
|
|
518
|
+
*
|
|
519
|
+
* const handle = v8.startHeapProfile();
|
|
520
|
+
* const profile = handle.stop();
|
|
521
|
+
* console.log(profile);
|
|
522
|
+
* ```
|
|
523
|
+
*
|
|
524
|
+
* With custom parameters:
|
|
525
|
+
*
|
|
526
|
+
* ```js
|
|
527
|
+
* import v8 from 'node:v8';
|
|
528
|
+
*
|
|
529
|
+
* const handle = v8.startHeapProfile({
|
|
530
|
+
* sampleInterval: 1024,
|
|
531
|
+
* stackDepth: 8,
|
|
532
|
+
* forceGC: true,
|
|
533
|
+
* includeObjectsCollectedByMajorGC: true,
|
|
534
|
+
* });
|
|
535
|
+
* const profile = handle.stop();
|
|
536
|
+
* console.log(profile);
|
|
537
|
+
* ```
|
|
538
|
+
* @since v26.1.0
|
|
539
|
+
*/
|
|
540
|
+
function startHeapProfile(options?: HeapProfileOptions): SyncHeapProfileHandle;
|
|
459
541
|
/**
|
|
460
542
|
* V8 only supports `Latin-1/ISO-8859-1` and `UTF16` as the underlying representation of a string.
|
|
461
543
|
* If the `content` uses `Latin-1/ISO-8859-1` as the underlying representation, this function will return true;
|
|
@@ -10,7 +10,7 @@ declare module "node:worker_threads" {
|
|
|
10
10
|
import { Readable, Writable } from "node:stream";
|
|
11
11
|
import { ReadableStream, TransformStream, WritableStream } from "node:stream/web";
|
|
12
12
|
import { URL } from "node:url";
|
|
13
|
-
import { CPUProfileHandle, HeapInfo, HeapProfileHandle } from "node:v8";
|
|
13
|
+
import { CPUProfileHandle, CPUProfileOptions, HeapInfo, HeapProfileHandle, HeapProfileOptions } from "node:v8";
|
|
14
14
|
import { Context } from "node:vm";
|
|
15
15
|
import { MessageEvent } from "undici-types";
|
|
16
16
|
const isInternalThread: boolean;
|
|
@@ -259,7 +259,7 @@ declare module "node:worker_threads" {
|
|
|
259
259
|
* `, { eval: true });
|
|
260
260
|
*
|
|
261
261
|
* worker.on('online', async () => {
|
|
262
|
-
* const handle = await worker.startCpuProfile();
|
|
262
|
+
* const handle = await worker.startCpuProfile({ sampleInterval: 1 });
|
|
263
263
|
* const profile = await handle.stop();
|
|
264
264
|
* console.log(profile);
|
|
265
265
|
* worker.terminate();
|
|
@@ -283,16 +283,16 @@ declare module "node:worker_threads" {
|
|
|
283
283
|
* ```
|
|
284
284
|
* @since v24.8.0
|
|
285
285
|
*/
|
|
286
|
-
startCpuProfile(): Promise<CPUProfileHandle>;
|
|
286
|
+
startCpuProfile(options?: CPUProfileOptions): Promise<CPUProfileHandle>;
|
|
287
287
|
/**
|
|
288
288
|
* Starting a Heap profile then return a Promise that fulfills with an error
|
|
289
289
|
* or an `HeapProfileHandle` object. This API supports `await using` syntax.
|
|
290
290
|
*
|
|
291
291
|
* ```js
|
|
292
|
-
*
|
|
292
|
+
* import { Worker } from 'node:worker_threads';
|
|
293
293
|
*
|
|
294
294
|
* const worker = new Worker(`
|
|
295
|
-
* const { parentPort } = require('worker_threads');
|
|
295
|
+
* const { parentPort } = require('node:worker_threads');
|
|
296
296
|
* parentPort.on('message', () => {});
|
|
297
297
|
* `, { eval: true });
|
|
298
298
|
*
|
|
@@ -307,7 +307,7 @@ declare module "node:worker_threads" {
|
|
|
307
307
|
* `await using` example.
|
|
308
308
|
*
|
|
309
309
|
* ```js
|
|
310
|
-
*
|
|
310
|
+
* import { Worker } from 'node:worker_threads';
|
|
311
311
|
*
|
|
312
312
|
* const w = new Worker(`
|
|
313
313
|
* const { parentPort } = require('node:worker_threads');
|
|
@@ -319,8 +319,9 @@ declare module "node:worker_threads" {
|
|
|
319
319
|
* await using handle = await w.startHeapProfile();
|
|
320
320
|
* });
|
|
321
321
|
* ```
|
|
322
|
+
* @since v24.9.0
|
|
322
323
|
*/
|
|
323
|
-
startHeapProfile(): Promise<HeapProfileHandle>;
|
|
324
|
+
startHeapProfile(options?: HeapProfileOptions): Promise<HeapProfileHandle>;
|
|
324
325
|
/**
|
|
325
326
|
* Calls `worker.terminate()` when the dispose scope is exited.
|
|
326
327
|
*
|