@slicemachine/init 2.10.40-beta.5 → 2.10.40-beta.7

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 (532) hide show
  1. package/dist/SliceMachineInitProcess.cjs +1 -4
  2. package/dist/SliceMachineInitProcess.cjs.map +1 -1
  3. package/dist/SliceMachineInitProcess.js +1 -4
  4. package/dist/SliceMachineInitProcess.js.map +1 -1
  5. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +1 -1
  6. package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -1
  7. package/dist/_node_modules/@babel/code-frame/lib/index.js +1 -1
  8. package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -1
  9. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +12 -24
  10. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -1
  11. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +12 -24
  12. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
  13. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +1 -1
  14. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -1
  15. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +1 -1
  16. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -1
  17. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -1
  18. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -1
  19. package/dist/_node_modules/@babel/highlight/lib/index.cjs +3 -3
  20. package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -1
  21. package/dist/_node_modules/@babel/highlight/lib/index.js +3 -3
  22. package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -1
  23. package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs.map +1 -1
  24. package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js.map +1 -1
  25. package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs.map +1 -1
  26. package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js.map +1 -1
  27. package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs.map +1 -1
  28. package/dist/_node_modules/@nodelib/fs.scandir/out/index.js.map +1 -1
  29. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +5 -5
  30. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs.map +1 -1
  31. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +2 -2
  32. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js.map +1 -1
  33. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs.map +1 -1
  34. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js.map +1 -1
  35. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +4 -4
  36. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs.map +1 -1
  37. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +2 -2
  38. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js.map +1 -1
  39. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +1 -1
  40. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs.map +1 -1
  41. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +1 -1
  42. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js.map +1 -1
  43. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs.map +1 -1
  44. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js.map +1 -1
  45. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs.map +1 -1
  46. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js.map +1 -1
  47. package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs.map +1 -1
  48. package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js.map +1 -1
  49. package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +1 -1
  50. package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs.map +1 -1
  51. package/dist/_node_modules/@nodelib/fs.stat/out/index.js +1 -1
  52. package/dist/_node_modules/@nodelib/fs.stat/out/index.js.map +1 -1
  53. package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs.map +1 -1
  54. package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js.map +1 -1
  55. package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs.map +1 -1
  56. package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js.map +1 -1
  57. package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs.map +1 -1
  58. package/dist/_node_modules/@nodelib/fs.stat/out/settings.js.map +1 -1
  59. package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +2 -2
  60. package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs.map +1 -1
  61. package/dist/_node_modules/@nodelib/fs.walk/out/index.js +2 -2
  62. package/dist/_node_modules/@nodelib/fs.walk/out/index.js.map +1 -1
  63. package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs.map +1 -1
  64. package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js.map +1 -1
  65. package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs.map +1 -1
  66. package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js.map +1 -1
  67. package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs.map +1 -1
  68. package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js.map +1 -1
  69. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs +1 -1
  70. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +1 -1
  71. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js +1 -1
  72. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js.map +1 -1
  73. package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs.map +1 -1
  74. package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js.map +1 -1
  75. package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs.map +1 -1
  76. package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js.map +1 -1
  77. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs +1 -1
  78. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs.map +1 -1
  79. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js +1 -1
  80. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js.map +1 -1
  81. package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs.map +1 -1
  82. package/dist/_node_modules/@nodelib/fs.walk/out/settings.js.map +1 -1
  83. package/dist/_node_modules/braces/index.cjs.map +1 -1
  84. package/dist/_node_modules/braces/index.js.map +1 -1
  85. package/dist/_node_modules/braces/lib/compile.cjs.map +1 -1
  86. package/dist/_node_modules/braces/lib/compile.js.map +1 -1
  87. package/dist/_node_modules/braces/lib/constants.cjs +0 -63
  88. package/dist/_node_modules/braces/lib/constants.cjs.map +1 -1
  89. package/dist/_node_modules/braces/lib/constants.js +0 -63
  90. package/dist/_node_modules/braces/lib/constants.js.map +1 -1
  91. package/dist/_node_modules/braces/lib/expand.cjs +3 -6
  92. package/dist/_node_modules/braces/lib/expand.cjs.map +1 -1
  93. package/dist/_node_modules/braces/lib/expand.js +3 -6
  94. package/dist/_node_modules/braces/lib/expand.js.map +1 -1
  95. package/dist/_node_modules/braces/lib/parse.cjs +4 -8
  96. package/dist/_node_modules/braces/lib/parse.cjs.map +1 -1
  97. package/dist/_node_modules/braces/lib/parse.js +4 -8
  98. package/dist/_node_modules/braces/lib/parse.js.map +1 -1
  99. package/dist/_node_modules/braces/lib/stringify.cjs.map +1 -1
  100. package/dist/_node_modules/braces/lib/stringify.js.map +1 -1
  101. package/dist/_node_modules/braces/lib/utils.cjs +8 -16
  102. package/dist/_node_modules/braces/lib/utils.cjs.map +1 -1
  103. package/dist/_node_modules/braces/lib/utils.js +8 -16
  104. package/dist/_node_modules/braces/lib/utils.js.map +1 -1
  105. package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs.map +1 -1
  106. package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js.map +1 -1
  107. package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -1
  108. package/dist/_node_modules/camelcase-keys/index.js.map +1 -1
  109. package/dist/_node_modules/cross-spawn/index.cjs.map +1 -1
  110. package/dist/_node_modules/cross-spawn/index.js.map +1 -1
  111. package/dist/_node_modules/cross-spawn/lib/enoent.cjs.map +1 -1
  112. package/dist/_node_modules/cross-spawn/lib/enoent.js.map +1 -1
  113. package/dist/_node_modules/cross-spawn/lib/parse.cjs.map +1 -1
  114. package/dist/_node_modules/cross-spawn/lib/parse.js.map +1 -1
  115. package/dist/_node_modules/cross-spawn/lib/util/escape.cjs.map +1 -1
  116. package/dist/_node_modules/cross-spawn/lib/util/escape.js.map +1 -1
  117. package/dist/_node_modules/cross-spawn/lib/util/readShebang.cjs.map +1 -1
  118. package/dist/_node_modules/cross-spawn/lib/util/readShebang.js.map +1 -1
  119. package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.cjs.map +1 -1
  120. package/dist/_node_modules/cross-spawn/lib/util/resolveCommand.js.map +1 -1
  121. package/dist/_node_modules/decamelize/index.cjs +3 -3
  122. package/dist/_node_modules/decamelize/index.cjs.map +1 -1
  123. package/dist/_node_modules/decamelize/index.js +3 -3
  124. package/dist/_node_modules/decamelize/index.js.map +1 -1
  125. package/dist/_node_modules/dir-glob/index.cjs.map +1 -1
  126. package/dist/_node_modules/dir-glob/index.js.map +1 -1
  127. package/dist/_node_modules/error-ex/index.cjs.map +1 -1
  128. package/dist/_node_modules/error-ex/index.js.map +1 -1
  129. package/dist/_node_modules/execa/index.cjs +1 -1
  130. package/dist/_node_modules/execa/index.cjs.map +1 -1
  131. package/dist/_node_modules/execa/index.js +1 -1
  132. package/dist/_node_modules/execa/index.js.map +1 -1
  133. package/dist/_node_modules/execa/lib/command.cjs.map +1 -1
  134. package/dist/_node_modules/execa/lib/command.js.map +1 -1
  135. package/dist/_node_modules/execa/lib/error.cjs.map +1 -1
  136. package/dist/_node_modules/execa/lib/error.js.map +1 -1
  137. package/dist/_node_modules/execa/lib/kill.cjs.map +1 -1
  138. package/dist/_node_modules/execa/lib/kill.js.map +1 -1
  139. package/dist/_node_modules/execa/lib/pipe.cjs.map +1 -1
  140. package/dist/_node_modules/execa/lib/pipe.js.map +1 -1
  141. package/dist/_node_modules/execa/lib/promise.cjs +2 -2
  142. package/dist/_node_modules/execa/lib/promise.cjs.map +1 -1
  143. package/dist/_node_modules/execa/lib/promise.js +2 -2
  144. package/dist/_node_modules/execa/lib/promise.js.map +1 -1
  145. package/dist/_node_modules/execa/lib/stdio.cjs.map +1 -1
  146. package/dist/_node_modules/execa/lib/stdio.js.map +1 -1
  147. package/dist/_node_modules/execa/lib/stream.cjs.map +1 -1
  148. package/dist/_node_modules/execa/lib/stream.js.map +1 -1
  149. package/dist/_node_modules/execa/lib/verbose.cjs.map +1 -1
  150. package/dist/_node_modules/execa/lib/verbose.js.map +1 -1
  151. package/dist/_node_modules/fast-glob/out/index.cjs +5 -5
  152. package/dist/_node_modules/fast-glob/out/index.cjs.map +1 -1
  153. package/dist/_node_modules/fast-glob/out/index.js +5 -5
  154. package/dist/_node_modules/fast-glob/out/index.js.map +1 -1
  155. package/dist/_node_modules/fast-glob/out/managers/patterns.cjs.map +1 -1
  156. package/dist/_node_modules/fast-glob/out/managers/patterns.js.map +1 -1
  157. package/dist/_node_modules/fast-glob/out/managers/tasks.cjs.map +1 -1
  158. package/dist/_node_modules/fast-glob/out/managers/tasks.js.map +1 -1
  159. package/dist/_node_modules/fast-glob/out/providers/async.cjs +5 -5
  160. package/dist/_node_modules/fast-glob/out/providers/async.cjs.map +1 -1
  161. package/dist/_node_modules/fast-glob/out/providers/async.js +5 -5
  162. package/dist/_node_modules/fast-glob/out/providers/async.js.map +1 -1
  163. package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +1 -1
  164. package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs.map +1 -1
  165. package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +1 -1
  166. package/dist/_node_modules/fast-glob/out/providers/filters/deep.js.map +1 -1
  167. package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs.map +1 -1
  168. package/dist/_node_modules/fast-glob/out/providers/filters/entry.js.map +1 -1
  169. package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs.map +1 -1
  170. package/dist/_node_modules/fast-glob/out/providers/filters/error.js.map +1 -1
  171. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs.map +1 -1
  172. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js.map +1 -1
  173. package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs.map +1 -1
  174. package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js.map +1 -1
  175. package/dist/_node_modules/fast-glob/out/providers/provider.cjs +2 -2
  176. package/dist/_node_modules/fast-glob/out/providers/provider.cjs.map +1 -1
  177. package/dist/_node_modules/fast-glob/out/providers/provider.js +2 -2
  178. package/dist/_node_modules/fast-glob/out/providers/provider.js.map +1 -1
  179. package/dist/_node_modules/fast-glob/out/providers/stream.cjs +5 -5
  180. package/dist/_node_modules/fast-glob/out/providers/stream.cjs.map +1 -1
  181. package/dist/_node_modules/fast-glob/out/providers/stream.js +5 -5
  182. package/dist/_node_modules/fast-glob/out/providers/stream.js.map +1 -1
  183. package/dist/_node_modules/fast-glob/out/providers/sync.cjs +5 -5
  184. package/dist/_node_modules/fast-glob/out/providers/sync.cjs.map +1 -1
  185. package/dist/_node_modules/fast-glob/out/providers/sync.js +5 -5
  186. package/dist/_node_modules/fast-glob/out/providers/sync.js.map +1 -1
  187. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs.map +1 -1
  188. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js.map +1 -1
  189. package/dist/_node_modules/fast-glob/out/readers/async.cjs +1 -1
  190. package/dist/_node_modules/fast-glob/out/readers/async.cjs.map +1 -1
  191. package/dist/_node_modules/fast-glob/out/readers/async.js +1 -1
  192. package/dist/_node_modules/fast-glob/out/readers/async.js.map +1 -1
  193. package/dist/_node_modules/fast-glob/out/readers/reader.cjs +1 -1
  194. package/dist/_node_modules/fast-glob/out/readers/reader.cjs.map +1 -1
  195. package/dist/_node_modules/fast-glob/out/readers/reader.js +1 -1
  196. package/dist/_node_modules/fast-glob/out/readers/reader.js.map +1 -1
  197. package/dist/_node_modules/fast-glob/out/readers/stream.cjs +4 -4
  198. package/dist/_node_modules/fast-glob/out/readers/stream.cjs.map +1 -1
  199. package/dist/_node_modules/fast-glob/out/readers/stream.js +4 -4
  200. package/dist/_node_modules/fast-glob/out/readers/stream.js.map +1 -1
  201. package/dist/_node_modules/fast-glob/out/readers/sync.cjs +4 -4
  202. package/dist/_node_modules/fast-glob/out/readers/sync.cjs.map +1 -1
  203. package/dist/_node_modules/fast-glob/out/readers/sync.js +4 -4
  204. package/dist/_node_modules/fast-glob/out/readers/sync.js.map +1 -1
  205. package/dist/_node_modules/fast-glob/out/settings.cjs.map +1 -1
  206. package/dist/_node_modules/fast-glob/out/settings.js.map +1 -1
  207. package/dist/_node_modules/fast-glob/out/utils/array.cjs.map +1 -1
  208. package/dist/_node_modules/fast-glob/out/utils/array.js.map +1 -1
  209. package/dist/_node_modules/fast-glob/out/utils/errno.cjs.map +1 -1
  210. package/dist/_node_modules/fast-glob/out/utils/errno.js.map +1 -1
  211. package/dist/_node_modules/fast-glob/out/utils/fs.cjs.map +1 -1
  212. package/dist/_node_modules/fast-glob/out/utils/fs.js.map +1 -1
  213. package/dist/_node_modules/fast-glob/out/utils/index.cjs.map +1 -1
  214. package/dist/_node_modules/fast-glob/out/utils/index.js.map +1 -1
  215. package/dist/_node_modules/fast-glob/out/utils/path.cjs.map +1 -1
  216. package/dist/_node_modules/fast-glob/out/utils/path.js.map +1 -1
  217. package/dist/_node_modules/fast-glob/out/utils/pattern.cjs.map +1 -1
  218. package/dist/_node_modules/fast-glob/out/utils/pattern.js.map +1 -1
  219. package/dist/_node_modules/fast-glob/out/utils/stream.cjs.map +1 -1
  220. package/dist/_node_modules/fast-glob/out/utils/stream.js.map +1 -1
  221. package/dist/_node_modules/fast-glob/out/utils/string.cjs.map +1 -1
  222. package/dist/_node_modules/fast-glob/out/utils/string.js.map +1 -1
  223. package/dist/_node_modules/fastq/queue.cjs +1 -2
  224. package/dist/_node_modules/fastq/queue.cjs.map +1 -1
  225. package/dist/_node_modules/fastq/queue.js +1 -2
  226. package/dist/_node_modules/fastq/queue.js.map +1 -1
  227. package/dist/_node_modules/fill-range/index.cjs +12 -24
  228. package/dist/_node_modules/fill-range/index.cjs.map +1 -1
  229. package/dist/_node_modules/fill-range/index.js +12 -24
  230. package/dist/_node_modules/fill-range/index.js.map +1 -1
  231. package/dist/_node_modules/get-stream/buffer-stream.cjs.map +1 -1
  232. package/dist/_node_modules/get-stream/buffer-stream.js.map +1 -1
  233. package/dist/_node_modules/get-stream/index.cjs +4 -4
  234. package/dist/_node_modules/get-stream/index.cjs.map +1 -1
  235. package/dist/_node_modules/get-stream/index.js +4 -4
  236. package/dist/_node_modules/get-stream/index.js.map +1 -1
  237. package/dist/_node_modules/glob-parent/index.cjs.map +1 -1
  238. package/dist/_node_modules/glob-parent/index.js.map +1 -1
  239. package/dist/_node_modules/globby/_node_modules/slash/index.cjs.map +1 -1
  240. package/dist/_node_modules/globby/_node_modules/slash/index.js.map +1 -1
  241. package/dist/_node_modules/globby/ignore.cjs.map +1 -1
  242. package/dist/_node_modules/globby/ignore.js.map +1 -1
  243. package/dist/_node_modules/globby/index.cjs.map +1 -1
  244. package/dist/_node_modules/globby/index.js.map +1 -1
  245. package/dist/_node_modules/globby/utilities.cjs.map +1 -1
  246. package/dist/_node_modules/hard-rejection/index.cjs.map +1 -1
  247. package/dist/_node_modules/hard-rejection/index.js.map +1 -1
  248. package/dist/_node_modules/has/_node_modules/function-bind/implementation.cjs.map +1 -1
  249. package/dist/_node_modules/has/_node_modules/function-bind/implementation.js.map +1 -1
  250. package/dist/_node_modules/human-signals/build/src/main.cjs.map +1 -1
  251. package/dist/_node_modules/human-signals/build/src/main.js.map +1 -1
  252. package/dist/_node_modules/human-signals/build/src/signals.cjs.map +1 -1
  253. package/dist/_node_modules/ignore/index.cjs.map +1 -1
  254. package/dist/_node_modules/ignore/index.js.map +1 -1
  255. package/dist/_node_modules/is-arrayish/index.cjs.map +1 -1
  256. package/dist/_node_modules/is-arrayish/index.js.map +1 -1
  257. package/dist/_node_modules/is-core-module/index.cjs.map +1 -1
  258. package/dist/_node_modules/is-core-module/index.js.map +1 -1
  259. package/dist/_node_modules/is-extglob/index.cjs +1 -2
  260. package/dist/_node_modules/is-extglob/index.cjs.map +1 -1
  261. package/dist/_node_modules/is-extglob/index.js +1 -2
  262. package/dist/_node_modules/is-extglob/index.js.map +1 -1
  263. package/dist/_node_modules/is-glob/index.cjs.map +1 -1
  264. package/dist/_node_modules/is-glob/index.js.map +1 -1
  265. package/dist/_node_modules/is-plain-obj/index.cjs.map +1 -1
  266. package/dist/_node_modules/is-plain-obj/index.js.map +1 -1
  267. package/dist/_node_modules/isexe/index.cjs.map +1 -1
  268. package/dist/_node_modules/isexe/index.js.map +1 -1
  269. package/dist/_node_modules/isexe/mode.cjs +1 -2
  270. package/dist/_node_modules/isexe/mode.cjs.map +1 -1
  271. package/dist/_node_modules/isexe/mode.js +1 -2
  272. package/dist/_node_modules/isexe/mode.js.map +1 -1
  273. package/dist/_node_modules/isexe/windows.cjs +1 -2
  274. package/dist/_node_modules/isexe/windows.cjs.map +1 -1
  275. package/dist/_node_modules/isexe/windows.js +1 -2
  276. package/dist/_node_modules/isexe/windows.js.map +1 -1
  277. package/dist/_node_modules/js-tokens/index.cjs +9 -17
  278. package/dist/_node_modules/js-tokens/index.cjs.map +1 -1
  279. package/dist/_node_modules/js-tokens/index.js +9 -17
  280. package/dist/_node_modules/js-tokens/index.js.map +1 -1
  281. package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -1
  282. package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -1
  283. package/dist/_node_modules/kind-of/index.cjs +15 -30
  284. package/dist/_node_modules/kind-of/index.cjs.map +1 -1
  285. package/dist/_node_modules/kind-of/index.js +15 -30
  286. package/dist/_node_modules/kind-of/index.js.map +1 -1
  287. package/dist/_node_modules/lines-and-columns/build/index.cjs +1 -1
  288. package/dist/_node_modules/lines-and-columns/build/index.cjs.map +1 -1
  289. package/dist/_node_modules/lines-and-columns/build/index.js +1 -1
  290. package/dist/_node_modules/lines-and-columns/build/index.js.map +1 -1
  291. package/dist/_node_modules/locate-path/index.cjs.map +1 -1
  292. package/dist/_node_modules/locate-path/index.js.map +1 -1
  293. package/dist/_node_modules/lru-cache/index.cjs +1 -2
  294. package/dist/_node_modules/lru-cache/index.cjs.map +1 -1
  295. package/dist/_node_modules/lru-cache/index.js +1 -2
  296. package/dist/_node_modules/lru-cache/index.js.map +1 -1
  297. package/dist/_node_modules/map-obj/index.cjs.map +1 -1
  298. package/dist/_node_modules/map-obj/index.js.map +1 -1
  299. package/dist/_node_modules/meow/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs.map +1 -1
  300. package/dist/_node_modules/meow/_node_modules/decamelize-keys/_node_modules/decamelize/index.js.map +1 -1
  301. package/dist/_node_modules/meow/_node_modules/decamelize-keys/index.cjs.map +1 -1
  302. package/dist/_node_modules/meow/_node_modules/decamelize-keys/index.js.map +1 -1
  303. package/dist/_node_modules/meow/_node_modules/find-up/index.cjs +1 -6
  304. package/dist/_node_modules/meow/_node_modules/find-up/index.cjs.map +1 -1
  305. package/dist/_node_modules/meow/_node_modules/find-up/index.js +1 -6
  306. package/dist/_node_modules/meow/_node_modules/find-up/index.js.map +1 -1
  307. package/dist/_node_modules/meow/_node_modules/hosted-git-info/_node_modules/lru-cache/index.cjs +17 -34
  308. package/dist/_node_modules/meow/_node_modules/hosted-git-info/_node_modules/lru-cache/index.cjs.map +1 -1
  309. package/dist/_node_modules/meow/_node_modules/hosted-git-info/_node_modules/lru-cache/index.js +17 -34
  310. package/dist/_node_modules/meow/_node_modules/hosted-git-info/_node_modules/lru-cache/index.js.map +1 -1
  311. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs.map +1 -1
  312. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js.map +1 -1
  313. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs.map +1 -1
  314. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js.map +1 -1
  315. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +7 -7
  316. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs.map +1 -1
  317. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +1 -1
  318. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js.map +1 -1
  319. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -1
  320. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -1
  321. package/dist/_node_modules/meow/_node_modules/map-obj/index.cjs.map +1 -1
  322. package/dist/_node_modules/meow/_node_modules/map-obj/index.js.map +1 -1
  323. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -1
  324. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -1
  325. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs +4 -4
  326. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -1
  327. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js +4 -4
  328. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js.map +1 -1
  329. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -1
  330. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -1
  331. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -1
  332. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js.map +1 -1
  333. package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs.map +1 -1
  334. package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js.map +1 -1
  335. package/dist/_node_modules/meow/_node_modules/trim-newlines/index.cjs.map +1 -1
  336. package/dist/_node_modules/meow/_node_modules/trim-newlines/index.js.map +1 -1
  337. package/dist/_node_modules/meow/index.cjs.map +1 -1
  338. package/dist/_node_modules/meow/index.js.map +1 -1
  339. package/dist/_node_modules/merge-stream/index.cjs.map +1 -1
  340. package/dist/_node_modules/merge-stream/index.js.map +1 -1
  341. package/dist/_node_modules/merge2/index.cjs.map +1 -1
  342. package/dist/_node_modules/merge2/index.js.map +1 -1
  343. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/constants.cjs.map +1 -1
  344. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/constants.js.map +1 -1
  345. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/parse.cjs +8 -16
  346. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/parse.cjs.map +1 -1
  347. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/parse.js +8 -16
  348. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/parse.js.map +1 -1
  349. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/picomatch.cjs +3 -6
  350. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/picomatch.cjs.map +1 -1
  351. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/picomatch.js +3 -6
  352. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/picomatch.js.map +1 -1
  353. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/scan.cjs +3 -6
  354. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/scan.cjs.map +1 -1
  355. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/scan.js +3 -6
  356. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/scan.js.map +1 -1
  357. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/utils.cjs +2 -4
  358. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/utils.cjs.map +1 -1
  359. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/utils.js +2 -4
  360. package/dist/_node_modules/micromatch/_node_modules/picomatch/lib/utils.js.map +1 -1
  361. package/dist/_node_modules/micromatch/index.cjs +10 -16
  362. package/dist/_node_modules/micromatch/index.cjs.map +1 -1
  363. package/dist/_node_modules/micromatch/index.js +6 -12
  364. package/dist/_node_modules/micromatch/index.js.map +1 -1
  365. package/dist/_node_modules/mimic-fn/index.cjs.map +1 -1
  366. package/dist/_node_modules/mimic-fn/index.js.map +1 -1
  367. package/dist/_node_modules/min-indent/index.cjs.map +1 -1
  368. package/dist/_node_modules/min-indent/index.js.map +1 -1
  369. package/dist/_node_modules/minimist-options/_node_modules/arrify/index.cjs.map +1 -1
  370. package/dist/_node_modules/minimist-options/_node_modules/arrify/index.js.map +1 -1
  371. package/dist/_node_modules/minimist-options/index.cjs.map +1 -1
  372. package/dist/_node_modules/minimist-options/index.js.map +1 -1
  373. package/dist/_node_modules/npm-run-path/_node_modules/path-key/index.cjs.map +1 -1
  374. package/dist/_node_modules/npm-run-path/_node_modules/path-key/index.js.map +1 -1
  375. package/dist/_node_modules/npm-run-path/index.cjs.map +1 -1
  376. package/dist/_node_modules/npm-run-path/index.js.map +1 -1
  377. package/dist/_node_modules/onetime/index.cjs.map +1 -1
  378. package/dist/_node_modules/onetime/index.js.map +1 -1
  379. package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.cjs +11 -25
  380. package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.cjs.map +1 -1
  381. package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.js +11 -25
  382. package/dist/_node_modules/p-limit/_node_modules/yocto-queue/index.js.map +1 -1
  383. package/dist/_node_modules/p-limit/index.cjs.map +1 -1
  384. package/dist/_node_modules/p-limit/index.js.map +1 -1
  385. package/dist/_node_modules/parse-json/index.cjs +8 -8
  386. package/dist/_node_modules/parse-json/index.cjs.map +1 -1
  387. package/dist/_node_modules/parse-json/index.js +1 -1
  388. package/dist/_node_modules/parse-json/index.js.map +1 -1
  389. package/dist/_node_modules/path-key/index.cjs +1 -1
  390. package/dist/_node_modules/path-key/index.cjs.map +1 -1
  391. package/dist/_node_modules/path-key/index.js +1 -1
  392. package/dist/_node_modules/path-key/index.js.map +1 -1
  393. package/dist/_node_modules/path-type/index.cjs.map +1 -1
  394. package/dist/_node_modules/path-type/index.js.map +1 -1
  395. package/dist/_node_modules/queue-microtask/index.cjs.map +1 -1
  396. package/dist/_node_modules/queue-microtask/index.js.map +1 -1
  397. package/dist/_node_modules/quick-lru/index.cjs.map +1 -1
  398. package/dist/_node_modules/quick-lru/index.js.map +1 -1
  399. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -1
  400. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -1
  401. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -1
  402. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -1
  403. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +6 -6
  404. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -1
  405. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +1 -1
  406. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -1
  407. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -1
  408. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -1
  409. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +4 -4
  410. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -1
  411. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +4 -4
  412. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -1
  413. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -1
  414. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -1
  415. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -1
  416. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -1
  417. package/dist/_node_modules/read-pkg/index.cjs.map +1 -1
  418. package/dist/_node_modules/read-pkg/index.js.map +1 -1
  419. package/dist/_node_modules/redent/_node_modules/indent-string/index.cjs.map +1 -1
  420. package/dist/_node_modules/redent/_node_modules/indent-string/index.js.map +1 -1
  421. package/dist/_node_modules/redent/_node_modules/strip-indent/index.cjs.map +1 -1
  422. package/dist/_node_modules/redent/_node_modules/strip-indent/index.js.map +1 -1
  423. package/dist/_node_modules/reusify/reusify.cjs.map +1 -1
  424. package/dist/_node_modules/reusify/reusify.js.map +1 -1
  425. package/dist/_node_modules/run-parallel/index.cjs +3 -6
  426. package/dist/_node_modules/run-parallel/index.cjs.map +1 -1
  427. package/dist/_node_modules/run-parallel/index.js +3 -6
  428. package/dist/_node_modules/run-parallel/index.js.map +1 -1
  429. package/dist/_node_modules/shebang-command/index.cjs.map +1 -1
  430. package/dist/_node_modules/shebang-command/index.js.map +1 -1
  431. package/dist/_node_modules/signal-exit/index.cjs.map +1 -1
  432. package/dist/_node_modules/signal-exit/index.js.map +1 -1
  433. package/dist/_node_modules/signal-exit/signals.cjs +1 -2
  434. package/dist/_node_modules/signal-exit/signals.cjs.map +1 -1
  435. package/dist/_node_modules/signal-exit/signals.js +1 -2
  436. package/dist/_node_modules/signal-exit/signals.js.map +1 -1
  437. package/dist/_node_modules/spdx-correct/index.cjs +1 -2
  438. package/dist/_node_modules/spdx-correct/index.cjs.map +1 -1
  439. package/dist/_node_modules/spdx-correct/index.js +1 -2
  440. package/dist/_node_modules/spdx-correct/index.js.map +1 -1
  441. package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -1
  442. package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -1
  443. package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -1
  444. package/dist/_node_modules/spdx-expression-parse/scan.cjs +4 -4
  445. package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -1
  446. package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -1
  447. package/dist/_node_modules/strip-final-newline/index.cjs.map +1 -1
  448. package/dist/_node_modules/strip-final-newline/index.js.map +1 -1
  449. package/dist/_node_modules/to-regex-range/_node_modules/is-number/index.cjs.map +1 -1
  450. package/dist/_node_modules/to-regex-range/_node_modules/is-number/index.js.map +1 -1
  451. package/dist/_node_modules/to-regex-range/index.cjs +1 -2
  452. package/dist/_node_modules/to-regex-range/index.cjs.map +1 -1
  453. package/dist/_node_modules/to-regex-range/index.js +1 -2
  454. package/dist/_node_modules/to-regex-range/index.js.map +1 -1
  455. package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -1
  456. package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -1
  457. package/dist/_node_modules/which/which.cjs.map +1 -1
  458. package/dist/_node_modules/which/which.js.map +1 -1
  459. package/dist/_node_modules/yallist/iterator.cjs +1 -2
  460. package/dist/_node_modules/yallist/iterator.cjs.map +1 -1
  461. package/dist/_node_modules/yallist/iterator.js +1 -2
  462. package/dist/_node_modules/yallist/iterator.js.map +1 -1
  463. package/dist/_node_modules/yallist/yallist.cjs.map +1 -1
  464. package/dist/_node_modules/yallist/yallist.js.map +1 -1
  465. package/dist/_node_modules/yargs-parser/build/lib/index.cjs +5 -5
  466. package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +1 -1
  467. package/dist/_node_modules/yargs-parser/build/lib/index.js +1 -1
  468. package/dist/_node_modules/yargs-parser/build/lib/index.js.map +1 -1
  469. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +1 -1
  470. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +1 -1
  471. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -1
  472. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -1
  473. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -1
  474. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +1 -1
  475. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +1 -1
  476. package/dist/_virtual/index10.cjs +2 -2
  477. package/dist/_virtual/index10.js +2 -2
  478. package/dist/_virtual/index13.cjs +2 -2
  479. package/dist/_virtual/index13.js +2 -2
  480. package/dist/_virtual/index15.cjs +2 -2
  481. package/dist/_virtual/index15.js +2 -2
  482. package/dist/_virtual/index16.cjs +2 -2
  483. package/dist/_virtual/index16.js +2 -2
  484. package/dist/_virtual/index17.cjs +2 -2
  485. package/dist/_virtual/index17.js +2 -2
  486. package/dist/_virtual/index18.cjs +2 -2
  487. package/dist/_virtual/index18.js +2 -2
  488. package/dist/_virtual/index19.cjs +2 -2
  489. package/dist/_virtual/index19.js +2 -2
  490. package/dist/_virtual/index8.cjs +2 -2
  491. package/dist/_virtual/index8.js +2 -2
  492. package/dist/cli.cjs.map +1 -1
  493. package/dist/cli.js.map +1 -1
  494. package/dist/constants.cjs +1 -1
  495. package/dist/constants.cjs.map +1 -1
  496. package/dist/constants.js +1 -1
  497. package/dist/constants.js.map +1 -1
  498. package/dist/lib/assertExists.cjs.map +1 -1
  499. package/dist/lib/assertExists.js.map +1 -1
  500. package/dist/lib/framework.cjs.map +1 -1
  501. package/dist/lib/framework.js.map +1 -1
  502. package/dist/lib/getExecuteCommand.cjs.map +1 -1
  503. package/dist/lib/getExecuteCommand.js.map +1 -1
  504. package/dist/lib/getRunScriptCommand.cjs.map +1 -1
  505. package/dist/lib/getRunScriptCommand.js.map +1 -1
  506. package/dist/lib/listr.cjs.map +1 -1
  507. package/dist/lib/listr.js.map +1 -1
  508. package/dist/lib/prompt.cjs.map +1 -1
  509. package/dist/lib/prompt.js.map +1 -1
  510. package/dist/lib/repositoryDomain.cjs.map +1 -1
  511. package/dist/lib/repositoryDomain.js.map +1 -1
  512. package/dist/lib/sentryErrorHandlers.cjs +0 -4
  513. package/dist/lib/sentryErrorHandlers.cjs.map +1 -1
  514. package/dist/lib/sentryErrorHandlers.js +0 -4
  515. package/dist/lib/sentryErrorHandlers.js.map +1 -1
  516. package/dist/lib/setupSentry.cjs +0 -4
  517. package/dist/lib/setupSentry.cjs.map +1 -1
  518. package/dist/lib/setupSentry.js +0 -4
  519. package/dist/lib/setupSentry.js.map +1 -1
  520. package/dist/lib/starters.cjs.map +1 -1
  521. package/dist/lib/starters.js.map +1 -1
  522. package/dist/lib/updateSentryContext.cjs +0 -4
  523. package/dist/lib/updateSentryContext.cjs.map +1 -1
  524. package/dist/lib/updateSentryContext.js +0 -4
  525. package/dist/lib/updateSentryContext.js.map +1 -1
  526. package/dist/packages/init/package.json.cjs +2 -2
  527. package/dist/packages/init/package.json.js +2 -2
  528. package/package.json +4 -4
  529. package/dist/lib/checkIsSentryEnabled.cjs +0 -5
  530. package/dist/lib/checkIsSentryEnabled.cjs.map +0 -1
  531. package/dist/lib/checkIsSentryEnabled.js +0 -5
  532. package/dist/lib/checkIsSentryEnabled.js.map +0 -1
