langchain 1.0.0-alpha.9 → 1.0.2

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 (445) hide show
  1. package/CHANGELOG.md +267 -0
  2. package/README.md +29 -77
  3. package/dist/_virtual/rolldown_runtime.cjs +0 -4
  4. package/dist/_virtual/rolldown_runtime.js +1 -10
  5. package/dist/agents/ReactAgent.cjs +6 -5
  6. package/dist/agents/ReactAgent.cjs.map +1 -1
  7. package/dist/agents/ReactAgent.d.cts +11 -11
  8. package/dist/agents/ReactAgent.d.cts.map +1 -1
  9. package/dist/agents/ReactAgent.d.ts +11 -11
  10. package/dist/agents/ReactAgent.d.ts.map +1 -1
  11. package/dist/agents/ReactAgent.js +6 -5
  12. package/dist/agents/ReactAgent.js.map +1 -1
  13. package/dist/agents/annotation.cjs +8 -9
  14. package/dist/agents/annotation.cjs.map +1 -1
  15. package/dist/agents/annotation.js +8 -9
  16. package/dist/agents/annotation.js.map +1 -1
  17. package/dist/agents/index.cjs.map +1 -1
  18. package/dist/agents/index.d.cts +23 -23
  19. package/dist/agents/index.d.cts.map +1 -1
  20. package/dist/agents/index.d.ts +23 -23
  21. package/dist/agents/index.d.ts.map +1 -1
  22. package/dist/agents/index.js.map +1 -1
  23. package/dist/agents/middleware/callLimit.cjs +29 -27
  24. package/dist/agents/middleware/callLimit.cjs.map +1 -1
  25. package/dist/agents/middleware/callLimit.d.cts.map +1 -1
  26. package/dist/agents/middleware/callLimit.d.ts.map +1 -1
  27. package/dist/agents/middleware/callLimit.js +29 -27
  28. package/dist/agents/middleware/callLimit.js.map +1 -1
  29. package/dist/agents/middleware/contextEditing.cjs +1 -1
  30. package/dist/agents/middleware/contextEditing.d.cts.map +1 -1
  31. package/dist/agents/middleware/contextEditing.d.ts.map +1 -1
  32. package/dist/agents/middleware/contextEditing.js +1 -1
  33. package/dist/agents/middleware/dynamicSystemPrompt.d.cts.map +1 -1
  34. package/dist/agents/middleware/dynamicSystemPrompt.d.ts.map +1 -1
  35. package/dist/agents/middleware/hitl.cjs +92 -90
  36. package/dist/agents/middleware/hitl.cjs.map +1 -1
  37. package/dist/agents/middleware/hitl.d.cts +20 -20
  38. package/dist/agents/middleware/hitl.d.cts.map +1 -1
  39. package/dist/agents/middleware/hitl.d.ts +20 -20
  40. package/dist/agents/middleware/hitl.d.ts.map +1 -1
  41. package/dist/agents/middleware/hitl.js +92 -90
  42. package/dist/agents/middleware/hitl.js.map +1 -1
  43. package/dist/agents/middleware/modelFallback.cjs +1 -1
  44. package/dist/agents/middleware/modelFallback.cjs.map +1 -1
  45. package/dist/agents/middleware/modelFallback.d.cts +1 -1
  46. package/dist/agents/middleware/modelFallback.d.cts.map +1 -1
  47. package/dist/agents/middleware/modelFallback.d.ts +1 -1
  48. package/dist/agents/middleware/modelFallback.d.ts.map +1 -1
  49. package/dist/agents/middleware/modelFallback.js +1 -1
  50. package/dist/agents/middleware/modelFallback.js.map +1 -1
  51. package/dist/agents/middleware/promptCaching.d.cts.map +1 -1
  52. package/dist/agents/middleware/promptCaching.d.ts.map +1 -1
  53. package/dist/agents/middleware/summarization.cjs +1 -1
  54. package/dist/agents/middleware/summarization.js +1 -1
  55. package/dist/agents/middleware/todoListMiddleware.d.cts.map +1 -1
  56. package/dist/agents/middleware/todoListMiddleware.d.ts.map +1 -1
  57. package/dist/agents/middleware/toolCallLimit.cjs +30 -28
  58. package/dist/agents/middleware/toolCallLimit.cjs.map +1 -1
  59. package/dist/agents/middleware/toolCallLimit.d.cts.map +1 -1
  60. package/dist/agents/middleware/toolCallLimit.d.ts.map +1 -1
  61. package/dist/agents/middleware/toolCallLimit.js +30 -28
  62. package/dist/agents/middleware/toolCallLimit.js.map +1 -1
  63. package/dist/agents/middleware/types.d.cts +165 -19
  64. package/dist/agents/middleware/types.d.cts.map +1 -1
  65. package/dist/agents/middleware/types.d.ts +165 -19
  66. package/dist/agents/middleware/types.d.ts.map +1 -1
  67. package/dist/agents/middleware/utils.cjs +10 -0
  68. package/dist/agents/middleware/utils.cjs.map +1 -1
  69. package/dist/agents/middleware/utils.d.cts.map +1 -1
  70. package/dist/agents/middleware/utils.d.ts.map +1 -1
  71. package/dist/agents/middleware/utils.js +9 -1
  72. package/dist/agents/middleware/utils.js.map +1 -1
  73. package/dist/agents/middleware.cjs +6 -10
  74. package/dist/agents/middleware.cjs.map +1 -1
  75. package/dist/agents/middleware.d.cts +12 -32
  76. package/dist/agents/middleware.d.cts.map +1 -1
  77. package/dist/agents/middleware.d.ts +12 -32
  78. package/dist/agents/middleware.d.ts.map +1 -1
  79. package/dist/agents/middleware.js +6 -10
  80. package/dist/agents/middleware.js.map +1 -1
  81. package/dist/agents/nodes/AfterAgentNode.cjs +3 -1
  82. package/dist/agents/nodes/AfterAgentNode.cjs.map +1 -1
  83. package/dist/agents/nodes/AfterAgentNode.js +3 -1
  84. package/dist/agents/nodes/AfterAgentNode.js.map +1 -1
  85. package/dist/agents/nodes/AfterModelNode.cjs +3 -1
  86. package/dist/agents/nodes/AfterModelNode.cjs.map +1 -1
  87. package/dist/agents/nodes/AfterModelNode.js +3 -1
  88. package/dist/agents/nodes/AfterModelNode.js.map +1 -1
  89. package/dist/agents/nodes/AgentNode.cjs +1 -0
  90. package/dist/agents/nodes/AgentNode.cjs.map +1 -1
  91. package/dist/agents/nodes/AgentNode.js +1 -0
  92. package/dist/agents/nodes/AgentNode.js.map +1 -1
  93. package/dist/agents/nodes/BeforeAgentNode.cjs +3 -1
  94. package/dist/agents/nodes/BeforeAgentNode.cjs.map +1 -1
  95. package/dist/agents/nodes/BeforeAgentNode.js +3 -1
  96. package/dist/agents/nodes/BeforeAgentNode.js.map +1 -1
  97. package/dist/agents/nodes/BeforeModelNode.cjs +3 -1
  98. package/dist/agents/nodes/BeforeModelNode.cjs.map +1 -1
  99. package/dist/agents/nodes/BeforeModelNode.js +3 -1
  100. package/dist/agents/nodes/BeforeModelNode.js.map +1 -1
  101. package/dist/agents/nodes/ToolNode.cjs +37 -36
  102. package/dist/agents/nodes/ToolNode.cjs.map +1 -1
  103. package/dist/agents/nodes/ToolNode.js +37 -36
  104. package/dist/agents/nodes/ToolNode.js.map +1 -1
  105. package/dist/agents/nodes/middleware.cjs +10 -9
  106. package/dist/agents/nodes/middleware.cjs.map +1 -1
  107. package/dist/agents/nodes/middleware.js +10 -9
  108. package/dist/agents/nodes/middleware.js.map +1 -1
  109. package/dist/agents/nodes/types.d.cts +15 -0
  110. package/dist/agents/nodes/types.d.cts.map +1 -1
  111. package/dist/agents/nodes/types.d.ts +15 -0
  112. package/dist/agents/nodes/types.d.ts.map +1 -1
  113. package/dist/agents/types.d.cts +48 -3
  114. package/dist/agents/types.d.cts.map +1 -1
  115. package/dist/agents/types.d.ts +48 -3
  116. package/dist/agents/types.d.ts.map +1 -1
  117. package/dist/agents/utils.cjs +4 -4
  118. package/dist/agents/utils.cjs.map +1 -1
  119. package/dist/agents/utils.js +4 -4
  120. package/dist/agents/utils.js.map +1 -1
  121. package/dist/chat_models/universal.cjs +2 -1
  122. package/dist/chat_models/universal.cjs.map +1 -1
  123. package/dist/chat_models/universal.js +2 -1
  124. package/dist/chat_models/universal.js.map +1 -1
  125. package/dist/hub/base.cjs +4 -17
  126. package/dist/hub/base.cjs.map +1 -1
  127. package/dist/hub/base.js +2 -15
  128. package/dist/hub/base.js.map +1 -1
  129. package/dist/index.cjs +6 -6
  130. package/dist/index.d.cts +2 -2
  131. package/dist/index.d.ts +2 -2
  132. package/dist/index.js +1 -1
  133. package/dist/load/import_map.cjs +1 -5
  134. package/dist/load/import_map.cjs.map +1 -1
  135. package/dist/load/import_map.js +1 -5
  136. package/dist/load/import_map.js.map +1 -1
  137. package/package.json +32 -54
  138. package/dist/embeddings/cache_backed.cjs +0 -140
  139. package/dist/embeddings/cache_backed.cjs.map +0 -1
  140. package/dist/embeddings/cache_backed.d.cts +0 -107
  141. package/dist/embeddings/cache_backed.d.cts.map +0 -1
  142. package/dist/embeddings/cache_backed.d.ts +0 -107
  143. package/dist/embeddings/cache_backed.d.ts.map +0 -1
  144. package/dist/embeddings/cache_backed.js +0 -134
  145. package/dist/embeddings/cache_backed.js.map +0 -1
  146. package/dist/embeddings/fake.cjs +0 -22
  147. package/dist/embeddings/fake.cjs.map +0 -1
  148. package/dist/embeddings/fake.d.cts +0 -1
  149. package/dist/embeddings/fake.d.ts +0 -1
  150. package/dist/embeddings/fake.js +0 -12
  151. package/dist/embeddings/fake.js.map +0 -1
  152. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs +0 -248
  153. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.map +0 -1
  154. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +0 -244
  155. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js.map +0 -1
  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/client.cjs +0 -3096
  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/client.cjs.map +0 -1
  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/client.js +0 -3095
  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/client.js.map +0 -1
  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/env.cjs +0 -12
  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/env.cjs.map +0 -1
  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/env.js +0 -12
  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/env.js.map +0 -1
  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/experimental/otel/constants.cjs +0 -71
  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/experimental/otel/constants.cjs.map +0 -1
  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/experimental/otel/constants.js +0 -38
  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/experimental/otel/constants.js.map +0 -1
  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/experimental/otel/translator.cjs +0 -221
  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/experimental/otel/translator.cjs.map +0 -1
  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/experimental/otel/translator.js +0 -221
  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/experimental/otel/translator.js.map +0 -1
  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/index.cjs +0 -11
  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/index.cjs.map +0 -1
  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/index.js +0 -11
  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/index.js.map +0 -1
  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/run_trees.cjs +0 -703
  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/run_trees.cjs.map +0 -1
  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/run_trees.js +0 -702
  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/run_trees.js.map +0 -1
  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/singletons/constants.cjs +0 -7
  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/singletons/constants.cjs.map +0 -1
  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/singletons/constants.js +0 -6
  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/singletons/constants.js.map +0 -1
  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/singletons/fetch.cjs +0 -29
  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/singletons/fetch.cjs.map +0 -1
  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/singletons/fetch.js +0 -28
  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/singletons/fetch.js.map +0 -1
  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/singletons/otel.cjs +0 -115
  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/singletons/otel.cjs.map +0 -1
  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/singletons/otel.js +0 -113
  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/singletons/otel.js.map +0 -1
  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/_uuid.cjs +0 -14
  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/_uuid.cjs.map +0 -1
  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/_uuid.js +0 -13
  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/_uuid.js.map +0 -1
  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/async_caller.cjs +0 -95
  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/async_caller.cjs.map +0 -1
  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/async_caller.js +0 -95
  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/async_caller.js.map +0 -1
  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/env.cjs +0 -136
  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/env.cjs.map +0 -1
  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/env.js +0 -131
  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/env.js.map +0 -1
  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/error.cjs +0 -102
  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/error.cjs.map +0 -1
  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/error.js +0 -99
  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/error.js.map +0 -1
  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/fast-safe-stringify/index.cjs +0 -140
  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/fast-safe-stringify/index.cjs.map +0 -1
  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/fast-safe-stringify/index.js +0 -140
  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/fast-safe-stringify/index.js.map +0 -1
  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/messages.cjs +0 -18
  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/dist/utils/messages.cjs.map +0 -1
  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/dist/utils/messages.js +0 -16
  215. 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 +0 -1
  216. 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 +0 -10
  217. 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 +0 -1
  218. 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 +0 -10
  219. 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 +0 -1
  220. 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 +0 -30
  221. 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 +0 -1
  222. 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 +0 -30
  223. 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 +0 -1
  224. 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 +0 -13
  225. 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 +0 -1
  226. 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 +0 -12
  227. 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 +0 -1
  228. 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 +0 -6
  229. 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 +0 -6
  230. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs +0 -27
  231. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.map +0 -1
  232. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js +0 -23
  233. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js.map +0 -1
  234. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs +0 -267
  235. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.map +0 -1
  236. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js +0 -263
  237. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js.map +0 -1
  238. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs +0 -32
  239. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.map +0 -1
  240. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js +0 -28
  241. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js.map +0 -1
  242. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs +0 -49
  243. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.map +0 -1
  244. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js +0 -45
  245. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js.map +0 -1
  246. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.cjs +0 -83
  247. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.cjs.map +0 -1
  248. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js +0 -79
  249. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js.map +0 -1
  250. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs +0 -52
  251. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.map +0 -1
  252. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js +0 -48
  253. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js.map +0 -1
  254. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.cjs +0 -16
  255. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.cjs.map +0 -1
  256. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js +0 -13
  257. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js.map +0 -1
  258. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.cjs +0 -77
  259. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.cjs.map +0 -1
  260. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js +0 -74
  261. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js.map +0 -1
  262. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.cjs +0 -115
  263. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.cjs.map +0 -1
  264. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js +0 -112
  265. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js.map +0 -1
  266. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs +0 -90
  267. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs.map +0 -1
  268. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js +0 -86
  269. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js.map +0 -1
  270. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs +0 -294
  271. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs.map +0 -1
  272. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js +0 -290
  273. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js.map +0 -1
  274. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs +0 -191
  275. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs.map +0 -1
  276. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js +0 -187
  277. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js.map +0 -1
  278. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs +0 -24
  279. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs.map +0 -1
  280. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js +0 -20
  281. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js.map +0 -1
  282. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs +0 -51
  283. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs.map +0 -1
  284. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js +0 -47
  285. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js.map +0 -1
  286. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs +0 -48
  287. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs.map +0 -1
  288. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js +0 -44
  289. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js.map +0 -1
  290. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs +0 -25
  291. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs.map +0 -1
  292. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js +0 -21
  293. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js.map +0 -1
  294. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs +0 -21
  295. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs.map +0 -1
  296. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js +0 -17
  297. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js.map +0 -1
  298. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs +0 -21
  299. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs.map +0 -1
  300. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js +0 -17
  301. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js.map +0 -1
  302. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs +0 -43
  303. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs.map +0 -1
  304. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js +0 -39
  305. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js.map +0 -1
  306. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs +0 -21
  307. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs.map +0 -1
  308. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js +0 -17
  309. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js.map +0 -1
  310. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs +0 -21
  311. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs.map +0 -1
  312. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js +0 -17
  313. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js.map +0 -1
  314. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs +0 -21
  315. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs.map +0 -1
  316. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js +0 -17
  317. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js.map +0 -1
  318. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs +0 -32
  319. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs.map +0 -1
  320. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js +0 -28
  321. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js.map +0 -1
  322. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs +0 -21
  323. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs.map +0 -1
  324. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js +0 -17
  325. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js.map +0 -1
  326. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs +0 -21
  327. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs.map +0 -1
  328. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js +0 -17
  329. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js.map +0 -1
  330. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs +0 -21
  331. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs.map +0 -1
  332. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js +0 -17
  333. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js.map +0 -1
  334. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs +0 -21
  335. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs.map +0 -1
  336. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js +0 -17
  337. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js.map +0 -1
  338. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs +0 -21
  339. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs.map +0 -1
  340. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js +0 -17
  341. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js.map +0 -1
  342. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs +0 -29
  343. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs.map +0 -1
  344. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js +0 -25
  345. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js.map +0 -1
  346. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs +0 -21
  347. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs.map +0 -1
  348. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js +0 -17
  349. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js.map +0 -1
  350. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs +0 -24
  351. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs.map +0 -1
  352. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js +0 -20
  353. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js.map +0 -1
  354. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs +0 -21
  355. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs.map +0 -1
  356. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js +0 -17
  357. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js.map +0 -1
  358. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs +0 -21
  359. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs.map +0 -1
  360. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js +0 -17
  361. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js.map +0 -1
  362. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs +0 -28
  363. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs.map +0 -1
  364. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js +0 -24
  365. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js.map +0 -1
  366. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs +0 -21
  367. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs.map +0 -1
  368. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js +0 -17
  369. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js.map +0 -1
  370. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs +0 -24
  371. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs.map +0 -1
  372. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js +0 -20
  373. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js.map +0 -1
  374. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs +0 -146
  375. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs.map +0 -1
  376. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js +0 -142
  377. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js.map +0 -1
  378. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs +0 -41
  379. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs.map +0 -1
  380. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js +0 -37
  381. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js.map +0 -1
  382. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs +0 -19
  383. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs.map +0 -1
  384. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js +0 -15
  385. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js.map +0 -1
  386. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs +0 -32
  387. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs.map +0 -1
  388. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js +0 -28
  389. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js.map +0 -1
  390. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs +0 -47
  391. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs.map +0 -1
  392. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js +0 -43
  393. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js.map +0 -1
  394. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs +0 -25
  395. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs.map +0 -1
  396. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js +0 -21
  397. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js.map +0 -1
  398. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs +0 -94
  399. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs.map +0 -1
  400. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js +0 -90
  401. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js.map +0 -1
  402. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs +0 -21
  403. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs.map +0 -1
  404. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js +0 -17
  405. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js.map +0 -1
  406. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs +0 -25
  407. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs.map +0 -1
  408. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js +0 -21
  409. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js.map +0 -1
  410. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs +0 -21
  411. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs.map +0 -1
  412. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js +0 -17
  413. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js.map +0 -1
  414. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs +0 -41
  415. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs.map +0 -1
  416. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js +0 -37
  417. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js.map +0 -1
  418. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs +0 -41
  419. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs.map +0 -1
  420. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js +0 -37
  421. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js.map +0 -1
  422. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs +0 -55
  423. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs.map +0 -1
  424. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js +0 -51
  425. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js.map +0 -1
  426. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs +0 -74
  427. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs.map +0 -1
  428. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js +0 -70
  429. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js.map +0 -1
  430. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs +0 -48
  431. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs.map +0 -1
  432. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js +0 -44
  433. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js.map +0 -1
  434. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs +0 -112
  435. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs.map +0 -1
  436. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js +0 -108
  437. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js.map +0 -1
  438. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs +0 -21
  439. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs.map +0 -1
  440. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js +0 -17
  441. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js.map +0 -1
  442. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs +0 -27
  443. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs.map +0 -1
  444. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js +0 -23
  445. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js.map +0 -1
