@skyramp/mcp 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/build/index.js +47 -2
  2. package/build/playwright/PlaywrightTraceService.d.ts +8 -0
  3. package/build/playwright/PlaywrightTraceService.js +1 -0
  4. package/build/prompts/pom-aware-code-reuse.js +17 -8
  5. package/build/prompts/testbot/testbot-prompts.d.ts +2 -12
  6. package/build/prompts/testbot/testbot-prompts.js +24 -5
  7. package/build/resources/testbotResource.js +21 -4
  8. package/build/services/TestExecutionService.d.ts +13 -8
  9. package/build/services/TestExecutionService.js +48 -25
  10. package/build/services/containerEnv.js +24 -0
  11. package/build/tools/queryProxyMocksTool.js +0 -1
  12. package/build/tools/submitReportTool.js +10 -1
  13. package/build/tools/test-management/actionsTool.js +12 -2
  14. package/build/types/TestAnalysis.d.ts +7 -3
  15. package/build/types/TestbotPromptOptions.d.ts +35 -0
  16. package/build/types/TestbotPromptOptions.js +1 -0
  17. package/build/types/index.d.ts +1 -0
  18. package/build/utils/frontendSelectors.js +0 -1
  19. package/build/utils/gitStaging.d.ts +5 -0
  20. package/build/utils/gitStaging.js +1 -1
  21. package/build/utils/pom-catalog.d.ts +23 -0
  22. package/build/utils/pom-catalog.js +30 -0
  23. package/build/utils/pom-scope/pom-files.d.ts +14 -0
  24. package/build/utils/pom-scope/pom-files.js +32 -6
  25. package/build/utils/pom-scope/testIdDiscovery.d.ts +40 -0
  26. package/build/utils/pom-scope/testIdDiscovery.js +104 -0
  27. package/build/utils/reportVerification.d.ts +7 -2
  28. package/build/utils/reportVerification.js +9 -3
  29. package/build/utils/versions.d.ts +3 -3
  30. package/build/utils/versions.js +1 -1
  31. package/node_modules/playwright/ThirdPartyNotices.txt +319 -266
  32. package/node_modules/playwright/lib/dom-analyzer/blueprint.js +154 -27
  33. package/node_modules/playwright/lib/dom-analyzer/crawler.js +2 -2
  34. package/node_modules/playwright/lib/mcp/browser/tools/pageBlueprint.js +1 -1
  35. package/node_modules/playwright/lib/mcp/browser/tools/sitemap.js +6 -2
  36. package/node_modules/playwright/lib/mcp/skyramp/loadTraceTool.js +3 -2
  37. package/node_modules/playwright/lib/mcp/skyramp/resultCode.js +4 -3
  38. package/node_modules/playwright/lib/mcp/skyramp/skyRampImport.js +15 -3
  39. package/node_modules/playwright/lib/mcp/skyramp/specImport.js +781 -0
  40. package/node_modules/playwright/lib/mcp/skyramp/traceRecordingBackend.js +14 -3
  41. package/node_modules/playwright/lib/mcp/test/resultCode.test.js +2 -1
  42. package/node_modules/playwright/lib/mcp/test/skyRampExport.js +1 -1
  43. package/node_modules/playwright/lib/mcp/test/skyRampExport.test.js +30 -0
  44. package/node_modules/playwright/lib/transform/babelBundleImpl.js +200 -199
  45. package/node_modules/playwright/node_modules/playwright-core/ThirdPartyNotices.txt +3 -3
  46. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/.package-lock.json +3 -3
  47. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/adapter/aws-lambda/handler.js +16 -25
  48. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/adapter/bun/websocket.js +3 -1
  49. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/adapter/lambda-edge/handler.js +20 -4
  50. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +16 -25
  51. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/adapter/bun/websocket.js +3 -1
  52. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +20 -4
  53. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/client/client.js +10 -1
  54. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/client/utils.js +1 -1
  55. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/css/common.js +3 -1
  56. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/helper/css/index.js +9 -1
  57. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/base.js +8 -14
  58. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/components.js +41 -21
  59. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/context.js +131 -5
  60. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/jsx/streaming.js +9 -7
  61. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +1 -1
  62. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/cache/index.js +1 -1
  63. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/compress/index.js +2 -1
  64. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/cors/index.js +2 -5
  65. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/etag/index.js +2 -1
  66. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/language/language.js +10 -32
  67. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/method-override/index.js +5 -3
  68. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/serve-static/index.js +2 -2
  69. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/middleware/timing/timing.js +3 -1
  70. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/router/trie-router/node.js +9 -0
  71. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/body.js +12 -4
  72. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/buffer.js +2 -1
  73. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/utils/ipaddr.js +6 -1
  74. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/cjs/validator/validator.js +3 -3
  75. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/client/client.js +10 -1
  76. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/client/utils.js +1 -1
  77. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/css/common.js +3 -1
  78. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/helper/css/index.js +9 -1
  79. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/base.js +15 -15
  80. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/components.js +42 -22
  81. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/context.js +129 -5
  82. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/jsx/streaming.js +10 -8
  83. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/bearer-auth/index.js +1 -1
  84. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/cache/index.js +1 -1
  85. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/compress/index.js +2 -1
  86. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/cors/index.js +2 -5
  87. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/etag/index.js +2 -1
  88. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/language/language.js +10 -32
  89. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/method-override/index.js +5 -3
  90. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/serve-static/index.js +2 -2
  91. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/middleware/timing/timing.js +3 -1
  92. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/router/trie-router/node.js +9 -0
  93. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +1 -1
  94. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +1 -1
  95. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/helper/websocket/index.d.ts +1 -1
  96. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/base.d.ts +1 -3
  97. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/jsx/context.d.ts +39 -0
  98. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +2 -2
  99. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/middleware/language/language.d.ts +18 -0
  100. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/utils/body.d.ts +1 -1
  101. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/types/utils/types.d.ts +1 -1
  102. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/body.js +12 -4
  103. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/buffer.js +2 -1
  104. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/utils/ipaddr.js +6 -1
  105. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/validator/validator.js +3 -3
  106. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/package.json +29 -22
  107. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/package-lock.json +3 -3
  108. package/node_modules/playwright/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +1 -1
  109. package/node_modules/playwright/node_modules/playwright-core/lib/server/codegen/skyramp/jsonlReader.js +5 -1
  110. package/node_modules/playwright/node_modules/playwright-core/lib/server/codegen/skyramp/specReader.js +781 -0
  111. package/node_modules/playwright/node_modules/playwright-core/lib/server/recorder/recorderApp.js +25 -6
  112. package/node_modules/playwright/node_modules/playwright-core/lib/server/recorder/skyramp/replayEngine.js +3 -1
  113. package/node_modules/playwright/node_modules/playwright-core/lib/utils.js +2 -0
  114. package/node_modules/playwright/node_modules/playwright-core/lib/vite/htmlReport/index.html +253 -27
  115. package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/assets/{codeMirrorModule-D0BjbCb7.js → codeMirrorModule-DtudTj_v.js} +1 -1
  116. package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/assets/index-BpDwp16L.js +422 -0
  117. package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/index.html +1 -1
  118. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/assets/{codeMirrorModule-Bzd72-bG.js → codeMirrorModule-FNMuBzX1.js} +1 -1
  119. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Co9upU5h.js +1035 -0
  120. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.DXNIQ_dx.js +2 -0
  121. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.html +2 -2
  122. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CIKB3XSv.js +5 -0
  123. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +2 -2
  124. package/node_modules/playwright/node_modules/playwright-core/package.json +1 -1
  125. package/node_modules/playwright/node_modules/playwright-core/src/generated/pollingRecorderSource.ts +1 -1
  126. package/node_modules/playwright/node_modules/playwright-core/src/server/codegen/skyramp/jsonlReader.ts +4 -0
  127. package/node_modules/playwright/node_modules/playwright-core/src/server/codegen/skyramp/specReader.ts +1028 -0
  128. package/node_modules/playwright/node_modules/playwright-core/src/server/recorder/recorderApp.ts +31 -8
  129. package/node_modules/playwright/node_modules/playwright-core/src/server/recorder/skyramp/replayEngine.ts +1 -0
  130. package/node_modules/playwright/node_modules/playwright-core/src/utils.ts +1 -0
  131. package/node_modules/playwright/package.json +1 -1
  132. package/package.json +9 -6
  133. package/node_modules/playwright/node_modules/playwright-core/bundles/mcp/node_modules/hono/dist/tsconfig.build.tsbuildinfo +0 -1
  134. package/node_modules/playwright/node_modules/playwright-core/lib/vite/recorder/assets/index-lvTRGFx-.js +0 -193
  135. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-DzxTioTK.js +0 -809
  136. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/index.BGc30U3S.js +0 -2
  137. package/node_modules/playwright/node_modules/playwright-core/lib/vite/traceViewer/uiMode.IaDrb29A.js +0 -5
