@slicemachine/init 1.1.19 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1019) hide show
  1. package/README.md +88 -32
  2. package/bin/slicemachine-init.js +3 -0
  3. package/dist/SliceMachineInitProcess.cjs +749 -0
  4. package/dist/SliceMachineInitProcess.cjs.map +1 -0
  5. package/dist/SliceMachineInitProcess.d.ts +48 -0
  6. package/dist/SliceMachineInitProcess.js +731 -0
  7. package/dist/SliceMachineInitProcess.js.map +1 -0
  8. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +144 -0
  9. package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
  10. package/dist/_node_modules/@babel/code-frame/lib/index.js +143 -0
  11. package/dist/_node_modules/@babel/code-frame/lib/index.js.map +1 -0
  12. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +82 -0
  13. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
  14. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +83 -0
  15. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  16. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +62 -0
  17. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
  18. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +61 -0
  19. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  20. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +35 -0
  21. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
  22. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +36 -0
  23. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  24. package/dist/_node_modules/@babel/highlight/lib/index.cjs +100 -0
  25. package/dist/_node_modules/@babel/highlight/lib/index.cjs.map +1 -0
  26. package/dist/_node_modules/@babel/highlight/lib/index.js +99 -0
  27. package/dist/_node_modules/@babel/highlight/lib/index.js.map +1 -0
  28. package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs +24 -0
  29. package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.cjs.map +1 -0
  30. package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js +23 -0
  31. package/dist/_node_modules/@nodelib/fs.scandir/out/adapters/fs.js.map +1 -0
  32. package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs +17 -0
  33. package/dist/_node_modules/@nodelib/fs.scandir/out/constants.cjs.map +1 -0
  34. package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js +18 -0
  35. package/dist/_node_modules/@nodelib/fs.scandir/out/constants.js.map +1 -0
  36. package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs +35 -0
  37. package/dist/_node_modules/@nodelib/fs.scandir/out/index.cjs.map +1 -0
  38. package/dist/_node_modules/@nodelib/fs.scandir/out/index.js +36 -0
  39. package/dist/_node_modules/@nodelib/fs.scandir/out/index.js.map +1 -0
  40. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs +116 -0
  41. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.cjs.map +1 -0
  42. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js +117 -0
  43. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/async.js.map +1 -0
  44. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs +13 -0
  45. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.cjs.map +1 -0
  46. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js +14 -0
  47. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/common.js.map +1 -0
  48. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs +64 -0
  49. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.cjs.map +1 -0
  50. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js +65 -0
  51. package/dist/_node_modules/@nodelib/fs.scandir/out/providers/sync.js.map +1 -0
  52. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs +31 -0
  53. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.cjs.map +1 -0
  54. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js +30 -0
  55. package/dist/_node_modules/@nodelib/fs.scandir/out/settings.js.map +1 -0
  56. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs +22 -0
  57. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.cjs.map +1 -0
  58. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js +23 -0
  59. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/fs.js.map +1 -0
  60. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs +10 -0
  61. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.cjs.map +1 -0
  62. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js +11 -0
  63. package/dist/_node_modules/@nodelib/fs.scandir/out/utils/index.js.map +1 -0
  64. package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs +22 -0
  65. package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.cjs.map +1 -0
  66. package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js +21 -0
  67. package/dist/_node_modules/@nodelib/fs.stat/out/adapters/fs.js.map +1 -0
  68. package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs +35 -0
  69. package/dist/_node_modules/@nodelib/fs.stat/out/index.cjs.map +1 -0
  70. package/dist/_node_modules/@nodelib/fs.stat/out/index.js +36 -0
  71. package/dist/_node_modules/@nodelib/fs.stat/out/index.js.map +1 -0
  72. package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs +39 -0
  73. package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.cjs.map +1 -0
  74. package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js +40 -0
  75. package/dist/_node_modules/@nodelib/fs.stat/out/providers/async.js.map +1 -0
  76. package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs +25 -0
  77. package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.cjs.map +1 -0
  78. package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js +26 -0
  79. package/dist/_node_modules/@nodelib/fs.stat/out/providers/sync.js.map +1 -0
  80. package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs +20 -0
  81. package/dist/_node_modules/@nodelib/fs.stat/out/settings.cjs.map +1 -0
  82. package/dist/_node_modules/@nodelib/fs.stat/out/settings.js +19 -0
  83. package/dist/_node_modules/@nodelib/fs.stat/out/settings.js.map +1 -0
  84. package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs +45 -0
  85. package/dist/_node_modules/@nodelib/fs.walk/out/index.cjs.map +1 -0
  86. package/dist/_node_modules/@nodelib/fs.walk/out/index.js +46 -0
  87. package/dist/_node_modules/@nodelib/fs.walk/out/index.js.map +1 -0
  88. package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs +34 -0
  89. package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.cjs.map +1 -0
  90. package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js +33 -0
  91. package/dist/_node_modules/@nodelib/fs.walk/out/providers/async.js.map +1 -0
  92. package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs +40 -0
  93. package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.cjs.map +1 -0
  94. package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js +39 -0
  95. package/dist/_node_modules/@nodelib/fs.walk/out/providers/stream.js.map +1 -0
  96. package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs +18 -0
  97. package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.cjs.map +1 -0
  98. package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js +17 -0
  99. package/dist/_node_modules/@nodelib/fs.walk/out/providers/sync.js.map +1 -0
  100. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs +108 -0
  101. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.cjs.map +1 -0
  102. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js +107 -0
  103. package/dist/_node_modules/@nodelib/fs.walk/out/readers/async.js.map +1 -0
  104. package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs +31 -0
  105. package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.cjs.map +1 -0
  106. package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js +32 -0
  107. package/dist/_node_modules/@nodelib/fs.walk/out/readers/common.js.map +1 -0
  108. package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs +15 -0
  109. package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.cjs.map +1 -0
  110. package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js +14 -0
  111. package/dist/_node_modules/@nodelib/fs.walk/out/readers/reader.js.map +1 -0
  112. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs +66 -0
  113. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.cjs.map +1 -0
  114. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js +65 -0
  115. package/dist/_node_modules/@nodelib/fs.walk/out/readers/sync.js.map +1 -0
  116. package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs +31 -0
  117. package/dist/_node_modules/@nodelib/fs.walk/out/settings.cjs.map +1 -0
  118. package/dist/_node_modules/@nodelib/fs.walk/out/settings.js +30 -0
  119. package/dist/_node_modules/@nodelib/fs.walk/out/settings.js.map +1 -0
  120. package/dist/_node_modules/arrify/index.cjs +9 -0
  121. package/dist/_node_modules/arrify/index.cjs.map +1 -0
  122. package/dist/_node_modules/arrify/index.js +10 -0
  123. package/dist/_node_modules/arrify/index.js.map +1 -0
  124. package/dist/_node_modules/braces/index.cjs +63 -0
  125. package/dist/_node_modules/braces/index.cjs.map +1 -0
  126. package/dist/_node_modules/braces/index.js +64 -0
  127. package/dist/_node_modules/braces/index.js.map +1 -0
  128. package/dist/_node_modules/braces/lib/compile.cjs +50 -0
  129. package/dist/_node_modules/braces/lib/compile.cjs.map +1 -0
  130. package/dist/_node_modules/braces/lib/compile.js +51 -0
  131. package/dist/_node_modules/braces/lib/compile.js.map +1 -0
  132. package/dist/_node_modules/braces/lib/constants.cjs +97 -0
  133. package/dist/_node_modules/braces/lib/constants.cjs.map +1 -0
  134. package/dist/_node_modules/braces/lib/constants.js +98 -0
  135. package/dist/_node_modules/braces/lib/constants.js.map +1 -0
  136. package/dist/_node_modules/braces/lib/expand.cjs +97 -0
  137. package/dist/_node_modules/braces/lib/expand.cjs.map +1 -0
  138. package/dist/_node_modules/braces/lib/expand.js +98 -0
  139. package/dist/_node_modules/braces/lib/expand.js.map +1 -0
  140. package/dist/_node_modules/braces/lib/parse.cjs +240 -0
  141. package/dist/_node_modules/braces/lib/parse.cjs.map +1 -0
  142. package/dist/_node_modules/braces/lib/parse.js +241 -0
  143. package/dist/_node_modules/braces/lib/parse.js.map +1 -0
  144. package/dist/_node_modules/braces/lib/stringify.cjs +29 -0
  145. package/dist/_node_modules/braces/lib/stringify.cjs.map +1 -0
  146. package/dist/_node_modules/braces/lib/stringify.js +30 -0
  147. package/dist/_node_modules/braces/lib/stringify.js.map +1 -0
  148. package/dist/_node_modules/braces/lib/utils.cjs +83 -0
  149. package/dist/_node_modules/braces/lib/utils.cjs.map +1 -0
  150. package/dist/_node_modules/braces/lib/utils.js +84 -0
  151. package/dist/_node_modules/braces/lib/utils.js.map +1 -0
  152. package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs +83 -0
  153. package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.cjs.map +1 -0
  154. package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js +84 -0
  155. package/dist/_node_modules/camelcase-keys/_node_modules/camelcase/index.js.map +1 -0
  156. package/dist/_node_modules/camelcase-keys/index.cjs +56 -0
  157. package/dist/_node_modules/camelcase-keys/index.cjs.map +1 -0
  158. package/dist/_node_modules/camelcase-keys/index.js +57 -0
  159. package/dist/_node_modules/camelcase-keys/index.js.map +1 -0
  160. package/dist/_node_modules/decamelize/index.cjs +38 -0
  161. package/dist/_node_modules/decamelize/index.cjs.map +1 -0
  162. package/dist/_node_modules/decamelize/index.js +39 -0
  163. package/dist/_node_modules/decamelize/index.js.map +1 -0
  164. package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs +10 -0
  165. package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.cjs.map +1 -0
  166. package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js +11 -0
  167. package/dist/_node_modules/decamelize-keys/_node_modules/decamelize/index.js.map +1 -0
  168. package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs +13 -0
  169. package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.cjs.map +1 -0
  170. package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js +14 -0
  171. package/dist/_node_modules/decamelize-keys/_node_modules/map-obj/index.js.map +1 -0
  172. package/dist/_node_modules/decamelize-keys/index.cjs +20 -0
  173. package/dist/_node_modules/decamelize-keys/index.cjs.map +1 -0
  174. package/dist/_node_modules/decamelize-keys/index.js +21 -0
  175. package/dist/_node_modules/decamelize-keys/index.js.map +1 -0
  176. package/dist/_node_modules/dir-glob/index.cjs +63 -0
  177. package/dist/_node_modules/dir-glob/index.cjs.map +1 -0
  178. package/dist/_node_modules/dir-glob/index.js +64 -0
  179. package/dist/_node_modules/dir-glob/index.js.map +1 -0
  180. package/dist/_node_modules/error-ex/index.cjs +108 -0
  181. package/dist/_node_modules/error-ex/index.cjs.map +1 -0
  182. package/dist/_node_modules/error-ex/index.js +109 -0
  183. package/dist/_node_modules/error-ex/index.js.map +1 -0
  184. package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs +28 -0
  185. package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.cjs.map +1 -0
  186. package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js +29 -0
  187. package/dist/_node_modules/fast-glob/_node_modules/glob-parent/index.js.map +1 -0
  188. package/dist/_node_modules/fast-glob/out/index.cjs +77 -0
  189. package/dist/_node_modules/fast-glob/out/index.cjs.map +1 -0
  190. package/dist/_node_modules/fast-glob/out/index.js +78 -0
  191. package/dist/_node_modules/fast-glob/out/index.js.map +1 -0
  192. package/dist/_node_modules/fast-glob/out/managers/patterns.cjs +15 -0
  193. package/dist/_node_modules/fast-glob/out/managers/patterns.cjs.map +1 -0
  194. package/dist/_node_modules/fast-glob/out/managers/patterns.js +16 -0
  195. package/dist/_node_modules/fast-glob/out/managers/patterns.js.map +1 -0
  196. package/dist/_node_modules/fast-glob/out/managers/tasks.cjs +83 -0
  197. package/dist/_node_modules/fast-glob/out/managers/tasks.cjs.map +1 -0
  198. package/dist/_node_modules/fast-glob/out/managers/tasks.js +84 -0
  199. package/dist/_node_modules/fast-glob/out/managers/tasks.js.map +1 -0
  200. package/dist/_node_modules/fast-glob/out/providers/async.cjs +29 -0
  201. package/dist/_node_modules/fast-glob/out/providers/async.cjs.map +1 -0
  202. package/dist/_node_modules/fast-glob/out/providers/async.js +28 -0
  203. package/dist/_node_modules/fast-glob/out/providers/async.js.map +1 -0
  204. package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs +65 -0
  205. package/dist/_node_modules/fast-glob/out/providers/filters/deep.cjs.map +1 -0
  206. package/dist/_node_modules/fast-glob/out/providers/filters/deep.js +64 -0
  207. package/dist/_node_modules/fast-glob/out/providers/filters/deep.js.map +1 -0
  208. package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs +65 -0
  209. package/dist/_node_modules/fast-glob/out/providers/filters/entry.cjs.map +1 -0
  210. package/dist/_node_modules/fast-glob/out/providers/filters/entry.js +64 -0
  211. package/dist/_node_modules/fast-glob/out/providers/filters/entry.js.map +1 -0
  212. package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs +19 -0
  213. package/dist/_node_modules/fast-glob/out/providers/filters/error.cjs.map +1 -0
  214. package/dist/_node_modules/fast-glob/out/providers/filters/error.js +18 -0
  215. package/dist/_node_modules/fast-glob/out/providers/filters/error.js.map +1 -0
  216. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs +50 -0
  217. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.cjs.map +1 -0
  218. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js +49 -0
  219. package/dist/_node_modules/fast-glob/out/providers/matchers/matcher.js.map +1 -0
  220. package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs +35 -0
  221. package/dist/_node_modules/fast-glob/out/providers/matchers/partial.cjs.map +1 -0
  222. package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js +34 -0
  223. package/dist/_node_modules/fast-glob/out/providers/matchers/partial.js.map +1 -0
  224. package/dist/_node_modules/fast-glob/out/providers/provider.cjs +59 -0
  225. package/dist/_node_modules/fast-glob/out/providers/provider.cjs.map +1 -0
  226. package/dist/_node_modules/fast-glob/out/providers/provider.js +58 -0
  227. package/dist/_node_modules/fast-glob/out/providers/provider.js.map +1 -0
  228. package/dist/_node_modules/fast-glob/out/providers/stream.cjs +35 -0
  229. package/dist/_node_modules/fast-glob/out/providers/stream.cjs.map +1 -0
  230. package/dist/_node_modules/fast-glob/out/providers/stream.js +34 -0
  231. package/dist/_node_modules/fast-glob/out/providers/stream.js.map +1 -0
  232. package/dist/_node_modules/fast-glob/out/providers/sync.cjs +29 -0
  233. package/dist/_node_modules/fast-glob/out/providers/sync.cjs.map +1 -0
  234. package/dist/_node_modules/fast-glob/out/providers/sync.js +28 -0
  235. package/dist/_node_modules/fast-glob/out/providers/sync.js.map +1 -0
  236. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs +30 -0
  237. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.cjs.map +1 -0
  238. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js +29 -0
  239. package/dist/_node_modules/fast-glob/out/providers/transformers/entry.js.map +1 -0
  240. package/dist/_node_modules/fast-glob/out/readers/async.cjs +41 -0
  241. package/dist/_node_modules/fast-glob/out/readers/async.cjs.map +1 -0
  242. package/dist/_node_modules/fast-glob/out/readers/async.js +40 -0
  243. package/dist/_node_modules/fast-glob/out/readers/async.js.map +1 -0
  244. package/dist/_node_modules/fast-glob/out/readers/reader.cjs +40 -0
  245. package/dist/_node_modules/fast-glob/out/readers/reader.cjs.map +1 -0
  246. package/dist/_node_modules/fast-glob/out/readers/reader.js +39 -0
  247. package/dist/_node_modules/fast-glob/out/readers/reader.js.map +1 -0
  248. package/dist/_node_modules/fast-glob/out/readers/stream.cjs +60 -0
  249. package/dist/_node_modules/fast-glob/out/readers/stream.cjs.map +1 -0
  250. package/dist/_node_modules/fast-glob/out/readers/stream.js +59 -0
  251. package/dist/_node_modules/fast-glob/out/readers/stream.js.map +1 -0
  252. package/dist/_node_modules/fast-glob/out/readers/sync.cjs +50 -0
  253. package/dist/_node_modules/fast-glob/out/readers/sync.cjs.map +1 -0
  254. package/dist/_node_modules/fast-glob/out/readers/sync.js +49 -0
  255. package/dist/_node_modules/fast-glob/out/readers/sync.js.map +1 -0
  256. package/dist/_node_modules/fast-glob/out/settings.cjs +59 -0
  257. package/dist/_node_modules/fast-glob/out/settings.cjs.map +1 -0
  258. package/dist/_node_modules/fast-glob/out/settings.js +58 -0
  259. package/dist/_node_modules/fast-glob/out/settings.js.map +1 -0
  260. package/dist/_node_modules/fast-glob/out/utils/array.cjs +24 -0
  261. package/dist/_node_modules/fast-glob/out/utils/array.cjs.map +1 -0
  262. package/dist/_node_modules/fast-glob/out/utils/array.js +25 -0
  263. package/dist/_node_modules/fast-glob/out/utils/array.js.map +1 -0
  264. package/dist/_node_modules/fast-glob/out/utils/errno.cjs +10 -0
  265. package/dist/_node_modules/fast-glob/out/utils/errno.cjs.map +1 -0
  266. package/dist/_node_modules/fast-glob/out/utils/errno.js +11 -0
  267. package/dist/_node_modules/fast-glob/out/utils/errno.js.map +1 -0
  268. package/dist/_node_modules/fast-glob/out/utils/fs.cjs +22 -0
  269. package/dist/_node_modules/fast-glob/out/utils/fs.cjs.map +1 -0
  270. package/dist/_node_modules/fast-glob/out/utils/fs.js +23 -0
  271. package/dist/_node_modules/fast-glob/out/utils/fs.js.map +1 -0
  272. package/dist/_node_modules/fast-glob/out/utils/index.cjs +34 -0
  273. package/dist/_node_modules/fast-glob/out/utils/index.cjs.map +1 -0
  274. package/dist/_node_modules/fast-glob/out/utils/index.js +35 -0
  275. package/dist/_node_modules/fast-glob/out/utils/index.js.map +1 -0
  276. package/dist/_node_modules/fast-glob/out/utils/path.cjs +32 -0
  277. package/dist/_node_modules/fast-glob/out/utils/path.cjs.map +1 -0
  278. package/dist/_node_modules/fast-glob/out/utils/path.js +33 -0
  279. package/dist/_node_modules/fast-glob/out/utils/path.js.map +1 -0
  280. package/dist/_node_modules/fast-glob/out/utils/pattern.cjs +144 -0
  281. package/dist/_node_modules/fast-glob/out/utils/pattern.cjs.map +1 -0
  282. package/dist/_node_modules/fast-glob/out/utils/pattern.js +145 -0
  283. package/dist/_node_modules/fast-glob/out/utils/pattern.js.map +1 -0
  284. package/dist/_node_modules/fast-glob/out/utils/stream.cjs +21 -0
  285. package/dist/_node_modules/fast-glob/out/utils/stream.cjs.map +1 -0
  286. package/dist/_node_modules/fast-glob/out/utils/stream.js +22 -0
  287. package/dist/_node_modules/fast-glob/out/utils/stream.js.map +1 -0
  288. package/dist/_node_modules/fast-glob/out/utils/string.cjs +14 -0
  289. package/dist/_node_modules/fast-glob/out/utils/string.cjs.map +1 -0
  290. package/dist/_node_modules/fast-glob/out/utils/string.js +15 -0
  291. package/dist/_node_modules/fast-glob/out/utils/string.js.map +1 -0
  292. package/dist/_node_modules/fastq/queue.cjs +239 -0
  293. package/dist/_node_modules/fastq/queue.cjs.map +1 -0
  294. package/dist/_node_modules/fastq/queue.js +240 -0
  295. package/dist/_node_modules/fastq/queue.js.map +1 -0
  296. package/dist/_node_modules/fill-range/index.cjs +210 -0
  297. package/dist/_node_modules/fill-range/index.cjs.map +1 -0
  298. package/dist/_node_modules/fill-range/index.js +211 -0
  299. package/dist/_node_modules/fill-range/index.js.map +1 -0
  300. package/dist/_node_modules/function-bind/implementation.cjs +46 -0
  301. package/dist/_node_modules/function-bind/implementation.cjs.map +1 -0
  302. package/dist/_node_modules/function-bind/implementation.js +47 -0
  303. package/dist/_node_modules/function-bind/implementation.js.map +1 -0
  304. package/dist/_node_modules/function-bind/index.cjs +6 -0
  305. package/dist/_node_modules/function-bind/index.cjs.map +1 -0
  306. package/dist/_node_modules/function-bind/index.js +7 -0
  307. package/dist/_node_modules/function-bind/index.js.map +1 -0
  308. package/dist/_node_modules/hard-rejection/index.cjs +22 -0
  309. package/dist/_node_modules/hard-rejection/index.cjs.map +1 -0
  310. package/dist/_node_modules/hard-rejection/index.js +23 -0
  311. package/dist/_node_modules/hard-rejection/index.js.map +1 -0
  312. package/dist/_node_modules/has/src/index.cjs +6 -0
  313. package/dist/_node_modules/has/src/index.cjs.map +1 -0
  314. package/dist/_node_modules/has/src/index.js +7 -0
  315. package/dist/_node_modules/has/src/index.js.map +1 -0
  316. package/dist/_node_modules/ignore/index.cjs +370 -0
  317. package/dist/_node_modules/ignore/index.cjs.map +1 -0
  318. package/dist/_node_modules/ignore/index.js +371 -0
  319. package/dist/_node_modules/ignore/index.js.map +1 -0
  320. package/dist/_node_modules/is-arrayish/index.cjs +9 -0
  321. package/dist/_node_modules/is-arrayish/index.cjs.map +1 -0
  322. package/dist/_node_modules/is-arrayish/index.js +10 -0
  323. package/dist/_node_modules/is-arrayish/index.js.map +1 -0
  324. package/dist/_node_modules/is-core-module/core.json.cjs +487 -0
  325. package/dist/_node_modules/is-core-module/core.json.cjs.map +1 -0
  326. package/dist/_node_modules/is-core-module/core.json.js +487 -0
  327. package/dist/_node_modules/is-core-module/core.json.js.map +1 -0
  328. package/dist/_node_modules/is-core-module/index.cjs +61 -0
  329. package/dist/_node_modules/is-core-module/index.cjs.map +1 -0
  330. package/dist/_node_modules/is-core-module/index.js +62 -0
  331. package/dist/_node_modules/is-core-module/index.js.map +1 -0
  332. package/dist/_node_modules/is-extglob/index.cjs +21 -0
  333. package/dist/_node_modules/is-extglob/index.cjs.map +1 -0
  334. package/dist/_node_modules/is-extglob/index.js +22 -0
  335. package/dist/_node_modules/is-extglob/index.js.map +1 -0
  336. package/dist/_node_modules/is-glob/index.cjs +135 -0
  337. package/dist/_node_modules/is-glob/index.cjs.map +1 -0
  338. package/dist/_node_modules/is-glob/index.js +136 -0
  339. package/dist/_node_modules/is-glob/index.js.map +1 -0
  340. package/dist/_node_modules/is-number/index.cjs +18 -0
  341. package/dist/_node_modules/is-number/index.cjs.map +1 -0
  342. package/dist/_node_modules/is-number/index.js +19 -0
  343. package/dist/_node_modules/is-number/index.js.map +1 -0
  344. package/dist/_node_modules/js-tokens/index.cjs +27 -0
  345. package/dist/_node_modules/js-tokens/index.cjs.map +1 -0
  346. package/dist/_node_modules/js-tokens/index.js +26 -0
  347. package/dist/_node_modules/js-tokens/index.js.map +1 -0
  348. package/dist/_node_modules/json-parse-even-better-errors/index.cjs +89 -0
  349. package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
  350. package/dist/_node_modules/json-parse-even-better-errors/index.js +90 -0
  351. package/dist/_node_modules/json-parse-even-better-errors/index.js.map +1 -0
  352. package/dist/_node_modules/kind-of/index.cjs +128 -0
  353. package/dist/_node_modules/kind-of/index.cjs.map +1 -0
  354. package/dist/_node_modules/kind-of/index.js +129 -0
  355. package/dist/_node_modules/kind-of/index.js.map +1 -0
  356. package/dist/_node_modules/lines-and-columns/build/index.cjs +67 -0
  357. package/dist/{__node_modules → _node_modules}/lines-and-columns/build/index.cjs.map +1 -1
  358. package/dist/_node_modules/lines-and-columns/build/index.js +66 -0
  359. package/dist/{__node_modules → _node_modules}/lines-and-columns/build/index.js.map +1 -1
  360. package/dist/_node_modules/map-obj/index.cjs +46 -0
  361. package/dist/_node_modules/map-obj/index.cjs.map +1 -0
  362. package/dist/_node_modules/map-obj/index.js +47 -0
  363. package/dist/_node_modules/map-obj/index.js.map +1 -0
  364. package/dist/_node_modules/meow/_node_modules/find-up/index.cjs +48 -0
  365. package/dist/_node_modules/meow/_node_modules/find-up/index.cjs.map +1 -0
  366. package/dist/_node_modules/meow/_node_modules/find-up/index.js +48 -0
  367. package/dist/_node_modules/meow/_node_modules/find-up/index.js.map +1 -0
  368. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs +165 -0
  369. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.cjs.map +1 -0
  370. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js +166 -0
  371. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host-info.js.map +1 -0
  372. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs +90 -0
  373. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.cjs.map +1 -0
  374. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js +91 -0
  375. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/git-host.js.map +1 -0
  376. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs +124 -0
  377. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.cjs.map +1 -0
  378. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js +123 -0
  379. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/index.js.map +1 -0
  380. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs +50 -0
  381. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.cjs.map +1 -0
  382. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js +51 -0
  383. package/dist/_node_modules/meow/_node_modules/hosted-git-info/lib/parse-url.js.map +1 -0
  384. package/dist/_node_modules/meow/_node_modules/indent-string/index.cjs +34 -0
  385. package/dist/_node_modules/meow/_node_modules/indent-string/index.cjs.map +1 -0
  386. package/dist/_node_modules/meow/_node_modules/indent-string/index.js +35 -0
  387. package/dist/_node_modules/meow/_node_modules/indent-string/index.js.map +1 -0
  388. package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs +43 -0
  389. package/dist/_node_modules/meow/_node_modules/locate-path/index.cjs.map +1 -0
  390. package/dist/_node_modules/meow/_node_modules/locate-path/index.js +43 -0
  391. package/dist/_node_modules/meow/_node_modules/locate-path/index.js.map +1 -0
  392. package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs +1014 -0
  393. package/dist/_node_modules/meow/_node_modules/lru-cache/index.cjs.map +1 -0
  394. package/dist/_node_modules/meow/_node_modules/lru-cache/index.js +1015 -0
  395. package/dist/_node_modules/meow/_node_modules/lru-cache/index.js.map +1 -0
  396. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs +23 -0
  397. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
  398. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js +24 -0
  399. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
  400. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
  401. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
  402. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js +439 -0
  403. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
  404. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs +25 -0
  405. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
  406. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
  407. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
  408. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs +56 -0
  409. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
  410. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js +57 -0
  411. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
  412. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
  413. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
  414. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
  415. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
  416. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
  417. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
  418. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
  419. package/dist/_node_modules/meow/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
  420. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +158 -0
  421. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
  422. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +159 -0
  423. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +1 -0
  424. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +87 -0
  425. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +1 -0
  426. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +88 -0
  427. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +1 -0
  428. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +179 -0
  429. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +1 -0
  430. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +178 -0
  431. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +1 -0
  432. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +267 -0
  433. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +1 -0
  434. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js +268 -0
  435. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +1 -0
  436. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +19 -0
  437. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +1 -0
  438. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +20 -0
  439. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +1 -0
  440. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +438 -0
  441. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +1 -0
  442. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +439 -0
  443. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +1 -0
  444. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +25 -0
  445. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +1 -0
  446. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +26 -0
  447. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +1 -0
  448. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +56 -0
  449. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +1 -0
  450. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +57 -0
  451. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +1 -0
  452. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +41 -0
  453. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +1 -0
  454. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +41 -0
  455. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +1 -0
  456. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +90 -0
  457. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +1 -0
  458. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +90 -0
  459. package/dist/_node_modules/meow/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +1 -0
  460. package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs +20 -0
  461. package/dist/_node_modules/meow/_node_modules/read-pkg/index.cjs.map +1 -0
  462. package/dist/_node_modules/meow/_node_modules/read-pkg/index.js +20 -0
  463. package/dist/_node_modules/meow/_node_modules/read-pkg/index.js.map +1 -0
  464. package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs +17 -0
  465. package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.cjs.map +1 -0
  466. package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js +17 -0
  467. package/dist/_node_modules/meow/_node_modules/read-pkg-up/index.js.map +1 -0
  468. package/dist/_node_modules/meow/_node_modules/redent/index.cjs +8 -0
  469. package/dist/_node_modules/meow/_node_modules/redent/index.cjs.map +1 -0
  470. package/dist/_node_modules/meow/_node_modules/redent/index.js +9 -0
  471. package/dist/_node_modules/meow/_node_modules/redent/index.js.map +1 -0
  472. package/dist/_node_modules/meow/_node_modules/strip-indent/index.cjs +12 -0
  473. package/dist/_node_modules/meow/_node_modules/strip-indent/index.cjs.map +1 -0
  474. package/dist/_node_modules/meow/_node_modules/strip-indent/index.js +13 -0
  475. package/dist/_node_modules/meow/_node_modules/strip-indent/index.js.map +1 -0
  476. package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs +19 -0
  477. package/dist/_node_modules/meow/_node_modules/yallist/iterator.cjs.map +1 -0
  478. package/dist/_node_modules/meow/_node_modules/yallist/iterator.js +19 -0
  479. package/dist/_node_modules/meow/_node_modules/yallist/iterator.js.map +1 -0
  480. package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs +366 -0
  481. package/dist/_node_modules/meow/_node_modules/yallist/yallist.cjs.map +1 -0
  482. package/dist/_node_modules/meow/_node_modules/yallist/yallist.js +367 -0
  483. package/dist/_node_modules/meow/_node_modules/yallist/yallist.js.map +1 -0
  484. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.cjs.map +1 -1
  485. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.js.map +1 -1
  486. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.cjs.map +1 -1
  487. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.js.map +1 -1
  488. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.cjs.map +1 -1
  489. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.js.map +1 -1
  490. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.cjs.map +1 -1
  491. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.js.map +1 -1
  492. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.cjs.map +1 -1
  493. package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.js.map +1 -1
  494. package/dist/_node_modules/meow/index.cjs +202 -0
  495. package/dist/_node_modules/meow/index.cjs.map +1 -0
  496. package/dist/_node_modules/meow/index.js +203 -0
  497. package/dist/_node_modules/meow/index.js.map +1 -0
  498. package/dist/_node_modules/merge2/index.cjs +116 -0
  499. package/dist/_node_modules/merge2/index.cjs.map +1 -0
  500. package/dist/_node_modules/merge2/index.js +117 -0
  501. package/dist/_node_modules/merge2/index.js.map +1 -0
  502. package/dist/_node_modules/micromatch/index.cjs +164 -0
  503. package/dist/_node_modules/micromatch/index.cjs.map +1 -0
  504. package/dist/_node_modules/micromatch/index.js +165 -0
  505. package/dist/_node_modules/micromatch/index.js.map +1 -0
  506. package/dist/_node_modules/min-indent/index.cjs +10 -0
  507. package/dist/_node_modules/min-indent/index.cjs.map +1 -0
  508. package/dist/_node_modules/min-indent/index.js +11 -0
  509. package/dist/_node_modules/min-indent/index.js.map +1 -0
  510. package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs +8 -0
  511. package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.cjs.map +1 -0
  512. package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js +9 -0
  513. package/dist/_node_modules/minimist-options/_node_modules/is-plain-obj/index.js.map +1 -0
  514. package/dist/_node_modules/minimist-options/index.cjs +91 -0
  515. package/dist/_node_modules/minimist-options/index.cjs.map +1 -0
  516. package/dist/_node_modules/minimist-options/index.js +92 -0
  517. package/dist/_node_modules/minimist-options/index.js.map +1 -0
  518. package/dist/_node_modules/parse-json/index.cjs +52 -0
  519. package/dist/_node_modules/parse-json/index.cjs.map +1 -0
  520. package/dist/_node_modules/parse-json/index.js +53 -0
  521. package/dist/_node_modules/parse-json/index.js.map +1 -0
  522. package/dist/_node_modules/path-type/index.cjs +41 -0
  523. package/dist/_node_modules/path-type/index.cjs.map +1 -0
  524. package/dist/_node_modules/path-type/index.js +42 -0
  525. package/dist/_node_modules/path-type/index.js.map +1 -0
  526. package/dist/_node_modules/picomatch/index.cjs +7 -0
  527. package/dist/_node_modules/picomatch/index.cjs.map +1 -0
  528. package/dist/_node_modules/picomatch/index.js +6 -0
  529. package/dist/_node_modules/picomatch/index.js.map +1 -0
  530. package/dist/_node_modules/picomatch/lib/constants.cjs +194 -0
  531. package/dist/_node_modules/picomatch/lib/constants.cjs.map +1 -0
  532. package/dist/_node_modules/picomatch/lib/constants.js +195 -0
  533. package/dist/_node_modules/picomatch/lib/constants.js.map +1 -0
  534. package/dist/_node_modules/picomatch/lib/parse.cjs +780 -0
  535. package/dist/_node_modules/picomatch/lib/parse.cjs.map +1 -0
  536. package/dist/_node_modules/picomatch/lib/parse.js +781 -0
  537. package/dist/_node_modules/picomatch/lib/parse.js.map +1 -0
  538. package/dist/_node_modules/picomatch/lib/picomatch.cjs +146 -0
  539. package/dist/_node_modules/picomatch/lib/picomatch.cjs.map +1 -0
  540. package/dist/_node_modules/picomatch/lib/picomatch.js +147 -0
  541. package/dist/_node_modules/picomatch/lib/picomatch.js.map +1 -0
  542. package/dist/_node_modules/picomatch/lib/scan.cjs +332 -0
  543. package/dist/_node_modules/picomatch/lib/scan.cjs.map +1 -0
  544. package/dist/_node_modules/picomatch/lib/scan.js +333 -0
  545. package/dist/_node_modules/picomatch/lib/scan.js.map +1 -0
  546. package/dist/_node_modules/picomatch/lib/utils.cjs +64 -0
  547. package/dist/_node_modules/picomatch/lib/utils.cjs.map +1 -0
  548. package/dist/_node_modules/picomatch/lib/utils.js +65 -0
  549. package/dist/_node_modules/picomatch/lib/utils.js.map +1 -0
  550. package/dist/_node_modules/queue-microtask/index.cjs +9 -0
  551. package/dist/_node_modules/queue-microtask/index.cjs.map +1 -0
  552. package/dist/_node_modules/queue-microtask/index.js +10 -0
  553. package/dist/_node_modules/queue-microtask/index.js.map +1 -0
  554. package/dist/_node_modules/quick-lru/index.cjs +234 -0
  555. package/dist/_node_modules/quick-lru/index.cjs.map +1 -0
  556. package/dist/_node_modules/quick-lru/index.js +235 -0
  557. package/dist/_node_modules/quick-lru/index.js.map +1 -0
  558. package/dist/_node_modules/reusify/reusify.cjs +27 -0
  559. package/dist/_node_modules/reusify/reusify.cjs.map +1 -0
  560. package/dist/_node_modules/reusify/reusify.js +28 -0
  561. package/dist/_node_modules/reusify/reusify.js.map +1 -0
  562. package/dist/_node_modules/run-parallel/index.cjs +52 -0
  563. package/dist/_node_modules/run-parallel/index.cjs.map +1 -0
  564. package/dist/_node_modules/run-parallel/index.js +53 -0
  565. package/dist/_node_modules/run-parallel/index.js.map +1 -0
  566. package/dist/_node_modules/spdx-correct/index.cjs +333 -0
  567. package/dist/_node_modules/spdx-correct/index.cjs.map +1 -0
  568. package/dist/_node_modules/spdx-correct/index.js +334 -0
  569. package/dist/_node_modules/spdx-correct/index.js.map +1 -0
  570. package/dist/_node_modules/spdx-exceptions/index.json.cjs +43 -0
  571. package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +1 -0
  572. package/dist/_node_modules/spdx-exceptions/index.json.js +44 -0
  573. package/dist/_node_modules/spdx-exceptions/index.json.js.map +1 -0
  574. package/dist/_node_modules/spdx-expression-parse/index.cjs +10 -0
  575. package/dist/_node_modules/spdx-expression-parse/index.cjs.map +1 -0
  576. package/dist/_node_modules/spdx-expression-parse/index.js +11 -0
  577. package/dist/_node_modules/spdx-expression-parse/index.js.map +1 -0
  578. package/dist/_node_modules/spdx-expression-parse/parse.cjs +110 -0
  579. package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +1 -0
  580. package/dist/_node_modules/spdx-expression-parse/parse.js +111 -0
  581. package/dist/_node_modules/spdx-expression-parse/parse.js.map +1 -0
  582. package/dist/_node_modules/spdx-expression-parse/scan.cjs +103 -0
  583. package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +1 -0
  584. package/dist/_node_modules/spdx-expression-parse/scan.js +104 -0
  585. package/dist/_node_modules/spdx-expression-parse/scan.js.map +1 -0
  586. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +30 -0
  587. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +1 -0
  588. package/dist/_node_modules/spdx-license-ids/deprecated.json.js +31 -0
  589. package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +1 -0
  590. package/dist/_node_modules/spdx-license-ids/index.json.cjs +510 -0
  591. package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +1 -0
  592. package/dist/_node_modules/spdx-license-ids/index.json.js +511 -0
  593. package/dist/_node_modules/spdx-license-ids/index.json.js.map +1 -0
  594. package/dist/_node_modules/to-regex-range/index.cjs +215 -0
  595. package/dist/_node_modules/to-regex-range/index.cjs.map +1 -0
  596. package/dist/_node_modules/to-regex-range/index.js +216 -0
  597. package/dist/_node_modules/to-regex-range/index.js.map +1 -0
  598. package/dist/_node_modules/trim-newlines/index.cjs +29 -0
  599. package/dist/_node_modules/trim-newlines/index.cjs.map +1 -0
  600. package/dist/_node_modules/trim-newlines/index.js +30 -0
  601. package/dist/_node_modules/trim-newlines/index.js.map +1 -0
  602. package/dist/_node_modules/validate-npm-package-license/index.cjs +70 -0
  603. package/dist/_node_modules/validate-npm-package-license/index.cjs.map +1 -0
  604. package/dist/_node_modules/validate-npm-package-license/index.js +71 -0
  605. package/dist/_node_modules/validate-npm-package-license/index.js.map +1 -0
  606. package/dist/_virtual/_commonjsHelpers.cjs +5 -0
  607. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  608. package/dist/_virtual/_commonjsHelpers.js +5 -0
  609. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  610. package/dist/_virtual/array.cjs +5 -0
  611. package/dist/_virtual/array.cjs.map +1 -0
  612. package/dist/_virtual/array.js +5 -0
  613. package/dist/_virtual/array.js.map +1 -0
  614. package/dist/_virtual/async.cjs +5 -0
  615. package/dist/_virtual/async.cjs.map +1 -0
  616. package/dist/_virtual/async.js +5 -0
  617. package/dist/_virtual/async.js.map +1 -0
  618. package/dist/_virtual/async2.cjs +5 -0
  619. package/dist/_virtual/async2.cjs.map +1 -0
  620. package/dist/_virtual/async2.js +5 -0
  621. package/dist/_virtual/async2.js.map +1 -0
  622. package/dist/_virtual/async3.cjs +5 -0
  623. package/dist/_virtual/async3.cjs.map +1 -0
  624. package/dist/_virtual/async3.js +5 -0
  625. package/dist/_virtual/async3.js.map +1 -0
  626. package/dist/_virtual/async4.cjs +5 -0
  627. package/dist/_virtual/async4.cjs.map +1 -0
  628. package/dist/_virtual/async4.js +5 -0
  629. package/dist/_virtual/async4.js.map +1 -0
  630. package/dist/_virtual/async5.cjs +5 -0
  631. package/dist/_virtual/async5.cjs.map +1 -0
  632. package/dist/_virtual/async5.js +5 -0
  633. package/dist/_virtual/async5.js.map +1 -0
  634. package/dist/_virtual/async6.cjs +5 -0
  635. package/dist/_virtual/async6.cjs.map +1 -0
  636. package/dist/_virtual/async6.js +5 -0
  637. package/dist/_virtual/async6.js.map +1 -0
  638. package/dist/_virtual/common.cjs +5 -0
  639. package/dist/_virtual/common.cjs.map +1 -0
  640. package/dist/_virtual/common.js +5 -0
  641. package/dist/_virtual/common.js.map +1 -0
  642. package/dist/_virtual/common2.cjs +5 -0
  643. package/dist/_virtual/common2.cjs.map +1 -0
  644. package/dist/_virtual/common2.js +5 -0
  645. package/dist/_virtual/common2.js.map +1 -0
  646. package/dist/_virtual/constants.cjs +5 -0
  647. package/dist/_virtual/constants.cjs.map +1 -0
  648. package/dist/_virtual/constants.js +5 -0
  649. package/dist/_virtual/constants.js.map +1 -0
  650. package/dist/_virtual/deep.cjs +5 -0
  651. package/dist/_virtual/deep.cjs.map +1 -0
  652. package/dist/_virtual/deep.js +5 -0
  653. package/dist/_virtual/deep.js.map +1 -0
  654. package/dist/_virtual/entry.cjs +5 -0
  655. package/dist/_virtual/entry.cjs.map +1 -0
  656. package/dist/_virtual/entry.js +5 -0
  657. package/dist/_virtual/entry.js.map +1 -0
  658. package/dist/_virtual/entry2.cjs +5 -0
  659. package/dist/_virtual/entry2.cjs.map +1 -0
  660. package/dist/_virtual/entry2.js +5 -0
  661. package/dist/_virtual/entry2.js.map +1 -0
  662. package/dist/_virtual/errno.cjs +5 -0
  663. package/dist/_virtual/errno.cjs.map +1 -0
  664. package/dist/_virtual/errno.js +5 -0
  665. package/dist/_virtual/errno.js.map +1 -0
  666. package/dist/_virtual/error.cjs +5 -0
  667. package/dist/_virtual/error.cjs.map +1 -0
  668. package/dist/_virtual/error.js +5 -0
  669. package/dist/_virtual/error.js.map +1 -0
  670. package/dist/_virtual/fs.cjs +5 -0
  671. package/dist/_virtual/fs.cjs.map +1 -0
  672. package/dist/_virtual/fs.js +5 -0
  673. package/dist/_virtual/fs.js.map +1 -0
  674. package/dist/_virtual/fs2.cjs +5 -0
  675. package/dist/_virtual/fs2.cjs.map +1 -0
  676. package/dist/_virtual/fs2.js +5 -0
  677. package/dist/_virtual/fs2.js.map +1 -0
  678. package/dist/_virtual/fs3.cjs +5 -0
  679. package/dist/_virtual/fs3.cjs.map +1 -0
  680. package/dist/_virtual/fs3.js +5 -0
  681. package/dist/_virtual/fs3.js.map +1 -0
  682. package/dist/_virtual/fs4.cjs +5 -0
  683. package/dist/_virtual/fs4.cjs.map +1 -0
  684. package/dist/_virtual/fs4.js +5 -0
  685. package/dist/_virtual/fs4.js.map +1 -0
  686. package/dist/_virtual/identifier.cjs +5 -0
  687. package/dist/_virtual/identifier.cjs.map +1 -0
  688. package/dist/_virtual/identifier.js +5 -0
  689. package/dist/_virtual/identifier.js.map +1 -0
  690. package/dist/_virtual/index.cjs +13 -0
  691. package/dist/_virtual/index.cjs.map +1 -0
  692. package/dist/_virtual/index.js +14 -0
  693. package/dist/_virtual/index.js.map +1 -0
  694. package/dist/_virtual/index10.cjs +5 -0
  695. package/dist/_virtual/index10.cjs.map +1 -0
  696. package/dist/_virtual/index10.js +5 -0
  697. package/dist/_virtual/index10.js.map +1 -0
  698. package/dist/_virtual/index11.cjs +5 -0
  699. package/dist/_virtual/index11.cjs.map +1 -0
  700. package/dist/_virtual/index11.js +5 -0
  701. package/dist/_virtual/index11.js.map +1 -0
  702. package/dist/_virtual/index12.cjs +13 -0
  703. package/dist/_virtual/index12.cjs.map +1 -0
  704. package/dist/_virtual/index12.js +14 -0
  705. package/dist/_virtual/index12.js.map +1 -0
  706. package/dist/_virtual/index13.cjs +5 -0
  707. package/dist/_virtual/index13.cjs.map +1 -0
  708. package/dist/_virtual/index13.js +5 -0
  709. package/dist/_virtual/index13.js.map +1 -0
  710. package/dist/_virtual/index14.cjs +13 -0
  711. package/dist/_virtual/index14.cjs.map +1 -0
  712. package/dist/_virtual/index14.js +14 -0
  713. package/dist/_virtual/index14.js.map +1 -0
  714. package/dist/_virtual/index15.cjs +5 -0
  715. package/dist/_virtual/index15.cjs.map +1 -0
  716. package/dist/_virtual/index15.js +5 -0
  717. package/dist/_virtual/index15.js.map +1 -0
  718. package/dist/_virtual/index16.cjs +5 -0
  719. package/dist/_virtual/index16.cjs.map +1 -0
  720. package/dist/_virtual/index16.js +5 -0
  721. package/dist/_virtual/index16.js.map +1 -0
  722. package/dist/_virtual/index17.cjs +5 -0
  723. package/dist/_virtual/index17.cjs.map +1 -0
  724. package/dist/_virtual/index17.js +5 -0
  725. package/dist/_virtual/index17.js.map +1 -0
  726. package/dist/_virtual/index18.cjs +5 -0
  727. package/dist/_virtual/index18.cjs.map +1 -0
  728. package/dist/_virtual/index18.js +5 -0
  729. package/dist/_virtual/index18.js.map +1 -0
  730. package/dist/_virtual/index2.cjs +13 -0
  731. package/dist/_virtual/index2.cjs.map +1 -0
  732. package/dist/_virtual/index2.js +14 -0
  733. package/dist/_virtual/index2.js.map +1 -0
  734. package/dist/_virtual/index3.cjs +13 -0
  735. package/dist/_virtual/index3.cjs.map +1 -0
  736. package/dist/_virtual/index3.js +14 -0
  737. package/dist/_virtual/index3.js.map +1 -0
  738. package/dist/_virtual/index4.cjs +13 -0
  739. package/dist/_virtual/index4.cjs.map +1 -0
  740. package/dist/_virtual/index4.js +14 -0
  741. package/dist/_virtual/index4.js.map +1 -0
  742. package/dist/_virtual/index5.cjs +5 -0
  743. package/dist/_virtual/index5.cjs.map +1 -0
  744. package/dist/_virtual/index5.js +5 -0
  745. package/dist/_virtual/index5.js.map +1 -0
  746. package/dist/_virtual/index6.cjs +5 -0
  747. package/dist/_virtual/index6.cjs.map +1 -0
  748. package/dist/_virtual/index6.js +5 -0
  749. package/dist/_virtual/index6.js.map +1 -0
  750. package/dist/_virtual/index7.cjs +13 -0
  751. package/dist/_virtual/index7.cjs.map +1 -0
  752. package/dist/_virtual/index7.js +14 -0
  753. package/dist/_virtual/index7.js.map +1 -0
  754. package/dist/_virtual/index8.cjs +5 -0
  755. package/dist/_virtual/index8.cjs.map +1 -0
  756. package/dist/_virtual/index8.js +5 -0
  757. package/dist/_virtual/index8.js.map +1 -0
  758. package/dist/_virtual/index9.cjs +5 -0
  759. package/dist/_virtual/index9.cjs.map +1 -0
  760. package/dist/_virtual/index9.js +5 -0
  761. package/dist/_virtual/index9.js.map +1 -0
  762. package/dist/_virtual/keyword.cjs +5 -0
  763. package/dist/_virtual/keyword.cjs.map +1 -0
  764. package/dist/_virtual/keyword.js +5 -0
  765. package/dist/_virtual/keyword.js.map +1 -0
  766. package/dist/_virtual/matcher.cjs +5 -0
  767. package/dist/_virtual/matcher.cjs.map +1 -0
  768. package/dist/_virtual/matcher.js +5 -0
  769. package/dist/_virtual/matcher.js.map +1 -0
  770. package/dist/_virtual/partial.cjs +5 -0
  771. package/dist/_virtual/partial.cjs.map +1 -0
  772. package/dist/_virtual/partial.js +5 -0
  773. package/dist/_virtual/partial.js.map +1 -0
  774. package/dist/_virtual/path.cjs +5 -0
  775. package/dist/_virtual/path.cjs.map +1 -0
  776. package/dist/_virtual/path.js +5 -0
  777. package/dist/_virtual/path.js.map +1 -0
  778. package/dist/_virtual/pattern.cjs +5 -0
  779. package/dist/_virtual/pattern.cjs.map +1 -0
  780. package/dist/_virtual/pattern.js +5 -0
  781. package/dist/_virtual/pattern.js.map +1 -0
  782. package/dist/_virtual/patterns.cjs +5 -0
  783. package/dist/_virtual/patterns.cjs.map +1 -0
  784. package/dist/_virtual/patterns.js +5 -0
  785. package/dist/_virtual/patterns.js.map +1 -0
  786. package/dist/_virtual/provider.cjs +5 -0
  787. package/dist/_virtual/provider.cjs.map +1 -0
  788. package/dist/_virtual/provider.js +5 -0
  789. package/dist/_virtual/provider.js.map +1 -0
  790. package/dist/_virtual/queue.cjs +13 -0
  791. package/dist/_virtual/queue.cjs.map +1 -0
  792. package/dist/_virtual/queue.js +14 -0
  793. package/dist/_virtual/queue.js.map +1 -0
  794. package/dist/_virtual/reader.cjs +5 -0
  795. package/dist/_virtual/reader.cjs.map +1 -0
  796. package/dist/_virtual/reader.js +5 -0
  797. package/dist/_virtual/reader.js.map +1 -0
  798. package/dist/_virtual/reader2.cjs +5 -0
  799. package/dist/_virtual/reader2.cjs.map +1 -0
  800. package/dist/_virtual/reader2.js +5 -0
  801. package/dist/_virtual/reader2.js.map +1 -0
  802. package/dist/_virtual/settings.cjs +5 -0
  803. package/dist/_virtual/settings.cjs.map +1 -0
  804. package/dist/_virtual/settings.js +5 -0
  805. package/dist/_virtual/settings.js.map +1 -0
  806. package/dist/_virtual/settings2.cjs +5 -0
  807. package/dist/_virtual/settings2.cjs.map +1 -0
  808. package/dist/_virtual/settings2.js +5 -0
  809. package/dist/_virtual/settings2.js.map +1 -0
  810. package/dist/_virtual/settings3.cjs +5 -0
  811. package/dist/_virtual/settings3.cjs.map +1 -0
  812. package/dist/_virtual/settings3.js +5 -0
  813. package/dist/_virtual/settings3.js.map +1 -0
  814. package/dist/_virtual/settings4.cjs +5 -0
  815. package/dist/_virtual/settings4.cjs.map +1 -0
  816. package/dist/_virtual/settings4.js +5 -0
  817. package/dist/_virtual/settings4.js.map +1 -0
  818. package/dist/_virtual/stream.cjs +5 -0
  819. package/dist/_virtual/stream.cjs.map +1 -0
  820. package/dist/_virtual/stream.js +5 -0
  821. package/dist/_virtual/stream.js.map +1 -0
  822. package/dist/_virtual/stream2.cjs +5 -0
  823. package/dist/_virtual/stream2.cjs.map +1 -0
  824. package/dist/_virtual/stream2.js +5 -0
  825. package/dist/_virtual/stream2.js.map +1 -0
  826. package/dist/_virtual/stream3.cjs +5 -0
  827. package/dist/_virtual/stream3.cjs.map +1 -0
  828. package/dist/_virtual/stream3.js +5 -0
  829. package/dist/_virtual/stream3.js.map +1 -0
  830. package/dist/_virtual/stream4.cjs +5 -0
  831. package/dist/_virtual/stream4.cjs.map +1 -0
  832. package/dist/_virtual/stream4.js +5 -0
  833. package/dist/_virtual/stream4.js.map +1 -0
  834. package/dist/_virtual/string.cjs +5 -0
  835. package/dist/_virtual/string.cjs.map +1 -0
  836. package/dist/_virtual/string.js +5 -0
  837. package/dist/_virtual/string.js.map +1 -0
  838. package/dist/_virtual/sync.cjs +5 -0
  839. package/dist/_virtual/sync.cjs.map +1 -0
  840. package/dist/_virtual/sync.js +5 -0
  841. package/dist/_virtual/sync.js.map +1 -0
  842. package/dist/_virtual/sync2.cjs +5 -0
  843. package/dist/_virtual/sync2.cjs.map +1 -0
  844. package/dist/_virtual/sync2.js +5 -0
  845. package/dist/_virtual/sync2.js.map +1 -0
  846. package/dist/_virtual/sync3.cjs +5 -0
  847. package/dist/_virtual/sync3.cjs.map +1 -0
  848. package/dist/_virtual/sync3.js +5 -0
  849. package/dist/_virtual/sync3.js.map +1 -0
  850. package/dist/_virtual/sync4.cjs +5 -0
  851. package/dist/_virtual/sync4.cjs.map +1 -0
  852. package/dist/_virtual/sync4.js +5 -0
  853. package/dist/_virtual/sync4.js.map +1 -0
  854. package/dist/_virtual/sync5.cjs +5 -0
  855. package/dist/_virtual/sync5.cjs.map +1 -0
  856. package/dist/_virtual/sync5.js +5 -0
  857. package/dist/_virtual/sync5.js.map +1 -0
  858. package/dist/_virtual/sync6.cjs +5 -0
  859. package/dist/_virtual/sync6.cjs.map +1 -0
  860. package/dist/_virtual/sync6.js +5 -0
  861. package/dist/_virtual/sync6.js.map +1 -0
  862. package/dist/_virtual/tasks.cjs +5 -0
  863. package/dist/_virtual/tasks.cjs.map +1 -0
  864. package/dist/_virtual/tasks.js +5 -0
  865. package/dist/_virtual/tasks.js.map +1 -0
  866. package/dist/_virtual/utils.cjs +5 -0
  867. package/dist/_virtual/utils.cjs.map +1 -0
  868. package/dist/_virtual/utils.js +5 -0
  869. package/dist/_virtual/utils.js.map +1 -0
  870. package/dist/_virtual/utils2.cjs +5 -0
  871. package/dist/_virtual/utils2.cjs.map +1 -0
  872. package/dist/_virtual/utils2.js +5 -0
  873. package/dist/_virtual/utils2.js.map +1 -0
  874. package/dist/cli.cjs +78 -0
  875. package/dist/cli.cjs.map +1 -0
  876. package/dist/cli.d.ts +1 -0
  877. package/dist/cli.js +77 -0
  878. package/dist/cli.js.map +1 -0
  879. package/dist/constants.cjs +7 -0
  880. package/dist/constants.cjs.map +1 -0
  881. package/dist/constants.d.ts +2 -0
  882. package/dist/constants.js +7 -0
  883. package/dist/constants.js.map +1 -0
  884. package/dist/index.cjs +6 -0
  885. package/dist/index.cjs.map +1 -0
  886. package/dist/index.d.ts +2 -0
  887. package/dist/index.js +6 -0
  888. package/dist/index.js.map +1 -0
  889. package/dist/lib/assertExists.cjs +9 -0
  890. package/dist/lib/assertExists.cjs.map +1 -0
  891. package/dist/lib/assertExists.d.ts +1 -0
  892. package/dist/lib/assertExists.js +9 -0
  893. package/dist/lib/assertExists.js.map +1 -0
  894. package/dist/lib/framework.cjs +92 -0
  895. package/dist/lib/framework.cjs.map +1 -0
  896. package/dist/lib/framework.d.ts +45 -0
  897. package/dist/lib/framework.js +92 -0
  898. package/dist/lib/framework.js.map +1 -0
  899. package/dist/lib/getExecuteCommand.cjs +8 -0
  900. package/dist/lib/getExecuteCommand.cjs.map +1 -0
  901. package/dist/lib/getExecuteCommand.d.ts +5 -0
  902. package/dist/lib/getExecuteCommand.js +8 -0
  903. package/dist/lib/getExecuteCommand.js.map +1 -0
  904. package/dist/lib/getRunScriptCommand.cjs +8 -0
  905. package/dist/lib/getRunScriptCommand.cjs.map +1 -0
  906. package/dist/lib/getRunScriptCommand.d.ts +5 -0
  907. package/dist/lib/getRunScriptCommand.js +8 -0
  908. package/dist/lib/getRunScriptCommand.js.map +1 -0
  909. package/dist/lib/listr.cjs +13 -0
  910. package/dist/lib/listr.cjs.map +1 -0
  911. package/dist/lib/listr.d.ts +3 -0
  912. package/dist/lib/listr.js +13 -0
  913. package/dist/lib/listr.js.map +1 -0
  914. package/dist/lib/prompt.cjs +15 -0
  915. package/dist/lib/prompt.cjs.map +1 -0
  916. package/dist/lib/prompt.d.ts +10 -0
  917. package/dist/lib/prompt.js +15 -0
  918. package/dist/lib/prompt.js.map +1 -0
  919. package/dist/lib/repositoryDomain.cjs +130 -0
  920. package/dist/lib/repositoryDomain.cjs.map +1 -0
  921. package/dist/lib/repositoryDomain.d.ts +25 -0
  922. package/dist/lib/repositoryDomain.js +130 -0
  923. package/dist/lib/repositoryDomain.js.map +1 -0
  924. package/dist/packages/init/_node_modules/globby/ignore.cjs +62 -0
  925. package/dist/packages/init/_node_modules/globby/ignore.cjs.map +1 -0
  926. package/dist/packages/init/_node_modules/globby/ignore.js +62 -0
  927. package/dist/packages/init/_node_modules/globby/ignore.js.map +1 -0
  928. package/dist/packages/init/_node_modules/globby/index.cjs +137 -0
  929. package/dist/packages/init/_node_modules/globby/index.cjs.map +1 -0
  930. package/dist/packages/init/_node_modules/globby/index.js +137 -0
  931. package/dist/packages/init/_node_modules/globby/index.js.map +1 -0
  932. package/dist/packages/init/_node_modules/globby/utilities.cjs +9 -0
  933. package/dist/packages/init/_node_modules/globby/utilities.cjs.map +1 -0
  934. package/dist/packages/init/_node_modules/globby/utilities.js +9 -0
  935. package/dist/packages/init/_node_modules/globby/utilities.js.map +1 -0
  936. package/dist/packages/init/_node_modules/slash/index.cjs +11 -0
  937. package/dist/packages/init/_node_modules/slash/index.cjs.map +1 -0
  938. package/dist/packages/init/_node_modules/slash/index.js +12 -0
  939. package/dist/packages/init/_node_modules/slash/index.js.map +1 -0
  940. package/dist/packages/init/package.json.cjs +135 -0
  941. package/dist/packages/init/package.json.cjs.map +1 -0
  942. package/dist/packages/init/package.json.js +135 -0
  943. package/dist/packages/init/package.json.js.map +1 -0
  944. package/package.json +93 -69
  945. package/src/SliceMachineInitProcess.ts +1114 -0
  946. package/src/cli.ts +84 -0
  947. package/src/constants.ts +3 -0
  948. package/src/index.ts +5 -129
  949. package/src/lib/assertExists.ts +9 -0
  950. package/src/lib/framework.ts +155 -0
  951. package/src/lib/getExecuteCommand.ts +9 -0
  952. package/src/lib/getRunScriptCommand.ts +9 -0
  953. package/src/lib/listr.ts +15 -0
  954. package/src/lib/prompt.ts +27 -0
  955. package/src/lib/repositoryDomain.ts +219 -0
  956. package/.depcheckrc +0 -4
  957. package/.eslintignore +0 -3
  958. package/.eslintrc.js +0 -24
  959. package/build/index.js +0 -3388
  960. package/build/index.js.map +0 -1
  961. package/dist/__node_modules/lines-and-columns/build/index.cjs +0 -64
  962. package/dist/__node_modules/lines-and-columns/build/index.js +0 -63
  963. package/dist/packages/init/__node_modules/human-signals/build/src/core.cjs +0 -275
  964. package/dist/packages/init/__node_modules/human-signals/build/src/core.cjs.map +0 -1
  965. package/dist/packages/init/__node_modules/human-signals/build/src/core.js +0 -275
  966. package/dist/packages/init/__node_modules/human-signals/build/src/core.js.map +0 -1
  967. package/dist/packages/init/__node_modules/human-signals/build/src/main.cjs +0 -50
  968. package/dist/packages/init/__node_modules/human-signals/build/src/main.cjs.map +0 -1
  969. package/dist/packages/init/__node_modules/human-signals/build/src/main.js +0 -50
  970. package/dist/packages/init/__node_modules/human-signals/build/src/main.js.map +0 -1
  971. package/dist/packages/init/__node_modules/human-signals/build/src/realtime.cjs +0 -20
  972. package/dist/packages/init/__node_modules/human-signals/build/src/realtime.cjs.map +0 -1
  973. package/dist/packages/init/__node_modules/human-signals/build/src/realtime.js +0 -20
  974. package/dist/packages/init/__node_modules/human-signals/build/src/realtime.js.map +0 -1
  975. package/dist/packages/init/__node_modules/human-signals/build/src/signals.cjs +0 -27
  976. package/dist/packages/init/__node_modules/human-signals/build/src/signals.cjs.map +0 -1
  977. package/dist/packages/init/__node_modules/human-signals/build/src/signals.js +0 -27
  978. package/dist/packages/init/__node_modules/human-signals/build/src/signals.js.map +0 -1
  979. package/jest.config.js +0 -17
  980. package/siroc.config.js +0 -19
  981. package/src/steps/choose-or-create-a-repository.ts +0 -169
  982. package/src/steps/configure-project.ts +0 -72
  983. package/src/steps/detect-framework.ts +0 -94
  984. package/src/steps/display-final-message.ts +0 -31
  985. package/src/steps/index.ts +0 -10
  986. package/src/steps/install-lib.ts +0 -116
  987. package/src/steps/install-required-dependencies.ts +0 -106
  988. package/src/steps/loginOrBypass.ts +0 -25
  989. package/src/steps/sendStarterData.ts +0 -31
  990. package/src/steps/set-version.ts +0 -61
  991. package/src/steps/starters/custom-types.ts +0 -81
  992. package/src/steps/starters/documents.ts +0 -95
  993. package/src/steps/starters/prompts.ts +0 -29
  994. package/src/steps/starters/s3.ts +0 -70
  995. package/src/steps/starters/slices.ts +0 -75
  996. package/src/steps/validate-pkg.ts +0 -14
  997. package/src/utils/PackageManager.ts +0 -66
  998. package/src/utils/auth/helpers.ts +0 -168
  999. package/src/utils/auth/index.ts +0 -63
  1000. package/src/utils/client.ts +0 -89
  1001. package/src/utils/create-repo.ts +0 -37
  1002. package/src/utils/fs.ts +0 -18
  1003. package/src/utils/index.ts +0 -42
  1004. package/src/utils/logs.ts +0 -28
  1005. package/src/utils/noop.ts +0 -3
  1006. package/src/utils/tracker.ts +0 -153
  1007. package/src/utils/validateRepositoryName.ts +0 -44
  1008. package/src/utils/versionCheck.ts +0 -10
  1009. package/tsconfig.json +0 -26
  1010. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.cjs +0 -0
  1011. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/index.js +0 -0
  1012. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.cjs +0 -0
  1013. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/string-utils.js +0 -0
  1014. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.cjs +0 -0
  1015. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/tokenize-arg-string.js +0 -0
  1016. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.cjs +0 -0
  1017. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser-types.js +0 -0
  1018. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.cjs +0 -0
  1019. /package/dist/{__node_modules/meow/__node_modules → _node_modules/meow/_node_modules}/yargs-parser/build/lib/yargs-parser.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/micromatch/index.js"],"sourcesContent":["'use strict';\n\nconst util = require('util');\nconst braces = require('braces');\nconst picomatch = require('picomatch');\nconst utils = require('picomatch/lib/utils');\nconst isEmptyString = val => val === '' || val === './';\n\n/**\n * Returns an array of strings that match one or more glob patterns.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm(list, patterns[, options]);\n *\n * console.log(mm(['a.js', 'a.txt'], ['*.js']));\n * //=> [ 'a.js' ]\n * ```\n * @param {String|Array<string>} `list` List of strings to match.\n * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options)\n * @return {Array} Returns an array of matches\n * @summary false\n * @api public\n */\n\nconst micromatch = (list, patterns, options) => {\n patterns = [].concat(patterns);\n list = [].concat(list);\n\n let omit = new Set();\n let keep = new Set();\n let items = new Set();\n let negatives = 0;\n\n let onResult = state => {\n items.add(state.output);\n if (options && options.onResult) {\n options.onResult(state);\n }\n };\n\n for (let i = 0; i < patterns.length; i++) {\n let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);\n let negated = isMatch.state.negated || isMatch.state.negatedExtglob;\n if (negated) negatives++;\n\n for (let item of list) {\n let matched = isMatch(item, true);\n\n let match = negated ? !matched.isMatch : matched.isMatch;\n if (!match) continue;\n\n if (negated) {\n omit.add(matched.output);\n } else {\n omit.delete(matched.output);\n keep.add(matched.output);\n }\n }\n }\n\n let result = negatives === patterns.length ? [...items] : [...keep];\n let matches = result.filter(item => !omit.has(item));\n\n if (options && matches.length === 0) {\n if (options.failglob === true) {\n throw new Error(`No matches found for \"${patterns.join(', ')}\"`);\n }\n\n if (options.nonull === true || options.nullglob === true) {\n return options.unescape ? patterns.map(p => p.replace(/\\\\/g, '')) : patterns;\n }\n }\n\n return matches;\n};\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.match = micromatch;\n\n/**\n * Returns a matcher function from the given glob `pattern` and `options`.\n * The returned function takes a string to match as its only argument and returns\n * true if the string is a match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matcher(pattern[, options]);\n *\n * const isMatch = mm.matcher('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @param {String} `pattern` Glob pattern\n * @param {Object} `options`\n * @return {Function} Returns a matcher function.\n * @api public\n */\n\nmicromatch.matcher = (pattern, options) => picomatch(pattern, options);\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.isMatch(string, patterns[, options]);\n *\n * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(mm.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `[options]` See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.any = micromatch.isMatch;\n\n/**\n * Returns a list of strings that _**do not match any**_ of the given `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.not(list, patterns[, options]);\n *\n * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));\n * //=> ['b.b', 'c.c']\n * ```\n * @param {Array} `list` Array of strings to match.\n * @param {String|Array} `patterns` One or more glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array} Returns an array of strings that **do not match** the given patterns.\n * @api public\n */\n\nmicromatch.not = (list, patterns, options = {}) => {\n patterns = [].concat(patterns).map(String);\n let result = new Set();\n let items = [];\n\n let onResult = state => {\n if (options.onResult) options.onResult(state);\n items.push(state.output);\n };\n\n let matches = new Set(micromatch(list, patterns, { ...options, onResult }));\n\n for (let item of items) {\n if (!matches.has(item)) {\n result.add(item);\n }\n }\n return [...result];\n};\n\n/**\n * Returns true if the given `string` contains the given pattern. Similar\n * to [.isMatch](#isMatch) but the pattern can match any part of the string.\n *\n * ```js\n * var mm = require('micromatch');\n * // mm.contains(string, pattern[, options]);\n *\n * console.log(mm.contains('aa/bb/cc', '*b'));\n * //=> true\n * console.log(mm.contains('aa/bb/cc', '*d'));\n * //=> false\n * ```\n * @param {String} `str` The string to match.\n * @param {String|Array} `patterns` Glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any of the patterns matches any part of `str`.\n * @api public\n */\n\nmicromatch.contains = (str, pattern, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n if (Array.isArray(pattern)) {\n return pattern.some(p => micromatch.contains(str, p, options));\n }\n\n if (typeof pattern === 'string') {\n if (isEmptyString(str) || isEmptyString(pattern)) {\n return false;\n }\n\n if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {\n return true;\n }\n }\n\n return micromatch.isMatch(str, pattern, { ...options, contains: true });\n};\n\n/**\n * Filter the keys of the given object with the given `glob` pattern\n * and `options`. Does not attempt to match nested keys. If you need this feature,\n * use [glob-object][] instead.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matchKeys(object, patterns[, options]);\n *\n * const obj = { aa: 'a', ab: 'b', ac: 'c' };\n * console.log(mm.matchKeys(obj, '*b'));\n * //=> { ab: 'b' }\n * ```\n * @param {Object} `object` The object with keys to filter.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Object} Returns an object with only keys that match the given patterns.\n * @api public\n */\n\nmicromatch.matchKeys = (obj, patterns, options) => {\n if (!utils.isObject(obj)) {\n throw new TypeError('Expected the first argument to be an object');\n }\n let keys = micromatch(Object.keys(obj), patterns, options);\n let res = {};\n for (let key of keys) res[key] = obj[key];\n return res;\n};\n\n/**\n * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.some(list, patterns[, options]);\n *\n * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // true\n * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`\n * @api public\n */\n\nmicromatch.some = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (items.some(item => isMatch(item))) {\n return true;\n }\n }\n return false;\n};\n\n/**\n * Returns true if every string in the given `list` matches\n * any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.every(list, patterns[, options]);\n *\n * console.log(mm.every('foo.js', ['foo.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // false\n * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`\n * @api public\n */\n\nmicromatch.every = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (!items.every(item => isMatch(item))) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Returns true if **all** of the given `patterns` match\n * the specified string.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.all(string, patterns[, options]);\n *\n * console.log(mm.all('foo.js', ['foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', '!foo.js']));\n * // false\n *\n * console.log(mm.all('foo.js', ['*.js', 'foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));\n * // true\n * ```\n * @param {String|Array} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.all = (str, patterns, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n return [].concat(patterns).every(p => picomatch(p, options)(str));\n};\n\n/**\n * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.capture(pattern, string[, options]);\n *\n * console.log(mm.capture('test/*.js', 'test/foo.js'));\n * //=> ['foo']\n * console.log(mm.capture('test/*.js', 'foo/bar.css'));\n * //=> null\n * ```\n * @param {String} `glob` Glob pattern to use for matching.\n * @param {String} `input` String to match\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.\n * @api public\n */\n\nmicromatch.capture = (glob, input, options) => {\n let posix = utils.isWindows(options);\n let regex = picomatch.makeRe(String(glob), { ...options, capture: true });\n let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);\n\n if (match) {\n return match.slice(1).map(v => v === void 0 ? '' : v);\n }\n};\n\n/**\n * Create a regular expression from the given glob `pattern`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.makeRe(pattern[, options]);\n *\n * console.log(mm.makeRe('*.js'));\n * //=> /^(?:(\\.[\\\\\\/])?(?!\\.)(?=.)[^\\/]*?\\.js)$/\n * ```\n * @param {String} `pattern` A glob pattern to convert to regex.\n * @param {Object} `options`\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\nmicromatch.makeRe = (...args) => picomatch.makeRe(...args);\n\n/**\n * Scan a glob pattern to separate the pattern into segments. Used\n * by the [split](#split) method.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.scan(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\nmicromatch.scan = (...args) => picomatch.scan(...args);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.parse(pattern[, options]);\n * ```\n * @param {String} `glob`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as regex source string.\n * @api public\n */\n\nmicromatch.parse = (patterns, options) => {\n let res = [];\n for (let pattern of [].concat(patterns || [])) {\n for (let str of braces(String(pattern), options)) {\n res.push(picomatch.parse(str, options));\n }\n }\n return res;\n};\n\n/**\n * Process the given brace `pattern`.\n *\n * ```js\n * const { braces } = require('micromatch');\n * console.log(braces('foo/{a,b,c}/bar'));\n * //=> [ 'foo/(a|b|c)/bar' ]\n *\n * console.log(braces('foo/{a,b,c}/bar', { expand: true }));\n * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]\n * ```\n * @param {String} `pattern` String with brace pattern to process.\n * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.\n * @return {Array}\n * @api public\n */\n\nmicromatch.braces = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n if ((options && options.nobrace === true) || !/\\{.*\\}/.test(pattern)) {\n return [pattern];\n }\n return braces(pattern, options);\n};\n\n/**\n * Expand braces\n */\n\nmicromatch.braceExpand = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n return micromatch.braces(pattern, { ...options, expand: true });\n};\n\n/**\n * Expose micromatch\n */\n\nmodule.exports = micromatch;\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;;;AAEA,MAAM,OAAO;AACb,MAAM,SAASA;AACf,MAAM,YAAYC,QAAAA;AAClB,MAAM,QAAQC,QAAAA;AACd,MAAM,gBAAgB,SAAO,QAAQ,MAAM,QAAQ;AAoBnD,MAAM,aAA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CAAC,MAAM,OAAO,YAAY;AAC7C,MAAI,QAAQ,MAAM,UAAU,OAAO;AACnC,MAAI,QAAQ,UAAU,OAAO,OAAO,IAAI,GAAG,EAAE,GAAG,SAAS,SAAS,KAAM,CAAA;AACxE,MAAI,QAAQ,MAAM,KAAK,QAAQ,MAAM,eAAe,KAAK,IAAI,KAAK;AAElE,MAAI,OAAO;AACT,WAAO,MAAM,MAAM,CAAC,EAAE,IAAI,OAAK,MAAM,SAAS,KAAK,CAAC;AAAA,EACrD;AACH;AAkBA,WAAW,SAAS,IAAI,SAAS,UAAU,OAAO,GAAG,IAAI;AAgBzD,WAAW,OAAO,IAAI,SAAS,UAAU,KAAK,GAAG,IAAI;AAgBrD,WAAW,QAAQ,CAAC,UAAU,YAAY;AACxC,MAAI,MAAM,CAAA;AACV,WAAS,WAAW,CAAE,EAAC,OAAO,YAAY,CAAE,CAAA,GAAG;AAC7C,aAAS,OAAO,OAAO,OAAO,OAAO,GAAG,OAAO,GAAG;AAChD,UAAI,KAAK,UAAU,MAAM,KAAK,OAAO,CAAC;AAAA,IACvC;AAAA,EACF;AACD,SAAO;AACT;AAmBA,WAAW,SAAS,CAAC,SAAS,YAAY;AACxC,MAAI,OAAO,YAAY;AAAU,UAAM,IAAI,UAAU,mBAAmB;AACxE,MAAK,WAAW,QAAQ,YAAY,QAAS,CAAC,SAAS,KAAK,OAAO,GAAG;AACpE,WAAO,CAAC,OAAO;AAAA,EAChB;AACD,SAAO,OAAO,SAAS,OAAO;AAChC;AAMA,WAAW,cAAc,CAAC,SAAS,YAAY;AAC7C,MAAI,OAAO,YAAY;AAAU,UAAM,IAAI,UAAU,mBAAmB;AACxE,SAAO,WAAW,OAAO,SAAS,EAAE,GAAG,SAAS,QAAQ,KAAI,CAAE;AAChE;AAMA,IAAA,eAAiB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,165 @@
