@highstate/designer 0.2.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (972) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/BiOpBOhF.js +69 -0
  3. package/.output/public/_nuxt/Cbvq2xei.js +1 -0
  4. package/.output/public/_nuxt/DVgDGs8k.js +1 -0
  5. package/.output/public/_nuxt/builds/latest.json +1 -0
  6. package/.output/public/_nuxt/builds/meta/4e80df08-b017-4dd3-92a5-670b9c4b88d5.json +1 -0
  7. package/.output/public/_nuxt/entry.D7UJUp71.css +5 -0
  8. package/.output/public/_nuxt/error-404.SWzu_puR.css +1 -0
  9. package/.output/public/_nuxt/error-500.Bkv_zTjr.css +1 -0
  10. package/.output/public/_nuxt/rjBY3mWU.js +1 -0
  11. package/.output/public/favicon.ico +0 -0
  12. package/.output/public/robots.txt +1 -0
  13. package/.output/server/chunks/_/error-500.mjs +8 -0
  14. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  15. package/.output/server/chunks/build/client.manifest.mjs +85 -0
  16. package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
  17. package/.output/server/chunks/nitro/nitro.mjs +6161 -0
  18. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  19. package/.output/server/chunks/routes/api/_trpc_.mjs +1067 -0
  20. package/.output/server/chunks/routes/api/_trpc_.mjs.map +1 -0
  21. package/.output/server/chunks/routes/renderer.mjs +341 -0
  22. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  23. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  24. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  25. package/.output/server/index.mjs +7 -0
  26. package/.output/server/index.mjs.map +1 -0
  27. package/.output/server/node_modules/.nitro/get-stream@5.2.0/buffer-stream.js +52 -0
  28. package/.output/server/node_modules/.nitro/get-stream@5.2.0/index.js +60 -0
  29. package/.output/server/node_modules/.nitro/get-stream@5.2.0/package.json +50 -0
  30. package/.output/server/node_modules/.nitro/get-stream@6.0.1/buffer-stream.js +52 -0
  31. package/.output/server/node_modules/.nitro/get-stream@6.0.1/index.js +61 -0
  32. package/.output/server/node_modules/.nitro/get-stream@6.0.1/package.json +47 -0
  33. package/.output/server/node_modules/.nitro/mimic-response@1.0.1/index.js +32 -0
  34. package/.output/server/node_modules/.nitro/mimic-response@1.0.1/package.json +37 -0
  35. package/.output/server/node_modules/.nitro/mimic-response@3.1.0/index.js +77 -0
  36. package/.output/server/node_modules/.nitro/mimic-response@3.1.0/package.json +42 -0
  37. package/.output/server/node_modules/@babel/parser/lib/index.js +14027 -0
  38. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  39. package/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js +31 -0
  40. package/.output/server/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js +174 -0
  41. package/.output/server/node_modules/@grpc/grpc-js/build/src/call-credentials.js +153 -0
  42. package/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js +84 -0
  43. package/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js +25 -0
  44. package/.output/server/node_modules/@grpc/grpc-js/build/src/call.js +136 -0
  45. package/.output/server/node_modules/@grpc/grpc-js/build/src/certificate-provider.js +134 -0
  46. package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js +272 -0
  47. package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js +71 -0
  48. package/.output/server/node_modules/@grpc/grpc-js/build/src/channel.js +68 -0
  49. package/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js +584 -0
  50. package/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js +428 -0
  51. package/.output/server/node_modules/@grpc/grpc-js/build/src/client.js +433 -0
  52. package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js +26 -0
  53. package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-filter.js +295 -0
  54. package/.output/server/node_modules/@grpc/grpc-js/build/src/connectivity-state.js +28 -0
  55. package/.output/server/node_modules/@grpc/grpc-js/build/src/constants.js +64 -0
  56. package/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js +43 -0
  57. package/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js +109 -0
  58. package/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js +47 -0
  59. package/.output/server/node_modules/@grpc/grpc-js/build/src/environment.js +22 -0
  60. package/.output/server/node_modules/@grpc/grpc-js/build/src/error.js +41 -0
  61. package/.output/server/node_modules/@grpc/grpc-js/build/src/experimental.js +52 -0
  62. package/.output/server/node_modules/@grpc/grpc-js/build/src/filter-stack.js +82 -0
  63. package/.output/server/node_modules/@grpc/grpc-js/build/src/filter.js +38 -0
  64. package/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js +266 -0
  65. package/.output/server/node_modules/@grpc/grpc-js/build/src/index.js +144 -0
  66. package/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js +572 -0
  67. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js +153 -0
  68. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js +567 -0
  69. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js +482 -0
  70. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js +182 -0
  71. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js +117 -0
  72. package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js +294 -0
  73. package/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js +122 -0
  74. package/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js +144 -0
  75. package/.output/server/node_modules/@grpc/grpc-js/build/src/metadata.js +249 -0
  76. package/.output/server/node_modules/@grpc/grpc-js/build/src/picker.js +86 -0
  77. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js +349 -0
  78. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js +105 -0
  79. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js +51 -0
  80. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js +88 -0
  81. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-call.js +305 -0
  82. package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js +309 -0
  83. package/.output/server/node_modules/@grpc/grpc-js/build/src/retrying-call.js +665 -0
  84. package/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js +202 -0
  85. package/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js +305 -0
  86. package/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js +770 -0
  87. package/.output/server/node_modules/@grpc/grpc-js/build/src/server.js +1569 -0
  88. package/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js +431 -0
  89. package/.output/server/node_modules/@grpc/grpc-js/build/src/status-builder.js +68 -0
  90. package/.output/server/node_modules/@grpc/grpc-js/build/src/stream-decoder.js +100 -0
  91. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js +202 -0
  92. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-call.js +526 -0
  93. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js +92 -0
  94. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js +137 -0
  95. package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel.js +371 -0
  96. package/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js +34 -0
  97. package/.output/server/node_modules/@grpc/grpc-js/build/src/transport.js +662 -0
  98. package/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js +126 -0
  99. package/.output/server/node_modules/@grpc/grpc-js/package.json +87 -0
  100. package/.output/server/node_modules/@grpc/grpc-js/proto/channelz.proto +564 -0
  101. package/.output/server/node_modules/@grpc/proto-loader/build/src/index.js +244 -0
  102. package/.output/server/node_modules/@grpc/proto-loader/build/src/util.js +89 -0
  103. package/.output/server/node_modules/@grpc/proto-loader/package.json +69 -0
  104. package/.output/server/node_modules/@js-sdsl/ordered-map/dist/cjs/index.js +795 -0
  105. package/.output/server/node_modules/@js-sdsl/ordered-map/package.json +138 -0
  106. package/.output/server/node_modules/@logdna/tail-file/index.js +3 -0
  107. package/.output/server/node_modules/@logdna/tail-file/lib/tail-file.js +326 -0
  108. package/.output/server/node_modules/@logdna/tail-file/package.json +162 -0
  109. package/.output/server/node_modules/@protobufjs/aspromise/index.js +52 -0
  110. package/.output/server/node_modules/@protobufjs/aspromise/package.json +21 -0
  111. package/.output/server/node_modules/@protobufjs/base64/index.js +139 -0
  112. package/.output/server/node_modules/@protobufjs/base64/package.json +21 -0
  113. package/.output/server/node_modules/@protobufjs/codegen/index.js +99 -0
  114. package/.output/server/node_modules/@protobufjs/codegen/package.json +13 -0
  115. package/.output/server/node_modules/@protobufjs/eventemitter/index.js +76 -0
  116. package/.output/server/node_modules/@protobufjs/eventemitter/package.json +21 -0
  117. package/.output/server/node_modules/@protobufjs/fetch/index.js +115 -0
  118. package/.output/server/node_modules/@protobufjs/fetch/package.json +25 -0
  119. package/.output/server/node_modules/@protobufjs/float/index.js +335 -0
  120. package/.output/server/node_modules/@protobufjs/float/package.json +26 -0
  121. package/.output/server/node_modules/@protobufjs/inquire/index.js +17 -0
  122. package/.output/server/node_modules/@protobufjs/inquire/package.json +21 -0
  123. package/.output/server/node_modules/@protobufjs/path/index.js +65 -0
  124. package/.output/server/node_modules/@protobufjs/path/package.json +21 -0
  125. package/.output/server/node_modules/@protobufjs/pool/index.js +48 -0
  126. package/.output/server/node_modules/@protobufjs/pool/package.json +21 -0
  127. package/.output/server/node_modules/@protobufjs/utf8/index.js +105 -0
  128. package/.output/server/node_modules/@protobufjs/utf8/package.json +21 -0
  129. package/.output/server/node_modules/@pulumi/pulumi/asset/archive.js +84 -0
  130. package/.output/server/node_modules/@pulumi/pulumi/asset/asset.js +84 -0
  131. package/.output/server/node_modules/@pulumi/pulumi/asset/index.js +21 -0
  132. package/.output/server/node_modules/@pulumi/pulumi/automation/cmd.js +270 -0
  133. package/.output/server/node_modules/@pulumi/pulumi/automation/errors.js +84 -0
  134. package/.output/server/node_modules/@pulumi/pulumi/automation/events.js +47 -0
  135. package/.output/server/node_modules/@pulumi/pulumi/automation/index.js +27 -0
  136. package/.output/server/node_modules/@pulumi/pulumi/automation/localWorkspace.js +1049 -0
  137. package/.output/server/node_modules/@pulumi/pulumi/automation/minimumVersion.js +28 -0
  138. package/.output/server/node_modules/@pulumi/pulumi/automation/remoteStack.js +130 -0
  139. package/.output/server/node_modules/@pulumi/pulumi/automation/remoteWorkspace.js +131 -0
  140. package/.output/server/node_modules/@pulumi/pulumi/automation/server.js +170 -0
  141. package/.output/server/node_modules/@pulumi/pulumi/automation/stack.js +991 -0
  142. package/.output/server/node_modules/@pulumi/pulumi/automation/stackSettings.js +24 -0
  143. package/.output/server/node_modules/@pulumi/pulumi/errors.js +126 -0
  144. package/.output/server/node_modules/@pulumi/pulumi/log/index.js +132 -0
  145. package/.output/server/node_modules/@pulumi/pulumi/metadata.js +46 -0
  146. package/.output/server/node_modules/@pulumi/pulumi/output.js +677 -0
  147. package/.output/server/node_modules/@pulumi/pulumi/package.json +93 -0
  148. package/.output/server/node_modules/@pulumi/pulumi/proto/alias_pb.js +631 -0
  149. package/.output/server/node_modules/@pulumi/pulumi/proto/callback_grpc_pb.js +61 -0
  150. package/.output/server/node_modules/@pulumi/pulumi/proto/callback_pb.js +582 -0
  151. package/.output/server/node_modules/@pulumi/pulumi/proto/codegen/hcl_pb.js +808 -0
  152. package/.output/server/node_modules/@pulumi/pulumi/proto/engine_grpc_pb.js +158 -0
  153. package/.output/server/node_modules/@pulumi/pulumi/proto/engine_pb.js +1058 -0
  154. package/.output/server/node_modules/@pulumi/pulumi/proto/language_grpc_pb.js +510 -0
  155. package/.output/server/node_modules/@pulumi/pulumi/proto/language_pb.js +7222 -0
  156. package/.output/server/node_modules/@pulumi/pulumi/proto/plugin_pb.js +1159 -0
  157. package/.output/server/node_modules/@pulumi/pulumi/proto/provider_pb.js +11300 -0
  158. package/.output/server/node_modules/@pulumi/pulumi/proto/resource_grpc_pb.js +310 -0
  159. package/.output/server/node_modules/@pulumi/pulumi/proto/resource_pb.js +7447 -0
  160. package/.output/server/node_modules/@pulumi/pulumi/proto/source_pb.js +230 -0
  161. package/.output/server/node_modules/@pulumi/pulumi/resource.js +774 -0
  162. package/.output/server/node_modules/@pulumi/pulumi/runtime/asyncIterableUtil.js +103 -0
  163. package/.output/server/node_modules/@pulumi/pulumi/runtime/callbacks.js +456 -0
  164. package/.output/server/node_modules/@pulumi/pulumi/runtime/config.js +129 -0
  165. package/.output/server/node_modules/@pulumi/pulumi/runtime/debuggable.js +137 -0
  166. package/.output/server/node_modules/@pulumi/pulumi/runtime/dependsOn.js +64 -0
  167. package/.output/server/node_modules/@pulumi/pulumi/runtime/invoke.js +498 -0
  168. package/.output/server/node_modules/@pulumi/pulumi/runtime/resource.js +928 -0
  169. package/.output/server/node_modules/@pulumi/pulumi/runtime/rpc.js +844 -0
  170. package/.output/server/node_modules/@pulumi/pulumi/runtime/settings.js +551 -0
  171. package/.output/server/node_modules/@pulumi/pulumi/runtime/stack.js +276 -0
  172. package/.output/server/node_modules/@pulumi/pulumi/runtime/state.js +187 -0
  173. package/.output/server/node_modules/@pulumi/pulumi/utils.js +89 -0
  174. package/.output/server/node_modules/@pulumi/pulumi/version.js +17 -0
  175. package/.output/server/node_modules/@pulumi/query/asyncQueryable.js +279 -0
  176. package/.output/server/node_modules/@pulumi/query/base.js +34 -0
  177. package/.output/server/node_modules/@pulumi/query/index.js +87 -0
  178. package/.output/server/node_modules/@pulumi/query/interfaces.js +24 -0
  179. package/.output/server/node_modules/@pulumi/query/operators.js +1269 -0
  180. package/.output/server/node_modules/@pulumi/query/package.json +22 -0
  181. package/.output/server/node_modules/@pulumi/query/sources.js +81 -0
  182. package/.output/server/node_modules/@pulumi/query/util.js +23 -0
  183. package/.output/server/node_modules/@sinclair/typebox/build/esm/index.mjs +78 -0
  184. package/.output/server/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +54 -0
  185. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +6 -0
  186. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +1 -0
  187. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +6 -0
  188. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +1 -0
  189. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +6 -0
  190. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +1 -0
  191. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +37 -0
  192. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +1 -0
  193. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +6 -0
  194. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +1 -0
  195. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +6 -0
  196. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +1 -0
  197. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +2 -0
  198. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +9 -0
  199. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +36 -0
  200. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +42 -0
  201. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +1 -0
  202. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +6 -0
  203. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +1 -0
  204. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +54 -0
  205. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +1 -0
  206. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +6 -0
  207. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +1 -0
  208. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +5 -0
  209. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +1 -0
  210. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +33 -0
  211. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +1 -0
  212. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +15 -0
  213. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +6 -0
  214. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +1 -0
  215. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +8 -0
  216. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +1 -0
  217. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +18 -0
  218. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +1 -0
  219. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +6 -0
  220. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +1 -0
  221. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +18 -0
  222. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +5 -0
  223. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +25 -0
  224. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +3 -0
  225. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +635 -0
  226. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +25 -0
  227. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +19 -0
  228. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +20 -0
  229. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +23 -0
  230. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +5 -0
  231. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +18 -0
  232. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +5 -0
  233. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +25 -0
  234. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +3 -0
  235. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +6 -0
  236. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +1 -0
  237. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +3 -0
  238. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +230 -0
  239. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +501 -0
  240. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +70 -0
  241. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +4 -0
  242. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +1 -0
  243. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +4 -0
  244. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +22 -0
  245. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +20 -0
  246. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +32 -0
  247. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +91 -0
  248. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +1 -0
  249. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +5 -0
  250. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +1 -0
  251. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +6 -0
  252. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +3 -0
  253. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +19 -0
  254. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +38 -0
  255. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +1 -0
  256. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +17 -0
  257. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +5 -0
  258. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +6 -0
  259. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +26 -0
  260. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +64 -0
  261. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +5 -0
  262. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +5 -0
  263. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +5 -0
  264. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +1 -0
  265. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +6 -0
  266. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +4 -0
  267. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +19 -0
  268. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +12 -0
  269. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +73 -0
  270. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +35 -0
  271. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +1 -0
  272. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +10 -0
  273. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +3 -0
  274. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +9 -0
  275. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +9 -0
  276. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +102 -0
  277. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +151 -0
  278. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +1 -0
  279. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +32 -0
  280. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +1 -0
  281. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +6 -0
  282. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +1 -0
  283. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +6 -0
  284. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +1 -0
  285. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +6 -0
  286. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +1 -0
  287. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +6 -0
  288. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +1 -0
  289. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +22 -0
  290. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +3 -0
  291. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +22 -0
  292. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +19 -0
  293. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +71 -0
  294. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +2 -0
  295. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +18 -0
  296. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +22 -0
  297. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +1 -0
  298. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +5 -0
  299. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +2 -0
  300. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +19 -0
  301. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +61 -0
  302. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +1 -0
  303. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +8 -0
  304. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +3 -0
  305. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +24 -0
  306. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +19 -0
  307. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +66 -0
  308. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +1 -0
  309. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +6 -0
  310. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +2 -0
  311. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +18 -0
  312. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +22 -0
  313. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +1 -0
  314. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +6 -0
  315. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +1 -0
  316. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +94 -0
  317. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +1 -0
  318. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +15 -0
  319. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +1 -0
  320. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +10 -0
  321. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +1 -0
  322. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +8 -0
  323. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +26 -0
  324. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +2 -0
  325. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +26 -0
  326. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +2 -0
  327. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +18 -0
  328. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +60 -0
  329. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +1 -0
  330. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +15 -0
  331. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +1 -0
  332. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +5 -0
  333. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +1 -0
  334. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +2 -0
  335. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +1 -0
  336. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +1 -0
  337. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +48 -0
  338. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +1 -0
  339. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +1 -0
  340. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +1 -0
  341. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +6 -0
  342. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +1 -0
  343. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +6 -0
  344. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +1 -0
  345. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +10 -0
  346. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +49 -0
  347. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +53 -0
  348. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +7 -0
  349. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +167 -0
  350. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +33 -0
  351. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +55 -0
  352. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +13 -0
  353. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +9 -0
  354. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +1 -0
  355. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +40 -0
  356. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +1 -0
  357. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +9 -0
  358. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +13 -0
  359. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +89 -0
  360. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +221 -0
  361. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +60 -0
  362. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +1 -0
  363. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +6 -0
  364. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +1 -0
  365. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +6 -0
  366. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +3 -0
  367. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +5 -0
  368. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +36 -0
  369. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +1 -0
  370. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +10 -0
  371. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +1 -0
  372. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +6 -0
  373. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +1 -0
  374. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +6 -0
  375. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +1 -0
  376. package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +6 -0
  377. package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +158 -0
  378. package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +1 -0
  379. package/.output/server/node_modules/@sinclair/typebox/package.json +106 -0
  380. package/.output/server/node_modules/@sindresorhus/is/dist/index.js +434 -0
  381. package/.output/server/node_modules/@sindresorhus/is/package.json +96 -0
  382. package/.output/server/node_modules/@szmarczak/http-timer/dist/source/index.js +126 -0
  383. package/.output/server/node_modules/@szmarczak/http-timer/package.json +72 -0
  384. package/.output/server/node_modules/@trpc/server/dist/http.mjs +7 -0
  385. package/.output/server/node_modules/@trpc/server/dist/index.mjs +11 -0
  386. package/.output/server/node_modules/@trpc/server/dist/observable/observable.mjs +175 -0
  387. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/createProxy.mjs +73 -0
  388. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/TRPCError.mjs +78 -0
  389. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/formatter.mjs +5 -0
  390. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/getErrorShape.mjs +29 -0
  391. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentType.mjs +224 -0
  392. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentTypeParsers.mjs +12 -0
  393. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/getHTTPStatusCode.mjs +76 -0
  394. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/isAbortError.mjs +7 -0
  395. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/parseConnectionParams.mjs +39 -0
  396. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/resolveResponse.mjs +569 -0
  397. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/initTRPC.mjs +80 -0
  398. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/middleware.mjs +90 -0
  399. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/parser.mjs +40 -0
  400. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs +194 -0
  401. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rootConfig.mjs +6 -0
  402. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs +176 -0
  403. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rpc/codes.mjs +54 -0
  404. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/jsonl.mjs +631 -0
  405. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/sse.mjs +355 -0
  406. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/tracked.mjs +25 -0
  407. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +167 -0
  408. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/createDeferred.mjs +15 -0
  409. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/disposable.mjs +41 -0
  410. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.mjs +23 -0
  411. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/timerResource.mjs +23 -0
  412. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +127 -0
  413. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/transformer.mjs +101 -0
  414. package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/utils.mjs +83 -0
  415. package/.output/server/node_modules/@trpc/server/dist/vendor/unpromise/unpromise.mjs +289 -0
  416. package/.output/server/node_modules/@trpc/server/package.json +156 -0
  417. package/.output/server/node_modules/@unhead/dom/dist/index.mjs +197 -0
  418. package/.output/server/node_modules/@unhead/dom/package.json +40 -0
  419. package/.output/server/node_modules/@unhead/shared/dist/index.mjs +731 -0
  420. package/.output/server/node_modules/@unhead/shared/package.json +47 -0
  421. package/.output/server/node_modules/@unhead/ssr/dist/index.mjs +95 -0
  422. package/.output/server/node_modules/@unhead/ssr/package.json +40 -0
  423. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
  424. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  425. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  426. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  427. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
  428. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  429. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
  430. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  431. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
  432. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  433. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
  434. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  435. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  436. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  437. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  438. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  439. package/.output/server/node_modules/acorn/dist/acorn.mjs +6145 -0
  440. package/.output/server/node_modules/acorn/package.json +50 -0
  441. package/.output/server/node_modules/better-lock/dist/better_lock.js +377 -0
  442. package/.output/server/node_modules/better-lock/dist/errors.js +136 -0
  443. package/.output/server/node_modules/better-lock/dist/index.js +28 -0
  444. package/.output/server/node_modules/better-lock/dist/internals.js +75 -0
  445. package/.output/server/node_modules/better-lock/dist/tools.js +109 -0
  446. package/.output/server/node_modules/better-lock/package.json +60 -0
  447. package/.output/server/node_modules/cacheable-lookup/package.json +45 -0
  448. package/.output/server/node_modules/cacheable-lookup/source/index.js +436 -0
  449. package/.output/server/node_modules/cacheable-request/package.json +56 -0
  450. package/.output/server/node_modules/cacheable-request/src/index.js +251 -0
  451. package/.output/server/node_modules/clone-response/package.json +41 -0
  452. package/.output/server/node_modules/clone-response/src/index.js +17 -0
  453. package/.output/server/node_modules/confbox/dist/index.mjs +1 -0
  454. package/.output/server/node_modules/confbox/dist/json5.mjs +14 -0
  455. package/.output/server/node_modules/confbox/dist/shared/confbox.9388d834.mjs +1 -0
  456. package/.output/server/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs +7 -0
  457. package/.output/server/node_modules/confbox/dist/toml.mjs +239 -0
  458. package/.output/server/node_modules/confbox/dist/yaml.mjs +32 -0
  459. package/.output/server/node_modules/confbox/package.json +86 -0
  460. package/.output/server/node_modules/consola/dist/core.mjs +410 -0
  461. package/.output/server/node_modules/consola/package.json +101 -0
  462. package/.output/server/node_modules/cross-spawn/index.js +39 -0
  463. package/.output/server/node_modules/cross-spawn/lib/enoent.js +59 -0
  464. package/.output/server/node_modules/cross-spawn/lib/parse.js +91 -0
  465. package/.output/server/node_modules/cross-spawn/lib/util/escape.js +47 -0
  466. package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
  467. package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
  468. package/.output/server/node_modules/cross-spawn/package.json +73 -0
  469. package/.output/server/node_modules/decompress-response/index.js +58 -0
  470. package/.output/server/node_modules/decompress-response/package.json +56 -0
  471. package/.output/server/node_modules/defer-to-connect/dist/source/index.js +47 -0
  472. package/.output/server/node_modules/defer-to-connect/package.json +71 -0
  473. package/.output/server/node_modules/dettle/dist/debounce.js +91 -0
  474. package/.output/server/node_modules/dettle/dist/index.js +5 -0
  475. package/.output/server/node_modules/dettle/dist/throttle.js +12 -0
  476. package/.output/server/node_modules/dettle/package.json +28 -0
  477. package/.output/server/node_modules/devalue/index.js +3 -0
  478. package/.output/server/node_modules/devalue/package.json +34 -0
  479. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  480. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  481. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  482. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  483. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  484. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  485. package/.output/server/node_modules/dotenv/config.js +9 -0
  486. package/.output/server/node_modules/dotenv/lib/cli-options.js +11 -0
  487. package/.output/server/node_modules/dotenv/lib/env-options.js +24 -0
  488. package/.output/server/node_modules/dotenv/lib/main.js +361 -0
  489. package/.output/server/node_modules/dotenv/package.json +61 -0
  490. package/.output/server/node_modules/end-of-stream/index.js +94 -0
  491. package/.output/server/node_modules/end-of-stream/package.json +37 -0
  492. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  493. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  494. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  495. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  496. package/.output/server/node_modules/entities/package.json +90 -0
  497. package/.output/server/node_modules/esprima/dist/esprima.js +6709 -0
  498. package/.output/server/node_modules/esprima/package.json +112 -0
  499. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  500. package/.output/server/node_modules/estree-walker/package.json +37 -0
  501. package/.output/server/node_modules/execa/index.js +268 -0
  502. package/.output/server/node_modules/execa/lib/command.js +52 -0
  503. package/.output/server/node_modules/execa/lib/error.js +88 -0
  504. package/.output/server/node_modules/execa/lib/kill.js +115 -0
  505. package/.output/server/node_modules/execa/lib/promise.js +46 -0
  506. package/.output/server/node_modules/execa/lib/stdio.js +52 -0
  507. package/.output/server/node_modules/execa/lib/stream.js +97 -0
  508. package/.output/server/node_modules/execa/package.json +74 -0
  509. package/.output/server/node_modules/google-protobuf/google/protobuf/empty_pb.js +147 -0
  510. package/.output/server/node_modules/google-protobuf/google/protobuf/struct_pb.js +955 -0
  511. package/.output/server/node_modules/google-protobuf/google-protobuf.js +149 -0
  512. package/.output/server/node_modules/google-protobuf/package.json +35 -0
  513. package/.output/server/node_modules/got/dist/source/as-promise/create-rejection.js +30 -0
  514. package/.output/server/node_modules/got/dist/source/as-promise/index.js +176 -0
  515. package/.output/server/node_modules/got/dist/source/as-promise/normalize-arguments.js +78 -0
  516. package/.output/server/node_modules/got/dist/source/as-promise/parse-body.js +25 -0
  517. package/.output/server/node_modules/got/dist/source/as-promise/types.js +42 -0
  518. package/.output/server/node_modules/got/dist/source/core/calculate-retry-delay.js +29 -0
  519. package/.output/server/node_modules/got/dist/source/core/index.js +1505 -0
  520. package/.output/server/node_modules/got/dist/source/core/utils/dns-ip-version.js +17 -0
  521. package/.output/server/node_modules/got/dist/source/core/utils/get-body-size.js +32 -0
  522. package/.output/server/node_modules/got/dist/source/core/utils/get-buffer.js +16 -0
  523. package/.output/server/node_modules/got/dist/source/core/utils/is-form-data.js +4 -0
  524. package/.output/server/node_modules/got/dist/source/core/utils/is-response-ok.js +8 -0
  525. package/.output/server/node_modules/got/dist/source/core/utils/options-to-url.js +53 -0
  526. package/.output/server/node_modules/got/dist/source/core/utils/proxy-events.js +17 -0
  527. package/.output/server/node_modules/got/dist/source/core/utils/timed-out.js +121 -0
  528. package/.output/server/node_modules/got/dist/source/core/utils/unhandle.js +22 -0
  529. package/.output/server/node_modules/got/dist/source/core/utils/url-to-options.js +24 -0
  530. package/.output/server/node_modules/got/dist/source/core/utils/weakable-map.js +29 -0
  531. package/.output/server/node_modules/got/dist/source/create.js +240 -0
  532. package/.output/server/node_modules/got/dist/source/index.js +132 -0
  533. package/.output/server/node_modules/got/dist/source/types.js +2 -0
  534. package/.output/server/node_modules/got/dist/source/utils/deep-freeze.js +12 -0
  535. package/.output/server/node_modules/got/dist/source/utils/deprecation-warning.js +13 -0
  536. package/.output/server/node_modules/got/package.json +131 -0
  537. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  538. package/.output/server/node_modules/hookable/package.json +49 -0
  539. package/.output/server/node_modules/http-cache-semantics/index.js +674 -0
  540. package/.output/server/node_modules/http-cache-semantics/package.json +18 -0
  541. package/.output/server/node_modules/http2-wrapper/package.json +54 -0
  542. package/.output/server/node_modules/http2-wrapper/source/agent.js +670 -0
  543. package/.output/server/node_modules/http2-wrapper/source/auto.js +149 -0
  544. package/.output/server/node_modules/http2-wrapper/source/client-request.js +445 -0
  545. package/.output/server/node_modules/http2-wrapper/source/incoming-message.js +58 -0
  546. package/.output/server/node_modules/http2-wrapper/source/index.js +28 -0
  547. package/.output/server/node_modules/http2-wrapper/source/utils/calculate-server-name.js +27 -0
  548. package/.output/server/node_modules/http2-wrapper/source/utils/errors.js +45 -0
  549. package/.output/server/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +13 -0
  550. package/.output/server/node_modules/http2-wrapper/source/utils/proxy-events.js +7 -0
  551. package/.output/server/node_modules/http2-wrapper/source/utils/url-to-options.js +25 -0
  552. package/.output/server/node_modules/human-signals/build/src/core.js +273 -0
  553. package/.output/server/node_modules/human-signals/build/src/main.js +71 -0
  554. package/.output/server/node_modules/human-signals/build/src/realtime.js +19 -0
  555. package/.output/server/node_modules/human-signals/build/src/signals.js +35 -0
  556. package/.output/server/node_modules/human-signals/package.json +64 -0
  557. package/.output/server/node_modules/import-meta-resolve/index.js +47 -0
  558. package/.output/server/node_modules/import-meta-resolve/lib/errors.js +507 -0
  559. package/.output/server/node_modules/import-meta-resolve/lib/get-format.js +159 -0
  560. package/.output/server/node_modules/import-meta-resolve/lib/package-json-reader.js +177 -0
  561. package/.output/server/node_modules/import-meta-resolve/lib/resolve.js +1297 -0
  562. package/.output/server/node_modules/import-meta-resolve/lib/utils.js +47 -0
  563. package/.output/server/node_modules/import-meta-resolve/package.json +95 -0
  564. package/.output/server/node_modules/is-stream/index.js +28 -0
  565. package/.output/server/node_modules/is-stream/package.json +42 -0
  566. package/.output/server/node_modules/isexe/index.js +57 -0
  567. package/.output/server/node_modules/isexe/mode.js +41 -0
  568. package/.output/server/node_modules/isexe/package.json +31 -0
  569. package/.output/server/node_modules/isexe/windows.js +42 -0
  570. package/.output/server/node_modules/js-yaml/index.js +7 -0
  571. package/.output/server/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
  572. package/.output/server/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
  573. package/.output/server/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
  574. package/.output/server/node_modules/js-yaml/lib/js-yaml/loader.js +1644 -0
  575. package/.output/server/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
  576. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
  577. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
  578. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
  579. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
  580. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
  581. package/.output/server/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
  582. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
  583. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
  584. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
  585. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
  586. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
  587. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
  588. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
  589. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
  590. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
  591. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
  592. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
  593. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
  594. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
  595. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
  596. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
  597. package/.output/server/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
  598. package/.output/server/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
  599. package/.output/server/node_modules/js-yaml/lib/js-yaml.js +39 -0
  600. package/.output/server/node_modules/js-yaml/package.json +49 -0
  601. package/.output/server/node_modules/json-buffer/index.js +58 -0
  602. package/.output/server/node_modules/json-buffer/package.json +34 -0
  603. package/.output/server/node_modules/keyv/package.json +57 -0
  604. package/.output/server/node_modules/keyv/src/index.js +259 -0
  605. package/.output/server/node_modules/lodash.camelcase/index.js +599 -0
  606. package/.output/server/node_modules/lodash.camelcase/package.json +19 -0
  607. package/.output/server/node_modules/long/package.json +50 -0
  608. package/.output/server/node_modules/long/umd/index.js +1432 -0
  609. package/.output/server/node_modules/long/umd/package.json +3 -0
  610. package/.output/server/node_modules/lowercase-keys/index.js +10 -0
  611. package/.output/server/node_modules/lowercase-keys/package.json +38 -0
  612. package/.output/server/node_modules/merge-stream/index.js +41 -0
  613. package/.output/server/node_modules/merge-stream/package.json +19 -0
  614. package/.output/server/node_modules/mimic-fn/index.js +13 -0
  615. package/.output/server/node_modules/mimic-fn/package.json +42 -0
  616. package/.output/server/node_modules/mlly/dist/index.mjs +2606 -0
  617. package/.output/server/node_modules/mlly/package.json +50 -0
  618. package/.output/server/node_modules/normalize-url/index.js +216 -0
  619. package/.output/server/node_modules/normalize-url/package.json +50 -0
  620. package/.output/server/node_modules/npm-run-path/index.js +47 -0
  621. package/.output/server/node_modules/npm-run-path/package.json +44 -0
  622. package/.output/server/node_modules/nypm/dist/index.mjs +306 -0
  623. package/.output/server/node_modules/nypm/package.json +60 -0
  624. package/.output/server/node_modules/once/once.js +42 -0
  625. package/.output/server/node_modules/once/package.json +33 -0
  626. package/.output/server/node_modules/onetime/index.js +44 -0
  627. package/.output/server/node_modules/onetime/package.json +43 -0
  628. package/.output/server/node_modules/p-cancelable/index.js +111 -0
  629. package/.output/server/node_modules/p-cancelable/package.json +49 -0
  630. package/.output/server/node_modules/path-key/index.js +16 -0
  631. package/.output/server/node_modules/path-key/package.json +39 -0
  632. package/.output/server/node_modules/pathe/dist/index.mjs +1 -0
  633. package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
  634. package/.output/server/node_modules/pathe/package.json +48 -0
  635. package/.output/server/node_modules/pkg-types/dist/index.mjs +156 -0
  636. package/.output/server/node_modules/pkg-types/package.json +47 -0
  637. package/.output/server/node_modules/promise-make-counter/dist/index.js +24 -0
  638. package/.output/server/node_modules/promise-make-counter/package.json +32 -0
  639. package/.output/server/node_modules/promise-make-naked/dist/index.js +25 -0
  640. package/.output/server/node_modules/promise-make-naked/dist/utils.js +4 -0
  641. package/.output/server/node_modules/promise-make-naked/package.json +27 -0
  642. package/.output/server/node_modules/protobufjs/ext/descriptor/index.js +1052 -0
  643. package/.output/server/node_modules/protobufjs/google/protobuf/api.json +118 -0
  644. package/.output/server/node_modules/protobufjs/google/protobuf/descriptor.json +739 -0
  645. package/.output/server/node_modules/protobufjs/google/protobuf/source_context.json +20 -0
  646. package/.output/server/node_modules/protobufjs/google/protobuf/type.json +202 -0
  647. package/.output/server/node_modules/protobufjs/index.js +4 -0
  648. package/.output/server/node_modules/protobufjs/package.json +112 -0
  649. package/.output/server/node_modules/protobufjs/src/common.js +399 -0
  650. package/.output/server/node_modules/protobufjs/src/converter.js +301 -0
  651. package/.output/server/node_modules/protobufjs/src/decoder.js +129 -0
  652. package/.output/server/node_modules/protobufjs/src/encoder.js +100 -0
  653. package/.output/server/node_modules/protobufjs/src/enum.js +198 -0
  654. package/.output/server/node_modules/protobufjs/src/field.js +377 -0
  655. package/.output/server/node_modules/protobufjs/src/index-light.js +104 -0
  656. package/.output/server/node_modules/protobufjs/src/index-minimal.js +36 -0
  657. package/.output/server/node_modules/protobufjs/src/index.js +12 -0
  658. package/.output/server/node_modules/protobufjs/src/mapfield.js +126 -0
  659. package/.output/server/node_modules/protobufjs/src/message.js +139 -0
  660. package/.output/server/node_modules/protobufjs/src/method.js +160 -0
  661. package/.output/server/node_modules/protobufjs/src/namespace.js +433 -0
  662. package/.output/server/node_modules/protobufjs/src/object.js +243 -0
  663. package/.output/server/node_modules/protobufjs/src/oneof.js +203 -0
  664. package/.output/server/node_modules/protobufjs/src/parse.js +893 -0
  665. package/.output/server/node_modules/protobufjs/src/reader.js +416 -0
  666. package/.output/server/node_modules/protobufjs/src/reader_buffer.js +51 -0
  667. package/.output/server/node_modules/protobufjs/src/root.js +368 -0
  668. package/.output/server/node_modules/protobufjs/src/roots.js +18 -0
  669. package/.output/server/node_modules/protobufjs/src/rpc/service.js +142 -0
  670. package/.output/server/node_modules/protobufjs/src/rpc.js +36 -0
  671. package/.output/server/node_modules/protobufjs/src/service.js +167 -0
  672. package/.output/server/node_modules/protobufjs/src/tokenize.js +416 -0
  673. package/.output/server/node_modules/protobufjs/src/type.js +589 -0
  674. package/.output/server/node_modules/protobufjs/src/types.js +196 -0
  675. package/.output/server/node_modules/protobufjs/src/util/longbits.js +200 -0
  676. package/.output/server/node_modules/protobufjs/src/util/minimal.js +438 -0
  677. package/.output/server/node_modules/protobufjs/src/util.js +212 -0
  678. package/.output/server/node_modules/protobufjs/src/verifier.js +177 -0
  679. package/.output/server/node_modules/protobufjs/src/wrappers.js +102 -0
  680. package/.output/server/node_modules/protobufjs/src/writer.js +465 -0
  681. package/.output/server/node_modules/protobufjs/src/writer_buffer.js +85 -0
  682. package/.output/server/node_modules/pump/index.js +86 -0
  683. package/.output/server/node_modules/pump/package.json +24 -0
  684. package/.output/server/node_modules/quick-lru/index.js +123 -0
  685. package/.output/server/node_modules/quick-lru/package.json +43 -0
  686. package/.output/server/node_modules/remeda/dist/chunk-23J5WHPE.js +1 -0
  687. package/.output/server/node_modules/remeda/dist/chunk-2H7222YL.js +1 -0
  688. package/.output/server/node_modules/remeda/dist/chunk-2TTHCYUC.js +1 -0
  689. package/.output/server/node_modules/remeda/dist/chunk-3AO76THC.js +1 -0
  690. package/.output/server/node_modules/remeda/dist/chunk-3MWN2VHC.js +1 -0
  691. package/.output/server/node_modules/remeda/dist/chunk-3X47EJDR.js +1 -0
  692. package/.output/server/node_modules/remeda/dist/chunk-54BCGHSM.js +1 -0
  693. package/.output/server/node_modules/remeda/dist/chunk-5DU4ITSF.js +1 -0
  694. package/.output/server/node_modules/remeda/dist/chunk-5G3KY7YR.js +1 -0
  695. package/.output/server/node_modules/remeda/dist/chunk-5K4XWC27.js +1 -0
  696. package/.output/server/node_modules/remeda/dist/chunk-5LYW332I.js +1 -0
  697. package/.output/server/node_modules/remeda/dist/chunk-5O3FBXU6.js +1 -0
  698. package/.output/server/node_modules/remeda/dist/chunk-5VD5RID3.js +1 -0
  699. package/.output/server/node_modules/remeda/dist/chunk-6GTAPB47.js +1 -0
  700. package/.output/server/node_modules/remeda/dist/chunk-6HBEBUDI.js +1 -0
  701. package/.output/server/node_modules/remeda/dist/chunk-6IHL7GXT.js +1 -0
  702. package/.output/server/node_modules/remeda/dist/chunk-6MJCR2TC.js +1 -0
  703. package/.output/server/node_modules/remeda/dist/chunk-73TZMTEA.js +1 -0
  704. package/.output/server/node_modules/remeda/dist/chunk-7BKSRZNG.js +1 -0
  705. package/.output/server/node_modules/remeda/dist/chunk-7EFS5WOU.js +1 -0
  706. package/.output/server/node_modules/remeda/dist/chunk-7KI2QQIQ.js +1 -0
  707. package/.output/server/node_modules/remeda/dist/chunk-7LYAC624.js +1 -0
  708. package/.output/server/node_modules/remeda/dist/chunk-7QX4DO53.js +1 -0
  709. package/.output/server/node_modules/remeda/dist/chunk-7ROMSESG.js +1 -0
  710. package/.output/server/node_modules/remeda/dist/chunk-A3FCILQE.js +1 -0
  711. package/.output/server/node_modules/remeda/dist/chunk-ANXBDSUI.js +1 -0
  712. package/.output/server/node_modules/remeda/dist/chunk-ATQJ6737.js +1 -0
  713. package/.output/server/node_modules/remeda/dist/chunk-AWX7RJXY.js +1 -0
  714. package/.output/server/node_modules/remeda/dist/chunk-BLEEZ23Z.js +1 -0
  715. package/.output/server/node_modules/remeda/dist/chunk-BO3LQZNF.js +1 -0
  716. package/.output/server/node_modules/remeda/dist/chunk-BONXESQ2.js +1 -0
  717. package/.output/server/node_modules/remeda/dist/chunk-BQ7TSIFE.js +1 -0
  718. package/.output/server/node_modules/remeda/dist/chunk-BTFWISLJ.js +1 -0
  719. package/.output/server/node_modules/remeda/dist/chunk-BYFE4FDX.js +1 -0
  720. package/.output/server/node_modules/remeda/dist/chunk-BZNENX2T.js +1 -0
  721. package/.output/server/node_modules/remeda/dist/chunk-C4ACUJGS.js +1 -0
  722. package/.output/server/node_modules/remeda/dist/chunk-C4OSHTCI.js +1 -0
  723. package/.output/server/node_modules/remeda/dist/chunk-C6IMN7SF.js +1 -0
  724. package/.output/server/node_modules/remeda/dist/chunk-CAZXBO45.js +1 -0
  725. package/.output/server/node_modules/remeda/dist/chunk-CETFG6TX.js +1 -0
  726. package/.output/server/node_modules/remeda/dist/chunk-CGDTCOHY.js +1 -0
  727. package/.output/server/node_modules/remeda/dist/chunk-CGU6DJQK.js +1 -0
  728. package/.output/server/node_modules/remeda/dist/chunk-COZRMC32.js +1 -0
  729. package/.output/server/node_modules/remeda/dist/chunk-DAHUGBAA.js +1 -0
  730. package/.output/server/node_modules/remeda/dist/chunk-DAQH7UR3.js +1 -0
  731. package/.output/server/node_modules/remeda/dist/chunk-DEVKGLTN.js +2 -0
  732. package/.output/server/node_modules/remeda/dist/chunk-DH3BPT6T.js +1 -0
  733. package/.output/server/node_modules/remeda/dist/chunk-DSLWSGID.js +1 -0
  734. package/.output/server/node_modules/remeda/dist/chunk-DUDVLQA2.js +1 -0
  735. package/.output/server/node_modules/remeda/dist/chunk-E3EM3KJY.js +1 -0
  736. package/.output/server/node_modules/remeda/dist/chunk-E5GMYZMA.js +1 -0
  737. package/.output/server/node_modules/remeda/dist/chunk-EJCQEWX4.js +1 -0
  738. package/.output/server/node_modules/remeda/dist/chunk-EKGXROMD.js +1 -0
  739. package/.output/server/node_modules/remeda/dist/chunk-EM24PB7A.js +1 -0
  740. package/.output/server/node_modules/remeda/dist/chunk-EMIEIAAH.js +1 -0
  741. package/.output/server/node_modules/remeda/dist/chunk-ENOHV5LT.js +1 -0
  742. package/.output/server/node_modules/remeda/dist/chunk-ENXBNJ36.js +1 -0
  743. package/.output/server/node_modules/remeda/dist/chunk-F6MOVT3B.js +1 -0
  744. package/.output/server/node_modules/remeda/dist/chunk-FB2ENREB.js +1 -0
  745. package/.output/server/node_modules/remeda/dist/chunk-FDH4IRIM.js +1 -0
  746. package/.output/server/node_modules/remeda/dist/chunk-FFFVS7XT.js +1 -0
  747. package/.output/server/node_modules/remeda/dist/chunk-FJ47D26D.js +1 -0
  748. package/.output/server/node_modules/remeda/dist/chunk-FMPZ2CLX.js +1 -0
  749. package/.output/server/node_modules/remeda/dist/chunk-FTGV3QMT.js +1 -0
  750. package/.output/server/node_modules/remeda/dist/chunk-FW6RZCGF.js +1 -0
  751. package/.output/server/node_modules/remeda/dist/chunk-G4OU46SC.js +1 -0
  752. package/.output/server/node_modules/remeda/dist/chunk-GJJNKHO2.js +1 -0
  753. package/.output/server/node_modules/remeda/dist/chunk-GK5I7C4J.js +1 -0
  754. package/.output/server/node_modules/remeda/dist/chunk-H2MMZB4H.js +1 -0
  755. package/.output/server/node_modules/remeda/dist/chunk-HBSRBOZK.js +1 -0
  756. package/.output/server/node_modules/remeda/dist/chunk-HJSE3ESO.js +1 -0
  757. package/.output/server/node_modules/remeda/dist/chunk-HO4FFX2R.js +1 -0
  758. package/.output/server/node_modules/remeda/dist/chunk-HQOQUMZV.js +1 -0
  759. package/.output/server/node_modules/remeda/dist/chunk-HV3WACXG.js +1 -0
  760. package/.output/server/node_modules/remeda/dist/chunk-I3D2BSWJ.js +1 -0
  761. package/.output/server/node_modules/remeda/dist/chunk-I76XIBD5.js +1 -0
  762. package/.output/server/node_modules/remeda/dist/chunk-ICQWNDYD.js +1 -0
  763. package/.output/server/node_modules/remeda/dist/chunk-IEE7G5JG.js +1 -0
  764. package/.output/server/node_modules/remeda/dist/chunk-IFSMCGFE.js +1 -0
  765. package/.output/server/node_modules/remeda/dist/chunk-IUVYQYF2.js +1 -0
  766. package/.output/server/node_modules/remeda/dist/chunk-J3IRE4DI.js +1 -0
  767. package/.output/server/node_modules/remeda/dist/chunk-JET27MOQ.js +1 -0
  768. package/.output/server/node_modules/remeda/dist/chunk-JJZ7E4YG.js +1 -0
  769. package/.output/server/node_modules/remeda/dist/chunk-JK3VNB42.js +1 -0
  770. package/.output/server/node_modules/remeda/dist/chunk-JWKJXNB2.js +1 -0
  771. package/.output/server/node_modules/remeda/dist/chunk-JYNHUNML.js +1 -0
  772. package/.output/server/node_modules/remeda/dist/chunk-K26VP6CL.js +1 -0
  773. package/.output/server/node_modules/remeda/dist/chunk-K3UJMX27.js +1 -0
  774. package/.output/server/node_modules/remeda/dist/chunk-K5HTIQFL.js +1 -0
  775. package/.output/server/node_modules/remeda/dist/chunk-K5LCXBBG.js +1 -0
  776. package/.output/server/node_modules/remeda/dist/chunk-KCAOR2LA.js +1 -0
  777. package/.output/server/node_modules/remeda/dist/chunk-KIA3HX3M.js +1 -0
  778. package/.output/server/node_modules/remeda/dist/chunk-KQINSXIJ.js +1 -0
  779. package/.output/server/node_modules/remeda/dist/chunk-KSDEFWLH.js +1 -0
  780. package/.output/server/node_modules/remeda/dist/chunk-LAI77QME.js +1 -0
  781. package/.output/server/node_modules/remeda/dist/chunk-LFEOZTJ2.js +1 -0
  782. package/.output/server/node_modules/remeda/dist/chunk-LIVAT3FO.js +1 -0
  783. package/.output/server/node_modules/remeda/dist/chunk-LKOWEUPS.js +1 -0
  784. package/.output/server/node_modules/remeda/dist/chunk-MD7HNZ54.js +1 -0
  785. package/.output/server/node_modules/remeda/dist/chunk-MQWMWXZY.js +1 -0
  786. package/.output/server/node_modules/remeda/dist/chunk-N4JUOEMS.js +1 -0
  787. package/.output/server/node_modules/remeda/dist/chunk-NGEN63UD.js +1 -0
  788. package/.output/server/node_modules/remeda/dist/chunk-NJXNQM3G.js +1 -0
  789. package/.output/server/node_modules/remeda/dist/chunk-NMC53JVB.js +1 -0
  790. package/.output/server/node_modules/remeda/dist/chunk-NMJS7ULY.js +1 -0
  791. package/.output/server/node_modules/remeda/dist/chunk-NP7PEDI6.js +1 -0
  792. package/.output/server/node_modules/remeda/dist/chunk-OC26KGXM.js +1 -0
  793. package/.output/server/node_modules/remeda/dist/chunk-OEI2BOBZ.js +1 -0
  794. package/.output/server/node_modules/remeda/dist/chunk-OIQJEOF7.js +1 -0
  795. package/.output/server/node_modules/remeda/dist/chunk-OWH4IQQW.js +1 -0
  796. package/.output/server/node_modules/remeda/dist/chunk-OYJAL6JK.js +1 -0
  797. package/.output/server/node_modules/remeda/dist/chunk-PJOV2RDB.js +1 -0
  798. package/.output/server/node_modules/remeda/dist/chunk-PULGOXDA.js +1 -0
  799. package/.output/server/node_modules/remeda/dist/chunk-PWMUXL7T.js +1 -0
  800. package/.output/server/node_modules/remeda/dist/chunk-PZOXR343.js +1 -0
  801. package/.output/server/node_modules/remeda/dist/chunk-QEKOZYJ5.js +1 -0
  802. package/.output/server/node_modules/remeda/dist/chunk-R72GEKLP.js +1 -0
  803. package/.output/server/node_modules/remeda/dist/chunk-RAAYCPUM.js +1 -0
  804. package/.output/server/node_modules/remeda/dist/chunk-RBODUO3Q.js +1 -0
  805. package/.output/server/node_modules/remeda/dist/chunk-RIKUOZVG.js +1 -0
  806. package/.output/server/node_modules/remeda/dist/chunk-RLZQTLGN.js +1 -0
  807. package/.output/server/node_modules/remeda/dist/chunk-RTWSSDNQ.js +1 -0
  808. package/.output/server/node_modules/remeda/dist/chunk-RU7WR4KH.js +1 -0
  809. package/.output/server/node_modules/remeda/dist/chunk-RUHQUI2Z.js +1 -0
  810. package/.output/server/node_modules/remeda/dist/chunk-RXDTYBQM.js +1 -0
  811. package/.output/server/node_modules/remeda/dist/chunk-S23N53O3.js +1 -0
  812. package/.output/server/node_modules/remeda/dist/chunk-S3CYJTB5.js +1 -0
  813. package/.output/server/node_modules/remeda/dist/chunk-SFZGYJFI.js +1 -0
  814. package/.output/server/node_modules/remeda/dist/chunk-SGAFZVQH.js +1 -0
  815. package/.output/server/node_modules/remeda/dist/chunk-SIBGEYD6.js +1 -0
  816. package/.output/server/node_modules/remeda/dist/chunk-SIQPZPLZ.js +1 -0
  817. package/.output/server/node_modules/remeda/dist/chunk-SOGKZP3K.js +1 -0
  818. package/.output/server/node_modules/remeda/dist/chunk-T5XG33UI.js +1 -0
  819. package/.output/server/node_modules/remeda/dist/chunk-TOHMEB3C.js +1 -0
  820. package/.output/server/node_modules/remeda/dist/chunk-U2GFW3LV.js +1 -0
  821. package/.output/server/node_modules/remeda/dist/chunk-U54ONDS6.js +1 -0
  822. package/.output/server/node_modules/remeda/dist/chunk-U753ZCO5.js +1 -0
  823. package/.output/server/node_modules/remeda/dist/chunk-UA6DVSZ3.js +1 -0
  824. package/.output/server/node_modules/remeda/dist/chunk-UEZTW4YU.js +1 -0
  825. package/.output/server/node_modules/remeda/dist/chunk-UIZMRUOL.js +1 -0
  826. package/.output/server/node_modules/remeda/dist/chunk-UWLP4KOD.js +1 -0
  827. package/.output/server/node_modules/remeda/dist/chunk-V6HCOU6T.js +1 -0
  828. package/.output/server/node_modules/remeda/dist/chunk-VBBPTWMC.js +1 -0
  829. package/.output/server/node_modules/remeda/dist/chunk-VCURCCIJ.js +1 -0
  830. package/.output/server/node_modules/remeda/dist/chunk-VCYTMP4D.js +1 -0
  831. package/.output/server/node_modules/remeda/dist/chunk-VFKB5IBK.js +1 -0
  832. package/.output/server/node_modules/remeda/dist/chunk-VFSOOVKJ.js +1 -0
  833. package/.output/server/node_modules/remeda/dist/chunk-VMV5GVZ5.js +1 -0
  834. package/.output/server/node_modules/remeda/dist/chunk-VPCXVUT7.js +1 -0
  835. package/.output/server/node_modules/remeda/dist/chunk-W2HQ33EO.js +1 -0
  836. package/.output/server/node_modules/remeda/dist/chunk-W3QI2BKC.js +1 -0
  837. package/.output/server/node_modules/remeda/dist/chunk-WIMS2EYK.js +1 -0
  838. package/.output/server/node_modules/remeda/dist/chunk-WT5BLBHJ.js +1 -0
  839. package/.output/server/node_modules/remeda/dist/chunk-WY3JJUR4.js +1 -0
  840. package/.output/server/node_modules/remeda/dist/chunk-WZSGNJRX.js +1 -0
  841. package/.output/server/node_modules/remeda/dist/chunk-X5E5CJJQ.js +1 -0
  842. package/.output/server/node_modules/remeda/dist/chunk-XBEN2OB2.js +1 -0
  843. package/.output/server/node_modules/remeda/dist/chunk-XJHR6NID.js +1 -0
  844. package/.output/server/node_modules/remeda/dist/chunk-XMLUDZIW.js +1 -0
  845. package/.output/server/node_modules/remeda/dist/chunk-XSF7OVJO.js +1 -0
  846. package/.output/server/node_modules/remeda/dist/chunk-XZ6COQKM.js +1 -0
  847. package/.output/server/node_modules/remeda/dist/chunk-Y67GVJD3.js +1 -0
  848. package/.output/server/node_modules/remeda/dist/chunk-YL2OFO3L.js +1 -0
  849. package/.output/server/node_modules/remeda/dist/chunk-YVMG2XEU.js +1 -0
  850. package/.output/server/node_modules/remeda/dist/chunk-ZF7KX2VP.js +1 -0
  851. package/.output/server/node_modules/remeda/dist/index.js +1 -0
  852. package/.output/server/node_modules/remeda/package.json +88 -0
  853. package/.output/server/node_modules/resolve-alpn/index.js +43 -0
  854. package/.output/server/node_modules/resolve-alpn/package.json +34 -0
  855. package/.output/server/node_modules/responselike/package.json +39 -0
  856. package/.output/server/node_modules/responselike/src/index.js +34 -0
  857. package/.output/server/node_modules/semver/classes/comparator.js +141 -0
  858. package/.output/server/node_modules/semver/classes/range.js +554 -0
  859. package/.output/server/node_modules/semver/classes/semver.js +302 -0
  860. package/.output/server/node_modules/semver/functions/clean.js +6 -0
  861. package/.output/server/node_modules/semver/functions/cmp.js +52 -0
  862. package/.output/server/node_modules/semver/functions/coerce.js +60 -0
  863. package/.output/server/node_modules/semver/functions/compare-build.js +7 -0
  864. package/.output/server/node_modules/semver/functions/compare-loose.js +3 -0
  865. package/.output/server/node_modules/semver/functions/compare.js +5 -0
  866. package/.output/server/node_modules/semver/functions/diff.js +65 -0
  867. package/.output/server/node_modules/semver/functions/eq.js +3 -0
  868. package/.output/server/node_modules/semver/functions/gt.js +3 -0
  869. package/.output/server/node_modules/semver/functions/gte.js +3 -0
  870. package/.output/server/node_modules/semver/functions/inc.js +19 -0
  871. package/.output/server/node_modules/semver/functions/lt.js +3 -0
  872. package/.output/server/node_modules/semver/functions/lte.js +3 -0
  873. package/.output/server/node_modules/semver/functions/major.js +3 -0
  874. package/.output/server/node_modules/semver/functions/minor.js +3 -0
  875. package/.output/server/node_modules/semver/functions/neq.js +3 -0
  876. package/.output/server/node_modules/semver/functions/parse.js +16 -0
  877. package/.output/server/node_modules/semver/functions/patch.js +3 -0
  878. package/.output/server/node_modules/semver/functions/prerelease.js +6 -0
  879. package/.output/server/node_modules/semver/functions/rcompare.js +3 -0
  880. package/.output/server/node_modules/semver/functions/rsort.js +3 -0
  881. package/.output/server/node_modules/semver/functions/satisfies.js +10 -0
  882. package/.output/server/node_modules/semver/functions/sort.js +3 -0
  883. package/.output/server/node_modules/semver/functions/valid.js +6 -0
  884. package/.output/server/node_modules/semver/index.js +89 -0
  885. package/.output/server/node_modules/semver/internal/constants.js +35 -0
  886. package/.output/server/node_modules/semver/internal/debug.js +9 -0
  887. package/.output/server/node_modules/semver/internal/identifiers.js +23 -0
  888. package/.output/server/node_modules/semver/internal/lrucache.js +40 -0
  889. package/.output/server/node_modules/semver/internal/parse-options.js +15 -0
  890. package/.output/server/node_modules/semver/internal/re.js +217 -0
  891. package/.output/server/node_modules/semver/package.json +77 -0
  892. package/.output/server/node_modules/semver/preload.js +2 -0
  893. package/.output/server/node_modules/semver/ranges/gtr.js +4 -0
  894. package/.output/server/node_modules/semver/ranges/intersects.js +7 -0
  895. package/.output/server/node_modules/semver/ranges/ltr.js +4 -0
  896. package/.output/server/node_modules/semver/ranges/max-satisfying.js +25 -0
  897. package/.output/server/node_modules/semver/ranges/min-satisfying.js +24 -0
  898. package/.output/server/node_modules/semver/ranges/min-version.js +61 -0
  899. package/.output/server/node_modules/semver/ranges/outside.js +80 -0
  900. package/.output/server/node_modules/semver/ranges/simplify.js +47 -0
  901. package/.output/server/node_modules/semver/ranges/subset.js +247 -0
  902. package/.output/server/node_modules/semver/ranges/to-comparators.js +8 -0
  903. package/.output/server/node_modules/semver/ranges/valid.js +11 -0
  904. package/.output/server/node_modules/shebang-command/index.js +19 -0
  905. package/.output/server/node_modules/shebang-command/package.json +34 -0
  906. package/.output/server/node_modules/shebang-regex/index.js +2 -0
  907. package/.output/server/node_modules/shebang-regex/package.json +35 -0
  908. package/.output/server/node_modules/signal-exit/index.js +202 -0
  909. package/.output/server/node_modules/signal-exit/package.json +38 -0
  910. package/.output/server/node_modules/signal-exit/signals.js +53 -0
  911. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  912. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  913. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  914. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  915. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  916. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  917. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  918. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  919. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  920. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  921. package/.output/server/node_modules/source-map-js/package.json +71 -0
  922. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  923. package/.output/server/node_modules/strip-final-newline/index.js +16 -0
  924. package/.output/server/node_modules/strip-final-newline/package.json +40 -0
  925. package/.output/server/node_modules/stubborn-fs/dist/attemptify.js +19 -0
  926. package/.output/server/node_modules/stubborn-fs/dist/constants.js +8 -0
  927. package/.output/server/node_modules/stubborn-fs/dist/handlers.js +36 -0
  928. package/.output/server/node_modules/stubborn-fs/dist/index.js +53 -0
  929. package/.output/server/node_modules/stubborn-fs/dist/retryify.js +46 -0
  930. package/.output/server/node_modules/stubborn-fs/dist/retryify_queue.js +62 -0
  931. package/.output/server/node_modules/stubborn-fs/package.json +28 -0
  932. package/.output/server/node_modules/tiny-readdir/dist/constants.js +9 -0
  933. package/.output/server/node_modules/tiny-readdir/dist/index.js +185 -0
  934. package/.output/server/node_modules/tiny-readdir/dist/utils.js +9 -0
  935. package/.output/server/node_modules/tiny-readdir/package.json +34 -0
  936. package/.output/server/node_modules/tinyexec/dist/main.js +578 -0
  937. package/.output/server/node_modules/tinyexec/package.json +66 -0
  938. package/.output/server/node_modules/tmp/lib/tmp.js +784 -0
  939. package/.output/server/node_modules/tmp/package.json +56 -0
  940. package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
  941. package/.output/server/node_modules/ufo/package.json +47 -0
  942. package/.output/server/node_modules/unhead/dist/index.mjs +748 -0
  943. package/.output/server/node_modules/unhead/package.json +46 -0
  944. package/.output/server/node_modules/upath/build/code/upath.js +171 -0
  945. package/.output/server/node_modules/upath/package.json +60 -0
  946. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  947. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  948. package/.output/server/node_modules/vue/index.js +7 -0
  949. package/.output/server/node_modules/vue/index.mjs +1 -0
  950. package/.output/server/node_modules/vue/package.json +112 -0
  951. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  952. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  953. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  954. package/.output/server/node_modules/watcher/dist/constants.js +16 -0
  955. package/.output/server/node_modules/watcher/dist/enums.js +35 -0
  956. package/.output/server/node_modules/watcher/dist/lazy_map_set.js +81 -0
  957. package/.output/server/node_modules/watcher/dist/utils.js +120 -0
  958. package/.output/server/node_modules/watcher/dist/watcher.js +396 -0
  959. package/.output/server/node_modules/watcher/dist/watcher_handler.js +248 -0
  960. package/.output/server/node_modules/watcher/dist/watcher_locker.js +139 -0
  961. package/.output/server/node_modules/watcher/dist/watcher_locks_resolver.js +42 -0
  962. package/.output/server/node_modules/watcher/dist/watcher_poller.js +116 -0
  963. package/.output/server/node_modules/watcher/dist/watcher_stats.js +29 -0
  964. package/.output/server/node_modules/watcher/package.json +37 -0
  965. package/.output/server/node_modules/which/package.json +43 -0
  966. package/.output/server/node_modules/which/which.js +125 -0
  967. package/.output/server/node_modules/wrappy/package.json +29 -0
  968. package/.output/server/node_modules/wrappy/wrappy.js +33 -0
  969. package/.output/server/node_modules/zod/lib/index.mjs +4382 -0
  970. package/.output/server/node_modules/zod/package.json +122 -0
  971. package/.output/server/package.json +1 -0
  972. package/package.json +4 -4
