@donmahallem/lerna2codecov 0.1.9 → 0.2.3

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 (499) hide show
  1. package/dist/cjs/_virtual/_commonjsHelpers.cjs +8 -0
  2. package/dist/cjs/_virtual/_commonjsHelpers.cjs.map +1 -0
  3. package/dist/cjs/_virtual/conversions.cjs +8 -0
  4. package/dist/cjs/_virtual/conversions.cjs.map +1 -0
  5. package/dist/cjs/_virtual/git-host-info.cjs +8 -0
  6. package/dist/cjs/_virtual/git-host-info.cjs.map +1 -0
  7. package/dist/cjs/_virtual/identifier.cjs +8 -0
  8. package/dist/cjs/_virtual/identifier.cjs.map +1 -0
  9. package/dist/cjs/_virtual/imurmurhash.cjs +8 -0
  10. package/dist/cjs/_virtual/imurmurhash.cjs.map +1 -0
  11. package/dist/cjs/_virtual/index.cjs +8 -0
  12. package/dist/cjs/_virtual/index.cjs.map +1 -0
  13. package/dist/cjs/_virtual/index10.cjs +8 -0
  14. package/dist/cjs/_virtual/index10.cjs.map +1 -0
  15. package/dist/cjs/_virtual/index11.cjs +8 -0
  16. package/dist/cjs/_virtual/index11.cjs.map +1 -0
  17. package/dist/cjs/_virtual/index12.cjs +8 -0
  18. package/dist/cjs/_virtual/index12.cjs.map +1 -0
  19. package/dist/cjs/_virtual/index13.cjs +8 -0
  20. package/dist/cjs/_virtual/index13.cjs.map +1 -0
  21. package/dist/cjs/_virtual/index14.cjs +8 -0
  22. package/dist/cjs/_virtual/index14.cjs.map +1 -0
  23. package/dist/cjs/_virtual/index15.cjs +8 -0
  24. package/dist/cjs/_virtual/index15.cjs.map +1 -0
  25. package/dist/cjs/_virtual/index2.cjs +8 -0
  26. package/dist/cjs/_virtual/index2.cjs.map +1 -0
  27. package/dist/cjs/_virtual/index3.cjs +8 -0
  28. package/dist/cjs/_virtual/index3.cjs.map +1 -0
  29. package/dist/cjs/_virtual/index4.cjs +8 -0
  30. package/dist/cjs/_virtual/index4.cjs.map +1 -0
  31. package/dist/cjs/_virtual/index5.cjs +8 -0
  32. package/dist/cjs/_virtual/index5.cjs.map +1 -0
  33. package/dist/cjs/_virtual/index6.cjs +8 -0
  34. package/dist/cjs/_virtual/index6.cjs.map +1 -0
  35. package/dist/cjs/_virtual/index7.cjs +8 -0
  36. package/dist/cjs/_virtual/index7.cjs.map +1 -0
  37. package/dist/cjs/_virtual/index8.cjs +8 -0
  38. package/dist/cjs/_virtual/index8.cjs.map +1 -0
  39. package/dist/cjs/_virtual/index9.cjs +8 -0
  40. package/dist/cjs/_virtual/index9.cjs.map +1 -0
  41. package/dist/cjs/_virtual/keyword.cjs +8 -0
  42. package/dist/cjs/_virtual/keyword.cjs.map +1 -0
  43. package/dist/cjs/_virtual/npa.cjs +8 -0
  44. package/dist/cjs/_virtual/npa.cjs.map +1 -0
  45. package/dist/cjs/_virtual/re.cjs +8 -0
  46. package/dist/cjs/_virtual/re.cjs.map +1 -0
  47. package/dist/cjs/_virtual/semver.cjs +8 -0
  48. package/dist/cjs/_virtual/semver.cjs.map +1 -0
  49. package/dist/cjs/_virtual/signals.cjs +8 -0
  50. package/dist/cjs/_virtual/signals.cjs.map +1 -0
  51. package/dist/cjs/index.cjs +10 -0
  52. package/dist/cjs/index.cjs.map +1 -0
  53. package/dist/cjs/node_modules/@babel/code-frame/lib/index.cjs +168 -0
  54. package/dist/cjs/node_modules/@babel/code-frame/lib/index.cjs.map +1 -0
  55. package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +89 -0
  56. package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +1 -0
  57. package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/index.cjs +67 -0
  58. package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +1 -0
  59. package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +43 -0
  60. package/dist/cjs/node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +1 -0
  61. package/dist/cjs/node_modules/@babel/highlight/lib/index.cjs +125 -0
  62. package/dist/cjs/node_modules/@babel/highlight/lib/index.cjs.map +1 -0
  63. package/dist/cjs/node_modules/@lerna/package/index.cjs +314 -0
  64. package/dist/cjs/node_modules/@lerna/package/index.cjs.map +1 -0
  65. package/dist/cjs/node_modules/ansi-styles/index.cjs +172 -0
  66. package/dist/cjs/node_modules/ansi-styles/index.cjs.map +1 -0
  67. package/dist/cjs/node_modules/builtins/builtins.cjs +6 -0
  68. package/dist/cjs/node_modules/builtins/builtins.cjs.map +1 -0
  69. package/dist/cjs/node_modules/chalk/index.cjs +239 -0
  70. package/dist/cjs/node_modules/chalk/index.cjs.map +1 -0
  71. package/dist/cjs/node_modules/chalk/templates.cjs +132 -0
  72. package/dist/cjs/node_modules/chalk/templates.cjs.map +1 -0
  73. package/dist/cjs/node_modules/color-convert/conversions.cjs +877 -0
  74. package/dist/cjs/node_modules/color-convert/conversions.cjs.map +1 -0
  75. package/dist/cjs/node_modules/color-convert/index.cjs +87 -0
  76. package/dist/cjs/node_modules/color-convert/index.cjs.map +1 -0
  77. package/dist/cjs/node_modules/color-convert/route.cjs +104 -0
  78. package/dist/cjs/node_modules/color-convert/route.cjs.map +1 -0
  79. package/dist/cjs/node_modules/color-name/index.cjs +155 -0
  80. package/dist/cjs/node_modules/color-name/index.cjs.map +1 -0
  81. package/dist/cjs/node_modules/error-ex/index.cjs +151 -0
  82. package/dist/cjs/node_modules/error-ex/index.cjs.map +1 -0
  83. package/dist/cjs/node_modules/escape-string-regexp/index.cjs +14 -0
  84. package/dist/cjs/node_modules/escape-string-regexp/index.cjs.map +1 -0
  85. package/dist/cjs/node_modules/graceful-fs/clone.cjs +26 -0
  86. package/dist/cjs/node_modules/graceful-fs/clone.cjs.map +1 -0
  87. package/dist/cjs/node_modules/graceful-fs/graceful-fs.cjs +467 -0
  88. package/dist/cjs/node_modules/graceful-fs/graceful-fs.cjs.map +1 -0
  89. package/dist/cjs/node_modules/graceful-fs/legacy-streams.cjs +129 -0
  90. package/dist/cjs/node_modules/graceful-fs/legacy-streams.cjs.map +1 -0
  91. package/dist/cjs/node_modules/graceful-fs/polyfills.cjs +366 -0
  92. package/dist/cjs/node_modules/graceful-fs/polyfills.cjs.map +1 -0
  93. package/dist/cjs/node_modules/has-flag/index.cjs +12 -0
  94. package/dist/cjs/node_modules/has-flag/index.cjs.map +1 -0
  95. package/dist/cjs/node_modules/hosted-git-info/git-host-info.cjs +94 -0
  96. package/dist/cjs/node_modules/hosted-git-info/git-host-info.cjs.map +1 -0
  97. package/dist/cjs/node_modules/hosted-git-info/git-host.cjs +172 -0
  98. package/dist/cjs/node_modules/hosted-git-info/git-host.cjs.map +1 -0
  99. package/dist/cjs/node_modules/hosted-git-info/index.cjs +170 -0
  100. package/dist/cjs/node_modules/hosted-git-info/index.cjs.map +1 -0
  101. package/dist/cjs/node_modules/imurmurhash/imurmurhash.cjs +143 -0
  102. package/dist/cjs/node_modules/imurmurhash/imurmurhash.cjs.map +1 -0
  103. package/dist/cjs/node_modules/is-arrayish/index.cjs +13 -0
  104. package/dist/cjs/node_modules/is-arrayish/index.cjs.map +1 -0
  105. package/dist/cjs/node_modules/js-tokens/index.cjs +28 -0
  106. package/dist/cjs/node_modules/js-tokens/index.cjs.map +1 -0
  107. package/dist/cjs/node_modules/json-parse-even-better-errors/index.cjs +124 -0
  108. package/dist/cjs/node_modules/json-parse-even-better-errors/index.cjs.map +1 -0
  109. package/dist/cjs/node_modules/lines-and-columns/build/index.cjs +68 -0
  110. package/dist/cjs/node_modules/lines-and-columns/build/index.cjs.map +1 -0
  111. package/dist/cjs/node_modules/load-json-file/index.cjs +35 -0
  112. package/dist/cjs/node_modules/load-json-file/index.cjs.map +1 -0
  113. package/dist/cjs/node_modules/lru-cache/index.cjs +350 -0
  114. package/dist/cjs/node_modules/lru-cache/index.cjs.map +1 -0
  115. package/dist/cjs/node_modules/npm-package-arg/npa.cjs +323 -0
  116. package/dist/cjs/node_modules/npm-package-arg/npa.cjs.map +1 -0
  117. package/dist/cjs/node_modules/parse-json/index.cjs +65 -0
  118. package/dist/cjs/node_modules/parse-json/index.cjs.map +1 -0
  119. package/dist/cjs/node_modules/pify/index.cjs +71 -0
  120. package/dist/cjs/node_modules/pify/index.cjs.map +1 -0
  121. package/dist/cjs/node_modules/semver/classes/comparator.cjs +158 -0
  122. package/dist/cjs/node_modules/semver/classes/comparator.cjs.map +1 -0
  123. package/dist/cjs/node_modules/semver/classes/range.cjs +541 -0
  124. package/dist/cjs/node_modules/semver/classes/range.cjs.map +1 -0
  125. package/dist/cjs/node_modules/semver/classes/semver.cjs +308 -0
  126. package/dist/cjs/node_modules/semver/classes/semver.cjs.map +1 -0
  127. package/dist/cjs/node_modules/semver/functions/clean.cjs +23 -0
  128. package/dist/cjs/node_modules/semver/functions/clean.cjs.map +1 -0
  129. package/dist/cjs/node_modules/semver/functions/cmp.cjs +74 -0
  130. package/dist/cjs/node_modules/semver/functions/cmp.cjs.map +1 -0
  131. package/dist/cjs/node_modules/semver/functions/coerce.cjs +71 -0
  132. package/dist/cjs/node_modules/semver/functions/coerce.cjs.map +1 -0
  133. package/dist/cjs/node_modules/semver/functions/compare-build.cjs +24 -0
  134. package/dist/cjs/node_modules/semver/functions/compare-build.cjs.map +1 -0
  135. package/dist/cjs/node_modules/semver/functions/compare-loose.cjs +20 -0
  136. package/dist/cjs/node_modules/semver/functions/compare-loose.cjs.map +1 -0
  137. package/dist/cjs/node_modules/semver/functions/compare.cjs +22 -0
  138. package/dist/cjs/node_modules/semver/functions/compare.cjs.map +1 -0
  139. package/dist/cjs/node_modules/semver/functions/diff.cjs +41 -0
  140. package/dist/cjs/node_modules/semver/functions/diff.cjs.map +1 -0
  141. package/dist/cjs/node_modules/semver/functions/eq.cjs +20 -0
  142. package/dist/cjs/node_modules/semver/functions/eq.cjs.map +1 -0
  143. package/dist/cjs/node_modules/semver/functions/gt.cjs +20 -0
  144. package/dist/cjs/node_modules/semver/functions/gt.cjs.map +1 -0
  145. package/dist/cjs/node_modules/semver/functions/gte.cjs +20 -0
  146. package/dist/cjs/node_modules/semver/functions/gte.cjs.map +1 -0
  147. package/dist/cjs/node_modules/semver/functions/inc.cjs +35 -0
  148. package/dist/cjs/node_modules/semver/functions/inc.cjs.map +1 -0
  149. package/dist/cjs/node_modules/semver/functions/lt.cjs +20 -0
  150. package/dist/cjs/node_modules/semver/functions/lt.cjs.map +1 -0
  151. package/dist/cjs/node_modules/semver/functions/lte.cjs +20 -0
  152. package/dist/cjs/node_modules/semver/functions/lte.cjs.map +1 -0
  153. package/dist/cjs/node_modules/semver/functions/major.cjs +20 -0
  154. package/dist/cjs/node_modules/semver/functions/major.cjs.map +1 -0
  155. package/dist/cjs/node_modules/semver/functions/minor.cjs +20 -0
  156. package/dist/cjs/node_modules/semver/functions/minor.cjs.map +1 -0
  157. package/dist/cjs/node_modules/semver/functions/neq.cjs +20 -0
  158. package/dist/cjs/node_modules/semver/functions/neq.cjs.map +1 -0
  159. package/dist/cjs/node_modules/semver/functions/parse.cjs +53 -0
  160. package/dist/cjs/node_modules/semver/functions/parse.cjs.map +1 -0
  161. package/dist/cjs/node_modules/semver/functions/patch.cjs +20 -0
  162. package/dist/cjs/node_modules/semver/functions/patch.cjs.map +1 -0
  163. package/dist/cjs/node_modules/semver/functions/prerelease.cjs +23 -0
  164. package/dist/cjs/node_modules/semver/functions/prerelease.cjs.map +1 -0
  165. package/dist/cjs/node_modules/semver/functions/rcompare.cjs +20 -0
  166. package/dist/cjs/node_modules/semver/functions/rcompare.cjs.map +1 -0
  167. package/dist/cjs/node_modules/semver/functions/rsort.cjs +20 -0
  168. package/dist/cjs/node_modules/semver/functions/rsort.cjs.map +1 -0
  169. package/dist/cjs/node_modules/semver/functions/satisfies.cjs +27 -0
  170. package/dist/cjs/node_modules/semver/functions/satisfies.cjs.map +1 -0
  171. package/dist/cjs/node_modules/semver/functions/sort.cjs +20 -0
  172. package/dist/cjs/node_modules/semver/functions/sort.cjs.map +1 -0
  173. package/dist/cjs/node_modules/semver/functions/valid.cjs +23 -0
  174. package/dist/cjs/node_modules/semver/functions/valid.cjs.map +1 -0
  175. package/dist/cjs/node_modules/semver/index.cjs +105 -0
  176. package/dist/cjs/node_modules/semver/index.cjs.map +1 -0
  177. package/dist/cjs/node_modules/semver/internal/constants.cjs +32 -0
  178. package/dist/cjs/node_modules/semver/internal/constants.cjs.map +1 -0
  179. package/dist/cjs/node_modules/semver/internal/debug.cjs +24 -0
  180. package/dist/cjs/node_modules/semver/internal/debug.cjs.map +1 -0
  181. package/dist/cjs/node_modules/semver/internal/identifiers.cjs +38 -0
  182. package/dist/cjs/node_modules/semver/internal/identifiers.cjs.map +1 -0
  183. package/dist/cjs/node_modules/semver/internal/parse-options.cjs +26 -0
  184. package/dist/cjs/node_modules/semver/internal/parse-options.cjs.map +1 -0
  185. package/dist/cjs/node_modules/semver/internal/re.cjs +202 -0
  186. package/dist/cjs/node_modules/semver/internal/re.cjs.map +1 -0
  187. package/dist/cjs/node_modules/semver/ranges/gtr.cjs +21 -0
  188. package/dist/cjs/node_modules/semver/ranges/gtr.cjs.map +1 -0
  189. package/dist/cjs/node_modules/semver/ranges/intersects.cjs +24 -0
  190. package/dist/cjs/node_modules/semver/ranges/intersects.cjs.map +1 -0
  191. package/dist/cjs/node_modules/semver/ranges/ltr.cjs +21 -0
  192. package/dist/cjs/node_modules/semver/ranges/ltr.cjs.map +1 -0
  193. package/dist/cjs/node_modules/semver/ranges/max-satisfying.cjs +43 -0
  194. package/dist/cjs/node_modules/semver/ranges/max-satisfying.cjs.map +1 -0
  195. package/dist/cjs/node_modules/semver/ranges/min-satisfying.cjs +42 -0
  196. package/dist/cjs/node_modules/semver/ranges/min-satisfying.cjs.map +1 -0
  197. package/dist/cjs/node_modules/semver/ranges/min-version.cjs +80 -0
  198. package/dist/cjs/node_modules/semver/ranges/min-version.cjs.map +1 -0
  199. package/dist/cjs/node_modules/semver/ranges/outside.cjs +104 -0
  200. package/dist/cjs/node_modules/semver/ranges/outside.cjs.map +1 -0
  201. package/dist/cjs/node_modules/semver/ranges/simplify.cjs +65 -0
  202. package/dist/cjs/node_modules/semver/ranges/simplify.cjs.map +1 -0
  203. package/dist/cjs/node_modules/semver/ranges/subset.cjs +264 -0
  204. package/dist/cjs/node_modules/semver/ranges/subset.cjs.map +1 -0
  205. package/dist/cjs/node_modules/semver/ranges/to-comparators.cjs +25 -0
  206. package/dist/cjs/node_modules/semver/ranges/to-comparators.cjs.map +1 -0
  207. package/dist/cjs/node_modules/semver/ranges/valid.cjs +28 -0
  208. package/dist/cjs/node_modules/semver/ranges/valid.cjs.map +1 -0
  209. package/dist/cjs/node_modules/signal-exit/index.cjs +218 -0
  210. package/dist/cjs/node_modules/signal-exit/index.cjs.map +1 -0
  211. package/dist/cjs/node_modules/signal-exit/signals.cjs +71 -0
  212. package/dist/cjs/node_modules/signal-exit/signals.cjs.map +1 -0
  213. package/dist/cjs/node_modules/strip-bom/index.cjs +18 -0
  214. package/dist/cjs/node_modules/strip-bom/index.cjs.map +1 -0
  215. package/dist/cjs/node_modules/supports-color/index.cjs +142 -0
  216. package/dist/cjs/node_modules/supports-color/index.cjs.map +1 -0
  217. package/dist/cjs/node_modules/validate-npm-package-name/index.cjs +121 -0
  218. package/dist/cjs/node_modules/validate-npm-package-name/index.cjs.map +1 -0
  219. package/dist/cjs/node_modules/write-pkg/index.cjs +79 -0
  220. package/dist/cjs/node_modules/write-pkg/index.cjs.map +1 -0
  221. package/dist/cjs/node_modules/write-pkg/node_modules/detect-indent/index.cjs +125 -0
  222. package/dist/cjs/node_modules/write-pkg/node_modules/detect-indent/index.cjs.map +1 -0
  223. package/dist/cjs/node_modules/write-pkg/node_modules/is-plain-obj/index.cjs +11 -0
  224. package/dist/cjs/node_modules/write-pkg/node_modules/is-plain-obj/index.cjs.map +1 -0
  225. package/dist/cjs/node_modules/write-pkg/node_modules/make-dir/index.cjs +155 -0
  226. package/dist/cjs/node_modules/write-pkg/node_modules/make-dir/index.cjs.map +1 -0
  227. package/dist/cjs/node_modules/write-pkg/node_modules/semver/semver.cjs +1490 -0
  228. package/dist/cjs/node_modules/write-pkg/node_modules/semver/semver.cjs.map +1 -0
  229. package/dist/cjs/node_modules/write-pkg/node_modules/sort-keys/index.cjs +61 -0
  230. package/dist/cjs/node_modules/write-pkg/node_modules/sort-keys/index.cjs.map +1 -0
  231. package/dist/cjs/node_modules/write-pkg/node_modules/write-file-atomic/index.cjs +255 -0
  232. package/dist/cjs/node_modules/write-pkg/node_modules/write-file-atomic/index.cjs.map +1 -0
  233. package/dist/cjs/node_modules/write-pkg/node_modules/write-json-file/index.cjs +95 -0
  234. package/dist/cjs/node_modules/write-pkg/node_modules/write-json-file/index.cjs.map +1 -0
  235. package/dist/cjs/node_modules/yallist/iterator.cjs +22 -0
  236. package/dist/cjs/node_modules/yallist/iterator.cjs.map +1 -0
  237. package/dist/cjs/node_modules/yallist/yallist.cjs +442 -0
  238. package/dist/cjs/node_modules/yallist/yallist.cjs.map +1 -0
  239. package/dist/cjs/update-config.cjs +64 -0
  240. package/dist/cjs/update-config.cjs.map +1 -0
  241. package/dist/esm/_virtual/_commonjsHelpers.mjs +4 -0
  242. package/dist/esm/_virtual/_commonjsHelpers.mjs.map +1 -0
  243. package/dist/esm/_virtual/conversions.mjs +4 -0
  244. package/dist/esm/_virtual/conversions.mjs.map +1 -0
  245. package/dist/esm/_virtual/git-host-info.mjs +4 -0
  246. package/dist/esm/_virtual/git-host-info.mjs.map +1 -0
  247. package/dist/esm/_virtual/identifier.mjs +4 -0
  248. package/dist/esm/_virtual/identifier.mjs.map +1 -0
  249. package/dist/esm/_virtual/imurmurhash.mjs +4 -0
  250. package/dist/esm/_virtual/imurmurhash.mjs.map +1 -0
  251. package/dist/esm/_virtual/index.mjs +4 -0
  252. package/dist/esm/_virtual/index.mjs.map +1 -0
  253. package/dist/esm/_virtual/index10.mjs +4 -0
  254. package/dist/esm/_virtual/index10.mjs.map +1 -0
  255. package/dist/esm/_virtual/index11.mjs +4 -0
  256. package/dist/esm/_virtual/index11.mjs.map +1 -0
  257. package/dist/esm/_virtual/index12.mjs +4 -0
  258. package/dist/esm/_virtual/index12.mjs.map +1 -0
  259. package/dist/esm/_virtual/index13.mjs +4 -0
  260. package/dist/esm/_virtual/index13.mjs.map +1 -0
  261. package/dist/esm/_virtual/index14.mjs +4 -0
  262. package/dist/esm/_virtual/index14.mjs.map +1 -0
  263. package/dist/esm/_virtual/index15.mjs +4 -0
  264. package/dist/esm/_virtual/index15.mjs.map +1 -0
  265. package/dist/esm/_virtual/index2.mjs +4 -0
  266. package/dist/esm/_virtual/index2.mjs.map +1 -0
  267. package/dist/esm/_virtual/index3.mjs +4 -0
  268. package/dist/esm/_virtual/index3.mjs.map +1 -0
  269. package/dist/esm/_virtual/index4.mjs +4 -0
  270. package/dist/esm/_virtual/index4.mjs.map +1 -0
  271. package/dist/esm/_virtual/index5.mjs +4 -0
  272. package/dist/esm/_virtual/index5.mjs.map +1 -0
  273. package/dist/esm/_virtual/index6.mjs +4 -0
  274. package/dist/esm/_virtual/index6.mjs.map +1 -0
  275. package/dist/esm/_virtual/index7.mjs +4 -0
  276. package/dist/esm/_virtual/index7.mjs.map +1 -0
  277. package/dist/esm/_virtual/index8.mjs +4 -0
  278. package/dist/esm/_virtual/index8.mjs.map +1 -0
  279. package/dist/esm/_virtual/index9.mjs +4 -0
  280. package/dist/esm/_virtual/index9.mjs.map +1 -0
  281. package/dist/esm/_virtual/keyword.mjs +4 -0
  282. package/dist/esm/_virtual/keyword.mjs.map +1 -0
  283. package/dist/esm/_virtual/npa.mjs +4 -0
  284. package/dist/esm/_virtual/npa.mjs.map +1 -0
  285. package/dist/esm/_virtual/re.mjs +4 -0
  286. package/dist/esm/_virtual/re.mjs.map +1 -0
  287. package/dist/esm/_virtual/semver.mjs +4 -0
  288. package/dist/esm/_virtual/semver.mjs.map +1 -0
  289. package/dist/esm/_virtual/signals.mjs +4 -0
  290. package/dist/esm/_virtual/signals.mjs.map +1 -0
  291. package/dist/esm/index.mjs +2 -0
  292. package/dist/esm/index.mjs.map +1 -0
  293. package/dist/esm/node_modules/@babel/code-frame/lib/index.mjs +166 -0
  294. package/dist/esm/node_modules/@babel/code-frame/lib/index.mjs.map +1 -0
  295. package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +86 -0
  296. package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs.map +1 -0
  297. package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/index.mjs +65 -0
  298. package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/index.mjs.map +1 -0
  299. package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +40 -0
  300. package/dist/esm/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs.map +1 -0
  301. package/dist/esm/node_modules/@babel/highlight/lib/index.mjs +123 -0
  302. package/dist/esm/node_modules/@babel/highlight/lib/index.mjs.map +1 -0
  303. package/dist/esm/node_modules/@lerna/package/index.mjs +306 -0
  304. package/dist/esm/node_modules/@lerna/package/index.mjs.map +1 -0
  305. package/dist/esm/node_modules/ansi-styles/index.mjs +170 -0
  306. package/dist/esm/node_modules/ansi-styles/index.mjs.map +1 -0
  307. package/dist/esm/node_modules/builtins/builtins.mjs +4 -0
  308. package/dist/esm/node_modules/builtins/builtins.mjs.map +1 -0
  309. package/dist/esm/node_modules/chalk/index.mjs +237 -0
  310. package/dist/esm/node_modules/chalk/index.mjs.map +1 -0
  311. package/dist/esm/node_modules/chalk/templates.mjs +130 -0
  312. package/dist/esm/node_modules/chalk/templates.mjs.map +1 -0
  313. package/dist/esm/node_modules/color-convert/conversions.mjs +876 -0
  314. package/dist/esm/node_modules/color-convert/conversions.mjs.map +1 -0
  315. package/dist/esm/node_modules/color-convert/index.mjs +85 -0
  316. package/dist/esm/node_modules/color-convert/index.mjs.map +1 -0
  317. package/dist/esm/node_modules/color-convert/route.mjs +102 -0
  318. package/dist/esm/node_modules/color-convert/route.mjs.map +1 -0
  319. package/dist/esm/node_modules/color-name/index.mjs +153 -0
  320. package/dist/esm/node_modules/color-name/index.mjs.map +1 -0
  321. package/dist/esm/node_modules/error-ex/index.mjs +145 -0
  322. package/dist/esm/node_modules/error-ex/index.mjs.map +1 -0
  323. package/dist/esm/node_modules/escape-string-regexp/index.mjs +12 -0
  324. package/dist/esm/node_modules/escape-string-regexp/index.mjs.map +1 -0
  325. package/dist/esm/node_modules/graceful-fs/clone.mjs +24 -0
  326. package/dist/esm/node_modules/graceful-fs/clone.mjs.map +1 -0
  327. package/dist/esm/node_modules/graceful-fs/graceful-fs.mjs +459 -0
  328. package/dist/esm/node_modules/graceful-fs/graceful-fs.mjs.map +1 -0
  329. package/dist/esm/node_modules/graceful-fs/legacy-streams.mjs +123 -0
  330. package/dist/esm/node_modules/graceful-fs/legacy-streams.mjs.map +1 -0
  331. package/dist/esm/node_modules/graceful-fs/polyfills.mjs +360 -0
  332. package/dist/esm/node_modules/graceful-fs/polyfills.mjs.map +1 -0
  333. package/dist/esm/node_modules/has-flag/index.mjs +10 -0
  334. package/dist/esm/node_modules/has-flag/index.mjs.map +1 -0
  335. package/dist/esm/node_modules/hosted-git-info/git-host-info.mjs +90 -0
  336. package/dist/esm/node_modules/hosted-git-info/git-host-info.mjs.map +1 -0
  337. package/dist/esm/node_modules/hosted-git-info/git-host.mjs +168 -0
  338. package/dist/esm/node_modules/hosted-git-info/git-host.mjs.map +1 -0
  339. package/dist/esm/node_modules/hosted-git-info/index.mjs +162 -0
  340. package/dist/esm/node_modules/hosted-git-info/index.mjs.map +1 -0
  341. package/dist/esm/node_modules/imurmurhash/imurmurhash.mjs +141 -0
  342. package/dist/esm/node_modules/imurmurhash/imurmurhash.mjs.map +1 -0
  343. package/dist/esm/node_modules/is-arrayish/index.mjs +11 -0
  344. package/dist/esm/node_modules/is-arrayish/index.mjs.map +1 -0
  345. package/dist/esm/node_modules/js-tokens/index.mjs +26 -0
  346. package/dist/esm/node_modules/js-tokens/index.mjs.map +1 -0
  347. package/dist/esm/node_modules/json-parse-even-better-errors/index.mjs +122 -0
  348. package/dist/esm/node_modules/json-parse-even-better-errors/index.mjs.map +1 -0
  349. package/dist/esm/node_modules/lines-and-columns/build/index.mjs +66 -0
  350. package/dist/esm/node_modules/lines-and-columns/build/index.mjs.map +1 -0
  351. package/dist/esm/node_modules/load-json-file/index.mjs +29 -0
  352. package/dist/esm/node_modules/load-json-file/index.mjs.map +1 -0
  353. package/dist/esm/node_modules/lru-cache/index.mjs +346 -0
  354. package/dist/esm/node_modules/lru-cache/index.mjs.map +1 -0
  355. package/dist/esm/node_modules/npm-package-arg/npa.mjs +316 -0
  356. package/dist/esm/node_modules/npm-package-arg/npa.mjs.map +1 -0
  357. package/dist/esm/node_modules/parse-json/index.mjs +63 -0
  358. package/dist/esm/node_modules/parse-json/index.mjs.map +1 -0
  359. package/dist/esm/node_modules/pify/index.mjs +69 -0
  360. package/dist/esm/node_modules/pify/index.mjs.map +1 -0
  361. package/dist/esm/node_modules/semver/classes/comparator.mjs +154 -0
  362. package/dist/esm/node_modules/semver/classes/comparator.mjs.map +1 -0
  363. package/dist/esm/node_modules/semver/classes/range.mjs +537 -0
  364. package/dist/esm/node_modules/semver/classes/range.mjs.map +1 -0
  365. package/dist/esm/node_modules/semver/classes/semver.mjs +304 -0
  366. package/dist/esm/node_modules/semver/classes/semver.mjs.map +1 -0
  367. package/dist/esm/node_modules/semver/functions/clean.mjs +19 -0
  368. package/dist/esm/node_modules/semver/functions/clean.mjs.map +1 -0
  369. package/dist/esm/node_modules/semver/functions/cmp.mjs +70 -0
  370. package/dist/esm/node_modules/semver/functions/cmp.mjs.map +1 -0
  371. package/dist/esm/node_modules/semver/functions/coerce.mjs +67 -0
  372. package/dist/esm/node_modules/semver/functions/coerce.mjs.map +1 -0
  373. package/dist/esm/node_modules/semver/functions/compare-build.mjs +20 -0
  374. package/dist/esm/node_modules/semver/functions/compare-build.mjs.map +1 -0
  375. package/dist/esm/node_modules/semver/functions/compare-loose.mjs +16 -0
  376. package/dist/esm/node_modules/semver/functions/compare-loose.mjs.map +1 -0
  377. package/dist/esm/node_modules/semver/functions/compare.mjs +18 -0
  378. package/dist/esm/node_modules/semver/functions/compare.mjs.map +1 -0
  379. package/dist/esm/node_modules/semver/functions/diff.mjs +37 -0
  380. package/dist/esm/node_modules/semver/functions/diff.mjs.map +1 -0
  381. package/dist/esm/node_modules/semver/functions/eq.mjs +16 -0
  382. package/dist/esm/node_modules/semver/functions/eq.mjs.map +1 -0
  383. package/dist/esm/node_modules/semver/functions/gt.mjs +16 -0
  384. package/dist/esm/node_modules/semver/functions/gt.mjs.map +1 -0
  385. package/dist/esm/node_modules/semver/functions/gte.mjs +16 -0
  386. package/dist/esm/node_modules/semver/functions/gte.mjs.map +1 -0
  387. package/dist/esm/node_modules/semver/functions/inc.mjs +31 -0
  388. package/dist/esm/node_modules/semver/functions/inc.mjs.map +1 -0
  389. package/dist/esm/node_modules/semver/functions/lt.mjs +16 -0
  390. package/dist/esm/node_modules/semver/functions/lt.mjs.map +1 -0
  391. package/dist/esm/node_modules/semver/functions/lte.mjs +16 -0
  392. package/dist/esm/node_modules/semver/functions/lte.mjs.map +1 -0
  393. package/dist/esm/node_modules/semver/functions/major.mjs +16 -0
  394. package/dist/esm/node_modules/semver/functions/major.mjs.map +1 -0
  395. package/dist/esm/node_modules/semver/functions/minor.mjs +16 -0
  396. package/dist/esm/node_modules/semver/functions/minor.mjs.map +1 -0
  397. package/dist/esm/node_modules/semver/functions/neq.mjs +16 -0
  398. package/dist/esm/node_modules/semver/functions/neq.mjs.map +1 -0
  399. package/dist/esm/node_modules/semver/functions/parse.mjs +49 -0
  400. package/dist/esm/node_modules/semver/functions/parse.mjs.map +1 -0
  401. package/dist/esm/node_modules/semver/functions/patch.mjs +16 -0
  402. package/dist/esm/node_modules/semver/functions/patch.mjs.map +1 -0
  403. package/dist/esm/node_modules/semver/functions/prerelease.mjs +19 -0
  404. package/dist/esm/node_modules/semver/functions/prerelease.mjs.map +1 -0
  405. package/dist/esm/node_modules/semver/functions/rcompare.mjs +16 -0
  406. package/dist/esm/node_modules/semver/functions/rcompare.mjs.map +1 -0
  407. package/dist/esm/node_modules/semver/functions/rsort.mjs +16 -0
  408. package/dist/esm/node_modules/semver/functions/rsort.mjs.map +1 -0
  409. package/dist/esm/node_modules/semver/functions/satisfies.mjs +23 -0
  410. package/dist/esm/node_modules/semver/functions/satisfies.mjs.map +1 -0
  411. package/dist/esm/node_modules/semver/functions/sort.mjs +16 -0
  412. package/dist/esm/node_modules/semver/functions/sort.mjs.map +1 -0
  413. package/dist/esm/node_modules/semver/functions/valid.mjs +19 -0
  414. package/dist/esm/node_modules/semver/functions/valid.mjs.map +1 -0
  415. package/dist/esm/node_modules/semver/index.mjs +101 -0
  416. package/dist/esm/node_modules/semver/index.mjs.map +1 -0
  417. package/dist/esm/node_modules/semver/internal/constants.mjs +28 -0
  418. package/dist/esm/node_modules/semver/internal/constants.mjs.map +1 -0
  419. package/dist/esm/node_modules/semver/internal/debug.mjs +20 -0
  420. package/dist/esm/node_modules/semver/internal/debug.mjs.map +1 -0
  421. package/dist/esm/node_modules/semver/internal/identifiers.mjs +34 -0
  422. package/dist/esm/node_modules/semver/internal/identifiers.mjs.map +1 -0
  423. package/dist/esm/node_modules/semver/internal/parse-options.mjs +22 -0
  424. package/dist/esm/node_modules/semver/internal/parse-options.mjs.map +1 -0
  425. package/dist/esm/node_modules/semver/internal/re.mjs +198 -0
  426. package/dist/esm/node_modules/semver/internal/re.mjs.map +1 -0
  427. package/dist/esm/node_modules/semver/ranges/gtr.mjs +17 -0
  428. package/dist/esm/node_modules/semver/ranges/gtr.mjs.map +1 -0
  429. package/dist/esm/node_modules/semver/ranges/intersects.mjs +20 -0
  430. package/dist/esm/node_modules/semver/ranges/intersects.mjs.map +1 -0
  431. package/dist/esm/node_modules/semver/ranges/ltr.mjs +17 -0
  432. package/dist/esm/node_modules/semver/ranges/ltr.mjs.map +1 -0
  433. package/dist/esm/node_modules/semver/ranges/max-satisfying.mjs +39 -0
  434. package/dist/esm/node_modules/semver/ranges/max-satisfying.mjs.map +1 -0
  435. package/dist/esm/node_modules/semver/ranges/min-satisfying.mjs +38 -0
  436. package/dist/esm/node_modules/semver/ranges/min-satisfying.mjs.map +1 -0
  437. package/dist/esm/node_modules/semver/ranges/min-version.mjs +76 -0
  438. package/dist/esm/node_modules/semver/ranges/min-version.mjs.map +1 -0
  439. package/dist/esm/node_modules/semver/ranges/outside.mjs +100 -0
  440. package/dist/esm/node_modules/semver/ranges/outside.mjs.map +1 -0
  441. package/dist/esm/node_modules/semver/ranges/simplify.mjs +61 -0
  442. package/dist/esm/node_modules/semver/ranges/simplify.mjs.map +1 -0
  443. package/dist/esm/node_modules/semver/ranges/subset.mjs +260 -0
  444. package/dist/esm/node_modules/semver/ranges/subset.mjs.map +1 -0
  445. package/dist/esm/node_modules/semver/ranges/to-comparators.mjs +21 -0
  446. package/dist/esm/node_modules/semver/ranges/to-comparators.mjs.map +1 -0
  447. package/dist/esm/node_modules/semver/ranges/valid.mjs +24 -0
  448. package/dist/esm/node_modules/semver/ranges/valid.mjs.map +1 -0
  449. package/dist/esm/node_modules/signal-exit/index.mjs +212 -0
  450. package/dist/esm/node_modules/signal-exit/index.mjs.map +1 -0
  451. package/dist/esm/node_modules/signal-exit/signals.mjs +67 -0
  452. package/dist/esm/node_modules/signal-exit/signals.mjs.map +1 -0
  453. package/dist/esm/node_modules/strip-bom/index.mjs +16 -0
  454. package/dist/esm/node_modules/strip-bom/index.mjs.map +1 -0
  455. package/dist/esm/node_modules/supports-color/index.mjs +136 -0
  456. package/dist/esm/node_modules/supports-color/index.mjs.map +1 -0
  457. package/dist/esm/node_modules/validate-npm-package-name/index.mjs +117 -0
  458. package/dist/esm/node_modules/validate-npm-package-name/index.mjs.map +1 -0
  459. package/dist/esm/node_modules/write-pkg/index.mjs +74 -0
  460. package/dist/esm/node_modules/write-pkg/index.mjs.map +1 -0
  461. package/dist/esm/node_modules/write-pkg/node_modules/detect-indent/index.mjs +123 -0
  462. package/dist/esm/node_modules/write-pkg/node_modules/detect-indent/index.mjs.map +1 -0
  463. package/dist/esm/node_modules/write-pkg/node_modules/is-plain-obj/index.mjs +9 -0
  464. package/dist/esm/node_modules/write-pkg/node_modules/is-plain-obj/index.mjs.map +1 -0
  465. package/dist/esm/node_modules/write-pkg/node_modules/make-dir/index.mjs +149 -0
  466. package/dist/esm/node_modules/write-pkg/node_modules/make-dir/index.mjs.map +1 -0
  467. package/dist/esm/node_modules/write-pkg/node_modules/semver/semver.mjs +1488 -0
  468. package/dist/esm/node_modules/write-pkg/node_modules/semver/semver.mjs.map +1 -0
  469. package/dist/esm/node_modules/write-pkg/node_modules/sort-keys/index.mjs +59 -0
  470. package/dist/esm/node_modules/write-pkg/node_modules/sort-keys/index.mjs.map +1 -0
  471. package/dist/esm/node_modules/write-pkg/node_modules/write-file-atomic/index.mjs +250 -0
  472. package/dist/esm/node_modules/write-pkg/node_modules/write-file-atomic/index.mjs.map +1 -0
  473. package/dist/esm/node_modules/write-pkg/node_modules/write-json-file/index.mjs +90 -0
  474. package/dist/esm/node_modules/write-pkg/node_modules/write-json-file/index.mjs.map +1 -0
  475. package/dist/esm/node_modules/yallist/iterator.mjs +18 -0
  476. package/dist/esm/node_modules/yallist/iterator.mjs.map +1 -0
  477. package/dist/esm/node_modules/yallist/yallist.mjs +438 -0
  478. package/dist/esm/node_modules/yallist/yallist.mjs.map +1 -0
  479. package/dist/esm/update-config.mjs +56 -0
  480. package/dist/esm/update-config.mjs.map +1 -0
  481. package/dist/types/cli.d.ts +1 -2
  482. package/dist/types/codecov-config.d.ts +13 -14
  483. package/dist/types/index.d.ts +2 -3
  484. package/dist/types/update-command.d.ts +8 -9
  485. package/dist/types/update-config.d.ts +12 -13
  486. package/dist/types/update.d.ts +6 -7
  487. package/package.json +65 -66
  488. package/dist/cjs/index.js +0 -11411
  489. package/dist/cjs/index.js.map +0 -1
  490. package/dist/cli/cli.js +0 -11479
  491. package/dist/cli/cli.js.map +0 -1
  492. package/dist/esm/index.js +0 -11394
  493. package/dist/esm/index.js.map +0 -1
  494. package/dist/types/cli.d.ts.map +0 -1
  495. package/dist/types/codecov-config.d.ts.map +0 -1
  496. package/dist/types/index.d.ts.map +0 -1
  497. package/dist/types/update-command.d.ts.map +0 -1
  498. package/dist/types/update-config.d.ts.map +0 -1
  499. package/dist/types/update.d.ts.map +0 -1