1
+ import require$$0 from "util";
2
+ import braces_1 from "../braces/index.js";
3
+ import "../picomatch/index.js";
4
+ import "../picomatch/lib/utils.js";
5
+ import { exports as picomatchExports } from "../../_virtual/index14.js";
6
+ import { __exports as utils$1 } from "../../_virtual/utils.js";
7
+ const util = require$$0;
8
+ const braces = braces_1;
9
+ const picomatch = picomatchExports;
10
+ const utils = utils$1;
11
+ const isEmptyString = (val) => val === "" || val === "./";
12
+ const micromatch = (list, patterns, options) => {
13
+ patterns = [].concat(patterns);
14
+ list = [].concat(list);
15
+ let omit = /* @__PURE__ */ new Set();
16
+ let keep = /* @__PURE__ */ new Set();
17
+ let items = /* @__PURE__ */ new Set();
18
+ let negatives = 0;
19
+ let onResult = (state) => {
20
+ items.add(state.output);
21
+ if (options && options.onResult) {
22
+ options.onResult(state);
23
+ }
24
+ };
25
+ for (let i = 0; i < patterns.length; i++) {
26
+ let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
27
+ let negated = isMatch.state.negated || isMatch.state.negatedExtglob;
28
+ if (negated)
29
+ negatives++;
30
+ for (let item of list) {
31
+ let matched = isMatch(item, true);
32
+ let match = negated ? !matched.isMatch : matched.isMatch;
33
+ if (!match)
34
+ continue;
35
+ if (negated) {
36
+ omit.add(matched.output);
37
+ } else {
38
+ omit.delete(matched.output);
39
+ keep.add(matched.output);
40
+ }
41
+ }
42
+ }
43
+ let result = negatives === patterns.length ? [...items] : [...keep];
44
+ let matches = result.filter((item) => !omit.has(item));
45
+ if (options && matches.length === 0) {
46
+ if (options.failglob === true) {
47
+ throw new Error(`No matches found for "${patterns.join(", ")}"`);
48
+ }
49
+ if (options.nonull === true || options.nullglob === true) {
50
+ return options.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
51
+ }
52
+ }
53
+ return matches;
54
+ };
55
+ micromatch.match = micromatch;
56
+ micromatch.matcher = (pattern, options) => picomatch(pattern, options);
57
+ micromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
58
+ micromatch.any = micromatch.isMatch;
59
+ micromatch.not = (list, patterns, options = {}) => {
60
+ patterns = [].concat(patterns).map(String);
61
+ let result = /* @__PURE__ */ new Set();
62
+ let items = [];
63
+ let onResult = (state) => {
64
+ if (options.onResult)
65
+ options.onResult(state);
66
+ items.push(state.output);
67
+ };
68
+ let matches = new Set(micromatch(list, patterns, { ...options, onResult }));
69
+ for (let item of items) {
70
+ if (!matches.has(item)) {
71
+ result.add(item);
72
+ }
73
+ }
74
+ return [...result];
75
+ };
76
+ micromatch.contains = (str, pattern, options) => {
77
+ if (typeof str !== "string") {
78
+ throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
79
+ }
80
+ if (Array.isArray(pattern)) {
81
+ return pattern.some((p) => micromatch.contains(str, p, options));
82
+ }
83
+ if (typeof pattern === "string") {
84
+ if (isEmptyString(str) || isEmptyString(pattern)) {
85
+ return false;
86
+ }
87
+ if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) {
88
+ return true;
89
+ }
90
+ }
91
+ return micromatch.isMatch(str, pattern, { ...options, contains: true });
92
+ };
93
+ micromatch.matchKeys = (obj, patterns, options) => {
94
+ if (!utils.isObject(obj)) {
95
+ throw new TypeError("Expected the first argument to be an object");
96
+ }
97
+ let keys = micromatch(Object.keys(obj), patterns, options);
98
+ let res = {};
99
+ for (let key of keys)
100
+ res[key] = obj[key];
101
+ return res;
102
+ };
103
+ micromatch.some = (list, patterns, options) => {
104
+ let items = [].concat(list);
105
+ for (let pattern of [].concat(patterns)) {
106
+ let isMatch = picomatch(String(pattern), options);
107
+ if (items.some((item) => isMatch(item))) {
108
+ return true;
109
+ }
110
+ }
111
+ return false;
112
+ };
113
+ micromatch.every = (list, patterns, options) => {
114
+ let items = [].concat(list);
115
+ for (let pattern of [].concat(patterns)) {
116
+ let isMatch = picomatch(String(pattern), options);
117
+ if (!items.every((item) => isMatch(item))) {
118
+ return false;
119
+ }
120
+ }
121
+ return true;
122
+ };
123
+ micromatch.all = (str, patterns, options) => {
124
+ if (typeof str !== "string") {
125
+ throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
126
+ }
127
+ return [].concat(patterns).every((p) => picomatch(p, options)(str));
128
+ };
129
+ micromatch.capture = (glob, input, options) => {
130
+ let posix = utils.isWindows(options);
131
+ let regex = picomatch.makeRe(String(glob), { ...options, capture: true });
132
+ let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);
133
+ if (match) {
134
+ return match.slice(1).map((v) => v === void 0 ? "" : v);
135
+ }
136
+ };
137
+ micromatch.makeRe = (...args) => picomatch.makeRe(...args);
138
+ micromatch.scan = (...args) => picomatch.scan(...args);
139
+ micromatch.parse = (patterns, options) => {
140
+ let res = [];
141
+ for (let pattern of [].concat(patterns || [])) {
142
+ for (let str of braces(String(pattern), options)) {
143
+ res.push(picomatch.parse(str, options));
144
+ }
145
+ }
146
+ return res;
147
+ };
148
+ micromatch.braces = (pattern, options) => {
149
+ if (typeof pattern !== "string")
150
+ throw new TypeError("Expected a string");
151
+ if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) {
152
+ return [pattern];
153
+ }
154
+ return braces(pattern, options);
155
+ };
156
+ micromatch.braceExpand = (pattern, options) => {
157
+ if (typeof pattern !== "string")
158
+ throw new TypeError("Expected a string");
159
+ return micromatch.braces(pattern, { ...options, expand: true });
160
+ };
161
+ var micromatch_1 = micromatch;
162
+ export {
163
+ micromatch_1 as default
164
+ };
165
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/micromatch/index.js"],"sourcesContent":["'use strict';\n\nconst util = require('util');\nconst braces = require('braces');\nconst picomatch = require('picomatch');\nconst utils = require('picomatch/lib/utils');\nconst isEmptyString = val => val === '' || val === './';\n\n/**\n * Returns an array of strings that match one or more glob patterns.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm(list, patterns[, options]);\n *\n * console.log(mm(['a.js', 'a.txt'], ['*.js']));\n * //=> [ 'a.js' ]\n * ```\n * @param {String|Array<string>} `list` List of strings to match.\n * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options)\n * @return {Array} Returns an array of matches\n * @summary false\n * @api public\n */\n\nconst micromatch = (list, patterns, options) => {\n patterns = [].concat(patterns);\n list = [].concat(list);\n\n let omit = new Set();\n let keep = new Set();\n let items = new Set();\n let negatives = 0;\n\n let onResult = state => {\n items.add(state.output);\n if (options && options.onResult) {\n options.onResult(state);\n }\n };\n\n for (let i = 0; i < patterns.length; i++) {\n let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);\n let negated = isMatch.state.negated || isMatch.state.negatedExtglob;\n if (negated) negatives++;\n\n for (let item of list) {\n let matched = isMatch(item, true);\n\n let match = negated ? !matched.isMatch : matched.isMatch;\n if (!match) continue;\n\n if (negated) {\n omit.add(matched.output);\n } else {\n omit.delete(matched.output);\n keep.add(matched.output);\n }\n }\n }\n\n let result = negatives === patterns.length ? [...items] : [...keep];\n let matches = result.filter(item => !omit.has(item));\n\n if (options && matches.length === 0) {\n if (options.failglob === true) {\n throw new Error(`No matches found for \"${patterns.join(', ')}\"`);\n }\n\n if (options.nonull === true || options.nullglob === true) {\n return options.unescape ? patterns.map(p => p.replace(/\\\\/g, '')) : patterns;\n }\n }\n\n return matches;\n};\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.match = micromatch;\n\n/**\n * Returns a matcher function from the given glob `pattern` and `options`.\n * The returned function takes a string to match as its only argument and returns\n * true if the string is a match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matcher(pattern[, options]);\n *\n * const isMatch = mm.matcher('*.!(*a)');\n * console.log(isMatch('a.a')); //=> false\n * console.log(isMatch('a.b')); //=> true\n * ```\n * @param {String} `pattern` Glob pattern\n * @param {Object} `options`\n * @return {Function} Returns a matcher function.\n * @api public\n */\n\nmicromatch.matcher = (pattern, options) => picomatch(pattern, options);\n\n/**\n * Returns true if **any** of the given glob `patterns` match the specified `string`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.isMatch(string, patterns[, options]);\n *\n * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true\n * console.log(mm.isMatch('a.a', 'b.*')); //=> false\n * ```\n * @param {String} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `[options]` See available [options](#options).\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);\n\n/**\n * Backwards compatibility\n */\n\nmicromatch.any = micromatch.isMatch;\n\n/**\n * Returns a list of strings that _**do not match any**_ of the given `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.not(list, patterns[, options]);\n *\n * console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));\n * //=> ['b.b', 'c.c']\n * ```\n * @param {Array} `list` Array of strings to match.\n * @param {String|Array} `patterns` One or more glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array} Returns an array of strings that **do not match** the given patterns.\n * @api public\n */\n\nmicromatch.not = (list, patterns, options = {}) => {\n patterns = [].concat(patterns).map(String);\n let result = new Set();\n let items = [];\n\n let onResult = state => {\n if (options.onResult) options.onResult(state);\n items.push(state.output);\n };\n\n let matches = new Set(micromatch(list, patterns, { ...options, onResult }));\n\n for (let item of items) {\n if (!matches.has(item)) {\n result.add(item);\n }\n }\n return [...result];\n};\n\n/**\n * Returns true if the given `string` contains the given pattern. Similar\n * to [.isMatch](#isMatch) but the pattern can match any part of the string.\n *\n * ```js\n * var mm = require('micromatch');\n * // mm.contains(string, pattern[, options]);\n *\n * console.log(mm.contains('aa/bb/cc', '*b'));\n * //=> true\n * console.log(mm.contains('aa/bb/cc', '*d'));\n * //=> false\n * ```\n * @param {String} `str` The string to match.\n * @param {String|Array} `patterns` Glob pattern to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any of the patterns matches any part of `str`.\n * @api public\n */\n\nmicromatch.contains = (str, pattern, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n if (Array.isArray(pattern)) {\n return pattern.some(p => micromatch.contains(str, p, options));\n }\n\n if (typeof pattern === 'string') {\n if (isEmptyString(str) || isEmptyString(pattern)) {\n return false;\n }\n\n if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {\n return true;\n }\n }\n\n return micromatch.isMatch(str, pattern, { ...options, contains: true });\n};\n\n/**\n * Filter the keys of the given object with the given `glob` pattern\n * and `options`. Does not attempt to match nested keys. If you need this feature,\n * use [glob-object][] instead.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.matchKeys(object, patterns[, options]);\n *\n * const obj = { aa: 'a', ab: 'b', ac: 'c' };\n * console.log(mm.matchKeys(obj, '*b'));\n * //=> { ab: 'b' }\n * ```\n * @param {Object} `object` The object with keys to filter.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Object} Returns an object with only keys that match the given patterns.\n * @api public\n */\n\nmicromatch.matchKeys = (obj, patterns, options) => {\n if (!utils.isObject(obj)) {\n throw new TypeError('Expected the first argument to be an object');\n }\n let keys = micromatch(Object.keys(obj), patterns, options);\n let res = {};\n for (let key of keys) res[key] = obj[key];\n return res;\n};\n\n/**\n * Returns true if some of the strings in the given `list` match any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.some(list, patterns[, options]);\n *\n * console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // true\n * console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`\n * @api public\n */\n\nmicromatch.some = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (items.some(item => isMatch(item))) {\n return true;\n }\n }\n return false;\n};\n\n/**\n * Returns true if every string in the given `list` matches\n * any of the given glob `patterns`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.every(list, patterns[, options]);\n *\n * console.log(mm.every('foo.js', ['foo.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));\n * // true\n * console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));\n * // false\n * console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));\n * // false\n * ```\n * @param {String|Array} `list` The string or array of strings to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`\n * @api public\n */\n\nmicromatch.every = (list, patterns, options) => {\n let items = [].concat(list);\n\n for (let pattern of [].concat(patterns)) {\n let isMatch = picomatch(String(pattern), options);\n if (!items.every(item => isMatch(item))) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Returns true if **all** of the given `patterns` match\n * the specified string.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.all(string, patterns[, options]);\n *\n * console.log(mm.all('foo.js', ['foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', '!foo.js']));\n * // false\n *\n * console.log(mm.all('foo.js', ['*.js', 'foo.js']));\n * // true\n *\n * console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));\n * // true\n * ```\n * @param {String|Array} `str` The string to test.\n * @param {String|Array} `patterns` One or more glob patterns to use for matching.\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Boolean} Returns true if any patterns match `str`\n * @api public\n */\n\nmicromatch.all = (str, patterns, options) => {\n if (typeof str !== 'string') {\n throw new TypeError(`Expected a string: \"${util.inspect(str)}\"`);\n }\n\n return [].concat(patterns).every(p => picomatch(p, options)(str));\n};\n\n/**\n * Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.capture(pattern, string[, options]);\n *\n * console.log(mm.capture('test/*.js', 'test/foo.js'));\n * //=> ['foo']\n * console.log(mm.capture('test/*.js', 'foo/bar.css'));\n * //=> null\n * ```\n * @param {String} `glob` Glob pattern to use for matching.\n * @param {String} `input` String to match\n * @param {Object} `options` See available [options](#options) for changing how matches are performed\n * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.\n * @api public\n */\n\nmicromatch.capture = (glob, input, options) => {\n let posix = utils.isWindows(options);\n let regex = picomatch.makeRe(String(glob), { ...options, capture: true });\n let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);\n\n if (match) {\n return match.slice(1).map(v => v === void 0 ? '' : v);\n }\n};\n\n/**\n * Create a regular expression from the given glob `pattern`.\n *\n * ```js\n * const mm = require('micromatch');\n * // mm.makeRe(pattern[, options]);\n *\n * console.log(mm.makeRe('*.js'));\n * //=> /^(?:(\\.[\\\\\\/])?(?!\\.)(?=.)[^\\/]*?\\.js)$/\n * ```\n * @param {String} `pattern` A glob pattern to convert to regex.\n * @param {Object} `options`\n * @return {RegExp} Returns a regex created from the given pattern.\n * @api public\n */\n\nmicromatch.makeRe = (...args) => picomatch.makeRe(...args);\n\n/**\n * Scan a glob pattern to separate the pattern into segments. Used\n * by the [split](#split) method.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.scan(pattern[, options]);\n * ```\n * @param {String} `pattern`\n * @param {Object} `options`\n * @return {Object} Returns an object with\n * @api public\n */\n\nmicromatch.scan = (...args) => picomatch.scan(...args);\n\n/**\n * Parse a glob pattern to create the source string for a regular\n * expression.\n *\n * ```js\n * const mm = require('micromatch');\n * const state = mm.parse(pattern[, options]);\n * ```\n * @param {String} `glob`\n * @param {Object} `options`\n * @return {Object} Returns an object with useful properties and output to be used as regex source string.\n * @api public\n */\n\nmicromatch.parse = (patterns, options) => {\n let res = [];\n for (let pattern of [].concat(patterns || [])) {\n for (let str of braces(String(pattern), options)) {\n res.push(picomatch.parse(str, options));\n }\n }\n return res;\n};\n\n/**\n * Process the given brace `pattern`.\n *\n * ```js\n * const { braces } = require('micromatch');\n * console.log(braces('foo/{a,b,c}/bar'));\n * //=> [ 'foo/(a|b|c)/bar' ]\n *\n * console.log(braces('foo/{a,b,c}/bar', { expand: true }));\n * //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]\n * ```\n * @param {String} `pattern` String with brace pattern to process.\n * @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.\n * @return {Array}\n * @api public\n */\n\nmicromatch.braces = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n if ((options && options.nobrace === true) || !/\\{.*\\}/.test(pattern)) {\n return [pattern];\n }\n return braces(pattern, options);\n};\n\n/**\n * Expand braces\n */\n\nmicromatch.braceExpand = (pattern, options) => {\n if (typeof pattern !== 'string') throw new TypeError('Expected a string');\n return micromatch.braces(pattern, { ...options, expand: true });\n};\n\n/**\n * Expose micromatch\n */\n\nmodule.exports = micromatch;\n"],"names":["require$$1","require$$2","require$$3"],"mappings":";;;;;;AAEA,MAAM,OAAO;AACb,MAAM,SAASA;AACf,MAAM,YAAYC;AAClB,MAAM,QAAQC;AACd,MAAM,gBAAgB,SAAO,QAAQ,MAAM,QAAQ;AAoBnD,MAAM,aAAa,CAAC,MAAM,UAAU,YAAY;AAC9C,aAAW,CAAE,EAAC,OAAO,QAAQ;AAC7B,SAAO,CAAE,EAAC,OAAO,IAAI;AAErB,MAAI,OAAO,oBAAI;AACf,MAAI,OAAO,oBAAI;AACf,MAAI,QAAQ,oBAAI;AAChB,MAAI,YAAY;AAEhB,MAAI,WAAW,WAAS;AACtB,UAAM,IAAI,MAAM,MAAM;AACtB,QAAI,WAAW,QAAQ,UAAU;AAC/B,cAAQ,SAAS,KAAK;AAAA,IACvB;AAAA,EACL;AAEE,WAAS,IAAI,GAAG,IAAI,SAAS,QAAQ,KAAK;AACxC,QAAI,UAAU,UAAU,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SAAS,UAAU,KAAK,GAAG,IAAI;AAgBrD,WAAW,QAAQ,CAAC,UAAU,YAAY;AACxC,MAAI,MAAM,CAAA;AACV,WAAS,WAAW,CAAE,EAAC,OAAO,YAAY,CAAE,CAAA,GAAG;AAC7C,aAAS,OAAO,OAAO,OAAO,OAAO,GAAG,OAAO,GAAG;AAChD,UAAI,KAAK,UAAU,MAAM,KAAK,OAAO,CAAC;AAAA,IACvC;AAAA,EACF;AACD,SAAO;AACT;AAmBA,WAAW,SAAS,CAAC,SAAS,YAAY;AACxC,MAAI,OAAO,YAAY;AAAU,UAAM,IAAI,UAAU,mBAAmB;AACxE,MAAK,WAAW,QAAQ,YAAY,QAAS,CAAC,SAAS,KAAK,OAAO,GAAG;AACpE,WAAO,CAAC,OAAO;AAAA,EAChB;AACD,SAAO,OAAO,SAAS,OAAO;AAChC;AAMA,WAAW,cAAc,CAAC,SAAS,YAAY;AAC7C,MAAI,OAAO,YAAY;AAAU,UAAM,IAAI,UAAU,mBAAmB;AACxE,SAAO,WAAW,OAAO,SAAS,EAAE,GAAG,SAAS,QAAQ,KAAI,CAAE;AAChE;AAMA,IAAA,eAAiB;","x_google_ignoreList":[0]}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ var minIndent = (string) => {
3
+ const match = string.match(/^[ \t]*(?=\S)/gm);
4
+ if (!match) {
5
+ return 0;
6
+ }
7
+ return match.reduce((r, a) => Math.min(r, a.length), Infinity);
8
+ };
9
+ module.exports = minIndent;
10
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/min-indent/index.js"],"sourcesContent":["'use strict';\nmodule.exports = string => {\n\tconst match = string.match(/^[ \\t]*(?=\\S)/gm);\n\n\tif (!match) {\n\t\treturn 0;\n\t}\n\n\treturn match.reduce((r, a) => Math.min(r, a.length), Infinity);\n};\n"],"names":[],"mappings":";IACA,YAAiB,YAAU;AAC1B,QAAM,QAAQ,OAAO,MAAM,iBAAiB;AAE5C,MAAI,CAAC,OAAO;AACX,WAAO;AAAA,EACP;AAED,SAAO,MAAM,OAAO,CAAC,GAAG,MAAM,KAAK,IAAI,GAAG,EAAE,MAAM,GAAG,QAAQ;AAC9D;;","x_google_ignoreList":[0]}
@@ -0,0 +1,11 @@
1
+ var minIndent = (string) => {
2
+ const match = string.match(/^[ \t]*(?=\S)/gm);
3
+ if (!match) {
4
+ return 0;
5
+ }
6
+ return match.reduce((r, a) => Math.min(r, a.length), Infinity);
7
+ };
8
+ export {
9
+ minIndent as default
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/min-indent/index.js"],"sourcesContent":["'use strict';\nmodule.exports = string => {\n\tconst match = string.match(/^[ \\t]*(?=\\S)/gm);\n\n\tif (!match) {\n\t\treturn 0;\n\t}\n\n\treturn match.reduce((r, a) => Math.min(r, a.length), Infinity);\n};\n"],"names":[],"mappings":"IACA,YAAiB,YAAU;AAC1B,QAAM,QAAQ,OAAO,MAAM,iBAAiB;AAE5C,MAAI,CAAC,OAAO;AACX,WAAO;AAAA,EACP;AAED,SAAO,MAAM,OAAO,CAAC,GAAG,MAAM,KAAK,IAAI,GAAG,EAAE,MAAM,GAAG,QAAQ;AAC9D;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var toString = Object.prototype.toString;
3
+ var isPlainObj = function(x) {
4
+ var prototype;
5
+ return toString.call(x) === "[object Object]" && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));
6
+ };
7
+ module.exports = isPlainObj;
8
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../node_modules/minimist-options/node_modules/is-plain-obj/index.js"],"sourcesContent":["'use strict';\nvar toString = Object.prototype.toString;\n\nmodule.exports = function (x) {\n\tvar prototype;\n\treturn toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));\n};\n"],"names":[],"mappings":";AACA,IAAI,WAAW,OAAO,UAAU;IAEhC,aAAiB,SAAU,GAAG;AAC7B,MAAI;AACJ,SAAO,SAAS,KAAK,CAAC,MAAM,sBAAsB,YAAY,OAAO,eAAe,CAAC,GAAG,cAAc,QAAQ,cAAc,OAAO,eAAe,CAAE,CAAA;AACrJ;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ var toString = Object.prototype.toString;
2
+ var isPlainObj = function(x) {
3
+ var prototype;
4
+ return toString.call(x) === "[object Object]" && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));
5
+ };
6
+ export {
7
+ isPlainObj as default
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/minimist-options/node_modules/is-plain-obj/index.js"],"sourcesContent":["'use strict';\nvar toString = Object.prototype.toString;\n\nmodule.exports = function (x) {\n\tvar prototype;\n\treturn toString.call(x) === '[object Object]' && (prototype = Object.getPrototypeOf(x), prototype === null || prototype === Object.getPrototypeOf({}));\n};\n"],"names":[],"mappings":"AACA,IAAI,WAAW,OAAO,UAAU;IAEhC,aAAiB,SAAU,GAAG;AAC7B,MAAI;AACJ,SAAO,SAAS,KAAK,CAAC,MAAM,sBAAsB,YAAY,OAAO,eAAe,CAAC,GAAG,cAAc,QAAQ,cAAc,OAAO,eAAe,CAAE,CAAA;AACrJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ const index = require("../../_virtual/index2.cjs");
3
+ const index$1 = require('./_node_modules/is-plain-obj/index.cjs');
4
+ const index$2 = require("../arrify/index.cjs");
5
+ const index$3 = require("../kind-of/index.cjs");
6
+ const isPlainObject = index$1;
7
+ const arrify = index$2;
8
+ const kindOf = index$3;
9
+ const push = (obj, prop, value) => {
10
+ if (!obj[prop]) {
11
+ obj[prop] = [];
12
+ }
13
+ obj[prop].push(value);
14
+ };
15
+ const insert = (obj, prop, key, value) => {
16
+ if (!obj[prop]) {
17
+ obj[prop] = {};
18
+ }
19
+ obj[prop][key] = value;
20
+ };
21
+ const prettyPrint = (output) => {
22
+ return Array.isArray(output) ? `[${output.map(prettyPrint).join(", ")}]` : kindOf(output) === "string" ? JSON.stringify(output) : output;
23
+ };
24
+ const resolveType = (value) => {
25
+ if (Array.isArray(value) && value.length > 0) {
26
+ const [element] = value;
27
+ return `${kindOf(element)}-array`;
28
+ }
29
+ return kindOf(value);
30
+ };
31
+ const normalizeExpectedType = (type, defaultValue) => {
32
+ const inferredType = type === "array" ? "string-array" : type;
33
+ if (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {
34
+ return "array";
35
+ }
36
+ return inferredType;
37
+ };
38
+ const passthroughOptions = ["stopEarly", "unknown", "--"];
39
+ const primitiveTypes = ["string", "boolean", "number"];
40
+ const arrayTypes = primitiveTypes.map((t) => `${t}-array`);
41
+ const availableTypes = [...primitiveTypes, "array", ...arrayTypes];
42
+ const buildOptions = (options) => {
43
+ options = options || {};
44
+ const result = {};
45
+ passthroughOptions.forEach((key) => {
46
+ if (options[key]) {
47
+ result[key] = options[key];
48
+ }
49
+ });
50
+ Object.keys(options).forEach((key) => {
51
+ let value = options[key];
52
+ if (key === "arguments") {
53
+ key = "_";
54
+ }
55
+ if (typeof value === "string") {
56
+ value = { type: value };
57
+ }
58
+ if (isPlainObject(value)) {
59
+ const props = value;
60
+ const { type } = props;
61
+ if (type) {
62
+ if (!availableTypes.includes(type)) {
63
+ throw new TypeError(`Expected type of "${key}" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);
64
+ }
65
+ if (arrayTypes.includes(type)) {
66
+ const [elementType] = type.split("-");
67
+ push(result, "array", { key, [elementType]: true });
68
+ } else {
69
+ push(result, type, key);
70
+ }
71
+ }
72
+ if ({}.hasOwnProperty.call(props, "default")) {
73
+ const { default: defaultValue } = props;
74
+ const defaultType = resolveType(defaultValue);
75
+ const expectedType = normalizeExpectedType(type, defaultValue);
76
+ if (expectedType && expectedType !== defaultType) {
77
+ throw new TypeError(`Expected "${key}" default value to be of type "${expectedType}", got ${prettyPrint(defaultType)}`);
78
+ }
79
+ insert(result, "default", key, defaultValue);
80
+ }
81
+ arrify(props.alias).forEach((alias) => {
82
+ insert(result, "alias", alias, key);
83
+ });
84
+ }
85
+ });
86
+ return result;
87
+ };
88
+ index.__module.exports = buildOptions;
89
+ index.exports.default = buildOptions;
90
+ module.exports = index.exports;
91
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/minimist-options/index.js"],"sourcesContent":["'use strict';\n\nconst isPlainObject = require('is-plain-obj');\nconst arrify = require('arrify');\nconst kindOf = require('kind-of');\n\nconst push = (obj, prop, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = [];\n\t}\n\n\tobj[prop].push(value);\n};\n\nconst insert = (obj, prop, key, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = {};\n\t}\n\n\tobj[prop][key] = value;\n};\n\nconst prettyPrint = output => {\n\treturn Array.isArray(output) ?\n\t\t`[${output.map(prettyPrint).join(', ')}]` :\n\t\tkindOf(output) === 'string' ? JSON.stringify(output) : output;\n};\n\nconst resolveType = value => {\n\tif (Array.isArray(value) && value.length > 0) {\n\t\tconst [element] = value;\n\t\treturn `${kindOf(element)}-array`;\n\t}\n\n\treturn kindOf(value);\n};\n\nconst normalizeExpectedType = (type, defaultValue) => {\n\tconst inferredType = type === 'array' ? 'string-array' : type;\n\n\tif (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {\n\t\treturn 'array';\n\t}\n\n\treturn inferredType;\n};\n\nconst passthroughOptions = ['stopEarly', 'unknown', '--'];\nconst primitiveTypes = ['string', 'boolean', 'number'];\nconst arrayTypes = primitiveTypes.map(t => `${t}-array`);\nconst availableTypes = [...primitiveTypes, 'array', ...arrayTypes];\n\nconst buildOptions = options => {\n\toptions = options || {};\n\n\tconst result = {};\n\n\tpassthroughOptions.forEach(key => {\n\t\tif (options[key]) {\n\t\t\tresult[key] = options[key];\n\t\t}\n\t});\n\n\tObject.keys(options).forEach(key => {\n\t\tlet value = options[key];\n\n\t\tif (key === 'arguments') {\n\t\t\tkey = '_';\n\t\t}\n\n\t\t// If short form is used\n\t\t// convert it to long form\n\t\t// e.g. { 'name': 'string' }\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = {type: value};\n\t\t}\n\n\t\tif (isPlainObject(value)) {\n\t\t\tconst props = value;\n\t\t\tconst {type} = props;\n\n\t\t\tif (type) {\n\t\t\t\tif (!availableTypes.includes(type)) {\n\t\t\t\t\tthrow new TypeError(`Expected type of \"${key}\" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);\n\t\t\t\t}\n\n\t\t\t\tif (arrayTypes.includes(type)) {\n\t\t\t\t\tconst [elementType] = type.split('-');\n\t\t\t\t\tpush(result, 'array', {key, [elementType]: true});\n\t\t\t\t} else {\n\t\t\t\t\tpush(result, type, key);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ({}.hasOwnProperty.call(props, 'default')) {\n\t\t\t\tconst {default: defaultValue} = props;\n\t\t\t\tconst defaultType = resolveType(defaultValue);\n\t\t\t\tconst expectedType = normalizeExpectedType(type, defaultValue);\n\n\t\t\t\tif (expectedType && expectedType !== defaultType) {\n\t\t\t\t\tthrow new TypeError(`Expected \"${key}\" default value to be of type \"${expectedType}\", got ${prettyPrint(defaultType)}`);\n\t\t\t\t}\n\n\t\t\t\tinsert(result, 'default', key, defaultValue);\n\t\t\t}\n\n\t\t\tarrify(props.alias).forEach(alias => {\n\t\t\t\tinsert(result, 'alias', alias, key);\n\t\t\t});\n\t\t}\n\t});\n\n\treturn result;\n};\n\nmodule.exports = buildOptions;\nmodule.exports.default = buildOptions;\n"],"names":["require$$0","require$$1","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SAAc,UAAG;AACjBC,MAAA,QAAA,UAAyB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,92 @@
1
+ import { exports as minimistOptionsExports, __module as minimistOptions } from "../../_virtual/index2.js";
2
+ import isPlainObj from './_node_modules/is-plain-obj/index.js';
3
+ import arrify$1 from "../arrify/index.js";
4
+ import kindOf$1 from "../kind-of/index.js";
5
+ const isPlainObject = isPlainObj;
6
+ const arrify = arrify$1;
7
+ const kindOf = kindOf$1;
8
+ const push = (obj, prop, value) => {
9
+ if (!obj[prop]) {
10
+ obj[prop] = [];
11
+ }
12
+ obj[prop].push(value);
13
+ };
14
+ const insert = (obj, prop, key, value) => {
15
+ if (!obj[prop]) {
16
+ obj[prop] = {};
17
+ }
18
+ obj[prop][key] = value;
19
+ };
20
+ const prettyPrint = (output) => {
21
+ return Array.isArray(output) ? `[${output.map(prettyPrint).join(", ")}]` : kindOf(output) === "string" ? JSON.stringify(output) : output;
22
+ };
23
+ const resolveType = (value) => {
24
+ if (Array.isArray(value) && value.length > 0) {
25
+ const [element] = value;
26
+ return `${kindOf(element)}-array`;
27
+ }
28
+ return kindOf(value);
29
+ };
30
+ const normalizeExpectedType = (type, defaultValue) => {
31
+ const inferredType = type === "array" ? "string-array" : type;
32
+ if (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {
33
+ return "array";
34
+ }
35
+ return inferredType;
36
+ };
37
+ const passthroughOptions = ["stopEarly", "unknown", "--"];
38
+ const primitiveTypes = ["string", "boolean", "number"];
39
+ const arrayTypes = primitiveTypes.map((t) => `${t}-array`);
40
+ const availableTypes = [...primitiveTypes, "array", ...arrayTypes];
41
+ const buildOptions = (options) => {
42
+ options = options || {};
43
+ const result = {};
44
+ passthroughOptions.forEach((key) => {
45
+ if (options[key]) {
46
+ result[key] = options[key];
47
+ }
48
+ });
49
+ Object.keys(options).forEach((key) => {
50
+ let value = options[key];
51
+ if (key === "arguments") {
52
+ key = "_";
53
+ }
54
+ if (typeof value === "string") {
55
+ value = { type: value };
56
+ }
57
+ if (isPlainObject(value)) {
58
+ const props = value;
59
+ const { type } = props;
60
+ if (type) {
61
+ if (!availableTypes.includes(type)) {
62
+ throw new TypeError(`Expected type of "${key}" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);
63
+ }
64
+ if (arrayTypes.includes(type)) {
65
+ const [elementType] = type.split("-");
66
+ push(result, "array", { key, [elementType]: true });
67
+ } else {
68
+ push(result, type, key);
69
+ }
70
+ }
71
+ if ({}.hasOwnProperty.call(props, "default")) {
72
+ const { default: defaultValue } = props;
73
+ const defaultType = resolveType(defaultValue);
74
+ const expectedType = normalizeExpectedType(type, defaultValue);
75
+ if (expectedType && expectedType !== defaultType) {
76
+ throw new TypeError(`Expected "${key}" default value to be of type "${expectedType}", got ${prettyPrint(defaultType)}`);
77
+ }
78
+ insert(result, "default", key, defaultValue);
79
+ }
80
+ arrify(props.alias).forEach((alias) => {
81
+ insert(result, "alias", alias, key);
82
+ });
83
+ }
84
+ });
85
+ return result;
86
+ };
87
+ minimistOptions.exports = buildOptions;
88
+ minimistOptionsExports.default = buildOptions;
89
+ export {
90
+ minimistOptionsExports as default
91
+ };
92
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/minimist-options/index.js"],"sourcesContent":["'use strict';\n\nconst isPlainObject = require('is-plain-obj');\nconst arrify = require('arrify');\nconst kindOf = require('kind-of');\n\nconst push = (obj, prop, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = [];\n\t}\n\n\tobj[prop].push(value);\n};\n\nconst insert = (obj, prop, key, value) => {\n\tif (!obj[prop]) {\n\t\tobj[prop] = {};\n\t}\n\n\tobj[prop][key] = value;\n};\n\nconst prettyPrint = output => {\n\treturn Array.isArray(output) ?\n\t\t`[${output.map(prettyPrint).join(', ')}]` :\n\t\tkindOf(output) === 'string' ? JSON.stringify(output) : output;\n};\n\nconst resolveType = value => {\n\tif (Array.isArray(value) && value.length > 0) {\n\t\tconst [element] = value;\n\t\treturn `${kindOf(element)}-array`;\n\t}\n\n\treturn kindOf(value);\n};\n\nconst normalizeExpectedType = (type, defaultValue) => {\n\tconst inferredType = type === 'array' ? 'string-array' : type;\n\n\tif (arrayTypes.includes(inferredType) && Array.isArray(defaultValue) && defaultValue.length === 0) {\n\t\treturn 'array';\n\t}\n\n\treturn inferredType;\n};\n\nconst passthroughOptions = ['stopEarly', 'unknown', '--'];\nconst primitiveTypes = ['string', 'boolean', 'number'];\nconst arrayTypes = primitiveTypes.map(t => `${t}-array`);\nconst availableTypes = [...primitiveTypes, 'array', ...arrayTypes];\n\nconst buildOptions = options => {\n\toptions = options || {};\n\n\tconst result = {};\n\n\tpassthroughOptions.forEach(key => {\n\t\tif (options[key]) {\n\t\t\tresult[key] = options[key];\n\t\t}\n\t});\n\n\tObject.keys(options).forEach(key => {\n\t\tlet value = options[key];\n\n\t\tif (key === 'arguments') {\n\t\t\tkey = '_';\n\t\t}\n\n\t\t// If short form is used\n\t\t// convert it to long form\n\t\t// e.g. { 'name': 'string' }\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = {type: value};\n\t\t}\n\n\t\tif (isPlainObject(value)) {\n\t\t\tconst props = value;\n\t\t\tconst {type} = props;\n\n\t\t\tif (type) {\n\t\t\t\tif (!availableTypes.includes(type)) {\n\t\t\t\t\tthrow new TypeError(`Expected type of \"${key}\" to be one of ${prettyPrint(availableTypes)}, got ${prettyPrint(type)}`);\n\t\t\t\t}\n\n\t\t\t\tif (arrayTypes.includes(type)) {\n\t\t\t\t\tconst [elementType] = type.split('-');\n\t\t\t\t\tpush(result, 'array', {key, [elementType]: true});\n\t\t\t\t} else {\n\t\t\t\t\tpush(result, type, key);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ({}.hasOwnProperty.call(props, 'default')) {\n\t\t\t\tconst {default: defaultValue} = props;\n\t\t\t\tconst defaultType = resolveType(defaultValue);\n\t\t\t\tconst expectedType = normalizeExpectedType(type, defaultValue);\n\n\t\t\t\tif (expectedType && expectedType !== defaultType) {\n\t\t\t\t\tthrow new TypeError(`Expected \"${key}\" default value to be of type \"${expectedType}\", got ${prettyPrint(defaultType)}`);\n\t\t\t\t}\n\n\t\t\t\tinsert(result, 'default', key, defaultValue);\n\t\t\t}\n\n\t\t\tarrify(props.alias).forEach(alias => {\n\t\t\t\tinsert(result, 'alias', alias, key);\n\t\t\t});\n\t\t}\n\t});\n\n\treturn result;\n};\n\nmodule.exports = buildOptions;\nmodule.exports.default = buildOptions;\n"],"names":["require$$0","require$$1","require$$2","minimistOptionsModule","minimistOptions"],"mappings":";;;;AAEA,MAAM,gBAAgBA;AACtB,MAAM,SAASC;AACf,MAAM,SAASC;AAEf,MAAM,OAAO,CAAC,KAAK,MAAM,UAAU;AAClC,MAAI,CAAC,IAAI,IAAI,GAAG;AACf,QAAI,IAAI,IAAI;EACZ;AAED,MAAI,IAAI,EAAE,KAAK,KAAK;AACrB;AAEA,MAAM,SAAS,CAAC,KAAK,MAAM,KAAK,UAAU;AACzC,MAAI,CAAC,IAAI,IAAI,GAAG;AACf,QAAI,IAAI,IAAI;EACZ;AAED,MAAI,IAAI,EAAE,GAAG,IAAI;AAClB;AAEA,MAAM,cAAc,YAAU;AAC7B,SAAO,MAAM,QAAQ,MAAM,IAC1B,IAAI,OAAO,IAAI,WAAW,EAAE,KAAK,IAAI,OACrC,OAAO,MAAM,MAAM,WAAW,KAAK,UAAU,MAAM,IAAI;AACzD;AAEA,MAAM,cAAc,WAAS;AAC5B,MAAI,MAAM,QAAQ,KAAK,KAAK,MAAM,SAAS,GAAG;AAC7C,UAAM,CAAC,OAAO,IAAI;AAClB,WAAO,GAAG,OAAO,OAAO;AAAA,EACxB;AAED,SAAO,OAAO,KAAK;AACpB;AAEA,MAAM,wBAAwB,CAAC,MAAM,iBAAiB;AACrD,QAAM,eAAe,SAAS,UAAU,iBAAiB;AAEzD,MAAI,WAAW,SAAS,YAAY,KAAK,MAAM,QAAQ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AC5C,cAAM,eAAe,sBAAsB,MAAM,YAAY;AAE7D,YAAI,gBAAgB,iBAAiB,aAAa;AACjD,gBAAM,IAAI,UAAU,aAAa,qCAAqC,sBAAsB,YAAY,WAAW,GAAG;AAAA,QACtH;AAED,eAAO,QAAQ,WAAW,KAAK,YAAY;AAAA,MAC3C;AAED,aAAO,MAAM,KAAK,EAAE,QAAQ,WAAS;AACpC,eAAO,QAAQ,SAAS,OAAO,GAAG;AAAA,MACtC,CAAI;AAAA,IACD;AAAA,EACH,CAAE;AAED,SAAO;AACR;AAEAC,gBAAc,UAAG;AACjBC,uBAAA,UAAyB;","x_google_ignoreList":[0]}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ const index = require("../error-ex/index.cjs");
3
+ const index$1 = require("../json-parse-even-better-errors/index.cjs");
4
+ require("../lines-and-columns/build/index.cjs");
5
+ require("../@babel/code-frame/lib/index.cjs");
6
+ const index$2 = require("../../_virtual/index8.cjs");
7
+ const index$3 = require("../../_virtual/index9.cjs");
8
+ const errorEx = index;
9
+ const fallback = index$1;
10
+ const { default: LinesAndColumns } = index$2.__exports;
11
+ const { codeFrameColumns } = index$3.__exports;
12
+ const JSONError = errorEx("JSONError", {
13
+ fileName: errorEx.append("in %s"),
14
+ codeFrame: errorEx.append("\n\n%s\n")
15
+ });
16
+ const parseJson = (string, reviver, filename) => {
17
+ if (typeof reviver === "string") {
18
+ filename = reviver;
19
+ reviver = null;
20
+ }
21
+ try {
22
+ try {
23
+ return JSON.parse(string, reviver);
24
+ } catch (error) {
25
+ fallback(string, reviver);
26
+ throw error;
27
+ }
28
+ } catch (error) {
29
+ error.message = error.message.replace(/\n/g, "");
30
+ const indexMatch = error.message.match(/in JSON at position (\d+) while parsing/);
31
+ const jsonError = new JSONError(error);
32
+ if (filename) {
33
+ jsonError.fileName = filename;
34
+ }
35
+ if (indexMatch && indexMatch.length > 0) {
36
+ const lines = new LinesAndColumns(string);
37
+ const index2 = Number(indexMatch[1]);
38
+ const location = lines.locationForIndex(index2);
39
+ const codeFrame = codeFrameColumns(
40
+ string,
41
+ { start: { line: location.line + 1, column: location.column + 1 } },
42
+ { highlightCode: true }
43
+ );
44
+ jsonError.codeFrame = codeFrame;
45
+ }
46
+ throw jsonError;
47
+ }
48
+ };
49
+ parseJson.JSONError = JSONError;
50
+ var parseJson_1 = parseJson;
51
+ module.exports = parseJson_1;
52
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../node_modules/parse-json/index.js"],"sourcesContent":["'use strict';\nconst errorEx = require('error-ex');\nconst fallback = require('json-parse-even-better-errors');\nconst {default: LinesAndColumns} = require('lines-and-columns');\nconst {codeFrameColumns} = require('@babel/code-frame');\n\nconst JSONError = errorEx('JSONError', {\n\tfileName: errorEx.append('in %s'),\n\tcodeFrame: errorEx.append('\\n\\n%s\\n')\n});\n\nconst parseJson = (string, reviver, filename) => {\n\tif (typeof reviver === 'string') {\n\t\tfilename = reviver;\n\t\treviver = null;\n\t}\n\n\ttry {\n\t\ttry {\n\t\t\treturn JSON.parse(string, reviver);\n\t\t} catch (error) {\n\t\t\tfallback(string, reviver);\n\t\t\tthrow error;\n\t\t}\n\t} catch (error) {\n\t\terror.message = error.message.replace(/\\n/g, '');\n\t\tconst indexMatch = error.message.match(/in JSON at position (\\d+) while parsing/);\n\n\t\tconst jsonError = new JSONError(error);\n\t\tif (filename) {\n\t\t\tjsonError.fileName = filename;\n\t\t}\n\n\t\tif (indexMatch && indexMatch.length > 0) {\n\t\t\tconst lines = new LinesAndColumns(string);\n\t\t\tconst index = Number(indexMatch[1]);\n\t\t\tconst location = lines.locationForIndex(index);\n\n\t\t\tconst codeFrame = codeFrameColumns(\n\t\t\t\tstring,\n\t\t\t\t{start: {line: location.line + 1, column: location.column + 1}},\n\t\t\t\t{highlightCode: true}\n\t\t\t);\n\n\t\t\tjsonError.codeFrame = codeFrame;\n\t\t}\n\n\t\tthrow jsonError;\n\t}\n};\n\nparseJson.JSONError = JSONError;\n\nmodule.exports = parseJson;\n"],"names":["require$$0","require$$1","require$$2","require$$3","index"],"mappings":";;;;;;;AACA,MAAM,UAAUA;AAChB,MAAM,WAAWC;AACjB,MAAM,EAAC,SAAS,gBAAe,IAAIC;AACnC,MAAM,EAAC,iBAAgB,IAAIC;AAE3B,MAAM,YAAY,QAAQ,aAAa;AAAA,EACtC,UAAU,QAAQ,OAAO,OAAO;AAAA,EAChC,WAAW,QAAQ,OAAO,UAAU;AACrC,CAAC;AAED,MAAM,YAAY,CAAC,QAAQ,SAAS,aAAa;AAChD,MAAI,OAAO,YAAY,UAAU;AAChC,eAAW;AACX,cAAU;AAAA,EACV;AAED,MAAI;AACH,QAAI;AACH,aAAO,KAAK,MAAM,QAAQ,OAAO;AAAA,IACjC,SAAQ,OAAP;AACD,eAAS,QAAQ,OAAO;AACxB,YAAM;AAAA,IACN;AAAA,EACD,SAAQ,OAAP;AACD,UAAM,UAAU,MAAM,QAAQ,QAAQ,OAAO,EAAE;AAC/C,UAAM,aAAa,MAAM,QAAQ,MAAM,yCAAyC;AAEhF,UAAM,YAAY,IAAI,UAAU,KAAK;AACrC,QAAI,UAAU;AACb,gBAAU,WAAW;AAAA,IACrB;AAED,QAAI,cAAc,WAAW,SAAS,GAAG;AACxC,YAAM,QAAQ,IAAI,gBAAgB,MAAM;AACxC,YAAMC,SAAQ,OAAO,WAAW,CAAC,CAAC;AAClC,YAAM,WAAW,MAAM,iBAAiBA,MAAK;AAE7C,YAAM,YAAY;AAAA,QACjB;AAAA,QACA,EAAC,OAAO,EAAC,MAAM,SAAS,OAAO,GAAG,QAAQ,SAAS,SAAS,EAAC,EAAC;AAAA,QAC9D,EAAC,eAAe,KAAI;AAAA,MACxB;AAEG,gBAAU,YAAY;AAAA,IACtB;AAED,UAAM;AAAA,EACN;AACF;AAEA,UAAU,YAAY;AAEtB,IAAA,cAAiB;;","x_google_ignoreList":[0]}
@@ -0,0 +1,53 @@
1
+ import errorEx_1 from "../error-ex/index.js";
2
+ import jsonParseEvenBetterErrors from "../json-parse-even-better-errors/index.js";
3
+ import "../lines-and-columns/build/index.js";
4
+ import "../@babel/code-frame/lib/index.js";
5
+ import { __exports as build } from "../../_virtual/index8.js";
6
+ import { __exports as lib } from "../../_virtual/index9.js";
7
+ const errorEx = errorEx_1;
8
+ const fallback = jsonParseEvenBetterErrors;
9
+ const { default: LinesAndColumns } = build;
10
+ const { codeFrameColumns } = lib;
11
+ const JSONError = errorEx("JSONError", {
12
+ fileName: errorEx.append("in %s"),
13
+ codeFrame: errorEx.append("\n\n%s\n")
14
+ });
15
+ const parseJson = (string, reviver, filename) => {
16
+ if (typeof reviver === "string") {
17
+ filename = reviver;
18
+ reviver = null;
19
+ }
20
+ try {
21
+ try {
22
+ return JSON.parse(string, reviver);
23
+ } catch (error) {
24
+ fallback(string, reviver);
25
+ throw error;
26
+ }
27
+ } catch (error) {
28
+ error.message = error.message.replace(/\n/g, "");
29
+ const indexMatch = error.message.match(/in JSON at position (\d+) while parsing/);
30
+ const jsonError = new JSONError(error);
31
+ if (filename) {
32
+ jsonError.fileName = filename;
33
+ }
34
+ if (indexMatch && indexMatch.length > 0) {
35
+ const lines = new LinesAndColumns(string);
36
+ const index = Number(indexMatch[1]);
37
+ const location = lines.locationForIndex(index);
38
+ const codeFrame = codeFrameColumns(
39
+ string,
40
+ { start: { line: location.line + 1, column: location.column + 1 } },
41
+ { highlightCode: true }
42
+ );
43
+ jsonError.codeFrame = codeFrame;
44
+ }
45
+ throw jsonError;
46
+ }
47
+ };
48
+ parseJson.JSONError = JSONError;
49
+ var parseJson_1 = parseJson;
50
+ export {
51
+ parseJson_1 as default
52
+ };
53
+ //# sourceMappingURL=index.js.map