just-bash 3.6.0 → 3.6.1

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 (887) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +6 -0
  3. package/dist/bin/chunks/awk2-EPZ2CEQT.js +3 -0
  4. package/dist/bin/chunks/base64-D7ZXJQN6.js +3 -0
  5. package/dist/bin/chunks/bash-4Q4RMIZL.js +3 -0
  6. package/dist/bin/chunks/cat-AST5Y57Y.js +3 -0
  7. package/dist/bin/chunks/chmod-BFP7P5CD.js +3 -0
  8. package/dist/bin/chunks/chunk-26O2G5LX.js +34 -0
  9. package/dist/bin/chunks/chunk-2RDKEB6Z.js +15 -0
  10. package/dist/bin/chunks/chunk-35U2THFB.js +3 -0
  11. package/dist/bin/chunks/chunk-3F7UWBEM.js +17 -0
  12. package/dist/bin/chunks/chunk-3WLAERUX.js +3 -0
  13. package/dist/bin/chunks/chunk-3WZIZUMC.js +8 -0
  14. package/dist/bin/chunks/chunk-4ARWO6Y3.js +4 -0
  15. package/dist/bin/chunks/chunk-4HVMRZ5N.js +8 -0
  16. package/dist/bin/chunks/chunk-5AS7PRVN.js +34 -0
  17. package/dist/bin/chunks/chunk-5GYAEVIB.js +10 -0
  18. package/dist/bin/chunks/chunk-5IPYW47P.js +27 -0
  19. package/dist/bin/chunks/chunk-5ZTIV6TI.js +20 -0
  20. package/dist/bin/chunks/chunk-6C2YS7G6.js +14 -0
  21. package/dist/bin/chunks/chunk-74MYVPDY.js +3 -0
  22. package/dist/bin/chunks/chunk-74UP5NWP.js +3 -0
  23. package/dist/bin/chunks/chunk-7DPD5PK3.js +3 -0
  24. package/dist/bin/chunks/chunk-7LJGZPVP.js +18 -0
  25. package/dist/bin/chunks/chunk-7NEXHFSS.js +3 -0
  26. package/dist/bin/chunks/chunk-7XFMCB5C.js +21 -0
  27. package/dist/bin/chunks/chunk-A53Y4KDG.js +7 -0
  28. package/dist/bin/chunks/chunk-AALAYQ6J.js +17 -0
  29. package/dist/bin/chunks/chunk-AM4WIHAG.js +10 -0
  30. package/dist/bin/chunks/chunk-BC5OXEFJ.js +3 -0
  31. package/dist/bin/chunks/chunk-C5ABXV4P.js +15 -0
  32. package/dist/bin/chunks/chunk-CT6P7ILU.js +3 -0
  33. package/dist/bin/chunks/chunk-CYHG3NVG.js +9 -0
  34. package/dist/bin/chunks/chunk-D7PDAJWE.js +7 -0
  35. package/dist/bin/chunks/chunk-DB3G3UVZ.js +5 -0
  36. package/dist/bin/chunks/chunk-EIUU35ZP.js +37 -0
  37. package/dist/bin/chunks/chunk-EMHJNKV5.js +20 -0
  38. package/dist/bin/chunks/chunk-EPWMLTS6.js +9 -0
  39. package/dist/bin/chunks/chunk-F4QFFLWZ.js +8 -0
  40. package/dist/bin/chunks/chunk-F5R5O2Y6.js +9 -0
  41. package/dist/bin/chunks/chunk-FBEYY2HM.js +13 -0
  42. package/dist/bin/chunks/chunk-FIJBWMXU.js +12 -0
  43. package/dist/bin/chunks/chunk-FMVH4N2P.js +5 -0
  44. package/dist/bin/chunks/chunk-G6W2HMNY.js +7 -0
  45. package/dist/bin/chunks/chunk-GFI5BHZX.js +3 -0
  46. package/dist/bin/chunks/chunk-GJAVHEWO.js +143 -0
  47. package/dist/bin/chunks/chunk-GUVSOVQU.js +8 -0
  48. package/dist/bin/chunks/chunk-H22PAKR6.js +3 -0
  49. package/dist/bin/chunks/chunk-HXOJHK2Z.js +8 -0
  50. package/dist/bin/chunks/chunk-IAAYIH44.js +3 -0
  51. package/dist/bin/chunks/chunk-J7W2CRXT.js +7 -0
  52. package/dist/bin/chunks/chunk-JNWWOKCN.js +6 -0
  53. package/dist/bin/chunks/chunk-JQLGE4OW.js +22 -0
  54. package/dist/bin/chunks/chunk-K3U4M4MF.js +7 -0
  55. package/dist/bin/chunks/chunk-KRXYOWIP.js +12 -0
  56. package/dist/bin/chunks/chunk-L4L2QFS4.js +10 -0
  57. package/dist/bin/chunks/chunk-LU6ZEQNN.js +13 -0
  58. package/dist/bin/chunks/chunk-MLMKRR7L.js +12 -0
  59. package/dist/bin/chunks/chunk-MVN5WALS.js +7 -0
  60. package/dist/bin/chunks/chunk-MYOGTYIH.js +22 -0
  61. package/dist/bin/chunks/chunk-NF5LHCVV.js +275 -0
  62. package/dist/bin/chunks/chunk-OUGDZVL6.js +10 -0
  63. package/dist/bin/chunks/chunk-QCNQD6ME.js +11 -0
  64. package/dist/bin/chunks/chunk-QIDBJNMB.js +3 -0
  65. package/dist/bin/chunks/chunk-QKTQYL37.js +9 -0
  66. package/dist/bin/chunks/chunk-R6CMNMNX.js +22 -0
  67. package/dist/bin/chunks/chunk-RCP3WQND.js +7 -0
  68. package/dist/bin/chunks/chunk-RJG4JS32.js +6 -0
  69. package/dist/bin/chunks/chunk-SIMSIBUA.js +13 -0
  70. package/dist/bin/chunks/chunk-TNB7M24H.js +87 -0
  71. package/dist/bin/chunks/chunk-TU6P6AC2.js +4 -0
  72. package/dist/bin/chunks/chunk-TX4WSLXK.js +101 -0
  73. package/dist/bin/chunks/chunk-U4UY6P77.js +3 -0
  74. package/dist/bin/chunks/chunk-U5BNATW4.js +3 -0
  75. package/dist/bin/chunks/chunk-U7VJCJQR.js +16 -0
  76. package/dist/bin/chunks/chunk-VJE2PQW6.js +15 -0
  77. package/dist/bin/chunks/chunk-W4ENG3BR.js +44 -0
  78. package/dist/bin/chunks/chunk-XUFO4QPW.js +65 -0
  79. package/dist/bin/chunks/chunk-XVKL2UZA.js +4 -0
  80. package/dist/bin/chunks/chunk-YCUNLSHF.js +12 -0
  81. package/dist/bin/chunks/chunk-YDH7Q5WV.js +6 -0
  82. package/dist/bin/chunks/chunk-YDWLU56G.js +26 -0
  83. package/dist/bin/chunks/chunk-YILPYZYP.js +16 -0
  84. package/dist/bin/chunks/chunk-YZQ4SVJV.js +13 -0
  85. package/dist/bin/chunks/chunk-ZKLKNN6B.js +3 -0
  86. package/dist/bin/chunks/column-EGAQ7QMC.js +3 -0
  87. package/dist/bin/chunks/comm-JEJ6GWEA.js +3 -0
  88. package/dist/bin/chunks/cp-7AH7TSQ6.js +3 -0
  89. package/dist/bin/chunks/curl-7FCZQCFU.js +31 -0
  90. package/dist/bin/chunks/cut-OVTLUT2B.js +3 -0
  91. package/dist/bin/chunks/date-MKP5YWWY.js +3 -0
  92. package/dist/bin/chunks/diff-R6QTSWD2.js +3 -0
  93. package/dist/bin/chunks/du-M2PB5NUH.js +3 -0
  94. package/dist/bin/chunks/env-EUSAZGWO.js +3 -0
  95. package/dist/bin/chunks/expand-B4CPOZN5.js +3 -0
  96. package/dist/bin/chunks/expr-AQBMSEFL.js +3 -0
  97. package/dist/bin/chunks/file-22CVQBNS.js +3 -0
  98. package/dist/bin/chunks/find-QYLHUYOP.js +3 -0
  99. package/dist/bin/chunks/flag-coverage-CTPK5ZWJ.js +3 -0
  100. package/dist/bin/chunks/fold-E6A5I4DW.js +3 -0
  101. package/dist/bin/chunks/grep-HI55D7F7.js +3 -0
  102. package/dist/bin/chunks/gzip-2GJMVXCF.js +3 -0
  103. package/dist/bin/chunks/head-ZQIB2GSI.js +3 -0
  104. package/dist/bin/chunks/html-to-markdown-7ZNLM4SQ.js +3 -0
  105. package/dist/bin/chunks/join-KCYMLQ3V.js +3 -0
  106. package/dist/bin/chunks/jq-KNI4FJIL.js +3 -0
  107. package/dist/bin/chunks/js-exec-OWDAX677.js +1617 -0
  108. package/dist/bin/chunks/ls-QCAGDEDW.js +3 -0
  109. package/dist/bin/chunks/md5sum-OPJ77ZY7.js +3 -0
  110. package/dist/bin/chunks/mkdir-3XFSFVPC.js +3 -0
  111. package/dist/bin/chunks/mktemp-5FA55IJS.js +3 -0
  112. package/dist/bin/chunks/mv-UASF6NAX.js +3 -0
  113. package/dist/bin/chunks/nl-HUDE6DQC.js +3 -0
  114. package/dist/bin/chunks/od-CECQKF5P.js +3 -0
  115. package/dist/bin/chunks/paste-SH5RZ4ZO.js +3 -0
  116. package/dist/bin/chunks/printf-PQKUEWX5.js +3 -0
  117. package/dist/bin/chunks/python3-UE36ZXQT.js +23 -0
  118. package/dist/bin/chunks/readlink-4Z75K3AI.js +3 -0
  119. package/dist/bin/chunks/rev-6SA3VC3J.js +3 -0
  120. package/dist/bin/chunks/rg-ULWB5MQG.js +3 -0
  121. package/dist/bin/chunks/rm-NPIAQT6U.js +3 -0
  122. package/dist/bin/chunks/rmdir-57J3AGQU.js +3 -0
  123. package/dist/bin/chunks/sed-XV7BZPKI.js +3 -0
  124. package/dist/bin/chunks/seq-ZVBT2JEI.js +3 -0
  125. package/dist/bin/chunks/sha1sum-JGOB5K4J.js +3 -0
  126. package/dist/bin/chunks/sha256sum-S5DS6Q6N.js +3 -0
  127. package/dist/bin/chunks/sort-UOMFLGRW.js +3 -0
  128. package/dist/bin/chunks/split-IBL3NIVH.js +3 -0
  129. package/dist/bin/chunks/sqlite3-YIM3BYLS.js +3 -0
  130. package/dist/bin/chunks/stat-RKSIL4YV.js +3 -0
  131. package/dist/bin/chunks/strings-AL7T5GDQ.js +3 -0
  132. package/dist/bin/chunks/tac-36B6LBNS.js +3 -0
  133. package/dist/bin/chunks/tail-G4PLDIOK.js +3 -0
  134. package/dist/bin/chunks/tar-YG6SY2RU.js +3 -0
  135. package/dist/bin/chunks/tee-NP4ULCWD.js +3 -0
  136. package/dist/bin/chunks/time-ZMFJL7MD.js +3 -0
  137. package/dist/bin/chunks/timeout-EJIGKZUX.js +3 -0
  138. package/dist/bin/chunks/touch-YE5LMLLE.js +3 -0
  139. package/dist/bin/chunks/tr-7KFUMSUF.js +3 -0
  140. package/dist/bin/chunks/unexpand-67EBVEPB.js +3 -0
  141. package/dist/bin/chunks/uniq-SZDRNEYK.js +3 -0
  142. package/dist/bin/chunks/wc-VLOME6PL.js +3 -0
  143. package/dist/bin/chunks/xan-FVGJAHFV.js +3 -0
  144. package/dist/bin/chunks/xan-view-LYATQWQB.js +3 -0
  145. package/dist/bin/chunks/xargs-CLQL2WFV.js +3 -0
  146. package/dist/bin/chunks/yes-OOBLAITP.js +3 -0
  147. package/dist/bin/chunks/yq-YQ4YFM26.js +3 -0
  148. package/dist/bin/just-bash.js +347 -345
  149. package/dist/bin/shell/chunks/awk2-EPZ2CEQT.js +3 -0
  150. package/dist/bin/shell/chunks/base64-D7ZXJQN6.js +3 -0
  151. package/dist/bin/shell/chunks/bash-4Q4RMIZL.js +3 -0
  152. package/dist/bin/shell/chunks/cat-AST5Y57Y.js +3 -0
  153. package/dist/bin/shell/chunks/chmod-BFP7P5CD.js +3 -0
  154. package/dist/bin/shell/chunks/chunk-26O2G5LX.js +34 -0
  155. package/dist/bin/shell/chunks/chunk-2RDKEB6Z.js +15 -0
  156. package/dist/bin/shell/chunks/chunk-35U2THFB.js +3 -0
  157. package/dist/bin/shell/chunks/chunk-3F7UWBEM.js +17 -0
  158. package/dist/bin/shell/chunks/chunk-3WLAERUX.js +3 -0
  159. package/dist/bin/shell/chunks/chunk-3WZIZUMC.js +8 -0
  160. package/dist/bin/shell/chunks/chunk-4ARWO6Y3.js +4 -0
  161. package/dist/bin/shell/chunks/chunk-4HVMRZ5N.js +8 -0
  162. package/dist/bin/shell/chunks/chunk-5AS7PRVN.js +34 -0
  163. package/dist/bin/shell/chunks/chunk-5GYAEVIB.js +10 -0
  164. package/dist/bin/shell/chunks/chunk-5IPYW47P.js +27 -0
  165. package/dist/bin/shell/chunks/chunk-5ZTIV6TI.js +20 -0
  166. package/dist/bin/shell/chunks/chunk-6C2YS7G6.js +14 -0
  167. package/dist/bin/shell/chunks/chunk-74MYVPDY.js +3 -0
  168. package/dist/bin/shell/chunks/chunk-74UP5NWP.js +3 -0
  169. package/dist/bin/shell/chunks/chunk-7DPD5PK3.js +3 -0
  170. package/dist/bin/shell/chunks/chunk-7LJGZPVP.js +18 -0
  171. package/dist/bin/shell/chunks/chunk-7NEXHFSS.js +3 -0
  172. package/dist/bin/shell/chunks/chunk-7XFMCB5C.js +21 -0
  173. package/dist/bin/shell/chunks/chunk-A53Y4KDG.js +7 -0
  174. package/dist/bin/shell/chunks/chunk-AALAYQ6J.js +17 -0
  175. package/dist/bin/shell/chunks/chunk-AM4WIHAG.js +10 -0
  176. package/dist/bin/shell/chunks/chunk-BC5OXEFJ.js +3 -0
  177. package/dist/bin/shell/chunks/chunk-C5ABXV4P.js +15 -0
  178. package/dist/bin/shell/chunks/chunk-CT6P7ILU.js +3 -0
  179. package/dist/bin/shell/chunks/chunk-CYHG3NVG.js +9 -0
  180. package/dist/bin/shell/chunks/chunk-D7PDAJWE.js +7 -0
  181. package/dist/bin/shell/chunks/chunk-DB3G3UVZ.js +5 -0
  182. package/dist/bin/shell/chunks/chunk-EIUU35ZP.js +37 -0
  183. package/dist/bin/shell/chunks/chunk-EMHJNKV5.js +20 -0
  184. package/dist/bin/shell/chunks/chunk-EPWMLTS6.js +9 -0
  185. package/dist/bin/shell/chunks/chunk-F4QFFLWZ.js +8 -0
  186. package/dist/bin/shell/chunks/chunk-F5R5O2Y6.js +9 -0
  187. package/dist/bin/shell/chunks/chunk-FBEYY2HM.js +13 -0
  188. package/dist/bin/shell/chunks/chunk-FIJBWMXU.js +12 -0
  189. package/dist/bin/shell/chunks/chunk-FMVH4N2P.js +5 -0
  190. package/dist/bin/shell/chunks/chunk-G6W2HMNY.js +7 -0
  191. package/dist/bin/shell/chunks/chunk-GFI5BHZX.js +3 -0
  192. package/dist/bin/shell/chunks/chunk-GJAVHEWO.js +143 -0
  193. package/dist/bin/shell/chunks/chunk-GUVSOVQU.js +8 -0
  194. package/dist/bin/shell/chunks/chunk-H22PAKR6.js +3 -0
  195. package/dist/bin/shell/chunks/chunk-HXOJHK2Z.js +8 -0
  196. package/dist/bin/shell/chunks/chunk-IAAYIH44.js +3 -0
  197. package/dist/bin/shell/chunks/chunk-J7W2CRXT.js +7 -0
  198. package/dist/bin/shell/chunks/chunk-JNWWOKCN.js +6 -0
  199. package/dist/bin/shell/chunks/chunk-JQLGE4OW.js +22 -0
  200. package/dist/bin/shell/chunks/chunk-K3U4M4MF.js +7 -0
  201. package/dist/bin/shell/chunks/chunk-KRXYOWIP.js +12 -0
  202. package/dist/bin/shell/chunks/chunk-L4L2QFS4.js +10 -0
  203. package/dist/bin/shell/chunks/chunk-LU6ZEQNN.js +13 -0
  204. package/dist/bin/shell/chunks/chunk-MLMKRR7L.js +12 -0
  205. package/dist/bin/shell/chunks/chunk-MVN5WALS.js +7 -0
  206. package/dist/bin/shell/chunks/chunk-MYOGTYIH.js +22 -0
  207. package/dist/bin/shell/chunks/chunk-NF5LHCVV.js +275 -0
  208. package/dist/bin/shell/chunks/chunk-OUGDZVL6.js +10 -0
  209. package/dist/bin/shell/chunks/chunk-QCNQD6ME.js +11 -0
  210. package/dist/bin/shell/chunks/chunk-QIDBJNMB.js +3 -0
  211. package/dist/bin/shell/chunks/chunk-QKTQYL37.js +9 -0
  212. package/dist/bin/shell/chunks/chunk-R6CMNMNX.js +22 -0
  213. package/dist/bin/shell/chunks/chunk-RCP3WQND.js +7 -0
  214. package/dist/bin/shell/chunks/chunk-RJG4JS32.js +6 -0
  215. package/dist/bin/shell/chunks/chunk-SIMSIBUA.js +13 -0
  216. package/dist/bin/shell/chunks/chunk-TNB7M24H.js +87 -0
  217. package/dist/bin/shell/chunks/chunk-TU6P6AC2.js +4 -0
  218. package/dist/bin/shell/chunks/chunk-TX4WSLXK.js +101 -0
  219. package/dist/bin/shell/chunks/chunk-U4UY6P77.js +3 -0
  220. package/dist/bin/shell/chunks/chunk-U5BNATW4.js +3 -0
  221. package/dist/bin/shell/chunks/chunk-U7VJCJQR.js +16 -0
  222. package/dist/bin/shell/chunks/chunk-VJE2PQW6.js +15 -0
  223. package/dist/bin/shell/chunks/chunk-W4ENG3BR.js +44 -0
  224. package/dist/bin/shell/chunks/chunk-XUFO4QPW.js +65 -0
  225. package/dist/bin/shell/chunks/chunk-XVKL2UZA.js +4 -0
  226. package/dist/bin/shell/chunks/chunk-YCUNLSHF.js +12 -0
  227. package/dist/bin/shell/chunks/chunk-YDH7Q5WV.js +6 -0
  228. package/dist/bin/shell/chunks/chunk-YDWLU56G.js +26 -0
  229. package/dist/bin/shell/chunks/chunk-YILPYZYP.js +16 -0
  230. package/dist/bin/shell/chunks/chunk-YZQ4SVJV.js +13 -0
  231. package/dist/bin/shell/chunks/chunk-ZKLKNN6B.js +3 -0
  232. package/dist/bin/shell/chunks/column-EGAQ7QMC.js +3 -0
  233. package/dist/bin/shell/chunks/comm-JEJ6GWEA.js +3 -0
  234. package/dist/bin/shell/chunks/cp-7AH7TSQ6.js +3 -0
  235. package/dist/bin/shell/chunks/curl-7FCZQCFU.js +31 -0
  236. package/dist/bin/shell/chunks/cut-OVTLUT2B.js +3 -0
  237. package/dist/bin/shell/chunks/date-MKP5YWWY.js +3 -0
  238. package/dist/bin/shell/chunks/diff-R6QTSWD2.js +3 -0
  239. package/dist/bin/shell/chunks/du-M2PB5NUH.js +3 -0
  240. package/dist/bin/shell/chunks/env-EUSAZGWO.js +3 -0
  241. package/dist/bin/shell/chunks/expand-B4CPOZN5.js +3 -0
  242. package/dist/bin/shell/chunks/expr-AQBMSEFL.js +3 -0
  243. package/dist/bin/shell/chunks/file-22CVQBNS.js +3 -0
  244. package/dist/bin/shell/chunks/find-QYLHUYOP.js +3 -0
  245. package/dist/bin/shell/chunks/flag-coverage-CTPK5ZWJ.js +3 -0
  246. package/dist/bin/shell/chunks/fold-E6A5I4DW.js +3 -0
  247. package/dist/bin/shell/chunks/grep-HI55D7F7.js +3 -0
  248. package/dist/bin/shell/chunks/gzip-2GJMVXCF.js +3 -0
  249. package/dist/bin/shell/chunks/head-ZQIB2GSI.js +3 -0
  250. package/dist/bin/shell/chunks/html-to-markdown-7ZNLM4SQ.js +3 -0
  251. package/dist/bin/shell/chunks/join-KCYMLQ3V.js +3 -0
  252. package/dist/bin/shell/chunks/jq-KNI4FJIL.js +3 -0
  253. package/dist/bin/shell/chunks/js-exec-OWDAX677.js +1617 -0
  254. package/dist/bin/shell/chunks/ls-QCAGDEDW.js +3 -0
  255. package/dist/bin/shell/chunks/md5sum-OPJ77ZY7.js +3 -0
  256. package/dist/bin/shell/chunks/mkdir-3XFSFVPC.js +3 -0
  257. package/dist/bin/shell/chunks/mktemp-5FA55IJS.js +3 -0
  258. package/dist/bin/shell/chunks/mv-UASF6NAX.js +3 -0
  259. package/dist/bin/shell/chunks/nl-HUDE6DQC.js +3 -0
  260. package/dist/bin/shell/chunks/od-CECQKF5P.js +3 -0
  261. package/dist/bin/shell/chunks/paste-SH5RZ4ZO.js +3 -0
  262. package/dist/bin/shell/chunks/printf-PQKUEWX5.js +3 -0
  263. package/dist/bin/shell/chunks/python3-UE36ZXQT.js +23 -0
  264. package/dist/bin/shell/chunks/readlink-4Z75K3AI.js +3 -0
  265. package/dist/bin/shell/chunks/rev-6SA3VC3J.js +3 -0
  266. package/dist/bin/shell/chunks/rg-ULWB5MQG.js +3 -0
  267. package/dist/bin/shell/chunks/rm-NPIAQT6U.js +3 -0
  268. package/dist/bin/shell/chunks/rmdir-57J3AGQU.js +3 -0
  269. package/dist/bin/shell/chunks/sed-XV7BZPKI.js +3 -0
  270. package/dist/bin/shell/chunks/seq-ZVBT2JEI.js +3 -0
  271. package/dist/bin/shell/chunks/sha1sum-JGOB5K4J.js +3 -0
  272. package/dist/bin/shell/chunks/sha256sum-S5DS6Q6N.js +3 -0
  273. package/dist/bin/shell/chunks/sort-UOMFLGRW.js +3 -0
  274. package/dist/bin/shell/chunks/split-IBL3NIVH.js +3 -0
  275. package/dist/bin/shell/chunks/sqlite3-YIM3BYLS.js +3 -0
  276. package/dist/bin/shell/chunks/stat-RKSIL4YV.js +3 -0
  277. package/dist/bin/shell/chunks/strings-AL7T5GDQ.js +3 -0
  278. package/dist/bin/shell/chunks/tac-36B6LBNS.js +3 -0
  279. package/dist/bin/shell/chunks/tail-G4PLDIOK.js +3 -0
  280. package/dist/bin/shell/chunks/tar-YG6SY2RU.js +3 -0
  281. package/dist/bin/shell/chunks/tee-NP4ULCWD.js +3 -0
  282. package/dist/bin/shell/chunks/time-ZMFJL7MD.js +3 -0
  283. package/dist/bin/shell/chunks/timeout-EJIGKZUX.js +3 -0
  284. package/dist/bin/shell/chunks/touch-YE5LMLLE.js +3 -0
  285. package/dist/bin/shell/chunks/tr-7KFUMSUF.js +3 -0
  286. package/dist/bin/shell/chunks/unexpand-67EBVEPB.js +3 -0
  287. package/dist/bin/shell/chunks/uniq-SZDRNEYK.js +3 -0
  288. package/dist/bin/shell/chunks/wc-VLOME6PL.js +3 -0
  289. package/dist/bin/shell/chunks/xan-FVGJAHFV.js +3 -0
  290. package/dist/bin/shell/chunks/xan-view-LYATQWQB.js +3 -0
  291. package/dist/bin/shell/chunks/xargs-CLQL2WFV.js +3 -0
  292. package/dist/bin/shell/chunks/yes-OOBLAITP.js +3 -0
  293. package/dist/bin/shell/chunks/yq-YQ4YFM26.js +3 -0
  294. package/dist/bin/shell/shell.js +385 -383
  295. package/dist/bundle/browser.js +873 -863
  296. package/dist/bundle/chunks/awk2-LEEKKBPN.js +2 -0
  297. package/dist/bundle/chunks/base64-GBEVK7UP.js +2 -0
  298. package/dist/bundle/chunks/bash-QTX2IUM4.js +2 -0
  299. package/dist/bundle/chunks/cat-UBR2ABBH.js +2 -0
  300. package/dist/bundle/chunks/chmod-5VBARXGU.js +2 -0
  301. package/dist/bundle/chunks/chunk-2LOOLBWC.js +33 -0
  302. package/dist/bundle/chunks/chunk-34XJ6PLO.js +20 -0
  303. package/dist/bundle/chunks/chunk-3DUKINTI.js +7 -0
  304. package/dist/bundle/chunks/chunk-3VXY25LY.js +2 -0
  305. package/dist/bundle/chunks/chunk-5G2D2EZB.js +7 -0
  306. package/dist/bundle/chunks/chunk-5Q4R6KJE.js +4 -0
  307. package/dist/bundle/chunks/chunk-5ZVTEBKG.js +7 -0
  308. package/dist/bundle/chunks/chunk-77XFWF43.js +13 -0
  309. package/dist/bundle/chunks/chunk-B2EYYRZX.js +9 -0
  310. package/dist/bundle/chunks/chunk-BC3VKZCL.js +10 -0
  311. package/dist/bundle/chunks/chunk-BEIP3OYT.js +6 -0
  312. package/dist/bundle/chunks/chunk-BLTFJFWH.js +2 -0
  313. package/dist/bundle/chunks/chunk-C2GCPQ2D.js +15 -0
  314. package/dist/bundle/chunks/chunk-CGCA7SGA.js +25 -0
  315. package/dist/bundle/chunks/chunk-CIY4XCGA.js +2 -0
  316. package/dist/bundle/chunks/chunk-CXBOPNEG.js +11 -0
  317. package/dist/bundle/chunks/chunk-CYJQAYUX.js +142 -0
  318. package/dist/bundle/chunks/chunk-D55UUXDJ.js +100 -0
  319. package/dist/bundle/chunks/chunk-EOMWWW4L.js +33 -0
  320. package/dist/bundle/chunks/chunk-ER6ZGLPS.js +26 -0
  321. package/dist/bundle/chunks/chunk-EZHC6HLV.js +3 -0
  322. package/dist/bundle/chunks/chunk-FBRDM6EM.js +12 -0
  323. package/dist/bundle/chunks/chunk-FDAXSABU.js +11 -0
  324. package/dist/bundle/chunks/chunk-FEKEA5Y2.js +2 -0
  325. package/dist/bundle/chunks/chunk-GEANXVKK.js +15 -0
  326. package/dist/bundle/chunks/chunk-GIQ3LRFL.js +21 -0
  327. package/dist/bundle/chunks/chunk-HBIJBKHP.js +14 -0
  328. package/dist/bundle/chunks/chunk-IDYF47VD.js +11 -0
  329. package/dist/bundle/chunks/chunk-IH6MZAKK.js +6 -0
  330. package/dist/bundle/chunks/chunk-IIWAWB3H.js +274 -0
  331. package/dist/bundle/chunks/chunk-IQGNPH54.js +8 -0
  332. package/dist/bundle/chunks/chunk-IVYY6YFV.js +7 -0
  333. package/dist/bundle/chunks/chunk-IXOG2DXK.js +14 -0
  334. package/dist/bundle/chunks/chunk-J6QAN4PZ.js +6 -0
  335. package/dist/bundle/chunks/chunk-JMGGZYF2.js +2 -0
  336. package/dist/bundle/chunks/chunk-JU5GJH4X.js +9 -0
  337. package/dist/bundle/chunks/chunk-JWGTQTBU.js +16 -0
  338. package/dist/bundle/chunks/chunk-KQSMX4HM.js +11 -0
  339. package/dist/bundle/chunks/chunk-KZMK2KYL.js +43 -0
  340. package/dist/bundle/chunks/chunk-L4MC7WH4.js +14 -0
  341. package/dist/bundle/chunks/chunk-L5AKA7GO.js +5 -0
  342. package/dist/bundle/chunks/chunk-LBKOJW6K.js +2 -0
  343. package/dist/bundle/chunks/chunk-LNJ6EIKX.js +2 -0
  344. package/dist/bundle/chunks/chunk-LQXMSLW5.js +16 -0
  345. package/dist/bundle/chunks/chunk-MOOFDAFS.js +7 -0
  346. package/dist/bundle/chunks/chunk-N3VQQRLQ.js +8 -0
  347. package/dist/bundle/chunks/chunk-NJUHQKMR.js +3 -0
  348. package/dist/bundle/chunks/chunk-NOZTFL4F.js +12 -0
  349. package/dist/bundle/chunks/chunk-OEZKBUXP.js +8 -0
  350. package/dist/bundle/chunks/chunk-OZMQI3HV.js +17 -0
  351. package/dist/bundle/chunks/chunk-POI4XBDP.js +6 -0
  352. package/dist/bundle/chunks/chunk-PV2DCWLJ.js +6 -0
  353. package/dist/bundle/chunks/chunk-Q6ZH76O4.js +2 -0
  354. package/dist/bundle/chunks/chunk-QECDICRF.js +9 -0
  355. package/dist/bundle/chunks/chunk-QJTRVYQA.js +5 -0
  356. package/dist/bundle/chunks/chunk-QZPG6UCH.js +9 -0
  357. package/dist/bundle/chunks/chunk-R23EAHN5.js +2 -0
  358. package/dist/bundle/chunks/chunk-R3HY2GCO.js +3 -0
  359. package/dist/bundle/chunks/chunk-RQTEROQ5.js +6 -0
  360. package/dist/bundle/chunks/chunk-SAE7VUIM.js +21 -0
  361. package/dist/bundle/chunks/chunk-SBG7KYI4.js +12 -0
  362. package/dist/bundle/chunks/chunk-SRNYBHIU.js +21 -0
  363. package/dist/bundle/chunks/chunk-T7CFNHX6.js +2 -0
  364. package/dist/bundle/chunks/chunk-U3UTFNHI.js +2 -0
  365. package/dist/bundle/chunks/chunk-UQZ5HJXB.js +64 -0
  366. package/dist/bundle/chunks/chunk-US6XQQ6W.js +19 -0
  367. package/dist/bundle/chunks/chunk-UZ4TKNEJ.js +2 -0
  368. package/dist/bundle/chunks/chunk-VW6FDS6X.js +2 -0
  369. package/dist/bundle/chunks/chunk-W4A6TADR.js +36 -0
  370. package/dist/bundle/chunks/chunk-WAL3MOLR.js +6 -0
  371. package/dist/bundle/chunks/chunk-WFEUQRHM.js +2 -0
  372. package/dist/bundle/chunks/chunk-WNAEYQTE.js +8 -0
  373. package/dist/bundle/chunks/chunk-WOSSFIAE.js +12 -0
  374. package/dist/bundle/chunks/chunk-WTG3OCY4.js +5 -0
  375. package/dist/bundle/chunks/chunk-XIEMQVCO.js +19 -0
  376. package/dist/bundle/chunks/chunk-YFGP6M45.js +7 -0
  377. package/dist/bundle/chunks/chunk-ZARLSKBF.js +2 -0
  378. package/dist/bundle/chunks/chunk-ZVANIJV2.js +4 -0
  379. package/dist/bundle/chunks/column-46NX3HG3.js +2 -0
  380. package/dist/bundle/chunks/comm-QHEYSM4I.js +2 -0
  381. package/dist/bundle/chunks/cp-AQ4Y4WVV.js +2 -0
  382. package/dist/bundle/chunks/curl-LMCQFYWH.js +30 -0
  383. package/dist/bundle/chunks/cut-A6NXJGOH.js +2 -0
  384. package/dist/bundle/chunks/date-YMEJ62OQ.js +2 -0
  385. package/dist/bundle/chunks/diff-SECJC7CN.js +2 -0
  386. package/dist/bundle/chunks/du-JOLY42MC.js +2 -0
  387. package/dist/bundle/chunks/env-MI6QVNMM.js +2 -0
  388. package/dist/bundle/chunks/expand-YVEZTU7W.js +2 -0
  389. package/dist/bundle/chunks/expr-U7WETT5R.js +2 -0
  390. package/dist/bundle/chunks/file-6QDI3H7G.js +2 -0
  391. package/dist/bundle/chunks/find-UYQIFSZI.js +2 -0
  392. package/dist/bundle/chunks/flag-coverage-5YCE6ILG.js +2 -0
  393. package/dist/bundle/chunks/fold-A24KLKHY.js +2 -0
  394. package/dist/bundle/chunks/grep-ZELVZ7JB.js +2 -0
  395. package/dist/bundle/chunks/gzip-3IFADYVU.js +2 -0
  396. package/dist/bundle/chunks/head-5YWCKNNQ.js +2 -0
  397. package/dist/bundle/chunks/html-to-markdown-EOWI2I5J.js +2 -0
  398. package/dist/bundle/chunks/join-MSZXRLNV.js +2 -0
  399. package/dist/bundle/chunks/jq-MKA6BDYV.js +2 -0
  400. package/dist/bundle/chunks/js-exec-CNDWLKWB.js +1616 -0
  401. package/dist/bundle/chunks/ls-WMN4WCCI.js +2 -0
  402. package/dist/bundle/chunks/md5sum-OCX4NZ2Q.js +2 -0
  403. package/dist/bundle/chunks/mkdir-YJMG55FX.js +2 -0
  404. package/dist/bundle/chunks/mktemp-RA55VAN3.js +2 -0
  405. package/dist/bundle/chunks/mv-NTJL2AHI.js +2 -0
  406. package/dist/bundle/chunks/nl-Z5DVHZ3S.js +2 -0
  407. package/dist/bundle/chunks/od-TRWBMEIO.js +2 -0
  408. package/dist/bundle/chunks/paste-VPYCLIL6.js +2 -0
  409. package/dist/bundle/chunks/printf-BNADL4RX.js +2 -0
  410. package/dist/bundle/chunks/python3-TIKLWPZJ.js +22 -0
  411. package/dist/bundle/chunks/readlink-HGACDFRD.js +2 -0
  412. package/dist/bundle/chunks/rev-W57N4M5B.js +2 -0
  413. package/dist/bundle/chunks/rg-IN3KT335.js +2 -0
  414. package/dist/bundle/chunks/rm-CDVWO5CO.js +2 -0
  415. package/dist/bundle/chunks/rmdir-HI3UE4KQ.js +2 -0
  416. package/dist/bundle/chunks/sed-MXZDFQ7I.js +2 -0
  417. package/dist/bundle/chunks/seq-E3UP3G65.js +2 -0
  418. package/dist/bundle/chunks/sha1sum-QUWYL7G6.js +2 -0
  419. package/dist/bundle/chunks/sha256sum-FGHIABMA.js +2 -0
  420. package/dist/bundle/chunks/sort-ATCMEITA.js +2 -0
  421. package/dist/bundle/chunks/split-YZFCWIZI.js +2 -0
  422. package/dist/bundle/chunks/sqlite3-JL36RFBZ.js +2 -0
  423. package/dist/bundle/chunks/stat-APUQD6WQ.js +2 -0
  424. package/dist/bundle/chunks/strings-WA2ZGNUN.js +2 -0
  425. package/dist/bundle/chunks/tac-OCV6R4TG.js +2 -0
  426. package/dist/bundle/chunks/tail-IBKQAMFW.js +2 -0
  427. package/dist/bundle/chunks/tar-WJV4DGKA.js +2 -0
  428. package/dist/bundle/chunks/tee-VOXQ2UGV.js +2 -0
  429. package/dist/bundle/chunks/time-GOHAC6VO.js +2 -0
  430. package/dist/bundle/chunks/timeout-FVGYB3MD.js +2 -0
  431. package/dist/bundle/chunks/touch-57OKADDG.js +2 -0
  432. package/dist/bundle/chunks/tr-M4D6SICQ.js +2 -0
  433. package/dist/bundle/chunks/unexpand-SYZZ5ZBE.js +2 -0
  434. package/dist/bundle/chunks/uniq-TUUUYPVF.js +2 -0
  435. package/dist/bundle/chunks/wc-HQPGW3KR.js +2 -0
  436. package/dist/bundle/chunks/xan-CZJZCC57.js +2 -0
  437. package/dist/bundle/chunks/xan-view-HETEUD3G.js +2 -0
  438. package/dist/bundle/chunks/xargs-WFPZZ3FK.js +2 -0
  439. package/dist/bundle/chunks/yes-ACSNSE7T.js +2 -0
  440. package/dist/bundle/chunks/yq-XDJLIJPZ.js +2 -0
  441. package/dist/bundle/index.cjs +1042 -993
  442. package/dist/bundle/index.js +345 -343
  443. package/dist/commands/awk/interpreter/fields.d.ts +16 -0
  444. package/dist/commands/js-exec/module-shims.d.ts +1 -1
  445. package/dist/commands/rg/rg-options.d.ts +2 -0
  446. package/dist/commands/search-engine/matcher.d.ts +2 -0
  447. package/dist/interpreter/builtin-dispatch.d.ts +9 -3
  448. package/dist/interpreter/fd-table.d.ts +4 -1
  449. package/dist/interpreter/helpers/errors.d.ts +5 -0
  450. package/dist/interpreter/pipeline-execution.d.ts +1 -1
  451. package/dist/interpreter/redirections.d.ts +25 -10
  452. package/dist/interpreter/types.d.ts +2 -0
  453. package/dist/types.d.ts +15 -0
  454. package/dist/utils/string-builder.d.ts +9 -0
  455. package/package.json +1 -1
  456. package/dist/bin/chunks/awk2-U22OR5B5.js +0 -3
  457. package/dist/bin/chunks/base64-2KKH5BCT.js +0 -3
  458. package/dist/bin/chunks/bash-CFCBBWVH.js +0 -3
  459. package/dist/bin/chunks/cat-V45MVNBT.js +0 -3
  460. package/dist/bin/chunks/chmod-A54R4UUQ.js +0 -3
  461. package/dist/bin/chunks/chunk-2NJJXU4K.js +0 -27
  462. package/dist/bin/chunks/chunk-2YLY6FJA.js +0 -10
  463. package/dist/bin/chunks/chunk-3LKMI5IX.js +0 -34
  464. package/dist/bin/chunks/chunk-3VSWQCPN.js +0 -18
  465. package/dist/bin/chunks/chunk-44SKMHU6.js +0 -16
  466. package/dist/bin/chunks/chunk-5SKEZPTU.js +0 -12
  467. package/dist/bin/chunks/chunk-5SR55TXB.js +0 -16
  468. package/dist/bin/chunks/chunk-6D75E4LV.js +0 -3
  469. package/dist/bin/chunks/chunk-6DAR25KN.js +0 -12
  470. package/dist/bin/chunks/chunk-6SAZRW7E.js +0 -15
  471. package/dist/bin/chunks/chunk-723HNGID.js +0 -13
  472. package/dist/bin/chunks/chunk-7FGDUBSN.js +0 -14
  473. package/dist/bin/chunks/chunk-7X4QBCFW.js +0 -36
  474. package/dist/bin/chunks/chunk-AINNAQBQ.js +0 -6
  475. package/dist/bin/chunks/chunk-AL7RVSF4.js +0 -8
  476. package/dist/bin/chunks/chunk-ARYCSNJJ.js +0 -101
  477. package/dist/bin/chunks/chunk-BCJ42NCM.js +0 -15
  478. package/dist/bin/chunks/chunk-BJF6B4YW.js +0 -22
  479. package/dist/bin/chunks/chunk-BOXG6XBN.js +0 -143
  480. package/dist/bin/chunks/chunk-CPKBPQ2C.js +0 -3
  481. package/dist/bin/chunks/chunk-DA3RFNKK.js +0 -17
  482. package/dist/bin/chunks/chunk-DH7M46D3.js +0 -20
  483. package/dist/bin/chunks/chunk-DTGQQKI2.js +0 -87
  484. package/dist/bin/chunks/chunk-ECZAFQ22.js +0 -9
  485. package/dist/bin/chunks/chunk-ETWDDV6I.js +0 -10
  486. package/dist/bin/chunks/chunk-HFW2LXQV.js +0 -13
  487. package/dist/bin/chunks/chunk-HRKG3ZK2.js +0 -8
  488. package/dist/bin/chunks/chunk-I4IRHQDW.js +0 -3
  489. package/dist/bin/chunks/chunk-IKUY74NG.js +0 -3
  490. package/dist/bin/chunks/chunk-ILXMFIYG.js +0 -7
  491. package/dist/bin/chunks/chunk-IMVXTSPG.js +0 -275
  492. package/dist/bin/chunks/chunk-ISW2U76N.js +0 -17
  493. package/dist/bin/chunks/chunk-K5KT6DMM.js +0 -4
  494. package/dist/bin/chunks/chunk-KG2KXL4Y.js +0 -3
  495. package/dist/bin/chunks/chunk-LCP3IKI7.js +0 -9
  496. package/dist/bin/chunks/chunk-LG6IN6SW.js +0 -34
  497. package/dist/bin/chunks/chunk-LMFAALLO.js +0 -21
  498. package/dist/bin/chunks/chunk-LXFMIXGA.js +0 -3
  499. package/dist/bin/chunks/chunk-M5ZBECGM.js +0 -22
  500. package/dist/bin/chunks/chunk-MA6BMA4M.js +0 -3
  501. package/dist/bin/chunks/chunk-MPQMTLXN.js +0 -3
  502. package/dist/bin/chunks/chunk-MUIYG2RB.js +0 -65
  503. package/dist/bin/chunks/chunk-MYTNZ7MA.js +0 -7
  504. package/dist/bin/chunks/chunk-NGMFI3RH.js +0 -15
  505. package/dist/bin/chunks/chunk-NLMTGTSG.js +0 -11
  506. package/dist/bin/chunks/chunk-O74FSWB4.js +0 -4
  507. package/dist/bin/chunks/chunk-OBVTFHVP.js +0 -7
  508. package/dist/bin/chunks/chunk-OOKVPG5D.js +0 -6
  509. package/dist/bin/chunks/chunk-PL4EU7Y2.js +0 -3
  510. package/dist/bin/chunks/chunk-Q3LE3Y66.js +0 -13
  511. package/dist/bin/chunks/chunk-QCGH2ZOW.js +0 -13
  512. package/dist/bin/chunks/chunk-QKWMWSV3.js +0 -3
  513. package/dist/bin/chunks/chunk-QL33F2W6.js +0 -8
  514. package/dist/bin/chunks/chunk-S5Z7DMIE.js +0 -26
  515. package/dist/bin/chunks/chunk-SQ7SZZMW.js +0 -8
  516. package/dist/bin/chunks/chunk-SQUH76NP.js +0 -3
  517. package/dist/bin/chunks/chunk-TGRZ42DS.js +0 -12
  518. package/dist/bin/chunks/chunk-THTKNRO6.js +0 -7
  519. package/dist/bin/chunks/chunk-TQXLQEIT.js +0 -9
  520. package/dist/bin/chunks/chunk-TZ3S7MY6.js +0 -12
  521. package/dist/bin/chunks/chunk-U6BXPMLD.js +0 -7
  522. package/dist/bin/chunks/chunk-U6DBRMD5.js +0 -5
  523. package/dist/bin/chunks/chunk-URRH3GPG.js +0 -10
  524. package/dist/bin/chunks/chunk-VBU3UEG5.js +0 -7
  525. package/dist/bin/chunks/chunk-VLWZ6L7C.js +0 -4
  526. package/dist/bin/chunks/chunk-VTHA5UK5.js +0 -7
  527. package/dist/bin/chunks/chunk-WBST7XJW.js +0 -9
  528. package/dist/bin/chunks/chunk-WDV2ECOC.js +0 -3
  529. package/dist/bin/chunks/chunk-WEQ5WM2M.js +0 -20
  530. package/dist/bin/chunks/chunk-WFVCEB5T.js +0 -3
  531. package/dist/bin/chunks/chunk-WZ7MIBLR.js +0 -37
  532. package/dist/bin/chunks/chunk-X45GP3AQ.js +0 -3
  533. package/dist/bin/chunks/chunk-XEQ7KSRM.js +0 -5
  534. package/dist/bin/chunks/chunk-YIANER7Y.js +0 -8
  535. package/dist/bin/chunks/chunk-YYZSYLJO.js +0 -6
  536. package/dist/bin/chunks/chunk-Z3KAV6YJ.js +0 -10
  537. package/dist/bin/chunks/chunk-Z5KICK5X.js +0 -22
  538. package/dist/bin/chunks/column-LHHS4D3K.js +0 -3
  539. package/dist/bin/chunks/comm-URDMZCXL.js +0 -3
  540. package/dist/bin/chunks/cp-HPLQA35N.js +0 -3
  541. package/dist/bin/chunks/curl-FIRG3RB6.js +0 -31
  542. package/dist/bin/chunks/cut-KP3S36XS.js +0 -3
  543. package/dist/bin/chunks/date-FJUBX7TJ.js +0 -3
  544. package/dist/bin/chunks/diff-JSJ56EOK.js +0 -3
  545. package/dist/bin/chunks/du-WEF5YWQK.js +0 -3
  546. package/dist/bin/chunks/env-2TSVF4W7.js +0 -3
  547. package/dist/bin/chunks/expand-P6SNTBGZ.js +0 -3
  548. package/dist/bin/chunks/expr-FLWT4OCO.js +0 -3
  549. package/dist/bin/chunks/file-JLUCGBCB.js +0 -3
  550. package/dist/bin/chunks/find-XGVQ6N6L.js +0 -3
  551. package/dist/bin/chunks/flag-coverage-4JYKIAVV.js +0 -3
  552. package/dist/bin/chunks/fold-YEY7X54W.js +0 -3
  553. package/dist/bin/chunks/grep-DCPCPQOS.js +0 -3
  554. package/dist/bin/chunks/gzip-6DZIKNBW.js +0 -3
  555. package/dist/bin/chunks/head-TLFXMM2T.js +0 -3
  556. package/dist/bin/chunks/html-to-markdown-E22RLT2U.js +0 -3
  557. package/dist/bin/chunks/join-UQKXU2QP.js +0 -3
  558. package/dist/bin/chunks/jq-GDM3OBBK.js +0 -3
  559. package/dist/bin/chunks/js-exec-VU6F6WLS.js +0 -1578
  560. package/dist/bin/chunks/ls-67NUUIYT.js +0 -3
  561. package/dist/bin/chunks/md5sum-Z6KAYGDK.js +0 -3
  562. package/dist/bin/chunks/mkdir-AWDWRBKC.js +0 -3
  563. package/dist/bin/chunks/mktemp-L6OGMDUO.js +0 -3
  564. package/dist/bin/chunks/mv-4BJSOT4Y.js +0 -3
  565. package/dist/bin/chunks/nl-XHWFVVKH.js +0 -3
  566. package/dist/bin/chunks/od-SI75GLRE.js +0 -3
  567. package/dist/bin/chunks/paste-5TSIBDF7.js +0 -3
  568. package/dist/bin/chunks/printf-CNXNRQ3I.js +0 -3
  569. package/dist/bin/chunks/python3-GUWCSSDP.js +0 -23
  570. package/dist/bin/chunks/readlink-URO5XTBB.js +0 -3
  571. package/dist/bin/chunks/rev-CZTQCNOZ.js +0 -3
  572. package/dist/bin/chunks/rg-RVULUPDH.js +0 -3
  573. package/dist/bin/chunks/rm-UCUTHC3I.js +0 -3
  574. package/dist/bin/chunks/rmdir-J3HM7GGM.js +0 -3
  575. package/dist/bin/chunks/sed-MCLGHZOI.js +0 -3
  576. package/dist/bin/chunks/seq-I54NZE75.js +0 -3
  577. package/dist/bin/chunks/sha1sum-CATBXX76.js +0 -3
  578. package/dist/bin/chunks/sha256sum-YGSNBVY3.js +0 -3
  579. package/dist/bin/chunks/sort-M3DO25D5.js +0 -3
  580. package/dist/bin/chunks/split-VZO7223N.js +0 -3
  581. package/dist/bin/chunks/sqlite3-HXVFVP4Z.js +0 -3
  582. package/dist/bin/chunks/stat-UJ37RBMM.js +0 -3
  583. package/dist/bin/chunks/strings-J2X2Z6N2.js +0 -3
  584. package/dist/bin/chunks/tac-DG4BMYM5.js +0 -3
  585. package/dist/bin/chunks/tail-5TSF5YM4.js +0 -3
  586. package/dist/bin/chunks/tar-ZGZZDQXO.js +0 -3
  587. package/dist/bin/chunks/tee-L4HKV5PD.js +0 -3
  588. package/dist/bin/chunks/time-J2DAZUIN.js +0 -3
  589. package/dist/bin/chunks/timeout-ATTDYXLX.js +0 -3
  590. package/dist/bin/chunks/touch-TVQAUQOG.js +0 -3
  591. package/dist/bin/chunks/tr-6RPFASYV.js +0 -3
  592. package/dist/bin/chunks/unexpand-JPOQORZF.js +0 -3
  593. package/dist/bin/chunks/uniq-K5VRDP4Q.js +0 -3
  594. package/dist/bin/chunks/wc-VSQBRD6B.js +0 -3
  595. package/dist/bin/chunks/xan-CCS53B7D.js +0 -3
  596. package/dist/bin/chunks/xan-view-KOXASOEV.js +0 -3
  597. package/dist/bin/chunks/xargs-HMISWW4I.js +0 -3
  598. package/dist/bin/chunks/yes-ELH3XQWY.js +0 -3
  599. package/dist/bin/chunks/yq-GSCDUHGM.js +0 -3
  600. package/dist/bin/shell/chunks/awk2-U22OR5B5.js +0 -3
  601. package/dist/bin/shell/chunks/base64-2KKH5BCT.js +0 -3
  602. package/dist/bin/shell/chunks/bash-CFCBBWVH.js +0 -3
  603. package/dist/bin/shell/chunks/cat-V45MVNBT.js +0 -3
  604. package/dist/bin/shell/chunks/chmod-A54R4UUQ.js +0 -3
  605. package/dist/bin/shell/chunks/chunk-2NJJXU4K.js +0 -27
  606. package/dist/bin/shell/chunks/chunk-2YLY6FJA.js +0 -10
  607. package/dist/bin/shell/chunks/chunk-3LKMI5IX.js +0 -34
  608. package/dist/bin/shell/chunks/chunk-3VSWQCPN.js +0 -18
  609. package/dist/bin/shell/chunks/chunk-44SKMHU6.js +0 -16
  610. package/dist/bin/shell/chunks/chunk-5SKEZPTU.js +0 -12
  611. package/dist/bin/shell/chunks/chunk-5SR55TXB.js +0 -16
  612. package/dist/bin/shell/chunks/chunk-6D75E4LV.js +0 -3
  613. package/dist/bin/shell/chunks/chunk-6DAR25KN.js +0 -12
  614. package/dist/bin/shell/chunks/chunk-6SAZRW7E.js +0 -15
  615. package/dist/bin/shell/chunks/chunk-723HNGID.js +0 -13
  616. package/dist/bin/shell/chunks/chunk-7FGDUBSN.js +0 -14
  617. package/dist/bin/shell/chunks/chunk-7X4QBCFW.js +0 -36
  618. package/dist/bin/shell/chunks/chunk-AINNAQBQ.js +0 -6
  619. package/dist/bin/shell/chunks/chunk-AL7RVSF4.js +0 -8
  620. package/dist/bin/shell/chunks/chunk-ARYCSNJJ.js +0 -101
  621. package/dist/bin/shell/chunks/chunk-BCJ42NCM.js +0 -15
  622. package/dist/bin/shell/chunks/chunk-BJF6B4YW.js +0 -22
  623. package/dist/bin/shell/chunks/chunk-BOXG6XBN.js +0 -143
  624. package/dist/bin/shell/chunks/chunk-CPKBPQ2C.js +0 -3
  625. package/dist/bin/shell/chunks/chunk-DA3RFNKK.js +0 -17
  626. package/dist/bin/shell/chunks/chunk-DH7M46D3.js +0 -20
  627. package/dist/bin/shell/chunks/chunk-DTGQQKI2.js +0 -87
  628. package/dist/bin/shell/chunks/chunk-ECZAFQ22.js +0 -9
  629. package/dist/bin/shell/chunks/chunk-ETWDDV6I.js +0 -10
  630. package/dist/bin/shell/chunks/chunk-HFW2LXQV.js +0 -13
  631. package/dist/bin/shell/chunks/chunk-HRKG3ZK2.js +0 -8
  632. package/dist/bin/shell/chunks/chunk-I4IRHQDW.js +0 -3
  633. package/dist/bin/shell/chunks/chunk-IKUY74NG.js +0 -3
  634. package/dist/bin/shell/chunks/chunk-ILXMFIYG.js +0 -7
  635. package/dist/bin/shell/chunks/chunk-IMVXTSPG.js +0 -275
  636. package/dist/bin/shell/chunks/chunk-ISW2U76N.js +0 -17
  637. package/dist/bin/shell/chunks/chunk-K5KT6DMM.js +0 -4
  638. package/dist/bin/shell/chunks/chunk-KG2KXL4Y.js +0 -3
  639. package/dist/bin/shell/chunks/chunk-LCP3IKI7.js +0 -9
  640. package/dist/bin/shell/chunks/chunk-LG6IN6SW.js +0 -34
  641. package/dist/bin/shell/chunks/chunk-LMFAALLO.js +0 -21
  642. package/dist/bin/shell/chunks/chunk-LXFMIXGA.js +0 -3
  643. package/dist/bin/shell/chunks/chunk-M5ZBECGM.js +0 -22
  644. package/dist/bin/shell/chunks/chunk-MA6BMA4M.js +0 -3
  645. package/dist/bin/shell/chunks/chunk-MPQMTLXN.js +0 -3
  646. package/dist/bin/shell/chunks/chunk-MUIYG2RB.js +0 -65
  647. package/dist/bin/shell/chunks/chunk-MYTNZ7MA.js +0 -7
  648. package/dist/bin/shell/chunks/chunk-NGMFI3RH.js +0 -15
  649. package/dist/bin/shell/chunks/chunk-NLMTGTSG.js +0 -11
  650. package/dist/bin/shell/chunks/chunk-O74FSWB4.js +0 -4
  651. package/dist/bin/shell/chunks/chunk-OBVTFHVP.js +0 -7
  652. package/dist/bin/shell/chunks/chunk-OOKVPG5D.js +0 -6
  653. package/dist/bin/shell/chunks/chunk-PL4EU7Y2.js +0 -3
  654. package/dist/bin/shell/chunks/chunk-Q3LE3Y66.js +0 -13
  655. package/dist/bin/shell/chunks/chunk-QCGH2ZOW.js +0 -13
  656. package/dist/bin/shell/chunks/chunk-QKWMWSV3.js +0 -3
  657. package/dist/bin/shell/chunks/chunk-QL33F2W6.js +0 -8
  658. package/dist/bin/shell/chunks/chunk-S5Z7DMIE.js +0 -26
  659. package/dist/bin/shell/chunks/chunk-SQ7SZZMW.js +0 -8
  660. package/dist/bin/shell/chunks/chunk-SQUH76NP.js +0 -3
  661. package/dist/bin/shell/chunks/chunk-TGRZ42DS.js +0 -12
  662. package/dist/bin/shell/chunks/chunk-THTKNRO6.js +0 -7
  663. package/dist/bin/shell/chunks/chunk-TQXLQEIT.js +0 -9
  664. package/dist/bin/shell/chunks/chunk-TZ3S7MY6.js +0 -12
  665. package/dist/bin/shell/chunks/chunk-U6BXPMLD.js +0 -7
  666. package/dist/bin/shell/chunks/chunk-U6DBRMD5.js +0 -5
  667. package/dist/bin/shell/chunks/chunk-URRH3GPG.js +0 -10
  668. package/dist/bin/shell/chunks/chunk-VBU3UEG5.js +0 -7
  669. package/dist/bin/shell/chunks/chunk-VLWZ6L7C.js +0 -4
  670. package/dist/bin/shell/chunks/chunk-VTHA5UK5.js +0 -7
  671. package/dist/bin/shell/chunks/chunk-WBST7XJW.js +0 -9
  672. package/dist/bin/shell/chunks/chunk-WDV2ECOC.js +0 -3
  673. package/dist/bin/shell/chunks/chunk-WEQ5WM2M.js +0 -20
  674. package/dist/bin/shell/chunks/chunk-WFVCEB5T.js +0 -3
  675. package/dist/bin/shell/chunks/chunk-WZ7MIBLR.js +0 -37
  676. package/dist/bin/shell/chunks/chunk-X45GP3AQ.js +0 -3
  677. package/dist/bin/shell/chunks/chunk-XEQ7KSRM.js +0 -5
  678. package/dist/bin/shell/chunks/chunk-YIANER7Y.js +0 -8
  679. package/dist/bin/shell/chunks/chunk-YYZSYLJO.js +0 -6
  680. package/dist/bin/shell/chunks/chunk-Z3KAV6YJ.js +0 -10
  681. package/dist/bin/shell/chunks/chunk-Z5KICK5X.js +0 -22
  682. package/dist/bin/shell/chunks/column-LHHS4D3K.js +0 -3
  683. package/dist/bin/shell/chunks/comm-URDMZCXL.js +0 -3
  684. package/dist/bin/shell/chunks/cp-HPLQA35N.js +0 -3
  685. package/dist/bin/shell/chunks/curl-FIRG3RB6.js +0 -31
  686. package/dist/bin/shell/chunks/cut-KP3S36XS.js +0 -3
  687. package/dist/bin/shell/chunks/date-FJUBX7TJ.js +0 -3
  688. package/dist/bin/shell/chunks/diff-JSJ56EOK.js +0 -3
  689. package/dist/bin/shell/chunks/du-WEF5YWQK.js +0 -3
  690. package/dist/bin/shell/chunks/env-2TSVF4W7.js +0 -3
  691. package/dist/bin/shell/chunks/expand-P6SNTBGZ.js +0 -3
  692. package/dist/bin/shell/chunks/expr-FLWT4OCO.js +0 -3
  693. package/dist/bin/shell/chunks/file-JLUCGBCB.js +0 -3
  694. package/dist/bin/shell/chunks/find-XGVQ6N6L.js +0 -3
  695. package/dist/bin/shell/chunks/flag-coverage-4JYKIAVV.js +0 -3
  696. package/dist/bin/shell/chunks/fold-YEY7X54W.js +0 -3
  697. package/dist/bin/shell/chunks/grep-DCPCPQOS.js +0 -3
  698. package/dist/bin/shell/chunks/gzip-6DZIKNBW.js +0 -3
  699. package/dist/bin/shell/chunks/head-TLFXMM2T.js +0 -3
  700. package/dist/bin/shell/chunks/html-to-markdown-E22RLT2U.js +0 -3
  701. package/dist/bin/shell/chunks/join-UQKXU2QP.js +0 -3
  702. package/dist/bin/shell/chunks/jq-GDM3OBBK.js +0 -3
  703. package/dist/bin/shell/chunks/js-exec-VU6F6WLS.js +0 -1578
  704. package/dist/bin/shell/chunks/ls-67NUUIYT.js +0 -3
  705. package/dist/bin/shell/chunks/md5sum-Z6KAYGDK.js +0 -3
  706. package/dist/bin/shell/chunks/mkdir-AWDWRBKC.js +0 -3
  707. package/dist/bin/shell/chunks/mktemp-L6OGMDUO.js +0 -3
  708. package/dist/bin/shell/chunks/mv-4BJSOT4Y.js +0 -3
  709. package/dist/bin/shell/chunks/nl-XHWFVVKH.js +0 -3
  710. package/dist/bin/shell/chunks/od-SI75GLRE.js +0 -3
  711. package/dist/bin/shell/chunks/paste-5TSIBDF7.js +0 -3
  712. package/dist/bin/shell/chunks/printf-CNXNRQ3I.js +0 -3
  713. package/dist/bin/shell/chunks/python3-GUWCSSDP.js +0 -23
  714. package/dist/bin/shell/chunks/readlink-URO5XTBB.js +0 -3
  715. package/dist/bin/shell/chunks/rev-CZTQCNOZ.js +0 -3
  716. package/dist/bin/shell/chunks/rg-RVULUPDH.js +0 -3
  717. package/dist/bin/shell/chunks/rm-UCUTHC3I.js +0 -3
  718. package/dist/bin/shell/chunks/rmdir-J3HM7GGM.js +0 -3
  719. package/dist/bin/shell/chunks/sed-MCLGHZOI.js +0 -3
  720. package/dist/bin/shell/chunks/seq-I54NZE75.js +0 -3
  721. package/dist/bin/shell/chunks/sha1sum-CATBXX76.js +0 -3
  722. package/dist/bin/shell/chunks/sha256sum-YGSNBVY3.js +0 -3
  723. package/dist/bin/shell/chunks/sort-M3DO25D5.js +0 -3
  724. package/dist/bin/shell/chunks/split-VZO7223N.js +0 -3
  725. package/dist/bin/shell/chunks/sqlite3-HXVFVP4Z.js +0 -3
  726. package/dist/bin/shell/chunks/stat-UJ37RBMM.js +0 -3
  727. package/dist/bin/shell/chunks/strings-J2X2Z6N2.js +0 -3
  728. package/dist/bin/shell/chunks/tac-DG4BMYM5.js +0 -3
  729. package/dist/bin/shell/chunks/tail-5TSF5YM4.js +0 -3
  730. package/dist/bin/shell/chunks/tar-ZGZZDQXO.js +0 -3
  731. package/dist/bin/shell/chunks/tee-L4HKV5PD.js +0 -3
  732. package/dist/bin/shell/chunks/time-J2DAZUIN.js +0 -3
  733. package/dist/bin/shell/chunks/timeout-ATTDYXLX.js +0 -3
  734. package/dist/bin/shell/chunks/touch-TVQAUQOG.js +0 -3
  735. package/dist/bin/shell/chunks/tr-6RPFASYV.js +0 -3
  736. package/dist/bin/shell/chunks/unexpand-JPOQORZF.js +0 -3
  737. package/dist/bin/shell/chunks/uniq-K5VRDP4Q.js +0 -3
  738. package/dist/bin/shell/chunks/wc-VSQBRD6B.js +0 -3
  739. package/dist/bin/shell/chunks/xan-CCS53B7D.js +0 -3
  740. package/dist/bin/shell/chunks/xan-view-KOXASOEV.js +0 -3
  741. package/dist/bin/shell/chunks/xargs-HMISWW4I.js +0 -3
  742. package/dist/bin/shell/chunks/yes-ELH3XQWY.js +0 -3
  743. package/dist/bin/shell/chunks/yq-GSCDUHGM.js +0 -3
  744. package/dist/bundle/chunks/awk2-V7KYQWCD.js +0 -2
  745. package/dist/bundle/chunks/base64-QPSYZAAJ.js +0 -2
  746. package/dist/bundle/chunks/bash-HIEWVHJ2.js +0 -2
  747. package/dist/bundle/chunks/cat-54BXBS6X.js +0 -2
  748. package/dist/bundle/chunks/chmod-4OPV4QKK.js +0 -2
  749. package/dist/bundle/chunks/chunk-2KNTH3KH.js +0 -9
  750. package/dist/bundle/chunks/chunk-2VWG4LDT.js +0 -11
  751. package/dist/bundle/chunks/chunk-2WBUTDF5.js +0 -2
  752. package/dist/bundle/chunks/chunk-3HDTNUL3.js +0 -6
  753. package/dist/bundle/chunks/chunk-3KWM4FFA.js +0 -12
  754. package/dist/bundle/chunks/chunk-4AKAIZPW.js +0 -15
  755. package/dist/bundle/chunks/chunk-4IMUNIUJ.js +0 -21
  756. package/dist/bundle/chunks/chunk-5ATEFZLC.js +0 -4
  757. package/dist/bundle/chunks/chunk-5BMPT6SF.js +0 -19
  758. package/dist/bundle/chunks/chunk-5QWGR2WA.js +0 -21
  759. package/dist/bundle/chunks/chunk-5UTZMNI5.js +0 -64
  760. package/dist/bundle/chunks/chunk-5VCAQBXL.js +0 -17
  761. package/dist/bundle/chunks/chunk-65LVAUWW.js +0 -7
  762. package/dist/bundle/chunks/chunk-6D3WD6YU.js +0 -3
  763. package/dist/bundle/chunks/chunk-6R4OQQWP.js +0 -16
  764. package/dist/bundle/chunks/chunk-6WGIZV3E.js +0 -13
  765. package/dist/bundle/chunks/chunk-72JHTO7E.js +0 -2
  766. package/dist/bundle/chunks/chunk-7GA3QWJJ.js +0 -33
  767. package/dist/bundle/chunks/chunk-7M672HB6.js +0 -21
  768. package/dist/bundle/chunks/chunk-AFFAMSJT.js +0 -14
  769. package/dist/bundle/chunks/chunk-ANCQ4SCV.js +0 -2
  770. package/dist/bundle/chunks/chunk-B3NGH6KE.js +0 -5
  771. package/dist/bundle/chunks/chunk-B5Z5HTFY.js +0 -14
  772. package/dist/bundle/chunks/chunk-B6OSJB22.js +0 -26
  773. package/dist/bundle/chunks/chunk-BM3X75NC.js +0 -36
  774. package/dist/bundle/chunks/chunk-CGI6V2HW.js +0 -11
  775. package/dist/bundle/chunks/chunk-CHHWTPDH.js +0 -3
  776. package/dist/bundle/chunks/chunk-D5ZJISRS.js +0 -11
  777. package/dist/bundle/chunks/chunk-DIRWTBKE.js +0 -19
  778. package/dist/bundle/chunks/chunk-DIWMSSQY.js +0 -2
  779. package/dist/bundle/chunks/chunk-DPZVOEUP.js +0 -6
  780. package/dist/bundle/chunks/chunk-EFORKKSH.js +0 -8
  781. package/dist/bundle/chunks/chunk-EGTVQWAP.js +0 -20
  782. package/dist/bundle/chunks/chunk-EJFBIRMD.js +0 -6
  783. package/dist/bundle/chunks/chunk-EQQGPAXI.js +0 -9
  784. package/dist/bundle/chunks/chunk-EXXOLIVE.js +0 -35
  785. package/dist/bundle/chunks/chunk-FIMO5HLX.js +0 -2
  786. package/dist/bundle/chunks/chunk-FT6ODGOU.js +0 -2
  787. package/dist/bundle/chunks/chunk-FZRQOL3C.js +0 -7
  788. package/dist/bundle/chunks/chunk-GLAFXDZC.js +0 -4
  789. package/dist/bundle/chunks/chunk-GN6CQ3J4.js +0 -2
  790. package/dist/bundle/chunks/chunk-H42OAUJL.js +0 -12
  791. package/dist/bundle/chunks/chunk-H53EPEGD.js +0 -12
  792. package/dist/bundle/chunks/chunk-HDOXCDVK.js +0 -7
  793. package/dist/bundle/chunks/chunk-HIQEVPXM.js +0 -2
  794. package/dist/bundle/chunks/chunk-J2OBOJ64.js +0 -2
  795. package/dist/bundle/chunks/chunk-LVDUF74R.js +0 -7
  796. package/dist/bundle/chunks/chunk-M4LDT7V7.js +0 -6
  797. package/dist/bundle/chunks/chunk-MDE25PQK.js +0 -15
  798. package/dist/bundle/chunks/chunk-MHDZERK4.js +0 -6
  799. package/dist/bundle/chunks/chunk-MHZF23KB.js +0 -33
  800. package/dist/bundle/chunks/chunk-N6W6FM4N.js +0 -8
  801. package/dist/bundle/chunks/chunk-NRLE7KYI.js +0 -6
  802. package/dist/bundle/chunks/chunk-OB46N7Q7.js +0 -2
  803. package/dist/bundle/chunks/chunk-OQ7C4FYO.js +0 -2
  804. package/dist/bundle/chunks/chunk-P5BOIHWV.js +0 -6
  805. package/dist/bundle/chunks/chunk-PPDMRIJ7.js +0 -11
  806. package/dist/bundle/chunks/chunk-PPHGMG47.js +0 -142
  807. package/dist/bundle/chunks/chunk-R6ZGLVXI.js +0 -9
  808. package/dist/bundle/chunks/chunk-RCRHDT54.js +0 -274
  809. package/dist/bundle/chunks/chunk-RIIUVFUS.js +0 -7
  810. package/dist/bundle/chunks/chunk-SQX6WQXB.js +0 -7
  811. package/dist/bundle/chunks/chunk-SRB6FXRH.js +0 -2
  812. package/dist/bundle/chunks/chunk-T4INBNHX.js +0 -8
  813. package/dist/bundle/chunks/chunk-TUQG2YRH.js +0 -5
  814. package/dist/bundle/chunks/chunk-U7UNEMLJ.js +0 -2
  815. package/dist/bundle/chunks/chunk-UHHCL65P.js +0 -3
  816. package/dist/bundle/chunks/chunk-UK2K3DHN.js +0 -8
  817. package/dist/bundle/chunks/chunk-VDJ53ESK.js +0 -9
  818. package/dist/bundle/chunks/chunk-VGCXKMXN.js +0 -10
  819. package/dist/bundle/chunks/chunk-W5DWRFSU.js +0 -2
  820. package/dist/bundle/chunks/chunk-W5J5ADJF.js +0 -100
  821. package/dist/bundle/chunks/chunk-XHFP44Y4.js +0 -5
  822. package/dist/bundle/chunks/chunk-Y32R7EZP.js +0 -25
  823. package/dist/bundle/chunks/chunk-Y62SXZKJ.js +0 -12
  824. package/dist/bundle/chunks/chunk-YUFU7O6I.js +0 -16
  825. package/dist/bundle/chunks/chunk-YZH7FUSY.js +0 -14
  826. package/dist/bundle/chunks/column-F5JDBRV6.js +0 -2
  827. package/dist/bundle/chunks/comm-DTWKU2MC.js +0 -2
  828. package/dist/bundle/chunks/cp-LTFB4EUA.js +0 -2
  829. package/dist/bundle/chunks/curl-XCX2ZQEA.js +0 -30
  830. package/dist/bundle/chunks/cut-IRSHL3BB.js +0 -2
  831. package/dist/bundle/chunks/date-FN2DXAEE.js +0 -2
  832. package/dist/bundle/chunks/diff-VDB6RXHO.js +0 -2
  833. package/dist/bundle/chunks/du-DOWSRLXR.js +0 -2
  834. package/dist/bundle/chunks/env-VUUMB47B.js +0 -2
  835. package/dist/bundle/chunks/expand-2BPPGGSM.js +0 -2
  836. package/dist/bundle/chunks/expr-GZ4DABKB.js +0 -2
  837. package/dist/bundle/chunks/file-UI6QJAAU.js +0 -2
  838. package/dist/bundle/chunks/find-JTXDH3MR.js +0 -2
  839. package/dist/bundle/chunks/flag-coverage-EDO3VM43.js +0 -2
  840. package/dist/bundle/chunks/fold-QJBPHRFJ.js +0 -2
  841. package/dist/bundle/chunks/grep-OZCR76FT.js +0 -2
  842. package/dist/bundle/chunks/gzip-GQC6CWVL.js +0 -2
  843. package/dist/bundle/chunks/head-J6RVJFRS.js +0 -2
  844. package/dist/bundle/chunks/html-to-markdown-7OG5VWYG.js +0 -2
  845. package/dist/bundle/chunks/join-KQ4Z5OD4.js +0 -2
  846. package/dist/bundle/chunks/jq-FCG2IUBK.js +0 -2
  847. package/dist/bundle/chunks/js-exec-NDLXDUBN.js +0 -1577
  848. package/dist/bundle/chunks/ls-MQTYWW4T.js +0 -2
  849. package/dist/bundle/chunks/md5sum-JEDX55KS.js +0 -2
  850. package/dist/bundle/chunks/mkdir-4A5W3RXH.js +0 -2
  851. package/dist/bundle/chunks/mktemp-XKIE5N3X.js +0 -2
  852. package/dist/bundle/chunks/mv-ZPIATQJL.js +0 -2
  853. package/dist/bundle/chunks/nl-RFXH2GNX.js +0 -2
  854. package/dist/bundle/chunks/od-LUHOH7CG.js +0 -2
  855. package/dist/bundle/chunks/paste-U57ZU47S.js +0 -2
  856. package/dist/bundle/chunks/printf-V42QCPHL.js +0 -2
  857. package/dist/bundle/chunks/python3-SDFCGIU4.js +0 -22
  858. package/dist/bundle/chunks/readlink-YNNS6F7K.js +0 -2
  859. package/dist/bundle/chunks/rev-EPOS3MFH.js +0 -2
  860. package/dist/bundle/chunks/rg-F4SX2PHI.js +0 -2
  861. package/dist/bundle/chunks/rm-3XUUYAXQ.js +0 -2
  862. package/dist/bundle/chunks/rmdir-OGSEXEF4.js +0 -2
  863. package/dist/bundle/chunks/sed-MBB5SXGD.js +0 -2
  864. package/dist/bundle/chunks/seq-IN77HD3S.js +0 -2
  865. package/dist/bundle/chunks/sha1sum-BLPZJ6MP.js +0 -2
  866. package/dist/bundle/chunks/sha256sum-VJZ4PHQ4.js +0 -2
  867. package/dist/bundle/chunks/sort-PV2NEQHF.js +0 -2
  868. package/dist/bundle/chunks/split-6R2TSQY6.js +0 -2
  869. package/dist/bundle/chunks/sqlite3-7MBPFI6W.js +0 -2
  870. package/dist/bundle/chunks/stat-YLVJ4L67.js +0 -2
  871. package/dist/bundle/chunks/strings-WTD7Q2EF.js +0 -2
  872. package/dist/bundle/chunks/tac-YXC4HBTR.js +0 -2
  873. package/dist/bundle/chunks/tail-UGFWX3YY.js +0 -2
  874. package/dist/bundle/chunks/tar-BNHPWTOY.js +0 -2
  875. package/dist/bundle/chunks/tee-OOWSWHRQ.js +0 -2
  876. package/dist/bundle/chunks/time-N6J6DC6C.js +0 -2
  877. package/dist/bundle/chunks/timeout-ZHCL5KTP.js +0 -2
  878. package/dist/bundle/chunks/touch-W4DF6Z4T.js +0 -2
  879. package/dist/bundle/chunks/tr-4NGL47UU.js +0 -2
  880. package/dist/bundle/chunks/unexpand-YD5BWFH4.js +0 -2
  881. package/dist/bundle/chunks/uniq-OVOW532K.js +0 -2
  882. package/dist/bundle/chunks/wc-RUR7HE5O.js +0 -2
  883. package/dist/bundle/chunks/xan-7R3I2DJO.js +0 -2
  884. package/dist/bundle/chunks/xan-view-S4ZILLPU.js +0 -2
  885. package/dist/bundle/chunks/xargs-L7TJHOJT.js +0 -2
  886. package/dist/bundle/chunks/yes-I7SAR7XX.js +0 -2
  887. package/dist/bundle/chunks/yq-IOMBQYB2.js +0 -2
