@zuplo/cli 6.74.10 → 6.74.12

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 (88) hide show
  1. package/node_modules/@hono/node-server/README.md +47 -1
  2. package/node_modules/@hono/node-server/dist/early-hints.cjs +35 -0
  3. package/node_modules/@hono/node-server/dist/early-hints.d.cts +16 -0
  4. package/node_modules/@hono/node-server/dist/early-hints.d.mts +16 -0
  5. package/node_modules/@hono/node-server/dist/early-hints.mjs +33 -0
  6. package/node_modules/@hono/node-server/dist/index.cjs +4 -1
  7. package/node_modules/@hono/node-server/dist/index.mjs +4 -1
  8. package/node_modules/@hono/node-server/package.json +14 -1
  9. package/node_modules/@zuplo/core/package.json +1 -1
  10. package/node_modules/@zuplo/graphql/out/esm/index.js +12 -12
  11. package/node_modules/@zuplo/graphql/package.json +1 -1
  12. package/node_modules/@zuplo/openapi-tools/package.json +2 -2
  13. package/node_modules/@zuplo/otel/out/esm/{chunk-TXIQ6WNA.js → chunk-AHNBOCFU.js} +1 -1
  14. package/node_modules/@zuplo/otel/out/esm/index.js +1 -1
  15. package/node_modules/@zuplo/otel/package.json +1 -1
  16. package/node_modules/@zuplo/runtime/out/esm/chunk-AVDTZRWM.js +26 -0
  17. package/node_modules/@zuplo/runtime/out/esm/chunk-AVDTZRWM.js.map +1 -0
  18. package/node_modules/@zuplo/runtime/out/esm/{chunk-2EFTGELI.js → chunk-VVVYHDCV.js} +94 -92
  19. package/node_modules/@zuplo/runtime/out/esm/chunk-VVVYHDCV.js.map +1 -0
  20. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  21. package/node_modules/@zuplo/runtime/out/esm/index.js.map +1 -1
  22. package/node_modules/@zuplo/runtime/out/esm/internal/index.js +1 -1
  23. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
  24. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  25. package/node_modules/@zuplo/runtime/out/types/index.d.ts +177 -0
  26. package/node_modules/@zuplo/runtime/package.json +1 -1
  27. package/node_modules/hono/dist/cjs/context.js +28 -13
  28. package/node_modules/hono/dist/cjs/hono-base.js +3 -2
  29. package/node_modules/hono/dist/cjs/jsx/base.js +26 -14
  30. package/node_modules/hono/dist/cjs/jsx/hooks/index.js +2 -2
  31. package/node_modules/hono/dist/cjs/middleware/cache/index.js +103 -8
  32. package/node_modules/hono/dist/cjs/middleware/compress/index.js +5 -0
  33. package/node_modules/hono/dist/cjs/middleware/cors/index.js +1 -1
  34. package/node_modules/hono/dist/cjs/middleware/etag/index.js +1 -1
  35. package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +9 -4
  36. package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +9 -4
  37. package/node_modules/hono/dist/cjs/middleware/method-not-allowed/index.js +90 -0
  38. package/node_modules/hono/dist/cjs/request.js +6 -8
  39. package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +55 -56
  40. package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +64 -85
  41. package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +13 -5
  42. package/node_modules/hono/dist/cjs/router.js +1 -1
  43. package/node_modules/hono/dist/cjs/utils/cookie.js +1 -1
  44. package/node_modules/hono/dist/cjs/utils/url.js +7 -7
  45. package/node_modules/hono/dist/context.js +28 -13
  46. package/node_modules/hono/dist/hono-base.js +3 -2
  47. package/node_modules/hono/dist/jsx/base.js +26 -14
  48. package/node_modules/hono/dist/jsx/hooks/index.js +2 -2
  49. package/node_modules/hono/dist/middleware/cache/index.js +103 -8
  50. package/node_modules/hono/dist/middleware/compress/index.js +5 -0
  51. package/node_modules/hono/dist/middleware/cors/index.js +1 -1
  52. package/node_modules/hono/dist/middleware/etag/index.js +1 -1
  53. package/node_modules/hono/dist/middleware/jwk/jwk.js +9 -4
  54. package/node_modules/hono/dist/middleware/jwt/jwt.js +9 -4
  55. package/node_modules/hono/dist/middleware/method-not-allowed/index.js +68 -0
  56. package/node_modules/hono/dist/request.js +7 -9
  57. package/node_modules/hono/dist/router/reg-exp-router/node.js +55 -56
  58. package/node_modules/hono/dist/router/reg-exp-router/router.js +64 -85
  59. package/node_modules/hono/dist/router/reg-exp-router/trie.js +13 -5
  60. package/node_modules/hono/dist/router.js +1 -1
  61. package/node_modules/hono/dist/types/client/types.d.ts +1 -1
  62. package/node_modules/hono/dist/types/hono-base.d.ts +4 -3
  63. package/node_modules/hono/dist/types/jsx/base.d.ts +4 -2
  64. package/node_modules/hono/dist/types/jsx/dom/index.d.ts +5 -5
  65. package/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +2 -2
  66. package/node_modules/hono/dist/types/jsx/dom/server.d.ts +5 -5
  67. package/node_modules/hono/dist/types/jsx/hooks/index.d.ts +8 -6
  68. package/node_modules/hono/dist/types/jsx/index.d.ts +5 -5
  69. package/node_modules/hono/dist/types/middleware/cache/index.d.ts +6 -4
  70. package/node_modules/hono/dist/types/middleware/cors/index.d.ts +1 -1
  71. package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +2 -2
  72. package/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +2 -0
  73. package/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +2 -0
  74. package/node_modules/hono/dist/types/middleware/method-not-allowed/index.d.ts +49 -0
  75. package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +1 -1
  76. package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +2 -1
  77. package/node_modules/hono/dist/types/router.d.ts +1 -1
  78. package/node_modules/hono/dist/types/utils/headers.d.ts +2 -2
  79. package/node_modules/hono/dist/types/utils/url.d.ts +1 -0
  80. package/node_modules/hono/dist/utils/cookie.js +2 -2
  81. package/node_modules/hono/dist/utils/url.js +5 -6
  82. package/node_modules/hono/package.json +9 -1
  83. package/package.json +6 -6
  84. package/node_modules/@zuplo/runtime/out/esm/chunk-2EFTGELI.js.map +0 -1
  85. package/node_modules/@zuplo/runtime/out/esm/chunk-ZB7PAWBM.js +0 -26
  86. package/node_modules/@zuplo/runtime/out/esm/chunk-ZB7PAWBM.js.map +0 -1
  87. /package/node_modules/@zuplo/otel/out/esm/{chunk-TXIQ6WNA.js.map → chunk-AHNBOCFU.js.map} +0 -0
  88. /package/node_modules/@zuplo/runtime/out/esm/{chunk-2EFTGELI.js.LEGAL.txt → chunk-VVVYHDCV.js.LEGAL.txt} +0 -0
