@mininglamp-oss/octo-runtime 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1094) hide show
  1. package/README.md +120 -18
  2. package/apps/cli/README.md +43 -215
  3. package/apps/cli/dist/build-info.json +3 -2
  4. package/apps/cli/dist/extras.d.ts +1 -1
  5. package/apps/cli/dist/extras.js +7 -2
  6. package/apps/cli/dist/foreground.d.ts +4 -0
  7. package/apps/cli/dist/foreground.js +57 -0
  8. package/apps/cli/dist/help.d.ts +1 -14
  9. package/apps/cli/dist/help.js +84 -156
  10. package/apps/cli/dist/index.js +12 -1
  11. package/apps/cli/dist/main.d.ts +5 -13
  12. package/apps/cli/dist/main.js +355 -447
  13. package/apps/{daemon → cli}/dist/openclaw.d.ts +1 -1
  14. package/apps/cli/dist/output.d.ts +20 -0
  15. package/apps/cli/dist/output.js +187 -0
  16. package/apps/cli/dist/playboard.js +26 -13
  17. package/apps/cli/dist/service-control.d.ts +2 -5
  18. package/apps/cli/dist/service-control.js +28 -33
  19. package/apps/cli/dist/state.d.ts +1 -0
  20. package/apps/cli/dist/state.js +4 -4
  21. package/dist/public/channel-gateway.d.ts +3 -0
  22. package/dist/public/channel-gateway.js +1 -0
  23. package/dist/public/channel-wecom.d.ts +2 -0
  24. package/dist/public/channel-wecom.js +1 -0
  25. package/dist/public/executor-core.d.ts +2 -0
  26. package/dist/public/executor-core.js +1 -0
  27. package/dist/public/executor-kernel.d.ts +4 -0
  28. package/dist/public/executor-kernel.js +2 -0
  29. package/dist/public/extra.d.ts +3 -3
  30. package/dist/public/extra.js +1 -1
  31. package/dist/public/host.d.ts +6 -0
  32. package/dist/public/host.js +3 -0
  33. package/dist/public/webui.d.ts +1 -0
  34. package/dist/public/webui.js +1 -0
  35. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.d.ts +4 -1
  36. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/dist/index.js +14 -7
  37. package/node_modules/@mininglamp-oss/octo-runtime-acp-client/package.json +3 -3
  38. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.d.ts +2 -2
  39. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/dist/index.js +5 -4
  40. package/node_modules/@mininglamp-oss/octo-runtime-adapter-acp/package.json +4 -4
  41. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.d.ts +3 -3
  42. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/dist/index.js +5 -1
  43. package/node_modules/@mininglamp-oss/octo-runtime-adapter-antigravity/package.json +3 -3
  44. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/dist/index.js +2 -1
  45. package/node_modules/@mininglamp-oss/octo-runtime-adapter-claude-code/package.json +3 -3
  46. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.d.ts +3 -3
  47. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/dist/index.js +3 -2
  48. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codebuddy/package.json +4 -4
  49. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/dist/app-server.js +19 -6
  50. package/node_modules/@mininglamp-oss/octo-runtime-adapter-codex/package.json +3 -3
  51. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/dist/index.d.ts +1 -1
  52. package/node_modules/@mininglamp-oss/octo-runtime-adapter-hermes/package.json +2 -2
  53. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/dist/index.d.ts +1 -1
  54. package/node_modules/@mininglamp-oss/octo-runtime-adapter-kimi-code/package.json +2 -2
  55. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/dist/index.d.ts +1 -1
  56. package/node_modules/@mininglamp-oss/octo-runtime-adapter-mcode/package.json +2 -2
  57. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/dist/index.js +2 -0
  58. package/node_modules/@mininglamp-oss/octo-runtime-adapter-openclaw/package.json +4 -4
  59. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/dist/index.js +1 -1
  60. package/node_modules/@mininglamp-oss/octo-runtime-adapter-opencode/package.json +4 -4
  61. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/dist/index.d.ts +1 -1
  62. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qodercli/package.json +2 -2
  63. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/dist/index.d.ts +1 -1
  64. package/node_modules/@mininglamp-oss/octo-runtime-adapter-qoderclicn/package.json +2 -2
  65. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/activity.d.ts +2 -1
  66. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.d.ts +3 -1
  67. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/index.js +5 -3
  68. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/line-limit.js +15 -4
  69. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/native.d.ts +4 -1
  70. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/native.js +52 -10
  71. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-cleanup.d.ts +3 -2
  72. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/dist/process-cleanup.js +19 -1
  73. package/node_modules/@mininglamp-oss/octo-runtime-adapter-sdk/package.json +2 -2
  74. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.d.ts +1 -1
  75. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/dist/app-server.js +35 -11
  76. package/node_modules/@mininglamp-oss/octo-runtime-adapter-zcode-gui/package.json +3 -3
  77. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/build-info.json +3 -2
  78. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.d.ts +1 -1
  79. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/extras.js +7 -2
  80. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.d.ts +4 -0
  81. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/foreground.js +57 -0
  82. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.d.ts +1 -14
  83. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/help.js +84 -156
  84. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/index.js +12 -1
  85. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.d.ts +5 -13
  86. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/main.js +355 -447
  87. package/node_modules/@mininglamp-oss/{octo-runtime-daemon-app → octo-runtime-cli}/dist/openclaw.d.ts +1 -1
  88. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.d.ts +20 -0
  89. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/output.js +187 -0
  90. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/playboard.js +26 -13
  91. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.d.ts +2 -5
  92. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/service-control.js +28 -33
  93. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.d.ts +1 -0
  94. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/state.js +4 -4
  95. package/node_modules/@mininglamp-oss/octo-runtime-cli/package.json +10 -8
  96. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.d.ts +2 -0
  97. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/common.js +8 -3
  98. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/launchd.js +19 -6
  99. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.d.ts +2 -2
  100. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/systemd.js +47 -8
  101. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.d.ts +3 -3
  102. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/dist/windows-task.js +63 -12
  103. package/node_modules/@mininglamp-oss/octo-runtime-cross-service/package.json +1 -1
  104. package/node_modules/@mininglamp-oss/{octo-runtime-core → octo-runtime-executor-core}/dist/context.d.ts +5 -0
  105. package/node_modules/@mininglamp-oss/{octo-runtime-core → octo-runtime-executor-core}/dist/context.js +5 -0
  106. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/index.d.ts +28 -16
  107. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/index.js +255 -112
  108. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/invoke-input.d.ts +11 -0
  109. package/node_modules/@mininglamp-oss/{octo-runtime-core → octo-runtime-executor-core}/dist/invoke-input.js +5 -1
  110. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/dist/model-input.d.ts +8 -0
  111. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/model-input.js +5 -2
  112. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/watchdog.d.ts +4 -1
  113. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/watchdog.js +4 -1
  114. package/node_modules/@mininglamp-oss/octo-runtime-executor-core/package.json +15 -0
  115. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.d.ts +8 -0
  116. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/client.js +442 -0
  117. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.d.ts +2 -0
  118. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/endpoint.js +108 -0
  119. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/host-run-service.d.ts +16 -9
  120. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/host-run-service.js +37 -13
  121. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.d.ts +13 -0
  122. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/index.js +13 -0
  123. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.d.ts +53 -0
  124. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/invocation-lifecycle.js +279 -0
  125. package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-executor-kernel}/dist/invocation-manifest.d.ts +10 -2
  126. package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-executor-kernel}/dist/invocation-manifest.js +21 -13
  127. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.d.ts +23 -0
  128. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/lifecycle.js +23 -0
  129. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.d.ts +2 -0
  130. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/module-specifier.js +9 -0
  131. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/process.d.ts +30 -0
  132. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/process.js +18 -15
  133. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/rpc.d.ts +15 -12
  134. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/rpc.js +109 -26
  135. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runner.js +8 -12
  136. package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runtime-configuration.js +32 -1
  137. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.d.ts +10 -0
  138. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/serve.js +65 -0
  139. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.d.ts +19 -0
  140. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/server.js +428 -0
  141. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.d.ts +15 -0
  142. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/service.js +104 -0
  143. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.d.ts +13 -0
  144. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/supervisor.js +168 -0
  145. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.d.ts +72 -0
  146. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/dist/types.js +10 -0
  147. package/node_modules/@mininglamp-oss/octo-runtime-executor-kernel/package.json +37 -0
  148. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.d.ts +34 -0
  149. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/context-gap.js +124 -0
  150. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.d.ts +17 -0
  151. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/host-session-store.js +123 -0
  152. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.d.ts +4 -0
  153. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/im-channel.js +322 -53
  154. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.d.ts +25 -0
  155. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/rules-context.js +39 -0
  156. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.d.ts +29 -1
  157. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/application/session-store.js +60 -0
  158. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/contracts.d.ts +21 -10
  159. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.d.ts +2 -1
  160. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/delivery/dispatcher.js +3 -2
  161. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/dispatcher.js +54 -4
  162. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.d.ts +6 -3
  163. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/execution/task.js +40 -8
  164. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.d.ts +3 -2
  165. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/extra.js +3 -2
  166. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/index.d.ts +4 -1
  167. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.d.ts +4 -4
  168. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/lifecycle/manager.js +77 -17
  169. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/ports.d.ts +14 -3
  170. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/presentation/run-projector.js +4 -1
  171. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.d.ts +5 -0
  172. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/api/conversations.js +8 -2
  173. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.d.ts +1 -1
  174. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/card-session.js +22 -3
  175. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.d.ts +1 -1
  176. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/channel.js +80 -8
  177. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.d.ts +4 -1
  178. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/contexts.js +101 -18
  179. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.d.ts +7 -0
  180. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/normalize.js +37 -5
  181. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/reasoning-frame.js +5 -1
  182. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.d.ts +19 -2
  183. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/transport/wukong.js +42 -14
  184. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/package.json +7 -11
  185. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/application/im-channel.js +14 -10
  186. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/contracts.d.ts +1 -12
  187. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.d.ts +2 -1
  188. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/delivery/dispatcher.js +3 -2
  189. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.d.ts +1 -1
  190. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/extra.js +2 -2
  191. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/ports.d.ts +4 -3
  192. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/package.json +6 -10
  193. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.d.ts +1 -1
  194. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/index.js +5 -7
  195. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-DiPc-ipL.js +74 -0
  196. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/index.html +1 -1
  197. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/package.json +2 -2
  198. package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/context-loader.d.ts +1 -0
  199. package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/context-loader.js +1 -1
  200. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.d.ts +4 -0
  201. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/endpoint.js +20 -0
  202. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.d.ts +6 -0
  203. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/errors.js +12 -0
  204. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.d.ts +4 -0
  205. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-dependencies.js +21 -0
  206. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.d.ts +22 -0
  207. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/extra-service.js +272 -0
  208. package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extras.d.ts +5 -14
  209. package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extras.js +24 -13
  210. package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/home.d.ts +9 -18
  211. package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/home.js +22 -73
  212. package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/identity.d.ts +2 -2
  213. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.d.ts +11 -0
  214. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/index.js +10 -0
  215. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.d.ts +15 -0
  216. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/launch.js +22 -0
  217. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.d.ts +16 -0
  218. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/native.js +160 -0
  219. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.d.ts +7 -0
  220. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/shutdown.js +39 -0
  221. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/dist/types.d.ts +4 -0
  222. package/node_modules/@mininglamp-oss/octo-runtime-host-sdk/package.json +30 -0
  223. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.d.ts +4 -0
  224. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/failure.js +30 -1
  225. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/generated/protocol-types.d.ts +125 -73
  226. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.d.ts +2 -0
  227. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/index.js +1 -0
  228. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.d.ts +3 -0
  229. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-input.js +6 -9
  230. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/invoke-size.js +2 -1
  231. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.d.ts +1 -1
  232. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/run-protocol.js +51 -4
  233. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/stream-limits.d.ts +27 -0
  234. package/node_modules/@mininglamp-oss/octo-runtime-protocol/dist/stream-limits.js +56 -0
  235. package/node_modules/@mininglamp-oss/octo-runtime-protocol/package.json +1 -1
  236. package/node_modules/ws/lib/websocket.js +17 -3
  237. package/node_modules/ws/package.json +1 -1
  238. package/package.json +58 -45
  239. package/packages/octo-runtime-protocol/schema/kernel-ipc-fixtures.json +53 -0
  240. package/packages/octo-runtime-protocol/schema/kernel-ipc.schema.json +151 -0
  241. package/packages/octo-runtime-protocol/schema/protocol.schema.json +3991 -0
  242. package/apps/cli/dist/daemon-output.d.ts +0 -1
  243. package/apps/cli/dist/daemon-output.js +0 -49
  244. package/apps/cli/dist/temporary-daemon.d.ts +0 -11
  245. package/apps/cli/dist/temporary-daemon.js +0 -109
  246. package/apps/daemon/dist/index.d.ts +0 -2
  247. package/apps/daemon/dist/index.js +0 -134
  248. package/apps/daemon/dist/launcher.d.ts +0 -2
  249. package/apps/daemon/dist/launcher.js +0 -52
  250. package/apps/daemon/dist/runtime-options.d.ts +0 -9
  251. package/apps/daemon/dist/runtime-options.js +0 -58
  252. package/apps/daemon/dist/server.d.ts +0 -1
  253. package/apps/daemon/dist/server.js +0 -1
  254. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/model-input.d.ts +0 -5
  255. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/process.d.ts +0 -31
  256. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/serve.d.ts +0 -10
  257. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/serve.js +0 -48
  258. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/socket-server.d.ts +0 -21
  259. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/dist/socket-server.js +0 -255
  260. package/node_modules/@mininglamp-oss/octo-runtime-adapter-host/package.json +0 -37
  261. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/daemon-output.d.ts +0 -1
  262. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/daemon-output.js +0 -49
  263. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/temporary-daemon.d.ts +0 -11
  264. package/node_modules/@mininglamp-oss/octo-runtime-cli/dist/temporary-daemon.js +0 -109
  265. package/node_modules/@mininglamp-oss/octo-runtime-core/dist/index.d.ts +0 -2
  266. package/node_modules/@mininglamp-oss/octo-runtime-core/dist/index.js +0 -2
  267. package/node_modules/@mininglamp-oss/octo-runtime-core/dist/invoke-input.d.ts +0 -7
  268. package/node_modules/@mininglamp-oss/octo-runtime-core/package.json +0 -14
  269. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/index.d.ts +0 -9
  270. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/index.js +0 -9
  271. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/modules.d.ts +0 -55
  272. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/modules.js +0 -138
  273. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/adapter-host.d.ts +0 -1
  274. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/adapter-host.js +0 -33
  275. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/daemon-runtime.d.ts +0 -37
  276. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/daemon-runtime.js +0 -623
  277. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/errors.d.ts +0 -8
  278. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/errors.js +0 -17
  279. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/index.d.ts +0 -8
  280. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/index.js +0 -9
  281. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/local-extras.d.ts +0 -12
  282. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/local-extras.js +0 -133
  283. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/run-stream.d.ts +0 -14
  284. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/run-stream.js +0 -206
  285. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runner.d.ts +0 -2
  286. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runner.js +0 -103
  287. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runtime-contract.d.ts +0 -36
  288. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/runtime-contract.js +0 -57
  289. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/supervisor.d.ts +0 -23
  290. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/supervisor.js +0 -245
  291. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/types.d.ts +0 -116
  292. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/version.d.ts +0 -1
  293. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime/version.js +0 -1
  294. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime-endpoint.d.ts +0 -2
  295. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/runtime-endpoint.js +0 -9
  296. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/server.d.ts +0 -67
  297. package/node_modules/@mininglamp-oss/octo-runtime-daemon/dist/server.js +0 -808
  298. package/node_modules/@mininglamp-oss/octo-runtime-daemon/package.json +0 -52
  299. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/index.d.ts +0 -2
  300. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/index.js +0 -134
  301. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/launcher.d.ts +0 -2
  302. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/launcher.js +0 -52
  303. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/runtime-options.d.ts +0 -9
  304. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/runtime-options.js +0 -58
  305. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/server.d.ts +0 -1
  306. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/dist/server.js +0 -1
  307. package/node_modules/@mininglamp-oss/octo-runtime-daemon-app/package.json +0 -33
  308. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/daemon-module.d.ts +0 -8
  309. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-gateway/dist/daemon-module.js +0 -64
  310. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/daemon-module.d.ts +0 -8
  311. package/node_modules/@mininglamp-oss/octo-runtime-extra-channel-wecom/dist/daemon-module.js +0 -64
  312. package/node_modules/@mininglamp-oss/octo-runtime-extra-webui/dist/web/assets/index-B6Yp4xkI.js +0 -76
  313. package/node_modules/ajv/.runkit_example.js +0 -23
  314. package/node_modules/ajv/LICENSE +0 -22
  315. package/node_modules/ajv/README.md +0 -207
  316. package/node_modules/ajv/dist/2019.d.ts +0 -19
  317. package/node_modules/ajv/dist/2019.js +0 -61
  318. package/node_modules/ajv/dist/2019.js.map +0 -1
  319. package/node_modules/ajv/dist/2020.d.ts +0 -19
  320. package/node_modules/ajv/dist/2020.js +0 -55
  321. package/node_modules/ajv/dist/2020.js.map +0 -1
  322. package/node_modules/ajv/dist/ajv.d.ts +0 -18
  323. package/node_modules/ajv/dist/ajv.js +0 -50
  324. package/node_modules/ajv/dist/ajv.js.map +0 -1
  325. package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
  326. package/node_modules/ajv/dist/compile/codegen/code.js +0 -156
  327. package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
  328. package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
  329. package/node_modules/ajv/dist/compile/codegen/index.js +0 -697
  330. package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
  331. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
  332. package/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
  333. package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
  334. package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
  335. package/node_modules/ajv/dist/compile/errors.js +0 -123
  336. package/node_modules/ajv/dist/compile/errors.js.map +0 -1
  337. package/node_modules/ajv/dist/compile/index.d.ts +0 -80
  338. package/node_modules/ajv/dist/compile/index.js +0 -242
  339. package/node_modules/ajv/dist/compile/index.js.map +0 -1
  340. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
  341. package/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
  342. package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
  343. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
  344. package/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
  345. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
  346. package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
  347. package/node_modules/ajv/dist/compile/jtd/types.js +0 -14
  348. package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
  349. package/node_modules/ajv/dist/compile/names.d.ts +0 -20
  350. package/node_modules/ajv/dist/compile/names.js +0 -28
  351. package/node_modules/ajv/dist/compile/names.js.map +0 -1
  352. package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
  353. package/node_modules/ajv/dist/compile/ref_error.js +0 -12
  354. package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
  355. package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
  356. package/node_modules/ajv/dist/compile/resolve.js +0 -155
  357. package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
  358. package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
  359. package/node_modules/ajv/dist/compile/rules.js +0 -26
  360. package/node_modules/ajv/dist/compile/rules.js.map +0 -1
  361. package/node_modules/ajv/dist/compile/util.d.ts +0 -40
  362. package/node_modules/ajv/dist/compile/util.js +0 -178
  363. package/node_modules/ajv/dist/compile/util.js.map +0 -1
  364. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
  365. package/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
  366. package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
  367. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
  368. package/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
  369. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
  370. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
  371. package/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
  372. package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
  373. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
  374. package/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
  375. package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
  376. package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
  377. package/node_modules/ajv/dist/compile/validate/index.js +0 -520
  378. package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
  379. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
  380. package/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
  381. package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
  382. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
  383. package/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
  384. package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
  385. package/node_modules/ajv/dist/core.d.ts +0 -174
  386. package/node_modules/ajv/dist/core.js +0 -618
  387. package/node_modules/ajv/dist/core.js.map +0 -1
  388. package/node_modules/ajv/dist/jtd.d.ts +0 -47
  389. package/node_modules/ajv/dist/jtd.js +0 -72
  390. package/node_modules/ajv/dist/jtd.js.map +0 -1
  391. package/node_modules/ajv/dist/refs/data.json +0 -13
  392. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
  393. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
  394. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
  395. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
  396. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
  397. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
  398. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
  399. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  400. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
  401. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
  402. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
  403. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  404. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
  405. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  406. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  407. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  408. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  409. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  410. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  411. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  412. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  413. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
  414. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
  415. package/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
  416. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
  417. package/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
  418. package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
  419. package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
  420. package/node_modules/ajv/dist/runtime/equal.js +0 -7
  421. package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
  422. package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
  423. package/node_modules/ajv/dist/runtime/parseJson.js +0 -185
  424. package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
  425. package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
  426. package/node_modules/ajv/dist/runtime/quote.js +0 -30
  427. package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
  428. package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
  429. package/node_modules/ajv/dist/runtime/re2.js +0 -6
  430. package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
  431. package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
  432. package/node_modules/ajv/dist/runtime/timestamp.js +0 -42
  433. package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
  434. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
  435. package/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
  436. package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
  437. package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
  438. package/node_modules/ajv/dist/runtime/uri.js +0 -6
  439. package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
  440. package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
  441. package/node_modules/ajv/dist/runtime/validation_error.js +0 -11
  442. package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
  443. package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
  444. package/node_modules/ajv/dist/standalone/index.js +0 -90
  445. package/node_modules/ajv/dist/standalone/index.js.map +0 -1
  446. package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
  447. package/node_modules/ajv/dist/standalone/instance.js +0 -35
  448. package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
  449. package/node_modules/ajv/dist/types/index.d.ts +0 -183
  450. package/node_modules/ajv/dist/types/index.js +0 -3
  451. package/node_modules/ajv/dist/types/index.js.map +0 -1
  452. package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
  453. package/node_modules/ajv/dist/types/json-schema.js +0 -3
  454. package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
  455. package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
  456. package/node_modules/ajv/dist/types/jtd-schema.js +0 -3
  457. package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
  458. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
  459. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  460. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
  461. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
  462. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
  463. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
  464. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
  465. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  466. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
  467. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
  468. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  469. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
  470. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
  471. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
  472. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
  473. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
  474. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  475. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
  476. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
  477. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  478. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
  479. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
  480. package/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
  481. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
  482. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
  483. package/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
  484. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
  485. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
  486. package/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
  487. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
  488. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
  489. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  490. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
  491. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
  492. package/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
  493. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
  494. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
  495. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  496. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
  497. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
  498. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  499. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
  500. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
  501. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  502. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
  503. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
  504. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
  505. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
  506. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
  507. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  508. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
  509. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
  510. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  511. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
  512. package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
  513. package/node_modules/ajv/dist/vocabularies/code.js +0 -131
  514. package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
  515. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
  516. package/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
  517. package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
  518. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
  519. package/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
  520. package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
  521. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
  522. package/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
  523. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
  524. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
  525. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
  526. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
  527. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
  528. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
  529. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
  530. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
  531. package/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
  532. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
  533. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
  534. package/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
  535. package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
  536. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
  537. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  538. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
  539. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
  540. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  541. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
  542. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
  543. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
  544. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
  545. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
  546. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  547. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
  548. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
  549. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  550. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
  551. package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
  552. package/node_modules/ajv/dist/vocabularies/errors.js +0 -3
  553. package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
  554. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
  555. package/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
  556. package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
  557. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
  558. package/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
  559. package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
  560. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
  561. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
  562. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
  563. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
  564. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
  565. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
  566. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
  567. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
  568. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
  569. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
  570. package/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
  571. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
  572. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
  573. package/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
  574. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
  575. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
  576. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
  577. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
  578. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
  579. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
  580. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
  581. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
  582. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
  583. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
  584. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
  585. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
  586. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
  587. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
  588. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
  589. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
  590. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
  591. package/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
  592. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
  593. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
  594. package/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
  595. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
  596. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
  597. package/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
  598. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
  599. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
  600. package/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
  601. package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
  602. package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
  603. package/node_modules/ajv/dist/vocabularies/next.js +0 -8
  604. package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
  605. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
  606. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  607. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
  608. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
  609. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  610. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
  611. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
  612. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
  613. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
  614. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
  615. package/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
  616. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
  617. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
  618. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  619. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
  620. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
  621. package/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
  622. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
  623. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
  624. package/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
  625. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
  626. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
  627. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  628. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
  629. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
  630. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  631. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
  632. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
  633. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  634. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
  635. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
  636. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  637. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
  638. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
  639. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  640. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
  641. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
  642. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  643. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
  644. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
  645. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
  646. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
  647. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
  648. package/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
  649. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
  650. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
  651. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  652. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
  653. package/node_modules/ajv/lib/2019.ts +0 -81
  654. package/node_modules/ajv/lib/2020.ts +0 -75
  655. package/node_modules/ajv/lib/ajv.ts +0 -70
  656. package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
  657. package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
  658. package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
  659. package/node_modules/ajv/lib/compile/errors.ts +0 -184
  660. package/node_modules/ajv/lib/compile/index.ts +0 -324
  661. package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
  662. package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
  663. package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
  664. package/node_modules/ajv/lib/compile/names.ts +0 -27
  665. package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
  666. package/node_modules/ajv/lib/compile/resolve.ts +0 -149
  667. package/node_modules/ajv/lib/compile/rules.ts +0 -50
  668. package/node_modules/ajv/lib/compile/util.ts +0 -213
  669. package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
  670. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
  671. package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
  672. package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
  673. package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
  674. package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
  675. package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
  676. package/node_modules/ajv/lib/core.ts +0 -892
  677. package/node_modules/ajv/lib/jtd.ts +0 -132
  678. package/node_modules/ajv/lib/refs/data.json +0 -13
  679. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
  680. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
  681. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
  682. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
  683. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
  684. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
  685. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
  686. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
  687. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
  688. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
  689. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
  690. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
  691. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  692. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  693. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  694. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
  695. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
  696. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
  697. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
  698. package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
  699. package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
  700. package/node_modules/ajv/lib/runtime/equal.ts +0 -7
  701. package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
  702. package/node_modules/ajv/lib/runtime/quote.ts +0 -31
  703. package/node_modules/ajv/lib/runtime/re2.ts +0 -6
  704. package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
  705. package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
  706. package/node_modules/ajv/lib/runtime/uri.ts +0 -6
  707. package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
  708. package/node_modules/ajv/lib/standalone/index.ts +0 -100
  709. package/node_modules/ajv/lib/standalone/instance.ts +0 -36
  710. package/node_modules/ajv/lib/types/index.ts +0 -244
  711. package/node_modules/ajv/lib/types/json-schema.ts +0 -187
  712. package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
  713. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
  714. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
  715. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
  716. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
  717. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
  718. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
  719. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
  720. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
  721. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
  722. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
  723. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
  724. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
  725. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
  726. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
  727. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
  728. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
  729. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
  730. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
  731. package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
  732. package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
  733. package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
  734. package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
  735. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
  736. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
  737. package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
  738. package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
  739. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
  740. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
  741. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
  742. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
  743. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
  744. package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
  745. package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
  746. package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
  747. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
  748. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
  749. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
  750. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
  751. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
  752. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
  753. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
  754. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
  755. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
  756. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
  757. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
  758. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
  759. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
  760. package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
  761. package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
  762. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
  763. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
  764. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
  765. package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
  766. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
  767. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
  768. package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
  769. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
  770. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
  771. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
  772. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
  773. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
  774. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
  775. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
  776. package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
  777. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
  778. package/node_modules/ajv/package.json +0 -126
  779. package/node_modules/fast-deep-equal/LICENSE +0 -21
  780. package/node_modules/fast-deep-equal/README.md +0 -96
  781. package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
  782. package/node_modules/fast-deep-equal/es6/index.js +0 -72
  783. package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
  784. package/node_modules/fast-deep-equal/es6/react.js +0 -79
  785. package/node_modules/fast-deep-equal/index.d.ts +0 -4
  786. package/node_modules/fast-deep-equal/index.js +0 -46
  787. package/node_modules/fast-deep-equal/package.json +0 -61
  788. package/node_modules/fast-deep-equal/react.d.ts +0 -2
  789. package/node_modules/fast-deep-equal/react.js +0 -53
  790. package/node_modules/fast-uri/.gitattributes +0 -2
  791. package/node_modules/fast-uri/.github/dependabot.yml +0 -13
  792. package/node_modules/fast-uri/.github/workflows/ci.yml +0 -106
  793. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +0 -19
  794. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
  795. package/node_modules/fast-uri/LICENSE +0 -30
  796. package/node_modules/fast-uri/README.md +0 -152
  797. package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
  798. package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
  799. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
  800. package/node_modules/fast-uri/benchmark/package.json +0 -17
  801. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
  802. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
  803. package/node_modules/fast-uri/eslint.config.js +0 -6
  804. package/node_modules/fast-uri/index.js +0 -631
  805. package/node_modules/fast-uri/lib/schemes.js +0 -272
  806. package/node_modules/fast-uri/lib/utils.js +0 -747
  807. package/node_modules/fast-uri/package.json +0 -68
  808. package/node_modules/fast-uri/test/ajv.test.js +0 -43
  809. package/node_modules/fast-uri/test/component-safe-serialization.test.js +0 -163
  810. package/node_modules/fast-uri/test/equal.test.js +0 -145
  811. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -503
  812. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
  813. package/node_modules/fast-uri/test/ipv6-canonical.test.js +0 -34
  814. package/node_modules/fast-uri/test/ipv6-validation.test.js +0 -124
  815. package/node_modules/fast-uri/test/malformed-percent.test.js +0 -77
  816. package/node_modules/fast-uri/test/malformed-urn.test.js +0 -61
  817. package/node_modules/fast-uri/test/parse.test.js +0 -327
  818. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +0 -33
  819. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +0 -109
  820. package/node_modules/fast-uri/test/resolve.test.js +0 -87
  821. package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
  822. package/node_modules/fast-uri/test/scheme-validation.test.js +0 -124
  823. package/node_modules/fast-uri/test/security-normalization.test.js +0 -178
  824. package/node_modules/fast-uri/test/security.test.js +0 -431
  825. package/node_modules/fast-uri/test/serialize.test.js +0 -151
  826. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
  827. package/node_modules/fast-uri/test/uri-js.test.js +0 -912
  828. package/node_modules/fast-uri/test/urn-full-input.test.js +0 -29
  829. package/node_modules/fast-uri/test/util.test.js +0 -38
  830. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +0 -24
  831. package/node_modules/fast-uri/tsconfig.json +0 -9
  832. package/node_modules/fast-uri/types/index.d.ts +0 -60
  833. package/node_modules/fast-uri/types/index.test-d.ts +0 -17
  834. package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
  835. package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
  836. package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
  837. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
  838. package/node_modules/json-schema-traverse/LICENSE +0 -21
  839. package/node_modules/json-schema-traverse/README.md +0 -95
  840. package/node_modules/json-schema-traverse/index.d.ts +0 -40
  841. package/node_modules/json-schema-traverse/index.js +0 -93
  842. package/node_modules/json-schema-traverse/package.json +0 -43
  843. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
  844. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
  845. package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
  846. package/node_modules/require-from-string/index.js +0 -34
  847. package/node_modules/require-from-string/license +0 -21
  848. package/node_modules/require-from-string/package.json +0 -28
  849. package/node_modules/require-from-string/readme.md +0 -56
  850. package/node_modules/yaml/LICENSE +0 -13
  851. package/node_modules/yaml/README.md +0 -172
  852. package/node_modules/yaml/bin.mjs +0 -11
  853. package/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
  854. package/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
  855. package/node_modules/yaml/browser/dist/compose/compose-node.js +0 -109
  856. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
  857. package/node_modules/yaml/browser/dist/compose/composer.js +0 -219
  858. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
  859. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
  860. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
  861. package/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
  862. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
  863. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -226
  864. package/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
  865. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
  866. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
  867. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
  868. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
  869. package/node_modules/yaml/browser/dist/doc/Document.js +0 -335
  870. package/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
  871. package/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
  872. package/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
  873. package/node_modules/yaml/browser/dist/doc/directives.js +0 -176
  874. package/node_modules/yaml/browser/dist/errors.js +0 -57
  875. package/node_modules/yaml/browser/dist/index.js +0 -17
  876. package/node_modules/yaml/browser/dist/log.js +0 -11
  877. package/node_modules/yaml/browser/dist/nodes/Alias.js +0 -118
  878. package/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
  879. package/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
  880. package/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
  881. package/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
  882. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
  883. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
  884. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
  885. package/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
  886. package/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  887. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
  888. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
  889. package/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
  890. package/node_modules/yaml/browser/dist/parse/cst.js +0 -98
  891. package/node_modules/yaml/browser/dist/parse/lexer.js +0 -721
  892. package/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
  893. package/node_modules/yaml/browser/dist/parse/parser.js +0 -975
  894. package/node_modules/yaml/browser/dist/public-api.js +0 -102
  895. package/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
  896. package/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
  897. package/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  898. package/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
  899. package/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
  900. package/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  901. package/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
  902. package/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
  903. package/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
  904. package/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
  905. package/node_modules/yaml/browser/dist/schema/tags.js +0 -96
  906. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
  907. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
  908. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
  909. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
  910. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -67
  911. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
  912. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
  913. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
  914. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
  915. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
  916. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
  917. package/node_modules/yaml/browser/dist/stringify/stringify.js +0 -129
  918. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -153
  919. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  920. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
  921. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -25
  922. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
  923. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
  924. package/node_modules/yaml/browser/dist/util.js +0 -11
  925. package/node_modules/yaml/browser/dist/visit.js +0 -233
  926. package/node_modules/yaml/browser/index.js +0 -5
  927. package/node_modules/yaml/browser/package.json +0 -3
  928. package/node_modules/yaml/dist/cli.d.ts +0 -8
  929. package/node_modules/yaml/dist/cli.mjs +0 -201
  930. package/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
  931. package/node_modules/yaml/dist/compose/compose-collection.js +0 -90
  932. package/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
  933. package/node_modules/yaml/dist/compose/compose-doc.js +0 -45
  934. package/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
  935. package/node_modules/yaml/dist/compose/compose-node.js +0 -112
  936. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
  937. package/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
  938. package/node_modules/yaml/dist/compose/composer.d.ts +0 -63
  939. package/node_modules/yaml/dist/compose/composer.js +0 -224
  940. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
  941. package/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
  942. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
  943. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
  944. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
  945. package/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
  946. package/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
  947. package/node_modules/yaml/dist/compose/resolve-end.js +0 -39
  948. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
  949. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
  950. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
  951. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -228
  952. package/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
  953. package/node_modules/yaml/dist/compose/resolve-props.js +0 -148
  954. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
  955. package/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
  956. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
  957. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
  958. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
  959. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
  960. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
  961. package/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
  962. package/node_modules/yaml/dist/doc/Document.d.ts +0 -141
  963. package/node_modules/yaml/dist/doc/Document.js +0 -337
  964. package/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
  965. package/node_modules/yaml/dist/doc/anchors.js +0 -76
  966. package/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
  967. package/node_modules/yaml/dist/doc/applyReviver.js +0 -57
  968. package/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
  969. package/node_modules/yaml/dist/doc/createNode.js +0 -90
  970. package/node_modules/yaml/dist/doc/directives.d.ts +0 -49
  971. package/node_modules/yaml/dist/doc/directives.js +0 -178
  972. package/node_modules/yaml/dist/errors.d.ts +0 -21
  973. package/node_modules/yaml/dist/errors.js +0 -62
  974. package/node_modules/yaml/dist/index.d.ts +0 -25
  975. package/node_modules/yaml/dist/index.js +0 -50
  976. package/node_modules/yaml/dist/log.d.ts +0 -3
  977. package/node_modules/yaml/dist/log.js +0 -19
  978. package/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
  979. package/node_modules/yaml/dist/nodes/Alias.js +0 -120
  980. package/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
  981. package/node_modules/yaml/dist/nodes/Collection.js +0 -151
  982. package/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
  983. package/node_modules/yaml/dist/nodes/Node.js +0 -40
  984. package/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
  985. package/node_modules/yaml/dist/nodes/Pair.js +0 -39
  986. package/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -47
  987. package/node_modules/yaml/dist/nodes/Scalar.js +0 -27
  988. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
  989. package/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
  990. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
  991. package/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
  992. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
  993. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
  994. package/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
  995. package/node_modules/yaml/dist/nodes/identity.js +0 -53
  996. package/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
  997. package/node_modules/yaml/dist/nodes/toJS.js +0 -39
  998. package/node_modules/yaml/dist/options.d.ts +0 -350
  999. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
  1000. package/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
  1001. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
  1002. package/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
  1003. package/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
  1004. package/node_modules/yaml/dist/parse/cst-visit.js +0 -99
  1005. package/node_modules/yaml/dist/parse/cst.d.ts +0 -109
  1006. package/node_modules/yaml/dist/parse/cst.js +0 -112
  1007. package/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
  1008. package/node_modules/yaml/dist/parse/lexer.js +0 -723
  1009. package/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
  1010. package/node_modules/yaml/dist/parse/line-counter.js +0 -41
  1011. package/node_modules/yaml/dist/parse/parser.d.ts +0 -84
  1012. package/node_modules/yaml/dist/parse/parser.js +0 -980
  1013. package/node_modules/yaml/dist/public-api.d.ts +0 -44
  1014. package/node_modules/yaml/dist/public-api.js +0 -107
  1015. package/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
  1016. package/node_modules/yaml/dist/schema/Schema.js +0 -39
  1017. package/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
  1018. package/node_modules/yaml/dist/schema/common/map.js +0 -19
  1019. package/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
  1020. package/node_modules/yaml/dist/schema/common/null.js +0 -17
  1021. package/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
  1022. package/node_modules/yaml/dist/schema/common/seq.js +0 -19
  1023. package/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
  1024. package/node_modules/yaml/dist/schema/common/string.js +0 -16
  1025. package/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
  1026. package/node_modules/yaml/dist/schema/core/bool.js +0 -21
  1027. package/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
  1028. package/node_modules/yaml/dist/schema/core/float.js +0 -47
  1029. package/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
  1030. package/node_modules/yaml/dist/schema/core/int.js +0 -42
  1031. package/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
  1032. package/node_modules/yaml/dist/schema/core/schema.js +0 -25
  1033. package/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
  1034. package/node_modules/yaml/dist/schema/json/schema.js +0 -64
  1035. package/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
  1036. package/node_modules/yaml/dist/schema/tags.d.ts +0 -48
  1037. package/node_modules/yaml/dist/schema/tags.js +0 -99
  1038. package/node_modules/yaml/dist/schema/types.d.ts +0 -92
  1039. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
  1040. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
  1041. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
  1042. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
  1043. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
  1044. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
  1045. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
  1046. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
  1047. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  1048. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -71
  1049. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
  1050. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
  1051. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
  1052. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
  1053. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
  1054. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
  1055. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
  1056. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
  1057. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
  1058. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
  1059. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
  1060. package/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
  1061. package/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
  1062. package/node_modules/yaml/dist/stringify/stringify.js +0 -132
  1063. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
  1064. package/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -155
  1065. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
  1066. package/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
  1067. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
  1068. package/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
  1069. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
  1070. package/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -27
  1071. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
  1072. package/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
  1073. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
  1074. package/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
  1075. package/node_modules/yaml/dist/test-events.d.ts +0 -4
  1076. package/node_modules/yaml/dist/test-events.js +0 -134
  1077. package/node_modules/yaml/dist/util.d.ts +0 -16
  1078. package/node_modules/yaml/dist/util.js +0 -28
  1079. package/node_modules/yaml/dist/visit.d.ts +0 -102
  1080. package/node_modules/yaml/dist/visit.js +0 -236
  1081. package/node_modules/yaml/package.json +0 -97
  1082. package/node_modules/yaml/util.js +0 -2
  1083. /package/apps/{daemon → cli}/dist/openclaw.js +0 -0
  1084. /package/node_modules/@mininglamp-oss/{octo-runtime-daemon-app → octo-runtime-cli}/dist/openclaw.js +0 -0
  1085. /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/execution-preparation.d.ts +0 -0
  1086. /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/execution-preparation.js +0 -0
  1087. /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/experience.d.ts +0 -0
  1088. /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-core}/dist/experience.js +0 -0
  1089. /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runner.d.ts +0 -0
  1090. /package/node_modules/@mininglamp-oss/{octo-runtime-adapter-host → octo-runtime-executor-kernel}/dist/runtime-configuration.d.ts +0 -0
  1091. /package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extra-config.d.ts +0 -0
  1092. /package/node_modules/@mininglamp-oss/{octo-runtime-daemon → octo-runtime-host-sdk}/dist/extra-config.js +0 -0
  1093. /package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/identity.js +0 -0
  1094. /package/node_modules/@mininglamp-oss/{octo-runtime-daemon/dist/runtime → octo-runtime-host-sdk/dist}/types.js +0 -0