@@ -98,5 +98,23 @@ export declare function validateOptions(options: DetectorOptions): void;
98
98
  * Language detector middleware factory
99
99
  * @param userOptions Configuration options for the language detector
100
100
  * @returns Hono middleware function
101
+ *
102
+ * @example
103
+ * ```ts
104
+ * type Variables = LanguageVariables
105
+ * const app = new Hono<{ Variables: Variables }>()
106
+ *
107
+ * app.use(
108
+ * languageDetector({
109
+ * supportedLanguages: ['en', 'ja'], // Must include fallback
110
+ * fallbackLanguage: 'en', // Required
111
+ * })
112
+ * )
113
+ *
114
+ * app.get('/', (c) => {
115
+ * const lang = c.get('language')
116
+ * return c.text(`Current language: ${lang}`)
117
+ * })
118
+ * ```
101
119
  */
102
120
  export declare const languageDetector: (userOptions: Partial<DetectorOptions>) => MiddlewareHandler;
@@ -2,7 +2,7 @@
2
2
  * @module
3
3
  * Body utility.
4
4
  */
5
- import { HonoRequest } from '../request';
5
+ import type { HonoRequest } from '../request';
6
6
  type BodyDataValueDot = {
7
7
  [x: string]: string | File | BodyDataValueDot;
8
8
  };
