@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
@@ -0,0 +1,56 @@
1
+ import { commonjsGlobal } from "../../_virtual/_commonjsHelpers.js";
2
+ import "fs";
3
+ import { __require as requireWindows } from "./windows.js";
4
+ import { __require as requireMode } from "./mode.js";
5
+ var core;
6
+ if (process.platform === "win32" || commonjsGlobal.TESTING_WINDOWS) {
7
+ core = requireWindows();
8
+ } else {
9
+ core = requireMode();
10
+ }
11
+ var isexe_1 = isexe;
12
+ isexe.sync = sync;
13
+ function isexe(path, options, cb) {
14
+ if (typeof options === "function") {
15
+ cb = options;
16
+ options = {};
17
+ }
18
+ if (!cb) {
19
+ if (typeof Promise !== "function") {
20
+ throw new TypeError("callback not provided");
21
+ }
22
+ return new Promise(function(resolve, reject) {
23
+ isexe(path, options || {}, function(er, is) {
24
+ if (er) {
25
+ reject(er);
26
+ } else {
27
+ resolve(is);
28
+ }
29
+ });
30
+ });
31
+ }
32
+ core(path, options || {}, function(er, is) {
33
+ if (er) {
34
+ if (er.code === "EACCES" || options && options.ignoreErrors) {
35
+ er = null;
36
+ is = false;
37
+ }
38
+ }
39
+ cb(er, is);
40
+ });
41
+ }
42
+ function sync(path, options) {
43
+ try {
44
+ return core.sync(path, options || {});
45
+ } catch (er) {
46
+ if (options && options.ignoreErrors || er.code === "EACCES") {
47
+ return false;
48
+ } else {
49
+ throw er;
50
+ }
51
+ }
52
+ }
53
+ export {
54
+ isexe_1 as i
55
+ };
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/isexe/index.js"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n"],"names":["global","require$$1","require$$2"],"mappings":";;;;AACA,IAAI;AACJ,IAAI,QAAQ,aAAa,WAAWA,eAAO,iBAAiB;AAC1D,SAAOC,eAAuB;AAChC,OAAO;AACL,SAAOC,YAAoB;AAC7B;AAEA,IAAA,UAAiB;AACjB,MAAM,OAAO;AAEb,SAAS,MAAO,MAAM,SAAS,IAAI;AACjC,MAAI,OAAO,YAAY,YAAY;AACjC,SAAK;AACL,cAAU,CAAE;AAAA,EACb;AAED,MAAI,CAAC,IAAI;AACP,QAAI,OAAO,YAAY,YAAY;AACjC,YAAM,IAAI,UAAU,uBAAuB;AAAA,IAC5C;AAED,WAAO,IAAI,QAAQ,SAAU,SAAS,QAAQ;AAC5C,YAAM,MAAM,WAAW,CAAE,GAAE,SAAU,IAAI,IAAI;AAC3C,YAAI,IAAI;AACN,iBAAO,EAAE;AAAA,QACnB,OAAe;AACL,kBAAQ,EAAE;AAAA,QACX;AAAA,MACT,CAAO;AAAA,IACP,CAAK;AAAA,EACF;AAED,OAAK,MAAM,WAAW,CAAE,GAAE,SAAU,IAAI,IAAI;AAE1C,QAAI,IAAI;AACN,UAAI,GAAG,SAAS,YAAY,WAAW,QAAQ,cAAc;AAC3D,aAAK;AACL,aAAK;AAAA,MACN;AAAA,IACF;AACD,OAAG,IAAI,EAAE;AAAA,EACb,CAAG;AACH;AAEA,SAAS,KAAM,MAAM,SAAS;AAE5B,MAAI;AACF,WAAO,KAAK,KAAK,MAAM,WAAW,CAAA,CAAE;AAAA,EACrC,SAAQ,IAAP;AACA,QAAI,WAAW,QAAQ,gBAAgB,GAAG,SAAS,UAAU;AAC3D,aAAO;AAAA,IACb,OAAW;AACL,YAAM;AAAA,IACP;AAAA,EACF;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require$$0 = require("fs");
4
+ var mode;
5
+ var hasRequiredMode;
6
+ function requireMode() {
7
+ if (hasRequiredMode)
8
+ return mode;
9
+ hasRequiredMode = 1;
10
+ mode = isexe;
11
+ isexe.sync = sync;
12
+ var fs = require$$0;
13
+ function isexe(path, options, cb) {
14
+ fs.stat(path, function(er, stat) {
15
+ cb(er, er ? false : checkStat(stat, options));
16
+ });
17
+ }
18
+ function sync(path, options) {
19
+ return checkStat(fs.statSync(path), options);
20
+ }
21
+ function checkStat(stat, options) {
22
+ return stat.isFile() && checkMode(stat, options);
23
+ }
24
+ function checkMode(stat, options) {
25
+ var mod = stat.mode;
26
+ var uid = stat.uid;
27
+ var gid = stat.gid;
28
+ var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
29
+ var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
30
+ var u = parseInt("100", 8);
31
+ var g = parseInt("010", 8);
32
+ var o = parseInt("001", 8);
33
+ var ug = u | g;
34
+ var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
35
+ return ret;
36
+ }
37
+ return mode;
38
+ }
39
+ exports.__require = requireMode;
40
+ //# sourceMappingURL=mode.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mode.cjs","sources":["../../../../../node_modules/isexe/mode.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,OAAO,CAAC;AAAA,IAChD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,OAAO;AAAA,EAC5C;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,WAAO,KAAK,OAAM,KAAM,UAAU,MAAM,OAAO;AAAA,EAChD;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AAEf,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAClD,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAElD,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,KAAK,IAAI;AAEb,QAAI,MAAO,MAAM,KACd,MAAM,KAAM,QAAQ,SACpB,MAAM,KAAM,QAAQ,SACpB,MAAM,MAAO,UAAU;AAE1B,WAAO;AAAA,EACT;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,40 @@
1
+ import require$$0 from "fs";
2
+ var mode;
3
+ var hasRequiredMode;
4
+ function requireMode() {
5
+ if (hasRequiredMode)
6
+ return mode;
7
+ hasRequiredMode = 1;
8
+ mode = isexe;
9
+ isexe.sync = sync;
10
+ var fs = require$$0;
11
+ function isexe(path, options, cb) {
12
+ fs.stat(path, function(er, stat) {
13
+ cb(er, er ? false : checkStat(stat, options));
14
+ });
15
+ }
16
+ function sync(path, options) {
17
+ return checkStat(fs.statSync(path), options);
18
+ }
19
+ function checkStat(stat, options) {
20
+ return stat.isFile() && checkMode(stat, options);
21
+ }
22
+ function checkMode(stat, options) {
23
+ var mod = stat.mode;
24
+ var uid = stat.uid;
25
+ var gid = stat.gid;
26
+ var myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();
27
+ var myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();
28
+ var u = parseInt("100", 8);
29
+ var g = parseInt("010", 8);
30
+ var o = parseInt("001", 8);
31
+ var ug = u | g;
32
+ var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
33
+ return ret;
34
+ }
35
+ return mode;
36
+ }
37
+ export {
38
+ requireMode as __require
39
+ };
40
+ //# sourceMappingURL=mode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mode.js","sources":["../../../../../node_modules/isexe/mode.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n"],"names":[],"mappings":";;;;;;;AAAA,SAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,OAAO,CAAC;AAAA,IAChD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,OAAO;AAAA,EAC5C;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,WAAO,KAAK,OAAM,KAAM,UAAU,MAAM,OAAO;AAAA,EAChD;AAED,WAAS,UAAW,MAAM,SAAS;AACjC,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AACf,QAAI,MAAM,KAAK;AAEf,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAClD,QAAI,QAAQ,QAAQ,QAAQ,SAC1B,QAAQ,MAAM,QAAQ,UAAU,QAAQ,OAAQ;AAElD,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,IAAI,SAAS,OAAO,CAAC;AACzB,QAAI,KAAK,IAAI;AAEb,QAAI,MAAO,MAAM,KACd,MAAM,KAAM,QAAQ,SACpB,MAAM,KAAM,QAAQ,SACpB,MAAM,MAAO,UAAU;AAE1B,WAAO;AAAA,EACT;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require$$0 = require("fs");
4
+ var windows;
5
+ var hasRequiredWindows;
6
+ function requireWindows() {
7
+ if (hasRequiredWindows)
8
+ return windows;
9
+ hasRequiredWindows = 1;
10
+ windows = isexe;
11
+ isexe.sync = sync;
12
+ var fs = require$$0;
13
+ function checkPathExt(path, options) {
14
+ var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
15
+ if (!pathext) {
16
+ return true;
17
+ }
18
+ pathext = pathext.split(";");
19
+ if (pathext.indexOf("") !== -1) {
20
+ return true;
21
+ }
22
+ for (var i = 0; i < pathext.length; i++) {
23
+ var p = pathext[i].toLowerCase();
24
+ if (p && path.substr(-p.length).toLowerCase() === p) {
25
+ return true;
26
+ }
27
+ }
28
+ return false;
29
+ }
30
+ function checkStat(stat, path, options) {
31
+ if (!stat.isSymbolicLink() && !stat.isFile()) {
32
+ return false;
33
+ }
34
+ return checkPathExt(path, options);
35
+ }
36
+ function isexe(path, options, cb) {
37
+ fs.stat(path, function(er, stat) {
38
+ cb(er, er ? false : checkStat(stat, path, options));
39
+ });
40
+ }
41
+ function sync(path, options) {
42
+ return checkStat(fs.statSync(path), path, options);
43
+ }
44
+ return windows;
45
+ }
46
+ exports.__require = requireWindows;
47
+ //# sourceMappingURL=windows.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"windows.cjs","sources":["../../../../../node_modules/isexe/windows.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n"],"names":[],"mappings":";;;;;;;;;AAAA,YAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,aAAc,MAAM,SAAS;AACpC,QAAI,UAAU,QAAQ,YAAY,SAChC,QAAQ,UAAU,QAAQ,IAAI;AAEhC,QAAI,CAAC,SAAS;AACZ,aAAO;AAAA,IACR;AAED,cAAU,QAAQ,MAAM,GAAG;AAC3B,QAAI,QAAQ,QAAQ,EAAE,MAAM,IAAI;AAC9B,aAAO;AAAA,IACR;AACD,aAAS,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;AACvC,UAAI,IAAI,QAAQ,CAAC,EAAE,YAAa;AAChC,UAAI,KAAK,KAAK,OAAO,CAAC,EAAE,MAAM,EAAE,YAAa,MAAK,GAAG;AACnD,eAAO;AAAA,MACR;AAAA,IACF;AACD,WAAO;AAAA,EACR;AAED,WAAS,UAAW,MAAM,MAAM,SAAS;AACvC,QAAI,CAAC,KAAK,eAAc,KAAM,CAAC,KAAK,OAAM,GAAI;AAC5C,aAAO;AAAA,IACR;AACD,WAAO,aAAa,MAAM,OAAO;AAAA,EAClC;AAED,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,MAAM,OAAO,CAAC;AAAA,IACtD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,MAAM,OAAO;AAAA,EACnD;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,47 @@
1
+ import require$$0 from "fs";
2
+ var windows;
3
+ var hasRequiredWindows;
4
+ function requireWindows() {
5
+ if (hasRequiredWindows)
6
+ return windows;
7
+ hasRequiredWindows = 1;
8
+ windows = isexe;
9
+ isexe.sync = sync;
10
+ var fs = require$$0;
11
+ function checkPathExt(path, options) {
12
+ var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
13
+ if (!pathext) {
14
+ return true;
15
+ }
16
+ pathext = pathext.split(";");
17
+ if (pathext.indexOf("") !== -1) {
18
+ return true;
19
+ }
20
+ for (var i = 0; i < pathext.length; i++) {
21
+ var p = pathext[i].toLowerCase();
22
+ if (p && path.substr(-p.length).toLowerCase() === p) {
23
+ return true;
24
+ }
25
+ }
26
+ return false;
27
+ }
28
+ function checkStat(stat, path, options) {
29
+ if (!stat.isSymbolicLink() && !stat.isFile()) {
30
+ return false;
31
+ }
32
+ return checkPathExt(path, options);
33
+ }
34
+ function isexe(path, options, cb) {
35
+ fs.stat(path, function(er, stat) {
36
+ cb(er, er ? false : checkStat(stat, path, options));
37
+ });
38
+ }
39
+ function sync(path, options) {
40
+ return checkStat(fs.statSync(path), path, options);
41
+ }
42
+ return windows;
43
+ }
44
+ export {
45
+ requireWindows as __require
46
+ };
47
+ //# sourceMappingURL=windows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"windows.js","sources":["../../../../../node_modules/isexe/windows.js"],"sourcesContent":["module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n"],"names":[],"mappings":";;;;;;;AAAA,YAAiB;AACjB,QAAM,OAAO;AAEb,MAAI,KAAK;AAET,WAAS,aAAc,MAAM,SAAS;AACpC,QAAI,UAAU,QAAQ,YAAY,SAChC,QAAQ,UAAU,QAAQ,IAAI;AAEhC,QAAI,CAAC,SAAS;AACZ,aAAO;AAAA,IACR;AAED,cAAU,QAAQ,MAAM,GAAG;AAC3B,QAAI,QAAQ,QAAQ,EAAE,MAAM,IAAI;AAC9B,aAAO;AAAA,IACR;AACD,aAAS,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;AACvC,UAAI,IAAI,QAAQ,CAAC,EAAE,YAAa;AAChC,UAAI,KAAK,KAAK,OAAO,CAAC,EAAE,MAAM,EAAE,YAAa,MAAK,GAAG;AACnD,eAAO;AAAA,MACR;AAAA,IACF;AACD,WAAO;AAAA,EACR;AAED,WAAS,UAAW,MAAM,MAAM,SAAS;AACvC,QAAI,CAAC,KAAK,eAAc,KAAM,CAAC,KAAK,OAAM,GAAI;AAC5C,aAAO;AAAA,IACR;AACD,WAAO,aAAa,MAAM,OAAO;AAAA,EAClC;AAED,WAAS,MAAO,MAAM,SAAS,IAAI;AACjC,OAAG,KAAK,MAAM,SAAU,IAAI,MAAM;AAChC,SAAG,IAAI,KAAK,QAAQ,UAAU,MAAM,MAAM,OAAO,CAAC;AAAA,IACtD,CAAG;AAAA,EACF;AAED,WAAS,KAAM,MAAM,SAAS;AAC5B,WAAO,UAAU,GAAG,SAAS,IAAI,GAAG,MAAM,OAAO;AAAA,EACnD;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../_virtual/index13.cjs");
2
+ const index = require("../../_virtual/index8.cjs");
3
3
  Object.defineProperty(index.__exports, "__esModule", {
4
4
  value: true
5
5
  });
