Skip to content

Commit 7db3047

Browse files
committedNov 4, 2021
Update Dependencies
1 parent 97034d9 commit 7db3047

File tree

6 files changed

+141
-276
lines changed

6 files changed

+141
-276
lines changed
 

‎docs/index.html

+16-16
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ <h3 class='left m0 panel-title' id='createconsole'>
269269
</h3>
270270

271271

272-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/index.js#L17-L19'>
272+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/index.js#L17-L19'>
273273
<span>src/index.js</span>
274274
</a>
275275

@@ -345,7 +345,7 @@ <h3 class='left m0 panel-title' id='getversion'>
345345
</h3>
346346

347347

348-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/index.js#L27-L27'>
348+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/index.js#L27-L27'>
349349
<span>src/index.js</span>
350350
</a>
351351

@@ -421,7 +421,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
421421
</h3>
422422

423423

424-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L33-L301'>
424+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L32-L300'>
425425
<span>src/lib/verbosity.js</span>
426426
</a>
427427

@@ -589,7 +589,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
589589
<div class='clearfix'>
590590

591591

592-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L92-L106'>
592+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L91-L105'>
593593
<span>src/lib/verbosity.js</span>
594594
</a>
595595

@@ -666,7 +666,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
666666
<div class='clearfix'>
667667

668668

669-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L113-L116'>
669+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L112-L115'>
670670
<span>src/lib/verbosity.js</span>
671671
</a>
672672

@@ -744,7 +744,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
744744
<div class='clearfix'>
745745

746746

747-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L142-L144'>
747+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L141-L143'>
748748
<span>src/lib/verbosity.js</span>
749749
</a>
750750

@@ -822,7 +822,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
822822
<div class='clearfix'>
823823

824824

825-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L151-L153'>
825+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L150-L152'>
826826
<span>src/lib/verbosity.js</span>
827827
</a>
828828

@@ -900,7 +900,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
900900
<div class='clearfix'>
901901

902902

903-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L160-L162'>
903+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L159-L161'>
904904
<span>src/lib/verbosity.js</span>
905905
</a>
906906

@@ -978,7 +978,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
978978
<div class='clearfix'>
979979

980980

981-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L169-L171'>
981+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L168-L170'>
982982
<span>src/lib/verbosity.js</span>
983983
</a>
984984

@@ -1056,7 +1056,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
10561056
<div class='clearfix'>
10571057

10581058

1059-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L178-L180'>
1059+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L177-L179'>
10601060
<span>src/lib/verbosity.js</span>
10611061
</a>
10621062

@@ -1134,7 +1134,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
11341134
<div class='clearfix'>
11351135

11361136

1137-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L187-L189'>
1137+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L186-L188'>
11381138
<span>src/lib/verbosity.js</span>
11391139
</a>
11401140

@@ -1212,7 +1212,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
12121212
<div class='clearfix'>
12131213

12141214

1215-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L196-L198'>
1215+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L195-L197'>
12161216
<span>src/lib/verbosity.js</span>
12171217
</a>
12181218

@@ -1290,7 +1290,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
12901290
<div class='clearfix'>
12911291

12921292

1293-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L205-L207'>
1293+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L204-L206'>
12941294
<span>src/lib/verbosity.js</span>
12951295
</a>
12961296

@@ -1368,7 +1368,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
13681368
<div class='clearfix'>
13691369

13701370

1371-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L214-L219'>
1371+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L213-L218'>
13721372
<span>src/lib/verbosity.js</span>
13731373
</a>
13741374

@@ -1447,7 +1447,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
14471447
<div class='clearfix'>
14481448

14491449

1450-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L240-L252'>
1450+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L239-L251'>
14511451
<span>src/lib/verbosity.js</span>
14521452
</a>
14531453

@@ -1553,7 +1553,7 @@ <h3 class='left m0 panel-title' id='verbosity'>
15531553
<div class='clearfix'>
15541554

15551555