@@ -0,0 +1,396 @@
1
+ /* IMPORT */
2
+ import { EventEmitter } from 'node:events';
3
+ import fs from 'node:fs';
4
+ import path from 'node:path';
5
+ import { DEPTH, LIMIT, HAS_NATIVE_RECURSION, POLLING_INTERVAL } from './constants.js';
6
+ import { TargetEvent, WatcherEvent } from './enums.js';
7
+ import Utils from './utils.js';
8
+ import WatcherHandler from './watcher_handler.js';
9
+ import WatcherLocker from './watcher_locker.js';
10
+ import WatcherPoller from './watcher_poller.js';
11
+ /* MAIN */
12
+ class Watcher extends EventEmitter {
13
+ /* CONSTRUCTOR */
14
+ constructor(target, options, handler) {
15
+ super();
16
+ this._closed = false;
17
+ this._ready = false;
18
+ this._closeAborter = new AbortController();
19
+ this._closeSignal = this._closeAborter.signal;
20
+ this.on(WatcherEvent.CLOSE, () => this._closeAborter.abort());
21
+ this._closeWait = new Promise(resolve => this.on(WatcherEvent.CLOSE, resolve));
22
+ this._readyWait = new Promise(resolve => this.on(WatcherEvent.READY, resolve));
23
+ this._locker = new WatcherLocker(this);
24
+ this._roots = new Set();
25
+ this._poller = new WatcherPoller();
26
+ this._pollers = new Set();
27
+ this._subwatchers = new Set();
28
+ this._watchers = {};
29
+ this._watchersLock = Promise.resolve();
30
+ this._watchersRestorable = {};
31
+ this.watch(target, options, handler);
32
+ }
33
+ /* API */
34
+ isClosed() {
35
+ return this._closed;
36
+ }
37
+ isIgnored(targetPath, ignore) {
38
+ return !!ignore && (Utils.lang.isFunction(ignore) ? !!ignore(targetPath) : ignore.test(targetPath));
39
+ }
40
+ isReady() {
41
+ return this._ready;
42
+ }
43
+ close() {
44
+ this._locker.reset();
45
+ this._poller.reset();
46
+ this._roots.clear();
47
+ this.watchersClose();
48
+ if (this.isClosed())
49
+ return false;
50
+ this._closed = true;
51
+ return this.emit(WatcherEvent.CLOSE);
52
+ }
53
+ error(exception) {
54
+ if (this.isClosed())
55
+ return false;
56
+ const error = Utils.lang.castError(exception);
57
+ return this.emit(WatcherEvent.ERROR, error);
58
+ }
59
+ event(event, targetPath, targetPathNext) {
60
+ if (this.isClosed())
61
+ return false;
62
+ this.emit(WatcherEvent.ALL, event, targetPath, targetPathNext);
63
+ return this.emit(event, targetPath, targetPathNext);
64
+ }
65
+ ready() {
66
+ if (this.isClosed() || this.isReady())
67
+ return false;
68
+ this._ready = true;
69
+ return this.emit(WatcherEvent.READY);
70
+ }
71
+ pollerExists(targetPath, options) {
72
+ for (const poller of this._pollers) {
73
+ if (poller.targetPath !== targetPath)
74
+ continue;
75
+ if (!Utils.lang.isShallowEqual(poller.options, options))
76
+ continue;
77
+ return true;
78
+ }
79
+ return false;
80
+ }
81
+ subwatcherExists(targetPath, options) {
82
+ for (const subwatcher of this._subwatchers) {
83
+ if (subwatcher.targetPath !== targetPath)
84
+ continue;
85
+ if (!Utils.lang.isShallowEqual(subwatcher.options, options))
86
+ continue;
87
+ return true;
88
+ }
89
+ return false;
90
+ }
91
+ watchersClose(folderPath, filePath, recursive = true) {
92
+ if (!folderPath) {
93
+ for (const folderPath in this._watchers) {
94
+ this.watchersClose(folderPath, filePath, false);
95
+ }
96
+ }
97
+ else {
98
+ const configs = this._watchers[folderPath];
99
+ if (configs) {
100
+ for (const config of [...configs]) { // It's important to clone the array, as items will be deleted from it also
101
+ if (filePath && config.filePath !== filePath)
102
+ continue;
103
+ this.watcherClose(config);
104
+ }
105
+ }
106
+ if (recursive) {
107
+ for (const folderPathOther in this._watchers) {
108
+ if (!Utils.fs.isSubPath(folderPath, folderPathOther))
109
+ continue;
110
+ this.watchersClose(folderPathOther, filePath, false);
111
+ }
112
+ }
113
+ }
114
+ }
115
+ watchersLock(callback) {
116
+ return this._watchersLock.then(() => {
117
+ return this._watchersLock = new Promise(async (resolve) => {
118
+ await callback();
119
+ resolve();
120
+ });
121
+ });
122
+ }
123
+ watchersRestore() {
124
+ delete this._watchersRestoreTimeout;
125
+ const watchers = Object.entries(this._watchersRestorable);
126
+ this._watchersRestorable = {};
127
+ for (const [targetPath, config] of watchers) {
128
+ this.watchPath(targetPath, config.options, config.handler);
129
+ }
130
+ }
131
+ async watcherAdd(config, baseWatcherHandler) {
132
+ const { folderPath } = config;
133
+ const configs = this._watchers[folderPath] = (this._watchers[folderPath] || []);
134
+ configs.push(config);
135
+ const watcherHandler = new WatcherHandler(this, config, baseWatcherHandler);
136
+ await watcherHandler.init();
137
+ return watcherHandler;
138
+ }
139
+ watcherClose(config) {
140
+ config.watcher.close();
141
+ const configs = this._watchers[config.folderPath];
142
+ if (configs) {
143
+ const index = configs.indexOf(config);
144
+ configs.splice(index, 1);
145
+ if (!configs.length) {
146
+ delete this._watchers[config.folderPath];
147
+ }
148
+ }
149
+ const rootPath = config.filePath || config.folderPath;
150
+ const isRoot = this._roots.has(rootPath);
151
+ if (isRoot) {
152
+ this._watchersRestorable[rootPath] = config;
153
+ if (!this._watchersRestoreTimeout) {
154
+ this._watchersRestoreTimeout = Utils.lang.defer(() => this.watchersRestore());
155
+ }
156
+ }
157
+ }
158
+ watcherExists(folderPath, options, handler, filePath) {
159
+ const configsSibling = this._watchers[folderPath];
160
+ if (!!configsSibling?.find(config => config.handler === handler && (!config.filePath || config.filePath === filePath) && config.options.ignore === options.ignore && !!config.options.native === !!options.native && (!options.recursive || config.options.recursive)))
161
+ return true;
162
+ let folderAncestorPath = path.dirname(folderPath);
163
+ for (let depth = 1; depth < Infinity; depth++) {
164
+ const configsAncestor = this._watchers[folderAncestorPath];
165
+ if (!!configsAncestor?.find(config => (depth === 1 || (config.options.recursive && depth <= (config.options.depth ?? DEPTH))) && config.handler === handler && (!config.filePath || config.filePath === filePath) && config.options.ignore === options.ignore && !!config.options.native === !!options.native && (!options.recursive || (config.options.recursive && (HAS_NATIVE_RECURSION && config.options.native !== false)))))
166
+ return true;
167
+ if (!HAS_NATIVE_RECURSION)
168
+ break; // No other ancestor will possibly be found
169
+ const folderAncestorPathNext = path.dirname(folderPath);
170
+ if (folderAncestorPath === folderAncestorPathNext)
171
+ break;
172
+ folderAncestorPath = folderAncestorPathNext;
173
+ }
174
+ return false;
175
+ }
176
+ async watchDirectories(foldersPaths, options, handler, filePath, baseWatcherHandler) {
177
+ if (this.isClosed())
178
+ return;
179
+ foldersPaths = Utils.lang.uniq(foldersPaths).sort();
180
+ let watcherHandlerLast;
181
+ for (const folderPath of foldersPaths) {
182
+ if (this.isIgnored(folderPath, options.ignore))
183
+ continue;
184
+ if (this.watcherExists(folderPath, options, handler, filePath))
185
+ continue;
186
+ try {
187
+ const watcherOptions = (!options.recursive || (HAS_NATIVE_RECURSION && options.native !== false)) ? options : { ...options, recursive: false }; // Ensuring recursion is explicitly disabled if not available
188
+ const watcher = fs.watch(folderPath, watcherOptions);
189
+ const watcherConfig = { watcher, handler, options, folderPath, filePath };
190
+ const watcherHandler = watcherHandlerLast = await this.watcherAdd(watcherConfig, baseWatcherHandler);
191
+ const isRoot = this._roots.has(filePath || folderPath);
192
+ if (isRoot) {
193
+ const parentOptions = { ...options, ignoreInitial: true, recursive: false }; // Ensuring only the parent folder is being watched
194
+ const parentFolderPath = path.dirname(folderPath);
195
+ const parentFilePath = folderPath;
196
+ await this.watchDirectories([parentFolderPath], parentOptions, handler, parentFilePath, watcherHandler);
197
+ //TODO: Watch parents recursively with the following code, which requires other things to be changed too though
198
+ // while ( true ) {
199
+ // await this.watchDirectories ( [parentFolderPath], parentOptions, handler, parentFilePath, watcherHandler );
200
+ // const parentFolderPathNext = path.dirname ( parentFolderPath );
201
+ // if ( parentFolderPath === parentFolderPathNext ) break;
202
+ // parentFilePath = parentFolderPath;
203
+ // parentFolderPath = parentFolderPathNext;
204
+ // }
205
+ }
206
+ }
207
+ catch (error) {
208
+ this.error(error);
209
+ }
210
+ }
211
+ return watcherHandlerLast;
212
+ }
213
+ async watchDirectory(folderPath, options, handler, filePath, baseWatcherHandler) {
214
+ if (this.isClosed())
215
+ return;
216
+ if (this.isIgnored(folderPath, options.ignore))
217
+ return;
218
+ if (!options.recursive || (HAS_NATIVE_RECURSION && options.native !== false)) {
219
+ return this.watchersLock(() => {
220
+ return this.watchDirectories([folderPath], options, handler, filePath, baseWatcherHandler);
221
+ });
222
+ }
223
+ else {
224
+ options = { ...options, recursive: true }; // Ensuring recursion is explicitly enabled
225
+ const depth = options.depth ?? DEPTH;
226
+ const limit = options.limit ?? LIMIT;
227
+ const [folderSubPaths] = await Utils.fs.readdir(folderPath, options.ignore, depth, limit, this._closeSignal, options.readdirMap);
228
+ return this.watchersLock(async () => {
229
+ const watcherHandler = await this.watchDirectories([folderPath], options, handler, filePath, baseWatcherHandler);
230
+ if (folderSubPaths.length) {
231
+ const folderPathDepth = Utils.fs.getDepth(folderPath);
232
+ for (const folderSubPath of folderSubPaths) {
233
+ const folderSubPathDepth = Utils.fs.getDepth(folderSubPath);
234
+ const subDepth = Math.max(0, depth - (folderSubPathDepth - folderPathDepth));
235
+ const subOptions = { ...options, depth: subDepth }; // Updating the maximum depth to account for depth of the sub path
236
+ await this.watchDirectories([folderSubPath], subOptions, handler, filePath, baseWatcherHandler || watcherHandler);
237
+ }
238
+ }
239
+ });
240
+ }
241
+ }
242
+ async watchFileOnce(filePath, options, callback) {
243
+ if (this.isClosed())
244
+ return;
245
+ options = { ...options, ignoreInitial: false }; // Ensuring initial events are detected too
246
+ if (this.subwatcherExists(filePath, options))
247
+ return;
248
+ const config = { targetPath: filePath, options };
249
+ const handler = (event, targetPath) => {
250
+ if (targetPath !== filePath)
251
+ return;
252
+ stop();
253
+ callback();
254
+ };
255
+ const watcher = new Watcher(handler);
256
+ const start = () => {
257
+ this._subwatchers.add(config);
258
+ this.on(WatcherEvent.CLOSE, stop); // Ensuring the subwatcher is stopped on close
259
+ watcher.watchFile(filePath, options, handler);
260
+ };
261
+ const stop = () => {
262
+ this._subwatchers.delete(config);
263
+ this.removeListener(WatcherEvent.CLOSE, stop); // Ensuring there are no leftover listeners
264
+ watcher.close();
265
+ };
266
+ return start();
267
+ }
268
+ async watchFile(filePath, options, handler) {
269
+ if (this.isClosed())
270
+ return;
271
+ if (this.isIgnored(filePath, options.ignore))
272
+ return;
273
+ options = { ...options, recursive: false }; // Ensuring recursion is explicitly disabled
274
+ const folderPath = path.dirname(filePath);
275
+ return this.watchDirectory(folderPath, options, handler, filePath);
276
+ }
277
+ async watchPollingOnce(targetPath, options, callback) {
278
+ if (this.isClosed())
279
+ return;
280
+ let isDone = false;
281
+ const poller = new WatcherPoller();
282
+ const disposer = await this.watchPolling(targetPath, options, async () => {
283
+ if (isDone)
284
+ return;
285
+ const events = await poller.update(targetPath, options.pollingTimeout);
286
+ if (!events.length)
287
+ return; // Nothing actually changed, skipping
288
+ if (isDone)
289
+ return; // Another async callback has done the work already, skipping
290
+ isDone = true;
291
+ disposer();
292
+ callback();
293
+ });
294
+ }
295
+ async watchPolling(targetPath, options, callback) {
296
+ if (this.isClosed())
297
+ return Utils.lang.noop;
298
+ if (this.pollerExists(targetPath, options))
299
+ return Utils.lang.noop;
300
+ const watcherOptions = { ...options, interval: options.pollingInterval ?? POLLING_INTERVAL }; // Ensuring a default interval is set
301
+ const config = { targetPath, options };
302
+ const start = () => {
303
+ this._pollers.add(config);
304
+ this.on(WatcherEvent.CLOSE, stop); // Ensuring polling is stopped on close
305
+ fs.watchFile(targetPath, watcherOptions, callback);
306
+ };
307
+ const stop = () => {
308
+ this._pollers.delete(config);
309
+ this.removeListener(WatcherEvent.CLOSE, stop); // Ensuring there are no leftover listeners
310
+ fs.unwatchFile(targetPath, callback);
311
+ };
312
+ Utils.lang.attempt(start);
313
+ return () => Utils.lang.attempt(stop);
314
+ }
315
+ async watchUnknownChild(targetPath, options, handler) {
316
+ if (this.isClosed())
317
+ return;
318
+ const watch = () => this.watchPath(targetPath, options, handler);
319
+ return this.watchFileOnce(targetPath, options, watch);
320
+ }
321
+ async watchUnknownTarget(targetPath, options, handler) {
322
+ if (this.isClosed())
323
+ return;
324
+ const watch = () => this.watchPath(targetPath, options, handler);
325
+ return this.watchPollingOnce(targetPath, options, watch);
326
+ }
327
+ async watchPaths(targetPaths, options, handler) {
328
+ if (this.isClosed())
329
+ return;
330
+ targetPaths = Utils.lang.uniq(targetPaths).sort();
331
+ const isParallelizable = targetPaths.every((targetPath, index) => targetPaths.every((t, i) => i === index || !Utils.fs.isSubPath(targetPath, t))); // All paths are about separate subtrees, so we can start watching in parallel safely //TODO: Find parallelizable chunks rather than using an all or nothing approach
332
+ if (isParallelizable) { // Watching in parallel
333
+ await Promise.all(targetPaths.map(targetPath => {
334
+ return this.watchPath(targetPath, options, handler);
335
+ }));
336
+ }
337
+ else { // Watching serially
338
+ for (const targetPath of targetPaths) {
339
+ await this.watchPath(targetPath, options, handler);
340
+ }
341
+ }
342
+ }
343
+ async watchPath(targetPath, options, handler) {
344
+ if (this.isClosed())
345
+ return;
346
+ targetPath = path.resolve(targetPath);
347
+ if (this.isIgnored(targetPath, options.ignore))
348
+ return;
349
+ const stats = await Utils.fs.poll(targetPath, options.pollingTimeout);
350
+ if (!stats) {
351
+ const parentPath = path.dirname(targetPath);
352
+ const parentStats = await Utils.fs.poll(parentPath, options.pollingTimeout);
353
+ if (parentStats?.isDirectory()) {
354
+ return this.watchUnknownChild(targetPath, options, handler);
355
+ }
356
+ else {
357
+ return this.watchUnknownTarget(targetPath, options, handler);
358
+ }
359
+ }
360
+ else if (stats.isFile()) {
361
+ return this.watchFile(targetPath, options, handler);
362
+ }
363
+ else if (stats.isDirectory()) {
364
+ return this.watchDirectory(targetPath, options, handler);
365
+ }
366
+ else {
367
+ this.error(`"${targetPath}" is not supported`);
368
+ }
369
+ }
370
+ async watch(target, options, handler = Utils.lang.noop) {
371
+ if (Utils.lang.isFunction(target))
372
+ return this.watch([], {}, target);
373
+ if (Utils.lang.isUndefined(target))
374
+ return this.watch([], options, handler);
375
+ if (Utils.lang.isFunction(options))
376
+ return this.watch(target, {}, options);
377
+ if (Utils.lang.isUndefined(options))
378
+ return this.watch(target, {}, handler);
379
+ if (this.isClosed())
380
+ return;
381
+ if (this.isReady())
382
+ options.readdirMap = undefined; // Only usable before initialization
383
+ const targetPaths = Utils.lang.castArray(target);
384
+ targetPaths.forEach(targetPath => this._roots.add(targetPath));
385
+ await this.watchPaths(targetPaths, options, handler);
386
+ if (this.isClosed())
387
+ return;
388
+ if (handler !== Utils.lang.noop) {
389
+ this.on(WatcherEvent.ALL, handler);
390
+ }
391
+ options.readdirMap = undefined; // Only usable before initialization
392
+ this.ready();
393
+ }
394
+ }
395
+ /* EXPORT */
396
+ export default Watcher;
@@ -0,0 +1,248 @@
1
+ /* IMPORT */
2
+ import path from 'node:path';
3
+ import { DEBOUNCE, DEPTH, LIMIT, HAS_NATIVE_RECURSION, IS_WINDOWS } from './constants.js';
4
+ import { FSTargetEvent, FSWatcherEvent, TargetEvent } from './enums.js';
5
+ import Utils from './utils.js';
6
+ /* MAIN */
7
+ class WatcherHandler {
8
+ /* CONSTRUCTOR */
9
+ constructor(watcher, config, base) {
10
+ this.base = base;
11
+ this.watcher = watcher;
12
+ this.handler = config.handler;
13
+ this.fswatcher = config.watcher;
14
+ this.options = config.options;
15
+ this.folderPath = config.folderPath;
16
+ this.filePath = config.filePath;
17
+ this.handlerBatched = this.base ? this.base.onWatcherEvent.bind(this.base) : this._makeHandlerBatched(this.options.debounce); //UGLY
18
+ }
19
+ /* HELPERS */
20
+ _isSubRoot(targetPath) {
21
+ if (this.filePath) {
22
+ return targetPath === this.filePath;
23
+ }
24
+ else {
25
+ return targetPath === this.folderPath || Utils.fs.isSubPath(this.folderPath, targetPath);
26
+ }
27
+ }
28
+ _makeHandlerBatched(delay = DEBOUNCE) {
29
+ return (() => {
30
+ let lock = this.watcher._readyWait; // ~Ensuring no two flushes are active in parallel, or before the watcher is ready
31
+ let initials = [];
32
+ let regulars = new Set();
33
+ const flush = async (initials, regulars) => {
34
+ const initialEvents = this.options.ignoreInitial ? [] : initials;
35
+ const regularEvents = await this.eventsPopulate([...regulars]);
36
+ const events = this.eventsDeduplicate([...initialEvents, ...regularEvents]);
37
+ this.onTargetEvents(events);
38
+ };
39
+ const flushDebounced = Utils.lang.debounce(() => {
40
+ if (this.watcher.isClosed())
41
+ return;
42
+ lock = flush(initials, regulars);
43
+ initials = [];
44
+ regulars = new Set();
45
+ }, delay);
46
+ return async (event, targetPath = '', isInitial = false) => {
47
+ if (isInitial) { // Poll immediately
48
+ await this.eventsPopulate([targetPath], initials, true);
49
+ }
50
+ else { // Poll later
51
+ regulars.add(targetPath);
52
+ }
53
+ lock.then(flushDebounced);
54
+ };
55
+ })();
56
+ }
57
+ /* EVENT HELPERS */
58
+ eventsDeduplicate(events) {
59
+ if (events.length < 2)
60
+ return events;
61
+ const targetsEventPrev = {};
62
+ return events.reduce((acc, event) => {
63
+ const [targetEvent, targetPath] = event;
64
+ const targetEventPrev = targetsEventPrev[targetPath];
65
+ if (targetEvent === targetEventPrev)
66
+ return acc; // Same event, ignoring
67
+ if (targetEvent === TargetEvent.CHANGE && targetEventPrev === TargetEvent.ADD)
68
+ return acc; // "change" after "add", ignoring
69
+ targetsEventPrev[targetPath] = targetEvent;
70
+ acc.push(event);
71
+ return acc;
72
+ }, []);
73
+ }
74
+ async eventsPopulate(targetPaths, events = [], isInitial = false) {
75
+ await Promise.all(targetPaths.map(async (targetPath) => {
76
+ const targetEvents = await this.watcher._poller.update(targetPath, this.options.pollingTimeout);
77
+ await Promise.all(targetEvents.map(async (event) => {
78
+ events.push([event, targetPath]);
79
+ if (event === TargetEvent.ADD_DIR) {
80
+ await this.eventsPopulateAddDir(targetPaths, targetPath, events, isInitial);
81
+ }
82
+ else if (event === TargetEvent.UNLINK_DIR) {
83
+ await this.eventsPopulateUnlinkDir(targetPaths, targetPath, events, isInitial);
84
+ }
85
+ }));
86
+ }));
87
+ return events;
88
+ }
89
+ ;
90
+ async eventsPopulateAddDir(targetPaths, targetPath, events = [], isInitial = false) {
91
+ if (isInitial)
92
+ return events;
93
+ const depth = this.options.recursive ? this.options.depth ?? DEPTH : Math.min(1, this.options.depth ?? DEPTH);
94
+ const limit = this.options.limit ?? LIMIT;
95
+ const [directories, files] = await Utils.fs.readdir(targetPath, this.options.ignore, depth, limit, this.watcher._closeSignal);
96
+ const targetSubPaths = [...directories, ...files];
97
+ await Promise.all(targetSubPaths.map(targetSubPath => {
98
+ if (this.watcher.isIgnored(targetSubPath, this.options.ignore))
99
+ return;
100
+ if (targetPaths.includes(targetSubPath))
101
+ return;
102
+ return this.eventsPopulate([targetSubPath], events, true);
103
+ }));
104
+ return events;
105
+ }
106
+ async eventsPopulateUnlinkDir(targetPaths, targetPath, events = [], isInitial = false) {
107
+ if (isInitial)
108
+ return events;
109
+ for (const folderPathOther of this.watcher._poller.stats.keys()) {
110
+ if (!Utils.fs.isSubPath(targetPath, folderPathOther))
111
+ continue;
112
+ if (targetPaths.includes(folderPathOther))
113
+ continue;
114
+ await this.eventsPopulate([folderPathOther], events, true);
115
+ }
116
+ return events;
117
+ }
118
+ /* EVENT HANDLERS */
119
+ onTargetAdd(targetPath) {
120
+ if (this._isSubRoot(targetPath)) {
121
+ if (this.options.renameDetection) {
122
+ this.watcher._locker.getLockTargetAdd(targetPath, this.options.renameTimeout);
123
+ }
124
+ else {
125
+ this.watcher.event(TargetEvent.ADD, targetPath);
126
+ }
127
+ }
128
+ }
129
+ onTargetAddDir(targetPath) {
130
+ if (targetPath !== this.folderPath && this.options.recursive && (!HAS_NATIVE_RECURSION && this.options.native !== false)) {
131
+ this.watcher.watchDirectory(targetPath, this.options, this.handler, undefined, this.base || this);
132
+ }
133
+ if (this._isSubRoot(targetPath)) {
134
+ if (this.options.renameDetection) {
135
+ this.watcher._locker.getLockTargetAddDir(targetPath, this.options.renameTimeout);
136
+ }
137
+ else {
138
+ this.watcher.event(TargetEvent.ADD_DIR, targetPath);
139
+ }
140
+ }
141
+ }
142
+ onTargetChange(targetPath) {
143
+ if (this._isSubRoot(targetPath)) {
144
+ this.watcher.event(TargetEvent.CHANGE, targetPath);
145
+ }
146
+ }
147
+ onTargetUnlink(targetPath) {
148
+ this.watcher.watchersClose(path.dirname(targetPath), targetPath, false);
149
+ if (this._isSubRoot(targetPath)) {
150
+ if (this.options.renameDetection) {
151
+ this.watcher._locker.getLockTargetUnlink(targetPath, this.options.renameTimeout);
152
+ }
153
+ else {
154
+ this.watcher.event(TargetEvent.UNLINK, targetPath);
155
+ }
156
+ }
157
+ }
158
+ onTargetUnlinkDir(targetPath) {
159
+ this.watcher.watchersClose(path.dirname(targetPath), targetPath, false);
160
+ this.watcher.watchersClose(targetPath);
161
+ if (this._isSubRoot(targetPath)) {
162
+ if (this.options.renameDetection) {
163
+ this.watcher._locker.getLockTargetUnlinkDir(targetPath, this.options.renameTimeout);
164
+ }
165
+ else {
166
+ this.watcher.event(TargetEvent.UNLINK_DIR, targetPath);
167
+ }
168
+ }
169
+ }
170
+ onTargetEvent(event) {
171
+ const [targetEvent, targetPath] = event;
172
+ if (targetEvent === TargetEvent.ADD) {
173
+ this.onTargetAdd(targetPath);
174
+ }
175
+ else if (targetEvent === TargetEvent.ADD_DIR) {
176
+ this.onTargetAddDir(targetPath);
177
+ }
178
+ else if (targetEvent === TargetEvent.CHANGE) {
179
+ this.onTargetChange(targetPath);
180
+ }
181
+ else if (targetEvent === TargetEvent.UNLINK) {
182
+ this.onTargetUnlink(targetPath);
183
+ }
184
+ else if (targetEvent === TargetEvent.UNLINK_DIR) {
185
+ this.onTargetUnlinkDir(targetPath);
186
+ }
187
+ }
188
+ onTargetEvents(events) {
189
+ for (const event of events) {
190
+ this.onTargetEvent(event);
191
+ }
192
+ }
193
+ onWatcherEvent(event, targetPath, isInitial = false) {
194
+ return this.handlerBatched(event, targetPath, isInitial);
195
+ }
196
+ onWatcherChange(event = FSTargetEvent.CHANGE, targetName) {
197
+ if (this.watcher.isClosed())
198
+ return;
199
+ const targetPath = path.resolve(this.folderPath, targetName || '');
200
+ if (this.filePath && targetPath !== this.folderPath && targetPath !== this.filePath)
201
+ return;
202
+ if (this.watcher.isIgnored(targetPath, this.options.ignore))
203
+ return;
204
+ this.onWatcherEvent(event, targetPath);
205
+ }
206
+ onWatcherError(error) {
207
+ if (IS_WINDOWS && error.code === 'EPERM') { // This may happen when a folder is deleted
208
+ this.onWatcherChange(FSTargetEvent.CHANGE, '');
209
+ }
210
+ else {
211
+ this.watcher.error(error);
212
+ }
213
+ }
214
+ /* API */
215
+ async init() {
216
+ await this.initWatcherEvents();
217
+ await this.initInitialEvents();
218
+ }
219
+ async initWatcherEvents() {
220
+ const onChange = this.onWatcherChange.bind(this);
221
+ this.fswatcher.on(FSWatcherEvent.CHANGE, onChange);
222
+ const onError = this.onWatcherError.bind(this);
223
+ this.fswatcher.on(FSWatcherEvent.ERROR, onError);
224
+ }
225
+ async initInitialEvents() {
226
+ const isInitial = !this.watcher.isReady(); // "isInitial" => is ignorable via the "ignoreInitial" option
227
+ if (this.filePath) { // Single initial path
228
+ if (this.watcher._poller.stats.has(this.filePath))
229
+ return; // Already polled
230
+ await this.onWatcherEvent(FSTargetEvent.CHANGE, this.filePath, isInitial);
231
+ }
232
+ else { // Multiple initial paths
233
+ const depth = this.options.recursive && (HAS_NATIVE_RECURSION && this.options.native !== false) ? this.options.depth ?? DEPTH : Math.min(1, this.options.depth ?? DEPTH);
234
+ const limit = this.options.limit ?? LIMIT;
235
+ const [directories, files] = await Utils.fs.readdir(this.folderPath, this.options.ignore, depth, limit, this.watcher._closeSignal, this.options.readdirMap);
236
+ const targetPaths = [this.folderPath, ...directories, ...files];
237
+ await Promise.all(targetPaths.map(targetPath => {
238
+ if (this.watcher._poller.stats.has(targetPath))
239
+ return; // Already polled
240
+ if (this.watcher.isIgnored(targetPath, this.options.ignore))
241
+ return;
242
+ return this.onWatcherEvent(FSTargetEvent.CHANGE, targetPath, isInitial);
243
+ }));
244
+ }
245
+ }
246
+ }
247
+ /* EXPORT */
248
+ export default WatcherHandler;