Skip to content

Commit 0d9be38

Browse files
committed
Update dev-dependencies
1 parent 15e4d63 commit 0d9be38

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ function stringifyPosition(start, end) {
184184
add(start)
185185
add(end)
186186

187-
if (positions.length !== 0) {
187+
if (positions.length > 0) {
188188
result.push(positions.join('-'))
189189
}
190190

191-
if (offsets.length !== 0) {
191+
if (offsets.length > 0) {
192192
result.push(offsets.join('-'))
193193
}
194194

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,26 @@
3838
"types": "types/index.d.ts",
3939
"dependencies": {},
4040
"devDependencies": {
41-
"@types/unist": "^2.0.3",
42-
"browserify": "^16.0.0",
41+
"@types/unist": "^2.0.0",
42+
"browserify": "^17.0.0",
4343
"chalk": "^4.0.0",
44-
"dtslint": "^3.0.0",
45-
"hastscript": "^5.0.0",
44+
"dtslint": "^4.0.0",
45+
"hastscript": "^6.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
"retext": "^7.0.0",
5151
"strip-ansi": "^6.0.0",
5252
"tape": "^5.0.0",
53-
"tinyify": "^2.0.0",
53+
"tinyify": "^3.0.0",
5454
"unist-builder": "^2.0.0",
55-
"xastscript": "^1.0.0",
55+
"xastscript": "^2.0.0",
5656
"xast-util-from-xml": "^1.0.0",
57-
"xo": "^0.32.0"
57+
"xo": "^0.34.0"
5858
},
5959
"scripts": {
60-
"format": "remark . -qfo && prettier . --write && xo --fix",
60+
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
6161
"build-bundle": "browserify . -s unistUtilInspect > unist-util-inspect.js",
6262
"build-mangle": "browserify . -s unistUtilInspect -p tinyify > unist-util-inspect.min.js",
6363
"build": "npm run build-bundle && npm run build-mangle",

0 commit comments

Comments
 (0)