projen-pipelines 0.2.2 → 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 (383) hide show
  1. package/.jsii +10 -10
  2. package/API.md +8 -8
  3. package/lib/awscdk/base.js +20 -8
  4. package/lib/awscdk/bash.js +1 -1
  5. package/lib/awscdk/github.js +1 -1
  6. package/lib/awscdk/gitlab.js +1 -1
  7. package/lib/steps/artifact-steps.js +2 -2
  8. package/lib/steps/aws-assume-role.step.js +1 -1
  9. package/lib/steps/registries.js +2 -2
  10. package/lib/steps/step.js +4 -4
  11. package/node_modules/@babel/code-frame/lib/index.js +97 -37
  12. package/node_modules/@babel/code-frame/lib/index.js.map +1 -1
  13. package/node_modules/@babel/code-frame/package.json +3 -2
  14. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +4 -4
  15. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -1
  16. package/node_modules/@babel/helper-validator-identifier/package.json +2 -2
  17. package/node_modules/ansi-styles/index.js +69 -67
  18. package/node_modules/ansi-styles/package.json +11 -11
  19. package/node_modules/ansi-styles/readme.md +14 -19
  20. package/node_modules/color-convert/conversions.js +310 -281
  21. package/node_modules/color-convert/index.js +24 -27
  22. package/node_modules/color-convert/package.json +5 -7
  23. package/node_modules/color-convert/route.js +22 -22
  24. package/node_modules/color-name/package.json +25 -28
  25. package/node_modules/escalade/index.d.mts +11 -0
  26. package/node_modules/escalade/index.d.ts +14 -2
  27. package/node_modules/escalade/package.json +18 -7
  28. package/node_modules/escalade/sync/index.d.mts +9 -0
  29. package/node_modules/escalade/sync/index.d.ts +13 -2
  30. package/node_modules/is-core-module/CHANGELOG.md +13 -0
  31. package/node_modules/is-core-module/core.json +1 -0
  32. package/node_modules/is-core-module/package.json +3 -3
  33. package/node_modules/is-core-module/test/index.js +3 -0
  34. package/node_modules/picocolors/LICENSE +1 -1
  35. package/node_modules/picocolors/package.json +2 -2
  36. package/node_modules/picocolors/picocolors.browser.js +1 -1
  37. package/node_modules/picocolors/picocolors.js +53 -43
  38. package/node_modules/picocolors/{types.ts → types.d.ts} +21 -0
  39. package/node_modules/resolve/lib/core.json +4 -0
  40. package/node_modules/resolve/package.json +12 -9
  41. package/node_modules/{get-pkg-repo → standard-version}/node_modules/through2/README.md +27 -21
  42. package/node_modules/standard-version/node_modules/through2/package.json +38 -0
  43. package/node_modules/standard-version/node_modules/through2/through2.js +83 -0
  44. package/node_modules/through2/README.md +21 -27
  45. package/node_modules/through2/package.json +11 -16
  46. package/node_modules/through2/through2.js +51 -38
  47. package/node_modules/uglify-js/lib/compress.js +23 -13
  48. package/node_modules/uglify-js/package.json +1 -1
  49. package/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +163 -0
  50. package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/ansi-styles/package.json +11 -11
  51. package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/ansi-styles/readme.md +19 -14
  52. package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/conversions.js +281 -310
  53. package/node_modules/wrap-ansi/node_modules/color-convert/index.js +81 -0
  54. package/node_modules/{standard-version → wrap-ansi}/node_modules/color-convert/package.json +7 -5
  55. package/node_modules/{standard-version → wrap-ansi}/node_modules/color-convert/route.js +22 -22
  56. package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/package.json +28 -25
  57. package/package.json +7 -7
  58. package/node_modules/@babel/helper-validator-identifier/scripts/generate-identifier-regex.js +0 -73
  59. package/node_modules/@babel/highlight/LICENSE +0 -22
  60. package/node_modules/@babel/highlight/README.md +0 -19
  61. package/node_modules/@babel/highlight/lib/index.js +0 -119
  62. package/node_modules/@babel/highlight/lib/index.js.map +0 -1
  63. package/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
  64. package/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
  65. package/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
  66. package/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
  67. package/node_modules/@babel/highlight/package.json +0 -30
  68. package/node_modules/figures/node_modules/escape-string-regexp/index.js +0 -11
  69. package/node_modules/figures/node_modules/escape-string-regexp/license +0 -21
  70. package/node_modules/figures/node_modules/escape-string-regexp/package.json +0 -41
  71. package/node_modules/figures/node_modules/escape-string-regexp/readme.md +0 -27
  72. package/node_modules/get-pkg-repo/node_modules/through2/package.json +0 -33
  73. package/node_modules/get-pkg-repo/node_modules/through2/through2.js +0 -96
  74. package/node_modules/standard-version/node_modules/ansi-styles/index.js +0 -165
  75. package/node_modules/standard-version/node_modules/ansi-styles/package.json +0 -56
  76. package/node_modules/standard-version/node_modules/ansi-styles/readme.md +0 -147
  77. package/node_modules/standard-version/node_modules/chalk/index.js +0 -228
  78. package/node_modules/standard-version/node_modules/chalk/index.js.flow +0 -93
  79. package/node_modules/standard-version/node_modules/chalk/license +0 -9
  80. package/node_modules/standard-version/node_modules/chalk/package.json +0 -71
  81. package/node_modules/standard-version/node_modules/chalk/readme.md +0 -314
  82. package/node_modules/standard-version/node_modules/chalk/templates.js +0 -128
  83. package/node_modules/standard-version/node_modules/chalk/types/index.d.ts +0 -97
  84. package/node_modules/standard-version/node_modules/color-convert/CHANGELOG.md +0 -54
  85. package/node_modules/standard-version/node_modules/color-convert/LICENSE +0 -21
  86. package/node_modules/standard-version/node_modules/color-convert/README.md +0 -68
  87. package/node_modules/standard-version/node_modules/color-convert/conversions.js +0 -868
  88. package/node_modules/standard-version/node_modules/color-convert/index.js +0 -78
  89. package/node_modules/standard-version/node_modules/color-name/.eslintrc.json +0 -43
  90. package/node_modules/standard-version/node_modules/color-name/.npmignore +0 -107
  91. package/node_modules/standard-version/node_modules/color-name/LICENSE +0 -8
  92. package/node_modules/standard-version/node_modules/color-name/README.md +0 -11
  93. package/node_modules/standard-version/node_modules/color-name/index.js +0 -152
  94. package/node_modules/standard-version/node_modules/color-name/package.json +0 -25
  95. package/node_modules/standard-version/node_modules/color-name/test.js +0 -7
  96. package/node_modules/standard-version/node_modules/detect-indent/license +0 -9
  97. package/node_modules/standard-version/node_modules/escape-string-regexp/index.js +0 -11
  98. package/node_modules/standard-version/node_modules/escape-string-regexp/license +0 -21
  99. package/node_modules/standard-version/node_modules/escape-string-regexp/package.json +0 -41
  100. package/node_modules/standard-version/node_modules/escape-string-regexp/readme.md +0 -27
  101. package/node_modules/standard-version/node_modules/has-flag/index.js +0 -8
  102. package/node_modules/standard-version/node_modules/has-flag/license +0 -9
  103. package/node_modules/standard-version/node_modules/has-flag/package.json +0 -44
  104. package/node_modules/standard-version/node_modules/has-flag/readme.md +0 -70
  105. package/node_modules/standard-version/node_modules/supports-color/browser.js +0 -5
  106. package/node_modules/standard-version/node_modules/supports-color/index.js +0 -131
  107. package/node_modules/standard-version/node_modules/supports-color/license +0 -9
  108. package/node_modules/standard-version/node_modules/supports-color/package.json +0 -53
  109. package/node_modules/standard-version/node_modules/supports-color/readme.md +0 -66
  110. /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/index.js +0 -0
  111. /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/index.js.flow +0 -0
  112. /package/node_modules/{@babel/highlight/node_modules/ansi-styles → chalk}/license +0 -0
  113. /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/package.json +0 -0
  114. /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/readme.md +0 -0
  115. /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/templates.js +0 -0
  116. /package/node_modules/{@babel/highlight/node_modules/chalk → chalk}/types/index.d.ts +0 -0
  117. /package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/.eslintrc.json +0 -0
  118. /package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/.npmignore +0 -0
  119. /package/node_modules/{@babel/highlight/node_modules/color-name → color-name}/test.js +0 -0
  120. /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/index.d.ts +0 -0
  121. /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/index.js +0 -0
  122. /package/node_modules/{@babel/highlight/node_modules/chalk → detect-indent}/license +0 -0
  123. /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/package.json +0 -0
  124. /package/node_modules/{standard-version/node_modules/detect-indent → detect-indent}/readme.md +0 -0
  125. /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/index.js +0 -0
  126. /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/license +0 -0
  127. /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/package.json +0 -0
  128. /package/node_modules/{@babel/highlight/node_modules/escape-string-regexp → escape-string-regexp}/readme.md +0 -0
  129. /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/index.js +0 -0
  130. /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/license +0 -0
  131. /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/package.json +0 -0
  132. /package/node_modules/{@babel/highlight/node_modules/has-flag → has-flag}/readme.md +0 -0
  133. /package/node_modules/{conventional-changelog-writer/node_modules/semver → lru-cache}/LICENSE +0 -0
  134. /package/node_modules/{hosted-git-info/node_modules/lru-cache → lru-cache}/README.md +0 -0
  135. /package/node_modules/{hosted-git-info/node_modules/lru-cache → lru-cache}/index.js +0 -0
  136. /package/node_modules/{hosted-git-info/node_modules/lru-cache → lru-cache}/package.json +0 -0
  137. /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/CHANGELOG.md +0 -0
  138. /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/LICENSE.md +0 -0
  139. /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/README.md +0 -0
  140. /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/index.js +0 -0
  141. /package/node_modules/{conventional-changelog → standard-version/node_modules/conventional-changelog}/package.json +0 -0
  142. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/CHANGELOG.md +0 -0
  143. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/LICENSE.md +0 -0
  144. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/README.md +0 -0
  145. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/conventional-changelog.js +0 -0
  146. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/conventional-recommended-bump.js +0 -0
  147. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/index.js +0 -0
  148. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/package.json +0 -0
  149. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/parser-opts.js +0 -0
  150. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/commit.hbs +0 -0
  151. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/footer.hbs +0 -0
  152. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/header.hbs +0 -0
  153. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/templates/template.hbs +0 -0
  154. /package/node_modules/{conventional-changelog-angular → standard-version/node_modules/conventional-changelog-angular}/writer-opts.js +0 -0
  155. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/CHANGELOG.md +0 -0
  156. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/LICENSE.md +0 -0
  157. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/README.md +0 -0
  158. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/conventional-changelog.js +0 -0
  159. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/conventional-recommended-bump.js +0 -0
  160. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/index.js +0 -0
  161. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/package.json +0 -0
  162. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/parser-opts.js +0 -0
  163. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/templates/commit.hbs +0 -0
  164. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/templates/header.hbs +0 -0
  165. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/templates/template.hbs +0 -0
  166. /package/node_modules/{conventional-changelog-atom → standard-version/node_modules/conventional-changelog-atom}/writer-opts.js +0 -0
  167. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/CHANGELOG.md +0 -0
  168. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/LICENSE.md +0 -0
  169. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/README.md +0 -0
  170. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/conventional-changelog.js +0 -0
  171. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/conventional-recommended-bump.js +0 -0
  172. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/index.js +0 -0
  173. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/package.json +0 -0
  174. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/parser-opts.js +0 -0
  175. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/templates/commit.hbs +0 -0
  176. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/templates/header.hbs +0 -0
  177. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/templates/template.hbs +0 -0
  178. /package/node_modules/{conventional-changelog-codemirror → standard-version/node_modules/conventional-changelog-codemirror}/writer-opts.js +0 -0
  179. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/CHANGELOG.md +0 -0
  180. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/LICENSE.md +0 -0
  181. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/README.md +0 -0
  182. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/add-bang-notes.js +0 -0
  183. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/conventional-changelog.js +0 -0
  184. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/conventional-recommended-bump.js +0 -0
  185. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/index.js +0 -0
  186. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/package.json +0 -0
  187. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/parser-opts.js +0 -0
  188. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/commit.hbs +0 -0
  189. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/footer.hbs +0 -0
  190. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/header.hbs +0 -0
  191. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/templates/template.hbs +0 -0
  192. /package/node_modules/{conventional-changelog-conventionalcommits → standard-version/node_modules/conventional-changelog-conventionalcommits}/writer-opts.js +0 -0
  193. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/CHANGELOG.md +0 -0
  194. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/LICENSE.md +0 -0
  195. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/README.md +0 -0
  196. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/hosts/bitbucket.json +0 -0
  197. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/hosts/github.json +0 -0
  198. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/hosts/gitlab.json +0 -0
  199. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/index.js +0 -0
  200. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/lib/merge-config.js +0 -0
  201. /package/node_modules/{conventional-changelog-core → standard-version/node_modules/conventional-changelog-core}/package.json +0 -0
  202. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/CHANGELOG.md +0 -0
  203. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/LICENSE.md +0 -0
  204. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/README.md +0 -0
  205. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/conventional-changelog.js +0 -0
  206. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/conventional-recommended-bump.js +0 -0
  207. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/index.js +0 -0
  208. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/package.json +0 -0
  209. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/parser-opts.js +0 -0
  210. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/templates/commit.hbs +0 -0
  211. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/templates/header.hbs +0 -0
  212. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/templates/template.hbs +0 -0
  213. /package/node_modules/{conventional-changelog-ember → standard-version/node_modules/conventional-changelog-ember}/writer-opts.js +0 -0
  214. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/CHANGELOG.md +0 -0
  215. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/LICENSE.md +0 -0
  216. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/README.md +0 -0
  217. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/conventional-changelog.js +0 -0
  218. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/conventional-recommended-bump.js +0 -0
  219. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/index.js +0 -0
  220. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/package.json +0 -0
  221. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/parser-opts.js +0 -0
  222. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/templates/commit.hbs +0 -0
  223. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/templates/header.hbs +0 -0
  224. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/templates/template.hbs +0 -0
  225. /package/node_modules/{conventional-changelog-eslint → standard-version/node_modules/conventional-changelog-eslint}/writer-opts.js +0 -0
  226. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/CHANGELOG.md +0 -0
  227. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/LICENSE.md +0 -0
  228. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/README.md +0 -0
  229. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/conventional-changelog.js +0 -0
  230. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/conventional-recommended-bump.js +0 -0
  231. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/index.js +0 -0
  232. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/package.json +0 -0
  233. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/parser-opts.js +0 -0
  234. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/templates/commit.hbs +0 -0
  235. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/templates/header.hbs +0 -0
  236. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/templates/template.hbs +0 -0
  237. /package/node_modules/{conventional-changelog-express → standard-version/node_modules/conventional-changelog-express}/writer-opts.js +0 -0
  238. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/CHANGELOG.md +0 -0
  239. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/LICENSE.md +0 -0
  240. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/README.md +0 -0
  241. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/conventional-changelog.js +0 -0
  242. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/conventional-recommended-bump.js +0 -0
  243. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/index.js +0 -0
  244. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/package.json +0 -0
  245. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/parser-opts.js +0 -0
  246. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/templates/commit.hbs +0 -0
  247. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/templates/header.hbs +0 -0
  248. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/templates/template.hbs +0 -0
  249. /package/node_modules/{conventional-changelog-jquery → standard-version/node_modules/conventional-changelog-jquery}/writer-opts.js +0 -0
  250. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/CHANGELOG.md +0 -0
  251. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/LICENSE.md +0 -0
  252. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/README.md +0 -0
  253. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/conventional-changelog.js +0 -0
  254. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/conventional-recommended-bump.js +0 -0
  255. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/index.js +0 -0
  256. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/package.json +0 -0
  257. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/parser-opts.js +0 -0
  258. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/commit.hbs +0 -0
  259. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/footer.hbs +0 -0
  260. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/header.hbs +0 -0
  261. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/templates/template.hbs +0 -0
  262. /package/node_modules/{conventional-changelog-jshint → standard-version/node_modules/conventional-changelog-jshint}/writer-opts.js +0 -0
  263. /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/CHANGELOG.md +0 -0
  264. /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/LICENSE.md +0 -0
  265. /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/README.md +0 -0
  266. /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/index.js +0 -0
  267. /package/node_modules/{conventional-changelog-preset-loader → standard-version/node_modules/conventional-changelog-preset-loader}/package.json +0 -0
  268. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/CHANGELOG.md +0 -0
  269. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/LICENSE.md +0 -0
  270. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/README.md +0 -0
  271. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/cli.js +0 -0
  272. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/index.js +0 -0
  273. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/lib/util.js +0 -0
  274. /package/node_modules/{git-semver-tags → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/LICENSE +0 -0
  275. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/README.md +0 -0
  276. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/bin/semver.js +0 -0
  277. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/package.json +0 -0
  278. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/range.bnf +0 -0
  279. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/node_modules/semver/semver.js +0 -0
  280. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/package.json +0 -0
  281. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/commit.hbs +0 -0
  282. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/footer.hbs +0 -0
  283. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/header.hbs +0 -0
  284. /package/node_modules/{conventional-changelog-writer → standard-version/node_modules/conventional-changelog-writer}/templates/template.hbs +0 -0
  285. /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/CHANGELOG.md +0 -0
  286. /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/LICENSE +0 -0
  287. /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/README.md +0 -0
  288. /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/index.js +0 -0
  289. /package/node_modules/{conventional-commits-filter → standard-version/node_modules/conventional-commits-filter}/package.json +0 -0
  290. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/CHANGELOG.md +0 -0
  291. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/LICENSE.md +0 -0
  292. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/README.md +0 -0
  293. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/cli.js +0 -0
  294. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/index.js +0 -0
  295. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/lib/parser.js +0 -0
  296. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/lib/regex.js +0 -0
  297. /package/node_modules/{conventional-commits-parser → standard-version/node_modules/conventional-commits-parser}/package.json +0 -0
  298. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/CHANGELOG.md +0 -0
  299. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/LICENSE.md +0 -0
  300. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/README.md +0 -0
  301. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/cli.js +0 -0
  302. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/index.js +0 -0
  303. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/package.json +0 -0
  304. /package/node_modules/{conventional-recommended-bump → standard-version/node_modules/conventional-recommended-bump}/preset-resolver.js +0 -0
  305. /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/CHANGELOG.md +0 -0
  306. /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/LICENSE.md +0 -0
  307. /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/README.md +0 -0
  308. /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/cli.js +0 -0
  309. /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/index.js +0 -0
  310. /package/node_modules/{git-raw-commits → standard-version/node_modules/git-raw-commits}/package.json +0 -0
  311. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/CHANGELOG.md +0 -0
  312. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/LICENSE.md +0 -0
  313. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/README.md +0 -0
  314. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/cli.js +0 -0
  315. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/index.js +0 -0
  316. /package/node_modules/{hosted-git-info/node_modules/lru-cache → standard-version/node_modules/git-semver-tags/node_modules/semver}/LICENSE +0 -0
  317. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/README.md +0 -0
  318. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/bin/semver.js +0 -0
  319. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/package.json +0 -0
  320. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/range.bnf +0 -0
  321. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/node_modules/semver/semver.js +0 -0
  322. /package/node_modules/{git-semver-tags → standard-version/node_modules/git-semver-tags}/package.json +0 -0
  323. /package/node_modules/{get-pkg-repo → standard-version}/node_modules/through2/LICENSE.md +0 -0
  324. /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/browser.js +0 -0
  325. /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/index.js +0 -0
  326. /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/license +0 -0
  327. /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/package.json +0 -0
  328. /package/node_modules/{@babel/highlight/node_modules/supports-color → supports-color}/readme.md +0 -0
  329. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/.npmignore +0 -0
  330. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/.travis.yml +0 -0
  331. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/Makefile +0 -0
  332. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/README.md +0 -0
  333. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/component.json +0 -0
  334. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/index.js +0 -0
  335. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/package.json +0 -0
  336. /package/node_modules/{get-pkg-repo → through2}/node_modules/isarray/test.js +0 -0
  337. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/.travis.yml +0 -0
  338. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/CONTRIBUTING.md +0 -0
  339. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/GOVERNANCE.md +0 -0
  340. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/LICENSE +0 -0
  341. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/README.md +0 -0
  342. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -0
  343. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/duplex-browser.js +0 -0
  344. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/duplex.js +0 -0
  345. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_duplex.js +0 -0
  346. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_passthrough.js +0 -0
  347. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_readable.js +0 -0
  348. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_transform.js +0 -0
  349. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/_stream_writable.js +0 -0
  350. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -0
  351. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -0
  352. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -0
  353. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/lib/internal/streams/stream.js +0 -0
  354. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/package.json +0 -0
  355. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/passthrough.js +0 -0
  356. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/readable-browser.js +0 -0
  357. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/readable.js +0 -0
  358. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/transform.js +0 -0
  359. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/writable-browser.js +0 -0
  360. /package/node_modules/{get-pkg-repo → through2}/node_modules/readable-stream/writable.js +0 -0
  361. /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/LICENSE +0 -0
  362. /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/README.md +0 -0
  363. /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/index.d.ts +0 -0
  364. /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/index.js +0 -0
  365. /package/node_modules/{get-pkg-repo → through2}/node_modules/safe-buffer/package.json +0 -0
  366. /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/.travis.yml +0 -0
  367. /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/LICENSE +0 -0
  368. /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/README.md +0 -0
  369. /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/lib/string_decoder.js +0 -0
  370. /package/node_modules/{get-pkg-repo → through2}/node_modules/string_decoder/package.json +0 -0
  371. /package/node_modules/{ansi-styles → wrap-ansi/node_modules/ansi-styles}/index.d.ts +0 -0
  372. /package/node_modules/{standard-version → wrap-ansi}/node_modules/ansi-styles/license +0 -0
  373. /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/CHANGELOG.md +0 -0
  374. /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/LICENSE +0 -0
  375. /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-convert/README.md +0 -0
  376. /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/LICENSE +0 -0
  377. /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/README.md +0 -0
  378. /package/node_modules/{@babel/highlight → wrap-ansi}/node_modules/color-name/index.js +0 -0
  379. /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/LICENSE +0 -0
  380. /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/README.md +0 -0
  381. /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/iterator.js +0 -0
  382. /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/package.json +0 -0
  383. /package/node_modules/{hosted-git-info/node_modules/yallist → yallist}/yallist.js +0 -0
@@ -1,165 +0,0 @@
1
- 'use strict';
2
- const colorConvert = require('color-convert');
3
-
4
- const wrapAnsi16 = (fn, offset) => function () {
5
- const code = fn.apply(colorConvert, arguments);
6
- return `\u001B[${code + offset}m`;
7
- };
8
-
9
- const wrapAnsi256 = (fn, offset) => function () {
10
- const code = fn.apply(colorConvert, arguments);
11
- return `\u001B[${38 + offset};5;${code}m`;
12
- };
13
-
14
- const wrapAnsi16m = (fn, offset) => function () {
15
- const rgb = fn.apply(colorConvert, arguments);
16
- return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
17
- };
18
-
19
- function assembleStyles() {
20
- const codes = new Map();
21
- const styles = {
22
- modifier: {
23
- reset: [0, 0],
24
- // 21 isn't widely supported and 22 does the same thing
25
- bold: [1, 22],
26
- dim: [2, 22],
27
- italic: [3, 23],
28
- underline: [4, 24],
29
- inverse: [7, 27],
30
- hidden: [8, 28],
31
- strikethrough: [9, 29]
32
- },
33
- color: {
34
- black: [30, 39],
35
- red: [31, 39],
36
- green: [32, 39],
37
- yellow: [33, 39],
38
- blue: [34, 39],
39
- magenta: [35, 39],
40
- cyan: [36, 39],
41
- white: [37, 39],
42
- gray: [90, 39],
43
-
44
- // Bright color
45
- redBright: [91, 39],
46
- greenBright: [92, 39],
47
- yellowBright: [93, 39],
48
- blueBright: [94, 39],
49
- magentaBright: [95, 39],
50
- cyanBright: [96, 39],
51
- whiteBright: [97, 39]
52
- },
53
- bgColor: {
54
- bgBlack: [40, 49],
55
- bgRed: [41, 49],
56
- bgGreen: [42, 49],
57
- bgYellow: [43, 49],
58
- bgBlue: [44, 49],
59
- bgMagenta: [45, 49],
60
- bgCyan: [46, 49],
61
- bgWhite: [47, 49],
62
-
63
- // Bright color
64
- bgBlackBright: [100, 49],
65
- bgRedBright: [101, 49],
66
- bgGreenBright: [102, 49],
67
- bgYellowBright: [103, 49],
68
- bgBlueBright: [104, 49],
69
- bgMagentaBright: [105, 49],
70
- bgCyanBright: [106, 49],
71
- bgWhiteBright: [107, 49]
72
- }
73
- };
74
-
75
- // Fix humans
76
- styles.color.grey = styles.color.gray;
77
-
78
- for (const groupName of Object.keys(styles)) {
79
- const group = styles[groupName];
80
-
81
- for (const styleName of Object.keys(group)) {
82
- const style = group[styleName];
83
-
84
- styles[styleName] = {
85
- open: `\u001B[${style[0]}m`,
86
- close: `\u001B[${style[1]}m`
87
- };
88
-
89
- group[styleName] = styles[styleName];
90
-
91
- codes.set(style[0], style[1]);
92
- }
93
-
94
- Object.defineProperty(styles, groupName, {
95
- value: group,
96
- enumerable: false
97
- });
98
-
99
- Object.defineProperty(styles, 'codes', {
100
- value: codes,
101
- enumerable: false
102
- });
103
- }
104
-
105
- const ansi2ansi = n => n;
106
- const rgb2rgb = (r, g, b) => [r, g, b];
107
-
108
- styles.color.close = '\u001B[39m';
109
- styles.bgColor.close = '\u001B[49m';
110
-
111
- styles.color.ansi = {
112
- ansi: wrapAnsi16(ansi2ansi, 0)
113
- };
114
- styles.color.ansi256 = {
115
- ansi256: wrapAnsi256(ansi2ansi, 0)
116
- };
117
- styles.color.ansi16m = {
118
- rgb: wrapAnsi16m(rgb2rgb, 0)
119
- };
120
-
121
- styles.bgColor.ansi = {
122
- ansi: wrapAnsi16(ansi2ansi, 10)
123
- };
124
- styles.bgColor.ansi256 = {
125
- ansi256: wrapAnsi256(ansi2ansi, 10)
126
- };
127
- styles.bgColor.ansi16m = {
128
- rgb: wrapAnsi16m(rgb2rgb, 10)
129
- };
130
-
131
- for (let key of Object.keys(colorConvert)) {
132
- if (typeof colorConvert[key] !== 'object') {
133
- continue;
134
- }
135
-
136
- const suite = colorConvert[key];
137
-
138
- if (key === 'ansi16') {
139
- key = 'ansi';
140
- }
141
-
142
- if ('ansi16' in suite) {
143
- styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
144
- styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
145
- }
146
-
147
- if ('ansi256' in suite) {
148
- styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
149
- styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
150
- }
151
-
152
- if ('rgb' in suite) {
153
- styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
154
- styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
155
- }
156
- }
157
-
158
- return styles;
159
- }
160
-
161
- // Make the export immutable
162
- Object.defineProperty(module, 'exports', {
163
- enumerable: true,
164
- get: assembleStyles
165
- });
@@ -1,56 +0,0 @@
1
- {
2
- "name": "ansi-styles",
3
- "version": "3.2.1",
4
- "description": "ANSI escape codes for styling strings in the terminal",
5
- "license": "MIT",
6
- "repository": "chalk/ansi-styles",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=4"
14
- },
15
- "scripts": {
16
- "test": "xo && ava",
17
- "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
18
- },
19
- "files": [
20
- "index.js"
21
- ],
22
- "keywords": [
23
- "ansi",
24
- "styles",
25
- "color",
26
- "colour",
27
- "colors",
28
- "terminal",
29
- "console",
30
- "cli",
31
- "string",
32
- "tty",
33
- "escape",
34
- "formatting",
35
- "rgb",
36
- "256",
37
- "shell",
38
- "xterm",
39
- "log",
40
- "logging",
41
- "command-line",
42
- "text"
43
- ],
44
- "dependencies": {
45
- "color-convert": "^1.9.0"
46
- },
47
- "devDependencies": {
48
- "ava": "*",
49
- "babel-polyfill": "^6.23.0",
50
- "svg-term-cli": "^2.1.1",
51
- "xo": "*"
52
- },
53
- "ava": {
54
- "require": "babel-polyfill"
55
- }
56
- }
@@ -1,147 +0,0 @@
1
- # ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://travis-ci.org/chalk/ansi-styles)
2
-
3
- > [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
4
-
5
- You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
6
-
7
- <img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" width="900">
8
-
9
-
10
- ## Install
11
-
12
- ```
13
- $ npm install ansi-styles
14
- ```
15
-
16
-
17
- ## Usage
18
-
19
- ```js
20
- const style = require('ansi-styles');
21
-
22
- console.log(`${style.green.open}Hello world!${style.green.close}`);
23
-
24
-
25
- // Color conversion between 16/256/truecolor
26
- // NOTE: If conversion goes to 16 colors or 256 colors, the original color
27
- // may be degraded to fit that color palette. This means terminals
28
- // that do not support 16 million colors will best-match the
29
- // original color.
30
- console.log(style.bgColor.ansi.hsl(120, 80, 72) + 'Hello world!' + style.bgColor.close);
31
- console.log(style.color.ansi256.rgb(199, 20, 250) + 'Hello world!' + style.color.close);
32
- console.log(style.color.ansi16m.hex('#ABCDEF') + 'Hello world!' + style.color.close);
33
- ```
34
-
35
- ## API
36
-
37
- Each style has an `open` and `close` property.
38
-
39
-
40
- ## Styles
41
-
42
- ### Modifiers
43
-
44
- - `reset`
45
- - `bold`
46
- - `dim`
47
- - `italic` *(Not widely supported)*
48
- - `underline`
49
- - `inverse`
50
- - `hidden`
51
- - `strikethrough` *(Not widely supported)*
52
-
53
- ### Colors
54
-
55
- - `black`
56
- - `red`
57
- - `green`
58
- - `yellow`
59
- - `blue`
60
- - `magenta`
61
- - `cyan`
62
- - `white`
63
- - `gray` ("bright black")
64
- - `redBright`
65
- - `greenBright`
66
- - `yellowBright`
67
- - `blueBright`
68
- - `magentaBright`
69
- - `cyanBright`
70
- - `whiteBright`
71
-
72
- ### Background colors
73
-
74
- - `bgBlack`
75
- - `bgRed`
76
- - `bgGreen`
77
- - `bgYellow`
78
- - `bgBlue`
79
- - `bgMagenta`
80
- - `bgCyan`
81
- - `bgWhite`
82
- - `bgBlackBright`
83
- - `bgRedBright`
84
- - `bgGreenBright`
85
- - `bgYellowBright`
86
- - `bgBlueBright`
87
- - `bgMagentaBright`
88
- - `bgCyanBright`
89
- - `bgWhiteBright`
90
-
91
-
92
- ## Advanced usage
93
-
94
- By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
95
-
96
- - `style.modifier`
97
- - `style.color`
98
- - `style.bgColor`
99
-
100
- ###### Example
101
-
102
- ```js
103
- console.log(style.color.green.open);
104
- ```
105
-
106
- Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `style.codes`, which returns a `Map` with the open codes as keys and close codes as values.
107
-
108
- ###### Example
109
-
110
- ```js
111
- console.log(style.codes.get(36));
112
- //=> 39
113
- ```
114
-
115
-
116
- ## [256 / 16 million (TrueColor) support](https://gist.github.com/XVilka/8346728)
117
-
118
- `ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow for converting between various colors and ANSI escapes, with support for 256 and 16 million colors.
119
-
120
- To use these, call the associated conversion function with the intended output, for example:
121
-
122
- ```js
123
- style.color.ansi.rgb(100, 200, 15); // RGB to 16 color ansi foreground code
124
- style.bgColor.ansi.rgb(100, 200, 15); // RGB to 16 color ansi background code
125
-
126
- style.color.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
127
- style.bgColor.ansi256.hsl(120, 100, 60); // HSL to 256 color ansi foreground code
128
-
129
- style.color.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color foreground code
130
- style.bgColor.ansi16m.hex('#C0FFEE'); // Hex (RGB) to 16 million color background code
131
- ```
132
-
133
-
134
- ## Related
135
-
136
- - [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
137
-
138
-
139
- ## Maintainers
140
-
141
- - [Sindre Sorhus](https://github.com/sindresorhus)
142
- - [Josh Junon](https://github.com/qix-)
143
-
144
-
145
- ## License
146
-
147
- MIT
@@ -1,228 +0,0 @@
1
- 'use strict';
2
- const escapeStringRegexp = require('escape-string-regexp');
3
- const ansiStyles = require('ansi-styles');
4
- const stdoutColor = require('supports-color').stdout;
5
-
6
- const template = require('./templates.js');
7
-
8
- const isSimpleWindowsTerm = process.platform === 'win32' && !(process.env.TERM || '').toLowerCase().startsWith('xterm');
9
-
10
- // `supportsColor.level` → `ansiStyles.color[name]` mapping
11
- const levelMapping = ['ansi', 'ansi', 'ansi256', 'ansi16m'];
12
-
13
- // `color-convert` models to exclude from the Chalk API due to conflicts and such
14
- const skipModels = new Set(['gray']);
15
-
16
- const styles = Object.create(null);
17
-
18
- function applyOptions(obj, options) {
19
- options = options || {};
20
-
21
- // Detect level if not set manually
22
- const scLevel = stdoutColor ? stdoutColor.level : 0;
23
- obj.level = options.level === undefined ? scLevel : options.level;
24
- obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0;
25
- }
26
-
27
- function Chalk(options) {
28
- // We check for this.template here since calling `chalk.constructor()`
29
- // by itself will have a `this` of a previously constructed chalk object
30
- if (!this || !(this instanceof Chalk) || this.template) {
31
- const chalk = {};
32
- applyOptions(chalk, options);
33
-
34
- chalk.template = function () {
35
- const args = [].slice.call(arguments);
36
- return chalkTag.apply(null, [chalk.template].concat(args));
37
- };
38
-
39
- Object.setPrototypeOf(chalk, Chalk.prototype);
40
- Object.setPrototypeOf(chalk.template, chalk);
41
-
42
- chalk.template.constructor = Chalk;
43
-
44
- return chalk.template;
45
- }
46
-
47
- applyOptions(this, options);
48
- }
49
-
50
- // Use bright blue on Windows as the normal blue color is illegible
51
- if (isSimpleWindowsTerm) {
52
- ansiStyles.blue.open = '\u001B[94m';
53
- }
54
-
55
- for (const key of Object.keys(ansiStyles)) {
56
- ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), 'g');
57
-
58
- styles[key] = {
59
- get() {
60
- const codes = ansiStyles[key];
61
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key);
62
- }
63
- };
64
- }
65
-
66
- styles.visible = {
67
- get() {
68
- return build.call(this, this._styles || [], true, 'visible');
69
- }
70
- };
71
-
72
- ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g');
73
- for (const model of Object.keys(ansiStyles.color.ansi)) {
74
- if (skipModels.has(model)) {
75
- continue;
76
- }
77
-
78
- styles[model] = {
79
- get() {
80
- const level = this.level;
81
- return function () {
82
- const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments);
83
- const codes = {
84
- open,
85
- close: ansiStyles.color.close,
86
- closeRe: ansiStyles.color.closeRe
87
- };
88
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
89
- };
90
- }
91
- };
92
- }
93
-
94
- ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), 'g');
95
- for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
96
- if (skipModels.has(model)) {
97
- continue;
98
- }
99
-
100
- const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);
101
- styles[bgModel] = {
102
- get() {
103
- const level = this.level;
104
- return function () {
105
- const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments);
106
- const codes = {
107
- open,
108
- close: ansiStyles.bgColor.close,
109
- closeRe: ansiStyles.bgColor.closeRe
110
- };
111
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
112
- };
113
- }
114
- };
115
- }
116
-
117
- const proto = Object.defineProperties(() => {}, styles);
118
-
119
- function build(_styles, _empty, key) {
120
- const builder = function () {
121
- return applyStyle.apply(builder, arguments);
122
- };
123
-
124
- builder._styles = _styles;
125
- builder._empty = _empty;
126
-
127
- const self = this;
128
-
129
- Object.defineProperty(builder, 'level', {
130
- enumerable: true,
131
- get() {
132
- return self.level;
133
- },
134
- set(level) {
135
- self.level = level;
136
- }
137
- });
138
-
139
- Object.defineProperty(builder, 'enabled', {
140
- enumerable: true,
141
- get() {
142
- return self.enabled;
143
- },
144
- set(enabled) {
145
- self.enabled = enabled;
146
- }
147
- });
148
-
149
- // See below for fix regarding invisible grey/dim combination on Windows
150
- builder.hasGrey = this.hasGrey || key === 'gray' || key === 'grey';
151
-
152
- // `__proto__` is used because we must return a function, but there is
153
- // no way to create a function with a different prototype
154
- builder.__proto__ = proto; // eslint-disable-line no-proto
155
-
156
- return builder;
157
- }
158
-
159
- function applyStyle() {
160
- // Support varags, but simply cast to string in case there's only one arg
161
- const args = arguments;
162
- const argsLen = args.length;
163
- let str = String(arguments[0]);
164
-
165
- if (argsLen === 0) {
166
- return '';
167
- }
168
-
169
- if (argsLen > 1) {
170
- // Don't slice `arguments`, it prevents V8 optimizations
171
- for (let a = 1; a < argsLen; a++) {
172
- str += ' ' + args[a];
173
- }
174
- }
175
-
176
- if (!this.enabled || this.level <= 0 || !str) {
177
- return this._empty ? '' : str;
178
- }
179
-
180
- // Turns out that on Windows dimmed gray text becomes invisible in cmd.exe,
181
- // see https://github.com/chalk/chalk/issues/58
182
- // If we're on Windows and we're dealing with a gray color, temporarily make 'dim' a noop.
183
- const originalDim = ansiStyles.dim.open;
184
- if (isSimpleWindowsTerm && this.hasGrey) {
185
- ansiStyles.dim.open = '';
186
- }
187
-
188
- for (const code of this._styles.slice().reverse()) {
189
- // Replace any instances already present with a re-opening code
190
- // otherwise only the part of the string until said closing code
191
- // will be colored, and the rest will simply be 'plain'.
192
- str = code.open + str.replace(code.closeRe, code.open) + code.close;
193
-
194
- // Close the styling before a linebreak and reopen
195
- // after next line to fix a bleed issue on macOS
196
- // https://github.com/chalk/chalk/pull/92
197
- str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`);
198
- }
199
-
200
- // Reset the original `dim` if we changed it to work around the Windows dimmed gray issue
201
- ansiStyles.dim.open = originalDim;
202
-
203
- return str;
204
- }
205
-
206
- function chalkTag(chalk, strings) {
207
- if (!Array.isArray(strings)) {
208
- // If chalk() was called by itself or with a string,
209
- // return the string itself as a string.
210
- return [].slice.call(arguments, 1).join(' ');
211
- }
212
-
213
- const args = [].slice.call(arguments, 2);
214
- const parts = [strings.raw[0]];
215
-
216
- for (let i = 1; i < strings.length; i++) {
217
- parts.push(String(args[i - 1]).replace(/[{}\\]/g, '\\$&'));
218
- parts.push(String(strings.raw[i]));
219
- }
220
-
221
- return template(chalk, parts.join(''));
222
- }
223
-
224
- Object.defineProperties(Chalk.prototype, styles);
225
-
226
- module.exports = Chalk(); // eslint-disable-line new-cap
227
- module.exports.supportsColor = stdoutColor;
228
- module.exports.default = module.exports; // For TypeScript
@@ -1,93 +0,0 @@
1
- // @flow strict
2
-
3
- type TemplateStringsArray = $ReadOnlyArray<string>;
4
-
5
- export type Level = $Values<{
6
- None: 0,
7
- Basic: 1,
8
- Ansi256: 2,
9
- TrueColor: 3
10
- }>;
11
-
12
- export type ChalkOptions = {|
13
- enabled?: boolean,
14
- level?: Level
15
- |};
16
-
17
- export type ColorSupport = {|
18
- level: Level,
19
- hasBasic: boolean,
20
- has256: boolean,
21
- has16m: boolean
22
- |};
23
-
24
- export interface Chalk {
25
- (...text: string[]): string,
26
- (text: TemplateStringsArray, ...placeholders: string[]): string,
27
- constructor(options?: ChalkOptions): Chalk,
28
- enabled: boolean,
29
- level: Level,
30
- rgb(r: number, g: number, b: number): Chalk,
31
- hsl(h: number, s: number, l: number): Chalk,
32
- hsv(h: number, s: number, v: number): Chalk,
33
- hwb(h: number, w: number, b: number): Chalk,
34
- bgHex(color: string): Chalk,
35
- bgKeyword(color: string): Chalk,
36
- bgRgb(r: number, g: number, b: number): Chalk,
37
- bgHsl(h: number, s: number, l: number): Chalk,
38
- bgHsv(h: number, s: number, v: number): Chalk,
39
- bgHwb(h: number, w: number, b: number): Chalk,
40
- hex(color: string): Chalk,
41
- keyword(color: string): Chalk,
42
-
43
- +reset: Chalk,
44
- +bold: Chalk,
45
- +dim: Chalk,
46
- +italic: Chalk,
47
- +underline: Chalk,
48
- +inverse: Chalk,
49
- +hidden: Chalk,
50
- +strikethrough: Chalk,
51
-
52
- +visible: Chalk,
53
-
54
- +black: Chalk,
55
- +red: Chalk,
56
- +green: Chalk,
57
- +yellow: Chalk,
58
- +blue: Chalk,
59
- +magenta: Chalk,
60
- +cyan: Chalk,
61
- +white: Chalk,
62
- +gray: Chalk,
63
- +grey: Chalk,
64
- +blackBright: Chalk,
65
- +redBright: Chalk,
66
- +greenBright: Chalk,
67
- +yellowBright: Chalk,
68
- +blueBright: Chalk,
69
- +magentaBright: Chalk,
70
- +cyanBright: Chalk,
71
- +whiteBright: Chalk,
72
-
73
- +bgBlack: Chalk,
74
- +bgRed: Chalk,
75
- +bgGreen: Chalk,
76
- +bgYellow: Chalk,
77
- +bgBlue: Chalk,
78
- +bgMagenta: Chalk,
79
- +bgCyan: Chalk,
80
- +bgWhite: Chalk,
81
- +bgBlackBright: Chalk,
82
- +bgRedBright: Chalk,
83
- +bgGreenBright: Chalk,
84
- +bgYellowBright: Chalk,
85
- +bgBlueBright: Chalk,
86
- +bgMagentaBright: Chalk,
87
- +bgCyanBright: Chalk,
88
- +bgWhiteBrigh: Chalk,
89
-
90
- supportsColor: ColorSupport
91
- };
92
-
93
- declare module.exports: Chalk;
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.