@@ -42,7 +42,7 @@ export type JSONParsed<T, TError = bigint | ReadonlyArray<bigint>> = T extends {
42
42
  toJSON(): unknown;
43
43
  } ? {} : JSONParsed<J, TError> : T extends JSONPrimitive ? T : T extends InvalidJSONValue ? never : T extends ReadonlyArray<unknown> ? {
44
44
  [K in keyof T]: JSONParsed<InvalidToNull<T[K]>, TError>;
45
- } : T extends Set<unknown> | Map<unknown, unknown> | Record<string, never> ? {} : T extends object ? T[keyof T] extends TError ? never : {
45
+ } extends infer A ? A extends ReadonlyArray<unknown> ? A : JSONParsed<InvalidToNull<T[number]>, TError>[] : never : T extends Set<unknown> | Map<unknown, unknown> | Record<string, never> ? {} : T extends object ? T[keyof T] extends TError ? never : {
46
46
  [K in keyof OmitSymbolKeys<T> as IsInvalid<T[K]> extends true ? never : K]: boolean extends IsInvalid<T[K]> ? JSONParsed<T[K], TError> | undefined : JSONParsed<T[K], TError>;
47
47
  } : T extends unknown ? T extends TError ? never : JSONValue : never;
48
48
  /**
@@ -1,16 +1,24 @@
1
1
  // src/utils/body.ts
2
- import { HonoRequest } from "../request.js";
2
+ import { bufferToFormData } from "./buffer.js";
3
+ var isRawRequest = (request) => "headers" in request;
3
4
  var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
4
5
  const { all = false, dot = false } = options;
5
- const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
6
+ const headers = isRawRequest(request) ? request.headers : request.raw.headers;
6
7
  const contentType = headers.get("Content-Type");
7
- if (contentType?.startsWith("multipart/form-data") || contentType?.startsWith("application/x-www-form-urlencoded")) {
8
+ const mediaType = contentType?.split(";")[0].trim().toLowerCase();
9
+ if (mediaType === "multipart/form-data" || mediaType === "application/x-www-form-urlencoded") {
8
10
  return parseFormData(request, { all, dot });
9
11
  }
10
12
  return {};
11
13
  };
12
14
  async function parseFormData(request, options) {
13
- const formData = await request.formData();
15
+ const headers = isRawRequest(request) ? request.headers : request.raw.headers;
16
+ const arrayBuffer = await request.arrayBuffer();
17
+ const formDataPromise = bufferToFormData(arrayBuffer, headers.get("Content-Type") || "");
18
+ if (!isRawRequest(request)) {
19
+ request.bodyCache.formData = formDataPromise;
20
+ }
21
+ const formData = await formDataPromise;
14
22
  if (formData) {
15
23
  return convertFormDataToBodyData(formData, options);
16
24
  }
@@ -64,7 +64,8 @@ var bufferToString = (buffer) => {
64
64
  var bufferToFormData = (arrayBuffer, contentType) => {
65
65
  const response = new Response(arrayBuffer, {
66
66
  headers: {
67
- "Content-Type": contentType
67
+ // Normalize the media type (case-insensitive) while keeping parameters like the boundary
68
+ "Content-Type": contentType.replace(/^[^;]+/, (mediaType) => mediaType.toLowerCase())
68
69
  }
69
70
  });
70
71
  return response.formData();
@@ -14,7 +14,9 @@ var expandIPv6 = (ipV6) => {
14
14
  if (node !== "") {
15
15
  sections[i] = node.padStart(4, "0");
16
16
  } else {
17
- sections[i + 1] === "" && sections.splice(i + 1, 1);
17
+ while (sections[i + 1] === "") {
18
+ sections.splice(i + 1, 1);
19
+ }
18
20
  sections[i] = new Array(8 - sections.length + 1).fill("0000").join(":");
19
21
  }
20
22
  }
@@ -234,6 +236,9 @@ var convertIPv4BinaryToString = (ipV4) => {
234
236
  var isIPv4MappedIPv6 = (ipv6binary) => ipv6binary >> 32n === 0xffffn;
235
237
  var convertIPv4MappedIPv6ToIPv4 = (ipv6binary) => ipv6binary & 0xffffffffn;
236
238
  var convertIPv6BinaryToString = (ipV6) => {
239
+ if (ipV6 === 0n) {
240
+ return "::";
241
+ }
237
242
  if (isIPv4MappedIPv6(ipV6)) {
238
243
  return `::ffff:${convertIPv4BinaryToString(convertIPv4MappedIPv6ToIPv4(ipV6))}`;
239
244
  }
@@ -2,9 +2,9 @@
2
2
  import { getCookie } from "../helper/cookie/index.js";
3
3
  import { HTTPException } from "../http-exception.js";
4
4
  import { bufferToFormData } from "../utils/buffer.js";
5
- var jsonRegex = /^application\/([a-z-\.]+\+)?json(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/;
6
- var multipartRegex = /^multipart\/form-data(;\s?boundary=[a-zA-Z0-9'"()+_,\-./:=?]+)?$/;
7
- var urlencodedRegex = /^application\/x-www-form-urlencoded(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/;
5
+ var jsonRegex = /^application\/([a-z-\.]+\+)?json(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/i;
6
+ var multipartRegex = /^multipart\/form-data(;\s?boundary=[a-zA-Z0-9'"()+_,\-./:=?]+)?$/i;
7
+ var urlencodedRegex = /^application\/x-www-form-urlencoded(;\s*[a-zA-Z0-9\-]+\=([^;]+))*$/i;
8
8
  var validator = (target, validationFunc) => {
9
9
  return async (c, next) => {
10
10
  let value = {};
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "hono",
3
- "version": "4.12.23",
3
+ "version": "4.12.30",
4
4
  "description": "Web framework built on Web Standards",
5
5
  "main": "dist/cjs/index.js",
6
6
  "type": "module",
7
7
  "module": "dist/index.js",
8
8
  "types": "dist/types/index.d.ts",
9
9
  "files": [
10
- "dist"
10
+ "dist",
11
+ "!dist/**/*.tsbuildinfo"
11
12
  ],
