@powerlines/plugin-env 0.15.161 → 0.15.162

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 (346) hide show
  1. package/dist/{chunk-CNVrAnJR.cjs → _virtual/rolldown_runtime.cjs} +3 -18
  2. package/dist/{chunk-CsF2CmBJ.mjs → _virtual/rolldown_runtime.mjs} +1 -1
  3. package/dist/babel/index.cjs +2 -5
  4. package/dist/babel/index.d.cts +1 -14
  5. package/dist/babel/index.d.mts +1 -14
  6. package/dist/babel/index.mjs +1 -4
  7. package/dist/babel/plugin.cjs +140 -4
  8. package/dist/babel/plugin.d.cts +9 -15
  9. package/dist/babel/plugin.d.cts.map +1 -0
  10. package/dist/babel/plugin.d.mts +9 -15
  11. package/dist/babel/plugin.d.mts.map +1 -0
  12. package/dist/babel/plugin.mjs +140 -4
  13. package/dist/babel/plugin.mjs.map +1 -0
  14. package/dist/components/docs.cjs +66 -6
  15. package/dist/components/docs.d.cts +25 -2
  16. package/dist/components/docs.d.cts.map +1 -0
  17. package/dist/components/docs.d.mts +25 -2
  18. package/dist/components/docs.d.mts.map +1 -0
  19. package/dist/components/docs.mjs +66 -6
  20. package/dist/components/docs.mjs.map +1 -0
  21. package/dist/components/env.cjs +582 -11
  22. package/dist/components/env.d.cts +23 -2
  23. package/dist/components/env.d.cts.map +1 -0
  24. package/dist/components/env.d.mts +23 -2
  25. package/dist/components/env.d.mts.map +1 -0
  26. package/dist/components/env.mjs +581 -10
  27. package/dist/components/env.mjs.map +1 -0
  28. package/dist/components/index.cjs +5 -15
  29. package/dist/components/index.d.cts +2 -3
  30. package/dist/components/index.d.mts +2 -3
  31. package/dist/components/index.mjs +2 -12
  32. package/dist/helpers/automd-generator.cjs +31 -3
  33. package/dist/helpers/automd-generator.mjs +31 -3
  34. package/dist/helpers/automd-generator.mjs.map +1 -0
  35. package/dist/helpers/create-reflection-resource.cjs +21 -4
  36. package/dist/helpers/create-reflection-resource.d.cts +14 -4
  37. package/dist/helpers/create-reflection-resource.d.cts.map +1 -0
  38. package/dist/helpers/create-reflection-resource.d.mts +14 -4
  39. package/dist/helpers/create-reflection-resource.d.mts.map +1 -0
  40. package/dist/helpers/create-reflection-resource.mjs +22 -4
  41. package/dist/helpers/create-reflection-resource.mjs.map +1 -0
  42. package/dist/helpers/docs-helper.cjs +22 -5
  43. package/dist/helpers/docs-helper.d.cts +1 -2
  44. package/dist/helpers/docs-helper.d.cts.map +1 -1
  45. package/dist/helpers/docs-helper.d.mts +1 -2
  46. package/dist/helpers/docs-helper.d.mts.map +1 -1
  47. package/dist/helpers/docs-helper.mjs +23 -5
  48. package/dist/helpers/docs-helper.mjs.map +1 -0
  49. package/dist/helpers/index.cjs +32 -38
  50. package/dist/helpers/index.d.cts +6 -9
  51. package/dist/helpers/index.d.mts +6 -9
  52. package/dist/helpers/index.mjs +6 -12
  53. package/dist/helpers/load.cjs +133 -10
  54. package/dist/helpers/load.d.cts +36 -4
  55. package/dist/helpers/load.d.cts.map +1 -0
  56. package/dist/helpers/load.d.mts +36 -4
  57. package/dist/helpers/load.d.mts.map +1 -0
  58. package/dist/helpers/load.mjs +132 -9
  59. package/dist/helpers/load.mjs.map +1 -0
  60. package/dist/helpers/persistence.cjs +321 -15
  61. package/dist/helpers/persistence.d.cts +85 -4
  62. package/dist/helpers/persistence.d.cts.map +1 -0
  63. package/dist/helpers/persistence.d.mts +85 -4
  64. package/dist/helpers/persistence.d.mts.map +1 -0
  65. package/dist/helpers/persistence.mjs +310 -5
  66. package/dist/helpers/persistence.mjs.map +1 -0
  67. package/dist/helpers/reflect.cjs +262 -13
  68. package/dist/helpers/reflect.d.cts +47 -4
  69. package/dist/helpers/reflect.d.cts.map +1 -0
  70. package/dist/helpers/reflect.d.mts +47 -4
  71. package/dist/helpers/reflect.d.mts.map +1 -0
  72. package/dist/helpers/reflect.mjs +254 -5
  73. package/dist/helpers/reflect.mjs.map +1 -0
  74. package/dist/helpers/source-file-env.cjs +57 -3
  75. package/dist/helpers/source-file-env.d.cts +9 -2
  76. package/dist/helpers/source-file-env.d.cts.map +1 -0
  77. package/dist/helpers/source-file-env.d.mts +9 -2
  78. package/dist/helpers/source-file-env.d.mts.map +1 -0
  79. package/dist/helpers/source-file-env.mjs +56 -2
  80. package/dist/helpers/source-file-env.mjs.map +1 -0
  81. package/dist/helpers/template-helpers.cjs +69 -6
  82. package/dist/helpers/template-helpers.d.cts +16 -4
  83. package/dist/helpers/template-helpers.d.cts.map +1 -0
  84. package/dist/helpers/template-helpers.d.mts +16 -4
  85. package/dist/helpers/template-helpers.d.mts.map +1 -0
  86. package/dist/helpers/template-helpers.mjs +69 -6
  87. package/dist/helpers/template-helpers.mjs.map +1 -0
  88. package/dist/index.cjs +98 -258
  89. package/dist/index.d.cts +25 -15
  90. package/dist/index.d.cts.map +1 -0
  91. package/dist/index.d.mts +25 -15
  92. package/dist/index.d.mts.map +1 -0
  93. package/dist/index.mjs +22 -182
  94. package/dist/index.mjs.map +1 -1
  95. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.cjs +37 -0
  96. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.mjs +38 -0
  97. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +1 -0
  98. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.cjs +15 -0
  99. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs +15 -0
  100. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/to-array.mjs.map +1 -0
  101. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +15 -0
  102. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +15 -0
  103. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +1 -0
  104. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +3 -0
  105. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +5 -0
  106. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +6 -0
  107. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +7 -0
  108. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +1 -0
  109. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +1 -0
  110. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +3 -0
  111. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +19 -0
  112. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +20 -0
  113. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +1 -0
  114. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +63 -0
  115. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +64 -0
  116. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +1 -0
  117. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +12 -0
  118. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +12 -0
  119. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +1 -0
  120. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +15 -0
  121. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +17 -0
  122. package/dist/node_modules/.pnpm/@stryke_convert@0.6.38/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +1 -0
  123. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.cjs +32 -0
  124. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.mjs +33 -0
  125. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-parent-path.mjs.map +1 -0
  126. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.cjs +28 -0
  127. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.mjs +29 -0
  128. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/is-type.mjs.map +1 -0
  129. package/dist/{join-paths-B0RBTuuw.cjs → node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.cjs} +13 -65
  130. package/dist/{join-paths-Dd9KxuyL.mjs → node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs} +5 -45
  131. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/join-paths.mjs.map +1 -0
  132. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.cjs +12 -0
  133. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.mjs +9 -0
  134. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/regex.mjs.map +1 -0
  135. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.cjs +15 -0
  136. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.mjs +15 -0
  137. package/dist/node_modules/.pnpm/@stryke_path@0.26.4/node_modules/@stryke/path/dist/slash.mjs.map +1 -0
  138. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.cjs +346 -0
  139. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs +347 -0
  140. package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs.map +1 -0
  141. package/dist/{json5-DEV_07Nb.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.cjs} +1 -1
  142. package/dist/{json5-jq90mF9X.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs} +2 -2
  143. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/json5.mjs.map +1 -0
  144. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.cjs +3 -0
  145. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/jsonc.mjs +3 -0
  146. package/dist/{confbox.DA7CpUDY-DShUZ_rW.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs} +2 -2
  147. package/dist/{confbox.DA7CpUDY-r6FXRsI6.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs} +2 -7
  148. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs.map +1 -0
  149. package/dist/{confbox.DnMsyigM-C13n3X-S.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs} +3 -13
  150. package/dist/{confbox.DnMsyigM-V6Wj0LPC.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs} +3 -3
  151. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs.map +1 -0
  152. package/dist/{toml-DvrxV201.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.cjs} +1 -1
  153. package/dist/{toml-uuOYvEAO.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs} +2 -2
  154. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/toml.mjs.map +1 -0
  155. package/dist/{yaml-CQSFMRMS.cjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.cjs} +1 -1
  156. package/dist/{yaml-CIn2Gddw.mjs → node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs} +2 -2
  157. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/yaml.mjs.map +1 -0
  158. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +43 -0
  159. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +43 -0
  160. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +1 -0
  161. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +46 -0
  162. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +46 -0
  163. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +1 -0
  164. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.cjs +288 -0
  165. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs +286 -0
  166. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.mjs.map +1 -0
  167. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.cjs +71 -0
  168. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs +69 -0
  169. package/dist/node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.mjs.map +1 -0
  170. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +1013 -0
  171. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +1008 -0
  172. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -0
  173. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +23 -0
  174. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +14 -0
  175. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs.map +1 -0
  176. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +2698 -0
  177. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +2686 -0
  178. package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -0
  179. package/dist/{load-CC_Pu2Om.cjs → node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs} +195 -2332
  180. package/dist/{load-EM4edkA2.mjs → node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs} +195 -2319
  181. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -0
  182. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +29 -0
  183. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +30 -0
  184. package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs.map +1 -0
  185. package/dist/{multipart-parser-aEF5a4Xf.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs} +8 -5
  186. package/dist/{multipart-parser-D65rtMfY.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs} +4 -3
  187. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -0
  188. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +22 -0
  189. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +18 -0
  190. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +1 -0
  191. package/dist/{node-Co8KdzkZ.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs} +796 -814
  192. package/dist/{node-D9MigVDD.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs} +795 -807
  193. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -0
  194. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +11768 -0
  195. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +11764 -0
  196. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -0
  197. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +25 -0
  198. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +21 -0
  199. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs.map +1 -0
  200. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +20 -0
  201. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +18 -0
  202. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs.map +1 -0
  203. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.cjs +194 -0
  204. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs +192 -0
  205. package/dist/node_modules/.pnpm/nypm@0.6.4/node_modules/nypm/dist/index.mjs.map +1 -0
  206. package/dist/{dist-BQc8ZRwl.cjs → node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs} +1 -1
  207. package/dist/{dist-mV5Swt78.mjs → node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs} +1 -1
  208. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs.map +1 -0
  209. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.cjs +3 -0
  210. package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs +3 -0
  211. package/dist/{defu-DV5Grr85.mjs → node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs} +8 -43
  212. package/dist/{defu-CrqNIh1A.cjs → node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs} +2 -90
  213. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +1 -0
  214. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +127 -0
  215. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +126 -0
  216. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -0
  217. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +138 -0
  218. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +137 -0
  219. package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -0
  220. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +629 -0
  221. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +628 -0
  222. package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -0
  223. package/dist/types/index.cjs +9 -10
  224. package/dist/types/index.d.cts +2 -3
  225. package/dist/types/index.d.mts +2 -3
  226. package/dist/types/index.mjs +2 -3
  227. package/dist/types/plugin.cjs +133 -7
  228. package/dist/types/plugin.d.cts +155 -3
  229. package/dist/types/plugin.d.cts.map +1 -0
  230. package/dist/types/plugin.d.mts +155 -3
  231. package/dist/types/plugin.d.mts.map +1 -0
  232. package/dist/types/plugin.mjs +129 -3
  233. package/dist/types/plugin.mjs.map +1 -0
  234. package/dist/types/runtime.cjs +242 -3
  235. package/dist/types/runtime.d.cts +792 -2
  236. package/dist/{runtime-BDzzR4wH.d.cts.map → types/runtime.d.cts.map} +1 -1
  237. package/dist/types/runtime.d.mts +792 -2
  238. package/dist/{runtime-lYSIZdMn.d.mts.map → types/runtime.d.mts.map} +1 -1
  239. package/dist/types/runtime.mjs +241 -2
  240. package/dist/types/runtime.mjs.map +1 -0
  241. package/package.json +9 -9
  242. package/dist/automd-generator-BpvZRK0k.mjs +0 -32
  243. package/dist/automd-generator-BpvZRK0k.mjs.map +0 -1
  244. package/dist/automd-generator-CxG1owAE.cjs +0 -37
  245. package/dist/babel-BZqmdVF4.cjs +0 -0
  246. package/dist/babel-DgietUY3.mjs +0 -1
  247. package/dist/components-BUo6Koax.cjs +0 -0
  248. package/dist/components-DDFmImcI.mjs +0 -1
  249. package/dist/confbox.DA7CpUDY-DShUZ_rW.mjs.map +0 -1
  250. package/dist/confbox.DnMsyigM-V6Wj0LPC.mjs.map +0 -1
  251. package/dist/create-reflection-resource-3svZm2rY.d.cts +0 -14
  252. package/dist/create-reflection-resource-3svZm2rY.d.cts.map +0 -1
  253. package/dist/create-reflection-resource-CCpA76Yq.d.mts +0 -14
  254. package/dist/create-reflection-resource-CCpA76Yq.d.mts.map +0 -1
  255. package/dist/create-reflection-resource-D0QrD1Td.mjs +0 -23
  256. package/dist/create-reflection-resource-D0QrD1Td.mjs.map +0 -1
  257. package/dist/create-reflection-resource-d2zdTyOE.cjs +0 -27
  258. package/dist/defu-DV5Grr85.mjs.map +0 -1
  259. package/dist/dist-C_a6goTt.cjs +0 -15282
  260. package/dist/dist-CjWvISyq.mjs +0 -15271
  261. package/dist/dist-CjWvISyq.mjs.map +0 -1
  262. package/dist/dist-mV5Swt78.mjs.map +0 -1
  263. package/dist/docs-BAKwE4PJ.d.cts +0 -25
  264. package/dist/docs-BAKwE4PJ.d.cts.map +0 -1
  265. package/dist/docs-CVf-w8oz.d.mts +0 -25
  266. package/dist/docs-CVf-w8oz.d.mts.map +0 -1
  267. package/dist/docs-E0aCTO7H.cjs +0 -72
  268. package/dist/docs-WdCIcQmw.mjs +0 -67
  269. package/dist/docs-WdCIcQmw.mjs.map +0 -1
  270. package/dist/docs-helper-BSYSI2cH.mjs +0 -24
  271. package/dist/docs-helper-BSYSI2cH.mjs.map +0 -1
  272. package/dist/docs-helper-BWe1dt1m.cjs +0 -28
  273. package/dist/env-BSCEigpj.cjs +0 -593
  274. package/dist/env-D0KBPuAd.d.mts +0 -23
  275. package/dist/env-D0KBPuAd.d.mts.map +0 -1
  276. package/dist/env-DqI7dwC-.mjs +0 -582
  277. package/dist/env-DqI7dwC-.mjs.map +0 -1
  278. package/dist/env-DwM7pJm7.d.cts +0 -23
  279. package/dist/env-DwM7pJm7.d.cts.map +0 -1
  280. package/dist/helpers-45e1bvAO.mjs +0 -1
  281. package/dist/helpers-DgYP3uej.cjs +0 -0
  282. package/dist/index-BNRXMhlr.d.mts +0 -1
  283. package/dist/index-Bdi8CvaN.d.cts +0 -16
  284. package/dist/index-Bdi8CvaN.d.cts.map +0 -1
  285. package/dist/index-CEDY7cmG.d.cts +0 -1
  286. package/dist/index-CREkvfw9.d.mts +0 -1
  287. package/dist/index-DSiHnMH2.d.cts +0 -1
  288. package/dist/index-Drhzdkqe.d.mts +0 -16
  289. package/dist/index-Drhzdkqe.d.mts.map +0 -1
  290. package/dist/index-dhjtMp5F.d.mts +0 -1
  291. package/dist/index-uTS5iDq_.d.cts +0 -1
  292. package/dist/join-paths-Dd9KxuyL.mjs.map +0 -1
  293. package/dist/json5-jq90mF9X.mjs.map +0 -1
  294. package/dist/jsonc-CBh70baJ.cjs +0 -4
  295. package/dist/jsonc-CDLU6bgi.mjs +0 -4
  296. package/dist/load-EM4edkA2.mjs.map +0 -1
  297. package/dist/load-GpP6cojj.d.mts +0 -36
  298. package/dist/load-GpP6cojj.d.mts.map +0 -1
  299. package/dist/load-PHGmxX_X.d.cts +0 -36
  300. package/dist/load-PHGmxX_X.d.cts.map +0 -1
  301. package/dist/multipart-parser-D65rtMfY.mjs.map +0 -1
  302. package/dist/node-D9MigVDD.mjs.map +0 -1
  303. package/dist/persistence-5S3EirDm.mjs +0 -586
  304. package/dist/persistence-5S3EirDm.mjs.map +0 -1
  305. package/dist/persistence-BR4cUaN6.d.cts +0 -85
  306. package/dist/persistence-BR4cUaN6.d.cts.map +0 -1
  307. package/dist/persistence-DrKQZNCv.d.mts +0 -85
  308. package/dist/persistence-DrKQZNCv.d.mts.map +0 -1
  309. package/dist/persistence-DzS7SzMj.cjs +0 -712
  310. package/dist/plugin-CM1TSv1B.cjs +0 -159
  311. package/dist/plugin-CSVnrdpE.cjs +0 -146
  312. package/dist/plugin-CSe5f2cD.d.cts +0 -155
  313. package/dist/plugin-CSe5f2cD.d.cts.map +0 -1
  314. package/dist/plugin-DMbVjdcQ.d.mts +0 -155
  315. package/dist/plugin-DMbVjdcQ.d.mts.map +0 -1
  316. package/dist/plugin-Vyvy9w9Z.mjs +0 -141
  317. package/dist/plugin-Vyvy9w9Z.mjs.map +0 -1
  318. package/dist/plugin-eBjQJP6x.mjs +0 -130
  319. package/dist/plugin-eBjQJP6x.mjs.map +0 -1
  320. package/dist/reflect-Dm8a3c29.d.cts +0 -47
  321. package/dist/reflect-Dm8a3c29.d.cts.map +0 -1
  322. package/dist/reflect-Dpz8ifa0.d.mts +0 -47
  323. package/dist/reflect-Dpz8ifa0.d.mts.map +0 -1
  324. package/dist/runtime-BDzzR4wH.d.cts +0 -792
  325. package/dist/runtime-C5ukCv3P.mjs +0 -242
  326. package/dist/runtime-C5ukCv3P.mjs.map +0 -1
  327. package/dist/runtime-g0TEIoZK.cjs +0 -253
  328. package/dist/runtime-lYSIZdMn.d.mts +0 -792
  329. package/dist/source-file-env-4Vdtzc5-.cjs +0 -68
  330. package/dist/source-file-env-Brfopjyr.d.cts +0 -9
  331. package/dist/source-file-env-Brfopjyr.d.cts.map +0 -1
  332. package/dist/source-file-env-DWejSP2U.d.mts +0 -9
  333. package/dist/source-file-env-DWejSP2U.d.mts.map +0 -1
  334. package/dist/source-file-env-Tj-6qobx.mjs +0 -57
  335. package/dist/source-file-env-Tj-6qobx.mjs.map +0 -1
  336. package/dist/template-helpers-1SKodHKt.d.mts +0 -16
  337. package/dist/template-helpers-1SKodHKt.d.mts.map +0 -1
  338. package/dist/template-helpers-Cw8aba1r.mjs +0 -70
  339. package/dist/template-helpers-Cw8aba1r.mjs.map +0 -1
  340. package/dist/template-helpers-DoFoTIAC.cjs +0 -75
  341. package/dist/template-helpers-zyitPfMz.d.cts +0 -16
  342. package/dist/template-helpers-zyitPfMz.d.cts.map +0 -1
  343. package/dist/toml-uuOYvEAO.mjs.map +0 -1
  344. package/dist/types-DyPQho_C.mjs +0 -1
  345. package/dist/types-o3zWarRp.cjs +0 -0
  346. package/dist/yaml-CIn2Gddw.mjs.map +0 -1
