@slicemachine/init 2.3.1-dev-next-release.4 → 2.4.0

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 (290) hide show
  1. package/dist/SliceMachineInitProcess.cjs +46 -22
  2. package/dist/SliceMachineInitProcess.cjs.map +1 -1
  3. package/dist/SliceMachineInitProcess.d.ts +2 -1
  4. package/dist/SliceMachineInitProcess.js +44 -20
  5. package/dist/SliceMachineInitProcess.js.map +1 -1
  6. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +2 -2
  7. package/dist/_node_modules/@babel/code-frame/lib/index.js +2 -2
  8. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
  9. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
  10. package/dist/_node_modules/@babel/highlight/lib/index.cjs +3 -3
  11. package/dist/_node_modules/@babel/highlight/lib/index.js +3 -3
  12. package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs +1 -1
  13. package/dist/_node_modules/@nodelib/fs.scandir/out/index.js +1 -1
  14. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +2 -2
  15. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +2 -2
  16. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +2 -2
  17. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +2 -2
  18. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
  19. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +1 -1
  20. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs +1 -1
  21. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js +1 -1
  22. package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
  23. package/dist/_node_modules/@nodelib/fs.stat/out/index.js +1 -1
  24. package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +1 -1
  25. package/dist/_node_modules/@nodelib/fs.walk/out/index.js +1 -1
  26. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs +3 -3
  27. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +1 -1
  28. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js +3 -3
  29. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js.map +1 -1
  30. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs +1 -1
  31. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js +1 -1
  32. package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs +1 -1
  33. package/dist/_node_modules/@nodelib/fs.walk/out/settings.js +1 -1
  34. package/dist/_node_modules/cross-spawn/index.cjs +30 -0
  35. package/dist/_node_modules/cross-spawn/index.cjs.map +1 -0
  36. package/dist/_node_modules/cross-spawn/index.js +31 -0
  37. package/dist/_node_modules/cross-spawn/index.js.map +1 -0
  38. package/dist/_node_modules/cross-spawn/lib/enoent.cjs +47 -0
  39. package/dist/_node_modules/cross-spawn/lib/enoent.cjs.map +1 -0
  40. package/dist/_node_modules/cross-spawn/lib/enoent.js +47 -0
  41. package/dist/_node_modules/cross-spawn/lib/enoent.js.map +1 -0
  42. package/dist/_node_modules/cross-spawn/lib/parse.cjs +64 -0
  43. package/dist/_node_modules/cross-spawn/lib/parse.cjs.map +1 -0
  44. package/dist/_node_modules/cross-spawn/lib/parse.js +64 -0
  45. package/dist/_node_modules/cross-spawn/lib/parse.js.map +1 -0
  46. package/dist/_node_modules/cross-spawn/lib/util/escape.cjs +22 -0
  47. package/dist/_node_modules/cross-spawn/lib/util/escape.cjs.map +1 -0
  48. package/dist/_node_modules/cross-spawn/lib/util/escape.js +23 -0
  49. package/dist/_node_modules/cross-spawn/lib/util/escape.js.map +1 -0
  50. package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs +21 -0
  51. package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs.map +1 -0
  52. package/dist/_node_modules/cross-spawn/lib/util/readShebang.js +21 -0
  53. package/dist/_node_modules/cross-spawn/lib/util/readShebang.js.map +1 -0
  54. package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs +42 -0
  55. package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs.map +1 -0
  56. package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js +42 -0
  57. package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js.map +1 -0
  58. package/dist/_node_modules/dir-glob/index.cjs +2 -2
  59. package/dist/_node_modules/dir-glob/index.js +2 -2
  60. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.cjs +275 -0
  61. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.cjs.map +1 -0
  62. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.js +275 -0
  63. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/core.js.map +1 -0
  64. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.cjs +53 -0
  65. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.cjs.map +1 -0
  66. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.js +53 -0
  67. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/main.js.map +1 -0
  68. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.cjs +18 -0
  69. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.cjs.map +1 -0
  70. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.js +18 -0
  71. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/realtime.js.map +1 -0
  72. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.cjs +27 -0
  73. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.cjs.map +1 -0
  74. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.js +27 -0
  75. package/dist/_node_modules/execa/_node_modules/human-signals/build/src/signals.js.map +1 -0
  76. package/dist/_node_modules/execa/_node_modules/is-stream/index.cjs +11 -0
  77. package/dist/_node_modules/execa/_node_modules/is-stream/index.cjs.map +1 -0
  78. package/dist/_node_modules/execa/_node_modules/is-stream/index.js +11 -0
  79. package/dist/_node_modules/execa/_node_modules/is-stream/index.js.map +1 -0
  80. package/dist/_node_modules/execa/_node_modules/mimic-fn/index.cjs +46 -0
  81. package/dist/_node_modules/execa/_node_modules/mimic-fn/index.cjs.map +1 -0
  82. package/dist/_node_modules/execa/_node_modules/mimic-fn/index.js +47 -0
  83. package/dist/_node_modules/execa/_node_modules/mimic-fn/index.js.map +1 -0
  84. package/dist/_node_modules/execa/_node_modules/npm-run-path/index.cjs +34 -0
  85. package/dist/_node_modules/execa/_node_modules/npm-run-path/index.cjs.map +1 -0
  86. package/dist/_node_modules/execa/_node_modules/npm-run-path/index.js +34 -0
  87. package/dist/_node_modules/execa/_node_modules/npm-run-path/index.js.map +1 -0
  88. package/dist/_node_modules/execa/_node_modules/onetime/index.cjs +32 -0
  89. package/dist/_node_modules/execa/_node_modules/onetime/index.cjs.map +1 -0
  90. package/dist/_node_modules/execa/_node_modules/onetime/index.js +33 -0
  91. package/dist/_node_modules/execa/_node_modules/onetime/index.js.map +1 -0
  92. package/dist/_node_modules/execa/_node_modules/path-key/index.cjs +13 -0
  93. package/dist/_node_modules/execa/_node_modules/path-key/index.cjs.map +1 -0
  94. package/dist/_node_modules/execa/_node_modules/path-key/index.js +14 -0
  95. package/dist/_node_modules/execa/_node_modules/path-key/index.js.map +1 -0
  96. package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.cjs +14 -0
  97. package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.cjs.map +1 -0
  98. package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.js +15 -0
  99. package/dist/_node_modules/execa/_node_modules/strip-final-newline/index.js.map +1 -0
  100. package/dist/_node_modules/execa/index.cjs +147 -0
  101. package/dist/_node_modules/execa/index.cjs.map +1 -0
  102. package/dist/_node_modules/execa/index.js +147 -0
  103. package/dist/_node_modules/execa/index.js.map +1 -0
  104. package/dist/_node_modules/execa/lib/command.cjs +37 -0
  105. package/dist/_node_modules/execa/lib/command.cjs.map +1 -0
  106. package/dist/_node_modules/execa/lib/command.js +37 -0
  107. package/dist/_node_modules/execa/lib/command.js.map +1 -0
  108. package/dist/_node_modules/execa/lib/error.cjs +73 -0
  109. package/dist/_node_modules/execa/lib/error.cjs.map +1 -0
  110. package/dist/_node_modules/execa/lib/error.js +73 -0
  111. package/dist/_node_modules/execa/lib/error.js.map +1 -0
  112. package/dist/_node_modules/execa/lib/kill.cjs +80 -0
  113. package/dist/_node_modules/execa/lib/kill.cjs.map +1 -0
  114. package/dist/_node_modules/execa/lib/kill.js +80 -0
  115. package/dist/_node_modules/execa/lib/kill.js.map +1 -0
  116. package/dist/_node_modules/execa/lib/pipe.cjs +37 -0
  117. package/dist/_node_modules/execa/lib/pipe.cjs.map +1 -0
  118. package/dist/_node_modules/execa/lib/pipe.js +37 -0
  119. package/dist/_node_modules/execa/lib/pipe.js.map +1 -0
  120. package/dist/_node_modules/execa/lib/promise.cjs +30 -0
  121. package/dist/_node_modules/execa/lib/promise.cjs.map +1 -0
  122. package/dist/_node_modules/execa/lib/promise.js +30 -0
  123. package/dist/_node_modules/execa/lib/promise.js.map +1 -0
  124. package/dist/_node_modules/execa/lib/stdio.cjs +26 -0
  125. package/dist/_node_modules/execa/lib/stdio.cjs.map +1 -0
  126. package/dist/_node_modules/execa/lib/stdio.js +26 -0
  127. package/dist/_node_modules/execa/lib/stdio.js.map +1 -0
  128. package/dist/_node_modules/execa/lib/stream.cjs +81 -0
  129. package/dist/_node_modules/execa/lib/stream.cjs.map +1 -0
  130. package/dist/_node_modules/execa/lib/stream.js +81 -0
  131. package/dist/_node_modules/execa/lib/stream.js.map +1 -0
  132. package/dist/_node_modules/execa/lib/verbose.cjs +20 -0
  133. package/dist/_node_modules/execa/lib/verbose.cjs.map +1 -0
  134. package/dist/_node_modules/execa/lib/verbose.js +20 -0
  135. package/dist/_node_modules/execa/lib/verbose.js.map +1 -0
  136. package/dist/_node_modules/fast-glob/out/index.cjs +1 -1
  137. package/dist/_node_modules/fast-glob/out/index.js +1 -1
  138. package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +1 -1
  139. package/dist/_node_modules/fast-glob/out/managers/tasks.js +1 -1
  140. package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
  141. package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
  142. package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +1 -1
  143. package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +1 -1
  144. package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +1 -1
  145. package/dist/_node_modules/fast-glob/out/providers/filters/error.js +1 -1
  146. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +1 -1
  147. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +1 -1
  148. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +1 -1
  149. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +1 -1
  150. package/dist/_node_modules/fast-glob/out/readers/async.cjs +1 -1
  151. package/dist/_node_modules/fast-glob/out/readers/async.js +1 -1
  152. package/dist/_node_modules/fast-glob/out/readers/reader.cjs +2 -2
  153. package/dist/_node_modules/fast-glob/out/readers/reader.js +2 -2
  154. package/dist/_node_modules/fast-glob/out/readers/stream.cjs +2 -2
  155. package/dist/_node_modules/fast-glob/out/readers/stream.js +2 -2
  156. package/dist/_node_modules/fast-glob/out/readers/sync.cjs +2 -2
  157. package/dist/_node_modules/fast-glob/out/readers/sync.js +2 -2
  158. package/dist/_node_modules/fast-glob/out/utils/index.cjs +1 -1
  159. package/dist/_node_modules/fast-glob/out/utils/index.js +1 -1
  160. package/dist/_node_modules/get-stream/buffer-stream.cjs +43 -0
  161. package/dist/_node_modules/get-stream/buffer-stream.cjs.map +1 -0
  162. package/dist/_node_modules/get-stream/buffer-stream.js +43 -0
  163. package/dist/_node_modules/get-stream/buffer-stream.js.map +1 -0
  164. package/dist/_node_modules/get-stream/index.cjs +59 -0
  165. package/dist/_node_modules/get-stream/index.cjs.map +1 -0
  166. package/dist/_node_modules/get-stream/index.js +60 -0
  167. package/dist/_node_modules/get-stream/index.js.map +1 -0
  168. package/dist/_node_modules/globby/utilities.cjs +2 -2
  169. package/dist/_node_modules/globby/utilities.cjs.map +1 -1
  170. package/dist/_node_modules/isexe/index.cjs +56 -0
  171. package/dist/_node_modules/isexe/index.cjs.map +1 -0
  172. package/dist/_node_modules/isexe/index.js +56 -0
  173. package/dist/_node_modules/isexe/index.js.map +1 -0
  174. package/dist/_node_modules/isexe/mode.cjs +40 -0
  175. package/dist/_node_modules/isexe/mode.cjs.map +1 -0
  176. package/dist/_node_modules/isexe/mode.js +40 -0
  177. package/dist/_node_modules/isexe/mode.js.map +1 -0
  178. package/dist/_node_modules/isexe/windows.cjs +47 -0
  179. package/dist/_node_modules/isexe/windows.cjs.map +1 -0
  180. package/dist/_node_modules/isexe/windows.js +47 -0
  181. package/dist/_node_modules/isexe/windows.js.map +1 -0
  182. package/dist/_node_modules/js-tokens/index.cjs +1 -1
  183. package/dist/_node_modules/js-tokens/index.js +1 -1
  184. package/dist/_node_modules/lines-and-columns/build/index.cjs +1 -1
  185. package/dist/_node_modules/lines-and-columns/build/index.js +1 -1
  186. package/dist/_node_modules/meow/_node_modules/find-up/index.cjs +2 -2
  187. package/dist/_node_modules/meow/_node_modules/find-up/index.cjs.map +1 -1
  188. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +1 -1
  189. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +1 -1
  190. package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs +2 -2
  191. package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs.map +1 -1
  192. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +1 -1
  193. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
  194. package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs +2 -2
  195. package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs.map +1 -1
  196. package/dist/_node_modules/meow/index.cjs +2 -2
  197. package/dist/_node_modules/meow/index.cjs.map +1 -1
  198. package/dist/_node_modules/merge-stream/index.cjs +39 -0
  199. package/dist/_node_modules/merge-stream/index.cjs.map +1 -0
  200. package/dist/_node_modules/merge-stream/index.js +40 -0
  201. package/dist/_node_modules/merge-stream/index.js.map +1 -0
  202. package/dist/_node_modules/parse-json/index.cjs +2 -2
  203. package/dist/_node_modules/parse-json/index.js +2 -2
  204. package/dist/_node_modules/path-key/index.cjs +16 -0
  205. package/dist/_node_modules/path-key/index.cjs.map +1 -0
  206. package/dist/_node_modules/path-key/index.js +16 -0
  207. package/dist/_node_modules/path-key/index.js.map +1 -0
  208. package/dist/_node_modules/path-type/index.cjs +1 -1
  209. package/dist/_node_modules/path-type/index.js +1 -1
  210. package/dist/_node_modules/shebang-command/index.cjs +18 -0
  211. package/dist/_node_modules/shebang-command/index.cjs.map +1 -0
  212. package/dist/_node_modules/shebang-command/index.js +18 -0
  213. package/dist/_node_modules/shebang-command/index.js.map +1 -0
  214. package/dist/_node_modules/shebang-regex/index.cjs +5 -0
  215. package/dist/_node_modules/shebang-regex/index.cjs.map +1 -0
  216. package/dist/_node_modules/shebang-regex/index.js +5 -0
  217. package/dist/_node_modules/shebang-regex/index.js.map +1 -0
  218. package/dist/_node_modules/signal-exit/index.cjs +150 -0
  219. package/dist/_node_modules/signal-exit/index.cjs.map +1 -0
  220. package/dist/_node_modules/signal-exit/index.js +151 -0
  221. package/dist/_node_modules/signal-exit/index.js.map +1 -0
  222. package/dist/_node_modules/signal-exit/signals.cjs +45 -0
  223. package/dist/_node_modules/signal-exit/signals.cjs.map +1 -0
  224. package/dist/_node_modules/signal-exit/signals.js +45 -0
  225. package/dist/_node_modules/signal-exit/signals.js.map +1 -0
  226. package/dist/_node_modules/which/which.cjs +96 -0
  227. package/dist/_node_modules/which/which.cjs.map +1 -0
  228. package/dist/_node_modules/which/which.js +96 -0
  229. package/dist/_node_modules/which/which.js.map +1 -0
  230. package/dist/_virtual/escape.cjs +5 -0
  231. package/dist/_virtual/escape.cjs.map +1 -0
  232. package/dist/_virtual/escape.js +5 -0
  233. package/dist/_virtual/escape.js.map +1 -0
  234. package/dist/_virtual/index10.cjs +2 -2
  235. package/dist/_virtual/index10.js +2 -2
  236. package/dist/_virtual/index11.cjs +2 -2
  237. package/dist/_virtual/index11.js +2 -2
  238. package/dist/_virtual/index12.cjs +2 -2
  239. package/dist/_virtual/index12.js +2 -2
  240. package/dist/_virtual/index13.cjs +2 -2
  241. package/dist/_virtual/index13.js +2 -2
  242. package/dist/_virtual/index14.cjs +2 -2
  243. package/dist/_virtual/index14.js +2 -2
  244. package/dist/_virtual/index15.cjs +2 -2
  245. package/dist/_virtual/index15.js +2 -2
  246. package/dist/_virtual/index16.cjs +2 -2
  247. package/dist/_virtual/index16.js +2 -2
  248. package/dist/_virtual/index17.cjs +2 -2
  249. package/dist/_virtual/index17.js +2 -2
  250. package/dist/_virtual/index18.cjs +5 -0
  251. package/dist/_virtual/index18.cjs.map +1 -0
  252. package/dist/_virtual/index18.js +5 -0
  253. package/dist/_virtual/index18.js.map +1 -0
  254. package/dist/_virtual/index19.cjs +5 -0
  255. package/dist/_virtual/index19.cjs.map +1 -0
  256. package/dist/_virtual/index19.js +5 -0
  257. package/dist/_virtual/index19.js.map +1 -0
  258. package/dist/_virtual/index20.cjs +5 -0
  259. package/dist/_virtual/index20.cjs.map +1 -0
  260. package/dist/_virtual/index20.js +5 -0
  261. package/dist/_virtual/index20.js.map +1 -0
  262. package/dist/_virtual/index21.cjs +5 -0
  263. package/dist/_virtual/index21.cjs.map +1 -0
  264. package/dist/_virtual/index21.js +5 -0
  265. package/dist/_virtual/index21.js.map +1 -0
  266. package/dist/_virtual/index4.cjs +2 -2
  267. package/dist/_virtual/index4.js +2 -2
  268. package/dist/_virtual/index5.cjs +2 -2
  269. package/dist/_virtual/index5.js +2 -2
  270. package/dist/_virtual/index6.cjs +2 -2
  271. package/dist/_virtual/index6.js +2 -2
  272. package/dist/_virtual/index7.cjs +2 -2
  273. package/dist/_virtual/index7.js +2 -2
  274. package/dist/_virtual/index8.cjs +2 -2
  275. package/dist/_virtual/index8.js +2 -2
  276. package/dist/_virtual/index9.cjs +2 -2
  277. package/dist/_virtual/index9.js +2 -2
  278. package/dist/_virtual/signals.cjs +5 -0
  279. package/dist/_virtual/signals.cjs.map +1 -0
  280. package/dist/_virtual/signals.js +5 -0
  281. package/dist/_virtual/signals.js.map +1 -0
  282. package/dist/cli.cjs +5 -0
  283. package/dist/cli.cjs.map +1 -1
  284. package/dist/cli.js +5 -0
  285. package/dist/cli.js.map +1 -1
  286. package/dist/packages/init/package.json.cjs +5 -5
  287. package/dist/packages/init/package.json.js +5 -5
  288. package/package.json +5 -5
  289. package/src/SliceMachineInitProcess.ts +64 -36
  290. package/src/cli.ts +5 -0