@@ -2,7 +2,7 @@
2
2
  * @module
3
3
  * HTTP Headers utility.
4
4
  */
5
- export type RequestHeader = 'A-IM' | 'Accept' | 'Accept-Additions' | 'Accept-CH' | 'Accept-Charset' | 'Accept-Datetime' | 'Accept-Encoding' | 'Accept-Features' | 'Accept-Language' | 'Accept-Patch' | 'Accept-Post' | 'Accept-Ranges' | 'Accept-Signature' | 'Access-Control' | 'Access-Control-Allow-Credentials' | 'Access-Control-Allow-Headers' | 'Access-Control-Allow-Methods' | 'Access-Control-Allow-Origin' | 'Access-Control-Expose-Headers' | 'Access-Control-Max-Age' | 'Access-Control-Request-Headers' | 'Access-Control-Request-Method' | 'Age' | 'Allow' | 'ALPN' | 'Alt-Svc' | 'Alt-Used' | 'Alternates' | 'AMP-Cache-Transform' | 'Apply-To-Redirect-Ref' | 'Authentication-Control' | 'Authentication-Info' | 'Authorization' | 'Available-Dictionary' | 'C-Ext' | 'C-Man' | 'C-Opt' | 'C-PEP' | 'C-PEP-Info' | 'Cache-Control' | 'Cache-Status' | 'Cal-Managed-ID' | 'CalDAV-Timezones' | 'Capsule-Protocol' | 'CDN-Cache-Control' | 'CDN-Loop' | 'Cert-Not-After' | 'Cert-Not-Before' | 'Clear-Site-Data' | 'Client-Cert' | 'Client-Cert-Chain' | 'Close' | 'CMCD-Object' | 'CMCD-Request' | 'CMCD-Session' | 'CMCD-Status' | 'CMSD-Dynamic' | 'CMSD-Static' | 'Concealed-Auth-Export' | 'Configuration-Context' | 'Connection' | 'Content-Base' | 'Content-Digest' | 'Content-Disposition' | 'Content-Encoding' | 'Content-ID' | 'Content-Language' | 'Content-Length' | 'Content-Location' | 'Content-MD5' | 'Content-Range' | 'Content-Script-Type' | 'Content-Security-Policy' | 'Content-Security-Policy-Report-Only' | 'Content-Style-Type' | 'Content-Type' | 'Content-Version' | 'Cookie' | 'Cookie2' | 'Cross-Origin-Embedder-Policy' | 'Cross-Origin-Embedder-Policy-Report-Only' | 'Cross-Origin-Opener-Policy' | 'Cross-Origin-Opener-Policy-Report-Only' | 'Cross-Origin-Resource-Policy' | 'CTA-Common-Access-Token' | 'DASL' | 'Date' | 'DAV' | 'Default-Style' | 'Delta-Base' | 'Deprecation' | 'Depth' | 'Derived-From' | 'Destination' | 'Differential-ID' | 'Dictionary-ID' | 'Digest' | 'DPoP' | 'DPoP-Nonce' | 'Early-Data' | 'EDIINT-Features' | 'ETag' | 'Expect' | 'Expect-CT' | 'Expires' | 'Ext' | 'Forwarded' | 'From' | 'GetProfile' | 'Hobareg' | 'Host' | 'HTTP2-Settings' | 'If' | 'If-Match' | 'If-Modified-Since' | 'If-None-Match' | 'If-Range' | 'If-Schedule-Tag-Match' | 'If-Unmodified-Since' | 'IM' | 'Include-Referred-Token-Binding-ID' | 'Isolation' | 'Keep-Alive' | 'Label' | 'Last-Event-ID' | 'Last-Modified' | 'Link' | 'Link-Template' | 'Location' | 'Lock-Token' | 'Man' | 'Max-Forwards' | 'Memento-Datetime' | 'Meter' | 'Method-Check' | 'Method-Check-Expires' | 'MIME-Version' | 'Negotiate' | 'NEL' | 'OData-EntityId' | 'OData-Isolation' | 'OData-MaxVersion' | 'OData-Version' | 'Opt' | 'Optional-WWW-Authenticate' | 'Ordering-Type' | 'Origin' | 'Origin-Agent-Cluster' | 'OSCORE' | 'OSLC-Core-Version' | 'Overwrite' | 'P3P' | 'PEP' | 'PEP-Info' | 'Permissions-Policy' | 'PICS-Label' | 'Ping-From' | 'Ping-To' | 'Position' | 'Pragma' | 'Prefer' | 'Preference-Applied' | 'Priority' | 'ProfileObject' | 'Protocol' | 'Protocol-Info' | 'Protocol-Query' | 'Protocol-Request' | 'Proxy-Authenticate' | 'Proxy-Authentication-Info' | 'Proxy-Authorization' | 'Proxy-Features' | 'Proxy-Instruction' | 'Proxy-Status' | 'Public' | 'Public-Key-Pins' | 'Public-Key-Pins-Report-Only' | 'Range' | 'Redirect-Ref' | 'Referer' | 'Referer-Root' | 'Referrer-Policy' | 'Refresh' | 'Repeatability-Client-ID' | 'Repeatability-First-Sent' | 'Repeatability-Request-ID' | 'Repeatability-Result' | 'Replay-Nonce' | 'Reporting-Endpoints' | 'Repr-Digest' | 'Retry-After' | 'Safe' | 'Schedule-Reply' | 'Schedule-Tag' | 'Sec-GPC' | 'Sec-Purpose' | 'Sec-Token-Binding' | 'Sec-WebSocket-Accept' | 'Sec-WebSocket-Extensions' | 'Sec-WebSocket-Key' | 'Sec-WebSocket-Protocol' | 'Sec-WebSocket-Version' | 'Security-Scheme' | 'Server' | 'Server-Timing' | 'Set-Cookie' | 'Set-Cookie2' | 'SetProfile' | 'Signature' | 'Signature-Input' | 'SLUG' | 'SoapAction' | 'Status-URI' | 'Strict-Transport-Security' | 'Sunset' | 'Surrogate-Capability' | 'Surrogate-Control' | 'TCN' | 'TE' | 'Timeout' | 'Timing-Allow-Origin' | 'Topic' | 'Traceparent' | 'Tracestate' | 'Trailer' | 'Transfer-Encoding' | 'TTL' | 'Upgrade' | 'Urgency' | 'URI' | 'Use-As-Dictionary' | 'User-Agent' | 'Variant-Vary' | 'Vary' | 'Via' | 'Want-Content-Digest' | 'Want-Digest' | 'Want-Repr-Digest' | 'Warning' | 'WWW-Authenticate' | 'X-Content-Type-Options' | 'X-Frame-Options';
6
- export type ResponseHeader = 'Access-Control-Allow-Credentials' | 'Access-Control-Allow-Headers' | 'Access-Control-Allow-Methods' | 'Access-Control-Allow-Origin' | 'Access-Control-Expose-Headers' | 'Access-Control-Max-Age' | 'Age' | 'Allow' | 'Cache-Control' | 'Clear-Site-Data' | 'Content-Disposition' | 'Content-Encoding' | 'Content-Language' | 'Content-Length' | 'Content-Location' | 'Content-Range' | 'Content-Security-Policy' | 'Content-Security-Policy-Report-Only' | 'Content-Type' | 'Cookie' | 'Cross-Origin-Embedder-Policy' | 'Cross-Origin-Opener-Policy' | 'Cross-Origin-Resource-Policy' | 'Date' | 'ETag' | 'Expires' | 'Last-Modified' | 'Location' | 'Permissions-Policy' | 'Pragma' | 'Retry-After' | 'Save-Data' | 'Sec-CH-Prefers-Color-Scheme' | 'Sec-CH-Prefers-Reduced-Motion' | 'Sec-CH-UA' | 'Sec-CH-UA-Arch' | 'Sec-CH-UA-Bitness' | 'Sec-CH-UA-Form-Factor' | 'Sec-CH-UA-Full-Version' | 'Sec-CH-UA-Full-Version-List' | 'Sec-CH-UA-Mobile' | 'Sec-CH-UA-Model' | 'Sec-CH-UA-Platform' | 'Sec-CH-UA-Platform-Version' | 'Sec-CH-UA-WoW64' | 'Sec-Fetch-Dest' | 'Sec-Fetch-Mode' | 'Sec-Fetch-Site' | 'Sec-Fetch-User' | 'Sec-GPC' | 'Server' | 'Server-Timing' | 'Service-Worker-Navigation-Preload' | 'Set-Cookie' | 'Strict-Transport-Security' | 'Timing-Allow-Origin' | 'Trailer' | 'Transfer-Encoding' | 'Upgrade' | 'Vary' | 'WWW-Authenticate' | 'Warning' | 'X-Content-Type-Options' | 'X-DNS-Prefetch-Control' | 'X-Frame-Options' | 'X-Permitted-Cross-Domain-Policies' | 'X-Powered-By' | 'X-Robots-Tag' | 'X-XSS-Protection';
5
+ export type RequestHeader = 'A-IM' | 'Accept' | 'Accept-Additions' | 'Accept-CH' | 'Accept-Charset' | 'Accept-Datetime' | 'Accept-Encoding' | 'Accept-Features' | 'Accept-Language' | 'Accept-Patch' | 'Accept-Post' | 'Accept-Query' | 'Accept-Ranges' | 'Accept-Signature' | 'Access-Control' | 'Access-Control-Allow-Credentials' | 'Access-Control-Allow-Headers' | 'Access-Control-Allow-Methods' | 'Access-Control-Allow-Origin' | 'Access-Control-Expose-Headers' | 'Access-Control-Max-Age' | 'Access-Control-Request-Headers' | 'Access-Control-Request-Method' | 'Activate-Storage-Access' | 'Age' | 'Allow' | 'ALPN' | 'Alt-Svc' | 'Alt-Used' | 'Alternates' | 'AMP-Cache-Transform' | 'Apply-To-Redirect-Ref' | 'Authentication-Control' | 'Authentication-Info' | 'Authorization' | 'Available-Dictionary' | 'C-Ext' | 'C-Man' | 'C-Opt' | 'C-PEP' | 'C-PEP-Info' | 'Cache-Control' | 'Cache-Group-Invalidation' | 'Cache-Groups' | 'Cache-Status' | 'Cal-Managed-ID' | 'CalDAV-Timezones' | 'Capsule-Protocol' | 'CDN-Cache-Control' | 'CDN-Loop' | 'Cert-Not-After' | 'Cert-Not-Before' | 'Clear-Site-Data' | 'Client-Cert' | 'Client-Cert-Chain' | 'Close' | 'CMCD-Object' | 'CMCD-Request' | 'CMCD-Session' | 'CMCD-Status' | 'CMSD-Dynamic' | 'CMSD-Static' | 'Concealed-Auth-Export' | 'Configuration-Context' | 'Connection' | 'Content-Base' | 'Content-Digest' | 'Content-Disposition' | 'Content-Encoding' | 'Content-ID' | 'Content-Language' | 'Content-Length' | 'Content-Location' | 'Content-MD5' | 'Content-Range' | 'Content-Script-Type' | 'Content-Security-Policy' | 'Content-Security-Policy-Report-Only' | 'Content-Style-Type' | 'Content-Type' | 'Content-Version' | 'Cookie' | 'Cookie2' | 'Cross-Origin-Embedder-Policy' | 'Cross-Origin-Embedder-Policy-Report-Only' | 'Cross-Origin-Opener-Policy' | 'Cross-Origin-Opener-Policy-Report-Only' | 'Cross-Origin-Resource-Policy' | 'CTA-Common-Access-Token' | 'DASL' | 'Date' | 'DAV' | 'Default-Style' | 'Delta-Base' | 'Deprecation' | 'Depth' | 'Derived-From' | 'Destination' | 'Detached-JWS' | 'Differential-ID' | 'Dictionary-ID' | 'Digest' | 'DPoP' | 'DPoP-Nonce' | 'Early-Data' | 'EDIINT-Features' | 'ETag' | 'Expect' | 'Expect-CT' | 'Expires' | 'Ext' | 'Forwarded' | 'From' | 'GetProfile' | 'Hobareg' | 'Host' | 'HTTP2-Settings' | 'If' | 'If-Match' | 'If-Modified-Since' | 'If-None-Match' | 'If-Range' | 'If-Schedule-Tag-Match' | 'If-Unmodified-Since' | 'IM' | 'Include-Referred-Token-Binding-ID' | 'Incremental' | 'Isolation' | 'Keep-Alive' | 'Label' | 'Last-Event-ID' | 'Last-Modified' | 'Link' | 'Link-Template' | 'Location' | 'Lock-Token' | 'Man' | 'Max-Forwards' | 'Memento-Datetime' | 'Meter' | 'Method-Check' | 'Method-Check-Expires' | 'MIME-Version' | 'Negotiate' | 'NEL' | 'OData-EntityId' | 'OData-Isolation' | 'OData-MaxVersion' | 'OData-Version' | 'Opt' | 'Optional-WWW-Authenticate' | 'Ordering-Type' | 'Origin' | 'Origin-Agent-Cluster' | 'OSCORE' | 'OSLC-Core-Version' | 'Overwrite' | 'P3P' | 'PEP' | 'PEP-Info' | 'Permissions-Policy' | 'PICS-Label' | 'Ping-From' | 'Ping-To' | 'Position' | 'Pragma' | 'Prefer' | 'Preference-Applied' | 'Priority' | 'ProfileObject' | 'Protocol' | 'Protocol-Info' | 'Protocol-Query' | 'Protocol-Request' | 'Proxy-Authenticate' | 'Proxy-Authentication-Info' | 'Proxy-Authorization' | 'Proxy-Features' | 'Proxy-Instruction' | 'Proxy-Status' | 'Public' | 'Public-Key-Pins' | 'Public-Key-Pins-Report-Only' | 'Range' | 'Redirect-Ref' | 'Referer' | 'Referer-Root' | 'Referrer-Policy' | 'Refresh' | 'Repeatability-Client-ID' | 'Repeatability-First-Sent' | 'Repeatability-Request-ID' | 'Repeatability-Result' | 'Replay-Nonce' | 'Reporting-Endpoints' | 'Repr-Digest' | 'Retry-After' | 'Safe' | 'Schedule-Reply' | 'Schedule-Tag' | 'Sec-Fetch-Dest' | 'Sec-Fetch-Mode' | 'Sec-Fetch-Site' | 'Sec-Fetch-Storage-Access' | 'Sec-Fetch-User' | 'Sec-GPC' | 'Sec-Purpose' | 'Sec-Token-Binding' | 'Sec-WebSocket-Accept' | 'Sec-WebSocket-Extensions' | 'Sec-WebSocket-Key' | 'Sec-WebSocket-Protocol' | 'Sec-WebSocket-Version' | 'Security-Scheme' | 'Server' | 'Server-Timing' | 'Set-Cookie' | 'Set-Cookie2' | 'Set-Txn' | 'SetProfile' | 'Signature' | 'Signature-Input' | 'SLUG' | 'SoapAction' | 'Status-URI' | 'Strict-Transport-Security' | 'Sunset' | 'Surrogate-Capability' | 'Surrogate-Control' | 'TCN' | 'TE' | 'Timeout' | 'Timing-Allow-Origin' | 'Topic' | 'Traceparent' | 'Tracestate' | 'Trailer' | 'Transfer-Encoding' | 'TTL' | 'Unencoded-Digest' | 'Upgrade' | 'Urgency' | 'URI' | 'Use-As-Dictionary' | 'User-Agent' | 'Variant-Vary' | 'Vary' | 'Via' | 'Want-Content-Digest' | 'Want-Digest' | 'Want-Repr-Digest' | 'Want-Unencoded-Digest' | 'Warning' | 'WWW-Authenticate' | 'X-Content-Type-Options' | 'X-Frame-Options';
6
+ export type ResponseHeader = 'Accept-Query' | 'Access-Control-Allow-Credentials' | 'Access-Control-Allow-Headers' | 'Access-Control-Allow-Methods' | 'Access-Control-Allow-Origin' | 'Access-Control-Expose-Headers' | 'Access-Control-Max-Age' | 'Activate-Storage-Access' | 'Age' | 'Allow' | 'Cache-Control' | 'Cache-Group-Invalidation' | 'Cache-Groups' | 'Clear-Site-Data' | 'Content-Disposition' | 'Content-Encoding' | 'Content-Language' | 'Content-Length' | 'Content-Location' | 'Content-Range' | 'Content-Security-Policy' | 'Content-Security-Policy-Report-Only' | 'Content-Type' | 'Cookie' | 'Cross-Origin-Embedder-Policy' | 'Cross-Origin-Opener-Policy' | 'Cross-Origin-Resource-Policy' | 'Date' | 'ETag' | 'Expires' | 'Incremental' | 'Last-Modified' | 'Location' | 'Permissions-Policy' | 'Pragma' | 'Retry-After' | 'Save-Data' | 'Sec-CH-Prefers-Color-Scheme' | 'Sec-CH-Prefers-Reduced-Motion' | 'Sec-CH-UA' | 'Sec-CH-UA-Arch' | 'Sec-CH-UA-Bitness' | 'Sec-CH-UA-Form-Factor' | 'Sec-CH-UA-Full-Version' | 'Sec-CH-UA-Full-Version-List' | 'Sec-CH-UA-Mobile' | 'Sec-CH-UA-Model' | 'Sec-CH-UA-Platform' | 'Sec-CH-UA-Platform-Version' | 'Sec-CH-UA-WoW64' | 'Sec-Fetch-Dest' | 'Sec-Fetch-Mode' | 'Sec-Fetch-Site' | 'Sec-Fetch-User' | 'Sec-GPC' | 'Server' | 'Server-Timing' | 'Service-Worker-Navigation-Preload' | 'Set-Cookie' | 'Set-Txn' | 'Strict-Transport-Security' | 'Timing-Allow-Origin' | 'Trailer' | 'Transfer-Encoding' | 'Unencoded-Digest' | 'Upgrade' | 'Vary' | 'Want-Unencoded-Digest' | 'Warning' | 'WWW-Authenticate' | 'X-Content-Type-Options' | 'X-DNS-Prefetch-Control' | 'X-Frame-Options' | 'X-Permitted-Cross-Domain-Policies' | 'X-Powered-By' | 'X-Robots-Tag' | 'X-XSS-Protection';
7
7
  export type AcceptHeader = 'Accept' | 'Accept-Charset' | 'Accept-Encoding' | 'Accept-Language' | 'Accept-Patch' | 'Accept-Post' | 'Accept-Ranges';
