@zuplo/cli 7.4.7 → 7.5.1

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 (2317) hide show
  1. package/node_modules/@posthog/types/dist/posthog-config.d.ts +12 -11
  2. package/node_modules/@posthog/types/dist/posthog-config.d.ts.map +1 -1
  3. package/node_modules/@posthog/types/package.json +1 -1
  4. package/node_modules/@posthog/types/src/posthog-config.ts +12 -11
  5. package/node_modules/@zuplo/core/customer.cli.minified.js +2 -2
  6. package/node_modules/@zuplo/core/index.minified.js +2 -2
  7. package/node_modules/@zuplo/core/package.json +1 -1
  8. package/node_modules/@zuplo/editor/README.md +25 -0
  9. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.d.ts +0 -1
  10. package/node_modules/@zuplo/editor/dist/adapters/memory-preferences.d.ts +0 -1
  11. package/node_modules/@zuplo/editor/dist/adapters/memory.d.ts +0 -1
  12. package/node_modules/@zuplo/editor/dist/adapters/memory.js +194 -10
  13. package/node_modules/@zuplo/editor/dist/adapters/memory.js.map +7 -1
  14. package/node_modules/@zuplo/editor/dist/app.d.ts +29 -10
  15. package/node_modules/@zuplo/editor/dist/app.js +10 -116
  16. package/node_modules/@zuplo/editor/dist/app.js.map +7 -1
  17. package/node_modules/@zuplo/editor/dist/chunks/chunk-54KOYG5C.js +10 -0
  18. package/node_modules/@zuplo/editor/dist/chunks/chunk-54KOYG5C.js.map +7 -0
  19. package/node_modules/@zuplo/editor/dist/chunks/chunk-C7VL3DX7.js +47 -0
  20. package/node_modules/@zuplo/editor/dist/chunks/chunk-C7VL3DX7.js.map +7 -0
  21. package/node_modules/@zuplo/editor/dist/chunks/chunk-FELEIEAB.js +40 -0
  22. package/node_modules/@zuplo/editor/dist/chunks/chunk-FELEIEAB.js.map +7 -0
  23. package/node_modules/@zuplo/editor/dist/chunks/chunk-HDZMPWV2.js +11390 -0
  24. package/node_modules/@zuplo/editor/dist/chunks/chunk-HDZMPWV2.js.map +7 -0
  25. package/node_modules/@zuplo/editor/dist/client/index.html +3 -3
  26. package/node_modules/@zuplo/editor/dist/client/static/css/main-BLDYkhRa.css +1 -0
  27. package/node_modules/@zuplo/editor/dist/client/static/js/GraphiQLConsole-CZejKwC9.js +71 -0
  28. package/node_modules/@zuplo/editor/dist/client/static/js/{McpCapabilityFilterDesigner-CFYXS7Y4.js → McpCapabilityFilterDesigner-CG8ZVkh4.js} +1 -1
  29. package/node_modules/@zuplo/editor/dist/client/static/js/{SchemaReference-DnRuA77Y.js → SchemaReference-CVISAWin.js} +1 -1
  30. package/node_modules/@zuplo/editor/dist/client/static/js/{dist-JDzf7X4h.js → dist-DSg6bEGY.js} +13 -13
  31. package/node_modules/@zuplo/editor/dist/client/static/js/{esm-CSg4wlYg.js → esm-DT7XeAdc.js} +1 -1
  32. package/node_modules/@zuplo/editor/dist/client/static/js/{hint-BPU1gkpx.js → hint-CCoTt5GK.js} +1 -1
  33. package/node_modules/@zuplo/editor/dist/client/static/js/{hint-8S237UzV.js → hint-DNFkA331.js} +1 -1
  34. package/node_modules/@zuplo/editor/dist/client/static/js/{info-Dekw9zL3.js → info-YdH-rhDt.js} +1 -1
  35. package/node_modules/@zuplo/editor/dist/client/static/js/{jump-wNrWwMpB.js → jump-8XyX3WVu.js} +1 -1
  36. package/node_modules/@zuplo/editor/dist/client/static/js/{lint-DjDCd_sO.js → lint-CwJ2CwI5.js} +1 -1
  37. package/node_modules/@zuplo/editor/dist/client/static/js/main-Ca-EGG-M.js +1585 -0
  38. package/node_modules/@zuplo/editor/dist/client/static/js/{mode--1945Gkn.js → mode-C60KbNsM.js} +1 -1
  39. package/node_modules/@zuplo/editor/dist/client/static/js/{mode-DdjZuoTn.js → mode-_ctRsloH.js} +1 -1
  40. package/node_modules/@zuplo/editor/dist/client/static/js/{mode-B0minaVe.js → mode-hY8bkHTk.js} +1 -1
  41. package/node_modules/@zuplo/editor/dist/config.d.ts +0 -1
  42. package/node_modules/@zuplo/editor/dist/fixtures/preview-project.d.ts +0 -1
  43. package/node_modules/@zuplo/editor/dist/fixtures/preview-project.js +19 -20
  44. package/node_modules/@zuplo/editor/dist/fixtures/preview-project.js.map +7 -1
  45. package/node_modules/@zuplo/editor/dist/index.d.ts +1 -2
  46. package/node_modules/@zuplo/editor/dist/index.js +3426 -5
  47. package/node_modules/@zuplo/editor/dist/index.js.map +7 -1
  48. package/node_modules/@zuplo/editor/dist/interfaces.d.ts +0 -1
  49. package/node_modules/@zuplo/editor/dist/interfaces.portal.d.ts +0 -1
  50. package/node_modules/@zuplo/editor/dist/ports.d.ts +0 -1
  51. package/node_modules/@zuplo/editor/dist/ports.js +12 -71
  52. package/node_modules/@zuplo/editor/dist/ports.js.map +7 -1
  53. package/node_modules/@zuplo/editor/dist/server.d.ts +6 -3
  54. package/node_modules/@zuplo/editor/package.json +1 -27
  55. package/node_modules/@zuplo/graphql/package.json +1 -1
  56. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  57. package/node_modules/@zuplo/otel/package.json +1 -1
  58. package/node_modules/@zuplo/runtime/out/esm/{chunk-XIFGUD6K.js → chunk-LVTBALLF.js} +103 -97
  59. package/node_modules/@zuplo/runtime/out/esm/chunk-LVTBALLF.js.map +1 -0
  60. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  61. package/node_modules/@zuplo/runtime/out/esm/index.js.map +1 -1
  62. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
  63. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  64. package/node_modules/@zuplo/runtime/out/types/index.d.ts +253 -0
  65. package/node_modules/@zuplo/runtime/package.json +1 -1
  66. package/node_modules/hono/dist/cjs/helper/ssg/ssg.js +1 -1
  67. package/node_modules/hono/dist/cjs/helper/ssg/utils.js +30 -10
  68. package/node_modules/hono/dist/cjs/middleware/cache/index.js +1 -1
  69. package/node_modules/hono/dist/cjs/utils/body.js +15 -3
  70. package/node_modules/hono/dist/cjs/utils/url.js +9 -1
  71. package/node_modules/hono/dist/helper/ssg/ssg.js +1 -1
  72. package/node_modules/hono/dist/helper/ssg/utils.js +30 -10
  73. package/node_modules/hono/dist/middleware/cache/index.js +1 -1
  74. package/node_modules/hono/dist/types/utils/url.d.ts +4 -0
  75. package/node_modules/hono/dist/utils/body.js +15 -3
  76. package/node_modules/hono/dist/utils/url.js +9 -1
  77. package/node_modules/hono/package.json +1 -1
  78. package/package.json +12 -12
  79. package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.d.ts +0 -55
  80. package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.js +0 -669
  81. package/node_modules/@sinclair/typebox/build/cjs/compiler/index.d.ts +0 -2
  82. package/node_modules/@sinclair/typebox/build/cjs/compiler/index.js +0 -22
  83. package/node_modules/@sinclair/typebox/build/cjs/errors/errors.d.ts +0 -91
  84. package/node_modules/@sinclair/typebox/build/cjs/errors/errors.js +0 -599
  85. package/node_modules/@sinclair/typebox/build/cjs/errors/function.d.ts +0 -21
  86. package/node_modules/@sinclair/typebox/build/cjs/errors/function.js +0 -153
  87. package/node_modules/@sinclair/typebox/build/cjs/errors/index.d.ts +0 -2
  88. package/node_modules/@sinclair/typebox/build/cjs/errors/index.js +0 -19
  89. package/node_modules/@sinclair/typebox/build/cjs/index.d.ts +0 -71
  90. package/node_modules/@sinclair/typebox/build/cjs/index.js +0 -97
  91. package/node_modules/@sinclair/typebox/build/cjs/parser/index.d.ts +0 -2
  92. package/node_modules/@sinclair/typebox/build/cjs/parser/index.js +0 -6
  93. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.d.ts +0 -23
  94. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.js +0 -86
  95. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.d.ts +0 -5
  96. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.js +0 -23
  97. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.d.ts +0 -9
  98. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.js +0 -22
  99. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.d.ts +0 -9
  100. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.js +0 -127
  101. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.d.ts +0 -8
  102. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.js +0 -230
  103. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.d.ts +0 -98
  104. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.js +0 -71
  105. package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.d.ts +0 -3
  106. package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.js +0 -21
  107. package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.d.ts +0 -20
  108. package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.js +0 -3
  109. package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.d.ts +0 -108
  110. package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.js +0 -3
  111. package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.d.ts +0 -69
  112. package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.js +0 -3
  113. package/node_modules/@sinclair/typebox/build/cjs/syntax/index.d.ts +0 -1
  114. package/node_modules/@sinclair/typebox/build/cjs/syntax/index.js +0 -18
  115. package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.d.ts +0 -167
  116. package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.js +0 -458
  117. package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.d.ts +0 -162
  118. package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.js +0 -158
  119. package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.d.ts +0 -12
  120. package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.js +0 -21
  121. package/node_modules/@sinclair/typebox/build/cjs/system/index.d.ts +0 -2
  122. package/node_modules/@sinclair/typebox/build/cjs/system/index.js +0 -19
  123. package/node_modules/@sinclair/typebox/build/cjs/system/policy.d.ts +0 -29
  124. package/node_modules/@sinclair/typebox/build/cjs/system/policy.js +0 -58
  125. package/node_modules/@sinclair/typebox/build/cjs/system/system.d.ts +0 -16
  126. package/node_modules/@sinclair/typebox/build/cjs/system/system.js +0 -43
  127. package/node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts +0 -8
  128. package/node_modules/@sinclair/typebox/build/cjs/type/any/any.js +0 -10
  129. package/node_modules/@sinclair/typebox/build/cjs/type/any/index.d.ts +0 -1
  130. package/node_modules/@sinclair/typebox/build/cjs/type/any/index.js +0 -18
  131. package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.d.ts +0 -9
  132. package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.js +0 -10
  133. package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.d.ts +0 -1
  134. package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.js +0 -18
  135. package/node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts +0 -28
  136. package/node_modules/@sinclair/typebox/build/cjs/type/array/array.js +0 -10
  137. package/node_modules/@sinclair/typebox/build/cjs/type/array/index.d.ts +0 -1
  138. package/node_modules/@sinclair/typebox/build/cjs/type/array/index.js +0 -18
  139. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.d.ts +0 -11
  140. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.js +0 -10
  141. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.d.ts +0 -1
  142. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.js +0 -18
  143. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.d.ts +0 -14
  144. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.js +0 -41
  145. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.d.ts +0 -1
  146. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.js +0 -18
  147. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.d.ts +0 -16
  148. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.js +0 -10
  149. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.d.ts +0 -1
  150. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.js +0 -18
  151. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts +0 -9
  152. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.js +0 -10
  153. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.d.ts +0 -1
  154. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.js +0 -18
  155. package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.d.ts +0 -2
  156. package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.js +0 -19
  157. package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.d.ts +0 -5
  158. package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.js +0 -14
  159. package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.d.ts +0 -2
  160. package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.js +0 -40
  161. package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.d.ts +0 -18
  162. package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.js +0 -46
  163. package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.d.ts +0 -1
  164. package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.js +0 -18
  165. package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.d.ts +0 -9
  166. package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.js +0 -10
  167. package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.d.ts +0 -1
  168. package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.js +0 -18
  169. package/node_modules/@sinclair/typebox/build/cjs/type/const/const.d.ts +0 -27
  170. package/node_modules/@sinclair/typebox/build/cjs/type/const/const.js +0 -58
  171. package/node_modules/@sinclair/typebox/build/cjs/type/const/index.d.ts +0 -1
  172. package/node_modules/@sinclair/typebox/build/cjs/type/const/index.js +0 -18
  173. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.d.ts +0 -23
  174. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.js +0 -10
  175. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.d.ts +0 -1
  176. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.js +0 -18
  177. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.d.ts +0 -7
  178. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.js +0 -11
  179. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.d.ts +0 -1
  180. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.js +0 -18
  181. package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.d.ts +0 -2
  182. package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.js +0 -37
  183. package/node_modules/@sinclair/typebox/build/cjs/type/create/index.d.ts +0 -1
  184. package/node_modules/@sinclair/typebox/build/cjs/type/create/index.js +0 -18
  185. package/node_modules/@sinclair/typebox/build/cjs/type/create/type.d.ts +0 -3
  186. package/node_modules/@sinclair/typebox/build/cjs/type/create/type.js +0 -19
  187. package/node_modules/@sinclair/typebox/build/cjs/type/date/date.d.ts +0 -21
  188. package/node_modules/@sinclair/typebox/build/cjs/type/date/date.js +0 -10
  189. package/node_modules/@sinclair/typebox/build/cjs/type/date/index.d.ts +0 -1
  190. package/node_modules/@sinclair/typebox/build/cjs/type/date/index.js +0 -18
  191. package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.d.ts +0 -2
  192. package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.js +0 -12
  193. package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.d.ts +0 -1
  194. package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.js +0 -18
  195. package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.d.ts +0 -14
  196. package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.js +0 -22
  197. package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.d.ts +0 -1
  198. package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.js +0 -18
  199. package/node_modules/@sinclair/typebox/build/cjs/type/error/error.d.ts +0 -4
  200. package/node_modules/@sinclair/typebox/build/cjs/type/error/error.js +0 -11
  201. package/node_modules/@sinclair/typebox/build/cjs/type/error/index.d.ts +0 -1
  202. package/node_modules/@sinclair/typebox/build/cjs/type/error/index.js +0 -18
  203. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.d.ts +0 -11
  204. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.js +0 -22
  205. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.d.ts +0 -5
  206. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.js +0 -9
  207. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.d.ts +0 -21
  208. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.js +0 -29
  209. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.d.ts +0 -3
  210. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.js +0 -20
  211. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.d.ts +0 -10
  212. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.js +0 -641
  213. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.d.ts +0 -14
  214. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.js +0 -29
  215. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.d.ts +0 -11
  216. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.js +0 -23
  217. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.d.ts +0 -3
  218. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.js +0 -24
  219. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.d.ts +0 -16
  220. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.js +0 -27
  221. package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.d.ts +0 -5
  222. package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.js +0 -22
  223. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.d.ts +0 -11
  224. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.js +0 -22
  225. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.d.ts +0 -5
  226. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.js +0 -9
  227. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.d.ts +0 -21
  228. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.js +0 -29
  229. package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.d.ts +0 -3
  230. package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.js +0 -20
  231. package/node_modules/@sinclair/typebox/build/cjs/type/function/function.d.ts +0 -23
  232. package/node_modules/@sinclair/typebox/build/cjs/type/function/function.js +0 -10
  233. package/node_modules/@sinclair/typebox/build/cjs/type/function/index.d.ts +0 -1
  234. package/node_modules/@sinclair/typebox/build/cjs/type/function/index.js +0 -18
  235. package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.d.ts +0 -3
  236. package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.js +0 -7
  237. package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.d.ts +0 -147
  238. package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.js +0 -287
  239. package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.d.ts +0 -152
  240. package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.js +0 -564
  241. package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.d.ts +0 -34
  242. package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.js +0 -89
  243. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts +0 -42
  244. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.js +0 -8
  245. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.d.ts +0 -1
  246. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.js +0 -18
  247. package/node_modules/@sinclair/typebox/build/cjs/type/index.d.ts +0 -71
  248. package/node_modules/@sinclair/typebox/build/cjs/type/index.js +0 -88
  249. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.d.ts +0 -4
  250. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.js +0 -21
  251. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.d.ts +0 -13
  252. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.js +0 -26
  253. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.d.ts +0 -12
  254. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.js +0 -24
  255. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.d.ts +0 -14
  256. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.js +0 -36
  257. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.d.ts +0 -52
  258. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.js +0 -98
  259. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.d.ts +0 -1
  260. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.js +0 -18
  261. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.d.ts +0 -6
  262. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.js +0 -11
  263. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.d.ts +0 -1
  264. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.js +0 -18
  265. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.d.ts +0 -50
  266. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.js +0 -120
  267. package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.d.ts +0 -1
  268. package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.js +0 -18
  269. package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.d.ts +0 -16
  270. package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.js +0 -10
  271. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.d.ts +0 -3
  272. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.js +0 -20
  273. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.d.ts +0 -3
  274. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.js +0 -23
  275. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.d.ts +0 -13
  276. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.js +0 -42
  277. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.d.ts +0 -15
  278. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.js +0 -4
  279. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.d.ts +0 -6
  280. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.js +0 -21
  281. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.d.ts +0 -5
  282. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.js +0 -9
  283. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.d.ts +0 -6
  284. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.js +0 -23
  285. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.d.ts +0 -14
  286. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.js +0 -30
  287. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.d.ts +0 -16
  288. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.js +0 -68
  289. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.d.ts +0 -5
  290. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.js +0 -9
  291. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.d.ts +0 -5
  292. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.js +0 -9
  293. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.d.ts +0 -5
  294. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.js +0 -9
  295. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.d.ts +0 -1
  296. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.js +0 -18
  297. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.d.ts +0 -11
  298. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.js +0 -10
  299. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.d.ts +0 -4
  300. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.js +0 -21
  301. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.d.ts +0 -12
  302. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.js +0 -23
  303. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.d.ts +0 -7
  304. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.js +0 -16
  305. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.d.ts +0 -24
  306. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.js +0 -78
  307. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.d.ts +0 -21
  308. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.js +0 -40
  309. package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.d.ts +0 -1
  310. package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.js +0 -18
  311. package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.d.ts +0 -10
  312. package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.js +0 -14
  313. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.d.ts +0 -3
  314. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.js +0 -20
  315. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.d.ts +0 -8
  316. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.js +0 -13
  317. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.d.ts +0 -9
  318. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.js +0 -13
  319. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.d.ts +0 -47
  320. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.js +0 -107
  321. package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.d.ts +0 -59
  322. package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.js +0 -172
  323. package/node_modules/@sinclair/typebox/build/cjs/type/module/index.d.ts +0 -1
  324. package/node_modules/@sinclair/typebox/build/cjs/type/module/index.js +0 -18
  325. package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.d.ts +0 -48
  326. package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.js +0 -3
  327. package/node_modules/@sinclair/typebox/build/cjs/type/module/module.d.ts +0 -27
  328. package/node_modules/@sinclair/typebox/build/cjs/type/module/module.js +0 -38
  329. package/node_modules/@sinclair/typebox/build/cjs/type/never/index.d.ts +0 -1
  330. package/node_modules/@sinclair/typebox/build/cjs/type/never/index.js +0 -18
  331. package/node_modules/@sinclair/typebox/build/cjs/type/never/never.d.ts +0 -9
  332. package/node_modules/@sinclair/typebox/build/cjs/type/never/never.js +0 -10
  333. package/node_modules/@sinclair/typebox/build/cjs/type/not/index.d.ts +0 -1
  334. package/node_modules/@sinclair/typebox/build/cjs/type/not/index.js +0 -18
  335. package/node_modules/@sinclair/typebox/build/cjs/type/not/not.d.ts +0 -10
  336. package/node_modules/@sinclair/typebox/build/cjs/type/not/not.js +0 -10
  337. package/node_modules/@sinclair/typebox/build/cjs/type/null/index.d.ts +0 -1
  338. package/node_modules/@sinclair/typebox/build/cjs/type/null/index.js +0 -18
  339. package/node_modules/@sinclair/typebox/build/cjs/type/null/null.d.ts +0 -9
  340. package/node_modules/@sinclair/typebox/build/cjs/type/null/null.js +0 -10
  341. package/node_modules/@sinclair/typebox/build/cjs/type/number/index.d.ts +0 -1
  342. package/node_modules/@sinclair/typebox/build/cjs/type/number/index.js +0 -18
  343. package/node_modules/@sinclair/typebox/build/cjs/type/number/number.d.ts +0 -16
  344. package/node_modules/@sinclair/typebox/build/cjs/type/number/number.js +0 -10
  345. package/node_modules/@sinclair/typebox/build/cjs/type/object/index.d.ts +0 -1
  346. package/node_modules/@sinclair/typebox/build/cjs/type/object/index.js +0 -18
  347. package/node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts +0 -44
  348. package/node_modules/@sinclair/typebox/build/cjs/type/object/object.js +0 -26
  349. package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.d.ts +0 -3
  350. package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.js +0 -20
  351. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.d.ts +0 -12
  352. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.js +0 -26
  353. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.d.ts +0 -12
  354. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.js +0 -23
  355. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.d.ts +0 -36
  356. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.js +0 -75
  357. package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.d.ts +0 -2
  358. package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.js +0 -19
  359. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.d.ts +0 -10
  360. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.js +0 -22
  361. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts +0 -20
  362. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.js +0 -26
  363. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.d.ts +0 -1
  364. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.js +0 -18
  365. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.d.ts +0 -7
  366. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.js +0 -11
  367. package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.d.ts +0 -2
  368. package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.js +0 -19
  369. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.d.ts +0 -12
  370. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.js +0 -23
  371. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.d.ts +0 -35
  372. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.js +0 -78
  373. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.d.ts +0 -1
  374. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.js +0 -18
  375. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.d.ts +0 -8
  376. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.js +0 -12
  377. package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.d.ts +0 -3
  378. package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.js +0 -20
  379. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.d.ts +0 -12
  380. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.js +0 -28
  381. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.d.ts +0 -12
  382. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.js +0 -23
  383. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.d.ts +0 -36
  384. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.js +0 -70
  385. package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.d.ts +0 -1
  386. package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.js +0 -18
  387. package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.d.ts +0 -11
  388. package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.js +0 -10
  389. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.d.ts +0 -2
  390. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.js +0 -19
  391. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.d.ts +0 -10
  392. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.js +0 -22
  393. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts +0 -20
  394. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.js +0 -26
  395. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.d.ts +0 -1
  396. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.js +0 -18
  397. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.d.ts +0 -6
  398. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.js +0 -10
  399. package/node_modules/@sinclair/typebox/build/cjs/type/record/index.d.ts +0 -1
  400. package/node_modules/@sinclair/typebox/build/cjs/type/record/index.js +0 -18
  401. package/node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts +0 -71
  402. package/node_modules/@sinclair/typebox/build/cjs/type/record/record.js +0 -123
  403. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.d.ts +0 -1
  404. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.js +0 -18
  405. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.d.ts +0 -16
  406. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.js +0 -19
  407. package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.d.ts +0 -1
  408. package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.js +0 -18
  409. package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.d.ts +0 -41
  410. package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.js +0 -14
  411. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.d.ts +0 -1
  412. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.js +0 -18
  413. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.d.ts +0 -20
  414. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.js +0 -12
  415. package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.d.ts +0 -13
  416. package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.js +0 -35
  417. package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.d.ts +0 -2
  418. package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.js +0 -6
  419. package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.d.ts +0 -13
  420. package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.js +0 -35
  421. package/node_modules/@sinclair/typebox/build/cjs/type/required/index.d.ts +0 -2
  422. package/node_modules/@sinclair/typebox/build/cjs/type/required/index.js +0 -19
  423. package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.d.ts +0 -12
  424. package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.js +0 -22
  425. package/node_modules/@sinclair/typebox/build/cjs/type/required/required.d.ts +0 -35
  426. package/node_modules/@sinclair/typebox/build/cjs/type/required/required.js +0 -77
  427. package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.d.ts +0 -1
  428. package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.js +0 -18
  429. package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.d.ts +0 -10
  430. package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.js +0 -19
  431. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.d.ts +0 -1
  432. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.js +0 -18
  433. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.d.ts +0 -6
  434. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.js +0 -11
  435. package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.d.ts +0 -33
  436. package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.js +0 -3
  437. package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.d.ts +0 -2
  438. package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.js +0 -19
  439. package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts +0 -29
  440. package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.js +0 -4
  441. package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.d.ts +0 -1
  442. package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.js +0 -18
  443. package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.d.ts +0 -28
  444. package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.js +0 -59
  445. package/node_modules/@sinclair/typebox/build/cjs/type/static/index.d.ts +0 -1
  446. package/node_modules/@sinclair/typebox/build/cjs/type/static/index.js +0 -18
  447. package/node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts +0 -39
  448. package/node_modules/@sinclair/typebox/build/cjs/type/static/static.js +0 -3
  449. package/node_modules/@sinclair/typebox/build/cjs/type/string/index.d.ts +0 -1
  450. package/node_modules/@sinclair/typebox/build/cjs/type/string/index.js +0 -18
  451. package/node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts +0 -25
  452. package/node_modules/@sinclair/typebox/build/cjs/type/string/string.js +0 -10
  453. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.d.ts +0 -1
  454. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.js +0 -18
  455. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.d.ts +0 -10
  456. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.js +0 -10
  457. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.d.ts +0 -1
  458. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.js +0 -18
  459. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts +0 -10
  460. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.js +0 -14
  461. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.d.ts +0 -19
  462. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.js +0 -56
  463. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.d.ts +0 -21
  464. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.js +0 -60
  465. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.d.ts +0 -7
  466. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.js +0 -24
  467. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.d.ts +0 -20
  468. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.js +0 -174
  469. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.d.ts +0 -5
  470. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.js +0 -39
  471. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.d.ts +0 -20
  472. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.js +0 -59
  473. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.d.ts +0 -30
  474. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.js +0 -17
  475. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.d.ts +0 -9
  476. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.js +0 -13
  477. package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.d.ts +0 -1
  478. package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.js +0 -18
  479. package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.d.ts +0 -30
  480. package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.js +0 -47
  481. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.d.ts +0 -1
  482. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.js +0 -18
  483. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts +0 -16
  484. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.js +0 -13
  485. package/node_modules/@sinclair/typebox/build/cjs/type/type/index.d.ts +0 -6
  486. package/node_modules/@sinclair/typebox/build/cjs/type/type/index.js +0 -18
  487. package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.d.ts +0 -64
  488. package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.js +0 -104
  489. package/node_modules/@sinclair/typebox/build/cjs/type/type/json.d.ts +0 -208
  490. package/node_modules/@sinclair/typebox/build/cjs/type/type/json.js +0 -226
  491. package/node_modules/@sinclair/typebox/build/cjs/type/type/type.d.ts +0 -59
  492. package/node_modules/@sinclair/typebox/build/cjs/type/type/type.js +0 -129
  493. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.d.ts +0 -1
  494. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.js +0 -18
  495. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.d.ts +0 -13
  496. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.js +0 -10
  497. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.d.ts +0 -1
  498. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.js +0 -18
  499. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.d.ts +0 -9
  500. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.js +0 -10
  501. package/node_modules/@sinclair/typebox/build/cjs/type/union/index.d.ts +0 -3
  502. package/node_modules/@sinclair/typebox/build/cjs/type/union/index.js +0 -20
  503. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.d.ts +0 -3
  504. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.js +0 -9
  505. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.d.ts +0 -13
  506. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.js +0 -40
  507. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.d.ts +0 -12
  508. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.js +0 -4
  509. package/node_modules/@sinclair/typebox/build/cjs/type/union/union.d.ts +0 -6
  510. package/node_modules/@sinclair/typebox/build/cjs/type/union/union.js +0 -14
  511. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.d.ts +0 -1
  512. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.js +0 -18
  513. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.d.ts +0 -8
  514. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.js +0 -10
  515. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.d.ts +0 -1
  516. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.js +0 -18
  517. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.d.ts +0 -11
  518. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.js +0 -10
  519. package/node_modules/@sinclair/typebox/build/cjs/type/void/index.d.ts +0 -1
  520. package/node_modules/@sinclair/typebox/build/cjs/type/void/index.js +0 -18
  521. package/node_modules/@sinclair/typebox/build/cjs/type/void/void.d.ts +0 -9
  522. package/node_modules/@sinclair/typebox/build/cjs/type/void/void.js +0 -10
  523. package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.d.ts +0 -15
  524. package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.js +0 -55
  525. package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.d.ts +0 -1
  526. package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.js +0 -18
  527. package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.d.ts +0 -11
  528. package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.js +0 -220
  529. package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.d.ts +0 -1
  530. package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.js +0 -18
  531. package/node_modules/@sinclair/typebox/build/cjs/value/check/check.d.ts +0 -11
  532. package/node_modules/@sinclair/typebox/build/cjs/value/check/check.js +0 -475
  533. package/node_modules/@sinclair/typebox/build/cjs/value/check/index.d.ts +0 -1
  534. package/node_modules/@sinclair/typebox/build/cjs/value/check/index.js +0 -18
  535. package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.d.ts +0 -5
  536. package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.js +0 -149
  537. package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.d.ts +0 -1
  538. package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.js +0 -18
  539. package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.d.ts +0 -2
  540. package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.js +0 -60
  541. package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.d.ts +0 -1
  542. package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.js +0 -18
  543. package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.d.ts +0 -5
  544. package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.js +0 -257
  545. package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.d.ts +0 -1
  546. package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.js +0 -18
  547. package/node_modules/@sinclair/typebox/build/cjs/value/create/create.d.ts +0 -11
  548. package/node_modules/@sinclair/typebox/build/cjs/value/create/create.js +0 -483
  549. package/node_modules/@sinclair/typebox/build/cjs/value/create/index.d.ts +0 -1
  550. package/node_modules/@sinclair/typebox/build/cjs/value/create/index.js +0 -18
  551. package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.d.ts +0 -6
  552. package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.js +0 -14
  553. package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.d.ts +0 -1
  554. package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.js +0 -18
  555. package/node_modules/@sinclair/typebox/build/cjs/value/default/default.d.ts +0 -5
  556. package/node_modules/@sinclair/typebox/build/cjs/value/default/default.js +0 -176
  557. package/node_modules/@sinclair/typebox/build/cjs/value/default/index.d.ts +0 -1
  558. package/node_modules/@sinclair/typebox/build/cjs/value/default/index.js +0 -18
  559. package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.d.ts +0 -32
  560. package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.js +0 -178
  561. package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.d.ts +0 -1
  562. package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.js +0 -18
  563. package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.d.ts +0 -12
  564. package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.js +0 -36
  565. package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.d.ts +0 -1
  566. package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.js +0 -18
  567. package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.d.ts +0 -6
  568. package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.js +0 -15
  569. package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.d.ts +0 -1
  570. package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.js +0 -18
  571. package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.d.ts +0 -2
  572. package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.js +0 -50
  573. package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.d.ts +0 -1
  574. package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.js +0 -18
  575. package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.d.ts +0 -74
  576. package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.js +0 -195
  577. package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.d.ts +0 -1
  578. package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.js +0 -18
  579. package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.d.ts +0 -7
  580. package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.js +0 -152
  581. package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.d.ts +0 -1
  582. package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.js +0 -18
  583. package/node_modules/@sinclair/typebox/build/cjs/value/index.d.ts +0 -20
  584. package/node_modules/@sinclair/typebox/build/cjs/value/index.js +0 -53
  585. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.d.ts +0 -1
  586. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.js +0 -18
  587. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.d.ts +0 -9
  588. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.js +0 -104
  589. package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.d.ts +0 -1
  590. package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.js +0 -18
  591. package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.d.ts +0 -22
  592. package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.js +0 -87
  593. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.d.ts +0 -1
  594. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.js +0 -5
  595. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.d.ts +0 -22
  596. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.js +0 -126
  597. package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.d.ts +0 -22
  598. package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.js +0 -214
  599. package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.d.ts +0 -23
  600. package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.js +0 -225
  601. package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.d.ts +0 -3
  602. package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.js +0 -133
  603. package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.d.ts +0 -3
  604. package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.js +0 -20
  605. package/node_modules/@sinclair/typebox/build/cjs/value/value/index.d.ts +0 -1
  606. package/node_modules/@sinclair/typebox/build/cjs/value/value/index.js +0 -5
  607. package/node_modules/@sinclair/typebox/build/cjs/value/value/value.d.ts +0 -16
  608. package/node_modules/@sinclair/typebox/build/cjs/value/value/value.js +0 -39
  609. package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.d.mts +0 -55
  610. package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.mjs +0 -662
  611. package/node_modules/@sinclair/typebox/build/esm/compiler/index.d.mts +0 -2
  612. package/node_modules/@sinclair/typebox/build/esm/compiler/index.mjs +0 -2
  613. package/node_modules/@sinclair/typebox/build/esm/errors/errors.d.mts +0 -91
  614. package/node_modules/@sinclair/typebox/build/esm/errors/errors.mjs +0 -592
  615. package/node_modules/@sinclair/typebox/build/esm/errors/function.d.mts +0 -21
  616. package/node_modules/@sinclair/typebox/build/esm/errors/function.mjs +0 -147
  617. package/node_modules/@sinclair/typebox/build/esm/errors/index.d.mts +0 -2
  618. package/node_modules/@sinclair/typebox/build/esm/errors/index.mjs +0 -2
  619. package/node_modules/@sinclair/typebox/build/esm/index.d.mts +0 -71
  620. package/node_modules/@sinclair/typebox/build/esm/index.mjs +0 -80
  621. package/node_modules/@sinclair/typebox/build/esm/parser/index.d.mts +0 -2
  622. package/node_modules/@sinclair/typebox/build/esm/parser/index.mjs +0 -2
  623. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.d.mts +0 -23
  624. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.mjs +0 -72
  625. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.d.mts +0 -5
  626. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.mjs +0 -5
  627. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.d.mts +0 -9
  628. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.mjs +0 -17
  629. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.d.mts +0 -9
  630. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.mjs +0 -123
  631. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.d.mts +0 -8
  632. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.mjs +0 -223
  633. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.d.mts +0 -98
  634. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.mjs +0 -55
  635. package/node_modules/@sinclair/typebox/build/esm/parser/static/index.d.mts +0 -3
  636. package/node_modules/@sinclair/typebox/build/esm/parser/static/index.mjs +0 -3
  637. package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.d.mts +0 -20
  638. package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.mjs +0 -1
  639. package/node_modules/@sinclair/typebox/build/esm/parser/static/token.d.mts +0 -108
  640. package/node_modules/@sinclair/typebox/build/esm/parser/static/token.mjs +0 -1
  641. package/node_modules/@sinclair/typebox/build/esm/parser/static/types.d.mts +0 -69
  642. package/node_modules/@sinclair/typebox/build/esm/parser/static/types.mjs +0 -1
  643. package/node_modules/@sinclair/typebox/build/esm/syntax/index.d.mts +0 -1
  644. package/node_modules/@sinclair/typebox/build/esm/syntax/index.mjs +0 -1
  645. package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.d.mts +0 -167
  646. package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.mjs +0 -386
  647. package/node_modules/@sinclair/typebox/build/esm/syntax/parser.d.mts +0 -162
  648. package/node_modules/@sinclair/typebox/build/esm/syntax/parser.mjs +0 -78
  649. package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.d.mts +0 -12
  650. package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.mjs +0 -16
  651. package/node_modules/@sinclair/typebox/build/esm/system/index.d.mts +0 -2
  652. package/node_modules/@sinclair/typebox/build/esm/system/index.mjs +0 -2
  653. package/node_modules/@sinclair/typebox/build/esm/system/policy.d.mts +0 -29
  654. package/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +0 -54
  655. package/node_modules/@sinclair/typebox/build/esm/system/system.d.mts +0 -16
  656. package/node_modules/@sinclair/typebox/build/esm/system/system.mjs +0 -37
  657. package/node_modules/@sinclair/typebox/build/esm/type/any/any.d.mts +0 -8
  658. package/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +0 -6
  659. package/node_modules/@sinclair/typebox/build/esm/type/any/index.d.mts +0 -1
  660. package/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +0 -1
  661. package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.d.mts +0 -9
  662. package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs +0 -6
  663. package/node_modules/@sinclair/typebox/build/esm/type/argument/index.d.mts +0 -1
  664. package/node_modules/@sinclair/typebox/build/esm/type/argument/index.mjs +0 -1
  665. package/node_modules/@sinclair/typebox/build/esm/type/array/array.d.mts +0 -28
  666. package/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +0 -6
  667. package/node_modules/@sinclair/typebox/build/esm/type/array/index.d.mts +0 -1
  668. package/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +0 -1
  669. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.d.mts +0 -11
  670. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +0 -6
  671. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.d.mts +0 -1
  672. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +0 -1
  673. package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.d.mts +0 -14
  674. package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +0 -37
  675. package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.d.mts +0 -1
  676. package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +0 -1
  677. package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.d.mts +0 -16
  678. package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +0 -6
  679. package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.d.mts +0 -1
  680. package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +0 -1
  681. package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.d.mts +0 -9
  682. package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +0 -6
  683. package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.d.mts +0 -1
  684. package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +0 -1
  685. package/node_modules/@sinclair/typebox/build/esm/type/clone/index.d.mts +0 -2
  686. package/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +0 -2
  687. package/node_modules/@sinclair/typebox/build/esm/type/clone/type.d.mts +0 -5
  688. package/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +0 -9
  689. package/node_modules/@sinclair/typebox/build/esm/type/clone/value.d.mts +0 -2
  690. package/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +0 -36
  691. package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.d.mts +0 -18
  692. package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +0 -42
  693. package/node_modules/@sinclair/typebox/build/esm/type/composite/index.d.mts +0 -1
  694. package/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +0 -1
  695. package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.d.mts +0 -9
  696. package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +0 -6
  697. package/node_modules/@sinclair/typebox/build/esm/type/computed/index.d.mts +0 -1
  698. package/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +0 -1
  699. package/node_modules/@sinclair/typebox/build/esm/type/const/const.d.mts +0 -27
  700. package/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +0 -54
  701. package/node_modules/@sinclair/typebox/build/esm/type/const/index.d.mts +0 -1
  702. package/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +0 -1
  703. package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.d.mts +0 -23
  704. package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +0 -6
  705. package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.d.mts +0 -1
  706. package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +0 -1
  707. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.d.mts +0 -7
  708. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +0 -7
  709. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.d.mts +0 -1
  710. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +0 -1
  711. package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.d.mts +0 -2
  712. package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +0 -33
  713. package/node_modules/@sinclair/typebox/build/esm/type/create/index.d.mts +0 -1
  714. package/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +0 -1
  715. package/node_modules/@sinclair/typebox/build/esm/type/create/type.d.mts +0 -3
  716. package/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +0 -15
  717. package/node_modules/@sinclair/typebox/build/esm/type/date/date.d.mts +0 -21
  718. package/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +0 -6
  719. package/node_modules/@sinclair/typebox/build/esm/type/date/index.d.mts +0 -1
  720. package/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +0 -1
  721. package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.d.mts +0 -2
  722. package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +0 -8
  723. package/node_modules/@sinclair/typebox/build/esm/type/discard/index.d.mts +0 -1
  724. package/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +0 -1
  725. package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.d.mts +0 -14
  726. package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +0 -18
  727. package/node_modules/@sinclair/typebox/build/esm/type/enum/index.d.mts +0 -1
  728. package/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +0 -1
  729. package/node_modules/@sinclair/typebox/build/esm/type/error/error.d.mts +0 -4
  730. package/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +0 -6
  731. package/node_modules/@sinclair/typebox/build/esm/type/error/index.d.mts +0 -1
  732. package/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +0 -1
  733. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.d.mts +0 -11
  734. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +0 -18
  735. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.d.mts +0 -5
  736. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +0 -5
  737. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.d.mts +0 -21
  738. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +0 -25
  739. package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.d.mts +0 -3
  740. package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +0 -3
  741. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.d.mts +0 -10
  742. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +0 -635
  743. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.d.mts +0 -14
  744. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +0 -25
  745. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.d.mts +0 -11
  746. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +0 -19
  747. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.d.mts +0 -3
  748. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +0 -20
  749. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.d.mts +0 -16
  750. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +0 -23
  751. package/node_modules/@sinclair/typebox/build/esm/type/extends/index.d.mts +0 -5
  752. package/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +0 -5
  753. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.d.mts +0 -11
  754. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +0 -18
  755. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.d.mts +0 -5
  756. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +0 -5
  757. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.d.mts +0 -21
  758. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +0 -25
  759. package/node_modules/@sinclair/typebox/build/esm/type/extract/index.d.mts +0 -3
  760. package/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +0 -3
  761. package/node_modules/@sinclair/typebox/build/esm/type/function/function.d.mts +0 -23
  762. package/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +0 -6
  763. package/node_modules/@sinclair/typebox/build/esm/type/function/index.d.mts +0 -1
  764. package/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +0 -1
  765. package/node_modules/@sinclair/typebox/build/esm/type/guard/index.d.mts +0 -3
  766. package/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +0 -3
  767. package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.d.mts +0 -147
  768. package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +0 -235
  769. package/node_modules/@sinclair/typebox/build/esm/type/guard/type.d.mts +0 -152
  770. package/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +0 -509
  771. package/node_modules/@sinclair/typebox/build/esm/type/guard/value.d.mts +0 -34
  772. package/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +0 -70
  773. package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.d.mts +0 -42
  774. package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +0 -4
  775. package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.d.mts +0 -1
  776. package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +0 -1
  777. package/node_modules/@sinclair/typebox/build/esm/type/index.d.mts +0 -71
  778. package/node_modules/@sinclair/typebox/build/esm/type/index.mjs +0 -71
  779. package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.d.mts +0 -4
  780. package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +0 -4
  781. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.d.mts +0 -13
  782. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +0 -22
  783. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.d.mts +0 -12
  784. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +0 -20
  785. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.d.mts +0 -14
  786. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +0 -32
  787. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.d.mts +0 -52
  788. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +0 -91
  789. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.d.mts +0 -1
  790. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +0 -1
  791. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.d.mts +0 -6
  792. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +0 -7
  793. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.d.mts +0 -1
  794. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.mjs +0 -1
  795. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.d.mts +0 -50
  796. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs +0 -115
  797. package/node_modules/@sinclair/typebox/build/esm/type/integer/index.d.mts +0 -1
  798. package/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +0 -1
  799. package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.d.mts +0 -16
  800. package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +0 -6
  801. package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.d.mts +0 -3
  802. package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +0 -3
  803. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.d.mts +0 -3
  804. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +0 -19
  805. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.d.mts +0 -13
  806. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +0 -38
  807. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.d.mts +0 -15
  808. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +0 -1
  809. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.d.mts +0 -6
  810. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +0 -17
  811. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.d.mts +0 -5
  812. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +0 -5
  813. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.d.mts +0 -6
  814. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +0 -6
  815. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.d.mts +0 -14
  816. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +0 -26
  817. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.d.mts +0 -16
  818. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +0 -64
  819. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.d.mts +0 -5
  820. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +0 -5
  821. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.d.mts +0 -5
  822. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +0 -5
  823. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.d.mts +0 -5
  824. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +0 -5
  825. package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.d.mts +0 -1
  826. package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +0 -1
  827. package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.d.mts +0 -11
  828. package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +0 -6
  829. package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.d.mts +0 -4
  830. package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +0 -4
  831. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.d.mts +0 -12
  832. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +0 -19
  833. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.d.mts +0 -7
  834. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +0 -12
  835. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.d.mts +0 -24
  836. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +0 -73
  837. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.d.mts +0 -21
  838. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +0 -35
  839. package/node_modules/@sinclair/typebox/build/esm/type/literal/index.d.mts +0 -1
  840. package/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +0 -1
  841. package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.d.mts +0 -10
  842. package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +0 -10
  843. package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.d.mts +0 -3
  844. package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +0 -3
  845. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.d.mts +0 -8
  846. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +0 -9
  847. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.d.mts +0 -9
  848. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +0 -9
  849. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.d.mts +0 -47
  850. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +0 -102
  851. package/node_modules/@sinclair/typebox/build/esm/type/module/compute.d.mts +0 -59
  852. package/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +0 -166
  853. package/node_modules/@sinclair/typebox/build/esm/type/module/index.d.mts +0 -1
  854. package/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +0 -1
  855. package/node_modules/@sinclair/typebox/build/esm/type/module/infer.d.mts +0 -48
  856. package/node_modules/@sinclair/typebox/build/esm/type/module/infer.mjs +0 -1
  857. package/node_modules/@sinclair/typebox/build/esm/type/module/module.d.mts +0 -27
  858. package/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +0 -32
  859. package/node_modules/@sinclair/typebox/build/esm/type/never/index.d.mts +0 -1
  860. package/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +0 -1
  861. package/node_modules/@sinclair/typebox/build/esm/type/never/never.d.mts +0 -9
  862. package/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +0 -6
  863. package/node_modules/@sinclair/typebox/build/esm/type/not/index.d.mts +0 -1
  864. package/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +0 -1
  865. package/node_modules/@sinclair/typebox/build/esm/type/not/not.d.mts +0 -10
  866. package/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +0 -6
  867. package/node_modules/@sinclair/typebox/build/esm/type/null/index.d.mts +0 -1
  868. package/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +0 -1
  869. package/node_modules/@sinclair/typebox/build/esm/type/null/null.d.mts +0 -9
  870. package/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +0 -6
  871. package/node_modules/@sinclair/typebox/build/esm/type/number/index.d.mts +0 -1
  872. package/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +0 -1
  873. package/node_modules/@sinclair/typebox/build/esm/type/number/number.d.mts +0 -16
  874. package/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +0 -6
  875. package/node_modules/@sinclair/typebox/build/esm/type/object/index.d.mts +0 -1
  876. package/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +0 -1
  877. package/node_modules/@sinclair/typebox/build/esm/type/object/object.d.mts +0 -44
  878. package/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +0 -22
  879. package/node_modules/@sinclair/typebox/build/esm/type/omit/index.d.mts +0 -3
  880. package/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +0 -3
  881. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.d.mts +0 -12
  882. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +0 -22
  883. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.d.mts +0 -12
  884. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +0 -19
  885. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.d.mts +0 -36
  886. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +0 -71
  887. package/node_modules/@sinclair/typebox/build/esm/type/optional/index.d.mts +0 -2
  888. package/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +0 -2
  889. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.d.mts +0 -10
  890. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +0 -18
  891. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.d.mts +0 -20
  892. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +0 -22
  893. package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.d.mts +0 -1
  894. package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +0 -1
  895. package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.d.mts +0 -7
  896. package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +0 -7
  897. package/node_modules/@sinclair/typebox/build/esm/type/partial/index.d.mts +0 -2
  898. package/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +0 -2
  899. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.d.mts +0 -12
  900. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +0 -19
  901. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.d.mts +0 -35
  902. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +0 -74
  903. package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.d.mts +0 -1
  904. package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +0 -1
  905. package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.d.mts +0 -8
  906. package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +0 -8
  907. package/node_modules/@sinclair/typebox/build/esm/type/pick/index.d.mts +0 -3
  908. package/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +0 -3
  909. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.d.mts +0 -12
  910. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +0 -24
  911. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.d.mts +0 -12
  912. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +0 -19
  913. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.d.mts +0 -36
  914. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +0 -66
  915. package/node_modules/@sinclair/typebox/build/esm/type/promise/index.d.mts +0 -1
  916. package/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +0 -1
  917. package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.d.mts +0 -11
  918. package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +0 -6
  919. package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.d.mts +0 -2
  920. package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +0 -2
  921. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.d.mts +0 -10
  922. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +0 -18
  923. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.d.mts +0 -20
  924. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +0 -22
  925. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.d.mts +0 -1
  926. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +0 -1
  927. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.d.mts +0 -6
  928. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +0 -6
  929. package/node_modules/@sinclair/typebox/build/esm/type/record/index.d.mts +0 -1
  930. package/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +0 -1
  931. package/node_modules/@sinclair/typebox/build/esm/type/record/record.d.mts +0 -71
  932. package/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +0 -116
  933. package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.d.mts +0 -1
  934. package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +0 -1
  935. package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.d.mts +0 -16
  936. package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +0 -15
  937. package/node_modules/@sinclair/typebox/build/esm/type/ref/index.d.mts +0 -1
  938. package/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +0 -1
  939. package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.d.mts +0 -41
  940. package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +0 -10
  941. package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.d.mts +0 -1
  942. package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +0 -1
  943. package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.d.mts +0 -20
  944. package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +0 -8
  945. package/node_modules/@sinclair/typebox/build/esm/type/registry/format.d.mts +0 -13
  946. package/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +0 -26
  947. package/node_modules/@sinclair/typebox/build/esm/type/registry/index.d.mts +0 -2
  948. package/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +0 -2
  949. package/node_modules/@sinclair/typebox/build/esm/type/registry/type.d.mts +0 -13
  950. package/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +0 -26
  951. package/node_modules/@sinclair/typebox/build/esm/type/required/index.d.mts +0 -2
  952. package/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +0 -2
  953. package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.d.mts +0 -12
  954. package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +0 -18
  955. package/node_modules/@sinclair/typebox/build/esm/type/required/required.d.mts +0 -35
  956. package/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +0 -73
  957. package/node_modules/@sinclair/typebox/build/esm/type/rest/index.d.mts +0 -1
  958. package/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +0 -1
  959. package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.d.mts +0 -10
  960. package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +0 -15
  961. package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.d.mts +0 -1
  962. package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +0 -1
  963. package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.d.mts +0 -6
  964. package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +0 -7
  965. package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.d.mts +0 -33
  966. package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +0 -1
  967. package/node_modules/@sinclair/typebox/build/esm/type/schema/index.d.mts +0 -2
  968. package/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +0 -2
  969. package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.d.mts +0 -29
  970. package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +0 -1
  971. package/node_modules/@sinclair/typebox/build/esm/type/sets/index.d.mts +0 -1
  972. package/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +0 -1
  973. package/node_modules/@sinclair/typebox/build/esm/type/sets/set.d.mts +0 -28
  974. package/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +0 -48
  975. package/node_modules/@sinclair/typebox/build/esm/type/static/index.d.mts +0 -1
  976. package/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +0 -1
  977. package/node_modules/@sinclair/typebox/build/esm/type/static/static.d.mts +0 -39
  978. package/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +0 -1
  979. package/node_modules/@sinclair/typebox/build/esm/type/string/index.d.mts +0 -1
  980. package/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +0 -1
  981. package/node_modules/@sinclair/typebox/build/esm/type/string/string.d.mts +0 -25
  982. package/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +0 -6
  983. package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.d.mts +0 -1
  984. package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +0 -1
  985. package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.d.mts +0 -10
  986. package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +0 -6
  987. package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.d.mts +0 -1
  988. package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +0 -1
  989. package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.d.mts +0 -10
  990. package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +0 -10
  991. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.d.mts +0 -19
  992. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +0 -49
  993. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.d.mts +0 -21
  994. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +0 -53
  995. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.d.mts +0 -7
  996. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +0 -7
  997. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.d.mts +0 -20
  998. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +0 -167
  999. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.d.mts +0 -5
  1000. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +0 -33
  1001. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.d.mts +0 -20
  1002. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +0 -55
  1003. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.d.mts +0 -30
  1004. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +0 -13
  1005. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.d.mts +0 -9
  1006. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +0 -9
  1007. package/node_modules/@sinclair/typebox/build/esm/type/transform/index.d.mts +0 -1
  1008. package/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +0 -1
  1009. package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.d.mts +0 -30
  1010. package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +0 -40
  1011. package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.d.mts +0 -1
  1012. package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +0 -1
  1013. package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.d.mts +0 -16
  1014. package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +0 -9
  1015. package/node_modules/@sinclair/typebox/build/esm/type/type/index.d.mts +0 -6
  1016. package/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +0 -13
  1017. package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.d.mts +0 -64
  1018. package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +0 -99
  1019. package/node_modules/@sinclair/typebox/build/esm/type/type/json.d.mts +0 -208
  1020. package/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +0 -221
  1021. package/node_modules/@sinclair/typebox/build/esm/type/type/type.d.mts +0 -59
  1022. package/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +0 -62
  1023. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.d.mts +0 -1
  1024. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +0 -1
  1025. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.d.mts +0 -13
  1026. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +0 -6
  1027. package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.d.mts +0 -1
  1028. package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +0 -1
  1029. package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.d.mts +0 -9
  1030. package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +0 -6
  1031. package/node_modules/@sinclair/typebox/build/esm/type/union/index.d.mts +0 -3
  1032. package/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +0 -3
  1033. package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.d.mts +0 -3
  1034. package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +0 -5
  1035. package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.d.mts +0 -13
  1036. package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +0 -36
  1037. package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.d.mts +0 -12
  1038. package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +0 -1
  1039. package/node_modules/@sinclair/typebox/build/esm/type/union/union.d.mts +0 -6
  1040. package/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +0 -10
  1041. package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.d.mts +0 -1
  1042. package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +0 -1
  1043. package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.d.mts +0 -8
  1044. package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +0 -6
  1045. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.d.mts +0 -1
  1046. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +0 -1
  1047. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.d.mts +0 -11
  1048. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +0 -6
  1049. package/node_modules/@sinclair/typebox/build/esm/type/void/index.d.mts +0 -1
  1050. package/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +0 -1
  1051. package/node_modules/@sinclair/typebox/build/esm/type/void/void.d.mts +0 -9
  1052. package/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +0 -6
  1053. package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.d.mts +0 -15
  1054. package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.mjs +0 -49
  1055. package/node_modules/@sinclair/typebox/build/esm/value/assert/index.d.mts +0 -1
  1056. package/node_modules/@sinclair/typebox/build/esm/value/assert/index.mjs +0 -1
  1057. package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.d.mts +0 -11
  1058. package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.mjs +0 -214
  1059. package/node_modules/@sinclair/typebox/build/esm/value/cast/index.d.mts +0 -1
  1060. package/node_modules/@sinclair/typebox/build/esm/value/cast/index.mjs +0 -1
  1061. package/node_modules/@sinclair/typebox/build/esm/value/check/check.d.mts +0 -11
  1062. package/node_modules/@sinclair/typebox/build/esm/value/check/check.mjs +0 -469
  1063. package/node_modules/@sinclair/typebox/build/esm/value/check/index.d.mts +0 -1
  1064. package/node_modules/@sinclair/typebox/build/esm/value/check/index.mjs +0 -1
  1065. package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.d.mts +0 -5
  1066. package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.mjs +0 -145
  1067. package/node_modules/@sinclair/typebox/build/esm/value/clean/index.d.mts +0 -1
  1068. package/node_modules/@sinclair/typebox/build/esm/value/clean/index.mjs +0 -1
  1069. package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.d.mts +0 -2
  1070. package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.mjs +0 -56
  1071. package/node_modules/@sinclair/typebox/build/esm/value/clone/index.d.mts +0 -1
  1072. package/node_modules/@sinclair/typebox/build/esm/value/clone/index.mjs +0 -1
  1073. package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.d.mts +0 -5
  1074. package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.mjs +0 -253
  1075. package/node_modules/@sinclair/typebox/build/esm/value/convert/index.d.mts +0 -1
  1076. package/node_modules/@sinclair/typebox/build/esm/value/convert/index.mjs +0 -1
  1077. package/node_modules/@sinclair/typebox/build/esm/value/create/create.d.mts +0 -11
  1078. package/node_modules/@sinclair/typebox/build/esm/value/create/create.mjs +0 -477
  1079. package/node_modules/@sinclair/typebox/build/esm/value/create/index.d.mts +0 -1
  1080. package/node_modules/@sinclair/typebox/build/esm/value/create/index.mjs +0 -1
  1081. package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.d.mts +0 -6
  1082. package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.mjs +0 -10
  1083. package/node_modules/@sinclair/typebox/build/esm/value/decode/index.d.mts +0 -1
  1084. package/node_modules/@sinclair/typebox/build/esm/value/decode/index.mjs +0 -1
  1085. package/node_modules/@sinclair/typebox/build/esm/value/default/default.d.mts +0 -5
  1086. package/node_modules/@sinclair/typebox/build/esm/value/default/default.mjs +0 -172
  1087. package/node_modules/@sinclair/typebox/build/esm/value/default/index.d.mts +0 -1
  1088. package/node_modules/@sinclair/typebox/build/esm/value/default/index.mjs +0 -1
  1089. package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.d.mts +0 -32
  1090. package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.mjs +0 -171
  1091. package/node_modules/@sinclair/typebox/build/esm/value/delta/index.d.mts +0 -1
  1092. package/node_modules/@sinclair/typebox/build/esm/value/delta/index.mjs +0 -1
  1093. package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.d.mts +0 -12
  1094. package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.mjs +0 -29
  1095. package/node_modules/@sinclair/typebox/build/esm/value/deref/index.d.mts +0 -1
  1096. package/node_modules/@sinclair/typebox/build/esm/value/deref/index.mjs +0 -1
  1097. package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.d.mts +0 -6
  1098. package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.mjs +0 -11
  1099. package/node_modules/@sinclair/typebox/build/esm/value/encode/index.d.mts +0 -1
  1100. package/node_modules/@sinclair/typebox/build/esm/value/encode/index.mjs +0 -1
  1101. package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.d.mts +0 -2
  1102. package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.mjs +0 -46
  1103. package/node_modules/@sinclair/typebox/build/esm/value/equal/index.d.mts +0 -1
  1104. package/node_modules/@sinclair/typebox/build/esm/value/equal/index.mjs +0 -1
  1105. package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.d.mts +0 -74
  1106. package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +0 -158
  1107. package/node_modules/@sinclair/typebox/build/esm/value/guard/index.d.mts +0 -1
  1108. package/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +0 -1
  1109. package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.d.mts +0 -7
  1110. package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.mjs +0 -146
  1111. package/node_modules/@sinclair/typebox/build/esm/value/hash/index.d.mts +0 -1
  1112. package/node_modules/@sinclair/typebox/build/esm/value/hash/index.mjs +0 -1
  1113. package/node_modules/@sinclair/typebox/build/esm/value/index.d.mts +0 -20
  1114. package/node_modules/@sinclair/typebox/build/esm/value/index.mjs +0 -32
  1115. package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.d.mts +0 -1
  1116. package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.mjs +0 -1
  1117. package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.d.mts +0 -9
  1118. package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.mjs +0 -98
  1119. package/node_modules/@sinclair/typebox/build/esm/value/parse/index.d.mts +0 -1
  1120. package/node_modules/@sinclair/typebox/build/esm/value/parse/index.mjs +0 -1
  1121. package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.d.mts +0 -22
  1122. package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.mjs +0 -81
  1123. package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.d.mts +0 -1
  1124. package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.mjs +0 -1
  1125. package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.d.mts +0 -22
  1126. package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.mjs +0 -115
  1127. package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.d.mts +0 -22
  1128. package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.mjs +0 -207
  1129. package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.d.mts +0 -23
  1130. package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.mjs +0 -218
  1131. package/node_modules/@sinclair/typebox/build/esm/value/transform/has.d.mts +0 -3
  1132. package/node_modules/@sinclair/typebox/build/esm/value/transform/has.mjs +0 -129
  1133. package/node_modules/@sinclair/typebox/build/esm/value/transform/index.d.mts +0 -3
  1134. package/node_modules/@sinclair/typebox/build/esm/value/transform/index.mjs +0 -3
  1135. package/node_modules/@sinclair/typebox/build/esm/value/value/index.d.mts +0 -1
  1136. package/node_modules/@sinclair/typebox/build/esm/value/value/index.mjs +0 -1
  1137. package/node_modules/@sinclair/typebox/build/esm/value/value/value.d.mts +0 -16
  1138. package/node_modules/@sinclair/typebox/build/esm/value/value/value.mjs +0 -16
  1139. package/node_modules/@sinclair/typebox/compiler/package.json +0 -4
  1140. package/node_modules/@sinclair/typebox/errors/package.json +0 -4
  1141. package/node_modules/@sinclair/typebox/license +0 -25
  1142. package/node_modules/@sinclair/typebox/package.json +0 -116
  1143. package/node_modules/@sinclair/typebox/parser/package.json +0 -4
  1144. package/node_modules/@sinclair/typebox/readme.md +0 -1860
  1145. package/node_modules/@sinclair/typebox/syntax/package.json +0 -4
  1146. package/node_modules/@sinclair/typebox/system/package.json +0 -4
  1147. package/node_modules/@sinclair/typebox/type/package.json +0 -4
  1148. package/node_modules/@sinclair/typebox/value/package.json +0 -4
  1149. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.d.ts.map +0 -1
  1150. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.js +0 -204
  1151. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.js.map +0 -1
  1152. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.spec.d.ts +0 -2
  1153. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.spec.d.ts.map +0 -1
  1154. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.spec.js +0 -74
  1155. package/node_modules/@zuplo/editor/dist/adapters/memory-fs.spec.js.map +0 -1
  1156. package/node_modules/@zuplo/editor/dist/adapters/memory-preferences.d.ts.map +0 -1
  1157. package/node_modules/@zuplo/editor/dist/adapters/memory-preferences.js +0 -18
  1158. package/node_modules/@zuplo/editor/dist/adapters/memory-preferences.js.map +0 -1
  1159. package/node_modules/@zuplo/editor/dist/adapters/memory.d.ts.map +0 -1
  1160. package/node_modules/@zuplo/editor/dist/adapters/node-fs.d.ts +0 -11
  1161. package/node_modules/@zuplo/editor/dist/adapters/node-fs.d.ts.map +0 -1
  1162. package/node_modules/@zuplo/editor/dist/adapters/node-fs.js +0 -133
  1163. package/node_modules/@zuplo/editor/dist/adapters/node-fs.js.map +0 -1
  1164. package/node_modules/@zuplo/editor/dist/adapters/node-preferences.d.ts +0 -10
  1165. package/node_modules/@zuplo/editor/dist/adapters/node-preferences.d.ts.map +0 -1
  1166. package/node_modules/@zuplo/editor/dist/adapters/node-preferences.js +0 -38
  1167. package/node_modules/@zuplo/editor/dist/adapters/node-preferences.js.map +0 -1
  1168. package/node_modules/@zuplo/editor/dist/app.d.ts.map +0 -1
  1169. package/node_modules/@zuplo/editor/dist/client/static/css/main-DSfZObJX.css +0 -1
  1170. package/node_modules/@zuplo/editor/dist/client/static/js/GraphiQLConsole-CDlqCZZz.js +0 -71
  1171. package/node_modules/@zuplo/editor/dist/client/static/js/main-BdGwM1To.js +0 -1585
  1172. package/node_modules/@zuplo/editor/dist/config.d.ts.map +0 -1
  1173. package/node_modules/@zuplo/editor/dist/config.js +0 -111
  1174. package/node_modules/@zuplo/editor/dist/config.js.map +0 -1
  1175. package/node_modules/@zuplo/editor/dist/constants.d.ts +0 -46
  1176. package/node_modules/@zuplo/editor/dist/constants.d.ts.map +0 -1
  1177. package/node_modules/@zuplo/editor/dist/constants.js +0 -46
  1178. package/node_modules/@zuplo/editor/dist/constants.js.map +0 -1
  1179. package/node_modules/@zuplo/editor/dist/error-handler.d.ts +0 -14
  1180. package/node_modules/@zuplo/editor/dist/error-handler.d.ts.map +0 -1
  1181. package/node_modules/@zuplo/editor/dist/error-handler.js +0 -108
  1182. package/node_modules/@zuplo/editor/dist/error-handler.js.map +0 -1
  1183. package/node_modules/@zuplo/editor/dist/fixtures/preview-project.d.ts.map +0 -1
  1184. package/node_modules/@zuplo/editor/dist/index.d.ts.map +0 -1
  1185. package/node_modules/@zuplo/editor/dist/interfaces.d.ts.map +0 -1
  1186. package/node_modules/@zuplo/editor/dist/interfaces.js +0 -2
  1187. package/node_modules/@zuplo/editor/dist/interfaces.js.map +0 -1
  1188. package/node_modules/@zuplo/editor/dist/interfaces.portal.d.ts.map +0 -1
  1189. package/node_modules/@zuplo/editor/dist/interfaces.portal.js +0 -14
  1190. package/node_modules/@zuplo/editor/dist/interfaces.portal.js.map +0 -1
  1191. package/node_modules/@zuplo/editor/dist/ports.d.ts.map +0 -1
  1192. package/node_modules/@zuplo/editor/dist/routes/api.d.ts +0 -16
  1193. package/node_modules/@zuplo/editor/dist/routes/api.d.ts.map +0 -1
  1194. package/node_modules/@zuplo/editor/dist/routes/api.js +0 -116
  1195. package/node_modules/@zuplo/editor/dist/routes/api.js.map +0 -1
  1196. package/node_modules/@zuplo/editor/dist/routes/api.spec.d.ts +0 -2
  1197. package/node_modules/@zuplo/editor/dist/routes/api.spec.d.ts.map +0 -1
  1198. package/node_modules/@zuplo/editor/dist/routes/api.spec.js +0 -220
  1199. package/node_modules/@zuplo/editor/dist/routes/api.spec.js.map +0 -1
  1200. package/node_modules/@zuplo/editor/dist/routes/editor.d.ts +0 -17
  1201. package/node_modules/@zuplo/editor/dist/routes/editor.d.ts.map +0 -1
  1202. package/node_modules/@zuplo/editor/dist/routes/editor.js +0 -131
  1203. package/node_modules/@zuplo/editor/dist/routes/editor.js.map +0 -1
  1204. package/node_modules/@zuplo/editor/dist/routes/editor.spec.d.ts +0 -2
  1205. package/node_modules/@zuplo/editor/dist/routes/editor.spec.d.ts.map +0 -1
  1206. package/node_modules/@zuplo/editor/dist/routes/editor.spec.js +0 -207
  1207. package/node_modules/@zuplo/editor/dist/routes/editor.spec.js.map +0 -1
  1208. package/node_modules/@zuplo/editor/dist/routes/fs-race-condition.spec.d.ts +0 -2
  1209. package/node_modules/@zuplo/editor/dist/routes/fs-race-condition.spec.d.ts.map +0 -1
  1210. package/node_modules/@zuplo/editor/dist/routes/fs-race-condition.spec.js +0 -235
  1211. package/node_modules/@zuplo/editor/dist/routes/fs-race-condition.spec.js.map +0 -1
  1212. package/node_modules/@zuplo/editor/dist/routes/fs.d.ts +0 -10
  1213. package/node_modules/@zuplo/editor/dist/routes/fs.d.ts.map +0 -1
  1214. package/node_modules/@zuplo/editor/dist/routes/fs.js +0 -325
  1215. package/node_modules/@zuplo/editor/dist/routes/fs.js.map +0 -1
  1216. package/node_modules/@zuplo/editor/dist/routes/fs.spec.d.ts +0 -2
  1217. package/node_modules/@zuplo/editor/dist/routes/fs.spec.d.ts.map +0 -1
  1218. package/node_modules/@zuplo/editor/dist/routes/fs.spec.js +0 -613
  1219. package/node_modules/@zuplo/editor/dist/routes/fs.spec.js.map +0 -1
  1220. package/node_modules/@zuplo/editor/dist/routes/test.d.ts +0 -8
  1221. package/node_modules/@zuplo/editor/dist/routes/test.d.ts.map +0 -1
  1222. package/node_modules/@zuplo/editor/dist/routes/test.js +0 -130
  1223. package/node_modules/@zuplo/editor/dist/routes/test.js.map +0 -1
  1224. package/node_modules/@zuplo/editor/dist/routes/test.spec.d.ts +0 -2
  1225. package/node_modules/@zuplo/editor/dist/routes/test.spec.d.ts.map +0 -1
  1226. package/node_modules/@zuplo/editor/dist/routes/test.spec.js +0 -250
  1227. package/node_modules/@zuplo/editor/dist/routes/test.spec.js.map +0 -1
  1228. package/node_modules/@zuplo/editor/dist/server.d.ts.map +0 -1
  1229. package/node_modules/@zuplo/editor/dist/server.js +0 -147
  1230. package/node_modules/@zuplo/editor/dist/server.js.map +0 -1
  1231. package/node_modules/@zuplo/editor/dist/test-utils/setup.d.ts +0 -53
  1232. package/node_modules/@zuplo/editor/dist/test-utils/setup.d.ts.map +0 -1
  1233. package/node_modules/@zuplo/editor/dist/test-utils/setup.js +0 -82
  1234. package/node_modules/@zuplo/editor/dist/test-utils/setup.js.map +0 -1
  1235. package/node_modules/@zuplo/editor/dist/utils/path.d.ts +0 -20
  1236. package/node_modules/@zuplo/editor/dist/utils/path.d.ts.map +0 -1
  1237. package/node_modules/@zuplo/editor/dist/utils/path.js +0 -24
  1238. package/node_modules/@zuplo/editor/dist/utils/path.js.map +0 -1
  1239. package/node_modules/@zuplo/editor/dist/validation.d.ts +0 -31
  1240. package/node_modules/@zuplo/editor/dist/validation.d.ts.map +0 -1
  1241. package/node_modules/@zuplo/editor/dist/validation.js +0 -42
  1242. package/node_modules/@zuplo/editor/dist/validation.js.map +0 -1
  1243. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/LICENSE +0 -21
  1244. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/README.md +0 -391
  1245. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/conninfo.cjs +0 -22
  1246. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/conninfo.d.cts +0 -11
  1247. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/conninfo.d.mts +0 -11
  1248. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/conninfo.mjs +0 -20
  1249. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs +0 -5
  1250. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/constants-BXAKTxRC.cjs +0 -11
  1251. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/index.cjs +0 -1174
  1252. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/index.d.cts +0 -101
  1253. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/index.d.mts +0 -101
  1254. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/index.mjs +0 -1169
  1255. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/serve-static.cjs +0 -151
  1256. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/serve-static.d.cts +0 -18
  1257. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/serve-static.d.mts +0 -18
  1258. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/serve-static.mjs +0 -150
  1259. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/response.cjs +0 -8
  1260. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/response.d.cts +0 -4
  1261. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/response.d.mts +0 -4
  1262. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/response.mjs +0 -7
  1263. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/stream.cjs +0 -65
  1264. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/stream.d.cts +0 -6
  1265. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/stream.d.mts +0 -6
  1266. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/dist/utils/stream.mjs +0 -64
  1267. package/node_modules/@zuplo/editor/node_modules/@hono/node-server/package.json +0 -116
  1268. package/node_modules/@zuplo/editor/node_modules/chokidar/LICENSE +0 -21
  1269. package/node_modules/@zuplo/editor/node_modules/chokidar/README.md +0 -305
  1270. package/node_modules/@zuplo/editor/node_modules/chokidar/esm/handler.d.ts +0 -90
  1271. package/node_modules/@zuplo/editor/node_modules/chokidar/esm/handler.js +0 -629
  1272. package/node_modules/@zuplo/editor/node_modules/chokidar/esm/index.d.ts +0 -215
  1273. package/node_modules/@zuplo/editor/node_modules/chokidar/esm/index.js +0 -798
  1274. package/node_modules/@zuplo/editor/node_modules/chokidar/esm/package.json +0 -1
  1275. package/node_modules/@zuplo/editor/node_modules/chokidar/handler.d.ts +0 -90
  1276. package/node_modules/@zuplo/editor/node_modules/chokidar/handler.js +0 -635
  1277. package/node_modules/@zuplo/editor/node_modules/chokidar/index.d.ts +0 -215
  1278. package/node_modules/@zuplo/editor/node_modules/chokidar/index.js +0 -804
  1279. package/node_modules/@zuplo/editor/node_modules/chokidar/package.json +0 -69
  1280. package/node_modules/@zuplo/editor/node_modules/fast-copy/.release-it.beta.json +0 -9
  1281. package/node_modules/@zuplo/editor/node_modules/fast-copy/.release-it.json +0 -6
  1282. package/node_modules/@zuplo/editor/node_modules/fast-copy/CHANGELOG.md +0 -135
  1283. package/node_modules/@zuplo/editor/node_modules/fast-copy/LICENSE +0 -21
  1284. package/node_modules/@zuplo/editor/node_modules/fast-copy/README.md +0 -395
  1285. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/cjs/index.cjs +0 -406
  1286. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/cjs/index.cjs.map +0 -1
  1287. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/cjs/types/copier.d.ts +0 -74
  1288. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/cjs/types/index.d.ts +0 -34
  1289. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/cjs/types/utils.d.ts +0 -25
  1290. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/esm/index.mjs +0 -399
  1291. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/esm/index.mjs.map +0 -1
  1292. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/esm/types/copier.d.ts +0 -74
  1293. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/esm/types/index.d.ts +0 -34
  1294. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/esm/types/utils.d.ts +0 -25
  1295. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/min/index.js +0 -2
  1296. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/min/index.js.map +0 -1
  1297. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/min/types/copier.d.ts +0 -74
  1298. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/min/types/index.d.ts +0 -34
  1299. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/min/types/utils.d.ts +0 -25
  1300. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/umd/index.js +0 -412
  1301. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/umd/index.js.map +0 -1
  1302. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/umd/types/copier.d.ts +0 -74
  1303. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/umd/types/index.d.ts +0 -34
  1304. package/node_modules/@zuplo/editor/node_modules/fast-copy/dist/umd/types/utils.d.ts +0 -25
  1305. package/node_modules/@zuplo/editor/node_modules/fast-copy/flow-typed/fast-copy.js +0 -7
  1306. package/node_modules/@zuplo/editor/node_modules/fast-copy/index.d.ts +0 -55
  1307. package/node_modules/@zuplo/editor/node_modules/fast-copy/package.json +0 -103
  1308. package/node_modules/@zuplo/editor/node_modules/fast-copy/rollup/config.base.js +0 -38
  1309. package/node_modules/@zuplo/editor/node_modules/fast-copy/rollup/config.cjs.js +0 -11
  1310. package/node_modules/@zuplo/editor/node_modules/fast-copy/rollup/config.esm.js +0 -11
  1311. package/node_modules/@zuplo/editor/node_modules/fast-copy/rollup/config.min.js +0 -13
  1312. package/node_modules/@zuplo/editor/node_modules/fast-copy/rollup/config.umd.js +0 -11
  1313. package/node_modules/@zuplo/editor/node_modules/fast-copy/rollup/packageJson.js +0 -6
  1314. package/node_modules/@zuplo/editor/node_modules/fast-copy/tsconfig/base.json +0 -19
  1315. package/node_modules/@zuplo/editor/node_modules/fast-copy/tsconfig/cjs.json +0 -8
  1316. package/node_modules/@zuplo/editor/node_modules/fast-copy/tsconfig/declarations.json +0 -8
  1317. package/node_modules/@zuplo/editor/node_modules/fast-copy/tsconfig/esm.json +0 -8
  1318. package/node_modules/@zuplo/editor/node_modules/fast-copy/tsconfig/min.json +0 -8
  1319. package/node_modules/@zuplo/editor/node_modules/fast-copy/tsconfig/umd.json +0 -8
  1320. package/node_modules/@zuplo/editor/node_modules/hono/LICENSE +0 -21
  1321. package/node_modules/@zuplo/editor/node_modules/hono/README.md +0 -85
  1322. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/aws-lambda/conninfo.js +0 -24
  1323. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/aws-lambda/handler.js +0 -364
  1324. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/aws-lambda/index.js +0 -9
  1325. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/aws-lambda/types.js +0 -0
  1326. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/bun/conninfo.js +0 -27
  1327. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/bun/index.js +0 -16
  1328. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/bun/serve-static.js +0 -30
  1329. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/bun/server.js +0 -5
  1330. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/bun/ssg.js +0 -17
  1331. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/bun/websocket.js +0 -73
  1332. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-pages/conninfo.js +0 -9
  1333. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-pages/handler.js +0 -67
  1334. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-pages/index.js +0 -9
  1335. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-workers/conninfo.js +0 -9
  1336. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-workers/index.js +0 -9
  1337. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-workers/serve-static-module.js +0 -8
  1338. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-workers/serve-static.js +0 -22
  1339. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-workers/utils.js +0 -35
  1340. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/cloudflare-workers/websocket.js +0 -41
  1341. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/deno/conninfo.js +0 -14
  1342. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/deno/deno.d.js +0 -0
  1343. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/deno/index.js +0 -12
  1344. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/deno/serve-static.js +0 -40
  1345. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/deno/ssg.js +0 -18
  1346. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/deno/websocket.js +0 -32
  1347. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/lambda-edge/conninfo.js +0 -9
  1348. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/lambda-edge/handler.js +0 -96
  1349. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/lambda-edge/index.js +0 -7
  1350. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/netlify/conninfo.js +0 -9
  1351. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/netlify/handler.js +0 -9
  1352. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/netlify/index.js +0 -2
  1353. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/netlify/mod.js +0 -7
  1354. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/service-worker/handler.js +0 -20
  1355. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/service-worker/index.js +0 -9
  1356. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/service-worker/types.js +0 -0
  1357. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/vercel/conninfo.js +0 -10
  1358. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/vercel/handler.js +0 -7
  1359. package/node_modules/@zuplo/editor/node_modules/hono/dist/adapter/vercel/index.js +0 -7
  1360. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/aws-lambda/conninfo.js +0 -46
  1361. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/aws-lambda/handler.js +0 -395
  1362. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/aws-lambda/index.js +0 -34
  1363. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/aws-lambda/types.js +0 -15
  1364. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/bun/conninfo.js +0 -49
  1365. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/bun/index.js +0 -45
  1366. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +0 -52
  1367. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/bun/server.js +0 -27
  1368. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/bun/ssg.js +0 -40
  1369. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/bun/websocket.js +0 -98
  1370. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +0 -31
  1371. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-pages/handler.js +0 -91
  1372. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-pages/index.js +0 -34
  1373. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +0 -31
  1374. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-workers/index.js +0 -33
  1375. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +0 -30
  1376. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +0 -44
  1377. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-workers/utils.js +0 -57
  1378. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +0 -63
  1379. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/deno/conninfo.js +0 -36
  1380. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
  1381. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/deno/index.js +0 -38
  1382. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/deno/serve-static.js +0 -62
  1383. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/deno/ssg.js +0 -41
  1384. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/deno/websocket.js +0 -54
  1385. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/lambda-edge/conninfo.js +0 -31
  1386. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/lambda-edge/handler.js +0 -130
  1387. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/lambda-edge/index.js +0 -30
  1388. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/netlify/conninfo.js +0 -31
  1389. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/netlify/handler.js +0 -31
  1390. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/netlify/index.js +0 -21
  1391. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/netlify/mod.js +0 -30
  1392. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/service-worker/handler.js +0 -42
  1393. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/service-worker/index.js +0 -32
  1394. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/service-worker/types.js +0 -15
  1395. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/vercel/conninfo.js +0 -32
  1396. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/vercel/handler.js +0 -29
  1397. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/adapter/vercel/index.js +0 -30
  1398. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/client/client.js +0 -204
  1399. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/client/fetch-result-please.js +0 -85
  1400. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/client/index.js +0 -32
  1401. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/client/types.js +0 -15
  1402. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/client/utils.js +0 -105
  1403. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/compose.js +0 -68
  1404. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/context.js +0 -435
  1405. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/accepts/accepts.js +0 -43
  1406. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/accepts/index.js +0 -27
  1407. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/adapter/index.js +0 -81
  1408. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/conninfo/index.js +0 -15
  1409. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/conninfo/types.js +0 -15
  1410. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/cookie/index.js +0 -130
  1411. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/css/common.js +0 -273
  1412. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/css/index.js +0 -157
  1413. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/dev/index.js +0 -79
  1414. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/factory/index.js +0 -54
  1415. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/html/index.js +0 -64
  1416. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/proxy/index.js +0 -111
  1417. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/route/index.js +0 -71
  1418. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/ssg/index.js +0 -43
  1419. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/ssg/middleware.js +0 -73
  1420. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/ssg/plugins.js +0 -70
  1421. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/ssg/ssg.js +0 -320
  1422. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/ssg/utils.js +0 -93
  1423. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/streaming/index.js +0 -35
  1424. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/streaming/sse.js +0 -91
  1425. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/streaming/stream.js +0 -56
  1426. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/streaming/text.js +0 -34
  1427. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/streaming/utils.js +0 -35
  1428. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/testing/index.js +0 -33
  1429. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/helper/websocket/index.js +0 -81
  1430. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/hono-base.js +0 -405
  1431. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/hono.js +0 -43
  1432. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/http-exception.js +0 -57
  1433. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/index.js +0 -30
  1434. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/base.js +0 -374
  1435. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/children.js +0 -44
  1436. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/components.js +0 -221
  1437. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/constants.js +0 -42
  1438. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/context.js +0 -188
  1439. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/client.js +0 -76
  1440. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/components.js +0 -55
  1441. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/context.js +0 -71
  1442. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/css.js +0 -168
  1443. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/hooks/index.js +0 -74
  1444. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/index.js +0 -181
  1445. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +0 -399
  1446. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +0 -52
  1447. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/jsx-runtime.js +0 -32
  1448. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/render.js +0 -641
  1449. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/server.js +0 -67
  1450. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/dom/utils.js +0 -32
  1451. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/hooks/index.js +0 -370
  1452. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/index.js +0 -138
  1453. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/intrinsic-element/common.js +0 -50
  1454. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +0 -189
  1455. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/intrinsic-elements.js +0 -15
  1456. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/jsx-dev-runtime.js +0 -41
  1457. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/jsx-runtime.js +0 -71
  1458. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/streaming.js +0 -179
  1459. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/types.js +0 -15
  1460. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/jsx/utils.js +0 -200
  1461. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +0 -88
  1462. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +0 -114
  1463. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/body-limit/index.js +0 -75
  1464. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/cache/index.js +0 -124
  1465. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/combine/index.js +0 -101
  1466. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/compress/index.js +0 -92
  1467. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/context-storage/index.js +0 -47
  1468. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/cors/index.js +0 -106
  1469. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/csrf/index.js +0 -77
  1470. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/etag/digest.js +0 -55
  1471. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/etag/index.js +0 -96
  1472. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/ip-restriction/index.js +0 -176
  1473. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/jsx-renderer/index.js +0 -82
  1474. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/jwk/index.js +0 -27
  1475. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +0 -134
  1476. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/jwt/index.js +0 -38
  1477. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +0 -140
  1478. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/language/index.js +0 -35
  1479. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/language/language.js +0 -199
  1480. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/logger/index.js +0 -72
  1481. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/method-override/index.js +0 -106
  1482. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/powered-by/index.js +0 -32
  1483. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/pretty-json/index.js +0 -37
  1484. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/request-id/index.js +0 -27
  1485. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/request-id/request-id.js +0 -43
  1486. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/secure-headers/index.js +0 -29
  1487. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +0 -15
  1488. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/secure-headers/secure-headers.js +0 -195
  1489. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/serve-static/index.js +0 -99
  1490. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/serve-static/path.js +0 -40
  1491. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/timeout/index.js +0 -47
  1492. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/timing/index.js +0 -35
  1493. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/timing/timing.js +0 -130
  1494. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/middleware/trailing-slash/index.js +0 -62
  1495. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/package.json +0 -3
  1496. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/preset/quick.js +0 -38
  1497. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/preset/tiny.js +0 -34
  1498. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/request/constants.js +0 -27
  1499. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/request.js +0 -344
  1500. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/linear-router/index.js +0 -27
  1501. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/linear-router/router.js +0 -140
  1502. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/pattern-router/index.js +0 -27
  1503. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/pattern-router/router.js +0 -70
  1504. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/reg-exp-router/index.js +0 -34
  1505. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/reg-exp-router/matcher.js +0 -48
  1506. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +0 -134
  1507. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +0 -166
  1508. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +0 -208
  1509. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +0 -81
  1510. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/smart-router/index.js +0 -27
  1511. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/smart-router/router.js +0 -80
  1512. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/trie-router/index.js +0 -27
  1513. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/trie-router/node.js +0 -210
  1514. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router/trie-router/router.js +0 -48
  1515. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/router.js +0 -40
  1516. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/types.js +0 -28
  1517. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/accept.js +0 -245
  1518. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/basic-auth.js +0 -45
  1519. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/body.js +0 -111
  1520. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/buffer.js +0 -103
  1521. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/color.js +0 -48
  1522. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/compress.js +0 -27
  1523. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/concurrent.js +0 -61
  1524. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/constants.js +0 -27
  1525. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/cookie.js +0 -198
  1526. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/crypto.js +0 -69
  1527. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/encode.js +0 -54
  1528. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/filepath.js +0 -58
  1529. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/handler.js +0 -36
  1530. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/headers.js +0 -15
  1531. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/html.js +0 -150
  1532. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/http-status.js +0 -15
  1533. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/ipaddr.js +0 -318
  1534. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/jwt/index.js +0 -28
  1535. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/jwt/jwa.js +0 -42
  1536. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/jwt/jws.js +0 -215
  1537. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/jwt/jwt.js +0 -219
  1538. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/jwt/types.js +0 -161
  1539. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/jwt/utf8.js +0 -30
  1540. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/mime.js +0 -106
  1541. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/stream.js +0 -103
  1542. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/types.js +0 -15
  1543. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/utils/url.js +0 -256
  1544. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/validator/index.js +0 -27
  1545. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/validator/utils.js +0 -15
  1546. package/node_modules/@zuplo/editor/node_modules/hono/dist/cjs/validator/validator.js +0 -108
  1547. package/node_modules/@zuplo/editor/node_modules/hono/dist/client/client.js +0 -189
  1548. package/node_modules/@zuplo/editor/node_modules/hono/dist/client/fetch-result-please.js +0 -62
  1549. package/node_modules/@zuplo/editor/node_modules/hono/dist/client/index.js +0 -8
  1550. package/node_modules/@zuplo/editor/node_modules/hono/dist/client/types.js +0 -0
  1551. package/node_modules/@zuplo/editor/node_modules/hono/dist/client/utils.js +0 -76
  1552. package/node_modules/@zuplo/editor/node_modules/hono/dist/compose.js +0 -46
  1553. package/node_modules/@zuplo/editor/node_modules/hono/dist/context.js +0 -412
  1554. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/accepts/accepts.js +0 -20
  1555. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/accepts/index.js +0 -5
  1556. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/adapter/index.js +0 -56
  1557. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/conninfo/index.js +0 -0
  1558. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/conninfo/types.js +0 -0
  1559. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/cookie/index.js +0 -102
  1560. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/css/common.js +0 -236
  1561. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/css/index.js +0 -140
  1562. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/dev/index.js +0 -55
  1563. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/factory/index.js +0 -30
  1564. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/html/index.js +0 -41
  1565. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/proxy/index.js +0 -89
  1566. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/route/index.js +0 -46
  1567. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/ssg/index.js +0 -19
  1568. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/ssg/middleware.js +0 -45
  1569. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/ssg/plugins.js +0 -47
  1570. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/ssg/ssg.js +0 -297
  1571. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/ssg/utils.js +0 -67
  1572. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/streaming/index.js +0 -10
  1573. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/streaming/sse.js +0 -68
  1574. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/streaming/stream.js +0 -34
  1575. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/streaming/text.js +0 -12
  1576. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/streaming/utils.js +0 -13
  1577. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/testing/index.js +0 -11
  1578. package/node_modules/@zuplo/editor/node_modules/hono/dist/helper/websocket/index.js +0 -57
  1579. package/node_modules/@zuplo/editor/node_modules/hono/dist/hono-base.js +0 -383
  1580. package/node_modules/@zuplo/editor/node_modules/hono/dist/hono.js +0 -21
  1581. package/node_modules/@zuplo/editor/node_modules/hono/dist/http-exception.js +0 -35
  1582. package/node_modules/@zuplo/editor/node_modules/hono/dist/index.js +0 -7
  1583. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/base.js +0 -342
  1584. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/children.js +0 -21
  1585. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/components.js +0 -198
  1586. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/constants.js +0 -15
  1587. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/context.js +0 -162
  1588. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/client.js +0 -53
  1589. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/components.js +0 -32
  1590. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/context.js +0 -48
  1591. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/css.js +0 -150
  1592. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/hooks/index.js +0 -48
  1593. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/index.js +0 -142
  1594. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/intrinsic-element/components.js +0 -374
  1595. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/jsx-dev-runtime.js +0 -19
  1596. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/jsx-runtime.js +0 -8
  1597. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/render.js +0 -617
  1598. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/server.js +0 -33
  1599. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/dom/utils.js +0 -10
  1600. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/hooks/index.js +0 -328
  1601. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/index.js +0 -103
  1602. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/intrinsic-element/common.js +0 -24
  1603. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/intrinsic-element/components.js +0 -165
  1604. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/intrinsic-elements.js +0 -0
  1605. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/jsx-dev-runtime.js +0 -18
  1606. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/jsx-runtime.js +0 -44
  1607. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/streaming.js +0 -155
  1608. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/types.js +0 -0
  1609. package/node_modules/@zuplo/editor/node_modules/hono/dist/jsx/utils.js +0 -175
  1610. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/basic-auth/index.js +0 -66
  1611. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/bearer-auth/index.js +0 -92
  1612. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/body-limit/index.js +0 -53
  1613. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/cache/index.js +0 -102
  1614. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/combine/index.js +0 -77
  1615. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/compress/index.js +0 -69
  1616. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/context-storage/index.js +0 -23
  1617. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/cors/index.js +0 -84
  1618. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/csrf/index.js +0 -55
  1619. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/etag/digest.js +0 -33
  1620. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/etag/index.js +0 -73
  1621. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/ip-restriction/index.js +0 -162
  1622. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/jsx-renderer/index.js +0 -58
  1623. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/jwk/index.js +0 -5
  1624. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/jwk/jwk.js +0 -112
  1625. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/jwt/index.js +0 -11
  1626. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/jwt/jwt.js +0 -114
  1627. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/language/index.js +0 -15
  1628. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/language/language.js +0 -168
  1629. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/logger/index.js +0 -44
  1630. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/method-override/index.js +0 -84
  1631. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/powered-by/index.js +0 -10
  1632. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/pretty-json/index.js +0 -15
  1633. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/request-id/index.js +0 -5
  1634. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/request-id/request-id.js +0 -21
  1635. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/secure-headers/index.js +0 -6
  1636. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
  1637. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/secure-headers/secure-headers.js +0 -172
  1638. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/serve-static/index.js +0 -77
  1639. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/serve-static/path.js +0 -18
  1640. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/timeout/index.js +0 -25
  1641. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/timing/index.js +0 -9
  1642. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/timing/timing.js +0 -104
  1643. package/node_modules/@zuplo/editor/node_modules/hono/dist/middleware/trailing-slash/index.js +0 -39
  1644. package/node_modules/@zuplo/editor/node_modules/hono/dist/preset/quick.js +0 -16
  1645. package/node_modules/@zuplo/editor/node_modules/hono/dist/preset/tiny.js +0 -12
  1646. package/node_modules/@zuplo/editor/node_modules/hono/dist/request/constants.js +0 -5
  1647. package/node_modules/@zuplo/editor/node_modules/hono/dist/request.js +0 -321
  1648. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/linear-router/index.js +0 -5
  1649. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/linear-router/router.js +0 -118
  1650. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/pattern-router/index.js +0 -5
  1651. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/pattern-router/router.js +0 -48
  1652. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/reg-exp-router/index.js +0 -9
  1653. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/reg-exp-router/matcher.js +0 -25
  1654. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/reg-exp-router/node.js +0 -111
  1655. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +0 -142
  1656. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/reg-exp-router/router.js +0 -190
  1657. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/reg-exp-router/trie.js +0 -59
  1658. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/smart-router/index.js +0 -5
  1659. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/smart-router/router.js +0 -58
  1660. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/trie-router/index.js +0 -5
  1661. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/trie-router/node.js +0 -188
  1662. package/node_modules/@zuplo/editor/node_modules/hono/dist/router/trie-router/router.js +0 -26
  1663. package/node_modules/@zuplo/editor/node_modules/hono/dist/router.js +0 -14
  1664. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +0 -27
  1665. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/aws-lambda/handler.d.ts +0 -184
  1666. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/aws-lambda/index.d.ts +0 -8
  1667. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/aws-lambda/types.d.ts +0 -153
  1668. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +0 -7
  1669. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/bun/index.d.ts +0 -10
  1670. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/bun/serve-static.d.ts +0 -3
  1671. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/bun/server.d.ts +0 -12
  1672. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +0 -13
  1673. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/bun/websocket.d.ts +0 -39
  1674. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +0 -21
  1675. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +0 -33
  1676. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-pages/index.d.ts +0 -7
  1677. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +0 -2
  1678. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-workers/index.d.ts +0 -7
  1679. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +0 -4
  1680. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +0 -16
  1681. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +0 -5
  1682. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +0 -2
  1683. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +0 -7
  1684. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/deno/index.d.ts +0 -8
  1685. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/deno/serve-static.d.ts +0 -3
  1686. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +0 -13
  1687. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/deno/websocket.d.ts +0 -2
  1688. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +0 -2
  1689. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/lambda-edge/handler.d.ts +0 -87
  1690. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/lambda-edge/index.d.ts +0 -7
  1691. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +0 -21
  1692. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/netlify/handler.d.ts +0 -2
  1693. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/netlify/index.d.ts +0 -5
  1694. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/netlify/mod.d.ts +0 -2
  1695. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/service-worker/handler.d.ts +0 -16
  1696. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/service-worker/index.d.ts +0 -28
  1697. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/service-worker/types.d.ts +0 -12
  1698. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +0 -2
  1699. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/vercel/handler.d.ts +0 -2
  1700. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/adapter/vercel/index.d.ts +0 -6
  1701. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/client/client.d.ts +0 -4
  1702. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/client/fetch-result-please.d.ts +0 -35
  1703. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/client/index.d.ts +0 -7
  1704. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/client/types.d.ts +0 -229
  1705. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/client/utils.d.ts +0 -18
  1706. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/compose.d.ts +0 -14
  1707. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/context.d.ts +0 -455
  1708. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/accepts/accepts.d.ts +0 -30
  1709. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/accepts/index.d.ts +0 -5
  1710. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/adapter/index.d.ts +0 -12
  1711. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/conninfo/index.d.ts +0 -5
  1712. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/conninfo/types.d.ts +0 -36
  1713. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/cookie/index.d.ts +0 -24
  1714. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/css/common.d.ts +0 -59
  1715. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/css/index.d.ts +0 -80
  1716. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/dev/index.d.ts +0 -20
  1717. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/factory/index.d.ts +0 -82
  1718. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/html/index.d.ts +0 -8
  1719. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/proxy/index.d.ts +0 -72
  1720. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/route/index.d.ts +0 -75
  1721. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/ssg/index.d.ts +0 -7
  1722. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/ssg/middleware.d.ts +0 -44
  1723. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/ssg/plugins.d.ts +0 -27
  1724. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/ssg/ssg.d.ts +0 -91
  1725. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/ssg/utils.d.ts +0 -16
  1726. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/streaming/index.d.ts +0 -8
  1727. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/streaming/sse.d.ts +0 -13
  1728. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/streaming/stream.d.ts +0 -3
  1729. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/streaming/text.d.ts +0 -3
  1730. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/streaming/utils.d.ts +0 -1
  1731. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/testing/index.d.ts +0 -12
  1732. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/helper/websocket/index.d.ts +0 -69
  1733. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/hono-base.d.ts +0 -220
  1734. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/hono.d.ts +0 -19
  1735. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/http-exception.d.ts +0 -59
  1736. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/index.d.ts +0 -37
  1737. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/base.d.ts +0 -56
  1738. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/children.d.ts +0 -9
  1739. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/components.d.ts +0 -15
  1740. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/constants.d.ts +0 -6
  1741. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/context.d.ts +0 -51
  1742. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/client.d.ts +0 -31
  1743. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/components.d.ts +0 -10
  1744. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/context.d.ts +0 -3
  1745. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/css.d.ts +0 -83
  1746. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/hooks/index.d.ts +0 -39
  1747. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/index.d.ts +0 -88
  1748. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +0 -16
  1749. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +0 -8
  1750. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/jsx-runtime.d.ts +0 -7
  1751. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/render.d.ts +0 -73
  1752. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/server.d.ts +0 -106
  1753. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/dom/utils.d.ts +0 -1
  1754. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/hooks/index.d.ts +0 -45
  1755. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/index.d.ts +0 -75
  1756. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/intrinsic-element/common.d.ts +0 -6
  1757. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/intrinsic-element/components.d.ts +0 -13
  1758. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/intrinsic-elements.d.ts +0 -722
  1759. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/jsx-dev-runtime.d.ts +0 -8
  1760. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/jsx-runtime.d.ts +0 -12
  1761. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/streaming.d.ts +0 -36
  1762. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/types.d.ts +0 -35
  1763. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/jsx/utils.d.ts +0 -4
  1764. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/basic-auth/index.d.ts +0 -75
  1765. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +0 -92
  1766. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/body-limit/index.d.ts +0 -45
  1767. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/cache/index.d.ts +0 -43
  1768. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/combine/index.d.ts +0 -85
  1769. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/compress/index.d.ts +0 -40
  1770. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/context-storage/index.d.ts +0 -40
  1771. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/cors/index.d.ts +0 -55
  1772. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/csrf/index.d.ts +0 -78
  1773. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/etag/digest.d.ts +0 -1
  1774. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/etag/index.d.ts +0 -42
  1775. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +0 -67
  1776. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +0 -77
  1777. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/jwk/index.d.ts +0 -1
  1778. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/jwk/jwk.d.ts +0 -54
  1779. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/jwt/index.d.ts +0 -8
  1780. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/jwt/jwt.d.ts +0 -67
  1781. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/language/index.d.ts +0 -7
  1782. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/language/language.d.ts +0 -120
  1783. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/logger/index.d.ts +0 -24
  1784. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/method-override/index.d.ts +0 -48
  1785. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/powered-by/index.d.ts +0 -29
  1786. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/pretty-json/index.d.ts +0 -42
  1787. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/request-id/index.d.ts +0 -7
  1788. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/request-id/request-id.d.ts +0 -37
  1789. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/secure-headers/index.d.ts +0 -8
  1790. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +0 -14
  1791. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +0 -109
  1792. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/serve-static/index.d.ts +0 -31
  1793. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/serve-static/path.d.ts +0 -5
  1794. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/timeout/index.d.ts +0 -31
  1795. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/timing/index.d.ts +0 -7
  1796. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/timing/timing.d.ts +0 -129
  1797. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/middleware/trailing-slash/index.d.ts +0 -94
  1798. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/package.json +0 -3
  1799. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/preset/quick.d.ts +0 -10
  1800. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/preset/tiny.d.ts +0 -10
  1801. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/request/constants.d.ts +0 -1
  1802. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/request.d.ts +0 -324
  1803. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/linear-router/index.d.ts +0 -5
  1804. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/linear-router/router.d.ts +0 -7
  1805. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/pattern-router/index.d.ts +0 -5
  1806. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/pattern-router/router.d.ts +0 -7
  1807. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/reg-exp-router/index.d.ts +0 -6
  1808. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/reg-exp-router/matcher.d.ts +0 -7
  1809. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +0 -10
  1810. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +0 -17
  1811. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/reg-exp-router/router.d.ts +0 -11
  1812. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +0 -7
  1813. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/smart-router/index.d.ts +0 -5
  1814. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/smart-router/router.d.ts +0 -11
  1815. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/trie-router/index.d.ts +0 -5
  1816. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/trie-router/node.d.ts +0 -7
  1817. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router/trie-router/router.d.ts +0 -8
  1818. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/router.d.ts +0 -97
  1819. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/types.d.ts +0 -573
  1820. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/accept.d.ts +0 -6
  1821. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/basic-auth.d.ts +0 -5
  1822. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/body.d.ts +0 -79
  1823. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/buffer.d.ts +0 -17
  1824. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/color.d.ts +0 -21
  1825. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/compress.d.ts +0 -8
  1826. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/concurrent.d.ts +0 -11
  1827. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/constants.d.ts +0 -4
  1828. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/cookie.d.ts +0 -40
  1829. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/crypto.d.ts +0 -15
  1830. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/encode.d.ts +0 -8
  1831. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/filepath.d.ts +0 -12
  1832. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/handler.d.ts +0 -6
  1833. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/headers.d.ts +0 -8
  1834. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/html.d.ts +0 -44
  1835. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/http-status.d.ts +0 -32
  1836. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/ipaddr.d.ts +0 -56
  1837. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/jwt/index.d.ts +0 -18
  1838. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/jwt/jwa.d.ts +0 -23
  1839. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/jwt/jws.d.ts +0 -12
  1840. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/jwt/jwt.d.ts +0 -43
  1841. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/jwt/types.d.ts +0 -86
  1842. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/jwt/utf8.d.ts +0 -6
  1843. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/mime.d.ts +0 -70
  1844. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/stream.d.ts +0 -31
  1845. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/types.d.ts +0 -74
  1846. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/utils/url.d.ts +0 -39
  1847. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/validator/index.d.ts +0 -7
  1848. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/validator/utils.d.ts +0 -29
  1849. package/node_modules/@zuplo/editor/node_modules/hono/dist/types/validator/validator.d.ts +0 -16
  1850. package/node_modules/@zuplo/editor/node_modules/hono/dist/types.js +0 -6
  1851. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/accept.js +0 -223
  1852. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/basic-auth.js +0 -23
  1853. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/body.js +0 -89
  1854. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/buffer.js +0 -78
  1855. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/color.js +0 -25
  1856. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/compress.js +0 -5
  1857. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/concurrent.js +0 -39
  1858. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/constants.js +0 -5
  1859. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/cookie.js +0 -173
  1860. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/crypto.js +0 -44
  1861. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/encode.js +0 -29
  1862. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/filepath.js +0 -35
  1863. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/handler.js +0 -13
  1864. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/headers.js +0 -0
  1865. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/html.js +0 -123
  1866. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/http-status.js +0 -0
  1867. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/ipaddr.js +0 -288
  1868. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/jwt/index.js +0 -6
  1869. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/jwt/jwa.js +0 -20
  1870. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/jwt/jws.js +0 -192
  1871. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/jwt/jwt.js +0 -207
  1872. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/jwt/types.js +0 -124
  1873. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/jwt/utf8.js +0 -7
  1874. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/mime.js +0 -82
  1875. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/stream.js +0 -81
  1876. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/types.js +0 -0
  1877. package/node_modules/@zuplo/editor/node_modules/hono/dist/utils/url.js +0 -222
  1878. package/node_modules/@zuplo/editor/node_modules/hono/dist/validator/index.js +0 -5
  1879. package/node_modules/@zuplo/editor/node_modules/hono/dist/validator/utils.js +0 -0
  1880. package/node_modules/@zuplo/editor/node_modules/hono/dist/validator/validator.js +0 -86
  1881. package/node_modules/@zuplo/editor/node_modules/hono/package.json +0 -699
  1882. package/node_modules/@zuplo/editor/node_modules/pino/.eslintignore +0 -2
  1883. package/node_modules/@zuplo/editor/node_modules/pino/.eslintrc +0 -8
  1884. package/node_modules/@zuplo/editor/node_modules/pino/.github/dependabot.yml +0 -13
  1885. package/node_modules/@zuplo/editor/node_modules/pino/.github/workflows/bench.yml +0 -61
  1886. package/node_modules/@zuplo/editor/node_modules/pino/.github/workflows/ci.yml +0 -88
  1887. package/node_modules/@zuplo/editor/node_modules/pino/.github/workflows/lock-threads.yml +0 -30
  1888. package/node_modules/@zuplo/editor/node_modules/pino/.github/workflows/publish-release.yml +0 -43
  1889. package/node_modules/@zuplo/editor/node_modules/pino/.github/workflows/target-main.yml +0 -23
  1890. package/node_modules/@zuplo/editor/node_modules/pino/.nojekyll +0 -0
  1891. package/node_modules/@zuplo/editor/node_modules/pino/.prettierignore +0 -1
  1892. package/node_modules/@zuplo/editor/node_modules/pino/CNAME +0 -1
  1893. package/node_modules/@zuplo/editor/node_modules/pino/CONTRIBUTING.md +0 -30
  1894. package/node_modules/@zuplo/editor/node_modules/pino/LICENSE +0 -21
  1895. package/node_modules/@zuplo/editor/node_modules/pino/README.md +0 -177
  1896. package/node_modules/@zuplo/editor/node_modules/pino/SECURITY.md +0 -68
  1897. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/basic.bench.js +0 -95
  1898. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/child-child.bench.js +0 -52
  1899. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/child-creation.bench.js +0 -73
  1900. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/child.bench.js +0 -62
  1901. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/deep-object.bench.js +0 -88
  1902. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/formatters.bench.js +0 -50
  1903. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/internal/custom-levels.js +0 -67
  1904. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/internal/just-pino-heavy.bench.js +0 -76
  1905. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/internal/just-pino.bench.js +0 -182
  1906. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/internal/parent-vs-child.bench.js +0 -75
  1907. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/internal/redact.bench.js +0 -86
  1908. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/long-string.bench.js +0 -81
  1909. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/multi-arg.bench.js +0 -193
  1910. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/multistream.js +0 -98
  1911. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/object.bench.js +0 -82
  1912. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/utils/generate-benchmark-doc.js +0 -36
  1913. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/utils/runbench.js +0 -138
  1914. package/node_modules/@zuplo/editor/node_modules/pino/benchmarks/utils/wrap-log-level.js +0 -55
  1915. package/node_modules/@zuplo/editor/node_modules/pino/bin.js +0 -6
  1916. package/node_modules/@zuplo/editor/node_modules/pino/browser.js +0 -505
  1917. package/node_modules/@zuplo/editor/node_modules/pino/build/sync-version.js +0 -25
  1918. package/node_modules/@zuplo/editor/node_modules/pino/docs/api.md +0 -1588
  1919. package/node_modules/@zuplo/editor/node_modules/pino/docs/asynchronous.md +0 -40
  1920. package/node_modules/@zuplo/editor/node_modules/pino/docs/benchmarks.md +0 -55
  1921. package/node_modules/@zuplo/editor/node_modules/pino/docs/browser.md +0 -242
  1922. package/node_modules/@zuplo/editor/node_modules/pino/docs/bundling.md +0 -40
  1923. package/node_modules/@zuplo/editor/node_modules/pino/docs/child-loggers.md +0 -95
  1924. package/node_modules/@zuplo/editor/node_modules/pino/docs/diagnostics.md +0 -16
  1925. package/node_modules/@zuplo/editor/node_modules/pino/docs/ecosystem.md +0 -86
  1926. package/node_modules/@zuplo/editor/node_modules/pino/docs/help.md +0 -345
  1927. package/node_modules/@zuplo/editor/node_modules/pino/docs/lts.md +0 -64
  1928. package/node_modules/@zuplo/editor/node_modules/pino/docs/pretty.md +0 -35
  1929. package/node_modules/@zuplo/editor/node_modules/pino/docs/redaction.md +0 -135
  1930. package/node_modules/@zuplo/editor/node_modules/pino/docs/transports.md +0 -1263
  1931. package/node_modules/@zuplo/editor/node_modules/pino/docs/web.md +0 -309
  1932. package/node_modules/@zuplo/editor/node_modules/pino/docsify/sidebar.md +0 -26
  1933. package/node_modules/@zuplo/editor/node_modules/pino/examples/basic.js +0 -43
  1934. package/node_modules/@zuplo/editor/node_modules/pino/examples/transport.js +0 -68
  1935. package/node_modules/@zuplo/editor/node_modules/pino/favicon-16x16.png +0 -0
  1936. package/node_modules/@zuplo/editor/node_modules/pino/favicon-32x32.png +0 -0
  1937. package/node_modules/@zuplo/editor/node_modules/pino/favicon.ico +0 -0
  1938. package/node_modules/@zuplo/editor/node_modules/pino/file.js +0 -12
  1939. package/node_modules/@zuplo/editor/node_modules/pino/inc-version.sh +0 -42
  1940. package/node_modules/@zuplo/editor/node_modules/pino/index.html +0 -55
  1941. package/node_modules/@zuplo/editor/node_modules/pino/lib/caller.js +0 -30
  1942. package/node_modules/@zuplo/editor/node_modules/pino/lib/constants.js +0 -28
  1943. package/node_modules/@zuplo/editor/node_modules/pino/lib/deprecations.js +0 -8
  1944. package/node_modules/@zuplo/editor/node_modules/pino/lib/levels.js +0 -241
  1945. package/node_modules/@zuplo/editor/node_modules/pino/lib/meta.js +0 -3
  1946. package/node_modules/@zuplo/editor/node_modules/pino/lib/multistream.js +0 -203
  1947. package/node_modules/@zuplo/editor/node_modules/pino/lib/proto.js +0 -258
  1948. package/node_modules/@zuplo/editor/node_modules/pino/lib/redaction.js +0 -114
  1949. package/node_modules/@zuplo/editor/node_modules/pino/lib/symbols.js +0 -74
  1950. package/node_modules/@zuplo/editor/node_modules/pino/lib/time.js +0 -39
  1951. package/node_modules/@zuplo/editor/node_modules/pino/lib/tools.js +0 -424
  1952. package/node_modules/@zuplo/editor/node_modules/pino/lib/transport-stream.js +0 -56
  1953. package/node_modules/@zuplo/editor/node_modules/pino/lib/transport.js +0 -167
  1954. package/node_modules/@zuplo/editor/node_modules/pino/lib/worker.js +0 -194
  1955. package/node_modules/@zuplo/editor/node_modules/pino/package.json +0 -120
  1956. package/node_modules/@zuplo/editor/node_modules/pino/pino-banner.png +0 -0
  1957. package/node_modules/@zuplo/editor/node_modules/pino/pino-logo-hire.png +0 -0
  1958. package/node_modules/@zuplo/editor/node_modules/pino/pino-tree.png +0 -0
  1959. package/node_modules/@zuplo/editor/node_modules/pino/pino.d.ts +0 -904
  1960. package/node_modules/@zuplo/editor/node_modules/pino/pino.js +0 -234
  1961. package/node_modules/@zuplo/editor/node_modules/pino/pretty-demo.png +0 -0
  1962. package/node_modules/@zuplo/editor/node_modules/pino/test/basic.test.js +0 -886
  1963. package/node_modules/@zuplo/editor/node_modules/pino/test/broken-pipe.test.js +0 -59
  1964. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-child.test.js +0 -132
  1965. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-disabled.test.js +0 -87
  1966. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-early-console-freeze.test.js +0 -12
  1967. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-is-level-enabled.test.js +0 -101
  1968. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-levels.test.js +0 -241
  1969. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-serializers.test.js +0 -352
  1970. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-timestamp.test.js +0 -88
  1971. package/node_modules/@zuplo/editor/node_modules/pino/test/browser-transmit.test.js +0 -417
  1972. package/node_modules/@zuplo/editor/node_modules/pino/test/browser.test.js +0 -679
  1973. package/node_modules/@zuplo/editor/node_modules/pino/test/complex-objects.test.js +0 -36
  1974. package/node_modules/@zuplo/editor/node_modules/pino/test/crlf.test.js +0 -34
  1975. package/node_modules/@zuplo/editor/node_modules/pino/test/custom-levels.test.js +0 -267
  1976. package/node_modules/@zuplo/editor/node_modules/pino/test/diagnostics.test.js +0 -107
  1977. package/node_modules/@zuplo/editor/node_modules/pino/test/error-key.test.js +0 -37
  1978. package/node_modules/@zuplo/editor/node_modules/pino/test/error.test.js +0 -403
  1979. package/node_modules/@zuplo/editor/node_modules/pino/test/escaping.test.js +0 -93
  1980. package/node_modules/@zuplo/editor/node_modules/pino/test/esm/esm.mjs +0 -14
  1981. package/node_modules/@zuplo/editor/node_modules/pino/test/esm/index.test.js +0 -21
  1982. package/node_modules/@zuplo/editor/node_modules/pino/test/esm/named-exports.mjs +0 -29
  1983. package/node_modules/@zuplo/editor/node_modules/pino/test/exit.test.js +0 -79
  1984. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/broken-pipe/basic.js +0 -9
  1985. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/broken-pipe/destination.js +0 -10
  1986. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/broken-pipe/syncfalse.js +0 -12
  1987. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/console-transport.js +0 -13
  1988. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/crashing-transport.js +0 -13
  1989. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/default-exit.js +0 -8
  1990. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/destination-exit.js +0 -8
  1991. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/index.js +0 -13
  1992. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/14-files.js +0 -3
  1993. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/2-files.js +0 -3
  1994. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file1.js +0 -5
  1995. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file10.js +0 -5
  1996. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file11.js +0 -5
  1997. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file12.js +0 -5
  1998. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file13.js +0 -5
  1999. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file14.js +0 -11
  2000. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file2.js +0 -5
  2001. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file3.js +0 -5
  2002. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file4.js +0 -5
  2003. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file5.js +0 -5
  2004. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file6.js +0 -5
  2005. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file7.js +0 -5
  2006. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file8.js +0 -5
  2007. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/eval/node_modules/file9.js +0 -5
  2008. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/noop-transport.js +0 -10
  2009. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/pretty/null-prototype.js +0 -8
  2010. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/stdout-hack-protection.js +0 -11
  2011. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/syncfalse-child.js +0 -6
  2012. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/syncfalse-exit.js +0 -9
  2013. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/syncfalse-flush-exit.js +0 -10
  2014. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/syncfalse.js +0 -6
  2015. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/syntax-error-esm.mjs +0 -2
  2016. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/to-file-transport-with-transform.js +0 -20
  2017. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/to-file-transport.js +0 -13
  2018. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/to-file-transport.mjs +0 -8
  2019. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport/index.js +0 -12
  2020. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport/package.json +0 -5
  2021. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-exit-immediately-with-async-dest.js +0 -16
  2022. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-exit-immediately.js +0 -11
  2023. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-exit-on-ready.js +0 -12
  2024. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-main.js +0 -9
  2025. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-many-lines.js +0 -29
  2026. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-string-stdout.js +0 -9
  2027. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-transform.js +0 -21
  2028. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-uses-pino-config.js +0 -33
  2029. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-with-on-exit.js +0 -12
  2030. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-worker-data.js +0 -19
  2031. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-worker.js +0 -15
  2032. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/transport-wrong-export-type.js +0 -3
  2033. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/to-file-transport-with-transform.ts +0 -18
  2034. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/to-file-transport.ts +0 -11
  2035. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transpile.cjs +0 -36
  2036. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transport-exit-immediately-with-async-dest.ts +0 -15
  2037. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transport-exit-immediately.ts +0 -10
  2038. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transport-exit-on-ready.ts +0 -11
  2039. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transport-main.ts +0 -8
  2040. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transport-string-stdout.ts +0 -8
  2041. package/node_modules/@zuplo/editor/node_modules/pino/test/fixtures/ts/transport-worker.ts +0 -14
  2042. package/node_modules/@zuplo/editor/node_modules/pino/test/formatters.test.js +0 -364
  2043. package/node_modules/@zuplo/editor/node_modules/pino/test/helper.d.ts +0 -4
  2044. package/node_modules/@zuplo/editor/node_modules/pino/test/helper.js +0 -155
  2045. package/node_modules/@zuplo/editor/node_modules/pino/test/hooks.test.js +0 -114
  2046. package/node_modules/@zuplo/editor/node_modules/pino/test/http.test.js +0 -214
  2047. package/node_modules/@zuplo/editor/node_modules/pino/test/internals/version.test.js +0 -17
  2048. package/node_modules/@zuplo/editor/node_modules/pino/test/is-level-enabled.test.js +0 -179
  2049. package/node_modules/@zuplo/editor/node_modules/pino/test/jest/basic.spec.js +0 -10
  2050. package/node_modules/@zuplo/editor/node_modules/pino/test/levels.test.js +0 -810
  2051. package/node_modules/@zuplo/editor/node_modules/pino/test/metadata.test.js +0 -120
  2052. package/node_modules/@zuplo/editor/node_modules/pino/test/mixin-merge-strategy.test.js +0 -57
  2053. package/node_modules/@zuplo/editor/node_modules/pino/test/mixin.test.js +0 -241
  2054. package/node_modules/@zuplo/editor/node_modules/pino/test/multistream.test.js +0 -729
  2055. package/node_modules/@zuplo/editor/node_modules/pino/test/redact.test.js +0 -849
  2056. package/node_modules/@zuplo/editor/node_modules/pino/test/serializers.test.js +0 -257
  2057. package/node_modules/@zuplo/editor/node_modules/pino/test/stdout-protection.test.js +0 -41
  2058. package/node_modules/@zuplo/editor/node_modules/pino/test/syncfalse.test.js +0 -186
  2059. package/node_modules/@zuplo/editor/node_modules/pino/test/timestamp-nano.test.js +0 -37
  2060. package/node_modules/@zuplo/editor/node_modules/pino/test/timestamp.test.js +0 -124
  2061. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/big.test.js +0 -42
  2062. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/bundlers-support.test.js +0 -99
  2063. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/caller.test.js +0 -24
  2064. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/core.test.js +0 -654
  2065. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/core.transpiled.test.ts +0 -114
  2066. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/crash.test.js +0 -36
  2067. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/module-link.test.js +0 -241
  2068. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/pipeline.test.js +0 -137
  2069. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/repl.test.js +0 -15
  2070. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/sync-false.test.js +0 -70
  2071. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/sync-true.test.js +0 -57
  2072. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/targets.test.js +0 -48
  2073. package/node_modules/@zuplo/editor/node_modules/pino/test/transport/uses-pino-config.test.js +0 -166
  2074. package/node_modules/@zuplo/editor/node_modules/pino/test/transport-stream.test.js +0 -40
  2075. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino-import.test-d.cts +0 -29
  2076. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino-multistream.test-d.ts +0 -28
  2077. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino-top-export.test-d.ts +0 -36
  2078. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino-transport.test-d.ts +0 -145
  2079. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino-type-only.test-d.ts +0 -66
  2080. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino.test-d.ts +0 -585
  2081. package/node_modules/@zuplo/editor/node_modules/pino/test/types/pino.ts +0 -90
  2082. package/node_modules/@zuplo/editor/node_modules/pino/tsconfig.json +0 -14
  2083. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/.github/dependabot.yml +0 -13
  2084. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/.github/workflows/ci.yml +0 -97
  2085. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/.husky/pre-commit +0 -4
  2086. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/LICENSE +0 -21
  2087. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/README.md +0 -172
  2088. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/index.d.ts +0 -122
  2089. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/index.js +0 -128
  2090. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/package.json +0 -40
  2091. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/base.test.js +0 -445
  2092. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/fixtures/transport-async-iteration.js +0 -22
  2093. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/fixtures/transport-on-data.js +0 -22
  2094. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/fixtures/transport-transform.js +0 -24
  2095. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/fixtures/worker-pipeline.js +0 -15
  2096. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/types/index.test-d.ts +0 -31
  2097. package/node_modules/@zuplo/editor/node_modules/pino-abstract-transport/test/worker.test.js +0 -357
  2098. package/node_modules/@zuplo/editor/node_modules/pino-pretty/.editorconfig +0 -13
  2099. package/node_modules/@zuplo/editor/node_modules/pino-pretty/.eslintrc +0 -8
  2100. package/node_modules/@zuplo/editor/node_modules/pino-pretty/.github/dependabot.yml +0 -13
  2101. package/node_modules/@zuplo/editor/node_modules/pino-pretty/.github/workflows/ci.yml +0 -85
  2102. package/node_modules/@zuplo/editor/node_modules/pino-pretty/.taprc.yaml +0 -8
  2103. package/node_modules/@zuplo/editor/node_modules/pino-pretty/LICENSE +0 -21
  2104. package/node_modules/@zuplo/editor/node_modules/pino-pretty/Readme.md +0 -402
  2105. package/node_modules/@zuplo/editor/node_modules/pino-pretty/benchmark.js +0 -105
  2106. package/node_modules/@zuplo/editor/node_modules/pino-pretty/bin.js +0 -112
  2107. package/node_modules/@zuplo/editor/node_modules/pino-pretty/coverage-map.js +0 -9
  2108. package/node_modules/@zuplo/editor/node_modules/pino-pretty/demo.png +0 -0
  2109. package/node_modules/@zuplo/editor/node_modules/pino-pretty/docs/help.md +0 -24
  2110. package/node_modules/@zuplo/editor/node_modules/pino-pretty/help/help.txt +0 -68
  2111. package/node_modules/@zuplo/editor/node_modules/pino-pretty/index.d.ts +0 -234
  2112. package/node_modules/@zuplo/editor/node_modules/pino-pretty/index.js +0 -189
  2113. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/colors.js +0 -129
  2114. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/colors.test.js +0 -132
  2115. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/constants.js +0 -55
  2116. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/pretty.js +0 -171
  2117. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/build-safe-sonic-boom.js +0 -71
  2118. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/build-safe-sonic-boom.test.js +0 -86
  2119. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/create-date.js +0 -26
  2120. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/create-date.test.js +0 -20
  2121. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/delete-log-property.js +0 -28
  2122. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/delete-log-property.test.js +0 -31
  2123. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/filter-log.js +0 -45
  2124. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/filter-log.test.js +0 -190
  2125. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/format-time.js +0 -66
  2126. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/format-time.test.js +0 -71
  2127. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/get-level-label-data.js +0 -29
  2128. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/get-property-value.js +0 -30
  2129. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/get-property-value.test.js +0 -31
  2130. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/handle-custom-levels-names-opts.js +0 -38
  2131. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/handle-custom-levels-names-opts.test.js +0 -44
  2132. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/handle-custom-levels-opts.js +0 -39
  2133. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/handle-custom-levels-opts.test.js +0 -47
  2134. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/index.js +0 -107
  2135. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/index.test.js +0 -37
  2136. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/interpret-conditionals.js +0 -37
  2137. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/interpret-conditionals.test.js +0 -69
  2138. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/is-object.js +0 -7
  2139. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/is-object.test.js +0 -10
  2140. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/is-valid-date.js +0 -14
  2141. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/is-valid-date.test.js +0 -16
  2142. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.js +0 -29
  2143. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/join-lines-with-indentation.test.js +0 -16
  2144. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/noop.js +0 -3
  2145. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/noop.test.js +0 -12
  2146. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/parse-factory-options.js +0 -173
  2147. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-error-log.js +0 -73
  2148. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-error-log.test.js +0 -110
  2149. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-error.js +0 -49
  2150. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-error.test.js +0 -14
  2151. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-level.js +0 -41
  2152. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-level.test.js +0 -70
  2153. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-message.js +0 -63
  2154. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-message.test.js +0 -238
  2155. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-metadata.js +0 -73
  2156. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-metadata.test.js +0 -149
  2157. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-object.js +0 -112
  2158. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-object.test.js +0 -154
  2159. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-time.js +0 -42
  2160. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/prettify-time.test.js +0 -227
  2161. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/split-property-key.js +0 -49
  2162. package/node_modules/@zuplo/editor/node_modules/pino-pretty/lib/utils/split-property-key.test.js +0 -29
  2163. package/node_modules/@zuplo/editor/node_modules/pino-pretty/package.json +0 -68
  2164. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/basic.test.js +0 -1311
  2165. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/cli-rc.test.js +0 -255
  2166. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/cli.test.js +0 -335
  2167. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/crlf.test.js +0 -35
  2168. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/error-objects.test.js +0 -499
  2169. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/example/example.js +0 -31
  2170. package/node_modules/@zuplo/editor/node_modules/pino-pretty/test/types/pino-pretty.test-d.ts +0 -55
  2171. package/node_modules/@zuplo/editor/node_modules/pino-pretty/tsconfig.json +0 -13
  2172. package/node_modules/@zuplo/editor/node_modules/readdirp/LICENSE +0 -21
  2173. package/node_modules/@zuplo/editor/node_modules/readdirp/README.md +0 -120
  2174. package/node_modules/@zuplo/editor/node_modules/readdirp/esm/index.d.ts +0 -108
  2175. package/node_modules/@zuplo/editor/node_modules/readdirp/esm/index.js +0 -257
  2176. package/node_modules/@zuplo/editor/node_modules/readdirp/esm/package.json +0 -1
  2177. package/node_modules/@zuplo/editor/node_modules/readdirp/index.d.ts +0 -108
  2178. package/node_modules/@zuplo/editor/node_modules/readdirp/index.js +0 -263
  2179. package/node_modules/@zuplo/editor/node_modules/readdirp/package.json +0 -70
  2180. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/.airtap.yml +0 -7
  2181. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/.github/dependabot.yml +0 -13
  2182. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/.github/stale.yml +0 -21
  2183. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/.github/workflows/ci.yml +0 -137
  2184. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/LICENSE.md +0 -17
  2185. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/README.md +0 -126
  2186. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
  2187. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
  2188. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/benchmarks/package.json +0 -15
  2189. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
  2190. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
  2191. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
  2192. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/index.js +0 -126
  2193. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/package.json +0 -41
  2194. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/test/index.test.js +0 -505
  2195. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/types/index.d.ts +0 -57
  2196. package/node_modules/@zuplo/editor/node_modules/secure-json-parse/types/index.test-d.ts +0 -31
  2197. package/node_modules/@zuplo/editor/node_modules/strip-json-comments/index.d.ts +0 -36
  2198. package/node_modules/@zuplo/editor/node_modules/strip-json-comments/index.js +0 -77
  2199. package/node_modules/@zuplo/editor/node_modules/strip-json-comments/license +0 -9
  2200. package/node_modules/@zuplo/editor/node_modules/strip-json-comments/package.json +0 -47
  2201. package/node_modules/@zuplo/editor/node_modules/strip-json-comments/readme.md +0 -78
  2202. package/node_modules/@zuplo/editor/node_modules/thread-stream/.claude/settings.local.json +0 -15
  2203. package/node_modules/@zuplo/editor/node_modules/thread-stream/.github/dependabot.yml +0 -13
  2204. package/node_modules/@zuplo/editor/node_modules/thread-stream/.github/workflows/ci.yml +0 -94
  2205. package/node_modules/@zuplo/editor/node_modules/thread-stream/.husky/pre-commit +0 -4
  2206. package/node_modules/@zuplo/editor/node_modules/thread-stream/.taprc +0 -4
  2207. package/node_modules/@zuplo/editor/node_modules/thread-stream/CLAUDE.md +0 -64
  2208. package/node_modules/@zuplo/editor/node_modules/thread-stream/LICENSE +0 -21
  2209. package/node_modules/@zuplo/editor/node_modules/thread-stream/README.md +0 -136
  2210. package/node_modules/@zuplo/editor/node_modules/thread-stream/bench.js +0 -85
  2211. package/node_modules/@zuplo/editor/node_modules/thread-stream/index.d.ts +0 -92
  2212. package/node_modules/@zuplo/editor/node_modules/thread-stream/index.js +0 -565
  2213. package/node_modules/@zuplo/editor/node_modules/thread-stream/lib/indexes.js +0 -11
  2214. package/node_modules/@zuplo/editor/node_modules/thread-stream/lib/wait.js +0 -61
  2215. package/node_modules/@zuplo/editor/node_modules/thread-stream/lib/worker.js +0 -186
  2216. package/node_modules/@zuplo/editor/node_modules/thread-stream/package.json +0 -57
  2217. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/base.test.js +0 -258
  2218. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/bench.test.js +0 -38
  2219. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/bundlers.test.js +0 -60
  2220. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/close-on-gc.js +0 -37
  2221. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/commonjs-fallback.test.js +0 -80
  2222. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/context.test.js +0 -21
  2223. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/create-and-exit.js +0 -16
  2224. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/custom-worker.js +0 -9
  2225. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/dir with spaces/test-package.zip +0 -0
  2226. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/emit-event.js +0 -22
  2227. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/end.test.js +0 -61
  2228. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/error.js +0 -14
  2229. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/esm.test.mjs +0 -47
  2230. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/event.test.js +0 -23
  2231. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/exit.js +0 -14
  2232. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/get-context.js +0 -22
  2233. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/helper.d.ts +0 -1
  2234. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/helper.js +0 -35
  2235. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/indexes.test.js +0 -11
  2236. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/message-without-code.js +0 -19
  2237. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/multibyte-chars.test.mjs +0 -74
  2238. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/never-drain.test.js +0 -57
  2239. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/on-message.js +0 -18
  2240. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/pkg/index.js +0 -37
  2241. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/pkg/pkg.config.json +0 -15
  2242. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/pkg/pkg.test.js +0 -46
  2243. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/port.js +0 -16
  2244. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/post-message.test.js +0 -24
  2245. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/string-limit-2.test.js +0 -41
  2246. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/string-limit.test.js +0 -42
  2247. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/syntax-error.mjs +0 -2
  2248. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/thread-management.test.js +0 -121
  2249. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/to-file-on-destroy.js +0 -23
  2250. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/to-file-on-final.js +0 -24
  2251. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/to-file.js +0 -12
  2252. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/to-file.mjs +0 -8
  2253. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/to-next.js +0 -9
  2254. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/transpiled.test.js +0 -30
  2255. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/ts/to-file.ts +0 -10
  2256. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/ts/transpile.sh +0 -19
  2257. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/ts-commonjs-default-export.zip +0 -0
  2258. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/ts.test.ts +0 -33
  2259. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/uncaughtException.js +0 -21
  2260. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/unhandledRejection.js +0 -21
  2261. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/watch-mode.test.js +0 -28
  2262. package/node_modules/@zuplo/editor/node_modules/thread-stream/test/yarnrc.yml +0 -7
  2263. package/node_modules/@zuplo/editor/node_modules/thread-stream/tsconfig.json +0 -8
  2264. package/node_modules/@zuplo/errors/LICENSE.txt +0 -20
  2265. package/node_modules/@zuplo/errors/dist/errors.d.ts +0 -27
  2266. package/node_modules/@zuplo/errors/dist/errors.d.ts.map +0 -1
  2267. package/node_modules/@zuplo/errors/dist/errors.js +0 -54
  2268. package/node_modules/@zuplo/errors/dist/errors.js.map +0 -1
  2269. package/node_modules/@zuplo/errors/dist/http-status.d.ts +0 -316
  2270. package/node_modules/@zuplo/errors/dist/http-status.d.ts.map +0 -1
  2271. package/node_modules/@zuplo/errors/dist/http-status.js +0 -318
  2272. package/node_modules/@zuplo/errors/dist/http-status.js.map +0 -1
  2273. package/node_modules/@zuplo/errors/dist/index.d.ts +0 -3
  2274. package/node_modules/@zuplo/errors/dist/index.d.ts.map +0 -1
  2275. package/node_modules/@zuplo/errors/dist/index.js +0 -3
  2276. package/node_modules/@zuplo/errors/dist/index.js.map +0 -1
  2277. package/node_modules/@zuplo/errors/dist/interfaces.d.ts +0 -49
  2278. package/node_modules/@zuplo/errors/dist/interfaces.d.ts.map +0 -1
  2279. package/node_modules/@zuplo/errors/dist/interfaces.js +0 -2
  2280. package/node_modules/@zuplo/errors/dist/interfaces.js.map +0 -1
  2281. package/node_modules/@zuplo/errors/dist/problems.d.ts +0 -346
  2282. package/node_modules/@zuplo/errors/dist/problems.d.ts.map +0 -1
  2283. package/node_modules/@zuplo/errors/dist/problems.js +0 -1421
  2284. package/node_modules/@zuplo/errors/dist/problems.js.map +0 -1
  2285. package/node_modules/@zuplo/errors/dist/utils.d.ts +0 -2
  2286. package/node_modules/@zuplo/errors/dist/utils.d.ts.map +0 -1
  2287. package/node_modules/@zuplo/errors/dist/utils.js +0 -19
  2288. package/node_modules/@zuplo/errors/dist/utils.js.map +0 -1
  2289. package/node_modules/@zuplo/errors/package.json +0 -34
  2290. package/node_modules/@zuplo/errors/src/errors.ts +0 -64
  2291. package/node_modules/@zuplo/errors/src/http-status.ts +0 -383
  2292. package/node_modules/@zuplo/errors/src/index.ts +0 -5
  2293. package/node_modules/@zuplo/errors/src/interfaces.ts +0 -57
  2294. package/node_modules/@zuplo/errors/src/problems.ts +0 -1872
  2295. package/node_modules/@zuplo/errors/src/utils.ts +0 -21
  2296. package/node_modules/@zuplo/runtime/out/esm/chunk-XIFGUD6K.js.map +0 -1
  2297. package/node_modules/slow-redact/.claude/settings.local.json +0 -12
  2298. package/node_modules/slow-redact/.github/dependabot.yml +0 -13
  2299. package/node_modules/slow-redact/.github/workflows/ci.yml +0 -48
  2300. package/node_modules/slow-redact/.github/workflows/publish-release.yml +0 -43
  2301. package/node_modules/slow-redact/LICENSE +0 -21
  2302. package/node_modules/slow-redact/README.md +0 -350
  2303. package/node_modules/slow-redact/benchmarks/basic.js +0 -184
  2304. package/node_modules/slow-redact/eslint.config.js +0 -1
  2305. package/node_modules/slow-redact/index.d.ts +0 -52
  2306. package/node_modules/slow-redact/index.js +0 -529
  2307. package/node_modules/slow-redact/index.test-d.ts +0 -22
  2308. package/node_modules/slow-redact/package.json +0 -37
  2309. package/node_modules/slow-redact/scripts/sync-version.mjs +0 -20
  2310. package/node_modules/slow-redact/test/actual-redact-comparison.test.js +0 -211
  2311. package/node_modules/slow-redact/test/index.test.js +0 -824
  2312. package/node_modules/slow-redact/test/integration.test.js +0 -390
  2313. package/node_modules/slow-redact/test/multiple-wildcards.test.js +0 -227
  2314. package/node_modules/slow-redact/test/prototype-pollution.test.js +0 -223
  2315. package/node_modules/slow-redact/test/selective-clone.test.js +0 -115
  2316. package/node_modules/slow-redact/tsconfig.json +0 -19
  2317. /package/node_modules/@zuplo/runtime/out/esm/{chunk-XIFGUD6K.js.LEGAL.txt → chunk-LVTBALLF.js.LEGAL.txt} +0 -0
