shieldcortex 4.12.12 → 4.12.14

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 (285) hide show
  1. package/dashboard/.next/standalone/dashboard/.next/BUILD_ID +1 -1
  2. package/dashboard/.next/standalone/dashboard/.next/build-manifest.json +2 -2
  3. package/dashboard/.next/standalone/dashboard/.next/prerender-manifest.json +3 -3
  4. package/dashboard/.next/standalone/dashboard/.next/required-server-files.json +6 -0
  5. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.html +2 -2
  6. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.rsc +1 -1
  7. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  10. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  11. package/dashboard/.next/standalone/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.html +1 -1
  13. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.rsc +1 -1
  14. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  15. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  16. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  17. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  18. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  19. package/dashboard/.next/standalone/dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  20. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.html +1 -1
  21. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.rsc +1 -1
  22. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/!KGRhc2hib2FyZCk/admin/__PAGE__.segment.rsc +1 -1
  23. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/!KGRhc2hib2FyZCk/admin.segment.rsc +1 -1
  24. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  25. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/_full.segment.rsc +1 -1
  26. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/_head.segment.rsc +1 -1
  27. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/_index.segment.rsc +1 -1
  28. package/dashboard/.next/standalone/dashboard/.next/server/app/admin.segments/_tree.segment.rsc +1 -1
  29. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.html +1 -1
  30. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.rsc +1 -1
  31. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/!KGRhc2hib2FyZCk/cloud/__PAGE__.segment.rsc +1 -1
  32. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/!KGRhc2hib2FyZCk/cloud.segment.rsc +1 -1
  33. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  34. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/_full.segment.rsc +1 -1
  35. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/_head.segment.rsc +1 -1
  36. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/_index.segment.rsc +1 -1
  37. package/dashboard/.next/standalone/dashboard/.next/server/app/cloud.segments/_tree.segment.rsc +1 -1
  38. package/dashboard/.next/standalone/dashboard/.next/server/app/index.html +1 -1
  39. package/dashboard/.next/standalone/dashboard/.next/server/app/index.rsc +1 -1
  40. package/dashboard/.next/standalone/dashboard/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  41. package/dashboard/.next/standalone/dashboard/.next/server/app/index.segments/_full.segment.rsc +1 -1
  42. package/dashboard/.next/standalone/dashboard/.next/server/app/index.segments/_head.segment.rsc +1 -1
  43. package/dashboard/.next/standalone/dashboard/.next/server/app/index.segments/_index.segment.rsc +1 -1
  44. package/dashboard/.next/standalone/dashboard/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  45. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.html +1 -1
  46. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.rsc +1 -1
  47. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/!KGRhc2hib2FyZCk/memory/capture/__PAGE__.segment.rsc +1 -1
  48. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/!KGRhc2hib2FyZCk/memory/capture.segment.rsc +1 -1
  49. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +1 -1
  50. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  51. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/_full.segment.rsc +1 -1
  52. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/_head.segment.rsc +1 -1
  53. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/_index.segment.rsc +1 -1
  54. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/capture.segments/_tree.segment.rsc +1 -1
  55. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.html +1 -1
  56. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.rsc +1 -1
  57. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/!KGRhc2hib2FyZCk/memory/graph/__PAGE__.segment.rsc +1 -1
  58. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/!KGRhc2hib2FyZCk/memory/graph.segment.rsc +1 -1
  59. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +1 -1
  60. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  61. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/_full.segment.rsc +1 -1
  62. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/_head.segment.rsc +1 -1
  63. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/_index.segment.rsc +1 -1
  64. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/graph.segments/_tree.segment.rsc +1 -1
  65. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.html +1 -1
  66. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.rsc +1 -1
  67. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/!KGRhc2hib2FyZCk/memory/recall/__PAGE__.segment.rsc +1 -1
  68. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/!KGRhc2hib2FyZCk/memory/recall.segment.rsc +1 -1
  69. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +1 -1
  70. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  71. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/_full.segment.rsc +1 -1
  72. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/_head.segment.rsc +1 -1
  73. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/_index.segment.rsc +1 -1
  74. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/recall.segments/_tree.segment.rsc +1 -1
  75. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.html +1 -1
  76. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.rsc +1 -1
  77. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/!KGRhc2hib2FyZCk/memory/review/__PAGE__.segment.rsc +1 -1
  78. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/!KGRhc2hib2FyZCk/memory/review.segment.rsc +1 -1
  79. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +1 -1
  80. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  81. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/_full.segment.rsc +1 -1
  82. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/_head.segment.rsc +1 -1
  83. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/_index.segment.rsc +1 -1
  84. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/review.segments/_tree.segment.rsc +1 -1
  85. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.html +1 -1
  86. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.rsc +1 -1
  87. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/!KGRhc2hib2FyZCk/memory/timeline/__PAGE__.segment.rsc +1 -1
  88. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/!KGRhc2hib2FyZCk/memory/timeline.segment.rsc +1 -1
  89. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +1 -1
  90. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  91. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/_full.segment.rsc +1 -1
  92. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/_head.segment.rsc +1 -1
  93. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/_index.segment.rsc +1 -1
  94. package/dashboard/.next/standalone/dashboard/.next/server/app/memory/timeline.segments/_tree.segment.rsc +1 -1
  95. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.html +1 -1
  96. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.rsc +1 -1
  97. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory/__PAGE__.segment.rsc +1 -1
  98. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk/memory.segment.rsc +1 -1
  99. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  100. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/_full.segment.rsc +1 -1
  101. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/_head.segment.rsc +1 -1
  102. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/_index.segment.rsc +1 -1
  103. package/dashboard/.next/standalone/dashboard/.next/server/app/memory.segments/_tree.segment.rsc +1 -1
  104. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.html +1 -1
  105. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.rsc +1 -1
  106. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/!KGRhc2hib2FyZCk/overview/__PAGE__.segment.rsc +1 -1
  107. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/!KGRhc2hib2FyZCk/overview.segment.rsc +1 -1
  108. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  109. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/_full.segment.rsc +1 -1
  110. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/_head.segment.rsc +1 -1
  111. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/_index.segment.rsc +1 -1
  112. package/dashboard/.next/standalone/dashboard/.next/server/app/overview.segments/_tree.segment.rsc +1 -1
  113. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.html +1 -1
  114. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.rsc +1 -1
  115. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/!KGRhc2hib2FyZCk/protection/audit/__PAGE__.segment.rsc +1 -1
  116. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/!KGRhc2hib2FyZCk/protection/audit.segment.rsc +1 -1
  117. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/!KGRhc2hib2FyZCk/protection.segment.rsc +1 -1
  118. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  119. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/_full.segment.rsc +1 -1
  120. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/_head.segment.rsc +1 -1
  121. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/_index.segment.rsc +1 -1
  122. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/audit.segments/_tree.segment.rsc +1 -1
  123. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.html +1 -1
  124. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.rsc +1 -1
  125. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/!KGRhc2hib2FyZCk/protection/intercepts/__PAGE__.segment.rsc +1 -1
  126. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/!KGRhc2hib2FyZCk/protection/intercepts.segment.rsc +1 -1
  127. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/!KGRhc2hib2FyZCk/protection.segment.rsc +1 -1
  128. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  129. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/_full.segment.rsc +1 -1
  130. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/_head.segment.rsc +1 -1
  131. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/_index.segment.rsc +1 -1
  132. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/intercepts.segments/_tree.segment.rsc +1 -1
  133. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.html +1 -1
  134. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.rsc +1 -1
  135. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/!KGRhc2hib2FyZCk/protection/iron-dome/__PAGE__.segment.rsc +1 -1
  136. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/!KGRhc2hib2FyZCk/protection/iron-dome.segment.rsc +1 -1
  137. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/!KGRhc2hib2FyZCk/protection.segment.rsc +1 -1
  138. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  139. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/_full.segment.rsc +1 -1
  140. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/_head.segment.rsc +1 -1
  141. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/_index.segment.rsc +1 -1
  142. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/iron-dome.segments/_tree.segment.rsc +1 -1
  143. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.html +1 -1
  144. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.rsc +1 -1
  145. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/!KGRhc2hib2FyZCk/protection/policies/__PAGE__.segment.rsc +1 -1
  146. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/!KGRhc2hib2FyZCk/protection/policies.segment.rsc +1 -1
  147. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/!KGRhc2hib2FyZCk/protection.segment.rsc +1 -1
  148. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  149. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/_full.segment.rsc +1 -1
  150. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/_head.segment.rsc +1 -1
  151. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/_index.segment.rsc +1 -1
  152. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/policies.segments/_tree.segment.rsc +1 -1
  153. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.html +1 -1
  154. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.rsc +1 -1
  155. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/!KGRhc2hib2FyZCk/protection/quarantine/__PAGE__.segment.rsc +1 -1
  156. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/!KGRhc2hib2FyZCk/protection/quarantine.segment.rsc +1 -1
  157. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/!KGRhc2hib2FyZCk/protection.segment.rsc +1 -1
  158. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  159. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/_full.segment.rsc +1 -1
  160. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/_head.segment.rsc +1 -1
  161. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/_index.segment.rsc +1 -1
  162. package/dashboard/.next/standalone/dashboard/.next/server/app/protection/quarantine.segments/_tree.segment.rsc +1 -1
  163. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.html +1 -1
  164. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.rsc +1 -1
  165. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/!KGRhc2hib2FyZCk/protection/__PAGE__.segment.rsc +1 -1
  166. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/!KGRhc2hib2FyZCk/protection.segment.rsc +1 -1
  167. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  168. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/_full.segment.rsc +1 -1
  169. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/_head.segment.rsc +1 -1
  170. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/_index.segment.rsc +1 -1
  171. package/dashboard/.next/standalone/dashboard/.next/server/app/protection.segments/_tree.segment.rsc +1 -1
  172. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.html +1 -1
  173. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.rsc +1 -1
  174. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/!KGRhc2hib2FyZCk/settings/__PAGE__.segment.rsc +1 -1
  175. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/!KGRhc2hib2FyZCk/settings.segment.rsc +1 -1
  176. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  177. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  178. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  179. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/_index.segment.rsc +1 -1
  180. package/dashboard/.next/standalone/dashboard/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  181. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.html +1 -1
  182. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.rsc +1 -1
  183. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/!KGRhc2hib2FyZCk/supply-chain/xray/__PAGE__.segment.rsc +1 -1
  184. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/!KGRhc2hib2FyZCk/supply-chain/xray.segment.rsc +1 -1
  185. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/!KGRhc2hib2FyZCk/supply-chain.segment.rsc +1 -1
  186. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  187. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/_full.segment.rsc +1 -1
  188. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/_head.segment.rsc +1 -1
  189. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/_index.segment.rsc +1 -1
  190. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain/xray.segments/_tree.segment.rsc +1 -1
  191. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.html +1 -1
  192. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.rsc +1 -1
  193. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/!KGRhc2hib2FyZCk/supply-chain/__PAGE__.segment.rsc +1 -1
  194. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/!KGRhc2hib2FyZCk/supply-chain.segment.rsc +1 -1
  195. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  196. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/_full.segment.rsc +1 -1
  197. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/_head.segment.rsc +1 -1
  198. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/_index.segment.rsc +1 -1
  199. package/dashboard/.next/standalone/dashboard/.next/server/app/supply-chain.segments/_tree.segment.rsc +1 -1
  200. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.html +1 -1
  201. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.rsc +1 -1
  202. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/!KGRhc2hib2FyZCk/xray/__PAGE__.segment.rsc +1 -1
  203. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/!KGRhc2hib2FyZCk/xray.segment.rsc +1 -1
  204. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/!KGRhc2hib2FyZCk.segment.rsc +1 -1
  205. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/_full.segment.rsc +1 -1
  206. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/_head.segment.rsc +1 -1
  207. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/_index.segment.rsc +1 -1
  208. package/dashboard/.next/standalone/dashboard/.next/server/app/xray.segments/_tree.segment.rsc +1 -1
  209. package/dashboard/.next/standalone/dashboard/.next/server/pages/404.html +1 -1
  210. package/dashboard/.next/standalone/dashboard/.next/server/pages/500.html +2 -2
  211. package/dashboard/.next/standalone/dashboard/.next/server/server-reference-manifest.js +1 -1
  212. package/dashboard/.next/standalone/dashboard/.next/server/server-reference-manifest.json +1 -1
  213. package/dashboard/.next/standalone/dashboard/server.js +1 -1
  214. package/dist/setup/openclaw.js +13 -39
  215. package/package.json +1 -1
  216. package/plugins/openclaw/dist/index.js +6 -3
  217. package/plugins/openclaw/dist/openclaw.plugin.json +2 -1
  218. package/dashboard/.next/standalone/dashboard/node_modules/@img/colour/color.cjs +0 -1594
  219. package/dashboard/.next/standalone/dashboard/node_modules/@img/colour/index.cjs +0 -1
  220. package/dashboard/.next/standalone/dashboard/node_modules/@img/colour/package.json +0 -45
  221. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
  222. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -221
  223. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
  224. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  225. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -42
  226. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
  227. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
  228. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -221
  229. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
  230. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  231. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -42
  232. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
  233. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  234. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-linux-x64/package.json +0 -46
  235. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  236. package/dashboard/.next/standalone/dashboard/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -46
  237. package/dashboard/.next/standalone/dashboard/node_modules/detect-libc/lib/detect-libc.js +0 -313
  238. package/dashboard/.next/standalone/dashboard/node_modules/detect-libc/lib/elf.js +0 -39
  239. package/dashboard/.next/standalone/dashboard/node_modules/detect-libc/lib/filesystem.js +0 -51
  240. package/dashboard/.next/standalone/dashboard/node_modules/detect-libc/lib/process.js +0 -24
  241. package/dashboard/.next/standalone/dashboard/node_modules/detect-libc/package.json +0 -44
  242. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/channel.js +0 -177
  243. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/colour.js +0 -195
  244. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/composite.js +0 -212
  245. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/constructor.js +0 -499
  246. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/index.js +0 -16
  247. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/input.js +0 -809
  248. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/is.js +0 -143
  249. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/libvips.js +0 -207
  250. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/operation.js +0 -1016
  251. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/output.js +0 -1666
  252. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/resize.js +0 -595
  253. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/sharp.js +0 -121
  254. package/dashboard/.next/standalone/dashboard/node_modules/sharp/lib/utility.js +0 -291
  255. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
  256. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/classes/range.js +0 -557
  257. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/classes/semver.js +0 -333
  258. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
  259. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
  260. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
  261. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
  262. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
  263. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
  264. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
  265. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
  266. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
  267. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
  268. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
  269. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
  270. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
  271. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
  272. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
  273. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
  274. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
  275. package/dashboard/.next/standalone/dashboard/node_modules/sharp/node_modules/semver/package.json +0 -78
  276. package/dashboard/.next/standalone/dashboard/node_modules/sharp/package.json +0 -202
  277. package/dashboard/.next/standalone/node_modules/@img/colour/package.json +0 -45
  278. package/dashboard/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -42
  279. package/dashboard/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -42
  280. package/dashboard/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +0 -46
  281. package/dashboard/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -46
  282. package/dashboard/.next/standalone/node_modules/detect-libc/package.json +0 -44
  283. /package/dashboard/.next/standalone/dashboard/.next/static/{5HSptYF0HaABlloA3Hir3 → P2sW3M-qHaW9VS9YwCEg3}/_buildManifest.js +0 -0
  284. /package/dashboard/.next/standalone/dashboard/.next/static/{5HSptYF0HaABlloA3Hir3 → P2sW3M-qHaW9VS9YwCEg3}/_clientMiddlewareManifest.json +0 -0
  285. /package/dashboard/.next/standalone/dashboard/.next/static/{5HSptYF0HaABlloA3Hir3 → P2sW3M-qHaW9VS9YwCEg3}/_ssgManifest.js +0 -0