12
13
  "scripts": {
13
- "test": "tsc --noEmit && vitest --run",
14
+ "test": "tsc -p tsconfig.spec.json && vitest --run",
14
15
  "test:watch": "vitest --watch",
15
16
  "test:deno": "deno test --allow-read --allow-env --allow-write --allow-net -c runtime-tests/deno/deno.json runtime-tests/deno && deno test --no-lock -c runtime-tests/deno-jsx/deno.precompile.json runtime-tests/deno-jsx && deno test --no-lock -c runtime-tests/deno-jsx/deno.react-jsx.json runtime-tests/deno-jsx",
16
17
  "test:bun": "bun test --jsx-import-source ../../src/jsx runtime-tests/bun/*",
@@ -31,7 +32,7 @@
31
32
  "watch": "bun run --shell bun remove-dist && bun ./build/build.ts --watch && bun run copy:package.cjs.json",
32
33
  "coverage": "vitest --run --coverage",
33
34
  "prerelease": "bun test:deno && bun run build",
34
- "release": "np",
35
+ "release": "np --no-publish",
35
36
  "remove-dist": "rm -rf dist"
36
37
  },
37
38
  "exports": {
@@ -506,9 +507,18 @@
506
507
  "jsx/dom/server": [
507
508
  "./dist/types/jsx/dom/server.d.ts"
508
509
  ],
510
+ "jsx/dom/jsx-dev-runtime": [
511
+ "./dist/types/jsx/dom/jsx-dev-runtime.d.ts"
512
+ ],
513
+ "jsx/dom/jsx-runtime": [
514
+ "./dist/types/jsx/dom/jsx-runtime.d.ts"
515
+ ],
509
516
  "jwt": [
510
517
  "./dist/types/middleware/jwt"
511
518
  ],
519
+ "jwk": [
520
+ "./dist/types/middleware/jwk"
521
+ ],
512
522
  "timeout": [
513
523
  "./dist/types/middleware/timeout"
514
524
  ],
@@ -552,19 +562,19 @@
552
562
  "./dist/types/router.d.ts"
553
563
  ],
