Skip to content

Commit aa22a05

Browse files
committed
Update dev-dependencies
1 parent 569277b commit aa22a05

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/handlers/list-item.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function listItem(h, node, parent) {
2121
result.unshift(head)
2222
}
2323

24-
if (head.children.length !== 0) {
24+
if (head.children.length > 0) {
2525
head.children.unshift(u('text', ' '))
2626
}
2727

lib/wrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function wrap(nodes, loose) {
2323
result.push(nodes[index])
2424
}
2525

26-
if (loose && nodes.length !== 0) {
26+
if (loose && nodes.length > 0) {
2727
result.push(u('text', '\n'))
2828
}
2929

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@
4141
"unist-util-visit": "^2.0.0"
4242
},
4343
"devDependencies": {
44-
"browserify": "^16.0.0",
44+
"browserify": "^17.0.0",
4545
"dtslint": "^4.0.0",
4646
"nyc": "^15.0.0",
4747
"prettier": "^2.0.0",
48-
"remark-cli": "^8.0.0",
49-
"remark-preset-wooorm": "^7.0.0",
48+
"remark-cli": "^9.0.0",
49+
"remark-preset-wooorm": "^8.0.0",
5050
"tape": "^5.0.0",
5151
"tinyify": "^3.0.0",
52-
"xo": "^0.33.0"
52+
"xo": "^0.34.0"
5353
},
5454
"scripts": {
55-
"format": "remark . -qfo && prettier --write . && xo --fix",
56-
"build-bundle": "browserify index.js -s mdastUtilToHast > mdast-util-to-hast.js",
57-
"build-mangle": "browserify index.js -s mdastUtilToHast -p tinyify > mdast-util-to-hast.min.js",
55+
"format": "remark . -qfo && prettier -w . --loglevel warn && xo --fix",
56+
"build-bundle": "browserify index.js -s mdastUtilToHast -o mdast-util-to-hast.js",
57+
"build-mangle": "browserify index.js -s mdastUtilToHast -o mdast-util-to-hast.min.js -p tinyify",
5858
"build": "npm run build-bundle && npm run build-mangle",
5959
"test-api": "node test",
6060
"test-coverage": "nyc --reporter lcov tape test/index.js",

0 commit comments

Comments
 (0)