langchain 1.0.3 → 1.0.4

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 (372) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/agents/ReactAgent.cjs.map +1 -1
  3. package/dist/agents/ReactAgent.js.map +1 -1
  4. package/dist/agents/annotation.cjs +6 -4
  5. package/dist/agents/annotation.cjs.map +1 -1
  6. package/dist/agents/annotation.js +7 -5
  7. package/dist/agents/annotation.js.map +1 -1
  8. package/dist/agents/middleware/contextEditing.d.cts.map +1 -1
  9. package/dist/agents/middleware/contextEditing.d.ts.map +1 -1
  10. package/dist/agents/middleware/dynamicSystemPrompt.d.ts.map +1 -1
  11. package/dist/agents/middleware/hitl.d.cts.map +1 -1
  12. package/dist/agents/middleware/llmToolSelector.d.cts +4 -4
  13. package/dist/agents/middleware/llmToolSelector.d.cts.map +1 -1
  14. package/dist/agents/middleware/modelCallLimit.d.cts.map +1 -1
  15. package/dist/agents/middleware/modelCallLimit.d.ts.map +1 -1
  16. package/dist/agents/middleware/promptCaching.d.cts.map +1 -1
  17. package/dist/agents/middleware/promptCaching.d.ts.map +1 -1
  18. package/dist/agents/middleware/summarization.cjs +272 -52
  19. package/dist/agents/middleware/summarization.cjs.map +1 -1
  20. package/dist/agents/middleware/summarization.d.cts +325 -30
  21. package/dist/agents/middleware/summarization.d.cts.map +1 -1
  22. package/dist/agents/middleware/summarization.d.ts +320 -25
  23. package/dist/agents/middleware/summarization.d.ts.map +1 -1
  24. package/dist/agents/middleware/summarization.js +274 -54
  25. package/dist/agents/middleware/summarization.js.map +1 -1
  26. package/dist/agents/middleware/todoListMiddleware.d.cts.map +1 -1
  27. package/dist/agents/middleware/todoListMiddleware.d.ts.map +1 -1
  28. package/dist/agents/middleware/toolCallLimit.cjs +36 -27
  29. package/dist/agents/middleware/toolCallLimit.cjs.map +1 -1
  30. package/dist/agents/middleware/toolCallLimit.d.cts +3 -1
  31. package/dist/agents/middleware/toolCallLimit.d.cts.map +1 -1
  32. package/dist/agents/middleware/toolCallLimit.d.ts +3 -1
  33. package/dist/agents/middleware/toolCallLimit.d.ts.map +1 -1
  34. package/dist/agents/middleware/toolCallLimit.js +36 -27
  35. package/dist/agents/middleware/toolCallLimit.js.map +1 -1
  36. package/dist/agents/middleware/types.d.cts.map +1 -1
  37. package/dist/agents/middleware/types.d.ts.map +1 -1
  38. package/dist/agents/middleware/utils.d.cts.map +1 -1
  39. package/dist/agents/middleware/utils.d.ts.map +1 -1
  40. package/dist/agents/nodes/AgentNode.cjs +0 -4
  41. package/dist/agents/nodes/AgentNode.cjs.map +1 -1
  42. package/dist/agents/nodes/AgentNode.js +1 -5
  43. package/dist/agents/nodes/AgentNode.js.map +1 -1
  44. package/dist/agents/responses.cjs +0 -1
  45. package/dist/agents/responses.js +1 -1
  46. package/dist/index.cjs.map +1 -1
  47. package/dist/index.d.cts +2 -2
  48. package/dist/index.d.ts +2 -2
  49. package/dist/index.js.map +1 -1
  50. package/package.json +6 -6
  51. package/dist/agents/middleware/callLimit.cjs +0 -130
  52. package/dist/agents/middleware/callLimit.cjs.map +0 -1
  53. package/dist/agents/middleware/callLimit.d.cts +0 -119
  54. package/dist/agents/middleware/callLimit.d.cts.map +0 -1
  55. package/dist/agents/middleware/callLimit.d.ts +0 -119
  56. package/dist/agents/middleware/callLimit.d.ts.map +0 -1
  57. package/dist/agents/middleware/callLimit.js +0 -129
  58. package/dist/agents/middleware/callLimit.js.map +0 -1
  59. package/dist/agents/middleware/index.d.cts +0 -15
  60. package/dist/agents/middleware/index.d.ts +0 -14
  61. package/dist/agents/tools.d.cts +0 -9
  62. package/dist/agents/tools.d.cts.map +0 -1
  63. package/dist/agents/tools.d.ts +0 -9
  64. package/dist/agents/tools.d.ts.map +0 -1
  65. package/dist/embeddings/cache_backed.cjs +0 -140
  66. package/dist/embeddings/cache_backed.cjs.map +0 -1
  67. package/dist/embeddings/cache_backed.d.cts +0 -107
  68. package/dist/embeddings/cache_backed.d.cts.map +0 -1
  69. package/dist/embeddings/cache_backed.d.ts +0 -107
  70. package/dist/embeddings/cache_backed.d.ts.map +0 -1
  71. package/dist/embeddings/cache_backed.js +0 -134
  72. package/dist/embeddings/cache_backed.js.map +0 -1
  73. package/dist/embeddings/fake.cjs +0 -22
  74. package/dist/embeddings/fake.cjs.map +0 -1
  75. package/dist/embeddings/fake.d.cts +0 -1
  76. package/dist/embeddings/fake.d.ts +0 -1
  77. package/dist/embeddings/fake.js +0 -12
  78. package/dist/embeddings/fake.js.map +0 -1
  79. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs +0 -248
  80. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.cjs.map +0 -1
  81. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js +0 -244
  82. package/dist/node_modules/.pnpm/eventemitter3@4.0.7/node_modules/eventemitter3/index.js.map +0 -1
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  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/utils/messages.js +0 -16
  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/utils/messages.js.map +0 -1
  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/utils/project.cjs +0 -10
  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/utils/project.cjs.map +0 -1
  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/utils/project.js +0 -10
  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/utils/project.js.map +0 -1
  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/utils/prompts.cjs +0 -30
  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/utils/prompts.cjs.map +0 -1
  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/utils/prompts.js +0 -30
  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/utils/prompts.js.map +0 -1
  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/utils/warn.cjs +0 -13
  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/utils/warn.cjs.map +0 -1
  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/utils/warn.js +0 -12
  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/utils/warn.js.map +0 -1
  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/index.cjs +0 -6
  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/index.js +0 -6
  157. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs +0 -27
  158. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.cjs.map +0 -1
  159. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js +0 -23
  160. package/dist/node_modules/.pnpm/p-finally@1.0.0/node_modules/p-finally/index.js.map +0 -1
  161. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs +0 -267
  162. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.cjs.map +0 -1
  163. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js +0 -263
  164. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js.map +0 -1
  165. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs +0 -32
  166. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.cjs.map +0 -1
  167. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js +0 -28
  168. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js.map +0 -1
  169. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs +0 -49
  170. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.cjs.map +0 -1
  171. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js +0 -45
  172. package/dist/node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js.map +0 -1
  173. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.cjs +0 -83
  174. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.cjs.map +0 -1
  175. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js +0 -79
  176. package/dist/node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js.map +0 -1
  177. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs +0 -52
  178. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.cjs.map +0 -1
  179. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js +0 -48
  180. package/dist/node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js.map +0 -1
  181. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.cjs +0 -16
  182. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.cjs.map +0 -1
  183. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js +0 -13
  184. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js.map +0 -1
  185. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.cjs +0 -77
  186. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.cjs.map +0 -1
  187. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js +0 -74
  188. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js.map +0 -1
  189. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.cjs +0 -115
  190. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.cjs.map +0 -1
  191. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js +0 -112
  192. package/dist/node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry_operation.js.map +0 -1
  193. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs +0 -90
  194. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.cjs.map +0 -1
  195. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js +0 -86
  196. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js.map +0 -1
  197. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs +0 -294
  198. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.cjs.map +0 -1
  199. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js +0 -290
  200. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js.map +0 -1
  201. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs +0 -191
  202. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.cjs.map +0 -1
  203. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js +0 -187
  204. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js.map +0 -1
  205. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs +0 -24
  206. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.cjs.map +0 -1
  207. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js +0 -20
  208. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js.map +0 -1
  209. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs +0 -51
  210. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.cjs.map +0 -1
  211. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js +0 -47
  212. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js.map +0 -1
  213. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs +0 -48
  214. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.cjs.map +0 -1
  215. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js +0 -44
  216. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js.map +0 -1
  217. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs +0 -25
  218. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.cjs.map +0 -1
  219. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js +0 -21
  220. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js.map +0 -1
  221. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs +0 -21
  222. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.cjs.map +0 -1
  223. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js +0 -17
  224. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js.map +0 -1
  225. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs +0 -21
  226. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.cjs.map +0 -1
  227. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js +0 -17
  228. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js.map +0 -1
  229. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs +0 -43
  230. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.cjs.map +0 -1
  231. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js +0 -39
  232. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js.map +0 -1
  233. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs +0 -21
  234. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.cjs.map +0 -1
  235. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js +0 -17
  236. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js.map +0 -1
  237. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs +0 -21
  238. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.cjs.map +0 -1
  239. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js +0 -17
  240. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js.map +0 -1
  241. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs +0 -21
  242. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.cjs.map +0 -1
  243. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js +0 -17
  244. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js.map +0 -1
  245. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs +0 -32
  246. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.cjs.map +0 -1
  247. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js +0 -28
  248. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js.map +0 -1
  249. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs +0 -21
  250. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.cjs.map +0 -1
  251. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js +0 -17
  252. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js.map +0 -1
  253. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs +0 -21
  254. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.cjs.map +0 -1
  255. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js +0 -17
  256. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js.map +0 -1
  257. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs +0 -21
  258. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.cjs.map +0 -1
  259. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js +0 -17
  260. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js.map +0 -1
  261. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs +0 -21
  262. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.cjs.map +0 -1
  263. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js +0 -17
  264. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js.map +0 -1
  265. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs +0 -21
  266. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.cjs.map +0 -1
  267. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js +0 -17
  268. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js.map +0 -1
  269. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs +0 -29
  270. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.cjs.map +0 -1
  271. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js +0 -25
  272. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js.map +0 -1
  273. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs +0 -21
  274. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.cjs.map +0 -1
  275. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js +0 -17
  276. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js.map +0 -1
  277. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs +0 -24
  278. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.cjs.map +0 -1
  279. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js +0 -20
  280. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js.map +0 -1
  281. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs +0 -21
  282. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.cjs.map +0 -1
  283. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js +0 -17
  284. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js.map +0 -1
  285. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs +0 -21
  286. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.cjs.map +0 -1
  287. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js +0 -17
  288. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js.map +0 -1
  289. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs +0 -28
  290. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.cjs.map +0 -1
  291. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js +0 -24
  292. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js.map +0 -1
  293. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs +0 -21
  294. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.cjs.map +0 -1
  295. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js +0 -17
  296. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js.map +0 -1
  297. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs +0 -24
  298. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.cjs.map +0 -1
  299. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js +0 -20
  300. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js.map +0 -1
  301. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs +0 -146
  302. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.cjs.map +0 -1
  303. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js +0 -142
  304. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js.map +0 -1
  305. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs +0 -41
  306. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.cjs.map +0 -1
  307. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js +0 -37
  308. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js.map +0 -1
  309. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs +0 -19
  310. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.cjs.map +0 -1
  311. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js +0 -15
  312. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js.map +0 -1
  313. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs +0 -32
  314. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.cjs.map +0 -1
  315. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js +0 -28
  316. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js.map +0 -1
  317. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs +0 -47
  318. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.cjs.map +0 -1
  319. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js +0 -43
  320. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js.map +0 -1
  321. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs +0 -25
  322. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.cjs.map +0 -1
  323. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js +0 -21
  324. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js.map +0 -1
  325. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs +0 -94
  326. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.cjs.map +0 -1
  327. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js +0 -90
  328. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js.map +0 -1
  329. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs +0 -21
  330. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.cjs.map +0 -1
  331. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js +0 -17
  332. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js.map +0 -1
  333. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs +0 -25
  334. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.cjs.map +0 -1
  335. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js +0 -21
  336. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js.map +0 -1
  337. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs +0 -21
  338. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.cjs.map +0 -1
  339. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js +0 -17
  340. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js.map +0 -1
  341. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs +0 -41
  342. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.cjs.map +0 -1
  343. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js +0 -37
  344. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js.map +0 -1
  345. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs +0 -41
  346. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.cjs.map +0 -1
  347. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js +0 -37
  348. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js.map +0 -1
  349. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs +0 -55
  350. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.cjs.map +0 -1
  351. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js +0 -51
  352. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js.map +0 -1
  353. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs +0 -74
  354. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.cjs.map +0 -1
  355. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js +0 -70
  356. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js.map +0 -1
  357. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs +0 -48
  358. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.cjs.map +0 -1
  359. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js +0 -44
  360. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js.map +0 -1
  361. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs +0 -112
  362. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.cjs.map +0 -1
  363. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js +0 -108
  364. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js.map +0 -1
  365. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs +0 -21
  366. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.cjs.map +0 -1
  367. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js +0 -17
  368. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js.map +0 -1
  369. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs +0 -27
  370. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.cjs.map +0 -1
  371. package/dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js +0 -23
  372. 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":"index.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst EventEmitter = require(\"eventemitter3\");\nconst p_timeout_1 = require(\"p-timeout\");\nconst priority_queue_1 = require(\"./priority-queue\");\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst empty = () => { };\nconst timeoutError = new p_timeout_1.TimeoutError();\n/**\nPromise queue with concurrency control.\n*/\nclass PQueue extends EventEmitter {\n constructor(options) {\n var _a, _b, _c, _d;\n super();\n this._intervalCount = 0;\n this._intervalEnd = 0;\n this._pendingCount = 0;\n this._resolveEmpty = empty;\n this._resolveIdle = empty;\n // eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n options = Object.assign({ carryoverConcurrencyCount: false, intervalCap: Infinity, interval: 0, concurrency: Infinity, autoStart: true, queueClass: priority_queue_1.default }, options);\n if (!(typeof options.intervalCap === 'number' && options.intervalCap >= 1)) {\n throw new TypeError(`Expected \\`intervalCap\\` to be a number from 1 and up, got \\`${(_b = (_a = options.intervalCap) === null || _a === void 0 ? void 0 : _a.toString()) !== null && _b !== void 0 ? _b : ''}\\` (${typeof options.intervalCap})`);\n }\n if (options.interval === undefined || !(Number.isFinite(options.interval) && options.interval >= 0)) {\n throw new TypeError(`Expected \\`interval\\` to be a finite number >= 0, got \\`${(_d = (_c = options.interval) === null || _c === void 0 ? void 0 : _c.toString()) !== null && _d !== void 0 ? _d : ''}\\` (${typeof options.interval})`);\n }\n this._carryoverConcurrencyCount = options.carryoverConcurrencyCount;\n this._isIntervalIgnored = options.intervalCap === Infinity || options.interval === 0;\n this._intervalCap = options.intervalCap;\n this._interval = options.interval;\n this._queue = new options.queueClass();\n this._queueClass = options.queueClass;\n this.concurrency = options.concurrency;\n this._timeout = options.timeout;\n this._throwOnTimeout = options.throwOnTimeout === true;\n this._isPaused = options.autoStart === false;\n }\n get _doesIntervalAllowAnother() {\n return this._isIntervalIgnored || this._intervalCount < this._intervalCap;\n }\n get _doesConcurrentAllowAnother() {\n return this._pendingCount < this._concurrency;\n }\n _next() {\n this._pendingCount--;\n this._tryToStartAnother();\n this.emit('next');\n }\n _resolvePromises() {\n this._resolveEmpty();\n this._resolveEmpty = empty;\n if (this._pendingCount === 0) {\n this._resolveIdle();\n this._resolveIdle = empty;\n this.emit('idle');\n }\n }\n _onResumeInterval() {\n this._onInterval();\n this._initializeIntervalIfNeeded();\n this._timeoutId = undefined;\n }\n _isIntervalPaused() {\n const now = Date.now();\n if (this._intervalId === undefined) {\n const delay = this._intervalEnd - now;\n if (delay < 0) {\n // Act as the interval was done\n // We don't need to resume it here because it will be resumed on line 160\n this._intervalCount = (this._carryoverConcurrencyCount) ? this._pendingCount : 0;\n }\n else {\n // Act as the interval is pending\n if (this._timeoutId === undefined) {\n this._timeoutId = setTimeout(() => {\n this._onResumeInterval();\n }, delay);\n }\n return true;\n }\n }\n return false;\n }\n _tryToStartAnother() {\n if (this._queue.size === 0) {\n // We can clear the interval (\"pause\")\n // Because we can redo it later (\"resume\")\n if (this._intervalId) {\n clearInterval(this._intervalId);\n }\n this._intervalId = undefined;\n this._resolvePromises();\n return false;\n }\n if (!this._isPaused) {\n const canInitializeInterval = !this._isIntervalPaused();\n if (this._doesIntervalAllowAnother && this._doesConcurrentAllowAnother) {\n const job = this._queue.dequeue();\n if (!job) {\n return false;\n }\n this.emit('active');\n job();\n if (canInitializeInterval) {\n this._initializeIntervalIfNeeded();\n }\n return true;\n }\n }\n return false;\n }\n _initializeIntervalIfNeeded() {\n if (this._isIntervalIgnored || this._intervalId !== undefined) {\n return;\n }\n this._intervalId = setInterval(() => {\n this._onInterval();\n }, this._interval);\n this._intervalEnd = Date.now() + this._interval;\n }\n _onInterval() {\n if (this._intervalCount === 0 && this._pendingCount === 0 && this._intervalId) {\n clearInterval(this._intervalId);\n this._intervalId = undefined;\n }\n this._intervalCount = this._carryoverConcurrencyCount ? this._pendingCount : 0;\n this._processQueue();\n }\n /**\n Executes all queued functions until it reaches the limit.\n */\n _processQueue() {\n // eslint-disable-next-line no-empty\n while (this._tryToStartAnother()) { }\n }\n get concurrency() {\n return this._concurrency;\n }\n set concurrency(newConcurrency) {\n if (!(typeof newConcurrency === 'number' && newConcurrency >= 1)) {\n throw new TypeError(`Expected \\`concurrency\\` to be a number from 1 and up, got \\`${newConcurrency}\\` (${typeof newConcurrency})`);\n }\n this._concurrency = newConcurrency;\n this._processQueue();\n }\n /**\n Adds a sync or async task to the queue. Always returns a promise.\n */\n async add(fn, options = {}) {\n return new Promise((resolve, reject) => {\n const run = async () => {\n this._pendingCount++;\n this._intervalCount++;\n try {\n const operation = (this._timeout === undefined && options.timeout === undefined) ? fn() : p_timeout_1.default(Promise.resolve(fn()), (options.timeout === undefined ? this._timeout : options.timeout), () => {\n if (options.throwOnTimeout === undefined ? this._throwOnTimeout : options.throwOnTimeout) {\n reject(timeoutError);\n }\n return undefined;\n });\n resolve(await operation);\n }\n catch (error) {\n reject(error);\n }\n this._next();\n };\n this._queue.enqueue(run, options);\n this._tryToStartAnother();\n this.emit('add');\n });\n }\n /**\n Same as `.add()`, but accepts an array of sync or async functions.\n\n @returns A promise that resolves when all functions are resolved.\n */\n async addAll(functions, options) {\n return Promise.all(functions.map(async (function_) => this.add(function_, options)));\n }\n /**\n Start (or resume) executing enqueued tasks within concurrency limit. No need to call this if queue is not paused (via `options.autoStart = false` or by `.pause()` method.)\n */\n start() {\n if (!this._isPaused) {\n return this;\n }\n this._isPaused = false;\n this._processQueue();\n return this;\n }\n /**\n Put queue execution on hold.\n */\n pause() {\n this._isPaused = true;\n }\n /**\n Clear the queue.\n */\n clear() {\n this._queue = new this._queueClass();\n }\n /**\n Can be called multiple times. Useful if you for example add additional items at a later time.\n\n @returns A promise that settles when the queue becomes empty.\n */\n async onEmpty() {\n // Instantly resolve if the queue is empty\n if (this._queue.size === 0) {\n return;\n }\n return new Promise(resolve => {\n const existingResolve = this._resolveEmpty;\n this._resolveEmpty = () => {\n existingResolve();\n resolve();\n };\n });\n }\n /**\n The difference with `.onEmpty` is that `.onIdle` guarantees that all work from the queue has finished. `.onEmpty` merely signals that the queue is empty, but it could mean that some promises haven't completed yet.\n\n @returns A promise that settles when the queue becomes empty, and all promises have completed; `queue.size === 0 && queue.pending === 0`.\n */\n async onIdle() {\n // Instantly resolve if none pending and if nothing else is queued\n if (this._pendingCount === 0 && this._queue.size === 0) {\n return;\n }\n return new Promise(resolve => {\n const existingResolve = this._resolveIdle;\n this._resolveIdle = () => {\n existingResolve();\n resolve();\n };\n });\n }\n /**\n Size of the queue.\n */\n get size() {\n return this._queue.size;\n }\n /**\n Size of the queue, filtered by the given options.\n\n For example, this can be used to find the number of items remaining in the queue with a specific priority level.\n */\n sizeBy(options) {\n // eslint-disable-next-line unicorn/no-fn-reference-in-iterator\n return this._queue.filter(options).length;\n }\n /**\n Number of pending promises.\n */\n get pending() {\n return this._pendingCount;\n }\n /**\n Whether the queue is currently paused.\n */\n get isPaused() {\n return this._isPaused;\n }\n get timeout() {\n return this._timeout;\n }\n /**\n Set the timeout for future operations.\n */\n set timeout(milliseconds) {\n this._timeout = milliseconds;\n }\n}\nexports.default = PQueue;\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
-
4
- const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
5
-
6
- //#region ../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js
7
- var require_lower_bound = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js": ((exports) => {
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- function lowerBound(array, value, comparator) {
10
- let first = 0;
11
- let count = array.length;
12
- while (count > 0) {
13
- const step = count / 2 | 0;
14
- let it = first + step;
15
- if (comparator(array[it], value) <= 0) {
16
- first = ++it;
17
- count -= step + 1;
18
- } else count = step;
19
- }
20
- return first;
21
- }
22
- exports.default = lowerBound;
23
- }) });
24
-
25
- //#endregion
26
- Object.defineProperty(exports, 'default', {
27
- enumerable: true,
28
- get: function () {
29
- return require_lower_bound();
30
- }
31
- });
32
- //# sourceMappingURL=lower-bound.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lower-bound.cjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Port of lower_bound from https://en.cppreference.com/w/cpp/algorithm/lower_bound\n// Used to compute insertion index to keep queue sorted after insertion\nfunction lowerBound(array, value, comparator) {\n let first = 0;\n let count = array.length;\n while (count > 0) {\n const step = (count / 2) | 0;\n let it = first + step;\n if (comparator(array[it], value) <= 0) {\n first = ++it;\n count -= step + 1;\n }\n else {\n count = step;\n }\n }\n return first;\n}\nexports.default = lowerBound;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAM,EAAC;CAG7D,SAAS,WAAW,OAAO,OAAO,YAAY;EAC1C,IAAI,QAAQ;EACZ,IAAI,QAAQ,MAAM;AAClB,SAAO,QAAQ,GAAG;GACd,MAAM,OAAQ,QAAQ,IAAK;GAC3B,IAAI,KAAK,QAAQ;AACjB,OAAI,WAAW,MAAM,KAAK,MAAM,IAAI,GAAG;IACnC,QAAQ,EAAE;IACV,SAAS,OAAO;GACnB,OAEG,QAAQ;EAEf;AACD,SAAO;CACV;CACD,QAAQ,UAAU"}
@@ -1,28 +0,0 @@
1
-
2
-
3
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
4
-
5
- //#region ../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js
6
- var require_lower_bound = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js": ((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- function lowerBound(array, value, comparator) {
9
- let first = 0;
10
- let count = array.length;
11
- while (count > 0) {
12
- const step = count / 2 | 0;
13
- let it = first + step;
14
- if (comparator(array[it], value) <= 0) {
15
- first = ++it;
16
- count -= step + 1;
17
- } else count = step;
18
- }
19
- return first;
20
- }
21
- exports.default = lowerBound;
22
- }) });
23
-
24
- //#endregion
25
- export default require_lower_bound();
26
-
27
- export { require_lower_bound };
28
- //# sourceMappingURL=lower-bound.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lower-bound.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/lower-bound.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Port of lower_bound from https://en.cppreference.com/w/cpp/algorithm/lower_bound\n// Used to compute insertion index to keep queue sorted after insertion\nfunction lowerBound(array, value, comparator) {\n let first = 0;\n let count = array.length;\n while (count > 0) {\n const step = (count / 2) | 0;\n let it = first + step;\n if (comparator(array[it], value) <= 0) {\n first = ++it;\n count -= step + 1;\n }\n else {\n count = step;\n }\n }\n return first;\n}\nexports.default = lowerBound;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAM,EAAC;CAG7D,SAAS,WAAW,OAAO,OAAO,YAAY;EAC1C,IAAI,QAAQ;EACZ,IAAI,QAAQ,MAAM;AAClB,SAAO,QAAQ,GAAG;GACd,MAAM,OAAQ,QAAQ,IAAK;GAC3B,IAAI,KAAK,QAAQ;AACjB,OAAI,WAAW,MAAM,KAAK,MAAM,IAAI,GAAG;IACnC,QAAQ,EAAE;IACV,SAAS,OAAO;GACnB,OAEG,QAAQ;EAEf;AACD,SAAO;CACV;CACD,QAAQ,UAAU"}
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
-
4
- const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
5
- const require_lower_bound$1 = require('./lower-bound.cjs');
6
-
7
- //#region ../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js
8
- var require_priority_queue = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js": ((exports) => {
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- const lower_bound_1 = require_lower_bound$1.require_lower_bound();
11
- var PriorityQueue = class {
12
- constructor() {
13
- this._queue = [];
14
- }
15
- enqueue(run, options) {
16
- options = Object.assign({ priority: 0 }, options);
17
- const element = {
18
- priority: options.priority,
19
- run
20
- };
21
- if (this.size && this._queue[this.size - 1].priority >= options.priority) {
22
- this._queue.push(element);
23
- return;
24
- }
25
- const index = lower_bound_1.default(this._queue, element, (a, b) => b.priority - a.priority);
26
- this._queue.splice(index, 0, element);
27
- }
28
- dequeue() {
29
- const item = this._queue.shift();
30
- return item === null || item === void 0 ? void 0 : item.run;
31
- }
32
- filter(options) {
33
- return this._queue.filter((element) => element.priority === options.priority).map((element) => element.run);
34
- }
35
- get size() {
36
- return this._queue.length;
37
- }
38
- };
39
- exports.default = PriorityQueue;
40
- }) });
41
-
42
- //#endregion
43
- Object.defineProperty(exports, 'default', {
44
- enumerable: true,
45
- get: function () {
46
- return require_priority_queue();
47
- }
48
- });
49
- //# sourceMappingURL=priority-queue.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"priority-queue.cjs","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst lower_bound_1 = require(\"./lower-bound\");\nclass PriorityQueue {\n constructor() {\n this._queue = [];\n }\n enqueue(run, options) {\n options = Object.assign({ priority: 0 }, options);\n const element = {\n priority: options.priority,\n run\n };\n if (this.size && this._queue[this.size - 1].priority >= options.priority) {\n this._queue.push(element);\n return;\n }\n const index = lower_bound_1.default(this._queue, element, (a, b) => b.priority - a.priority);\n this._queue.splice(index, 0, element);\n }\n dequeue() {\n const item = this._queue.shift();\n return item === null || item === void 0 ? void 0 : item.run;\n }\n filter(options) {\n return this._queue.filter((element) => element.priority === options.priority).map((element) => element.run);\n }\n get size() {\n return this._queue.length;\n }\n}\nexports.default = PriorityQueue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAM,EAAC;CAC7D,MAAM;CACN,IAAM,gBAAN,MAAoB;EAChB,cAAc;GACV,KAAK,SAAS,CAAE;EACnB;EACD,QAAQ,KAAK,SAAS;GAClB,UAAU,OAAO,OAAO,EAAE,UAAU,EAAG,GAAE,QAAQ;GACjD,MAAM,UAAU;IACZ,UAAU,QAAQ;IAClB;GACH;AACD,OAAI,KAAK,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY,QAAQ,UAAU;IACtE,KAAK,OAAO,KAAK,QAAQ;AACzB;GACH;GACD,MAAM,QAAQ,cAAc,QAAQ,KAAK,QAAQ,SAAS,CAAC,GAAG,MAAM,EAAE,WAAW,EAAE,SAAS;GAC5F,KAAK,OAAO,OAAO,OAAO,GAAG,QAAQ;EACxC;EACD,UAAU;GACN,MAAM,OAAO,KAAK,OAAO,OAAO;AAChC,UAAO,SAAS,QAAQ,SAAS,KAAK,IAAI,KAAK,IAAI,KAAK;EAC3D;EACD,OAAO,SAAS;AACZ,UAAO,KAAK,OAAO,OAAO,CAAC,YAAY,QAAQ,aAAa,QAAQ,SAAS,CAAC,IAAI,CAAC,YAAY,QAAQ,IAAI;EAC9G;EACD,IAAI,OAAO;AACP,UAAO,KAAK,OAAO;EACtB;CACJ;CACD,QAAQ,UAAU"}
@@ -1,45 +0,0 @@
1
-
2
-
3
- import { __commonJS } from "../../../../../../_virtual/rolldown_runtime.js";
4
- import { require_lower_bound } from "./lower-bound.js";
5
-
6
- //#region ../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js
7
- var require_priority_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js": ((exports) => {
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- const lower_bound_1 = require_lower_bound();
10
- var PriorityQueue = class {
11
- constructor() {
12
- this._queue = [];
13
- }
14
- enqueue(run, options) {
15
- options = Object.assign({ priority: 0 }, options);
16
- const element = {
17
- priority: options.priority,
18
- run
19
- };
20
- if (this.size && this._queue[this.size - 1].priority >= options.priority) {
21
- this._queue.push(element);
22
- return;
23
- }
24
- const index = lower_bound_1.default(this._queue, element, (a, b) => b.priority - a.priority);
25
- this._queue.splice(index, 0, element);
26
- }
27
- dequeue() {
28
- const item = this._queue.shift();
29
- return item === null || item === void 0 ? void 0 : item.run;
30
- }
31
- filter(options) {
32
- return this._queue.filter((element) => element.priority === options.priority).map((element) => element.run);
33
- }
34
- get size() {
35
- return this._queue.length;
36
- }
37
- };
38
- exports.default = PriorityQueue;
39
- }) });
40
-
41
- //#endregion
42
- export default require_priority_queue();
43
-
44
- export { require_priority_queue };
45
- //# sourceMappingURL=priority-queue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"priority-queue.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/p-queue@6.6.2/node_modules/p-queue/dist/priority-queue.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst lower_bound_1 = require(\"./lower-bound\");\nclass PriorityQueue {\n constructor() {\n this._queue = [];\n }\n enqueue(run, options) {\n options = Object.assign({ priority: 0 }, options);\n const element = {\n priority: options.priority,\n run\n };\n if (this.size && this._queue[this.size - 1].priority >= options.priority) {\n this._queue.push(element);\n return;\n }\n const index = lower_bound_1.default(this._queue, element, (a, b) => b.priority - a.priority);\n this._queue.splice(index, 0, element);\n }\n dequeue() {\n const item = this._queue.shift();\n return item === null || item === void 0 ? void 0 : item.run;\n }\n filter(options) {\n return this._queue.filter((element) => element.priority === options.priority).map((element) => element.run);\n }\n get size() {\n return this._queue.length;\n }\n}\nexports.default = PriorityQueue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;CACA,OAAO,eAAe,SAAS,cAAc,EAAE,OAAO,KAAM,EAAC;CAC7D,MAAM;CACN,IAAM,gBAAN,MAAoB;EAChB,cAAc;GACV,KAAK,SAAS,CAAE;EACnB;EACD,QAAQ,KAAK,SAAS;GAClB,UAAU,OAAO,OAAO,EAAE,UAAU,EAAG,GAAE,QAAQ;GACjD,MAAM,UAAU;IACZ,UAAU,QAAQ;IAClB;GACH;AACD,OAAI,KAAK,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY,QAAQ,UAAU;IACtE,KAAK,OAAO,KAAK,QAAQ;AACzB;GACH;GACD,MAAM,QAAQ,cAAc,QAAQ,KAAK,QAAQ,SAAS,CAAC,GAAG,MAAM,EAAE,WAAW,EAAE,SAAS;GAC5F,KAAK,OAAO,OAAO,OAAO,GAAG,QAAQ;EACxC;EACD,UAAU;GACN,MAAM,OAAO,KAAK,OAAO,OAAO;AAChC,UAAO,SAAS,QAAQ,SAAS,KAAK,IAAI,KAAK,IAAI,KAAK;EAC3D;EACD,OAAO,SAAS;AACZ,UAAO,KAAK,OAAO,OAAO,CAAC,YAAY,QAAQ,aAAa,QAAQ,SAAS,CAAC,IAAI,CAAC,YAAY,QAAQ,IAAI;EAC9G;EACD,IAAI,OAAO;AACP,UAAO,KAAK,OAAO;EACtB;CACJ;CACD,QAAQ,UAAU"}
@@ -1,83 +0,0 @@
1
- 'use strict';
2
-
3
-
4
- const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
5
- const require_index = require('../../../retry@0.13.1/node_modules/retry/index.cjs');
6
-
7
- //#region ../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js
8
- var require_p_retry = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js": ((exports, module) => {
9
- const retry = require_index.require_retry();
10
- const networkErrorMsgs = [
11
- "Failed to fetch",
12
- "NetworkError when attempting to fetch resource.",
13
- "The Internet connection appears to be offline.",
14
- "Network request failed"
15
- ];
16
- var AbortError = class extends Error {
17
- constructor(message) {
18
- super();
19
- if (message instanceof Error) {
20
- this.originalError = message;
21
- ({message} = message);
22
- } else {
23
- this.originalError = new Error(message);
24
- this.originalError.stack = this.stack;
25
- }
26
- this.name = "AbortError";
27
- this.message = message;
28
- }
29
- };
30
- const decorateErrorWithCounts = (error, attemptNumber, options) => {
31
- const retriesLeft = options.retries - (attemptNumber - 1);
32
- error.attemptNumber = attemptNumber;
33
- error.retriesLeft = retriesLeft;
34
- return error;
35
- };
36
- const isNetworkError = (errorMessage) => networkErrorMsgs.includes(errorMessage);
37
- const pRetry = (input, options) => new Promise((resolve, reject) => {
38
- options = {
39
- onFailedAttempt: () => {},
40
- retries: 10,
41
- ...options
42
- };
43
- const operation = retry.operation(options);
44
- operation.attempt(async (attemptNumber) => {
45
- try {
46
- resolve(await input(attemptNumber));
47
- } catch (error) {
48
- if (!(error instanceof Error)) {
49
- reject(/* @__PURE__ */ new TypeError(`Non-error was thrown: "${error}". You should only throw errors.`));
50
- return;
51
- }
52
- if (error instanceof AbortError) {
53
- operation.stop();
54
- reject(error.originalError);
55
- } else if (error instanceof TypeError && !isNetworkError(error.message)) {
56
- operation.stop();
57
- reject(error);
58
- } else {
59
- decorateErrorWithCounts(error, attemptNumber, options);
60
- try {
61
- await options.onFailedAttempt(error);
62
- } catch (error$1) {
63
- reject(error$1);
64
- return;
65
- }
66
- if (!operation.retry(error)) reject(operation.mainError());
67
- }
68
- }
69
- });
70
- });
71
- module.exports = pRetry;
72
- module.exports.default = pRetry;
73
- module.exports.AbortError = AbortError;
74
- }) });
75
-
76
- //#endregion
77
- Object.defineProperty(exports, 'default', {
78
- enumerable: true,
79
- get: function () {
80
- return require_p_retry();
81
- }
82
- });
83
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","names":["error"],"sources":["../../../../../../../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js"],"sourcesContent":["'use strict';\nconst retry = require('retry');\n\nconst networkErrorMsgs = [\n\t'Failed to fetch', // Chrome\n\t'NetworkError when attempting to fetch resource.', // Firefox\n\t'The Internet connection appears to be offline.', // Safari\n\t'Network request failed' // `cross-fetch`\n];\n\nclass AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\n\t\tif (message instanceof Error) {\n\t\t\tthis.originalError = message;\n\t\t\t({message} = message);\n\t\t} else {\n\t\t\tthis.originalError = new Error(message);\n\t\t\tthis.originalError.stack = this.stack;\n\t\t}\n\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\nconst decorateErrorWithCounts = (error, attemptNumber, options) => {\n\t// Minus 1 from attemptNumber because the first attempt does not count as a retry\n\tconst retriesLeft = options.retries - (attemptNumber - 1);\n\n\terror.attemptNumber = attemptNumber;\n\terror.retriesLeft = retriesLeft;\n\treturn error;\n};\n\nconst isNetworkError = errorMessage => networkErrorMsgs.includes(errorMessage);\n\nconst pRetry = (input, options) => new Promise((resolve, reject) => {\n\toptions = {\n\t\tonFailedAttempt: () => {},\n\t\tretries: 10,\n\t\t...options\n\t};\n\n\tconst operation = retry.operation(options);\n\n\toperation.attempt(async attemptNumber => {\n\t\ttry {\n\t\t\tresolve(await input(attemptNumber));\n\t\t} catch (error) {\n\t\t\tif (!(error instanceof Error)) {\n\t\t\t\treject(new TypeError(`Non-error was thrown: \"${error}\". You should only throw errors.`));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (error instanceof AbortError) {\n\t\t\t\toperation.stop();\n\t\t\t\treject(error.originalError);\n\t\t\t} else if (error instanceof TypeError && !isNetworkError(error.message)) {\n\t\t\t\toperation.stop();\n\t\t\t\treject(error);\n\t\t\t} else {\n\t\t\t\tdecorateErrorWithCounts(error, attemptNumber, options);\n\n\t\t\t\ttry {\n\t\t\t\t\tawait options.onFailedAttempt(error);\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (!operation.retry(error)) {\n\t\t\t\t\treject(operation.mainError());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n});\n\nmodule.exports = pRetry;\n// TODO: remove this in the next major version\nmodule.exports.default = pRetry;\n\nmodule.exports.AbortError = AbortError;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;CACA,MAAM;CAEN,MAAM,mBAAmB;EACxB;EACA;EACA;EACA;CACA;CAED,IAAM,aAAN,cAAyB,MAAM;EAC9B,YAAY,SAAS;GACpB,OAAO;AAEP,OAAI,mBAAmB,OAAO;IAC7B,KAAK,gBAAgB;KACpB,CAAC,QAAQ,GAAG;GACb,OAAM;IACN,KAAK,gBAAgB,IAAI,MAAM;IAC/B,KAAK,cAAc,QAAQ,KAAK;GAChC;GAED,KAAK,OAAO;GACZ,KAAK,UAAU;EACf;CACD;CAED,MAAM,0BAA0B,CAAC,OAAO,eAAe,YAAY;EAElE,MAAM,cAAc,QAAQ,WAAW,gBAAgB;EAEvD,MAAM,gBAAgB;EACtB,MAAM,cAAc;AACpB,SAAO;CACP;CAED,MAAM,iBAAiB,kBAAgB,iBAAiB,SAAS,aAAa;CAE9E,MAAM,SAAS,CAAC,OAAO,YAAY,IAAI,QAAQ,CAAC,SAAS,WAAW;EACnE,UAAU;GACT,iBAAiB,MAAM,CAAE;GACzB,SAAS;GACT,GAAG;EACH;EAED,MAAM,YAAY,MAAM,UAAU,QAAQ;EAE1C,UAAU,QAAQ,OAAM,kBAAiB;AACxC,OAAI;IACH,QAAQ,MAAM,MAAM,cAAc,CAAC;GACnC,SAAQ,OAAO;AACf,QAAI,EAAE,iBAAiB,QAAQ;KAC9B,uBAAO,IAAI,UAAU,CAAC,uBAAuB,EAAE,MAAM,gCAAgC,CAAC,EAAE;AACxF;IACA;AAED,QAAI,iBAAiB,YAAY;KAChC,UAAU,MAAM;KAChB,OAAO,MAAM,cAAc;IAC3B,WAAU,iBAAiB,aAAa,CAAC,eAAe,MAAM,QAAQ,EAAE;KACxE,UAAU,MAAM;KAChB,OAAO,MAAM;IACb,OAAM;KACN,wBAAwB,OAAO,eAAe,QAAQ;AAEtD,SAAI;MACH,MAAM,QAAQ,gBAAgB,MAAM;KACpC,SAAQA,SAAO;MACf,OAAOA,QAAM;AACb;KACA;AAED,SAAI,CAAC,UAAU,MAAM,MAAM,EAC1B,OAAO,UAAU,WAAW,CAAC;IAE9B;GACD;EACD,EAAC;CACF;CAED,OAAO,UAAU;CAEjB,OAAO,QAAQ,UAAU;CAEzB,OAAO,QAAQ,aAAa"}
@@ -1,79 +0,0 @@
1
-
2
-
3
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
4
- import { require_retry } from "../../../retry@0.13.1/node_modules/retry/index.js";
5
-
6
- //#region ../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js
7
- var require_p_retry = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js": ((exports, module) => {
8
- const retry = require_retry();
9
- const networkErrorMsgs = [
10
- "Failed to fetch",
11
- "NetworkError when attempting to fetch resource.",
12
- "The Internet connection appears to be offline.",
13
- "Network request failed"
14
- ];
15
- var AbortError = class extends Error {
16
- constructor(message) {
17
- super();
18
- if (message instanceof Error) {
19
- this.originalError = message;
20
- ({message} = message);
21
- } else {
22
- this.originalError = new Error(message);
23
- this.originalError.stack = this.stack;
24
- }
25
- this.name = "AbortError";
26
- this.message = message;
27
- }
28
- };
29
- const decorateErrorWithCounts = (error, attemptNumber, options) => {
30
- const retriesLeft = options.retries - (attemptNumber - 1);
31
- error.attemptNumber = attemptNumber;
32
- error.retriesLeft = retriesLeft;
33
- return error;
34
- };
35
- const isNetworkError = (errorMessage) => networkErrorMsgs.includes(errorMessage);
36
- const pRetry = (input, options) => new Promise((resolve, reject) => {
37
- options = {
38
- onFailedAttempt: () => {},
39
- retries: 10,
40
- ...options
41
- };
42
- const operation = retry.operation(options);
43
- operation.attempt(async (attemptNumber) => {
44
- try {
45
- resolve(await input(attemptNumber));
46
- } catch (error) {
47
- if (!(error instanceof Error)) {
48
- reject(/* @__PURE__ */ new TypeError(`Non-error was thrown: "${error}". You should only throw errors.`));
49
- return;
50
- }
51
- if (error instanceof AbortError) {
52
- operation.stop();
53
- reject(error.originalError);
54
- } else if (error instanceof TypeError && !isNetworkError(error.message)) {
55
- operation.stop();
56
- reject(error);
57
- } else {
58
- decorateErrorWithCounts(error, attemptNumber, options);
59
- try {
60
- await options.onFailedAttempt(error);
61
- } catch (error$1) {
62
- reject(error$1);
63
- return;
64
- }
65
- if (!operation.retry(error)) reject(operation.mainError());
66
- }
67
- }
68
- });
69
- });
70
- module.exports = pRetry;
71
- module.exports.default = pRetry;
72
- module.exports.AbortError = AbortError;
73
- }) });
74
-
75
- //#endregion
76
- export default require_p_retry();
77
-
78
- export { require_p_retry };
79
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["error"],"sources":["../../../../../../../../node_modules/.pnpm/p-retry@4.6.2/node_modules/p-retry/index.js"],"sourcesContent":["'use strict';\nconst retry = require('retry');\n\nconst networkErrorMsgs = [\n\t'Failed to fetch', // Chrome\n\t'NetworkError when attempting to fetch resource.', // Firefox\n\t'The Internet connection appears to be offline.', // Safari\n\t'Network request failed' // `cross-fetch`\n];\n\nclass AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\n\t\tif (message instanceof Error) {\n\t\t\tthis.originalError = message;\n\t\t\t({message} = message);\n\t\t} else {\n\t\t\tthis.originalError = new Error(message);\n\t\t\tthis.originalError.stack = this.stack;\n\t\t}\n\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\nconst decorateErrorWithCounts = (error, attemptNumber, options) => {\n\t// Minus 1 from attemptNumber because the first attempt does not count as a retry\n\tconst retriesLeft = options.retries - (attemptNumber - 1);\n\n\terror.attemptNumber = attemptNumber;\n\terror.retriesLeft = retriesLeft;\n\treturn error;\n};\n\nconst isNetworkError = errorMessage => networkErrorMsgs.includes(errorMessage);\n\nconst pRetry = (input, options) => new Promise((resolve, reject) => {\n\toptions = {\n\t\tonFailedAttempt: () => {},\n\t\tretries: 10,\n\t\t...options\n\t};\n\n\tconst operation = retry.operation(options);\n\n\toperation.attempt(async attemptNumber => {\n\t\ttry {\n\t\t\tresolve(await input(attemptNumber));\n\t\t} catch (error) {\n\t\t\tif (!(error instanceof Error)) {\n\t\t\t\treject(new TypeError(`Non-error was thrown: \"${error}\". You should only throw errors.`));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (error instanceof AbortError) {\n\t\t\t\toperation.stop();\n\t\t\t\treject(error.originalError);\n\t\t\t} else if (error instanceof TypeError && !isNetworkError(error.message)) {\n\t\t\t\toperation.stop();\n\t\t\t\treject(error);\n\t\t\t} else {\n\t\t\t\tdecorateErrorWithCounts(error, attemptNumber, options);\n\n\t\t\t\ttry {\n\t\t\t\t\tawait options.onFailedAttempt(error);\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (!operation.retry(error)) {\n\t\t\t\t\treject(operation.mainError());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n});\n\nmodule.exports = pRetry;\n// TODO: remove this in the next major version\nmodule.exports.default = pRetry;\n\nmodule.exports.AbortError = AbortError;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;CACA,MAAM;CAEN,MAAM,mBAAmB;EACxB;EACA;EACA;EACA;CACA;CAED,IAAM,aAAN,cAAyB,MAAM;EAC9B,YAAY,SAAS;GACpB,OAAO;AAEP,OAAI,mBAAmB,OAAO;IAC7B,KAAK,gBAAgB;KACpB,CAAC,QAAQ,GAAG;GACb,OAAM;IACN,KAAK,gBAAgB,IAAI,MAAM;IAC/B,KAAK,cAAc,QAAQ,KAAK;GAChC;GAED,KAAK,OAAO;GACZ,KAAK,UAAU;EACf;CACD;CAED,MAAM,0BAA0B,CAAC,OAAO,eAAe,YAAY;EAElE,MAAM,cAAc,QAAQ,WAAW,gBAAgB;EAEvD,MAAM,gBAAgB;EACtB,MAAM,cAAc;AACpB,SAAO;CACP;CAED,MAAM,iBAAiB,kBAAgB,iBAAiB,SAAS,aAAa;CAE9E,MAAM,SAAS,CAAC,OAAO,YAAY,IAAI,QAAQ,CAAC,SAAS,WAAW;EACnE,UAAU;GACT,iBAAiB,MAAM,CAAE;GACzB,SAAS;GACT,GAAG;EACH;EAED,MAAM,YAAY,MAAM,UAAU,QAAQ;EAE1C,UAAU,QAAQ,OAAM,kBAAiB;AACxC,OAAI;IACH,QAAQ,MAAM,MAAM,cAAc,CAAC;GACnC,SAAQ,OAAO;AACf,QAAI,EAAE,iBAAiB,QAAQ;KAC9B,uBAAO,IAAI,UAAU,CAAC,uBAAuB,EAAE,MAAM,gCAAgC,CAAC,EAAE;AACxF;IACA;AAED,QAAI,iBAAiB,YAAY;KAChC,UAAU,MAAM;KAChB,OAAO,MAAM,cAAc;IAC3B,WAAU,iBAAiB,aAAa,CAAC,eAAe,MAAM,QAAQ,EAAE;KACxE,UAAU,MAAM;KAChB,OAAO,MAAM;IACb,OAAM;KACN,wBAAwB,OAAO,eAAe,QAAQ;AAEtD,SAAI;MACH,MAAM,QAAQ,gBAAgB,MAAM;KACpC,SAAQA,SAAO;MACf,OAAOA,QAAM;AACb;KACA;AAED,SAAI,CAAC,UAAU,MAAM,MAAM,EAC1B,OAAO,UAAU,WAAW,CAAC;IAE9B;GACD;EACD,EAAC;CACF;CAED,OAAO,UAAU;CAEjB,OAAO,QAAQ,UAAU;CAEzB,OAAO,QAAQ,aAAa"}
@@ -1,52 +0,0 @@
1
- 'use strict';
2
-
3
-
4
- const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
5
- const require_index = require('../../../p-finally@1.0.0/node_modules/p-finally/index.cjs');
6
-
7
- //#region ../../node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js
8
- var require_p_timeout = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js": ((exports, module) => {
9
- const pFinally = require_index.require_p_finally();
10
- var TimeoutError = class extends Error {
11
- constructor(message) {
12
- super(message);
13
- this.name = "TimeoutError";
14
- }
15
- };
16
- const pTimeout = (promise, milliseconds, fallback) => new Promise((resolve, reject) => {
17
- if (typeof milliseconds !== "number" || milliseconds < 0) throw new TypeError("Expected `milliseconds` to be a positive number");
18
- if (milliseconds === Infinity) {
19
- resolve(promise);
20
- return;
21
- }
22
- const timer = setTimeout(() => {
23
- if (typeof fallback === "function") {
24
- try {
25
- resolve(fallback());
26
- } catch (error) {
27
- reject(error);
28
- }
29
- return;
30
- }
31
- const message = typeof fallback === "string" ? fallback : `Promise timed out after ${milliseconds} milliseconds`;
32
- const timeoutError = fallback instanceof Error ? fallback : new TimeoutError(message);
33
- if (typeof promise.cancel === "function") promise.cancel();
34
- reject(timeoutError);
35
- }, milliseconds);
36
- pFinally(promise.then(resolve, reject), () => {
37
- clearTimeout(timer);
38
- });
39
- });
40
- module.exports = pTimeout;
41
- module.exports.default = pTimeout;
42
- module.exports.TimeoutError = TimeoutError;
43
- }) });
44
-
45
- //#endregion
46
- Object.defineProperty(exports, 'default', {
47
- enumerable: true,
48
- get: function () {
49
- return require_p_timeout();
50
- }
51
- });
52
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js"],"sourcesContent":["'use strict';\n\nconst pFinally = require('p-finally');\n\nclass TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\nconst pTimeout = (promise, milliseconds, fallback) => new Promise((resolve, reject) => {\n\tif (typeof milliseconds !== 'number' || milliseconds < 0) {\n\t\tthrow new TypeError('Expected `milliseconds` to be a positive number');\n\t}\n\n\tif (milliseconds === Infinity) {\n\t\tresolve(promise);\n\t\treturn;\n\t}\n\n\tconst timer = setTimeout(() => {\n\t\tif (typeof fallback === 'function') {\n\t\t\ttry {\n\t\t\t\tresolve(fallback());\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst message = typeof fallback === 'string' ? fallback : `Promise timed out after ${milliseconds} milliseconds`;\n\t\tconst timeoutError = fallback instanceof Error ? fallback : new TimeoutError(message);\n\n\t\tif (typeof promise.cancel === 'function') {\n\t\t\tpromise.cancel();\n\t\t}\n\n\t\treject(timeoutError);\n\t}, milliseconds);\n\n\t// TODO: Use native `finally` keyword when targeting Node.js 10\n\tpFinally(\n\t\t// eslint-disable-next-line promise/prefer-await-to-then\n\t\tpromise.then(resolve, reject),\n\t\t() => {\n\t\t\tclearTimeout(timer);\n\t\t}\n\t);\n});\n\nmodule.exports = pTimeout;\n// TODO: Remove this for the next major release\nmodule.exports.default = pTimeout;\n\nmodule.exports.TimeoutError = TimeoutError;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;CAEA,MAAM;CAEN,IAAM,eAAN,cAA2B,MAAM;EAChC,YAAY,SAAS;GACpB,MAAM,QAAQ;GACd,KAAK,OAAO;EACZ;CACD;CAED,MAAM,WAAW,CAAC,SAAS,cAAc,aAAa,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtF,MAAI,OAAO,iBAAiB,YAAY,eAAe,EACtD,OAAM,IAAI,UAAU;AAGrB,MAAI,iBAAiB,UAAU;GAC9B,QAAQ,QAAQ;AAChB;EACA;EAED,MAAM,QAAQ,WAAW,MAAM;AAC9B,OAAI,OAAO,aAAa,YAAY;AACnC,QAAI;KACH,QAAQ,UAAU,CAAC;IACnB,SAAQ,OAAO;KACf,OAAO,MAAM;IACb;AAED;GACA;GAED,MAAM,UAAU,OAAO,aAAa,WAAW,WAAW,CAAC,wBAAwB,EAAE,aAAa,aAAa,CAAC;GAChH,MAAM,eAAe,oBAAoB,QAAQ,WAAW,IAAI,aAAa;AAE7E,OAAI,OAAO,QAAQ,WAAW,YAC7B,QAAQ,QAAQ;GAGjB,OAAO,aAAa;EACpB,GAAE,aAAa;EAGhB,SAEC,QAAQ,KAAK,SAAS,OAAO,EAC7B,MAAM;GACL,aAAa,MAAM;EACnB,EACD;CACD;CAED,OAAO,UAAU;CAEjB,OAAO,QAAQ,UAAU;CAEzB,OAAO,QAAQ,eAAe"}
@@ -1,48 +0,0 @@
1
-
2
-
3
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
4
- import { require_p_finally } from "../../../p-finally@1.0.0/node_modules/p-finally/index.js";
5
-
6
- //#region ../../node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js
7
- var require_p_timeout = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js": ((exports, module) => {
8
- const pFinally = require_p_finally();
9
- var TimeoutError = class extends Error {
10
- constructor(message) {
11
- super(message);
12
- this.name = "TimeoutError";
13
- }
14
- };
15
- const pTimeout = (promise, milliseconds, fallback) => new Promise((resolve, reject) => {
16
- if (typeof milliseconds !== "number" || milliseconds < 0) throw new TypeError("Expected `milliseconds` to be a positive number");
17
- if (milliseconds === Infinity) {
18
- resolve(promise);
19
- return;
20
- }
21
- const timer = setTimeout(() => {
22
- if (typeof fallback === "function") {
23
- try {
24
- resolve(fallback());
25
- } catch (error) {
26
- reject(error);
27
- }
28
- return;
29
- }
30
- const message = typeof fallback === "string" ? fallback : `Promise timed out after ${milliseconds} milliseconds`;
31
- const timeoutError = fallback instanceof Error ? fallback : new TimeoutError(message);
32
- if (typeof promise.cancel === "function") promise.cancel();
33
- reject(timeoutError);
34
- }, milliseconds);
35
- pFinally(promise.then(resolve, reject), () => {
36
- clearTimeout(timer);
37
- });
38
- });
39
- module.exports = pTimeout;
40
- module.exports.default = pTimeout;
41
- module.exports.TimeoutError = TimeoutError;
42
- }) });
43
-
44
- //#endregion
45
- export default require_p_timeout();
46
-
47
- export { require_p_timeout };
48
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/p-timeout@3.2.0/node_modules/p-timeout/index.js"],"sourcesContent":["'use strict';\n\nconst pFinally = require('p-finally');\n\nclass TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\nconst pTimeout = (promise, milliseconds, fallback) => new Promise((resolve, reject) => {\n\tif (typeof milliseconds !== 'number' || milliseconds < 0) {\n\t\tthrow new TypeError('Expected `milliseconds` to be a positive number');\n\t}\n\n\tif (milliseconds === Infinity) {\n\t\tresolve(promise);\n\t\treturn;\n\t}\n\n\tconst timer = setTimeout(() => {\n\t\tif (typeof fallback === 'function') {\n\t\t\ttry {\n\t\t\t\tresolve(fallback());\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst message = typeof fallback === 'string' ? fallback : `Promise timed out after ${milliseconds} milliseconds`;\n\t\tconst timeoutError = fallback instanceof Error ? fallback : new TimeoutError(message);\n\n\t\tif (typeof promise.cancel === 'function') {\n\t\t\tpromise.cancel();\n\t\t}\n\n\t\treject(timeoutError);\n\t}, milliseconds);\n\n\t// TODO: Use native `finally` keyword when targeting Node.js 10\n\tpFinally(\n\t\t// eslint-disable-next-line promise/prefer-await-to-then\n\t\tpromise.then(resolve, reject),\n\t\t() => {\n\t\t\tclearTimeout(timer);\n\t\t}\n\t);\n});\n\nmodule.exports = pTimeout;\n// TODO: Remove this for the next major release\nmodule.exports.default = pTimeout;\n\nmodule.exports.TimeoutError = TimeoutError;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;CAEA,MAAM;CAEN,IAAM,eAAN,cAA2B,MAAM;EAChC,YAAY,SAAS;GACpB,MAAM,QAAQ;GACd,KAAK,OAAO;EACZ;CACD;CAED,MAAM,WAAW,CAAC,SAAS,cAAc,aAAa,IAAI,QAAQ,CAAC,SAAS,WAAW;AACtF,MAAI,OAAO,iBAAiB,YAAY,eAAe,EACtD,OAAM,IAAI,UAAU;AAGrB,MAAI,iBAAiB,UAAU;GAC9B,QAAQ,QAAQ;AAChB;EACA;EAED,MAAM,QAAQ,WAAW,MAAM;AAC9B,OAAI,OAAO,aAAa,YAAY;AACnC,QAAI;KACH,QAAQ,UAAU,CAAC;IACnB,SAAQ,OAAO;KACf,OAAO,MAAM;IACb;AAED;GACA;GAED,MAAM,UAAU,OAAO,aAAa,WAAW,WAAW,CAAC,wBAAwB,EAAE,aAAa,aAAa,CAAC;GAChH,MAAM,eAAe,oBAAoB,QAAQ,WAAW,IAAI,aAAa;AAE7E,OAAI,OAAO,QAAQ,WAAW,YAC7B,QAAQ,QAAQ;GAGjB,OAAO,aAAa;EACpB,GAAE,aAAa;EAGhB,SAEC,QAAQ,KAAK,SAAS,OAAO,EAC7B,MAAM;GACL,aAAa,MAAM;EACnB,EACD;CACD;CAED,OAAO,UAAU;CAEjB,OAAO,QAAQ,UAAU;CAEzB,OAAO,QAAQ,eAAe"}
@@ -1,16 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_retry$1 = require('./lib/retry.cjs');
3
-
4
- //#region ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js
5
- var require_retry$2 = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js": ((exports, module) => {
6
- module.exports = require_retry$1.require_retry();
7
- }) });
8
-
9
- //#endregion
10
- Object.defineProperty(exports, 'default', {
11
- enumerable: true,
12
- get: function () {
13
- return require_retry$2();
14
- }
15
- });
16
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"],"sourcesContent":["module.exports = require('./lib/retry');"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,OAAO"}
@@ -1,13 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_retry } from "./lib/retry.js";
3
-
4
- //#region ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js
5
- var require_retry$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js": ((exports, module) => {
6
- module.exports = require_retry();
7
- }) });
8
-
9
- //#endregion
10
- export default require_retry$2();
11
-
12
- export { require_retry$2 as require_retry };
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/index.js"],"sourcesContent":["module.exports = require('./lib/retry');"],"x_google_ignoreList":[0],"mappings":";;;;;CAAA,OAAO"}
@@ -1,77 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_retry_operation$1 = require('./retry_operation.cjs');
3
-
4
- //#region ../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js
5
- var require_retry = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/retry@0.13.1/node_modules/retry/lib/retry.js": ((exports) => {
6
- var RetryOperation = require_retry_operation$1.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
- Object.defineProperty(exports, 'default', {
72
- enumerable: true,
73
- get: function () {
74
- return require_retry();
75
- }
76
- });
77
- //# sourceMappingURL=retry.cjs.map