@@ -3,7 +3,7 @@ const sync = require("../../../../../_virtual/sync5.cjs");
3
3
  require("../../../fs.scandir/out/index.cjs");
4
4
  require("./common.cjs");
5
5
  require("./reader.cjs");
6
- const index = require("../../../../../_virtual/index16.cjs");
6
+ const index = require("../../../../../_virtual/index20.cjs");
7
7
  const common$1 = require("../../../../../_virtual/common.cjs");
8
8
  const reader = require("../../../../../_virtual/reader2.cjs");
9
9
  Object.defineProperty(sync.__exports, "__esModule", { value: true });
@@ -2,7 +2,7 @@ import { __exports as sync } from "../../../../../_virtual/sync5.js";
2
2
  import "../../../fs.scandir/out/index.js";
3
3
  import "./common.js";
4
4
  import "./reader.js";
5
- import { __exports as out } from "../../../../../_virtual/index16.js";
5
+ import { __exports as out } from "../../../../../_virtual/index20.js";
6
6
  import { __exports as common$1 } from "../../../../../_virtual/common.js";
7
7
  import { __exports as reader } from "../../../../../_virtual/reader2.js";
8
8
  Object.defineProperty(sync, "__esModule", { value: true });
@@ -2,7 +2,7 @@
2
2
  const settings = require("../../../../_virtual/settings2.cjs");
