Skip to content

Commit 6adfc5f

Browse files
committed
Update dev-dependencies
1 parent e896457 commit 6adfc5f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function toNlcst(tree, file, Parser) {
136136
function add(node) {
137137
var result = ('length' in node ? all : one)(node)
138138

139-
if (result.length !== 0) {
139+
if (result.length > 0) {
140140
results.push(parser.tokenizeParagraph(result))
141141
}
142142
}

Diff for: package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"vfile-location": "^3.0.0"
4141
},
4242
"devDependencies": {
43-
"browserify": "^16.0.0",
43+
"browserify": "^17.0.0",
4444
"is-hidden": "^1.0.0",
4545
"negate": "^1.0.0",
4646
"nyc": "^15.0.0",
@@ -49,17 +49,17 @@
4949
"parse-latin": "^4.0.0",
5050
"prettier": "^2.0.0",
5151
"rehype": "^11.0.0",
52-
"remark-cli": "^8.0.0",
53-
"remark-preset-wooorm": "^7.0.0",
52+
"remark-cli": "^9.0.0",
53+
"remark-preset-wooorm": "^8.0.0",
5454
"tape": "^5.0.0",
55-
"tinyify": "^2.0.0",
55+
"tinyify": "^3.0.0",
5656
"vfile": "^4.0.0",
57-
"xo": "^0.32.0"
57+
"xo": "^0.34.0"
5858
},
5959
"scripts": {
60-
"format": "remark . -qfo && prettier . --write && xo --fix",
61-
"build-bundle": "browserify . -s hastUtilToNlcst > hast-util-to-nlcst.js",
62-
"build-mangle": "browserify . -s hastUtilToNlcst -p tinyify > hast-util-to-nlcst.min.js",
60+
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
61+
"build-bundle": "browserify . -s hastUtilToNlcst -o hast-util-to-nlcst.js",
62+
"build-mangle": "browserify . -s hastUtilToNlcst -o hast-util-to-nlcst.min.js -p tinyify",
6363
"build": "npm run build-bundle && npm run build-mangle",
6464
"test-api": "node test",
6565
"test-coverage": "nyc --reporter lcov tape test/index.js",

0 commit comments

Comments
 (0)