Skip to content

Commit 9151889

Browse files
committedSep 16, 2019
Update Dependencies
1 parent 5dc6c7e commit 9151889

File tree

4 files changed

+269
-336
lines changed

4 files changed

+269
-336
lines changed
 

‎docs/assets/css/style.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/index.html

+17-19
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ <h3 class='left m0 panel-title' id='createconsole'>
277277
</h3>
278278

279279

280-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/index.js#L15-L17'>
280+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/index.js#L15-L17'>
281281
<span>src/index.js</span>
282282
</a>
283283

@@ -353,7 +353,7 @@ <h3 class='left m0 panel-title' id='getversion'>
353353
</h3>
354354

355355

356-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/index.js#L25-L25'>
356+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/index.js#L25-L25'>
357357
<span>src/index.js</span>
358358
</a>
359359

@@ -429,7 +429,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
429429
</h3>
430430

431431

432-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L32-L305'>
432+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L32-L305'>
433433
<span>src/lib/verbosity.class.js</span>
434434
</a>
435435

@@ -537,8 +537,6 @@ <h3 class='left m0 panel-title' id='verbosity'>
537537

538538
<tr>
539539
<td class='break-word'><span class='code bold'>options.global</span> <code class='quiet'><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">Boolean</a></code>
540-
541-
(default <code>true</code>)
542540
</td>
543541
<td class='break-word'><span>Should changes to verbosity be made globally?
544542
</span></td>
@@ -599,7 +597,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
599597
<div class='clearfix'>
600598

601599

602-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L91-L105'>
600+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L91-L105'>
603601
<span>src/lib/verbosity.class.js</span>
604602
</a>
605603

@@ -676,7 +674,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
676674
<div class='clearfix'>
677675

678676

679-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L112-L115'>
677+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L112-L115'>
680678
<span>src/lib/verbosity.class.js</span>
681679
</a>
682680

@@ -754,7 +752,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
754752
<div class='clearfix'>
755753

756754

757-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L147-L149'>
755+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L147-L149'>
758756
<span>src/lib/verbosity.class.js</span>
759757
</a>
760758

@@ -832,7 +830,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
832830
<div class='clearfix'>
833831

834832

835-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L147-L149'>
833+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L147-L149'>
836834
<span>src/lib/verbosity.class.js</span>
837835
</a>
838836

@@ -910,7 +908,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
910908
<div class='clearfix'>
911909

912910

913-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L156-L158'>
911+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L156-L158'>
914912
<span>src/lib/verbosity.class.js</span>
915913
</a>
916914

@@ -988,7 +986,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
988986
<div class='clearfix'>
989987

990988

991-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L165-L167'>
989+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L165-L167'>
992990
<span>src/lib/verbosity.class.js</span>
993991
</a>
994992

@@ -1066,7 +1064,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
10661064
<div class='clearfix'>
10671065

10681066

1069-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L174-L176'>
1067+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L174-L176'>
10701068
<span>src/lib/verbosity.class.js</span>
10711069
</a>
10721070

@@ -1144,7 +1142,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
11441142
<div class='clearfix'>
11451143

11461144

1147-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L183-L185'>
1145+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L183-L185'>
11481146
<span>src/lib/verbosity.class.js</span>
11491147
</a>
11501148

@@ -1222,7 +1220,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
12221220
<div class='clearfix'>
12231221

12241222

1225-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L192-L194'>
1223+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L192-L194'>
12261224
<span>src/lib/verbosity.class.js</span>
12271225
</a>
12281226

@@ -1300,7 +1298,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
13001298
<div class='clearfix'>
13011299

13021300

1303-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L201-L203'>
1301+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L201-L203'>
13041302
<span>src/lib/verbosity.class.js</span>
13051303
</a>
13061304

@@ -1378,7 +1376,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
13781376
<div class='clearfix'>
13791377

13801378