3
3
  const require$$0 = require("path");
4
4
  require("../../fs.scandir/out/index.cjs");
5
- const index = require("../../../../_virtual/index16.cjs");
5
+ const index = require("../../../../_virtual/index20.cjs");
6
6
  Object.defineProperty(settings.__exports, "__esModule", { value: true });
7
7
  const path = require$$0;
8
8
  const fsScandir = index.__exports;
@@ -1,7 +1,7 @@
1
1
  import { __exports as settings } from "../../../../_virtual/settings2.js";
2
2
  import require$$0 from "path";
3
3
  import "../../fs.scandir/out/index.js";
4
- import { __exports as out } from "../../../../_virtual/index16.js";
4
+ import { __exports as out } from "../../../../_virtual/index20.js";
5
5
  Object.defineProperty(settings, "__esModule", { value: true });
6
6
  const path = require$$0;
7
7
  const fsScandir = out;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
3
+ const index = require("../../_virtual/index11.cjs");
4
+ const require$$0 = require("child_process");
5
+ const parse$1 = require("./lib/parse.cjs");
6
+ const enoent$1 = require("./lib/enoent.cjs");
7
+ const cp = require$$0;
8
+ const parse = parse$1.parse_1;
9
+ const enoent = enoent$1.enoent;
10
+ function spawn(command, args, options) {
11
+ const parsed = parse(command, args, options);
12
+ const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
13
+ enoent.hookChildProcess(spawned, parsed);
14
+ return spawned;
15
+ }
16
+ function spawnSync(command, args, options) {
17
+ const parsed = parse(command, args, options);
18
+ const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
19
+ result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
20
+ return result;
21
+ }
22
+ index.__module.exports = spawn;
23
+ index.__module.exports.spawn = spawn;
24
+ index.__module.exports.sync = spawnSync;
25
+ index.__module.exports._parse = parse;
26
+ index.__module.exports._enoent = enoent;
27
+ var crossSpawnExports = index.__module.exports;
28
+ const crossSpawn = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(crossSpawnExports);
29
+ module.exports = crossSpawn;
30
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/cross-spawn/index.js"],"sourcesContent":["'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n"],"names":["require$$1","require$$2","crossSpawnModule"],"mappings":";;;;;;AAEA,MAAM,KAAK;AACX,MAAM,QAAQA,QAAAA;AACd,MAAM,SAASC,SAAAA;AAEf,SAAS,MAAM,SAAS,MAAM,SAAS;AAEnC,QAAM,SAAS,MAAM,SAAS,MAAM,OAAO;AAG3C,QAAM,UAAU,GAAG,MAAM,OAAO,SAAS,OAAO,MAAM,OAAO,OAAO;AAIpE,SAAO,iBAAiB,SAAS,MAAM;AAEvC,SAAO;AACX;AAEA,SAAS,UAAU,SAAS,MAAM,SAAS;AAEvC,QAAM,SAAS,MAAM,SAAS,MAAM,OAAO;AAG3C,QAAM,SAAS,GAAG,UAAU,OAAO,SAAS,OAAO,MAAM,OAAO,OAAO;AAGvE,SAAO,QAAQ,OAAO,SAAS,OAAO,iBAAiB,OAAO,QAAQ,MAAM;AAE5E,SAAO;AACX;AAEAC,MAAAA,SAAc,UAAG;AACGA,MAAAA,SAAA,QAAA,QAAG;AACJA,MAAAA,SAAA,QAAA,OAAG;AAEDA,MAAAA,SAAA,QAAA,SAAG;AACxBA,MAAAA,SAAA,QAAA,UAAyB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,31 @@
1
+ import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
+ import { __module as crossSpawn$1 } from "../../_virtual/index11.js";
3
+ import require$$0 from "child_process";
4
+ import { p as parse_1 } from "./lib/parse.js";
5
+ import { e as enoent$1 } from "./lib/enoent.js";
6
+ const cp = require$$0;
7
+ const parse = parse_1;
8
+ const enoent = enoent$1;
9
+ function spawn(command, args, options) {
10
+ const parsed = parse(command, args, options);
11
+ const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
12
+ enoent.hookChildProcess(spawned, parsed);
13
+ return spawned;
14
+ }
15
+ function spawnSync(command, args, options) {
16
+ const parsed = parse(command, args, options);
17
+ const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);
18
+ result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
19
+ return result;
20
+ }
21
+ crossSpawn$1.exports = spawn;
22
+ crossSpawn$1.exports.spawn = spawn;
23
+ crossSpawn$1.exports.sync = spawnSync;
24
+ crossSpawn$1.exports._parse = parse;
25
+ crossSpawn$1.exports._enoent = enoent;
26
+ var crossSpawnExports = crossSpawn$1.exports;
27
+ const crossSpawn = /* @__PURE__ */ getDefaultExportFromCjs(crossSpawnExports);
28
+ export {
29
+ crossSpawn as default
30
+ };
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/cross-spawn/index.js"],"sourcesContent":["'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n"],"names":["require$$1","require$$2","crossSpawnModule"],"mappings":";;;;;AAEA,MAAM,KAAK;AACX,MAAM,QAAQA;AACd,MAAM,SAASC;AAEf,SAAS,MAAM,SAAS,MAAM,SAAS;AAEnC,QAAM,SAAS,MAAM,SAAS,MAAM,OAAO;AAG3C,QAAM,UAAU,GAAG,MAAM,OAAO,SAAS,OAAO,MAAM,OAAO,OAAO;AAIpE,SAAO,iBAAiB,SAAS,MAAM;AAEvC,SAAO;AACX;AAEA,SAAS,UAAU,SAAS,MAAM,SAAS;AAEvC,QAAM,SAAS,MAAM,SAAS,MAAM,OAAO;AAG3C,QAAM,SAAS,GAAG,UAAU,OAAO,SAAS,OAAO,MAAM,OAAO,OAAO;AAGvE,SAAO,QAAQ,OAAO,SAAS,OAAO,iBAAiB,OAAO,QAAQ,MAAM;AAE5E,SAAO;AACX;AAEAC,aAAc,UAAG;AACGA,aAAA,QAAA,QAAG;AACJA,aAAA,QAAA,OAAG;AAEDA,aAAA,QAAA,SAAG;AACxBA,aAAA,QAAA,UAAyB;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const isWin = process.platform === "win32";
4
+ function notFoundError(original, syscall) {
5
+ return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
6
+ code: "ENOENT",
7
+ errno: "ENOENT",
8
+ syscall: `${syscall} ${original.command}`,
9
+ path: original.command,
10
+ spawnargs: original.args
11
+ });
12
+ }
13
+ function hookChildProcess(cp, parsed) {
14
+ if (!isWin) {
15
+ return;
16
+ }
17
+ const originalEmit = cp.emit;
18
+ cp.emit = function(name, arg1) {
19
+ if (name === "exit") {
20
+ const err = verifyENOENT(arg1, parsed);
21
+ if (err) {
22
+ return originalEmit.call(cp, "error", err);
23
+ }
24
+ }
25
+ return originalEmit.apply(cp, arguments);
26
+ };
27
+ }
28
+ function verifyENOENT(status, parsed) {
29
+ if (isWin && status === 1 && !parsed.file) {
30
+ return notFoundError(parsed.original, "spawn");
31
+ }
32
+ return null;
33
+ }
34
+ function verifyENOENTSync(status, parsed) {
35
+ if (isWin && status === 1 && !parsed.file) {
36
+ return notFoundError(parsed.original, "spawnSync");
37
+ }
38
+ return null;
39
+ }
40
+ var enoent = {
41
+ hookChildProcess,
42
+ verifyENOENT,
43
+ verifyENOENTSync,
44
+ notFoundError
45
+ };
46
+ exports.enoent = enoent;
47
+ //# sourceMappingURL=enoent.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enoent.cjs","sources":["../../../../../../node_modules/cross-spawn/lib/enoent.js"],"sourcesContent":["'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n"],"names":[],"mappings":";;AAEA,MAAM,QAAQ,QAAQ,aAAa;AAEnC,SAAS,cAAc,UAAU,SAAS;AACtC,SAAO,OAAO,OAAO,IAAI,MAAM,GAAG,WAAW,SAAS,gBAAgB,GAAG;AAAA,IACrE,MAAM;AAAA,IACN,OAAO;AAAA,IACP,SAAS,GAAG,WAAW,SAAS;AAAA,IAChC,MAAM,SAAS;AAAA,IACf,WAAW,SAAS;AAAA,EAC5B,CAAK;AACL;AAEA,SAAS,iBAAiB,IAAI,QAAQ;AAClC,MAAI,CAAC,OAAO;AACR;AAAA,EACH;AAED,QAAM,eAAe,GAAG;AAExB,KAAG,OAAO,SAAU,MAAM,MAAM;AAI5B,QAAI,SAAS,QAAQ;AACjB,YAAM,MAAM,aAAa,MAAM,MAAe;AAE9C,UAAI,KAAK;AACL,eAAO,aAAa,KAAK,IAAI,SAAS,GAAG;AAAA,MAC5C;AAAA,IACJ;AAED,WAAO,aAAa,MAAM,IAAI,SAAS;AAAA,EAC/C;AACA;AAEA,SAAS,aAAa,QAAQ,QAAQ;AAClC,MAAI,SAAS,WAAW,KAAK,CAAC,OAAO,MAAM;AACvC,WAAO,cAAc,OAAO,UAAU,OAAO;AAAA,EAChD;AAED,SAAO;AACX;AAEA,SAAS,iBAAiB,QAAQ,QAAQ;AACtC,MAAI,SAAS,WAAW,KAAK,CAAC,OAAO,MAAM;AACvC,WAAO,cAAc,OAAO,UAAU,WAAW;AAAA,EACpD;AAED,SAAO;AACX;AAEA,IAAA,SAAiB;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;;","x_google_ignoreList":[0]}
@@ -0,0 +1,47 @@
1
+ const isWin = process.platform === "win32";
2
+ function notFoundError(original, syscall) {
3
+ return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {
4
+ code: "ENOENT",
5
+ errno: "ENOENT",
6
+ syscall: `${syscall} ${original.command}`,
7
+ path: original.command,
8
+ spawnargs: original.args
9
+ });
10
+ }
11
+ function hookChildProcess(cp, parsed) {
12
+ if (!isWin) {
13
+ return;
14
+ }
15
+ const originalEmit = cp.emit;
16
+ cp.emit = function(name, arg1) {
17
+ if (name === "exit") {
18
+ const err = verifyENOENT(arg1, parsed);
19
+ if (err) {
20
+ return originalEmit.call(cp, "error", err);
21
+ }
22
+ }
23
+ return originalEmit.apply(cp, arguments);
24
+ };
25
+ }
26
+ function verifyENOENT(status, parsed) {
27
+ if (isWin && status === 1 && !parsed.file) {
28
+ return notFoundError(parsed.original, "spawn");
29
+ }
30
+ return null;
31
+ }
32
+ function verifyENOENTSync(status, parsed) {
33
+ if (isWin && status === 1 && !parsed.file) {
34
+ return notFoundError(parsed.original, "spawnSync");
35
+ }
36
+ return null;
37
+ }
38
+ var enoent = {
39
+ hookChildProcess,
40
+ verifyENOENT,
41
+ verifyENOENTSync,
42
+ notFoundError
43
+ };
44
+ export {
45
+ enoent as e
46
+ };
47
+ //# sourceMappingURL=enoent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enoent.js","sources":["../../../../../../node_modules/cross-spawn/lib/enoent.js"],"sourcesContent":["'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n"],"names":[],"mappings":"AAEA,MAAM,QAAQ,QAAQ,aAAa;AAEnC,SAAS,cAAc,UAAU,SAAS;AACtC,SAAO,OAAO,OAAO,IAAI,MAAM,GAAG,WAAW,SAAS,gBAAgB,GAAG;AAAA,IACrE,MAAM;AAAA,IACN,OAAO;AAAA,IACP,SAAS,GAAG,WAAW,SAAS;AAAA,IAChC,MAAM,SAAS;AAAA,IACf,WAAW,SAAS;AAAA,EAC5B,CAAK;AACL;AAEA,SAAS,iBAAiB,IAAI,QAAQ;AAClC,MAAI,CAAC,OAAO;AACR;AAAA,EACH;AAED,QAAM,eAAe,GAAG;AAExB,KAAG,OAAO,SAAU,MAAM,MAAM;AAI5B,QAAI,SAAS,QAAQ;AACjB,YAAM,MAAM,aAAa,MAAM,MAAe;AAE9C,UAAI,KAAK;AACL,eAAO,aAAa,KAAK,IAAI,SAAS,GAAG;AAAA,MAC5C;AAAA,IACJ;AAED,WAAO,aAAa,MAAM,IAAI,SAAS;AAAA,EAC/C;AACA;AAEA,SAAS,aAAa,QAAQ,QAAQ;AAClC,MAAI,SAAS,WAAW,KAAK,CAAC,OAAO,MAAM;AACvC,WAAO,cAAc,OAAO,UAAU,OAAO;AAAA,EAChD;AAED,SAAO;AACX;AAEA,SAAS,iBAAiB,QAAQ,QAAQ;AACtC,MAAI,SAAS,WAAW,KAAK,CAAC,OAAO,MAAM;AACvC,WAAO,cAAc,OAAO,UAAU,WAAW;AAAA,EACpD;AAED,SAAO;AACX;AAEA,IAAA,SAAiB;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require$$0 = require("path");
4
+ const resolveCommand$1 = require("./util/resolveCommand.cjs");
5
+ require("./util/escape.cjs");
6
+ const readShebang$1 = require("./util/readShebang.cjs");
7
+ const escape$1 = require("../../../_virtual/escape.cjs");
8
+ const path = require$$0;
9
+ const resolveCommand = resolveCommand$1.resolveCommand_1;
10
+ const escape = escape$1.__exports;
11
+ const readShebang = readShebang$1.readShebang_1;
12
+ const isWin = process.platform === "win32";
13
+ const isExecutableRegExp = /\.(?:com|exe)$/i;
14
+ const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
15
+ function detectShebang(parsed) {
16
+ parsed.file = resolveCommand(parsed);
17
+ const shebang = parsed.file && readShebang(parsed.file);
18
+ if (shebang) {
19
+ parsed.args.unshift(parsed.file);
20
+ parsed.command = shebang;
21
+ return resolveCommand(parsed);
22
+ }
23
+ return parsed.file;
24
+ }
25
+ function parseNonShell(parsed) {
26
+ if (!isWin) {
27
+ return parsed;
28
+ }
29
+ const commandFile = detectShebang(parsed);
30
+ const needsShell = !isExecutableRegExp.test(commandFile);
31
+ if (parsed.options.forceShell || needsShell) {
32
+ const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
33
+ parsed.command = path.normalize(parsed.command);
34
+ parsed.command = escape.command(parsed.command);
35
+ parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
36
+ const shellCommand = [parsed.command].concat(parsed.args).join(" ");
37
+ parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`];
38
+ parsed.command = process.env.comspec || "cmd.exe";
39
+ parsed.options.windowsVerbatimArguments = true;
40
+ }
41
+ return parsed;
42
+ }
43
+ function parse(command, args, options) {
44
+ if (args && !Array.isArray(args)) {
45
+ options = args;
46
+ args = null;
47
+ }
48
+ args = args ? args.slice(0) : [];
49
+ options = Object.assign({}, options);
50
+ const parsed = {
51
+ command,
52
+ args,
53
+ options,
54
+ file: void 0,
55
+ original: {
56
+ command,
57
+ args
58
+ }
59
+ };
60
+ return options.shell ? parsed : parseNonShell(parsed);
61
+ }
62
+ var parse_1 = parse;
63
+ exports.parse_1 = parse_1;
64
+ //# sourceMappingURL=parse.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse.cjs","sources":["../../../../../../node_modules/cross-spawn/lib/parse.js"],"sourcesContent":["'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;;;AAEA,MAAM,OAAO;AACb,MAAM,iBAAiBA,iBAAAA;AACvB,MAAM,SAASC,SAAAA;AACf,MAAM,cAAcC,cAAAA;AAEpB,MAAM,QAAQ,QAAQ,aAAa;AACnC,MAAM,qBAAqB;AAC3B,MAAM,kBAAkB;AAExB,SAAS,cAAc,QAAQ;AAC3B,SAAO,OAAO,eAAe,MAAM;AAEnC,QAAM,UAAU,OAAO,QAAQ,YAAY,OAAO,IAAI;AAEtD,MAAI,SAAS;AACT,WAAO,KAAK,QAAQ,OAAO,IAAI;AAC/B,WAAO,UAAU;AAEjB,WAAO,eAAe,MAAM;AAAA,EAC/B;AAED,SAAO,OAAO;AAClB;AAEA,SAAS,cAAc,QAAQ;AAC3B,MAAI,CAAC,OAAO;AACR,WAAO;AAAA,EACV;AAGD,QAAM,cAAc,cAAc,MAAM;AAGxC,QAAM,aAAa,CAAC,mBAAmB,KAAK,WAAW;AAIvD,MAAI,OAAO,QAAQ,cAAc,YAAY;AAKzC,UAAM,6BAA6B,gBAAgB,KAAK,WAAW;AAInE,WAAO,UAAU,KAAK,UAAU,OAAO,OAAO;AAG9C,WAAO,UAAU,OAAO,QAAQ,OAAO,OAAO;AAC9C,WAAO,OAAO,OAAO,KAAK,IAAI,CAAC,QAAQ,OAAO,SAAS,KAAK,0BAA0B,CAAC;AAEvF,UAAM,eAAe,CAAC,OAAO,OAAO,EAAE,OAAO,OAAO,IAAI,EAAE,KAAK,GAAG;AAElE,WAAO,OAAO,CAAC,MAAM,MAAM,MAAM,IAAI,eAAe;AACpD,WAAO,UAAU,QAAQ,IAAI,WAAW;AACxC,WAAO,QAAQ,2BAA2B;AAAA,EAC7C;AAED,SAAO;AACX;AAEA,SAAS,MAAM,SAAS,MAAM,SAAS;AAEnC,MAAI,QAAQ,CAAC,MAAM,QAAQ,IAAI,GAAG;AAC9B,cAAU;AACV,WAAO;AAAA,EACV;AAED,SAAO,OAAO,KAAK,MAAM,CAAC,IAAI,CAAA;AAC9B,YAAU,OAAO,OAAO,CAAE,GAAE,OAAO;AAGnC,QAAM,SAAS;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA,MAAM;AAAA,IACN,UAAU;AAAA,MACN;AAAA,MACA;AAAA,IACH;AAAA,EACT;AAGI,SAAO,QAAQ,QAAQ,SAAS,cAAc,MAAM;AACxD;AAEA,IAAA,UAAiB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,64 @@
1
+ import require$$0 from "path";
2
+ import { r as resolveCommand_1 } from "./util/resolveCommand.js";
3
+ import "./util/escape.js";
4
+ import { r as readShebang_1 } from "./util/readShebang.js";
5
+ import { __exports as _escape } from "../../../_virtual/escape.js";
6
+ const path = require$$0;
7
+ const resolveCommand = resolveCommand_1;
8
+ const escape = _escape;
9
+ const readShebang = readShebang_1;
10
+ const isWin = process.platform === "win32";
11
+ const isExecutableRegExp = /\.(?:com|exe)$/i;
12
+ const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
13
+ function detectShebang(parsed) {
14
+ parsed.file = resolveCommand(parsed);
15
+ const shebang = parsed.file && readShebang(parsed.file);
16
+ if (shebang) {
17
+ parsed.args.unshift(parsed.file);
18
+ parsed.command = shebang;
19
+ return resolveCommand(parsed);
20
+ }
21
+ return parsed.file;
22
+ }
23
+ function parseNonShell(parsed) {
24
+ if (!isWin) {
25
+ return parsed;
26
+ }
27
+ const commandFile = detectShebang(parsed);
28
+ const needsShell = !isExecutableRegExp.test(commandFile);
29
+ if (parsed.options.forceShell || needsShell) {
30
+ const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
31
+ parsed.command = path.normalize(parsed.command);
32
+ parsed.command = escape.command(parsed.command);
33
+ parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
34
+ const shellCommand = [parsed.command].concat(parsed.args).join(" ");
35
+ parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`];
36
+ parsed.command = process.env.comspec || "cmd.exe";
37
+ parsed.options.windowsVerbatimArguments = true;
38
+ }
39
+ return parsed;
40
+ }
41
+ function parse(command, args, options) {
42
+ if (args && !Array.isArray(args)) {
43
+ options = args;
44
+ args = null;
45
+ }
46
+ args = args ? args.slice(0) : [];
47
+ options = Object.assign({}, options);
48
+ const parsed = {
49
+ command,
50
+ args,
51
+ options,
52
+ file: void 0,
53
+ original: {
54
+ command,
55
+ args
56
+ }
57
+ };
58
+ return options.shell ? parsed : parseNonShell(parsed);
59
+ }
60
+ var parse_1 = parse;
61
+ export {
62
+ parse_1 as p
63
+ };
64
+ //# sourceMappingURL=parse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse.js","sources":["../../../../../../node_modules/cross-spawn/lib/parse.js"],"sourcesContent":["'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;AAEA,MAAM,OAAO;AACb,MAAM,iBAAiBA;AACvB,MAAM,SAASC;AACf,MAAM,cAAcC;AAEpB,MAAM,QAAQ,QAAQ,aAAa;AACnC,MAAM,qBAAqB;AAC3B,MAAM,kBAAkB;AAExB,SAAS,cAAc,QAAQ;AAC3B,SAAO,OAAO,eAAe,MAAM;AAEnC,QAAM,UAAU,OAAO,QAAQ,YAAY,OAAO,IAAI;AAEtD,MAAI,SAAS;AACT,WAAO,KAAK,QAAQ,OAAO,IAAI;AAC/B,WAAO,UAAU;AAEjB,WAAO,eAAe,MAAM;AAAA,EAC/B;AAED,SAAO,OAAO;AAClB;AAEA,SAAS,cAAc,QAAQ;AAC3B,MAAI,CAAC,OAAO;AACR,WAAO;AAAA,EACV;AAGD,QAAM,cAAc,cAAc,MAAM;AAGxC,QAAM,aAAa,CAAC,mBAAmB,KAAK,WAAW;AAIvD,MAAI,OAAO,QAAQ,cAAc,YAAY;AAKzC,UAAM,6BAA6B,gBAAgB,KAAK,WAAW;AAInE,WAAO,UAAU,KAAK,UAAU,OAAO,OAAO;AAG9C,WAAO,UAAU,OAAO,QAAQ,OAAO,OAAO;AAC9C,WAAO,OAAO,OAAO,KAAK,IAAI,CAAC,QAAQ,OAAO,SAAS,KAAK,0BAA0B,CAAC;AAEvF,UAAM,eAAe,CAAC,OAAO,OAAO,EAAE,OAAO,OAAO,IAAI,EAAE,KAAK,GAAG;AAElE,WAAO,OAAO,CAAC,MAAM,MAAM,MAAM,IAAI,eAAe;AACpD,WAAO,UAAU,QAAQ,IAAI,WAAW;AACxC,WAAO,QAAQ,2BAA2B;AAAA,EAC7C;AAED,SAAO;AACX;AAEA,SAAS,MAAM,SAAS,MAAM,SAAS;AAEnC,MAAI,QAAQ,CAAC,MAAM,QAAQ,IAAI,GAAG;AAC9B,cAAU;AACV,WAAO;AAAA,EACV;AAED,SAAO,OAAO,KAAK,MAAM,CAAC,IAAI,CAAA;AAC9B,YAAU,OAAO,OAAO,CAAE,GAAE,OAAO;AAGnC,QAAM,SAAS;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA,MAAM;AAAA,IACN,UAAU;AAAA,MACN;AAAA,MACA;AAAA,IACH;AAAA,EACT;AAGI,SAAO,QAAQ,QAAQ,SAAS,cAAc,MAAM;AACxD;AAEA,IAAA,UAAiB;","x_google_ignoreList":[0]}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ const escape = require("../../../../_virtual/escape.cjs");
3
+ const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
4
+ function escapeCommand(arg) {
5
+ arg = arg.replace(metaCharsRegExp, "^$1");
6
+ return arg;
7
+ }
8
+ function escapeArgument(arg, doubleEscapeMetaChars) {
9
+ arg = `${arg}`;
10
+ arg = arg.replace(/(\\*)"/g, '$1$1\\"');
11
+ arg = arg.replace(/(\\*)$/, "$1$1");
12
+ arg = `"${arg}"`;
13
+ arg = arg.replace(metaCharsRegExp, "^$1");
14
+ if (doubleEscapeMetaChars) {
15
+ arg = arg.replace(metaCharsRegExp, "^$1");
16
+ }
17
+ return arg;
18
+ }
19
+ escape.__exports.command = escapeCommand;
20
+ escape.__exports.argument = escapeArgument;
21
+ module.exports = escape.__exports;
22
+ //# sourceMappingURL=escape.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.cjs","sources":["../../../../../../../node_modules/cross-spawn/lib/util/escape.js"],"sourcesContent":["'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n"],"names":["_escape"],"mappings":";;AAGA,MAAM,kBAAkB;AAExB,SAAS,cAAc,KAAK;AAExB,QAAM,IAAI,QAAQ,iBAAiB,KAAK;AAExC,SAAO;AACX;AAEA,SAAS,eAAe,KAAK,uBAAuB;AAEhD,QAAM,GAAG;AAMT,QAAM,IAAI,QAAQ,WAAW,SAAS;AAKtC,QAAM,IAAI,QAAQ,UAAU,MAAM;AAKlC,QAAM,IAAI;AAGV,QAAM,IAAI,QAAQ,iBAAiB,KAAK;AAGxC,MAAI,uBAAuB;AACvB,UAAM,IAAI,QAAQ,iBAAiB,KAAK;AAAA,EAC3C;AAED,SAAO;AACX;AAEsBA,OAAA,UAAA,UAAG;AACzBA,OAAA,UAAA,WAA0B;;","x_google_ignoreList":[0]}
@@ -0,0 +1,23 @@
1
+ import { __exports as _escape } from "../../../../_virtual/escape.js";
2
+ const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
3
+ function escapeCommand(arg) {
4
+ arg = arg.replace(metaCharsRegExp, "^$1");
5
+ return arg;
6
+ }
7
+ function escapeArgument(arg, doubleEscapeMetaChars) {
8
+ arg = `${arg}`;
9
+ arg = arg.replace(/(\\*)"/g, '$1$1\\"');
10
+ arg = arg.replace(/(\\*)$/, "$1$1");
11
+ arg = `"${arg}"`;
12
+ arg = arg.replace(metaCharsRegExp, "^$1");
13
+ if (doubleEscapeMetaChars) {
14
+ arg = arg.replace(metaCharsRegExp, "^$1");
15
+ }
16
+ return arg;
17
+ }
18
+ _escape.command = escapeCommand;
19
+ _escape.argument = escapeArgument;
20
+ export {
21
+ _escape as default
22
+ };
23
+ //# sourceMappingURL=escape.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.js","sources":["../../../../../../../node_modules/cross-spawn/lib/util/escape.js"],"sourcesContent":["'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n"],"names":[],"mappings":";AAGA,MAAM,kBAAkB;AAExB,SAAS,cAAc,KAAK;AAExB,QAAM,IAAI,QAAQ,iBAAiB,KAAK;AAExC,SAAO;AACX;AAEA,SAAS,eAAe,KAAK,uBAAuB;AAEhD,QAAM,GAAG;AAMT,QAAM,IAAI,QAAQ,WAAW,SAAS;AAKtC,QAAM,IAAI,QAAQ,UAAU,MAAM;AAKlC,QAAM,IAAI;AAGV,QAAM,IAAI,QAAQ,iBAAiB,KAAK;AAGxC,MAAI,uBAAuB;AACvB,UAAM,IAAI,QAAQ,iBAAiB,KAAK;AAAA,EAC3C;AAED,SAAO;AACX;AAEsB,QAAA,UAAG;AACzB,QAAA,WAA0B;","x_google_ignoreList":[0]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require$$0 = require("fs");
4
+ const index = require("../../../shebang-command/index.cjs");
5
+ const fs = require$$0;
6
+ const shebangCommand = index.shebangCommand;
7
+ function readShebang(command) {
8
+ const size = 150;
9
+ const buffer = Buffer.alloc(size);
10
+ let fd;
11
+ try {
12
+ fd = fs.openSync(command, "r");
13
+ fs.readSync(fd, buffer, 0, size, 0);
14
+ fs.closeSync(fd);
15
+ } catch (e) {
16
+ }
17
+ return shebangCommand(buffer.toString());
18
+ }
19
+ var readShebang_1 = readShebang;
20
+ exports.readShebang_1 = readShebang_1;
21
+ //# sourceMappingURL=readShebang.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readShebang.cjs","sources":["../../../../../../../node_modules/cross-spawn/lib/util/readShebang.js"],"sourcesContent":["'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n"],"names":["require$$1"],"mappings":";;;;AAEA,MAAM,KAAK;AACX,MAAM,iBAAiBA,MAAAA;AAEvB,SAAS,YAAY,SAAS;AAE1B,QAAM,OAAO;AACb,QAAM,SAAS,OAAO,MAAM,IAAI;AAEhC,MAAI;AAEJ,MAAI;AACA,SAAK,GAAG,SAAS,SAAS,GAAG;AAC7B,OAAG,SAAS,IAAI,QAAQ,GAAG,MAAM,CAAC;AAClC,OAAG,UAAU,EAAE;AAAA,EACvB,SAAa,GAAP;AAAA,EAAyB;AAG3B,SAAO,eAAe,OAAO,SAAQ,CAAE;AAC3C;AAEA,IAAA,gBAAiB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,21 @@
1
+ import require$$0 from "fs";
2
+ import { s as shebangCommand$1 } from "../../../shebang-command/index.js";
3
+ const fs = require$$0;
4
+ const shebangCommand = shebangCommand$1;
5
+ function readShebang(command) {
6
+ const size = 150;
7
+ const buffer = Buffer.alloc(size);
8
+ let fd;
9
+ try {
10
+ fd = fs.openSync(command, "r");
11
+ fs.readSync(fd, buffer, 0, size, 0);
12
+ fs.closeSync(fd);
13
+ } catch (e) {
14
+ }
15
+ return shebangCommand(buffer.toString());
16
+ }
17
+ var readShebang_1 = readShebang;
18
+ export {
19
+ readShebang_1 as r
20
+ };
21
+ //# sourceMappingURL=readShebang.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readShebang.js","sources":["../../../../../../../node_modules/cross-spawn/lib/util/readShebang.js"],"sourcesContent":["'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n"],"names":["require$$1"],"mappings":";;AAEA,MAAM,KAAK;AACX,MAAM,iBAAiBA;AAEvB,SAAS,YAAY,SAAS;AAE1B,QAAM,OAAO;AACb,QAAM,SAAS,OAAO,MAAM,IAAI;AAEhC,MAAI;AAEJ,MAAI;AACA,SAAK,GAAG,SAAS,SAAS,GAAG;AAC7B,OAAG,SAAS,IAAI,QAAQ,GAAG,MAAM,CAAC;AAClC,OAAG,UAAU,EAAE;AAAA,EACvB,SAAa,GAAP;AAAA,EAAyB;AAG3B,SAAO,eAAe,OAAO,SAAQ,CAAE;AAC3C;AAEA,IAAA,gBAAiB;","x_google_ignoreList":[0]}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require$$0 = require("path");
4
+ const which$1 = require("../../../which/which.cjs");
5
+ const index = require("../../../path-key/index.cjs");
6
+ const path = require$$0;
7
+ const which = which$1.which_1;
8
+ const getPathKey = index.pathKeyExports;
9
+ function resolveCommandAttempt(parsed, withoutPathExt) {
10
+ const env = parsed.options.env || process.env;
11
+ const cwd = process.cwd();
12
+ const hasCustomCwd = parsed.options.cwd != null;
13
+ const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
14
+ if (shouldSwitchCwd) {
15
+ try {
16
+ process.chdir(parsed.options.cwd);
17
+ } catch (err) {
18
+ }
19
+ }
20
+ let resolved;
21
+ try {
22
+ resolved = which.sync(parsed.command, {
23
+ path: env[getPathKey({ env })],
24
+ pathExt: withoutPathExt ? path.delimiter : void 0
25
+ });
26
+ } catch (e) {
27
+ } finally {
28
+ if (shouldSwitchCwd) {
29
+ process.chdir(cwd);
30
+ }
31
+ }
32
+ if (resolved) {
33
+ resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
34
+ }
35
+ return resolved;
36
+ }
37
+ function resolveCommand(parsed) {
38
+ return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
39
+ }
40
+ var resolveCommand_1 = resolveCommand;
41
+ exports.resolveCommand_1 = resolveCommand_1;
42
+ //# sourceMappingURL=resolveCommand.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveCommand.cjs","sources":["../../../../../../../node_modules/cross-spawn/lib/util/resolveCommand.js"],"sourcesContent":["'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n"],"names":["require$$1","require$$2"],"mappings":";;;;;AAEA,MAAM,OAAO;AACb,MAAM,QAAQA,QAAAA;AACd,MAAM,aAAaC,MAAAA;AAEnB,SAAS,sBAAsB,QAAQ,gBAAgB;AACnD,QAAM,MAAM,OAAO,QAAQ,OAAO,QAAQ;AAC1C,QAAM,MAAM,QAAQ;AACpB,QAAM,eAAe,OAAO,QAAQ,OAAO;AAE3C,QAAM,kBAAkB,gBAAgB,QAAQ,UAAU,UAAa,CAAC,QAAQ,MAAM;AAItF,MAAI,iBAAiB;AACjB,QAAI;AACA,cAAQ,MAAM,OAAO,QAAQ,GAAG;AAAA,IACnC,SAAQ,KAAP;AAAA,IAED;AAAA,EACJ;AAED,MAAI;AAEJ,MAAI;AACA,eAAW,MAAM,KAAK,OAAO,SAAS;AAAA,MAClC,MAAM,IAAI,WAAW,EAAE,IAAK,CAAA,CAAC;AAAA,MAC7B,SAAS,iBAAiB,KAAK,YAAY;AAAA,IACvD,CAAS;AAAA,EACJ,SAAQ,GAAP;AAAA,EAEN,UAAc;AACN,QAAI,iBAAiB;AACjB,cAAQ,MAAM,GAAG;AAAA,IACpB;AAAA,EACJ;AAID,MAAI,UAAU;AACV,eAAW,KAAK,QAAQ,eAAe,OAAO,QAAQ,MAAM,IAAI,QAAQ;AAAA,EAC3E;AAED,SAAO;AACX;AAEA,SAAS,eAAe,QAAQ;AAC5B,SAAO,sBAAsB,MAAM,KAAK,sBAAsB,QAAQ,IAAI;AAC9E;AAEA,IAAA,mBAAiB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,42 @@
1
+ import require$$0 from "path";
2
+ import { w as which_1 } from "../../../which/which.js";
3
+ import { p as pathKeyExports } from "../../../path-key/index.js";
4
+ const path = require$$0;
5
+ const which = which_1;
6
+ const getPathKey = pathKeyExports;
7
+ function resolveCommandAttempt(parsed, withoutPathExt) {
8
+ const env = parsed.options.env || process.env;
9
+ const cwd = process.cwd();
10
+ const hasCustomCwd = parsed.options.cwd != null;
11
+ const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
12
+ if (shouldSwitchCwd) {
13
+ try {
14
+ process.chdir(parsed.options.cwd);
15
+ } catch (err) {
16
+ }
17
+ }
18
+ let resolved;
19
+ try {
20
+ resolved = which.sync(parsed.command, {
21
+ path: env[getPathKey({ env })],
22
+ pathExt: withoutPathExt ? path.delimiter : void 0
23
+ });
24
+ } catch (e) {
25
+ } finally {
26
+ if (shouldSwitchCwd) {
27
+ process.chdir(cwd);
28
+ }
29
+ }
30
+ if (resolved) {
31
+ resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
32
+ }
33
+ return resolved;
34
+ }
35
+ function resolveCommand(parsed) {
36
+ return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);
37
+ }
38
+ var resolveCommand_1 = resolveCommand;
39
+ export {
40
+ resolveCommand_1 as r
41
+ };
42
+ //# sourceMappingURL=resolveCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveCommand.js","sources":["../../../../../../../node_modules/cross-spawn/lib/util/resolveCommand.js"],"sourcesContent":["'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n"],"names":["require$$1","require$$2"],"mappings":";;;AAEA,MAAM,OAAO;AACb,MAAM,QAAQA;AACd,MAAM,aAAaC;AAEnB,SAAS,sBAAsB,QAAQ,gBAAgB;AACnD,QAAM,MAAM,OAAO,QAAQ,OAAO,QAAQ;AAC1C,QAAM,MAAM,QAAQ;AACpB,QAAM,eAAe,OAAO,QAAQ,OAAO;AAE3C,QAAM,kBAAkB,gBAAgB,QAAQ,UAAU,UAAa,CAAC,QAAQ,MAAM;AAItF,MAAI,iBAAiB;AACjB,QAAI;AACA,cAAQ,MAAM,OAAO,QAAQ,GAAG;AAAA,IACnC,SAAQ,KAAP;AAAA,IAED;AAAA,EACJ;AAED,MAAI;AAEJ,MAAI;AACA,eAAW,MAAM,KAAK,OAAO,SAAS;AAAA,MAClC,MAAM,IAAI,WAAW,EAAE,IAAK,CAAA,CAAC;AAAA,MAC7B,SAAS,iBAAiB,KAAK,YAAY;AAAA,IACvD,CAAS;AAAA,EACJ,SAAQ,GAAP;AAAA,EAEN,UAAc;AACN,QAAI,iBAAiB;AACjB,cAAQ,MAAM,GAAG;AAAA,IACpB;AAAA,EACJ;AAID,MAAI,UAAU;AACV,eAAW,KAAK,QAAQ,eAAe,OAAO,QAAQ,MAAM,IAAI,QAAQ;AAAA,EAC3E;AAED,SAAO;AACX;AAEA,SAAS,eAAe,QAAQ;AAC5B,SAAO,sBAAsB,MAAM,KAAK,sBAAsB,QAAQ,IAAI;AAC9E;AAEA,IAAA,mBAAiB;","x_google_ignoreList":[0]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
3
- const index = require("../../_virtual/index5.cjs");
3
+ const index = require("../../_virtual/index13.cjs");
4
4
  const require$$0 = require("path");
5
5
  require("../path-type/index.cjs");
6
- const index$1 = require("../../_virtual/index6.cjs");
6
+ const index$1 = require("../../_virtual/index14.cjs");
7
7
  const path = require$$0;
8
8
  const pathType = index$1.__exports;
9
9
  const getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];
@@ -1,8 +1,8 @@
1
1
  import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as dirGlob$1 } from "../../_virtual/index5.js";
2
+ import { __module as dirGlob$1 } from "../../_virtual/index13.js";
3
3
  import require$$0 from "path";
4
4
  import "../path-type/index.js";
5
- import { __exports as pathType$1 } from "../../_virtual/index6.js";
5
+ import { __exports as pathType$1 } from "../../_virtual/index14.js";
6
6
  const path = require$$0;
7
7
  const pathType = pathType$1;
8
8
  const getExtensions = (extensions) => extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0];