1556-
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/3ebfcd4ebfc89173e3a7e5d85bd4de122c73ce4c/src/lib/verbosity.js#L272-L300'>
1556+
<a class='pl3 pr1 right rounded github' href='https://github.com/thebespokepixel/verbosity/blob/97034d937700a5de03ab2c23efa8d6e00bdf03bd/src/lib/verbosity.js#L271-L299'>
15571557
<span>src/lib/verbosity.js</span>
15581558
</a>
15591559

‎index.d.ts

-129
This file was deleted.

‎index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { dirname } from 'node:path';
22
import { fileURLToPath } from 'node:url';
33
import meta from '@thebespokepixel/meta';
4-
import util from 'node:util';
4+
import { format, inspect } from 'node:util';
5+
import { Console } from 'node:console';
56
import termNG from 'term-ng';
67
import chalk from 'chalk';
78
import sparkles from 'sparkles';
@@ -116,8 +117,6 @@ function matrix(sOut, sError) {
116117
}
117118
}
118119

119-
const {format, inspect} = util;
120-
const {Console} = console;
121120
/**
122121
* Generate a verbosity console
123122
* @param {object} options - Configuration options.

‎package-lock.json

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

‎package.json

+3-8
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,17 @@
33
"version": "3.0.1",
44
"description": "Verbose logging features for ttys or any writable stream.",
55
"main": "index.js",
6-
"types": "index.d.ts",
76
"type": "module",
87
"scripts": {
98
"build": "rollup -c && npm run readme",
109
"test": "xo && c8 --reporter=text ava",
1110
"doc-serve": "documentation serve --watch --theme node_modules/documentation-theme-bespoke --github --config src/docs/documentation.yml --project-name $npm_package_name --project-version $npm_package_version src/index.js",
1211
"doc-build": "documentation build --format html --output docs --theme node_modules/documentation-theme-bespoke --github --config src/docs/documentation.yml --project-name $npm_package_name --project-version $npm_package_version src/index.js",
1312
"readme": "compile-readme -u src/docs/example.md src/docs/readme.md > readme.md",
14-
"coverage": "c8 --reporter=lcov ava; open coverage/lcov-report/index.html",
15-
"prepublishOnly": "npx -p typescript tsc index.js --declaration --allowJs --emitDeclarationOnly"
13+
"coverage": "c8 --reporter=lcov ava; open coverage/lcov-report/index.html"
1614
},
1715
"files": [
18-
"index.js",
19-
"index.d.ts"
16+
"index.js"
2017
],
2118
"keywords": [
2219
"console",
@@ -51,7 +48,6 @@
5148
"devDependencies": {
5249
"@rollup/plugin-commonjs": "^21.0.1",
5350
"@rollup/plugin-node-resolve": "^13.0.6",
54-
"@types/estree": "^0.0.50",
5551
"ava": "^4.0.0-rc.1",
5652
"c8": "^7.10.0",
5753
"documentation-theme-bespoke": "^2.0.12",
@@ -65,7 +61,6 @@
6561
"esnext": true,
6662
"ignore": [
6763
"index.js",
68-
"index.d.ts",
6964
"lib/**",
7065
"docs/**",
7166
"coverage/**"
@@ -127,4 +122,4 @@
127122
]
128123
]
129124
}
130-
}
125+
}

‎src/lib/verbosity.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
╰───────────┴────────────────────────────────────────────────────────────────── */
44
/* eslint node/prefer-global/process: [error] */
55

6-
import util from 'node:util'
6+
import {format, inspect} from 'node:util'
7+
import {Console} from 'node:console'
78
import termNG from 'term-ng'
89
import chalk from 'chalk'
910
import sparkles from 'sparkles'
1011
import {bespokeTimeFormat} from '@thebespokepixel/time'
1112
import matrix from './matrix.js'
1213

13-
const {format, inspect} = util
14-
const {Console} = console
1514
/**
1615
* Generate a verbosity console
1716
* @param {object} options - Configuration options.

0 commit comments

Comments
 (0)
Please sign in to comment.