repoburg 1.3.86 → 1.3.88

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 (534) hide show
  1. package/backend/dist/src/ai-actions/ai-actions.controller.js +67 -0
  2. package/backend/dist/src/ai-actions/ai-actions.controller.js.map +1 -1
  3. package/backend/dist/src/application-state/application-state.controller.js +123 -0
  4. package/backend/dist/src/application-state/application-state.controller.js.map +1 -1
  5. package/backend/dist/src/application-state/dto/set-alibaba-config.dto.js +2 -0
  6. package/backend/dist/src/application-state/dto/set-alibaba-config.dto.js.map +1 -1
  7. package/backend/dist/src/application-state/dto/set-auto-context-fetch-enabled.dto.js +4 -0
  8. package/backend/dist/src/application-state/dto/set-auto-context-fetch-enabled.dto.js.map +1 -1
  9. package/backend/dist/src/application-state/dto/set-auto-send-to-ai-studio-enabled.dto.js +2 -0
  10. package/backend/dist/src/application-state/dto/set-auto-send-to-ai-studio-enabled.dto.js.map +1 -1
  11. package/backend/dist/src/application-state/dto/set-context-token-limit.dto.js +6 -0
  12. package/backend/dist/src/application-state/dto/set-context-token-limit.dto.js.map +1 -1
  13. package/backend/dist/src/application-state/dto/set-execution-strategy.dto.js +6 -0
  14. package/backend/dist/src/application-state/dto/set-execution-strategy.dto.js.map +1 -1
  15. package/backend/dist/src/application-state/dto/set-followup-token-limit.dto.js +5 -0
  16. package/backend/dist/src/application-state/dto/set-followup-token-limit.dto.js.map +1 -1
  17. package/backend/dist/src/application-state/dto/set-history-compression-enabled.dto.js +4 -0
  18. package/backend/dist/src/application-state/dto/set-history-compression-enabled.dto.js.map +1 -1
  19. package/backend/dist/src/application-state/dto/set-llm-retry-enabled.dto.js +4 -0
  20. package/backend/dist/src/application-state/dto/set-llm-retry-enabled.dto.js.map +1 -1
  21. package/backend/dist/src/application-state/dto/set-llm-retry-max-attempts.dto.js +6 -0
  22. package/backend/dist/src/application-state/dto/set-llm-retry-max-attempts.dto.js.map +1 -1
  23. package/backend/dist/src/application-state/dto/set-manual-llm-enabled.dto.js +4 -0
  24. package/backend/dist/src/application-state/dto/set-manual-llm-enabled.dto.js.map +1 -1
  25. package/backend/dist/src/application-state/dto/set-openrouter-config.dto.js +2 -0
  26. package/backend/dist/src/application-state/dto/set-openrouter-config.dto.js.map +1 -1
  27. package/backend/dist/src/application-state/dto/set-streaming-enabled.dto.js +2 -0
  28. package/backend/dist/src/application-state/dto/set-streaming-enabled.dto.js.map +1 -1
  29. package/backend/dist/src/application-state/dto/set-syntax-validation-enabled.dto.js +4 -0
  30. package/backend/dist/src/application-state/dto/set-syntax-validation-enabled.dto.js.map +1 -1
  31. package/backend/dist/src/application-state/dto/set-theme.dto.js +6 -0
  32. package/backend/dist/src/application-state/dto/set-theme.dto.js.map +1 -1
  33. package/backend/dist/src/application-state/dto/set-tools-enabled.dto.js +4 -0
  34. package/backend/dist/src/application-state/dto/set-tools-enabled.dto.js.map +1 -1
  35. package/backend/dist/src/application-state/dto/set-websocket-enabled.dto.js +2 -0
  36. package/backend/dist/src/application-state/dto/set-websocket-enabled.dto.js.map +1 -1
  37. package/backend/dist/src/application-state/dto/set-yolo-mode-message.dto.js +5 -0
  38. package/backend/dist/src/application-state/dto/set-yolo-mode-message.dto.js.map +1 -1
  39. package/backend/dist/src/application-state/dto/set-yolo-mode.dto.js +4 -0
  40. package/backend/dist/src/application-state/dto/set-yolo-mode.dto.js.map +1 -1
  41. package/backend/dist/src/application-state/dto/set-zai-config.dto.js +2 -0
  42. package/backend/dist/src/application-state/dto/set-zai-config.dto.js.map +1 -1
  43. package/backend/dist/src/context-snippets/context-snippets.controller.js +38 -0
  44. package/backend/dist/src/context-snippets/context-snippets.controller.js.map +1 -1
  45. package/backend/dist/src/context-templates/context-templates.controller.js +104 -0
  46. package/backend/dist/src/context-templates/context-templates.controller.js.map +1 -1
  47. package/backend/dist/src/context-templates/dto/context-template.dto.d.ts +1 -1
  48. package/backend/dist/src/context-templates/dto/context-template.dto.js +44 -1
  49. package/backend/dist/src/context-templates/dto/context-template.dto.js.map +1 -1
  50. package/backend/dist/src/core-entities/ai-action.entity.js +73 -0
  51. package/backend/dist/src/core-entities/ai-action.entity.js.map +1 -1
  52. package/backend/dist/src/core-entities/base.entity.js +18 -0
  53. package/backend/dist/src/core-entities/base.entity.js.map +1 -1
  54. package/backend/dist/src/core-entities/context-snippet.entity.js +12 -0
  55. package/backend/dist/src/core-entities/context-snippet.entity.js.map +1 -1
  56. package/backend/dist/src/core-entities/context-template.entity.d.ts +2 -4
  57. package/backend/dist/src/core-entities/context-template.entity.js +50 -7
  58. package/backend/dist/src/core-entities/context-template.entity.js.map +1 -1
  59. package/backend/dist/src/core-entities/custom-snippet.entity.js +16 -0
  60. package/backend/dist/src/core-entities/custom-snippet.entity.js.map +1 -1
  61. package/backend/dist/src/core-entities/custom-variable.entity.js +24 -0
  62. package/backend/dist/src/core-entities/custom-variable.entity.js.map +1 -1
  63. package/backend/dist/src/core-entities/enums.d.ts +64 -0
  64. package/backend/dist/src/core-entities/enums.js +77 -0
  65. package/backend/dist/src/core-entities/enums.js.map +1 -0
  66. package/backend/dist/src/core-entities/execution-log.entity.js +15 -0
  67. package/backend/dist/src/core-entities/execution-log.entity.js.map +1 -1
  68. package/backend/dist/src/core-entities/index.d.ts +1 -2
  69. package/backend/dist/src/core-entities/index.js +1 -2
  70. package/backend/dist/src/core-entities/index.js.map +1 -1
  71. package/backend/dist/src/core-entities/llm-call-log.entity.js +43 -0
  72. package/backend/dist/src/core-entities/llm-call-log.entity.js.map +1 -1
  73. package/backend/dist/src/core-entities/mcp-config.entity.js +27 -0
  74. package/backend/dist/src/core-entities/mcp-config.entity.js.map +1 -1
  75. package/backend/dist/src/core-entities/mcp-tool.entity.js +26 -0
  76. package/backend/dist/src/core-entities/mcp-tool.entity.js.map +1 -1
  77. package/backend/dist/src/core-entities/project.entity.js +13 -0
  78. package/backend/dist/src/core-entities/project.entity.js.map +1 -1
  79. package/backend/dist/src/core-entities/session-input.entity.js +94 -0
  80. package/backend/dist/src/core-entities/session-input.entity.js.map +1 -1
  81. package/backend/dist/src/core-entities/session.entity.d.ts +1 -1
  82. package/backend/dist/src/core-entities/session.entity.js +96 -1
  83. package/backend/dist/src/core-entities/session.entity.js.map +1 -1
  84. package/backend/dist/src/core-entities/system-prompt.entity.js +29 -0
  85. package/backend/dist/src/core-entities/system-prompt.entity.js.map +1 -1
  86. package/backend/dist/src/core-entities/tool-hook.entity.js +21 -0
  87. package/backend/dist/src/core-entities/tool-hook.entity.js.map +1 -1
  88. package/backend/dist/src/custom-snippets/custom-snippets.controller.js +48 -0
  89. package/backend/dist/src/custom-snippets/custom-snippets.controller.js.map +1 -1
  90. package/backend/dist/src/custom-variables/custom-variables.controller.js +46 -0
  91. package/backend/dist/src/custom-variables/custom-variables.controller.js.map +1 -1
  92. package/backend/dist/src/global-config/global-config.controller.js +12 -0
  93. package/backend/dist/src/global-config/global-config.controller.js.map +1 -1
  94. package/backend/dist/src/interactive-chat/streaming.controller.js +38 -0
  95. package/backend/dist/src/interactive-chat/streaming.controller.js.map +1 -1
  96. package/backend/dist/src/llm-call-logs/llm-call-logs.controller.js +96 -0
  97. package/backend/dist/src/llm-call-logs/llm-call-logs.controller.js.map +1 -1
  98. package/backend/dist/src/llm-provider/llm-provider.controller.js +18 -0
  99. package/backend/dist/src/llm-provider/llm-provider.controller.js.map +1 -1
  100. package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js +45 -0
  101. package/backend/dist/src/llm-responses/dto/submit-llm-response.dto.js.map +1 -1
  102. package/backend/dist/src/llm-responses/dto/sync-conversation.dto.js +24 -0
  103. package/backend/dist/src/llm-responses/dto/sync-conversation.dto.js.map +1 -1
  104. package/backend/dist/src/llm-responses/llm-responses.controller.js +32 -0
  105. package/backend/dist/src/llm-responses/llm-responses.controller.js.map +1 -1
  106. package/backend/dist/src/main.js +9 -0
  107. package/backend/dist/src/main.js.map +1 -1
  108. package/backend/dist/src/mcp/dto/batch-update-mcp-tools.dto.js +8 -0
  109. package/backend/dist/src/mcp/dto/batch-update-mcp-tools.dto.js.map +1 -1
  110. package/backend/dist/src/mcp/dto/create-mcp-config.dto.js +5 -0
  111. package/backend/dist/src/mcp/dto/create-mcp-config.dto.js.map +1 -1
  112. package/backend/dist/src/mcp/dto/update-mcp-config.dto.js +2 -0
  113. package/backend/dist/src/mcp/dto/update-mcp-config.dto.js.map +1 -1
  114. package/backend/dist/src/mcp/mcp.controller.js +21 -0
  115. package/backend/dist/src/mcp/mcp.controller.js.map +1 -1
  116. package/backend/dist/src/projects/dto/project.dto.js +14 -0
  117. package/backend/dist/src/projects/dto/project.dto.js.map +1 -1
  118. package/backend/dist/src/projects/projects.controller.js +31 -0
  119. package/backend/dist/src/projects/projects.controller.js.map +1 -1
  120. package/backend/dist/src/session-inputs/dto/session-input.dto.d.ts +12 -1
  121. package/backend/dist/src/session-inputs/dto/session-input.dto.js +103 -1
  122. package/backend/dist/src/session-inputs/dto/session-input.dto.js.map +1 -1
  123. package/backend/dist/src/session-inputs/session-input.subscriber.js.map +1 -1
  124. package/backend/dist/src/session-inputs/session-inputs.controller.d.ts +2 -1
  125. package/backend/dist/src/session-inputs/session-inputs.controller.js +84 -0
  126. package/backend/dist/src/session-inputs/session-inputs.controller.js.map +1 -1
  127. package/backend/dist/src/session-inputs/session-inputs.module.js +1 -0
  128. package/backend/dist/src/session-inputs/session-inputs.module.js.map +1 -1
  129. package/backend/dist/src/session-inputs/session-inputs.service.d.ts +7 -3
  130. package/backend/dist/src/session-inputs/session-inputs.service.js +51 -4
  131. package/backend/dist/src/session-inputs/session-inputs.service.js.map +1 -1
  132. package/backend/dist/src/sessions/dto/session.dto.js +91 -0
  133. package/backend/dist/src/sessions/dto/session.dto.js.map +1 -1
  134. package/backend/dist/src/sessions/sessions.controller.js +112 -0
  135. package/backend/dist/src/sessions/sessions.controller.js.map +1 -1
  136. package/backend/dist/src/sub-agents/dto/create-sub-agent.dto.js +26 -0
  137. package/backend/dist/src/sub-agents/dto/create-sub-agent.dto.js.map +1 -1
  138. package/backend/dist/src/sub-agents/dto/update-sub-agent.dto.js +22 -0
  139. package/backend/dist/src/sub-agents/dto/update-sub-agent.dto.js.map +1 -1
  140. package/backend/dist/src/sub-agents/sub-agent-run.entity.d.ts +2 -7
  141. package/backend/dist/src/sub-agents/sub-agent-run.entity.js +63 -9
  142. package/backend/dist/src/sub-agents/sub-agent-run.entity.js.map +1 -1
  143. package/backend/dist/src/sub-agents/sub-agent-runs.controller.js +63 -0
  144. package/backend/dist/src/sub-agents/sub-agent-runs.controller.js.map +1 -1
  145. package/backend/dist/src/sub-agents/sub-agent.entity.js +47 -0
  146. package/backend/dist/src/sub-agents/sub-agent.entity.js.map +1 -1
  147. package/backend/dist/src/sub-agents/sub-agents.controller.js +25 -0
  148. package/backend/dist/src/sub-agents/sub-agents.controller.js.map +1 -1
  149. package/backend/dist/src/system-prompts/dto/set-enabled-tools.dto.js +9 -0
  150. package/backend/dist/src/system-prompts/dto/set-enabled-tools.dto.js.map +1 -1
  151. package/backend/dist/src/system-prompts/dto/system-prompt.dto.js +43 -0
  152. package/backend/dist/src/system-prompts/dto/system-prompt.dto.js.map +1 -1
  153. package/backend/dist/src/system-prompts/dto/toggle-tool.dto.js +5 -0
  154. package/backend/dist/src/system-prompts/dto/toggle-tool.dto.js.map +1 -1
  155. package/backend/dist/src/system-prompts/system-prompts.controller.js +80 -0
  156. package/backend/dist/src/system-prompts/system-prompts.controller.js.map +1 -1
  157. package/backend/dist/src/tool-hooks/dto/create-tool-hook.dto.js +14 -0
  158. package/backend/dist/src/tool-hooks/dto/create-tool-hook.dto.js.map +1 -1
  159. package/backend/dist/src/tool-hooks/dto/update-tool-hook.dto.js +11 -0
  160. package/backend/dist/src/tool-hooks/dto/update-tool-hook.dto.js.map +1 -1
  161. package/backend/dist/src/tool-hooks/tool-hooks.controller.js +52 -0
  162. package/backend/dist/src/tool-hooks/tool-hooks.controller.js.map +1 -1
  163. package/backend/dist/src/visual-editor/visual-editor.controller.js +15 -0
  164. package/backend/dist/src/visual-editor/visual-editor.controller.js.map +1 -1
  165. package/backend/dist/src/workspace/workspace.controller.js +41 -0
  166. package/backend/dist/src/workspace/workspace.controller.js.map +1 -1
  167. package/backend/dist/tsconfig.build.tsbuildinfo +1 -1
  168. package/{daemon/node_modules/undici-types → backend/node_modules/@eslint/eslintrc}/LICENSE +5 -7
  169. package/backend/node_modules/@eslint/eslintrc/README.md +115 -0
  170. package/backend/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
  171. package/backend/node_modules/@eslint/eslintrc/conf/environments.js +215 -0
  172. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs +1104 -0
  173. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc-universal.cjs.map +1 -0
  174. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs +4344 -0
  175. package/backend/node_modules/@eslint/eslintrc/dist/eslintrc.cjs.map +1 -0
  176. package/backend/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +532 -0
  177. package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
  178. package/backend/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +124 -0
  179. package/backend/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
  180. package/backend/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
  181. package/backend/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
  182. package/backend/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
  183. package/backend/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1151 -0
  184. package/backend/node_modules/@eslint/eslintrc/lib/flat-compat.js +318 -0
  185. package/backend/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
  186. package/backend/node_modules/@eslint/eslintrc/lib/index.js +56 -0
  187. package/backend/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
  188. package/backend/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
  189. package/backend/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
  190. package/backend/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
  191. package/backend/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
  192. package/backend/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
  193. package/backend/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
  194. package/backend/node_modules/@eslint/eslintrc/package.json +82 -0
  195. package/backend/node_modules/@eslint/eslintrc/universal.js +9 -0
  196. package/backend/package.json +1 -3
  197. package/package.json +3 -1
  198. package/visual-editor-proxy/dist/tsconfig.tsbuildinfo +1 -1
  199. package/backend/node_modules/@types/node/LICENSE +0 -21
  200. package/backend/node_modules/@types/node/README.md +0 -15
  201. package/backend/node_modules/@types/node/assert/strict.d.ts +0 -8
  202. package/backend/node_modules/@types/node/assert.d.ts +0 -1044
  203. package/backend/node_modules/@types/node/async_hooks.d.ts +0 -605
  204. package/backend/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  205. package/backend/node_modules/@types/node/buffer.d.ts +0 -1932
  206. package/backend/node_modules/@types/node/child_process.d.ts +0 -1452
  207. package/backend/node_modules/@types/node/cluster.d.ts +0 -578
  208. package/backend/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  209. package/backend/node_modules/@types/node/compatibility/index.d.ts +0 -9
  210. package/backend/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  211. package/backend/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  212. package/backend/node_modules/@types/node/console.d.ts +0 -452
  213. package/backend/node_modules/@types/node/constants.d.ts +0 -21
  214. package/backend/node_modules/@types/node/crypto.d.ts +0 -4570
  215. package/backend/node_modules/@types/node/dgram.d.ts +0 -596
  216. package/backend/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  217. package/backend/node_modules/@types/node/dns/promises.d.ts +0 -479
  218. package/backend/node_modules/@types/node/dns.d.ts +0 -871
  219. package/backend/node_modules/@types/node/domain.d.ts +0 -170
  220. package/backend/node_modules/@types/node/events.d.ts +0 -931
  221. package/backend/node_modules/@types/node/fs/promises.d.ts +0 -1248
  222. package/backend/node_modules/@types/node/fs.d.ts +0 -4362
  223. package/backend/node_modules/@types/node/globals.d.ts +0 -170
  224. package/backend/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  225. package/backend/node_modules/@types/node/http.d.ts +0 -2031
  226. package/backend/node_modules/@types/node/http2.d.ts +0 -2623
  227. package/backend/node_modules/@types/node/https.d.ts +0 -549
  228. package/backend/node_modules/@types/node/index.d.ts +0 -93
  229. package/backend/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  230. package/backend/node_modules/@types/node/module.d.ts +0 -539
  231. package/backend/node_modules/@types/node/net.d.ts +0 -1011
  232. package/backend/node_modules/@types/node/os.d.ts +0 -495
  233. package/backend/node_modules/@types/node/package.json +0 -140
  234. package/backend/node_modules/@types/node/path.d.ts +0 -200
  235. package/backend/node_modules/@types/node/perf_hooks.d.ts +0 -963
  236. package/backend/node_modules/@types/node/process.d.ts +0 -1956
  237. package/backend/node_modules/@types/node/punycode.d.ts +0 -117
  238. package/backend/node_modules/@types/node/querystring.d.ts +0 -152
  239. package/backend/node_modules/@types/node/readline/promises.d.ts +0 -162
  240. package/backend/node_modules/@types/node/readline.d.ts +0 -589
  241. package/backend/node_modules/@types/node/repl.d.ts +0 -430
  242. package/backend/node_modules/@types/node/sea.d.ts +0 -153
  243. package/backend/node_modules/@types/node/stream/consumers.d.ts +0 -38
  244. package/backend/node_modules/@types/node/stream/promises.d.ts +0 -90
  245. package/backend/node_modules/@types/node/stream/web.d.ts +0 -533
  246. package/backend/node_modules/@types/node/stream.d.ts +0 -1668
  247. package/backend/node_modules/@types/node/string_decoder.d.ts +0 -67
  248. package/backend/node_modules/@types/node/test.d.ts +0 -1807
  249. package/backend/node_modules/@types/node/timers/promises.d.ts +0 -108
  250. package/backend/node_modules/@types/node/timers.d.ts +0 -286
  251. package/backend/node_modules/@types/node/tls.d.ts +0 -1231
  252. package/backend/node_modules/@types/node/trace_events.d.ts +0 -197
  253. package/backend/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  254. package/backend/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  255. package/backend/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  256. package/backend/node_modules/@types/node/tty.d.ts +0 -208
  257. package/backend/node_modules/@types/node/url.d.ts +0 -964
  258. package/backend/node_modules/@types/node/util.d.ts +0 -2331
  259. package/backend/node_modules/@types/node/v8.d.ts +0 -808
  260. package/backend/node_modules/@types/node/vm.d.ts +0 -1030
  261. package/backend/node_modules/@types/node/wasi.d.ts +0 -181
  262. package/backend/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  263. package/backend/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  264. package/backend/node_modules/@types/node/web-globals/events.d.ts +0 -94
  265. package/backend/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
  266. package/backend/node_modules/@types/node/worker_threads.d.ts +0 -743
  267. package/backend/node_modules/@types/node/zlib.d.ts +0 -539
  268. package/backend/node_modules/debug/LICENSE +0 -20
  269. package/backend/node_modules/debug/README.md +0 -481
  270. package/backend/node_modules/debug/package.json +0 -64
  271. package/backend/node_modules/debug/src/browser.js +0 -272
  272. package/backend/node_modules/debug/src/common.js +0 -292
  273. package/backend/node_modules/debug/src/index.js +0 -10
  274. package/backend/node_modules/debug/src/node.js +0 -263
  275. package/backend/node_modules/undici-types/LICENSE +0 -21
  276. package/backend/node_modules/undici-types/README.md +0 -6
  277. package/backend/node_modules/undici-types/agent.d.ts +0 -31
  278. package/backend/node_modules/undici-types/api.d.ts +0 -43
  279. package/backend/node_modules/undici-types/balanced-pool.d.ts +0 -29
  280. package/backend/node_modules/undici-types/cache.d.ts +0 -36
  281. package/backend/node_modules/undici-types/client.d.ts +0 -108
  282. package/backend/node_modules/undici-types/connector.d.ts +0 -34
  283. package/backend/node_modules/undici-types/content-type.d.ts +0 -21
  284. package/backend/node_modules/undici-types/cookies.d.ts +0 -28
  285. package/backend/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  286. package/backend/node_modules/undici-types/dispatcher.d.ts +0 -256
  287. package/backend/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  288. package/backend/node_modules/undici-types/errors.d.ts +0 -149
  289. package/backend/node_modules/undici-types/eventsource.d.ts +0 -61
  290. package/backend/node_modules/undici-types/fetch.d.ts +0 -209
  291. package/backend/node_modules/undici-types/file.d.ts +0 -39
  292. package/backend/node_modules/undici-types/filereader.d.ts +0 -54
  293. package/backend/node_modules/undici-types/formdata.d.ts +0 -108
  294. package/backend/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  295. package/backend/node_modules/undici-types/global-origin.d.ts +0 -7
  296. package/backend/node_modules/undici-types/handlers.d.ts +0 -15
  297. package/backend/node_modules/undici-types/header.d.ts +0 -4
  298. package/backend/node_modules/undici-types/index.d.ts +0 -71
  299. package/backend/node_modules/undici-types/interceptors.d.ts +0 -17
  300. package/backend/node_modules/undici-types/mock-agent.d.ts +0 -50
  301. package/backend/node_modules/undici-types/mock-client.d.ts +0 -25
  302. package/backend/node_modules/undici-types/mock-errors.d.ts +0 -12
  303. package/backend/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  304. package/backend/node_modules/undici-types/mock-pool.d.ts +0 -25
  305. package/backend/node_modules/undici-types/package.json +0 -55
  306. package/backend/node_modules/undici-types/patch.d.ts +0 -33
  307. package/backend/node_modules/undici-types/pool-stats.d.ts +0 -19
  308. package/backend/node_modules/undici-types/pool.d.ts +0 -39
  309. package/backend/node_modules/undici-types/proxy-agent.d.ts +0 -28
  310. package/backend/node_modules/undici-types/readable.d.ts +0 -65
  311. package/backend/node_modules/undici-types/retry-agent.d.ts +0 -8
  312. package/backend/node_modules/undici-types/retry-handler.d.ts +0 -116
  313. package/backend/node_modules/undici-types/util.d.ts +0 -18
  314. package/backend/node_modules/undici-types/webidl.d.ts +0 -228
  315. package/backend/node_modules/undici-types/websocket.d.ts +0 -150
  316. package/daemon/node_modules/@types/node/LICENSE +0 -21
  317. package/daemon/node_modules/@types/node/README.md +0 -15
  318. package/daemon/node_modules/@types/node/assert/strict.d.ts +0 -8
  319. package/daemon/node_modules/@types/node/assert.d.ts +0 -1044
  320. package/daemon/node_modules/@types/node/async_hooks.d.ts +0 -605
  321. package/daemon/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  322. package/daemon/node_modules/@types/node/buffer.d.ts +0 -1932
  323. package/daemon/node_modules/@types/node/child_process.d.ts +0 -1452
  324. package/daemon/node_modules/@types/node/cluster.d.ts +0 -578
  325. package/daemon/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  326. package/daemon/node_modules/@types/node/compatibility/index.d.ts +0 -9
  327. package/daemon/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  328. package/daemon/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  329. package/daemon/node_modules/@types/node/console.d.ts +0 -452
  330. package/daemon/node_modules/@types/node/constants.d.ts +0 -21
  331. package/daemon/node_modules/@types/node/crypto.d.ts +0 -4570
  332. package/daemon/node_modules/@types/node/dgram.d.ts +0 -596
  333. package/daemon/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  334. package/daemon/node_modules/@types/node/dns/promises.d.ts +0 -479
  335. package/daemon/node_modules/@types/node/dns.d.ts +0 -871
  336. package/daemon/node_modules/@types/node/domain.d.ts +0 -170
  337. package/daemon/node_modules/@types/node/events.d.ts +0 -931
  338. package/daemon/node_modules/@types/node/fs/promises.d.ts +0 -1248
  339. package/daemon/node_modules/@types/node/fs.d.ts +0 -4362
  340. package/daemon/node_modules/@types/node/globals.d.ts +0 -170
  341. package/daemon/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  342. package/daemon/node_modules/@types/node/http.d.ts +0 -2031
  343. package/daemon/node_modules/@types/node/http2.d.ts +0 -2623
  344. package/daemon/node_modules/@types/node/https.d.ts +0 -549
  345. package/daemon/node_modules/@types/node/index.d.ts +0 -93
  346. package/daemon/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  347. package/daemon/node_modules/@types/node/module.d.ts +0 -539
  348. package/daemon/node_modules/@types/node/net.d.ts +0 -1011
  349. package/daemon/node_modules/@types/node/os.d.ts +0 -495
  350. package/daemon/node_modules/@types/node/package.json +0 -140
  351. package/daemon/node_modules/@types/node/path.d.ts +0 -200
  352. package/daemon/node_modules/@types/node/perf_hooks.d.ts +0 -963
  353. package/daemon/node_modules/@types/node/process.d.ts +0 -1956
  354. package/daemon/node_modules/@types/node/punycode.d.ts +0 -117
  355. package/daemon/node_modules/@types/node/querystring.d.ts +0 -152
  356. package/daemon/node_modules/@types/node/readline/promises.d.ts +0 -162
  357. package/daemon/node_modules/@types/node/readline.d.ts +0 -589
  358. package/daemon/node_modules/@types/node/repl.d.ts +0 -430
  359. package/daemon/node_modules/@types/node/sea.d.ts +0 -153
  360. package/daemon/node_modules/@types/node/stream/consumers.d.ts +0 -38
  361. package/daemon/node_modules/@types/node/stream/promises.d.ts +0 -90
  362. package/daemon/node_modules/@types/node/stream/web.d.ts +0 -533
  363. package/daemon/node_modules/@types/node/stream.d.ts +0 -1668
  364. package/daemon/node_modules/@types/node/string_decoder.d.ts +0 -67
  365. package/daemon/node_modules/@types/node/test.d.ts +0 -1807
  366. package/daemon/node_modules/@types/node/timers/promises.d.ts +0 -108
  367. package/daemon/node_modules/@types/node/timers.d.ts +0 -286
  368. package/daemon/node_modules/@types/node/tls.d.ts +0 -1231
  369. package/daemon/node_modules/@types/node/trace_events.d.ts +0 -197
  370. package/daemon/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  371. package/daemon/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  372. package/daemon/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  373. package/daemon/node_modules/@types/node/tty.d.ts +0 -208
  374. package/daemon/node_modules/@types/node/url.d.ts +0 -964
  375. package/daemon/node_modules/@types/node/util.d.ts +0 -2331
  376. package/daemon/node_modules/@types/node/v8.d.ts +0 -808
  377. package/daemon/node_modules/@types/node/vm.d.ts +0 -1030
  378. package/daemon/node_modules/@types/node/wasi.d.ts +0 -181
  379. package/daemon/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  380. package/daemon/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  381. package/daemon/node_modules/@types/node/web-globals/events.d.ts +0 -94
  382. package/daemon/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
  383. package/daemon/node_modules/@types/node/worker_threads.d.ts +0 -743
  384. package/daemon/node_modules/@types/node/zlib.d.ts +0 -539
  385. package/daemon/node_modules/undici-types/README.md +0 -6
  386. package/daemon/node_modules/undici-types/agent.d.ts +0 -31
  387. package/daemon/node_modules/undici-types/api.d.ts +0 -43
  388. package/daemon/node_modules/undici-types/balanced-pool.d.ts +0 -29
  389. package/daemon/node_modules/undici-types/cache.d.ts +0 -36
  390. package/daemon/node_modules/undici-types/client.d.ts +0 -108
  391. package/daemon/node_modules/undici-types/connector.d.ts +0 -34
  392. package/daemon/node_modules/undici-types/content-type.d.ts +0 -21
  393. package/daemon/node_modules/undici-types/cookies.d.ts +0 -28
  394. package/daemon/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  395. package/daemon/node_modules/undici-types/dispatcher.d.ts +0 -256
  396. package/daemon/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  397. package/daemon/node_modules/undici-types/errors.d.ts +0 -149
  398. package/daemon/node_modules/undici-types/eventsource.d.ts +0 -61
  399. package/daemon/node_modules/undici-types/fetch.d.ts +0 -209
  400. package/daemon/node_modules/undici-types/file.d.ts +0 -39
  401. package/daemon/node_modules/undici-types/filereader.d.ts +0 -54
  402. package/daemon/node_modules/undici-types/formdata.d.ts +0 -108
  403. package/daemon/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  404. package/daemon/node_modules/undici-types/global-origin.d.ts +0 -7
  405. package/daemon/node_modules/undici-types/handlers.d.ts +0 -15
  406. package/daemon/node_modules/undici-types/header.d.ts +0 -4
  407. package/daemon/node_modules/undici-types/index.d.ts +0 -71
  408. package/daemon/node_modules/undici-types/interceptors.d.ts +0 -17
  409. package/daemon/node_modules/undici-types/mock-agent.d.ts +0 -50
  410. package/daemon/node_modules/undici-types/mock-client.d.ts +0 -25
  411. package/daemon/node_modules/undici-types/mock-errors.d.ts +0 -12
  412. package/daemon/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  413. package/daemon/node_modules/undici-types/mock-pool.d.ts +0 -25
  414. package/daemon/node_modules/undici-types/package.json +0 -55
  415. package/daemon/node_modules/undici-types/patch.d.ts +0 -33
  416. package/daemon/node_modules/undici-types/pool-stats.d.ts +0 -19
  417. package/daemon/node_modules/undici-types/pool.d.ts +0 -39
  418. package/daemon/node_modules/undici-types/proxy-agent.d.ts +0 -28
  419. package/daemon/node_modules/undici-types/readable.d.ts +0 -65
  420. package/daemon/node_modules/undici-types/retry-agent.d.ts +0 -8
  421. package/daemon/node_modules/undici-types/retry-handler.d.ts +0 -116
  422. package/daemon/node_modules/undici-types/util.d.ts +0 -18
  423. package/daemon/node_modules/undici-types/webidl.d.ts +0 -228
  424. package/daemon/node_modules/undici-types/websocket.d.ts +0 -150
  425. package/visual-editor-proxy/node_modules/@types/node/LICENSE +0 -21
  426. package/visual-editor-proxy/node_modules/@types/node/README.md +0 -15
  427. package/visual-editor-proxy/node_modules/@types/node/assert/strict.d.ts +0 -8
  428. package/visual-editor-proxy/node_modules/@types/node/assert.d.ts +0 -1062
  429. package/visual-editor-proxy/node_modules/@types/node/async_hooks.d.ts +0 -605
  430. package/visual-editor-proxy/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  431. package/visual-editor-proxy/node_modules/@types/node/buffer.d.ts +0 -1932
  432. package/visual-editor-proxy/node_modules/@types/node/child_process.d.ts +0 -1458
  433. package/visual-editor-proxy/node_modules/@types/node/cluster.d.ts +0 -577
  434. package/visual-editor-proxy/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  435. package/visual-editor-proxy/node_modules/@types/node/compatibility/index.d.ts +0 -9
  436. package/visual-editor-proxy/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  437. package/visual-editor-proxy/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  438. package/visual-editor-proxy/node_modules/@types/node/console.d.ts +0 -452
  439. package/visual-editor-proxy/node_modules/@types/node/constants.d.ts +0 -21
  440. package/visual-editor-proxy/node_modules/@types/node/crypto.d.ts +0 -4570
  441. package/visual-editor-proxy/node_modules/@types/node/dgram.d.ts +0 -596
  442. package/visual-editor-proxy/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  443. package/visual-editor-proxy/node_modules/@types/node/dns/promises.d.ts +0 -479
  444. package/visual-editor-proxy/node_modules/@types/node/dns.d.ts +0 -871
  445. package/visual-editor-proxy/node_modules/@types/node/domain.d.ts +0 -170
  446. package/visual-editor-proxy/node_modules/@types/node/events.d.ts +0 -977
  447. package/visual-editor-proxy/node_modules/@types/node/fs/promises.d.ts +0 -1248
  448. package/visual-editor-proxy/node_modules/@types/node/fs.d.ts +0 -4362
  449. package/visual-editor-proxy/node_modules/@types/node/globals.d.ts +0 -172
  450. package/visual-editor-proxy/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  451. package/visual-editor-proxy/node_modules/@types/node/http.d.ts +0 -2030
  452. package/visual-editor-proxy/node_modules/@types/node/http2.d.ts +0 -2624
  453. package/visual-editor-proxy/node_modules/@types/node/https.d.ts +0 -546
  454. package/visual-editor-proxy/node_modules/@types/node/index.d.ts +0 -93
  455. package/visual-editor-proxy/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  456. package/visual-editor-proxy/node_modules/@types/node/module.d.ts +0 -539
  457. package/visual-editor-proxy/node_modules/@types/node/net.d.ts +0 -1011
  458. package/visual-editor-proxy/node_modules/@types/node/os.d.ts +0 -505
  459. package/visual-editor-proxy/node_modules/@types/node/package.json +0 -140
  460. package/visual-editor-proxy/node_modules/@types/node/path.d.ts +0 -200
  461. package/visual-editor-proxy/node_modules/@types/node/perf_hooks.d.ts +0 -961
  462. package/visual-editor-proxy/node_modules/@types/node/process.d.ts +0 -1944
  463. package/visual-editor-proxy/node_modules/@types/node/punycode.d.ts +0 -117
  464. package/visual-editor-proxy/node_modules/@types/node/querystring.d.ts +0 -152
  465. package/visual-editor-proxy/node_modules/@types/node/readline/promises.d.ts +0 -162
  466. package/visual-editor-proxy/node_modules/@types/node/readline.d.ts +0 -589
  467. package/visual-editor-proxy/node_modules/@types/node/repl.d.ts +0 -430
  468. package/visual-editor-proxy/node_modules/@types/node/sea.d.ts +0 -153
  469. package/visual-editor-proxy/node_modules/@types/node/stream/consumers.d.ts +0 -38
  470. package/visual-editor-proxy/node_modules/@types/node/stream/promises.d.ts +0 -90
  471. package/visual-editor-proxy/node_modules/@types/node/stream/web.d.ts +0 -533
  472. package/visual-editor-proxy/node_modules/@types/node/stream.d.ts +0 -1675
  473. package/visual-editor-proxy/node_modules/@types/node/string_decoder.d.ts +0 -67
  474. package/visual-editor-proxy/node_modules/@types/node/test.d.ts +0 -1787
  475. package/visual-editor-proxy/node_modules/@types/node/timers/promises.d.ts +0 -108
  476. package/visual-editor-proxy/node_modules/@types/node/timers.d.ts +0 -286
  477. package/visual-editor-proxy/node_modules/@types/node/tls.d.ts +0 -1231
  478. package/visual-editor-proxy/node_modules/@types/node/trace_events.d.ts +0 -197
  479. package/visual-editor-proxy/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  480. package/visual-editor-proxy/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  481. package/visual-editor-proxy/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  482. package/visual-editor-proxy/node_modules/@types/node/tty.d.ts +0 -208
  483. package/visual-editor-proxy/node_modules/@types/node/url.d.ts +0 -964
  484. package/visual-editor-proxy/node_modules/@types/node/util.d.ts +0 -2331
  485. package/visual-editor-proxy/node_modules/@types/node/v8.d.ts +0 -808
  486. package/visual-editor-proxy/node_modules/@types/node/vm.d.ts +0 -1000
  487. package/visual-editor-proxy/node_modules/@types/node/wasi.d.ts +0 -181
  488. package/visual-editor-proxy/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  489. package/visual-editor-proxy/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  490. package/visual-editor-proxy/node_modules/@types/node/web-globals/events.d.ts +0 -97
  491. package/visual-editor-proxy/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
  492. package/visual-editor-proxy/node_modules/@types/node/worker_threads.d.ts +0 -715
  493. package/visual-editor-proxy/node_modules/@types/node/zlib.d.ts +0 -539
  494. package/visual-editor-proxy/node_modules/undici-types/LICENSE +0 -21
  495. package/visual-editor-proxy/node_modules/undici-types/README.md +0 -6
  496. package/visual-editor-proxy/node_modules/undici-types/agent.d.ts +0 -31
  497. package/visual-editor-proxy/node_modules/undici-types/api.d.ts +0 -43
  498. package/visual-editor-proxy/node_modules/undici-types/balanced-pool.d.ts +0 -29
  499. package/visual-editor-proxy/node_modules/undici-types/cache.d.ts +0 -36
  500. package/visual-editor-proxy/node_modules/undici-types/client.d.ts +0 -108
  501. package/visual-editor-proxy/node_modules/undici-types/connector.d.ts +0 -34
  502. package/visual-editor-proxy/node_modules/undici-types/content-type.d.ts +0 -21
  503. package/visual-editor-proxy/node_modules/undici-types/cookies.d.ts +0 -28
  504. package/visual-editor-proxy/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  505. package/visual-editor-proxy/node_modules/undici-types/dispatcher.d.ts +0 -256
  506. package/visual-editor-proxy/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  507. package/visual-editor-proxy/node_modules/undici-types/errors.d.ts +0 -149
  508. package/visual-editor-proxy/node_modules/undici-types/eventsource.d.ts +0 -61
  509. package/visual-editor-proxy/node_modules/undici-types/fetch.d.ts +0 -209
  510. package/visual-editor-proxy/node_modules/undici-types/file.d.ts +0 -39
  511. package/visual-editor-proxy/node_modules/undici-types/filereader.d.ts +0 -54
  512. package/visual-editor-proxy/node_modules/undici-types/formdata.d.ts +0 -108
  513. package/visual-editor-proxy/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  514. package/visual-editor-proxy/node_modules/undici-types/global-origin.d.ts +0 -7
  515. package/visual-editor-proxy/node_modules/undici-types/handlers.d.ts +0 -15
  516. package/visual-editor-proxy/node_modules/undici-types/header.d.ts +0 -4
  517. package/visual-editor-proxy/node_modules/undici-types/index.d.ts +0 -71
  518. package/visual-editor-proxy/node_modules/undici-types/interceptors.d.ts +0 -17
  519. package/visual-editor-proxy/node_modules/undici-types/mock-agent.d.ts +0 -50
  520. package/visual-editor-proxy/node_modules/undici-types/mock-client.d.ts +0 -25
  521. package/visual-editor-proxy/node_modules/undici-types/mock-errors.d.ts +0 -12
  522. package/visual-editor-proxy/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  523. package/visual-editor-proxy/node_modules/undici-types/mock-pool.d.ts +0 -25
  524. package/visual-editor-proxy/node_modules/undici-types/package.json +0 -55
  525. package/visual-editor-proxy/node_modules/undici-types/patch.d.ts +0 -33
  526. package/visual-editor-proxy/node_modules/undici-types/pool-stats.d.ts +0 -19
  527. package/visual-editor-proxy/node_modules/undici-types/pool.d.ts +0 -39
  528. package/visual-editor-proxy/node_modules/undici-types/proxy-agent.d.ts +0 -28
  529. package/visual-editor-proxy/node_modules/undici-types/readable.d.ts +0 -65
  530. package/visual-editor-proxy/node_modules/undici-types/retry-agent.d.ts +0 -8
  531. package/visual-editor-proxy/node_modules/undici-types/retry-handler.d.ts +0 -116
  532. package/visual-editor-proxy/node_modules/undici-types/util.d.ts +0 -18
  533. package/visual-editor-proxy/node_modules/undici-types/webidl.d.ts +0 -228
  534. package/visual-editor-proxy/node_modules/undici-types/websocket.d.ts +0 -150
