@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
|
@@ -102,6 +102,36 @@ declare module "node:diagnostics_channel" {
|
|
|
102
102
|
function tracingChannel<ContextType extends object = object, StoreType = ContextType>(
|
|
103
103
|
nameOrChannels: string | TracingChannelCollection<ContextType, StoreType>,
|
|
104
104
|
): TracingChannel<ContextType, StoreType>;
|
|
105
|
+
/**
|
|
106
|
+
* Creates a {@link BoundedChannel} wrapper for the given channels. If a name is
|
|
107
|
+
* given, the corresponding channels will be created in the form of
|
|
108
|
+
* `tracing:${name}:${eventType}` where `eventType` is `start` or `end`.
|
|
109
|
+
*
|
|
110
|
+
* A `BoundedChannel` is a simplified version of {@link TracingChannel} that only
|
|
111
|
+
* traces synchronous operations. It only has `start` and `end` events, without
|
|
112
|
+
* `asyncStart`, `asyncEnd`, or `error` events, making it suitable for tracing
|
|
113
|
+
* operations that don't involve asynchronous continuations or error handling.
|
|
114
|
+
*
|
|
115
|
+
* ```js
|
|
116
|
+
* import { boundedChannel, channel } from 'node:diagnostics_channel';
|
|
117
|
+
*
|
|
118
|
+
* const wc = boundedChannel('my-operation');
|
|
119
|
+
*
|
|
120
|
+
* // or...
|
|
121
|
+
*
|
|
122
|
+
* const wc2 = boundedChannel({
|
|
123
|
+
* start: channel('tracing:my-operation:start'),
|
|
124
|
+
* end: channel('tracing:my-operation:end'),
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
* @since v26.1.0
|
|
128
|
+
* @experimental
|
|
129
|
+
* @param nameOrChannels Channel name or
|
|
130
|
+
* object containing all the [BoundedChannel Channels](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html#boundedchannel-channels)
|
|
131
|
+
*/
|
|
132
|
+
function boundedChannel<ContextType extends object = object, StoreType = ContextType>(
|
|
133
|
+
nameOrChannels: string | BoundedChannelCollection<ContextType, StoreType>,
|
|
134
|
+
): BoundedChannel<ContextType, StoreType>;
|
|
105
135
|
/**
|
|
106
136
|
* The class `Channel` represents an individual named channel within the data
|
|
107
137
|
* pipeline. It is used to track subscribers and to publish messages when there
|
|
@@ -112,6 +142,7 @@ declare module "node:diagnostics_channel" {
|
|
|
112
142
|
* @since v15.1.0, v14.17.0
|
|
113
143
|
*/
|
|
114
144
|
class Channel<ContextType = any, StoreType = ContextType> {
|
|
145
|
+
private constructor();
|
|
115
146
|
readonly name: string | symbol;
|
|
116
147
|
/**
|
|
117
148
|
* Check if there are active subscribers to this channel. This is helpful if
|
|
@@ -132,7 +163,6 @@ declare module "node:diagnostics_channel" {
|
|
|
132
163
|
* @since v15.1.0, v14.17.0
|
|
133
164
|
*/
|
|
134
165
|
readonly hasSubscribers: boolean;
|
|
135
|
-
private constructor(name: string | symbol);
|
|
136
166
|
/**
|
|
137
167
|
* Publish a message to any subscribers to the channel. This will trigger
|
|
138
168
|
* message handlers synchronously so they will execute within the same context.
|
|
@@ -277,7 +307,48 @@ declare module "node:diagnostics_channel" {
|
|
|
277
307
|
thisArg?: ThisArg,
|
|
278
308
|
...args: Args
|
|
279
309
|
): Result;
|
|
310
|
+
/**
|
|
311
|
+
* Creates a disposable scope that binds the given data to any AsyncLocalStorage
|
|
312
|
+
* instances bound to the channel and publishes it to subscribers. The scope
|
|
313
|
+
* automatically restores the previous storage contexts when disposed.
|
|
314
|
+
*
|
|
315
|
+
* This method enables the use of JavaScript's explicit resource management
|
|
316
|
+
* (`using` syntax with `Symbol.dispose`) to manage store contexts without
|
|
317
|
+
* closure wrapping.
|
|
318
|
+
*
|
|
319
|
+
* ```js
|
|
320
|
+
* import { channel } from 'node:diagnostics_channel';
|
|
321
|
+
* import { AsyncLocalStorage } from 'node:async_hooks';
|
|
322
|
+
*
|
|
323
|
+
* const store = new AsyncLocalStorage();
|
|
324
|
+
* const ch = channel('my-channel');
|
|
325
|
+
*
|
|
326
|
+
* ch.bindStore(store, (message) => {
|
|
327
|
+
* return { ...message, timestamp: Date.now() };
|
|
328
|
+
* });
|
|
329
|
+
*
|
|
330
|
+
* {
|
|
331
|
+
* using scope = ch.withStoreScope({ request: 'data' });
|
|
332
|
+
* // Store is entered, data is published
|
|
333
|
+
* console.log(store.getStore()); // { request: 'data', timestamp: ... }
|
|
334
|
+
* }
|
|
335
|
+
* // Store is automatically restored on scope exit
|
|
336
|
+
* ```
|
|
337
|
+
* @since v26.1.0
|
|
338
|
+
* @experimental
|
|
339
|
+
*/
|
|
340
|
+
withStoreScope(data: ContextType): RunStoresScope;
|
|
280
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* The class `RunStoresScope` represents a disposable scope created by
|
|
344
|
+
* `channel.withStoreScope(data)`. It manages the lifecycle of store
|
|
345
|
+
* contexts and ensures they are properly restored when the scope exits.
|
|
346
|
+
*
|
|
347
|
+
* The scope must be used with the `using` syntax to ensure proper disposal.
|
|
348
|
+
* @since v26.1.0
|
|
349
|
+
* @experimental
|
|
350
|
+
*/
|
|
351
|
+
interface RunStoresScope extends Disposable {}
|
|
281
352
|
interface TracingChannelSubscribers<ContextType extends object> {
|
|
282
353
|
start: (message: ContextType) => void;
|
|
283
354
|
end: (
|
|
@@ -355,7 +426,7 @@ declare module "node:diagnostics_channel" {
|
|
|
355
426
|
* @experimental
|
|
356
427
|
* @param subscribers Set of `TracingChannel Channels` subscribers
|
|
357
428
|
*/
|
|
358
|
-
subscribe(subscribers: TracingChannelSubscribers<ContextType
|
|
429
|
+
subscribe(subscribers: NodeJS.PartialOptions<TracingChannelSubscribers<ContextType>>): void;
|
|
359
430
|
/**
|
|
360
431
|
* Helper to unsubscribe a collection of functions from the corresponding channels.
|
|
361
432
|
* This is the same as calling `channel.unsubscribe(onMessage)` on each channel
|
|
@@ -389,7 +460,7 @@ declare module "node:diagnostics_channel" {
|
|
|
389
460
|
* @param subscribers Set of `TracingChannel Channels` subscribers
|
|
390
461
|
* @return `true` if all handlers were successfully unsubscribed, and `false` otherwise.
|
|
391
462
|
*/
|
|
392
|
-
unsubscribe(subscribers: TracingChannelSubscribers<ContextType
|
|
463
|
+
unsubscribe(subscribers: NodeJS.PartialOptions<TracingChannelSubscribers<ContextType>>): void;
|
|
393
464
|
/**
|
|
394
465
|
* Trace a synchronous function call. This will always produce a `start event` and `end event` around the execution and may produce an `error event` if the given function throws an error.
|
|
395
466
|
* This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
|
|
@@ -554,6 +625,169 @@ declare module "node:diagnostics_channel" {
|
|
|
554
625
|
*/
|
|
555
626
|
readonly hasSubscribers: boolean;
|
|
556
627
|
}
|
|
628
|
+
interface BoundedChannelSubscribers<ContextType extends object> {
|
|
629
|
+
start: (message: ContextType) => void;
|
|
630
|
+
end: (message: ContextType) => void;
|
|
631
|
+
}
|
|
632
|
+
interface BoundedChannelCollection<ContextType extends object = object, StoreType = ContextType> {
|
|
633
|
+
start: Channel<ContextType, StoreType>;
|
|
634
|
+
end: Channel<ContextType, StoreType>;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* The class `BoundedChannel` is a simplified version of {@link TracingChannel} that
|
|
638
|
+
* only traces synchronous operations. It consists of two channels (`start` and
|
|
639
|
+
* `end`) instead of five, omitting the `asyncStart`, `asyncEnd`, and `error`
|
|
640
|
+
* events. This makes it suitable for tracing operations that don't involve
|
|
641
|
+
* asynchronous continuations or error handling.
|
|
642
|
+
*
|
|
643
|
+
* Like `TracingChannel`, it is recommended to create and reuse a single
|
|
644
|
+
* `BoundedChannel` at the top-level of the file rather than creating them
|
|
645
|
+
* dynamically.
|
|
646
|
+
* @since v26.1.0
|
|
647
|
+
* @experimental
|
|
648
|
+
*/
|
|
649
|
+
interface BoundedChannel<ContextType extends object = object, StoreType = ContextType>
|
|
650
|
+
extends BoundedChannelCollection<ContextType, StoreType>
|
|
651
|
+
{
|
|
652
|
+
/**
|
|
653
|
+
* Check if any of the `start` or `end` channels have subscribers.
|
|
654
|
+
*
|
|
655
|
+
* ```js
|
|
656
|
+
* import { boundedChannel } from 'node:diagnostics_channel';
|
|
657
|
+
*
|
|
658
|
+
* const wc = boundedChannel('my-operation');
|
|
659
|
+
*
|
|
660
|
+
* if (wc.hasSubscribers) {
|
|
661
|
+
* // There are subscribers, perform traced operation
|
|
662
|
+
* }
|
|
663
|
+
* ```
|
|
664
|
+
* @since v26.1.0
|
|
665
|
+
*/
|
|
666
|
+
readonly hasSubscribers: boolean;
|
|
667
|
+
/**
|
|
668
|
+
* Subscribe to the bounded channel events. This is equivalent to calling
|
|
669
|
+
* [`channel.subscribe(onMessage)`][] on each channel individually.
|
|
670
|
+
*
|
|
671
|
+
* ```mjs
|
|
672
|
+
* import { boundedChannel } from 'node:diagnostics_channel';
|
|
673
|
+
*
|
|
674
|
+
* const wc = boundedChannel('my-operation');
|
|
675
|
+
*
|
|
676
|
+
* wc.subscribe({
|
|
677
|
+
* start(message) {
|
|
678
|
+
* // Handle start
|
|
679
|
+
* },
|
|
680
|
+
* end(message) {
|
|
681
|
+
* // Handle end
|
|
682
|
+
* },
|
|
683
|
+
* });
|
|
684
|
+
* ```
|
|
685
|
+
* @since v26.1.0
|
|
686
|
+
* @param handlers Set of channel subscribers
|
|
687
|
+
*/
|
|
688
|
+
subscribe(handlers: NodeJS.PartialOptions<BoundedChannelSubscribers<ContextType>>): void;
|
|
689
|
+
/**
|
|
690
|
+
* Unsubscribe from the bounded channel events. This is equivalent to calling
|
|
691
|
+
* [`channel.unsubscribe(onMessage)`][] on each channel individually.
|
|
692
|
+
*
|
|
693
|
+
* ```js
|
|
694
|
+
* import { boundedChannel } from 'node:diagnostics_channel';
|
|
695
|
+
*
|
|
696
|
+
* const wc = boundedChannel('my-operation');
|
|
697
|
+
*
|
|
698
|
+
* const handlers = {
|
|
699
|
+
* start(message) {},
|
|
700
|
+
* end(message) {},
|
|
701
|
+
* };
|
|
702
|
+
*
|
|
703
|
+
* wc.subscribe(handlers);
|
|
704
|
+
* wc.unsubscribe(handlers);
|
|
705
|
+
* ```
|
|
706
|
+
* @since v26.1.0
|
|
707
|
+
* @param handlers Set of channel subscribers
|
|
708
|
+
* @returns `true` if all handlers were successfully unsubscribed,
|
|
709
|
+
* `false` otherwise.
|
|
710
|
+
*/
|
|
711
|
+
unsubscribe(handlers: NodeJS.PartialOptions<BoundedChannelSubscribers<ContextType>>): boolean;
|
|
712
|
+
/**
|
|
713
|
+
* Trace a synchronous function call. This will produce a `start` event and `end`
|
|
714
|
+
* event around the execution. This runs the given function using
|
|
715
|
+
* [`channel.runStores(context, ...)`][] on the `start` channel which ensures all
|
|
716
|
+
* events have any bound stores set to match this trace context.
|
|
717
|
+
*
|
|
718
|
+
* ```js
|
|
719
|
+
* import { boundedChannel } from 'node:diagnostics_channel';
|
|
720
|
+
*
|
|
721
|
+
* const wc = boundedChannel('my-operation');
|
|
722
|
+
*
|
|
723
|
+
* const result = wc.run({ operationId: '123' }, () => {
|
|
724
|
+
* // Perform operation
|
|
725
|
+
* return 42;
|
|
726
|
+
* });
|
|
727
|
+
* ```
|
|
728
|
+
* @since v26.1.0
|
|
729
|
+
* @param context Shared object to correlate events through
|
|
730
|
+
* @param fn Function to wrap a trace around
|
|
731
|
+
* @param thisArg The receiver to be used for the function call
|
|
732
|
+
* @param args Optional arguments to pass to the function
|
|
733
|
+
* @returns The return value of the given function
|
|
734
|
+
*/
|
|
735
|
+
run<ThisArg = any, Args extends any[] = any[], Result = any>(
|
|
736
|
+
fn: (this: ThisArg, ...args: Args) => Result,
|
|
737
|
+
context?: ContextType,
|
|
738
|
+
thisArg?: ThisArg,
|
|
739
|
+
...args: Args
|
|
740
|
+
): Result;
|
|
741
|
+
/**
|
|
742
|
+
* Create a disposable scope for tracing a synchronous operation using JavaScript's
|
|
743
|
+
* explicit resource management (`using` syntax). The scope automatically publishes
|
|
744
|
+
* `start` and `end` events, enters bound stores, and handles cleanup when disposed.
|
|
745
|
+
*
|
|
746
|
+
* ```js
|
|
747
|
+
* import { boundedChannel } from 'node:diagnostics_channel';
|
|
748
|
+
*
|
|
749
|
+
* const wc = boundedChannel('my-operation');
|
|
750
|
+
*
|
|
751
|
+
* const context = { operationId: '123' };
|
|
752
|
+
* {
|
|
753
|
+
* using scope = wc.withScope(context);
|
|
754
|
+
* // Stores are entered, start event is published
|
|
755
|
+
*
|
|
756
|
+
* // Perform work and set result on context
|
|
757
|
+
* context.result = 42;
|
|
758
|
+
* }
|
|
759
|
+
* // End event is published, stores are restored automatically
|
|
760
|
+
* ```
|
|
761
|
+
* @since v26.1.0
|
|
762
|
+
* @param context Shared object to correlate events through
|
|
763
|
+
* @returns Disposable scope object
|
|
764
|
+
*/
|
|
765
|
+
withScope(context: ContextType): BoundedChannelScope;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* The class `BoundedChannelScope` represents a disposable scope created by
|
|
769
|
+
* `boundedChannel.withScope(context)`. It manages the lifecycle of a traced
|
|
770
|
+
* operation, automatically publishing events and managing store contexts.
|
|
771
|
+
*
|
|
772
|
+
* The scope must be used with the `using` syntax to ensure proper disposal.
|
|
773
|
+
*
|
|
774
|
+
* ```js
|
|
775
|
+
* import { boundedChannel } from 'node:diagnostics_channel';
|
|
776
|
+
*
|
|
777
|
+
* const wc = boundedChannel('my-operation');
|
|
778
|
+
*
|
|
779
|
+
* const context = {};
|
|
780
|
+
* {
|
|
781
|
+
* using scope = wc.withScope(context);
|
|
782
|
+
* // Start event is published, stores are entered
|
|
783
|
+
* context.result = performOperation();
|
|
784
|
+
* // End event is automatically published at end of block
|
|
785
|
+
* }
|
|
786
|
+
* ```
|
|
787
|
+
* @since v26.1.0
|
|
788
|
+
* @experimental
|
|
789
|
+
*/
|
|
790
|
+
interface BoundedChannelScope extends Disposable {}
|
|
557
791
|
}
|
|
558
792
|
declare module "diagnostics_channel" {
|
|
559
793
|
export * from "node:diagnostics_channel";
|
|
@@ -34,7 +34,7 @@ declare module "node:dns" {
|
|
|
34
34
|
*/
|
|
35
35
|
all?: boolean | undefined;
|
|
36
36
|
/**
|
|
37
|
-
* When `verbatim`, the resolved addresses are
|
|
37
|
+
* When `verbatim`, the resolved addresses are returned unsorted. When `ipv4first`, the resolved addresses are sorted
|
|
38
38
|
* by placing IPv4 addresses before IPv6 addresses. When `ipv6first`, the resolved addresses are sorted by placing IPv6
|
|
39
39
|
* addresses before IPv4 addresses. Default value is configurable using
|
|
40
40
|
* {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--dns-result-orderorder).
|