@supertape/formatter-progress-bar 6.0.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,6 +49,9 @@ export function createFormatter(bar) {
49
49
  out,
50
50
  store,
51
51
  }),
52
+ comment: comment({
53
+ out,
54
+ }),
52
55
  end: end({
53
56
  barStore,
54
57
  out,
@@ -110,6 +113,10 @@ export const fail = ({out, store}) => ({at, count, message, operator, result, ex
110
113
  out('');
111
114
  };
112
115
 
116
+ export const comment = ({out}) => ({message}) => {
117
+ out(`# ${message}`);
118
+ };
119
+
113
120
  export const end = ({barStore, out}) => ({count, passed, failed, skiped}) => {
114
121
  barStore().stop();
115
122
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supertape/formatter-progress-bar",
3
- "version": "6.0.1",
3
+ "version": "6.1.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "📼 Supertape formatter progress bar",
6
6
  "homepage": "http://github.com/coderaiser/supertape",