Skip to content

Commit 7ae25a8

Browse files
committed
Update dev-dependencies
1 parent 4483d1c commit 7ae25a8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ function squeeze(tree) {
1010

1111
// Whether paragraph is empty or composed only of whitespace.
1212
function isEmptyParagraph(node) {
13-
return node.type === 'paragraph' && node.children.every(isEmptyText)
14-
}
15-
16-
function isEmptyText(node) {
17-
return node.type === 'text' && /^\s*$/.test(node.value)
13+
return (
14+
node.type === 'paragraph' &&
15+
node.children.every(
16+
(node) => node.type === 'text' && /^\s*$/.test(node.value)
17+
)
18+
)
1819
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"remark-preset-wooorm": "^8.0.0",
4444
"tape": "^5.0.0",
4545
"unist-builder": "^2.0.0",
46-
"xo": "^0.35.0"
46+
"xo": "^0.38.0"
4747
},
4848
"scripts": {
4949
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",

0 commit comments

Comments
 (0)