@@ -1,912 +0,0 @@
1
- 'use strict'
2
-
3
- const test = require('tape')
4
- const fastURI = require('..')
5
-
6
- /**
7
- * URI.js
8
- *
9
- * @fileoverview An RFC 3986 compliant, scheme extendable URI parsing/normalizing/resolving/serializing library for JavaScript.
10
- * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
11
- * @see http://github.com/garycourt/uri-js
12
- */
13
-
14
- /**
15
- * Copyright 2011 Gary Court. All rights reserved.
16
- *
17
- * Redistribution and use in source and binary forms, with or without modification, are
18
- * permitted provided that the following conditions are met:
19
- *
20
- * 1. Redistributions of source code must retain the above copyright notice, this list of
21
- * conditions and the following disclaimer.
22
- *
23
- * 2. Redistributions in binary form must reproduce the above copyright notice, this list
24
- * of conditions and the following disclaimer in the documentation and/or other materials
25
- * provided with the distribution.
26
- *
27
- * THIS SOFTWARE IS PROVIDED BY GARY COURT ``AS IS'' AND ANY EXPRESS OR IMPLIED
28
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
29
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GARY COURT OR
30
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
33
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
34
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
35
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
- *
37
- * The views and conclusions contained in the software and documentation are those of the
38
- * authors and should not be interpreted as representing official policies, either expressed
39
- * or implied, of Gary Court.
40
- */
41
-
42
- test('Acquire URI', (t) => {
43
- t.ok(fastURI)
44
- t.end()
45
- })
46
-
47
- test('URI Parsing', (t) => {
48
- let components
49
-
50
- // scheme
51
- components = fastURI.parse('uri:')
52
- t.equal(components.error, undefined, 'scheme errors')
53
- t.equal(components.scheme, 'uri', 'scheme')
54
- t.equal(components.userinfo, undefined, 'userinfo')
55
- t.equal(components.host, undefined, 'host')
56
- t.equal(components.port, undefined, 'port')
57
- t.equal(components.path, '', 'path')
58
- t.equal(components.query, undefined, 'query')
59
- t.equal(components.fragment, undefined, 'fragment')
60
-
61
- // userinfo
62
- components = fastURI.parse('//@')
63
- t.equal(components.error, undefined, 'userinfo errors')
64
- t.equal(components.scheme, undefined, 'scheme')
65
- t.equal(components.userinfo, '', 'userinfo')
66
- t.equal(components.host, '', 'host')
67
- t.equal(components.port, undefined, 'port')
68
- t.equal(components.path, '', 'path')
69
- t.equal(components.query, undefined, 'query')
70
- t.equal(components.fragment, undefined, 'fragment')
71
-
72
- // host
73
- components = fastURI.parse('//')
74
- t.equal(components.error, undefined, 'host errors')
75
- t.equal(components.scheme, undefined, 'scheme')
76
- t.equal(components.userinfo, undefined, 'userinfo')
77
- t.equal(components.host, '', 'host')
78
- t.equal(components.port, undefined, 'port')
79
- t.equal(components.path, '', 'path')
80
- t.equal(components.query, undefined, 'query')
81
- t.equal(components.fragment, undefined, 'fragment')
82
-
83
- // port
84
- components = fastURI.parse('//:')
85
- t.equal(components.error, undefined, 'port errors')
86
- t.equal(components.scheme, undefined, 'scheme')
87
- t.equal(components.userinfo, undefined, 'userinfo')
88
- t.equal(components.host, '', 'host')
89
- t.equal(components.port, '', 'port')
90
- t.equal(components.path, '', 'path')
91
- t.equal(components.query, undefined, 'query')
92
- t.equal(components.fragment, undefined, 'fragment')
93
-
94
- // path
95
- components = fastURI.parse('')
96
- t.equal(components.error, undefined, 'path errors')
97
- t.equal(components.scheme, undefined, 'scheme')
98
- t.equal(components.userinfo, undefined, 'userinfo')
99
- t.equal(components.host, undefined, 'host')
100
- t.equal(components.port, undefined, 'port')
101
- t.equal(components.path, '', 'path')
102
- t.equal(components.query, undefined, 'query')
103
- t.equal(components.fragment, undefined, 'fragment')
104
-
105
- // query
106
- components = fastURI.parse('?')
107
- t.equal(components.error, undefined, 'query errors')
108
- t.equal(components.scheme, undefined, 'scheme')
109
- t.equal(components.userinfo, undefined, 'userinfo')
110
- t.equal(components.host, undefined, 'host')
111
- t.equal(components.port, undefined, 'port')
112
- t.equal(components.path, '', 'path')
113
- t.equal(components.query, '', 'query')
114
- t.equal(components.fragment, undefined, 'fragment')
115
-
116
- // fragment
117
- components = fastURI.parse('#')
118
- t.equal(components.error, undefined, 'fragment errors')
119
- t.equal(components.scheme, undefined, 'scheme')
120
- t.equal(components.userinfo, undefined, 'userinfo')
121
- t.equal(components.host, undefined, 'host')
122
- t.equal(components.port, undefined, 'port')
123
- t.equal(components.path, '', 'path')
124
- t.equal(components.query, undefined, 'query')
125
- t.equal(components.fragment, '', 'fragment')
126
-
127
- // fragment with character tabulation
128
- components = fastURI.parse('#\t')
129
- t.equal(components.error, undefined, 'path errors')
130
- t.equal(components.scheme, undefined, 'scheme')
131
- t.equal(components.userinfo, undefined, 'userinfo')
132
- t.equal(components.host, undefined, 'host')
133
- t.equal(components.port, undefined, 'port')
134
- t.equal(components.path, '', 'path')
135
- t.equal(components.query, undefined, 'query')
136
- t.equal(components.fragment, '%09', 'fragment')
137
-
138
- // fragment with line feed
139
- components = fastURI.parse('#\n')
140
- t.equal(components.error, undefined, 'path errors')
141
- t.equal(components.scheme, undefined, 'scheme')
142
- t.equal(components.userinfo, undefined, 'userinfo')
143
- t.equal(components.host, undefined, 'host')
144
- t.equal(components.port, undefined, 'port')
145
- t.equal(components.path, '', 'path')
146
- t.equal(components.query, undefined, 'query')
147
- t.equal(components.fragment, '%0A', 'fragment')
148
-
149
- // fragment with line tabulation
150
- components = fastURI.parse('#\v')
151
- t.equal(components.error, undefined, 'path errors')
152
- t.equal(components.scheme, undefined, 'scheme')
153
- t.equal(components.userinfo, undefined, 'userinfo')
154
- t.equal(components.host, undefined, 'host')
155
- t.equal(components.port, undefined, 'port')
156
- t.equal(components.path, '', 'path')
157
- t.equal(components.query, undefined, 'query')
158
- t.equal(components.fragment, '%0B', 'fragment')
159
-
160
- // fragment with form feed
161
- components = fastURI.parse('#\f')
162
- t.equal(components.error, undefined, 'path errors')
163
- t.equal(components.scheme, undefined, 'scheme')
164
- t.equal(components.userinfo, undefined, 'userinfo')
165
- t.equal(components.host, undefined, 'host')
166
- t.equal(components.port, undefined, 'port')
167
- t.equal(components.path, '', 'path')
168
- t.equal(components.query, undefined, 'query')
169
- t.equal(components.fragment, '%0C', 'fragment')
170
-
171
- // fragment with carriage return
172
- components = fastURI.parse('#\r')
173
- t.equal(components.error, undefined, 'path errors')
174
- t.equal(components.scheme, undefined, 'scheme')
175
- t.equal(components.userinfo, undefined, 'userinfo')
176
- t.equal(components.host, undefined, 'host')
177
- t.equal(components.port, undefined, 'port')
178
- t.equal(components.path, '', 'path')
179
- t.equal(components.query, undefined, 'query')
180
- t.equal(components.fragment, '%0D', 'fragment')
181
-
182
- // all
183
- components = fastURI.parse('uri://user:pass@example.com:123/one/two.three?q1=a1&q2=a2#body')
184
- t.equal(components.error, undefined, 'all errors')
185
- t.equal(components.scheme, 'uri', 'scheme')
186
- t.equal(components.userinfo, 'user:pass', 'userinfo')
187
- t.equal(components.host, 'example.com', 'host')
188
- t.equal(components.port, 123, 'port')
189
- t.equal(components.path, '/one/two.three', 'path')
190
- t.equal(components.query, 'q1=a1&q2=a2', 'query')
191
- t.equal(components.fragment, 'body', 'fragment')
192
-
193
- // IPv4address
194
- components = fastURI.parse('//10.10.10.10')
195
- t.equal(components.error, undefined, 'IPv4address errors')
196
- t.equal(components.scheme, undefined, 'scheme')
197
- t.equal(components.userinfo, undefined, 'userinfo')
198
- t.equal(components.host, '10.10.10.10', 'host')
199
- t.equal(components.port, undefined, 'port')
200
- t.equal(components.path, '', 'path')
201
- t.equal(components.query, undefined, 'query')
202
- t.equal(components.fragment, undefined, 'fragment')
203
-
204
- // IPv6address
205
- components = fastURI.parse('//[2001:db8::7]')
206
- t.equal(components.error, undefined, 'IPv4address errors')
207
- t.equal(components.scheme, undefined, 'scheme')
208
- t.equal(components.userinfo, undefined, 'userinfo')
209
- t.equal(components.host, '2001:db8::7', 'host')
210
- t.equal(components.port, undefined, 'port')
211
- t.equal(components.path, '', 'path')
212
- t.equal(components.query, undefined, 'query')
213
- t.equal(components.fragment, undefined, 'fragment')
214
-
215
- // mixed IPv4address & IPv6address
216
- components = fastURI.parse('//[::ffff:129.144.52.38]')
217
- t.equal(components.error, undefined, 'IPv4address errors')
218
- t.equal(components.scheme, undefined, 'scheme')
219
- t.equal(components.userinfo, undefined, 'userinfo')
220
- t.equal(components.host, '::ffff:129.144.52.38', 'host')
221
- t.equal(components.port, undefined, 'port')
222
- t.equal(components.path, '', 'path')
223
- t.equal(components.query, undefined, 'query')
224
- t.equal(components.fragment, undefined, 'fragment')
225
-
226
- // mixed IPv4address & reg-name, example from terion-name (https://github.com/garycourt/uri-js/issues/4)
227
- components = fastURI.parse('uri://10.10.10.10.example.com/en/process')
228
- t.equal(components.error, undefined, 'mixed errors')
229
- t.equal(components.scheme, 'uri', 'scheme')
230
- t.equal(components.userinfo, undefined, 'userinfo')
231
- t.equal(components.host, '10.10.10.10.example.com', 'host')
232
- t.equal(components.port, undefined, 'port')
233
- t.equal(components.path, '/en/process', 'path')
234
- t.equal(components.query, undefined, 'query')
235
- t.equal(components.fragment, undefined, 'fragment')
236
-
237
- // IPv6address, example from bkw (https://github.com/garycourt/uri-js/pull/16)
238
- components = fastURI.parse('//[2606:2800:220:1:248:1893:25c8:1946]/test')
239
- t.equal(components.error, undefined, 'IPv6address errors')
240
- t.equal(components.scheme, undefined, 'scheme')
241
- t.equal(components.userinfo, undefined, 'userinfo')
242
- t.equal(components.host, '2606:2800:220:1:248:1893:25c8:1946', 'host')
243
- t.equal(components.port, undefined, 'port')
244
- t.equal(components.path, '/test', 'path')
245
- t.equal(components.query, undefined, 'query')
246
- t.equal(components.fragment, undefined, 'fragment')
247
-
248
- // IPv6address, example from RFC 5952
249
- components = fastURI.parse('//[2001:db8::1]:80')
250
- t.equal(components.error, undefined, 'IPv6address errors')
251
- t.equal(components.scheme, undefined, 'scheme')
252
- t.equal(components.userinfo, undefined, 'userinfo')
253
- t.equal(components.host, '2001:db8::1', 'host')
254
- t.equal(components.port, 80, 'port')
255
- t.equal(components.path, '', 'path')
256
- t.equal(components.query, undefined, 'query')
257
- t.equal(components.fragment, undefined, 'fragment')
258
-
259
- // IPv6address with zone identifier, RFC 6874
260
- components = fastURI.parse('//[fe80::a%25en1]')
261
- t.equal(components.error, undefined, 'IPv4address errors')
262
- t.equal(components.scheme, undefined, 'scheme')
263
- t.equal(components.userinfo, undefined, 'userinfo')
264
- t.equal(components.host, 'fe80::a%en1', 'host')
265
- t.equal(components.port, undefined, 'port')
266
- t.equal(components.path, '', 'path')
267
- t.equal(components.query, undefined, 'query')
268
- t.equal(components.fragment, undefined, 'fragment')
269
-
270
- // IPv6address with an unescaped interface specifier, example from pekkanikander (https://github.com/garycourt/uri-js/pull/22)
271
- components = fastURI.parse('//[2001:db8::7%en0]')
272
- t.equal(components.error, undefined, 'IPv6address interface errors')
273
- t.equal(components.scheme, undefined, 'scheme')
274
- t.equal(components.userinfo, undefined, 'userinfo')
275
- t.equal(components.host, '2001:db8::7%en0', 'host')
276
- t.equal(components.port, undefined, 'port')
277
- t.equal(components.path, '', 'path')
278
- t.equal(components.query, undefined, 'query')
279
- t.equal(components.fragment, undefined, 'fragment')
280
-
281
- t.end()
282
- })
283
-
284
- test('URI Serialization', (t) => {
285
- let components = {
286
- scheme: undefined,
287
- userinfo: undefined,
288
- host: undefined,
289
- port: undefined,
290
- path: undefined,
291
- query: undefined,
292
- fragment: undefined
293
- }
294
- t.equal(fastURI.serialize(components), '', 'Undefined Components')
295
-
296
- components = {
297
- scheme: '',
298
- userinfo: '',
299
- host: '',
300
- port: 0,
301
- path: '',
302
- query: '',
303
- fragment: ''
304
- }
305
- t.equal(fastURI.serialize(components), '//@:0?#', 'Empty Components')
306
-
307
- components = {
308
- scheme: 'uri',
309
- userinfo: 'foo:bar',
310
- host: 'example.com',
311
- port: 1,
312
- path: 'path',
313
- query: 'query',
314
- fragment: 'fragment'
315
- }
316
- t.equal(fastURI.serialize(components), 'uri://foo:bar@example.com:1/path?query#fragment', 'All Components')
317
-
318
- components = {
319
- scheme: 'uri',
320
- host: 'example.com',
321
- port: '9000'
322
- }
323
- t.equal(fastURI.serialize(components), 'uri://example.com:9000', 'String port')
324
-
325
- t.equal(fastURI.serialize({ path: '//path' }), '/%2Fpath', 'Double slash path')
326
- t.equal(fastURI.serialize({ path: 'foo:bar' }), 'foo%3Abar', 'Colon path')
327
- t.equal(fastURI.serialize({ path: '?query' }), '%3Fquery', 'Query path')
328
-
329
- // mixed IPv4address & reg-name, example from terion-name (https://github.com/garycourt/uri-js/issues/4)
330
- t.equal(fastURI.serialize({ host: '10.10.10.10.example.com' }), '//10.10.10.10.example.com', 'Mixed IPv4address & reg-name')
331
-
332
- // IPv6address
333
- t.equal(fastURI.serialize({ host: '2001:db8::7' }), '//[2001:db8::7]', 'IPv6 Host')
334
- t.equal(fastURI.serialize({ host: '::ffff:129.144.52.38' }), '//[::ffff:129.144.52.38]', 'IPv6 Mixed Host')
335
- t.equal(fastURI.serialize({ host: '2606:2800:220:1:248:1893:25c8:1946' }), '//[2606:2800:220:1:248:1893:25c8:1946]', 'IPv6 Full Host')
336
-
337
- // IPv6address with zone identifier, RFC 6874
338
- t.equal(fastURI.serialize({ host: 'fe80::a%en1' }), '//[fe80::a%25en1]', 'IPv6 Zone Unescaped Host')
339
- t.equal(fastURI.serialize({ host: 'fe80::a%25en1' }), '//[fe80::a%25en1]', 'IPv6 Zone Escaped Host')
340
-
341
- t.end()
342
- })
343
-
344
- test('URI Resolving', { skip: true }, (t) => {
345
- // normal examples from RFC 3986
346
- const base = 'uri://a/b/c/d;p?q'
347
- t.equal(fastURI.resolve(base, 'g:h'), 'g:h', 'g:h')
348
- t.equal(fastURI.resolve(base, 'g'), 'uri://a/b/c/g', 'g')
349
- t.equal(fastURI.resolve(base, './g'), 'uri://a/b/c/g', './g')
350
- t.equal(fastURI.resolve(base, 'g/'), 'uri://a/b/c/g/', 'g/')
351
- t.equal(fastURI.resolve(base, '/g'), 'uri://a/g', '/g')
352
- t.equal(fastURI.resolve(base, '//g'), 'uri://g', '//g')
353
- t.equal(fastURI.resolve(base, '?y'), 'uri://a/b/c/d;p?y', '?y')
354
- t.equal(fastURI.resolve(base, 'g?y'), 'uri://a/b/c/g?y', 'g?y')
355
- t.equal(fastURI.resolve(base, '#s'), 'uri://a/b/c/d;p?q#s', '#s')
356
- t.equal(fastURI.resolve(base, 'g#s'), 'uri://a/b/c/g#s', 'g#s')
357
- t.equal(fastURI.resolve(base, 'g?y#s'), 'uri://a/b/c/g?y#s', 'g?y#s')
358
- t.equal(fastURI.resolve(base, ';x'), 'uri://a/b/c/;x', ';x')
359
- t.equal(fastURI.resolve(base, 'g;x'), 'uri://a/b/c/g;x', 'g;x')
360
- t.equal(fastURI.resolve(base, 'g;x?y#s'), 'uri://a/b/c/g;x?y#s', 'g;x?y#s')
361
- t.equal(fastURI.resolve(base, ''), 'uri://a/b/c/d;p?q', '')
362
- t.equal(fastURI.resolve(base, '.'), 'uri://a/b/c/', '.')
363
- t.equal(fastURI.resolve(base, './'), 'uri://a/b/c/', './')
364
- t.equal(fastURI.resolve(base, '..'), 'uri://a/b/', '..')
365
- t.equal(fastURI.resolve(base, '../'), 'uri://a/b/', '../')
366
- t.equal(fastURI.resolve(base, '../g'), 'uri://a/b/g', '../g')
367
- t.equal(fastURI.resolve(base, '../..'), 'uri://a/', '../..')
368
- t.equal(fastURI.resolve(base, '../../'), 'uri://a/', '../../')
369
- t.equal(fastURI.resolve(base, '../../g'), 'uri://a/g', '../../g')
370
-
371
- // abnormal examples from RFC 3986
372
- t.equal(fastURI.resolve(base, '../../../g'), 'uri://a/g', '../../../g')
373
- t.equal(fastURI.resolve(base, '../../../../g'), 'uri://a/g', '../../../../g')
374
-
375
- t.equal(fastURI.resolve(base, '/./g'), 'uri://a/g', '/./g')
376
- t.equal(fastURI.resolve(base, '/../g'), 'uri://a/g', '/../g')
377
- t.equal(fastURI.resolve(base, 'g.'), 'uri://a/b/c/g.', 'g.')
378
- t.equal(fastURI.resolve(base, '.g'), 'uri://a/b/c/.g', '.g')
379
- t.equal(fastURI.resolve(base, 'g..'), 'uri://a/b/c/g..', 'g..')
380
- t.equal(fastURI.resolve(base, '..g'), 'uri://a/b/c/..g', '..g')
381
-
382
- t.equal(fastURI.resolve(base, './../g'), 'uri://a/b/g', './../g')
383
- t.equal(fastURI.resolve(base, './g/.'), 'uri://a/b/c/g/', './g/.')
384
- t.equal(fastURI.resolve(base, 'g/./h'), 'uri://a/b/c/g/h', 'g/./h')
385
- t.equal(fastURI.resolve(base, 'g/../h'), 'uri://a/b/c/h', 'g/../h')
386
- t.equal(fastURI.resolve(base, 'g;x=1/./y'), 'uri://a/b/c/g;x=1/y', 'g;x=1/./y')
387
- t.equal(fastURI.resolve(base, 'g;x=1/../y'), 'uri://a/b/c/y', 'g;x=1/../y')
388
-
389
- t.equal(fastURI.resolve(base, 'g?y/./x'), 'uri://a/b/c/g?y/./x', 'g?y/./x')
390
- t.equal(fastURI.resolve(base, 'g?y/../x'), 'uri://a/b/c/g?y/../x', 'g?y/../x')
391
- t.equal(fastURI.resolve(base, 'g#s/./x'), 'uri://a/b/c/g#s/./x', 'g#s/./x')
392
- t.equal(fastURI.resolve(base, 'g#s/../x'), 'uri://a/b/c/g#s/../x', 'g#s/../x')
393
-
394
- t.equal(fastURI.resolve(base, 'uri:g'), 'uri:g', 'uri:g')
395
- t.equal(fastURI.resolve(base, 'uri:g', { tolerant: true }), 'uri://a/b/c/g', 'uri:g')
396
-
397
- // examples by PAEz
398
- t.equal(fastURI.resolve('//www.g.com/', '/adf\ngf'), '//www.g.com/adf%0Agf', '/adf\\ngf')
399
- t.equal(fastURI.resolve('//www.g.com/error\n/bleh/bleh', '..'), '//www.g.com/error%0A/', '//www.g.com/error\\n/bleh/bleh')
400
-
401
- t.end()
402
- })
403
-
404
- test('URI Normalizing', { skip: true }, (t) => {
405
- // test from RFC 3987
406
- t.equal(fastURI.normalize('uri://www.example.org/red%09ros\xE9#red'), 'uri://www.example.org/red%09ros%C3%A9#red')
407
-
408
- // IPv4address
409
- t.equal(fastURI.normalize('//192.068.001.000'), '//192.68.1.0')
410
-
411
- // IPv6address, example from RFC 3513
412
- t.equal(fastURI.normalize('http://[1080::8:800:200C:417A]/'), 'http://[1080::8:800:200c:417a]/')
413
-
414
- // IPv6address, examples from RFC 5952
415
- t.equal(fastURI.normalize('//[2001:0db8::0001]/'), '//[2001:db8::1]/')
416
- t.equal(fastURI.normalize('//[2001:db8::1:0000:1]/'), '//[2001:db8::1:0:1]/')
417
- t.equal(fastURI.normalize('//[2001:db8:0:0:0:0:2:1]/'), '//[2001:db8::2:1]/')
418
- t.equal(fastURI.normalize('//[2001:db8:0:1:1:1:1:1]/'), '//[2001:db8:0:1:1:1:1:1]/')
419
- t.equal(fastURI.normalize('//[2001:0:0:1:0:0:0:1]/'), '//[2001:0:0:1::1]/')
420
- t.equal(fastURI.normalize('//[2001:db8:0:0:1:0:0:1]/'), '//[2001:db8::1:0:0:1]/')
421
- t.equal(fastURI.normalize('//[2001:DB8::1]/'), '//[2001:db8::1]/')
422
- t.equal(fastURI.normalize('//[0:0:0:0:0:ffff:192.0.2.1]/'), '//[::ffff:192.0.2.1]/')
423
-
424
- // Mixed IPv4 and IPv6 address
425
- t.equal(fastURI.normalize('//[1:2:3:4:5:6:192.0.2.1]/'), '//[1:2:3:4:5:6:192.0.2.1]/')
426
- t.equal(fastURI.normalize('//[1:2:3:4:5:6:192.068.001.000]/'), '//[1:2:3:4:5:6:192.68.1.0]/')
427
-
428
- t.end()
429
- })
430
-
431
- test('URI Equals', (t) => {
432
- // test from RFC 3986
433
- t.equal(fastURI.equal('example://a/b/c/%7Bfoo%7D', 'eXAMPLE://a/./b/../b/%63/%7bfoo%7d'), true)
434
-
435
- // test from RFC 3987
436
- t.equal(fastURI.equal('http://example.org/~user', 'http://example.org/%7euser'), true)
437
-
438
- t.end()
439
- })
440
-
441
- test('Escape Component', { skip: true }, (t) => {
442
- let chr
443
- for (let d = 0; d <= 129; ++d) {
444
- chr = String.fromCharCode(d)
445
- if (!chr.match(/[$&+,;=]/)) {
446
- t.equal(fastURI.escapeComponent(chr), encodeURIComponent(chr))
447
- } else {
448
- t.equal(fastURI.escapeComponent(chr), chr)
449
- }
450
- }
451
- t.equal(fastURI.escapeComponent('\u00c0'), encodeURIComponent('\u00c0'))
452
- t.equal(fastURI.escapeComponent('\u07ff'), encodeURIComponent('\u07ff'))
453
- t.equal(fastURI.escapeComponent('\u0800'), encodeURIComponent('\u0800'))
454
- t.equal(fastURI.escapeComponent('\u30a2'), encodeURIComponent('\u30a2'))
455
- t.end()
456
- })
457
-
458
- test('Unescape Component', { skip: true }, (t) => {
459
- let chr
460
- for (let d = 0; d <= 129; ++d) {
461
- chr = String.fromCharCode(d)
462
- t.equal(fastURI.unescapeComponent(encodeURIComponent(chr)), chr)
463
- }
464
- t.equal(fastURI.unescapeComponent(encodeURIComponent('\u00c0')), '\u00c0')
465
- t.equal(fastURI.unescapeComponent(encodeURIComponent('\u07ff')), '\u07ff')
466
- t.equal(fastURI.unescapeComponent(encodeURIComponent('\u0800')), '\u0800')
467
- t.equal(fastURI.unescapeComponent(encodeURIComponent('\u30a2')), '\u30a2')
468
- t.end()
469
- })
470
-
471
- const IRI_OPTION = { iri: true, unicodeSupport: true }
472
-
473
- test('IRI Parsing', { skip: true }, (t) => {
474
- const components = fastURI.parse('uri://us\xA0er:pa\uD7FFss@example.com:123/o\uF900ne/t\uFDCFwo.t\uFDF0hree?q1=a1\uF8FF\uE000&q2=a2#bo\uFFEFdy', IRI_OPTION)
475
- t.equal(components.error, undefined, 'all errors')
476
- t.equal(components.scheme, 'uri', 'scheme')
477
- t.equal(components.userinfo, 'us\xA0er:pa\uD7FFss', 'userinfo')
478
- t.equal(components.host, 'example.com', 'host')
479
- t.equal(components.port, 123, 'port')
480
- t.equal(components.path, '/o\uF900ne/t\uFDCFwo.t\uFDF0hree', 'path')
481
- t.equal(components.query, 'q1=a1\uF8FF\uE000&q2=a2', 'query')
482
- t.equal(components.fragment, 'bo\uFFEFdy', 'fragment')
483
- t.end()
484
- })
485
-
486
- test('IRI Serialization', { skip: true }, (t) => {
487
- const components = {
488
- scheme: 'uri',
489
- userinfo: 'us\xA0er:pa\uD7FFss',
490
- host: 'example.com',
491
- port: 123,
492
- path: '/o\uF900ne/t\uFDCFwo.t\uFDF0hree',
493
- query: 'q1=a1\uF8FF\uE000&q2=a2',
494
- fragment: 'bo\uFFEFdy\uE001'
495
- }
496
- t.equal(fastURI.serialize(components, IRI_OPTION), 'uri://us\xA0er:pa\uD7FFss@example.com:123/o\uF900ne/t\uFDCFwo.t\uFDF0hree?q1=a1\uF8FF\uE000&q2=a2#bo\uFFEFdy%EE%80%81')
497
- t.end()
498
- })
499
-
500
- test('IRI Normalizing', { skip: true }, (t) => {
501
- t.equal(fastURI.normalize('uri://www.example.org/red%09ros\xE9#red', IRI_OPTION), 'uri://www.example.org/red%09ros\xE9#red')
502
- t.end()
503
- })
504
-
505
- test('IRI Equals', { skip: true }, (t) => {
506
- // example from RFC 3987
507
- t.equal(fastURI.equal('example://a/b/c/%7Bfoo%7D/ros\xE9', 'eXAMPLE://a/./b/../b/%63/%7bfoo%7d/ros%C3%A9', IRI_OPTION), true)
508
- t.end()
509
- })
510
-
511
- test('Convert IRI to URI', { skip: true }, (t) => {
512
- // example from RFC 3987
513
- t.equal(fastURI.serialize(fastURI.parse('uri://www.example.org/red%09ros\xE9#red', IRI_OPTION)), 'uri://www.example.org/red%09ros%C3%A9#red')
514
-
515
- // Internationalized Domain Name conversion via punycode example from RFC 3987
516
- t.equal(fastURI.serialize(fastURI.parse('uri://r\xE9sum\xE9.example.org', { iri: true, domainHost: true }), { domainHost: true }), 'uri://xn--rsum-bpad.example.org')
517
- t.end()
518
- })
519
-
520
- test('Convert URI to IRI', { skip: true }, (t) => {
521
- // examples from RFC 3987
522
- t.equal(fastURI.serialize(fastURI.parse('uri://www.example.org/D%C3%BCrst'), IRI_OPTION), 'uri://www.example.org/D\xFCrst')
523
- t.equal(fastURI.serialize(fastURI.parse('uri://www.example.org/D%FCrst'), IRI_OPTION), 'uri://www.example.org/D%FCrst')
524
- t.equal(fastURI.serialize(fastURI.parse('uri://xn--99zt52a.example.org/%e2%80%ae'), IRI_OPTION), 'uri://xn--99zt52a.example.org/%E2%80%AE') // or uri://\u7D0D\u8C46.example.org/%E2%80%AE
525
-
526
- // Internationalized Domain Name conversion via punycode example from RFC 3987
527
- t.equal(fastURI.serialize(fastURI.parse('uri://xn--rsum-bpad.example.org', { domainHost: true }), { iri: true, domainHost: true }), 'uri://r\xE9sum\xE9.example.org')
528
- t.end()
529
- })
530
-
531
- if (fastURI.SCHEMES.http) {
532
- test('HTTP Equals', (t) => {
533
- // test from RFC 2616
534
- t.equal(fastURI.equal('http://abc.com:80/~smith/home.html', 'http://abc.com/~smith/home.html'), true)
535
- t.equal(fastURI.equal('http://ABC.com/%7Esmith/home.html', 'http://abc.com/~smith/home.html'), true)
536
- t.equal(fastURI.equal('http://ABC.com:/%7esmith/home.html', 'http://abc.com/~smith/home.html'), true)
537
- t.equal(fastURI.equal('HTTP://ABC.COM', 'http://abc.com/'), true)
538
- // test from RFC 3986
539
- t.equal(fastURI.equal('http://example.com:/', 'http://example.com:80/'), true)
540
- t.end()
541
- })
542
- }
543
-
544
- if (fastURI.SCHEMES.https) {
545
- test('HTTPS Equals', (t) => {
546
- t.equal(fastURI.equal('https://example.com', 'https://example.com:443/'), true)
547
- t.equal(fastURI.equal('https://example.com:/', 'https://example.com:443/'), true)
548
- t.end()
549
- })
550
- }
551
-
552
- if (fastURI.SCHEMES.urn) {
553
- test('URN Parsing', (t) => {
554
- // example from RFC 2141
555
- const components = fastURI.parse('urn:foo:a123,456')
556
- t.equal(components.error, undefined, 'errors')
557
- t.equal(components.scheme, 'urn', 'scheme')
558
- t.equal(components.userinfo, undefined, 'userinfo')
559
- t.equal(components.host, undefined, 'host')
560
- t.equal(components.port, undefined, 'port')
561
- t.equal(components.path, undefined, 'path')
562
- t.equal(components.query, undefined, 'query')
563
- t.equal(components.fragment, undefined, 'fragment')
564
- t.equal(components.nid, 'foo', 'nid')
565
- t.equal(components.nss, 'a123,456', 'nss')
566
- t.end()
567
- })
568
-
569
- test('URN Serialization', (t) => {
570
- // example from RFC 2141
571
- const components = {
572
- scheme: 'urn',
573
- nid: 'foo',
574
- nss: 'a123,456'
575
- }
576
- t.equal(fastURI.serialize(components), 'urn:foo:a123,456')
577
- t.end()
578
- })
579
-
580
- test('URN Equals', { skip: true }, (t) => {
581
- // test from RFC 2141
582
- t.equal(fastURI.equal('urn:foo:a123,456', 'urn:foo:a123,456'), true)
583
- t.equal(fastURI.equal('urn:foo:a123,456', 'URN:foo:a123,456'), true)
584
- t.equal(fastURI.equal('urn:foo:a123,456', 'urn:FOO:a123,456'), true)
585
- t.equal(fastURI.equal('urn:foo:a123,456', 'urn:foo:A123,456'), false)
586
- t.equal(fastURI.equal('urn:foo:a123%2C456', 'URN:FOO:a123%2c456'), true)
587
- t.end()
588
- })
589
-
590
- test('URN Resolving', (t) => {
591
- // example from epoberezkin
592
- t.equal(fastURI.resolve('', 'urn:some:ip:prop'), 'urn:some:ip:prop')
593
- t.equal(fastURI.resolve('#', 'urn:some:ip:prop'), 'urn:some:ip:prop')
594
- t.equal(fastURI.resolve('urn:some:ip:prop', 'urn:some:ip:prop'), 'urn:some:ip:prop')
595
- t.equal(fastURI.resolve('urn:some:other:prop', 'urn:some:ip:prop'), 'urn:some:ip:prop')
596
- t.end()
597
- })
598
-
599
- test('UUID Parsing', (t) => {
600
- // example from RFC 4122
601
- let components = fastURI.parse('urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6')
602
- t.equal(components.error, undefined, 'errors')
603
- t.equal(components.scheme, 'urn', 'scheme')
604
- t.equal(components.userinfo, undefined, 'userinfo')
605
- t.equal(components.host, undefined, 'host')
606
- t.equal(components.port, undefined, 'port')
607
- t.equal(components.path, undefined, 'path')
608
- t.equal(components.query, undefined, 'query')
609
- t.equal(components.fragment, undefined, 'fragment')
610
- t.equal(components.nid, 'uuid', 'nid')
611
- t.equal(components.nss, undefined, 'nss')
612
- t.equal(components.uuid, 'f81d4fae-7dec-11d0-a765-00a0c91e6bf6', 'uuid')
613
-
614
- components = fastURI.parse('urn:uuid:notauuid-7dec-11d0-a765-00a0c91e6bf6')
615
- t.notEqual(components.error, undefined, 'errors')
616
- t.end()
617
- })
618
-
619
- test('UUID Serialization', (t) => {
620
- // example from RFC 4122
621
- let components = {
622
- scheme: 'urn',
623
- nid: 'uuid',
624
- uuid: 'f81d4fae-7dec-11d0-a765-00a0c91e6bf6'
625
- }
626
- t.equal(fastURI.serialize(components), 'urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6')
627
-
628
- components = {
629
- scheme: 'urn',
630
- nid: 'uuid',
631
- uuid: 'notauuid-7dec-11d0-a765-00a0c91e6bf6'
632
- }
633
- t.equal(fastURI.serialize(components), 'urn:uuid:notauuid-7dec-11d0-a765-00a0c91e6bf6')
634
- t.end()
635
- })
636
-
637
- test('UUID Equals', (t) => {
638
- t.equal(fastURI.equal('URN:UUID:F81D4FAE-7DEC-11D0-A765-00A0C91E6BF6', 'urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6'), true)
639
- t.end()
640
- })
641
-
642
- test('URN NID Override', (t) => {
643
- let components = fastURI.parse('urn:foo:f81d4fae-7dec-11d0-a765-00a0c91e6bf6', { nid: 'uuid' })
644
- t.equal(components.error, undefined, 'errors')
645
- t.equal(components.scheme, 'urn', 'scheme')
646
- t.equal(components.path, undefined, 'path')
647
- t.equal(components.nid, 'foo', 'nid')
648
- t.equal(components.nss, undefined, 'nss')
649
- t.equal(components.uuid, 'f81d4fae-7dec-11d0-a765-00a0c91e6bf6', 'uuid')
650
-
651
- components = {
652
- scheme: 'urn',
653
- nid: 'foo',
654
- uuid: 'f81d4fae-7dec-11d0-a765-00a0c91e6bf6'
655
- }
656
- t.equal(fastURI.serialize(components, { nid: 'uuid' }), 'urn:foo:f81d4fae-7dec-11d0-a765-00a0c91e6bf6')
657
- t.end()
658
- })
659
- }
660
-
661
- if (fastURI.SCHEMES.mailto) {
662
- test('Mailto Parse', (t) => {
663
- let components
664
-
665
- // tests from RFC 6068
666
-
667
- components = fastURI.parse('mailto:chris@example.com')
668
- t.equal(components.error, undefined, 'error')
669
- t.equal(components.scheme, 'mailto', 'scheme')
670
- t.equal(components.userinfo, undefined, 'userinfo')
671
- t.equal(components.host, undefined, 'host')
672
- t.equal(components.port, undefined, 'port')
673
- t.equal(components.path, undefined, 'path')
674
- t.equal(components.query, undefined, 'query')
675
- t.equal(components.fragment, undefined, 'fragment')
676
- t.deepEqual(components.to, ['chris@example.com'], 'to')
677
- t.equal(components.subject, undefined, 'subject')
678
- t.equal(components.body, undefined, 'body')
679
- t.equal(components.headers, undefined, 'headers')
680
-
681
- components = fastURI.parse('mailto:infobot@example.com?subject=current-issue')
682
- t.deepEqual(components.to, ['infobot@example.com'], 'to')
683
- t.equal(components.subject, 'current-issue', 'subject')
684
-
685
- components = fastURI.parse('mailto:infobot@example.com?body=send%20current-issue')
686
- t.deepEqual(components.to, ['infobot@example.com'], 'to')
687
- t.equal(components.body, 'send current-issue', 'body')
688
-
689
- components = fastURI.parse('mailto:infobot@example.com?body=send%20current-issue%0D%0Asend%20index')
690
- t.deepEqual(components.to, ['infobot@example.com'], 'to')
691
- t.equal(components.body, 'send current-issue\x0D\x0Asend index', 'body')
692
-
693
- components = fastURI.parse('mailto:list@example.org?In-Reply-To=%3C3469A91.D10AF4C@example.com%3E')
694
- t.deepEqual(components.to, ['list@example.org'], 'to')
695
- t.deepEqual(components.headers, { 'In-Reply-To': '<3469A91.D10AF4C@example.com>' }, 'headers')
696
-
697
- components = fastURI.parse('mailto:majordomo@example.com?body=subscribe%20bamboo-l')
698
- t.deepEqual(components.to, ['majordomo@example.com'], 'to')
699
- t.equal(components.body, 'subscribe bamboo-l', 'body')
700
-
701
- components = fastURI.parse('mailto:joe@example.com?cc=bob@example.com&body=hello')
702
- t.deepEqual(components.to, ['joe@example.com'], 'to')
703
- t.equal(components.body, 'hello', 'body')
704
- t.deepEqual(components.headers, { cc: 'bob@example.com' }, 'headers')
705
-
706
- components = fastURI.parse('mailto:joe@example.com?cc=bob@example.com?body=hello')
707
- if (fastURI.VALIDATE_SUPPORT) t.ok(components.error, 'invalid header fields')
708
-
709
- components = fastURI.parse('mailto:gorby%25kremvax@example.com')
710
- t.deepEqual(components.to, ['gorby%kremvax@example.com'], 'to gorby%kremvax@example.com')
711
-
712
- components = fastURI.parse('mailto:unlikely%3Faddress@example.com?blat=foop')
713
- t.deepEqual(components.to, ['unlikely?address@example.com'], 'to unlikely?address@example.com')
714
- t.deepEqual(components.headers, { blat: 'foop' }, 'headers')
715
-
716
- components = fastURI.parse('mailto:Mike%26family@example.org')
717
- t.deepEqual(components.to, ['Mike&family@example.org'], 'to Mike&family@example.org')
718
-
719
- components = fastURI.parse('mailto:%22not%40me%22@example.org')
720
- t.deepEqual(components.to, ['"not@me"@example.org'], 'to ' + '"not@me"@example.org')
721
-
722
- components = fastURI.parse('mailto:%22oh%5C%5Cno%22@example.org')
723
- t.deepEqual(components.to, ['"oh\\\\no"@example.org'], 'to ' + '"oh\\\\no"@example.org')
724
-
725
- components = fastURI.parse("mailto:%22%5C%5C%5C%22it's%5C%20ugly%5C%5C%5C%22%22@example.org")
726
- t.deepEqual(components.to, ['"\\\\\\"it\'s\\ ugly\\\\\\""@example.org'], 'to ' + '"\\\\\\"it\'s\\ ugly\\\\\\""@example.org')
727
-
728
- components = fastURI.parse('mailto:user@example.org?subject=caf%C3%A9')
729
- t.deepEqual(components.to, ['user@example.org'], 'to')
730
- t.equal(components.subject, 'caf\xE9', 'subject')
731
-
732
- components = fastURI.parse('mailto:user@example.org?subject=%3D%3Futf-8%3FQ%3Fcaf%3DC3%3DA9%3F%3D')
733
- t.deepEqual(components.to, ['user@example.org'], 'to')
734
- t.equal(components.subject, '=?utf-8?Q?caf=C3=A9?=', 'subject') // TODO: Verify this
735
-
736
- components = fastURI.parse('mailto:user@example.org?subject=%3D%3Fiso-8859-1%3FQ%3Fcaf%3DE9%3F%3D')
737
- t.deepEqual(components.to, ['user@example.org'], 'to')
738
- t.equal(components.subject, '=?iso-8859-1?Q?caf=E9?=', 'subject') // TODO: Verify this
739
-
740
- components = fastURI.parse('mailto:user@example.org?subject=caf%C3%A9&body=caf%C3%A9')
741
- t.deepEqual(components.to, ['user@example.org'], 'to')
742
- t.equal(components.subject, 'caf\xE9', 'subject')
743
- t.equal(components.body, 'caf\xE9', 'body')
744
-
745
- if (fastURI.IRI_SUPPORT) {
746
- components = fastURI.parse('mailto:user@%E7%B4%8D%E8%B1%86.example.org?subject=Test&body=NATTO')
747
- t.deepEqual(components.to, ['user@xn--99zt52a.example.org'], 'to')
748
- t.equal(components.subject, 'Test', 'subject')
749
- t.equal(components.body, 'NATTO', 'body')
750
- }
751
-
752
- t.end()
753
- })
754
-
755
- test('Mailto Serialize', (t) => {
756
- // tests from RFC 6068
757
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['chris@example.com'] }), 'mailto:chris@example.com')
758
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['infobot@example.com'], body: 'current-issue' }), 'mailto:infobot@example.com?body=current-issue')
759
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['infobot@example.com'], body: 'send current-issue' }), 'mailto:infobot@example.com?body=send%20current-issue')
760
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['infobot@example.com'], body: 'send current-issue\x0D\x0Asend index' }), 'mailto:infobot@example.com?body=send%20current-issue%0D%0Asend%20index')
761
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['list@example.org'], headers: { 'In-Reply-To': '<3469A91.D10AF4C@example.com>' } }), 'mailto:list@example.org?In-Reply-To=%3C3469A91.D10AF4C@example.com%3E')
762
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['majordomo@example.com'], body: 'subscribe bamboo-l' }), 'mailto:majordomo@example.com?body=subscribe%20bamboo-l')
763
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['joe@example.com'], headers: { cc: 'bob@example.com', body: 'hello' } }), 'mailto:joe@example.com?cc=bob@example.com&body=hello')
764
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['gorby%25kremvax@example.com'] }), 'mailto:gorby%25kremvax@example.com')
765
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['unlikely%3Faddress@example.com'], headers: { blat: 'foop' } }), 'mailto:unlikely%3Faddress@example.com?blat=foop')
766
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['Mike&family@example.org'] }), 'mailto:Mike%26family@example.org')
767
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['"not@me"@example.org'] }), 'mailto:%22not%40me%22@example.org')
768
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['"oh\\\\no"@example.org'] }), 'mailto:%22oh%5C%5Cno%22@example.org')
769
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['"\\\\\\"it\'s\\ ugly\\\\\\""@example.org'] }), "mailto:%22%5C%5C%5C%22it's%5C%20ugly%5C%5C%5C%22%22@example.org")
770
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['user@example.org'], subject: 'caf\xE9' }), 'mailto:user@example.org?subject=caf%C3%A9')
771
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['user@example.org'], subject: '=?utf-8?Q?caf=C3=A9?=' }), 'mailto:user@example.org?subject=%3D%3Futf-8%3FQ%3Fcaf%3DC3%3DA9%3F%3D')
772
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['user@example.org'], subject: '=?iso-8859-1?Q?caf=E9?=' }), 'mailto:user@example.org?subject=%3D%3Fiso-8859-1%3FQ%3Fcaf%3DE9%3F%3D')
773
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['user@example.org'], subject: 'caf\xE9', body: 'caf\xE9' }), 'mailto:user@example.org?subject=caf%C3%A9&body=caf%C3%A9')
774
- if (fastURI.IRI_SUPPORT) {
775
- t.equal(fastURI.serialize({ scheme: 'mailto', to: ['us\xE9r@\u7d0d\u8c46.example.org'], subject: 'Test', body: 'NATTO' }), 'mailto:us%C3%A9r@xn--99zt52a.example.org?subject=Test&body=NATTO')
776
- }
777
- t.end()
778
- })
779
-
780
- test('Mailto Equals', (t) => {
781
- // tests from RFC 6068
782
- t.equal(fastURI.equal('mailto:addr1@an.example,addr2@an.example', 'mailto:?to=addr1@an.example,addr2@an.example'), true)
783
- t.equal(fastURI.equal('mailto:?to=addr1@an.example,addr2@an.example', 'mailto:addr1@an.example?to=addr2@an.example'), true)
784
- t.end()
785
- })
786
- }
787
-
788
- if (fastURI.SCHEMES.ws) {
789
- test('WS Parse', (t) => {
790
- let components
791
-
792
- // example from RFC 6455, Sec 4.1
793
- components = fastURI.parse('ws://example.com/chat')
794
- t.equal(components.error, undefined, 'error')
795
- t.equal(components.scheme, 'ws', 'scheme')
796
- t.equal(components.userinfo, undefined, 'userinfo')
797
- t.equal(components.host, 'example.com', 'host')
798
- t.equal(components.port, undefined, 'port')
799
- t.equal(components.path, undefined, 'path')
800
- t.equal(components.query, undefined, 'query')
801
- t.equal(components.fragment, undefined, 'fragment')
802
- t.equal(components.resourceName, '/chat', 'resourceName')
803
- t.equal(components.secure, false, 'secure')
804
-
805
- components = fastURI.parse('ws://example.com/foo?bar=baz')
806
- t.equal(components.error, undefined, 'error')
807
- t.equal(components.scheme, 'ws', 'scheme')
808
- t.equal(components.userinfo, undefined, 'userinfo')
809
- t.equal(components.host, 'example.com', 'host')
810
- t.equal(components.port, undefined, 'port')
811
- t.equal(components.path, undefined, 'path')
812
- t.equal(components.query, undefined, 'query')
813
- t.equal(components.fragment, undefined, 'fragment')
814
- t.equal(components.resourceName, '/foo?bar=baz', 'resourceName')
815
- t.equal(components.secure, false, 'secure')
816
-
817
- components = fastURI.parse('ws://example.com/?bar=baz')
818
- t.equal(components.resourceName, '/?bar=baz', 'resourceName')
819
-
820
- t.end()
821
- })
822
-
823
- test('WS Serialize', (t) => {
824
- t.equal(fastURI.serialize({ scheme: 'ws' }), 'ws:')
825
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com' }), 'ws://example.com')
826
- t.equal(fastURI.serialize({ scheme: 'ws', resourceName: '/' }), 'ws:')
827
- t.equal(fastURI.serialize({ scheme: 'ws', resourceName: '/foo' }), 'ws:/foo')
828
- t.equal(fastURI.serialize({ scheme: 'ws', resourceName: '/foo?bar' }), 'ws:/foo?bar')
829
- t.equal(fastURI.serialize({ scheme: 'ws', secure: false }), 'ws:')
830
- t.equal(fastURI.serialize({ scheme: 'ws', secure: true }), 'wss:')
831
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com', resourceName: '/foo' }), 'ws://example.com/foo')
832
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com', resourceName: '/foo?bar' }), 'ws://example.com/foo?bar')
833
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com', secure: false }), 'ws://example.com')
834
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com', secure: true }), 'wss://example.com')
835
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com', resourceName: '/foo?bar', secure: false }), 'ws://example.com/foo?bar')
836
- t.equal(fastURI.serialize({ scheme: 'ws', host: 'example.com', resourceName: '/foo?bar', secure: true }), 'wss://example.com/foo?bar')
837
- t.end()
838
- })
839
-
840
- test('WS Equal', (t) => {
841
- t.equal(fastURI.equal('WS://ABC.COM:80/chat#one', 'ws://abc.com/chat'), true)
842
- t.end()
843
- })
844
-
845
- test('WS Normalize', (t) => {
846
- t.equal(fastURI.normalize('ws://example.com:80/foo#hash'), 'ws://example.com/foo')
847
- t.end()
848
- })
849
- }
850
-
851
- if (fastURI.SCHEMES.wss) {
852
- test('WSS Parse', (t) => {
853
- let components
854
-
855
- // example from RFC 6455, Sec 4.1
856
- components = fastURI.parse('wss://example.com/chat')
857
- t.equal(components.error, undefined, 'error')
858
- t.equal(components.scheme, 'wss', 'scheme')
859
- t.equal(components.userinfo, undefined, 'userinfo')
860
- t.equal(components.host, 'example.com', 'host')
861
- t.equal(components.port, undefined, 'port')
862
- t.equal(components.path, undefined, 'path')
863
- t.equal(components.query, undefined, 'query')
864
- t.equal(components.fragment, undefined, 'fragment')
865
- t.equal(components.resourceName, '/chat', 'resourceName')
866
- t.equal(components.secure, true, 'secure')
867
-
868
- components = fastURI.parse('wss://example.com/foo?bar=baz')
869
- t.equal(components.error, undefined, 'error')
870
- t.equal(components.scheme, 'wss', 'scheme')
871
- t.equal(components.userinfo, undefined, 'userinfo')
872
- t.equal(components.host, 'example.com', 'host')
873
- t.equal(components.port, undefined, 'port')
874
- t.equal(components.path, undefined, 'path')
875
- t.equal(components.query, undefined, 'query')
876
- t.equal(components.fragment, undefined, 'fragment')
877
- t.equal(components.resourceName, '/foo?bar=baz', 'resourceName')
878
- t.equal(components.secure, true, 'secure')
879
-
880
- components = fastURI.parse('wss://example.com/?bar=baz')
881
- t.equal(components.resourceName, '/?bar=baz', 'resourceName')
882
-
883
- t.end()
884
- })
885
-
886
- test('WSS Serialize', (t) => {
887
- t.equal(fastURI.serialize({ scheme: 'wss' }), 'wss:')
888
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com' }), 'wss://example.com')
889
- t.equal(fastURI.serialize({ scheme: 'wss', resourceName: '/' }), 'wss:')
890
- t.equal(fastURI.serialize({ scheme: 'wss', resourceName: '/foo' }), 'wss:/foo')
891
- t.equal(fastURI.serialize({ scheme: 'wss', resourceName: '/foo?bar' }), 'wss:/foo?bar')
892
- t.equal(fastURI.serialize({ scheme: 'wss', secure: false }), 'ws:')
893
- t.equal(fastURI.serialize({ scheme: 'wss', secure: true }), 'wss:')
894
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com', resourceName: '/foo' }), 'wss://example.com/foo')
895
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com', resourceName: '/foo?bar' }), 'wss://example.com/foo?bar')
896
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com', secure: false }), 'ws://example.com')
897
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com', secure: true }), 'wss://example.com')
898
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com', resourceName: '/foo?bar', secure: false }), 'ws://example.com/foo?bar')
899
- t.equal(fastURI.serialize({ scheme: 'wss', host: 'example.com', resourceName: '/foo?bar', secure: true }), 'wss://example.com/foo?bar')
900
- t.end()
901
- })
902
-
903
- test('WSS Equal', (t) => {
904
- t.equal(fastURI.equal('WSS://ABC.COM:443/chat#one', 'wss://abc.com/chat'), true)
905
- t.end()
906
- })
907
-
908
- test('WSS Normalize', (t) => {
909
- t.equal(fastURI.normalize('wss://example.com:443/foo#hash'), 'wss://example.com/foo')
910
- t.end()
911
- })
912
- }