@zuplo/cli 7.14.6 → 7.15.0

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.
Files changed (85) hide show
  1. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  2. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  3. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/verify.js +2 -8
  4. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +11 -8
  5. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_management.js +0 -1
  6. package/node_modules/@modelcontextprotocol/client/node_modules/jose/package.json +1 -1
  7. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/decrypt.js +3 -2
  8. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
  9. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/verify.js +2 -8
  10. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +11 -8
  11. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_management.js +0 -1
  12. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/package.json +1 -1
  13. package/node_modules/@zuplo/core/customer.cli.minified.js +95 -95
  14. package/node_modules/@zuplo/core/index.minified.js +100 -100
  15. package/node_modules/@zuplo/core/package.json +1 -1
  16. package/node_modules/@zuplo/core/zeno.js +1 -1
  17. package/node_modules/@zuplo/graphql/package.json +1 -1
  18. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  19. package/node_modules/@zuplo/otel/package.json +1 -1
  20. package/node_modules/@zuplo/runtime/out/esm/{chunk-JORDKCQ5.js → chunk-F4G3YEN2.js} +97 -97
  21. package/node_modules/@zuplo/runtime/out/esm/chunk-F4G3YEN2.js.map +1 -0
  22. package/node_modules/@zuplo/runtime/out/esm/{chunk-AEVCZW3D.js → chunk-GWGCD6Z7.js} +2 -2
  23. package/node_modules/@zuplo/runtime/out/esm/{chunk-LDA754KZ.js → chunk-HTXNM72E.js} +2 -2
  24. package/node_modules/@zuplo/runtime/out/esm/chunk-M4IZPJP6.js +37 -0
  25. package/node_modules/@zuplo/runtime/out/esm/{chunk-VIH2ISEH.js.map → chunk-M4IZPJP6.js.map} +1 -1
  26. package/node_modules/@zuplo/runtime/out/esm/{chunk-G2O2ZIL3.js → chunk-SX6JF7A6.js} +2 -2
  27. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  28. package/node_modules/@zuplo/runtime/out/esm/mcp/messages/index.js +1 -1
  29. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +8 -8
  30. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  31. package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
  32. package/node_modules/@zuplo/runtime/out/esm/sdks/aws/index.js +1 -1
  33. package/node_modules/@zuplo/runtime/out/types/index.d.ts +14 -5
  34. package/node_modules/@zuplo/runtime/out/types/internal/index.d.ts +14 -5
  35. package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +40 -0
  36. package/node_modules/@zuplo/runtime/package.json +1 -1
  37. package/node_modules/ansi-regex/index.js +22 -17
  38. package/node_modules/ansi-regex/package.json +1 -1
  39. package/node_modules/ansi-regex/readme.md +8 -0
  40. package/node_modules/hono/dist/adapter/aws-lambda/handler.js +1 -1
  41. package/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +1 -1
  42. package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
  43. package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
  44. package/node_modules/hono/dist/cjs/client/fetch-result-please.js +1 -1
  45. package/node_modules/hono/dist/cjs/helper/accepts/accepts.js +2 -1
  46. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +5 -3
  47. package/node_modules/hono/dist/cjs/jsx/base.js +49 -30
  48. package/node_modules/hono/dist/cjs/jsx/components.js +2 -2
  49. package/node_modules/hono/dist/cjs/jsx/constants.js +2 -0
  50. package/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +13 -17
  51. package/node_modules/hono/dist/cjs/middleware/etag/index.js +3 -1
  52. package/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +1 -0
  53. package/node_modules/hono/dist/cjs/middleware/timing/timing.js +4 -3
  54. package/node_modules/hono/dist/cjs/utils/cookie.js +2 -2
  55. package/node_modules/hono/dist/cjs/utils/mime.js +1 -1
  56. package/node_modules/hono/dist/cjs/utils/url.js +1 -1
  57. package/node_modules/hono/dist/client/fetch-result-please.js +1 -1
  58. package/node_modules/hono/dist/helper/accepts/accepts.js +2 -1
  59. package/node_modules/hono/dist/helper/ssg/ssg.js +5 -3
  60. package/node_modules/hono/dist/jsx/base.js +49 -32
  61. package/node_modules/hono/dist/jsx/components.js +2 -2
  62. package/node_modules/hono/dist/jsx/constants.js +2 -1
  63. package/node_modules/hono/dist/jsx/jsx-runtime.js +15 -19
  64. package/node_modules/hono/dist/middleware/etag/index.js +3 -1
  65. package/node_modules/hono/dist/middleware/language/language.js +1 -1
  66. package/node_modules/hono/dist/middleware/pretty-json/index.js +1 -0
  67. package/node_modules/hono/dist/middleware/timing/timing.js +4 -3
  68. package/node_modules/hono/dist/types/helper/factory/index.d.ts +1 -1
  69. package/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +6 -1
  70. package/node_modules/hono/dist/types/jsx/base.d.ts +4 -2
  71. package/node_modules/hono/dist/types/jsx/constants.d.ts +1 -0
  72. package/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +2 -1
  73. package/node_modules/hono/dist/types/utils/cookie.d.ts +1 -1
  74. package/node_modules/hono/dist/utils/cookie.js +2 -2
  75. package/node_modules/hono/dist/utils/mime.js +1 -1
  76. package/node_modules/hono/dist/utils/url.js +1 -1
  77. package/node_modules/hono/package.json +1 -1
  78. package/package.json +11 -11
  79. package/node_modules/@zuplo/runtime/out/esm/chunk-JORDKCQ5.js.map +0 -1
  80. package/node_modules/@zuplo/runtime/out/esm/chunk-VIH2ISEH.js +0 -37
  81. /package/node_modules/@zuplo/runtime/out/esm/{chunk-JORDKCQ5.js.LEGAL.txt → chunk-F4G3YEN2.js.LEGAL.txt} +0 -0
  82. /package/node_modules/@zuplo/runtime/out/esm/{chunk-AEVCZW3D.js.map → chunk-GWGCD6Z7.js.map} +0 -0
  83. /package/node_modules/@zuplo/runtime/out/esm/{chunk-LDA754KZ.js.map → chunk-HTXNM72E.js.map} +0 -0
  84. /package/node_modules/@zuplo/runtime/out/esm/{chunk-VIH2ISEH.js.LEGAL.txt → chunk-M4IZPJP6.js.LEGAL.txt} +0 -0
  85. /package/node_modules/@zuplo/runtime/out/esm/{chunk-G2O2ZIL3.js.map → chunk-SX6JF7A6.js.map} +0 -0