@@ -0,0 +1,94 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const gitHostInfo = require('../../_virtual/git-host-info.cjs');
6
+
7
+ var hasRequiredGitHostInfo;
8
+
9
+ function requireGitHostInfo () {
10
+ if (hasRequiredGitHostInfo) return gitHostInfo.gitHostInfo.exports;
11
+ hasRequiredGitHostInfo = 1;
12
+
13
+ var gitHosts = gitHostInfo.gitHostInfo.exports = {
14
+ github: {
15
+ // First two are insecure and generally shouldn't be used any more, but
16
+ // they are still supported.
17
+ 'protocols': [ 'git', 'http', 'git+ssh', 'git+https', 'ssh', 'https' ],
18
+ 'domain': 'github.com',
19
+ 'treepath': 'tree',
20
+ 'filetemplate': 'https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}',
21
+ 'bugstemplate': 'https://{domain}/{user}/{project}/issues',
22
+ 'gittemplate': 'git://{auth@}{domain}/{user}/{project}.git{#committish}',
23
+ 'tarballtemplate': 'https://codeload.{domain}/{user}/{project}/tar.gz/{committish}'
24
+ },
25
+ bitbucket: {
26
+ 'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],
27
+ 'domain': 'bitbucket.org',
28
+ 'treepath': 'src',
29
+ 'tarballtemplate': 'https://{domain}/{user}/{project}/get/{committish}.tar.gz'
30
+ },
31
+ gitlab: {
32
+ 'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],
33
+ 'domain': 'gitlab.com',
34
+ 'treepath': 'tree',
35
+ 'bugstemplate': 'https://{domain}/{user}/{project}/issues',
36
+ 'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',
37
+ 'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',
38
+ 'pathmatch': /^\/([^/]+)\/((?!.*(\/-\/|\/repository(\/[^/]+)?\/archive\.tar\.gz)).*?)(?:\.git|\/)?$/
39
+ },
40
+ gist: {
41
+ 'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],
42
+ 'domain': 'gist.github.com',
43
+ 'pathmatch': /^[/](?:([^/]+)[/])?([a-z0-9]{7,})(?:[.]git)?$/,
44
+ 'filetemplate': 'https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}',
45
+ 'bugstemplate': 'https://{domain}/{project}',
46
+ 'gittemplate': 'git://{domain}/{project}.git{#committish}',
47
+ 'sshtemplate': 'git@{domain}:/{project}.git{#committish}',
48
+ 'sshurltemplate': 'git+ssh://git@{domain}/{project}.git{#committish}',
49
+ 'browsetemplate': 'https://{domain}/{project}{/committish}',
50
+ 'browsefiletemplate': 'https://{domain}/{project}{/committish}{#path}',
51
+ 'docstemplate': 'https://{domain}/{project}{/committish}',
52
+ 'httpstemplate': 'git+https://{domain}/{project}.git{#committish}',
53
+ 'shortcuttemplate': '{type}:{project}{#committish}',
54
+ 'pathtemplate': '{project}{#committish}',
55
+ 'tarballtemplate': 'https://codeload.github.com/gist/{project}/tar.gz/{committish}',
56
+ 'hashformat': function (fragment) {
57
+ return 'file-' + formatHashFragment(fragment)
58
+ }
59
+ }
60
+ };
61
+
62
+ var gitHostDefaults = {
63
+ 'sshtemplate': 'git@{domain}:{user}/{project}.git{#committish}',
64
+ 'sshurltemplate': 'git+ssh://git@{domain}/{user}/{project}.git{#committish}',
65
+ 'browsetemplate': 'https://{domain}/{user}/{project}{/tree/committish}',
66
+ 'browsefiletemplate': 'https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}',
67
+ 'docstemplate': 'https://{domain}/{user}/{project}{/tree/committish}#readme',
68
+ 'httpstemplate': 'git+https://{auth@}{domain}/{user}/{project}.git{#committish}',
69
+ 'filetemplate': 'https://{domain}/{user}/{project}/raw/{committish}/{path}',
70
+ 'shortcuttemplate': '{type}:{user}/{project}{#committish}',
71
+ 'pathtemplate': '{user}/{project}{#committish}',
72
+ 'pathmatch': /^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,
73
+ 'hashformat': formatHashFragment
74
+ };
75
+
76
+ Object.keys(gitHosts).forEach(function (name) {
77
+ Object.keys(gitHostDefaults).forEach(function (key) {
78
+ if (gitHosts[name][key]) return
79
+ gitHosts[name][key] = gitHostDefaults[key];
80
+ });
81
+ gitHosts[name].protocols_re = RegExp('^(' +
82
+ gitHosts[name].protocols.map(function (protocol) {
83
+ return protocol.replace(/([\\+*{}()[\]$^|])/g, '\\$1')
84
+ }).join('|') + '):$');
85
+ });
86
+
87
+ function formatHashFragment (fragment) {
88
+ return fragment.toLowerCase().replace(/^\W+|\/|\W+$/g, '').replace(/\W+/g, '-')
89
+ }
90
+ return gitHostInfo.gitHostInfo.exports;
91
+ }
92
+
93
+ exports.__require = requireGitHostInfo;
94
+ //# sourceMappingURL=git-host-info.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-host-info.cjs","sources":["../../../../node_modules/hosted-git-info/git-host-info.js"],"sourcesContent":["'use strict'\n\nvar gitHosts = module.exports = {\n github: {\n // First two are insecure and generally shouldn't be used any more, but\n // they are still supported.\n 'protocols': [ 'git', 'http', 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'github.com',\n 'treepath': 'tree',\n 'filetemplate': 'https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}',\n 'bugstemplate': 'https://{domain}/{user}/{project}/issues',\n 'gittemplate': 'git://{auth@}{domain}/{user}/{project}.git{#committish}',\n 'tarballtemplate': 'https://codeload.{domain}/{user}/{project}/tar.gz/{committish}'\n },\n bitbucket: {\n 'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'bitbucket.org',\n 'treepath': 'src',\n 'tarballtemplate': 'https://{domain}/{user}/{project}/get/{committish}.tar.gz'\n },\n gitlab: {\n 'protocols': [ 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'gitlab.com',\n 'treepath': 'tree',\n 'bugstemplate': 'https://{domain}/{user}/{project}/issues',\n 'httpstemplate': 'git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}',\n 'tarballtemplate': 'https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}',\n 'pathmatch': /^\\/([^/]+)\\/((?!.*(\\/-\\/|\\/repository(\\/[^/]+)?\\/archive\\.tar\\.gz)).*?)(?:\\.git|\\/)?$/\n },\n gist: {\n 'protocols': [ 'git', 'git+ssh', 'git+https', 'ssh', 'https' ],\n 'domain': 'gist.github.com',\n 'pathmatch': /^[/](?:([^/]+)[/])?([a-z0-9]{7,})(?:[.]git)?$/,\n 'filetemplate': 'https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}',\n 'bugstemplate': 'https://{domain}/{project}',\n 'gittemplate': 'git://{domain}/{project}.git{#committish}',\n 'sshtemplate': 'git@{domain}:/{project}.git{#committish}',\n 'sshurltemplate': 'git+ssh://git@{domain}/{project}.git{#committish}',\n 'browsetemplate': 'https://{domain}/{project}{/committish}',\n 'browsefiletemplate': 'https://{domain}/{project}{/committish}{#path}',\n 'docstemplate': 'https://{domain}/{project}{/committish}',\n 'httpstemplate': 'git+https://{domain}/{project}.git{#committish}',\n 'shortcuttemplate': '{type}:{project}{#committish}',\n 'pathtemplate': '{project}{#committish}',\n 'tarballtemplate': 'https://codeload.github.com/gist/{project}/tar.gz/{committish}',\n 'hashformat': function (fragment) {\n return 'file-' + formatHashFragment(fragment)\n }\n }\n}\n\nvar gitHostDefaults = {\n 'sshtemplate': 'git@{domain}:{user}/{project}.git{#committish}',\n 'sshurltemplate': 'git+ssh://git@{domain}/{user}/{project}.git{#committish}',\n 'browsetemplate': 'https://{domain}/{user}/{project}{/tree/committish}',\n 'browsefiletemplate': 'https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}',\n 'docstemplate': 'https://{domain}/{user}/{project}{/tree/committish}#readme',\n 'httpstemplate': 'git+https://{auth@}{domain}/{user}/{project}.git{#committish}',\n 'filetemplate': 'https://{domain}/{user}/{project}/raw/{committish}/{path}',\n 'shortcuttemplate': '{type}:{user}/{project}{#committish}',\n 'pathtemplate': '{user}/{project}{#committish}',\n 'pathmatch': /^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,\n 'hashformat': formatHashFragment\n}\n\nObject.keys(gitHosts).forEach(function (name) {\n Object.keys(gitHostDefaults).forEach(function (key) {\n if (gitHosts[name][key]) return\n gitHosts[name][key] = gitHostDefaults[key]\n })\n gitHosts[name].protocols_re = RegExp('^(' +\n gitHosts[name].protocols.map(function (protocol) {\n return protocol.replace(/([\\\\+*{}()[\\]$^|])/g, '\\\\$1')\n }).join('|') + '):$')\n})\n\nfunction formatHashFragment (fragment) {\n return fragment.toLowerCase().replace(/^\\W+|\\/|\\W+$/g, '').replace(/\\W+/g, '-')\n}\n"],"names":["gitHostInfoModule"],"mappings":";;;;;;;;;;;AACA;CACA,IAAI,QAAQ,GAAGA,uBAAA,CAAA,OAAc,GAAG;AAChC,GAAE,MAAM,EAAE;AACV;AACA;AACA,KAAI,WAAW,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE;KACtE,QAAQ,EAAE,YAAY;KACtB,UAAU,EAAE,MAAM;KAClB,cAAc,EAAE,+EAA+E;KAC/F,cAAc,EAAE,0CAA0C;KAC1D,aAAa,EAAE,yDAAyD;KACxE,iBAAiB,EAAE,gEAAgE;IACpF;AACH,GAAE,SAAS,EAAE;KACT,WAAW,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE;KACvD,QAAQ,EAAE,eAAe;KACzB,UAAU,EAAE,KAAK;KACj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D,YAAY,EAAE,kBAAkB;GACjC;AACD;CACA,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE;GAC5C,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,UAAU,GAAG,EAAE;KAClD,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,MAAM;KAC/B,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,EAAC;AAC9C,IAAG,EAAC;GACF,QAAQ,CAAC,IAAI,CAAC,CAAC,YAAY,GAAG,MAAM,CAAC,IAAI;KACvC,QAAQ,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,QAAQ,EAAE;OAC/C,OAAO,QAAQ,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC;MACvD,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,EAAC;AACzB,EAAC,EAAC;AACF;CACA,SAAS,kBAAkB,EAAE,QAAQ,EAAE;AACvC,GAAE,OAAO,QAAQ,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;AACjF,EAAA;;;;;;"}
@@ -0,0 +1,172 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const gitHostInfo = require('./git-host-info.cjs');
6
+
7
+ var gitHost;
8
+ var hasRequiredGitHost;
9
+
10
+ function requireGitHost () {
11
+ if (hasRequiredGitHost) return gitHost;
12
+ hasRequiredGitHost = 1;
13
+ var gitHosts = gitHostInfo.__require();
14
+ /* eslint-disable node/no-deprecated-api */
15
+
16
+ // copy-pasta util._extend from node's source, to avoid pulling
17
+ // the whole util module into peoples' webpack bundles.
18
+ /* istanbul ignore next */
19
+ var extend = Object.assign || function _extend (target, source) {
20
+ // Don't do anything if source isn't an object
21
+ if (source === null || typeof source !== 'object') return target
22
+
23
+ const keys = Object.keys(source);
24
+ let i = keys.length;
25
+ while (i--) {
26
+ target[keys[i]] = source[keys[i]];
27
+ }
28
+ return target
29
+ };
30
+
31
+ gitHost = GitHost;
32
+ function GitHost (type, user, auth, project, committish, defaultRepresentation, opts) {
33
+ var gitHostInfo = this;
34
+ gitHostInfo.type = type;
35
+ Object.keys(gitHosts[type]).forEach(function (key) {
36
+ gitHostInfo[key] = gitHosts[type][key];
37
+ });
38
+ gitHostInfo.user = user;
39
+ gitHostInfo.auth = auth;
40
+ gitHostInfo.project = project;
41
+ gitHostInfo.committish = committish;
42
+ gitHostInfo.default = defaultRepresentation;
43
+ gitHostInfo.opts = opts || {};
44
+ }
45
+
46
+ GitHost.prototype.hash = function () {
47
+ return this.committish ? '#' + this.committish : ''
48
+ };
49
+
50
+ GitHost.prototype._fill = function (template, opts) {
51
+ if (!template) return
52
+ var vars = extend({}, opts);
53
+ vars.path = vars.path ? vars.path.replace(/^[/]+/g, '') : '';
54
+ opts = extend(extend({}, this.opts), opts);
55
+ var self = this;
56
+ Object.keys(this).forEach(function (key) {
57
+ if (self[key] != null && vars[key] == null) vars[key] = self[key];
58
+ });
59
+ var rawAuth = vars.auth;
60
+ var rawcommittish = vars.committish;
61
+ var rawFragment = vars.fragment;
62
+ var rawPath = vars.path;
63
+ var rawProject = vars.project;
64
+ Object.keys(vars).forEach(function (key) {
65
+ var value = vars[key];
66
+ if ((key === 'path' || key === 'project') && typeof value === 'string') {
67
+ vars[key] = value.split('/').map(function (pathComponent) {
68
+ return encodeURIComponent(pathComponent)
69
+ }).join('/');
70
+ } else if (key !== 'domain') {
71
+ vars[key] = encodeURIComponent(value);
72
+ }
73
+ });
74
+ vars['auth@'] = rawAuth ? rawAuth + '@' : '';
75
+ vars['#fragment'] = rawFragment ? '#' + this.hashformat(rawFragment) : '';
76
+ vars.fragment = vars.fragment ? vars.fragment : '';
77
+ vars['#path'] = rawPath ? '#' + this.hashformat(rawPath) : '';
78
+ vars['/path'] = vars.path ? '/' + vars.path : '';
79
+ vars.projectPath = rawProject.split('/').map(encodeURIComponent).join('/');
80
+ if (opts.noCommittish) {
81
+ vars['#committish'] = '';
82
+ vars['/tree/committish'] = '';
83
+ vars['/committish'] = '';
84
+ vars.committish = '';
85
+ } else {
86
+ vars['#committish'] = rawcommittish ? '#' + rawcommittish : '';
87
+ vars['/tree/committish'] = vars.committish
88
+ ? '/' + vars.treepath + '/' + vars.committish
89
+ : '';
90
+ vars['/committish'] = vars.committish ? '/' + vars.committish : '';
91
+ vars.committish = vars.committish || 'master';
92
+ }
93
+ var res = template;
94
+ Object.keys(vars).forEach(function (key) {
95
+ res = res.replace(new RegExp('[{]' + key + '[}]', 'g'), vars[key]);
96
+ });
97
+ if (opts.noGitPlus) {
98
+ return res.replace(/^git[+]/, '')
99
+ } else {
100
+ return res
101
+ }
102
+ };
103
+
104
+ GitHost.prototype.ssh = function (opts) {
105
+ return this._fill(this.sshtemplate, opts)
106
+ };
107
+
108
+ GitHost.prototype.sshurl = function (opts) {
109
+ return this._fill(this.sshurltemplate, opts)
110
+ };
111
+
112
+ GitHost.prototype.browse = function (P, F, opts) {
113
+ if (typeof P === 'string') {
114
+ if (typeof F !== 'string') {
115
+ opts = F;
116
+ F = null;
117
+ }
118
+ return this._fill(this.browsefiletemplate, extend({
119
+ fragment: F,
120
+ path: P
121
+ }, opts))
122
+ } else {
123
+ return this._fill(this.browsetemplate, P)
124
+ }
125
+ };
126
+
127
+ GitHost.prototype.docs = function (opts) {
128
+ return this._fill(this.docstemplate, opts)
129
+ };
130
+
131
+ GitHost.prototype.bugs = function (opts) {
132
+ return this._fill(this.bugstemplate, opts)
133
+ };
134
+
135
+ GitHost.prototype.https = function (opts) {
136
+ return this._fill(this.httpstemplate, opts)
137
+ };
138
+
139
+ GitHost.prototype.git = function (opts) {
140
+ return this._fill(this.gittemplate, opts)
141
+ };
142
+
143
+ GitHost.prototype.shortcut = function (opts) {
144
+ return this._fill(this.shortcuttemplate, opts)
145
+ };
146
+
147
+ GitHost.prototype.path = function (opts) {
148
+ return this._fill(this.pathtemplate, opts)
149
+ };
150
+
151
+ GitHost.prototype.tarball = function (opts_) {
152
+ var opts = extend({}, opts_, { noCommittish: false });
153
+ return this._fill(this.tarballtemplate, opts)
154
+ };
155
+
156
+ GitHost.prototype.file = function (P, opts) {
157
+ return this._fill(this.filetemplate, extend({ path: P }, opts))
158
+ };
159
+
160
+ GitHost.prototype.getDefaultRepresentation = function () {
161
+ return this.default
162
+ };
163
+
164
+ GitHost.prototype.toString = function (opts) {
165
+ if (this.default && typeof this[this.default] === 'function') return this[this.default](opts)
166
+ return this.sshurl(opts)
167
+ };
168
+ return gitHost;
169
+ }
170
+
171
+ exports.__require = requireGitHost;
172
+ //# sourceMappingURL=git-host.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-host.cjs","sources":["../../../../node_modules/hosted-git-info/git-host.js"],"sourcesContent":["'use strict'\nvar gitHosts = require('./git-host-info.js')\n/* eslint-disable node/no-deprecated-api */\n\n// copy-pasta util._extend from node's source, to avoid pulling\n// the whole util module into peoples' webpack bundles.\n/* istanbul ignore next */\nvar extend = Object.assign || function _extend (target, source) {\n // Don't do anything if source isn't an object\n if (source === null || typeof source !== 'object') return target\n\n const keys = Object.keys(source)\n let i = keys.length\n while (i--) {\n target[keys[i]] = source[keys[i]]\n }\n return target\n}\n\nmodule.exports = GitHost\nfunction GitHost (type, user, auth, project, committish, defaultRepresentation, opts) {\n var gitHostInfo = this\n gitHostInfo.type = type\n Object.keys(gitHosts[type]).forEach(function (key) {\n gitHostInfo[key] = gitHosts[type][key]\n })\n gitHostInfo.user = user\n gitHostInfo.auth = auth\n gitHostInfo.project = project\n gitHostInfo.committish = committish\n gitHostInfo.default = defaultRepresentation\n gitHostInfo.opts = opts || {}\n}\n\nGitHost.prototype.hash = function () {\n return this.committish ? '#' + this.committish : ''\n}\n\nGitHost.prototype._fill = function (template, opts) {\n if (!template) return\n var vars = extend({}, opts)\n vars.path = vars.path ? vars.path.replace(/^[/]+/g, '') : ''\n opts = extend(extend({}, this.opts), opts)\n var self = this\n Object.keys(this).forEach(function (key) {\n if (self[key] != null && vars[key] == null) vars[key] = self[key]\n })\n var rawAuth = vars.auth\n var rawcommittish = vars.committish\n var rawFragment = vars.fragment\n var rawPath = vars.path\n var rawProject = vars.project\n Object.keys(vars).forEach(function (key) {\n var value = vars[key]\n if ((key === 'path' || key === 'project') && typeof value === 'string') {\n vars[key] = value.split('/').map(function (pathComponent) {\n return encodeURIComponent(pathComponent)\n }).join('/')\n } else if (key !== 'domain') {\n vars[key] = encodeURIComponent(value)\n }\n })\n vars['auth@'] = rawAuth ? rawAuth + '@' : ''\n vars['#fragment'] = rawFragment ? '#' + this.hashformat(rawFragment) : ''\n vars.fragment = vars.fragment ? vars.fragment : ''\n vars['#path'] = rawPath ? '#' + this.hashformat(rawPath) : ''\n vars['/path'] = vars.path ? '/' + vars.path : ''\n vars.projectPath = rawProject.split('/').map(encodeURIComponent).join('/')\n if (opts.noCommittish) {\n vars['#committish'] = ''\n vars['/tree/committish'] = ''\n vars['/committish'] = ''\n vars.committish = ''\n } else {\n vars['#committish'] = rawcommittish ? '#' + rawcommittish : ''\n vars['/tree/committish'] = vars.committish\n ? '/' + vars.treepath + '/' + vars.committish\n : ''\n vars['/committish'] = vars.committish ? '/' + vars.committish : ''\n vars.committish = vars.committish || 'master'\n }\n var res = template\n Object.keys(vars).forEach(function (key) {\n res = res.replace(new RegExp('[{]' + key + '[}]', 'g'), vars[key])\n })\n if (opts.noGitPlus) {\n return res.replace(/^git[+]/, '')\n } else {\n return res\n }\n}\n\nGitHost.prototype.ssh = function (opts) {\n return this._fill(this.sshtemplate, opts)\n}\n\nGitHost.prototype.sshurl = function (opts) {\n return this._fill(this.sshurltemplate, opts)\n}\n\nGitHost.prototype.browse = function (P, F, opts) {\n if (typeof P === 'string') {\n if (typeof F !== 'string') {\n opts = F\n F = null\n }\n return this._fill(this.browsefiletemplate, extend({\n fragment: F,\n path: P\n }, opts))\n } else {\n return this._fill(this.browsetemplate, P)\n }\n}\n\nGitHost.prototype.docs = function (opts) {\n return this._fill(this.docstemplate, opts)\n}\n\nGitHost.prototype.bugs = function (opts) {\n return this._fill(this.bugstemplate, opts)\n}\n\nGitHost.prototype.https = function (opts) {\n return this._fill(this.httpstemplate, opts)\n}\n\nGitHost.prototype.git = function (opts) {\n return this._fill(this.gittemplate, opts)\n}\n\nGitHost.prototype.shortcut = function (opts) {\n return this._fill(this.shortcuttemplate, opts)\n}\n\nGitHost.prototype.path = function (opts) {\n return this._fill(this.pathtemplate, opts)\n}\n\nGitHost.prototype.tarball = function (opts_) {\n var opts = extend({}, opts_, { noCommittish: false })\n return this._fill(this.tarballtemplate, opts)\n}\n\nGitHost.prototype.file = function (P, opts) {\n return this._fill(this.filetemplate, extend({ path: P }, opts))\n}\n\nGitHost.prototype.getDefaultRepresentation = function () {\n return this.default\n}\n\nGitHost.prototype.toString = function (opts) {\n if (this.default && typeof this[this.default] === 'function') return this[this.default](opts)\n return this.sshurl(opts)\n}\n"],"names":["require$$0"],"mappings":";;;;;;;;;;;;CACA,IAAI,QAAQ,GAAGA,qBAA6B,GAAA;AAC5C;AACA;AACA;AACA;AACA;AACA,CAAA,IAAI,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE;AAChE;GACE,IAAI,MAAM,KAAK,IAAI,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,OAAO,MAAM;AAClE;GACE,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,EAAC;AAClC,GAAE,IAAI,CAAC,GAAG,IAAI,CAAC,OAAM;GACnB,OAAO,CAAC,EAAE,EAAE;AACd,KAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAC;IA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,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;GAChE;AACD;AACA,CAAA,OAAO,CAAC,SAAS,CAAC,wBAAwB,GAAG,YAAY;GACvD,OAAO,IAAI,CAAC,OAAO;GACpB;AACD;AACA,CAAA,OAAO,CAAC,SAAS,CAAC,QAAQ,GAAG,UAAU,IAAI,EAAE;GAC3C,IAAI,IAAI,CAAC,OAAO,IAAI,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,UAAU,EAAE,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC;AAC/F,GAAE,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC;AAC1B,GAAA;;;;;;"}
@@ -0,0 +1,170 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('../../_virtual/index4.cjs');
6
+ const require$$0 = require('url');
7
+ const gitHostInfo = require('./git-host-info.cjs');
8
+ const gitHost = require('./git-host.cjs');
9
+ const index$1 = require('../lru-cache/index.cjs');
10
+
11
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
12
+
13
+ const require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0);
14
+
15
+ var hasRequiredHostedGitInfo;
16
+
17
+ function requireHostedGitInfo () {
18
+ if (hasRequiredHostedGitInfo) return index.hostedGitInfo.exports;
19
+ hasRequiredHostedGitInfo = 1;
20
+ (function (module) {
21
+ var url = require$$0__default["default"];
22
+ var gitHosts = gitHostInfo.__require();
23
+ var GitHost = module.exports = gitHost.__require();
24
+ var LRU = index$1.__require();
25
+ var cache = new LRU({max: 1000});
26
+
27
+ var protocolToRepresentationMap = {
28
+ 'git+ssh:': 'sshurl',
29
+ 'git+https:': 'https',
30
+ 'ssh:': 'sshurl',
31
+ 'git:': 'git'
32
+ };
33
+
34
+ function protocolToRepresentation (protocol) {
35
+ return protocolToRepresentationMap[protocol] || protocol.slice(0, -1)
36
+ }
37
+
38
+ var authProtocols = {
39
+ 'git:': true,
40
+ 'https:': true,
41
+ 'git+https:': true,
42
+ 'http:': true,
43
+ 'git+http:': true
44
+ };
45
+
46
+ module.exports.fromUrl = function (giturl, opts) {
47
+ if (typeof giturl !== 'string') return
48
+ var key = giturl + JSON.stringify(opts || {});
49
+
50
+ if (!cache.has(key)) {
51
+ cache.set(key, fromUrl(giturl, opts));
52
+ }
53
+
54
+ return cache.get(key)
55
+ };
56
+
57
+ function fromUrl (giturl, opts) {
58
+ if (giturl == null || giturl === '') return
59
+ var url = fixupUnqualifiedGist(
60
+ isGitHubShorthand(giturl) ? 'github:' + giturl : giturl
61
+ );
62
+ var parsed = parseGitUrl(url);
63
+ var shortcutMatch = url.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/);
64
+ var matches = Object.keys(gitHosts).map(function (gitHostName) {
65
+ try {
66
+ var gitHostInfo = gitHosts[gitHostName];
67
+ var auth = null;
68
+ if (parsed.auth && authProtocols[parsed.protocol]) {
69
+ auth = parsed.auth;
70
+ }
71
+ var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null;
72
+ var user = null;
73
+ var project = null;
74
+ var defaultRepresentation = null;
75
+ if (shortcutMatch && shortcutMatch[1] === gitHostName) {
76
+ user = shortcutMatch[2] && decodeURIComponent(shortcutMatch[2]);
77
+ project = decodeURIComponent(shortcutMatch[3].replace(/\.git$/, ''));
78
+ defaultRepresentation = 'shortcut';
79
+ } else {
80
+ if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gitHostInfo.domain) return
81
+ if (!gitHostInfo.protocols_re.test(parsed.protocol)) return
82
+ if (!parsed.path) return
83
+ var pathmatch = gitHostInfo.pathmatch;
84
+ var matched = parsed.path.match(pathmatch);
85
+ if (!matched) return
86
+ /* istanbul ignore else */
87
+ if (matched[1] !== null && matched[1] !== undefined) {
88
+ user = decodeURIComponent(matched[1].replace(/^:/, ''));
89
+ }
90
+ project = decodeURIComponent(matched[2]);
91
+ defaultRepresentation = protocolToRepresentation(parsed.protocol);
92
+ }
93
+ return new GitHost(gitHostName, user, auth, project, committish, defaultRepresentation, opts)
94
+ } catch (ex) {
95
+ /* istanbul ignore else */
96
+ if (ex instanceof URIError) ; else throw ex
97
+ }
98
+ }).filter(function (gitHostInfo) { return gitHostInfo });
99
+ if (matches.length !== 1) return
100
+ return matches[0]
101
+ }
102
+
103
+ function isGitHubShorthand (arg) {
104
+ // Note: This does not fully test the git ref format.
105
+ // See https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html
106
+ //
107
+ // The only way to do this properly would be to shell out to
108
+ // git-check-ref-format, and as this is a fast sync function,
109
+ // we don't want to do that. Just let git fail if it turns
110
+ // out that the commit-ish is invalid.
111
+ // GH usernames cannot start with . or -
112
+ return /^[^:@%/\s.-][^:@%/\s]*[/][^:@\s/%]+(?:#.*)?$/.test(arg)
113
+ }
114
+
115
+ function fixupUnqualifiedGist (giturl) {
116
+ // necessary for round-tripping gists
117
+ var parsed = url.parse(giturl);
118
+ if (parsed.protocol === 'gist:' && parsed.host && !parsed.path) {
119
+ return parsed.protocol + '/' + parsed.host
120
+ } else {
121
+ return giturl
122
+ }
123
+ }
124
+
125
+ function parseGitUrl (giturl) {
126
+ var matched = giturl.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/);
127
+ if (!matched) {
128
+ var legacy = url.parse(giturl);
129
+ if (legacy.auth) {
130
+ // git urls can be in the form of scp-style/ssh-connect strings, like
131
+ // git+ssh://user@host.com:some/path, which the legacy url parser
132
+ // supports, but WhatWG url.URL class does not. However, the legacy
133
+ // parser de-urlencodes the username and password, so something like
134
+ // https://user%3An%40me:p%40ss%3Aword@x.com/ becomes
135
+ // https://user:n@me:p@ss:word@x.com/ which is all kinds of wrong.
136
+ // Pull off just the auth and host, so we dont' get the confusing
137
+ // scp-style URL, then pass that to the WhatWG parser to get the
138
+ // auth properly escaped.
139
+ const authmatch = giturl.match(/[^@]+@[^:/]+/);
140
+ /* istanbul ignore else - this should be impossible */
141
+ if (authmatch) {
142
+ var whatwg = new url.URL(authmatch[0]);
143
+ legacy.auth = whatwg.username || '';
144
+ if (whatwg.password) legacy.auth += ':' + whatwg.password;
145
+ }
146
+ }
147
+ return legacy
148
+ }
149
+ return {
150
+ protocol: 'git+ssh:',
151
+ slashes: true,
152
+ auth: matched[1],
153
+ host: matched[2],
154
+ port: null,
155
+ hostname: matched[2],
156
+ hash: matched[4],
157
+ search: null,
158
+ query: null,
159
+ pathname: '/' + matched[3],
160
+ path: '/' + matched[3],
161
+ href: 'git+ssh://' + matched[1] + '@' + matched[2] +
162
+ '/' + matched[3] + (matched[4] || '')
163
+ }
164
+ }
165
+ } (index.hostedGitInfo));
166
+ return index.hostedGitInfo.exports;
167
+ }
168
+
169
+ exports.__require = requireHostedGitInfo;
170
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../node_modules/hosted-git-info/index.js"],"sourcesContent":["'use strict'\nvar url = require('url')\nvar gitHosts = require('./git-host-info.js')\nvar GitHost = module.exports = require('./git-host.js')\nvar LRU = require('lru-cache')\nvar cache = new LRU({max: 1000})\n\nvar protocolToRepresentationMap = {\n 'git+ssh:': 'sshurl',\n 'git+https:': 'https',\n 'ssh:': 'sshurl',\n 'git:': 'git'\n}\n\nfunction protocolToRepresentation (protocol) {\n return protocolToRepresentationMap[protocol] || protocol.slice(0, -1)\n}\n\nvar authProtocols = {\n 'git:': true,\n 'https:': true,\n 'git+https:': true,\n 'http:': true,\n 'git+http:': true\n}\n\nmodule.exports.fromUrl = function (giturl, opts) {\n if (typeof giturl !== 'string') return\n var key = giturl + JSON.stringify(opts || {})\n\n if (!cache.has(key)) {\n cache.set(key, fromUrl(giturl, opts))\n }\n\n return cache.get(key)\n}\n\nfunction fromUrl (giturl, opts) {\n if (giturl == null || giturl === '') return\n var url = fixupUnqualifiedGist(\n isGitHubShorthand(giturl) ? 'github:' + giturl : giturl\n )\n var parsed = parseGitUrl(url)\n var shortcutMatch = url.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\\/)?([^#]+)/)\n var matches = Object.keys(gitHosts).map(function (gitHostName) {\n try {\n var gitHostInfo = gitHosts[gitHostName]\n var auth = null\n if (parsed.auth && authProtocols[parsed.protocol]) {\n auth = parsed.auth\n }\n var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null\n var user = null\n var project = null\n var defaultRepresentation = null\n if (shortcutMatch && shortcutMatch[1] === gitHostName) {\n user = shortcutMatch[2] && decodeURIComponent(shortcutMatch[2])\n project = decodeURIComponent(shortcutMatch[3].replace(/\\.git$/, ''))\n defaultRepresentation = 'shortcut'\n } else {\n if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gitHostInfo.domain) return\n if (!gitHostInfo.protocols_re.test(parsed.protocol)) return\n if (!parsed.path) return\n var pathmatch = gitHostInfo.pathmatch\n var matched = parsed.path.match(pathmatch)\n if (!matched) return\n /* istanbul ignore else */\n if (matched[1] !== null && matched[1] !== undefined) {\n user = decodeURIComponent(matched[1].replace(/^:/, ''))\n }\n project = decodeURIComponent(matched[2])\n defaultRepresentation = protocolToRepresentation(parsed.protocol)\n }\n return new GitHost(gitHostName, user, auth, project, committish, defaultRepresentation, opts)\n } catch (ex) {\n /* istanbul ignore else */\n if (ex instanceof URIError) {\n } else throw ex\n }\n }).filter(function (gitHostInfo) { return gitHostInfo })\n if (matches.length !== 1) return\n return matches[0]\n}\n\nfunction isGitHubShorthand (arg) {\n // Note: This does not fully test the git ref format.\n // See https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html\n //\n // The only way to do this properly would be to shell out to\n // git-check-ref-format, and as this is a fast sync function,\n // we don't want to do that. Just let git fail if it turns\n // out that the commit-ish is invalid.\n // GH usernames cannot start with . or -\n return /^[^:@%/\\s.-][^:@%/\\s]*[/][^:@\\s/%]+(?:#.*)?$/.test(arg)\n}\n\nfunction fixupUnqualifiedGist (giturl) {\n // necessary for round-tripping gists\n var parsed = url.parse(giturl)\n if (parsed.protocol === 'gist:' && parsed.host && !parsed.path) {\n return parsed.protocol + '/' + parsed.host\n } else {\n return giturl\n }\n}\n\nfunction parseGitUrl (giturl) {\n var matched = giturl.match(/^([^@]+)@([^:/]+):[/]?((?:[^/]+[/])?[^/]+?)(?:[.]git)?(#.*)?$/)\n if (!matched) {\n var legacy = url.parse(giturl)\n if (legacy.auth) {\n // git urls can be in the form of scp-style/ssh-connect strings, like\n // git+ssh://user@host.com:some/path, which the legacy url parser\n // supports, but WhatWG url.URL class does not. However, the legacy\n // parser de-urlencodes the username and password, so something like\n // https://user%3An%40me:p%40ss%3Aword@x.com/ becomes\n // https://user:n@me:p@ss:word@x.com/ which is all kinds of wrong.\n // Pull off just the auth and host, so we dont' get the confusing\n // scp-style URL, then pass that to the WhatWG parser to get the\n // auth properly escaped.\n const authmatch = giturl.match(/[^@]+@[^:/]+/)\n /* istanbul ignore else - this should be impossible */\n if (authmatch) {\n var whatwg = new url.URL(authmatch[0])\n legacy.auth = whatwg.username || ''\n if (whatwg.password) legacy.auth += ':' + whatwg.password\n }\n }\n return legacy\n }\n return {\n protocol: 'git+ssh:',\n slashes: true,\n auth: matched[1],\n host: matched[2],\n port: null,\n hostname: matched[2],\n hash: matched[4],\n search: null,\n query: null,\n pathname: '/' + matched[3],\n path: '/' + matched[3],\n href: 'git+ssh://' + matched[1] + '@' + matched[2] +\n '/' + matched[3] + (matched[4] || '')\n }\n}\n"],"names":["require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;;;;;;;;;;;EACA,IAAI,GAAG,GAAGA,+BAAc;EACxB,IAAI,QAAQ,GAAGC,qBAA6B,GAAA;EAC5C,IAAI,OAAO,GAAG,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,MAAI,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;AACxB,MAAI,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;MAChB,MAAM,EAAE,IAAI;MACZ,KAAK,EAAE,IAAI;AACf,MAAI,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;AAC9B,MAAI,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;AAC1B,MAAI,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;AACtD,YAAU,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;KAC5C;AACH,GAAA;;;;;;;"}
@@ -0,0 +1,143 @@
1
+ 'use strict';
2
+
3
+ const imurmurhash = require('../../_virtual/imurmurhash.cjs');
4
+
5
+ /**
6
+ * @preserve
7
+ * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
8
+ *
9
+ * @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
10
+ * @see http://github.com/homebrewing/brauhaus-diff
11
+ * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
12
+ * @see http://github.com/garycourt/murmurhash-js
13
+ * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
14
+ * @see http://sites.google.com/site/murmurhash/
15
+ */
16
+
17
+ (function (module) {
18
+ (function(){
19
+ var cache;
20
+
21
+ // Call this function without `new` to use the cached object (good for
22
+ // single-threaded environments), or with `new` to create a new object.
23
+ //
24
+ // @param {string} key A UTF-16 or ASCII string
25
+ // @param {number} seed An optional positive integer
26
+ // @return {object} A MurmurHash3 object for incremental hashing
27
+ function MurmurHash3(key, seed) {
28
+ var m = this instanceof MurmurHash3 ? this : cache;
29
+ m.reset(seed);
30
+ if (typeof key === 'string' && key.length > 0) {
31
+ m.hash(key);
32
+ }
33
+
34
+ if (m !== this) {
35
+ return m;
36
+ }
37
+ }
38
+ // Incrementally add a string to this hash
39
+ //
40
+ // @param {string} key A UTF-16 or ASCII string
41
+ // @return {object} this
42
+ MurmurHash3.prototype.hash = function(key) {
43
+ var h1, k1, i, top, len;
44
+
45
+ len = key.length;
46
+ this.len += len;
47
+
48
+ k1 = this.k1;
49
+ i = 0;
50
+ switch (this.rem) {
51
+ case 0: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) : 0;
52
+ case 1: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 8 : 0;
53
+ case 2: k1 ^= len > i ? (key.charCodeAt(i++) & 0xffff) << 16 : 0;
54
+ case 3:
55
+ k1 ^= len > i ? (key.charCodeAt(i) & 0xff) << 24 : 0;
56
+ k1 ^= len > i ? (key.charCodeAt(i++) & 0xff00) >> 8 : 0;
57
+ }
58
+
59
+ this.rem = (len + this.rem) & 3; // & 3 is same as % 4
60
+ len -= this.rem;
61
+ if (len > 0) {
62
+ h1 = this.h1;
63
+ while (1) {
64
+ k1 = (k1 * 0x2d51 + (k1 & 0xffff) * 0xcc9e0000) & 0xffffffff;
65
+ k1 = (k1 << 15) | (k1 >>> 17);
66
+ k1 = (k1 * 0x3593 + (k1 & 0xffff) * 0x1b870000) & 0xffffffff;
67
+
68
+ h1 ^= k1;
69
+ h1 = (h1 << 13) | (h1 >>> 19);
70
+ h1 = (h1 * 5 + 0xe6546b64) & 0xffffffff;
71
+
72
+ if (i >= len) {
73
+ break;
74
+ }
75
+
76
+ k1 = ((key.charCodeAt(i++) & 0xffff)) ^
77
+ ((key.charCodeAt(i++) & 0xffff) << 8) ^
78
+ ((key.charCodeAt(i++) & 0xffff) << 16);
79
+ top = key.charCodeAt(i++);
80
+ k1 ^= ((top & 0xff) << 24) ^
81
+ ((top & 0xff00) >> 8);
82
+ }
83
+
84
+ k1 = 0;
85
+ switch (this.rem) {
86
+ case 3: k1 ^= (key.charCodeAt(i + 2) & 0xffff) << 16;
87
+ case 2: k1 ^= (key.charCodeAt(i + 1) & 0xffff) << 8;
88
+ case 1: k1 ^= (key.charCodeAt(i) & 0xffff);
89
+ }
90
+
91
+ this.h1 = h1;
92
+ }
93
+
94
+ this.k1 = k1;
95
+ return this;
96
+ };
97
+
98
+ // Get the result of this hash
99
+ //
100
+ // @return {number} The 32-bit hash
101
+ MurmurHash3.prototype.result = function() {
102
+ var k1, h1;
103
+
104
+ k1 = this.k1;
105
+ h1 = this.h1;
106
+
107
+ if (k1 > 0) {
108
+ k1 = (k1 * 0x2d51 + (k1 & 0xffff) * 0xcc9e0000) & 0xffffffff;
109
+ k1 = (k1 << 15) | (k1 >>> 17);
110
+ k1 = (k1 * 0x3593 + (k1 & 0xffff) * 0x1b870000) & 0xffffffff;
111
+ h1 ^= k1;
112
+ }
113
+
114
+ h1 ^= this.len;
115
+
116
+ h1 ^= h1 >>> 16;
117
+ h1 = (h1 * 0xca6b + (h1 & 0xffff) * 0x85eb0000) & 0xffffffff;
118
+ h1 ^= h1 >>> 13;
119
+ h1 = (h1 * 0xae35 + (h1 & 0xffff) * 0xc2b20000) & 0xffffffff;
120
+ h1 ^= h1 >>> 16;
121
+
122
+ return h1 >>> 0;
123
+ };
124
+
125
+ // Reset the hash object for reuse
126
+ //
127
+ // @param {number} seed An optional positive integer
128
+ MurmurHash3.prototype.reset = function(seed) {
129
+ this.h1 = typeof seed === 'number' ? seed : 0;
130
+ this.rem = this.k1 = this.len = 0;
131
+ return this;
132
+ };
133
+
134
+ // A cached object to use. This can be safely used if you're in a single-
135
+ // threaded environment, otherwise you need to create new hashes to use.
136
+ cache = new MurmurHash3();
137
+
138
+ {
139
+ module.exports = MurmurHash3;
140
+ }
141
+ }());
142
+ } (imurmurhash.imurmurhash));
143
+ //# sourceMappingURL=imurmurhash.cjs.map