@@ -1,557 +0,0 @@
1
- 'use strict'
2
-
3
- const SPACE_CHARACTERS = /\s+/g
4
-
5
- // hoisted class for cyclic dependency
6
- class Range {
7
- constructor (range, options) {
8
- options = parseOptions(options)
9
-
10
- if (range instanceof Range) {
11
- if (
12
- range.loose === !!options.loose &&
13
- range.includePrerelease === !!options.includePrerelease
14
- ) {
15
- return range
16
- } else {
17
- return new Range(range.raw, options)
18
- }
19
- }
20
-
21
- if (range instanceof Comparator) {
22
- // just put it in the set and return
23
- this.raw = range.value
24
- this.set = [[range]]
25
- this.formatted = undefined
26
- return this
27
- }
28
-
29
- this.options = options
30
- this.loose = !!options.loose
31
- this.includePrerelease = !!options.includePrerelease
32
-
33
- // First reduce all whitespace as much as possible so we do not have to rely
34
- // on potentially slow regexes like \s*. This is then stored and used for
35
- // future error messages as well.
36
- this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')
37
-
38
- // First, split on ||
39
- this.set = this.raw
40
- .split('||')
41
- // map the range to a 2d array of comparators
42
- .map(r => this.parseRange(r.trim()))
43
- // throw out any comparator lists that are empty
44
- // this generally means that it was not a valid range, which is allowed
45
- // in loose mode, but will still throw if the WHOLE range is invalid.
46
- .filter(c => c.length)
47
-
48
- if (!this.set.length) {
49
- throw new TypeError(`Invalid SemVer Range: ${this.raw}`)
50
- }
51
-
52
- // if we have any that are not the null set, throw out null sets.
53
- if (this.set.length > 1) {
54
- // keep the first one, in case they're all null sets
55
- const first = this.set[0]
56
- this.set = this.set.filter(c => !isNullSet(c[0]))
57
- if (this.set.length === 0) {
58
- this.set = [first]
59
- } else if (this.set.length > 1) {
60
- // if we have any that are *, then the range is just *
61
- for (const c of this.set) {
62
- if (c.length === 1 && isAny(c[0])) {
63
- this.set = [c]
64
- break
65
- }
66
- }
67
- }
68
- }
69
-
70
- this.formatted = undefined
71
- }
72
-
73
- get range () {
74
- if (this.formatted === undefined) {
75
- this.formatted = ''
76
- for (let i = 0; i < this.set.length; i++) {
77
- if (i > 0) {
78
- this.formatted += '||'
79
- }
80
- const comps = this.set[i]
81
- for (let k = 0; k < comps.length; k++) {
82
- if (k > 0) {
83
- this.formatted += ' '
84
- }
85
- this.formatted += comps[k].toString().trim()
86
- }
87
- }
88
- }
89
- return this.formatted
90
- }
91
-
92
- format () {
93
- return this.range
94
- }
95
-
96
- toString () {
97
- return this.range
98
- }
99
-
100
- parseRange (range) {
101
- // memoize range parsing for performance.
102
- // this is a very hot path, and fully deterministic.
103
- const memoOpts =
104
- (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |
105
- (this.options.loose && FLAG_LOOSE)
106
- const memoKey = memoOpts + ':' + range
107
- const cached = cache.get(memoKey)
108
- if (cached) {
109
- return cached
110
- }
111
-
112
- const loose = this.options.loose
113
- // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
114
- const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
115
- range = range.replace(hr, hyphenReplace(this.options.includePrerelease))
116
- debug('hyphen replace', range)
117
-
118
- // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
119
- range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
120
- debug('comparator trim', range)
121
-
122
- // `~ 1.2.3` => `~1.2.3`
123
- range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
124
- debug('tilde trim', range)
125
-
126
- // `^ 1.2.3` => `^1.2.3`
127
- range = range.replace(re[t.CARETTRIM], caretTrimReplace)
128
- debug('caret trim', range)
129
-
130
- // At this point, the range is completely trimmed and
131
- // ready to be split into comparators.
132
-
133
- let rangeList = range
134
- .split(' ')
135
- .map(comp => parseComparator(comp, this.options))
136
- .join(' ')
137
- .split(/\s+/)
138
- // >=0.0.0 is equivalent to *
139
- .map(comp => replaceGTE0(comp, this.options))
140
-
141
- if (loose) {
142
- // in loose mode, throw out any that are not valid comparators
143
- rangeList = rangeList.filter(comp => {
144
- debug('loose invalid filter', comp, this.options)
145
- return !!comp.match(re[t.COMPARATORLOOSE])
146
- })
147
- }
148
- debug('range list', rangeList)
149
-
150
- // if any comparators are the null set, then replace with JUST null set
151
- // if more than one comparator, remove any * comparators
152
- // also, don't include the same comparator more than once
153
- const rangeMap = new Map()
154
- const comparators = rangeList.map(comp => new Comparator(comp, this.options))
155
- for (const comp of comparators) {
156
- if (isNullSet(comp)) {
157
- return [comp]
158
- }
159
- rangeMap.set(comp.value, comp)
160
- }
161
- if (rangeMap.size > 1 && rangeMap.has('')) {
162
- rangeMap.delete('')
163
- }
164
-
165
- const result = [...rangeMap.values()]
166
- cache.set(memoKey, result)
167
- return result
168
- }
169
-
170
- intersects (range, options) {
171
- if (!(range instanceof Range)) {
172
- throw new TypeError('a Range is required')
173
- }
174
-
175
- return this.set.some((thisComparators) => {
176
- return (
177
- isSatisfiable(thisComparators, options) &&
178
- range.set.some((rangeComparators) => {
179
- return (
180
- isSatisfiable(rangeComparators, options) &&
181
- thisComparators.every((thisComparator) => {
182
- return rangeComparators.every((rangeComparator) => {
183
- return thisComparator.intersects(rangeComparator, options)
184
- })
185
- })
186
- )
187
- })
188
- )
189
- })
190
- }
191
-
192
- // if ANY of the sets match ALL of its comparators, then pass
193
- test (version) {
194
- if (!version) {
195
- return false
196
- }
197
-
198
- if (typeof version === 'string') {
199
- try {
200
- version = new SemVer(version, this.options)
201
- } catch (er) {
202
- return false
203
- }
204
- }
205
-
206
- for (let i = 0; i < this.set.length; i++) {
207
- if (testSet(this.set[i], version, this.options)) {
208
- return true
209
- }
210
- }
211
- return false
212
- }
213
- }
214
-
215
- module.exports = Range
216
-
217
- const LRU = require('../internal/lrucache')
218
- const cache = new LRU()
219
-
220
- const parseOptions = require('../internal/parse-options')
221
- const Comparator = require('./comparator')
222
- const debug = require('../internal/debug')
223
- const SemVer = require('./semver')
224
- const {
225
- safeRe: re,
226
- t,
227
- comparatorTrimReplace,
228
- tildeTrimReplace,
229
- caretTrimReplace,
230
- } = require('../internal/re')
231
- const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')
232
-
233
- const isNullSet = c => c.value === '<0.0.0-0'
234
- const isAny = c => c.value === ''
235
-
236
- // take a set of comparators and determine whether there
237
- // exists a version which can satisfy it
238
- const isSatisfiable = (comparators, options) => {
239
- let result = true
240
- const remainingComparators = comparators.slice()
241
- let testComparator = remainingComparators.pop()
242
-
243
- while (result && remainingComparators.length) {
244
- result = remainingComparators.every((otherComparator) => {
245
- return testComparator.intersects(otherComparator, options)
246
- })
247
-
248
- testComparator = remainingComparators.pop()
249
- }
250
-
251
- return result
252
- }
253
-
254
- // comprised of xranges, tildes, stars, and gtlt's at this point.
255
- // already replaced the hyphen ranges
256
- // turn into a set of JUST comparators.
257
- const parseComparator = (comp, options) => {
258
- comp = comp.replace(re[t.BUILD], '')
259
- debug('comp', comp, options)
260
- comp = replaceCarets(comp, options)
261
- debug('caret', comp)
262
- comp = replaceTildes(comp, options)
263
- debug('tildes', comp)
264
- comp = replaceXRanges(comp, options)
265
- debug('xrange', comp)
266
- comp = replaceStars(comp, options)
267
- debug('stars', comp)
268
- return comp
269
- }
270
-
271
- const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
272
-
273
- // ~, ~> --> * (any, kinda silly)
274
- // ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0
275
- // ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0
276
- // ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
277
- // ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
278
- // ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
279
- // ~0.0.1 --> >=0.0.1 <0.1.0-0
280
- const replaceTildes = (comp, options) => {
281
- return comp
282
- .trim()
283
- .split(/\s+/)
284
- .map((c) => replaceTilde(c, options))
285
- .join(' ')
286
- }
287
-
288
- const replaceTilde = (comp, options) => {
289
- const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]
290
- return comp.replace(r, (_, M, m, p, pr) => {
291
- debug('tilde', comp, _, M, m, p, pr)
292
- let ret
293
-
294
- if (isX(M)) {
295
- ret = ''
296
- } else if (isX(m)) {
297
- ret = `>=${M}.0.0 <${+M + 1}.0.0-0`
298
- } else if (isX(p)) {
299
- // ~1.2 == >=1.2.0 <1.3.0-0
300
- ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`
301
- } else if (pr) {
302
- debug('replaceTilde pr', pr)
303
- ret = `>=${M}.${m}.${p}-${pr
304
- } <${M}.${+m + 1}.0-0`
305
- } else {
306
- // ~1.2.3 == >=1.2.3 <1.3.0-0
307
- ret = `>=${M}.${m}.${p
308
- } <${M}.${+m + 1}.0-0`
309
- }
310
-
311
- debug('tilde return', ret)
312
- return ret
313
- })
314
- }
315
-
316
- // ^ --> * (any, kinda silly)
317
- // ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0
318
- // ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0
319
- // ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
320
- // ^1.2.3 --> >=1.2.3 <2.0.0-0
321
- // ^1.2.0 --> >=1.2.0 <2.0.0-0
322
- // ^0.0.1 --> >=0.0.1 <0.0.2-0
323
- // ^0.1.0 --> >=0.1.0 <0.2.0-0
324
- const replaceCarets = (comp, options) => {
325
- return comp
326
- .trim()
327
- .split(/\s+/)
328
- .map((c) => replaceCaret(c, options))
329
- .join(' ')
330
- }
331
-
332
- const replaceCaret = (comp, options) => {
333
- debug('caret', comp, options)
334
- const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]
335
- const z = options.includePrerelease ? '-0' : ''
336
- return comp.replace(r, (_, M, m, p, pr) => {
337
- debug('caret', comp, _, M, m, p, pr)
338
- let ret
339
-
340
- if (isX(M)) {
341
- ret = ''
342
- } else if (isX(m)) {
343
- ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`
344
- } else if (isX(p)) {
345
- if (M === '0') {
346
- ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`
347
- } else {
348
- ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`
349
- }
350
- } else if (pr) {
351
- debug('replaceCaret pr', pr)
352
- if (M === '0') {
353
- if (m === '0') {
354
- ret = `>=${M}.${m}.${p}-${pr
355
- } <${M}.${m}.${+p + 1}-0`
356
- } else {
357
- ret = `>=${M}.${m}.${p}-${pr
358
- } <${M}.${+m + 1}.0-0`
359
- }
360
- } else {
361
- ret = `>=${M}.${m}.${p}-${pr
362
- } <${+M + 1}.0.0-0`
363
- }
364
- } else {
365
- debug('no pr')
366
- if (M === '0') {
367
- if (m === '0') {
368
- ret = `>=${M}.${m}.${p
369
- }${z} <${M}.${m}.${+p + 1}-0`
370
- } else {
371
- ret = `>=${M}.${m}.${p
372
- }${z} <${M}.${+m + 1}.0-0`
373
- }
374
- } else {
375
- ret = `>=${M}.${m}.${p
376
- } <${+M + 1}.0.0-0`
377
- }
378
- }
379
-
380
- debug('caret return', ret)
381
- return ret
382
- })
383
- }
384
-
385
- const replaceXRanges = (comp, options) => {
386
- debug('replaceXRanges', comp, options)
387
- return comp
388
- .split(/\s+/)
389
- .map((c) => replaceXRange(c, options))
390
- .join(' ')
391
- }
392
-
393
- const replaceXRange = (comp, options) => {
394
- comp = comp.trim()
395
- const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]
396
- return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
397
- debug('xRange', comp, ret, gtlt, M, m, p, pr)
398
- const xM = isX(M)
399
- const xm = xM || isX(m)
400
- const xp = xm || isX(p)
401
- const anyX = xp
402
-
403
- if (gtlt === '=' && anyX) {
404
- gtlt = ''
405
- }
406
-
407
- // if we're including prereleases in the match, then we need
408
- // to fix this to -0, the lowest possible prerelease value
409
- pr = options.includePrerelease ? '-0' : ''
410
-
411
- if (xM) {
412
- if (gtlt === '>' || gtlt === '<') {
413
- // nothing is allowed
414
- ret = '<0.0.0-0'
415
- } else {
416
- // nothing is forbidden
417
- ret = '*'
418
- }
419
- } else if (gtlt && anyX) {
420
- // we know patch is an x, because we have any x at all.
421
- // replace X with 0
422
- if (xm) {
423
- m = 0
424
- }
425
- p = 0
426
-
427
- if (gtlt === '>') {
428
- // >1 => >=2.0.0
429
- // >1.2 => >=1.3.0
430
- gtlt = '>='
431
- if (xm) {
432
- M = +M + 1
433
- m = 0
434
- p = 0
435
- } else {
436
- m = +m + 1
437
- p = 0
438
- }
439
- } else if (gtlt === '<=') {
440
- // <=0.7.x is actually <0.8.0, since any 0.7.x should
441
- // pass. Similarly, <=7.x is actually <8.0.0, etc.
442
- gtlt = '<'
443
- if (xm) {
444
- M = +M + 1
445
- } else {
446
- m = +m + 1
447
- }
448
- }
449
-
450
- if (gtlt === '<') {
451
- pr = '-0'
452
- }
453
-
454
- ret = `${gtlt + M}.${m}.${p}${pr}`
455
- } else if (xm) {
456
- ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`
457
- } else if (xp) {
458
- ret = `>=${M}.${m}.0${pr
459
- } <${M}.${+m + 1}.0-0`
460
- }
461
-
462
- debug('xRange return', ret)
463
-
464
- return ret
465
- })
466
- }
467
-
468
- // Because * is AND-ed with everything else in the comparator,
469
- // and '' means "any version", just remove the *s entirely.
470
- const replaceStars = (comp, options) => {
471
- debug('replaceStars', comp, options)
472
- // Looseness is ignored here. star is always as loose as it gets!
473
- return comp
474
- .trim()
475
- .replace(re[t.STAR], '')
476
- }
477
-
478
- const replaceGTE0 = (comp, options) => {
479
- debug('replaceGTE0', comp, options)
480
- return comp
481
- .trim()
482
- .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')
483
- }
484
-
485
- // This function is passed to string.replace(re[t.HYPHENRANGE])
486
- // M, m, patch, prerelease, build
487
- // 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
488
- // 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do
489
- // 1.2 - 3.4 => >=1.2.0 <3.5.0-0
490
- // TODO build?
491
- const hyphenReplace = incPr => ($0,
492
- from, fM, fm, fp, fpr, fb,
493
- to, tM, tm, tp, tpr) => {
494
- if (isX(fM)) {
495
- from = ''
496
- } else if (isX(fm)) {
497
- from = `>=${fM}.0.0${incPr ? '-0' : ''}`
498
- } else if (isX(fp)) {
499
- from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`
500
- } else if (fpr) {
501
- from = `>=${from}`
502
- } else {
503
- from = `>=${from}${incPr ? '-0' : ''}`
504
- }
505
-
506
- if (isX(tM)) {
507
- to = ''
508
- } else if (isX(tm)) {
509
- to = `<${+tM + 1}.0.0-0`
510
- } else if (isX(tp)) {
511
- to = `<${tM}.${+tm + 1}.0-0`
512
- } else if (tpr) {
513
- to = `<=${tM}.${tm}.${tp}-${tpr}`
514
- } else if (incPr) {
515
- to = `<${tM}.${tm}.${+tp + 1}-0`
516
- } else {
517
- to = `<=${to}`
518
- }
519
-
520
- return `${from} ${to}`.trim()
521
- }
522
-
523
- const testSet = (set, version, options) => {
524
- for (let i = 0; i < set.length; i++) {
525
- if (!set[i].test(version)) {
526
- return false
527
- }
528
- }
529
-
530
- if (version.prerelease.length && !options.includePrerelease) {
531
- // Find the set of versions that are allowed to have prereleases
532
- // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
533
- // That should allow `1.2.3-pr.2` to pass.
534
- // However, `1.2.4-alpha.notready` should NOT be allowed,
535
- // even though it's within the range set by the comparators.
536
- for (let i = 0; i < set.length; i++) {
537
- debug(set[i].semver)
538
- if (set[i].semver === Comparator.ANY) {
539
- continue
540
- }
541
-
542
- if (set[i].semver.prerelease.length > 0) {
543
- const allowed = set[i].semver
544
- if (allowed.major === version.major &&
545
- allowed.minor === version.minor &&
546
- allowed.patch === version.patch) {
547
- return true
548
- }
549
- }
550
- }
551
-
552
- // Version has a -pre, but it's not one of the ones we like.
553
- return false
554
- }
555
-
556
- return true
557
- }