554
564
  "router/reg-exp-router": [
555
- "./dist/types/router/reg-exp-router/router.d.ts"
565
+ "./dist/types/router/reg-exp-router"
556
566
  ],
557
567
  "router/smart-router": [
558
- "./dist/types/router/smart-router/router.d.ts"
568
+ "./dist/types/router/smart-router"
559
569
  ],
560
570
  "router/trie-router": [
561
- "./dist/types/router/trie-router/router.d.ts"
571
+ "./dist/types/router/trie-router"
562
572
  ],
563
573
  "router/pattern-router": [
564
- "./dist/types/router/pattern-router/router.d.ts"
574
+ "./dist/types/router/pattern-router"
565
575
  ],
566
576
  "router/linear-router": [
567
- "./dist/types/router/linear-router/router.d.ts"
577
+ "./dist/types/router/linear-router"
568
578
  ],
569
579
  "utils/jwt": [
570
580
  "./dist/types/utils/jwt/index.d.ts"
@@ -596,15 +606,15 @@
596
606
  "bun": [
597
607
  "./dist/types/adapter/bun"
598
608
  ],
599
- "nextjs": [
600
- "./dist/types/adapter/nextjs"
601
- ],
602
609
  "aws-lambda": [
603
610
  "./dist/types/adapter/aws-lambda"
604
611
  ],
605
612
  "vercel": [
606
613
  "./dist/types/adapter/vercel"
607
614
  ],
615
+ "netlify": [
616
+ "./dist/types/adapter/netlify"
617
+ ],
608
618
  "lambda-edge": [
609
619
  "./dist/types/adapter/lambda-edge"
610
620
  ],
@@ -656,33 +666,30 @@
656
666
  "nodejs"
657
667
  ],
658
668
  "devDependencies": {
659
- "@hono/eslint-config": "^2.1.0",
669
+ "@hono/eslint-config": "^2.1.1",
660
670
  "@hono/node-server": "^2.0.2",
661
- "@types/glob": "^9.0.0",
662
671
  "@types/jsdom": "^21.1.7",
663
672
  "@types/node": "^24.3.0",
664
673
  "@types/ws": "^8.18.1",
665
674
  "@typescript/native-preview": "7.0.0-dev.20260210.1",
666
675
  "@vitest/coverage-v8": "^4.1.7",
667
- "arg": "^5.0.2",
668
676
  "bun-types": "^1.2.20",
669
677
  "editorconfig-checker": "6.1.1",
670
678
  "esbuild": "^0.27.1",
671
679
  "eslint": "^9.39.3",
672
- "glob": "^11.0.0",
673
680
  "jsdom": "22.1.0",
674
681
  "msw": "^2.6.0",
675
- "np": "10.2.0",
682
+ "np": "11.2.1",
676
683
  "oxc-parser": "^0.96.0",
677
684
  "pkg-pr-new": "^0.0.53",
678
685
  "prettier": "3.7.4",
679
686
  "publint": "0.3.15",
680
- "typescript": "^5.9.2",
681
- "undici": "^6.21.3",
687
+ "typescript": "^6.0.3",
688
+ "undici": "^6.27.0",
682
689
  "vite-plugin-fastly-js-compute": "^0.4.2",
683
- "vitest": "^4.1.7",
684
- "wrangler": "4.12.0",
685
- "ws": "^8.18.0",
690
+ "vitest": "^4.1.9",
691
+ "wrangler": "4.107.0",
692
+ "ws": "^8.21.0",
686
693
  "zod": "^3.23.8"
687
694
  },
688
695
  "packageManager": "bun@1.2.20",
@@ -576,9 +576,9 @@
576
576
  }
577
577
  },
578
578
  "node_modules/hono": {
579
- "version": "4.12.23",
580
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.23.tgz",
581
- "integrity": "sha512-eIaZ9qDgu7XV0pxOCrg7/WhnQ6Ivm22UcxhXx/A3dcbqbbYgBEkc6e/J/s7j2tS96zoB0S9VBdLwQNCWwUo4LA==",
579
+ "version": "4.12.30",
580
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.30.tgz",
581
+ "integrity": "sha512-emn+JoJjrN9YTpRDS5it/UI2SO9BAE37T6I3d963RxcZ81G9A4pr2SZTEiiaiKbzx+NKRg5BZ89fCL7gCJCUog==",
582
582
  "license": "MIT",
583
583
  "engines": {
584
584
  "node": ">=16.9.0"