@@ -1,5 +1,3426 @@
1
- export { createEditorApp, } from "./app.js";
2
- export { getLocalEditorConfig, } from "./config.js";
3
- export { PathNotFoundError, UnsafePathError, } from "./ports.js";
4
- export { LocalEditorServer } from "./server.js";
5
- //# sourceMappingURL=index.js.map
1
+ import {
2
+ Hono,
3
+ createEditorApp,
4
+ getLocalEditorConfig
5
+ } from "./chunks/chunk-HDZMPWV2.js";
6
+ import {
7
+ editorConfig
8
+ } from "./chunks/chunk-C7VL3DX7.js";
9
+ import {
10
+ PathNotFoundError,
11
+ UnsafePathError,
12
+ toSafeSegments
13
+ } from "./chunks/chunk-FELEIEAB.js";
14
+ import "./chunks/chunk-54KOYG5C.js";
15
+
16
+ // src/server.ts
17
+ import fs3 from "node:fs/promises";
18
+ import path3 from "node:path";
19
+ import { fileURLToPath } from "node:url";
20
+
21
+ // ../../node_modules/.pnpm/@hono+node-server@2.0.11_hono@4.12.32/node_modules/@hono/node-server/dist/constants-BLSFu_RU.mjs
22
+ var X_ALREADY_SENT = "x-hono-already-sent";
23
+
24
+ // ../../node_modules/.pnpm/@hono+node-server@2.0.11_hono@4.12.32/node_modules/@hono/node-server/dist/index.mjs
25
+ import { STATUS_CODES, createServer } from "node:http";
26
+ import { Http2ServerRequest, constants } from "node:http2";
27
+ import { Readable } from "node:stream";
28
+
29
+ // ../../node_modules/.pnpm/hono@4.12.32/node_modules/hono/dist/helper/websocket/index.js
30
+ var defineWebSocketHelper = (handler) => {
31
+ return ((...args) => {
32
+ if (typeof args[0] === "function") {
33
+ const [createEvents, options] = args;
34
+ return async function upgradeWebSocket2(c, next) {
35
+ const events = await createEvents(c);
36
+ const result = await handler(c, events, options);
37
+ if (result) {
38
+ return result;
39
+ }
40
+ await next();
41
+ };
42
+ } else {
43
+ const [c, events, options] = args;
44
+ return (async () => {
45
+ const upgraded = await handler(c, events, options);
46
+ if (!upgraded) {
47
+ throw new Error("Failed to upgrade WebSocket");
48
+ }
49
+ return upgraded;
50
+ })();
51
+ }
52
+ });
53
+ };
54
+
55
+ // ../../node_modules/.pnpm/@hono+node-server@2.0.11_hono@4.12.32/node_modules/@hono/node-server/dist/index.mjs
56
+ var RequestError = class extends Error {
57
+ constructor(message, options) {
58
+ super(message, options);
59
+ this.name = "RequestError";
60
+ }
61
+ };
62
+ var reValidRequestUrl = /^\/[!#$&-;=?-\[\]_a-z~]*$/;
63
+ var reDotSegment = /\/\.\.?(?:[/?#]|$)/;
64
+ var reValidHost = /^[a-z0-9._-]+(?::(?:[1-5]\d{3,4}|[6-9]\d{3}))?$/;
65
+ var buildUrl = (scheme, host, incomingUrl) => {
66
+ const url = `${scheme}://${host}${incomingUrl}`;
67
+ if (!reValidHost.test(host)) {
68
+ const urlObj = new URL(url);
69
+ if (urlObj.hostname.length !== host.length && urlObj.hostname !== (host.includes(":") ? host.replace(/:\d+$/, "") : host).toLowerCase()) throw new RequestError("Invalid host header");
70
+ return urlObj.href;
71
+ } else if (incomingUrl.length === 0) return url + "/";
72
+ else {
73
+ if (incomingUrl.charCodeAt(0) !== 47) throw new RequestError("Invalid URL");
74
+ if (!reValidRequestUrl.test(incomingUrl) || reDotSegment.test(incomingUrl)) return new URL(url).href;
75
+ return url;
76
+ }
77
+ };
78
+ var toRequestError = (e) => {
79
+ if (e instanceof RequestError) return e;
80
+ return new RequestError(e.message, { cause: e });
81
+ };
82
+ var GlobalRequest = global.Request;
83
+ var Request$1 = class extends GlobalRequest {
84
+ constructor(input, options) {
85
+ if (typeof input === "object" && getRequestCache in input) {
86
+ const hasReplacementBody = options !== void 0 && "body" in options && options.body != null;
87
+ if (input[bodyConsumedDirectlyKey] && !hasReplacementBody) throw new TypeError("Cannot construct a Request with a Request object that has already been used.");
88
+ input = input[getRequestCache]();
89
+ }
90
+ if (typeof options?.body?.getReader !== "undefined") options.duplex ??= "half";
91
+ super(input, options);
92
+ }
93
+ };
94
+ var newHeadersFromIncoming = (incoming) => {
95
+ const headerRecord = [];
96
+ const rawHeaders = incoming.rawHeaders;
97
+ for (let i = 0, len = rawHeaders.length; i < len; i += 2) {
98
+ const key = rawHeaders[i];
99
+ if (key.charCodeAt(0) !== 58) headerRecord.push([key, rawHeaders[i + 1]]);
100
+ }
101
+ return new Headers(headerRecord);
102
+ };
103
+ var wrapBodyStream = /* @__PURE__ */ Symbol("wrapBodyStream");
104
+ var byteExactEncodings = /* @__PURE__ */ new Set([
105
+ "latin1",
106
+ "binary",
107
+ "hex",
108
+ "base64",
109
+ "base64url"
110
+ ]);
111
+ var isByteExactEncoding = (encoding) => encoding === null || byteExactEncodings.has(encoding);
112
+ var bodyBufferedBeforeDisconnectKey = /* @__PURE__ */ Symbol("bodyBufferedBeforeDisconnect");
113
+ var bodyBufferedLengthBeforeDisconnectKey = /* @__PURE__ */ Symbol("bodyBufferedLengthBeforeDisconnect");
114
+ var toBufferChunk = (chunk, encoding) => Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding ?? "utf8");
115
+ var isRecoverableDisconnectedIncoming = (incoming) => !(incoming instanceof Http2ServerRequest) && !!incoming.complete && !!incoming.readableAborted && typeof incoming.read === "function" && isByteExactEncoding(incoming.readableEncoding);
116
+ var recordBodyBufferedBeforeDisconnect = (incoming) => {
117
+ if (incoming.readableDidRead || !isRecoverableDisconnectedIncoming(incoming)) return;
118
+ const incomingWithRecovery = incoming;
119
+ incomingWithRecovery[bodyBufferedLengthBeforeDisconnectKey] ??= incoming.readableLength;
120
+ };
121
+ var readBodyBufferedBeforeDisconnect = (incoming, chunks) => {
122
+ if (incoming.readableDidRead && !chunks || !isRecoverableDisconnectedIncoming(incoming)) return;
123
+ const incomingWithRecovery = incoming;
124
+ if (incomingWithRecovery[bodyBufferedBeforeDisconnectKey] !== void 0) return incomingWithRecovery[bodyBufferedBeforeDisconnectKey];
125
+ let result;
126
+ const errored = incoming.errored;
127
+ if (errored && errored.code !== "ECONNRESET") result = errored;
128
+ else if (incomingWithRecovery[bodyBufferedLengthBeforeDisconnectKey] !== void 0 && incoming.readableLength !== incomingWithRecovery[bodyBufferedLengthBeforeDisconnectKey]) result = newBodyUnusableError();
129
+ else {
130
+ const bodyChunks = chunks ?? [];
131
+ const chunk = incoming.read();
132
+ if (chunk !== null) bodyChunks.push(toBufferChunk(chunk, incoming.readableEncoding));
133
+ const buffer = bodyChunks.length === 1 ? bodyChunks[0] : Buffer.concat(bodyChunks);
134
+ result = buffer;
135
+ const contentLength = incoming.headers["content-length"];
136
+ if (typeof contentLength === "string" && /^\d+$/.test(contentLength)) {
137
+ const expectedLength = Number(contentLength);
138
+ if (Number.isSafeInteger(expectedLength) && buffer.length !== expectedLength) result = newBodyUnusableError();
139
+ }
140
+ }
141
+ incomingWithRecovery[bodyBufferedBeforeDisconnectKey] = result;
142
+ return result;
143
+ };
144
+ var enqueueBufferedBody = (controller, buffered) => {
145
+ if (buffered instanceof Error) {
146
+ controller.error(buffered);
147
+ return;
148
+ }
149
+ if (buffered.length > 0) controller.enqueue(buffered);
150
+ controller.close();
151
+ };
152
+ var newRequestFromIncoming = (method, url, headers, incoming, abortController) => {
153
+ const init = {
154
+ method,
155
+ headers,
156
+ signal: abortController.signal
157
+ };
158
+ if (method === "TRACE") {
159
+ init.method = "GET";
160
+ const req = new Request$1(url, init);
161
+ Object.defineProperty(req, "method", { get() {
162
+ return "TRACE";
163
+ } });
164
+ return req;
165
+ }
166
+ if (!(method === "GET" || method === "HEAD")) if ("rawBody" in incoming && incoming.rawBody instanceof Buffer) init.body = new ReadableStream({ start(controller) {
167
+ controller.enqueue(incoming.rawBody);
168
+ controller.close();
169
+ } });
170
+ else if (incoming[wrapBodyStream]) {
171
+ let reader;
172
+ init.body = new ReadableStream({ async pull(controller) {
173
+ try {
174
+ if (!reader) {
175
+ const buffered = readBodyBufferedBeforeDisconnect(incoming);
176
+ if (buffered !== void 0) {
177
+ enqueueBufferedBody(controller, buffered);
178
+ return;
179
+ }
180
+ }
181
+ reader ||= Readable.toWeb(incoming).getReader();
182
+ const { done, value } = await reader.read();
183
+ if (done) controller.close();
184
+ else controller.enqueue(value);
185
+ } catch (error) {
186
+ controller.error(error);
187
+ }
188
+ } });
189
+ } else {
190
+ const buffered = readBodyBufferedBeforeDisconnect(incoming);
191
+ if (buffered !== void 0) init.body = new ReadableStream({ start(controller) {
192
+ enqueueBufferedBody(controller, buffered);
193
+ } });
194
+ else init.body = Readable.toWeb(incoming);
195
+ }
196
+ return new Request$1(url, init);
197
+ };
198
+ var getRequestCache = /* @__PURE__ */ Symbol("getRequestCache");
199
+ var requestCache = /* @__PURE__ */ Symbol("requestCache");
200
+ var incomingKey = /* @__PURE__ */ Symbol("incomingKey");
201
+ var urlKey = /* @__PURE__ */ Symbol("urlKey");
202
+ var methodKey = /* @__PURE__ */ Symbol("methodKey");
203
+ var headersKey = /* @__PURE__ */ Symbol("headersKey");
204
+ var abortControllerKey = /* @__PURE__ */ Symbol("abortControllerKey");
205
+ var getAbortController = /* @__PURE__ */ Symbol("getAbortController");
206
+ var abortRequest = /* @__PURE__ */ Symbol("abortRequest");
207
+ var bodyBufferKey = /* @__PURE__ */ Symbol("bodyBuffer");
208
+ var bodyReadPromiseKey = /* @__PURE__ */ Symbol("bodyReadPromise");
209
+ var bodyConsumedDirectlyKey = /* @__PURE__ */ Symbol("bodyConsumedDirectly");
210
+ var bodyLockReaderKey = /* @__PURE__ */ Symbol("bodyLockReader");
211
+ var abortReasonKey = /* @__PURE__ */ Symbol("abortReason");
212
+ var newBodyUnusableError = () => {
213
+ return /* @__PURE__ */ new TypeError("Body is unusable");
214
+ };
215
+ var rejectBodyUnusable = () => {
216
+ return Promise.reject(newBodyUnusableError());
217
+ };
218
+ var textDecoder = new TextDecoder();
219
+ var consumeBodyDirectOnce = (request) => {
220
+ if (request[bodyConsumedDirectlyKey]) return rejectBodyUnusable();
221
+ request[bodyConsumedDirectlyKey] = true;
222
+ };
223
+ var toArrayBuffer = (buf) => {
224
+ return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
225
+ };
226
+ var contentType = (request) => {
227
+ return (request[headersKey] ||= newHeadersFromIncoming(request[incomingKey])).get("content-type") || "";
228
+ };
229
+ var methodTokenRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
230
+ var normalizeIncomingMethod = (method) => {
231
+ if (typeof method !== "string" || method.length === 0) return "GET";
232
+ switch (method) {
233
+ case "DELETE":
234
+ case "GET":
235
+ case "HEAD":
236
+ case "OPTIONS":
237
+ case "PATCH":
238
+ case "POST":
239
+ case "PUT":
240
+ case "QUERY":
241
+ return method;
242
+ }
243
+ const upper = method.toUpperCase();
244
+ switch (upper) {
245
+ case "DELETE":
246
+ case "GET":
247
+ case "HEAD":
248
+ case "OPTIONS":
249
+ case "POST":
250
+ case "PUT":
251
+ return upper;
252
+ default:
253
+ return method;
254
+ }
255
+ };
256
+ var validateDirectReadMethod = (method) => {
257
+ if (!methodTokenRegExp.test(method)) return /* @__PURE__ */ new TypeError(`'${method}' is not a valid HTTP method.`);
258
+ const normalized = method.toUpperCase();
259
+ if (normalized === "CONNECT" || normalized === "TRACK" || normalized === "TRACE" && method !== "TRACE") return /* @__PURE__ */ new TypeError(`'${method}' HTTP method is unsupported.`);
260
+ };
261
+ var readBodyWithFastPath = (request, method, fromBuffer) => {
262
+ if (request[bodyConsumedDirectlyKey]) return rejectBodyUnusable();
263
+ const methodName = request.method;
264
+ if (methodName === "GET" || methodName === "HEAD") return request[getRequestCache]()[method]();
265
+ const methodValidationError = validateDirectReadMethod(methodName);
266
+ if (methodValidationError) return Promise.reject(methodValidationError);
267
+ if (request[requestCache]) {
268
+ if (methodName !== "TRACE") return request[requestCache][method]();
269
+ }
270
+ const alreadyUsedError = consumeBodyDirectOnce(request);
271
+ if (alreadyUsedError) return alreadyUsedError;
272
+ const raw = readRawBodyIfAvailable(request);
273
+ if (raw) {
274
+ const result = Promise.resolve(fromBuffer(raw, request));
275
+ request[bodyBufferKey] = void 0;
276
+ return result;
277
+ }
278
+ return readBodyDirect(request).then((buf) => {
279
+ const result = fromBuffer(buf, request);
280
+ request[bodyBufferKey] = void 0;
281
+ return result;
282
+ });
283
+ };
284
+ var readRawBodyIfAvailable = (request) => {
285
+ const incoming = request[incomingKey];
286
+ if ("rawBody" in incoming && incoming.rawBody instanceof Buffer) return incoming.rawBody;
287
+ };
288
+ var normalizeAbortError = (request, incoming) => {
289
+ if (incoming.errored) return incoming.errored;
290
+ const reason = request[abortReasonKey];
291
+ if (reason !== void 0) return reason instanceof Error ? reason : new Error(String(reason));
292
+ return /* @__PURE__ */ new Error("Client connection prematurely closed.");
293
+ };
294
+ var readBodyDirect = (request) => {
295
+ if (request[bodyBufferKey]) return Promise.resolve(request[bodyBufferKey]);
296
+ if (request[bodyReadPromiseKey]) return request[bodyReadPromiseKey];
297
+ const incoming = request[incomingKey];
298
+ if (incoming.readableDidRead) return rejectBodyUnusable();
299
+ const buffered = readBodyBufferedBeforeDisconnect(incoming);
300
+ if (buffered !== void 0) {
301
+ if (buffered instanceof Error) return Promise.reject(buffered);
302
+ request[bodyBufferKey] = buffered;
303
+ return Promise.resolve(buffered);
304
+ }
305
+ const promise = new Promise((resolve3, reject) => {
306
+ const chunks = [];
307
+ let settled = false;
308
+ const finish = (callback) => {
309
+ if (settled) return;
310
+ settled = true;
311
+ cleanup();
312
+ callback();
313
+ };
314
+ const recoverCompleteBodyAfterDisconnect = (error) => {
315
+ const streamError = incoming.errored ?? error;
316
+ if (!isRecoverableDisconnectedIncoming(incoming) || streamError && streamError.code !== "ECONNRESET") return false;
317
+ finish(() => {
318
+ const recovered = readBodyBufferedBeforeDisconnect(incoming, chunks);
319
+ if (recovered instanceof Error) reject(recovered);
320
+ else if (recovered === void 0) reject(error ?? normalizeAbortError(request, incoming));
321
+ else {
322
+ request[bodyBufferKey] = recovered;
323
+ resolve3(recovered);
324
+ }
325
+ });
326
+ return true;
327
+ };
328
+ const onData = (chunk) => {
329
+ chunks.push(toBufferChunk(chunk, incoming.readableEncoding));
330
+ };
331
+ const onEnd = () => {
332
+ finish(() => {
333
+ const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks);
334
+ request[bodyBufferKey] = buffer;
335
+ resolve3(buffer);
336
+ });
337
+ };
338
+ const onError = (error) => {
339
+ if (recoverCompleteBodyAfterDisconnect(error)) return;
340
+ finish(() => {
341
+ reject(error);
342
+ });
343
+ };
344
+ const onClose = () => {
345
+ if (incoming.readableEnded) {
346
+ onEnd();
347
+ return;
348
+ }
349
+ if (recoverCompleteBodyAfterDisconnect()) return;
350
+ finish(() => {
351
+ reject(normalizeAbortError(request, incoming));
352
+ });
353
+ };
354
+ const cleanup = () => {
355
+ incoming.off("data", onData);
356
+ incoming.off("end", onEnd);
357
+ incoming.off("error", onError);
358
+ incoming.off("close", onClose);
359
+ request[bodyReadPromiseKey] = void 0;
360
+ };
361
+ incoming.on("data", onData);
362
+ incoming.on("end", onEnd);
363
+ incoming.on("error", onError);
364
+ incoming.on("close", onClose);
365
+ queueMicrotask(() => {
366
+ if (settled) return;
367
+ if (incoming.readableEnded) onEnd();
368
+ else if (incoming.errored) onError(incoming.errored);
369
+ else if (incoming.destroyed) onClose();
370
+ });
371
+ });
372
+ request[bodyReadPromiseKey] = promise;
373
+ return promise;
374
+ };
375
+ var requestPrototype = {
376
+ get method() {
377
+ return this[methodKey];
378
+ },
379
+ get url() {
380
+ return this[urlKey];
381
+ },
382
+ get headers() {
383
+ return this[headersKey] ||= newHeadersFromIncoming(this[incomingKey]);
384
+ },
385
+ [abortRequest](reason) {
386
+ if (this[abortReasonKey] === void 0) this[abortReasonKey] = reason;
387
+ const abortController = this[abortControllerKey];
388
+ if (abortController && !abortController.signal.aborted) abortController.abort(reason);
389
+ },
390
+ [getAbortController]() {
391
+ this[abortControllerKey] ||= new AbortController();
392
+ if (this[abortReasonKey] !== void 0 && !this[abortControllerKey].signal.aborted) this[abortControllerKey].abort(this[abortReasonKey]);
393
+ return this[abortControllerKey];
394
+ },
395
+ [getRequestCache]() {
396
+ const abortController = this[getAbortController]();
397
+ if (this[requestCache]) return this[requestCache];
398
+ const method = this.method;
399
+ if (this[bodyConsumedDirectlyKey] && !(method === "GET" || method === "HEAD")) {
400
+ this[bodyBufferKey] = void 0;
401
+ const init = {
402
+ method: method === "TRACE" ? "GET" : method,
403
+ headers: this.headers,
404
+ signal: abortController.signal
405
+ };
406
+ if (method !== "TRACE") {
407
+ init.body = new ReadableStream({ start(c) {
408
+ c.close();
409
+ } });
410
+ init.duplex = "half";
411
+ }
412
+ const req = new Request$1(this[urlKey], init);
413
+ if (method === "TRACE") Object.defineProperty(req, "method", { get() {
414
+ return "TRACE";
415
+ } });
416
+ return this[requestCache] = req;
417
+ }
418
+ return this[requestCache] = newRequestFromIncoming(this.method, this[urlKey], this.headers, this[incomingKey], abortController);
419
+ },
420
+ get body() {
421
+ if (!this[bodyConsumedDirectlyKey]) return this[getRequestCache]().body;
422
+ const request = this[getRequestCache]();
423
+ if (!this[bodyLockReaderKey] && request.body) this[bodyLockReaderKey] = request.body.getReader();
424
+ return request.body;
425
+ },
426
+ get bodyUsed() {
427
+ if (this[bodyConsumedDirectlyKey]) return true;
428
+ if (this[requestCache]) return this[requestCache].bodyUsed;
429
+ return false;
430
+ }
431
+ };
432
+ Object.defineProperty(requestPrototype, "signal", { get() {
433
+ return this[getAbortController]().signal;
434
+ } });
435
+ [
436
+ "cache",
437
+ "credentials",
438
+ "destination",
439
+ "integrity",
440
+ "mode",
441
+ "redirect",
442
+ "referrer",
443
+ "referrerPolicy",
444
+ "keepalive"
445
+ ].forEach((k) => {
446
+ Object.defineProperty(requestPrototype, k, { get() {
447
+ return this[getRequestCache]()[k];
448
+ } });
449
+ });
450
+ ["clone", "formData"].forEach((k) => {
451
+ Object.defineProperty(requestPrototype, k, { value: function() {
452
+ if (this[bodyConsumedDirectlyKey]) {
453
+ if (k === "clone") throw newBodyUnusableError();
454
+ return rejectBodyUnusable();
455
+ }
456
+ return this[getRequestCache]()[k]();
457
+ } });
458
+ });
459
+ Object.defineProperty(requestPrototype, "text", { value: function() {
460
+ return readBodyWithFastPath(this, "text", (buf) => textDecoder.decode(buf));
461
+ } });
462
+ Object.defineProperty(requestPrototype, "arrayBuffer", { value: function() {
463
+ return readBodyWithFastPath(this, "arrayBuffer", (buf) => toArrayBuffer(buf));
464
+ } });
465
+ Object.defineProperty(requestPrototype, "blob", { value: function() {
466
+ return readBodyWithFastPath(this, "blob", (buf, request) => {
467
+ const type = contentType(request);
468
+ const init = type ? { headers: { "content-type": type } } : void 0;
469
+ return new Response(buf, init).blob();
470
+ });
471
+ } });
472
+ Object.defineProperty(requestPrototype, "json", { value: function() {
473
+ if (this[bodyConsumedDirectlyKey]) return rejectBodyUnusable();
474
+ return this.text().then(JSON.parse);
475
+ } });
476
+ Object.defineProperty(requestPrototype, /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
477
+ return `Request (lightweight) ${inspectFn({
478
+ method: this.method,
479
+ url: this.url,
480
+ headers: this.headers,
481
+ nativeRequest: this[requestCache]
482
+ }, {
483
+ ...options,
484
+ depth: depth == null ? null : depth - 1
485
+ })}`;
486
+ } });
487
+ Object.setPrototypeOf(requestPrototype, Request$1.prototype);
488
+ var newRequest = (incoming, defaultHostname) => {
489
+ const req = Object.create(requestPrototype);
490
+ req[incomingKey] = incoming;
491
+ req[methodKey] = normalizeIncomingMethod(incoming.method);
492
+ const incomingUrl = incoming.url || "";
493
+ if (incomingUrl[0] !== "/" && (incomingUrl.startsWith("http://") || incomingUrl.startsWith("https://"))) {
494
+ if (incoming instanceof Http2ServerRequest) throw new RequestError("Absolute URL for :path is not allowed in HTTP/2");
495
+ try {
496
+ req[urlKey] = new URL(incomingUrl).href;
497
+ } catch (e) {
498
+ throw new RequestError("Invalid absolute URL", { cause: e });
499
+ }
500
+ return req;
501
+ }
502
+ const host = (incoming instanceof Http2ServerRequest ? incoming.authority : incoming.headers.host) || defaultHostname;
503
+ if (!host) throw new RequestError("Missing host header");
504
+ let scheme;
505
+ if (incoming instanceof Http2ServerRequest) {
506
+ scheme = incoming.scheme;
507
+ if (!(scheme === "http" || scheme === "https")) throw new RequestError("Unsupported scheme");
508
+ } else scheme = incoming.socket && incoming.socket.encrypted ? "https" : "http";
509
+ try {
510
+ req[urlKey] = buildUrl(scheme, host, incomingUrl);
511
+ } catch (e) {
512
+ if (e instanceof RequestError) throw e;
513
+ else throw new RequestError("Invalid URL", { cause: e });
514
+ }
515
+ return req;
516
+ };
517
+ var defaultContentType = "text/plain; charset=UTF-8";
518
+ var responseCache = /* @__PURE__ */ Symbol("responseCache");
519
+ var getResponseCache = /* @__PURE__ */ Symbol("getResponseCache");
520
+ var cacheKey = /* @__PURE__ */ Symbol("cache");
521
+ var GlobalResponse = global.Response;
522
+ var Response$1 = class Response$12 {
523
+ #body;
524
+ #init;
525
+ [getResponseCache]() {
526
+ const cache = this[cacheKey];
527
+ const liveHeaders = cache && cache[2] instanceof Headers ? cache[2] : void 0;
528
+ delete this[cacheKey];
529
+ return this[responseCache] ||= new GlobalResponse(this.#body, liveHeaders ? {
530
+ status: this.#init?.status,
531
+ statusText: this.#init?.statusText,
532
+ headers: liveHeaders
533
+ } : this.#init);
534
+ }
535
+ constructor(body, init) {
536
+ let headers;
537
+ this.#body = body;
538
+ if (init instanceof Response$12) {
539
+ const cachedGlobalResponse = init[responseCache];
540
+ if (cachedGlobalResponse) {
541
+ this.#init = cachedGlobalResponse;
542
+ this[getResponseCache]();
543
+ return;
544
+ } else {
545
+ this.#init = init.#init;
546
+ headers = new Headers(init.headers);
547
+ }
548
+ } else this.#init = init;
549
+ if (body == null || typeof body === "string" || typeof body?.getReader !== "undefined" || body instanceof Blob || body instanceof Uint8Array) this[cacheKey] = [
550
+ init?.status || 200,
551
+ body ?? null,
552
+ headers || init?.headers
553
+ ];
554
+ }
555
+ get headers() {
556
+ const cache = this[cacheKey];
557
+ if (cache) {
558
+ if (!(cache[2] instanceof Headers)) cache[2] = new Headers(cache[2] || (cache[1] === null ? void 0 : { "content-type": defaultContentType }));
559
+ return cache[2];
560
+ }
561
+ return this[getResponseCache]().headers;
562
+ }
563
+ get status() {
564
+ return this[cacheKey]?.[0] ?? this[getResponseCache]().status;
565
+ }
566
+ get ok() {
567
+ const status = this.status;
568
+ return status >= 200 && status < 300;
569
+ }
570
+ };
571
+ [
572
+ "body",
573
+ "bodyUsed",
574
+ "redirected",
575
+ "statusText",
576
+ "trailers",
577
+ "type",
578
+ "url"
579
+ ].forEach((k) => {
580
+ Object.defineProperty(Response$1.prototype, k, { get() {
581
+ return this[getResponseCache]()[k];
582
+ } });
583
+ });
584
+ [
585
+ "arrayBuffer",
586
+ "blob",
587
+ "clone",
588
+ "formData",
589
+ "json",
590
+ "text"
591
+ ].forEach((k) => {
592
+ Object.defineProperty(Response$1.prototype, k, { value: function() {
593
+ return this[getResponseCache]()[k]();
594
+ } });
595
+ });
596
+ Object.defineProperty(Response$1.prototype, /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom"), { value: function(depth, options, inspectFn) {
597
+ return `Response (lightweight) ${inspectFn({
598
+ status: this.status,
599
+ headers: this.headers,
600
+ ok: this.ok,
601
+ nativeResponse: this[responseCache]
602
+ }, {
603
+ ...options,
604
+ depth: depth == null ? null : depth - 1
605
+ })}`;
606
+ } });
607
+ Object.setPrototypeOf(Response$1, GlobalResponse);
608
+ Object.setPrototypeOf(Response$1.prototype, GlobalResponse.prototype);
609
+ var validRedirectUrl = /^https?:\/\/[!#-;=?-[\]_a-z~A-Z]+$/;
610
+ var parseRedirectUrl = (url) => {
611
+ if (url instanceof URL) return url.href;
612
+ if (validRedirectUrl.test(url)) return url;
613
+ return new URL(url).href;
614
+ };
615
+ var validRedirectStatuses = /* @__PURE__ */ new Set([
616
+ 301,
617
+ 302,
618
+ 303,
619
+ 307,
620
+ 308
621
+ ]);
622
+ Object.defineProperty(Response$1, "redirect", {
623
+ value: function redirect(url, status = 302) {
624
+ if (!validRedirectStatuses.has(status)) throw new RangeError("Invalid status code");
625
+ return new Response$1(null, {
626
+ status,
627
+ headers: { location: parseRedirectUrl(url) }
628
+ });
629
+ },
630
+ writable: true,
631
+ configurable: true
632
+ });
633
+ Object.defineProperty(Response$1, "json", {
634
+ value: function json(data, init) {
635
+ const body = JSON.stringify(data);
636
+ if (body === void 0) throw new TypeError("The data is not JSON serializable");
637
+ const initHeaders = init?.headers;
638
+ let headers;
639
+ if (initHeaders) {
640
+ headers = new Headers(initHeaders);
641
+ if (!headers.has("content-type")) headers.set("content-type", "application/json");
642
+ } else headers = { "content-type": "application/json" };
643
+ return new Response$1(body, {
644
+ status: init?.status ?? 200,
645
+ statusText: init?.statusText,
646
+ headers
647
+ });
648
+ },
649
+ writable: true,
650
+ configurable: true
651
+ });
652
+ async function readWithoutBlocking(readPromise) {
653
+ return Promise.race([readPromise, Promise.resolve().then(() => Promise.resolve(void 0))]);
654
+ }
655
+ function writeFromReadableStreamDefaultReader(reader, writable, currentReadPromise) {
656
+ const cancel = (error) => {
657
+ reader.cancel(error).catch(() => {
658
+ });
659
+ };
660
+ writable.on("close", cancel);
661
+ writable.on("error", cancel);
662
+ (currentReadPromise ?? reader.read()).then(flow, handleStreamError);
663
+ return reader.closed.finally(() => {
664
+ writable.off("close", cancel);
665
+ writable.off("error", cancel);
666
+ });
667
+ function handleStreamError(error) {
668
+ if (error) writable.destroy(error);
669
+ }
670
+ function onDrain() {
671
+ reader.read().then(flow, handleStreamError);
672
+ }
673
+ function flow({ done, value }) {
674
+ try {
675
+ if (done) writable.end();
676
+ else if (!writable.write(value)) writable.once("drain", onDrain);
677
+ else return reader.read().then(flow, handleStreamError);
678
+ } catch (e) {
679
+ handleStreamError(e);
680
+ }
681
+ }
682
+ }
683
+ function writeFromReadableStream(stream, writable) {
684
+ if (stream.locked) throw new TypeError("ReadableStream is locked.");
685
+ else if (writable.destroyed) return;
686
+ return writeFromReadableStreamDefaultReader(stream.getReader(), writable);
687
+ }
688
+ var buildOutgoingHttpHeaders = (headers, defaultContentType2) => {
689
+ const res = {};
690
+ if (!(headers instanceof Headers)) headers = new Headers(headers ?? void 0);
691
+ if (headers.has("set-cookie")) {
692
+ const cookies = [];
693
+ for (const [k, v] of headers) if (k === "set-cookie") cookies.push(v);
694
+ else res[k] = v;
695
+ if (cookies.length > 0) res["set-cookie"] = cookies;
696
+ } else for (const [k, v] of headers) res[k] = v;
697
+ if (defaultContentType2) res["content-type"] ??= defaultContentType2;
698
+ return res;
699
+ };
700
+ var outgoingEnded = /* @__PURE__ */ Symbol("outgoingEnded");
701
+ var incomingDraining = /* @__PURE__ */ Symbol("incomingDraining");
702
+ var DRAIN_TIMEOUT_MS = 500;
703
+ var MAX_DRAIN_BYTES = 64 * 1024 * 1024;
704
+ var drainIncoming = (incoming) => {
705
+ const incomingWithDrainState = incoming;
706
+ if (incoming.destroyed || incomingWithDrainState[incomingDraining]) return;
707
+ incomingWithDrainState[incomingDraining] = true;
708
+ if (incoming instanceof Http2ServerRequest) {
709
+ try {
710
+ incoming.stream?.close?.(constants.NGHTTP2_NO_ERROR);
711
+ } catch {
712
+ }
713
+ return;
714
+ }
715
+ let bytesRead = 0;
716
+ const cleanup = () => {
717
+ clearTimeout(timer);
718
+ incoming.off("data", onData);
719
+ incoming.off("end", cleanup);
720
+ incoming.off("error", cleanup);
721
+ };
722
+ const forceClose = () => {
723
+ cleanup();
724
+ const socket = incoming.socket;
725
+ if (socket && !socket.destroyed) socket.destroySoon();
726
+ };
727
+ const timer = setTimeout(forceClose, DRAIN_TIMEOUT_MS);
728
+ timer.unref?.();
729
+ const onData = (chunk) => {
730
+ bytesRead += chunk.length;
731
+ if (bytesRead > MAX_DRAIN_BYTES) forceClose();
732
+ };
733
+ incoming.on("data", onData);
734
+ incoming.on("end", cleanup);
735
+ incoming.on("error", cleanup);
736
+ incoming.resume();
737
+ };
738
+ var makeCloseHandler = (req, incoming, outgoing, needsBodyCleanup) => () => {
739
+ if (incoming.errored) {
740
+ recordBodyBufferedBeforeDisconnect(incoming);
741
+ req[abortRequest](incoming.errored.toString());
742
+ } else if (!outgoing.writableFinished) {
743
+ recordBodyBufferedBeforeDisconnect(incoming);
744
+ req[abortRequest]("Client connection prematurely closed.");
745
+ }
746
+ if (needsBodyCleanup && !incoming.readableEnded) setTimeout(() => {
747
+ if (!incoming.readableEnded) setTimeout(() => {
748
+ drainIncoming(incoming);
749
+ });
750
+ });
751
+ };
752
+ var isImmediateCacheableResponse = (res) => {
753
+ if (!(cacheKey in res)) return false;
754
+ const body = res[cacheKey][1];
755
+ return body === null || typeof body === "string" || body instanceof Uint8Array;
756
+ };
757
+ var handleRequestError = () => new Response(null, { status: 400 });
758
+ var handleFetchError = (e) => new Response(null, { status: e instanceof Error && (e.name === "TimeoutError" || e.constructor.name === "TimeoutError") ? 504 : 500 });
759
+ var handleResponseError = (e, outgoing) => {
760
+ const err = e instanceof Error ? e : new Error("unknown error", { cause: e });
761
+ if (err.code === "ERR_STREAM_PREMATURE_CLOSE") console.info("The user aborted a request.");
762
+ else {
763
+ console.error(e);
764
+ if (!outgoing.headersSent) outgoing.writeHead(500, { "Content-Type": "text/plain" });
765
+ outgoing.end(`Error: ${err.message}`);
766
+ outgoing.destroy(err);
767
+ }
768
+ };
769
+ var flushHeaders = (outgoing) => {
770
+ if ("flushHeaders" in outgoing && outgoing.writable) outgoing.flushHeaders();
771
+ };
772
+ var responseViaCache = async (res, outgoing) => {
773
+ let [status, body, header] = res[cacheKey];
774
+ if (!header) {
775
+ if (body === null) {
776
+ outgoing.writeHead(status);
777
+ outgoing.end();
778
+ } else if (typeof body === "string") {
779
+ outgoing.writeHead(status, {
780
+ "Content-Type": defaultContentType,
781
+ "Content-Length": Buffer.byteLength(body)
782
+ });
783
+ outgoing.end(body);
784
+ } else if (body instanceof Uint8Array) {
785
+ outgoing.writeHead(status, {
786
+ "Content-Type": defaultContentType,
787
+ "Content-Length": body.byteLength
788
+ });
789
+ outgoing.end(body);
790
+ } else if (body instanceof Blob) {
791
+ outgoing.writeHead(status, {
792
+ "Content-Type": defaultContentType,
793
+ "Content-Length": body.size
794
+ });
795
+ outgoing.end(new Uint8Array(await body.arrayBuffer()));
796
+ } else {
797
+ outgoing.writeHead(status, { "Content-Type": defaultContentType });
798
+ flushHeaders(outgoing);
799
+ await writeFromReadableStream(body, outgoing)?.catch((e) => handleResponseError(e, outgoing));
800
+ }
801
+ outgoing[outgoingEnded]?.();
802
+ return;
803
+ }
804
+ let hasContentLength = false;
805
+ if (header instanceof Headers) {
806
+ hasContentLength = header.has("content-length");
807
+ header = buildOutgoingHttpHeaders(header, body === null ? void 0 : defaultContentType);
808
+ } else if (Array.isArray(header)) {
809
+ const headerObj = new Headers(header);
810
+ hasContentLength = headerObj.has("content-length");
811
+ header = buildOutgoingHttpHeaders(headerObj, body === null ? void 0 : defaultContentType);
812
+ } else for (const key in header) if (key.length === 14 && key.toLowerCase() === "content-length") {
813
+ hasContentLength = true;
814
+ break;
815
+ }
816
+ if (!hasContentLength) {
817
+ if (typeof body === "string") header["Content-Length"] = Buffer.byteLength(body);
818
+ else if (body instanceof Uint8Array) header["Content-Length"] = body.byteLength;
819
+ else if (body instanceof Blob) header["Content-Length"] = body.size;
820
+ }
821
+ outgoing.writeHead(status, header);
822
+ if (body == null) outgoing.end();
823
+ else if (typeof body === "string" || body instanceof Uint8Array) outgoing.end(body);
824
+ else if (body instanceof Blob) outgoing.end(new Uint8Array(await body.arrayBuffer()));
825
+ else {
826
+ flushHeaders(outgoing);
827
+ await writeFromReadableStream(body, outgoing)?.catch((e) => handleResponseError(e, outgoing));
828
+ }
829
+ outgoing[outgoingEnded]?.();
830
+ };
831
+ var isPromise = (res) => typeof res.then === "function";
832
+ var responseViaResponseObject = async (res, outgoing, options = {}) => {
833
+ if (isPromise(res)) if (options.errorHandler) try {
834
+ res = await res;
835
+ } catch (err) {
836
+ const errRes = await options.errorHandler(err);
837
+ if (!errRes) return;
838
+ res = errRes;
839
+ }
840
+ else res = await res.catch(handleFetchError);
841
+ if (cacheKey in res) return responseViaCache(res, outgoing);
842
+ const resHeaderRecord = buildOutgoingHttpHeaders(res.headers, res.body === null ? void 0 : defaultContentType);
843
+ if (res.body) {
844
+ const reader = res.body.getReader();
845
+ const values = [];
846
+ let done = false;
847
+ let currentReadPromise = void 0;
848
+ if (resHeaderRecord["transfer-encoding"] !== "chunked") {
849
+ let maxReadCount = 2;
850
+ for (let i = 0; i < maxReadCount; i++) {
851
+ currentReadPromise ||= reader.read();
852
+ const chunk = await readWithoutBlocking(currentReadPromise).catch((e) => {
853
+ console.error(e);
854
+ done = true;
855
+ });
856
+ if (!chunk) {
857
+ if (i === 1) {
858
+ await new Promise((resolve3) => setTimeout(resolve3));
859
+ maxReadCount = 3;
860
+ continue;
861
+ }
862
+ break;
863
+ }
864
+ currentReadPromise = void 0;
865
+ if (chunk.value) values.push(chunk.value);
866
+ if (chunk.done) {
867
+ done = true;
868
+ break;
869
+ }
870
+ }
871
+ if (done && !("content-length" in resHeaderRecord)) resHeaderRecord["content-length"] = values.reduce((acc, value) => acc + value.length, 0);
872
+ }
873
+ outgoing.writeHead(res.status, resHeaderRecord);
874
+ values.forEach((value) => {
875
+ outgoing.write(value);
876
+ });
877
+ if (done) outgoing.end();
878
+ else {
879
+ if (values.length === 0) flushHeaders(outgoing);
880
+ await writeFromReadableStreamDefaultReader(reader, outgoing, currentReadPromise);
881
+ }
882
+ } else if (resHeaderRecord[X_ALREADY_SENT]) {
883
+ } else {
884
+ outgoing.writeHead(res.status, resHeaderRecord);
885
+ outgoing.end();
886
+ }
887
+ outgoing[outgoingEnded]?.();
888
+ };
889
+ var getRequestListener = (fetchCallback, options = {}) => {
890
+ const autoCleanupIncoming = options.autoCleanupIncoming ?? true;
891
+ if (options.overrideGlobalObjects !== false && global.Request !== Request$1) {
892
+ Object.defineProperty(global, "Request", { value: Request$1 });
893
+ Object.defineProperty(global, "Response", { value: Response$1 });
894
+ }
895
+ return async (incoming, outgoing) => {
896
+ let res, req;
897
+ let needsBodyCleanup = false;
898
+ let closeHandlerAttached = false;
899
+ const ensureCloseHandler = () => {
900
+ if (!req || closeHandlerAttached) return;
901
+ closeHandlerAttached = true;
902
+ outgoing.on("close", makeCloseHandler(req, incoming, outgoing, needsBodyCleanup));
903
+ };
904
+ try {
905
+ req = newRequest(incoming, options.hostname);
906
+ needsBodyCleanup = autoCleanupIncoming && !(incoming.method === "GET" || incoming.method === "HEAD");
907
+ if (needsBodyCleanup) {
908
+ incoming[wrapBodyStream] = true;
909
+ if (incoming instanceof Http2ServerRequest) outgoing[outgoingEnded] = () => {
910
+ if (!incoming.readableEnded) setTimeout(() => {
911
+ if (!incoming.readableEnded) setTimeout(() => {
912
+ incoming.destroy();
913
+ outgoing.destroy();
914
+ });
915
+ });
916
+ };
917
+ }
918
+ res = fetchCallback(req, {
919
+ incoming,
920
+ outgoing
921
+ });
922
+ if (!isPromise(res) && isImmediateCacheableResponse(res)) {
923
+ if (needsBodyCleanup && !incoming.readableEnded) outgoing.once("finish", () => {
924
+ if (!incoming.readableEnded) drainIncoming(incoming);
925
+ });
926
+ return responseViaCache(res, outgoing);
927
+ }
928
+ ensureCloseHandler();
929
+ } catch (e) {
930
+ if (!res) if (options.errorHandler) {
931
+ ensureCloseHandler();
932
+ res = await options.errorHandler(req ? e : toRequestError(e));
933
+ if (!res) return;
934
+ } else if (!req) res = handleRequestError();
935
+ else res = handleFetchError(e);
936
+ else return handleResponseError(e, outgoing);
937
+ }
938
+ try {
939
+ return await responseViaResponseObject(res, outgoing, options);
940
+ } catch (e) {
941
+ return handleResponseError(e, outgoing);
942
+ }
943
+ };
944
+ };
945
+ var CloseEvent = globalThis.CloseEvent ?? class extends Event {
946
+ #eventInitDict;
947
+ constructor(type, eventInitDict = {}) {
948
+ super(type, eventInitDict);
949
+ this.#eventInitDict = eventInitDict;
950
+ }
951
+ get wasClean() {
952
+ return this.#eventInitDict.wasClean ?? false;
953
+ }
954
+ get code() {
955
+ return this.#eventInitDict.code ?? 0;
956
+ }
957
+ get reason() {
958
+ return this.#eventInitDict.reason ?? "";
959
+ }
960
+ };
961
+ var ErrorEvent = globalThis.ErrorEvent ?? class extends Event {
962
+ #eventInitDict;
963
+ constructor(type, eventInitDict = {}) {
964
+ super(type, eventInitDict);
965
+ this.#eventInitDict = eventInitDict;
966
+ }
967
+ get message() {
968
+ return this.#eventInitDict.message ?? "";
969
+ }
970
+ get filename() {
971
+ return this.#eventInitDict.filename ?? "";
972
+ }
973
+ get lineno() {
974
+ return this.#eventInitDict.lineno ?? 0;
975
+ }
976
+ get colno() {
977
+ return this.#eventInitDict.colno ?? 0;
978
+ }
979
+ get error() {
980
+ return this.#eventInitDict.error ?? null;
981
+ }
982
+ };
983
+ var generateConnectionSymbol = () => /* @__PURE__ */ Symbol("connection");
984
+ var CONNECTION_SYMBOL_KEY = /* @__PURE__ */ Symbol("CONNECTION_SYMBOL_KEY");
985
+ var WAIT_FOR_WEBSOCKET_SYMBOL = /* @__PURE__ */ Symbol("WAIT_FOR_WEBSOCKET_SYMBOL");
986
+ var responseHeadersToSkip = /* @__PURE__ */ new Set([
987
+ "connection",
988
+ "content-length",
989
+ "keep-alive",
990
+ "proxy-authenticate",
991
+ "proxy-authorization",
992
+ "te",
993
+ "trailer",
994
+ "transfer-encoding",
995
+ "upgrade",
996
+ "sec-websocket-accept",
997
+ "sec-websocket-extensions",
998
+ "sec-websocket-protocol"
999
+ ]);
1000
+ var appendResponseHeaders = (headers, responseHeaders) => {
1001
+ if (!responseHeaders) return;
1002
+ responseHeaders.forEach((value, key) => {
1003
+ if (responseHeadersToSkip.has(key.toLowerCase())) return;
1004
+ headers.push(`${key}: ${value}`);
1005
+ });
1006
+ };
1007
+ var rejectUpgradeRequest = (socket, status, responseHeaders) => {
1008
+ const responseLines = ["Connection: close", "Content-Length: 0"];
1009
+ appendResponseHeaders(responseLines, responseHeaders);
1010
+ socket.end(`HTTP/1.1 ${status.toString()} ${STATUS_CODES[status] ?? ""}\r
1011
+ ${responseLines.join("\r\n")}\r
1012
+ \r
1013
+ `);
1014
+ };
1015
+ var createUpgradeRequest = (request) => {
1016
+ const protocol = request.socket.encrypted ? "https" : "http";
1017
+ const url = new URL(request.url ?? "/", `${protocol}://${request.headers.host ?? "localhost"}`);
1018
+ const headers = new Headers();
1019
+ for (const key in request.headers) {
1020
+ const value = request.headers[key];
1021
+ if (!value) continue;
1022
+ headers.append(key, Array.isArray(value) ? value[0] : value);
1023
+ }
1024
+ return new Request(url, { headers });
1025
+ };
1026
+ var setupWebSocket = (options) => {
1027
+ const { server, fetchCallback, wss } = options;
1028
+ const waiterMap = /* @__PURE__ */ new Map();
1029
+ wss.on("connection", (ws, request) => {
1030
+ const waiter = waiterMap.get(request);
1031
+ if (waiter) {
1032
+ waiter.resolve(ws);
1033
+ waiterMap.delete(request);
1034
+ }
1035
+ });
1036
+ const rejectWaiter = (request) => {
1037
+ const waiter = waiterMap.get(request);
1038
+ if (waiter) {
1039
+ waiterMap.delete(request);
1040
+ waiter.reject(/* @__PURE__ */ new Error("WebSocket handshake aborted"));
1041
+ }
1042
+ };
1043
+ const waitForWebSocket = (request, connectionSymbol) => {
1044
+ return new Promise((resolve3, reject) => {
1045
+ waiterMap.set(request, {
1046
+ resolve: resolve3,
1047
+ reject,
1048
+ connectionSymbol
1049
+ });
1050
+ });
1051
+ };
1052
+ server.on("upgrade", async (request, socket, head) => {
1053
+ if (request.headers.upgrade?.toLowerCase() !== "websocket") return;
1054
+ const env = {
1055
+ incoming: request,
1056
+ outgoing: void 0,
1057
+ wss,
1058
+ [WAIT_FOR_WEBSOCKET_SYMBOL]: waitForWebSocket
1059
+ };
1060
+ let status = 400;
1061
+ let responseHeaders;
1062
+ try {
1063
+ const response = await fetchCallback(createUpgradeRequest(request), env);
1064
+ if (response instanceof Response) {
1065
+ status = response.status;
1066
+ responseHeaders = response.headers;
1067
+ }
1068
+ } catch {
1069
+ if (server.listenerCount("upgrade") === 1) rejectUpgradeRequest(socket, 500);
1070
+ return;
1071
+ }
1072
+ const waiter = waiterMap.get(request);
1073
+ if (!waiter || waiter.connectionSymbol !== env[CONNECTION_SYMBOL_KEY]) {
1074
+ rejectWaiter(request);
1075
+ if (server.listenerCount("upgrade") === 1) rejectUpgradeRequest(socket, status, responseHeaders);
1076
+ return;
1077
+ }
1078
+ const addResponseHeaders = (headers) => {
1079
+ appendResponseHeaders(headers, responseHeaders);
1080
+ };
1081
+ const reclaimWaiterOnClose = () => rejectWaiter(request);
1082
+ socket.once("close", reclaimWaiterOnClose);
1083
+ wss.on("headers", addResponseHeaders);
1084
+ try {
1085
+ wss.handleUpgrade(request, socket, head, (ws) => {
1086
+ socket.off("close", reclaimWaiterOnClose);
1087
+ wss.emit("connection", ws, request);
1088
+ });
1089
+ } finally {
1090
+ wss.off("headers", addResponseHeaders);
1091
+ }
1092
+ });
1093
+ server.on("close", () => {
1094
+ wss.close();
1095
+ });
1096
+ };
1097
+ var upgradeWebSocket = defineWebSocketHelper(async (c, events, options) => {
1098
+ if (c.req.header("upgrade")?.toLowerCase() !== "websocket") return;
1099
+ const env = c.env;
1100
+ const waitForWebSocket = env[WAIT_FOR_WEBSOCKET_SYMBOL];
1101
+ if (!waitForWebSocket || !env.incoming) return new Response(null, { status: 500 });
1102
+ const connectionSymbol = generateConnectionSymbol();
1103
+ env[CONNECTION_SYMBOL_KEY] = connectionSymbol;
1104
+ (async () => {
1105
+ let ws;
1106
+ try {
1107
+ ws = await waitForWebSocket(env.incoming, connectionSymbol);
1108
+ } catch {
1109
+ return;
1110
+ }
1111
+ const messagesReceivedInStarting = [];
1112
+ const bufferMessage = (data, isBinary) => {
1113
+ messagesReceivedInStarting.push([data, isBinary]);
1114
+ };
1115
+ ws.on("message", bufferMessage);
1116
+ const ctx = {
1117
+ binaryType: "arraybuffer",
1118
+ close(code, reason) {
1119
+ ws.close(code, reason);
1120
+ },
1121
+ protocol: ws.protocol,
1122
+ raw: ws,
1123
+ get readyState() {
1124
+ return ws.readyState;
1125
+ },
1126
+ send(source, opts) {
1127
+ ws.send(source, { compress: opts?.compress });
1128
+ },
1129
+ url: new URL(c.req.url)
1130
+ };
1131
+ try {
1132
+ events?.onOpen?.(new Event("open"), ctx);
1133
+ } catch (e) {
1134
+ (options?.onError ?? console.error)(e);
1135
+ }
1136
+ const handleMessage = (data, isBinary) => {
1137
+ const datas = Array.isArray(data) ? data : [data];
1138
+ for (const data2 of datas) try {
1139
+ events?.onMessage?.(new MessageEvent("message", { data: isBinary ? data2 instanceof ArrayBuffer ? data2 : data2.buffer.slice(data2.byteOffset, data2.byteOffset + data2.byteLength) : typeof data2 === "string" ? data2 : Buffer.from(data2).toString("utf-8") }), ctx);
1140
+ } catch (e) {
1141
+ (options?.onError ?? console.error)(e);
1142
+ }
1143
+ };
1144
+ ws.off("message", bufferMessage);
1145
+ for (const message of messagesReceivedInStarting) handleMessage(...message);
1146
+ ws.on("message", (data, isBinary) => {
1147
+ handleMessage(data, isBinary);
1148
+ });
1149
+ ws.on("close", (code, reason) => {
1150
+ try {
1151
+ events?.onClose?.(new CloseEvent("close", {
1152
+ code,
1153
+ reason: reason.toString()
1154
+ }), ctx);
1155
+ } catch (e) {
1156
+ (options?.onError ?? console.error)(e);
1157
+ }
1158
+ });
1159
+ ws.on("error", (error) => {
1160
+ try {
1161
+ events?.onError?.(new ErrorEvent("error", { error }), ctx);
1162
+ } catch (e) {
1163
+ (options?.onError ?? console.error)(e);
1164
+ }
1165
+ });
1166
+ })();
1167
+ return new Response();
1168
+ });
1169
+ var createAdaptorServer = (options) => {
1170
+ const fetchCallback = options.fetch;
1171
+ const requestListener = getRequestListener(fetchCallback, {
1172
+ hostname: options.hostname,
1173
+ overrideGlobalObjects: options.overrideGlobalObjects,
1174
+ autoCleanupIncoming: options.autoCleanupIncoming
1175
+ });
1176
+ const server = (options.createServer || createServer)(options.serverOptions || {}, requestListener);
1177
+ if (options.websocket && options.websocket.server) {
1178
+ if (options.websocket.server.options.noServer !== true) throw new Error("WebSocket server must be created with { noServer: true } option");
1179
+ setupWebSocket({
1180
+ server,
1181
+ fetchCallback,
1182
+ wss: options.websocket.server
1183
+ });
1184
+ }
1185
+ return server;
1186
+ };
1187
+ var serve = (options, listeningListener) => {
1188
+ const server = createAdaptorServer(options);
1189
+ server.listen(options?.port ?? 3e3, options.hostname, () => {
1190
+ const serverInfo = server.address();
1191
+ listeningListener && listeningListener(serverInfo);
1192
+ });
1193
+ return server;
1194
+ };
1195
+
1196
+ // ../../node_modules/.pnpm/@hono+node-server@2.0.11_hono@4.12.32/node_modules/@hono/node-server/dist/utils/stream.mjs
1197
+ import { Readable as Readable2 } from "node:stream";
1198
+ import { versions } from "node:process";
1199
+ var pr54206Applied = () => {
1200
+ const [major, minor] = versions.node.split(".").map((component) => parseInt(component));
1201
+ return major >= 23 || major === 22 && minor >= 7 || major === 20 && minor >= 18;
1202
+ };
1203
+ var useReadableToWeb = pr54206Applied();
1204
+ var createStreamBody = (stream, useNativeReadableToWeb = useReadableToWeb) => {
1205
+ if (useNativeReadableToWeb) return Readable2.toWeb(stream);
1206
+ let controller;
1207
+ let settled = false;
1208
+ const cleanup = () => {
1209
+ stream.off("data", onData);
1210
+ stream.off("error", onError);
1211
+ stream.off("end", onTerminate);
1212
+ stream.off("close", onTerminate);
1213
+ };
1214
+ const settle = (callback) => {
1215
+ if (settled) return;
1216
+ settled = true;
1217
+ cleanup();
1218
+ callback?.();
1219
+ };
1220
+ const onData = (chunk) => {
1221
+ if (settled || !controller) return;
1222
+ controller.enqueue(chunk);
1223
+ if ((controller.desiredSize ?? 0) <= 0) stream.pause();
1224
+ };
1225
+ const onError = (error) => {
1226
+ settle(() => {
1227
+ controller?.error(error);
1228
+ });
1229
+ };
1230
+ const onTerminate = () => {
1231
+ settle(() => {
1232
+ controller?.close();
1233
+ });
1234
+ };
1235
+ return new ReadableStream({
1236
+ start(streamController) {
1237
+ controller = streamController;
1238
+ stream.on("data", onData);
1239
+ stream.on("error", onError);
1240
+ stream.on("end", onTerminate);
1241
+ stream.on("close", onTerminate);
1242
+ stream.pause();
1243
+ },
1244
+ pull() {
1245
+ if (!settled) stream.resume();
1246
+ },
1247
+ cancel() {
1248
+ settle();
1249
+ const ignoreError = () => {
1250
+ };
1251
+ stream.on("error", ignoreError);
1252
+ stream.once("close", () => stream.off("error", ignoreError));
1253
+ stream.destroy();
1254
+ }
1255
+ });
1256
+ };
1257
+
1258
+ // ../../node_modules/.pnpm/hono@4.12.32/node_modules/hono/dist/utils/mime.js
1259
+ var getMimeType = (filename, mimes = baseMimes) => {
1260
+ const regexp = /\.([a-zA-Z0-9]+?)$/;
1261
+ const match = filename.match(regexp);
1262
+ if (!match) {
1263
+ return;
1264
+ }
1265
+ return mimes[match[1].toLowerCase()];
1266
+ };
1267
+ var _baseMimes = {
1268
+ aac: "audio/aac",
1269
+ avi: "video/x-msvideo",
1270
+ avif: "image/avif",
1271
+ av1: "video/av1",
1272
+ bin: "application/octet-stream",
1273
+ bmp: "image/bmp",
1274
+ css: "text/css; charset=utf-8",
1275
+ csv: "text/csv; charset=utf-8",
1276
+ eot: "application/vnd.ms-fontobject",
1277
+ epub: "application/epub+zip",
1278
+ gif: "image/gif",
1279
+ gz: "application/gzip",
1280
+ htm: "text/html; charset=utf-8",
1281
+ html: "text/html; charset=utf-8",
1282
+ ico: "image/x-icon",
1283
+ ics: "text/calendar; charset=utf-8",
1284
+ jpeg: "image/jpeg",
1285
+ jpg: "image/jpeg",
1286
+ js: "text/javascript; charset=utf-8",
1287
+ json: "application/json",
1288
+ jsonld: "application/ld+json",
1289
+ map: "application/json",
1290
+ mid: "audio/x-midi",
1291
+ midi: "audio/x-midi",
1292
+ mjs: "text/javascript; charset=utf-8",
1293
+ mp3: "audio/mpeg",
1294
+ mp4: "video/mp4",
1295
+ mpeg: "video/mpeg",
1296
+ oga: "audio/ogg",
1297
+ ogv: "video/ogg",
1298
+ ogx: "application/ogg",
1299
+ opus: "audio/opus",
1300
+ otf: "font/otf",
1301
+ pdf: "application/pdf",
1302
+ png: "image/png",
1303
+ rtf: "application/rtf",
1304
+ svg: "image/svg+xml; charset=utf-8",
1305
+ tif: "image/tiff",
1306
+ tiff: "image/tiff",
1307
+ ts: "video/mp2t",
1308
+ ttf: "font/ttf",
1309
+ txt: "text/plain; charset=utf-8",
1310
+ wasm: "application/wasm",
1311
+ webm: "video/webm",
1312
+ weba: "audio/webm",
1313
+ webmanifest: "application/manifest+json",
1314
+ webp: "image/webp",
1315
+ woff: "font/woff",
1316
+ woff2: "font/woff2",
1317
+ xhtml: "application/xhtml+xml; charset=utf-8",
1318
+ xml: "application/xml; charset=utf-8",
1319
+ zip: "application/zip",
1320
+ "3gp": "video/3gpp",
1321
+ "3g2": "video/3gpp2",
1322
+ gltf: "model/gltf+json",
1323
+ glb: "model/gltf-binary"
1324
+ };
1325
+ var baseMimes = _baseMimes;
1326
+
1327
+ // ../../node_modules/.pnpm/@hono+node-server@2.0.11_hono@4.12.32/node_modules/@hono/node-server/dist/serve-static.mjs
1328
+ import { createReadStream, existsSync, statSync } from "node:fs";
1329
+ import { join } from "node:path";
1330
+ var COMPRESSIBLE_CONTENT_TYPE_REGEX = /^\s*(?:text\/[^;\s]+|application\/(?:javascript|json|xml|xml-dtd|ecmascript|dart|postscript|rtf|tar|toml|vnd\.dart|vnd\.ms-fontobject|vnd\.ms-opentype|wasm|x-httpd-php|x-javascript|x-ns-proxy-autoconfig|x-sh|x-tar|x-virtualbox-hdd|x-virtualbox-ova|x-virtualbox-ovf|x-virtualbox-vbox|x-virtualbox-vdi|x-virtualbox-vhd|x-virtualbox-vmdk|x-www-form-urlencoded)|font\/(?:otf|ttf)|image\/(?:bmp|vnd\.adobe\.photoshop|vnd\.microsoft\.icon|vnd\.ms-dds|x-icon|x-ms-bmp)|message\/rfc822|model\/gltf-binary|x-shader\/x-fragment|x-shader\/x-vertex|[^;\s]+?\+(?:json|text|xml|yaml))(?:[;\s]|$)/i;
1331
+ var ENCODINGS = {
1332
+ br: ".br",
1333
+ zstd: ".zst",
1334
+ gzip: ".gz"
1335
+ };
1336
+ var ENCODINGS_ORDERED_KEYS = Object.keys(ENCODINGS);
1337
+ var getStats = (path4) => {
1338
+ let stats;
1339
+ try {
1340
+ stats = statSync(path4);
1341
+ } catch {
1342
+ }
1343
+ return stats;
1344
+ };
1345
+ var BYTE_RANGE_PATTERN = /^(?:bytes=)?(?!-$)(\d*)-(\d*)$/;
1346
+ var parseByteRange = (range) => {
1347
+ const match = range.match(BYTE_RANGE_PATTERN);
1348
+ if (!match) return;
1349
+ const [, start, end] = match;
1350
+ if (start === "") return {
1351
+ type: "suffix",
1352
+ length: Number(end)
1353
+ };
1354
+ if (end === "") return {
1355
+ type: "open-ended",
1356
+ start: Number(start)
1357
+ };
1358
+ return {
1359
+ type: "bounded",
1360
+ start: Number(start),
1361
+ end: Number(end)
1362
+ };
1363
+ };
1364
+ var resolveByteRange = (spec, size) => {
1365
+ if (size === 0) return;
1366
+ if (spec.type === "suffix") {
1367
+ if (spec.length === 0) return;
1368
+ return {
1369
+ start: Math.max(size - spec.length, 0),
1370
+ end: size - 1
1371
+ };
1372
+ }
1373
+ const end = spec.type === "bounded" ? Math.min(spec.end, size - 1) : size - 1;
1374
+ if (spec.start >= size || spec.start > end) return;
1375
+ return {
1376
+ start: spec.start,
1377
+ end
1378
+ };
1379
+ };
1380
+ var tryDecode = (str, decoder) => {
1381
+ try {
1382
+ return decoder(str);
1383
+ } catch {
1384
+ return str.replace(/(?:%[0-9A-Fa-f]{2})+/g, (match) => {
1385
+ try {
1386
+ return decoder(match);
1387
+ } catch {
1388
+ return match;
1389
+ }
1390
+ });
1391
+ }
1392
+ };
1393
+ var tryDecodeURI = (str) => tryDecode(str, decodeURI);
1394
+ var serveStatic = (options = { root: "" }) => {
1395
+ const root = options.root || "";
1396
+ const optionPath = options.path;
1397
+ if (root !== "" && !existsSync(root)) console.error(`serveStatic: root path '${root}' is not found, are you sure it's correct?`);
1398
+ return async (c, next) => {
1399
+ if (c.finalized) return next();
1400
+ let filename;
1401
+ if (optionPath) filename = optionPath;
1402
+ else try {
1403
+ filename = tryDecodeURI(c.req.path);
1404
+ if (/(?:^|[\/\\])\.{1,2}(?:$|[\/\\])|[\/\\]{2,}|\\/.test(filename)) throw new Error();
1405
+ } catch {
1406
+ await options.onNotFound?.(c.req.path, c);
1407
+ return next();
1408
+ }
1409
+ let path4 = join(root, !optionPath && options.rewriteRequestPath ? options.rewriteRequestPath(filename, c) : filename);
1410
+ let stats = getStats(path4);
1411
+ if (stats && stats.isDirectory()) {
1412
+ const indexFile = options.index ?? "index.html";
1413
+ path4 = join(path4, indexFile);
1414
+ stats = getStats(path4);
1415
+ }
1416
+ if (!stats) {
1417
+ await options.onNotFound?.(path4, c);
1418
+ return next();
1419
+ }
1420
+ const mimeType = getMimeType(path4);
1421
+ c.header("Content-Type", mimeType || "application/octet-stream");
1422
+ if (options.precompressed && (!mimeType || mimeType === "application/octet-stream" || COMPRESSIBLE_CONTENT_TYPE_REGEX.test(mimeType))) {
1423
+ const acceptEncodingSet = new Set(c.req.header("Accept-Encoding")?.split(",").map((encoding) => encoding.trim()));
1424
+ for (const encoding of ENCODINGS_ORDERED_KEYS) {
1425
+ if (!acceptEncodingSet.has(encoding)) continue;
1426
+ const precompressedStats = getStats(path4 + ENCODINGS[encoding]);
1427
+ if (precompressedStats) {
1428
+ c.header("Content-Encoding", encoding);
1429
+ c.header("Vary", "Accept-Encoding", { append: true });
1430
+ stats = precompressedStats;
1431
+ path4 = path4 + ENCODINGS[encoding];
1432
+ break;
1433
+ }
1434
+ }
1435
+ }
1436
+ let result;
1437
+ const size = stats.size;
1438
+ const range = c.req.header("range") || "";
1439
+ c.header("Last-Modified", stats.mtime.toUTCString());
1440
+ if (c.req.method == "HEAD" || c.req.method == "OPTIONS") {
1441
+ c.header("Content-Length", size.toString());
1442
+ c.status(200);
1443
+ result = c.body(null);
1444
+ } else if (!range) {
1445
+ c.header("Content-Length", size.toString());
1446
+ result = c.body(createStreamBody(createReadStream(path4)), 200);
1447
+ } else {
1448
+ c.header("Accept-Ranges", "bytes");
1449
+ const resolvedRange = resolveByteRange(parseByteRange(range) ?? {
1450
+ type: "open-ended",
1451
+ start: 0
1452
+ }, size);
1453
+ if (!resolvedRange) {
1454
+ c.header("Content-Range", `bytes */${size}`);
1455
+ result = c.body(null, 416);
1456
+ } else {
1457
+ const { start, end } = resolvedRange;
1458
+ const chunkSize = end - start + 1;
1459
+ const stream = createReadStream(path4, {
1460
+ start,
1461
+ end
1462
+ });
1463
+ c.header("Content-Length", chunkSize.toString());
1464
+ c.header("Content-Range", `bytes ${start}-${end}/${size}`);
1465
+ result = c.body(createStreamBody(stream), 206);
1466
+ }
1467
+ }
1468
+ await options.onFound?.(path4, c);
1469
+ return result;
1470
+ };
1471
+ };
1472
+
1473
+ // ../../node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/index.js
1474
+ import { stat as statcb } from "fs";
1475
+ import { stat as stat3, readdir as readdir2 } from "fs/promises";
1476
+ import { EventEmitter } from "events";
1477
+ import * as sysPath2 from "path";
1478
+
1479
+ // ../../node_modules/.pnpm/readdirp@4.1.2/node_modules/readdirp/esm/index.js
1480
+ import { stat, lstat, readdir, realpath } from "node:fs/promises";
1481
+ import { Readable as Readable3 } from "node:stream";
1482
+ import { resolve as presolve, relative as prelative, join as pjoin, sep as psep } from "node:path";
1483
+ var EntryTypes = {
1484
+ FILE_TYPE: "files",
1485
+ DIR_TYPE: "directories",
1486
+ FILE_DIR_TYPE: "files_directories",
1487
+ EVERYTHING_TYPE: "all"
1488
+ };
1489
+ var defaultOptions = {
1490
+ root: ".",
1491
+ fileFilter: (_entryInfo) => true,
1492
+ directoryFilter: (_entryInfo) => true,
1493
+ type: EntryTypes.FILE_TYPE,
1494
+ lstat: false,
1495
+ depth: 2147483648,
1496
+ alwaysStat: false,
1497
+ highWaterMark: 4096
1498
+ };
1499
+ Object.freeze(defaultOptions);
1500
+ var RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR";
1501
+ var NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]);
1502
+ var ALL_TYPES = [
1503
+ EntryTypes.DIR_TYPE,
1504
+ EntryTypes.EVERYTHING_TYPE,
1505
+ EntryTypes.FILE_DIR_TYPE,
1506
+ EntryTypes.FILE_TYPE
1507
+ ];
1508
+ var DIR_TYPES = /* @__PURE__ */ new Set([
1509
+ EntryTypes.DIR_TYPE,
1510
+ EntryTypes.EVERYTHING_TYPE,
1511
+ EntryTypes.FILE_DIR_TYPE
1512
+ ]);
1513
+ var FILE_TYPES = /* @__PURE__ */ new Set([
1514
+ EntryTypes.EVERYTHING_TYPE,
1515
+ EntryTypes.FILE_DIR_TYPE,
1516
+ EntryTypes.FILE_TYPE
1517
+ ]);
1518
+ var isNormalFlowError = (error) => NORMAL_FLOW_ERRORS.has(error.code);
1519
+ var wantBigintFsStats = process.platform === "win32";
1520
+ var emptyFn = (_entryInfo) => true;
1521
+ var normalizeFilter = (filter) => {
1522
+ if (filter === void 0)
1523
+ return emptyFn;
1524
+ if (typeof filter === "function")
1525
+ return filter;
1526
+ if (typeof filter === "string") {
1527
+ const fl = filter.trim();
1528
+ return (entry) => entry.basename === fl;
1529
+ }
1530
+ if (Array.isArray(filter)) {
1531
+ const trItems = filter.map((item) => item.trim());
1532
+ return (entry) => trItems.some((f) => entry.basename === f);
1533
+ }
1534
+ return emptyFn;
1535
+ };
1536
+ var ReaddirpStream = class extends Readable3 {
1537
+ constructor(options = {}) {
1538
+ super({
1539
+ objectMode: true,
1540
+ autoDestroy: true,
1541
+ highWaterMark: options.highWaterMark
1542
+ });
1543
+ const opts = { ...defaultOptions, ...options };
1544
+ const { root, type } = opts;
1545
+ this._fileFilter = normalizeFilter(opts.fileFilter);
1546
+ this._directoryFilter = normalizeFilter(opts.directoryFilter);
1547
+ const statMethod = opts.lstat ? lstat : stat;
1548
+ if (wantBigintFsStats) {
1549
+ this._stat = (path4) => statMethod(path4, { bigint: true });
1550
+ } else {
1551
+ this._stat = statMethod;
1552
+ }
1553
+ this._maxDepth = opts.depth ?? defaultOptions.depth;
1554
+ this._wantsDir = type ? DIR_TYPES.has(type) : false;
1555
+ this._wantsFile = type ? FILE_TYPES.has(type) : false;
1556
+ this._wantsEverything = type === EntryTypes.EVERYTHING_TYPE;
1557
+ this._root = presolve(root);
1558
+ this._isDirent = !opts.alwaysStat;
1559
+ this._statsProp = this._isDirent ? "dirent" : "stats";
1560
+ this._rdOptions = { encoding: "utf8", withFileTypes: this._isDirent };
1561
+ this.parents = [this._exploreDir(root, 1)];
1562
+ this.reading = false;
1563
+ this.parent = void 0;
1564
+ }
1565
+ async _read(batch) {
1566
+ if (this.reading)
1567
+ return;
1568
+ this.reading = true;
1569
+ try {
1570
+ while (!this.destroyed && batch > 0) {
1571
+ const par = this.parent;
1572
+ const fil = par && par.files;
1573
+ if (fil && fil.length > 0) {
1574
+ const { path: path4, depth } = par;
1575
+ const slice = fil.splice(0, batch).map((dirent) => this._formatEntry(dirent, path4));
1576
+ const awaited = await Promise.all(slice);
1577
+ for (const entry of awaited) {
1578
+ if (!entry)
1579
+ continue;
1580
+ if (this.destroyed)
1581
+ return;
1582
+ const entryType = await this._getEntryType(entry);
1583
+ if (entryType === "directory" && this._directoryFilter(entry)) {
1584
+ if (depth <= this._maxDepth) {
1585
+ this.parents.push(this._exploreDir(entry.fullPath, depth + 1));
1586
+ }
1587
+ if (this._wantsDir) {
1588
+ this.push(entry);
1589
+ batch--;
1590
+ }
1591
+ } else if ((entryType === "file" || this._includeAsFile(entry)) && this._fileFilter(entry)) {
1592
+ if (this._wantsFile) {
1593
+ this.push(entry);
1594
+ batch--;
1595
+ }
1596
+ }
1597
+ }
1598
+ } else {
1599
+ const parent = this.parents.pop();
1600
+ if (!parent) {
1601
+ this.push(null);
1602
+ break;
1603
+ }
1604
+ this.parent = await parent;
1605
+ if (this.destroyed)
1606
+ return;
1607
+ }
1608
+ }
1609
+ } catch (error) {
1610
+ this.destroy(error);
1611
+ } finally {
1612
+ this.reading = false;
1613
+ }
1614
+ }
1615
+ async _exploreDir(path4, depth) {
1616
+ let files;
1617
+ try {
1618
+ files = await readdir(path4, this._rdOptions);
1619
+ } catch (error) {
1620
+ this._onError(error);
1621
+ }
1622
+ return { files, depth, path: path4 };
1623
+ }
1624
+ async _formatEntry(dirent, path4) {
1625
+ let entry;
1626
+ const basename3 = this._isDirent ? dirent.name : dirent;
1627
+ try {
1628
+ const fullPath = presolve(pjoin(path4, basename3));
1629
+ entry = { path: prelative(this._root, fullPath), fullPath, basename: basename3 };
1630
+ entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
1631
+ } catch (err) {
1632
+ this._onError(err);
1633
+ return;
1634
+ }
1635
+ return entry;
1636
+ }
1637
+ _onError(err) {
1638
+ if (isNormalFlowError(err) && !this.destroyed) {
1639
+ this.emit("warn", err);
1640
+ } else {
1641
+ this.destroy(err);
1642
+ }
1643
+ }
1644
+ async _getEntryType(entry) {
1645
+ if (!entry && this._statsProp in entry) {
1646
+ return "";
1647
+ }
1648
+ const stats = entry[this._statsProp];
1649
+ if (stats.isFile())
1650
+ return "file";
1651
+ if (stats.isDirectory())
1652
+ return "directory";
1653
+ if (stats && stats.isSymbolicLink()) {
1654
+ const full = entry.fullPath;
1655
+ try {
1656
+ const entryRealPath = await realpath(full);
1657
+ const entryRealPathStats = await lstat(entryRealPath);
1658
+ if (entryRealPathStats.isFile()) {
1659
+ return "file";
1660
+ }
1661
+ if (entryRealPathStats.isDirectory()) {
1662
+ const len = entryRealPath.length;
1663
+ if (full.startsWith(entryRealPath) && full.substr(len, 1) === psep) {
1664
+ const recursiveError = new Error(`Circular symlink detected: "${full}" points to "${entryRealPath}"`);
1665
+ recursiveError.code = RECURSIVE_ERROR_CODE;
1666
+ return this._onError(recursiveError);
1667
+ }
1668
+ return "directory";
1669
+ }
1670
+ } catch (error) {
1671
+ this._onError(error);
1672
+ return "";
1673
+ }
1674
+ }
1675
+ }
1676
+ _includeAsFile(entry) {
1677
+ const stats = entry && entry[this._statsProp];
1678
+ return stats && this._wantsEverything && !stats.isDirectory();
1679
+ }
1680
+ };
1681
+ function readdirp(root, options = {}) {
1682
+ let type = options.entryType || options.type;
1683
+ if (type === "both")
1684
+ type = EntryTypes.FILE_DIR_TYPE;
1685
+ if (type)
1686
+ options.type = type;
1687
+ if (!root) {
1688
+ throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
1689
+ } else if (typeof root !== "string") {
1690
+ throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
1691
+ } else if (type && !ALL_TYPES.includes(type)) {
1692
+ throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
1693
+ }
1694
+ options.root = root;
1695
+ return new ReaddirpStream(options);
1696
+ }
1697
+
1698
+ // ../../node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/handler.js
1699
+ import { watchFile, unwatchFile, watch as fs_watch } from "fs";
1700
+ import { open, stat as stat2, lstat as lstat2, realpath as fsrealpath } from "fs/promises";
1701
+ import * as sysPath from "path";
1702
+ import { type as osType } from "os";
1703
+ var STR_DATA = "data";
1704
+ var STR_END = "end";
1705
+ var STR_CLOSE = "close";
1706
+ var EMPTY_FN = () => {
1707
+ };
1708
+ var pl = process.platform;
1709
+ var isWindows = pl === "win32";
1710
+ var isMacos = pl === "darwin";
1711
+ var isLinux = pl === "linux";
1712
+ var isFreeBSD = pl === "freebsd";
1713
+ var isIBMi = osType() === "OS400";
1714
+ var EVENTS = {
1715
+ ALL: "all",
1716
+ READY: "ready",
1717
+ ADD: "add",
1718
+ CHANGE: "change",
1719
+ ADD_DIR: "addDir",
1720
+ UNLINK: "unlink",
1721
+ UNLINK_DIR: "unlinkDir",
1722
+ RAW: "raw",
1723
+ ERROR: "error"
1724
+ };
1725
+ var EV = EVENTS;
1726
+ var THROTTLE_MODE_WATCH = "watch";
1727
+ var statMethods = { lstat: lstat2, stat: stat2 };
1728
+ var KEY_LISTENERS = "listeners";
1729
+ var KEY_ERR = "errHandlers";
1730
+ var KEY_RAW = "rawEmitters";
1731
+ var HANDLER_KEYS = [KEY_LISTENERS, KEY_ERR, KEY_RAW];
1732
+ var binaryExtensions = /* @__PURE__ */ new Set([
1733
+ "3dm",
1734
+ "3ds",
1735
+ "3g2",
1736
+ "3gp",
1737
+ "7z",
1738
+ "a",
1739
+ "aac",
1740
+ "adp",
1741
+ "afdesign",
1742
+ "afphoto",
1743
+ "afpub",
1744
+ "ai",
1745
+ "aif",
1746
+ "aiff",
1747
+ "alz",
1748
+ "ape",
1749
+ "apk",
1750
+ "appimage",
1751
+ "ar",
1752
+ "arj",
1753
+ "asf",
1754
+ "au",
1755
+ "avi",
1756
+ "bak",
1757
+ "baml",
1758
+ "bh",
1759
+ "bin",
1760
+ "bk",
1761
+ "bmp",
1762
+ "btif",
1763
+ "bz2",
1764
+ "bzip2",
1765
+ "cab",
1766
+ "caf",
1767
+ "cgm",
1768
+ "class",
1769
+ "cmx",
1770
+ "cpio",
1771
+ "cr2",
1772
+ "cur",
1773
+ "dat",
1774
+ "dcm",
1775
+ "deb",
1776
+ "dex",
1777
+ "djvu",
1778
+ "dll",
1779
+ "dmg",
1780
+ "dng",
1781
+ "doc",
1782
+ "docm",
1783
+ "docx",
1784
+ "dot",
1785
+ "dotm",
1786
+ "dra",
1787
+ "DS_Store",
1788
+ "dsk",
1789
+ "dts",
1790
+ "dtshd",
1791
+ "dvb",
1792
+ "dwg",
1793
+ "dxf",
1794
+ "ecelp4800",
1795
+ "ecelp7470",
1796
+ "ecelp9600",
1797
+ "egg",
1798
+ "eol",
1799
+ "eot",
1800
+ "epub",
1801
+ "exe",
1802
+ "f4v",
1803
+ "fbs",
1804
+ "fh",
1805
+ "fla",
1806
+ "flac",
1807
+ "flatpak",
1808
+ "fli",
1809
+ "flv",
1810
+ "fpx",
1811
+ "fst",
1812
+ "fvt",
1813
+ "g3",
1814
+ "gh",
1815
+ "gif",
1816
+ "graffle",
1817
+ "gz",
1818
+ "gzip",
1819
+ "h261",
1820
+ "h263",
1821
+ "h264",
1822
+ "icns",
1823
+ "ico",
1824
+ "ief",
1825
+ "img",
1826
+ "ipa",
1827
+ "iso",
1828
+ "jar",
1829
+ "jpeg",
1830
+ "jpg",
1831
+ "jpgv",
1832
+ "jpm",
1833
+ "jxr",
1834
+ "key",
1835
+ "ktx",
1836
+ "lha",
1837
+ "lib",
1838
+ "lvp",
1839
+ "lz",
1840
+ "lzh",
1841
+ "lzma",
1842
+ "lzo",
1843
+ "m3u",
1844
+ "m4a",
1845
+ "m4v",
1846
+ "mar",
1847
+ "mdi",
1848
+ "mht",
1849
+ "mid",
1850
+ "midi",
1851
+ "mj2",
1852
+ "mka",
1853
+ "mkv",
1854
+ "mmr",
1855
+ "mng",
1856
+ "mobi",
1857
+ "mov",
1858
+ "movie",
1859
+ "mp3",
1860
+ "mp4",
1861
+ "mp4a",
1862
+ "mpeg",
1863
+ "mpg",
1864
+ "mpga",
1865
+ "mxu",
1866
+ "nef",
1867
+ "npx",
1868
+ "numbers",
1869
+ "nupkg",
1870
+ "o",
1871
+ "odp",
1872
+ "ods",
1873
+ "odt",
1874
+ "oga",
1875
+ "ogg",
1876
+ "ogv",
1877
+ "otf",
1878
+ "ott",
1879
+ "pages",
1880
+ "pbm",
1881
+ "pcx",
1882
+ "pdb",
1883
+ "pdf",
1884
+ "pea",
1885
+ "pgm",
1886
+ "pic",
1887
+ "png",
1888
+ "pnm",
1889
+ "pot",
1890
+ "potm",
1891
+ "potx",
1892
+ "ppa",
1893
+ "ppam",
1894
+ "ppm",
1895
+ "pps",
1896
+ "ppsm",
1897
+ "ppsx",
1898
+ "ppt",
1899
+ "pptm",
1900
+ "pptx",
1901
+ "psd",
1902
+ "pya",
1903
+ "pyc",
1904
+ "pyo",
1905
+ "pyv",
1906
+ "qt",
1907
+ "rar",
1908
+ "ras",
1909
+ "raw",
1910
+ "resources",
1911
+ "rgb",
1912
+ "rip",
1913
+ "rlc",
1914
+ "rmf",
1915
+ "rmvb",
1916
+ "rpm",
1917
+ "rtf",
1918
+ "rz",
1919
+ "s3m",
1920
+ "s7z",
1921
+ "scpt",
1922
+ "sgi",
1923
+ "shar",
1924
+ "snap",
1925
+ "sil",
1926
+ "sketch",
1927
+ "slk",
1928
+ "smv",
1929
+ "snk",
1930
+ "so",
1931
+ "stl",
1932
+ "suo",
1933
+ "sub",
1934
+ "swf",
1935
+ "tar",
1936
+ "tbz",
1937
+ "tbz2",
1938
+ "tga",
1939
+ "tgz",
1940
+ "thmx",
1941
+ "tif",
1942
+ "tiff",
1943
+ "tlz",
1944
+ "ttc",
1945
+ "ttf",
1946
+ "txz",
1947
+ "udf",
1948
+ "uvh",
1949
+ "uvi",
1950
+ "uvm",
1951
+ "uvp",
1952
+ "uvs",
1953
+ "uvu",
1954
+ "viv",
1955
+ "vob",
1956
+ "war",
1957
+ "wav",
1958
+ "wax",
1959
+ "wbmp",
1960
+ "wdp",
1961
+ "weba",
1962
+ "webm",
1963
+ "webp",
1964
+ "whl",
1965
+ "wim",
1966
+ "wm",
1967
+ "wma",
1968
+ "wmv",
1969
+ "wmx",
1970
+ "woff",
1971
+ "woff2",
1972
+ "wrm",
1973
+ "wvx",
1974
+ "xbm",
1975
+ "xif",
1976
+ "xla",
1977
+ "xlam",
1978
+ "xls",
1979
+ "xlsb",
1980
+ "xlsm",
1981
+ "xlsx",
1982
+ "xlt",
1983
+ "xltm",
1984
+ "xltx",
1985
+ "xm",
1986
+ "xmind",
1987
+ "xpi",
1988
+ "xpm",
1989
+ "xwd",
1990
+ "xz",
1991
+ "z",
1992
+ "zip",
1993
+ "zipx"
1994
+ ]);
1995
+ var isBinaryPath = (filePath) => binaryExtensions.has(sysPath.extname(filePath).slice(1).toLowerCase());
1996
+ var foreach = (val, fn) => {
1997
+ if (val instanceof Set) {
1998
+ val.forEach(fn);
1999
+ } else {
2000
+ fn(val);
2001
+ }
2002
+ };
2003
+ var addAndConvert = (main, prop, item) => {
2004
+ let container = main[prop];
2005
+ if (!(container instanceof Set)) {
2006
+ main[prop] = container = /* @__PURE__ */ new Set([container]);
2007
+ }
2008
+ container.add(item);
2009
+ };
2010
+ var clearItem = (cont) => (key) => {
2011
+ const set = cont[key];
2012
+ if (set instanceof Set) {
2013
+ set.clear();
2014
+ } else {
2015
+ delete cont[key];
2016
+ }
2017
+ };
2018
+ var delFromSet = (main, prop, item) => {
2019
+ const container = main[prop];
2020
+ if (container instanceof Set) {
2021
+ container.delete(item);
2022
+ } else if (container === item) {
2023
+ delete main[prop];
2024
+ }
2025
+ };
2026
+ var isEmptySet = (val) => val instanceof Set ? val.size === 0 : !val;
2027
+ var FsWatchInstances = /* @__PURE__ */ new Map();
2028
+ function createFsWatchInstance(path4, options, listener, errHandler, emitRaw) {
2029
+ const handleEvent = (rawEvent, evPath) => {
2030
+ listener(path4);
2031
+ emitRaw(rawEvent, evPath, { watchedPath: path4 });
2032
+ if (evPath && path4 !== evPath) {
2033
+ fsWatchBroadcast(sysPath.resolve(path4, evPath), KEY_LISTENERS, sysPath.join(path4, evPath));
2034
+ }
2035
+ };
2036
+ try {
2037
+ return fs_watch(path4, {
2038
+ persistent: options.persistent
2039
+ }, handleEvent);
2040
+ } catch (error) {
2041
+ errHandler(error);
2042
+ return void 0;
2043
+ }
2044
+ }
2045
+ var fsWatchBroadcast = (fullPath, listenerType, val1, val2, val3) => {
2046
+ const cont = FsWatchInstances.get(fullPath);
2047
+ if (!cont)
2048
+ return;
2049
+ foreach(cont[listenerType], (listener) => {
2050
+ listener(val1, val2, val3);
2051
+ });
2052
+ };
2053
+ var setFsWatchListener = (path4, fullPath, options, handlers) => {
2054
+ const { listener, errHandler, rawEmitter } = handlers;
2055
+ let cont = FsWatchInstances.get(fullPath);
2056
+ let watcher;
2057
+ if (!options.persistent) {
2058
+ watcher = createFsWatchInstance(path4, options, listener, errHandler, rawEmitter);
2059
+ if (!watcher)
2060
+ return;
2061
+ return watcher.close.bind(watcher);
2062
+ }
2063
+ if (cont) {
2064
+ addAndConvert(cont, KEY_LISTENERS, listener);
2065
+ addAndConvert(cont, KEY_ERR, errHandler);
2066
+ addAndConvert(cont, KEY_RAW, rawEmitter);
2067
+ } else {
2068
+ watcher = createFsWatchInstance(
2069
+ path4,
2070
+ options,
2071
+ fsWatchBroadcast.bind(null, fullPath, KEY_LISTENERS),
2072
+ errHandler,
2073
+ // no need to use broadcast here
2074
+ fsWatchBroadcast.bind(null, fullPath, KEY_RAW)
2075
+ );
2076
+ if (!watcher)
2077
+ return;
2078
+ watcher.on(EV.ERROR, async (error) => {
2079
+ const broadcastErr = fsWatchBroadcast.bind(null, fullPath, KEY_ERR);
2080
+ if (cont)
2081
+ cont.watcherUnusable = true;
2082
+ if (isWindows && error.code === "EPERM") {
2083
+ try {
2084
+ const fd = await open(path4, "r");
2085
+ await fd.close();
2086
+ broadcastErr(error);
2087
+ } catch (err) {
2088
+ }
2089
+ } else {
2090
+ broadcastErr(error);
2091
+ }
2092
+ });
2093
+ cont = {
2094
+ listeners: listener,
2095
+ errHandlers: errHandler,
2096
+ rawEmitters: rawEmitter,
2097
+ watcher
2098
+ };
2099
+ FsWatchInstances.set(fullPath, cont);
2100
+ }
2101
+ return () => {
2102
+ delFromSet(cont, KEY_LISTENERS, listener);
2103
+ delFromSet(cont, KEY_ERR, errHandler);
2104
+ delFromSet(cont, KEY_RAW, rawEmitter);
2105
+ if (isEmptySet(cont.listeners)) {
2106
+ cont.watcher.close();
2107
+ FsWatchInstances.delete(fullPath);
2108
+ HANDLER_KEYS.forEach(clearItem(cont));
2109
+ cont.watcher = void 0;
2110
+ Object.freeze(cont);
2111
+ }
2112
+ };
2113
+ };
2114
+ var FsWatchFileInstances = /* @__PURE__ */ new Map();
2115
+ var setFsWatchFileListener = (path4, fullPath, options, handlers) => {
2116
+ const { listener, rawEmitter } = handlers;
2117
+ let cont = FsWatchFileInstances.get(fullPath);
2118
+ const copts = cont && cont.options;
2119
+ if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
2120
+ unwatchFile(fullPath);
2121
+ cont = void 0;
2122
+ }
2123
+ if (cont) {
2124
+ addAndConvert(cont, KEY_LISTENERS, listener);
2125
+ addAndConvert(cont, KEY_RAW, rawEmitter);
2126
+ } else {
2127
+ cont = {
2128
+ listeners: listener,
2129
+ rawEmitters: rawEmitter,
2130
+ options,
2131
+ watcher: watchFile(fullPath, options, (curr, prev) => {
2132
+ foreach(cont.rawEmitters, (rawEmitter2) => {
2133
+ rawEmitter2(EV.CHANGE, fullPath, { curr, prev });
2134
+ });
2135
+ const currmtime = curr.mtimeMs;
2136
+ if (curr.size !== prev.size || currmtime > prev.mtimeMs || currmtime === 0) {
2137
+ foreach(cont.listeners, (listener2) => listener2(path4, curr));
2138
+ }
2139
+ })
2140
+ };
2141
+ FsWatchFileInstances.set(fullPath, cont);
2142
+ }
2143
+ return () => {
2144
+ delFromSet(cont, KEY_LISTENERS, listener);
2145
+ delFromSet(cont, KEY_RAW, rawEmitter);
2146
+ if (isEmptySet(cont.listeners)) {
2147
+ FsWatchFileInstances.delete(fullPath);
2148
+ unwatchFile(fullPath);
2149
+ cont.options = cont.watcher = void 0;
2150
+ Object.freeze(cont);
2151
+ }
2152
+ };
2153
+ };
2154
+ var NodeFsHandler = class {
2155
+ constructor(fsW) {
2156
+ this.fsw = fsW;
2157
+ this._boundHandleError = (error) => fsW._handleError(error);
2158
+ }
2159
+ /**
2160
+ * Watch file for changes with fs_watchFile or fs_watch.
2161
+ * @param path to file or dir
2162
+ * @param listener on fs change
2163
+ * @returns closer for the watcher instance
2164
+ */
2165
+ _watchWithNodeFs(path4, listener) {
2166
+ const opts = this.fsw.options;
2167
+ const directory = sysPath.dirname(path4);
2168
+ const basename3 = sysPath.basename(path4);
2169
+ const parent = this.fsw._getWatchedDir(directory);
2170
+ parent.add(basename3);
2171
+ const absolutePath = sysPath.resolve(path4);
2172
+ const options = {
2173
+ persistent: opts.persistent
2174
+ };
2175
+ if (!listener)
2176
+ listener = EMPTY_FN;
2177
+ let closer;
2178
+ if (opts.usePolling) {
2179
+ const enableBin = opts.interval !== opts.binaryInterval;
2180
+ options.interval = enableBin && isBinaryPath(basename3) ? opts.binaryInterval : opts.interval;
2181
+ closer = setFsWatchFileListener(path4, absolutePath, options, {
2182
+ listener,
2183
+ rawEmitter: this.fsw._emitRaw
2184
+ });
2185
+ } else {
2186
+ closer = setFsWatchListener(path4, absolutePath, options, {
2187
+ listener,
2188
+ errHandler: this._boundHandleError,
2189
+ rawEmitter: this.fsw._emitRaw
2190
+ });
2191
+ }
2192
+ return closer;
2193
+ }
2194
+ /**
2195
+ * Watch a file and emit add event if warranted.
2196
+ * @returns closer for the watcher instance
2197
+ */
2198
+ _handleFile(file, stats, initialAdd) {
2199
+ if (this.fsw.closed) {
2200
+ return;
2201
+ }
2202
+ const dirname3 = sysPath.dirname(file);
2203
+ const basename3 = sysPath.basename(file);
2204
+ const parent = this.fsw._getWatchedDir(dirname3);
2205
+ let prevStats = stats;
2206
+ if (parent.has(basename3))
2207
+ return;
2208
+ const listener = async (path4, newStats) => {
2209
+ if (!this.fsw._throttle(THROTTLE_MODE_WATCH, file, 5))
2210
+ return;
2211
+ if (!newStats || newStats.mtimeMs === 0) {
2212
+ try {
2213
+ const newStats2 = await stat2(file);
2214
+ if (this.fsw.closed)
2215
+ return;
2216
+ const at = newStats2.atimeMs;
2217
+ const mt = newStats2.mtimeMs;
2218
+ if (!at || at <= mt || mt !== prevStats.mtimeMs) {
2219
+ this.fsw._emit(EV.CHANGE, file, newStats2);
2220
+ }
2221
+ if ((isMacos || isLinux || isFreeBSD) && prevStats.ino !== newStats2.ino) {
2222
+ this.fsw._closeFile(path4);
2223
+ prevStats = newStats2;
2224
+ const closer2 = this._watchWithNodeFs(file, listener);
2225
+ if (closer2)
2226
+ this.fsw._addPathCloser(path4, closer2);
2227
+ } else {
2228
+ prevStats = newStats2;
2229
+ }
2230
+ } catch (error) {
2231
+ this.fsw._remove(dirname3, basename3);
2232
+ }
2233
+ } else if (parent.has(basename3)) {
2234
+ const at = newStats.atimeMs;
2235
+ const mt = newStats.mtimeMs;
2236
+ if (!at || at <= mt || mt !== prevStats.mtimeMs) {
2237
+ this.fsw._emit(EV.CHANGE, file, newStats);
2238
+ }
2239
+ prevStats = newStats;
2240
+ }
2241
+ };
2242
+ const closer = this._watchWithNodeFs(file, listener);
2243
+ if (!(initialAdd && this.fsw.options.ignoreInitial) && this.fsw._isntIgnored(file)) {
2244
+ if (!this.fsw._throttle(EV.ADD, file, 0))
2245
+ return;
2246
+ this.fsw._emit(EV.ADD, file, stats);
2247
+ }
2248
+ return closer;
2249
+ }
2250
+ /**
2251
+ * Handle symlinks encountered while reading a dir.
2252
+ * @param entry returned by readdirp
2253
+ * @param directory path of dir being read
2254
+ * @param path of this item
2255
+ * @param item basename of this item
2256
+ * @returns true if no more processing is needed for this entry.
2257
+ */
2258
+ async _handleSymlink(entry, directory, path4, item) {
2259
+ if (this.fsw.closed) {
2260
+ return;
2261
+ }
2262
+ const full = entry.fullPath;
2263
+ const dir = this.fsw._getWatchedDir(directory);
2264
+ if (!this.fsw.options.followSymlinks) {
2265
+ this.fsw._incrReadyCount();
2266
+ let linkPath;
2267
+ try {
2268
+ linkPath = await fsrealpath(path4);
2269
+ } catch (e) {
2270
+ this.fsw._emitReady();
2271
+ return true;
2272
+ }
2273
+ if (this.fsw.closed)
2274
+ return;
2275
+ if (dir.has(item)) {
2276
+ if (this.fsw._symlinkPaths.get(full) !== linkPath) {
2277
+ this.fsw._symlinkPaths.set(full, linkPath);
2278
+ this.fsw._emit(EV.CHANGE, path4, entry.stats);
2279
+ }
2280
+ } else {
2281
+ dir.add(item);
2282
+ this.fsw._symlinkPaths.set(full, linkPath);
2283
+ this.fsw._emit(EV.ADD, path4, entry.stats);
2284
+ }
2285
+ this.fsw._emitReady();
2286
+ return true;
2287
+ }
2288
+ if (this.fsw._symlinkPaths.has(full)) {
2289
+ return true;
2290
+ }
2291
+ this.fsw._symlinkPaths.set(full, true);
2292
+ }
2293
+ _handleRead(directory, initialAdd, wh, target, dir, depth, throttler) {
2294
+ directory = sysPath.join(directory, "");
2295
+ throttler = this.fsw._throttle("readdir", directory, 1e3);
2296
+ if (!throttler)
2297
+ return;
2298
+ const previous = this.fsw._getWatchedDir(wh.path);
2299
+ const current = /* @__PURE__ */ new Set();
2300
+ let stream = this.fsw._readdirp(directory, {
2301
+ fileFilter: (entry) => wh.filterPath(entry),
2302
+ directoryFilter: (entry) => wh.filterDir(entry)
2303
+ });
2304
+ if (!stream)
2305
+ return;
2306
+ stream.on(STR_DATA, async (entry) => {
2307
+ if (this.fsw.closed) {
2308
+ stream = void 0;
2309
+ return;
2310
+ }
2311
+ const item = entry.path;
2312
+ let path4 = sysPath.join(directory, item);
2313
+ current.add(item);
2314
+ if (entry.stats.isSymbolicLink() && await this._handleSymlink(entry, directory, path4, item)) {
2315
+ return;
2316
+ }
2317
+ if (this.fsw.closed) {
2318
+ stream = void 0;
2319
+ return;
2320
+ }
2321
+ if (item === target || !target && !previous.has(item)) {
2322
+ this.fsw._incrReadyCount();
2323
+ path4 = sysPath.join(dir, sysPath.relative(dir, path4));
2324
+ this._addToNodeFs(path4, initialAdd, wh, depth + 1);
2325
+ }
2326
+ }).on(EV.ERROR, this._boundHandleError);
2327
+ return new Promise((resolve3, reject) => {
2328
+ if (!stream)
2329
+ return reject();
2330
+ stream.once(STR_END, () => {
2331
+ if (this.fsw.closed) {
2332
+ stream = void 0;
2333
+ return;
2334
+ }
2335
+ const wasThrottled = throttler ? throttler.clear() : false;
2336
+ resolve3(void 0);
2337
+ previous.getChildren().filter((item) => {
2338
+ return item !== directory && !current.has(item);
2339
+ }).forEach((item) => {
2340
+ this.fsw._remove(directory, item);
2341
+ });
2342
+ stream = void 0;
2343
+ if (wasThrottled)
2344
+ this._handleRead(directory, false, wh, target, dir, depth, throttler);
2345
+ });
2346
+ });
2347
+ }
2348
+ /**
2349
+ * Read directory to add / remove files from `@watched` list and re-read it on change.
2350
+ * @param dir fs path
2351
+ * @param stats
2352
+ * @param initialAdd
2353
+ * @param depth relative to user-supplied path
2354
+ * @param target child path targeted for watch
2355
+ * @param wh Common watch helpers for this path
2356
+ * @param realpath
2357
+ * @returns closer for the watcher instance.
2358
+ */
2359
+ async _handleDir(dir, stats, initialAdd, depth, target, wh, realpath2) {
2360
+ const parentDir = this.fsw._getWatchedDir(sysPath.dirname(dir));
2361
+ const tracked = parentDir.has(sysPath.basename(dir));
2362
+ if (!(initialAdd && this.fsw.options.ignoreInitial) && !target && !tracked) {
2363
+ this.fsw._emit(EV.ADD_DIR, dir, stats);
2364
+ }
2365
+ parentDir.add(sysPath.basename(dir));
2366
+ this.fsw._getWatchedDir(dir);
2367
+ let throttler;
2368
+ let closer;
2369
+ const oDepth = this.fsw.options.depth;
2370
+ if ((oDepth == null || depth <= oDepth) && !this.fsw._symlinkPaths.has(realpath2)) {
2371
+ if (!target) {
2372
+ await this._handleRead(dir, initialAdd, wh, target, dir, depth, throttler);
2373
+ if (this.fsw.closed)
2374
+ return;
2375
+ }
2376
+ closer = this._watchWithNodeFs(dir, (dirPath, stats2) => {
2377
+ if (stats2 && stats2.mtimeMs === 0)
2378
+ return;
2379
+ this._handleRead(dirPath, false, wh, target, dir, depth, throttler);
2380
+ });
2381
+ }
2382
+ return closer;
2383
+ }
2384
+ /**
2385
+ * Handle added file, directory, or glob pattern.
2386
+ * Delegates call to _handleFile / _handleDir after checks.
2387
+ * @param path to file or ir
2388
+ * @param initialAdd was the file added at watch instantiation?
2389
+ * @param priorWh depth relative to user-supplied path
2390
+ * @param depth Child path actually targeted for watch
2391
+ * @param target Child path actually targeted for watch
2392
+ */
2393
+ async _addToNodeFs(path4, initialAdd, priorWh, depth, target) {
2394
+ const ready = this.fsw._emitReady;
2395
+ if (this.fsw._isIgnored(path4) || this.fsw.closed) {
2396
+ ready();
2397
+ return false;
2398
+ }
2399
+ const wh = this.fsw._getWatchHelpers(path4);
2400
+ if (priorWh) {
2401
+ wh.filterPath = (entry) => priorWh.filterPath(entry);
2402
+ wh.filterDir = (entry) => priorWh.filterDir(entry);
2403
+ }
2404
+ try {
2405
+ const stats = await statMethods[wh.statMethod](wh.watchPath);
2406
+ if (this.fsw.closed)
2407
+ return;
2408
+ if (this.fsw._isIgnored(wh.watchPath, stats)) {
2409
+ ready();
2410
+ return false;
2411
+ }
2412
+ const follow = this.fsw.options.followSymlinks;
2413
+ let closer;
2414
+ if (stats.isDirectory()) {
2415
+ const absPath = sysPath.resolve(path4);
2416
+ const targetPath = follow ? await fsrealpath(path4) : path4;
2417
+ if (this.fsw.closed)
2418
+ return;
2419
+ closer = await this._handleDir(wh.watchPath, stats, initialAdd, depth, target, wh, targetPath);
2420
+ if (this.fsw.closed)
2421
+ return;
2422
+ if (absPath !== targetPath && targetPath !== void 0) {
2423
+ this.fsw._symlinkPaths.set(absPath, targetPath);
2424
+ }
2425
+ } else if (stats.isSymbolicLink()) {
2426
+ const targetPath = follow ? await fsrealpath(path4) : path4;
2427
+ if (this.fsw.closed)
2428
+ return;
2429
+ const parent = sysPath.dirname(wh.watchPath);
2430
+ this.fsw._getWatchedDir(parent).add(wh.watchPath);
2431
+ this.fsw._emit(EV.ADD, wh.watchPath, stats);
2432
+ closer = await this._handleDir(parent, stats, initialAdd, depth, path4, wh, targetPath);
2433
+ if (this.fsw.closed)
2434
+ return;
2435
+ if (targetPath !== void 0) {
2436
+ this.fsw._symlinkPaths.set(sysPath.resolve(path4), targetPath);
2437
+ }
2438
+ } else {
2439
+ closer = this._handleFile(wh.watchPath, stats, initialAdd);
2440
+ }
2441
+ ready();
2442
+ if (closer)
2443
+ this.fsw._addPathCloser(path4, closer);
2444
+ return false;
2445
+ } catch (error) {
2446
+ if (this.fsw._handleError(error)) {
2447
+ ready();
2448
+ return path4;
2449
+ }
2450
+ }
2451
+ }
2452
+ };
2453
+
2454
+ // ../../node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/index.js
2455
+ var SLASH = "/";
2456
+ var SLASH_SLASH = "//";
2457
+ var ONE_DOT = ".";
2458
+ var TWO_DOTS = "..";
2459
+ var STRING_TYPE = "string";
2460
+ var BACK_SLASH_RE = /\\/g;
2461
+ var DOUBLE_SLASH_RE = /\/\//;
2462
+ var DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
2463
+ var REPLACER_RE = /^\.[/\\]/;
2464
+ function arrify(item) {
2465
+ return Array.isArray(item) ? item : [item];
2466
+ }
2467
+ var isMatcherObject = (matcher) => typeof matcher === "object" && matcher !== null && !(matcher instanceof RegExp);
2468
+ function createPattern(matcher) {
2469
+ if (typeof matcher === "function")
2470
+ return matcher;
2471
+ if (typeof matcher === "string")
2472
+ return (string) => matcher === string;
2473
+ if (matcher instanceof RegExp)
2474
+ return (string) => matcher.test(string);
2475
+ if (typeof matcher === "object" && matcher !== null) {
2476
+ return (string) => {
2477
+ if (matcher.path === string)
2478
+ return true;
2479
+ if (matcher.recursive) {
2480
+ const relative3 = sysPath2.relative(matcher.path, string);
2481
+ if (!relative3) {
2482
+ return false;
2483
+ }
2484
+ return !relative3.startsWith("..") && !sysPath2.isAbsolute(relative3);
2485
+ }
2486
+ return false;
2487
+ };
2488
+ }
2489
+ return () => false;
2490
+ }
2491
+ function normalizePath(path4) {
2492
+ if (typeof path4 !== "string")
2493
+ throw new Error("string expected");
2494
+ path4 = sysPath2.normalize(path4);
2495
+ path4 = path4.replace(/\\/g, "/");
2496
+ let prepend = false;
2497
+ if (path4.startsWith("//"))
2498
+ prepend = true;
2499
+ const DOUBLE_SLASH_RE2 = /\/\//;
2500
+ while (path4.match(DOUBLE_SLASH_RE2))
2501
+ path4 = path4.replace(DOUBLE_SLASH_RE2, "/");
2502
+ if (prepend)
2503
+ path4 = "/" + path4;
2504
+ return path4;
2505
+ }
2506
+ function matchPatterns(patterns, testString, stats) {
2507
+ const path4 = normalizePath(testString);
2508
+ for (let index = 0; index < patterns.length; index++) {
2509
+ const pattern = patterns[index];
2510
+ if (pattern(path4, stats)) {
2511
+ return true;
2512
+ }
2513
+ }
2514
+ return false;
2515
+ }
2516
+ function anymatch(matchers, testString) {
2517
+ if (matchers == null) {
2518
+ throw new TypeError("anymatch: specify first argument");
2519
+ }
2520
+ const matchersArray = arrify(matchers);
2521
+ const patterns = matchersArray.map((matcher) => createPattern(matcher));
2522
+ if (testString == null) {
2523
+ return (testString2, stats) => {
2524
+ return matchPatterns(patterns, testString2, stats);
2525
+ };
2526
+ }
2527
+ return matchPatterns(patterns, testString);
2528
+ }
2529
+ var unifyPaths = (paths_) => {
2530
+ const paths = arrify(paths_).flat();
2531
+ if (!paths.every((p) => typeof p === STRING_TYPE)) {
2532
+ throw new TypeError(`Non-string provided as watch path: ${paths}`);
2533
+ }
2534
+ return paths.map(normalizePathToUnix);
2535
+ };
2536
+ var toUnix = (string) => {
2537
+ let str = string.replace(BACK_SLASH_RE, SLASH);
2538
+ let prepend = false;
2539
+ if (str.startsWith(SLASH_SLASH)) {
2540
+ prepend = true;
2541
+ }
2542
+ while (str.match(DOUBLE_SLASH_RE)) {
2543
+ str = str.replace(DOUBLE_SLASH_RE, SLASH);
2544
+ }
2545
+ if (prepend) {
2546
+ str = SLASH + str;
2547
+ }
2548
+ return str;
2549
+ };
2550
+ var normalizePathToUnix = (path4) => toUnix(sysPath2.normalize(toUnix(path4)));
2551
+ var normalizeIgnored = (cwd = "") => (path4) => {
2552
+ if (typeof path4 === "string") {
2553
+ return normalizePathToUnix(sysPath2.isAbsolute(path4) ? path4 : sysPath2.join(cwd, path4));
2554
+ } else {
2555
+ return path4;
2556
+ }
2557
+ };
2558
+ var getAbsolutePath = (path4, cwd) => {
2559
+ if (sysPath2.isAbsolute(path4)) {
2560
+ return path4;
2561
+ }
2562
+ return sysPath2.join(cwd, path4);
2563
+ };
2564
+ var EMPTY_SET = Object.freeze(/* @__PURE__ */ new Set());
2565
+ var DirEntry = class {
2566
+ constructor(dir, removeWatcher) {
2567
+ this.path = dir;
2568
+ this._removeWatcher = removeWatcher;
2569
+ this.items = /* @__PURE__ */ new Set();
2570
+ }
2571
+ add(item) {
2572
+ const { items } = this;
2573
+ if (!items)
2574
+ return;
2575
+ if (item !== ONE_DOT && item !== TWO_DOTS)
2576
+ items.add(item);
2577
+ }
2578
+ async remove(item) {
2579
+ const { items } = this;
2580
+ if (!items)
2581
+ return;
2582
+ items.delete(item);
2583
+ if (items.size > 0)
2584
+ return;
2585
+ const dir = this.path;
2586
+ try {
2587
+ await readdir2(dir);
2588
+ } catch (err) {
2589
+ if (this._removeWatcher) {
2590
+ this._removeWatcher(sysPath2.dirname(dir), sysPath2.basename(dir));
2591
+ }
2592
+ }
2593
+ }
2594
+ has(item) {
2595
+ const { items } = this;
2596
+ if (!items)
2597
+ return;
2598
+ return items.has(item);
2599
+ }
2600
+ getChildren() {
2601
+ const { items } = this;
2602
+ if (!items)
2603
+ return [];
2604
+ return [...items.values()];
2605
+ }
2606
+ dispose() {
2607
+ this.items.clear();
2608
+ this.path = "";
2609
+ this._removeWatcher = EMPTY_FN;
2610
+ this.items = EMPTY_SET;
2611
+ Object.freeze(this);
2612
+ }
2613
+ };
2614
+ var STAT_METHOD_F = "stat";
2615
+ var STAT_METHOD_L = "lstat";
2616
+ var WatchHelper = class {
2617
+ constructor(path4, follow, fsw) {
2618
+ this.fsw = fsw;
2619
+ const watchPath = path4;
2620
+ this.path = path4 = path4.replace(REPLACER_RE, "");
2621
+ this.watchPath = watchPath;
2622
+ this.fullWatchPath = sysPath2.resolve(watchPath);
2623
+ this.dirParts = [];
2624
+ this.dirParts.forEach((parts) => {
2625
+ if (parts.length > 1)
2626
+ parts.pop();
2627
+ });
2628
+ this.followSymlinks = follow;
2629
+ this.statMethod = follow ? STAT_METHOD_F : STAT_METHOD_L;
2630
+ }
2631
+ entryPath(entry) {
2632
+ return sysPath2.join(this.watchPath, sysPath2.relative(this.watchPath, entry.fullPath));
2633
+ }
2634
+ filterPath(entry) {
2635
+ const { stats } = entry;
2636
+ if (stats && stats.isSymbolicLink())
2637
+ return this.filterDir(entry);
2638
+ const resolvedPath = this.entryPath(entry);
2639
+ return this.fsw._isntIgnored(resolvedPath, stats) && this.fsw._hasReadPermissions(stats);
2640
+ }
2641
+ filterDir(entry) {
2642
+ return this.fsw._isntIgnored(this.entryPath(entry), entry.stats);
2643
+ }
2644
+ };
2645
+ var FSWatcher = class extends EventEmitter {
2646
+ // Not indenting methods for history sake; for now.
2647
+ constructor(_opts = {}) {
2648
+ super();
2649
+ this.closed = false;
2650
+ this._closers = /* @__PURE__ */ new Map();
2651
+ this._ignoredPaths = /* @__PURE__ */ new Set();
2652
+ this._throttled = /* @__PURE__ */ new Map();
2653
+ this._streams = /* @__PURE__ */ new Set();
2654
+ this._symlinkPaths = /* @__PURE__ */ new Map();
2655
+ this._watched = /* @__PURE__ */ new Map();
2656
+ this._pendingWrites = /* @__PURE__ */ new Map();
2657
+ this._pendingUnlinks = /* @__PURE__ */ new Map();
2658
+ this._readyCount = 0;
2659
+ this._readyEmitted = false;
2660
+ const awf = _opts.awaitWriteFinish;
2661
+ const DEF_AWF = { stabilityThreshold: 2e3, pollInterval: 100 };
2662
+ const opts = {
2663
+ // Defaults
2664
+ persistent: true,
2665
+ ignoreInitial: false,
2666
+ ignorePermissionErrors: false,
2667
+ interval: 100,
2668
+ binaryInterval: 300,
2669
+ followSymlinks: true,
2670
+ usePolling: false,
2671
+ // useAsync: false,
2672
+ atomic: true,
2673
+ // NOTE: overwritten later (depends on usePolling)
2674
+ ..._opts,
2675
+ // Change format
2676
+ ignored: _opts.ignored ? arrify(_opts.ignored) : arrify([]),
2677
+ awaitWriteFinish: awf === true ? DEF_AWF : typeof awf === "object" ? { ...DEF_AWF, ...awf } : false
2678
+ };
2679
+ if (isIBMi)
2680
+ opts.usePolling = true;
2681
+ if (opts.atomic === void 0)
2682
+ opts.atomic = !opts.usePolling;
2683
+ const envPoll = process.env.CHOKIDAR_USEPOLLING;
2684
+ if (envPoll !== void 0) {
2685
+ const envLower = envPoll.toLowerCase();
2686
+ if (envLower === "false" || envLower === "0")
2687
+ opts.usePolling = false;
2688
+ else if (envLower === "true" || envLower === "1")
2689
+ opts.usePolling = true;
2690
+ else
2691
+ opts.usePolling = !!envLower;
2692
+ }
2693
+ const envInterval = process.env.CHOKIDAR_INTERVAL;
2694
+ if (envInterval)
2695
+ opts.interval = Number.parseInt(envInterval, 10);
2696
+ let readyCalls = 0;
2697
+ this._emitReady = () => {
2698
+ readyCalls++;
2699
+ if (readyCalls >= this._readyCount) {
2700
+ this._emitReady = EMPTY_FN;
2701
+ this._readyEmitted = true;
2702
+ process.nextTick(() => this.emit(EVENTS.READY));
2703
+ }
2704
+ };
2705
+ this._emitRaw = (...args) => this.emit(EVENTS.RAW, ...args);
2706
+ this._boundRemove = this._remove.bind(this);
2707
+ this.options = opts;
2708
+ this._nodeFsHandler = new NodeFsHandler(this);
2709
+ Object.freeze(opts);
2710
+ }
2711
+ _addIgnoredPath(matcher) {
2712
+ if (isMatcherObject(matcher)) {
2713
+ for (const ignored of this._ignoredPaths) {
2714
+ if (isMatcherObject(ignored) && ignored.path === matcher.path && ignored.recursive === matcher.recursive) {
2715
+ return;
2716
+ }
2717
+ }
2718
+ }
2719
+ this._ignoredPaths.add(matcher);
2720
+ }
2721
+ _removeIgnoredPath(matcher) {
2722
+ this._ignoredPaths.delete(matcher);
2723
+ if (typeof matcher === "string") {
2724
+ for (const ignored of this._ignoredPaths) {
2725
+ if (isMatcherObject(ignored) && ignored.path === matcher) {
2726
+ this._ignoredPaths.delete(ignored);
2727
+ }
2728
+ }
2729
+ }
2730
+ }
2731
+ // Public methods
2732
+ /**
2733
+ * Adds paths to be watched on an existing FSWatcher instance.
2734
+ * @param paths_ file or file list. Other arguments are unused
2735
+ */
2736
+ add(paths_, _origAdd, _internal) {
2737
+ const { cwd } = this.options;
2738
+ this.closed = false;
2739
+ this._closePromise = void 0;
2740
+ let paths = unifyPaths(paths_);
2741
+ if (cwd) {
2742
+ paths = paths.map((path4) => {
2743
+ const absPath = getAbsolutePath(path4, cwd);
2744
+ return absPath;
2745
+ });
2746
+ }
2747
+ paths.forEach((path4) => {
2748
+ this._removeIgnoredPath(path4);
2749
+ });
2750
+ this._userIgnored = void 0;
2751
+ if (!this._readyCount)
2752
+ this._readyCount = 0;
2753
+ this._readyCount += paths.length;
2754
+ Promise.all(paths.map(async (path4) => {
2755
+ const res = await this._nodeFsHandler._addToNodeFs(path4, !_internal, void 0, 0, _origAdd);
2756
+ if (res)
2757
+ this._emitReady();
2758
+ return res;
2759
+ })).then((results) => {
2760
+ if (this.closed)
2761
+ return;
2762
+ results.forEach((item) => {
2763
+ if (item)
2764
+ this.add(sysPath2.dirname(item), sysPath2.basename(_origAdd || item));
2765
+ });
2766
+ });
2767
+ return this;
2768
+ }
2769
+ /**
2770
+ * Close watchers or start ignoring events from specified paths.
2771
+ */
2772
+ unwatch(paths_) {
2773
+ if (this.closed)
2774
+ return this;
2775
+ const paths = unifyPaths(paths_);
2776
+ const { cwd } = this.options;
2777
+ paths.forEach((path4) => {
2778
+ if (!sysPath2.isAbsolute(path4) && !this._closers.has(path4)) {
2779
+ if (cwd)
2780
+ path4 = sysPath2.join(cwd, path4);
2781
+ path4 = sysPath2.resolve(path4);
2782
+ }
2783
+ this._closePath(path4);
2784
+ this._addIgnoredPath(path4);
2785
+ if (this._watched.has(path4)) {
2786
+ this._addIgnoredPath({
2787
+ path: path4,
2788
+ recursive: true
2789
+ });
2790
+ }
2791
+ this._userIgnored = void 0;
2792
+ });
2793
+ return this;
2794
+ }
2795
+ /**
2796
+ * Close watchers and remove all listeners from watched paths.
2797
+ */
2798
+ close() {
2799
+ if (this._closePromise) {
2800
+ return this._closePromise;
2801
+ }
2802
+ this.closed = true;
2803
+ this.removeAllListeners();
2804
+ const closers = [];
2805
+ this._closers.forEach((closerList) => closerList.forEach((closer) => {
2806
+ const promise = closer();
2807
+ if (promise instanceof Promise)
2808
+ closers.push(promise);
2809
+ }));
2810
+ this._streams.forEach((stream) => stream.destroy());
2811
+ this._userIgnored = void 0;
2812
+ this._readyCount = 0;
2813
+ this._readyEmitted = false;
2814
+ this._watched.forEach((dirent) => dirent.dispose());
2815
+ this._closers.clear();
2816
+ this._watched.clear();
2817
+ this._streams.clear();
2818
+ this._symlinkPaths.clear();
2819
+ this._throttled.clear();
2820
+ this._closePromise = closers.length ? Promise.all(closers).then(() => void 0) : Promise.resolve();
2821
+ return this._closePromise;
2822
+ }
2823
+ /**
2824
+ * Expose list of watched paths
2825
+ * @returns for chaining
2826
+ */
2827
+ getWatched() {
2828
+ const watchList = {};
2829
+ this._watched.forEach((entry, dir) => {
2830
+ const key = this.options.cwd ? sysPath2.relative(this.options.cwd, dir) : dir;
2831
+ const index = key || ONE_DOT;
2832
+ watchList[index] = entry.getChildren().sort();
2833
+ });
2834
+ return watchList;
2835
+ }
2836
+ emitWithAll(event, args) {
2837
+ this.emit(event, ...args);
2838
+ if (event !== EVENTS.ERROR)
2839
+ this.emit(EVENTS.ALL, event, ...args);
2840
+ }
2841
+ // Common helpers
2842
+ // --------------
2843
+ /**
2844
+ * Normalize and emit events.
2845
+ * Calling _emit DOES NOT MEAN emit() would be called!
2846
+ * @param event Type of event
2847
+ * @param path File or directory path
2848
+ * @param stats arguments to be passed with event
2849
+ * @returns the error if defined, otherwise the value of the FSWatcher instance's `closed` flag
2850
+ */
2851
+ async _emit(event, path4, stats) {
2852
+ if (this.closed)
2853
+ return;
2854
+ const opts = this.options;
2855
+ if (isWindows)
2856
+ path4 = sysPath2.normalize(path4);
2857
+ if (opts.cwd)
2858
+ path4 = sysPath2.relative(opts.cwd, path4);
2859
+ const args = [path4];
2860
+ if (stats != null)
2861
+ args.push(stats);
2862
+ const awf = opts.awaitWriteFinish;
2863
+ let pw;
2864
+ if (awf && (pw = this._pendingWrites.get(path4))) {
2865
+ pw.lastChange = /* @__PURE__ */ new Date();
2866
+ return this;
2867
+ }
2868
+ if (opts.atomic) {
2869
+ if (event === EVENTS.UNLINK) {
2870
+ this._pendingUnlinks.set(path4, [event, ...args]);
2871
+ setTimeout(() => {
2872
+ this._pendingUnlinks.forEach((entry, path5) => {
2873
+ this.emit(...entry);
2874
+ this.emit(EVENTS.ALL, ...entry);
2875
+ this._pendingUnlinks.delete(path5);
2876
+ });
2877
+ }, typeof opts.atomic === "number" ? opts.atomic : 100);
2878
+ return this;
2879
+ }
2880
+ if (event === EVENTS.ADD && this._pendingUnlinks.has(path4)) {
2881
+ event = EVENTS.CHANGE;
2882
+ this._pendingUnlinks.delete(path4);
2883
+ }
2884
+ }
2885
+ if (awf && (event === EVENTS.ADD || event === EVENTS.CHANGE) && this._readyEmitted) {
2886
+ const awfEmit = (err, stats2) => {
2887
+ if (err) {
2888
+ event = EVENTS.ERROR;
2889
+ args[0] = err;
2890
+ this.emitWithAll(event, args);
2891
+ } else if (stats2) {
2892
+ if (args.length > 1) {
2893
+ args[1] = stats2;
2894
+ } else {
2895
+ args.push(stats2);
2896
+ }
2897
+ this.emitWithAll(event, args);
2898
+ }
2899
+ };
2900
+ this._awaitWriteFinish(path4, awf.stabilityThreshold, event, awfEmit);
2901
+ return this;
2902
+ }
2903
+ if (event === EVENTS.CHANGE) {
2904
+ const isThrottled = !this._throttle(EVENTS.CHANGE, path4, 50);
2905
+ if (isThrottled)
2906
+ return this;
2907
+ }
2908
+ if (opts.alwaysStat && stats === void 0 && (event === EVENTS.ADD || event === EVENTS.ADD_DIR || event === EVENTS.CHANGE)) {
2909
+ const fullPath = opts.cwd ? sysPath2.join(opts.cwd, path4) : path4;
2910
+ let stats2;
2911
+ try {
2912
+ stats2 = await stat3(fullPath);
2913
+ } catch (err) {
2914
+ }
2915
+ if (!stats2 || this.closed)
2916
+ return;
2917
+ args.push(stats2);
2918
+ }
2919
+ this.emitWithAll(event, args);
2920
+ return this;
2921
+ }
2922
+ /**
2923
+ * Common handler for errors
2924
+ * @returns The error if defined, otherwise the value of the FSWatcher instance's `closed` flag
2925
+ */
2926
+ _handleError(error) {
2927
+ const code = error && error.code;
2928
+ if (error && code !== "ENOENT" && code !== "ENOTDIR" && (!this.options.ignorePermissionErrors || code !== "EPERM" && code !== "EACCES")) {
2929
+ this.emit(EVENTS.ERROR, error);
2930
+ }
2931
+ return error || this.closed;
2932
+ }
2933
+ /**
2934
+ * Helper utility for throttling
2935
+ * @param actionType type being throttled
2936
+ * @param path being acted upon
2937
+ * @param timeout duration of time to suppress duplicate actions
2938
+ * @returns tracking object or false if action should be suppressed
2939
+ */
2940
+ _throttle(actionType, path4, timeout) {
2941
+ if (!this._throttled.has(actionType)) {
2942
+ this._throttled.set(actionType, /* @__PURE__ */ new Map());
2943
+ }
2944
+ const action = this._throttled.get(actionType);
2945
+ if (!action)
2946
+ throw new Error("invalid throttle");
2947
+ const actionPath = action.get(path4);
2948
+ if (actionPath) {
2949
+ actionPath.count++;
2950
+ return false;
2951
+ }
2952
+ let timeoutObject;
2953
+ const clear = () => {
2954
+ const item = action.get(path4);
2955
+ const count = item ? item.count : 0;
2956
+ action.delete(path4);
2957
+ clearTimeout(timeoutObject);
2958
+ if (item)
2959
+ clearTimeout(item.timeoutObject);
2960
+ return count;
2961
+ };
2962
+ timeoutObject = setTimeout(clear, timeout);
2963
+ const thr = { timeoutObject, clear, count: 0 };
2964
+ action.set(path4, thr);
2965
+ return thr;
2966
+ }
2967
+ _incrReadyCount() {
2968
+ return this._readyCount++;
2969
+ }
2970
+ /**
2971
+ * Awaits write operation to finish.
2972
+ * Polls a newly created file for size variations. When files size does not change for 'threshold' milliseconds calls callback.
2973
+ * @param path being acted upon
2974
+ * @param threshold Time in milliseconds a file size must be fixed before acknowledging write OP is finished
2975
+ * @param event
2976
+ * @param awfEmit Callback to be called when ready for event to be emitted.
2977
+ */
2978
+ _awaitWriteFinish(path4, threshold, event, awfEmit) {
2979
+ const awf = this.options.awaitWriteFinish;
2980
+ if (typeof awf !== "object")
2981
+ return;
2982
+ const pollInterval = awf.pollInterval;
2983
+ let timeoutHandler;
2984
+ let fullPath = path4;
2985
+ if (this.options.cwd && !sysPath2.isAbsolute(path4)) {
2986
+ fullPath = sysPath2.join(this.options.cwd, path4);
2987
+ }
2988
+ const now = /* @__PURE__ */ new Date();
2989
+ const writes = this._pendingWrites;
2990
+ function awaitWriteFinishFn(prevStat) {
2991
+ statcb(fullPath, (err, curStat) => {
2992
+ if (err || !writes.has(path4)) {
2993
+ if (err && err.code !== "ENOENT")
2994
+ awfEmit(err);
2995
+ return;
2996
+ }
2997
+ const now2 = Number(/* @__PURE__ */ new Date());
2998
+ if (prevStat && curStat.size !== prevStat.size) {
2999
+ writes.get(path4).lastChange = now2;
3000
+ }
3001
+ const pw = writes.get(path4);
3002
+ const df = now2 - pw.lastChange;
3003
+ if (df >= threshold) {
3004
+ writes.delete(path4);
3005
+ awfEmit(void 0, curStat);
3006
+ } else {
3007
+ timeoutHandler = setTimeout(awaitWriteFinishFn, pollInterval, curStat);
3008
+ }
3009
+ });
3010
+ }
3011
+ if (!writes.has(path4)) {
3012
+ writes.set(path4, {
3013
+ lastChange: now,
3014
+ cancelWait: () => {
3015
+ writes.delete(path4);
3016
+ clearTimeout(timeoutHandler);
3017
+ return event;
3018
+ }
3019
+ });
3020
+ timeoutHandler = setTimeout(awaitWriteFinishFn, pollInterval);
3021
+ }
3022
+ }
3023
+ /**
3024
+ * Determines whether user has asked to ignore this path.
3025
+ */
3026
+ _isIgnored(path4, stats) {
3027
+ if (this.options.atomic && DOT_RE.test(path4))
3028
+ return true;
3029
+ if (!this._userIgnored) {
3030
+ const { cwd } = this.options;
3031
+ const ign = this.options.ignored;
3032
+ const ignored = (ign || []).map(normalizeIgnored(cwd));
3033
+ const ignoredPaths = [...this._ignoredPaths];
3034
+ const list = [...ignoredPaths.map(normalizeIgnored(cwd)), ...ignored];
3035
+ this._userIgnored = anymatch(list, void 0);
3036
+ }
3037
+ return this._userIgnored(path4, stats);
3038
+ }
3039
+ _isntIgnored(path4, stat4) {
3040
+ return !this._isIgnored(path4, stat4);
3041
+ }
3042
+ /**
3043
+ * Provides a set of common helpers and properties relating to symlink handling.
3044
+ * @param path file or directory pattern being watched
3045
+ */
3046
+ _getWatchHelpers(path4) {
3047
+ return new WatchHelper(path4, this.options.followSymlinks, this);
3048
+ }
3049
+ // Directory helpers
3050
+ // -----------------
3051
+ /**
3052
+ * Provides directory tracking objects
3053
+ * @param directory path of the directory
3054
+ */
3055
+ _getWatchedDir(directory) {
3056
+ const dir = sysPath2.resolve(directory);
3057
+ if (!this._watched.has(dir))
3058
+ this._watched.set(dir, new DirEntry(dir, this._boundRemove));
3059
+ return this._watched.get(dir);
3060
+ }
3061
+ // File helpers
3062
+ // ------------
3063
+ /**
3064
+ * Check for read permissions: https://stackoverflow.com/a/11781404/1358405
3065
+ */
3066
+ _hasReadPermissions(stats) {
3067
+ if (this.options.ignorePermissionErrors)
3068
+ return true;
3069
+ return Boolean(Number(stats.mode) & 256);
3070
+ }
3071
+ /**
3072
+ * Handles emitting unlink events for
3073
+ * files and directories, and via recursion, for
3074
+ * files and directories within directories that are unlinked
3075
+ * @param directory within which the following item is located
3076
+ * @param item base path of item/directory
3077
+ */
3078
+ _remove(directory, item, isDirectory) {
3079
+ const path4 = sysPath2.join(directory, item);
3080
+ const fullPath = sysPath2.resolve(path4);
3081
+ isDirectory = isDirectory != null ? isDirectory : this._watched.has(path4) || this._watched.has(fullPath);
3082
+ if (!this._throttle("remove", path4, 100))
3083
+ return;
3084
+ if (!isDirectory && this._watched.size === 1) {
3085
+ this.add(directory, item, true);
3086
+ }
3087
+ const wp = this._getWatchedDir(path4);
3088
+ const nestedDirectoryChildren = wp.getChildren();
3089
+ nestedDirectoryChildren.forEach((nested) => this._remove(path4, nested));
3090
+ const parent = this._getWatchedDir(directory);
3091
+ const wasTracked = parent.has(item);
3092
+ parent.remove(item);
3093
+ if (this._symlinkPaths.has(fullPath)) {
3094
+ this._symlinkPaths.delete(fullPath);
3095
+ }
3096
+ let relPath = path4;
3097
+ if (this.options.cwd)
3098
+ relPath = sysPath2.relative(this.options.cwd, path4);
3099
+ if (this.options.awaitWriteFinish && this._pendingWrites.has(relPath)) {
3100
+ const event = this._pendingWrites.get(relPath).cancelWait();
3101
+ if (event === EVENTS.ADD)
3102
+ return;
3103
+ }
3104
+ this._watched.delete(path4);
3105
+ this._watched.delete(fullPath);
3106
+ const eventName = isDirectory ? EVENTS.UNLINK_DIR : EVENTS.UNLINK;
3107
+ if (wasTracked && !this._isIgnored(path4))
3108
+ this._emit(eventName, path4);
3109
+ this._closePath(path4);
3110
+ }
3111
+ /**
3112
+ * Closes all watchers for a path
3113
+ */
3114
+ _closePath(path4) {
3115
+ this._closeFile(path4);
3116
+ const dir = sysPath2.dirname(path4);
3117
+ this._getWatchedDir(dir).remove(sysPath2.basename(path4));
3118
+ }
3119
+ /**
3120
+ * Closes only file-specific watchers
3121
+ */
3122
+ _closeFile(path4) {
3123
+ const closers = this._closers.get(path4);
3124
+ if (!closers)
3125
+ return;
3126
+ closers.forEach((closer) => closer());
3127
+ this._closers.delete(path4);
3128
+ }
3129
+ _addPathCloser(path4, closer) {
3130
+ if (!closer)
3131
+ return;
3132
+ let list = this._closers.get(path4);
3133
+ if (!list) {
3134
+ list = [];
3135
+ this._closers.set(path4, list);
3136
+ }
3137
+ list.push(closer);
3138
+ }
3139
+ _readdirp(root, opts) {
3140
+ if (this.closed)
3141
+ return;
3142
+ const options = { type: EVENTS.ALL, alwaysStat: true, lstat: true, ...opts, depth: 0 };
3143
+ let stream = readdirp(root, options);
3144
+ this._streams.add(stream);
3145
+ stream.once(STR_CLOSE, () => {
3146
+ stream = void 0;
3147
+ });
3148
+ stream.once(STR_END, () => {
3149
+ if (stream) {
3150
+ this._streams.delete(stream);
3151
+ stream = void 0;
3152
+ }
3153
+ });
3154
+ return stream;
3155
+ }
3156
+ };
3157
+ function watch(paths, options = {}) {
3158
+ const watcher = new FSWatcher(options);
3159
+ watcher.add(paths);
3160
+ return watcher;
3161
+ }
3162
+
3163
+ // src/adapters/node-fs.ts
3164
+ import fs from "node:fs/promises";
3165
+ import path from "node:path";
3166
+ function isNotFound(err) {
3167
+ return err.code === "ENOENT";
3168
+ }
3169
+ function createNodeFileSystem(sourceDirectory) {
3170
+ const resolve3 = (relativePath) => path.join(sourceDirectory, ...toSafeSegments(relativePath));
3171
+ return {
3172
+ async readFileWithStat(relativePath) {
3173
+ const fullPath = resolve3(relativePath);
3174
+ let handle;
3175
+ try {
3176
+ handle = await fs.open(fullPath, "r");
3177
+ } catch (err) {
3178
+ if (isNotFound(err)) {
3179
+ throw new PathNotFoundError(relativePath);
3180
+ }
3181
+ throw err;
3182
+ }
3183
+ try {
3184
+ const stats = await handle.stat();
3185
+ const content = await handle.readFile("utf-8");
3186
+ return { content, mtime: stats.mtime };
3187
+ } finally {
3188
+ await handle.close();
3189
+ }
3190
+ },
3191
+ async listDir(relativePath) {
3192
+ const fullPath = resolve3(relativePath);
3193
+ let entries;
3194
+ try {
3195
+ entries = await fs.readdir(fullPath, { withFileTypes: true });
3196
+ } catch (err) {
3197
+ if (isNotFound(err)) {
3198
+ throw new PathNotFoundError(relativePath);
3199
+ }
3200
+ throw err;
3201
+ }
3202
+ return entries.flatMap((entry) => {
3203
+ if (entry.isDirectory()) {
3204
+ return [{ name: entry.name, type: "directory" }];
3205
+ }
3206
+ if (entry.isFile()) {
3207
+ return [{ name: entry.name, type: "file" }];
3208
+ }
3209
+ return [];
3210
+ });
3211
+ },
3212
+ async statPath(relativePath) {
3213
+ try {
3214
+ const stats = await fs.stat(resolve3(relativePath));
3215
+ if (stats.isDirectory()) {
3216
+ return { type: "directory", mtime: stats.mtime };
3217
+ }
3218
+ if (stats.isFile()) {
3219
+ return { type: "file", mtime: stats.mtime };
3220
+ }
3221
+ return void 0;
3222
+ } catch (err) {
3223
+ if (isNotFound(err)) {
3224
+ return void 0;
3225
+ }
3226
+ throw err;
3227
+ }
3228
+ },
3229
+ async writeFile(relativePath, content) {
3230
+ const fullPath = resolve3(relativePath);
3231
+ await fs.mkdir(path.dirname(fullPath), { recursive: true });
3232
+ await fs.writeFile(fullPath, content);
3233
+ const stats = await fs.stat(fullPath);
3234
+ return { type: "file", mtime: stats.mtime };
3235
+ },
3236
+ async rename(from, to) {
3237
+ const fromPath = resolve3(from);
3238
+ const toPath = resolve3(to);
3239
+ await fs.mkdir(path.dirname(toPath), { recursive: true });
3240
+ try {
3241
+ await fs.rename(fromPath, toPath);
3242
+ } catch (err) {
3243
+ if (isNotFound(err)) {
3244
+ throw new PathNotFoundError(from);
3245
+ }
3246
+ throw err;
3247
+ }
3248
+ },
3249
+ async remove(relativePath) {
3250
+ try {
3251
+ await fs.unlink(resolve3(relativePath));
3252
+ } catch (err) {
3253
+ if (isNotFound(err)) {
3254
+ throw new PathNotFoundError(relativePath);
3255
+ }
3256
+ throw err;
3257
+ }
3258
+ },
3259
+ async mkdirp(relativePath) {
3260
+ await fs.mkdir(resolve3(relativePath), { recursive: true });
3261
+ }
3262
+ };
3263
+ }
3264
+
3265
+ // src/adapters/node-preferences.ts
3266
+ import fs2 from "node:fs/promises";
3267
+ import { homedir } from "node:os";
3268
+ import path2 from "node:path";
3269
+ function getZuploConfigDir() {
3270
+ const xdgConfigHome = process.env.XDG_CONFIG_HOME ?? path2.join(homedir(), ".config");
3271
+ return path2.join(xdgConfigHome, "zuplo");
3272
+ }
3273
+ function getEditorConfigPath() {
3274
+ return path2.join(getZuploConfigDir(), "editor.json");
3275
+ }
3276
+ function createNodeEditorPreferences() {
3277
+ return {
3278
+ async get() {
3279
+ try {
3280
+ const data = await fs2.readFile(getEditorConfigPath(), "utf-8");
3281
+ return JSON.parse(data).editor ?? null;
3282
+ } catch {
3283
+ return null;
3284
+ }
3285
+ },
3286
+ async set(editor) {
3287
+ await fs2.mkdir(getZuploConfigDir(), { recursive: true });
3288
+ await fs2.writeFile(
3289
+ getEditorConfigPath(),
3290
+ JSON.stringify({ editor }, null, 2),
3291
+ "utf-8"
3292
+ );
3293
+ }
3294
+ };
3295
+ }
3296
+
3297
+ // src/server.ts
3298
+ function createNodeAssets(clientDir) {
3299
+ const staticApp = new Hono().use("*", serveStatic({ root: clientDir }));
3300
+ const documentPath = path3.join(clientDir, "index.html");
3301
+ let document;
3302
+ const readDocument = async () => {
3303
+ if (document !== void 0) {
3304
+ return document;
3305
+ }
3306
+ try {
3307
+ document = await fs3.readFile(documentPath, "utf-8");
3308
+ return document;
3309
+ } catch {
3310
+ return void 0;
3311
+ }
3312
+ };
3313
+ return {
3314
+ readDocument,
3315
+ async serve(request) {
3316
+ if (!await readDocument()) {
3317
+ return void 0;
3318
+ }
3319
+ const response = await staticApp.fetch(request);
3320
+ return response.status === 404 ? void 0 : response;
3321
+ }
3322
+ };
3323
+ }
3324
+ function createChokidarNotifier(watcher, sourceDirectory) {
3325
+ return {
3326
+ onChange(listener) {
3327
+ const handler = (filePath) => {
3328
+ listener(path3.relative(sourceDirectory, filePath));
3329
+ };
3330
+ watcher.on("change", handler);
3331
+ return () => {
3332
+ watcher.off("change", handler);
3333
+ };
3334
+ }
3335
+ };
3336
+ }
3337
+ var LocalEditorServer = class {
3338
+ /**
3339
+ * Answers a request without going through the listener, for tests and for
3340
+ * anything embedding the editor in a server of its own.
3341
+ */
3342
+ fetch;
3343
+ editorApp;
3344
+ server;
3345
+ listenerHost;
3346
+ watcher;
3347
+ listenerPort;
3348
+ logger;
3349
+ sourceDirectory;
3350
+ constructor(options) {
3351
+ this.listenerPort = options.port;
3352
+ this.logger = options.logger;
3353
+ this.sourceDirectory = options.sourceDirectory;
3354
+ this.listenerHost = editorConfig.server.host;
3355
+ this.watcher = watch(
3356
+ editorConfig.watch.watchedDirs.map(
3357
+ (dir) => path3.join(this.sourceDirectory, dir)
3358
+ ),
3359
+ { ignoreInitial: true }
3360
+ );
3361
+ const clientDir = fileURLToPath(new URL("../dist/client", import.meta.url));
3362
+ this.editorApp = createEditorApp({
3363
+ fs: createNodeFileSystem(options.sourceDirectory),
3364
+ preferences: createNodeEditorPreferences(),
3365
+ assets: createNodeAssets(clientDir),
3366
+ changes: createChokidarNotifier(this.watcher, options.sourceDirectory),
3367
+ logger: options.logger,
3368
+ deploymentUrl: options.deploymentUrl,
3369
+ sourceDirectory: options.sourceDirectory
3370
+ });
3371
+ this.fetch = this.editorApp.fetch;
3372
+ }
3373
+ init = async () => {
3374
+ this.logger.info(
3375
+ { sourceDirectory: this.sourceDirectory },
3376
+ "Starting local editor server..."
3377
+ );
3378
+ };
3379
+ start = async () => {
3380
+ await this.init();
3381
+ await new Promise((resolve3, reject) => {
3382
+ const onListenError = (err) => reject(err);
3383
+ const server = serve(
3384
+ {
3385
+ fetch: this.fetch,
3386
+ port: this.listenerPort,
3387
+ hostname: this.listenerHost
3388
+ },
3389
+ () => {
3390
+ server.off("error", onListenError);
3391
+ resolve3();
3392
+ }
3393
+ );
3394
+ server.once("error", onListenError);
3395
+ this.server = server;
3396
+ });
3397
+ };
3398
+ close = async () => {
3399
+ await this.editorApp.dispose();
3400
+ await this.watcher.close();
3401
+ const server = this.server;
3402
+ if (!server) {
3403
+ return;
3404
+ }
3405
+ this.server = void 0;
3406
+ if ("closeIdleConnections" in server) {
3407
+ server.closeIdleConnections();
3408
+ }
3409
+ await new Promise((resolve3, reject) => {
3410
+ server.close((err) => err ? reject(err) : resolve3());
3411
+ });
3412
+ };
3413
+ };
3414
+ export {
3415
+ LocalEditorServer,
3416
+ PathNotFoundError,
3417
+ UnsafePathError,
3418
+ createEditorApp,
3419
+ getLocalEditorConfig
3420
+ };
3421
+ /*! Bundled license information:
3422
+
3423
+ chokidar/esm/index.js:
3424
+ (*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
3425
+ */
3426
+ //# sourceMappingURL=index.js.map