@@ -0,0 +1,628 @@
1
+ import { createRequire } from "node:module";
2
+ import { delimiter, dirname, normalize, resolve } from "node:path";
3
+ import { cwd } from "node:process";
4
+ import { PassThrough } from "node:stream";
5
+ import { spawn } from "node:child_process";
6
+ import c from "node:readline";
7
+
8
+ //#region ../../node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.js
9
+ var l = Object.create;
10
+ var u = Object.defineProperty;
11
+ var d = Object.getOwnPropertyDescriptor;
12
+ var f = Object.getOwnPropertyNames;
13
+ var p = Object.getPrototypeOf;
14
+ var m = Object.prototype.hasOwnProperty;
15
+ var h = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);
16
+ var g = (e, t, n, r) => {
17
+ if (t && typeof t === "object" || typeof t === "function") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) {
18
+ s = i[a];
19
+ if (!m.call(e, s) && s !== n) u(e, s, {
20
+ get: ((e$1) => t[e$1]).bind(null, s),
21
+ enumerable: !(r = d(t, s)) || r.enumerable
22
+ });
23
+ }
24
+ return e;
25
+ };
26
+ var _ = (e, t, n) => (n = e != null ? l(p(e)) : {}, g(t || !e || !e.__esModule ? u(n, "default", {
27
+ value: e,
28
+ enumerable: true
29
+ }) : n, e));
30
+ var v = /* @__PURE__ */ createRequire(import.meta.url);
31
+ const y = /^path$/i;
32
+ const b = {
33
+ key: "PATH",
34
+ value: ""
35
+ };
36
+ function x(e) {
37
+ for (const t in e) {
38
+ if (!Object.prototype.hasOwnProperty.call(e, t) || !y.test(t)) continue;
39
+ const n = e[t];
40
+ if (!n) return b;
41
+ return {
42
+ key: t,
43
+ value: n
44
+ };
45
+ }
46
+ return b;
47
+ }
48
+ function S(e, t) {
49
+ const i = t.value.split(delimiter);
50
+ let o = e;
51
+ let s;
52
+ do {
53
+ i.push(resolve(o, "node_modules", ".bin"));
54
+ s = o;
55
+ o = dirname(o);
56
+ } while (o !== s);
57
+ return {
58
+ key: t.key,
59
+ value: i.join(delimiter)
60
+ };
61
+ }
62
+ function C(e, t) {
63
+ const n = {
64
+ ...process.env,
65
+ ...t
66
+ };
67
+ const r = S(e, x(n));
68
+ n[r.key] = r.value;
69
+ return n;
70
+ }
71
+ const w = (e) => {
72
+ let t = e.length;
73
+ const n = new PassThrough();
74
+ const r = () => {
75
+ if (--t === 0) n.emit("end");
76
+ };
77
+ for (const t$1 of e) {
78
+ t$1.pipe(n, { end: false });
79
+ t$1.on("end", r);
80
+ }
81
+ return n;
82
+ };
83
+ var T = h((exports, t) => {
84
+ t.exports = a;
85
+ a.sync = o;
86
+ var n = v("fs");
87
+ function r(e, t$1) {
88
+ var n$1 = t$1.pathExt !== void 0 ? t$1.pathExt : process.env.PATHEXT;
89
+ if (!n$1) return true;
90
+ n$1 = n$1.split(";");
91
+ if (n$1.indexOf("") !== -1) return true;
92
+ for (var r$1 = 0; r$1 < n$1.length; r$1++) {
93
+ var i$1 = n$1[r$1].toLowerCase();
94
+ if (i$1 && e.substr(-i$1.length).toLowerCase() === i$1) return true;
95
+ }
96
+ return false;
97
+ }
98
+ function i(e, t$1, n$1) {
99
+ if (!e.isSymbolicLink() && !e.isFile()) return false;
100
+ return r(t$1, n$1);
101
+ }
102
+ function a(e, t$1, r$1) {
103
+ n.stat(e, function(n$1, a$1) {
104
+ r$1(n$1, n$1 ? false : i(a$1, e, t$1));
105
+ });
106
+ }
107
+ function o(e, t$1) {
108
+ return i(n.statSync(e), e, t$1);
109
+ }
110
+ });
111
+ var E = h((exports, t) => {
112
+ t.exports = r;
113
+ r.sync = i;
114
+ var n = v("fs");
115
+ function r(e, t$1, r$1) {
116
+ n.stat(e, function(e$1, n$1) {
117
+ r$1(e$1, e$1 ? false : a(n$1, t$1));
118
+ });
119
+ }
120
+ function i(e, t$1) {
121
+ return a(n.statSync(e), t$1);
122
+ }
123
+ function a(e, t$1) {
124
+ return e.isFile() && o(e, t$1);
125
+ }
126
+ function o(e, t$1) {
127
+ var n$1 = e.mode;
128
+ var r$1 = e.uid;
129
+ var i$1 = e.gid;
130
+ var a$1 = t$1.uid !== void 0 ? t$1.uid : process.getuid && process.getuid();
131
+ var o$1 = t$1.gid !== void 0 ? t$1.gid : process.getgid && process.getgid();
132
+ var s = parseInt("100", 8);
133
+ var c$1 = parseInt("010", 8);
134
+ var l$1 = parseInt("001", 8);
135
+ var u$1 = s | c$1;
136
+ return n$1 & l$1 || n$1 & c$1 && i$1 === o$1 || n$1 & s && r$1 === a$1 || n$1 & u$1 && a$1 === 0;
137
+ }
138
+ });
139
+ var D = h((exports, t) => {
140
+ v("fs");
141
+ var r;
142
+ if (process.platform === "win32" || global.TESTING_WINDOWS) r = T();
143
+ else r = E();
144
+ t.exports = i;
145
+ i.sync = a;
146
+ function i(e, t$1, n) {
147
+ if (typeof t$1 === "function") {
148
+ n = t$1;
149
+ t$1 = {};
150
+ }
151
+ if (!n) {
152
+ if (typeof Promise !== "function") throw new TypeError("callback not provided");
153
+ return new Promise(function(n$1, r$1) {
154
+ i(e, t$1 || {}, function(e$1, t$2) {
155
+ if (e$1) r$1(e$1);
156
+ else n$1(t$2);
157
+ });
158
+ });
159
+ }
160
+ r(e, t$1 || {}, function(e$1, r$1) {
161
+ if (e$1) {
162
+ if (e$1.code === "EACCES" || t$1 && t$1.ignoreErrors) {
163
+ e$1 = null;
164
+ r$1 = false;
165
+ }
166
+ }
167
+ n(e$1, r$1);
168
+ });
169
+ }
170
+ function a(e, t$1) {
171
+ try {
172
+ return r.sync(e, t$1 || {});
173
+ } catch (e$1) {
174
+ if (t$1 && t$1.ignoreErrors || e$1.code === "EACCES") return false;
175
+ else throw e$1;
176
+ }
177
+ }
178
+ });
179
+ var O = h((exports, t) => {
180
+ const n = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
181
+ const r = v("path");
182
+ const i = n ? ";" : ":";
183
+ const a = D();
184
+ const o = (e) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e}`), { code: "ENOENT" });
185
+ const s = (e, t$1) => {
186
+ const r$1 = t$1.colon || i;
187
+ const a$1 = e.match(/\//) || n && e.match(/\\/) ? [""] : [...n ? [process.cwd()] : [], ...(t$1.path || process.env.PATH || "").split(r$1)];
188
+ const o$1 = n ? t$1.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
189
+ const s$1 = n ? o$1.split(r$1) : [""];
190
+ if (n) {
191
+ if (e.indexOf(".") !== -1 && s$1[0] !== "") s$1.unshift("");
192
+ }
193
+ return {
194
+ pathEnv: a$1,
195
+ pathExt: s$1,
196
+ pathExtExe: o$1
197
+ };
198
+ };
199
+ const c$1 = (e, t$1, n$1) => {
200
+ if (typeof t$1 === "function") {
201
+ n$1 = t$1;
202
+ t$1 = {};
203
+ }
204
+ if (!t$1) t$1 = {};
205
+ const { pathEnv: i$1, pathExt: c$2, pathExtExe: l$2 } = s(e, t$1);
206
+ const u$1 = [];
207
+ const d$1 = (n$2) => new Promise((a$1, s$1) => {
208
+ if (n$2 === i$1.length) return t$1.all && u$1.length ? a$1(u$1) : s$1(o(e));
209
+ const c$3 = i$1[n$2];
210
+ const l$3 = /^".*"$/.test(c$3) ? c$3.slice(1, -1) : c$3;
211
+ const d$2 = r.join(l$3, e);
212
+ a$1(f$1(!l$3 && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d$2 : d$2, n$2, 0));
213
+ });
214
+ const f$1 = (e$1, n$2, r$1) => new Promise((i$2, o$1) => {
215
+ if (r$1 === c$2.length) return i$2(d$1(n$2 + 1));
216
+ const s$1 = c$2[r$1];
217
+ a(e$1 + s$1, { pathExt: l$2 }, (a$1, o$2) => {
218
+ if (!a$1 && o$2) if (t$1.all) u$1.push(e$1 + s$1);
219
+ else return i$2(e$1 + s$1);
220
+ return i$2(f$1(e$1, n$2, r$1 + 1));
221
+ });
222
+ });
223
+ return n$1 ? d$1(0).then((e$1) => n$1(null, e$1), n$1) : d$1(0);
224
+ };
225
+ const l$1 = (e, t$1) => {
226
+ t$1 = t$1 || {};
227
+ const { pathEnv: n$1, pathExt: i$1, pathExtExe: c$2 } = s(e, t$1);
228
+ const l$2 = [];
229
+ for (let o$1 = 0; o$1 < n$1.length; o$1++) {
230
+ const s$1 = n$1[o$1];
231
+ const u$1 = /^".*"$/.test(s$1) ? s$1.slice(1, -1) : s$1;
232
+ const d$1 = r.join(u$1, e);
233
+ const f$1 = !u$1 && /^\.[\\\/]/.test(e) ? e.slice(0, 2) + d$1 : d$1;
234
+ for (let e$1 = 0; e$1 < i$1.length; e$1++) {
235
+ const n$2 = f$1 + i$1[e$1];
236
+ try {
237
+ if (a.sync(n$2, { pathExt: c$2 })) if (t$1.all) l$2.push(n$2);
238
+ else return n$2;
239
+ } catch (e$2) {}
240
+ }
241
+ }
242
+ if (t$1.all && l$2.length) return l$2;
243
+ if (t$1.nothrow) return null;
244
+ throw o(e);
245
+ };
246
+ t.exports = c$1;
247
+ c$1.sync = l$1;
248
+ });
249
+ var k = h((exports, t) => {
250
+ const n = (e = {}) => {
251
+ const t$1 = e.env || process.env;
252
+ if ((e.platform || process.platform) !== "win32") return "PATH";
253
+ return Object.keys(t$1).reverse().find((e$1) => e$1.toUpperCase() === "PATH") || "Path";
254
+ };
255
+ t.exports = n;
256
+ t.exports.default = n;
257
+ });
258
+ var A = h((exports, t) => {
259
+ const n = v("path");
260
+ const r = O();
261
+ const i = k();
262
+ function a(e, t$1) {
263
+ const a$1 = e.options.env || process.env;
264
+ const o$1 = process.cwd();
265
+ const s = e.options.cwd != null;
266
+ const c$1 = s && process.chdir !== void 0 && !process.chdir.disabled;
267
+ if (c$1) try {
268
+ process.chdir(e.options.cwd);
269
+ } catch (e$1) {}
270
+ let l$1;
271
+ try {
272
+ l$1 = r.sync(e.command, {
273
+ path: a$1[i({ env: a$1 })],
274
+ pathExt: t$1 ? n.delimiter : void 0
275
+ });
276
+ } catch (e$1) {} finally {
277
+ if (c$1) process.chdir(o$1);
278
+ }
279
+ if (l$1) l$1 = n.resolve(s ? e.options.cwd : "", l$1);
280
+ return l$1;
281
+ }
282
+ function o(e) {
283
+ return a(e) || a(e, true);
284
+ }
285
+ t.exports = o;
286
+ });
287
+ var j = h((exports, t) => {
288
+ const n = /([()\][%!^"`<>&|;, *?])/g;
289
+ function r(e) {
290
+ e = e.replace(n, "^$1");
291
+ return e;
292
+ }
293
+ function i(e, t$1) {
294
+ e = `${e}`;
295
+ e = e.replace(/(\\*)"/g, "$1$1\\\"");
296
+ e = e.replace(/(\\*)$/, "$1$1");
297
+ e = `"${e}"`;
298
+ e = e.replace(n, "^$1");
299
+ if (t$1) e = e.replace(n, "^$1");
300
+ return e;
301
+ }
302
+ t.exports.command = r;
303
+ t.exports.argument = i;
304
+ });
305
+ var M = h((exports, t) => {
306
+ t.exports = /^#!(.*)/;
307
+ });
308
+ var N = h((exports, t) => {
309
+ const n = M();
310
+ t.exports = (e = "") => {
311
+ const t$1 = e.match(n);
312
+ if (!t$1) return null;
313
+ const [r, i] = t$1[0].replace(/#! ?/, "").split(" ");
314
+ const a = r.split("/").pop();
315
+ if (a === "env") return i;
316
+ return i ? `${a} ${i}` : a;
317
+ };
318
+ });
319
+ var P = h((exports, t) => {
320
+ const n = v("fs");
321
+ const r = N();
322
+ function i(e) {
323
+ const t$1 = 150;
324
+ const i$1 = Buffer.alloc(t$1);
325
+ let a;
326
+ try {
327
+ a = n.openSync(e, "r");
328
+ n.readSync(a, i$1, 0, t$1, 0);
329
+ n.closeSync(a);
330
+ } catch (e$1) {}
331
+ return r(i$1.toString());
332
+ }
333
+ t.exports = i;
334
+ });
335
+ var F = h((exports, t) => {
336
+ const n = v("path");
337
+ const r = A();
338
+ const i = j();
339
+ const a = P();
340
+ const o = process.platform === "win32";
341
+ const s = /\.(?:com|exe)$/i;
342
+ const c$1 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
343
+ function l$1(e) {
344
+ e.file = r(e);
345
+ const t$1 = e.file && a(e.file);
346
+ if (t$1) {
347
+ e.args.unshift(e.file);
348
+ e.command = t$1;
349
+ return r(e);
350
+ }
351
+ return e.file;
352
+ }
353
+ function u$1(e) {
354
+ if (!o) return e;
355
+ const t$1 = l$1(e);
356
+ const r$1 = !s.test(t$1);
357
+ if (e.options.forceShell || r$1) {
358
+ const r$2 = c$1.test(t$1);
359
+ e.command = n.normalize(e.command);
360
+ e.command = i.command(e.command);
361
+ e.args = e.args.map((e$1) => i.argument(e$1, r$2));
362
+ e.args = [
363
+ "/d",
364
+ "/s",
365
+ "/c",
366
+ `"${[e.command].concat(e.args).join(" ")}"`
367
+ ];
368
+ e.command = process.env.comspec || "cmd.exe";
369
+ e.options.windowsVerbatimArguments = true;
370
+ }
371
+ return e;
372
+ }
373
+ function d$1(e, t$1, n$1) {
374
+ if (t$1 && !Array.isArray(t$1)) {
375
+ n$1 = t$1;
376
+ t$1 = null;
377
+ }
378
+ t$1 = t$1 ? t$1.slice(0) : [];
379
+ n$1 = Object.assign({}, n$1);
380
+ const r$1 = {
381
+ command: e,
382
+ args: t$1,
383
+ options: n$1,
384
+ file: void 0,
385
+ original: {
386
+ command: e,
387
+ args: t$1
388
+ }
389
+ };
390
+ return n$1.shell ? r$1 : u$1(r$1);
391
+ }
392
+ t.exports = d$1;
393
+ });
394
+ var I = h((exports, t) => {
395
+ const n = process.platform === "win32";
396
+ function r(e, t$1) {
397
+ return Object.assign(/* @__PURE__ */ new Error(`${t$1} ${e.command} ENOENT`), {
398
+ code: "ENOENT",
399
+ errno: "ENOENT",
400
+ syscall: `${t$1} ${e.command}`,
401
+ path: e.command,
402
+ spawnargs: e.args
403
+ });
404
+ }
405
+ function i(e, t$1) {
406
+ if (!n) return;
407
+ const r$1 = e.emit;
408
+ e.emit = function(n$1, i$1) {
409
+ if (n$1 === "exit") {
410
+ const n$2 = a(i$1, t$1, "spawn");
411
+ if (n$2) return r$1.call(e, "error", n$2);
412
+ }
413
+ return r$1.apply(e, arguments);
414
+ };
415
+ }
416
+ function a(e, t$1) {
417
+ if (n && e === 1 && !t$1.file) return r(t$1.original, "spawn");
418
+ return null;
419
+ }
420
+ function o(e, t$1) {
421
+ if (n && e === 1 && !t$1.file) return r(t$1.original, "spawnSync");
422
+ return null;
423
+ }
424
+ t.exports = {
425
+ hookChildProcess: i,
426
+ verifyENOENT: a,
427
+ verifyENOENTSync: o,
428
+ notFoundError: r
429
+ };
430
+ });
431
+ var R = _(h((exports, t) => {
432
+ const n = v("child_process");
433
+ const r = F();
434
+ const i = I();
435
+ function a(e, t$1, a$1) {
436
+ const o$1 = r(e, t$1, a$1);
437
+ const s = n.spawn(o$1.command, o$1.args, o$1.options);
438
+ i.hookChildProcess(s, o$1);
439
+ return s;
440
+ }
441
+ function o(e, t$1, a$1) {
442
+ const o$1 = r(e, t$1, a$1);
443
+ const s = n.spawnSync(o$1.command, o$1.args, o$1.options);
444
+ s.error = s.error || i.verifyENOENTSync(s.status, o$1);
445
+ return s;
446
+ }
447
+ t.exports = a;
448
+ t.exports.spawn = a;
449
+ t.exports.sync = o;
450
+ t.exports._parse = r;
451
+ t.exports._enoent = i;
452
+ })(), 1);
453
+ var z = class extends Error {
454
+ result;
455
+ output;
456
+ get exitCode() {
457
+ if (this.result.exitCode !== null) return this.result.exitCode;
458
+ }
459
+ constructor(e, t) {
460
+ super(`Process exited with non-zero status (${e.exitCode})`);
461
+ this.result = e;
462
+ this.output = t;
463
+ }
464
+ };
465
+ const B = {
466
+ timeout: void 0,
467
+ persist: false
468
+ };
469
+ const V = { windowsHide: true };
470
+ function H(e, t) {
471
+ return {
472
+ command: normalize(e),
473
+ args: t ?? []
474
+ };
475
+ }
476
+ function U(e) {
477
+ const t = new AbortController();
478
+ for (const n of e) {
479
+ if (n.aborted) {
480
+ t.abort();
481
+ return n;
482
+ }
483
+ const e$1 = () => {
484
+ t.abort(n.reason);
485
+ };
486
+ n.addEventListener("abort", e$1, { signal: t.signal });
487
+ }
488
+ return t.signal;
489
+ }
490
+ async function W(e) {
491
+ let t = "";
492
+ for await (const n of e) t += n.toString();
493
+ return t;
494
+ }
495
+ var G = class {
496
+ _process;
497
+ _aborted = false;
498
+ _options;
499
+ _command;
500
+ _args;
501
+ _resolveClose;
502
+ _processClosed;
503
+ _thrownError;
504
+ get process() {
505
+ return this._process;
506
+ }
507
+ get pid() {
508
+ return this._process?.pid;
509
+ }
510
+ get exitCode() {
511
+ if (this._process && this._process.exitCode !== null) return this._process.exitCode;
512
+ }
513
+ constructor(e, t, n) {
514
+ this._options = {
515
+ ...B,
516
+ ...n
517
+ };
518
+ this._command = e;
519
+ this._args = t ?? [];
520
+ this._processClosed = new Promise((e$1) => {
521
+ this._resolveClose = e$1;
522
+ });
523
+ }
524
+ kill(e) {
525
+ return this._process?.kill(e) === true;
526
+ }
527
+ get aborted() {
528
+ return this._aborted;
529
+ }
530
+ get killed() {
531
+ return this._process?.killed === true;
532
+ }
533
+ pipe(e, t, n) {
534
+ return q(e, t, {
535
+ ...n,
536
+ stdin: this
537
+ });
538
+ }
539
+ async *[Symbol.asyncIterator]() {
540
+ const e = this._process;
541
+ if (!e) return;
542
+ const t = [];
543
+ if (this._streamErr) t.push(this._streamErr);
544
+ if (this._streamOut) t.push(this._streamOut);
545
+ const n = w(t);
546
+ const r = c.createInterface({ input: n });
547
+ for await (const e$1 of r) yield e$1.toString();
548
+ await this._processClosed;
549
+ e.removeAllListeners();
550
+ if (this._thrownError) throw this._thrownError;
551
+ if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this);
552
+ }
553
+ async _waitForOutput() {
554
+ const e = this._process;
555
+ if (!e) throw new Error("No process was started");
556
+ const [t, n] = await Promise.all([this._streamOut ? W(this._streamOut) : "", this._streamErr ? W(this._streamErr) : ""]);
557
+ await this._processClosed;
558
+ if (this._options?.stdin) await this._options.stdin;
559
+ e.removeAllListeners();
560
+ if (this._thrownError) throw this._thrownError;
561
+ const r = {
562
+ stderr: n,
563
+ stdout: t,
564
+ exitCode: this.exitCode
565
+ };
566
+ if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this, r);
567
+ return r;
568
+ }
569
+ then(e, t) {
570
+ return this._waitForOutput().then(e, t);
571
+ }
572
+ _streamOut;
573
+ _streamErr;
574
+ spawn() {
575
+ const e = cwd();
576
+ const n = this._options;
577
+ const r = {
578
+ ...V,
579
+ ...n.nodeOptions
580
+ };
581
+ const i = [];
582
+ this._resetState();
583
+ if (n.timeout !== void 0) i.push(AbortSignal.timeout(n.timeout));
584
+ if (n.signal !== void 0) i.push(n.signal);
585
+ if (n.persist === true) r.detached = true;
586
+ if (i.length > 0) r.signal = U(i);
587
+ r.env = C(e, r.env);
588
+ const { command: a, args: s } = H(this._command, this._args);
589
+ const c$1 = (0, R._parse)(a, s, r);
590
+ const l$1 = spawn(c$1.command, c$1.args, c$1.options);
591
+ if (l$1.stderr) this._streamErr = l$1.stderr;
592
+ if (l$1.stdout) this._streamOut = l$1.stdout;
593
+ this._process = l$1;
594
+ l$1.once("error", this._onError);
595
+ l$1.once("close", this._onClose);
596
+ if (n.stdin !== void 0 && l$1.stdin && n.stdin.process) {
597
+ const { stdout: e$1 } = n.stdin.process;
598
+ if (e$1) e$1.pipe(l$1.stdin);
599
+ }
600
+ }
601
+ _resetState() {
602
+ this._aborted = false;
603
+ this._processClosed = new Promise((e) => {
604
+ this._resolveClose = e;
605
+ });
606
+ this._thrownError = void 0;
607
+ }
608
+ _onError = (e) => {
609
+ if (e.name === "AbortError" && (!(e.cause instanceof Error) || e.cause.name !== "TimeoutError")) {
610
+ this._aborted = true;
611
+ return;
612
+ }
613
+ this._thrownError = e;
614
+ };
615
+ _onClose = () => {
616
+ if (this._resolveClose) this._resolveClose();
617
+ };
618
+ };
619
+ const K = (e, t, n) => {
620
+ const r = new G(e, t, n);
621
+ r.spawn();
622
+ return r;
623
+ };
624
+ const q = K;
625
+
626
+ //#endregion
627
+ export { K };
628
+ //# sourceMappingURL=main.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.mjs","names":["e","n","a","r","s","t","i","o","c","l","u","d","f"],"sources":["../../../../../../../../../node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.js"],"sourcesContent":["import { createRequire as e } from \"module\";\nimport { spawn as t } from \"node:child_process\";\nimport { delimiter as n, dirname as r, normalize as i, resolve as a } from \"node:path\";\nimport { cwd as o } from \"node:process\";\nimport { PassThrough as s } from \"node:stream\";\nimport c from \"node:readline\";\nvar l = Object.create;\nvar u = Object.defineProperty;\nvar d = Object.getOwnPropertyDescriptor;\nvar f = Object.getOwnPropertyNames;\nvar p = Object.getPrototypeOf;\nvar m = Object.prototype.hasOwnProperty;\nvar h = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports);\nvar g = (e, t, n, r) => {\n\tif (t && typeof t === \"object\" || typeof t === \"function\") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) {\n\t\ts = i[a];\n\t\tif (!m.call(e, s) && s !== n) u(e, s, {\n\t\t\tget: ((e) => t[e]).bind(null, s),\n\t\t\tenumerable: !(r = d(t, s)) || r.enumerable\n\t\t});\n\t}\n\treturn e;\n};\nvar _ = (e, t, n) => (n = e != null ? l(p(e)) : {}, g(t || !e || !e.__esModule ? u(n, \"default\", {\n\tvalue: e,\n\tenumerable: true\n}) : n, e));\nvar v = /* @__PURE__ */ e(import.meta.url);\nconst y = /^path$/i;\nconst b = {\n\tkey: \"PATH\",\n\tvalue: \"\"\n};\nfunction x(e) {\n\tfor (const t in e) {\n\t\tif (!Object.prototype.hasOwnProperty.call(e, t) || !y.test(t)) continue;\n\t\tconst n = e[t];\n\t\tif (!n) return b;\n\t\treturn {\n\t\t\tkey: t,\n\t\t\tvalue: n\n\t\t};\n\t}\n\treturn b;\n}\nfunction S(e, t) {\n\tconst i = t.value.split(n);\n\tlet o = e;\n\tlet s;\n\tdo {\n\t\ti.push(a(o, \"node_modules\", \".bin\"));\n\t\ts = o;\n\t\to = r(o);\n\t} while (o !== s);\n\treturn {\n\t\tkey: t.key,\n\t\tvalue: i.join(n)\n\t};\n}\nfunction C(e, t) {\n\tconst n = {\n\t\t...process.env,\n\t\t...t\n\t};\n\tconst r = S(e, x(n));\n\tn[r.key] = r.value;\n\treturn n;\n}\nconst w = (e) => {\n\tlet t = e.length;\n\tconst n = new s();\n\tconst r = () => {\n\t\tif (--t === 0) n.emit(\"end\");\n\t};\n\tfor (const t of e) {\n\t\tt.pipe(n, { end: false });\n\t\tt.on(\"end\", r);\n\t}\n\treturn n;\n};\nvar T = h((exports, t) => {\n\tt.exports = a;\n\ta.sync = o;\n\tvar n = v(\"fs\");\n\tfunction r(e, t) {\n\t\tvar n = t.pathExt !== void 0 ? t.pathExt : process.env.PATHEXT;\n\t\tif (!n) return true;\n\t\tn = n.split(\";\");\n\t\tif (n.indexOf(\"\") !== -1) return true;\n\t\tfor (var r = 0; r < n.length; r++) {\n\t\t\tvar i = n[r].toLowerCase();\n\t\t\tif (i && e.substr(-i.length).toLowerCase() === i) return true;\n\t\t}\n\t\treturn false;\n\t}\n\tfunction i(e, t, n) {\n\t\tif (!e.isSymbolicLink() && !e.isFile()) return false;\n\t\treturn r(t, n);\n\t}\n\tfunction a(e, t, r) {\n\t\tn.stat(e, function(n, a) {\n\t\t\tr(n, n ? false : i(a, e, t));\n\t\t});\n\t}\n\tfunction o(e, t) {\n\t\treturn i(n.statSync(e), e, t);\n\t}\n});\nvar E = h((exports, t) => {\n\tt.exports = r;\n\tr.sync = i;\n\tvar n = v(\"fs\");\n\tfunction r(e, t, r) {\n\t\tn.stat(e, function(e, n) {\n\t\t\tr(e, e ? false : a(n, t));\n\t\t});\n\t}\n\tfunction i(e, t) {\n\t\treturn a(n.statSync(e), t);\n\t}\n\tfunction a(e, t) {\n\t\treturn e.isFile() && o(e, t);\n\t}\n\tfunction o(e, t) {\n\t\tvar n = e.mode;\n\t\tvar r = e.uid;\n\t\tvar i = e.gid;\n\t\tvar a = t.uid !== void 0 ? t.uid : process.getuid && process.getuid();\n\t\tvar o = t.gid !== void 0 ? t.gid : process.getgid && process.getgid();\n\t\tvar s = parseInt(\"100\", 8);\n\t\tvar c = parseInt(\"010\", 8);\n\t\tvar l = parseInt(\"001\", 8);\n\t\tvar u = s | c;\n\t\tvar d = n & l || n & c && i === o || n & s && r === a || n & u && a === 0;\n\t\treturn d;\n\t}\n});\nvar D = h((exports, t) => {\n\tvar n = v(\"fs\");\n\tvar r;\n\tif (process.platform === \"win32\" || global.TESTING_WINDOWS) r = T();\n\telse r = E();\n\tt.exports = i;\n\ti.sync = a;\n\tfunction i(e, t, n) {\n\t\tif (typeof t === \"function\") {\n\t\t\tn = t;\n\t\t\tt = {};\n\t\t}\n\t\tif (!n) {\n\t\t\tif (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n\t\t\treturn new Promise(function(n, r) {\n\t\t\t\ti(e, t || {}, function(e, t) {\n\t\t\t\t\tif (e) r(e);\n\t\t\t\t\telse n(t);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t\tr(e, t || {}, function(e, r) {\n\t\t\tif (e) {\n\t\t\t\tif (e.code === \"EACCES\" || t && t.ignoreErrors) {\n\t\t\t\t\te = null;\n\t\t\t\t\tr = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tn(e, r);\n\t\t});\n\t}\n\tfunction a(e, t) {\n\t\ttry {\n\t\t\treturn r.sync(e, t || {});\n\t\t} catch (e) {\n\t\t\tif (t && t.ignoreErrors || e.code === \"EACCES\") return false;\n\t\t\telse throw e;\n\t\t}\n\t}\n});\nvar O = h((exports, t) => {\n\tconst n = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\tconst r = v(\"path\");\n\tconst i = n ? \";\" : \":\";\n\tconst a = D();\n\tconst o = (e) => Object.assign(new Error(`not found: ${e}`), { code: \"ENOENT\" });\n\tconst s = (e, t) => {\n\t\tconst r = t.colon || i;\n\t\tconst a = e.match(/\\//) || n && e.match(/\\\\/) ? [\"\"] : [...n ? [process.cwd()] : [], ...(t.path || process.env.PATH || \"\").split(r)];\n\t\tconst o = n ? t.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n\t\tconst s = n ? o.split(r) : [\"\"];\n\t\tif (n) {\n\t\t\tif (e.indexOf(\".\") !== -1 && s[0] !== \"\") s.unshift(\"\");\n\t\t}\n\t\treturn {\n\t\t\tpathEnv: a,\n\t\t\tpathExt: s,\n\t\t\tpathExtExe: o\n\t\t};\n\t};\n\tconst c = (e, t, n) => {\n\t\tif (typeof t === \"function\") {\n\t\t\tn = t;\n\t\t\tt = {};\n\t\t}\n\t\tif (!t) t = {};\n\t\tconst { pathEnv: i, pathExt: c, pathExtExe: l } = s(e, t);\n\t\tconst u = [];\n\t\tconst d = (n) => new Promise((a, s) => {\n\t\t\tif (n === i.length) return t.all && u.length ? a(u) : s(o(e));\n\t\t\tconst c = i[n];\n\t\t\tconst l = /^\".*\"$/.test(c) ? c.slice(1, -1) : c;\n\t\t\tconst d = r.join(l, e);\n\t\t\tconst p = !l && /^\\.[\\\\\\/]/.test(e) ? e.slice(0, 2) + d : d;\n\t\t\ta(f(p, n, 0));\n\t\t});\n\t\tconst f = (e, n, r) => new Promise((i, o) => {\n\t\t\tif (r === c.length) return i(d(n + 1));\n\t\t\tconst s = c[r];\n\t\t\ta(e + s, { pathExt: l }, (a, o) => {\n\t\t\t\tif (!a && o) if (t.all) u.push(e + s);\n\t\t\t\telse return i(e + s);\n\t\t\t\treturn i(f(e, n, r + 1));\n\t\t\t});\n\t\t});\n\t\treturn n ? d(0).then((e) => n(null, e), n) : d(0);\n\t};\n\tconst l = (e, t) => {\n\t\tt = t || {};\n\t\tconst { pathEnv: n, pathExt: i, pathExtExe: c } = s(e, t);\n\t\tconst l = [];\n\t\tfor (let o = 0; o < n.length; o++) {\n\t\t\tconst s = n[o];\n\t\t\tconst u = /^\".*\"$/.test(s) ? s.slice(1, -1) : s;\n\t\t\tconst d = r.join(u, e);\n\t\t\tconst f = !u && /^\\.[\\\\\\/]/.test(e) ? e.slice(0, 2) + d : d;\n\t\t\tfor (let e = 0; e < i.length; e++) {\n\t\t\t\tconst n = f + i[e];\n\t\t\t\ttry {\n\t\t\t\t\tconst e = a.sync(n, { pathExt: c });\n\t\t\t\t\tif (e) if (t.all) l.push(n);\n\t\t\t\t\telse return n;\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\t\t}\n\t\tif (t.all && l.length) return l;\n\t\tif (t.nothrow) return null;\n\t\tthrow o(e);\n\t};\n\tt.exports = c;\n\tc.sync = l;\n});\nvar k = h((exports, t) => {\n\tconst n = (e = {}) => {\n\t\tconst t = e.env || process.env;\n\t\tconst n = e.platform || process.platform;\n\t\tif (n !== \"win32\") return \"PATH\";\n\t\treturn Object.keys(t).reverse().find((e) => e.toUpperCase() === \"PATH\") || \"Path\";\n\t};\n\tt.exports = n;\n\tt.exports.default = n;\n});\nvar A = h((exports, t) => {\n\tconst n = v(\"path\");\n\tconst r = O();\n\tconst i = k();\n\tfunction a(e, t) {\n\t\tconst a = e.options.env || process.env;\n\t\tconst o = process.cwd();\n\t\tconst s = e.options.cwd != null;\n\t\tconst c = s && process.chdir !== void 0 && !process.chdir.disabled;\n\t\tif (c) try {\n\t\t\tprocess.chdir(e.options.cwd);\n\t\t} catch (e) {}\n\t\tlet l;\n\t\ttry {\n\t\t\tl = r.sync(e.command, {\n\t\t\t\tpath: a[i({ env: a })],\n\t\t\t\tpathExt: t ? n.delimiter : void 0\n\t\t\t});\n\t\t} catch (e) {} finally {\n\t\t\tif (c) process.chdir(o);\n\t\t}\n\t\tif (l) l = n.resolve(s ? e.options.cwd : \"\", l);\n\t\treturn l;\n\t}\n\tfunction o(e) {\n\t\treturn a(e) || a(e, true);\n\t}\n\tt.exports = o;\n});\nvar j = h((exports, t) => {\n\tconst n = /([()\\][%!^\"`<>&|;, *?])/g;\n\tfunction r(e) {\n\t\te = e.replace(n, \"^$1\");\n\t\treturn e;\n\t}\n\tfunction i(e, t) {\n\t\te = `${e}`;\n\t\te = e.replace(/(\\\\*)\"/g, \"$1$1\\\\\\\"\");\n\t\te = e.replace(/(\\\\*)$/, \"$1$1\");\n\t\te = `\"${e}\"`;\n\t\te = e.replace(n, \"^$1\");\n\t\tif (t) e = e.replace(n, \"^$1\");\n\t\treturn e;\n\t}\n\tt.exports.command = r;\n\tt.exports.argument = i;\n});\nvar M = h((exports, t) => {\n\tt.exports = /^#!(.*)/;\n});\nvar N = h((exports, t) => {\n\tconst n = M();\n\tt.exports = (e = \"\") => {\n\t\tconst t = e.match(n);\n\t\tif (!t) return null;\n\t\tconst [r, i] = t[0].replace(/#! ?/, \"\").split(\" \");\n\t\tconst a = r.split(\"/\").pop();\n\t\tif (a === \"env\") return i;\n\t\treturn i ? `${a} ${i}` : a;\n\t};\n});\nvar P = h((exports, t) => {\n\tconst n = v(\"fs\");\n\tconst r = N();\n\tfunction i(e) {\n\t\tconst t = 150;\n\t\tconst i = Buffer.alloc(t);\n\t\tlet a;\n\t\ttry {\n\t\t\ta = n.openSync(e, \"r\");\n\t\t\tn.readSync(a, i, 0, t, 0);\n\t\t\tn.closeSync(a);\n\t\t} catch (e) {}\n\t\treturn r(i.toString());\n\t}\n\tt.exports = i;\n});\nvar F = h((exports, t) => {\n\tconst n = v(\"path\");\n\tconst r = A();\n\tconst i = j();\n\tconst a = P();\n\tconst o = process.platform === \"win32\";\n\tconst s = /\\.(?:com|exe)$/i;\n\tconst c = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\tfunction l(e) {\n\t\te.file = r(e);\n\t\tconst t = e.file && a(e.file);\n\t\tif (t) {\n\t\t\te.args.unshift(e.file);\n\t\t\te.command = t;\n\t\t\treturn r(e);\n\t\t}\n\t\treturn e.file;\n\t}\n\tfunction u(e) {\n\t\tif (!o) return e;\n\t\tconst t = l(e);\n\t\tconst r = !s.test(t);\n\t\tif (e.options.forceShell || r) {\n\t\t\tconst r = c.test(t);\n\t\t\te.command = n.normalize(e.command);\n\t\t\te.command = i.command(e.command);\n\t\t\te.args = e.args.map((e) => i.argument(e, r));\n\t\t\tconst a = [e.command].concat(e.args).join(\" \");\n\t\t\te.args = [\n\t\t\t\t\"/d\",\n\t\t\t\t\"/s\",\n\t\t\t\t\"/c\",\n\t\t\t\t`\"${a}\"`\n\t\t\t];\n\t\t\te.command = process.env.comspec || \"cmd.exe\";\n\t\t\te.options.windowsVerbatimArguments = true;\n\t\t}\n\t\treturn e;\n\t}\n\tfunction d(e, t, n) {\n\t\tif (t && !Array.isArray(t)) {\n\t\t\tn = t;\n\t\t\tt = null;\n\t\t}\n\t\tt = t ? t.slice(0) : [];\n\t\tn = Object.assign({}, n);\n\t\tconst r = {\n\t\t\tcommand: e,\n\t\t\targs: t,\n\t\t\toptions: n,\n\t\t\tfile: void 0,\n\t\t\toriginal: {\n\t\t\t\tcommand: e,\n\t\t\t\targs: t\n\t\t\t}\n\t\t};\n\t\treturn n.shell ? r : u(r);\n\t}\n\tt.exports = d;\n});\nvar I = h((exports, t) => {\n\tconst n = process.platform === \"win32\";\n\tfunction r(e, t) {\n\t\treturn Object.assign(new Error(`${t} ${e.command} ENOENT`), {\n\t\t\tcode: \"ENOENT\",\n\t\t\terrno: \"ENOENT\",\n\t\t\tsyscall: `${t} ${e.command}`,\n\t\t\tpath: e.command,\n\t\t\tspawnargs: e.args\n\t\t});\n\t}\n\tfunction i(e, t) {\n\t\tif (!n) return;\n\t\tconst r = e.emit;\n\t\te.emit = function(n, i) {\n\t\t\tif (n === \"exit\") {\n\t\t\t\tconst n = a(i, t, \"spawn\");\n\t\t\t\tif (n) return r.call(e, \"error\", n);\n\t\t\t}\n\t\t\treturn r.apply(e, arguments);\n\t\t};\n\t}\n\tfunction a(e, t) {\n\t\tif (n && e === 1 && !t.file) return r(t.original, \"spawn\");\n\t\treturn null;\n\t}\n\tfunction o(e, t) {\n\t\tif (n && e === 1 && !t.file) return r(t.original, \"spawnSync\");\n\t\treturn null;\n\t}\n\tt.exports = {\n\t\thookChildProcess: i,\n\t\tverifyENOENT: a,\n\t\tverifyENOENTSync: o,\n\t\tnotFoundError: r\n\t};\n});\nvar L = h((exports, t) => {\n\tconst n = v(\"child_process\");\n\tconst r = F();\n\tconst i = I();\n\tfunction a(e, t, a) {\n\t\tconst o = r(e, t, a);\n\t\tconst s = n.spawn(o.command, o.args, o.options);\n\t\ti.hookChildProcess(s, o);\n\t\treturn s;\n\t}\n\tfunction o(e, t, a) {\n\t\tconst o = r(e, t, a);\n\t\tconst s = n.spawnSync(o.command, o.args, o.options);\n\t\ts.error = s.error || i.verifyENOENTSync(s.status, o);\n\t\treturn s;\n\t}\n\tt.exports = a;\n\tt.exports.spawn = a;\n\tt.exports.sync = o;\n\tt.exports._parse = r;\n\tt.exports._enoent = i;\n});\nvar R = _(L(), 1);\nvar z = class extends Error {\n\tresult;\n\toutput;\n\tget exitCode() {\n\t\tif (this.result.exitCode !== null) return this.result.exitCode;\n\t\treturn void 0;\n\t}\n\tconstructor(e, t) {\n\t\tsuper(`Process exited with non-zero status (${e.exitCode})`);\n\t\tthis.result = e;\n\t\tthis.output = t;\n\t}\n};\nconst B = {\n\ttimeout: void 0,\n\tpersist: false\n};\nconst V = { windowsHide: true };\nfunction H(e, t) {\n\tconst n = i(e);\n\tconst r = t ?? [];\n\treturn {\n\t\tcommand: n,\n\t\targs: r\n\t};\n}\nfunction U(e) {\n\tconst t = new AbortController();\n\tfor (const n of e) {\n\t\tif (n.aborted) {\n\t\t\tt.abort();\n\t\t\treturn n;\n\t\t}\n\t\tconst e = () => {\n\t\t\tt.abort(n.reason);\n\t\t};\n\t\tn.addEventListener(\"abort\", e, { signal: t.signal });\n\t}\n\treturn t.signal;\n}\nasync function W(e) {\n\tlet t = \"\";\n\tfor await (const n of e) t += n.toString();\n\treturn t;\n}\nvar G = class {\n\t_process;\n\t_aborted = false;\n\t_options;\n\t_command;\n\t_args;\n\t_resolveClose;\n\t_processClosed;\n\t_thrownError;\n\tget process() {\n\t\treturn this._process;\n\t}\n\tget pid() {\n\t\treturn this._process?.pid;\n\t}\n\tget exitCode() {\n\t\tif (this._process && this._process.exitCode !== null) return this._process.exitCode;\n\t\treturn void 0;\n\t}\n\tconstructor(e, t, n) {\n\t\tthis._options = {\n\t\t\t...B,\n\t\t\t...n\n\t\t};\n\t\tthis._command = e;\n\t\tthis._args = t ?? [];\n\t\tthis._processClosed = new Promise((e) => {\n\t\t\tthis._resolveClose = e;\n\t\t});\n\t}\n\tkill(e) {\n\t\treturn this._process?.kill(e) === true;\n\t}\n\tget aborted() {\n\t\treturn this._aborted;\n\t}\n\tget killed() {\n\t\treturn this._process?.killed === true;\n\t}\n\tpipe(e, t, n) {\n\t\treturn q(e, t, {\n\t\t\t...n,\n\t\t\tstdin: this\n\t\t});\n\t}\n\tasync *[Symbol.asyncIterator]() {\n\t\tconst e = this._process;\n\t\tif (!e) return;\n\t\tconst t = [];\n\t\tif (this._streamErr) t.push(this._streamErr);\n\t\tif (this._streamOut) t.push(this._streamOut);\n\t\tconst n = w(t);\n\t\tconst r = c.createInterface({ input: n });\n\t\tfor await (const e of r) yield e.toString();\n\t\tawait this._processClosed;\n\t\te.removeAllListeners();\n\t\tif (this._thrownError) throw this._thrownError;\n\t\tif (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this);\n\t}\n\tasync _waitForOutput() {\n\t\tconst e = this._process;\n\t\tif (!e) throw new Error(\"No process was started\");\n\t\tconst [t, n] = await Promise.all([this._streamOut ? W(this._streamOut) : \"\", this._streamErr ? W(this._streamErr) : \"\"]);\n\t\tawait this._processClosed;\n\t\tif (this._options?.stdin) await this._options.stdin;\n\t\te.removeAllListeners();\n\t\tif (this._thrownError) throw this._thrownError;\n\t\tconst r = {\n\t\t\tstderr: n,\n\t\t\tstdout: t,\n\t\t\texitCode: this.exitCode\n\t\t};\n\t\tif (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new z(this, r);\n\t\treturn r;\n\t}\n\tthen(e, t) {\n\t\treturn this._waitForOutput().then(e, t);\n\t}\n\t_streamOut;\n\t_streamErr;\n\tspawn() {\n\t\tconst e = o();\n\t\tconst n = this._options;\n\t\tconst r = {\n\t\t\t...V,\n\t\t\t...n.nodeOptions\n\t\t};\n\t\tconst i = [];\n\t\tthis._resetState();\n\t\tif (n.timeout !== void 0) i.push(AbortSignal.timeout(n.timeout));\n\t\tif (n.signal !== void 0) i.push(n.signal);\n\t\tif (n.persist === true) r.detached = true;\n\t\tif (i.length > 0) r.signal = U(i);\n\t\tr.env = C(e, r.env);\n\t\tconst { command: a, args: s } = H(this._command, this._args);\n\t\tconst c = (0, R._parse)(a, s, r);\n\t\tconst l = t(c.command, c.args, c.options);\n\t\tif (l.stderr) this._streamErr = l.stderr;\n\t\tif (l.stdout) this._streamOut = l.stdout;\n\t\tthis._process = l;\n\t\tl.once(\"error\", this._onError);\n\t\tl.once(\"close\", this._onClose);\n\t\tif (n.stdin !== void 0 && l.stdin && n.stdin.process) {\n\t\t\tconst { stdout: e } = n.stdin.process;\n\t\t\tif (e) e.pipe(l.stdin);\n\t\t}\n\t}\n\t_resetState() {\n\t\tthis._aborted = false;\n\t\tthis._processClosed = new Promise((e) => {\n\t\t\tthis._resolveClose = e;\n\t\t});\n\t\tthis._thrownError = void 0;\n\t}\n\t_onError = (e) => {\n\t\tif (e.name === \"AbortError\" && (!(e.cause instanceof Error) || e.cause.name !== \"TimeoutError\")) {\n\t\t\tthis._aborted = true;\n\t\t\treturn;\n\t\t}\n\t\tthis._thrownError = e;\n\t};\n\t_onClose = () => {\n\t\tif (this._resolveClose) this._resolveClose();\n\t};\n};\nconst K = (e, t, n) => {\n\tconst r = new G(e, t, n);\n\tr.spawn();\n\treturn r;\n};\nconst q = K;\nexport { G as ExecProcess, z as NonZeroExitError, q as exec, K as x };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAMA,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO;AACf,IAAI,IAAI,OAAO,UAAU;AACzB,IAAI,KAAK,GAAG,aAAa,KAAK,GAAG,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;AACrE,IAAI,KAAK,GAAG,GAAG,GAAG,MAAM;AACvB,KAAI,KAAK,OAAO,MAAM,YAAY,OAAO,MAAM,WAAY,MAAK,IAAI,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,IAAI,EAAE,QAAQ,GAAG,IAAI,GAAG,KAAK;AACjH,MAAI,EAAE;AACN,MAAI,CAAC,EAAE,KAAK,GAAG,EAAE,IAAI,MAAM,EAAG,GAAE,GAAG,GAAG;GACrC,OAAO,QAAM,EAAEA,MAAI,KAAK,MAAM,EAAE;GAChC,YAAY,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE;GAChC,CAAC;;AAEH,QAAO;;AAER,IAAI,KAAK,GAAG,GAAG,OAAO,IAAI,KAAK,OAAO,EAAE,EAAE,EAAE,CAAC,GAAG,EAAE,EAAE,EAAE,KAAK,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,GAAG,WAAW;CAChG,OAAO;CACP,YAAY;CACZ,CAAC,GAAG,GAAG,EAAE;AACV,IAAI,IAAoB,8BAAE,OAAO,KAAK,IAAI;AAC1C,MAAM,IAAI;AACV,MAAM,IAAI;CACT,KAAK;CACL,OAAO;CACP;AACD,SAAS,EAAE,GAAG;AACb,MAAK,MAAM,KAAK,GAAG;AAClB,MAAI,CAAC,OAAO,UAAU,eAAe,KAAK,GAAG,EAAE,IAAI,CAAC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