@@ -1,539 +0,0 @@
1
- /**
2
- * @since v0.3.7
3
- */
4
- declare module "module" {
5
- import { URL } from "node:url";
6
- import { MessagePort } from "node:worker_threads";
7
- class Module {
8
- constructor(id: string, parent?: Module);
9
- }
10
- interface Module extends NodeJS.Module {}
11
- namespace Module {
12
- export { Module };
13
- }
14
- namespace Module {
15
- /**
16
- * A list of the names of all modules provided by Node.js. Can be used to verify
17
- * if a module is maintained by a third party or not.
18
- *
19
- * Note: the list doesn't contain prefix-only modules like `node:test`.
20
- * @since v9.3.0, v8.10.0, v6.13.0
21
- */
22
- const builtinModules: readonly string[];
23
- /**
24
- * @since v12.2.0
25
- * @param path Filename to be used to construct the require
26
- * function. Must be a file URL object, file URL string, or absolute path
27
- * string.
28
- */
29
- function createRequire(path: string | URL): NodeJS.Require;
30
- /**
31
- * @since v18.6.0, v16.17.0
32
- */
33
- function isBuiltin(moduleName: string): boolean;
34
- interface RegisterOptions<Data> {
35
- /**
36
- * If you want to resolve `specifier` relative to a
37
- * base URL, such as `import.meta.url`, you can pass that URL here. This
38
- * property is ignored if the `parentURL` is supplied as the second argument.
39
- * @default 'data:'
40
- */
41
- parentURL?: string | URL | undefined;
42
- /**
43
- * Any arbitrary, cloneable JavaScript value to pass into the
44
- * {@link initialize} hook.
45
- */
46
- data?: Data | undefined;
47
- /**
48
- * [Transferable objects](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html#portpostmessagevalue-transferlist)
49
- * to be passed into the `initialize` hook.
50
- */
51
- transferList?: any[] | undefined;
52
- }
53
- /* eslint-disable @definitelytyped/no-unnecessary-generics */
54
- /**
55
- * Register a module that exports hooks that customize Node.js module
56
- * resolution and loading behavior. See
57
- * [Customization hooks](https://nodejs.org/docs/latest-v20.x/api/module.html#customization-hooks).
58
- * @since v20.6.0, v18.19.0
59
- * @param specifier Customization hooks to be registered; this should be
60
- * the same string that would be passed to `import()`, except that if it is
61
- * relative, it is resolved relative to `parentURL`.
62
- * @param parentURL f you want to resolve `specifier` relative to a base
63
- * URL, such as `import.meta.url`, you can pass that URL here.
64
- */
65
- function register<Data = any>(
66
- specifier: string | URL,
67
- parentURL?: string | URL,
68
- options?: RegisterOptions<Data>,
69
- ): void;
70
- function register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
71
- /* eslint-enable @definitelytyped/no-unnecessary-generics */
72
- /**
73
- * The `module.syncBuiltinESMExports()` method updates all the live bindings for
74
- * builtin `ES Modules` to match the properties of the `CommonJS` exports. It
75
- * does not add or remove exported names from the `ES Modules`.
76
- *
77
- * ```js
78
- * import fs from 'node:fs';
79
- * import assert from 'node:assert';
80
- * import { syncBuiltinESMExports } from 'node:module';
81
- *
82
- * fs.readFile = newAPI;
83
- *
84
- * delete fs.readFileSync;
85
- *
86
- * function newAPI() {
87
- * // ...
88
- * }
89
- *
90
- * fs.newAPI = newAPI;
91
- *
92
- * syncBuiltinESMExports();
93
- *
94
- * import('node:fs').then((esmFS) => {
95
- * // It syncs the existing readFile property with the new value
96
- * assert.strictEqual(esmFS.readFile, newAPI);
97
- * // readFileSync has been deleted from the required fs
98
- * assert.strictEqual('readFileSync' in fs, false);
99
- * // syncBuiltinESMExports() does not remove readFileSync from esmFS
100
- * assert.strictEqual('readFileSync' in esmFS, true);
101
- * // syncBuiltinESMExports() does not add names
102
- * assert.strictEqual(esmFS.newAPI, undefined);
103
- * });
104
- * ```
105
- * @since v12.12.0
106
- */
107
- function syncBuiltinESMExports(): void;
108
- /** @deprecated Use `ImportAttributes` instead */
109
- interface ImportAssertions extends ImportAttributes {}
110
- interface ImportAttributes extends NodeJS.Dict<string> {
111
- type?: string | undefined;
112
- }
113
- type ModuleFormat = "builtin" | "commonjs" | "json" | "module" | "wasm";
114
- type ModuleSource = string | ArrayBuffer | NodeJS.TypedArray;
115
- /**
116
- * The `initialize` hook provides a way to define a custom function that runs in
117
- * the hooks thread when the hooks module is initialized. Initialization happens
118
- * when the hooks module is registered via {@link register}.
119
- *
120
- * This hook can receive data from a {@link register} invocation, including
121
- * ports and other transferable objects. The return value of `initialize` can be a
122
- * `Promise`, in which case it will be awaited before the main application thread
123
- * execution resumes.
124
- */
125
- type InitializeHook<Data = any> = (data: Data) => void | Promise<void>;
126
- interface ResolveHookContext {
127
- /**
128
- * Export conditions of the relevant `package.json`
129
- */
130
- conditions: string[];
131
- /**
132
- * @deprecated Use `importAttributes` instead
133
- */
134
- importAssertions: ImportAttributes;
135
- /**
136
- * An object whose key-value pairs represent the assertions for the module to import
137
- */
138
- importAttributes: ImportAttributes;
139
- /**
140
- * The module importing this one, or undefined if this is the Node.js entry point
141
- */
142
- parentURL: string | undefined;
143
- }
144
- interface ResolveFnOutput {
145
- /**
146
- * A hint to the load hook (it might be ignored)
147
- */
148
- format?: ModuleFormat | null | undefined;
149
- /**
150
- * @deprecated Use `importAttributes` instead
151
- */
152
- importAssertions?: ImportAttributes | undefined;
153
- /**
154
- * The import attributes to use when caching the module (optional; if excluded the input will be used)
155
- */
156
- importAttributes?: ImportAttributes | undefined;
157
- /**
158
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
159
- * @default false
160
- */
161
- shortCircuit?: boolean | undefined;
162
- /**
163
- * The absolute URL to which this input resolves
164
- */
165
- url: string;
166
- }
167
- /**
168
- * The `resolve` hook chain is responsible for telling Node.js where to find and
169
- * how to cache a given `import` statement or expression, or `require` call. It can
170
- * optionally return a format (such as `'module'`) as a hint to the `load` hook. If
171
- * a format is specified, the `load` hook is ultimately responsible for providing
172
- * the final `format` value (and it is free to ignore the hint provided by
173
- * `resolve`); if `resolve` provides a `format`, a custom `load` hook is required
174
- * even if only to pass the value to the Node.js default `load` hook.
175
- */
176
- type ResolveHook = (
177
- specifier: string,
178
- context: ResolveHookContext,
179
- nextResolve: (
180
- specifier: string,
181
- context?: Partial<ResolveHookContext>,
182
- ) => ResolveFnOutput | Promise<ResolveFnOutput>,
183
- ) => ResolveFnOutput | Promise<ResolveFnOutput>;
184
- interface LoadHookContext {
185
- /**
186
- * Export conditions of the relevant `package.json`
187
- */
188
- conditions: string[];
189
- /**
190
- * The format optionally supplied by the `resolve` hook chain
191
- */
192
- format: ModuleFormat | null | undefined;
193
- /**
194
- * @deprecated Use `importAttributes` instead
195
- */
196
- importAssertions: ImportAttributes;
197
- /**
198
- * An object whose key-value pairs represent the assertions for the module to import
199
- */
200
- importAttributes: ImportAttributes;
201
- }
202
- interface LoadFnOutput {
203
- format: string | null | undefined;
204
- /**
205
- * A signal that this hook intends to terminate the chain of `resolve` hooks.
206
- * @default false
207
- */
208
- shortCircuit?: boolean | undefined;
209
- /**
210
- * The source for Node.js to evaluate
211
- */
212
- source?: ModuleSource | undefined;
213
- }
214
- /**
215
- * The `load` hook provides a way to define a custom method of determining how a
216
- * URL should be interpreted, retrieved, and parsed. It is also in charge of
217
- * validating the import attributes.
218
- */
219
- type LoadHook = (
220
- url: string,
221
- context: LoadHookContext,
222
- nextLoad: (
223
- url: string,
224
- context?: Partial<LoadHookContext>,
225
- ) => LoadFnOutput | Promise<LoadFnOutput>,
226
- ) => LoadFnOutput | Promise<LoadFnOutput>;
227
- interface GlobalPreloadContext {
228
- port: MessagePort;
229
- }
230
- /**
231
- * Sometimes it might be necessary to run some code inside of the same global
232
- * scope that the application runs in. This hook allows the return of a string
233
- * that is run as a sloppy-mode script on startup.
234
- * @deprecated This hook will be removed in a future version. Use
235
- * `initialize` instead. When a hooks module has an `initialize` export,
236
- * `globalPreload` will be ignored.
237
- */
238
- type GlobalPreloadHook = (context: GlobalPreloadContext) => string;
239
- /**
240
- * `path` is the resolved path for the file for which a corresponding source map
241
- * should be fetched.
242
- * @since v13.7.0, v12.17.0
243
- * @return Returns `module.SourceMap` if a source map is found, `undefined` otherwise.
244
- */
245
- function findSourceMap(path: string): SourceMap | undefined;
246
- interface SourceMapConstructorOptions {
247
- /**
248
- * @since v20.5.0
249
- */
250
- lineLengths?: readonly number[] | undefined;
251
- }
252
- interface SourceMapPayload {
253
- file: string;
254
- version: number;
255
- sources: string[];
256
- sourcesContent: string[];
257
- names: string[];
258
- mappings: string;
259
- sourceRoot: string;
260
- }
261
- interface SourceMapping {
262
- generatedLine: number;
263
- generatedColumn: number;
264
- originalSource: string;
265
- originalLine: number;
266
- originalColumn: number;
267
- }
268
- interface SourceOrigin {
269
- /**
270
- * The name of the range in the source map, if one was provided
271
- */
272
- name: string | undefined;
273
- /**
274
- * The file name of the original source, as reported in the SourceMap
275
- */
276
- fileName: string;
277
- /**
278
- * The 1-indexed lineNumber of the corresponding call site in the original source
279
- */
280
- lineNumber: number;
281
- /**
282
- * The 1-indexed columnNumber of the corresponding call site in the original source
283
- */
284
- columnNumber: number;
285
- }
286
- /**
287
- * @since v13.7.0, v12.17.0
288
- */
289
- class SourceMap {
290
- constructor(payload: SourceMapPayload, options?: SourceMapConstructorOptions);
291
- /**
292
- * Getter for the payload used to construct the `SourceMap` instance.
293
- */
294
- readonly payload: SourceMapPayload;
295
- /**
296
- * Given a line offset and column offset in the generated source
297
- * file, returns an object representing the SourceMap range in the
298
- * original file if found, or an empty object if not.
299
- *
300
- * The object returned contains the following keys:
301
- *
302
- * The returned value represents the raw range as it appears in the
303
- * SourceMap, based on zero-indexed offsets, _not_ 1-indexed line and
304
- * column numbers as they appear in Error messages and CallSite
305
- * objects.
306
- *
307
- * To get the corresponding 1-indexed line and column numbers from a
308
- * lineNumber and columnNumber as they are reported by Error stacks
309
- * and CallSite objects, use `sourceMap.findOrigin(lineNumber, columnNumber)`
310
- * @param lineOffset The zero-indexed line number offset in the generated source
311
- * @param columnOffset The zero-indexed column number offset in the generated source
312
- */
313
- findEntry(lineOffset: number, columnOffset: number): SourceMapping | {};
314
- /**
315
- * Given a 1-indexed `lineNumber` and `columnNumber` from a call site in the generated source,
316
- * find the corresponding call site location in the original source.
317
- *
318
- * If the `lineNumber` and `columnNumber` provided are not found in any source map,
319
- * then an empty object is returned.
320
- * @param lineNumber The 1-indexed line number of the call site in the generated source
321
- * @param columnNumber The 1-indexed column number of the call site in the generated source
322
- */
323
- findOrigin(lineNumber: number, columnNumber: number): SourceOrigin | {};
324
- }
325
- function runMain(main?: string): void;
326
- function wrap(script: string): string;
327
- }
328
- global {
329
- interface ImportMeta {
330
- /**
331
- * The directory name of the current module. This is the same as the `path.dirname()` of the `import.meta.filename`.
332
- * **Caveat:** only present on `file:` modules.
333
- */
334
- dirname: string;
335
- /**
336
- * The full absolute path and filename of the current module, with symlinks resolved.
337
- * This is the same as the `url.fileURLToPath()` of the `import.meta.url`.
338
- * **Caveat:** only local modules support this property. Modules not using the `file:` protocol will not provide it.
339
- */
340
- filename: string;
341
- /**
342
- * The absolute `file:` URL of the module.
343
- */
344
- url: string;
345
- /**
346
- * Provides a module-relative resolution function scoped to each module, returning
347
- * the URL string.
348
- *
349
- * Second `parent` parameter is only used when the `--experimental-import-meta-resolve`
350
- * command flag enabled.
351
- *
352
- * @since v20.6.0
353
- *
354
- * @param specifier The module specifier to resolve relative to `parent`.
355
- * @param parent The absolute parent module URL to resolve from.
356
- * @returns The absolute (`file:`) URL string for the resolved module.
357
- */
358
- resolve(specifier: string, parent?: string | URL | undefined): string;
359
- }
360
- namespace NodeJS {
361
- interface Module {
362
- /**
363
- * The module objects required for the first time by this one.
364
- * @since v0.1.16
365
- */
366
- children: Module[];
367
- /**
368
- * The `module.exports` object is created by the `Module` system. Sometimes this is
369
- * not acceptable; many want their module to be an instance of some class. To do
370
- * this, assign the desired export object to `module.exports`.
371
- * @since v0.1.16
372
- */
373
- exports: any;
374
- /**
375
- * The fully resolved filename of the module.
376
- * @since v0.1.16
377
- */
378
- filename: string;
379
- /**
380
- * The identifier for the module. Typically this is the fully resolved
381
- * filename.
382
- * @since v0.1.16
383
- */
384
- id: string;
385
- /**
386
- * `true` if the module is running during the Node.js preload
387
- * phase.
388
- * @since v15.4.0, v14.17.0
389
- */
390
- isPreloading: boolean;
391
- /**
392
- * Whether or not the module is done loading, or is in the process of
393
- * loading.
394
- * @since v0.1.16
395
- */
396
- loaded: boolean;
397
- /**
398
- * The module that first required this one, or `null` if the current module is the
399
- * entry point of the current process, or `undefined` if the module was loaded by
400
- * something that is not a CommonJS module (e.g. REPL or `import`).
401
- * @since v0.1.16
402
- * @deprecated Please use `require.main` and `module.children` instead.
403
- */
404
- parent: Module | null | undefined;
405
- /**
406
- * The directory name of the module. This is usually the same as the
407
- * `path.dirname()` of the `module.id`.
408
- * @since v11.14.0
409
- */
410
- path: string;
411
- /**
412
- * The search paths for the module.
413
- * @since v0.4.0
414
- */
415
- paths: string[];
416
- /**
417
- * The `module.require()` method provides a way to load a module as if
418
- * `require()` was called from the original module.
419
- * @since v0.5.1
420
- */
421
- require(id: string): any;
422
- }
423
- interface Require {
424
- /**
425
- * Used to import modules, `JSON`, and local files.
426
- * @since v0.1.13
427
- */
428
- (id: string): any;
429
- /**
430
- * Modules are cached in this object when they are required. By deleting a key
431
- * value from this object, the next `require` will reload the module.
432
- * This does not apply to
433
- * [native addons](https://nodejs.org/docs/latest-v20.x/api/addons.html),
434
- * for which reloading will result in an error.
435
- * @since v0.3.0
436
- */
437
- cache: Dict<Module>;
438
- /**
439
- * Instruct `require` on how to handle certain file extensions.
440
- * @since v0.3.0
441
- * @deprecated
442
- */
443
- extensions: RequireExtensions;
444
- /**
445
- * The `Module` object representing the entry script loaded when the Node.js
446
- * process launched, or `undefined` if the entry point of the program is not a
447
- * CommonJS module.
448
- * @since v0.1.17
449
- */
450
- main: Module | undefined;
451
- /**
452
- * @since v0.3.0
453
- */
454
- resolve: RequireResolve;
455
- }
456
- /** @deprecated */
457
- interface RequireExtensions extends Dict<(module: Module, filename: string) => any> {
458
- ".js": (module: Module, filename: string) => any;
459
- ".json": (module: Module, filename: string) => any;
460
- ".node": (module: Module, filename: string) => any;
461
- }
462
- interface RequireResolveOptions {
463
- /**
464
- * Paths to resolve module location from. If present, these
465
- * paths are used instead of the default resolution paths, with the exception
466
- * of
467
- * [GLOBAL\_FOLDERS](https://nodejs.org/docs/latest-v20.x/api/modules.html#loading-from-the-global-folders)
468
- * like `$HOME/.node_modules`, which are
469
- * always included. Each of these paths is used as a starting point for
470
- * the module resolution algorithm, meaning that the `node_modules` hierarchy
471
- * is checked from this location.
472
- * @since v8.9.0
473
- */
474
- paths?: string[] | undefined;
475
- }
476
- interface RequireResolve {
477
- /**
478
- * Use the internal `require()` machinery to look up the location of a module,
479
- * but rather than loading the module, just return the resolved filename.
480
- *
481
- * If the module can not be found, a `MODULE_NOT_FOUND` error is thrown.
482
- * @since v0.3.0
483
- * @param request The module path to resolve.
484
- */
485
- (id: string, options?: RequireResolveOptions): string;
486
- /**
487
- * Returns an array containing the paths searched during resolution of `request` or
488
- * `null` if the `request` string references a core module, for example `http` or
489
- * `fs`.
490
- * @since v8.9.0
491
- * @param request The module path whose lookup paths are being retrieved.
492
- */
493
- paths(request: string): string[] | null;
494
- }
495
- }
496
- /**
497
- * The directory name of the current module. This is the same as the
498
- * `path.dirname()` of the `__filename`.
499
- * @since v0.1.27
500
- */
501
- var __dirname: string;
502
- /**
503
- * The file name of the current module. This is the current module file's absolute
504
- * path with symlinks resolved.
505
- *
506
- * For a main program this is not necessarily the same as the file name used in the
507
- * command line.
508
- * @since v0.0.1
509
- */
510
- var __filename: string;
511
- /**
512
- * The `exports` variable is available within a module's file-level scope, and is
513
- * assigned the value of `module.exports` before the module is evaluated.
514
- * @since v0.1.16
515
- */
516
- var exports: NodeJS.Module["exports"];
517
- /**
518
- * A reference to the current module.
519
- * @since v0.1.16
520
- */
521
- var module: NodeJS.Module;
522
- /**
523
- * @since v0.1.13
524
- */
525
- var require: NodeJS.Require;
526
- // Global-scope aliases for backwards compatibility with @types/node <13.0.x
527
- /** @deprecated Use `NodeJS.Module` instead. */
528
- interface NodeModule extends NodeJS.Module {}
529
- /** @deprecated Use `NodeJS.Require` instead. */
530
- interface NodeRequire extends NodeJS.Require {}
531
- /** @deprecated Use `NodeJS.RequireResolve` instead. */
532
- interface RequireResolve extends NodeJS.RequireResolve {}
533
- }
534
- export = Module;
535
- }
536
- declare module "node:module" {
537
- import module = require("module");
538
- export = module;
539
- }