Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Apr 26, 2021
1 parent 4775b89 commit d5e64f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"virtual-dom": "^2.0.0",
"vue": "^2.0.0",
"vue-server-renderer": "^2.0.0",
"xo": "^0.35.0"
"xo": "^0.38.0"
},
"scripts": {
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
Expand Down
5 changes: 4 additions & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,12 @@ test('hast-to-hyperscript', function (t) {
}

function remove(node) {
var index = -1
delete node.context
if (node.children) {
node.children.forEach(remove)
while (++index < node.children.length) {
remove(node.children[index])
}
}
}
})
Expand Down

0 comments on commit d5e64f8

Please sign in to comment.