@kubb/agent 4.36.1 → 4.36.2
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/.output/nitro.json +2 -2
- package/.output/server/chunks/nitro/nitro.mjs +16 -13
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +1 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +2 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +4 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +1 -1
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +1 -1
- package/.output/server/node_modules/@redocly/openapi-core/package.json +1 -1
- package/.output/server/package.json +2 -2
- package/package.json +18 -18
package/.output/nitro.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2026-03-
|
|
2
|
+
"date": "2026-03-21T00:30:21.671Z",
|
|
3
3
|
"preset": "node-server",
|
|
4
4
|
"framework": {
|
|
5
5
|
"name": "nitro",
|
|
6
6
|
"version": ""
|
|
7
7
|
},
|
|
8
8
|
"versions": {
|
|
9
|
-
"nitro": "2.13.
|
|
9
|
+
"nitro": "2.13.2"
|
|
10
10
|
},
|
|
11
11
|
"commands": {
|
|
12
12
|
"preview": "node server/index.mjs"
|
|
@@ -122,6 +122,7 @@ const ENC_CARET_RE = /%5e/gi;
|
|
|
122
122
|
const ENC_BACKTICK_RE = /%60/gi;
|
|
123
123
|
const ENC_PIPE_RE = /%7c/gi;
|
|
124
124
|
const ENC_SPACE_RE = /%20/gi;
|
|
125
|
+
const ENC_SLASH_RE = /%2f/gi;
|
|
125
126
|
function encode(text) {
|
|
126
127
|
return encodeURI("" + text).replace(ENC_PIPE_RE, "|");
|
|
127
128
|
}
|
|
@@ -138,6 +139,9 @@ function decode(text = "") {
|
|
|
138
139
|
return "" + text;
|
|
139
140
|
}
|
|
140
141
|
}
|
|
142
|
+
function decodePath(text) {
|
|
143
|
+
return decode(text.replace(ENC_SLASH_RE, "%252F"));
|
|
144
|
+
}
|
|
141
145
|
function decodeQueryKey(text) {
|
|
142
146
|
return decode(text.replace(PLUS_RE, " "));
|
|
143
147
|
}
|
|
@@ -1470,15 +1474,6 @@ function isEventHandler(input) {
|
|
|
1470
1474
|
return hasProp(input, "__is_handler__");
|
|
1471
1475
|
}
|
|
1472
1476
|
function toEventHandler(input, _, _route) {
|
|
1473
|
-
if (!isEventHandler(input)) {
|
|
1474
|
-
console.warn(
|
|
1475
|
-
"[h3] Implicit event handler conversion is deprecated. Use `eventHandler()` or `fromNodeMiddleware()` to define event handlers.",
|
|
1476
|
-
_route && _route !== "/" ? `
|
|
1477
|
-
Route: ${_route}` : "",
|
|
1478
|
-
`
|
|
1479
|
-
Handler: ${input}`
|
|
1480
|
-
);
|
|
1481
|
-
}
|
|
1482
1477
|
return input;
|
|
1483
1478
|
}
|
|
1484
1479
|
function defineLazyEventHandler(factory) {
|
|
@@ -1557,7 +1552,8 @@ function createAppEventHandler(stack, options) {
|
|
|
1557
1552
|
const spacing = options.debug ? 2 : void 0;
|
|
1558
1553
|
return eventHandler(async (event) => {
|
|
1559
1554
|
event.node.req.originalUrl = event.node.req.originalUrl || event.node.req.url || "/";
|
|
1560
|
-
const _reqPath = event._path || event.node.req.url || "/";
|
|
1555
|
+
const _reqPath = _decodePath(event._path || event.node.req.url || "/");
|
|
1556
|
+
event._path = _reqPath;
|
|
1561
1557
|
let _layerPath;
|
|
1562
1558
|
if (options.onRequest) {
|
|
1563
1559
|
await options.onRequest(event);
|
|
@@ -1707,6 +1703,13 @@ function cachedFn(fn) {
|
|
|
1707
1703
|
return cache;
|
|
1708
1704
|
};
|
|
1709
1705
|
}
|
|
1706
|
+
function _decodePath(url) {
|
|
1707
|
+
const qIndex = url.indexOf("?");
|
|
1708
|
+
const path = qIndex === -1 ? url : url.slice(0, qIndex);
|
|
1709
|
+
const query = qIndex === -1 ? "" : url.slice(qIndex);
|
|
1710
|
+
const decodedPath = path.includes("%25") ? decodePath(path.replace(/%25/g, "%2525")) : decodePath(path);
|
|
1711
|
+
return decodedPath + query;
|
|
1712
|
+
}
|
|
1710
1713
|
function websocketOptions(evResolver, appOptions) {
|
|
1711
1714
|
return {
|
|
1712
1715
|
...appOptions.websocket,
|
|
@@ -1746,7 +1749,7 @@ function createRouter(opts = {}) {
|
|
|
1746
1749
|
addRoute(path, handler, m);
|
|
1747
1750
|
}
|
|
1748
1751
|
} else {
|
|
1749
|
-
route.handlers[method] = toEventHandler(handler
|
|
1752
|
+
route.handlers[method] = toEventHandler(handler);
|
|
1750
1753
|
}
|
|
1751
1754
|
return router;
|
|
1752
1755
|
};
|
|
@@ -5821,7 +5824,7 @@ const fsStorage = defineStorage(() => ({
|
|
|
5821
5824
|
await clean(resolve(base));
|
|
5822
5825
|
}
|
|
5823
5826
|
}));
|
|
5824
|
-
var version$1 = "4.36.
|
|
5827
|
+
var version$1 = "4.36.2";
|
|
5825
5828
|
function getDiagnosticInfo() {
|
|
5826
5829
|
return {
|
|
5827
5830
|
nodeVersion: version$2,
|
|
@@ -6555,7 +6558,7 @@ async function detectLinter() {
|
|
|
6555
6558
|
]) if (await isLinterAvailable(linter)) return linter;
|
|
6556
6559
|
}
|
|
6557
6560
|
|
|
6558
|
-
var version = "4.36.
|
|
6561
|
+
var version = "4.36.2";
|
|
6559
6562
|
|
|
6560
6563
|
function isCommandMessage(msg) {
|
|
6561
6564
|
return msg.type === "command";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../ast/dist/index.js","../../../../../core/dist/index.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Pw3tLCiV.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-mUXoBwsu.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-CCn9g9eF.js","../../../../../plugin-oas/dist/generators-D7C3CXsN.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-eECfXVou.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-LmqJfxMv.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-DnKRpgGK.js","../../../../../plugin-zod/dist/generators-D1R6NNf2.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-DCnIY6RB.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BK_6GU4v.js","../../../../../plugin-cypress/dist/generators-D5YFtyyC.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-BztogaeO.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-KWLMg0Lm.js","../../../../../plugin-mcp/dist/generators-80MDR6tQ.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-DgtTZkWX.js","../../../../../plugin-msw/dist/generators-C34kqa1L.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpyHYGOw.js","../../../../../plugin-react-query/dist/generators-CpiBv5eE.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-BhStIi1M.js","../../../../../plugin-solid-query/dist/generators-CQClzsST.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-DntKBsnB.js","../../../../../plugin-svelte-query/dist/generators-BtTsGGrM.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-DRDGvgXG.js","../../../../../plugin-swr/dist/generators-ClWZJ-YG.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-_AMBl0g-.js","../../../../../plugin-vue-query/dist/generators-Zb1s5Wmb.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","path","readFile","writeFile","isValidVarName","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","x","performance","build","readdir","version","_c","_d","_e","_f","_g","os","item","trimExtName","error","__defProp","__name","pascalCase","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,55,108,109,110,111]}
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.9/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../ast/dist/index.js","../../../../../core/dist/index.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Pw3tLCiV.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-mUXoBwsu.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-CCn9g9eF.js","../../../../../plugin-oas/dist/generators-D7C3CXsN.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-eECfXVou.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-LmqJfxMv.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-DnKRpgGK.js","../../../../../plugin-zod/dist/generators-D1R6NNf2.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-DCnIY6RB.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BK_6GU4v.js","../../../../../plugin-cypress/dist/generators-D5YFtyyC.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-BztogaeO.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-KWLMg0Lm.js","../../../../../plugin-mcp/dist/generators-80MDR6tQ.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-DgtTZkWX.js","../../../../../plugin-msw/dist/generators-C34kqa1L.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpyHYGOw.js","../../../../../plugin-react-query/dist/generators-CpiBv5eE.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-BhStIi1M.js","../../../../../plugin-solid-query/dist/generators-CQClzsST.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-DntKBsnB.js","../../../../../plugin-svelte-query/dist/generators-BtTsGGrM.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-DRDGvgXG.js","../../../../../plugin-swr/dist/generators-ClWZJ-YG.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-_AMBl0g-.js","../../../../../plugin-vue-query/dist/generators-Zb1s5Wmb.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.10/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","path","readFile","writeFile","isValidVarName","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","x","performance","build","readdir","version","_c","_d","_e","_f","_g","os","item","trimExtName","error","__defProp","__name","pascalCase","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,55,108,109,110,111]}
|
|
@@ -289,7 +289,7 @@ const groupByFiles = (problems) => {
|
|
|
289
289
|
}
|
|
290
290
|
return fileGroups;
|
|
291
291
|
};
|
|
292
|
-
function xmlEscape(s) {
|
|
292
|
+
export function xmlEscape(s) {
|
|
293
293
|
// eslint-disable-next-line no-control-regex
|
|
294
294
|
return s.replace(/[<>&"'\x00-\x1F\x7F\u0080-\uFFFF]/gu, (char) => {
|
|
295
295
|
switch (char) {
|
|
@@ -11,6 +11,7 @@ export { pause } from './utils/pause.js';
|
|
|
11
11
|
export { pluralize } from './utils/pluralize.js';
|
|
12
12
|
export { readFileFromUrl } from './utils/read-file-from-url.js';
|
|
13
13
|
export { slash } from './utils/slash.js';
|
|
14
|
+
export { regexFromString } from './utils/regex-from-string.js';
|
|
14
15
|
export { Oas2Types } from './types/oas2.js';
|
|
15
16
|
export { Oas3Types } from './types/oas3.js';
|
|
16
17
|
export { Oas3_1Types } from './types/oas3_1.js';
|
|
@@ -37,7 +38,7 @@ export { getMajorSpecVersion } from './detect-spec.js';
|
|
|
37
38
|
export { normalizeVisitors, } from './visitors.js';
|
|
38
39
|
export { walkDocument, } from './walk.js';
|
|
39
40
|
export { getAstNodeByPointer, getLineColLocation, getCodeframe } from './format/codeframes.js';
|
|
40
|
-
export { formatProblems, getTotals } from './format/format.js';
|
|
41
|
+
export { formatProblems, getTotals, xmlEscape, } from './format/format.js';
|
|
41
42
|
export { lint, lint as validate, lintDocument, lintFromString, lintConfig } from './lint.js';
|
|
42
43
|
export { lintEntityFile, lintEntityWithScorecardLevel, lintSchema } from './lint-entity.js';
|
|
43
44
|
export { bundle, bundleFromString } from './bundle/bundle.js';
|
package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js
CHANGED
|
@@ -132,7 +132,10 @@ export const asserts = {
|
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
nonEmpty: (value, condition = true, { baseLocation }) => {
|
|
135
|
-
const isEmpty = typeof value === 'undefined' ||
|
|
135
|
+
const isEmpty = typeof value === 'undefined' ||
|
|
136
|
+
value === null ||
|
|
137
|
+
value === '' ||
|
|
138
|
+
(Array.isArray(value) && value.length === 0);
|
|
136
139
|
const isValid = condition ? !isEmpty : isEmpty;
|
|
137
140
|
return isValid
|
|
138
141
|
? []
|
|
@@ -296,7 +296,7 @@ const Operation = {
|
|
|
296
296
|
externalDocs: 'ExternalDocs',
|
|
297
297
|
operationId: {
|
|
298
298
|
type: 'string',
|
|
299
|
-
description: 'The
|
|
299
|
+
description: 'Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive.',
|
|
300
300
|
documentationLink: 'https://redocly.com/learn/openapi/openapi-visual-reference/operation#operationid',
|
|
301
301
|
},
|
|
302
302
|
parameters: 'ParameterList',
|
|
@@ -69,7 +69,7 @@ const Operation = {
|
|
|
69
69
|
externalDocs: 'ExternalDocs',
|
|
70
70
|
operationId: {
|
|
71
71
|
type: 'string',
|
|
72
|
-
description: 'The
|
|
72
|
+
description: 'Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive.',
|
|
73
73
|
documentationLink: 'https://redocly.com/learn/openapi/openapi-visual-reference/operation#operationid',
|
|
74
74
|
},
|
|
75
75
|
parameters: 'ParameterList',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent-prod",
|
|
3
|
-
"version": "4.36.
|
|
3
|
+
"version": "4.36.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@readme/postman-to-openapi": "4.1.0",
|
|
26
26
|
"@redocly/ajv": "8.18.0",
|
|
27
27
|
"@redocly/config": "0.44.1",
|
|
28
|
-
"@redocly/openapi-core": "2.
|
|
28
|
+
"@redocly/openapi-core": "2.24.1",
|
|
29
29
|
"@stoplight/ordered-object-literal": "1.0.5",
|
|
30
30
|
"@stoplight/types": "14.1.1",
|
|
31
31
|
"@stoplight/yaml": "4.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "4.36.
|
|
3
|
+
"version": "4.36.2",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -40,26 +40,26 @@
|
|
|
40
40
|
"tinyexec": "^1.0.4",
|
|
41
41
|
"unstorage": "^1.17.4",
|
|
42
42
|
"ws": "^8.19.0",
|
|
43
|
-
"@kubb/core": "4.36.
|
|
44
|
-
"@kubb/plugin-client": "4.36.
|
|
45
|
-
"@kubb/plugin-cypress": "4.36.
|
|
46
|
-
"@kubb/plugin-faker": "4.36.
|
|
47
|
-
"@kubb/plugin-mcp": "4.36.
|
|
48
|
-
"@kubb/plugin-msw": "4.36.
|
|
49
|
-
"@kubb/plugin-oas": "4.36.
|
|
50
|
-
"@kubb/plugin-react-query": "4.36.
|
|
51
|
-
"@kubb/plugin-redoc": "4.36.
|
|
52
|
-
"@kubb/plugin-solid-query": "4.36.
|
|
53
|
-
"@kubb/plugin-svelte-query": "4.36.
|
|
54
|
-
"@kubb/plugin-swr": "4.36.
|
|
55
|
-
"@kubb/plugin-ts": "4.36.
|
|
56
|
-
"@kubb/plugin-vue-query": "4.36.
|
|
57
|
-
"@kubb/plugin-zod": "4.36.
|
|
43
|
+
"@kubb/core": "4.36.2",
|
|
44
|
+
"@kubb/plugin-client": "4.36.2",
|
|
45
|
+
"@kubb/plugin-cypress": "4.36.2",
|
|
46
|
+
"@kubb/plugin-faker": "4.36.2",
|
|
47
|
+
"@kubb/plugin-mcp": "4.36.2",
|
|
48
|
+
"@kubb/plugin-msw": "4.36.2",
|
|
49
|
+
"@kubb/plugin-oas": "4.36.2",
|
|
50
|
+
"@kubb/plugin-react-query": "4.36.2",
|
|
51
|
+
"@kubb/plugin-redoc": "4.36.2",
|
|
52
|
+
"@kubb/plugin-solid-query": "4.36.2",
|
|
53
|
+
"@kubb/plugin-svelte-query": "4.36.2",
|
|
54
|
+
"@kubb/plugin-swr": "4.36.2",
|
|
55
|
+
"@kubb/plugin-ts": "4.36.2",
|
|
56
|
+
"@kubb/plugin-vue-query": "4.36.2",
|
|
57
|
+
"@kubb/plugin-zod": "4.36.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/ws": "^8.18.1",
|
|
61
|
-
"msw": "^2.12.
|
|
62
|
-
"nitropack": "^2.13.
|
|
61
|
+
"msw": "^2.12.13",
|
|
62
|
+
"nitropack": "^2.13.2",
|
|
63
63
|
"vite": "^7.3.1",
|
|
64
64
|
"@internals/utils": "0.0.0"
|
|
65
65
|
},
|