8
8
  export type CustomHeader = string & {};
@@ -33,6 +33,7 @@ export declare const getPathNoStrict: (request: Request) => string;
33
33
  */
34
34
  export declare const mergePath: (...paths: string[]) => string;
35
35
  export declare const checkOptionalParameter: (path: string) => string[] | null;
36
+ export declare const tryDecodeURIComponent: (str: string) => string;
36
37
  export declare const getQueryParam: (url: string, key?: string) => string | undefined | Record<string, string>;
37
38
  export declare const getQueryParams: (url: string, key?: string) => string[] | undefined | Record<string, string[]>;
38
39
  export declare const decodeURIComponent_: typeof decodeURIComponent;
@@ -1,5 +1,5 @@
1
1
  // src/utils/cookie.ts
2
- import { decodeURIComponent_, tryDecode } from "./url.js";
2
+ import { tryDecodeURIComponent } from "./url.js";
3
3
  var algorithm = { name: "HMAC", hash: "SHA-256" };
4
4
  var getCryptoKey = async (secret) => {
5
5
  const secretBuf = typeof secret === "string" ? new TextEncoder().encode(secret) : secret;
@@ -64,7 +64,7 @@ var parse = (cookie, name) => {
64
64
  cookieValue = cookieValue.slice(1, -1);
65
65
  }
66
66
  if (validCookieValueRegEx.test(cookieValue)) {
67
- parsedCookie[cookieName] = cookieValue.indexOf("%") !== -1 ? tryDecode(cookieValue, decodeURIComponent_) : cookieValue;
67
+ parsedCookie[cookieName] = tryDecodeURIComponent(cookieValue);
68
68
  if (name) {
69
69
  break;
70
70
  }
@@ -124,18 +124,16 @@ var checkOptionalParameter = (path) => {
124
124
  });
125
125
  return results.filter((v, i, a) => a.indexOf(v) === i);
126
126
  };
