File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ var unist = require('unist-util-assert');
10
10
var hast = zwitch ( 'type' ) ;
11
11
12
12
/* Expose. */
13
- module . exports = exports = unist . wrap ( hast ) ;
13
+ exports = unist . wrap ( hast ) ;
14
+ module . exports = exports ;
14
15
15
16
exports . parent = unist . wrap ( parent ) ;
16
17
exports . text = unist . text ;
@@ -19,7 +20,8 @@ exports.wrap = unist.wrap;
19
20
exports . all = mapz ( exports , { key : 'children' , indices : false } ) ;
20
21
21
22
/* Core interface. */
22
- hast . invalid = hast . unknown = unknown ;
23
+ hast . invalid = unknown ;
24
+ hast . unknown = unknown ;
23
25
24
26
/* Per-type handling. */
25
27
hast . handlers = {
Original file line number Diff line number Diff line change 27
27
"browserify" : " ^13.0.1" ,
28
28
"esmangle" : " ^1.0.1" ,
29
29
"nyc" : " ^10.0.0" ,
30
- "remark-cli" : " ^2.1 .0" ,
31
- "remark-preset-wooorm" : " ^1 .0.0" ,
30
+ "remark-cli" : " ^3.0 .0" ,
31
+ "remark-preset-wooorm" : " ^2 .0.0" ,
32
32
"tape" : " ^4.0.0" ,
33
- "xo" : " ^0.17 .0"
33
+ "xo" : " ^0.18 .0"
34
34
},
35
35
"scripts" : {
36
36
"build-md" : " remark . --quiet --frail --output" ,
44
44
},
45
45
"xo" : {
46
46
"space" : true ,
47
+ "esnext" : false ,
47
48
"rules" : {
48
49
"no-eq-null" : " off" ,
49
50
"eqeqeq" : " off" ,
60
61
"branches" : 100
61
62
},
62
63
"remarkConfig" : {
63
- "presets" : " wooorm"
64
+ "plugins" : [
65
+ " preset-wooorm"
66
+ ]
64
67
}
65
68
}
You can’t perform that action at this time.
0 commit comments