@@ -10,7 +10,7 @@ const getMimeType = (filename, mimes = baseMimes) => {
10
10
  return mimes[match[1].toLowerCase()];
11
11
  };
12
12
  const getExtension = (mimeType) => {
13
- const baseType = mimeType.split(";", 1)[0].trim();
13
+ const baseType = mimeType.split(";", 1)[0].trim().toLowerCase();
14
14
  for (const ext in baseMimes) {
15
15
  const stored = baseMimes[ext];
16
16
  if (stored === mimeType || stored.split(";", 1)[0].trim() === baseType) return ext;
@@ -162,7 +162,7 @@ const _getQueryParam = (url, key, multiple) => {
162
162
  const hashIndex = url.indexOf("#", 8);
163
163
  if (hashIndex !== -1) url = url.slice(0, hashIndex);
164
164
  let encoded;
165
- if (!multiple && key && key.indexOf("%") === -1 && key.indexOf("+") === -1) {
165
+ if (!multiple && key && !/[%+&=]/.test(key)) {
166
166
  const queryIndex = url.indexOf("?", 8);
167
167
  let keyIndex = queryIndex;
168
168
  if (keyIndex === -1) return;
@@ -57,7 +57,7 @@ const jsonRegex = /^application\/(?:[\w!#$%&*.^`~-]*\+)?json(?:;.+)?$/i;
57
57
  function detectResponseType(response) {
58
58
  const _contentType = response.headers.get("content-type");
59
59
  if (!_contentType) return "text";
60
- const contentType = _contentType.split(";").shift();
60
+ const contentType = _contentType.split(";").shift().trim();
61
61
  if (jsonRegex.test(contentType)) return "json";
62
62
  return "text";
63
63
  }
@@ -19,12 +19,13 @@ const getSpecificity = (type) => {
19
19
  };
20
20
  const defaultMatch = (accepts, config) => {
21
21
  const { supports, default: defaultSupport } = config;
22
+ const exactTypes = new Set(accepts.filter((accept) => getSpecificity(accept.type) === 3).map((accept) => accept.type.toLowerCase()));
22
23
  const sortedAccepts = accepts.filter((accept) => accept.q > 0).sort((a, b) => {
23
24
  if (b.q !== a.q) return b.q - a.q;
24
25
  return getSpecificity(b.type) - getSpecificity(a.type);
25
26
  });
26
27
  for (const accept of sortedAccepts) {
27
- const matched = supports.find((supported) => matchType(accept.type, supported));
28
+ const matched = supports.find((supported) => matchType(accept.type, supported) && (getSpecificity(accept.type) !== 2 || !exactTypes.has(supported.toLowerCase())));
28
29
  if (matched) return matched;
29
30
  }
30
31
  return defaultSupport;
@@ -38,6 +38,8 @@ const defaultExtensionMap = {
38
38
  const determineExtension = (mimeType, userExtensionMap) => {
39
39
  const extensionMap = userExtensionMap || defaultExtensionMap;
40
40
  if (mimeType in extensionMap) return extensionMap[mimeType];
41
+ const lowerCasedMimeType = mimeType.toLowerCase();
42
+ if (lowerCasedMimeType in extensionMap) return extensionMap[lowerCasedMimeType];
41
43
  return getExtension(mimeType) || "html";
42
44
  };
43
45
  const combineBeforeRequestHooks = (hooks) => {
@@ -141,8 +143,7 @@ const fetchRoutesContent = function* (app, beforeRequestHook, afterResponseHook,
141
143
  * `saveContentToFile` is an experimental feature.
142
144
  * The API might be changed.
143
145
  */
144
- const createdDirs = /* @__PURE__ */ new Set();
145
- const saveContentToFile = async (data, fsModule, outDir, extensionMap) => {
146
+ const saveContentToFile = async (data, fsModule, outDir, extensionMap, createdDirs = /* @__PURE__ */ new Set()) => {
146
147
  const awaitedData = await data;
147
148
  if (!awaitedData) return;
148
149
  const { routePath, content, mimeType } = awaitedData;
@@ -182,10 +183,11 @@ const toSSG = async (app, fs, options) => {
182
183
  const concurrency = options?.concurrency ?? DEFAULT_CONCURRENCY;
183
184
  const combinedBeforeRequestHook = combineBeforeRequestHooks(beforeRequestHooks.length > 0 ? beforeRequestHooks : [(req) => req]);
184
185
  const combinedAfterResponseHook = combineAfterResponseHooks(afterResponseHooks.length > 0 ? afterResponseHooks : [(req) => req]);
186
+ const createdDirs = /* @__PURE__ */ new Set();
185
187
  const getInfoGen = fetchRoutesContent(app, combinedBeforeRequestHook, combinedAfterResponseHook, concurrency);
186
188
  for (const getInfo of getInfoGen) getInfoPromises.push(getInfo.then((getContentGen) => {
187
189
  if (!getContentGen) return;
188
- for (const content of getContentGen) savePromises.push(saveContentToFile(content, fs, outputDir, options?.extensionMap).catch((e) => e));
190
+ for (const content of getContentGen) savePromises.push(saveContentToFile(content, fs, outputDir, options?.extensionMap, createdDirs).catch((e) => e));
189
191
  }));
190
192
  await Promise.all(getInfoPromises);
191
193
  const files = [];
@@ -1,5 +1,5 @@
1
1
  import { escapeToBuffer, raw, resolveCallbackSync, stringBufferToString } from "../utils/html.js";
2
- import { DOM_MEMO, DOM_RENDERER } from "./constants.js";
2
+ import { DOM_MEMO, DOM_RENDERER, RENDERED_JSX } from "./constants.js";
3
3
  import { captureRenderContext, createContext, globalContexts, runWithRenderContext, useContext } from "./context.js";
4
4
  import { domRenderers } from "./intrinsic-element/common.js";
5
5
  import { components_exports } from "./intrinsic-element/components.js";
@@ -25,7 +25,7 @@ const emptyTags = [
25
25
  "track",
26
26
  "wbr"
27
27
  ];
28
- const booleanAttributes = [
28
+ const booleanAttributes = /* @__PURE__ */ new Set([
29
29
  "allowfullscreen",
30
30
  "async",
31
31
  "autofocus",
@@ -51,8 +51,11 @@ const booleanAttributes = [
51
51
  "readonly",
52
52
  "required",
53
53
  "reversed",
54
- "selected"
55
- ];
54
+ "selected",
55
+ "shadowrootclonable",
56
+ "shadowrootdelegatesfocus",
57
+ "shadowrootserializable"
58
+ ]);
56
59
  const resolveFunctionComponentResult = (result, suspendedContext) => result.then((resolved) => {
57
60
  if (typeof resolved !== "string" && !Array.isArray(resolved) && !(resolved instanceof JSXNode)) return resolved;
58
61
  const children = Array.isArray(resolved) ? resolved : [resolved];
@@ -63,6 +66,44 @@ const resolveFunctionComponentResult = (result, suspendedContext) => result.then
63
66
  };
64
67
  return suspendedContext ? suspendedContext(render) : runWithRenderContext(render);
65
68
  });
69
+ const markRenderedJSX = (value) => {
70
+ value[RENDERED_JSX] = true;
71
+ return value;
72
+ };
73
+ const isEscapedAttribute = (value) => value instanceof String && value.isEscaped && !(RENDERED_JSX in value);
74
+ const objectToAttributeString = (v) => {
75
+ const s = v.toString();
76
+ return s instanceof Promise ? s.then(String) : String(s);
77
+ };
78
+ const attributeToBuffer = (buffer, prefix, key, v, tag) => {
79
+ if (key === "ref" || v === null || v === void 0) return;
80
+ if (typeof v === "boolean" && booleanAttributes.has(key)) {
81
+ if (v) buffer[0] += `${prefix}${key}=""`;
82
+ return;
83
+ }
84
+ if (typeof v === "function") {
85
+ if (!key.startsWith("on")) throw new Error(`Invalid prop '${key}' of type 'function' supplied to ${tag ? `'${tag}'` : "a JSX element"}.`);
86
+ return;
87
+ }
88
+ buffer[0] += `${prefix}${key}="`;
89
+ if (key === "style" && typeof v === "object") {
90
+ let styleStr = "";
91
+ styleObjectForEach(v, (property, value) => {
92
+ if (value != null) styleStr += `${styleStr ? ";" : ""}${property}:${value}`;
93
+ });
94
+ escapeToBuffer(styleStr, buffer);
95
+ } else if (typeof v === "string") escapeToBuffer(v, buffer);
96
+ else if (typeof v === "number" || isEscapedAttribute(v)) buffer[0] += `${v}`;
97
+ else {
98
+ const s = v instanceof Promise ? v.then((r) => typeof r === "object" && r !== null && !isEscapedAttribute(r) ? objectToAttributeString(r) : r) : objectToAttributeString(v);
99
+ if (s instanceof Promise) {
100
+ buffer.unshift("\"", s);
101
+ return;
102
+ }
103
+ escapeToBuffer(s, buffer);
104
+ }
105
+ buffer[0] += "\"";
106
+ };
66
107
  const childrenToStringToBuffer = (children, buffer) => {
67
108
  for (let i = 0, len = children.length; i < len; i++) {
68
109
  const child = children[i];
@@ -114,7 +155,7 @@ var JSXNode = class {
114
155
  const render = () => {
115
156
  const buffer = [""];
116
157
  this.toStringToBuffer(buffer);
117
- return buffer.length === 1 ? "callbacks" in buffer ? resolveCallbackSync(raw(buffer[0], buffer.callbacks)).toString() : buffer[0] : stringBufferToString(buffer, buffer.callbacks);
158
+ return buffer.length === 1 ? "callbacks" in buffer ? resolveCallbackSync(raw(buffer[0], buffer.callbacks)).toString() : buffer[0] : stringBufferToString(buffer, buffer.callbacks).then(markRenderedJSX);
118
159
  };
119
160
  return runWithRenderContext(render);
120
161
  }
@@ -127,34 +168,10 @@ var JSXNode = class {
127
168
  for (let [key, v] of Object.entries(props)) {
128
169
  key = normalizeKey(key);
129
170
  if (!isValidAttributeName(key)) continue;
130
- if (key === "children") {} else if (key === "style" && typeof v === "object") {
131
- let styleStr = "";
132
- styleObjectForEach(v, (property, value) => {
133
- if (value != null) styleStr += `${styleStr ? ";" : ""}${property}:${value}`;
134
- });
135
- buffer[0] += " style=\"";
136
- escapeToBuffer(styleStr, buffer);
137
- buffer[0] += "\"";
138
- } else if (typeof v === "string") {
139
- buffer[0] += ` ${key}="`;
140
- escapeToBuffer(v, buffer);
141
- buffer[0] += "\"";
142
- } else if (v === null || v === void 0) {} else if (typeof v === "number" || v.isEscaped) buffer[0] += ` ${key}="${v}"`;
143
- else if (typeof v === "boolean" && booleanAttributes.includes(key)) {
144
- if (v) buffer[0] += ` ${key}=""`;
145
- } else if (key === "dangerouslySetInnerHTML") {
171
+ if (key === "children") {} else if (key === "dangerouslySetInnerHTML" && typeof v === "object" && v !== null && "__html" in v) {
146
172
  if (children.length > 0) throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");
147
173
  children = [raw(v.__html)];
148
- } else if (v instanceof Promise) {
149
- buffer[0] += ` ${key}="`;
150
- buffer.unshift("\"", v);
151
- } else if (typeof v === "function") {
152
- if (!key.startsWith("on") && key !== "ref") throw new Error(`Invalid prop '${key}' of type 'function' supplied to '${tag}'.`);
153
- } else {
154
- buffer[0] += ` ${key}="`;
155
- escapeToBuffer(v.toString(), buffer);
156
- buffer[0] += "\"";
157
- }
174
+ } else attributeToBuffer(buffer, " ", key, v, tag);
158
175
  }
159
176
  if (emptyTags.includes(tag) && children.length === 0) {
160
177
  buffer[0] += "/>";
@@ -248,4 +265,4 @@ const cloneElement = (element, props, ...children) => {
248
265
  };
249
266
  const reactAPICompatVersion = "19.0.0-hono-jsx";
250
267
  //#endregion
251
- export { Fragment, JSXFragmentNode, JSXNode, booleanAttributes, cloneElement, getNameSpaceContext, isUntrustedObject, isValidElement, jsx, jsxFn, memo, reactAPICompatVersion, renderChildren, renderUntrustedObject, shallowEqual };
268
+ export { Fragment, JSXFragmentNode, JSXNode, attributeToBuffer, booleanAttributes, cloneElement, getNameSpaceContext, isUntrustedObject, isValidElement, jsx, jsxFn, markRenderedJSX, memo, reactAPICompatVersion, renderChildren, renderUntrustedObject, shallowEqual };
@@ -77,7 +77,7 @@ const ErrorBoundary = async ({ children, fallback, fallbackRender, onError }) =>
77
77
  buffer[0] = buffer[0].replace(replaceRe, () => fallbackResString);
78
78
  return fallbackCallbacks?.length ? raw("", fallbackCallbacks) : "";
79
79
  }
80
- return raw(`<template data-hono-target="E:${index}">${fallbackResString}</template><script>
80
+ return raw(`<template data-hono-target="E:${index}">${fallbackResString}</template><script${nonce ? ` nonce="${nonce}"` : ""}>
81
81
  ((d,c,n) => {
82
82
  c=d.currentScript.previousSibling
83
83
  d=d.getElementById('E:${index}')
@@ -118,7 +118,7 @@ d.parentElement.insertBefore(c.content,d.nextSibling)
118
118
  buffer[0] += content;
119
119
  return raw("", content.callbacks);
120
120
  }
121
- return raw(content + (resolvedCount !== callbacks.length ? "" : `<script>
121
+ return raw(content + (resolvedCount !== callbacks.length ? "" : `<script${nonce ? ` nonce="${nonce}"` : ""}>
122
122
  ((d,c,n) => {
123
123
  d=d.getElementById('E:${index}')
124
124
  if(!d)return
@@ -5,5 +5,6 @@ const DOM_STASH = Symbol("STASH");
5
5
  const DOM_INTERNAL_TAG = Symbol("INTERNAL");
6
6
  const DOM_MEMO = Symbol("MEMO");
7
7
  const PERMALINK = Symbol("PERMALINK");
8
+ const RENDERED_JSX = Symbol("RENDERED_JSX");
8
9
  //#endregion
9
- export { DOM_ERROR_HANDLER, DOM_INTERNAL_TAG, DOM_MEMO, DOM_RENDERER, DOM_STASH, PERMALINK };
10
+ export { DOM_ERROR_HANDLER, DOM_INTERNAL_TAG, DOM_MEMO, DOM_RENDERER, DOM_STASH, PERMALINK, RENDERED_JSX };
@@ -1,31 +1,27 @@
1
1
  import { escapeToBuffer, raw, stringBufferToString } from "../utils/html.js";
2
2
  import { html } from "../helper/html/index.js";
3
- import { isValidAttributeName, styleObjectForEach } from "./utils.js";
4
- import { Fragment } from "./base.js";
3
+ import { PERMALINK } from "./constants.js";
4
+ import { isValidAttributeName } from "./utils.js";
5
+ import { Fragment, attributeToBuffer, markRenderedJSX } from "./base.js";
5
6
  import { jsxDEV } from "./jsx-dev-runtime.js";
6
7
  //#region src/jsx/jsx-runtime.ts
8
+ const jsxTemplate = (strings, ...values) => {
9
+ const result = html(strings, ...values);
10
+ return result instanceof Promise ? result.then(markRenderedJSX) : markRenderedJSX(result);
11
+ };
7
12
  const jsxAttr = (key, v) => {
8
13
  if (!isValidAttributeName(key)) return raw("");
9
- const buffer = [`${key}="`];
10
- if (key === "style" && typeof v === "object") {
11
- let styleStr = "";
12
- styleObjectForEach(v, (property, value) => {
13
- if (value != null) styleStr += `${styleStr ? ";" : ""}${property}:${value}`;
14
- });
15
- escapeToBuffer(styleStr, buffer);
16
- buffer[0] += "\"";
17
- } else if (typeof v === "string") {
14
+ if (typeof v === "string") {
15
+ const buffer = [`${key}="`];
18
16
  escapeToBuffer(v, buffer);
19
- buffer[0] += "\"";
20
- } else if (v === null || v === void 0) return raw("");
21
- else if (typeof v === "number" || v.isEscaped) buffer[0] += `${v}"`;
22
- else if (v instanceof Promise) buffer.unshift("\"", v);
23
- else {
24
- escapeToBuffer(v.toString(), buffer);
25
- buffer[0] += "\"";
17
+ return raw(buffer[0] + "\"");
26
18
  }
19
+ let value = v;
20
+ if (typeof value === "function" && (key === "action" || key === "formaction")) value = PERMALINK in value ? value[PERMALINK] : void 0;
21
+ const buffer = [""];
22
+ attributeToBuffer(buffer, "", key, value);
27
23
  return buffer.length === 1 ? raw(buffer[0]) : stringBufferToString(buffer, void 0);
28
24
  };
29
25
  const jsxEscape = (value) => value;
30
26
  //#endregion
31
- export { Fragment, jsxDEV as jsx, jsxAttr, jsxEscape, html as jsxTemplate, jsxDEV as jsxs };
27
+ export { Fragment, jsxDEV as jsx, jsxAttr, jsxEscape, jsxTemplate, jsxDEV as jsxs };
@@ -16,7 +16,8 @@ const RETAINED_304_HEADERS = [
16
16
  ];
17
17
  const stripWeak = (tag) => tag.replace(/^W\//, "");
18
18
  function etagMatches(etag, ifNoneMatch) {
19
- return ifNoneMatch != null && ifNoneMatch.split(",").some((t) => stripWeak(t.trim()) === stripWeak(etag));
19
+ const expected = stripWeak(etag);
20
+ return ifNoneMatch?.match(/"[^"]*"/g)?.some((tag) => tag === expected) ?? false;
20
21
  }
21
22
  function initializeGenerator(generator) {
22
23
  if (!generator) {
@@ -64,6 +65,7 @@ const etag = (options) => {
64
65
  etag = weak ? `W/"${hash}"` : `"${hash}"`;
65
66
  }
66
67
  if (ifNoneMatch === "*" || etagMatches(etag, ifNoneMatch)) {
68
+ await res.body?.cancel();
67
69
  c.res = new Response(null, {
68
70
  status: 304,
69
71
  statusText: "Not Modified",
@@ -1,5 +1,5 @@
1
- import { parseAccept } from "../../utils/accept.js";
2
1
  import { getCookie, setCookie } from "../../helper/cookie/index.js";
2
+ import { parseAccept } from "../../utils/accept.js";
3
3
  //#region src/middleware/language/language.ts
4
4
  const DEFAULT_OPTIONS = {
5
5
  order: [
@@ -31,6 +31,7 @@ const prettyJSON = (options) => {
31
31
  } catch {
32
32
  return;
33
33
  }
34
+ await c.res.body?.cancel();
34
35
  c.res = new Response(JSON.stringify(obj, null, options?.space ?? 2), c.res);
35
36
  c.res.headers.delete("Content-Length");
36
37
  }
@@ -74,6 +74,7 @@ const timing = (config) => {
74
74
  }
75
75
  };
76
76
  };
77
+ const quote = (s) => `"${s.replace(/[\\"]/g, "\\$&")}"`;
77
78
  /**
78
79
  * Set a metric for the timing middleware.
79
80
  *
@@ -96,11 +97,11 @@ const setMetric = (c, name, valueDescription, description, precision) => {
96
97
  return;
97
98
  }
98
99
  if (typeof valueDescription === "number") {
99
- const dur = valueDescription.toFixed(precision || 1);
100
- const metric = description ? `${name};dur=${dur};desc="${description}"` : `${name};dur=${dur}`;
100
+ const dur = valueDescription.toFixed(precision ?? 1);
101
+ const metric = description ? `${name};dur=${dur};desc=${quote(description)}` : `${name};dur=${dur}`;
101
102
  metrics.headers.push(metric);
102
103
  } else {
103
- const metric = valueDescription ? `${name};desc="${valueDescription}"` : `${name}`;
104
+ const metric = valueDescription ? `${name};desc=${quote(valueDescription)}` : `${name}`;
104
105
  metrics.headers.push(metric);
105
106
  }
106
107
  };
@@ -12,7 +12,7 @@ export interface CreateHandlersInterface<E extends Env, P extends string> {
12
12
  <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, R extends HandlerResponse<any> = any, R2 extends HandlerResponse<any> = any, R3 extends HandlerResponse<any> = any, R4 extends HandlerResponse<any> = any, R5 extends HandlerResponse<any> = any, R6 extends HandlerResponse<any> = any, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E, E2]>, E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>, E5 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4]>, E6 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5]>, E7 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6]>>(handler1: H<E2, P, I, R>, handler2: H<E3, P, I2, R2>, handler3: H<E4, P, I3, R3>, handler4: H<E5, P, I4, R4>, handler5: H<E6, P, I5, R5>, handler6: H<E7, P, I6, R6>): [H<E2, P, I, R>, H<E3, P, I2, R2>, H<E4, P, I3, R3>, H<E5, P, I4, R4>, H<E6, P, I5, R5>, H<E7, P, I6, R6>];
13
13
  <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, R extends HandlerResponse<any> = any, R2 extends HandlerResponse<any> = any, R3 extends HandlerResponse<any> = any, R4 extends HandlerResponse<any> = any, R5 extends HandlerResponse<any> = any, R6 extends HandlerResponse<any> = any, R7 extends HandlerResponse<any> = any, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E, E2]>, E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>, E5 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4]>, E6 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5]>, E7 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6]>, E8 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7]>>(handler1: H<E2, P, I, R>, handler2: H<E3, P, I2, R2>, handler3: H<E4, P, I3, R3>, handler4: H<E5, P, I4, R4>, handler5: H<E6, P, I5, R5>, handler6: H<E7, P, I6, R6>, handler7: H<E8, P, I7, R7>): [H<E2, P, I, R>, H<E3, P, I2, R2>, H<E4, P, I3, R3>, H<E5, P, I4, R4>, H<E6, P, I5, R5>, H<E7, P, I6, R6>, H<E8, P, I7, R7>];
14
14
  <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, I8 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7, R extends HandlerResponse<any> = any, R2 extends HandlerResponse<any> = any, R3 extends HandlerResponse<any> = any, R4 extends HandlerResponse<any> = any, R5 extends HandlerResponse<any> = any, R6 extends HandlerResponse<any> = any, R7 extends HandlerResponse<any> = any, R8 extends HandlerResponse<any> = any, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E, E2]>, E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>, E5 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4]>, E6 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5]>, E7 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6]>, E8 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7]>, E9 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8]>>(handler1: H<E2, P, I, R>, handler2: H<E3, P, I2, R2>, handler3: H<E4, P, I3, R3>, handler4: H<E5, P, I4, R4>, handler5: H<E6, P, I5, R5>, handler6: H<E7, P, I6, R6>, handler7: H<E8, P, I7, R7>, handler8: H<E9, P, I8, R8>): [H<E2, P, I, R>, H<E3, P, I2, R2>, H<E4, P, I3, R3>, H<E5, P, I4, R4>, H<E6, P, I5, R5>, H<E7, P, I6, R6>, H<E8, P, I7, R7>, H<E9, P, I8, R8>];
15
- <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, I8 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7, I9 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7 & I8, R extends HandlerResponse<any> = any, R2 extends HandlerResponse<any> = any, R3 extends HandlerResponse<any> = any, R4 extends HandlerResponse<any> = any, R5 extends HandlerResponse<any> = any, R6 extends HandlerResponse<any> = any, R7 extends HandlerResponse<any> = any, R8 extends HandlerResponse<any> = any, R9 extends HandlerResponse<any> = any, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E, E2]>, E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>, E5 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4]>, E6 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5]>, E7 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6]>, E8 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7]>, E9 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8]>, E10 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8, E9]>>(handler1: H<E2, P, I, R>, handler2: H<E3, P, I2, R2>, handler3: H<E4, P, I3, R3>, handler4: H<E5, P, I4, R4>, handler5: H<E6, P, I5, R5>, handler6: H<E7, P, I6, R6>, handler7: H<E8, P, I7, R7>, handler8: H<E9, P, I8, R8>, handler9: H<E10, P, I9, R9>): [H<E2, P, I, R>, H<E3, P, I2, R>, H<E4, P, I3, R>, H<E5, P, I4, R>, H<E6, P, I5, R>, H<E7, P, I6, R>, H<E8, P, I7, R>, H<E9, P, I8, R>, H<E10, P, I9, R>];
15
+ <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, I8 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7, I9 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7 & I8, R extends HandlerResponse<any> = any, R2 extends HandlerResponse<any> = any, R3 extends HandlerResponse<any> = any, R4 extends HandlerResponse<any> = any, R5 extends HandlerResponse<any> = any, R6 extends HandlerResponse<any> = any, R7 extends HandlerResponse<any> = any, R8 extends HandlerResponse<any> = any, R9 extends HandlerResponse<any> = any, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E, E2]>, E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>, E5 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4]>, E6 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5]>, E7 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6]>, E8 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7]>, E9 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8]>, E10 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8, E9]>>(handler1: H<E2, P, I, R>, handler2: H<E3, P, I2, R2>, handler3: H<E4, P, I3, R3>, handler4: H<E5, P, I4, R4>, handler5: H<E6, P, I5, R5>, handler6: H<E7, P, I6, R6>, handler7: H<E8, P, I7, R7>, handler8: H<E9, P, I8, R8>, handler9: H<E10, P, I9, R9>): [H<E2, P, I, R>, H<E3, P, I2, R2>, H<E4, P, I3, R3>, H<E5, P, I4, R4>, H<E6, P, I5, R5>, H<E7, P, I6, R6>, H<E8, P, I7, R7>, H<E9, P, I8, R8>, H<E10, P, I9, R9>];
16
16
  <I extends Input = {}, I2 extends Input = I, I3 extends Input = I & I2, I4 extends Input = I & I2 & I3, I5 extends Input = I & I2 & I3 & I4, I6 extends Input = I & I2 & I3 & I4 & I5, I7 extends Input = I & I2 & I3 & I4 & I5 & I6, I8 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7, I9 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7 & I8, I10 extends Input = I & I2 & I3 & I4 & I5 & I6 & I7 & I8 & I9, R extends HandlerResponse<any> = any, R2 extends HandlerResponse<any> = any, R3 extends HandlerResponse<any> = any, R4 extends HandlerResponse<any> = any, R5 extends HandlerResponse<any> = any, R6 extends HandlerResponse<any> = any, R7 extends HandlerResponse<any> = any, R8 extends HandlerResponse<any> = any, R9 extends HandlerResponse<any> = any, R10 extends HandlerResponse<any> = any, E2 extends Env = E, E3 extends Env = IntersectNonAnyTypes<[E, E2]>, E4 extends Env = IntersectNonAnyTypes<[E, E2, E3]>, E5 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4]>, E6 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5]>, E7 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6]>, E8 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7]>, E9 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8]>, E10 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8, E9]>, E11 extends Env = IntersectNonAnyTypes<[E, E2, E3, E4, E5, E6, E7, E8, E9, E10]>>(handler1: H<E2, P, I, R>, handler2: H<E3, P, I2, R2>, handler3: H<E4, P, I3, R3>, handler4: H<E5, P, I4, R4>, handler5: H<E6, P, I5, R5>, handler6: H<E7, P, I6, R6>, handler7: H<E8, P, I7, R7>, handler8: H<E9, P, I8, R8>, handler9: H<E10, P, I9, R9>, handler10: H<E11, P, I10, R10>): [H<E2, P, I, R>, H<E3, P, I2, R2>, H<E4, P, I3, R3>, H<E5, P, I4, R4>, H<E6, P, I5, R5>, H<E7, P, I6, R6>, H<E8, P, I7, R7>, H<E9, P, I8, R8>, H<E10, P, I9, R9>, H<E11, P, I10, R10>];
17
17
  }
18
18
  export declare class Factory<E extends Env = Env, P extends string = string> {
@@ -63,11 +63,16 @@ export declare const fetchRoutesContent: <E extends Env = Env, S extends Schema
63
63
  mimeType: string;
64
64
  content: string | ArrayBuffer;
65
65
  } | undefined>> | undefined>>;
66
+ /**
67
+ * @experimental
68
+ * `saveContentToFile` is an experimental feature.
69
+ * The API might be changed.
70
+ */
66
71
  export declare const saveContentToFile: (data: Promise<{
67
72
  routePath: string;
68
73
  content: string | ArrayBuffer;
69
74
  mimeType: string;
70
- } | undefined>, fsModule: FileSystemModule, outDir: string, extensionMap?: Record<string, string>) => Promise<string | undefined>;
75
+ } | undefined>, fsModule: FileSystemModule, outDir: string, extensionMap?: Record<string, string>, createdDirs?: Set<string>) => Promise<string | undefined>;
71
76
  /**
72
77
  * @experimental
73
78
  * `ToSSGInterface` is an experimental feature.
@@ -1,4 +1,4 @@
1
- import { HtmlEscaped, HtmlEscapedString, StringBufferWithCallbacks } from "../utils/html.js";
1
+ import { HtmlEscaped, HtmlEscapedString, StringBuffer, StringBufferWithCallbacks } from "../utils/html.js";
2
2
  import { DOM_MEMO } from "./constants.js";
3
3
  import { JSX as JSX$1 } from "./intrinsic-elements.js";
4
4
  import { Context } from "./context.js";
@@ -25,7 +25,9 @@ export declare namespace JSX {
25
25
  }
26
26
  }
27
27
  export declare const getNameSpaceContext: () => Context<string> | undefined;
28
- export declare const booleanAttributes: string[];
28
+ export declare const booleanAttributes: Set<string>;
29
+ export declare const markRenderedJSX: (value: HtmlEscapedString) => HtmlEscapedString;
30
+ export declare const attributeToBuffer: (buffer: StringBuffer, prefix: string, key: string, v: unknown, tag?: string) => void;
29
31
  export type Child = string | Promise<string> | number | JSXNode | null | undefined | boolean | Child[];
30
32
  export declare const renderChildren: (children: Child[]) => HtmlEscapedString | Promise<HtmlEscapedString>;
31
33
  export declare const isUntrustedObject: (value: unknown) => boolean;
@@ -5,4 +5,5 @@ export declare const DOM_STASH: unique symbol;
5
5
  export declare const DOM_INTERNAL_TAG: unique symbol;
6
6
  export declare const DOM_MEMO: unique symbol;
7
7
  export declare const PERMALINK: unique symbol;
8
+ export declare const RENDERED_JSX: unique symbol;
8
9
  //#endregion
@@ -3,7 +3,8 @@ import { html } from "../helper/html/index.js";
3
3
  import { Fragment, JSX } from "./base.js";
4
4
  import { jsxDEV } from "./jsx-dev-runtime.js";
5
5
  //#region src/jsx/jsx-runtime.d.ts
6
+ export declare const jsxTemplate: typeof html;
6
7
  export declare const jsxAttr: (key: string, v: string | Promise<string> | Record<string, string | number | null | undefined | boolean>) => HtmlEscapedString | Promise<HtmlEscapedString>;
7
8
  export declare const jsxEscape: (value: string) => string;
8
9
  //#endregion
9
- export { Fragment, type JSX, jsxDEV as jsx, html as jsxTemplate, jsxDEV as jsxs };
10
+ export { Fragment, type JSX, jsxDEV as jsx, jsxDEV as jsxs };
@@ -33,7 +33,7 @@ export type CookieOptions = {
33
33
  prefix?: CookiePrefixOptions;
34
34
  } & PartitionedCookieConstraint;
35
35
  export type CookiePrefixOptions = 'host' | 'secure';
36
- export type CookieConstraint<Name> = Name extends `__Secure-${string}` ? CookieOptions & SecureCookieConstraint : Name extends `__Host-${string}` ? CookieOptions & HostCookieConstraint : CookieOptions;
36
+ export type CookieConstraint<Name> = Lowercase<Name & string> extends `__secure-${string}` ? CookieOptions & SecureCookieConstraint : Lowercase<Name & string> extends `__host-${string}` ? CookieOptions & HostCookieConstraint : CookieOptions;
37
37
  export declare const parse: (cookie: string, name?: string) => Cookie;
38
38
  export declare const parseSigned: (cookie: string, secret: string | BufferSource, name?: string) => Promise<SignedCookie>;
39
39
  export declare const serialize: <Name extends string>(name: Name, value: string, opt?: CookieConstraint<Name>) => string;
@@ -79,8 +79,8 @@ const parseSigned = async (cookie, secret, name) => {
79
79
  const _serialize = (name, value, opt = {}) => {
80
80
  if (!validCookieNameRegEx.test(name)) throw new Error("Invalid cookie name");
81
81
  let cookie = `${name}=${value}`;
82
- if (name.startsWith("__Secure-") && !opt.secure) throw new Error("__Secure- Cookie must have Secure attributes");
83
- if (name.startsWith("__Host-")) {
82
+ if (/^__secure-/i.test(name) && !opt.secure) throw new Error("__Secure- Cookie must have Secure attributes");
83
+ if (/^__host-/i.test(name)) {
84
84
  if (!opt.secure) throw new Error("__Host- Cookie must have Secure attributes");
85
85
  if (opt.path !== "/") throw new Error("__Host- Cookie must have Path attributes with \"/\"");
86
86
  if (opt.domain) throw new Error("__Host- Cookie must not have Domain attributes");
@@ -9,7 +9,7 @@ const getMimeType = (filename, mimes = baseMimes) => {
9
9
  return mimes[match[1].toLowerCase()];
10
10
  };
11
11
  const getExtension = (mimeType) => {
12
- const baseType = mimeType.split(";", 1)[0].trim();
12
+ const baseType = mimeType.split(";", 1)[0].trim().toLowerCase();
13
13
  for (const ext in baseMimes) {
14
14
  const stored = baseMimes[ext];
15
15
  if (stored === mimeType || stored.split(";", 1)[0].trim() === baseType) return ext;
@@ -161,7 +161,7 @@ const _getQueryParam = (url, key, multiple) => {
161
161
  const hashIndex = url.indexOf("#", 8);
162
162
  if (hashIndex !== -1) url = url.slice(0, hashIndex);
163
163
  let encoded;
164
- if (!multiple && key && key.indexOf("%") === -1 && key.indexOf("+") === -1) {
164
+ if (!multiple && key && !/[%+&=]/.test(key)) {
165
165
  const queryIndex = url.indexOf("?", 8);
166
166
  let keyIndex = queryIndex;
167
167
  if (keyIndex === -1) return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hono",
3
- "version": "4.13.16",
3
+ "version": "4.13.17",
4
4
  "description": "Web framework built on Web Standards",
5
5
  "main": "dist/cjs/index.js",
6
6
  "type": "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "7.14.6",
3
+ "version": "7.15.0",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -31,10 +31,10 @@
31
31
  "@opentelemetry/api": "1.9.0",
32
32
  "@opentelemetry/api-logs": "0.220.0",
33
33
  "@swc/core": "1.10.18",
34
- "@zuplo/core": "7.14.6",
34
+ "@zuplo/core": "7.15.0",
35
35
  "@zuplo/editor": "1.0.39603386871",
36
- "@zuplo/openapi-tools": "7.14.6",
37
- "@zuplo/runtime": "7.14.6",
36
+ "@zuplo/openapi-tools": "7.15.0",
37
+ "@zuplo/runtime": "7.15.0",
38
38
  "chalk": "5.4.1",
39
39
  "chokidar": "3.5.3",
40
40
  "cookie": "1.0.2",
@@ -65,15 +65,15 @@
65
65
  "workerd": "1.20261002.1",
66
66
  "yargs": "17.7.2",
67
67
  "zod": "4.6.7",
68
- "@zuplo/graphql": "7.14.6",
69
- "@zuplo/otel": "7.14.6"
68
+ "@zuplo/graphql": "7.15.0",
69
+ "@zuplo/otel": "7.15.0"
70
70
  },
71
71
  "optionalDependencies": {
72
- "@zuplo/lint-darwin-arm64": "7.14.6",
73
- "@zuplo/lint-darwin-x64": "7.14.6",
74
- "@zuplo/lint-linux-x64": "7.14.6",
75
- "@zuplo/lint-linux-arm64": "7.14.6",
76
- "@zuplo/lint-win32-x64": "7.14.6"
72
+ "@zuplo/lint-darwin-arm64": "7.15.0",
73
+ "@zuplo/lint-darwin-x64": "7.15.0",
74
+ "@zuplo/lint-linux-x64": "7.15.0",
75
+ "@zuplo/lint-linux-arm64": "7.15.0",
76
+ "@zuplo/lint-win32-x64": "7.15.0"
77
77
  },
78
78
  "bundleDependencies": [
79
79
  "@inquirer/prompts",