File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 40
40
"mdast-util-assert" : " ^1.0.0" ,
41
41
"negate" : " ^1.0.0" ,
42
42
"nyc" : " ^10.1.2" ,
43
- "rehype-parse" : " ^2.0.1 " ,
44
- "remark-parse" : " ^2.2 .0" ,
45
- "remark-stringify" : " ^2.3 .0" ,
43
+ "rehype-parse" : " ^3.1.0 " ,
44
+ "remark-parse" : " ^3.0 .0" ,
45
+ "remark-stringify" : " ^3.0 .0" ,
46
46
"tape" : " ^4.6.3" ,
47
- "unified" : " ^5 .1.0" ,
47
+ "unified" : " ^6 .1.0" ,
48
48
"unist-builder" : " ^1.0.2" ,
49
49
"unist-util-remove-position" : " ^1.1.0" ,
50
- "xo" : " ^0.17 .1"
50
+ "xo" : " ^0.18 .1"
51
51
},
52
52
"scripts" : {
53
53
"lint" : " xo" ,
62
62
"branches" : 100
63
63
},
64
64
"xo" : {
65
- "space" : true
65
+ "space" : true ,
66
+ "esnext" : false ,
67
+ "rules" : {
68
+ "no-multi-assign" : " off"
69
+ }
66
70
}
67
71
}
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ test('fixtures', function (t) {
121
121
config = JSON . parse ( config ) ;
122
122
}
123
123
124
- var tree = remove ( fromHTML . run ( fromHTML . parse ( input , config ) ) , true ) ;
124
+ var tree = remove ( fromHTML . runSync ( fromHTML . parse ( input , config ) ) , true ) ;
125
125
126
126
/* Replace middots with spaces (useful for break nodes). */
127
127
output = output . replace ( / · / g, ' ' ) ;
@@ -140,7 +140,7 @@ test('fixtures', function (t) {
140
140
if ( ! config || config . tree !== false ) {
141
141
st . deepEqual (
142
142
tree ,
143
- remove ( remark . run ( remark . parse ( output ) ) , true ) ,
143
+ remove ( remark . runSync ( remark . parse ( output ) ) , true ) ,
144
144
'should produce the same tree as remark'
145
145
) ;
146
146
}
You can’t perform that action at this time.
0 commit comments