@@ -1 +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,YAAY,GAAG;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]}
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,W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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,YAAY,GAAG;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]}
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,EACpC;AAEI,SAAO,OAAO;AAClB;AAEA,SAAS,cAAc,QAAQ;AAC3B,MAAI,CAAC,OAAO;AACR,WAAO;AAAA,EACf;AAGI,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,YAAY,GAAG;AACpD,WAAO,UAAU,QAAQ,IAAI,WAAW;AACxC,WAAO,QAAQ,2BAA2B;AAAA,EAClD;AAEI,SAAO;AACX;AAEA,SAAS,MAAM,SAAS,MAAM,SAAS;AAEnC,MAAI,QAAQ,CAAC,MAAM,QAAQ,IAAI,GAAG;AAC9B,cAAU;AACV,WAAO;AAAA,EACf;AAEI,SAAO,OAAO,KAAK,MAAM,CAAC,IAAI,CAAA;AAC9B,YAAU,OAAO,OAAO,CAAA,GAAI,OAAO;AAGnC,QAAM,SAAS;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA,MAAM;AAAA,IACN,UAAU;AAAA,MACN;AAAA,MACA;AAAA,IACZ;AAAA,EACA;AAGI,SAAO,QAAQ,QAAQ,SAAS,cAAc,MAAM;AACxD;AAEA,IAAA,UAAiB;","x_google_ignoreList":[0]}
@@ -1 +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,GAAG;AAMZ,QAAM,IAAI,QAAQ,WAAW,SAAS;AAKtC,QAAM,IAAI,QAAQ,UAAU,MAAM;AAKlC,QAAM,IAAI,GAAG;AAGb,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]}
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,GAAG;AAMZ,QAAM,IAAI,QAAQ,WAAW,SAAS;AAKtC,QAAM,IAAI,QAAQ,UAAU,MAAM;AAKlC,QAAM,IAAI,GAAG;AAGb,QAAM,IAAI,QAAQ,iBAAiB,KAAK;AAGxC,MAAI,uBAAuB;AACvB,UAAM,IAAI,QAAQ,iBAAiB,KAAK;AAAA,EAChD;AAEI,SAAO;AACX;AAEAA,OAAAA,UAAA,UAAyB;AACzBA,OAAAA,UAAA,WAA0B;;","x_google_ignoreList":[0]}
@@ -1 +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,GAAG;AAMZ,QAAM,IAAI,QAAQ,WAAW,SAAS;AAKtC,QAAM,IAAI,QAAQ,UAAU,MAAM;AAKlC,QAAM,IAAI,GAAG;AAGb,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]}
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,GAAG;AAMZ,QAAM,IAAI,QAAQ,WAAW,SAAS;AAKtC,QAAM,IAAI,QAAQ,UAAU,MAAM;AAKlC,QAAM,IAAI,GAAG;AAGb,QAAM,IAAI,QAAQ,iBAAiB,KAAK;AAGxC,MAAI,uBAAuB;AACvB,UAAM,IAAI,QAAQ,iBAAiB,KAAK;AAAA,EAChD;AAEI,SAAO;AACX;AAEA,QAAA,UAAyB;AACzB,QAAA,WAA0B;","x_google_ignoreList":[0]}
@@ -1 +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,GAAG;AAAA,EAAe;AAG3B,SAAO,eAAe,OAAO,SAAQ,CAAE;AAC3C;AAEA,IAAA,gBAAiB;;","x_google_ignoreList":[0]}
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,GAAG;AAAA,EAAA;AAGZ,SAAO,eAAe,OAAO,UAAU;AAC3C;AAEA,IAAA,gBAAiB;;","x_google_ignoreList":[0]}
@@ -1 +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,GAAG;AAAA,EAAe;AAG3B,SAAO,eAAe,OAAO,SAAQ,CAAE;AAC3C;AAEA,IAAA,gBAAiB;","x_google_ignoreList":[0]}
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,GAAG;AAAA,EAAA;AAGZ,SAAO,eAAe,OAAO,UAAU;AAC3C;AAEA,IAAA,gBAAiB;","x_google_ignoreList":[0]}
@@ -1 +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,KAAK;AAAA,IAEb;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,GAAG;AAAA,EAEhB,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
+ {"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,IAAG;AACvB,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,IAC5C,SAAiB,KAAK;AAAA,IAEtB;AAAA,EACA;AAEI,MAAI;AAEJ,MAAI;AACA,eAAW,MAAM,KAAK,OAAO,SAAS;AAAA,MAClC,MAAM,IAAI,WAAW,EAAE,IAAG,CAAE,CAAC;AAAA,MAC7B,SAAS,iBAAiB,KAAK,YAAY;AAAA,IACvD,CAAS;AAAA,EACT,SAAa,GAAG;AAAA,EAEhB,UAAK;AACG,QAAI,iBAAiB;AACjB,cAAQ,MAAM,GAAG;AAAA,IAC7B;AAAA,EACA;AAII,MAAI,UAAU;AACV,eAAW,KAAK,QAAQ,eAAe,OAAO,QAAQ,MAAM,IAAI,QAAQ;AAAA,EAChF;AAEI,SAAO;AACX;AAEA,SAAS,eAAe,QAAQ;AAC5B,SAAO,sBAAsB,MAAM,KAAK,sBAAsB,QAAQ,IAAI;AAC9E;AAEA,IAAA,mBAAiB;;","x_google_ignoreList":[0]}
@@ -1 +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,KAAK;AAAA,IAEb;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,GAAG;AAAA,EAEhB,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
+ {"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,IAAG;AACvB,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,IAC5C,SAAiB,KAAK;AAAA,IAEtB;AAAA,EACA;AAEI,MAAI;AAEJ,MAAI;AACA,eAAW,MAAM,KAAK,OAAO,SAAS;AAAA,MAClC,MAAM,IAAI,WAAW,EAAE,IAAG,CAAE,CAAC;AAAA,MAC7B,SAAS,iBAAiB,KAAK,YAAY;AAAA,IACvD,CAAS;AAAA,EACT,SAAa,GAAG;AAAA,EAEhB,UAAK;AACG,QAAI,iBAAiB;AACjB,cAAQ,MAAM,GAAG;AAAA,IAC7B;AAAA,EACA;AAII,MAAI,UAAU;AACV,eAAW,KAAK,QAAQ,eAAe,OAAO,QAAQ,MAAM,IAAI,QAAQ;AAAA,EAChF;AAEI,SAAO;AACX;AAEA,SAAS,eAAe,QAAQ;AAC5B,SAAO,sBAAsB,MAAM,KAAK,sBAAsB,QAAQ,IAAI;AAC9E;AAEA,IAAA,mBAAiB;","x_google_ignoreList":[0]}
@@ -5,7 +5,7 @@ const handlePreserveConsecutiveUppercase = (decamelized, separator) => {
5
5
  ($0) => $0.toLowerCase()
6
6
  );