@@ -1,4 +1,4 @@
1
- import { __exports as jsTokens } from "../../_virtual/index13.js";
1
+ import { __exports as jsTokens } from "../../_virtual/index8.js";
2
2
  Object.defineProperty(jsTokens, "__esModule", {
3
3
  value: true
4
4
  });
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../_virtual/index7.cjs");
2
+ const index = require("../../../_virtual/index4.cjs");
3
3
  (function(exports2) {
4
4
  exports2.__esModule = true;
5
5
  exports2.LinesAndColumns = void 0;
@@ -1,4 +1,4 @@
1
- import { __exports as build } from "../../../_virtual/index7.js";
1
+ import { __exports as build } from "../../../_virtual/index4.js";
2
2
  (function(exports) {
3
3
  exports.__esModule = true;
4
4
  exports.LinesAndColumns = void 0;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const path = require("node:path");
4
- const node_url = require("node:url");
4
+ const url = require("node:url");
5
5
  const index = require("../locate-path/index.cjs");
6
6
  require("node:fs");
7
- const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
7
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? url.fileURLToPath(urlOrPath) : urlOrPath;
8
8
  const findUpStop = Symbol("findUpStop");
9
9
  function findUpMultipleSync(name, options = {}) {
10
10
  let directory = path.resolve(toPath(options.cwd) || "");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/meow/node_modules/find-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport {locatePath, locatePathSync} from 'locate-path';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport const findUpStop = Symbol('findUpStop');\n\nexport async function findUpMultiple(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = path.resolve(directory, options.stopAt || root);\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = async locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePath(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = await name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePath([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst foundPath = await runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport function findUpMultipleSync(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = options.stopAt || root;\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePathSync(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePathSync([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tconst foundPath = runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport async function findUp(name, options = {}) {\n\tconst matches = await findUpMultiple(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport function findUpSync(name, options = {}) {\n\tconst matches = findUpMultipleSync(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport {\n\tpathExists,\n\tpathExistsSync,\n} from 'path-exists';\n"],"names":["fileURLToPath","locatePathSync"],"mappings":";;;;;;AAIA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AAEtE,MAAC,aAAa,OAAO,YAAY;AA8CtC,SAAS,mBAAmB,MAAM,UAAU,IAAI;AACtD,MAAI,YAAY,KAAK,QAAQ,OAAO,QAAQ,GAAG,KAAK,EAAE;AACtD,QAAM,EAAC,KAAI,IAAI,KAAK,MAAM,SAAS;AACnC,QAAM,SAAS,QAAQ,UAAU;AACjC,QAAM,QAAQ,QAAQ,SAAS,OAAO;AACtC,QAAM,QAAQ,CAAC,IAAI,EAAE,KAAI;AAEzB,QAAM,aAAa,mBAAiB;AACnC,QAAI,OAAO,SAAS,YAAY;AAC/B,aAAOC,MAAc,eAAC,OAAO,aAAa;AAAA,IAC1C;AAED,UAAM,YAAY,KAAK,cAAc,GAAG;AACxC,QAAI,OAAO,cAAc,UAAU;AAClC,aAAOA,qBAAe,CAAC,SAAS,GAAG,aAAa;AAAA,IAChD;AAED,WAAO;AAAA,EACT;AAEC,QAAM,UAAU,CAAA;AAEhB,SAAO,MAAM;AACZ,UAAM,YAAY,WAAW,EAAC,GAAG,SAAS,KAAK,UAAS,CAAC;AAEzD,QAAI,cAAc,YAAY;AAC7B;AAAA,IACA;AAED,QAAI,WAAW;AACd,cAAQ,KAAK,KAAK,QAAQ,WAAW,SAAS,CAAC;AAAA,IAC/C;AAED,QAAI,cAAc,UAAU,QAAQ,UAAU,OAAO;AACpD;AAAA,IACA;AAED,gBAAY,KAAK,QAAQ,SAAS;AAAA,EAClC;AAED,SAAO;AACR;AAOO,SAAS,WAAW,MAAM,UAAU,IAAI;AAC9C,QAAM,UAAU,mBAAmB,MAAM,EAAC,GAAG,SAAS,OAAO,EAAC,CAAC;AAC/D,SAAO,QAAQ,CAAC;AACjB;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/meow/node_modules/find-up/index.js"],"sourcesContent":["import path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport {locatePath, locatePathSync} from 'locate-path';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport const findUpStop = Symbol('findUpStop');\n\nexport async function findUpMultiple(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = path.resolve(directory, options.stopAt || root);\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = async locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePath(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = await name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePath([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\t// eslint-disable-next-line no-await-in-loop\n\t\tconst foundPath = await runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport function findUpMultipleSync(name, options = {}) {\n\tlet directory = path.resolve(toPath(options.cwd) || '');\n\tconst {root} = path.parse(directory);\n\tconst stopAt = options.stopAt || root;\n\tconst limit = options.limit || Number.POSITIVE_INFINITY;\n\tconst paths = [name].flat();\n\n\tconst runMatcher = locateOptions => {\n\t\tif (typeof name !== 'function') {\n\t\t\treturn locatePathSync(paths, locateOptions);\n\t\t}\n\n\t\tconst foundPath = name(locateOptions.cwd);\n\t\tif (typeof foundPath === 'string') {\n\t\t\treturn locatePathSync([foundPath], locateOptions);\n\t\t}\n\n\t\treturn foundPath;\n\t};\n\n\tconst matches = [];\n\t// eslint-disable-next-line no-constant-condition\n\twhile (true) {\n\t\tconst foundPath = runMatcher({...options, cwd: directory});\n\n\t\tif (foundPath === findUpStop) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (foundPath) {\n\t\t\tmatches.push(path.resolve(directory, foundPath));\n\t\t}\n\n\t\tif (directory === stopAt || matches.length >= limit) {\n\t\t\tbreak;\n\t\t}\n\n\t\tdirectory = path.dirname(directory);\n\t}\n\n\treturn matches;\n}\n\nexport async function findUp(name, options = {}) {\n\tconst matches = await findUpMultiple(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport function findUpSync(name, options = {}) {\n\tconst matches = findUpMultipleSync(name, {...options, limit: 1});\n\treturn matches[0];\n}\n\nexport {\n\tpathExists,\n\tpathExistsSync,\n} from 'path-exists';\n"],"names":["fileURLToPath","locatePathSync"],"mappings":";;;;;;AAIA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,IAAAA,cAAc,SAAS,IAAI;AAEtE,MAAC,aAAa,OAAO,YAAY;AA8CtC,SAAS,mBAAmB,MAAM,UAAU,IAAI;AACtD,MAAI,YAAY,KAAK,QAAQ,OAAO,QAAQ,GAAG,KAAK,EAAE;AACtD,QAAM,EAAC,KAAI,IAAI,KAAK,MAAM,SAAS;AACnC,QAAM,SAAS,QAAQ,UAAU;AACjC,QAAM,QAAQ,QAAQ,SAAS,OAAO;AACtC,QAAM,QAAQ,CAAC,IAAI,EAAE,KAAI;AAEzB,QAAM,aAAa,mBAAiB;AACnC,QAAI,OAAO,SAAS,YAAY;AAC/B,aAAOC,MAAc,eAAC,OAAO,aAAa;AAAA,IAC1C;AAED,UAAM,YAAY,KAAK,cAAc,GAAG;AACxC,QAAI,OAAO,cAAc,UAAU;AAClC,aAAOA,qBAAe,CAAC,SAAS,GAAG,aAAa;AAAA,IAChD;AAED,WAAO;AAAA,EACT;AAEC,QAAM,UAAU,CAAA;AAEhB,SAAO,MAAM;AACZ,UAAM,YAAY,WAAW,EAAC,GAAG,SAAS,KAAK,UAAS,CAAC;AAEzD,QAAI,cAAc,YAAY;AAC7B;AAAA,IACA;AAED,QAAI,WAAW;AACd,cAAQ,KAAK,KAAK,QAAQ,WAAW,SAAS,CAAC;AAAA,IAC/C;AAED,QAAI,cAAc,UAAU,QAAQ,UAAU,OAAO;AACpD;AAAA,IACA;AAED,gBAAY,KAAK,QAAQ,SAAS;AAAA,EAClC;AAED,SAAO;AACR;AAOO,SAAS,WAAW,MAAM,UAAU,IAAI;AAC9C,QAAM,UAAU,mBAAmB,MAAM,EAAC,GAAG,SAAS,OAAO,EAAC,CAAC;AAC/D,SAAO,QAAQ,CAAC;AACjB;;;;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../_virtual/index9.cjs");
3
+ const index = require("../../../../../_virtual/index6.cjs");
4
4
  const gitHostInfo = require("./git-host-info.cjs");
5
5
  const gitHost = require("./git-host.cjs");
6
6
  const index$1 = require('./../_node_modules/lru-cache/index.cjs');
@@ -1,4 +1,4 @@
1
- import { __module as lib } from "../../../../../_virtual/index9.js";
1
+ import { __module as lib } from "../../../../../_virtual/index6.js";
2
2
  import { g as gitHostInfo } from "./git-host-info.js";
3
3
  import { g as gitHost } from "./git-host.js";
4
4
  import { l as lruCache } from './../_node_modules/lru-cache/index.js';
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const process = require("node:process");
4
4
  const path = require("node:path");
5
5
  const fs = require("node:fs");
6
- const node_url = require("node:url");
6
+ const url = require("node:url");
7
7
  const typeMappings = {
8
8
  directory: "isDirectory",
9
9
  file: "isFile"
@@ -15,7 +15,7 @@ function checkType(type) {
15
15
  throw new Error(`Invalid type specified: ${type}`);
16
16
  }
17
17
  const matchType = (type, stat) => stat[typeMappings[type]]();
18
- const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
18
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? url.fileURLToPath(urlOrPath) : urlOrPath;
19
19
  function locatePathSync(paths, {
20
20
  cwd = process.cwd(),
21
21
  type = "file",
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/meow/node_modules/locate-path/index.js"],"sourcesContent":["import process from 'node:process';\nimport path from 'node:path';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport {fileURLToPath} from 'node:url';\nimport pLocate from 'p-locate';\n\nconst typeMappings = {\n\tdirectory: 'isDirectory',\n\tfile: 'isFile',\n};\n\nfunction checkType(type) {\n\tif (Object.hasOwnProperty.call(typeMappings, type)) {\n\t\treturn;\n\t}\n\n\tthrow new Error(`Invalid type specified: ${type}`);\n}\n\nconst matchType = (type, stat) => stat[typeMappings[type]]();\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function locatePath(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t\tconcurrency,\n\t\tpreserveOrder,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat;\n\n\treturn pLocate(paths, async path_ => {\n\t\ttry {\n\t\t\tconst stat = await statFunction(path.resolve(cwd, path_));\n\t\t\treturn matchType(type, stat);\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}, {concurrency, preserveOrder});\n}\n\nexport function locatePathSync(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;\n\n\tfor (const path_ of paths) {\n\t\ttry {\n\t\t\tconst stat = statFunction(path.resolve(cwd, path_), {\n\t\t\t\tthrowIfNoEntry: false,\n\t\t\t});\n\n\t\t\tif (!stat) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (matchType(type, stat)) {\n\t\t\t\treturn path_;\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n"],"names":["fileURLToPath"],"mappings":";;;;;;AAMA,MAAM,eAAe;AAAA,EACpB,WAAW;AAAA,EACX,MAAM;AACP;AAEA,SAAS,UAAU,MAAM;AACxB,MAAI,OAAO,eAAe,KAAK,cAAc,IAAI,GAAG;AACnD;AAAA,EACA;AAED,QAAM,IAAI,MAAM,2BAA2B,MAAM;AAClD;AAEA,MAAM,YAAY,CAAC,MAAM,SAAS,KAAK,aAAa,IAAI,CAAC;AAEzD,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AA2B3E,SAAS,eACf,OACA;AAAA,EACC,MAAM,QAAQ,IAAK;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAClB,IAAK,CAAE,GACL;AACD,YAAU,IAAI;AACd,QAAM,OAAO,GAAG;AAEhB,QAAM,eAAe,gBAAgB,GAAG,WAAW,GAAG;AAEtD,aAAW,SAAS,OAAO;AAC1B,QAAI;AACH,YAAM,OAAO,aAAa,KAAK,QAAQ,KAAK,KAAK,GAAG;AAAA,QACnD,gBAAgB;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,MAAM;AACV;AAAA,MACA;AAED,UAAI,UAAU,MAAM,IAAI,GAAG;AAC1B,eAAO;AAAA,MACP;AAAA,IACD,QAAC;AAAA,IAAQ;AAAA,EACV;AACF;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/meow/node_modules/locate-path/index.js"],"sourcesContent":["import process from 'node:process';\nimport path from 'node:path';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport {fileURLToPath} from 'node:url';\nimport pLocate from 'p-locate';\n\nconst typeMappings = {\n\tdirectory: 'isDirectory',\n\tfile: 'isFile',\n};\n\nfunction checkType(type) {\n\tif (Object.hasOwnProperty.call(typeMappings, type)) {\n\t\treturn;\n\t}\n\n\tthrow new Error(`Invalid type specified: ${type}`);\n}\n\nconst matchType = (type, stat) => stat[typeMappings[type]]();\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function locatePath(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t\tconcurrency,\n\t\tpreserveOrder,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fsPromises.stat : fsPromises.lstat;\n\n\treturn pLocate(paths, async path_ => {\n\t\ttry {\n\t\t\tconst stat = await statFunction(path.resolve(cwd, path_));\n\t\t\treturn matchType(type, stat);\n\t\t} catch {\n\t\t\treturn false;\n\t\t}\n\t}, {concurrency, preserveOrder});\n}\n\nexport function locatePathSync(\n\tpaths,\n\t{\n\t\tcwd = process.cwd(),\n\t\ttype = 'file',\n\t\tallowSymlinks = true,\n\t} = {},\n) {\n\tcheckType(type);\n\tcwd = toPath(cwd);\n\n\tconst statFunction = allowSymlinks ? fs.statSync : fs.lstatSync;\n\n\tfor (const path_ of paths) {\n\t\ttry {\n\t\t\tconst stat = statFunction(path.resolve(cwd, path_), {\n\t\t\t\tthrowIfNoEntry: false,\n\t\t\t});\n\n\t\t\tif (!stat) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (matchType(type, stat)) {\n\t\t\t\treturn path_;\n\t\t\t}\n\t\t} catch {}\n\t}\n}\n"],"names":["fileURLToPath"],"mappings":";;;;;;AAMA,MAAM,eAAe;AAAA,EACpB,WAAW;AAAA,EACX,MAAM;AACP;AAEA,SAAS,UAAU,MAAM;AACxB,MAAI,OAAO,eAAe,KAAK,cAAc,IAAI,GAAG;AACnD;AAAA,EACA;AAED,QAAM,IAAI,MAAM,2BAA2B,MAAM;AAClD;AAEA,MAAM,YAAY,CAAC,MAAM,SAAS,KAAK,aAAa,IAAI,CAAC;AAEzD,MAAM,SAAS,eAAa,qBAAqB,MAAMA,IAAAA,cAAc,SAAS,IAAI;AA2B3E,SAAS,eACf,OACA;AAAA,EACC,MAAM,QAAQ,IAAK;AAAA,EACnB,OAAO;AAAA,EACP,gBAAgB;AAClB,IAAK,CAAE,GACL;AACD,YAAU,IAAI;AACd,QAAM,OAAO,GAAG;AAEhB,QAAM,eAAe,gBAAgB,GAAG,WAAW,GAAG;AAEtD,aAAW,SAAS,OAAO;AAC1B,QAAI;AACH,YAAM,OAAO,aAAa,KAAK,QAAQ,KAAK,KAAK,GAAG;AAAA,QACnD,gBAAgB;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,MAAM;AACV;AAAA,MACA;AAED,UAAI,UAAU,MAAM,IAAI,GAAG;AAC1B,eAAO;AAAA,MACP;AAAA,IACD,QAAC;AAAA,IAAQ;AAAA,EACV;AACF;;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../../_virtual/index15.cjs");
3
+ const index = require("../../../../../../_virtual/index10.cjs");
4
4
  const require$$0 = require("url");
5
5
  const gitHostInfo = require("./git-host-info.cjs");
6
6
  const gitHost = require("./git-host.cjs");
@@ -1,4 +1,4 @@
1
- import { __module as hostedGitInfo } from "../../../../../../_virtual/index15.js";
1
+ import { __module as hostedGitInfo } from "../../../../../../_virtual/index10.js";
2
2
  import require$$0 from "url";
3
3
  import { g as gitHostInfo } from "./git-host-info.js";
4
4
  import { g as gitHost } from "./git-host.js";
@@ -3,10 +3,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const process = require("node:process");
4
4
  const fs = require("node:fs");
5
5
  const path = require("node:path");
6
- const node_url = require("node:url");
6
+ const url = require("node:url");
7
7
  const index = require("../../../parse-json/index.cjs");
8
8
  const normalize = require('./_node_modules/normalize-package-data/lib/normalize.cjs');
9
- const toPath = (urlOrPath) => urlOrPath instanceof URL ? node_url.fileURLToPath(urlOrPath) : urlOrPath;
9
+ const toPath = (urlOrPath) => urlOrPath instanceof URL ? url.fileURLToPath(urlOrPath) : urlOrPath;
10
10
  function readPackageSync({ cwd, normalize: normalize$1 = true } = {}) {
11
11
  cwd = toPath(cwd) || process.cwd();
12
12
  const filePath = path.resolve(cwd, "package.json");
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/meow/node_modules/read-pkg/index.js"],"sourcesContent":["import process from 'node:process';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport parseJson from 'parse-json';\nimport normalizePackageData from 'normalize-package-data';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function readPackage({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(await fsPromises.readFile(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n\nexport function readPackageSync({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(fs.readFileSync(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n"],"names":["fileURLToPath","normalize","parseJson","normalizePackageData"],"mappings":";;;;;;;;AAOA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,SAAAA,cAAc,SAAS,IAAI;AAc3E,SAAS,gBAAgB,EAAC,KAAG,WAAEC,cAAY,KAAI,IAAI,CAAA,GAAI;AAC7D,QAAM,OAAO,GAAG,KAAK,QAAQ,IAAG;AAChC,QAAM,WAAW,KAAK,QAAQ,KAAK,cAAc;AACjD,QAAM,OAAOC,MAAU,GAAG,aAAa,UAAU,MAAM,CAAC;AAExD,MAAID,aAAW;AACdE,cAAqB,IAAI;AAAA,EACzB;AAED,SAAO;AACR;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/meow/node_modules/read-pkg/index.js"],"sourcesContent":["import process from 'node:process';\nimport fs, {promises as fsPromises} from 'node:fs';\nimport path from 'node:path';\nimport {fileURLToPath} from 'node:url';\nimport parseJson from 'parse-json';\nimport normalizePackageData from 'normalize-package-data';\n\nconst toPath = urlOrPath => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\n\nexport async function readPackage({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(await fsPromises.readFile(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n\nexport function readPackageSync({cwd, normalize = true} = {}) {\n\tcwd = toPath(cwd) || process.cwd();\n\tconst filePath = path.resolve(cwd, 'package.json');\n\tconst json = parseJson(fs.readFileSync(filePath, 'utf8'));\n\n\tif (normalize) {\n\t\tnormalizePackageData(json);\n\t}\n\n\treturn json;\n}\n"],"names":["fileURLToPath","normalize","parseJson","normalizePackageData"],"mappings":";;;;;;;;AAOA,MAAM,SAAS,eAAa,qBAAqB,MAAMA,IAAAA,cAAc,SAAS,IAAI;AAc3E,SAAS,gBAAgB,EAAC,KAAG,WAAEC,cAAY,KAAI,IAAI,CAAA,GAAI;AAC7D,QAAM,OAAO,GAAG,KAAK,QAAQ,IAAG;AAChC,QAAM,WAAW,KAAK,QAAQ,KAAK,cAAc;AACjD,QAAM,OAAOC,MAAU,GAAG,aAAa,UAAU,MAAM,CAAC;AAExD,MAAID,aAAW;AACdE,cAAqB,IAAI;AAAA,EACzB;AAED,SAAO;AACR;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  const path = require("node:path");
3
3
  const process = require("node:process");
4
- const node_url = require("node:url");
4
+ const url = require("node:url");
5
5
  const index$3 = require("../minimist-options/index.cjs");
6
6
  const index$4 = require("../yargs-parser/build/lib/index.cjs");
7
7
  const index$7 = require("../camelcase-keys/index.cjs");
@@ -89,7 +89,7 @@ const meow = (helpText, options = {}) => {
89
89
  throw new TypeError("The `importMeta` option is required. Its value must be `import.meta`.");
90
90
  }
91
91
  const foundPackage = index.readPackageUpSync({
92
- cwd: path.dirname(node_url.fileURLToPath(options.importMeta.url)),
92
+ cwd: path.dirname(url.fileURLToPath(options.importMeta.url)),
93
93
  normalize: false
94
94
  });
95
95
  options = {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/meow/index.js"],"sourcesContent":["import {dirname} from 'node:path';\nimport process from 'node:process';\nimport {fileURLToPath} from 'node:url';\nimport buildParserOptions from 'minimist-options';\nimport parseArguments from 'yargs-parser';\nimport camelCaseKeys from 'camelcase-keys';\nimport decamelize from 'decamelize';\nimport decamelizeKeys from 'decamelize-keys';\nimport trimNewlines from 'trim-newlines';\nimport redent from 'redent';\nimport {readPackageUpSync} from 'read-pkg-up';\nimport hardRejection from 'hard-rejection';\nimport normalizePackageData from 'normalize-package-data';\n\nconst isFlagMissing = (flagName, definedFlags, receivedFlags, input) => {\n\tconst flag = definedFlags[flagName];\n\tlet isFlagRequired = true;\n\n\tif (typeof flag.isRequired === 'function') {\n\t\tisFlagRequired = flag.isRequired(receivedFlags, input);\n\t\tif (typeof isFlagRequired !== 'boolean') {\n\t\t\tthrow new TypeError(`Return value for isRequired callback should be of type boolean, but ${typeof isFlagRequired} was returned.`);\n\t\t}\n\t}\n\n\tif (typeof receivedFlags[flagName] === 'undefined') {\n\t\treturn isFlagRequired;\n\t}\n\n\treturn flag.isMultiple && receivedFlags[flagName].length === 0 && isFlagRequired;\n};\n\nconst getMissingRequiredFlags = (flags, receivedFlags, input) => {\n\tconst missingRequiredFlags = [];\n\tif (typeof flags === 'undefined') {\n\t\treturn [];\n\t}\n\n\tfor (const flagName of Object.keys(flags)) {\n\t\tif (flags[flagName].isRequired && isFlagMissing(flagName, flags, receivedFlags, input)) {\n\t\t\tmissingRequiredFlags.push({key: flagName, ...flags[flagName]});\n\t\t}\n\t}\n\n\treturn missingRequiredFlags;\n};\n\nconst reportMissingRequiredFlags = missingRequiredFlags => {\n\tconsole.error(`Missing required flag${missingRequiredFlags.length > 1 ? 's' : ''}`);\n\tfor (const flag of missingRequiredFlags) {\n\t\tconsole.error(`\\t--${decamelize(flag.key, {separator: '-'})}${flag.alias ? `, -${flag.alias}` : ''}`);\n\t}\n};\n\nconst validateOptions = ({flags}) => {\n\tconst invalidFlags = Object.keys(flags).filter(flagKey => flagKey.includes('-') && flagKey !== '--');\n\tif (invalidFlags.length > 0) {\n\t\tthrow new Error(`Flag keys may not contain '-': ${invalidFlags.join(', ')}`);\n\t}\n};\n\nconst reportUnknownFlags = unknownFlags => {\n\tconsole.error([\n\t\t`Unknown flag${unknownFlags.length > 1 ? 's' : ''}`,\n\t\t...unknownFlags,\n\t].join('\\n'));\n};\n\nconst buildParserFlags = ({flags, booleanDefault}) => {\n\tconst parserFlags = {};\n\n\tfor (const [flagKey, flagValue] of Object.entries(flags)) {\n\t\tconst flag = {...flagValue};\n\n\t\tif (\n\t\t\ttypeof booleanDefault !== 'undefined'\n\t\t\t\t&& flag.type === 'boolean'\n\t\t\t\t&& !Object.prototype.hasOwnProperty.call(flag, 'default')\n\t\t) {\n\t\t\tflag.default = flag.isMultiple ? [booleanDefault] : booleanDefault;\n\t\t}\n\n\t\tif (flag.isMultiple) {\n\t\t\tflag.type = flag.type ? `${flag.type}-array` : 'array';\n\t\t\tflag.default = flag.default ?? [];\n\t\t\tdelete flag.isMultiple;\n\t\t}\n\n\t\tparserFlags[flagKey] = flag;\n\t}\n\n\treturn parserFlags;\n};\n\nconst validateFlags = (flags, options) => {\n\tfor (const [flagKey, flagValue] of Object.entries(options.flags)) {\n\t\tif (flagKey !== '--' && !flagValue.isMultiple && Array.isArray(flags[flagKey])) {\n\t\t\tthrow new Error(`The flag --${flagKey} can only be set once.`);\n\t\t}\n\t}\n};\n\n/* eslint complexity: off */\nconst meow = (helpText, options = {}) => {\n\tif (typeof helpText !== 'string') {\n\t\toptions = helpText;\n\t\thelpText = '';\n\t}\n\n\tif (!options.importMeta?.url) {\n\t\tthrow new TypeError('The `importMeta` option is required. Its value must be `import.meta`.');\n\t}\n\n\tconst foundPackage = readPackageUpSync({\n\t\tcwd: dirname(fileURLToPath(options.importMeta.url)),\n\t\tnormalize: false,\n\t});\n\n\toptions = {\n\t\tpkg: foundPackage ? foundPackage.packageJson : {},\n\t\targv: process.argv.slice(2),\n\t\tflags: {},\n\t\tinferType: false,\n\t\tinput: 'string',\n\t\thelp: helpText,\n\t\tautoHelp: true,\n\t\tautoVersion: true,\n\t\tbooleanDefault: false,\n\t\thardRejection: true,\n\t\tallowUnknownFlags: true,\n\t\t...options,\n\t};\n\n\tif (options.hardRejection) {\n\t\thardRejection();\n\t}\n\n\tvalidateOptions(options);\n\tlet parserOptions = {\n\t\targuments: options.input,\n\t\t...buildParserFlags(options),\n\t};\n\n\tparserOptions = decamelizeKeys(parserOptions, '-', {exclude: ['stopEarly', '--']});\n\n\tif (options.inferType) {\n\t\tdelete parserOptions.arguments;\n\t}\n\n\t// Add --help and --version to known flags if autoHelp or autoVersion are set\n\tif (!options.allowUnknownFlags) {\n\t\tif (options.autoHelp && !parserOptions.help) {\n\t\t\tparserOptions.help = {type: 'boolean'};\n\t\t}\n\n\t\tif (options.autoVersion && !parserOptions.version) {\n\t\t\tparserOptions.version = {type: 'boolean'};\n\t\t}\n\t}\n\n\tparserOptions = buildParserOptions(parserOptions);\n\n\tparserOptions.configuration = {\n\t\t...parserOptions.configuration,\n\t\t'greedy-arrays': false,\n\t};\n\n\tif (parserOptions['--']) {\n\t\tparserOptions.configuration['populate--'] = true;\n\t}\n\n\tif (!options.allowUnknownFlags) {\n\t\t// Collect unknown options in `argv._` to be checked later.\n\t\tparserOptions.configuration['unknown-options-as-args'] = true;\n\t}\n\n\tconst {pkg: package_} = options;\n\tconst argv = parseArguments(options.argv, parserOptions);\n\tlet help = redent(trimNewlines((options.help ?? '').replace(/\\t+\\n*$/, '')), 2);\n\n\tnormalizePackageData(package_);\n\n\tprocess.title = package_.bin ? Object.keys(package_.bin)[0] : package_.name;\n\n\tlet {description} = options;\n\tif (!description && description !== false) {\n\t\t({description} = package_);\n\t}\n\n\thelp = (description ? `\\n ${description}\\n` : '') + (help ? `\\n${help}\\n` : '\\n');\n\n\tconst showHelp = code => {\n\t\tconsole.log(help);\n\t\tprocess.exit(typeof code === 'number' ? code : 2);\n\t};\n\n\tconst showVersion = () => {\n\t\tconsole.log(typeof options.version === 'string' ? options.version : package_.version);\n\t\tprocess.exit(0);\n\t};\n\n\tif (argv._.length === 0 && options.argv.length === 1) {\n\t\tif (argv.version === true && options.autoVersion) {\n\t\t\tshowVersion();\n\t\t} else if (argv.help === true && options.autoHelp) {\n\t\t\tshowHelp(0);\n\t\t}\n\t}\n\n\tconst input = argv._;\n\tdelete argv._;\n\n\tif (!options.allowUnknownFlags) {\n\t\tconst unknownFlags = input.filter(item => typeof item === 'string' && item.startsWith('-'));\n\t\tif (unknownFlags.length > 0) {\n\t\t\treportUnknownFlags(unknownFlags);\n\t\t\tprocess.exit(2);\n\t\t}\n\t}\n\n\tconst flags = camelCaseKeys(argv, {exclude: ['--', /^\\w$/]});\n\tconst unnormalizedFlags = {...flags};\n\n\tvalidateFlags(flags, options);\n\n\tfor (const flagValue of Object.values(options.flags)) {\n\t\tdelete flags[flagValue.alias];\n\t}\n\n\tconst missingRequiredFlags = getMissingRequiredFlags(options.flags, flags, input);\n\tif (missingRequiredFlags.length > 0) {\n\t\treportMissingRequiredFlags(missingRequiredFlags);\n\t\tprocess.exit(2);\n\t}\n\n\treturn {\n\t\tinput,\n\t\tflags,\n\t\tunnormalizedFlags,\n\t\tpkg: package_,\n\t\thelp,\n\t\tshowHelp,\n\t\tshowVersion,\n\t};\n};\n\nexport default meow;\n"],"names":["decamelize","readPackageUpSync","dirname","fileURLToPath","hardRejection","decamelizeKeys","buildParserOptions","parseArguments","redent","trimNewlines","normalizePackageData","camelCaseKeys"],"mappings":";;;;;;;;;;;;;;AAcA,MAAM,gBAAgB,CAAC,UAAU,cAAc,eAAe,UAAU;AACvE,QAAM,OAAO,aAAa,QAAQ;AAClC,MAAI,iBAAiB;AAErB,MAAI,OAAO,KAAK,e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BAA2B,oBAAoB;AAC/C,YAAQ,KAAK,CAAC;AAAA,EACd;AAED,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA,KAAK;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACA;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/meow/index.js"],"sourcesContent":["import {dirname} from 'node:path';\nimport process from 'node:process';\nimport {fileURLToPath} from 'node:url';\nimport buildParserOptions from 'minimist-options';\nimport parseArguments from 'yargs-parser';\nimport camelCaseKeys from 'camelcase-keys';\nimport decamelize from 'decamelize';\nimport decamelizeKeys from 'decamelize-keys';\nimport trimNewlines from 'trim-newlines';\nimport redent from 'redent';\nimport {readPackageUpSync} from 'read-pkg-up';\nimport hardRejection from 'hard-rejection';\nimport normalizePackageData from 'normalize-package-data';\n\nconst isFlagMissing = (flagName, definedFlags, receivedFlags, input) => {\n\tconst flag = definedFlags[flagName];\n\tlet isFlagRequired = true;\n\n\tif (typeof flag.isRequired === 'function') {\n\t\tisFlagRequired = flag.isRequired(receivedFlags, input);\n\t\tif (typeof isFlagRequired !== 'boolean') {\n\t\t\tthrow new TypeError(`Return value for isRequired callback should be of type boolean, but ${typeof isFlagRequired} was returned.`);\n\t\t}\n\t}\n\n\tif (typeof receivedFlags[flagName] === 'undefined') {\n\t\treturn isFlagRequired;\n\t}\n\n\treturn flag.isMultiple && receivedFlags[flagName].length === 0 && isFlagRequired;\n};\n\nconst getMissingRequiredFlags = (flags, receivedFlags, input) => {\n\tconst missingRequiredFlags = [];\n\tif (typeof flags === 'undefined') {\n\t\treturn [];\n\t}\n\n\tfor (const flagName of Object.keys(flags)) {\n\t\tif (flags[flagName].isRequired && isFlagMissing(flagName, flags, receivedFlags, input)) {\n\t\t\tmissingRequiredFlags.push({key: flagName, ...flags[flagName]});\n\t\t}\n\t}\n\n\treturn missingRequiredFlags;\n};\n\nconst reportMissingRequiredFlags = missingRequiredFlags => {\n\tconsole.error(`Missing required flag${missingRequiredFlags.length > 1 ? 's' : ''}`);\n\tfor (const flag of missingRequiredFlags) {\n\t\tconsole.error(`\\t--${decamelize(flag.key, {separator: '-'})}${flag.alias ? `, -${flag.alias}` : ''}`);\n\t}\n};\n\nconst validateOptions = ({flags}) => {\n\tconst invalidFlags = Object.keys(flags).filter(flagKey => flagKey.includes('-') && flagKey !== '--');\n\tif (invalidFlags.length > 0) {\n\t\tthrow new Error(`Flag keys may not contain '-': ${invalidFlags.join(', ')}`);\n\t}\n};\n\nconst reportUnknownFlags = unknownFlags => {\n\tconsole.error([\n\t\t`Unknown flag${unknownFlags.length > 1 ? 's' : ''}`,\n\t\t...unknownFlags,\n\t].join('\\n'));\n};\n\nconst buildParserFlags = ({flags, booleanDefault}) => {\n\tconst parserFlags = {};\n\n\tfor (const [flagKey, flagValue] of Object.entries(flags)) {\n\t\tconst flag = {...flagValue};\n\n\t\tif (\n\t\t\ttypeof booleanDefault !== 'undefined'\n\t\t\t\t&& flag.type === 'boolean'\n\t\t\t\t&& !Object.prototype.hasOwnProperty.call(flag, 'default')\n\t\t) {\n\t\t\tflag.default = flag.isMultiple ? [booleanDefault] : booleanDefault;\n\t\t}\n\n\t\tif (flag.isMultiple) {\n\t\t\tflag.type = flag.type ? `${flag.type}-array` : 'array';\n\t\t\tflag.default = flag.default ?? [];\n\t\t\tdelete flag.isMultiple;\n\t\t}\n\n\t\tparserFlags[flagKey] = flag;\n\t}\n\n\treturn parserFlags;\n};\n\nconst validateFlags = (flags, options) => {\n\tfor (const [flagKey, flagValue] of Object.entries(options.flags)) {\n\t\tif (flagKey !== '--' && !flagValue.isMultiple && Array.isArray(flags[flagKey])) {\n\t\t\tthrow new Error(`The flag --${flagKey} can only be set once.`);\n\t\t}\n\t}\n};\n\n/* eslint complexity: off */\nconst meow = (helpText, options = {}) => {\n\tif (typeof helpText !== 'string') {\n\t\toptions = helpText;\n\t\thelpText = '';\n\t}\n\n\tif (!options.importMeta?.url) {\n\t\tthrow new TypeError('The `importMeta` option is required. Its value must be `import.meta`.');\n\t}\n\n\tconst foundPackage = readPackageUpSync({\n\t\tcwd: dirname(fileURLToPath(options.importMeta.url)),\n\t\tnormalize: false,\n\t});\n\n\toptions = {\n\t\tpkg: foundPackage ? foundPackage.packageJson : {},\n\t\targv: process.argv.slice(2),\n\t\tflags: {},\n\t\tinferType: false,\n\t\tinput: 'string',\n\t\thelp: helpText,\n\t\tautoHelp: true,\n\t\tautoVersion: true,\n\t\tbooleanDefault: false,\n\t\thardRejection: true,\n\t\tallowUnknownFlags: true,\n\t\t...options,\n\t};\n\n\tif (options.hardRejection) {\n\t\thardRejection();\n\t}\n\n\tvalidateOptions(options);\n\tlet parserOptions = {\n\t\targuments: options.input,\n\t\t...buildParserFlags(options),\n\t};\n\n\tparserOptions = decamelizeKeys(parserOptions, '-', {exclude: ['stopEarly', '--']});\n\n\tif (options.inferType) {\n\t\tdelete parserOptions.arguments;\n\t}\n\n\t// Add --help and --version to known flags if autoHelp or autoVersion are set\n\tif (!options.allowUnknownFlags) {\n\t\tif (options.autoHelp && !parserOptions.help) {\n\t\t\tparserOptions.help = {type: 'boolean'};\n\t\t}\n\n\t\tif (options.autoVersion && !parserOptions.version) {\n\t\t\tparserOptions.version = {type: 'boolean'};\n\t\t}\n\t}\n\n\tparserOptions = buildParserOptions(parserOptions);\n\n\tparserOptions.configuration = {\n\t\t...parserOptions.configuration,\n\t\t'greedy-arrays': false,\n\t};\n\n\tif (parserOptions['--']) {\n\t\tparserOptions.configuration['populate--'] = true;\n\t}\n\n\tif (!options.allowUnknownFlags) {\n\t\t// Collect unknown options in `argv._` to be checked later.\n\t\tparserOptions.configuration['unknown-options-as-args'] = true;\n\t}\n\n\tconst {pkg: package_} = options;\n\tconst argv = parseArguments(options.argv, parserOptions);\n\tlet help = redent(trimNewlines((options.help ?? '').replace(/\\t+\\n*$/, '')), 2);\n\n\tnormalizePackageData(package_);\n\n\tprocess.title = package_.bin ? Object.keys(package_.bin)[0] : package_.name;\n\n\tlet {description} = options;\n\tif (!description && description !== false) {\n\t\t({description} = package_);\n\t}\n\n\thelp = (description ? `\\n ${description}\\n` : '') + (help ? `\\n${help}\\n` : '\\n');\n\n\tconst showHelp = code => {\n\t\tconsole.log(help);\n\t\tprocess.exit(typeof code === 'number' ? code : 2);\n\t};\n\n\tconst showVersion = () => {\n\t\tconsole.log(typeof options.version === 'string' ? options.version : package_.version);\n\t\tprocess.exit(0);\n\t};\n\n\tif (argv._.length === 0 && options.argv.length === 1) {\n\t\tif (argv.version === true && options.autoVersion) {\n\t\t\tshowVersion();\n\t\t} else if (argv.help === true && options.autoHelp) {\n\t\t\tshowHelp(0);\n\t\t}\n\t}\n\n\tconst input = argv._;\n\tdelete argv._;\n\n\tif (!options.allowUnknownFlags) {\n\t\tconst unknownFlags = input.filter(item => typeof item === 'string' && item.startsWith('-'));\n\t\tif (unknownFlags.length > 0) {\n\t\t\treportUnknownFlags(unknownFlags);\n\t\t\tprocess.exit(2);\n\t\t}\n\t}\n\n\tconst flags = camelCaseKeys(argv, {exclude: ['--', /^\\w$/]});\n\tconst unnormalizedFlags = {...flags};\n\n\tvalidateFlags(flags, options);\n\n\tfor (const flagValue of Object.values(options.flags)) {\n\t\tdelete flags[flagValue.alias];\n\t}\n\n\tconst missingRequiredFlags = getMissingRequiredFlags(options.flags, flags, input);\n\tif (missingRequiredFlags.length > 0) {\n\t\treportMissingRequiredFlags(missingRequiredFlags);\n\t\tprocess.exit(2);\n\t}\n\n\treturn {\n\t\tinput,\n\t\tflags,\n\t\tunnormalizedFlags,\n\t\tpkg: package_,\n\t\thelp,\n\t\tshowHelp,\n\t\tshowVersion,\n\t};\n};\n\nexport default meow;\n"],"names":["decamelize","readPackageUpSync","dirname","fileURLToPath","hardRejection","decamelizeKeys","buildParserOptions","parseArguments","redent","trimNewlines","normalizePackageData","camelCaseKeys"],"mappings":";;;;;;;;;;;;;;AAcA,MAAM,gBAAgB,CAAC,UAAU,cAAc,eAAe,UAAU;AACvE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BAAwB,QAAQ,OAAO,OAAO,KAAK;AAChF,MAAI,qBAAqB,SAAS,GAAG;AACpC,+BAA2B,oBAAoB;AAC/C,YAAQ,KAAK,CAAC;AAAA,EACd;AAED,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA,KAAK;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACA;;","x_google_ignoreList":[0]}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ const _commonjsHelpers = require("../../_virtual/_commonjsHelpers.cjs");
3
+ const require$$0 = require("stream");
4
+ const { PassThrough } = require$$0;
5
+ var mergeStream = function() {
6
+ var sources = [];
7
+ var output = new PassThrough({ objectMode: true });
8
+ output.setMaxListeners(0);
9
+ output.add = add;
10
+ output.isEmpty = isEmpty;
11
+ output.on("unpipe", remove);
12
+ Array.prototype.slice.call(arguments).forEach(add);
13
+ return output;
14
+ function add(source) {
15
+ if (Array.isArray(source)) {
16
+ source.forEach(add);
17
+ return this;
18
+ }
19
+ sources.push(source);
20
+ source.once("end", remove.bind(null, source));
21
+ source.once("error", output.emit.bind(output, "error"));
22
+ source.pipe(output, { end: false });
23
+ return this;
24
+ }
25
+ function isEmpty() {
26
+ return sources.length == 0;
27
+ }
28
+ function remove(source) {
29
+ sources = sources.filter(function(it) {
30
+ return it !== source;
31
+ });
32
+ if (!sources.length && output.readable) {
33
+ output.end();
34
+ }
35
+ }
36
+ };
37
+ const mergeStream$1 = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(mergeStream);
38
+ module.exports = mergeStream$1;
39
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/merge-stream/index.js"],"sourcesContent":["'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n"],"names":[],"mappings":";;;AAEA,MAAM,EAAE,YAAa,IAAG;AAExB,IAAA,cAAiB,WAA0B;AACzC,MAAI,UAAU,CAAE;AAChB,MAAI,SAAU,IAAI,YAAY,EAAC,YAAY,KAAI,CAAC;AAEhD,SAAO,gBAAgB,CAAC;AAExB,SAAO,MAAM;AACb,SAAO,UAAU;AAEjB,SAAO,GAAG,UAAU,MAAM;AAE1B,QAAM,UAAU,MAAM,KAAK,SAAS,EAAE,QAAQ,GAAG;AAEjD,SAAO;AAEP,WAAS,IAAK,QAAQ;AACpB,QAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,aAAO,QAAQ,GAAG;AAClB,aAAO;AAAA,IACR;AAED,YAAQ,KAAK,MAAM;AACnB,WAAO,KAAK,OAAO,OAAO,KAAK,MAAM,MAAM,CAAC;AAC5C,WAAO,KAAK,SAAS,OAAO,KAAK,KAAK,QAAQ,OAAO,CAAC;AACtD,WAAO,KAAK,QAAQ,EAAC,KAAK,MAAK,CAAC;AAChC,WAAO;AAAA,EACR;AAED,WAAS,UAAW;AAClB,WAAO,QAAQ,UAAU;AAAA,EAC1B;AAED,WAAS,OAAQ,QAAQ;AACvB,cAAU,QAAQ,OAAO,SAAU,IAAI;AAAE,aAAO,OAAO;AAAA,KAAQ;AAC/D,QAAI,CAAC,QAAQ,UAAU,OAAO,UAAU;AAAE,aAAO;IAAO;AAAA,EACzD;AACH;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,40 @@
1
+ import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
2
+ import require$$0 from "stream";
3
+ const { PassThrough } = require$$0;
4
+ var mergeStream = function() {
5
+ var sources = [];
6
+ var output = new PassThrough({ objectMode: true });
7
+ output.setMaxListeners(0);
8
+ output.add = add;
9
+ output.isEmpty = isEmpty;
10
+ output.on("unpipe", remove);
11
+ Array.prototype.slice.call(arguments).forEach(add);
12
+ return output;
13
+ function add(source) {
14
+ if (Array.isArray(source)) {
15
+ source.forEach(add);
16
+ return this;
17
+ }
18
+ sources.push(source);
19
+ source.once("end", remove.bind(null, source));
20
+ source.once("error", output.emit.bind(output, "error"));
21
+ source.pipe(output, { end: false });
22
+ return this;
23
+ }
24
+ function isEmpty() {
25
+ return sources.length == 0;
26
+ }
27
+ function remove(source) {
28
+ sources = sources.filter(function(it) {
29
+ return it !== source;
30
+ });
31
+ if (!sources.length && output.readable) {
32
+ output.end();
33
+ }
34
+ }
35
+ };
36
+ const mergeStream$1 = /* @__PURE__ */ getDefaultExportFromCjs(mergeStream);
37
+ export {
38
+ mergeStream$1 as default
39
+ };
40
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/merge-stream/index.js"],"sourcesContent":["'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n"],"names":[],"mappings":";;AAEA,MAAM,EAAE,YAAa,IAAG;AAExB,IAAA,cAAiB,WAA0B;AACzC,MAAI,UAAU,CAAE;AAChB,MAAI,SAAU,IAAI,YAAY,EAAC,YAAY,KAAI,CAAC;AAEhD,SAAO,gBAAgB,CAAC;AAExB,SAAO,MAAM;AACb,SAAO,UAAU;AAEjB,SAAO,GAAG,UAAU,MAAM;AAE1B,QAAM,UAAU,MAAM,KAAK,SAAS,EAAE,QAAQ,GAAG;AAEjD,SAAO;AAEP,WAAS,IAAK,QAAQ;AACpB,QAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,aAAO,QAAQ,GAAG;AAClB,aAAO;AAAA,IACR;AAED,YAAQ,KAAK,MAAM;AACnB,WAAO,KAAK,OAAO,OAAO,KAAK,MAAM,MAAM,CAAC;AAC5C,WAAO,KAAK,SAAS,OAAO,KAAK,KAAK,QAAQ,OAAO,CAAC;AACtD,WAAO,KAAK,QAAQ,EAAC,KAAK,MAAK,CAAC;AAChC,WAAO;AAAA,EACR;AAED,WAAS,UAAW;AAClB,WAAO,QAAQ,UAAU;AAAA,EAC1B;AAED,WAAS,OAAQ,QAAQ;AACvB,cAAU,QAAQ,OAAO,SAAU,IAAI;AAAE,aAAO,OAAO;AAAA,KAAQ;AAC/D,QAAI,CAAC,QAAQ,UAAU,OAAO,UAAU;AAAE,aAAO;IAAO;AAAA,EACzD;AACH;;","x_google_ignoreList":[0]}
@@ -4,8 +4,8 @@ const index = require("../error-ex/index.cjs");
4
4
  const index$1 = require('./_node_modules/json-parse-even-better-errors/index.cjs');
5
5
  require("../lines-and-columns/build/index.cjs");
6
6
  require("../@babel/code-frame/lib/index.cjs");
7
- const index$2 = require("../../_virtual/index7.cjs");
8
- const index$3 = require("../../_virtual/index8.cjs");
7
+ const index$2 = require("../../_virtual/index4.cjs");
8
+ const index$3 = require("../../_virtual/index5.cjs");
9
9
  const errorEx = index.errorEx_1;
10
10
  const fallback = index$1.jsonParseEvenBetterErrors;
11
11
  const { default: LinesAndColumns } = index$2.__exports;
@@ -3,8 +3,8 @@ import { e as errorEx_1 } from "../error-ex/index.js";
3
3
  import { j as jsonParseEvenBetterErrors } from './_node_modules/json-parse-even-better-errors/index.js';
4
4
  import "../lines-and-columns/build/index.js";
5
5
  import "../@babel/code-frame/lib/index.js";
6
- import { __exports as build } from "../../_virtual/index7.js";
7
- import { __exports as lib } from "../../_virtual/index8.js";
6
+ import { __exports as build } from "../../_virtual/index4.js";
7
+ import { __exports as lib } from "../../_virtual/index5.js";
8
8
  const errorEx = errorEx_1;
9
9
  const fallback = jsonParseEvenBetterErrors;
10
10
  const { default: LinesAndColumns } = build;