1381-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L210-L212'>
1379+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L210-L212'>
13821380
<span>src/lib/verbosity.class.js</span>
13831381
</a>
13841382

@@ -1456,7 +1454,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
14561454
<div class='clearfix'>
14571455

14581456

1459-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L219-L224'>
1457+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L219-L224'>
14601458
<span>src/lib/verbosity.class.js</span>
14611459
</a>
14621460

@@ -1535,7 +1533,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
15351533
<div class='clearfix'>
15361534

15371535

1538-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L245-L257'>
1536+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L245-L257'>
15391537
<span>src/lib/verbosity.class.js</span>
15401538
</a>
15411539

@@ -1641,7 +1639,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
16411639
<div class='clearfix'>
16421640

16431641

1644-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/e1032713b9b998d3abc38071da614e278286a14c/src/lib/verbosity.class.js#L277-L304'>
1642+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/5dc6c7e133fffcf50013ce31ad10a004e817d65d/src/lib/verbosity.class.js#L277-L304'>
16451643
<span>src/lib/verbosity.class.js</span>
16461644
</a>
16471645

‎package-lock.json

+241-306
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/global.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,38 @@ const StreamProxy2 = new stream.PassThrough()
99
StreamProxy2.setEncoding('utf8')
1010

1111
test('Set verbosity 1 on one instance and globally affects another', t => {
12-
const testConsole1 = createConsole({outStream: StreamProxy1})
13-
const testConsole2 = createConsole({outStream: StreamProxy2})
12+
const testConsole1 = createConsole({outStream: StreamProxy1, global: true})
13+
const testConsole2 = createConsole({outStream: StreamProxy2, global: true})
1414
testConsole1.verbosity(1)
1515
t.is(testConsole2.verbosity(), 1)
1616
})
1717

1818
test('Set verbosity 2 on one instance and globally affects another', t => {
19-
const testConsole1 = createConsole({outStream: StreamProxy1})
20-
const testConsole2 = createConsole({outStream: StreamProxy2})
19+
const testConsole1 = createConsole({outStream: StreamProxy1, global: true})
20+
const testConsole2 = createConsole({outStream: StreamProxy2, global: true})
2121
testConsole1.verbosity(2)
2222
t.is(testConsole2.verbosity(), 2)
2323
})
2424

2525
test('Set verbosity 3 on one instance and globally affects another', t => {
26-
const testConsole1 = createConsole({outStream: StreamProxy1})
27-
const testConsole2 = createConsole({outStream: StreamProxy2})
26+
const testConsole1 = createConsole({outStream: StreamProxy1, global: true})
27+
const testConsole2 = createConsole({outStream: StreamProxy2, global: true})
2828
testConsole1.verbosity(3)
2929
t.is(testConsole2.verbosity(), 3)
3030
})
3131

3232
test('Set verbosity 3 on one instance mutes debug output on another', t => {
33-
const testConsole1 = createConsole({outStream: StreamProxy1})
34-
const testConsole2 = createConsole({outStream: StreamProxy2})
33+
const testConsole1 = createConsole({outStream: StreamProxy1, global: true})
34+
const testConsole2 = createConsole({outStream: StreamProxy2, global: true})
3535
testConsole1.verbosity(3)
3636
testConsole2.debug('testing')
3737
const result = StreamProxy2.read()
3838
t.is(result, null)
3939
})
4040

4141
test('Set verbosity 5 on one instance allows info output on another', t => {
42-
const testConsole1 = createConsole({outStream: StreamProxy1})
43-
const testConsole2 = createConsole({outStream: StreamProxy2})
42+
const testConsole1 = createConsole({outStream: StreamProxy1, global: true})
43+
const testConsole2 = createConsole({outStream: StreamProxy2, global: true})
4444
testConsole1.verbosity(5)
4545
testConsole2.info('testing')
4646
const result = StreamProxy2.read()

0 commit comments

Comments
 (0)
Please sign in to comment.