7
7
  return decamelized.replace(
8
- /(\p{Uppercase_Letter}+)(\p{Uppercase_Letter}\p{Lowercase_Letter}+)/gu,
8
+ new RegExp("(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)", "gu"),
9
9
  (_, $1, $2) => $1 + separator + $2.toLowerCase()
10
10
  );
11
11
  };
@@ -23,14 +23,14 @@ function decamelize(text, {
23
23
  }
24
24
  const replacement = `$1${separator}$2`;
25
25
  const decamelized = text.replace(
26
- /([\p{Lowercase_Letter}\d])(\p{Uppercase_Letter})/gu,
26
+ new RegExp("([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})", "gu"),
27
27
  replacement
28
28
  );
29
29
  if (preserveConsecutiveUppercase) {
30
30
  return handlePreserveConsecutiveUppercase(decamelized, separator);
31
31
  }
32
32
  return decamelized.replace(
33
- /(\p{Uppercase_Letter})(\p{Uppercase_Letter}\p{Lowercase_Letter}+)/gu,
33
+ new RegExp("(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)", "gu"),
34
34
  replacement
35
35
  ).toLowerCase();
36
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/decamelize/index.js"],"sourcesContent":["const handlePreserveConsecutiveUppercase = (decamelized, separator) => {\n\t// Lowercase all single uppercase characters. As we\n\t// want to preserve uppercase sequences, we cannot\n\t// simply lowercase the separated string at the end.\n\t// `data_For_USACounties` → `data_for_USACounties`\n\tdecamelized = decamelized.replace(\n\t\t/((?<![\\p{Uppercase_Letter}\\d])[\\p{Uppercase_Letter}\\d](?![\\p{Uppercase_Letter}\\d]))/gu,\n\t\t$0 => $0.toLowerCase(),\n\t);\n\n\t// Remaining uppercase sequences will be separated from lowercase sequences.\n\t// `data_For_USACounties` → `data_for_USA_counties`\n\treturn decamelized.replace(\n\t\t/(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t(_, $1, $2) => $1 + separator + $2.toLowerCase(),\n\t);\n};\n\nexport default function decamelize(\n\ttext,\n\t{\n\t\tseparator = '_',\n\t\tpreserveConsecutiveUppercase = false,\n\t} = {},\n) {\n\tif (!(typeof text === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError(\n\t\t\t'The `text` and `separator` arguments should be of type `string`',\n\t\t);\n\t}\n\n\t// Checking the second character is done later on. Therefore process shorter strings here.\n\tif (text.length < 2) {\n\t\treturn preserveConsecutiveUppercase ? text : text.toLowerCase();\n\t}\n\n\tconst replacement = `$1${separator}$2`;\n\n\t// Split lowercase sequences followed by uppercase character.\n\t// `dataForUSACounties` → `data_For_USACounties`\n\t// `myURLstring → `my_URLstring`\n\tconst decamelized = text.replace(\n\t\t/([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})/gu,\n\t\treplacement,\n\t);\n\n\tif (preserveConsecutiveUppercase) {\n\t\treturn handlePreserveConsecutiveUppercase(decamelized, separator);\n\t}\n\n\t// Split multiple uppercase characters followed by one or more lowercase characters.\n\t// `my_URLstring` → `my_ur_lstring`\n\treturn decamelized\n\t\t.replace(\n\t\t\t/(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t\treplacement,\n\t\t)\n\t\t.toLowerCase();\n}\n"],"names":[],"mappings":";AAAA,MAAM,qCAAqC,CAAC,aAAa,cAAc;AAKtE,gBAAc,YAAY;AAAA,IACzB,WAAuF,6FAAA,IAAA;AAAA,IACvF,QAAM,GAAG,YAAa;AAAA,EACxB;AAIC,SAAO,YAAY;AAAA,IAClB;AAAA,IACA,CAAC,GAAG,IAAI,OAAO,KAAK,YAAY,GAAG,YAAa;AAAA,EAClD;AACA;AAEe,SAAS,WACvB,MACA;AAAA,EACC,YAAY;AAAA,EACZ,+BAA+B;AACjC,IAAK,CAAE,GACL;AACD,MAAI,EAAE,OAAO,SAAS,YAAY,OAAO,cAAc,WAAW;AACjE,UAAM,IAAI;AAAA,MACT;AAAA,IACH;AAAA,EACE;AAGD,MAAI,KAAK,SAAS,GAAG;AACpB,WAAO,+BAA+B,OAAO,KAAK,YAAW;AAAA,EAC7D;AAED,QAAM,cAAc,KAAK,SAAS;AAKlC,QAAM,cAAc,KAAK;AAAA,IACxB;AAAA,IACA;AAAA,EACF;AAEC,MAAI,8BAA8B;AACjC,WAAO,mCAAmC,aAAa,SAAS;AAAA,EAChE;AAID,SAAO,YACL;AAAA,IACA;AAAA,IACA;AAAA,EACA,EACA;AACH;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/decamelize/index.js"],"sourcesContent":["const handlePreserveConsecutiveUppercase = (decamelized, separator) => {\n\t// Lowercase all single uppercase characters. As we\n\t// want to preserve uppercase sequences, we cannot\n\t// simply lowercase the separated string at the end.\n\t// `data_For_USACounties` → `data_for_USACounties`\n\tdecamelized = decamelized.replace(\n\t\t/((?<![\\p{Uppercase_Letter}\\d])[\\p{Uppercase_Letter}\\d](?![\\p{Uppercase_Letter}\\d]))/gu,\n\t\t$0 => $0.toLowerCase(),\n\t);\n\n\t// Remaining uppercase sequences will be separated from lowercase sequences.\n\t// `data_For_USACounties` → `data_for_USA_counties`\n\treturn decamelized.replace(\n\t\t/(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t(_, $1, $2) => $1 + separator + $2.toLowerCase(),\n\t);\n};\n\nexport default function decamelize(\n\ttext,\n\t{\n\t\tseparator = '_',\n\t\tpreserveConsecutiveUppercase = false,\n\t} = {},\n) {\n\tif (!(typeof text === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError(\n\t\t\t'The `text` and `separator` arguments should be of type `string`',\n\t\t);\n\t}\n\n\t// Checking the second character is done later on. Therefore process shorter strings here.\n\tif (text.length < 2) {\n\t\treturn preserveConsecutiveUppercase ? text : text.toLowerCase();\n\t}\n\n\tconst replacement = `$1${separator}$2`;\n\n\t// Split lowercase sequences followed by uppercase character.\n\t// `dataForUSACounties` → `data_For_USACounties`\n\t// `myURLstring → `my_URLstring`\n\tconst decamelized = text.replace(\n\t\t/([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})/gu,\n\t\treplacement,\n\t);\n\n\tif (preserveConsecutiveUppercase) {\n\t\treturn handlePreserveConsecutiveUppercase(decamelized, separator);\n\t}\n\n\t// Split multiple uppercase characters followed by one or more lowercase characters.\n\t// `my_URLstring` → `my_ur_lstring`\n\treturn decamelized\n\t\t.replace(\n\t\t\t/(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t\treplacement,\n\t\t)\n\t\t.toLowerCase();\n}\n"],"names":[],"mappings":";AAAA,MAAM,qCAAqC,CAAC,aAAa,cAAc;AAKtE,gBAAc,YAAY;AAAA,IACzB,WAAA,6FAAA,IAAuF;AAAA,IACvF,QAAM,GAAG,YAAW;AAAA,EACtB;AAIC,SAAO,YAAY;AAAA,IAClB,WAAA,yEAAA,IAAsE;AAAA,IACtE,CAAC,GAAG,IAAI,OAAO,KAAK,YAAY,GAAG,YAAW;AAAA,EAChD;AACA;AAEe,SAAS,WACvB,MACA;AAAA,EACC,YAAY;AAAA,EACZ,+BAA+B;AACjC,IAAK,CAAA,GACH;AACD,MAAI,EAAE,OAAO,SAAS,YAAY,OAAO,cAAc,WAAW;AACjE,UAAM,IAAI;AAAA,MACT;AAAA,IACH;AAAA,EACC;AAGA,MAAI,KAAK,SAAS,GAAG;AACpB,WAAO,+BAA+B,OAAO,KAAK,YAAW;AAAA,EAC9D;AAEA,QAAM,cAAc,KAAK,SAAS;AAKlC,QAAM,cAAc,KAAK;AAAA,IACxB,WAAA,uDAAA,IAAoD;AAAA,IACpD;AAAA,EACF;AAEC,MAAI,8BAA8B;AACjC,WAAO,mCAAmC,aAAa,SAAS;AAAA,EACjE;AAIA,SAAO,YACL;AAAA,IACA,WAAA,wEAAA,IAAqE;AAAA,IACrE;AAAA,EACH,EACG,YAAW;AACd;;","x_google_ignoreList":[0]}
@@ -4,7 +4,7 @@ const handlePreserveConsecutiveUppercase = (decamelized, separator) => {
4
4
  ($0) => $0.toLowerCase()
5
5
  );
6
6
  return decamelized.replace(
7
- /(\p{Uppercase_Letter}+)(\p{Uppercase_Letter}\p{Lowercase_Letter}+)/gu,
7
+ new RegExp("(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)", "gu"),
8
8
  (_, $1, $2) => $1 + separator + $2.toLowerCase()
9
9
  );
10
10
  };
@@ -22,14 +22,14 @@ function decamelize(text, {
22
22
  }
23
23
  const replacement = `$1${separator}$2`;
24
24
  const decamelized = text.replace(
25
- /([\p{Lowercase_Letter}\d])(\p{Uppercase_Letter})/gu,
25
+ new RegExp("([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})", "gu"),
26
26
  replacement
27
27
  );
28
28
  if (preserveConsecutiveUppercase) {
29
29
  return handlePreserveConsecutiveUppercase(decamelized, separator);
30
30
  }
31
31
  return decamelized.replace(
32
- /(\p{Uppercase_Letter})(\p{Uppercase_Letter}\p{Lowercase_Letter}+)/gu,
32
+ new RegExp("(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)", "gu"),
33
33
  replacement
34
34
  ).toLowerCase();
35
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/decamelize/index.js"],"sourcesContent":["const handlePreserveConsecutiveUppercase = (decamelized, separator) => {\n\t// Lowercase all single uppercase characters. As we\n\t// want to preserve uppercase sequences, we cannot\n\t// simply lowercase the separated string at the end.\n\t// `data_For_USACounties` → `data_for_USACounties`\n\tdecamelized = decamelized.replace(\n\t\t/((?<![\\p{Uppercase_Letter}\\d])[\\p{Uppercase_Letter}\\d](?![\\p{Uppercase_Letter}\\d]))/gu,\n\t\t$0 => $0.toLowerCase(),\n\t);\n\n\t// Remaining uppercase sequences will be separated from lowercase sequences.\n\t// `data_For_USACounties` → `data_for_USA_counties`\n\treturn decamelized.replace(\n\t\t/(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t(_, $1, $2) => $1 + separator + $2.toLowerCase(),\n\t);\n};\n\nexport default function decamelize(\n\ttext,\n\t{\n\t\tseparator = '_',\n\t\tpreserveConsecutiveUppercase = false,\n\t} = {},\n) {\n\tif (!(typeof text === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError(\n\t\t\t'The `text` and `separator` arguments should be of type `string`',\n\t\t);\n\t}\n\n\t// Checking the second character is done later on. Therefore process shorter strings here.\n\tif (text.length < 2) {\n\t\treturn preserveConsecutiveUppercase ? text : text.toLowerCase();\n\t}\n\n\tconst replacement = `$1${separator}$2`;\n\n\t// Split lowercase sequences followed by uppercase character.\n\t// `dataForUSACounties` → `data_For_USACounties`\n\t// `myURLstring → `my_URLstring`\n\tconst decamelized = text.replace(\n\t\t/([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})/gu,\n\t\treplacement,\n\t);\n\n\tif (preserveConsecutiveUppercase) {\n\t\treturn handlePreserveConsecutiveUppercase(decamelized, separator);\n\t}\n\n\t// Split multiple uppercase characters followed by one or more lowercase characters.\n\t// `my_URLstring` → `my_ur_lstring`\n\treturn decamelized\n\t\t.replace(\n\t\t\t/(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t\treplacement,\n\t\t)\n\t\t.toLowerCase();\n}\n"],"names":[],"mappings":"AAAA,MAAM,qCAAqC,CAAC,aAAa,cAAc;AAKtE,gBAAc,YAAY;AAAA,IACzB,WAAuF,6FAAA,IAAA;AAAA,IACvF,QAAM,GAAG,YAAa;AAAA,EACxB;AAIC,SAAO,YAAY;AAAA,IAClB;AAAA,IACA,CAAC,GAAG,IAAI,OAAO,KAAK,YAAY,GAAG,YAAa;AAAA,EAClD;AACA;AAEe,SAAS,WACvB,MACA;AAAA,EACC,YAAY;AAAA,EACZ,+BAA+B;AACjC,IAAK,CAAE,GACL;AACD,MAAI,EAAE,OAAO,SAAS,YAAY,OAAO,cAAc,WAAW;AACjE,UAAM,IAAI;AAAA,MACT;AAAA,IACH;AAAA,EACE;AAGD,MAAI,KAAK,SAAS,GAAG;AACpB,WAAO,+BAA+B,OAAO,KAAK,YAAW;AAAA,EAC7D;AAED,QAAM,cAAc,KAAK,SAAS;AAKlC,QAAM,cAAc,KAAK;AAAA,IACxB;AAAA,IACA;AAAA,EACF;AAEC,MAAI,8BAA8B;AACjC,WAAO,mCAAmC,aAAa,SAAS;AAAA,EAChE;AAID,SAAO,YACL;AAAA,IACA;AAAA,IACA;AAAA,EACA,EACA;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/decamelize/index.js"],"sourcesContent":["const handlePreserveConsecutiveUppercase = (decamelized, separator) => {\n\t// Lowercase all single uppercase characters. As we\n\t// want to preserve uppercase sequences, we cannot\n\t// simply lowercase the separated string at the end.\n\t// `data_For_USACounties` → `data_for_USACounties`\n\tdecamelized = decamelized.replace(\n\t\t/((?<![\\p{Uppercase_Letter}\\d])[\\p{Uppercase_Letter}\\d](?![\\p{Uppercase_Letter}\\d]))/gu,\n\t\t$0 => $0.toLowerCase(),\n\t);\n\n\t// Remaining uppercase sequences will be separated from lowercase sequences.\n\t// `data_For_USACounties` → `data_for_USA_counties`\n\treturn decamelized.replace(\n\t\t/(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t(_, $1, $2) => $1 + separator + $2.toLowerCase(),\n\t);\n};\n\nexport default function decamelize(\n\ttext,\n\t{\n\t\tseparator = '_',\n\t\tpreserveConsecutiveUppercase = false,\n\t} = {},\n) {\n\tif (!(typeof text === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError(\n\t\t\t'The `text` and `separator` arguments should be of type `string`',\n\t\t);\n\t}\n\n\t// Checking the second character is done later on. Therefore process shorter strings here.\n\tif (text.length < 2) {\n\t\treturn preserveConsecutiveUppercase ? text : text.toLowerCase();\n\t}\n\n\tconst replacement = `$1${separator}$2`;\n\n\t// Split lowercase sequences followed by uppercase character.\n\t// `dataForUSACounties` → `data_For_USACounties`\n\t// `myURLstring → `my_URLstring`\n\tconst decamelized = text.replace(\n\t\t/([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})/gu,\n\t\treplacement,\n\t);\n\n\tif (preserveConsecutiveUppercase) {\n\t\treturn handlePreserveConsecutiveUppercase(decamelized, separator);\n\t}\n\n\t// Split multiple uppercase characters followed by one or more lowercase characters.\n\t// `my_URLstring` → `my_ur_lstring`\n\treturn decamelized\n\t\t.replace(\n\t\t\t/(\\p{Uppercase_Letter})(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu,\n\t\t\treplacement,\n\t\t)\n\t\t.toLowerCase();\n}\n"],"names":[],"mappings":"AAAA,MAAM,qCAAqC,CAAC,aAAa,cAAc;AAKtE,gBAAc,YAAY;AAAA,IACzB,WAAA,6FAAA,IAAuF;AAAA,IACvF,QAAM,GAAG,YAAW;AAAA,EACtB;AAIC,SAAO,YAAY;AAAA,IAClB,WAAA,yEAAA,IAAsE;AAAA,IACtE,CAAC,GAAG,IAAI,OAAO,KAAK,YAAY,GAAG,YAAW;AAAA,EAChD;AACA;AAEe,SAAS,WACvB,MACA;AAAA,EACC,YAAY;AAAA,EACZ,+BAA+B;AACjC,IAAK,CAAA,GACH;AACD,MAAI,EAAE,OAAO,SAAS,YAAY,OAAO,cAAc,WAAW;AACjE,UAAM,IAAI;AAAA,MACT;AAAA,IACH;AAAA,EACC;AAGA,MAAI,KAAK,SAAS,GAAG;AACpB,WAAO,+BAA+B,OAAO,KAAK,YAAW;AAAA,EAC9D;AAEA,QAAM,cAAc,KAAK,SAAS;AAKlC,QAAM,cAAc,KAAK;AAAA,IACxB,WAAA,uDAAA,IAAoD;AAAA,IACpD;AAAA,EACF;AAEC,MAAI,8BAA8B;AACjC,WAAO,mCAAmC,aAAa,SAAS;AAAA,EACjE;AAIA,SAAO,YACL;AAAA,IACA,WAAA,wEAAA,IAAqE;AAAA,IACrE;AAAA,EACH,EACG,YAAW;AACd;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/dir-glob/index.js"],"sourcesContent":["'use strict';\nconst path = require('path');\nconst pathType = require('path-type');\n\nconst getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0];\n\nconst getPath = (filepath, cwd) => {\n\tconst pth = filepath[0] === '!' ? filepath.slice(1) : filepath;\n\treturn path.isAbsolute(pth) ? pth : path.join(cwd, pth);\n};\n\nconst addExtensions = (file, extensions) => {\n\tif (path.extname(file)) {\n\t\treturn `**/${file}`;\n\t}\n\n\treturn `**/${file}.${getExtensions(extensions)}`;\n};\n\nconst getGlob = (directory, options) => {\n\tif (options.files && !Array.isArray(options.files)) {\n\t\tthrow new TypeError(`Expected \\`files\\` to be of type \\`Array\\` but received type \\`${typeof options.files}\\``);\n\t}\n\n\tif (options.extensions && !Array.isArray(options.extensions)) {\n\t\tthrow new TypeError(`Expected \\`extensions\\` to be of type \\`Array\\` but received type \\`${typeof options.extensions}\\``);\n\t}\n\n\tif (options.files && options.extensions) {\n\t\treturn options.files.map(x => path.posix.join(directory, addExtensions(x, options.extensions)));\n\t}\n\n\tif (options.files) {\n\t\treturn options.files.map(x => path.posix.join(directory, `**/${x}`));\n\t}\n\n\tif (options.extensions) {\n\t\treturn [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];\n\t}\n\n\treturn [path.posix.join(directory, '**')];\n};\n\nmodule.exports = async (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = await Promise.all([].concat(input).map(async x => {\n\t\tconst isDirectory = await pathType.isDirectory(getPath(x, options.cwd));\n\t\treturn isDirectory ? getGlob(x, options) : x;\n\t}));\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n\nmodule.exports.sync = (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = [].concat(input).map(x => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n"],"names":["require$$1","dirGlobModule"],"mappings":";;;;;;AACA,MAAM,OAAO;AACb,MAAM,WAAWA,QAAAA;AAEjB,MAAM,gBAAgB,gBAAc,WAAW,SAAS,IAAI,IAAI,WAAW,KAAK,GAAG,CAAC,MAAM,WAAW,CAAC;AAEtG,MAAM,UAAU,CAAC,UAAU,QAAQ;AAClC,QAAM,MAAM,SAAS,CAAC,MAAM,MAAM,SAAS,MAAM,CAAC,IAAI;AACtD,SAAO,KAAK,WAAW,GAAG,IAAI,MAAM,KAAK,KAAK,KAAK,GAAG;AACvD;AAEA,MAAM,gBAAgB,CAAC,MAAM,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AAS,YAAY,QAAQ,GAAG,QAAQ,GAAG,CAAC;AACtE,WAAO,cAAc,QAAQ,GAAG,OAAO,IAAI;AAAA,EAC3C,CAAA,CAAC;AAEF,SAAO,CAAE,EAAC,OAAO,MAAM,CAAE,GAAE,KAAK;AACjC;AAEAA,MAAA,SAAA,QAAA,OAAsB,CAAC,OAAO,YAAY;AACzC,YAAU;AAAA,IACT,KAAK,QAAQ,IAAK;AAAA,IAClB,GAAG;AAAA,EACL;AAEC,MAAI,OAAO,QAAQ,QAAQ,UAAU;AACpC,UAAM,IAAI,UAAU,iEAAiE,OAAO,QAAQ,GAAG,IAAI;AAAA,EAC3G;AAED,QAAM,QAAQ,CAAE,EAAC,OAAO,KAAK,EAAE,IAAI,OAAK,SAAS,gBAAgB,QAAQ,GAAG,QAAQ,GAAG,CAAC,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC;AAEnH,SAAO,CAAE,EAAC,OAAO,MAAM,CAAE,GAAE,KAAK;AACjC;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/dir-glob/index.js"],"sourcesContent":["'use strict';\nconst path = require('path');\nconst pathType = require('path-type');\n\nconst getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0];\n\nconst getPath = (filepath, cwd) => {\n\tconst pth = filepath[0] === '!' ? filepath.slice(1) : filepath;\n\treturn path.isAbsolute(pth) ? pth : path.join(cwd, pth);\n};\n\nconst addExtensions = (file, extensions) => {\n\tif (path.extname(file)) {\n\t\treturn `**/${file}`;\n\t}\n\n\treturn `**/${file}.${getExtensions(extensions)}`;\n};\n\nconst getGlob = (directory, options) => {\n\tif (options.files && !Array.isArray(options.files)) {\n\t\tthrow new TypeError(`Expected \\`files\\` to be of type \\`Array\\` but received type \\`${typeof options.files}\\``);\n\t}\n\n\tif (options.extensions && !Array.isArray(options.extensions)) {\n\t\tthrow new TypeError(`Expected \\`extensions\\` to be of type \\`Array\\` but received type \\`${typeof options.extensions}\\``);\n\t}\n\n\tif (options.files && options.extensions) {\n\t\treturn options.files.map(x => path.posix.join(directory, addExtensions(x, options.extensions)));\n\t}\n\n\tif (options.files) {\n\t\treturn options.files.map(x => path.posix.join(directory, `**/${x}`));\n\t}\n\n\tif (options.extensions) {\n\t\treturn [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];\n\t}\n\n\treturn [path.posix.join(directory, '**')];\n};\n\nmodule.exports = async (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = await Promise.all([].concat(input).map(async x => {\n\t\tconst isDirectory = await pathType.isDirectory(getPath(x, options.cwd));\n\t\treturn isDirectory ? getGlob(x, options) : x;\n\t}));\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n\nmodule.exports.sync = (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = [].concat(input).map(x => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n"],"names":["require$$1","dirGlobModule"],"mappings":";;;;;;AACA,MAAM,OAAO;AACb,MAAM,WAAWA,QAAAA;AAEjB,MAAM,gBAAgB,gBAAc,WAAW,SAAS,IAAI,IAAI,WAAW,KAAK,GAAG,CAAC,MAAM,WAAW,CAAC;AAEtG,MAAM,UAAU,CAAC,UAAU,QAAQ;AAClC,QAAM,MAAM,SAAS,CAAC,MAAM,MAAM,SAAS,MAAM,CAAC,IAAI;AACtD,SAAO,KAAK,WAAW,GAAG,IAAI,MAAM,KAAK,KAAK,K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AAK,EAAE,IAAI,OAAM,MAAK;AAC/D,UAAM,cAAc,MAAM,SAAS,YAAY,QAAQ,GAAG,QAAQ,GAAG,CAAC;AACtE,WAAO,cAAc,QAAQ,GAAG,OAAO,IAAI;AAAA,EAC7C,CAAE,CAAC;AAEF,SAAO,CAAA,EAAG,OAAO,MAAM,CAAA,GAAI,KAAK;AACjC;AAEAA,MAAAA,SAAA,QAAA,OAAsB,CAAC,OAAO,YAAY;AACzC,YAAU;AAAA,IACT,KAAK,QAAQ,IAAG;AAAA,IAChB,GAAG;AAAA,EACL;AAEC,MAAI,OAAO,QAAQ,QAAQ,UAAU;AACpC,UAAM,IAAI,UAAU,iEAAiE,OAAO,QAAQ,GAAG,IAAI;AAAA,EAC7G;AAEC,QAAM,QAAQ,CAAA,EAAG,OAAO,KAAK,EAAE,IAAI,OAAK,SAAS,gBAAgB,QAAQ,GAAG,QAAQ,GAAG,CAAC,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC;AAEnH,SAAO,CAAA,EAAG,OAAO,MAAM,CAAA,GAAI,KAAK;AACjC;;;;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/dir-glob/index.js"],"sourcesContent":["'use strict';\nconst path = require('path');\nconst pathType = require('path-type');\n\nconst getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0];\n\nconst getPath = (filepath, cwd) => {\n\tconst pth = filepath[0] === '!' ? filepath.slice(1) : filepath;\n\treturn path.isAbsolute(pth) ? pth : path.join(cwd, pth);\n};\n\nconst addExtensions = (file, extensions) => {\n\tif (path.extname(file)) {\n\t\treturn `**/${file}`;\n\t}\n\n\treturn `**/${file}.${getExtensions(extensions)}`;\n};\n\nconst getGlob = (directory, options) => {\n\tif (options.files && !Array.isArray(options.files)) {\n\t\tthrow new TypeError(`Expected \\`files\\` to be of type \\`Array\\` but received type \\`${typeof options.files}\\``);\n\t}\n\n\tif (options.extensions && !Array.isArray(options.extensions)) {\n\t\tthrow new TypeError(`Expected \\`extensions\\` to be of type \\`Array\\` but received type \\`${typeof options.extensions}\\``);\n\t}\n\n\tif (options.files && options.extensions) {\n\t\treturn options.files.map(x => path.posix.join(directory, addExtensions(x, options.extensions)));\n\t}\n\n\tif (options.files) {\n\t\treturn options.files.map(x => path.posix.join(directory, `**/${x}`));\n\t}\n\n\tif (options.extensions) {\n\t\treturn [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];\n\t}\n\n\treturn [path.posix.join(directory, '**')];\n};\n\nmodule.exports = async (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = await Promise.all([].concat(input).map(async x => {\n\t\tconst isDirectory = await pathType.isDirectory(getPath(x, options.cwd));\n\t\treturn isDirectory ? getGlob(x, options) : x;\n\t}));\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n\nmodule.exports.sync = (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = [].concat(input).map(x => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n"],"names":["require$$1","dirGlobModule"],"mappings":";;;;;AACA,MAAM,OAAO;AACb,MAAM,WAAWA;AAEjB,MAAM,gBAAgB,gBAAc,WAAW,SAAS,IAAI,IAAI,WAAW,KAAK,GAAG,CAAC,MAAM,WAAW,CAAC;AAEtG,MAAM,UAAU,CAAC,UAAU,QAAQ;AAClC,QAAM,MAAM,SAAS,CAAC,MAAM,MAAM,SAAS,MAAM,CAAC,I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,QAAQ,MAAM,QAAQ,IAAI,CAAA,EAAG,OAAO,KAAK,EAAE,IAAI,OAAM,MAAK;AAC/D,UAAM,cAAc,MAAM,SAAS,YAAY,QAAQ,GAAG,QAAQ,GAAG,CAAC;AACtE,WAAO,cAAc,QAAQ,GAAG,OAAO,IAAI;AAAA,EAC3C,CAAA,CAAC;AAEF,SAAO,CAAE,EAAC,OAAO,MAAM,CAAE,GAAE,KAAK;AACjC;AAEAA,UAAA,QAAA,OAAsB,CAAC,OAAO,YAAY;AACzC,YAAU;AAAA,IACT,KAAK,QAAQ,IAAK;AAAA,IAClB,GAAG;AAAA,EACL;AAEC,MAAI,OAAO,QAAQ,QAAQ,UAAU;AACpC,UAAM,IAAI,UAAU,iEAAiE,OAAO,QAAQ,GAAG,IAAI;AAAA,EAC3G;AAED,QAAM,QAAQ,CAAE,EAAC,OAAO,KAAK,EAAE,IAAI,OAAK,SAAS,gBAAgB,QAAQ,GAAG,QAAQ,GAAG,CAAC,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC;AAEnH,SAAO,CAAE,EAAC,OAAO,MAAM,CAAE,GAAE,KAAK;AACjC;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/dir-glob/index.js"],"sourcesContent":["'use strict';\nconst path = require('path');\nconst pathType = require('path-type');\n\nconst getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0];\n\nconst getPath = (filepath, cwd) => {\n\tconst pth = filepath[0] === '!' ? filepath.slice(1) : filepath;\n\treturn path.isAbsolute(pth) ? pth : path.join(cwd, pth);\n};\n\nconst addExtensions = (file, extensions) => {\n\tif (path.extname(file)) {\n\t\treturn `**/${file}`;\n\t}\n\n\treturn `**/${file}.${getExtensions(extensions)}`;\n};\n\nconst getGlob = (directory, options) => {\n\tif (options.files && !Array.isArray(options.files)) {\n\t\tthrow new TypeError(`Expected \\`files\\` to be of type \\`Array\\` but received type \\`${typeof options.files}\\``);\n\t}\n\n\tif (options.extensions && !Array.isArray(options.extensions)) {\n\t\tthrow new TypeError(`Expected \\`extensions\\` to be of type \\`Array\\` but received type \\`${typeof options.extensions}\\``);\n\t}\n\n\tif (options.files && options.extensions) {\n\t\treturn options.files.map(x => path.posix.join(directory, addExtensions(x, options.extensions)));\n\t}\n\n\tif (options.files) {\n\t\treturn options.files.map(x => path.posix.join(directory, `**/${x}`));\n\t}\n\n\tif (options.extensions) {\n\t\treturn [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)];\n\t}\n\n\treturn [path.posix.join(directory, '**')];\n};\n\nmodule.exports = async (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = await Promise.all([].concat(input).map(async x => {\n\t\tconst isDirectory = await pathType.isDirectory(getPath(x, options.cwd));\n\t\treturn isDirectory ? getGlob(x, options) : x;\n\t}));\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n\nmodule.exports.sync = (input, options) => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\t...options\n\t};\n\n\tif (typeof options.cwd !== 'string') {\n\t\tthrow new TypeError(`Expected \\`cwd\\` to be of type \\`string\\` but received type \\`${typeof options.cwd}\\``);\n\t}\n\n\tconst globs = [].concat(input).map(x => pathType.isDirectorySync(getPath(x, options.cwd)) ? getGlob(x, options) : x);\n\n\treturn [].concat.apply([], globs); // eslint-disable-line prefer-spread\n};\n"],"names":["require$$1","dirGlobModule"],"mappings":";;;;;AACA,MAAM,OAAO;AACb,MAAM,WAAWA;AAEjB,MAAM,gBAAgB,gBAAc,WAAW,SAAS,IAAI,IAAI,WAAW,KAAK,GAAG,CAAC,MAAM,WAAW,CAAC;AAEtG,MAAM,UAAU,CAAC,UAAU,QAAQ;AAClC,QAAM,MAAM,SAAS,CAAC,MAAM,M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IAAI;AAAA,EAC7G;AAEC,QAAM,QAAQ,MAAM,QAAQ,IAAI,CAAA,EAAG,OAAO,KAAK,EAAE,IAAI,OAAM,MAAK;AAC/D,UAAM,cAAc,MAAM,SAAS,YAAY,QAAQ,GAAG,QAAQ,GAAG,CAAC;AACtE,WAAO,cAAc,QAAQ,GAAG,OAAO,IAAI;AAAA,EAC7C,CAAE,CAAC;AAEF,SAAO,CAAA,EAAG,OAAO,MAAM,CAAA,GAAI,KAAK;AACjC;AAEAA,UAAA,QAAA,OAAsB,CAAC,OAAO,YAAY;AACzC,YAAU;AAAA,IACT,KAAK,QAAQ,IAAG;AAAA,IAChB,GAAG;AAAA,EACL;AAEC,MAAI,OAAO,QAAQ,QAAQ,UAAU;AACpC,UAAM,IAAI,UAAU,iEAAiE,OAAO,QAAQ,GAAG,IAAI;AAAA,EAC7G;AAEC,QAAM,QAAQ,CAAA,EAAG,OAAO,KAAK,EAAE,IAAI,OAAK,SAAS,gBAAgB,QAAQ,GAAG,QAAQ,GAAG,CAAC,IAAI,QAAQ,GAAG,OAAO,IAAI,CAAC;AAEnH,SAAO,CAAA,EAAG,OAAO,MAAM,CAAA,GAAI,KAAK;AACjC;;;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/error-ex/index.js"],"sourcesContent":["'use strict';\n\nvar util = require('util');\nvar isArrayish = require('is-arrayish');\n\nvar errorEx = function errorEx(name, properties) {\n\tif (!name || name.constructor !== String) {\n\t\tproperties = name || {};\n\t\tname = Error.name;\n\t}\n\n\tvar errorExError = function ErrorEXError(message) {\n\t\tif (!this) {\n\t\t\treturn new ErrorEXError(message);\n\t\t}\n\n\t\tmessage = message instanceof Error\n\t\t\t? message.message\n\t\t\t: (message || this.message);\n\n\t\tError.call(this, message);\n\t\tError.captureStackTrace(this, errorExError);\n\n\t\tthis.name = name;\n\n\t\tObject.defineProperty(this, 'message', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tget: function () {\n\t\t\t\tvar newMessage = message.split(/\\r?\\n/g);\n\n\t\t\t\tfor (var key in properties) {\n\t\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\t\tif ('message' in modifier) {\n\t\t\t\t\t\tnewMessage = modifier.message(this[key], newMessage) || newMessage;\n\t\t\t\t\t\tif (!isArrayish(newMessage)) {\n\t\t\t\t\t\t\tnewMessage = [newMessage];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn newMessage.join('\\n');\n\t\t\t},\n\t\t\tset: function (v) {\n\t\t\t\tmessage = v;\n\t\t\t}\n\t\t});\n\n\t\tvar overwrittenStack = null;\n\n\t\tvar stackDescriptor = Object.getOwnPropertyDescriptor(this, 'stack');\n\t\tvar stackGetter = stackDescriptor.get;\n\t\tvar stackValue = stackDescriptor.value;\n\t\tdelete stackDescriptor.value;\n\t\tdelete stackDescriptor.writable;\n\n\t\tstackDescriptor.set = function (newstack) {\n\t\t\toverwrittenStack = newstack;\n\t\t};\n\n\t\tstackDescriptor.get = function () {\n\t\t\tvar stack = (overwrittenStack || ((stackGetter)\n\t\t\t\t? stackGetter.call(this)\n\t\t\t\t: stackValue)).split(/\\r?\\n+/g);\n\n\t\t\t// starting in Node 7, the stack builder caches the message.\n\t\t\t// just replace it.\n\t\t\tif (!overwrittenStack) {\n\t\t\t\tstack[0] = this.name + ': ' + this.message;\n\t\t\t}\n\n\t\t\tvar lineCount = 1;\n\t\t\tfor (var key in properties) {\n\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\tif ('line' in modifier) {\n\t\t\t\t\tvar line = modifier.line(this[key]);\n\t\t\t\t\tif (line) {\n\t\t\t\t\t\tstack.splice(lineCount++, 0, ' ' + line);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ('stack' in modifier) {\n\t\t\t\t\tmodifier.stack(this[key], stack);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn stack.join('\\n');\n\t\t};\n\n\t\tObject.defineProperty(this, 'stack', stackDescriptor);\n\t};\n\n\tif (Object.setPrototypeOf) {\n\t\tObject.setPrototypeOf(errorExError.prototype, Error.prototype);\n\t\tObject.setPrototypeOf(errorExError, Error);\n\t} else {\n\t\tutil.inherits(errorExError, Error);\n\t}\n\n\treturn errorExError;\n};\n\nerrorEx.append = function (str, def) {\n\treturn {\n\t\tmessage: function (v, message) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\tmessage[0] += ' ' + str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn message;\n\t\t}\n\t};\n};\n\nerrorEx.line = function (str, def) {\n\treturn {\n\t\tline: function (v) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\treturn str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\t};\n};\n\nmodule.exports = errorEx;\n"],"names":["require$$1","errorEx"],"mappings":";;;;AAEA,IAAI,OAAO;AACX,IAAI,aAAaA,MAAAA;AAEjB,IAAI,UAAU,SAASC,SAAQ,MAAM,YAAY;AAChD,MAAI,CAAC,QAAQ,KAAK,gBAAgB,QAAQ;AACzC,iBAAa,QAAQ;AACrB,WAAO,MAAM;AAAA,EACb;AAED,MAAI,eAAe,SAAS,aAAa,SAAS;AACjD,QAAI,CAAC,MAAM;AACV,aAAO,IAAI,aAAa,OAAO;AAAA,IAC/B;AAED,cAAU,mBAAmB,QAC1B,QAAQ,UACP,WAAW,KAAK;AAEpB,UAAM,KAAK,MAAM,OAAO;AACxB,UAAM,kBAAkB,MAAM,YAAY;AAE1C,SAAK,OAAO;AAEZ,WAAO,eAAe,MAAM,WAAW;AAAA,MACtC,cAAc;AAAA,MACd,YAAY;AAAA,MACZ,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C/B;AAAA,MACD;AAED,aAAO,MAAM,KAAK,IAAI;AAAA,IACzB;AAEE,WAAO,eAAe,MAAM,SAAS,eAAe;AAAA,EACtD;AAEC,MAAI,OAAO,gBAAgB;AAC1B,WAAO,eAAe,aAAa,WAAW,MAAM,SAAS;AAC7D,WAAO,eAAe,cAAc,KAAK;AAAA,EAC3C,OAAQ;AACN,SAAK,SAAS,cAAc,KAAK;AAAA,EACjC;AAED,SAAO;AACR;AAEA,QAAQ,SAAS,SAAU,KAAK,KAAK;AACpC,SAAO;AAAA,IACN,SAAS,SAAU,GAAG,SAAS;AAC9B,UAAI,KAAK;AAET,UAAI,GAAG;AACN,gBAAQ,CAAC,KAAK,MAAM,IAAI,QAAQ,MAAM,EAAE,SAAQ,CAAE;AAAA,MAClD;AAED,aAAO;AAAA,IACP;AAAA,EACH;AACA;AAEA,QAAQ,OAAO,SAAU,KAAK,KAAK;AAClC,SAAO;AAAA,IACN,MAAM,SAAU,GAAG;AAClB,UAAI,KAAK;AAET,UAAI,GAAG;AACN,eAAO,IAAI,QAAQ,MAAM,EAAE,SAAU,CAAA;AAAA,MACrC;AAED,aAAO;AAAA,IACP;AAAA,EACH;AACA;AAEA,IAAA,YAAiB;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/error-ex/index.js"],"sourcesContent":["'use strict';\n\nvar util = require('util');\nvar isArrayish = require('is-arrayish');\n\nvar errorEx = function errorEx(name, properties) {\n\tif (!name || name.constructor !== String) {\n\t\tproperties = name || {};\n\t\tname = Error.name;\n\t}\n\n\tvar errorExError = function ErrorEXError(message) {\n\t\tif (!this) {\n\t\t\treturn new ErrorEXError(message);\n\t\t}\n\n\t\tmessage = message instanceof Error\n\t\t\t? message.message\n\t\t\t: (message || this.message);\n\n\t\tError.call(this, message);\n\t\tError.captureStackTrace(this, errorExError);\n\n\t\tthis.name = name;\n\n\t\tObject.defineProperty(this, 'message', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tget: function () {\n\t\t\t\tvar newMessage = message.split(/\\r?\\n/g);\n\n\t\t\t\tfor (var key in properties) {\n\t\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\t\tif ('message' in modifier) {\n\t\t\t\t\t\tnewMessage = modifier.message(this[key], newMessage) || newMessage;\n\t\t\t\t\t\tif (!isArrayish(newMessage)) {\n\t\t\t\t\t\t\tnewMessage = [newMessage];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn newMessage.join('\\n');\n\t\t\t},\n\t\t\tset: function (v) {\n\t\t\t\tmessage = v;\n\t\t\t}\n\t\t});\n\n\t\tvar overwrittenStack = null;\n\n\t\tvar stackDescriptor = Object.getOwnPropertyDescriptor(this, 'stack');\n\t\tvar stackGetter = stackDescriptor.get;\n\t\tvar stackValue = stackDescriptor.value;\n\t\tdelete stackDescriptor.value;\n\t\tdelete stackDescriptor.writable;\n\n\t\tstackDescriptor.set = function (newstack) {\n\t\t\toverwrittenStack = newstack;\n\t\t};\n\n\t\tstackDescriptor.get = function () {\n\t\t\tvar stack = (overwrittenStack || ((stackGetter)\n\t\t\t\t? stackGetter.call(this)\n\t\t\t\t: stackValue)).split(/\\r?\\n+/g);\n\n\t\t\t// starting in Node 7, the stack builder caches the message.\n\t\t\t// just replace it.\n\t\t\tif (!overwrittenStack) {\n\t\t\t\tstack[0] = this.name + ': ' + this.message;\n\t\t\t}\n\n\t\t\tvar lineCount = 1;\n\t\t\tfor (var key in properties) {\n\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\tif ('line' in modifier) {\n\t\t\t\t\tvar line = modifier.line(this[key]);\n\t\t\t\t\tif (line) {\n\t\t\t\t\t\tstack.splice(lineCount++, 0, ' ' + line);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ('stack' in modifier) {\n\t\t\t\t\tmodifier.stack(this[key], stack);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn stack.join('\\n');\n\t\t};\n\n\t\tObject.defineProperty(this, 'stack', stackDescriptor);\n\t};\n\n\tif (Object.setPrototypeOf) {\n\t\tObject.setPrototypeOf(errorExError.prototype, Error.prototype);\n\t\tObject.setPrototypeOf(errorExError, Error);\n\t} else {\n\t\tutil.inherits(errorExError, Error);\n\t}\n\n\treturn errorExError;\n};\n\nerrorEx.append = function (str, def) {\n\treturn {\n\t\tmessage: function (v, message) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\tmessage[0] += ' ' + str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn message;\n\t\t}\n\t};\n};\n\nerrorEx.line = function (str, def) {\n\treturn {\n\t\tline: function (v) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\treturn str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\t};\n};\n\nmodule.exports = errorEx;\n"],"names":["require$$1","errorEx"],"mappings":";;;;AAEA,IAAI,OAAO;AACX,IAAI,aAAaA,MAAAA;AAEjB,IAAI,UAAU,SAASC,SAAQ,MAAM,YAAY;AAChD,MAAI,CAAC,QAAQ,KAAK,gBAAgB,QAAQ;AACzC,iBAAa,QAAQ,CAAA;AACrB,WAAO,MAAM;AAAA,EACf;AAEC,MAAI,eAAe,SAAS,aAAa,SAAS;AACjD,QAAI,CAAC,MAAM;AACV,aAAO,IAAI,aAAa,OAAO;AAAA,IAClC;AAEE,cAAU,mBAAmB,QAC1B,QAAQ,UACP,WAAW,KAAK;AAEpB,UAAM,KAAK,MAAM,OAAO;AACxB,UAAM,kBAAkB,MAAM,YAAY;AAE1C,SAAK,OAAO;AAEZ,WAAO,eAAe,MAAM,WAAW;AAAA,MACtC,cAAc;AAAA,MACd,YAAY;AAA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AAK;AAAA,QACpC;AAAA,MACA;AAEG,aAAO,MAAM,KAAK,IAAI;AAAA,IACzB;AAEE,WAAO,eAAe,MAAM,SAAS,eAAe;AAAA,EACtD;AAEC,MAAI,OAAO,gBAAgB;AAC1B,WAAO,eAAe,aAAa,WAAW,MAAM,SAAS;AAC7D,WAAO,eAAe,cAAc,KAAK;AAAA,EAC3C,OAAQ;AACN,SAAK,SAAS,cAAc,KAAK;AAAA,EACnC;AAEC,SAAO;AACR;AAEA,QAAQ,SAAS,SAAU,KAAK,KAAK;AACpC,SAAO;AAAA,IACN,SAAS,SAAU,GAAG,SAAS;AAC9B,UAAI,KAAK;AAET,UAAI,GAAG;AACN,gBAAQ,CAAC,KAAK,MAAM,IAAI,QAAQ,MAAM,EAAE,UAAU;AAAA,MACtD;AAEG,aAAO;AAAA,IACV;AAAA,EACA;AACA;AAEA,QAAQ,OAAO,SAAU,KAAK,KAAK;AAClC,SAAO;AAAA,IACN,MAAM,SAAU,GAAG;AAClB,UAAI,KAAK;AAET,UAAI,GAAG;AACN,eAAO,IAAI,QAAQ,MAAM,EAAE,SAAQ,CAAE;AAAA,MACzC;AAEG,aAAO;AAAA,IACV;AAAA,EACA;AACA;AAEA,IAAA,YAAiB;;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/error-ex/index.js"],"sourcesContent":["'use strict';\n\nvar util = require('util');\nvar isArrayish = require('is-arrayish');\n\nvar errorEx = function errorEx(name, properties) {\n\tif (!name || name.constructor !== String) {\n\t\tproperties = name || {};\n\t\tname = Error.name;\n\t}\n\n\tvar errorExError = function ErrorEXError(message) {\n\t\tif (!this) {\n\t\t\treturn new ErrorEXError(message);\n\t\t}\n\n\t\tmessage = message instanceof Error\n\t\t\t? message.message\n\t\t\t: (message || this.message);\n\n\t\tError.call(this, message);\n\t\tError.captureStackTrace(this, errorExError);\n\n\t\tthis.name = name;\n\n\t\tObject.defineProperty(this, 'message', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tget: function () {\n\t\t\t\tvar newMessage = message.split(/\\r?\\n/g);\n\n\t\t\t\tfor (var key in properties) {\n\t\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\t\tif ('message' in modifier) {\n\t\t\t\t\t\tnewMessage = modifier.message(this[key], newMessage) || newMessage;\n\t\t\t\t\t\tif (!isArrayish(newMessage)) {\n\t\t\t\t\t\t\tnewMessage = [newMessage];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn newMessage.join('\\n');\n\t\t\t},\n\t\t\tset: function (v) {\n\t\t\t\tmessage = v;\n\t\t\t}\n\t\t});\n\n\t\tvar overwrittenStack = null;\n\n\t\tvar stackDescriptor = Object.getOwnPropertyDescriptor(this, 'stack');\n\t\tvar stackGetter = stackDescriptor.get;\n\t\tvar stackValue = stackDescriptor.value;\n\t\tdelete stackDescriptor.value;\n\t\tdelete stackDescriptor.writable;\n\n\t\tstackDescriptor.set = function (newstack) {\n\t\t\toverwrittenStack = newstack;\n\t\t};\n\n\t\tstackDescriptor.get = function () {\n\t\t\tvar stack = (overwrittenStack || ((stackGetter)\n\t\t\t\t? stackGetter.call(this)\n\t\t\t\t: stackValue)).split(/\\r?\\n+/g);\n\n\t\t\t// starting in Node 7, the stack builder caches the message.\n\t\t\t// just replace it.\n\t\t\tif (!overwrittenStack) {\n\t\t\t\tstack[0] = this.name + ': ' + this.message;\n\t\t\t}\n\n\t\t\tvar lineCount = 1;\n\t\t\tfor (var key in properties) {\n\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\tif ('line' in modifier) {\n\t\t\t\t\tvar line = modifier.line(this[key]);\n\t\t\t\t\tif (line) {\n\t\t\t\t\t\tstack.splice(lineCount++, 0, ' ' + line);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ('stack' in modifier) {\n\t\t\t\t\tmodifier.stack(this[key], stack);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn stack.join('\\n');\n\t\t};\n\n\t\tObject.defineProperty(this, 'stack', stackDescriptor);\n\t};\n\n\tif (Object.setPrototypeOf) {\n\t\tObject.setPrototypeOf(errorExError.prototype, Error.prototype);\n\t\tObject.setPrototypeOf(errorExError, Error);\n\t} else {\n\t\tutil.inherits(errorExError, Error);\n\t}\n\n\treturn errorExError;\n};\n\nerrorEx.append = function (str, def) {\n\treturn {\n\t\tmessage: function (v, message) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\tmessage[0] += ' ' + str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn message;\n\t\t}\n\t};\n};\n\nerrorEx.line = function (str, def) {\n\treturn {\n\t\tline: function (v) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\treturn str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\t};\n};\n\nmodule.exports = errorEx;\n"],"names":["require$$1","errorEx"],"mappings":";;AAEA,IAAI,OAAO;AACX,IAAI,aAAaA;AAEjB,IAAI,UAAU,SAASC,SAAQ,MAAM,YAAY;AAChD,MAAI,CAAC,QAAQ,KAAK,gBAAgB,QAAQ;AACzC,iBAAa,QAAQ;AACrB,WAAO,MAAM;AAAA,EACb;AAED,MAAI,eAAe,SAAS,aAAa,SAAS;AACjD,QAAI,CAAC,MAAM;AACV,aAAO,IAAI,aAAa,OAAO;AAAA,IAC/B;AAED,cAAU,mBAAmB,QAC1B,QAAQ,UACP,WAAW,KAAK;AAEpB,UAAM,KAAK,MAAM,OAAO;AACxB,UAAM,kBAAkB,MAAM,YAAY;AAE1C,SAAK,OAAO;AAEZ,WAAO,eAAe,MAAM,WAAW;AAAA,MACtC,cAAc;AAAA,MACd,YAAY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AAK;AAAA,QAC/B;AAAA,MACD;AAED,aAAO,MAAM,KAAK,IAAI;AAAA,IACzB;AAEE,WAAO,eAAe,MAAM,SAAS,eAAe;AAAA,EACtD;AAEC,MAAI,OAAO,gBAAgB;AAC1B,WAAO,eAAe,aAAa,WAAW,MAAM,SAAS;AAC7D,WAAO,eAAe,cAAc,KAAK;AAAA,EAC3C,OAAQ;AACN,SAAK,SAAS,cAAc,KAAK;AAAA,EACjC;AAED,SAAO;AACR;AAEA,QAAQ,SAAS,SAAU,KAAK,KAAK;AACpC,SAAO;AAAA,IACN,SAAS,SAAU,GAAG,SAAS;AAC9B,UAAI,KAAK;AAET,UAAI,GAAG;AACN,gBAAQ,CAAC,KAAK,MAAM,IAAI,QAAQ,MAAM,EAAE,SAAQ,CAAE;AAAA,MAClD;AAED,aAAO;AAAA,IACP;AAAA,EACH;AACA;AAEA,QAAQ,OAAO,SAAU,KAAK,KAAK;AAClC,SAAO;AAAA,IACN,MAAM,SAAU,GAAG;AAClB,UAAI,KAAK;AAET,UAAI,GAAG;AACN,eAAO,IAAI,QAAQ,MAAM,EAAE,SAAU,CAAA;AAAA,MACrC;AAED,aAAO;AAAA,IACP;AAAA,EACH;AACA;AAEA,IAAA,YAAiB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/error-ex/index.js"],"sourcesContent":["'use strict';\n\nvar util = require('util');\nvar isArrayish = require('is-arrayish');\n\nvar errorEx = function errorEx(name, properties) {\n\tif (!name || name.constructor !== String) {\n\t\tproperties = name || {};\n\t\tname = Error.name;\n\t}\n\n\tvar errorExError = function ErrorEXError(message) {\n\t\tif (!this) {\n\t\t\treturn new ErrorEXError(message);\n\t\t}\n\n\t\tmessage = message instanceof Error\n\t\t\t? message.message\n\t\t\t: (message || this.message);\n\n\t\tError.call(this, message);\n\t\tError.captureStackTrace(this, errorExError);\n\n\t\tthis.name = name;\n\n\t\tObject.defineProperty(this, 'message', {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tget: function () {\n\t\t\t\tvar newMessage = message.split(/\\r?\\n/g);\n\n\t\t\t\tfor (var key in properties) {\n\t\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\t\tif ('message' in modifier) {\n\t\t\t\t\t\tnewMessage = modifier.message(this[key], newMessage) || newMessage;\n\t\t\t\t\t\tif (!isArrayish(newMessage)) {\n\t\t\t\t\t\t\tnewMessage = [newMessage];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn newMessage.join('\\n');\n\t\t\t},\n\t\t\tset: function (v) {\n\t\t\t\tmessage = v;\n\t\t\t}\n\t\t});\n\n\t\tvar overwrittenStack = null;\n\n\t\tvar stackDescriptor = Object.getOwnPropertyDescriptor(this, 'stack');\n\t\tvar stackGetter = stackDescriptor.get;\n\t\tvar stackValue = stackDescriptor.value;\n\t\tdelete stackDescriptor.value;\n\t\tdelete stackDescriptor.writable;\n\n\t\tstackDescriptor.set = function (newstack) {\n\t\t\toverwrittenStack = newstack;\n\t\t};\n\n\t\tstackDescriptor.get = function () {\n\t\t\tvar stack = (overwrittenStack || ((stackGetter)\n\t\t\t\t? stackGetter.call(this)\n\t\t\t\t: stackValue)).split(/\\r?\\n+/g);\n\n\t\t\t// starting in Node 7, the stack builder caches the message.\n\t\t\t// just replace it.\n\t\t\tif (!overwrittenStack) {\n\t\t\t\tstack[0] = this.name + ': ' + this.message;\n\t\t\t}\n\n\t\t\tvar lineCount = 1;\n\t\t\tfor (var key in properties) {\n\t\t\t\tif (!properties.hasOwnProperty(key)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tvar modifier = properties[key];\n\n\t\t\t\tif ('line' in modifier) {\n\t\t\t\t\tvar line = modifier.line(this[key]);\n\t\t\t\t\tif (line) {\n\t\t\t\t\t\tstack.splice(lineCount++, 0, ' ' + line);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ('stack' in modifier) {\n\t\t\t\t\tmodifier.stack(this[key], stack);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn stack.join('\\n');\n\t\t};\n\n\t\tObject.defineProperty(this, 'stack', stackDescriptor);\n\t};\n\n\tif (Object.setPrototypeOf) {\n\t\tObject.setPrototypeOf(errorExError.prototype, Error.prototype);\n\t\tObject.setPrototypeOf(errorExError, Error);\n\t} else {\n\t\tutil.inherits(errorExError, Error);\n\t}\n\n\treturn errorExError;\n};\n\nerrorEx.append = function (str, def) {\n\treturn {\n\t\tmessage: function (v, message) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\tmessage[0] += ' ' + str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn message;\n\t\t}\n\t};\n};\n\nerrorEx.line = function (str, def) {\n\treturn {\n\t\tline: function (v) {\n\t\t\tv = v || def;\n\n\t\t\tif (v) {\n\t\t\t\treturn str.replace('%s', v.toString());\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\t};\n};\n\nmodule.exports = errorEx;\n"],"names":["require$$1","errorEx"],"mappings":";;AAEA,IAAI,OAAO;AACX,IAAI,aAAaA;AAEjB,IAAI,UAAU,SAASC,SAAQ,MAAM,YAAY;AAChD,MAAI,CAAC,QAAQ,KAAK,gBAAgB,QAAQ;AACzC,iBAAa,QAAQ,CAAA;AACrB,WAAO,MAAM;AAAA,EACf;AAEC,MAAI,eAAe,SAAS,aAAa,SAAS;AACjD,QAAI,CAAC,MAAM;AACV,aAAO,IAAI,aAAa,OAAO;AAAA,IAClC;AAEE,cAAU,mBAAmB,QAC1B,QAAQ,UACP,WAAW,KAAK;AAEpB,UAAM,KAAK,MAAM,OAAO;AACxB,UAAM,kBAAkB,MAAM,YAAY;AAE1C,SAAK,OAAO;AAEZ,WAAO,eAAe,MAAM,WAAW;AAAA,MACtC,cAAc;AAAA,MACd,YAAY;AAA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AAK;AAAA,QACpC;AAAA,MACA;AAEG,aAAO,MAAM,KAAK,IAAI;AAAA,IACzB;AAEE,WAAO,eAAe,MAAM,SAAS,eAAe;AAAA,EACtD;AAEC,MAAI,OAAO,gBAAgB;AAC1B,WAAO,eAAe,aAAa,WAAW,MAAM,SAAS;AAC7D,WAAO,eAAe,cAAc,KAAK;AAAA,EAC3C,OAAQ;AACN,SAAK,SAAS,cAAc,KAAK;AAAA,EACnC;AAEC,SAAO;AACR;AAEA,QAAQ,SAAS,SAAU,KAAK,KAAK;AACpC,SAAO;AAAA,IACN,SAAS,SAAU,GAAG,SAAS;AAC9B,UAAI,KAAK;AAET,UAAI,GAAG;AACN,gBAAQ,CAAC,KAAK,MAAM,IAAI,QAAQ,MAAM,EAAE,UAAU;AAAA,MACtD;AAEG,aAAO;AAAA,IACV;AAAA,EACA;AACA;AAEA,QAAQ,OAAO,SAAU,KAAK,KAAK;AAClC,SAAO;AAAA,IACN,MAAM,SAAU,GAAG;AAClB,UAAI,KAAK;AAET,UAAI,GAAG;AACN,eAAO,IAAI,QAAQ,MAAM,EAAE,SAAQ,CAAE;AAAA,MACzC;AAEG,aAAO;AAAA,IACV;AAAA,EACA;AACA;AAEA,IAAA,YAAiB;","x_google_ignoreList":[0]}
@@ -110,7 +110,7 @@ function execa(file, args, options) {
110
110
  escapedCommand,
111
111
  parsed,
112
112
  timedOut,
113
- isCanceled: parsed.options.signal ? parsed.options.signal.aborted : false,
113
+ isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),
114
114
  killed: spawned.killed
115
115
  });
116
116
  if (!parsed.options.reject) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/execa/index.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n"],"names":["npmRunPathEnv","crossSpawn","verboseDefault","normalizeStdio","error","Buffer","stripFinalNewline","command","joinCommand","getEscapedCommand","logCommand","validateTimeout","makeError","mergePromise","getSpawnedPromise","setupTimeout","setExitHandler","spawnedKill","spawnedCancel","getSpawnedResult","onetime","handleInput","makeAllStream","addPipeMethods","parseCommand"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAM,qBAAqB,MAAO,MAAO;AAEzC,MAAM,SAAS,CAAC,EAAC,KAAK,WAAW,WAAW,aAAa,UAAU,SAAQ,MAAM;AAChF,QAAM,MAAM,YAAY,EAAC,GAAG,QAAQ,KAAK,GAAG,UAAS,IAAI;AAEzD,MAAI,aAAa;AAChB,WAAOA,QAAAA,cAAc,EAAC,KAAK,KAAK,UAAU,SAAQ,CAAC;AAAA,EACnD;AAED,SAAO;AACR;AAEA,MAAM,kBAAkB,CAAC,MAAM,MAAM,UAAU,CAAA,MAAO;AACrD,QAAM,SAASC,QAAW,OAAO,MAAM,MAAM,OAAO;AACpD,SAAO,OAAO;AACd,SAAO,OAAO;AACd,YAAU,OAAO;AAEjB,YAAU;AAAA,IACT,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,mBAAmB;AAAA,IACnB,WAAW;AAAA,IACX,aAAa;AAAA,IACb,UAAU,QAAQ,OAAO,QAAQ,IAAK;AAAA,IACtC,UAAU,QAAQ;AAAA,IACl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,aAAa;AAE/CC,SAAAA,YAAY,SAAS,OAAO,OAAO;AAEnC,UAAQ,MAAMC,OAAa,cAAC,SAAS,OAAO,OAAO;AAEnDC,OAAc,eAAC,OAAO;AACtBV,uBAAa,SAAS,iBAAiB;AACvC,SAAO;AACR;AAoGO,SAAS,aAAaN,WAAS,SAAS;AAC9C,QAAM,CAAC,MAAM,GAAG,IAAI,IAAIiB,QAAY,aAACjB,SAAO;AAC5C,SAAO,MAAM,MAAM,MAAM,OAAO;AACjC;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/execa/index.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n"],"names":["npmRunPathEnv","crossSpawn","verboseDefault","normalizeStdio","error","Buffer","stripFinalNewline","command","joinCommand","getEscapedCommand","logCommand","validateTimeout","makeError","mergePromise","getSpawnedPromise","setupTimeout","setExitHandler","spawnedKill","spawnedCancel","getSpawnedResult","onetime","handleInput","makeAllStream","addPipeMethods","parseCommand"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAM,qBAAqB,MAAO,MAAO;AAEzC,MAAM,SAAS,CAAC,EAAC,KAAK,WA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AAa,KAAK,WAAW,MAAM;AAC/C,YAAM,gBAAgBQ,MAAAA,UAAU;AAAA,QACnC,OAAIR;AAAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACJ,SAAIG;AAAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA,YAAY,QAAQ,eAAe,OAAO,QAAQ,SAAS,OAAO,QAAQ,OAAO,UAAU;AAAA,QAC3F,QAAQ,QAAQ;AAAA,MACpB,CAAI;AAED,UAAI,CAAC,OAAO,QAAQ,QAAQ;AAC3B,eAAO;AAAA,MACR;AAEA,YAAM;AAAA,IACP;AAEA,WAAO;AAAA,MACT,SAAGA;AAAAA,MACA;AAAA,MACA,UAAU;AAAA,MACV;AAAA,MACA;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,QAAQ;AAAA,IACX;AAAA,EACC;AAEA,QAAM,oBAAoBa,MAAQ,aAAa;AAE/CC,qBAAY,SAAS,OAAO,OAAO;AAEnC,UAAQ,MAAMC,OAAAA,cAAc,SAAS,OAAO,OAAO;AAEnDC,OAAAA,eAAe,OAAO;AACtBV,UAAAA,aAAa,SAAS,iBAAiB;AACvC,SAAO;AACR;AAoGO,SAAS,aAAaN,WAAS,SAAS;AAC9C,QAAM,CAAC,MAAM,GAAG,IAAI,IAAIiB,QAAAA,aAAajB,SAAO;AAC5C,SAAO,MAAM,MAAM,MAAM,OAAO;AACjC;;;","x_google_ignoreList":[0]}
@@ -108,7 +108,7 @@ function execa(file, args, options) {
108
108
  escapedCommand,
109
109
  parsed,
110
110
  timedOut,
111
- isCanceled: parsed.options.signal ? parsed.options.signal.aborted : false,
111
+ isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),
112
112
  killed: spawned.killed
113
113
  });