127
+ var tryDecodeURIComponent = (str) => str.indexOf("%") !== -1 ? tryDecode(str, decodeURIComponent_) : str;
127
128
  var _decodeURI = (value) => {
128
- if (!/[%+]/.test(value)) {
129
- return value;
130
- }
131
129
  if (value.indexOf("+") !== -1) {
132
130
  value = value.replace(/\+/g, " ");
133
131
  }
134
- return value.indexOf("%") !== -1 ? tryDecode(value, decodeURIComponent_) : value;
132
+ return tryDecodeURIComponent(value);
135
133
  };
136
134
  var _getQueryParam = (url, key, multiple) => {
137
135
  let encoded;
138
- if (!multiple && key && !/[%+]/.test(key)) {
136
+ if (!multiple && key && key.indexOf("%") === -1 && key.indexOf("+") === -1) {
139
137
  let keyIndex2 = url.indexOf("?", 8);
140
138
  if (keyIndex2 === -1) {
141
139
  return void 0;
@@ -218,5 +216,6 @@ export {
218
216
  splitPath,
219
217
  splitRoutingPath,
220
218
  tryDecode,
221
- tryDecodeURI
219
+ tryDecodeURI,
220
+ tryDecodeURIComponent
222
221
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hono",
3
- "version": "4.12.34",
3
+ "version": "4.13.0",
4
4
  "description": "Web framework built on Web Standards",
5
5
  "main": "dist/cjs/index.js",
6
6
  "type": "module",
@@ -231,6 +231,11 @@
231
231
  "import": "./dist/middleware/logger/index.js",
232
232
  "require": "./dist/cjs/middleware/logger/index.js"
233
233
  },
234
+ "./method-not-allowed": {
235
+ "types": "./dist/types/middleware/method-not-allowed/index.d.ts",
236
+ "import": "./dist/middleware/method-not-allowed/index.js",
237
+ "require": "./dist/cjs/middleware/method-not-allowed/index.js"
238
+ },
234
239
  "./method-override": {
235
240
  "types": "./dist/types/middleware/method-override/index.d.ts",
236
241
  "import": "./dist/middleware/method-override/index.js",
@@ -528,6 +533,9 @@
528
533
  "logger": [
529
534
  "./dist/types/middleware/logger"
530
535
  ],
536
+ "method-not-allowed": [
537
+ "./dist/types/middleware/method-not-allowed"
538
+ ],
531
539
  "method-override": [
532
540
  "./dist/types/middleware/method-override"
533
541
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "6.74.10",
3
+ "version": "6.74.12",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -27,10 +27,10 @@
27
27
  "@opentelemetry/api": "1.9.0",
28
28
  "@opentelemetry/api-logs": "0.220.0",
29
29
  "@swc/core": "1.10.18",
30
- "@zuplo/core": "6.74.10",
30
+ "@zuplo/core": "6.74.12",
31
31
  "@zuplo/editor": "1.0.30764218565",
32
- "@zuplo/openapi-tools": "6.74.10",
33
- "@zuplo/runtime": "6.74.10",
32
+ "@zuplo/openapi-tools": "6.74.12",
33
+ "@zuplo/runtime": "6.74.12",
34
34
  "chalk": "5.4.1",
35
35
  "chokidar": "3.5.3",
36
36
  "cookie": "1.0.2",
@@ -61,8 +61,8 @@
61
61
  "workerd": "1.20241230.0",
62
62
  "yargs": "17.7.2",
63
63
  "zod": "4.4.3",
64
- "@zuplo/graphql": "6.74.10",
65
- "@zuplo/otel": "6.74.10"
64
+ "@zuplo/graphql": "6.74.12",
65
+ "@zuplo/otel": "6.74.12"
66
66
  },
67
67
  "bundleDependencies": [
68
68
  "@inquirer/prompts",