langchain 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/agents/ReactAgent.cjs +21 -41
  3. package/dist/agents/ReactAgent.cjs.map +1 -1
  4. package/dist/agents/ReactAgent.js +21 -41
  5. package/dist/agents/ReactAgent.js.map +1 -1
  6. package/dist/agents/annotation.cjs +1 -0
  7. package/dist/agents/annotation.cjs.map +1 -1
  8. package/dist/agents/annotation.js +1 -0
  9. package/dist/agents/annotation.js.map +1 -1
  10. package/dist/agents/middleware/callLimit.d.cts.map +1 -1
  11. package/dist/agents/middleware/callLimit.d.ts.map +1 -1
  12. package/dist/agents/middleware/contextEditing.d.cts.map +1 -1
  13. package/dist/agents/middleware/contextEditing.d.ts.map +1 -1
  14. package/dist/agents/middleware/dynamicSystemPrompt.d.cts.map +1 -1
  15. package/dist/agents/middleware/dynamicSystemPrompt.d.ts.map +1 -1
  16. package/dist/agents/middleware/hitl.cjs +7 -2
  17. package/dist/agents/middleware/hitl.cjs.map +1 -1
  18. package/dist/agents/middleware/hitl.d.cts.map +1 -1
  19. package/dist/agents/middleware/hitl.d.ts.map +1 -1
  20. package/dist/agents/middleware/hitl.js +7 -2
  21. package/dist/agents/middleware/hitl.js.map +1 -1
  22. package/dist/agents/middleware/index.cjs +2 -1
  23. package/dist/agents/middleware/index.d.cts +15 -0
  24. package/dist/agents/middleware/index.d.ts +14 -0
  25. package/dist/agents/middleware/index.js +2 -1
  26. package/dist/agents/middleware/modelCallLimit.cjs +145 -0
  27. package/dist/agents/middleware/modelCallLimit.cjs.map +1 -0
  28. package/dist/agents/middleware/modelCallLimit.d.cts +128 -0
  29. package/dist/agents/middleware/modelCallLimit.d.cts.map +1 -0
  30. package/dist/agents/middleware/modelCallLimit.d.ts +128 -0
  31. package/dist/agents/middleware/modelCallLimit.d.ts.map +1 -0
  32. package/dist/agents/middleware/modelCallLimit.js +144 -0
  33. package/dist/agents/middleware/modelCallLimit.js.map +1 -0
  34. package/dist/agents/middleware/promptCaching.d.cts.map +1 -1
  35. package/dist/agents/middleware/promptCaching.d.ts.map +1 -1
  36. package/dist/agents/middleware/summarization.cjs +4 -2
  37. package/dist/agents/middleware/summarization.cjs.map +1 -1
  38. package/dist/agents/middleware/summarization.d.cts +7 -6
  39. package/dist/agents/middleware/summarization.d.cts.map +1 -1
  40. package/dist/agents/middleware/summarization.d.ts +7 -6
  41. package/dist/agents/middleware/summarization.d.ts.map +1 -1
  42. package/dist/agents/middleware/summarization.js +4 -2
  43. package/dist/agents/middleware/summarization.js.map +1 -1
  44. package/dist/agents/middleware/todoListMiddleware.d.ts.map +1 -1
  45. package/dist/agents/middleware/toolCallLimit.cjs +205 -92
  46. package/dist/agents/middleware/toolCallLimit.cjs.map +1 -1
  47. package/dist/agents/middleware/toolCallLimit.d.cts +46 -37
  48. package/dist/agents/middleware/toolCallLimit.d.cts.map +1 -1
  49. package/dist/agents/middleware/toolCallLimit.d.ts +46 -37
  50. package/dist/agents/middleware/toolCallLimit.d.ts.map +1 -1
  51. package/dist/agents/middleware/toolCallLimit.js +206 -93
  52. package/dist/agents/middleware/toolCallLimit.js.map +1 -1
  53. package/dist/agents/middleware/toolRetry.cjs +224 -0
  54. package/dist/agents/middleware/toolRetry.cjs.map +1 -0
  55. package/dist/agents/middleware/toolRetry.d.cts +179 -0
  56. package/dist/agents/middleware/toolRetry.d.cts.map +1 -0
  57. package/dist/agents/middleware/toolRetry.d.ts +179 -0
  58. package/dist/agents/middleware/toolRetry.d.ts.map +1 -0
  59. package/dist/agents/middleware/toolRetry.js +223 -0
  60. package/dist/agents/middleware/toolRetry.js.map +1 -0
  61. package/dist/agents/middleware/types.d.cts +21 -19
  62. package/dist/agents/middleware/types.d.cts.map +1 -1
  63. package/dist/agents/middleware/types.d.ts +21 -19
  64. package/dist/agents/middleware/types.d.ts.map +1 -1
  65. package/dist/agents/middleware/utils.cjs +7 -0
  66. package/dist/agents/middleware/utils.cjs.map +1 -1
  67. package/dist/agents/middleware/utils.d.cts.map +1 -1
  68. package/dist/agents/middleware/utils.d.ts.map +1 -1
  69. package/dist/agents/middleware/utils.js +7 -1
  70. package/dist/agents/middleware/utils.js.map +1 -1
  71. package/dist/agents/middleware.cjs.map +1 -1
  72. package/dist/agents/middleware.d.cts +4 -4
  73. package/dist/agents/middleware.d.cts.map +1 -1
  74. package/dist/agents/middleware.d.ts +4 -4
  75. package/dist/agents/middleware.d.ts.map +1 -1
  76. package/dist/agents/middleware.js.map +1 -1
  77. package/dist/agents/nodes/AgentNode.cjs +21 -47
  78. package/dist/agents/nodes/AgentNode.cjs.map +1 -1
  79. package/dist/agents/nodes/AgentNode.js +22 -48
  80. package/dist/agents/nodes/AgentNode.js.map +1 -1
  81. package/dist/agents/nodes/ToolNode.cjs +12 -18
  82. package/dist/agents/nodes/ToolNode.cjs.map +1 -1
  83. package/dist/agents/nodes/ToolNode.js +12 -18
  84. package/dist/agents/nodes/ToolNode.js.map +1 -1
  85. package/dist/agents/nodes/middleware.cjs +9 -7
  86. package/dist/agents/nodes/middleware.cjs.map +1 -1
  87. package/dist/agents/nodes/middleware.js +10 -8
  88. package/dist/agents/nodes/middleware.js.map +1 -1
  89. package/dist/agents/nodes/types.d.cts +1 -1
  90. package/dist/agents/nodes/types.d.cts.map +1 -1
  91. package/dist/agents/nodes/types.d.ts +1 -1
  92. package/dist/agents/nodes/types.d.ts.map +1 -1
  93. package/dist/agents/nodes/utils.cjs +5 -1
  94. package/dist/agents/nodes/utils.cjs.map +1 -1
  95. package/dist/agents/nodes/utils.js +5 -1
  96. package/dist/agents/nodes/utils.js.map +1 -1
  97. package/dist/agents/runtime.d.cts +11 -27
  98. package/dist/agents/runtime.d.cts.map +1 -1
  99. package/dist/agents/runtime.d.ts +11 -27
  100. package/dist/agents/runtime.d.ts.map +1 -1
  101. package/dist/agents/state.cjs +45 -0
  102. package/dist/agents/state.cjs.map +1 -0
  103. package/dist/agents/state.js +44 -0
  104. package/dist/agents/state.js.map +1 -0
  105. package/dist/agents/types.d.cts +1 -1
  106. package/dist/agents/types.d.cts.map +1 -1
  107. package/dist/agents/types.d.ts +1 -1
  108. package/dist/agents/types.d.ts.map +1 -1
  109. package/dist/agents/utils.cjs +10 -2
  110. package/dist/agents/utils.cjs.map +1 -1
  111. package/dist/agents/utils.js +10 -2
  112. package/dist/agents/utils.js.map +1 -1
  113. package/dist/chat_models/universal.cjs +2 -2
  114. package/dist/chat_models/universal.cjs.map +1 -1
  115. package/dist/chat_models/universal.js +2 -2
  116. package/dist/chat_models/universal.js.map +1 -1
  117. package/dist/embeddings/cache_backed.cjs +140 -0
  118. package/dist/embeddings/cache_backed.cjs.map +1 -0
  119. package/dist/embeddings/cache_backed.d.cts +107 -0
  120. package/dist/embeddings/cache_backed.d.cts.map +1 -0
  121. package/dist/embeddings/cache_backed.d.ts +107 -0
  122. package/dist/embeddings/cache_backed.d.ts.map +1 -0
  123. package/dist/embeddings/cache_backed.js +134 -0
  124. package/dist/embeddings/cache_backed.js.map +1 -0
  125. package/dist/embeddings/fake.cjs +22 -0
  126. package/dist/embeddings/fake.cjs.map +1 -0
  127. package/dist/embeddings/fake.d.cts +1 -0
  128. package/dist/embeddings/fake.d.ts +1 -0
  129. package/dist/embeddings/fake.js +12 -0
  130. package/dist/embeddings/fake.js.map +1 -0
  131. package/dist/index.cjs +6 -18
  132. package/dist/index.cjs.map +1 -1
  133. package/dist/index.d.cts +3 -3
  134. package/dist/index.d.ts +3 -3
  135. package/dist/index.js +4 -5
  136. package/dist/index.js.map +1 -1
  137. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs +248 -0
  138. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.map +1 -0
  139. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +244 -0
  140. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js.map +1 -0
  141. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.cjs +3096 -0
  142. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.cjs.map +1 -0
  143. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.js +3095 -0
  144. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/client.js.map +1 -0
  145. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.cjs +12 -0
  146. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.cjs.map +1 -0
  147. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.js +12 -0
  148. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/env.js.map +1 -0
  149. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.cjs +71 -0
  150. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.cjs.map +1 -0
  151. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js +38 -0
  152. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/constants.js.map +1 -0
  153. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.cjs +221 -0
  154. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.cjs.map +1 -0
  155. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js +221 -0
  156. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/experimental/otel/translator.js.map +1 -0
  157. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.cjs +11 -0
  158. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.cjs.map +1 -0
  159. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.js +11 -0
  160. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/index.js.map +1 -0
  161. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.cjs +703 -0
  162. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.cjs.map +1 -0
  163. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.js +702 -0
  164. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/run_trees.js.map +1 -0
  165. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.cjs +7 -0
  166. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.cjs.map +1 -0
  167. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js +6 -0
  168. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/constants.js.map +1 -0
  169. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.cjs +29 -0
  170. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.cjs.map +1 -0
  171. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js +28 -0
  172. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/fetch.js.map +1 -0
  173. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.cjs +115 -0
  174. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.cjs.map +1 -0
  175. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js +113 -0
  176. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/singletons/otel.js.map +1 -0
  177. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.cjs +14 -0
  178. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.cjs.map +1 -0
  179. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js +13 -0
  180. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/_uuid.js.map +1 -0
  181. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.cjs +95 -0
  182. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.cjs.map +1 -0
  183. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js +95 -0
  184. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/async_caller.js.map +1 -0
  185. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.cjs +136 -0
  186. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.cjs.map +1 -0
  187. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.js +131 -0
  188. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/env.js.map +1 -0
  189. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.cjs +102 -0
  190. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.cjs.map +1 -0
  191. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.js +99 -0
  192. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/error.js.map +1 -0
  193. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs +140 -0
  194. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.cjs.map +1 -0
  195. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js +140 -0
  196. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/fast-safe-stringify/index.js.map +1 -0
  197. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.cjs +18 -0
  198. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.cjs.map +1 -0
  199. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js +16 -0
  200. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/messages.js.map +1 -0
  201. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.cjs +10 -0
  202. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.cjs.map +1 -0
  203. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.js +10 -0
  204. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/project.js.map +1 -0
  205. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.cjs +30 -0
  206. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.cjs.map +1 -0
  207. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js +30 -0
  208. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/prompts.js.map +1 -0
  209. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.cjs +13 -0
  210. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.cjs.map +1 -0
  211. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js +12 -0
  212. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/dist/utils/warn.js.map +1 -0
  213. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/index.cjs +6 -0
  214. package/dist/node_modules/.pnpm/langsmith@0.3.74_@opentelemetry_api@1.9.0_openai@5.12.2_ws@8.18.3_bufferutil@4.0.9_utf-8-validate@6.0.5__zod@3.25.76_/node_modules/langsmith/index.js +6 -0
  215. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs +27 -0
  216. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.map +1 -0
  217. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js +23 -0
  218. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js.map +1 -0
  219. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs +267 -0
  220. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.map +1 -0
  221. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js +263 -0
  222. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js.map +1 -0
  223. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs +32 -0
  224. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.map +1 -0
  225. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js +28 -0
  226. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js.map +1 -0
  227. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs +49 -0
  228. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.map +1 -0
  229. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js +45 -0
  230. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js.map +1 -0
  231. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.cjs +83 -0
  232. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.cjs.map +1 -0
  233. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js +79 -0
  234. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js.map +1 -0
  235. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs +52 -0
  236. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.map +1 -0
  237. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js +48 -0
  238. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js.map +1 -0
  239. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.cjs +16 -0
  240. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.cjs.map +1 -0
  241. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js +13 -0
  242. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js.map +1 -0
  243. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.cjs +77 -0
  244. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.cjs.map +1 -0
  245. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js +74 -0
  246. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js.map +1 -0
  247. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.cjs +115 -0
  248. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.cjs.map +1 -0
  249. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js +112 -0
  250. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js.map +1 -0
  251. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs +90 -0
  252. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs.map +1 -0
  253. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js +86 -0
  254. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js.map +1 -0
  255. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs +294 -0
  256. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs.map +1 -0
  257. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js +290 -0
  258. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js.map +1 -0
  259. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs +191 -0
  260. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs.map +1 -0
  261. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js +187 -0
  262. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js.map +1 -0
  263. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs +24 -0
  264. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs.map +1 -0
  265. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js +20 -0
  266. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js.map +1 -0
  267. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs +51 -0
  268. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs.map +1 -0
  269. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js +47 -0
  270. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js.map +1 -0
  271. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs +48 -0
  272. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs.map +1 -0
  273. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js +44 -0
  274. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js.map +1 -0
  275. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs +25 -0
  276. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs.map +1 -0
  277. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js +21 -0
  278. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js.map +1 -0
  279. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs +21 -0
  280. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs.map +1 -0
  281. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js +17 -0
  282. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js.map +1 -0
  283. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs +21 -0
  284. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs.map +1 -0
  285. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js +17 -0
  286. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js.map +1 -0
  287. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs +43 -0
  288. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs.map +1 -0
  289. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js +39 -0
  290. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js.map +1 -0
  291. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs +21 -0
  292. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs.map +1 -0
  293. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js +17 -0
  294. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js.map +1 -0
  295. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs +21 -0
  296. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs.map +1 -0
  297. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js +17 -0
  298. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js.map +1 -0
  299. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs +21 -0
  300. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs.map +1 -0
  301. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js +17 -0
  302. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js.map +1 -0
  303. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs +32 -0
  304. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs.map +1 -0
  305. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js +28 -0
  306. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js.map +1 -0
  307. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs +21 -0
  308. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs.map +1 -0
  309. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js +17 -0
  310. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js.map +1 -0
  311. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs +21 -0
  312. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs.map +1 -0
  313. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js +17 -0
  314. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js.map +1 -0
  315. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs +21 -0
  316. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs.map +1 -0
  317. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js +17 -0
  318. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js.map +1 -0
  319. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs +21 -0
  320. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs.map +1 -0
  321. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js +17 -0
  322. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js.map +1 -0
  323. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs +21 -0
  324. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs.map +1 -0
  325. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js +17 -0
  326. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js.map +1 -0
  327. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs +29 -0
  328. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs.map +1 -0
  329. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js +25 -0
  330. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js.map +1 -0
  331. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs +21 -0
  332. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs.map +1 -0
  333. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js +17 -0
  334. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js.map +1 -0
  335. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs +24 -0
  336. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs.map +1 -0
  337. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js +20 -0
  338. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js.map +1 -0
  339. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs +21 -0
  340. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs.map +1 -0
  341. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js +17 -0
  342. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js.map +1 -0
  343. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs +21 -0
  344. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs.map +1 -0
  345. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js +17 -0
  346. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js.map +1 -0
  347. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs +28 -0
  348. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs.map +1 -0
  349. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js +24 -0
  350. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js.map +1 -0
  351. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs +21 -0
  352. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs.map +1 -0
  353. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js +17 -0
  354. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js.map +1 -0
  355. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs +24 -0
  356. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs.map +1 -0
  357. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js +20 -0
  358. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js.map +1 -0
  359. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs +146 -0
  360. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs.map +1 -0
  361. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js +142 -0
  362. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js.map +1 -0
  363. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs +41 -0
  364. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs.map +1 -0
  365. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js +37 -0
  366. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js.map +1 -0
  367. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs +19 -0
  368. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs.map +1 -0
  369. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js +15 -0
  370. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js.map +1 -0
  371. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs +32 -0
  372. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs.map +1 -0
  373. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js +28 -0
  374. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js.map +1 -0
  375. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs +47 -0
  376. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs.map +1 -0
  377. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js +43 -0
  378. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js.map +1 -0
  379. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs +25 -0
  380. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs.map +1 -0
  381. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js +21 -0
  382. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js.map +1 -0
  383. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs +94 -0
  384. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs.map +1 -0
  385. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js +90 -0
  386. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js.map +1 -0
  387. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs +21 -0
  388. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs.map +1 -0
  389. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js +17 -0
  390. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js.map +1 -0
  391. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs +25 -0
  392. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs.map +1 -0
  393. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js +21 -0
  394. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js.map +1 -0
  395. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs +21 -0
  396. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs.map +1 -0
  397. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js +17 -0
  398. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js.map +1 -0
  399. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs +41 -0
  400. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs.map +1 -0
  401. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js +37 -0
  402. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js.map +1 -0
  403. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs +41 -0
  404. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs.map +1 -0
  405. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js +37 -0
  406. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js.map +1 -0
  407. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs +55 -0
  408. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs.map +1 -0
  409. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js +51 -0
  410. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js.map +1 -0
  411. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs +74 -0
  412. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs.map +1 -0
  413. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js +70 -0
  414. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js.map +1 -0
  415. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs +48 -0
  416. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs.map +1 -0
  417. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js +44 -0
  418. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js.map +1 -0
  419. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs +112 -0
  420. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs.map +1 -0
  421. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js +108 -0
  422. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js.map +1 -0
  423. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs +21 -0
  424. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs.map +1 -0
  425. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js +17 -0
  426. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js.map +1 -0
  427. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs +27 -0
  428. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs.map +1 -0
  429. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js +23 -0
  430. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js.map +1 -0
  431. package/package.json +6 -6
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry.cjs","names":["original"],"sources":["../../../../../../../../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"],"sourcesContent":["var RetryOperation = require('./retry_operation');\n\nexports.operation = function(options) {\n var timeouts = exports.timeouts(options);\n return new RetryOperation(timeouts, {\n forever: options && (options.forever || options.retries === Infinity),\n unref: options && options.unref,\n maxRetryTime: options && options.maxRetryTime\n });\n};\n\nexports.timeouts = function(options) {\n if (options instanceof Array) {\n return [].concat(options);\n }\n\n var opts = {\n retries: 10,\n factor: 2,\n minTimeout: 1 * 1000,\n maxTimeout: Infinity,\n randomize: false\n };\n for (var key in options) {\n opts[key] = options[key];\n }\n\n if (opts.minTimeout > opts.maxTimeout) {\n throw new Error('minTimeout is greater than maxTimeout');\n }\n\n var timeouts = [];\n for (var i = 0; i < opts.retries; i++) {\n timeouts.push(this.createTimeout(i, opts));\n }\n\n if (options && options.forever && !timeouts.length) {\n timeouts.push(this.createTimeout(i, opts));\n }\n\n // sort the array numerically ascending\n timeouts.sort(function(a,b) {\n return a - b;\n });\n\n return timeouts;\n};\n\nexports.createTimeout = function(attempt, opts) {\n var random = (opts.randomize)\n ? (Math.random() + 1)\n : 1;\n\n var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));\n timeout = Math.min(timeout, opts.maxTimeout);\n\n return timeout;\n};\n\nexports.wrap = function(obj, options, methods) {\n if (options instanceof Array) {\n methods = options;\n options = null;\n }\n\n if (!methods) {\n methods = [];\n for (var key in obj) {\n if (typeof obj[key] === 'function') {\n methods.push(key);\n }\n }\n }\n\n for (var i = 0; i < methods.length; i++) {\n var method = methods[i];\n var original = obj[method];\n\n obj[method] = function retryWrapper(original) {\n var op = exports.operation(options);\n var args = Array.prototype.slice.call(arguments, 1);\n var callback = args.pop();\n\n args.push(function(err) {\n if (op.retry(err)) {\n return;\n }\n if (err) {\n arguments[0] = op.mainError();\n }\n callback.apply(this, arguments);\n });\n\n op.attempt(function() {\n original.apply(obj, args);\n });\n }.bind(obj, original);\n obj[method].options = options;\n }\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI;CAEJ,QAAQ,YAAY,SAAS,SAAS;EACpC,IAAI,WAAW,QAAQ,SAAS,QAAQ;AACxC,SAAO,IAAI,eAAe,UAAU;GAChC,SAAS,YAAY,QAAQ,WAAW,QAAQ,YAAY;GAC5D,OAAO,WAAW,QAAQ;GAC1B,cAAc,WAAW,QAAQ;EACpC;CACF;CAED,QAAQ,WAAW,SAAS,SAAS;AACnC,MAAI,mBAAmB,MACrB,QAAO,CAAE,EAAC,OAAO,QAAQ;EAG3B,IAAI,OAAO;GACT,SAAS;GACT,QAAQ;GACR,YAAY,IAAI;GAChB,YAAY;GACZ,WAAW;EACZ;AACD,OAAK,IAAI,OAAO,SACd,KAAK,OAAO,QAAQ;AAGtB,MAAI,KAAK,aAAa,KAAK,WACzB,OAAM,IAAI,MAAM;EAGlB,IAAI,WAAW,CAAE;AACjB,OAAK,IAAI,IAAI,GAAG,IAAI,KAAK,SAAS,KAChC,SAAS,KAAK,KAAK,cAAc,GAAG,KAAK,CAAC;AAG5C,MAAI,WAAW,QAAQ,WAAW,CAAC,SAAS,QAC1C,SAAS,KAAK,KAAK,cAAc,GAAG,KAAK,CAAC;EAI5C,SAAS,KAAK,SAAS,GAAE,GAAG;AAC1B,UAAO,IAAI;EACZ,EAAC;AAEF,SAAO;CACR;CAED,QAAQ,gBAAgB,SAAS,SAAS,MAAM;EAC9C,IAAI,SAAU,KAAK,YACd,KAAK,QAAQ,GAAG,IACjB;EAEJ,IAAI,UAAU,KAAK,MAAM,SAAS,KAAK,IAAI,KAAK,YAAY,EAAE,GAAG,KAAK,IAAI,KAAK,QAAQ,QAAQ,CAAC;EAChG,UAAU,KAAK,IAAI,SAAS,KAAK,WAAW;AAE5C,SAAO;CACR;CAED,QAAQ,OAAO,SAAS,KAAK,SAAS,SAAS;AAC7C,MAAI,mBAAmB,OAAO;GAC5B,UAAU;GACV,UAAU;EACX;AAED,MAAI,CAAC,SAAS;GACZ,UAAU,CAAE;AACZ,QAAK,IAAI,OAAO,IACd,KAAI,OAAO,IAAI,SAAS,YACtB,QAAQ,KAAK,IAAI;EAGtB;AAED,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;GACvC,IAAI,SAAW,QAAQ;GACvB,IAAI,WAAW,IAAI;GAEnB,IAAI,UAAU,SAAS,aAAaA,YAAU;IAC5C,IAAI,KAAW,QAAQ,UAAU,QAAQ;IACzC,IAAI,OAAW,MAAM,UAAU,MAAM,KAAK,WAAW,EAAE;IACvD,IAAI,WAAW,KAAK,KAAK;IAEzB,KAAK,KAAK,SAAS,KAAK;AACtB,SAAI,GAAG,MAAM,IAAI,CACf;AAEF,SAAI,KACF,UAAU,KAAK,GAAG,WAAW;KAE/B,SAAS,MAAM,MAAM,UAAU;IAChC,EAAC;IAEF,GAAG,QAAQ,WAAW;KACpBA,WAAS,MAAM,KAAK,KAAK;IAC1B,EAAC;GACH,EAAC,KAAK,KAAK,SAAS;GACrB,IAAI,QAAQ,UAAU;EACvB;CACF"}
@@ -0,0 +1,74 @@
1
+ import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
+ import { require_retry_operation } from "./retry_operation.js";
3
+
4
+ //#region ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js
5
+ var require_retry = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js": ((exports) => {
6
+ var RetryOperation = require_retry_operation();
7
+ exports.operation = function(options) {
8
+ var timeouts = exports.timeouts(options);
9
+ return new RetryOperation(timeouts, {
10
+ forever: options && (options.forever || options.retries === Infinity),
11
+ unref: options && options.unref,
12
+ maxRetryTime: options && options.maxRetryTime
13
+ });
14
+ };
15
+ exports.timeouts = function(options) {
16
+ if (options instanceof Array) return [].concat(options);
17
+ var opts = {
18
+ retries: 10,
19
+ factor: 2,
20
+ minTimeout: 1 * 1e3,
21
+ maxTimeout: Infinity,
22
+ randomize: false
23
+ };
24
+ for (var key in options) opts[key] = options[key];
25
+ if (opts.minTimeout > opts.maxTimeout) throw new Error("minTimeout is greater than maxTimeout");
26
+ var timeouts = [];
27
+ for (var i = 0; i < opts.retries; i++) timeouts.push(this.createTimeout(i, opts));
28
+ if (options && options.forever && !timeouts.length) timeouts.push(this.createTimeout(i, opts));
29
+ timeouts.sort(function(a, b) {
30
+ return a - b;
31
+ });
32
+ return timeouts;
33
+ };
34
+ exports.createTimeout = function(attempt, opts) {
35
+ var random = opts.randomize ? Math.random() + 1 : 1;
36
+ var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));
37
+ timeout = Math.min(timeout, opts.maxTimeout);
38
+ return timeout;
39
+ };
40
+ exports.wrap = function(obj, options, methods) {
41
+ if (options instanceof Array) {
42
+ methods = options;
43
+ options = null;
44
+ }
45
+ if (!methods) {
46
+ methods = [];
47
+ for (var key in obj) if (typeof obj[key] === "function") methods.push(key);
48
+ }
49
+ for (var i = 0; i < methods.length; i++) {
50
+ var method = methods[i];
51
+ var original = obj[method];
52
+ obj[method] = function retryWrapper(original$1) {
53
+ var op = exports.operation(options);
54
+ var args = Array.prototype.slice.call(arguments, 1);
55
+ var callback = args.pop();
56
+ args.push(function(err) {
57
+ if (op.retry(err)) return;
58
+ if (err) arguments[0] = op.mainError();
59
+ callback.apply(this, arguments);
60
+ });
61
+ op.attempt(function() {
62
+ original$1.apply(obj, args);
63
+ });
64
+ }.bind(obj, original);
65
+ obj[method].options = options;
66
+ }
67
+ };
68
+ }) });
69
+
70
+ //#endregion
71
+ export default require_retry();
72
+
73
+ export { require_retry };
74
+ //# sourceMappingURL=retry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry.js","names":["original"],"sources":["../../../../../../../../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js"],"sourcesContent":["var RetryOperation = require('./retry_operation');\n\nexports.operation = function(options) {\n var timeouts = exports.timeouts(options);\n return new RetryOperation(timeouts, {\n forever: options && (options.forever || options.retries === Infinity),\n unref: options && options.unref,\n maxRetryTime: options && options.maxRetryTime\n });\n};\n\nexports.timeouts = function(options) {\n if (options instanceof Array) {\n return [].concat(options);\n }\n\n var opts = {\n retries: 10,\n factor: 2,\n minTimeout: 1 * 1000,\n maxTimeout: Infinity,\n randomize: false\n };\n for (var key in options) {\n opts[key] = options[key];\n }\n\n if (opts.minTimeout > opts.maxTimeout) {\n throw new Error('minTimeout is greater than maxTimeout');\n }\n\n var timeouts = [];\n for (var i = 0; i < opts.retries; i++) {\n timeouts.push(this.createTimeout(i, opts));\n }\n\n if (options && options.forever && !timeouts.length) {\n timeouts.push(this.createTimeout(i, opts));\n }\n\n // sort the array numerically ascending\n timeouts.sort(function(a,b) {\n return a - b;\n });\n\n return timeouts;\n};\n\nexports.createTimeout = function(attempt, opts) {\n var random = (opts.randomize)\n ? (Math.random() + 1)\n : 1;\n\n var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));\n timeout = Math.min(timeout, opts.maxTimeout);\n\n return timeout;\n};\n\nexports.wrap = function(obj, options, methods) {\n if (options instanceof Array) {\n methods = options;\n options = null;\n }\n\n if (!methods) {\n methods = [];\n for (var key in obj) {\n if (typeof obj[key] === 'function') {\n methods.push(key);\n }\n }\n }\n\n for (var i = 0; i < methods.length; i++) {\n var method = methods[i];\n var original = obj[method];\n\n obj[method] = function retryWrapper(original) {\n var op = exports.operation(options);\n var args = Array.prototype.slice.call(arguments, 1);\n var callback = args.pop();\n\n args.push(function(err) {\n if (op.retry(err)) {\n return;\n }\n if (err) {\n arguments[0] = op.mainError();\n }\n callback.apply(this, arguments);\n });\n\n op.attempt(function() {\n original.apply(obj, args);\n });\n }.bind(obj, original);\n obj[method].options = options;\n }\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,IAAI;CAEJ,QAAQ,YAAY,SAAS,SAAS;EACpC,IAAI,WAAW,QAAQ,SAAS,QAAQ;AACxC,SAAO,IAAI,eAAe,UAAU;GAChC,SAAS,YAAY,QAAQ,WAAW,QAAQ,YAAY;GAC5D,OAAO,WAAW,QAAQ;GAC1B,cAAc,WAAW,QAAQ;EACpC;CACF;CAED,QAAQ,WAAW,SAAS,SAAS;AACnC,MAAI,mBAAmB,MACrB,QAAO,CAAE,EAAC,OAAO,QAAQ;EAG3B,IAAI,OAAO;GACT,SAAS;GACT,QAAQ;GACR,YAAY,IAAI;GAChB,YAAY;GACZ,WAAW;EACZ;AACD,OAAK,IAAI,OAAO,SACd,KAAK,OAAO,QAAQ;AAGtB,MAAI,KAAK,aAAa,KAAK,WACzB,OAAM,IAAI,MAAM;EAGlB,IAAI,WAAW,CAAE;AACjB,OAAK,IAAI,IAAI,GAAG,IAAI,KAAK,SAAS,KAChC,SAAS,KAAK,KAAK,cAAc,GAAG,KAAK,CAAC;AAG5C,MAAI,WAAW,QAAQ,WAAW,CAAC,SAAS,QAC1C,SAAS,KAAK,KAAK,cAAc,GAAG,KAAK,CAAC;EAI5C,SAAS,KAAK,SAAS,GAAE,GAAG;AAC1B,UAAO,IAAI;EACZ,EAAC;AAEF,SAAO;CACR;CAED,QAAQ,gBAAgB,SAAS,SAAS,MAAM;EAC9C,IAAI,SAAU,KAAK,YACd,KAAK,QAAQ,GAAG,IACjB;EAEJ,IAAI,UAAU,KAAK,MAAM,SAAS,KAAK,IAAI,KAAK,YAAY,EAAE,GAAG,KAAK,IAAI,KAAK,QAAQ,QAAQ,CAAC;EAChG,UAAU,KAAK,IAAI,SAAS,KAAK,WAAW;AAE5C,SAAO;CACR;CAED,QAAQ,OAAO,SAAS,KAAK,SAAS,SAAS;AAC7C,MAAI,mBAAmB,OAAO;GAC5B,UAAU;GACV,UAAU;EACX;AAED,MAAI,CAAC,SAAS;GACZ,UAAU,CAAE;AACZ,QAAK,IAAI,OAAO,IACd,KAAI,OAAO,IAAI,SAAS,YACtB,QAAQ,KAAK,IAAI;EAGtB;AAED,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;GACvC,IAAI,SAAW,QAAQ;GACvB,IAAI,WAAW,IAAI;GAEnB,IAAI,UAAU,SAAS,aAAaA,YAAU;IAC5C,IAAI,KAAW,QAAQ,UAAU,QAAQ;IACzC,IAAI,OAAW,MAAM,UAAU,MAAM,KAAK,WAAW,EAAE;IACvD,IAAI,WAAW,KAAK,KAAK;IAEzB,KAAK,KAAK,SAAS,KAAK;AACtB,SAAI,GAAG,MAAM,IAAI,CACf;AAEF,SAAI,KACF,UAAU,KAAK,GAAG,WAAW;KAE/B,SAAS,MAAM,MAAM,UAAU;IAChC,EAAC;IAEF,GAAG,QAAQ,WAAW;KACpBA,WAAS,MAAM,KAAK,KAAK;IAC1B,EAAC;GACH,EAAC,KAAK,KAAK,SAAS;GACrB,IAAI,QAAQ,UAAU;EACvB;CACF"}
@@ -0,0 +1,115 @@
1
+ const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js
4
+ var require_retry_operation = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js": ((exports, module) => {
5
+ function RetryOperation(timeouts, options) {
6
+ if (typeof options === "boolean") options = { forever: options };
7
+ this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));
8
+ this._timeouts = timeouts;
9
+ this._options = options || {};
10
+ this._maxRetryTime = options && options.maxRetryTime || Infinity;
11
+ this._fn = null;
12
+ this._errors = [];
13
+ this._attempts = 1;
14
+ this._operationTimeout = null;
15
+ this._operationTimeoutCb = null;
16
+ this._timeout = null;
17
+ this._operationStart = null;
18
+ this._timer = null;
19
+ if (this._options.forever) this._cachedTimeouts = this._timeouts.slice(0);
20
+ }
21
+ module.exports = RetryOperation;
22
+ RetryOperation.prototype.reset = function() {
23
+ this._attempts = 1;
24
+ this._timeouts = this._originalTimeouts.slice(0);
25
+ };
26
+ RetryOperation.prototype.stop = function() {
27
+ if (this._timeout) clearTimeout(this._timeout);
28
+ if (this._timer) clearTimeout(this._timer);
29
+ this._timeouts = [];
30
+ this._cachedTimeouts = null;
31
+ };
32
+ RetryOperation.prototype.retry = function(err) {
33
+ if (this._timeout) clearTimeout(this._timeout);
34
+ if (!err) return false;
35
+ var currentTime = (/* @__PURE__ */ new Date()).getTime();
36
+ if (err && currentTime - this._operationStart >= this._maxRetryTime) {
37
+ this._errors.push(err);
38
+ this._errors.unshift(/* @__PURE__ */ new Error("RetryOperation timeout occurred"));
39
+ return false;
40
+ }
41
+ this._errors.push(err);
42
+ var timeout = this._timeouts.shift();
43
+ if (timeout === void 0) if (this._cachedTimeouts) {
44
+ this._errors.splice(0, this._errors.length - 1);
45
+ timeout = this._cachedTimeouts.slice(-1);
46
+ } else return false;
47
+ var self = this;
48
+ this._timer = setTimeout(function() {
49
+ self._attempts++;
50
+ if (self._operationTimeoutCb) {
51
+ self._timeout = setTimeout(function() {
52
+ self._operationTimeoutCb(self._attempts);
53
+ }, self._operationTimeout);
54
+ if (self._options.unref) self._timeout.unref();
55
+ }
56
+ self._fn(self._attempts);
57
+ }, timeout);
58
+ if (this._options.unref) this._timer.unref();
59
+ return true;
60
+ };
61
+ RetryOperation.prototype.attempt = function(fn, timeoutOps) {
62
+ this._fn = fn;
63
+ if (timeoutOps) {
64
+ if (timeoutOps.timeout) this._operationTimeout = timeoutOps.timeout;
65
+ if (timeoutOps.cb) this._operationTimeoutCb = timeoutOps.cb;
66
+ }
67
+ var self = this;
68
+ if (this._operationTimeoutCb) this._timeout = setTimeout(function() {
69
+ self._operationTimeoutCb();
70
+ }, self._operationTimeout);
71
+ this._operationStart = (/* @__PURE__ */ new Date()).getTime();
72
+ this._fn(this._attempts);
73
+ };
74
+ RetryOperation.prototype.try = function(fn) {
75
+ console.log("Using RetryOperation.try() is deprecated");
76
+ this.attempt(fn);
77
+ };
78
+ RetryOperation.prototype.start = function(fn) {
79
+ console.log("Using RetryOperation.start() is deprecated");
80
+ this.attempt(fn);
81
+ };
82
+ RetryOperation.prototype.start = RetryOperation.prototype.try;
83
+ RetryOperation.prototype.errors = function() {
84
+ return this._errors;
85
+ };
86
+ RetryOperation.prototype.attempts = function() {
87
+ return this._attempts;
88
+ };
89
+ RetryOperation.prototype.mainError = function() {
90
+ if (this._errors.length === 0) return null;
91
+ var counts = {};
92
+ var mainError = null;
93
+ var mainErrorCount = 0;
94
+ for (var i = 0; i < this._errors.length; i++) {
95
+ var error = this._errors[i];
96
+ var message = error.message;
97
+ var count = (counts[message] || 0) + 1;
98
+ counts[message] = count;
99
+ if (count >= mainErrorCount) {
100
+ mainError = error;
101
+ mainErrorCount = count;
102
+ }
103
+ }
104
+ return mainError;
105
+ };
106
+ }) });
107
+
108
+ //#endregion
109
+ Object.defineProperty(exports, 'default', {
110
+ enumerable: true,
111
+ get: function () {
112
+ return require_retry_operation();
113
+ }
114
+ });
115
+ //# sourceMappingURL=retry_operation.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry_operation.cjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"],"sourcesContent":["function RetryOperation(timeouts, options) {\n // Compatibility for the old (timeouts, retryForever) signature\n if (typeof options === 'boolean') {\n options = { forever: options };\n }\n\n this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));\n this._timeouts = timeouts;\n this._options = options || {};\n this._maxRetryTime = options && options.maxRetryTime || Infinity;\n this._fn = null;\n this._errors = [];\n this._attempts = 1;\n this._operationTimeout = null;\n this._operationTimeoutCb = null;\n this._timeout = null;\n this._operationStart = null;\n this._timer = null;\n\n if (this._options.forever) {\n this._cachedTimeouts = this._timeouts.slice(0);\n }\n}\nmodule.exports = RetryOperation;\n\nRetryOperation.prototype.reset = function() {\n this._attempts = 1;\n this._timeouts = this._originalTimeouts.slice(0);\n}\n\nRetryOperation.prototype.stop = function() {\n if (this._timeout) {\n clearTimeout(this._timeout);\n }\n if (this._timer) {\n clearTimeout(this._timer);\n }\n\n this._timeouts = [];\n this._cachedTimeouts = null;\n};\n\nRetryOperation.prototype.retry = function(err) {\n if (this._timeout) {\n clearTimeout(this._timeout);\n }\n\n if (!err) {\n return false;\n }\n var currentTime = new Date().getTime();\n if (err && currentTime - this._operationStart >= this._maxRetryTime) {\n this._errors.push(err);\n this._errors.unshift(new Error('RetryOperation timeout occurred'));\n return false;\n }\n\n this._errors.push(err);\n\n var timeout = this._timeouts.shift();\n if (timeout === undefined) {\n if (this._cachedTimeouts) {\n // retry forever, only keep last error\n this._errors.splice(0, this._errors.length - 1);\n timeout = this._cachedTimeouts.slice(-1);\n } else {\n return false;\n }\n }\n\n var self = this;\n this._timer = setTimeout(function() {\n self._attempts++;\n\n if (self._operationTimeoutCb) {\n self._timeout = setTimeout(function() {\n self._operationTimeoutCb(self._attempts);\n }, self._operationTimeout);\n\n if (self._options.unref) {\n self._timeout.unref();\n }\n }\n\n self._fn(self._attempts);\n }, timeout);\n\n if (this._options.unref) {\n this._timer.unref();\n }\n\n return true;\n};\n\nRetryOperation.prototype.attempt = function(fn, timeoutOps) {\n this._fn = fn;\n\n if (timeoutOps) {\n if (timeoutOps.timeout) {\n this._operationTimeout = timeoutOps.timeout;\n }\n if (timeoutOps.cb) {\n this._operationTimeoutCb = timeoutOps.cb;\n }\n }\n\n var self = this;\n if (this._operationTimeoutCb) {\n this._timeout = setTimeout(function() {\n self._operationTimeoutCb();\n }, self._operationTimeout);\n }\n\n this._operationStart = new Date().getTime();\n\n this._fn(this._attempts);\n};\n\nRetryOperation.prototype.try = function(fn) {\n console.log('Using RetryOperation.try() is deprecated');\n this.attempt(fn);\n};\n\nRetryOperation.prototype.start = function(fn) {\n console.log('Using RetryOperation.start() is deprecated');\n this.attempt(fn);\n};\n\nRetryOperation.prototype.start = RetryOperation.prototype.try;\n\nRetryOperation.prototype.errors = function() {\n return this._errors;\n};\n\nRetryOperation.prototype.attempts = function() {\n return this._attempts;\n};\n\nRetryOperation.prototype.mainError = function() {\n if (this._errors.length === 0) {\n return null;\n }\n\n var counts = {};\n var mainError = null;\n var mainErrorCount = 0;\n\n for (var i = 0; i < this._errors.length; i++) {\n var error = this._errors[i];\n var message = error.message;\n var count = (counts[message] || 0) + 1;\n\n counts[message] = count;\n\n if (count >= mainErrorCount) {\n mainError = error;\n mainErrorCount = count;\n }\n }\n\n return mainError;\n};\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -0,0 +1,112 @@
1
+ import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
2
+
3
+ //#region ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js
4
+ var require_retry_operation = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js": ((exports, module) => {
5
+ function RetryOperation(timeouts, options) {
6
+ if (typeof options === "boolean") options = { forever: options };
7
+ this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));
8
+ this._timeouts = timeouts;
9
+ this._options = options || {};
10
+ this._maxRetryTime = options && options.maxRetryTime || Infinity;
11
+ this._fn = null;
12
+ this._errors = [];
13
+ this._attempts = 1;
14
+ this._operationTimeout = null;
15
+ this._operationTimeoutCb = null;
16
+ this._timeout = null;
17
+ this._operationStart = null;
18
+ this._timer = null;
19
+ if (this._options.forever) this._cachedTimeouts = this._timeouts.slice(0);
20
+ }
21
+ module.exports = RetryOperation;
22
+ RetryOperation.prototype.reset = function() {
23
+ this._attempts = 1;
24
+ this._timeouts = this._originalTimeouts.slice(0);
25
+ };
26
+ RetryOperation.prototype.stop = function() {
27
+ if (this._timeout) clearTimeout(this._timeout);
28
+ if (this._timer) clearTimeout(this._timer);
29
+ this._timeouts = [];
30
+ this._cachedTimeouts = null;
31
+ };
32
+ RetryOperation.prototype.retry = function(err) {
33
+ if (this._timeout) clearTimeout(this._timeout);
34
+ if (!err) return false;
35
+ var currentTime = (/* @__PURE__ */ new Date()).getTime();
36
+ if (err && currentTime - this._operationStart >= this._maxRetryTime) {
37
+ this._errors.push(err);
38
+ this._errors.unshift(/* @__PURE__ */ new Error("RetryOperation timeout occurred"));
39
+ return false;
40
+ }
41
+ this._errors.push(err);
42
+ var timeout = this._timeouts.shift();
43
+ if (timeout === void 0) if (this._cachedTimeouts) {
44
+ this._errors.splice(0, this._errors.length - 1);
45
+ timeout = this._cachedTimeouts.slice(-1);
46
+ } else return false;
47
+ var self = this;
48
+ this._timer = setTimeout(function() {
49
+ self._attempts++;
50
+ if (self._operationTimeoutCb) {
51
+ self._timeout = setTimeout(function() {
52
+ self._operationTimeoutCb(self._attempts);
53
+ }, self._operationTimeout);
54
+ if (self._options.unref) self._timeout.unref();
55
+ }
56
+ self._fn(self._attempts);
57
+ }, timeout);
58
+ if (this._options.unref) this._timer.unref();
59
+ return true;
60
+ };
61
+ RetryOperation.prototype.attempt = function(fn, timeoutOps) {
62
+ this._fn = fn;
63
+ if (timeoutOps) {
64
+ if (timeoutOps.timeout) this._operationTimeout = timeoutOps.timeout;
65
+ if (timeoutOps.cb) this._operationTimeoutCb = timeoutOps.cb;
66
+ }
67
+ var self = this;
68
+ if (this._operationTimeoutCb) this._timeout = setTimeout(function() {
69
+ self._operationTimeoutCb();
70
+ }, self._operationTimeout);
71
+ this._operationStart = (/* @__PURE__ */ new Date()).getTime();
72
+ this._fn(this._attempts);
73
+ };
74
+ RetryOperation.prototype.try = function(fn) {
75
+ console.log("Using RetryOperation.try() is deprecated");
76
+ this.attempt(fn);
77
+ };
78
+ RetryOperation.prototype.start = function(fn) {
79
+ console.log("Using RetryOperation.start() is deprecated");
80
+ this.attempt(fn);
81
+ };
82
+ RetryOperation.prototype.start = RetryOperation.prototype.try;
83
+ RetryOperation.prototype.errors = function() {
84
+ return this._errors;
85
+ };
86
+ RetryOperation.prototype.attempts = function() {
87
+ return this._attempts;
88
+ };
89
+ RetryOperation.prototype.mainError = function() {
90
+ if (this._errors.length === 0) return null;
91
+ var counts = {};
92
+ var mainError = null;
93
+ var mainErrorCount = 0;
94
+ for (var i = 0; i < this._errors.length; i++) {
95
+ var error = this._errors[i];
96
+ var message = error.message;
97
+ var count = (counts[message] || 0) + 1;
98
+ counts[message] = count;
99
+ if (count >= mainErrorCount) {
100
+ mainError = error;
101
+ mainErrorCount = count;
102
+ }
103
+ }
104
+ return mainError;
105
+ };
106
+ }) });
107
+
108
+ //#endregion
109
+ export default require_retry_operation();
110
+
111
+ export { require_retry_operation };
112
+ //# sourceMappingURL=retry_operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retry_operation.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js"],"sourcesContent":["function RetryOperation(timeouts, options) {\n // Compatibility for the old (timeouts, retryForever) signature\n if (typeof options === 'boolean') {\n options = { forever: options };\n }\n\n this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));\n this._timeouts = timeouts;\n this._options = options || {};\n this._maxRetryTime = options && options.maxRetryTime || Infinity;\n this._fn = null;\n this._errors = [];\n this._attempts = 1;\n this._operationTimeout = null;\n this._operationTimeoutCb = null;\n this._timeout = null;\n this._operationStart = null;\n this._timer = null;\n\n if (this._options.forever) {\n this._cachedTimeouts = this._timeouts.slice(0);\n }\n}\nmodule.exports = RetryOperation;\n\nRetryOperation.prototype.reset = function() {\n this._attempts = 1;\n this._timeouts = this._originalTimeouts.slice(0);\n}\n\nRetryOperation.prototype.stop = function() {\n if (this._timeout) {\n clearTimeout(this._timeout);\n }\n if (this._timer) {\n clearTimeout(this._timer);\n }\n\n this._timeouts = [];\n this._cachedTimeouts = null;\n};\n\nRetryOperation.prototype.retry = function(err) {\n if (this._timeout) {\n clearTimeout(this._timeout);\n }\n\n if (!err) {\n return false;\n }\n var currentTime = new Date().getTime();\n if (err && currentTime - this._operationStart >= this._maxRetryTime) {\n this._errors.push(err);\n this._errors.unshift(new Error('RetryOperation timeout occurred'));\n return false;\n }\n\n this._errors.push(err);\n\n var timeout = this._timeouts.shift();\n if (timeout === undefined) {\n if (this._cachedTimeouts) {\n // retry forever, only keep last error\n this._errors.splice(0, this._errors.length - 1);\n timeout = this._cachedTimeouts.slice(-1);\n } else {\n return false;\n }\n }\n\n var self = this;\n this._timer = setTimeout(function() {\n self._attempts++;\n\n if (self._operationTimeoutCb) {\n self._timeout = setTimeout(function() {\n self._operationTimeoutCb(self._attempts);\n }, self._operationTimeout);\n\n if (self._options.unref) {\n self._timeout.unref();\n }\n }\n\n self._fn(self._attempts);\n }, timeout);\n\n if (this._options.unref) {\n this._timer.unref();\n }\n\n return true;\n};\n\nRetryOperation.prototype.attempt = function(fn, timeoutOps) {\n this._fn = fn;\n\n if (timeoutOps) {\n if (timeoutOps.timeout) {\n this._operationTimeout = timeoutOps.timeout;\n }\n if (timeoutOps.cb) {\n this._operationTimeoutCb = timeoutOps.cb;\n }\n }\n\n var self = this;\n if (this._operationTimeoutCb) {\n this._timeout = setTimeout(function() {\n self._operationTimeoutCb();\n }, self._operationTimeout);\n }\n\n this._operationStart = new Date().getTime();\n\n this._fn(this._attempts);\n};\n\nRetryOperation.prototype.try = function(fn) {\n console.log('Using RetryOperation.try() is deprecated');\n this.attempt(fn);\n};\n\nRetryOperation.prototype.start = function(fn) {\n console.log('Using RetryOperation.start() is deprecated');\n this.attempt(fn);\n};\n\nRetryOperation.prototype.start = RetryOperation.prototype.try;\n\nRetryOperation.prototype.errors = function() {\n return this._errors;\n};\n\nRetryOperation.prototype.attempts = function() {\n return this._attempts;\n};\n\nRetryOperation.prototype.mainError = function() {\n if (this._errors.length === 0) {\n return null;\n }\n\n var counts = {};\n var mainError = null;\n var mainErrorCount = 0;\n\n for (var i = 0; i < this._errors.length; i++) {\n var error = this._errors[i];\n var message = error.message;\n var count = (counts[message] || 0) + 1;\n\n counts[message] = count;\n\n if (count >= mainErrorCount) {\n mainError = error;\n mainErrorCount = count;\n }\n }\n\n return mainError;\n};\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -0,0 +1,90 @@
1
+ 'use strict';
2
+
3
+
4
+ const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
5
+ const require_debug$1 = require('../internal/debug.cjs');
6
+ const require_re$1 = require('../internal/re.cjs');
7
+ const require_parse_options$1 = require('../internal/parse-options.cjs');
8
+ const require_semver$1 = require('./semver.cjs');
9
+ const require_cmp$1 = require('../functions/cmp.cjs');
10
+ const require_range$1 = require('./range.cjs');
11
+
12
+ //#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js
13
+ var require_comparator = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js": ((exports, module) => {
14
+ const ANY = Symbol("SemVer ANY");
15
+ var Comparator = class Comparator {
16
+ static get ANY() {
17
+ return ANY;
18
+ }
19
+ constructor(comp, options) {
20
+ options = parseOptions(options);
21
+ if (comp instanceof Comparator) if (comp.loose === !!options.loose) return comp;
22
+ else comp = comp.value;
23
+ comp = comp.trim().split(/\s+/).join(" ");
24
+ debug("comparator", comp, options);
25
+ this.options = options;
26
+ this.loose = !!options.loose;
27
+ this.parse(comp);
28
+ if (this.semver === ANY) this.value = "";
29
+ else this.value = this.operator + this.semver.version;
30
+ debug("comp", this);
31
+ }
32
+ parse(comp) {
33
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
34
+ const m = comp.match(r);
35
+ if (!m) throw new TypeError(`Invalid comparator: ${comp}`);
36
+ this.operator = m[1] !== void 0 ? m[1] : "";
37
+ if (this.operator === "=") this.operator = "";
38
+ if (!m[2]) this.semver = ANY;
39
+ else this.semver = new SemVer(m[2], this.options.loose);
40
+ }
41
+ toString() {
42
+ return this.value;
43
+ }
44
+ test(version) {
45
+ debug("Comparator.test", version, this.options.loose);
46
+ if (this.semver === ANY || version === ANY) return true;
47
+ if (typeof version === "string") try {
48
+ version = new SemVer(version, this.options);
49
+ } catch (er) {
50
+ return false;
51
+ }
52
+ return cmp(version, this.operator, this.semver, this.options);
53
+ }
54
+ intersects(comp, options) {
55
+ if (!(comp instanceof Comparator)) throw new TypeError("a Comparator is required");
56
+ if (this.operator === "") {
57
+ if (this.value === "") return true;
58
+ return new Range(comp.value, options).test(this.value);
59
+ } else if (comp.operator === "") {
60
+ if (comp.value === "") return true;
61
+ return new Range(this.value, options).test(comp.semver);
62
+ }
63
+ options = parseOptions(options);
64
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) return false;
65
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) return false;
66
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) return true;
67
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) return true;
68
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) return true;
69
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) return true;
70
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) return true;
71
+ return false;
72
+ }
73
+ };
74
+ module.exports = Comparator;
75
+ const parseOptions = require_parse_options$1.require_parse_options();
76
+ const { safeRe: re, t } = require_re$1.require_re();
77
+ const cmp = require_cmp$1.require_cmp();
78
+ const debug = require_debug$1.require_debug();
79
+ const SemVer = require_semver$1.require_semver();
80
+ const Range = require_range$1.require_range();
81
+ }) });
82
+
83
+ //#endregion
84
+ Object.defineProperty(exports, 'default', {
85
+ enumerable: true,
86
+ get: function () {
87
+ return require_comparator();
88
+ }
89
+ });
90
+ //# sourceMappingURL=comparator.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comparator.cjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js"],"sourcesContent":["'use strict'\n\nconst ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -0,0 +1,86 @@
1
+
2
+
3
+ import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
4
+ import { require_debug } from "../internal/debug.js";
5
+ import { require_re } from "../internal/re.js";
6
+ import { require_parse_options } from "../internal/parse-options.js";
7
+ import { require_semver } from "./semver.js";
8
+ import { require_cmp } from "../functions/cmp.js";
9
+ import { require_range } from "./range.js";
10
+
11
+ //#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js
12
+ var require_comparator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js": ((exports, module) => {
13
+ const ANY = Symbol("SemVer ANY");
14
+ var Comparator = class Comparator {
15
+ static get ANY() {
16
+ return ANY;
17
+ }
18
+ constructor(comp, options) {
19
+ options = parseOptions(options);
20
+ if (comp instanceof Comparator) if (comp.loose === !!options.loose) return comp;
21
+ else comp = comp.value;
22
+ comp = comp.trim().split(/\s+/).join(" ");
23
+ debug("comparator", comp, options);
24
+ this.options = options;
25
+ this.loose = !!options.loose;
26
+ this.parse(comp);
27
+ if (this.semver === ANY) this.value = "";
28
+ else this.value = this.operator + this.semver.version;
29
+ debug("comp", this);
30
+ }
31
+ parse(comp) {
32
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
33
+ const m = comp.match(r);
34
+ if (!m) throw new TypeError(`Invalid comparator: ${comp}`);
35
+ this.operator = m[1] !== void 0 ? m[1] : "";
36
+ if (this.operator === "=") this.operator = "";
37
+ if (!m[2]) this.semver = ANY;
38
+ else this.semver = new SemVer(m[2], this.options.loose);
39
+ }
40
+ toString() {
41
+ return this.value;
42
+ }
43
+ test(version) {
44
+ debug("Comparator.test", version, this.options.loose);
45
+ if (this.semver === ANY || version === ANY) return true;
46
+ if (typeof version === "string") try {
47
+ version = new SemVer(version, this.options);
48
+ } catch (er) {
49
+ return false;
50
+ }
51
+ return cmp(version, this.operator, this.semver, this.options);
52
+ }
53
+ intersects(comp, options) {
54
+ if (!(comp instanceof Comparator)) throw new TypeError("a Comparator is required");
55
+ if (this.operator === "") {
56
+ if (this.value === "") return true;
57
+ return new Range(comp.value, options).test(this.value);
58
+ } else if (comp.operator === "") {
59
+ if (comp.value === "") return true;
60
+ return new Range(this.value, options).test(comp.semver);
61
+ }
62
+ options = parseOptions(options);
63
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) return false;
64
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) return false;
65
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) return true;
66
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) return true;
67
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) return true;
68
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) return true;
69
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) return true;
70
+ return false;
71
+ }
72
+ };
73
+ module.exports = Comparator;
74
+ const parseOptions = require_parse_options();
75
+ const { safeRe: re, t } = require_re();
76
+ const cmp = require_cmp();
77
+ const debug = require_debug();
78
+ const SemVer = require_semver();
79
+ const Range = require_range();
80
+ }) });
81
+
82
+ //#endregion
83
+ export default require_comparator();
84
+
85
+ export { require_comparator };
86
+ //# sourceMappingURL=comparator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comparator.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js"],"sourcesContent":["'use strict'\n\nconst ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: re, t } = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n"],"x_google_ignoreList":[0],"mappings":"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"}