114
114
  if (!parsed.options.reject) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/execa/index.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n"],"names":["path"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAM,qBAAqB,MAAO,MAAO;AAEzC,MAAM,SAAS,CAAC,EAAC,KAAK,WAAW,WAAW,aAAa,UAAU,SAAQ,MAAM;AAChF,QAAM,MAAM,YAAY,EAAC,GAAG,QAAQ,KAAK,GAAG,UAAS,IAAI;AAEzD,MAAI,aAAa;AAChB,WAAO,cAAc,EAAC,KAAK,KAAK,UAAU,SAAQ,CAAC;AAAA,EACnD;AAED,SAAO;AACR;AAEA,MAAM,kBAAkB,CAAC,MAAM,MAAM,UAAU,CAAA,MAAO;AACrD,QAAM,SAAS,WAAW,OAAO,MAAM,MAAM,OAAO;AACpD,SAAO,OAAO;AACd,SAAO,OAAO;AACd,YAAU,OAAO;AAEjB,YAAU;AAAA,IACT,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,mBAAmB;AAAA,IACnB,WAAW;AAAA,IACX,aAAa;AAAA,IACb,UAAU,QAAQ,OAAO,QAAQ,IAAK;AAAA,IACtC,UAAU,QAAQ;AAAA,IAClB,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,SAAS;AAAA,I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C,MAAM,GAAG,IAAI,IAAI,aAAa,OAAO;AAC5C,SAAO,MAAM,MAAM,MAAM,OAAO;AACjC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/execa/index.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPathEnv({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\tverbose: verboseDefault,\n\t\t...options,\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t}));\n\t\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n\t\t\t\tkilled: spawned.killed,\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false,\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null,\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false,\n\t};\n}\n\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(scriptPath, args, options = {}) {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdioNode(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv,\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : []),\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false,\n\t\t},\n\t);\n}\n"],"names":["path"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAM,qBAAqB,MAAO,MAAO;AAEzC,MAAM,SAAS,CAAC,EAAC,KAAK,WAAW,WAAW,aAAa,UAAU,SAAQ,MAAM;AAChF,QAAM,MAAM,YAAY,EAAC,GAAG,QAAQ,KAAK,GAAG,UAAS,IAAI;AAEzD,MAAI,aAAa;AAChB,WAAO,cAAc,EAAC,KAAK,KAAK,UAAU,SAAQ,CAAC;AAAA,EACpD;AAEA,SAAO;AACR;AAEA,MAAM,kBAAkB,CAAC,MAAM,MAAM,UAAU,CAAA,MAAO;AACrD,QAAM,SAAS,WAAW,OAAO,MAAM,MAAM,OAAO;AACpD,SAAO,OAAO;AACd,SAAO,OAAO;AACd,YAAU,OAAO;AAEjB,YAAU;AAAA,IACT,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,mBAAmB;AAA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E/C,cAAY,SAAS,OAAO,OAAO;AAEnC,UAAQ,MAAM,cAAc,SAAS,OAAO,OAAO;AAEnD,iBAAe,OAAO;AACtB,eAAa,SAAS,iBAAiB;AACvC,SAAO;AACR;AAoGO,SAAS,aAAa,SAAS,SAAS;AAC9C,QAAM,CAAC,MAAM,GAAG,IAAI,IAAI,aAAa,OAAO;AAC5C,SAAO,MAAM,MAAM,MAAM,OAAO;AACjC;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"command.cjs","sources":["../../../../../../node_modules/execa/lib/command.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n"],"names":[],"mappings":";;;;AAGA,MAAM,gBAAgB,CAAC,MAAM,OAAO,OAAO;AAC1C,MAAI,CAAC,MAAM,QAAQ,IAAI,GAAG;AACzB,WAAO,CAAC,IAAI;AAAA,EACZ;AAED,SAAO,CAAC,MAAM,GAAG,IAAI;AACtB;AAEA,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAE7B,MAAM,YAAY,SAAO;AACxB,MAAI,OAAO,QAAQ,YAAY,iBAAiB,KAAK,GAAG,GAAG;AAC1D,WAAO;AAAA,EACP;AAED,SAAO,IAAI,IAAI,QAAQ,sBAAsB,KAAK,CAAC;AACpD;AAEY,MAAC,cAAc,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,KAAK,GAAG;AAEjE,MAAC,oBAAoB,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,IAAI,SAAO,UAAU,GAAG,CAAC,EAAE,KAAK,GAAG;AAE9G,MAAM,gBAAgB;AAGV,MAAC,eAAe,aAAW;AACtC,QAAM,SAAS,CAAA;AACf,aAAW,SAAS,QAAQ,KAAI,EAAG,MAAM,aAAa,GAAG;AAExD,UAAM,gBAAgB,OAAO,OAAO,SAAS,CAAC;AAC9C,QAAI,iBAAiB,cAAc,SAAS,IAAI,GAAG;AAElD,aAAO,OAAO,SAAS,CAAC,IAAI,GAAG,cAAc,MAAM,GAAG,EAAE,CAAC,IAAI,KAAK;AAAA,IACrE,OAAS;AACN,aAAO,KAAK,KAAK;AAAA,IACjB;AAAA,EACD;AAED,SAAO;AACR;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"command.cjs","sources":["../../../../../../node_modules/execa/lib/command.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n"],"names":[],"mappings":";;;;AAGA,MAAM,gBAAgB,CAAC,MAAM,OAAO,OAAO;AAC1C,MAAI,CAAC,MAAM,QAAQ,IAAI,GAAG;AACzB,WAAO,CAAC,IAAI;AAAA,EACb;AAEA,SAAO,CAAC,MAAM,GAAG,IAAI;AACtB;AAEA,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAE7B,MAAM,YAAY,SAAO;AACxB,MAAI,OAAO,QAAQ,YAAY,iBAAiB,KAAK,GAAG,GAAG;AAC1D,WAAO;AAAA,EACR;AAEA,SAAO,IAAI,IAAI,QAAQ,sBAAsB,KAAK,CAAC;AACpD;AAEY,MAAC,cAAc,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,KAAK,GAAG;AAEjE,MAAC,oBAAoB,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,IAAI,SAAO,UAAU,GAAG,CAAC,EAAE,KAAK,GAAG;AAE9G,MAAM,gBAAgB;AAGV,MAAC,eAAe,aAAW;AACtC,QAAM,SAAS,CAAA;AACf,aAAW,SAAS,QAAQ,KAAI,EAAG,MAAM,aAAa,GAAG;AAExD,UAAM,gBAAgB,OAAO,OAAO,SAAS,CAAC;AAC9C,QAAI,iBAAiB,cAAc,SAAS,IAAI,GAAG;AAElD,aAAO,OAAO,SAAS,CAAC,IAAI,GAAG,cAAc,MAAM,GAAG,EAAE,CAAC,IAAI,KAAK;AAAA,IACnE,OAAO;AACN,aAAO,KAAK,KAAK;AAAA,IAClB;AAAA,EACD;AAEA,SAAO;AACR;;;;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"command.js","sources":["../../../../../../node_modules/execa/lib/command.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n"],"names":[],"mappings":";;AAGA,MAAM,gBAAgB,CAAC,MAAM,OAAO,OAAO;AAC1C,MAAI,CAAC,MAAM,QAAQ,IAAI,GAAG;AACzB,WAAO,CAAC,IAAI;AAAA,EACZ;AAED,SAAO,CAAC,MAAM,GAAG,IAAI;AACtB;AAEA,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAE7B,MAAM,YAAY,SAAO;AACxB,MAAI,OAAO,QAAQ,YAAY,iBAAiB,KAAK,GAAG,GAAG;AAC1D,WAAO;AAAA,EACP;AAED,SAAO,IAAI,IAAI,QAAQ,sBAAsB,KAAK,CAAC;AACpD;AAEY,MAAC,cAAc,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,KAAK,GAAG;AAEjE,MAAC,oBAAoB,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,IAAI,SAAO,UAAU,GAAG,CAAC,EAAE,KAAK,GAAG;AAE9G,MAAM,gBAAgB;AAGV,MAAC,eAAe,aAAW;AACtC,QAAM,SAAS,CAAA;AACf,aAAW,SAAS,QAAQ,KAAI,EAAG,MAAM,aAAa,GAAG;AAExD,UAAM,gBAAgB,OAAO,OAAO,SAAS,CAAC;AAC9C,QAAI,iBAAiB,cAAc,SAAS,IAAI,GAAG;AAElD,aAAO,OAAO,SAAS,CAAC,IAAI,GAAG,cAAc,MAAM,GAAG,EAAE,CAAC,IAAI,KAAK;AAAA,IACrE,OAAS;AACN,aAAO,KAAK,KAAK;AAAA,IACjB;AAAA,EACD;AAED,SAAO;AACR;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"command.js","sources":["../../../../../../node_modules/execa/lib/command.js"],"sourcesContent":["import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n"],"names":[],"mappings":";;AAGA,MAAM,gBAAgB,CAAC,MAAM,OAAO,OAAO;AAC1C,MAAI,CAAC,MAAM,QAAQ,IAAI,GAAG;AACzB,WAAO,CAAC,IAAI;AAAA,EACb;AAEA,SAAO,CAAC,MAAM,GAAG,IAAI;AACtB;AAEA,MAAM,mBAAmB;AACzB,MAAM,uBAAuB;AAE7B,MAAM,YAAY,SAAO;AACxB,MAAI,OAAO,QAAQ,YAAY,iBAAiB,KAAK,GAAG,GAAG;AAC1D,WAAO;AAAA,EACR;AAEA,SAAO,IAAI,IAAI,QAAQ,sBAAsB,KAAK,CAAC;AACpD;AAEY,MAAC,cAAc,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,KAAK,GAAG;AAEjE,MAAC,oBAAoB,CAAC,MAAM,SAAS,cAAc,MAAM,IAAI,EAAE,IAAI,SAAO,UAAU,GAAG,CAAC,EAAE,KAAK,GAAG;AAE9G,MAAM,gBAAgB;AAGV,MAAC,eAAe,aAAW;AACtC,QAAM,SAAS,CAAA;AACf,aAAW,SAAS,QAAQ,KAAI,EAAG,MAAM,aAAa,GAAG;AAExD,UAAM,gBAAgB,OAAO,OAAO,SAAS,CAAC;AAC9C,QAAI,iBAAiB,cAAc,SAAS,IAAI,GAAG;AAElD,aAAO,OAAO,SAAS,CAAC,IAAI,GAAG,cAAc,MAAM,GAAG,EAAE,CAAC,IAAI,KAAK;AAAA,IACnE,OAAO;AACN,aAAO,KAAK,KAAK;AAAA,IAClB;AAAA,EACD;AAEA,SAAO;AACR;","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"error.cjs","sources":["../../../../../../node_modules/execa/lib/error.js"],"sourcesContent":["import {signalsByName} from 'human-signals';\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nexport const makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}},\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n"],"names":["signalsByName"],"mappings":";;;AAEA,MAAM,iBAAiB,CAAC,EAAC,UAAU,SAAS,WAAW,QAAQ,mBAAmB,UAAU,WAAU,MAAM;AAC3G,MAAI,UAAU;AACb,WAAO,mBAAmB,OAAO;AAAA,EACjC;AAED,MAAI,YAAY;AACf,WAAO;AAAA,EACP;AAED,MAAI,cAAc,QAAW;AAC5B,WAAO,eAAe,SAAS;AAAA,EAC/B;AAED,MAAI,WAAW,QAAW;AACzB,WAAO,mBAAmB,MAAM,KAAK,iBAAiB;AAAA,EACtD;AAED,MAAI,aAAa,QAAW;AAC3B,WAAO,yBAAyB,QAAQ;AAAA,EACxC;AAED,SAAO;AACR;AAEY,MAAC,YAAY,CAAC;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ,EAAC,SAAS,EAAC,QAAO,EAAC;AAC5B,MAAM;AAGL,aAAW,aAAa,OAAO,SAAY;AAC3C,WAAS,WAAW,OAAO,SAAY;AACvC,QAAM,oBAAoB,WAAW,SAAY,SAAYA,mBAAc,MAAM,EAAE;AAEnF,QAAM,YAAY,SAAS,MAAM;AAEjC,QAAM,SAAS,eAAe,EAAC,UAAU,SAAS,WAAW,QAAQ,mBAAmB,UAAU,WAAU,CAAC;AAC7G,QAAM,eAAe,WAAW,MAAM,KAAK,OAAO;AAClD,QAAM,UAAU,OAAO,UAAU,SAAS,KAAK,KAAK,MAAM;AAC1D,QAAM,eAAe,UAAU,GAAG,YAAY;AAAA,EAAK,MAAM,OAAO,KAAK;AACrE,QAAM,UAAU,CAAC,cAAc,QAAQ,MAAM,EAAE,OAAO,OAAO,EAAE,KAAK,IAAI;AAExE,MAAI,SAAS;AACZ,UAAM,kBAAkB,MAAM;AAC9B,UAAM,UAAU;AAAA,EAClB,OAAQ;AACN,YAAQ,IAAI,MAAM,OAAO;AAAA,EACzB;AAED,QAAM,eAAe;AACrB,QAAM,UAAU;AAChB,QAAM,iBAAiB;AACvB,QAAM,WAAW;AACjB,QAAM,SAAS;AACf,QAAM,oBAAoB;AAC1B,QAAM,SAAS;AACf,QAAM,SAAS;AAEf,MAAI,QAAQ,QAAW;AACtB,UAAM,MAAM;AAAA,EACZ;AAED,MAAI,kBAAkB,OAAO;AAC5B,WAAO,MAAM;AAAA,EACb;AAED,QAAM,SAAS;AACf,QAAM,WAAW,QAAQ,QAAQ;AACjC,QAAM,aAAa;AACnB,QAAM,SAAS,UAAU,CAAC;AAE1B,SAAO;AACR;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"error.cjs","sources":["../../../../../../node_modules/execa/lib/error.js"],"sourcesContent":["import {signalsByName} from 'human-signals';\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nexport const makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}},\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n"],"names":["signalsByName"],"mappings":";;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