Skip to content

Commit e2a4ff5

Browse files
committed
Update dev-dependencies
1 parent 0b2b76a commit e2a4ff5

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@
4040
"mdast-util-assert": "^1.0.0",
4141
"negate": "^1.0.0",
4242
"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",
4646
"tape": "^4.6.3",
47-
"unified": "^5.1.0",
47+
"unified": "^6.1.0",
4848
"unist-builder": "^1.0.2",
4949
"unist-util-remove-position": "^1.1.0",
50-
"xo": "^0.17.1"
50+
"xo": "^0.18.1"
5151
},
5252
"scripts": {
5353
"lint": "xo",
@@ -62,6 +62,10 @@
6262
"branches": 100
6363
},
6464
"xo": {
65-
"space": true
65+
"space": true,
66+
"esnext": false,
67+
"rules": {
68+
"no-multi-assign": "off"
69+
}
6670
}
6771
}

tests/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ test('fixtures', function (t) {
121121
config = JSON.parse(config);
122122
}
123123

124-
var tree = remove(fromHTML.run(fromHTML.parse(input, config)), true);
124+
var tree = remove(fromHTML.runSync(fromHTML.parse(input, config)), true);
125125

126126
/* Replace middots with spaces (useful for break nodes). */
127127
output = output.replace(/·/g, ' ');
@@ -140,7 +140,7 @@ test('fixtures', function (t) {
140140
if (!config || config.tree !== false) {
141141
st.deepEqual(
142142
tree,
143-
remove(remark.run(remark.parse(output)), true),
143+
remove(remark.runSync(remark.parse(output)), true),
144144
'should produce the same tree as remark'
145145
);
146146
}

0 commit comments

Comments
 (0)