@@ -1,1577 +0,0 @@
1
- import{createRequire} from"node:module";const require=createRequire(import.meta.url);
2
- import{a as pe}from"./chunk-SRB6FXRH.js";import{c as ce,d as de}from"./chunk-43OP7DFL.js";import{a as me}from"./chunk-L2UW7DWF.js";import{a as ye}from"./chunk-DLL7UR66.js";import{b as _}from"./chunk-CBM6J4AL.js";import"./chunk-EFORKKSH.js";import{d as z}from"./chunk-GN6CQ3J4.js";import{a as O}from"./chunk-W5DWRFSU.js";import{a as g,b as B}from"./chunk-FOCWZZDE.js";import{b as he}from"./chunk-QAYAQNCG.js";import"./chunk-NCUTH6QL.js";import{AsyncLocalStorage as Ke}from"node:async_hooks";import{Buffer as h}from"node:buffer";import{createRunner as Qe,getHostFunctionContext as D,RunAbortedError as Xe,RunBridgeLimitError as Ze,RunError as et,RunTimeoutError as Ue}from"run";var be=`
3
- (function() {
4
- // --- URLSearchParams ---
5
- function URLSearchParams(init) {
6
- this._entries = [];
7
- if (!init) return;
8
- if (typeof init === 'string') {
9
- var s = init;
10
- if (s.charAt(0) === '?') s = s.slice(1);
11
- var pairs = s.split('&');
12
- for (var i = 0; i < pairs.length; i++) {
13
- var pair = pairs[i];
14
- if (pair === '') continue;
15
- var eq = pair.indexOf('=');
16
- if (eq === -1) {
17
- this._entries.push([decodeURIComponent(pair), '']);
18
- } else {
19
- this._entries.push([
20
- decodeURIComponent(pair.slice(0, eq)),
21
- decodeURIComponent(pair.slice(eq + 1))
22
- ]);
23
- }
24
- }
25
- } else if (typeof init === 'object' && init !== null) {
26
- if (init instanceof URLSearchParams) {
27
- this._entries = init._entries.slice();
28
- } else {
29
- var keys = Object.keys(init);
30
- for (var i = 0; i < keys.length; i++) {
31
- this._entries.push([keys[i], String(init[keys[i]])]);
32
- }
33
- }
34
- }
35
- }
36
-
37
- URLSearchParams.prototype.append = function(name, value) {
38
- this._entries.push([String(name), String(value)]);
39
- };
40
-
41
- URLSearchParams.prototype.delete = function(name) {
42
- var n = String(name);
43
- this._entries = this._entries.filter(function(e) { return e[0] !== n; });
44
- };
45
-
46
- URLSearchParams.prototype.get = function(name) {
47
- var n = String(name);
48
- for (var i = 0; i < this._entries.length; i++) {
49
- if (this._entries[i][0] === n) return this._entries[i][1];
50
- }
51
- return null;
52
- };
53
-
54
- URLSearchParams.prototype.getAll = function(name) {
55
- var n = String(name);
56
- var result = [];
57
- for (var i = 0; i < this._entries.length; i++) {
58
- if (this._entries[i][0] === n) result.push(this._entries[i][1]);
59
- }
60
- return result;
61
- };
62
-
63
- URLSearchParams.prototype.has = function(name) {
64
- var n = String(name);
65
- for (var i = 0; i < this._entries.length; i++) {
66
- if (this._entries[i][0] === n) return true;
67
- }
68
- return false;
69
- };
70
-
71
- URLSearchParams.prototype.set = function(name, value) {
72
- var n = String(name);
73
- var v = String(value);
74
- var found = false;
75
- var newEntries = [];
76
- for (var i = 0; i < this._entries.length; i++) {
77
- if (this._entries[i][0] === n) {
78
- if (!found) {
79
- newEntries.push([n, v]);
80
- found = true;
81
- }
82
- } else {
83
- newEntries.push(this._entries[i]);
84
- }
85
- }
86
- if (!found) newEntries.push([n, v]);
87
- this._entries = newEntries;
88
- };
89
-
90
- URLSearchParams.prototype.sort = function() {
91
- this._entries.sort(function(a, b) {
92
- if (a[0] < b[0]) return -1;
93
- if (a[0] > b[0]) return 1;
94
- return 0;
95
- });
96
- };
97
-
98
- URLSearchParams.prototype.toString = function() {
99
- return this._entries.map(function(e) {
100
- return encodeURIComponent(e[0]) + '=' + encodeURIComponent(e[1]);
101
- }).join('&');
102
- };
103
-
104
- URLSearchParams.prototype.forEach = function(callback, thisArg) {
105
- for (var i = 0; i < this._entries.length; i++) {
106
- callback.call(thisArg, this._entries[i][1], this._entries[i][0], this);
107
- }
108
- };
109
-
110
- URLSearchParams.prototype.entries = function() {
111
- var idx = 0;
112
- var entries = this._entries;
113
- return {
114
- next: function() {
115
- if (idx >= entries.length) return { done: true, value: undefined };
116
- return { done: false, value: entries[idx++].slice() };
117
- },
118
- [Symbol.iterator]: function() { return this; }
119
- };
120
- };
121
-
122
- URLSearchParams.prototype.keys = function() {
123
- var idx = 0;
124
- var entries = this._entries;
125
- return {
126
- next: function() {
127
- if (idx >= entries.length) return { done: true, value: undefined };
128
- return { done: false, value: entries[idx++][0] };
129
- },
130
- [Symbol.iterator]: function() { return this; }
131
- };
132
- };
133
-
134
- URLSearchParams.prototype.values = function() {
135
- var idx = 0;
136
- var entries = this._entries;
137
- return {
138
- next: function() {
139
- if (idx >= entries.length) return { done: true, value: undefined };
140
- return { done: false, value: entries[idx++][1] };
141
- },
142
- [Symbol.iterator]: function() { return this; }
143
- };
144
- };
145
-
146
- URLSearchParams.prototype[Symbol.iterator] = URLSearchParams.prototype.entries;
147
-
148
- Object.defineProperty(URLSearchParams.prototype, 'size', {
149
- get: function() { return this._entries.length; }
150
- });
151
-
152
- // --- URL ---
153
- var urlRegex = /^([a-zA-Z][a-zA-Z0-9+.-]*):(?:\\/\\/(?:([^:@/?#]*)(?::([^@/?#]*))?@)?([^:/?#]*)(?::([0-9]+))?)?(\\/[^?#]*)?(?:\\?([^#]*))?(?:#(.*))?$/;
154
-
155
- function URL(url, base) {
156
- var input = String(url);
157
-
158
- if (base !== undefined) {
159
- var baseUrl = (base instanceof URL) ? base : new URL(String(base));
160
- // Resolve relative URL against base
161
- if (/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(input)) {
162
- // Absolute URL - parse as-is
163
- } else if (input.charAt(0) === '/' && input.charAt(1) === '/') {
164
- // Protocol-relative
165
- input = baseUrl.protocol + input;
166
- } else if (input.charAt(0) === '/') {
167
- // Absolute path
168
- input = baseUrl.origin + input;
169
- } else if (input.charAt(0) === '?' || input.charAt(0) === '#') {
170
- // Query or hash only
171
- var basePath = baseUrl.protocol + '//' + baseUrl.host + baseUrl.pathname;
172
- if (input.charAt(0) === '#') {
173
- input = basePath + baseUrl.search + input;
174
- } else {
175
- input = basePath + input;
176
- }
177
- } else {
178
- // Relative path
179
- var basePath = baseUrl.protocol + '//' + baseUrl.host;
180
- var dirPath = baseUrl.pathname;
181
- var lastSlash = dirPath.lastIndexOf('/');
182
- if (lastSlash >= 0) dirPath = dirPath.slice(0, lastSlash + 1);
183
- else dirPath = '/';
184
- input = basePath + dirPath + input;
185
- }
186
- }
187
-
188
- var m = urlRegex.exec(input);
189
- if (!m) throw new TypeError("Invalid URL: " + String(url));
190
-
191
- this.protocol = m[1].toLowerCase() + ':';
192
- this.username = m[2] ? decodeURIComponent(m[2]) : '';
193
- this.password = m[3] ? decodeURIComponent(m[3]) : '';
194
- this.hostname = m[4] || '';
195
- this.port = m[5] || '';
196
- this.pathname = m[6] || '/';
197
- this.hash = m[8] ? '#' + m[8] : '';
198
-
199
- // Normalize pathname (resolve . and ..)
200
- var parts = this.pathname.split('/');
201
- var resolved = [];
202
- for (var i = 0; i < parts.length; i++) {
203
- if (parts[i] === '..') { if (resolved.length > 1) resolved.pop(); }
204
- else if (parts[i] !== '.') resolved.push(parts[i]);
205
- }
206
- this.pathname = resolved.join('/') || '/';
207
-
208
- // searchParams is live
209
- this._searchParamsStr = m[7] || '';
210
- this.searchParams = new URLSearchParams(this._searchParamsStr);
211
- }
212
-
213
- Object.defineProperty(URL.prototype, 'search', {
214
- get: function() {
215
- var s = this.searchParams.toString();
216
- return s ? '?' + s : '';
217
- },
218
- set: function(v) {
219
- this.searchParams = new URLSearchParams(String(v));
220
- }
221
- });
222
-
223
- Object.defineProperty(URL.prototype, 'host', {
224
- get: function() {
225
- return this.port ? this.hostname + ':' + this.port : this.hostname;
226
- }
227
- });
228
-
229
- Object.defineProperty(URL.prototype, 'origin', {
230
- get: function() {
231
- return this.protocol + '//' + this.host;
232
- }
233
- });
234
-
235
- Object.defineProperty(URL.prototype, 'href', {
236
- get: function() {
237
- var auth = '';
238
- if (this.username) {
239
- auth = this.username;
240
- if (this.password) auth += ':' + this.password;
241
- auth += '@';
242
- }
243
- return this.protocol + '//' + auth + this.host + this.pathname + this.search + this.hash;
244
- },
245
- set: function(v) {
246
- var parsed = new URL(String(v));
247
- this.protocol = parsed.protocol;
248
- this.username = parsed.username;
249
- this.password = parsed.password;
250
- this.hostname = parsed.hostname;
251
- this.port = parsed.port;
252
- this.pathname = parsed.pathname;
253
- this.searchParams = parsed.searchParams;
254
- this.hash = parsed.hash;
255
- }
256
- });
257
-
258
- URL.prototype.toString = function() { return this.href; };
259
- URL.prototype.toJSON = function() { return this.href; };
260
-
261
- // --- Headers ---
262
- function Headers(init) {
263
- this._map = Object.create(null);
264
- if (!init) return;
265
- if (init instanceof Headers) {
266
- var keys = Object.keys(init._map);
267
- for (var i = 0; i < keys.length; i++) {
268
- this._map[keys[i]] = init._map[keys[i]].slice();
269
- }
270
- } else if (typeof init === 'object') {
271
- var keys = Object.keys(init);
272
- for (var i = 0; i < keys.length; i++) {
273
- this._map[keys[i].toLowerCase()] = [String(init[keys[i]])];
274
- }
275
- }
276
- }
277
-
278
- Headers.prototype.append = function(name, value) {
279
- var key = String(name).toLowerCase();
280
- if (!Object.prototype.hasOwnProperty.call(this._map, key)) this._map[key] = [];
281
- this._map[key].push(String(value));
282
- };
283
-
284
- Headers.prototype.delete = function(name) {
285
- delete this._map[String(name).toLowerCase()];
286
- };
287
-
288
- Headers.prototype.get = function(name) {
289
- var vals = this._map[String(name).toLowerCase()];
290
- return vals ? vals.join(', ') : null;
291
- };
292
-
293
- Headers.prototype.has = function(name) {
294
- return Object.prototype.hasOwnProperty.call(this._map, String(name).toLowerCase());
295
- };
296
-
297
- Headers.prototype.set = function(name, value) {
298
- this._map[String(name).toLowerCase()] = [String(value)];
299
- };
300
-
301
- Headers.prototype.forEach = function(callback, thisArg) {
302
- var keys = Object.keys(this._map).sort();
303
- for (var i = 0; i < keys.length; i++) {
304
- callback.call(thisArg, this._map[keys[i]].join(', '), keys[i], this);
305
- }
306
- };
307
-
308
- Headers.prototype.entries = function() {
309
- var keys = Object.keys(this._map).sort();
310
- var map = this._map;
311
- var idx = 0;
312
- return {
313
- next: function() {
314
- if (idx >= keys.length) return { done: true, value: undefined };
315
- var k = keys[idx++];
316
- return { done: false, value: [k, map[k].join(', ')] };
317
- },
318
- [Symbol.iterator]: function() { return this; }
319
- };
320
- };
321
-
322
- Headers.prototype.keys = function() {
323
- var keys = Object.keys(this._map).sort();
324
- var idx = 0;
325
- return {
326
- next: function() {
327
- if (idx >= keys.length) return { done: true, value: undefined };
328
- return { done: false, value: keys[idx++] };
329
- },
330
- [Symbol.iterator]: function() { return this; }
331
- };
332
- };
333
-
334
- Headers.prototype.values = function() {
335
- var keys = Object.keys(this._map).sort();
336
- var map = this._map;
337
- var idx = 0;
338
- return {
339
- next: function() {
340
- if (idx >= keys.length) return { done: true, value: undefined };
341
- return { done: false, value: map[keys[idx++]].join(', ') };
342
- },
343
- [Symbol.iterator]: function() { return this; }
344
- };
345
- };
346
-
347
- Headers.prototype[Symbol.iterator] = Headers.prototype.entries;
348
-
349
- // --- Response ---
350
- function Response(body, init) {
351
- if (init === undefined) init = {};
352
- this.status = init.status !== undefined ? init.status : 200;
353
- this.statusText = init.statusText !== undefined ? init.statusText : '';
354
- this.headers = init.headers instanceof Headers ? init.headers : new Headers(init.headers);
355
- this.body = body !== undefined && body !== null ? String(body) : '';
356
- this.ok = this.status >= 200 && this.status <= 299;
357
- this.url = '';
358
- this.redirected = false;
359
- this.type = 'basic';
360
- this.bodyUsed = false;
361
- }
362
-
363
- Response.prototype.text = function() {
364
- this.bodyUsed = true;
365
- return Promise.resolve(this.body);
366
- };
367
-
368
- Response.prototype.json = function() {
369
- this.bodyUsed = true;
370
- try {
371
- return Promise.resolve(JSON.parse(this.body));
372
- } catch (e) {
373
- return Promise.reject(e);
374
- }
375
- };
376
-
377
- Response.prototype.clone = function() {
378
- var r = new Response(this.body, {
379
- status: this.status,
380
- statusText: this.statusText,
381
- headers: new Headers(this.headers)
382
- });
383
- r.url = this.url;
384
- r.redirected = this.redirected;
385
- r.type = this.type;
386
- return r;
387
- };
388
-
389
- Response.json = function(data, init) {
390
- if (init === undefined) init = {};
391
- var headers = init.headers instanceof Headers ? init.headers : new Headers(init.headers);
392
- if (!headers.has('content-type')) {
393
- headers.set('content-type', 'application/json');
394
- }
395
- return new Response(JSON.stringify(data), {
396
- status: init.status !== undefined ? init.status : 200,
397
- statusText: init.statusText || '',
398
- headers: headers
399
- });
400
- };
401
-
402
- Response.error = function() {
403
- var r = new Response(null, { status: 0, statusText: '' });
404
- r.type = 'error';
405
- r.ok = false;
406
- return r;
407
- };
408
-
409
- Response.redirect = function(url, status) {
410
- if (status === undefined) status = 302;
411
- var r = new Response(null, {
412
- status: status,
413
- statusText: '',
414
- headers: new Headers({ location: String(url) })
415
- });
416
- r.redirected = true;
417
- return r;
418
- };
419
-
420
- // --- Request ---
421
- function Request(input, init) {
422
- if (init === undefined) init = {};
423
- if (input instanceof Request) {
424
- this.url = input.url;
425
- this.method = input.method;
426
- this.headers = new Headers(input.headers);
427
- this.body = input.body;
428
- } else {
429
- this.url = String(input);
430
- this.method = 'GET';
431
- this.headers = new Headers();
432
- this.body = null;
433
- }
434
- if (init.method !== undefined) this.method = String(init.method).toUpperCase();
435
- if (init.headers !== undefined) this.headers = init.headers instanceof Headers ? init.headers : new Headers(init.headers);
436
- if (init.body !== undefined) this.body = init.body !== null ? String(init.body) : null;
437
- }
438
-
439
- Request.prototype.clone = function() {
440
- return new Request(this);
441
- };
442
-
443
- // --- Assign to globalThis ---
444
- globalThis.URLSearchParams = URLSearchParams;
445
- globalThis.URL = URL;
446
- globalThis.Headers = Headers;
447
- globalThis.Response = Response;
448
- globalThis.Request = Request;
449
-
450
- // --- Wrap native fetch ---
451
- var _nativeFetch = globalThis[Symbol.for('jb:fetch')];
452
- globalThis.fetch = function fetch(input, init) {
453
- try {
454
- var url, method, headers, body;
455
-
456
- if (input instanceof Request) {
457
- url = input.url;
458
- method = input.method;
459
- headers = {};
460
- input.headers.forEach(function(v, k) { headers[k] = v; });
461
- body = input.body;
462
- } else {
463
- url = String(input);
464
- method = undefined;
465
- headers = undefined;
466
- body = undefined;
467
- }
468
-
469
- if (init) {
470
- if (init.method !== undefined) method = String(init.method).toUpperCase();
471
- if (init.headers !== undefined) {
472
- var h = init.headers instanceof Headers ? init.headers : new Headers(init.headers);
473
- headers = {};
474
- h.forEach(function(v, k) { headers[k] = v; });
475
- }
476
- if (init.body !== undefined) body = init.body !== null ? String(init.body) : undefined;
477
- }
478
-
479
- var opts = Object.create(null);
480
- if (method) opts.method = method;
481
- if (headers) opts.headers = headers;
482
- if (body) opts.body = body;
483
-
484
- var raw = _nativeFetch(url, opts);
485
-
486
- var respHeaders = new Headers(raw.headers || {});
487
- var response = new Response(raw.body, {
488
- status: raw.status,
489
- statusText: raw.statusText || '',
490
- headers: respHeaders
491
- });
492
- response.url = raw.url || url;
493
-
494
- return Promise.resolve(response);
495
- } catch (e) {
496
- return Promise.reject(new TypeError(e.message || 'fetch failed'));
497
- }
498
- };
499
- })();
500
- `;var ge=`
501
- var EventEmitter = (function() {
502
- function EE() {
503
- this._events = {};
504
- this._maxListeners = 10;
505
- }
506
- EE.prototype.on = function(event, listener) {
507
- if (!this._events[event]) this._events[event] = [];
508
- this._events[event].push(listener);
509
- return this;
510
- };
511
- EE.prototype.addListener = EE.prototype.on;
512
- EE.prototype.once = function(event, listener) {
513
- var self = this;
514
- function wrapper() {
515
- self.removeListener(event, wrapper);
516
- listener.apply(this, arguments);
517
- }
518
- wrapper._original = listener;
519
- return this.on(event, wrapper);
520
- };
521
- EE.prototype.off = function(event, listener) {
522
- return this.removeListener(event, listener);
523
- };
524
- EE.prototype.removeListener = function(event, listener) {
525
- var list = this._events[event];
526
- if (list) {
527
- this._events[event] = list.filter(function(fn) {
528
- return fn !== listener && fn._original !== listener;
529
- });
530
- }
531
- return this;
532
- };
533
- EE.prototype.removeAllListeners = function(event) {
534
- if (event) delete this._events[event];
535
- else this._events = {};
536
- return this;
537
- };
538
- EE.prototype.emit = function(event) {
539
- var list = this._events[event];
540
- if (!list || list.length === 0) return false;
541
- var args = Array.prototype.slice.call(arguments, 1);
542
- var fns = list.slice();
543
- for (var i = 0; i < fns.length; i++) fns[i].apply(this, args);
544
- return true;
545
- };
546
- EE.prototype.listeners = function(event) {
547
- return (this._events[event] || []).slice();
548
- };
549
- EE.prototype.listenerCount = function(event) {
550
- return (this._events[event] || []).length;
551
- };
552
- EE.prototype.setMaxListeners = function(n) {
553
- this._maxListeners = n;
554
- return this;
555
- };
556
- EE.prototype.eventNames = function() {
557
- return Object.keys(this._events);
558
- };
559
- EE.prototype.prependListener = function(event, listener) {
560
- if (!this._events[event]) this._events[event] = [];
561
- this._events[event].unshift(listener);
562
- return this;
563
- };
564
- return EE;
565
- })();
566
- globalThis[Symbol.for('jb:events')] = { EventEmitter: EventEmitter };
567
- `,ve=`
568
- var _os = {
569
- platform: function() { return globalThis.process.platform; },
570
- arch: function() { return globalThis.process.arch; },
571
- homedir: function() { return '/home/user'; },
572
- tmpdir: function() { return '/tmp'; },
573
- type: function() { return 'Linux'; },
574
- hostname: function() { return 'sandbox'; },
575
- EOL: '\\n',
576
- cpus: function() { return []; },
577
- totalmem: function() { return 0; },
578
- freemem: function() { return 0; },
579
- endianness: function() { return 'LE'; }
580
- };
581
- globalThis[Symbol.for('jb:os')] = _os;
582
- `,Se=`
583
- var _urlMod = {
584
- URL: globalThis.URL,
585
- URLSearchParams: globalThis.URLSearchParams,
586
- parse: function(urlStr) {
587
- try {
588
- var u = new URL(urlStr);
589
- return {
590
- protocol: u.protocol, host: u.host, hostname: u.hostname,
591
- port: u.port, pathname: u.pathname, search: u.search,
592
- hash: u.hash, href: u.href, path: u.pathname + u.search
593
- };
594
- } catch(e) {
595
- return {
596
- protocol: null, host: null, hostname: null, port: null,
597
- pathname: urlStr, search: '', hash: '', href: urlStr, path: urlStr
598
- };
599
- }
600
- },
601
- format: function(obj) {
602
- if (typeof obj === 'string') return obj;
603
- if (obj instanceof URL) return obj.href;
604
- var auth = obj.auth ? obj.auth + '@' : '';
605
- var host = obj.host || ((obj.hostname || '') + (obj.port ? ':' + obj.port : ''));
606
- return (obj.protocol ? obj.protocol + '//' : '') + auth + host +
607
- (obj.pathname || '/') + (obj.search || '') + (obj.hash || '');
608
- }
609
- };
610
- globalThis[Symbol.for('jb:url')] = _urlMod;
611
- `,_e=`
612
- var _deepEqual = function(a, b) {
613
- if (a === b) return true;
614
- if (a === null || b === null || typeof a !== 'object' || typeof b !== 'object') return false;
615
- if (Array.isArray(a) !== Array.isArray(b)) return false;
616
- var ka = Object.keys(a), kb = Object.keys(b);
617
- if (ka.length !== kb.length) return false;
618
- for (var i = 0; i < ka.length; i++) {
619
- if (!_deepEqual(a[ka[i]], b[ka[i]])) return false;
620
- }
621
- return true;
622
- };
623
- var _assert = function(val, msg) {
624
- if (!val) throw new Error(msg || 'AssertionError: expected truthy value');
625
- };
626
- _assert.ok = _assert;
627
- _assert.equal = function(a, b, msg) {
628
- if (a != b) throw new Error(msg || 'AssertionError: ' + a + ' != ' + b);
629
- };
630
- _assert.notEqual = function(a, b, msg) {
631
- if (a == b) throw new Error(msg || 'AssertionError: ' + a + ' == ' + b);
632
- };
633
- _assert.strictEqual = function(a, b, msg) {
634
- if (a !== b) throw new Error(msg || 'AssertionError: ' + a + ' !== ' + b);
635
- };
636
- _assert.notStrictEqual = function(a, b, msg) {
637
- if (a === b) throw new Error(msg || 'AssertionError: ' + a + ' === ' + b);
638
- };
639
- _assert.deepEqual = function(a, b, msg) {
640
- if (!_deepEqual(a, b)) throw new Error(msg || 'AssertionError: objects not deep equal');
641
- };
642
- _assert.deepStrictEqual = _assert.deepEqual;
643
- _assert.notDeepEqual = function(a, b, msg) {
644
- if (_deepEqual(a, b)) throw new Error(msg || 'AssertionError: objects are deep equal');
645
- };
646
- _assert.throws = function(fn, expected, msg) {
647
- var threw = false;
648
- try { fn(); } catch(e) {
649
- threw = true;
650
- if (expected instanceof RegExp && !expected.test(e.message))
651
- throw new Error(msg || 'AssertionError: error message did not match');
652
- }
653
- if (!threw) throw new Error(msg || 'AssertionError: function did not throw');
654
- };
655
- _assert.doesNotThrow = function(fn, msg) {
656
- // @banned-pattern-ignore: sandbox-internal assertion helper; e.message is from user code inside QuickJS, not host details
657
- try { fn(); } catch(e) {
658
- throw new Error(msg || 'AssertionError: function threw: ' + e.message);
659
- }
660
- };
661
- _assert.fail = function(msg) {
662
- throw new Error(msg || 'AssertionError: assert.fail()');
663
- };
664
- globalThis[Symbol.for('jb:assert')] = _assert;
665
- `,xe=`
666
- var _util = {
667
- format: function() {
668
- var args = Array.prototype.slice.call(arguments);
669
- if (args.length === 0) return '';
670
- var fmt = args[0];
671
- if (typeof fmt !== 'string') {
672
- return args.map(function(a) {
673
- return typeof a === 'string' ? a : JSON.stringify(a);
674
- }).join(' ');
675
- }
676
- var i = 1;
677
- var str = fmt.replace(/%[sdjifoO%]/g, function(m) {
678
- if (m === '%%') return '%';
679
- if (i >= args.length) return m;
680
- var v = args[i++];
681
- if (m === '%s') return String(v);
682
- if (m === '%d') return Number(v).toString();
683
- if (m === '%i') { var n = Number(v); return (isNaN(n) ? 'NaN' : Math.trunc(n)).toString(); }
684
- if (m === '%j') return JSON.stringify(v);
685
- if (m === '%f') return parseFloat(v).toString();
686
- if (m === '%o' || m === '%O') return JSON.stringify(v);
687
- return m;
688
- });
689
- while (i < args.length) {
690
- str += ' ' + (typeof args[i] === 'string' ? args[i] : JSON.stringify(args[i]));
691
- i++;
692
- }
693
- return str;
694
- },
695
- inspect: function(obj, opts) {
696
- if (obj === null) return 'null';
697
- if (obj === undefined) return 'undefined';
698
- if (typeof obj === 'string') return "'" + obj + "'";
699
- if (typeof obj === 'function') return '[Function: ' + (obj.name || 'anonymous') + ']';
700
- var seen = [];
701
- try {
702
- return JSON.stringify(obj, function(key, val) {
703
- if (typeof val === 'object' && val !== null) {
704
- if (seen.indexOf(val) !== -1) return '[Circular]';
705
- seen.push(val);
706
- }
707
- return val;
708
- });
709
- } catch(e) { return String(obj); }
710
- },
711
- promisify: function(fn) {
712
- return function() {
713
- var args = Array.prototype.slice.call(arguments);
714
- return new Promise(function(resolve, reject) {
715
- args.push(function(err, val) { if (err) reject(err); else resolve(val); });
716
- fn.apply(null, args);
717
- });
718
- };
719
- },
720
- types: {
721
- isDate: function(v) { return v instanceof Date; },
722
- isRegExp: function(v) { return v instanceof RegExp; },
723
- isArray: function(v) { return Array.isArray(v); },
724
- isMap: function(v) { return typeof Map !== 'undefined' && v instanceof Map; },
725
- isSet: function(v) { return typeof Set !== 'undefined' && v instanceof Set; }
726
- },
727
- inherits: function(ctor, superCtor) {
728
- ctor.prototype = Object.create(superCtor.prototype);
729
- ctor.prototype.constructor = ctor;
730
- }
731
- };
732
- globalThis[Symbol.for('jb:util')] = _util;
733
- `,Ee=`
734
- function _utf8Encode(str) {
735
- var bytes = [];
736
- for (var i = 0; i < str.length; i++) {
737
- var c = str.charCodeAt(i);
738
- if (c < 0x80) {
739
- bytes.push(c);
740
- } else if (c < 0x800) {
741
- bytes.push(0xC0 | (c >> 6), 0x80 | (c & 0x3F));
742
- } else if (c >= 0xD800 && c <= 0xDBFF && i + 1 < str.length) {
743
- var lo = str.charCodeAt(++i);
744
- var cp = ((c - 0xD800) * 0x400) + (lo - 0xDC00) + 0x10000;
745
- bytes.push(0xF0 | (cp >> 18), 0x80 | ((cp >> 12) & 0x3F), 0x80 | ((cp >> 6) & 0x3F), 0x80 | (cp & 0x3F));
746
- } else {
747
- bytes.push(0xE0 | (c >> 12), 0x80 | ((c >> 6) & 0x3F), 0x80 | (c & 0x3F));
748
- }
749
- }
750
- return bytes;
751
- }
752
- function _utf8Decode(bytes) {
753
- var str = '';
754
- var i = 0;
755
- while (i < bytes.length) {
756
- var b = bytes[i];
757
- if (b < 0x80) { str += String.fromCharCode(b); i++; }
758
- else if ((b & 0xE0) === 0xC0) { str += String.fromCharCode(((b & 0x1F) << 6) | (bytes[i+1] & 0x3F)); i += 2; }
759
- else if ((b & 0xF0) === 0xE0) { str += String.fromCharCode(((b & 0x0F) << 12) | ((bytes[i+1] & 0x3F) << 6) | (bytes[i+2] & 0x3F)); i += 3; }
760
- else if ((b & 0xF8) === 0xF0) { var cp = ((b & 0x07) << 18) | ((bytes[i+1] & 0x3F) << 12) | ((bytes[i+2] & 0x3F) << 6) | (bytes[i+3] & 0x3F); cp -= 0x10000; str += String.fromCharCode((cp >> 10) + 0xD800, (cp & 0x3FF) + 0xDC00); i += 4; }
761
- else { i++; }
762
- }
763
- return str;
764
- }
765
- // _utf8Encode/_utf8Decode are IIFE-local vars, available to all module shims
766
- // IMPORTANT: round-trip tests (encode then decode) mask broken encodings
767
- // because both sides become no-ops. Encoding tests MUST assert the encoded
768
- // constant directly.
769
- function _normEnc(enc) {
770
- if (enc === undefined || enc === null) return 'utf8';
771
- var e = String(enc).toLowerCase();
772
- if (e === 'utf8' || e === 'utf-8') return 'utf8';
773
- if (e === 'utf16le' || e === 'utf-16le' || e === 'ucs2' || e === 'ucs-2') return 'utf16le';
774
- if (e === 'latin1' || e === 'binary') return 'latin1';
775
- if (e === 'ascii') return 'ascii';
776
- if (e === 'base64') return 'base64';
777
- if (e === 'base64url') return 'base64url';
778
- if (e === 'hex') return 'hex';
779
- return undefined;
780
- }
781
- function _badEnc(enc) {
782
- throw new TypeError("Unknown encoding: " + enc);
783
- }
784
- var _HEX = '0123456789abcdef';
785
- function _hexEncode(bytes) {
786
- var s = '';
787
- for (var i = 0; i < bytes.length; i++) {
788
- var b = bytes[i] & 0xff;
789
- s += _HEX.charAt(b >> 4) + _HEX.charAt(b & 0x0f);
790
- }
791
- return s;
792
- }
793
- function _hexDecode(str) {
794
- var out = [];
795
- for (var i = 0; i + 1 < str.length; i += 2) {
796
- var hi = _hexVal(str.charCodeAt(i));
797
- var lo = _hexVal(str.charCodeAt(i + 1));
798
- if (hi < 0 || lo < 0) break;
799
- out.push((hi << 4) | lo);
800
- }
801
- return out;
802
- }
803
- function _hexVal(c) {
804
- if (c >= 48 && c <= 57) return c - 48;
805
- if (c >= 97 && c <= 102) return c - 87;
806
- if (c >= 65 && c <= 70) return c - 55;
807
- return -1;
808
- }
809
- function _rawEncode(str) {
810
- var out = new Array(str.length);
811
- for (var i = 0; i < str.length; i++) out[i] = str.charCodeAt(i) & 0xff;
812
- return out;
813
- }
814
- function _latin1Decode(bytes) {
815
- var s = '';
816
- for (var i = 0; i < bytes.length; i++) s += String.fromCharCode(bytes[i] & 0xff);
817
- return s;
818
- }
819
- function _asciiDecode(bytes) {
820
- var s = '';
821
- for (var i = 0; i < bytes.length; i++) s += String.fromCharCode(bytes[i] & 0x7f);
822
- return s;
823
- }
824
- function _utf16leEncode(str) {
825
- var out = new Array(str.length * 2);
826
- for (var i = 0; i < str.length; i++) {
827
- var c = str.charCodeAt(i);
828
- out[i * 2] = c & 0xff;
829
- out[i * 2 + 1] = (c >> 8) & 0xff;
830
- }
831
- return out;
832
- }
833
- function _utf16leDecode(bytes) {
834
- var s = '';
835
- var end = bytes.length & ~1;
836
- for (var i = 0; i < end; i += 2) {
837
- s += String.fromCharCode(bytes[i] | (bytes[i + 1] << 8));
838
- }
839
- return s;
840
- }
841
- var _B64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
842
- var _B64DEC = null;
843
- function _b64DecTable() {
844
- if (_B64DEC) return _B64DEC;
845
- var t = new Array(256);
846
- for (var i = 0; i < 256; i++) t[i] = -1;
847
- for (var j = 0; j < 64; j++) t[_B64.charCodeAt(j)] = j;
848
- t[45] = 62;
849
- t[95] = 63;
850
- _B64DEC = t;
851
- return t;
852
- }
853
- function _b64Encode(bytes) {
854
- var s = '';
855
- var i = 0, len = bytes.length;
856
- while (i + 2 < len) {
857
- var n = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
858
- s += _B64.charAt((n >> 18) & 63) + _B64.charAt((n >> 12) & 63)
859
- + _B64.charAt((n >> 6) & 63) + _B64.charAt(n & 63);
860
- i += 3;
861
- }
862
- var rem = len - i;
863
- if (rem === 1) {
864
- var n1 = bytes[i] << 16;
865
- s += _B64.charAt((n1 >> 18) & 63) + _B64.charAt((n1 >> 12) & 63) + '==';
866
- } else if (rem === 2) {
867
- var n2 = (bytes[i] << 16) | (bytes[i + 1] << 8);
868
- s += _B64.charAt((n2 >> 18) & 63) + _B64.charAt((n2 >> 12) & 63)
869
- + _B64.charAt((n2 >> 6) & 63) + '=';
870
- }
871
- return s;
872
- }
873
- function _b64UrlEncode(bytes) {
874
- var s = _b64Encode(bytes);
875
- return s.replace(/=+$/, '').replace(/\\+/g, '-').replace(/\\//g, '_');
876
- }
877
- function _b64Decode(str) {
878
- var t = _b64DecTable();
879
- var out = [];
880
- var buf = 0, bits = 0;
881
- for (var i = 0; i < str.length; i++) {
882
- var c = str.charCodeAt(i);
883
- if (c === 61) break;
884
- var v = c < 256 ? t[c] : -1;
885
- if (v < 0) continue;
886
- buf = (buf << 6) | v;
887
- bits += 6;
888
- if (bits >= 8) {
889
- bits -= 8;
890
- out.push((buf >> bits) & 0xff);
891
- }
892
- }
893
- return out;
894
- }
895
-
896
- function Buffer(arg) {
897
- if (typeof arg === 'number') {
898
- this._data = new Uint8Array(arg);
899
- } else if (arg instanceof ArrayBuffer) {
900
- this._data = new Uint8Array(arg);
901
- } else if (arg instanceof Uint8Array) {
902
- this._data = new Uint8Array(arg);
903
- } else if (Array.isArray(arg)) {
904
- this._data = new Uint8Array(arg);
905
- } else {
906
- this._data = new Uint8Array(0);
907
- }
908
- this.length = this._data.length;
909
- }
910
- Buffer.from = function(data, encoding) {
911
- if (typeof data === 'string') {
912
- var enc = _normEnc(encoding);
913
- if (enc === undefined) _badEnc(encoding);
914
- if (enc === 'utf8') return new Buffer(_utf8Encode(data));
915
- if (enc === 'utf16le') return new Buffer(_utf16leEncode(data));
916
- if (enc === 'latin1') return new Buffer(_rawEncode(data));
917
- if (enc === 'ascii') return new Buffer(_rawEncode(data));
918
- if (enc === 'hex') return new Buffer(_hexDecode(data));
919
- if (enc === 'base64' || enc === 'base64url') return new Buffer(_b64Decode(data));
920
- }
921
- if (data instanceof ArrayBuffer) {
922
- var off = typeof encoding === 'number' ? encoding : 0;
923
- var len = arguments.length > 2 ? arguments[2] : undefined;
924
- var view = len === undefined ? new Uint8Array(data, off) : new Uint8Array(data, off, len);
925
- var buf = Object.create(Buffer.prototype);
926
- buf._data = view;
927
- buf.length = view.length;
928
- return buf;
929
- }
930
- if (data instanceof Uint8Array) return new Buffer(data);
931
- if (Array.isArray(data)) return new Buffer(data);
932
- if (data && data._data) return new Buffer(data._data.slice());
933
- return new Buffer(0);
934
- };
935
- Buffer.alloc = function(size, fill) {
936
- var buf = new Buffer(size);
937
- if (fill !== undefined) {
938
- var fillByte = typeof fill === 'number' ? fill : 0;
939
- buf._data.fill(fillByte);
940
- }
941
- return buf;
942
- };
943
- Buffer.allocUnsafe = Buffer.alloc;
944
- Buffer.isBuffer = function(obj) { return obj instanceof Buffer; };
945
- Buffer.concat = function(list, totalLength) {
946
- if (!totalLength) {
947
- totalLength = 0;
948
- for (var i = 0; i < list.length; i++) totalLength += list[i].length;
949
- }
950
- var result = new Uint8Array(totalLength);
951
- var offset = 0;
952
- for (var i = 0; i < list.length; i++) {
953
- result.set(list[i]._data, offset);
954
- offset += list[i].length;
955
- }
956
- return new Buffer(result);
957
- };
958
- Buffer.byteLength = function(value, encoding) {
959
- if (typeof value !== 'string') {
960
- if (value && value._data) return value._data.length;
961
- if (value instanceof Uint8Array || value instanceof ArrayBuffer) {
962
- return value.byteLength;
963
- }
964
- throw new TypeError('The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received type ' + typeof value + ' (' + value + ')');
965
- }
966
- var enc = _normEnc(encoding);
967
- if (enc === undefined) _badEnc(encoding);
968
- if (enc === 'utf8') return _utf8Encode(value).length;
969
- if (enc === 'utf16le') return value.length * 2;
970
- if (enc === 'latin1' || enc === 'ascii') return value.length;
971
- if (enc === 'hex') return (value.length / 2) | 0;
972
- if (enc === 'base64' || enc === 'base64url') {
973
- var clean = value.replace(/[^A-Za-z0-9+/=_-]/g, '').replace(/=+$/, '');
974
- return Math.floor(clean.length * 3 / 4);
975
- }
976
- };
977
- Buffer.prototype.toString = function(encoding, start, end) {
978
- var bytes = this._data;
979
- if (start !== undefined || end !== undefined) {
980
- var len = bytes.length;
981
- var s = start === undefined ? 0 : (start < 0 ? 0 : (start > len ? len : start | 0));
982
- var e = end === undefined ? len : (end < 0 ? 0 : (end > len ? len : end | 0));
983
- bytes = e <= s ? bytes.subarray(0, 0) : bytes.subarray(s, e);
984
- }
985
- var enc = _normEnc(encoding);
986
- if (enc === undefined) _badEnc(encoding);
987
- if (enc === 'utf8') return _utf8Decode(bytes);
988
- if (enc === 'utf16le') return _utf16leDecode(bytes);
989
- if (enc === 'latin1') return _latin1Decode(bytes);
990
- if (enc === 'ascii') return _asciiDecode(bytes);
991
- if (enc === 'hex') return _hexEncode(bytes);
992
- if (enc === 'base64') return _b64Encode(bytes);
993
- if (enc === 'base64url') return _b64UrlEncode(bytes);
994
- };
995
- Buffer.prototype.toJSON = function() {
996
- return { type: 'Buffer', data: Array.from(this._data) };
997
- };
998
- Buffer.prototype.slice = function(start, end) {
999
- return new Buffer(this._data.slice(start, end));
1000
- };
1001
- Buffer.prototype.copy = function(target, targetStart, sourceStart, sourceEnd) {
1002
- targetStart = targetStart || 0;
1003
- sourceStart = sourceStart || 0;
1004
- sourceEnd = sourceEnd || this.length;
1005
- var sub = this._data.subarray(sourceStart, sourceEnd);
1006
- target._data.set(sub, targetStart);
1007
- return sub.length;
1008
- };
1009
- Buffer.prototype.write = function(str, offset, length, encoding) {
1010
- if (typeof offset === 'string') { encoding = offset; offset = 0; length = undefined; }
1011
- else if (typeof length === 'string') { encoding = length; length = undefined; }
1012
- offset = offset | 0;
1013
- if (offset < 0 || offset > this._data.length) {
1014
- throw new RangeError('The value of "offset" is out of range. It must be >= 0 && <= ' + this._data.length + '. Received ' + offset);
1015
- }
1016
- var enc = _normEnc(encoding);
1017
- if (enc === undefined) _badEnc(encoding);
1018
- var bytes;
1019
- if (enc === 'utf8') bytes = _utf8Encode(str);
1020
- else if (enc === 'utf16le') bytes = _utf16leEncode(str);
1021
- else if (enc === 'latin1') bytes = _rawEncode(str);
1022
- else if (enc === 'ascii') bytes = _rawEncode(str);
1023
- else if (enc === 'hex') bytes = _hexDecode(str);
1024
- else bytes = _b64Decode(str);
1025
- var max = this._data.length - offset;
1026
- if (length !== undefined) {
1027
- length = length | 0;
1028
- if (length < 0 || length > this._data.length) {
1029
- throw new RangeError('The value of "length" is out of range. It must be >= 0 && <= ' + this._data.length + '. Received ' + length);
1030
- }
1031
- }
1032
- var write = Math.min(length === undefined ? max : length, bytes.length, max);
1033
- for (var i = 0; i < write; i++) this._data[offset + i] = bytes[i];
1034
- return write;
1035
- };
1036
- Buffer.prototype.fill = function(val, offset, end) {
1037
- this._data.fill(typeof val === 'number' ? val : 0, offset, end);
1038
- return this;
1039
- };
1040
- Buffer.prototype.equals = function(other) {
1041
- if (this.length !== other.length) return false;
1042
- for (var i = 0; i < this.length; i++) {
1043
- if (this._data[i] !== other._data[i]) return false;
1044
- }
1045
- return true;
1046
- };
1047
- Buffer.prototype.readUInt8 = function(offset) { return this._data[offset]; };
1048
- Buffer.prototype.writeUInt8 = function(value, offset) { this._data[offset] = value; return offset + 1; };
1049
- globalThis[Symbol.for('jb:buffer')] = { Buffer: Buffer };
1050
- globalThis.Buffer = Buffer;
1051
- `,we=`
1052
- var _EE = globalThis[Symbol.for('jb:events')].EventEmitter;
1053
-
1054
- function Stream() { _EE.call(this); }
1055
- Stream.prototype = Object.create(_EE.prototype);
1056
- Stream.prototype.constructor = Stream;
1057
- Stream.prototype.pipe = function(dest) {
1058
- this.on('data', function(chunk) { dest.write(chunk); });
1059
- this.on('end', function() { if (dest.end) dest.end(); });
1060
- return dest;
1061
- };
1062
-
1063
- function Readable(opts) {
1064
- Stream.call(this);
1065
- this.readable = true;
1066
- this._readableState = { ended: false, buffer: [] };
1067
- }
1068
- Readable.prototype = Object.create(Stream.prototype);
1069
- Readable.prototype.constructor = Readable;
1070
- Readable.prototype.read = function() { return null; };
1071
- Readable.prototype.push = function(chunk) {
1072
- if (chunk === null) { this._readableState.ended = true; this.emit('end'); return false; }
1073
- this.emit('data', chunk);
1074
- return true;
1075
- };
1076
- Readable.prototype.destroy = function() { this.emit('close'); return this; };
1077
-
1078
- function Writable(opts) {
1079
- Stream.call(this);
1080
- this.writable = true;
1081
- this._writableState = { ended: false };
1082
- }
1083
- Writable.prototype = Object.create(Stream.prototype);
1084
- Writable.prototype.constructor = Writable;
1085
- Writable.prototype.write = function(chunk) { return true; };
1086
- Writable.prototype.end = function(chunk) {
1087
- if (chunk) this.write(chunk);
1088
- this._writableState.ended = true;
1089
- this.emit('finish');
1090
- return this;
1091
- };
1092
- Writable.prototype.destroy = function() { this.emit('close'); return this; };
1093
-
1094
- function Duplex(opts) {
1095
- Readable.call(this, opts);
1096
- Writable.call(this, opts);
1097
- }
1098
- Duplex.prototype = Object.create(Readable.prototype);
1099
- var _wKeys = Object.keys(Writable.prototype);
1100
- for (var _wi = 0; _wi < _wKeys.length; _wi++) {
1101
- if (!Duplex.prototype[_wKeys[_wi]]) Duplex.prototype[_wKeys[_wi]] = Writable.prototype[_wKeys[_wi]];
1102
- }
1103
- Duplex.prototype.constructor = Duplex;
1104
-
1105
- function Transform(opts) { Duplex.call(this, opts); }
1106
- Transform.prototype = Object.create(Duplex.prototype);
1107
- Transform.prototype.constructor = Transform;
1108
- Transform.prototype._transform = function(chunk, encoding, cb) { if (cb) cb(null, chunk); };
1109
-
1110
- function PassThrough(opts) { Transform.call(this, opts); }
1111
- PassThrough.prototype = Object.create(Transform.prototype);
1112
- PassThrough.prototype.constructor = PassThrough;
1113
-
1114
- function pipeline() {
1115
- var streams = Array.prototype.slice.call(arguments);
1116
- var cb = typeof streams[streams.length - 1] === 'function' ? streams.pop() : null;
1117
- for (var i = 0; i < streams.length - 1; i++) streams[i].pipe(streams[i + 1]);
1118
- if (cb) {
1119
- var last = streams[streams.length - 1];
1120
- last.on('finish', function() { cb(null); });
1121
- last.on('error', function(e) { cb(e); });
1122
- }
1123
- return streams[streams.length - 1];
1124
- }
1125
-
1126
- globalThis[Symbol.for('jb:stream')] = {
1127
- Stream: Stream, Readable: Readable, Writable: Writable,
1128
- Duplex: Duplex, Transform: Transform, PassThrough: PassThrough,
1129
- pipeline: pipeline
1130
- };
1131
- `,Re=`
1132
- function StringDecoder(encoding) {
1133
- this.encoding = (encoding || 'utf-8').toLowerCase();
1134
- if (this.encoding === 'utf8') this.encoding = 'utf-8';
1135
- }
1136
- StringDecoder.prototype.write = function(buf) {
1137
- if (typeof buf === 'string') return buf;
1138
- var data = buf instanceof Uint8Array ? buf : (buf && buf._data ? buf._data : new Uint8Array(0));
1139
- return _utf8Decode(data);
1140
- };
1141
- StringDecoder.prototype.end = function(buf) {
1142
- if (buf) return this.write(buf);
1143
- return '';
1144
- };
1145
- globalThis[Symbol.for('jb:string_decoder')] = { StringDecoder: StringDecoder };
1146
- `,je=`
1147
- var _qs = {
1148
- parse: function(str, sep, eq) {
1149
- sep = sep || '&'; eq = eq || '=';
1150
- var result = Object.create(null);
1151
- if (!str || typeof str !== 'string') return result;
1152
- var pairs = str.split(sep);
1153
- for (var i = 0; i < pairs.length; i++) {
1154
- var idx = pairs[i].indexOf(eq);
1155
- var key, val;
1156
- if (idx >= 0) {
1157
- key = decodeURIComponent(pairs[i].slice(0, idx).replace(/\\+/g, ' '));
1158
- val = decodeURIComponent(pairs[i].slice(idx + 1).replace(/\\+/g, ' '));
1159
- } else {
1160
- key = decodeURIComponent(pairs[i].replace(/\\+/g, ' '));
1161
- val = '';
1162
- }
1163
- if (result[key] !== undefined) {
1164
- if (Array.isArray(result[key])) result[key].push(val);
1165
- else result[key] = [result[key], val];
1166
- } else {
1167
- result[key] = val;
1168
- }
1169
- }
1170
- return result;
1171
- },
1172
- stringify: function(obj, sep, eq) {
1173
- sep = sep || '&'; eq = eq || '=';
1174
- var pairs = [];
1175
- var keys = Object.keys(obj);
1176
- for (var i = 0; i < keys.length; i++) {
1177
- var key = keys[i];
1178
- var val = obj[key];
1179
- if (Array.isArray(val)) {
1180
- for (var j = 0; j < val.length; j++) {
1181
- pairs.push(encodeURIComponent(key) + eq + encodeURIComponent(val[j]));
1182
- }
1183
- } else {
1184
- pairs.push(encodeURIComponent(key) + eq + encodeURIComponent(val));
1185
- }
1186
- }
1187
- return pairs.join(sep);
1188
- },
1189
- escape: function(str) { return encodeURIComponent(str); },
1190
- unescape: function(str) { return decodeURIComponent(str); }
1191
- };
1192
- _qs.decode = _qs.parse;
1193
- _qs.encode = _qs.stringify;
1194
- globalThis[Symbol.for('jb:querystring')] = _qs;
1195
- `,M=Object.assign(Object.create(null),{http:"Use fetch() for HTTP requests.",https:"Use fetch() for HTTP requests.",http2:"Use fetch() for HTTP requests.",net:"Network socket APIs are not supported.",tls:"Network socket APIs are not supported.",dgram:"Network socket APIs are not supported.",dns:"DNS APIs are not supported.",cluster:"Cluster APIs are not supported.",worker_threads:"Worker thread APIs are not supported.",vm:"VM APIs are not supported.",v8:"V8 APIs are not supported.",inspector:"Inspector APIs are not supported.",readline:"Readline APIs are not supported.",repl:"REPL APIs are not supported.",module:"Module APIs are not supported.",perf_hooks:"Performance hooks are not supported.",async_hooks:"Async hooks are not supported.",diagnostics_channel:"Diagnostics channel is not supported.",trace_events:"Trace events are not supported.",crypto:"Crypto APIs are not available in this sandbox.",zlib:"Compression APIs are not supported.",tty:"TTY APIs are not supported.",domain:"Domain APIs are not supported."});var Ae=`
1196
- (function() {
1197
- var sep = '/';
1198
- var delimiter = ':';
1199
-
1200
- function normalize(p) {
1201
- if (p === '') return '.';
1202
- var isAbs = p.charCodeAt(0) === 47;
1203
- var trailingSlash = p.charCodeAt(p.length - 1) === 47;
1204
- var parts = p.split('/');
1205
- var out = [];
1206
- for (var i = 0; i < parts.length; i++) {
1207
- var seg = parts[i];
1208
- if (seg === '' || seg === '.') continue;
1209
- if (seg === '..') {
1210
- if (out.length > 0 && out[out.length - 1] !== '..') out.pop();
1211
- else if (!isAbs) out.push('..');
1212
- } else {
1213
- out.push(seg);
1214
- }
1215
- }
1216
- var result = out.join('/');
1217
- if (isAbs) result = '/' + result;
1218
- if (trailingSlash && result[result.length - 1] !== '/') result += '/';
1219
- return result || (isAbs ? '/' : '.');
1220
- }
1221
-
1222
- function join() {
1223
- var joined = '';
1224
- for (var i = 0; i < arguments.length; i++) {
1225
- var arg = arguments[i];
1226
- if (typeof arg !== 'string') throw new TypeError('Path must be a string');
1227
- if (arg.length > 0) {
1228
- if (joined.length > 0) joined += '/' + arg;
1229
- else joined = arg;
1230
- }
1231
- }
1232
- if (joined.length === 0) return '.';
1233
- return normalize(joined);
1234
- }
1235
-
1236
- function resolve() {
1237
- var resolved = '';
1238
- var resolvedAbsolute = false;
1239
- for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
1240
- var path = i >= 0 ? arguments[i] : globalThis.process.cwd();
1241
- if (typeof path !== 'string') throw new TypeError('Path must be a string');
1242
- if (path.length === 0) continue;
1243
- if (resolved.length > 0) resolved = path + '/' + resolved;
1244
- else resolved = path;
1245
- resolvedAbsolute = path.charCodeAt(0) === 47;
1246
- }
1247
- resolved = normalize(resolved);
1248
- if (resolvedAbsolute) return '/' + resolved.replace(/^\\/+/, '');
1249
- return resolved.length > 0 ? resolved : '.';
1250
- }
1251
-
1252
- function isAbsolute(p) {
1253
- return typeof p === 'string' && p.length > 0 && p.charCodeAt(0) === 47;
1254
- }
1255
-
1256
- function dirname(p) {
1257
- if (p.length === 0) return '.';
1258
- var hasRoot = p.charCodeAt(0) === 47;
1259
- var end = -1;
1260
- for (var i = p.length - 1; i >= 1; i--) {
1261
- if (p.charCodeAt(i) === 47) { end = i; break; }
1262
- }
1263
- if (end === -1) return hasRoot ? '/' : '.';
1264
- if (hasRoot && end === 0) return '/';
1265
- return p.slice(0, end);
1266
- }
1267
-
1268
- function basename(p, ext) {
1269
- var start = 0;
1270
- for (var i = p.length - 1; i >= 0; i--) {
1271
- if (p.charCodeAt(i) === 47) { start = i + 1; break; }
1272
- }
1273
- var base = p.slice(start);
1274
- if (ext && base.endsWith(ext)) {
1275
- base = base.slice(0, base.length - ext.length);
1276
- }
1277
- return base;
1278
- }
1279
-
1280
- function extname(p) {
1281
- var startDot = -1;
1282
- var startPart = 0;
1283
- for (var i = p.length - 1; i >= 0; i--) {
1284
- var code = p.charCodeAt(i);
1285
- if (code === 47) { startPart = i + 1; break; }
1286
- if (code === 46 && startDot === -1) startDot = i;
1287
- }
1288
- if (startDot === -1 || startDot === startPart ||
1289
- (startDot === startPart + 1 && p.charCodeAt(startPart) === 46)) {
1290
- return '';
1291
- }
1292
- return p.slice(startDot);
1293
- }
1294
-
1295
- function relative(from, to) {
1296
- if (from === to) return '';
1297
- from = resolve(from);
1298
- to = resolve(to);
1299
- if (from === to) return '';
1300
- var fromParts = from.split('/').filter(Boolean);
1301
- var toParts = to.split('/').filter(Boolean);
1302
- var common = 0;
1303
- var length = Math.min(fromParts.length, toParts.length);
1304
- for (var i = 0; i < length; i++) {
1305
- if (fromParts[i] !== toParts[i]) break;
1306
- common++;
1307
- }
1308
- var ups = [];
1309
- for (var i = common; i < fromParts.length; i++) ups.push('..');
1310
- return ups.concat(toParts.slice(common)).join('/') || '.';
1311
- }
1312
-
1313
- function parse(p) {
1314
- var root = p.charCodeAt(0) === 47 ? '/' : '';
1315
- var dir = dirname(p);
1316
- var base = basename(p);
1317
- var ext = extname(p);
1318
- var name = ext ? base.slice(0, base.length - ext.length) : base;
1319
- return { root: root, dir: dir, base: base, ext: ext, name: name };
1320
- }
1321
-
1322
- function format(obj) {
1323
- var dir = obj.dir || obj.root || '';
1324
- var base = obj.base || ((obj.name || '') + (obj.ext || ''));
1325
- if (!dir) return base;
1326
- if (dir === obj.root) return dir + base;
1327
- return dir + '/' + base;
1328
- }
1329
-
1330
- var posix = { sep: sep, delimiter: delimiter, join: join, resolve: resolve, normalize: normalize, isAbsolute: isAbsolute, dirname: dirname, basename: basename, extname: extname, relative: relative, parse: parse, format: format };
1331
- posix.posix = posix;
1332
-
1333
- globalThis[Symbol.for('jb:path')] = posix;
1334
- })();
1335
- `;var I=new Ke,F=[],G=!1,tt=64*1024*1024,ke=8*1024*1024,x=2147483647,Oe=4096,rt=64*1024,nt=8*1024,Pe=()=>typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID().replaceAll("-",""):`${Date.now().toString(36)}_${Math.random().toString(36).slice(2)}`,st=()=>`__jbHost_${Pe()}`,N=class extends Error{},it=Ee.replace("Buffer.prototype.toString = function(encoding, start, end) {","Object.defineProperty(Buffer.prototype, 'toString', { configurable: true, writable: true, value: function(encoding, start, end) {").replace(`};
1336
- Buffer.prototype.toJSON = function() {`,`}});
1337
- Buffer.prototype.toJSON = function() {`),ot=be.replace("URLSearchParams.prototype.toString = function() {","Object.defineProperty(URLSearchParams.prototype, 'toString', { configurable: true, writable: true, value: function() {").replace(` };
1338
-
1339
- URLSearchParams.prototype.forEach`,` }});
1340
-
1341
- URLSearchParams.prototype.forEach`).replace("URL.prototype.toString = function() { return this.href; };","Object.defineProperty(URL.prototype, 'toString', { configurable: true, writable: true, value: function() { return this.href; } });"),Be=Object.assign(Object.create(null),{assert:["ok","equal","notEqual","strictEqual","notStrictEqual","deepEqual","deepStrictEqual","notDeepEqual","throws","doesNotThrow","fail"],buffer:["Buffer"],child_process:["exec","execSync","spawnSync"],console:["log","error","warn"],events:["EventEmitter"],fs:["readFile","readFileSync","readFileBuffer","writeFile","writeFileSync","stat","statSync","lstat","lstatSync","readdir","readdirSync","mkdir","mkdirSync","rm","rmSync","exists","existsSync","appendFile","appendFileSync","symlink","symlinkSync","readlink","readlinkSync","chmod","chmodSync","realpath","realpathSync","rename","renameSync","copyFile","copyFileSync","unlink","unlinkSync","rmdir","rmdirSync","promises"],os:["platform","arch","homedir","tmpdir","type","hostname","EOL","cpus","totalmem","freemem","endianness"],path:["join","resolve","normalize","isAbsolute","dirname","basename","extname","relative","parse","format","sep","delimiter","posix"],process:["argv","cwd","exit","env","platform","arch","versions","version"],querystring:["parse","stringify","escape","unescape","decode","encode"],stream:["Stream","Readable","Writable","Duplex","Transform","PassThrough","pipeline"],string_decoder:["StringDecoder"],url:["URL","URLSearchParams","parse","format"],util:["format","inspect","promisify","types","inherits"]}),at=r=>r==="fs"||r==="process"||r==="console"?`globalThis.${r}`:r==="child_process"?"globalThis[Symbol.for('jb:child_process')]":`globalThis[Symbol.for('jb:${r}')]`,ut=r=>{let e=Be[r];if(e===void 0){let n=M[r];if(n!==void 0)return`throw new Error(${JSON.stringify(`Module '${r}' is not available in the js-exec sandbox. ${n} Run 'js-exec --help' for available modules.`)});`;throw new Error(`Cannot find module '${r}'.`)}return[`const value = ${at(r)};`,...e.map(n=>n==="default"?"":`export const ${n} = value.${n};`),"export default value;"].join(`
1342
- `)},lt=(r,e)=>{let s=(e.startsWith("/")?e:`${r}/${e}`).split("/"),n=[];for(let o of s)!o||o==="."||(o===".."?n.pop():n.push(o));return`/${n.join("/")}`},T=(r,e)=>{if(e<=0)return"";let s=h.from(r);if(s.byteLength<=e)return r;let n=e;for(;n>0&&(s[n]&192)===128;)n--;return s.subarray(0,n).toString("utf8")},Te=r=>{if(r.length===0)return;let e=0;for(let s=0;s<r.length;s++){let n=r.charCodeAt(s)-48;if(n<0||n>9||(e=e*10+n,!Number.isSafeInteger(e)))return}return e},Ce=r=>{let e=r.lastIndexOf(":");if(e<=0)return;let s=r.lastIndexOf(":",e-1);if(s<=0)return;let n=Te(r.slice(s+1,e)),o=Te(r.slice(e+1)),a=r.slice(0,s);if(!(n===void 0||o===void 0||a.length===0))return{column:o,file:a,line:n}},V=r=>{for(let e of r.slice(0,rt).split(`
1343
- `)){if(e.length>nt)continue;let s=e.trimStart();if(!s.startsWith("at "))continue;let n=s.slice(3);if(n.endsWith(")")){let a=n.lastIndexOf(" (");if(a>0){let u=Ce(n.slice(a+2,-1));if(u!==void 0)return{...u,functionName:n.slice(0,a)}}}let o=Ce(n);if(o!==void 0)return o}},ft=(r,e)=>{let s=2;for(let n=0;n<r.length;n++){let o=r.charCodeAt(n);if(o===34||o===92)s+=2;else if(o===8||o===9||o===10||o===12||o===13)s+=2;else if(o<32)s+=6;else if(o<128)s+=1;else if(o<2048)s+=2;else if(o>=55296&&o<=56319){let a=r.charCodeAt(n+1);a>=56320&&a<=57343?(s+=4,n+=1):s+=6}else o>=56320&&o<=57343?s+=6:s+=3;if(s>e)return e+1}return s},ct=(r,e,s,n)=>{let o=2,a=c=>(o+=ft(c,Math.max(0,n-o)),o<=n),u=!0;for(let[c,y]of Object.entries(r))if(u||(o+=1),u=!1,!a(c)||(o+=1,!a(y)))return n+1;o+=2,u=!0;for(let c of e)if(u||(o+=1),u=!1,!a(c))return n+1;return a(s)?o:n+1},dt=(r,e,s)=>{let n=g(O(r));if(/^[A-Za-z_$][\w$]* is not defined$/u.test(n)&&(n=`'${n.slice(0,n.indexOf(" "))}'${n.slice(n.indexOf(" "))}`),r instanceof Error&&r.name==="SyntaxError"&&n==="Unexpected token '}'"&&(n="expecting ')'"),!(r instanceof Error)||r.stack===void 0)return n;let o=V(r.stack);if(o===void 0)return n;let{column:a,file:u,functionName:c,line:y}=o;return(u==="run.js"||u==="<entry>")&&(u=e.scriptPath,y=Math.max(1,y-s),e.isModule||(c=e.scriptPath==="-c"?"<eval>":void 0)),r.name==="Error"?a+=5:r.name==="TypeError"&&(a+=1),`${c===void 0?`at ${u}:${y}:${a}`:`at ${c} (${u}:${y}:${a})`}: ${n}`},pt=(r,e,s,n,o)=>`
1344
- (function() {
1345
- var host = globalThis[${JSON.stringify(o)}];
1346
- function unwrap(result) {
1347
- if (!result || result.ok !== true) throw new Error(result && result.error || 'Host operation failed');
1348
- return result.value;
1349
- }
1350
- function bytes(value) {
1351
- if (value && value._data instanceof Uint8Array) return Array.from(value._data);
1352
- if (value && Array.isArray(value._data)) return value._data.slice();
1353
- if (Array.isArray(value)) return value.slice();
1354
- if (value instanceof Uint8Array) return Array.from(value);
1355
- return String(value);
1356
- }
1357
- function format(value) {
1358
- if (typeof Buffer === 'function' && value instanceof Buffer) return value.toString();
1359
- if (typeof value === 'string') return value;
1360
- if (value === undefined) return 'undefined';
1361
- try { return JSON.stringify(value); } catch (_) { return String(value); }
1362
- }
1363
-
1364
- globalThis.env = ${r};
1365
- globalThis.process = {
1366
- argv: ${e},
1367
- cwd: function() { return ${s}; },
1368
- env: globalThis.env,
1369
- platform: 'linux',
1370
- arch: 'x64',
1371
- versions: { node: '22.0.0', quickjs: '2025' },
1372
- version: 'v22.0.0',
1373
- exit: function(code) { return host.exit(Number(code) || 0); }
1374
- };
1375
-
1376
- ${it}
1377
- var fs = {
1378
- readFileBuffer: function(path) {
1379
- var data = Buffer.from(unwrap(host.fsRead(path)), 'base64')._data;
1380
- return data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength);
1381
- },
1382
- readFileSync: function(path, opts) {
1383
- var buffer = Buffer.from(unwrap(host.fsRead(path)), 'base64');
1384
- var encoding = typeof opts === 'string' ? opts : opts && opts.encoding;
1385
- return encoding ? buffer.toString(encoding) : buffer;
1386
- },
1387
- writeFileSync: function(path, data) { unwrap(host.fsWrite(path, bytes(data))); },
1388
- appendFileSync: function(path, data) { unwrap(host.fsAppend(path, bytes(data))); },
1389
- statSync: function(path) { return unwrap(host.fsStat(path, false)); },
1390
- lstatSync: function(path) { return unwrap(host.fsStat(path, true)); },
1391
- readdirSync: function(path) { return unwrap(host.fsReaddir(path)); },
1392
- mkdirSync: function(path, opts) { unwrap(host.fsMkdir(path, Boolean(opts && opts.recursive))); },
1393
- rmSync: function(path, opts) { unwrap(host.fsRm(path, Boolean(opts && opts.recursive), Boolean(opts && opts.force))); },
1394
- existsSync: function(path) { return unwrap(host.fsExists(path)); },
1395
- symlinkSync: function(target, path) { unwrap(host.fsSymlink(target, path)); },
1396
- readlinkSync: function(path) { return unwrap(host.fsReadlink(path)); },
1397
- chmodSync: function(path, mode) { unwrap(host.fsChmod(path, Number(mode))); },
1398
- realpathSync: function(path) { return unwrap(host.fsRealpath(path)); },
1399
- renameSync: function(from, to) { unwrap(host.fsRename(from, to)); },
1400
- copyFileSync: function(from, to) { unwrap(host.fsCopy(from, to)); }
1401
- };
1402
- fs.unlinkSync = fs.rmSync;
1403
- fs.rmdirSync = fs.rmSync;
1404
- function callbackUnsupported(name) {
1405
- return function() { throw new Error('fs.' + name + '() with callbacks is not supported. Use fs.' + name + 'Sync() or fs.promises.' + name + '() instead.'); };
1406
- }
1407
- var names = ['readFile','writeFile','appendFile','stat','lstat','readdir','mkdir','rm','symlink','readlink','chmod','realpath','rename','copyFile'];
1408
- for (var i = 0; i < names.length; i++) fs[names[i]] = callbackUnsupported(names[i]);
1409
- fs.exists = callbackUnsupported('exists');
1410
- fs.unlink = callbackUnsupported('unlink');
1411
- fs.rmdir = callbackUnsupported('rmdir');
1412
- fs.promises = {};
1413
- for (var i = 0; i < names.length; i++) (function(name) {
1414
- var sync = fs[name + 'Sync'];
1415
- fs.promises[name] = function() {
1416
- try { return Promise.resolve(sync.apply(fs, arguments)); }
1417
- catch (error) { return Promise.reject(error); }
1418
- };
1419
- })(names[i]);
1420
- fs.promises.unlink = fs.promises.rm;
1421
- fs.promises.rmdir = fs.promises.rm;
1422
- fs.promises.access = function(path) { return fs.existsSync(path) ? Promise.resolve() : Promise.reject(new Error('ENOENT: no such file or directory: ' + path)); };
1423
- globalThis.fs = fs;
1424
-
1425
- ${Ae}
1426
- ${ge}
1427
- ${ve}
1428
- ${_e}
1429
- ${xe}
1430
- ${we}
1431
- ${Re}
1432
- ${je}
1433
-
1434
- var nativeFetch = function(url, opts) { return unwrap(host.fetch(String(url), opts)); };
1435
- globalThis[Symbol.for('jb:fetch')] = nativeFetch;
1436
- ${ot}
1437
- ${Se}
1438
-
1439
- var childProcess = {
1440
- exec: function(command, opts) { return unwrap(host.exec(String(command), opts && opts.stdin)); },
1441
- execSync: function(command, opts) {
1442
- var result = unwrap(host.exec(String(command), opts && opts.stdin));
1443
- if (result.exitCode !== 0) {
1444
- var error = new Error('Command failed: ' + command);
1445
- error.status = result.exitCode; error.stdout = result.stdout; error.stderr = result.stderr;
1446
- throw error;
1447
- }
1448
- return result.stdout;
1449
- },
1450
- spawnSync: function(command, args) {
1451
- var result = unwrap(host.execArgs(String(command), args || []));
1452
- return { stdout: result.stdout, stderr: result.stderr, status: result.exitCode };
1453
- }
1454
- };
1455
- globalThis[Symbol.for('jb:child_process')] = childProcess;
1456
-
1457
- var modules = Object.create(null);
1458
- modules.fs = fs;
1459
- modules.path = globalThis[Symbol.for('jb:path')];
1460
- modules.child_process = childProcess;
1461
- modules.process = globalThis.process;
1462
- modules.console = globalThis.console;
1463
- modules.os = globalThis[Symbol.for('jb:os')];
1464
- modules.url = globalThis[Symbol.for('jb:url')];
1465
- modules.assert = globalThis[Symbol.for('jb:assert')];
1466
- modules.util = globalThis[Symbol.for('jb:util')];
1467
- modules.events = globalThis[Symbol.for('jb:events')];
1468
- modules.buffer = globalThis[Symbol.for('jb:buffer')];
1469
- modules.stream = globalThis[Symbol.for('jb:stream')];
1470
- modules.string_decoder = globalThis[Symbol.for('jb:string_decoder')];
1471
- modules.querystring = globalThis[Symbol.for('jb:querystring')];
1472
- var unsupported = ${JSON.stringify(M)};
1473
- globalThis.require = function(name) {
1474
- name = String(name); if (name.startsWith('node:')) name = name.slice(5);
1475
- if (Object.prototype.hasOwnProperty.call(modules, name)) return modules[name];
1476
- if (Object.prototype.hasOwnProperty.call(unsupported, name)) throw new Error("Module '" + name + "' is not available in the js-exec sandbox. " + unsupported[name] + " Run 'js-exec --help' for available modules.");
1477
- throw new Error("Cannot find module '" + name + "'. Run 'js-exec --help' for available modules.");
1478
- };
1479
- globalThis.require.resolve = function(name) { return name; };
1480
-
1481
- console.log = function() { unwrap(host.stdout(Array.prototype.map.call(arguments, format).join(' ') + '\\n')); };
1482
- console.info = console.log;
1483
- console.debug = console.log;
1484
- console.error = function() { unwrap(host.stderr(Array.prototype.map.call(arguments, format).join(' ') + '\\n')); };
1485
- console.warn = console.error;
1486
-
1487
- ${n?`globalThis.tools = (function makeProxy(path) {
1488
- return new Proxy(function(){}, {
1489
- get: function(_target, property) {
1490
- if (property === 'then' || typeof property === 'symbol') return undefined;
1491
- return makeProxy(path.concat([String(property)]));
1492
- },
1493
- apply: function(_target, _this, args) {
1494
- var argsJson = args.length ? JSON.stringify(args[0]) : '';
1495
- var value = unwrap(host.invokeTool(path.join('.'), argsJson || ''));
1496
- return value ? JSON.parse(value) : undefined;
1497
- }
1498
- });
1499
- })([]);`:""}
1500
- })();
1501
- `,Y=()=>{if(G)return;let r=F.shift();if(r!==void 0){if(r.canceled){Y();return}G=!0,r.start()}},ht=(r,e)=>{let s=_.bindCurrentContext(r);return new Promise((n,o)=>{let a={canceled:!1,start(){e?.removeEventListener("abort",u),(async()=>{try{n(await s())}catch(c){o(c)}finally{G=!1,Y()}})()}},u=()=>{let c=F.indexOf(a);c!==-1&&(F.splice(c,1),a.canceled=!0,e?.removeEventListener("abort",u),o(new N))};e?.addEventListener("abort",u,{once:!0}),F.push(a),e?.aborted?u():Y()})},mt=r=>({isDirectory:r.isDirectory,isFile:r.isFile,isSymbolicLink:r.isSymbolicLink,mode:r.mode,mtime:r.mtime.toISOString(),size:r.size}),Le=r=>({exitCode:r.exitCode,stderr:r.stderr,stdout:r.stdout}),yt=(r,e,s)=>({exitCode:e,stderr:s<=0?r:T(r,s),stdout:""});async function bt(r,e,s,n,o){let a=Math.min(e.limits.maxWorkerMessageBytes,ke),u=Math.max(0,Math.floor((a-Oe)*.75)),c=Math.max(0,Math.min(e.limits.maxWorkerMessageBytes,a-Oe,x)),y=st(),A=`just-bash:bootstrap:${Pe()}`,f={exitCode:0,limitExceeded:!1,stderr:"",stdout:""},b,$,K=r.bootstrapCode!==void 0&&r.bootstrapCode!=="",v=e.limits.maxOutputSize,U=0,Q=0,C=!1,X=!1,E=`JavaScript runtime exceeded the ${e.limits.maxJsBridgeRequests} bridge request limit.`,k=()=>Q>=e.limits.maxJsBridgeRequests?(C=!0,!1):(Q+=1,!0),w=t=>{if(v<=0){f.stderr+=t,U+=h.byteLength(t);return}let i=T(t,Math.max(0,v-U));f.stderr+=i,U+=h.byteLength(i)},Z=()=>{X||(X=!0,f.exitCode=1,w(`js-exec: ${E}
1502
- `))},ee=(t,i)=>{if(b!==void 0)return{error:"process.exit() already requested",ok:!1};if(!k())return{error:E,ok:!1};if(typeof i!="string")return{error:"Output must be a string",ok:!1};let l=U+h.byteLength(i);return v>0&&l>v?(f.limitExceeded=!0,f.exitCode=1,{error:"Output size limit exceeded",ok:!1}):(f[t]+=i,U=l,{ok:!0,value:void 0})},p=t=>e.fs.resolvePath(e.cwd,t),d=async(t,i=g)=>{if(b!==void 0)return{error:"process.exit() already requested",ok:!1};if(!k())return{error:E,ok:!1};try{return{ok:!0,value:await _.runUntrustedAsync(t)}}catch(l){return{ok:!1,error:i(O(l))}}},te=t=>{if(typeof t=="string")return t;if(!Array.isArray(t)||t.length>a)throw new TypeError("File data must be a bounded byte array or string");for(let i of t)if(!Number.isInteger(i)||i<0||i>255)throw new TypeError("File data contains an invalid byte");return Uint8Array.from(t)},L=ye(e.env),re=[r.scriptPath,...r.scriptArgs],R=Math.min(e.limits.maxWorkerMessageBytes,x),P=h.byteLength(r.source),q=Math.max(0,R-P),Ie=ct(L,re,e.cwd,q);if(P>R||Ie>q)return f.exitCode=1,w(`js-exec: JavaScript runtime ${P>R?"source":"input"} exceeds the ${R} byte size limit.
1503
- `),f;let ne=JSON.stringify(L),se=JSON.stringify(re),ie=JSON.stringify(e.cwd),H=h.byteLength(ne)+h.byteLength(se)+h.byteLength(ie);if(H>q)return f.exitCode=1,w(`js-exec: JavaScript runtime input exceeds the ${R} byte size limit.
1504
- `),f;let Fe=_.runTrusted(()=>Qe({syncHostFunctions:{[y]:{bootstrapError(t){throw K?($??=g(typeof t=="string"?t:"Bootstrap failed"),new Error("Bootstrap failed.")):new Error("Bootstrap phase has ended.")},bootstrapDone(){K=!1},exit(t){throw k()?(b??=Number.isFinite(t)?Math.trunc(t):0,f.exitCode=b,new Error("Guest requested process exit.")):new Error(E)},fsRead:t=>d(async()=>{let i=p(t);if((await e.fs.stat(i)).size>u)throw new Error(`File exceeds JavaScript bridge read limit (${u} bytes)`);let m=await e.fs.readFileBuffer(i);if(m.byteLength>u)throw new Error(`File exceeds JavaScript bridge read limit (${u} bytes)`);return h.from(m).toString("base64")}),fsWrite:(t,i)=>d(async()=>await e.fs.writeFile(p(t),te(i))),fsAppend:(t,i)=>d(async()=>await e.fs.appendFile(p(t),te(i))),fsStat:(t,i)=>d(async()=>mt(await(i?e.fs.lstat(p(t)):e.fs.stat(p(t))))),fsReaddir:t=>d(async()=>await e.fs.readdir(p(t))),fsMkdir:(t,i)=>d(async()=>await e.fs.mkdir(p(t),{recursive:i})),fsRm:(t,i,l)=>d(async()=>await e.fs.rm(p(t),{force:l,recursive:i})),fsExists:t=>d(async()=>await e.fs.exists(p(t))),fsSymlink:(t,i)=>d(async()=>await e.fs.symlink(t,p(i))),fsReadlink:t=>d(async()=>await e.fs.readlink(p(t))),fsChmod:(t,i)=>d(async()=>await e.fs.chmod(p(t),i)),fsRealpath:t=>d(async()=>await e.fs.realpath(p(t))),fsRename:(t,i)=>d(async()=>await e.fs.mv(p(t),p(i))),fsCopy:(t,i)=>d(async()=>await e.fs.cp(p(t),p(i))),stdout:t=>ee("stdout",t),stderr:t=>ee("stderr",t),async fetch(t,i){return await d(async()=>{if(!e.fetch)throw new Error("Network access not configured. Enable network in Bash options.");let l=n===Number.POSITIVE_INFINITY?void 0:Math.max(0,n-Date.now()),m=await e.fetch(t,{method:i?.method,headers:i?.headers,body:i?.body,...l===void 0?{}:{timeoutMs:l},signal:D().abortSignal});return{body:h.from(m.body).toString("latin1"),headers:m.headers,status:m.status,statusText:m.statusText,url:m.url}})},async exec(t,i){return await d(async()=>{if(!e.exec)throw new Error("Command execution not available in this context.");let l={cwd:e.cwd,env:L,signal:D().abortSignal,stdin:i??""},m=await I.run(!0,()=>e.exec?.(t,l));return Le(m)})},async execArgs(t,i){return await d(async()=>{if(!e.exec)throw new Error("Command execution not available in this context.");let l=await I.run(!0,()=>e.exec?.(me([t]),{args:i.map(String),cwd:e.cwd,env:L,signal:D().abortSignal}));return Le(l)})},async invokeTool(t,i){return await d(async()=>{if(!e.invokeTool)throw new Error(`Unknown tool: ${t}`);let{abortSignal:l}=D();return await _.runTrustedAsync(()=>e.invokeTool?.(t,i,l))},B)}}}})),oe=pt(ne,se,ie,e.invokeTool!==void 0,y),J=r.bootstrapCode??"",ae=J===""?`globalThis[${JSON.stringify(y)}].bootstrapDone();
1505
- `:`try {
1506
- (function() {
1507
- ${J}
1508
- })();
1509
- } catch (__jbBootstrapError) {
1510
- var __jbBootstrapMessage = 'Bootstrap failed';
1511
- try {
1512
- __jbBootstrapMessage = __jbBootstrapError && typeof __jbBootstrapError.message === 'string'
1513
- ? __jbBootstrapError.message
1514
- : String(__jbBootstrapError);
1515
- } catch (_) {}
1516
- globalThis[${JSON.stringify(y)}].bootstrapError(__jbBootstrapMessage);
1517
- } finally {
1518
- globalThis[${JSON.stringify(y)}].bootstrapDone();
1519
- }
1520
- `,W=`${oe}
1521
- ${ae}`,Ne={identity:"just-bash-js-exec-v1",normalize(t,i){let l=t.startsWith("node:")?t.slice(5):t;if(b!==void 0)throw new Error("process.exit() already requested");if(t===A)return t;if(!k())throw new Error(E);if(Be[l]!==void 0||M[l]!==void 0)return`just-bash:builtin:${l}`;if(!t.startsWith(".")&&!t.startsWith("/"))return`just-bash:missing:${t}`;let m=i==="<entry>"||i.startsWith("just-bash:")?r.scriptPath:i,S=m.lastIndexOf("/"),j=S<0?e.cwd:S===0?"/":m.slice(0,S);return lt(j,t)},async load(t){if(b!==void 0)throw new Error("process.exit() already requested");if(t===A)return W;if(!k())throw new Error(E);if(t.startsWith("just-bash:builtin:"))return ut(t.slice(18));if(t.startsWith("just-bash:missing:")){let i=t.slice(18);return`throw new Error(${JSON.stringify(`Cannot find module '${i}': not found. Run 'js-exec --help' for available modules.`)});`}try{return await _.runUntrustedAsync(async()=>{if((await e.fs.stat(t)).size>c)throw new Error(`Module exceeds JavaScript source limit (${c} bytes)`);let l=await e.fs.readFile(t);if(h.byteLength(l)>c)throw new Error(`Module exceeds JavaScript source limit (${c} bytes)`);return l})}catch(i){return`throw new Error(${JSON.stringify(g(O(i)))});`}}},ue=r.isModule?`import ${JSON.stringify(A)};
1522
- `:`${oe}
1523
- ${ae}`,le=`${ue}${r.source}`,fe=ue.split(`
1524
- `).length-1,$e=h.byteLength(le),qe=P+(r.isModule?0:H),He=Math.max(0,$e-qe),Je=r.isModule?h.byteLength(W):0,We=Math.max(0,Je-H),ze=Math.min(x,R+Math.max(He,We)),Ge=Math.min(ke,Math.max(a,r.isModule?h.byteLength(JSON.stringify(W)):0)),Ve=n===Number.POSITIVE_INFINITY?x:Math.min(Math.max(1,n-Date.now()),x);try{await I.run(!0,async()=>{let t;_.runTrusted(()=>{t=Fe.run({abortSignal:s,limits:{maxBridgeRequests:Math.min(Math.max(1,e.limits.maxJsBridgeRequests+(r.isModule?4:2)),x),maxConsoleOutputBytes:1,maxHostFunctionArgumentsBytes:a,maxHostFunctionOutputBytes:Ge,maxResultBytes:Math.min(e.limits.maxWorkerMessageBytes,x),maxSourceBytes:ze,memoryLimitBytes:tt,timeoutMs:Ve},moduleLoader:Ne,source:le,sourceType:r.isModule?"module":"function-body"})}),await t})}catch(t){let i=O(t),l=t instanceof Error&&t.stack!==void 0?V(t.stack):void 0,m=J!==""&&l!==void 0&&(l.file===A||!r.isModule&&l.file==="run.js"&&l.line<=fe);if(b!==void 0)f.exitCode=b;else if(C||t instanceof Ze)C=!0,Z();else if($!==void 0||m)f.exitCode=1,w(`js-exec: bootstrap error: ${$??g(i)}
1525
- `);else if(t instanceof Ue||t instanceof Xe)f.exitCode=124,w(`js-exec: ${t instanceof Ue||o.aborted?`Execution timeout: exceeded ${e.limits.maxJsTimeoutMs}ms limit`:"Execution aborted"}
1526
- `);else{f.exitCode=1;let S=et.isInstance(t)&&t.code==="RUN_ERROR",j=S?dt(t,r,fe):B(i),Ye=S&&t instanceof Error&&t.stack?.includes("(<run-worker>)")===!0&&V(t.stack)===void 0;w(S?Ye?`${j}
1527
- `:j===i?`js-exec: ${B(i)}
1528
- `:`${j}
1529
- `:`js-exec: ${j}
1530
- `)}}if(C&&Z(),f.limitExceeded){f.exitCode=1;let t=T(`js-exec: total output size exceeded (>${v} bytes), increase executionLimits.maxOutputSize
1531
- `,v),i=v-h.byteLength(t);f.stderr=T(f.stderr,i),i-=h.byteLength(f.stderr),f.stdout=T(f.stdout,i),f.stderr+=t}return{exitCode:f.exitCode,stderr:f.stderr,stdout:f.stdout}}async function Me(r,e){if(I.getStore())return{exitCode:1,stderr:`js-exec: recursive invocation is not supported
1532
- `,stdout:""};let s=new AbortController,n=e.limits.maxJsTimeoutMs===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:Date.now()+e.limits.maxJsTimeoutMs,o=ce(()=>s.abort(),e.limits.maxJsTimeoutMs),a=pe(e.signal,s.signal);try{return await ht(async()=>await bt(r,e,a.signal,n,s.signal),a.signal)}catch(u){if(!(u instanceof N))throw u;let c=s.signal.aborted;return yt(`js-exec: ${c?`Execution timeout: exceeded ${e.limits.maxJsTimeoutMs}ms limit`:"Execution aborted"}
1533
- `,124,e.limits.maxOutputSize)}finally{a.cleanup(),de(o)}}var De=`js-exec - Sandboxed JavaScript/TypeScript runtime with Node.js-compatible APIs
1534
-
1535
- Usage: js-exec [OPTIONS] [-c CODE | FILE] [ARGS...]
1536
-
1537
- Options:
1538
- -c CODE Execute inline code
1539
- -m, --module Enable ES module mode (import/export)
1540
- --strip-types Accepted for compatibility; type stripping is automatic
1541
- --version, -V Show version
1542
- --help Show this help
1543
-
1544
- Examples:
1545
- js-exec -c "console.log(1 + 2)"
1546
- js-exec script.js
1547
- js-exec app.ts
1548
- echo 'console.log("hello")' | js-exec
1549
-
1550
- File Extension Auto-Detection:
1551
- .js function-body mode
1552
- .mjs ES module mode
1553
- .ts, .mts ES module mode + TypeScript stripping
1554
-
1555
- Node.js Compatibility:
1556
- Code written for Node.js largely works here. Both require and import are
1557
- supported for the documented built-ins. Filesystem and command APIs retain
1558
- synchronous Node.js call semantics inside the sandbox.
1559
-
1560
- Available modules:
1561
- fs, path, child_process, process, console,
1562
- os, url, assert, util, events, buffer, stream,
1563
- string_decoder, querystring
1564
-
1565
- Limits:
1566
- Memory: 64 MB per execution
1567
- Timeout: configurable via maxJsTimeoutMs
1568
- Engine: run (QuickJS)
1569
- `;function gt(r){let e={code:null,isModule:!1,scriptArgs:[],scriptFile:null,showVersion:!1};for(let s=0;s<r.length;s++){let n=r[s];if(n==="-m"||n==="--module"){e.isModule=!0;continue}if(n!=="--strip-types")return n==="-c"?s+1>=r.length?{exitCode:2,stderr:`js-exec: option requires an argument -- 'c'
1570
- `,stdout:""}:(e.code=r[s+1],e.scriptArgs=r.slice(s+2),e):n==="--version"||n==="-V"?(e.showVersion=!0,e):n.startsWith("-")&&n!=="-"&&n!=="--"?{exitCode:2,stderr:`js-exec: unrecognized option '${n}'
1571
- `,stdout:""}:n==="--"?(s+1<r.length&&(e.scriptFile=r[s+1],e.scriptArgs=r.slice(s+2)),e):n==="-"?(e.scriptArgs=r.slice(s+1),e):(e.scriptFile=n,e.scriptArgs=r.slice(s+1),e)}return e}var Nt={name:"js-exec",async execute(r,e){if(he(r))return{exitCode:0,stderr:"",stdout:De};let s=gt(r);if("exitCode"in s)return s;if(s.showVersion)return{exitCode:0,stderr:"",stdout:`QuickJS (run)
1572
- `};let n,o;if(s.code!==null)n=s.code,o="-c";else if(s.scriptFile!==null){let u=e.fs.resolvePath(e.cwd,s.scriptFile);if(!await e.fs.exists(u))return{exitCode:2,stderr:`js-exec: can't open file '${s.scriptFile}': No such file or directory
1573
- `,stdout:""};try{n=await e.fs.readFile(u),o=u}catch(c){return{exitCode:2,stderr:`js-exec: can't open file '${s.scriptFile}': ${g(c.message)}
1574
- `,stdout:""}}}else if(z(e.stdin).trim())n=z(e.stdin),o="<stdin>";else return{exitCode:2,stderr:`js-exec: no input provided (use -c CODE or provide a script file)
1575
- `,stdout:""};let a=s.isModule||o.endsWith(".mjs")||o.endsWith(".mts")||o.endsWith(".ts");return await Me({bootstrapCode:e.jsBootstrapCode,isModule:a,scriptArgs:s.scriptArgs,scriptPath:o,source:n},e)}},$t={name:"node",async execute(){return{exitCode:1,stderr:`node: this sandbox uses js-exec instead of node
1576
-
1577
- ${De}`,stdout:""}}};export{Nt as jsExecCommand,$t as nodeStubCommand};