File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ var color = true
7
7
8
8
try {
9
9
color = 'inspect' in require ( 'util' )
10
- } catch ( err ) {
10
+ } catch ( error ) {
11
11
/* istanbul ignore next - browser */
12
12
color = false
13
13
}
Original file line number Diff line number Diff line change 24
24
"devDependencies" : {
25
25
"browserify" : " ^16.0.0" ,
26
26
"chalk" : " ^2.3.0" ,
27
- "esmangle" : " ^1.0.1" ,
28
- "nyc" : " ^11.0.0" ,
27
+ "nyc" : " ^13.0.0" ,
29
28
"prettier" : " ^1.12.1" ,
30
- "remark-cli" : " ^5 .0.0" ,
29
+ "remark-cli" : " ^6 .0.0" ,
31
30
"remark-preset-wooorm" : " ^4.0.0" ,
32
31
"retext" : " ^5.0.0" ,
33
32
"strip-ansi" : " ^4.0.0" ,
34
33
"tape" : " ^4.4.0" ,
35
- "xo" : " ^0.20.0"
34
+ "tinyify" : " ^2.4.3" ,
35
+ "xo" : " ^0.23.0"
36
36
},
37
37
"scripts" : {
38
38
"format" : " remark . -qfo && prettier --write '**/*.js' && xo --fix" ,
39
- "build-bundle" : " browserify index.js --bare -s unistUtilInspect > unist-util-inspect.js" ,
40
- "build-mangle" : " esmangle unist-util-inspect.js > unist-util-inspect.min.js" ,
39
+ "build-bundle" : " browserify . --bare -s unistUtilInspect > unist-util-inspect.js" ,
40
+ "build-mangle" : " browserify . --bare -s unistUtilInspect -p tinyify > unist-util-inspect.min.js" ,
41
41
"build" : " npm run build-bundle && npm run build-mangle" ,
42
42
"test-api" : " node test" ,
43
43
"test-coverage" : " nyc --reporter lcov tape test.js" ,
You can’t perform that action at this time.
0 commit comments