@agentconnect.md/setup 1.60.0-rc.1 → 1.60.0-rc.3
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/dist/index.js +197 -131
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ var require_reusify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
66
66
|
module.exports = reusify;
|
|
67
67
|
}));
|
|
68
68
|
//#endregion
|
|
69
|
-
//#region ../../node_modules/.pnpm/fastq@1.20.
|
|
69
|
+
//#region ../../node_modules/.pnpm/fastq@1.20.3/node_modules/fastq/queue.js
|
|
70
70
|
var require_queue = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
71
71
|
var reusify = require_reusify();
|
|
72
72
|
function fastqueue(context, worker, _concurrency) {
|
|
@@ -1376,7 +1376,7 @@ var require_avvio = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1376
1376
|
module.exports = Boot;
|
|
1377
1377
|
}));
|
|
1378
1378
|
//#endregion
|
|
1379
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
1379
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/symbols.js
|
|
1380
1380
|
var require_symbols$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1381
1381
|
module.exports = {
|
|
1382
1382
|
kAvvioBoot: Symbol("fastify.avvioBoot"),
|
|
@@ -1608,7 +1608,7 @@ var require_process_warning$1 = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
1608
1608
|
module.exports.processWarning = out;
|
|
1609
1609
|
}));
|
|
1610
1610
|
//#endregion
|
|
1611
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
1611
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/warnings.js
|
|
1612
1612
|
var require_warnings = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1613
1613
|
const { createWarning } = require_process_warning$1();
|
|
1614
1614
|
module.exports = {
|
|
@@ -1669,7 +1669,7 @@ var require_warnings = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1669
1669
|
};
|
|
1670
1670
|
}));
|
|
1671
1671
|
//#endregion
|
|
1672
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
1672
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/errors.js
|
|
1673
1673
|
var require_errors$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1674
1674
|
const createError = require_error$1();
|
|
1675
1675
|
const codes = {
|
|
@@ -1823,7 +1823,7 @@ var require_errors$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
}));
|
|
1825
1825
|
//#endregion
|
|
1826
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
1826
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/hooks.js
|
|
1827
1827
|
var require_hooks = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1828
1828
|
const applicationHooks = [
|
|
1829
1829
|
"onRoute",
|
|
@@ -2143,7 +2143,7 @@ var require_hooks = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2143
2143
|
};
|
|
2144
2144
|
}));
|
|
2145
2145
|
//#endregion
|
|
2146
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
2146
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/noop-set.js
|
|
2147
2147
|
var require_noop_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2148
2148
|
module.exports = function noopSet() {
|
|
2149
2149
|
return {
|
|
@@ -2157,7 +2157,7 @@ var require_noop_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2157
2157
|
};
|
|
2158
2158
|
}));
|
|
2159
2159
|
//#endregion
|
|
2160
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
2160
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/promise.js
|
|
2161
2161
|
var require_promise = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2162
2162
|
const { kTestInternals } = require_symbols$1();
|
|
2163
2163
|
function withResolvers() {
|
|
@@ -2177,7 +2177,7 @@ var require_promise = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2177
2177
|
};
|
|
2178
2178
|
}));
|
|
2179
2179
|
//#endregion
|
|
2180
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
2180
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/server.js
|
|
2181
2181
|
var require_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2182
2182
|
const http$2 = __require("node:http");
|
|
2183
2183
|
const https = __require("node:https");
|
|
@@ -2454,7 +2454,7 @@ var require_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
}));
|
|
2456
2456
|
//#endregion
|
|
2457
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
2457
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/error-status.js
|
|
2458
2458
|
var require_error_status = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2459
2459
|
const { kReplyHasStatusCode } = require_symbols$1();
|
|
2460
2460
|
function setErrorStatusCode(reply, err) {
|
|
@@ -2466,7 +2466,7 @@ var require_error_status = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2466
2466
|
module.exports = { setErrorStatusCode };
|
|
2467
2467
|
}));
|
|
2468
2468
|
//#endregion
|
|
2469
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
2469
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/wrap-thenable.js
|
|
2470
2470
|
var require_wrap_thenable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2471
2471
|
const { kReplyIsError, kReplyHijacked } = require_symbols$1();
|
|
2472
2472
|
const { setErrorStatusCode } = require_error_status();
|
|
@@ -2510,7 +2510,7 @@ var require_wrap_thenable = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
2510
2510
|
module.exports = wrapThenable;
|
|
2511
2511
|
}));
|
|
2512
2512
|
//#endregion
|
|
2513
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
2513
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/validation.js
|
|
2514
2514
|
var require_validation$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2515
2515
|
const { kSchemaHeaders: headersSchema, kSchemaParams: paramsSchema, kSchemaQuerystring: querystringSchema, kSchemaBody: bodySchema, kSchemaResponse: responseSchema } = require_symbols$1();
|
|
2516
2516
|
const scChecker = /^[1-5](?:\d{2}|xx)$|^default$/;
|
|
@@ -3403,7 +3403,7 @@ var require_toad_cache = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3403
3403
|
exports.LruObjectHitStatistics = LruObjectHitStatistics;
|
|
3404
3404
|
}));
|
|
3405
3405
|
//#endregion
|
|
3406
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
3406
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/content-type.js
|
|
3407
3407
|
var require_content_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3408
3408
|
const { LruMap: Lru } = require_toad_cache();
|
|
3409
3409
|
/**
|
|
@@ -3573,7 +3573,7 @@ var require_content_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3573
3573
|
};
|
|
3574
3574
|
}));
|
|
3575
3575
|
//#endregion
|
|
3576
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
3576
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/handle-request.js
|
|
3577
3577
|
var require_handle_request = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3578
3578
|
const diagnostics$1 = __require("node:diagnostics_channel");
|
|
3579
3579
|
const wrapThenable = require_wrap_thenable();
|
|
@@ -3725,7 +3725,7 @@ var require_handle_request = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
3725
3725
|
};
|
|
3726
3726
|
}));
|
|
3727
3727
|
//#endregion
|
|
3728
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
3728
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/config-validator.js
|
|
3729
3729
|
/* c8 ignore start */
|
|
3730
3730
|
var require_config_validator$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3731
3731
|
module.exports = validate10;
|
|
@@ -5167,7 +5167,7 @@ var require_rfdc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5167
5167
|
}
|
|
5168
5168
|
}));
|
|
5169
5169
|
//#endregion
|
|
5170
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
5170
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/initial-config-validation.js
|
|
5171
5171
|
var require_initial_config_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5172
5172
|
const validate = require_config_validator$1();
|
|
5173
5173
|
const deepClone = require_rfdc()({
|
|
@@ -5198,7 +5198,7 @@ var require_initial_config_validation = /* @__PURE__ */ __commonJSMin(((exports,
|
|
|
5198
5198
|
module.exports.utils = { deepFreezeObject };
|
|
5199
5199
|
}));
|
|
5200
5200
|
//#endregion
|
|
5201
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
5201
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/log-controller.js
|
|
5202
5202
|
var require_log_controller = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5203
5203
|
const { defaultInitOptions } = require_initial_config_validation();
|
|
5204
5204
|
/**
|
|
@@ -8941,7 +8941,7 @@ var require_pino = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8941
8941
|
module.exports.pino = pino;
|
|
8942
8942
|
}));
|
|
8943
8943
|
//#endregion
|
|
8944
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
8944
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/logger-pino.js
|
|
8945
8945
|
var require_logger_pino = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8946
8946
|
/**
|
|
8947
8947
|
* Code imported from `pino-http`
|
|
@@ -8991,7 +8991,7 @@ var require_logger_pino = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
8991
8991
|
};
|
|
8992
8992
|
}));
|
|
8993
8993
|
//#endregion
|
|
8994
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
8994
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/logger-factory.js
|
|
8995
8995
|
var require_logger_factory = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8996
8996
|
const { performance: performance$1 } = __require("node:perf_hooks");
|
|
8997
8997
|
const { FST_ERR_LOG_LOGGER_AND_LOGGER_INSTANCE_PROVIDED, FST_ERR_LOG_INVALID_LOGGER_CONFIG, FST_ERR_LOG_INVALID_LOGGER_INSTANCE, FST_ERR_LOG_INVALID_LOGGER, FST_ERR_LOG_INVALID_LOG_CONTROLLER } = require_errors$3();
|
|
@@ -9110,7 +9110,7 @@ var require_logger_factory = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
9110
9110
|
};
|
|
9111
9111
|
}));
|
|
9112
9112
|
//#endregion
|
|
9113
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
9113
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/schemas.js
|
|
9114
9114
|
var require_schemas = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9115
9115
|
const fastClone = require_rfdc()({
|
|
9116
9116
|
circles: false,
|
|
@@ -9340,7 +9340,7 @@ var require_serializer$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9340
9340
|
};
|
|
9341
9341
|
}));
|
|
9342
9342
|
//#endregion
|
|
9343
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
9343
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/error-serializer.js
|
|
9344
9344
|
/* c8 ignore start */
|
|
9345
9345
|
var require_error_serializer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9346
9346
|
module.exports = function anonymous(validator, serializer) {
|
|
@@ -9405,7 +9405,7 @@ var require_error_serializer = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
9405
9405
|
}));
|
|
9406
9406
|
/* c8 ignore stop */
|
|
9407
9407
|
//#endregion
|
|
9408
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
9408
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/error-handler.js
|
|
9409
9409
|
var require_error_handler = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9410
9410
|
const statusCodes = __require("node:http").STATUS_CODES;
|
|
9411
9411
|
const wrapThenable = require_wrap_thenable();
|
|
@@ -9513,7 +9513,7 @@ var require_error_handler = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
9513
9513
|
};
|
|
9514
9514
|
}));
|
|
9515
9515
|
//#endregion
|
|
9516
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
9516
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/decorate.js
|
|
9517
9517
|
var require_decorate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9518
9518
|
const { kReply, kRequest, kState, kHasBeenDecorated } = require_symbols$1();
|
|
9519
9519
|
const { FST_ERR_DEC_ALREADY_PRESENT, FST_ERR_DEC_MISSING_DEPENDENCY, FST_ERR_DEC_AFTER_START, FST_ERR_DEC_REFERENCE_TYPE, FST_ERR_DEC_DEPENDENCY_INVALID_TYPE, FST_ERR_DEC_UNDECLARED } = require_errors$3();
|
|
@@ -9612,7 +9612,7 @@ var require_decorate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
9612
9612
|
};
|
|
9613
9613
|
}));
|
|
9614
9614
|
//#endregion
|
|
9615
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
9615
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/reply.js
|
|
9616
9616
|
var require_reply = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
9617
9617
|
const eos = __require("node:stream").finished;
|
|
9618
9618
|
const { kFourOhFourContext, kReplyErrorHandlerCalled, kReplyHijacked, kReplyStartTime, kReplyEndTime, kReplySerializer, kReplySerializerDefault, kReplyIsError, kReplyHeaders, kReplyTrailers, kReplyHasStatusCode, kReplyIsRunningOnErrorHook, kReplyNextErrorHandler, kSchemaResponse, kReplyCacheSerializeFns, kSchemaController, kOptions, kRouteContext, kTimeoutTimer, kOnAbort, kRequestSignal, kLogController } = require_symbols$1();
|
|
@@ -11488,7 +11488,7 @@ var require_proxy_addr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11488
11488
|
}
|
|
11489
11489
|
}));
|
|
11490
11490
|
//#endregion
|
|
11491
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
11491
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/request.js
|
|
11492
11492
|
var require_request$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11493
11493
|
const proxyAddr = require_proxy_addr();
|
|
11494
11494
|
const { kHasBeenDecorated, kSchemaBody, kSchemaHeaders, kSchemaParams, kSchemaQuerystring, kSchemaController, kOptions, kRequestCacheValidateFns, kRequestContentType, kRouteContext, kRequestOriginalUrl, kRequestSignal, kOnAbort } = require_symbols$1();
|
|
@@ -11734,7 +11734,7 @@ var require_request$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11734
11734
|
module.exports.buildRequest = buildRequest;
|
|
11735
11735
|
}));
|
|
11736
11736
|
//#endregion
|
|
11737
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
11737
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/context.js
|
|
11738
11738
|
var require_context = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11739
11739
|
const { kFourOhFourContext, kReplySerializerDefault, kSchemaErrorFormatter, kErrorHandler, kChildLoggerFactory, kReply, kRequest, kBodyLimit, kLogLevel, kContentTypeParser, kRouteByFastify, kRequestCacheValidateFns, kReplyCacheSerializeFns, kHandlerTimeout } = require_symbols$1();
|
|
11740
11740
|
function Context({ schema, handler, config, childLoggerFactory, errorHandler, bodyLimit, logLevel, logSerializers, attachValidation, validatorCompiler, serializerCompiler, replySerializer, schemaErrorFormatter, exposeHeadRoute, prefixTrailingSlash, server, isFastify, handlerTimeout }) {
|
|
@@ -11898,7 +11898,7 @@ var require_secure_json_parse = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
11898
11898
|
module.exports.scan = filter;
|
|
11899
11899
|
}));
|
|
11900
11900
|
//#endregion
|
|
11901
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
11901
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/content-type-parser.js
|
|
11902
11902
|
var require_content_type_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11903
11903
|
const { AsyncResource } = __require("node:async_hooks");
|
|
11904
11904
|
const { FifoMap: Fifo } = require_toad_cache();
|
|
@@ -14882,13 +14882,15 @@ var require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14882
14882
|
};
|
|
14883
14883
|
}));
|
|
14884
14884
|
//#endregion
|
|
14885
|
-
//#region ../../node_modules/.pnpm/fast-uri@3.1.
|
|
14885
|
+
//#region ../../node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/utils.js
|
|
14886
14886
|
var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14887
14887
|
/** @type {(value: string) => boolean} */
|
|
14888
14888
|
const isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
14889
14889
|
/** @type {(value: string) => boolean} */
|
|
14890
14890
|
const isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
14891
14891
|
/** @type {(value: string) => boolean} */
|
|
14892
|
+
const isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
14893
|
+
/** @type {(value: string) => boolean} */
|
|
14892
14894
|
const isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
14893
14895
|
/** @type {(value: string) => boolean} */
|
|
14894
14896
|
const isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
@@ -15457,8 +15459,10 @@ var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15457
15459
|
uriTokens.push(host);
|
|
15458
15460
|
}
|
|
15459
15461
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
15462
|
+
const port = String(component.port);
|
|
15463
|
+
if (!isPort(port)) throw new TypeError("URI port is malformed.");
|
|
15460
15464
|
uriTokens.push(":");
|
|
15461
|
-
uriTokens.push(
|
|
15465
|
+
uriTokens.push(port);
|
|
15462
15466
|
}
|
|
15463
15467
|
return uriTokens.length ? uriTokens.join("") : void 0;
|
|
15464
15468
|
}
|
|
@@ -15482,7 +15486,7 @@ var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15482
15486
|
};
|
|
15483
15487
|
}));
|
|
15484
15488
|
//#endregion
|
|
15485
|
-
//#region ../../node_modules/.pnpm/fast-uri@3.1.
|
|
15489
|
+
//#region ../../node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/schemes.js
|
|
15486
15490
|
var require_schemes$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15487
15491
|
const { isUUID } = require_utils$3();
|
|
15488
15492
|
const URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
@@ -15666,7 +15670,7 @@ var require_schemes$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15666
15670
|
};
|
|
15667
15671
|
}));
|
|
15668
15672
|
//#endregion
|
|
15669
|
-
//#region ../../node_modules/.pnpm/fast-uri@3.1.
|
|
15673
|
+
//#region ../../node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/index.js
|
|
15670
15674
|
var require_fast_uri$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15671
15675
|
const { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils$3();
|
|
15672
15676
|
const { SCHEMES, getSchemeHandler } = require_schemes$1();
|
|
@@ -15861,12 +15865,23 @@ var require_fast_uri$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15861
15865
|
return false;
|
|
15862
15866
|
}
|
|
15863
15867
|
/**
|
|
15868
|
+
* Whether the host is a bracketed IP literal (RFC 3986 `IP-literal`).
|
|
15869
|
+
* An unterminated `[` is not a literal, so it must still be validated as a
|
|
15870
|
+
* reg-name instead of being waved through as an IP.
|
|
15871
|
+
*
|
|
15872
|
+
* @param {string} host
|
|
15873
|
+
* @returns {boolean}
|
|
15874
|
+
*/
|
|
15875
|
+
function isIPLiteral(host) {
|
|
15876
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
15877
|
+
}
|
|
15878
|
+
/**
|
|
15864
15879
|
* @param {RegExpMatchArray} matches
|
|
15865
15880
|
* @returns {boolean}
|
|
15866
15881
|
*/
|
|
15867
15882
|
function hasMalformedComponentPercentEncoding(matches) {
|
|
15868
15883
|
const host = matches[4];
|
|
15869
|
-
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !(host
|
|
15884
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
15870
15885
|
}
|
|
15871
15886
|
/**
|
|
15872
15887
|
* @param {import('./types/index').URIComponent} parsed
|
|
@@ -15876,7 +15891,7 @@ var require_fast_uri$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15876
15891
|
* @returns {boolean} whether host conversion failed
|
|
15877
15892
|
*/
|
|
15878
15893
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
15879
|
-
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && parsed.host
|
|
15894
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) try {
|
|
15880
15895
|
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
15881
15896
|
} catch (e) {
|
|
15882
15897
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
@@ -15958,10 +15973,11 @@ var require_fast_uri$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15958
15973
|
}
|
|
15959
15974
|
if (parsed.host) {
|
|
15960
15975
|
if (isIPv4(parsed.host) === false) {
|
|
15961
|
-
const bracketedIPLiteral = parsed.host
|
|
15976
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
15977
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
15962
15978
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
15963
15979
|
isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
15964
|
-
malformedIPLiteral =
|
|
15980
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
15965
15981
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
15966
15982
|
if (malformedIPLiteral) {
|
|
15967
15983
|
parsed.error = parsed.error || "URI host is malformed.";
|
|
@@ -15975,14 +15991,13 @@ var require_fast_uri$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15975
15991
|
else parsed.reference = "uri";
|
|
15976
15992
|
if (options.reference && options.reference !== "suffix" && options.reference !== parsed.reference) parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
15977
15993
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
15978
|
-
malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
15994
|
+
if (!malformedIPLiteral) malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
15995
|
+
if (uri.indexOf("%") !== -1 && parsed.host !== void 0 && !malformedIPLiteral) {
|
|
15996
|
+
let host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
|
|
15997
|
+
if (!isIP) host = normalizePercentEncoding(host.toLowerCase());
|
|
15998
|
+
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
15999
|
+
}
|
|
15979
16000
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
15980
|
-
if (uri.indexOf("%") !== -1) {
|
|
15981
|
-
if (parsed.host !== void 0 && !malformedIPLiteral) {
|
|
15982
|
-
const host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
|
|
15983
|
-
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
15984
|
-
}
|
|
15985
|
-
}
|
|
15986
16001
|
if (parsed.path) parsed.path = normalizePathEncoding(parsed.path);
|
|
15987
16002
|
if (parsed.query) parsed.query = normalizeQueryFragmentEncoding(parsed.query);
|
|
15988
16003
|
if (parsed.fragment) parsed.fragment = normalizeQueryFragmentEncoding(parsed.fragment);
|
|
@@ -20087,13 +20102,15 @@ var require_jtd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
20087
20102
|
});
|
|
20088
20103
|
}));
|
|
20089
20104
|
//#endregion
|
|
20090
|
-
//#region ../../node_modules/.pnpm/fast-uri@4.1.
|
|
20105
|
+
//#region ../../node_modules/.pnpm/fast-uri@4.1.5/node_modules/fast-uri/lib/utils.js
|
|
20091
20106
|
var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
20092
20107
|
/** @type {(value: string) => boolean} */
|
|
20093
20108
|
const isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
20094
20109
|
/** @type {(value: string) => boolean} */
|
|
20095
20110
|
const isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
20096
20111
|
/** @type {(value: string) => boolean} */
|
|
20112
|
+
const isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
20113
|
+
/** @type {(value: string) => boolean} */
|
|
20097
20114
|
const isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
20098
20115
|
/** @type {(value: string) => boolean} */
|
|
20099
20116
|
const isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
@@ -20708,8 +20725,10 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
20708
20725
|
uriTokens.push(host);
|
|
20709
20726
|
}
|
|
20710
20727
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
20728
|
+
const port = String(component.port);
|
|
20729
|
+
if (!isPort(port)) throw new TypeError("URI port is malformed.");
|
|
20711
20730
|
uriTokens.push(":");
|
|
20712
|
-
uriTokens.push(
|
|
20731
|
+
uriTokens.push(port);
|
|
20713
20732
|
}
|
|
20714
20733
|
return uriTokens.length ? uriTokens.join("") : void 0;
|
|
20715
20734
|
}
|
|
@@ -20736,7 +20755,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
20736
20755
|
};
|
|
20737
20756
|
}));
|
|
20738
20757
|
//#endregion
|
|
20739
|
-
//#region ../../node_modules/.pnpm/fast-uri@4.1.
|
|
20758
|
+
//#region ../../node_modules/.pnpm/fast-uri@4.1.5/node_modules/fast-uri/lib/schemes.js
|
|
20740
20759
|
var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
20741
20760
|
const { isUUID, BYTE_HEX, percentEncodeNonAscii, nonSimpleMailtoDomain } = require_utils$2();
|
|
20742
20761
|
const URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
@@ -21091,23 +21110,24 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21091
21110
|
mailtoComponent.error = mailtoComponent.error || "URI mailto has malformed header fields.";
|
|
21092
21111
|
continue;
|
|
21093
21112
|
}
|
|
21094
|
-
const name = eqIdx === -1 ? token : token.slice(0, eqIdx);
|
|
21113
|
+
const name = decodeHex(eqIdx === -1 ? token : token.slice(0, eqIdx));
|
|
21114
|
+
const normalizedName = name.toLowerCase();
|
|
21095
21115
|
const value = eqIdx === -1 ? "" : token.slice(eqIdx + 1);
|
|
21096
|
-
if (
|
|
21116
|
+
if (normalizedName === "to") {
|
|
21097
21117
|
const addrs = value.split(",");
|
|
21098
21118
|
for (let j = 0; j < addrs.length; j++) to.push(addrs[j]);
|
|
21099
21119
|
continue;
|
|
21100
21120
|
}
|
|
21101
|
-
if (
|
|
21121
|
+
if (normalizedName === "subject") {
|
|
21102
21122
|
mailtoComponent.subject = decodeHex(value);
|
|
21103
21123
|
continue;
|
|
21104
21124
|
}
|
|
21105
|
-
if (
|
|
21125
|
+
if (normalizedName === "body") {
|
|
21106
21126
|
mailtoComponent.body = decodeHex(value);
|
|
21107
21127
|
continue;
|
|
21108
21128
|
}
|
|
21109
21129
|
if (headers === null) headers = Object.create(null);
|
|
21110
|
-
headers[
|
|
21130
|
+
headers[name] = decodeHex(value);
|
|
21111
21131
|
}
|
|
21112
21132
|
if (headers !== null) mailtoComponent.headers = headers;
|
|
21113
21133
|
}
|
|
@@ -21128,6 +21148,17 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21128
21148
|
return mailtoComponent;
|
|
21129
21149
|
}
|
|
21130
21150
|
/**
|
|
21151
|
+
* Encodes a decoded mailto header name. Unlike `encodeWithAllow`, a percent
|
|
21152
|
+
* sign is always data here, even when followed by two hex digits. Preserving
|
|
21153
|
+
* such a sequence as an existing escape would decode the name again on the
|
|
21154
|
+
* next parse and could turn a generic header into `to`, `subject`, or `body`.
|
|
21155
|
+
* @param {string} name
|
|
21156
|
+
* @returns {string}
|
|
21157
|
+
*/
|
|
21158
|
+
function mailtoEncodeHeaderName(name) {
|
|
21159
|
+
return encodeWithAllow(name.replace(/%/gu, "%25"), HFNAME);
|
|
21160
|
+
}
|
|
21161
|
+
/**
|
|
21131
21162
|
* @param {import('../types/index').URIComponent} component
|
|
21132
21163
|
* @param {import('../types/index').Options} options
|
|
21133
21164
|
* @returns {import('../types/index').URIComponent}
|
|
@@ -21135,6 +21166,19 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21135
21166
|
function mailtoSerialize(component, options) {
|
|
21136
21167
|
const mailtoComponent = component;
|
|
21137
21168
|
const to = Array.isArray(mailtoComponent.to) ? mailtoComponent.to.slice() : [];
|
|
21169
|
+
const sourceHeaders = mailtoComponent.headers && typeof mailtoComponent.headers === "object" ? Object.assign(Object.create(null), mailtoComponent.headers) : Object.create(null);
|
|
21170
|
+
const headers = Object.create(null);
|
|
21171
|
+
for (const name in sourceHeaders) {
|
|
21172
|
+
const normalizedName = name.toLowerCase();
|
|
21173
|
+
if (normalizedName === "to") {
|
|
21174
|
+
const addrs = String(sourceHeaders[name]).split(",");
|
|
21175
|
+
for (let i = 0; i < addrs.length; i++) to.push(addrs[i]);
|
|
21176
|
+
} else if (normalizedName === "subject" || normalizedName === "body") headers[normalizedName] = sourceHeaders[name];
|
|
21177
|
+
else headers[name] = sourceHeaders[name];
|
|
21178
|
+
}
|
|
21179
|
+
if (mailtoComponent.subject !== void 0) headers.subject = mailtoComponent.subject;
|
|
21180
|
+
if (mailtoComponent.body !== void 0) headers.body = mailtoComponent.body;
|
|
21181
|
+
mailtoComponent.headers = headers;
|
|
21138
21182
|
if (to.length) {
|
|
21139
21183
|
for (let i = 0; i < to.length; i++) {
|
|
21140
21184
|
const addr = String(to[i]);
|
|
@@ -21148,15 +21192,11 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21148
21192
|
mailtoComponent.path = to.join(",");
|
|
21149
21193
|
options.skipEscape = true;
|
|
21150
21194
|
} else mailtoComponent.path = void 0;
|
|
21151
|
-
const headers = mailtoComponent.headers && typeof mailtoComponent.headers === "object" ? Object.assign(Object.create(null), mailtoComponent.headers) : Object.create(null);
|
|
21152
|
-
if (mailtoComponent.subject) headers.subject = mailtoComponent.subject;
|
|
21153
|
-
if (mailtoComponent.body) headers.body = mailtoComponent.body;
|
|
21154
|
-
mailtoComponent.headers = headers;
|
|
21155
21195
|
let query = "";
|
|
21156
21196
|
let count = 0;
|
|
21157
21197
|
for (const name in headers) {
|
|
21158
21198
|
if (count++ !== 0) query += "&";
|
|
21159
|
-
query +=
|
|
21199
|
+
query += mailtoEncodeHeaderName(name) + "=" + encodeWithAllow(String(headers[name]), HFNAME);
|
|
21160
21200
|
}
|
|
21161
21201
|
if (count !== 0) mailtoComponent.query = query;
|
|
21162
21202
|
else mailtoComponent.headers = void 0;
|
|
@@ -21195,7 +21235,7 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21195
21235
|
};
|
|
21196
21236
|
}));
|
|
21197
21237
|
//#endregion
|
|
21198
|
-
//#region ../../node_modules/.pnpm/fast-uri@4.1.
|
|
21238
|
+
//#region ../../node_modules/.pnpm/fast-uri@4.1.5/node_modules/fast-uri/index.js
|
|
21199
21239
|
var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
21200
21240
|
const { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils$2();
|
|
21201
21241
|
const { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -21394,12 +21434,23 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21394
21434
|
return false;
|
|
21395
21435
|
}
|
|
21396
21436
|
/**
|
|
21437
|
+
* Whether the host is a bracketed IP literal (RFC 3986 `IP-literal`).
|
|
21438
|
+
* An unterminated `[` is not a literal, so it must still be validated as a
|
|
21439
|
+
* reg-name instead of being waved through as an IP.
|
|
21440
|
+
*
|
|
21441
|
+
* @param {string} host
|
|
21442
|
+
* @returns {boolean}
|
|
21443
|
+
*/
|
|
21444
|
+
function isIPLiteral(host) {
|
|
21445
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
21446
|
+
}
|
|
21447
|
+
/**
|
|
21397
21448
|
* @param {RegExpMatchArray} matches
|
|
21398
21449
|
* @returns {boolean}
|
|
21399
21450
|
*/
|
|
21400
21451
|
function hasMalformedComponentPercentEncoding(matches) {
|
|
21401
21452
|
const host = matches[4];
|
|
21402
|
-
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !(host
|
|
21453
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
21403
21454
|
}
|
|
21404
21455
|
/**
|
|
21405
21456
|
* @param {import('./types/index').URIComponent} parsed
|
|
@@ -21409,7 +21460,8 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21409
21460
|
* @returns {boolean} whether host conversion failed
|
|
21410
21461
|
*/
|
|
21411
21462
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
21412
|
-
|
|
21463
|
+
const bracketedIPLiteral = parsed.host && parsed.host[0] === "[" && parsed.host[parsed.host.length - 1] === "]";
|
|
21464
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && !bracketedIPLiteral && nonSimpleDomain(parsed.host)) try {
|
|
21413
21465
|
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
21414
21466
|
} catch (e) {
|
|
21415
21467
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
@@ -21491,10 +21543,11 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21491
21543
|
}
|
|
21492
21544
|
if (parsed.host) {
|
|
21493
21545
|
if (isIPv4(parsed.host) === false) {
|
|
21494
|
-
const bracketedIPLiteral = parsed.host
|
|
21546
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
21547
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
21495
21548
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
21496
21549
|
isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
21497
|
-
malformedIPLiteral =
|
|
21550
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
21498
21551
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
21499
21552
|
if (malformedIPLiteral) {
|
|
21500
21553
|
parsed.error = parsed.error || "URI host is malformed.";
|
|
@@ -21508,14 +21561,13 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21508
21561
|
else parsed.reference = "uri";
|
|
21509
21562
|
if (options.reference && options.reference !== "suffix" && options.reference !== parsed.reference) parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
21510
21563
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
21511
|
-
malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
21564
|
+
if (!malformedIPLiteral) malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
21565
|
+
if (uri.indexOf("%") !== -1 && parsed.host !== void 0 && !malformedIPLiteral) {
|
|
21566
|
+
let host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
|
|
21567
|
+
if (!isIP) host = normalizePercentEncoding(host.toLowerCase());
|
|
21568
|
+
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
21569
|
+
}
|
|
21512
21570
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
21513
|
-
if (uri.indexOf("%") !== -1) {
|
|
21514
|
-
if (parsed.host !== void 0 && !malformedIPLiteral) {
|
|
21515
|
-
const host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
|
|
21516
|
-
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
21517
|
-
}
|
|
21518
|
-
}
|
|
21519
21571
|
if (parsed.path) parsed.path = normalizePathEncoding(parsed.path);
|
|
21520
21572
|
if (parsed.query) parsed.query = normalizeQueryFragmentEncoding(parsed.query);
|
|
21521
21573
|
if (parsed.fragment) parsed.fragment = normalizeQueryFragmentEncoding(parsed.fragment);
|
|
@@ -25243,7 +25295,7 @@ var require_fast_json_stringify_compiler = /* @__PURE__ */ __commonJSMin(((expor
|
|
|
25243
25295
|
module.exports.StandaloneSerializer = StandaloneSerializer;
|
|
25244
25296
|
}));
|
|
25245
25297
|
//#endregion
|
|
25246
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
25298
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/schema-controller.js
|
|
25247
25299
|
var require_schema_controller = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
25248
25300
|
const { buildSchemas } = require_schemas();
|
|
25249
25301
|
/**
|
|
@@ -26738,7 +26790,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26738
26790
|
};
|
|
26739
26791
|
}));
|
|
26740
26792
|
//#endregion
|
|
26741
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
26793
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/plugin-utils.js
|
|
26742
26794
|
var require_plugin_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26743
26795
|
const semver = require_semver();
|
|
26744
26796
|
const assert$6 = __require("node:assert");
|
|
@@ -26846,7 +26898,7 @@ var require_plugin_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26846
26898
|
};
|
|
26847
26899
|
}));
|
|
26848
26900
|
//#endregion
|
|
26849
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
26901
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/req-id-gen-factory.js
|
|
26850
26902
|
var require_req_id_gen_factory = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
26851
26903
|
const { kGenReqId } = require_symbols$1();
|
|
26852
26904
|
/**
|
|
@@ -29931,7 +29983,7 @@ var require_find_my_way = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
29931
29983
|
}
|
|
29932
29984
|
}));
|
|
29933
29985
|
//#endregion
|
|
29934
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
29986
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/head-route.js
|
|
29935
29987
|
var require_head_route = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
29936
29988
|
function headRouteOnSendHandler(req, reply, payload, done) {
|
|
29937
29989
|
if (payload === void 0) {
|
|
@@ -29965,7 +30017,7 @@ var require_head_route = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
29965
30017
|
module.exports = { parseHeadOnSendHandlers };
|
|
29966
30018
|
}));
|
|
29967
30019
|
//#endregion
|
|
29968
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
30020
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/route.js
|
|
29969
30021
|
var require_route = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
29970
30022
|
const FindMyWay = require_find_my_way();
|
|
29971
30023
|
const Context = require_context();
|
|
@@ -30395,7 +30447,7 @@ var require_route = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
30395
30447
|
};
|
|
30396
30448
|
}));
|
|
30397
30449
|
//#endregion
|
|
30398
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
30450
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/four-oh-four.js
|
|
30399
30451
|
var require_four_oh_four = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30400
30452
|
const FindMyWay = require_find_my_way();
|
|
30401
30453
|
const Reply = require_reply();
|
|
@@ -30514,7 +30566,7 @@ var require_four_oh_four = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
30514
30566
|
module.exports = fourOhFour;
|
|
30515
30567
|
}));
|
|
30516
30568
|
//#endregion
|
|
30517
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
30569
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/lib/plugin-override.js
|
|
30518
30570
|
var require_plugin_override = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
30519
30571
|
const { kAvvioBoot, kChildren, kRoutePrefix, kLogLevel, kLogSerializers, kHooks, kSchemaController, kContentTypeParser, kReply, kRequest, kFourOhFour, kPluginNameChain, kErrorHandlerAlreadySet } = require_symbols$1();
|
|
30520
30572
|
const Reply = require_reply();
|
|
@@ -32621,9 +32673,9 @@ var require_light_my_request = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
32621
32673
|
module.exports.isInjection = isInjection;
|
|
32622
32674
|
}));
|
|
32623
32675
|
//#endregion
|
|
32624
|
-
//#region ../../node_modules/.pnpm/fastify@5.12.
|
|
32676
|
+
//#region ../../node_modules/.pnpm/fastify@5.12.4/node_modules/fastify/fastify.js
|
|
32625
32677
|
var require_fastify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
32626
|
-
const VERSION = "5.12.
|
|
32678
|
+
const VERSION = "5.12.4";
|
|
32627
32679
|
const Avvio = require_avvio();
|
|
32628
32680
|
const http = __require("node:http");
|
|
32629
32681
|
const diagnostics = __require("node:diagnostics_channel");
|
|
@@ -33344,7 +33396,7 @@ var require_fastify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
33344
33396
|
module.exports.default = fastify;
|
|
33345
33397
|
}));
|
|
33346
33398
|
//#endregion
|
|
33347
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
33399
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.js
|
|
33348
33400
|
function getEnumValues(entries) {
|
|
33349
33401
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
33350
33402
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -33727,7 +33779,6 @@ function members(proto, table) {
|
|
|
33727
33779
|
});
|
|
33728
33780
|
else defineBound(proto, key, desc.value);
|
|
33729
33781
|
}
|
|
33730
|
-
for (const sym of Object.getOwnPropertySymbols(table)) defineBound(proto, sym, table[sym]);
|
|
33731
33782
|
}
|
|
33732
33783
|
/** Shadows a prototype member with an own value, so a getter that builds from the instance runs once. */
|
|
33733
33784
|
function own(inst, key, value, enumerable = true) {
|
|
@@ -33868,7 +33919,7 @@ function constantCatch(value) {
|
|
|
33868
33919
|
return fn;
|
|
33869
33920
|
}
|
|
33870
33921
|
//#endregion
|
|
33871
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
33922
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.js
|
|
33872
33923
|
var _a$1;
|
|
33873
33924
|
const _zodDesc = {
|
|
33874
33925
|
value: void 0,
|
|
@@ -33913,8 +33964,7 @@ function $constructor(name, initializer, proto, params) {
|
|
|
33913
33964
|
} finally {
|
|
33914
33965
|
_zodDesc.value = void 0;
|
|
33915
33966
|
}
|
|
33916
|
-
}
|
|
33917
|
-
if (inst._zod.traits.has(name)) return;
|
|
33967
|
+
} else if (inst._zod.traits.has(name)) return;
|
|
33918
33968
|
inst._zod.traits.add(name);
|
|
33919
33969
|
initializer(inst, def);
|
|
33920
33970
|
if (initialized) {
|
|
@@ -33975,7 +34025,7 @@ function config$1(newConfig) {
|
|
|
33975
34025
|
return globalConfig;
|
|
33976
34026
|
}
|
|
33977
34027
|
//#endregion
|
|
33978
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34028
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.js
|
|
33979
34029
|
function _getMessage() {
|
|
33980
34030
|
const internals = this._zod;
|
|
33981
34031
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -34091,7 +34141,7 @@ function formatError(error, mapper = (issue) => issue.message) {
|
|
|
34091
34141
|
return fieldErrors;
|
|
34092
34142
|
}
|
|
34093
34143
|
//#endregion
|
|
34094
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34144
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.js
|
|
34095
34145
|
function finalizeParams(callee, params) {
|
|
34096
34146
|
return {
|
|
34097
34147
|
callee: params?.callee ?? callee,
|
|
@@ -34294,7 +34344,7 @@ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
34294
34344
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
34295
34345
|
};
|
|
34296
34346
|
//#endregion
|
|
34297
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34347
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.js
|
|
34298
34348
|
/**
|
|
34299
34349
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
34300
34350
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -34367,7 +34417,7 @@ const _null$2 = /^null$/i;
|
|
|
34367
34417
|
const lowercase = /^[^A-Z]*$/;
|
|
34368
34418
|
const uppercase = /^[^a-z]*$/;
|
|
34369
34419
|
//#endregion
|
|
34370
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34420
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.js
|
|
34371
34421
|
const $ZodCheck = /*@__PURE__*/ $constructor("$ZodCheck", (inst, def) => {
|
|
34372
34422
|
var _a;
|
|
34373
34423
|
inst._zod ?? (inst._zod = {});
|
|
@@ -34663,7 +34713,7 @@ const $ZodCheckOverwrite = /*@__PURE__*/ $constructor("$ZodCheckOverwrite", (ins
|
|
|
34663
34713
|
};
|
|
34664
34714
|
});
|
|
34665
34715
|
//#endregion
|
|
34666
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34716
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.js
|
|
34667
34717
|
var Doc = class {
|
|
34668
34718
|
constructor(args = [], closed = {}) {
|
|
34669
34719
|
this.content = [];
|
|
@@ -34697,14 +34747,14 @@ var Doc = class {
|
|
|
34697
34747
|
}
|
|
34698
34748
|
};
|
|
34699
34749
|
//#endregion
|
|
34700
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34750
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.js
|
|
34701
34751
|
const version = {
|
|
34702
34752
|
major: 4,
|
|
34703
34753
|
minor: 6,
|
|
34704
|
-
patch:
|
|
34754
|
+
patch: 5
|
|
34705
34755
|
};
|
|
34706
34756
|
//#endregion
|
|
34707
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
34757
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.js
|
|
34708
34758
|
const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
34709
34759
|
var _a;
|
|
34710
34760
|
inst ?? (inst = {});
|
|
@@ -34864,10 +34914,27 @@ const $ZodEmail = /*@__PURE__*/ $constructor("$ZodEmail", (inst, def) => {
|
|
|
34864
34914
|
def.pattern ?? (def.pattern = email);
|
|
34865
34915
|
$ZodStringFormat.init(inst, def);
|
|
34866
34916
|
});
|
|
34867
|
-
|
|
34917
|
+
function canParseURL(input) {
|
|
34918
|
+
try {
|
|
34919
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function") return URL.canParse(input);
|
|
34920
|
+
new URL(input);
|
|
34921
|
+
return true;
|
|
34922
|
+
} catch {
|
|
34923
|
+
return false;
|
|
34924
|
+
}
|
|
34925
|
+
}
|
|
34926
|
+
function validateURL(trimmed, def) {
|
|
34927
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) return canParseURL(trimmed) || 2;
|
|
34928
|
+
return parseURLObject(trimmed, def);
|
|
34929
|
+
}
|
|
34930
|
+
/** Parses a URL while preserving the non-normalizing HTTP guard. */
|
|
34868
34931
|
function parseURLObject(trimmed, def) {
|
|
34869
34932
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) return 1;
|
|
34870
34933
|
try {
|
|
34934
|
+
if (typeof URL !== "undefined") {
|
|
34935
|
+
const URLStatic = URL;
|
|
34936
|
+
if (typeof URLStatic.parse === "function") return URLStatic.parse(trimmed) ?? 2;
|
|
34937
|
+
}
|
|
34871
34938
|
return new URL(trimmed);
|
|
34872
34939
|
} catch {
|
|
34873
34940
|
return 2;
|
|
@@ -34891,7 +34958,7 @@ const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
|
|
|
34891
34958
|
inst._zod.check = (payload) => {
|
|
34892
34959
|
try {
|
|
34893
34960
|
const trimmed = payload.value.trim();
|
|
34894
|
-
const url =
|
|
34961
|
+
const url = validateURL(trimmed, def);
|
|
34895
34962
|
if (url === 1) {
|
|
34896
34963
|
payload.issues.push({
|
|
34897
34964
|
code: "invalid_format",
|
|
@@ -34913,6 +34980,10 @@ const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
|
|
|
34913
34980
|
});
|
|
34914
34981
|
return;
|
|
34915
34982
|
}
|
|
34983
|
+
if (url === true) {
|
|
34984
|
+
payload.value = stripTabAndNewline(trimmed);
|
|
34985
|
+
return;
|
|
34986
|
+
}
|
|
34916
34987
|
if (def.hostname && !urlHostnameOk(url, def.hostname)) payload.issues.push({
|
|
34917
34988
|
code: "invalid_format",
|
|
34918
34989
|
format: "url",
|
|
@@ -35002,12 +35073,7 @@ const $ZodIPv4 = /*@__PURE__*/ $constructor("$ZodIPv4", (inst, def) => {
|
|
|
35002
35073
|
const ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
35003
35074
|
function isValidIPv6(value) {
|
|
35004
35075
|
if (!ipv6Alphabet.test(value)) return false;
|
|
35005
|
-
|
|
35006
|
-
new URL(`http://[${value}]`);
|
|
35007
|
-
return true;
|
|
35008
|
-
} catch {
|
|
35009
|
-
return false;
|
|
35010
|
-
}
|
|
35076
|
+
return canParseURL(`http://[${value}]`);
|
|
35011
35077
|
}
|
|
35012
35078
|
const $ZodIPv6 = /*@__PURE__*/ $constructor("$ZodIPv6", (inst, def) => {
|
|
35013
35079
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -35257,7 +35323,7 @@ function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
|
35257
35323
|
return;
|
|
35258
35324
|
}
|
|
35259
35325
|
if (result.value === void 0) {
|
|
35260
|
-
if (isPresent) final.value[key] = void 0;
|
|
35326
|
+
if (isPresent || optin === "defaulted" && !isOptionalOut) final.value[key] = void 0;
|
|
35261
35327
|
} else final.value[key] = result.value;
|
|
35262
35328
|
}
|
|
35263
35329
|
const NO_SYMBOL_KEYS = [];
|
|
@@ -35466,19 +35532,18 @@ const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
35466
35532
|
}
|
|
35467
35533
|
|
|
35468
35534
|
`);
|
|
35469
|
-
else
|
|
35535
|
+
else {
|
|
35536
|
+
doc.write(`
|
|
35470
35537
|
if (${id}.issues.length) {${prefixStr(id, k)}
|
|
35471
35538
|
}
|
|
35472
|
-
|
|
35473
|
-
|
|
35474
|
-
|
|
35475
|
-
|
|
35476
|
-
}
|
|
35477
|
-
} else {
|
|
35539
|
+
`);
|
|
35540
|
+
if (optin === "defaulted") doc.write(`newResult[${k}] = ${id}.value;`);
|
|
35541
|
+
else doc.write(`
|
|
35542
|
+
if (${id}.value !== undefined || ${isPresent}) {
|
|
35478
35543
|
newResult[${k}] = ${id}.value;
|
|
35479
35544
|
}
|
|
35480
|
-
|
|
35481
35545
|
`);
|
|
35546
|
+
}
|
|
35482
35547
|
}
|
|
35483
35548
|
doc.write(`payload.value = newResult;`);
|
|
35484
35549
|
doc.write(`return payload;`);
|
|
@@ -36185,7 +36250,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
36185
36250
|
}
|
|
36186
36251
|
}
|
|
36187
36252
|
//#endregion
|
|
36188
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
36253
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.js
|
|
36189
36254
|
var $ZodCyclicError = class extends Error {
|
|
36190
36255
|
constructor() {
|
|
36191
36256
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -36196,7 +36261,7 @@ var $ZodCyclicError = class extends Error {
|
|
|
36196
36261
|
const STATE = "~memo";
|
|
36197
36262
|
const NO_ISSUES = [];
|
|
36198
36263
|
function isRef(value) {
|
|
36199
|
-
return value !== null &&
|
|
36264
|
+
return value !== null && typeof value === "object";
|
|
36200
36265
|
}
|
|
36201
36266
|
function cloneIssues(issues) {
|
|
36202
36267
|
return issues.map((iss) => iss.path ? {
|
|
@@ -36243,9 +36308,6 @@ function isRecursive(inst, stack, resolve) {
|
|
|
36243
36308
|
check(def.catchall);
|
|
36244
36309
|
break;
|
|
36245
36310
|
}
|
|
36246
|
-
case "properties":
|
|
36247
|
-
merge(shape(def.shape, false));
|
|
36248
|
-
break;
|
|
36249
36311
|
case "array":
|
|
36250
36312
|
check(def.element);
|
|
36251
36313
|
break;
|
|
@@ -36441,7 +36503,7 @@ function isBackEdge(ctx, value) {
|
|
|
36441
36503
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
36442
36504
|
}
|
|
36443
36505
|
//#endregion
|
|
36444
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
36506
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.js
|
|
36445
36507
|
const error = () => {
|
|
36446
36508
|
const Sizable = {
|
|
36447
36509
|
string: {
|
|
@@ -36496,6 +36558,7 @@ const error = () => {
|
|
|
36496
36558
|
base64url: "base64url-encoded string",
|
|
36497
36559
|
json_string: "JSON string",
|
|
36498
36560
|
e164: "E.164 number",
|
|
36561
|
+
currency_code: "currency code",
|
|
36499
36562
|
credit_card: "credit card number",
|
|
36500
36563
|
iban: "IBAN",
|
|
36501
36564
|
jwt: "JWT",
|
|
@@ -36548,7 +36611,7 @@ function en_default() {
|
|
|
36548
36611
|
return { localeError: error() };
|
|
36549
36612
|
}
|
|
36550
36613
|
//#endregion
|
|
36551
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
36614
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.js
|
|
36552
36615
|
var _a;
|
|
36553
36616
|
var $ZodRegistry = class {
|
|
36554
36617
|
constructor() {
|
|
@@ -36595,13 +36658,17 @@ function registry() {
|
|
|
36595
36658
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
36596
36659
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
36597
36660
|
//#endregion
|
|
36598
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
36661
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.js
|
|
36662
|
+
function snapshotChecks(def) {
|
|
36663
|
+
if (def.checks) def.checks = [...def.checks];
|
|
36664
|
+
return def;
|
|
36665
|
+
}
|
|
36599
36666
|
// @__NO_SIDE_EFFECTS__
|
|
36600
36667
|
function _string(Class, params) {
|
|
36601
|
-
return new Class({
|
|
36668
|
+
return new Class(snapshotChecks({
|
|
36602
36669
|
type: "string",
|
|
36603
36670
|
...normalizeParams(params)
|
|
36604
|
-
});
|
|
36671
|
+
}));
|
|
36605
36672
|
}
|
|
36606
36673
|
// @__NO_SIDE_EFFECTS__
|
|
36607
36674
|
function _email(Class, params) {
|
|
@@ -36873,20 +36940,20 @@ function _isoDuration(Class, params) {
|
|
|
36873
36940
|
}
|
|
36874
36941
|
// @__NO_SIDE_EFFECTS__
|
|
36875
36942
|
function _number(Class, params) {
|
|
36876
|
-
return new Class({
|
|
36943
|
+
return new Class(snapshotChecks({
|
|
36877
36944
|
type: "number",
|
|
36878
36945
|
checks: [],
|
|
36879
36946
|
...normalizeParams(params)
|
|
36880
|
-
});
|
|
36947
|
+
}));
|
|
36881
36948
|
}
|
|
36882
36949
|
// @__NO_SIDE_EFFECTS__
|
|
36883
36950
|
function _coercedNumber(Class, params) {
|
|
36884
|
-
return new Class({
|
|
36951
|
+
return new Class(snapshotChecks({
|
|
36885
36952
|
type: "number",
|
|
36886
36953
|
coerce: true,
|
|
36887
36954
|
checks: [],
|
|
36888
36955
|
...normalizeParams(params)
|
|
36889
|
-
});
|
|
36956
|
+
}));
|
|
36890
36957
|
}
|
|
36891
36958
|
// @__NO_SIDE_EFFECTS__
|
|
36892
36959
|
function _int(Class, params) {
|
|
@@ -37181,7 +37248,7 @@ function _stringbool(Classes, _params) {
|
|
|
37181
37248
|
return codec;
|
|
37182
37249
|
}
|
|
37183
37250
|
//#endregion
|
|
37184
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
37251
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.js
|
|
37185
37252
|
function assignProps(target, ...sources) {
|
|
37186
37253
|
for (const source of sources) for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProp(target, key, source[key]);
|
|
37187
37254
|
return target;
|
|
@@ -37625,7 +37692,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
37625
37692
|
return finalize(ctx, schema);
|
|
37626
37693
|
};
|
|
37627
37694
|
//#endregion
|
|
37628
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
37695
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.js
|
|
37629
37696
|
const narrowMin = (agg, key, value) => {
|
|
37630
37697
|
if (agg[key] === void 0 || value > agg[key]) agg[key] = value;
|
|
37631
37698
|
};
|
|
@@ -37845,13 +37912,12 @@ const objectProcessor = (schema, ctx, _json, params) => {
|
|
|
37845
37912
|
key
|
|
37846
37913
|
]
|
|
37847
37914
|
}));
|
|
37848
|
-
const
|
|
37849
|
-
const
|
|
37915
|
+
const requiredKeys = [];
|
|
37916
|
+
for (const key of Object.keys(shape)) {
|
|
37850
37917
|
const field = def.shape[key];
|
|
37851
|
-
if (ctx.io === "input"
|
|
37852
|
-
|
|
37853
|
-
|
|
37854
|
-
if (requiredKeys.size > 0) json.required = Array.from(requiredKeys);
|
|
37918
|
+
if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) requiredKeys.push(key);
|
|
37919
|
+
}
|
|
37920
|
+
if (requiredKeys.length > 0) json.required = requiredKeys;
|
|
37855
37921
|
if (def.catchall?._zod.def.type === "never") json.additionalProperties = false;
|
|
37856
37922
|
else if (!def.catchall) {
|
|
37857
37923
|
if (ctx.io === "output") json.additionalProperties = false;
|
|
@@ -38081,7 +38147,7 @@ const optionalProcessor = (schema, ctx, _json, params) => {
|
|
|
38081
38147
|
seen.ref = def.innerType;
|
|
38082
38148
|
};
|
|
38083
38149
|
//#endregion
|
|
38084
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
38150
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.js
|
|
38085
38151
|
const _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
38086
38152
|
function _lazyMethod(proto, key, make) {
|
|
38087
38153
|
Object.defineProperty(proto, key, {
|
|
@@ -38131,7 +38197,7 @@ const initializer = (inst, issues) => {
|
|
|
38131
38197
|
};
|
|
38132
38198
|
const ZodRealError = /*@__PURE__*/ $constructor("ZodError", initializer, void 0, { Parent: Error });
|
|
38133
38199
|
//#endregion
|
|
38134
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
38200
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.js
|
|
38135
38201
|
const parse$3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
38136
38202
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
38137
38203
|
const safeParse = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -38145,7 +38211,7 @@ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
38145
38211
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
38146
38212
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
38147
38213
|
//#endregion
|
|
38148
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
38214
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
38149
38215
|
function _ensureDefaultLocale() {
|
|
38150
38216
|
if (!globalConfig.localeError) config$1(en_default());
|
|
38151
38217
|
}
|
|
@@ -39058,7 +39124,7 @@ function preprocess(fn, schema) {
|
|
|
39058
39124
|
});
|
|
39059
39125
|
}
|
|
39060
39126
|
//#endregion
|
|
39061
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
39127
|
+
//#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.js
|
|
39062
39128
|
function number(params) {
|
|
39063
39129
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
39064
39130
|
}
|