@@ -1 +0,0 @@
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,mB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,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"}
@@ -1,74 +0,0 @@
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
@@ -1 +0,0 @@
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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Q,WAAW;KACpBA,WAAS,MAAM,KAAK,KAAK;IAC1B,EAAC;GACH,EAAC,KAAK,KAAK,SAAS;GACrB,IAAI,QAAQ,UAAU;EACvB;CACF"}
@@ -1,115 +0,0 @@
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
@@ -1 +0,0 @@
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":";;;;CAAA,SAAS,eAAe,UAAU,SAAS;AAEzC,MAAI,OAAO,YAAY,WACrB,UAAU,EAAE,SAAS,QAAS;EAGhC,KAAK,oBAAoB,KAAK,MAAM,KAAK,UAAU,SAAS,CAAC;EAC7D,KAAK,YAAY;EACjB,KAAK,WAAW,WAAW,CAAE;EAC7B,KAAK,gBAAgB,WAAW,QAAQ,gBAAgB;EACxD,KAAK,MA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,0 @@
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
@@ -1 +0,0 @@
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":";;;;CAAA,SAAS,eAAe,UAAU,SAAS;AAEzC,MAAI,OAAO,YAAY,WACrB,UAAU,EAAE,SAAS,QAAS;EAGhC,KAAK,oBAAoB,KAAK,MAAM,KAAK,UAAU,SAAS,CAAC;EAC7D,KAAK,YAAY;EACjB,KAAK,WAAW,WAAW,CAAE;EAC7B,KAAK,gBAAgB,WAAW,QAAQ,gBAAgB;EACxD,KAAK,MAAM;EACX,KAAK,UAAU,CAAE;EACjB,KAAK,YAAY;EACjB,KAAK,oBAAoB;EACzB,KAAK,sBAAsB;EAC3B,KAAK,WAAW;EAChB,KAAK,kBAAkB;EACvB,KAAK,SAAS;AAEd,MAAI,KAAK,SAAS,SAChB,KAAK,kBAAkB,KAAK,UAA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AAI,YAAY;AACd,OAAI,WAAW,SACb,KAAK,oBAAoB,WAAW;AAEtC,OAAI,WAAW,IACb,KAAK,sBAAsB,WAAW;EAEzC;EAED,IAAI,OAAO;AACX,MAAI,KAAK,qBACP,KAAK,WAAW,WAAW,WAAW;GACpC,KAAK,qBAAqB;EAC3B,GAAE,KAAK,kBAAkB;EAG5B,KAAK,mCAAkB,IAAI,QAAO,SAAS;EAE3C,KAAK,IAAI,KAAK,UAAU;CACzB;CAED,eAAe,UAAU,MAAM,SAAS,IAAI;EAC1C,QAAQ,IAAI,2CAA2C;EACvD,KAAK,QAAQ,GAAG;CACjB;CAED,eAAe,UAAU,QAAQ,SAAS,IAAI;EAC5C,QAAQ,IAAI,6CAA6C;EACzD,KAAK,QAAQ,GAAG;CACjB;CAED,eAAe,UAAU,QAAQ,eAAe,UAAU;CAE1D,eAAe,UAAU,SAAS,WAAW;AAC3C,SAAO,KAAK;CACb;CAED,eAAe,UAAU,WAAW,WAAW;AAC7C,SAAO,KAAK;CACb;CAED,eAAe,UAAU,YAAY,WAAW;AAC9C,MAAI,KAAK,QAAQ,WAAW,EAC1B,QAAO;EAGT,IAAI,SAAS,CAAE;EACf,IAAI,YAAY;EAChB,IAAI,iBAAiB;AAErB,OAAK,IAAI,IAAI,GAAG,IAAI,KAAK,QAAQ,QAAQ,KAAK;GAC5C,IAAI,QAAQ,KAAK,QAAQ;GACzB,IAAI,UAAU,MAAM;GACpB,IAAI,SAAS,OAAO,YAAY,KAAK;GAErC,OAAO,WAAW;AAElB,OAAI,SAAS,gBAAgB;IAC3B,YAAY;IACZ,iBAAiB;GAClB;EACF;AAED,SAAO;CACR"}
@@ -1,90 +0,0 @@
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
@@ -1 +0,0 @@
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":";;;;;;;;;;;;;CAEA,MAAM,MAAM,OAAO,aAAa;CAEhC,IAAM,aAAN,MAAM,WAAW;EACf,WAAW,MAAO;AAChB,UAAO;EACR;EAED,YAAa,MAAM,SAAS;GAC1B,UAAU,aAAa,QAAQ;AAE/B,OAAI,gBAAgB,WAClB,KAAI,KAAK,UAAU,CAAC,CAAC,QAAQ,MAC3B,QAAO;QAEP,OAAO,KAAK;GAIhB,OAAO,KAAK,MAAM,CAAC,MAAM,MAAM,CAAC,KAAK,IAAI;GACzC,MAAM,cAAc,MAAM,QAAQ;GAClC,KAAK,UAAU;GACf,KAAK,QAAQ,CAAC,CAAC,QAAQ;GACvB,KAAK,MAAM,KAAK;AAEhB,OAAI,KAAK,WAAW,KAClB,KAAK,QAAQ;QAEb,KAAK,QAAQ,KAAK,WAAW,KAAK,OAAO;GAG3C,MAAM,QAAQ,KAAK;EACpB;EAED,MAAO,MAAM;GACX,MAAM,IAAI,KAAK,QAAQ,QAAQ,GAAG,EAAE,mBAAmB,GAAG,EAAE;GAC5D,MAAM,IAAI,KAAK,MAAM,EAAE;AAEvB,OAAI,CAAC,EACH,OAAM,IAAI,UAAU,CAAC,oBAAoB,EAAE,MAAM;GAGnD,KAAK,WAAW,EAAE,OAAO,SAAY,EAAE,KAAK;AAC5C,OAAI,KAAK,aAAa,KACpB,KAAK,WAAW;AAIlB,OAAI,CAAC,EAAE,IACL,KAAK,SAAS;QAEd,KAAK,SAAS,IAAI,OAAO,EAAE,IAAI,KAAK,QAAQ;EAE/C;EAED,WAAY;AACV,UAAO,KAAK;EACb;EAED,KAAM,SAAS;GACb,MAAM,mBAAmB,SAAS,KAAK,QAAQ,MAAM;AAErD,OAAI,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KAAK,SAAS,WAAW,IAAI,CAC9D,QAAO;AAET,UAAO;EACR;CACF;CAED,OAAO,UAAU;CAEjB,MAAM;CACN,MAAM,EAAE,QAAQ,IAAI,GAAG;CACvB,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM"}
@@ -1,86 +0,0 @@
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
@@ -1 +0,0 @@
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":";;;;;;;;;;;;CAEA,MAAM,MAAM,OAAO,aAAa;CAEhC,IAAM,aAAN,MAAM,WAAW;EACf,WAAW,MAAO;AAChB,UAAO;EACR;EAED,YAAa,MAAM,SAAS;GAC1B,UAAU,aAAa,QAAQ;AAE/B,OAAI,gBAAgB,WAClB,KAAI,KAAK,UAAU,CAAC,CAAC,QAAQ,MAC3B,QAAO;QAEP,OAAO,KAAK;GAIhB,OAAO,KAAK,MAAM,CAAC,MAAM,MAAM,CAAC,KAAK,IAAI;GACzC,MAAM,cAAc,MAAM,QAAQ;GAClC,KAAK,UAAU;GACf,KAAK,QAAQ,CAAC,CAAC,QAAQ;GACvB,KAAK,MAAM,KAAK;AAEhB,OAAI,KAAK,WAAW,KAClB,KAAK,QAAQ;QAEb,KAAK,QAAQ,KAAK,WAAW,KAAK,OAAO;GAG3C,MAAM,QAAQ,KAAK;EACpB;EAED,MAAO,MAAM;GACX,MAAM,IAAI,KAAK,QAAQ,QAAQ,GAAG,EAAE,mBAAmB,GAAG,EAAE;GAC5D,MAAM,IAAI,KAAK,MAAM,EAAE;AAEvB,OAAI,CAAC,EACH,OAAM,IAAI,UAAU,CAAC,oBAAoB,EAAE,MAAM;GAGnD,KAAK,WAAW,EAAE,OAAO,SAAY,EAAE,KAAK;AAC5C,OAAI,KAAK,aAAa,KACpB,KA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