Skip to content

Commit 5f2ba06

Browse files
committed
Update dev-dependencies
1 parent ccb755b commit 5f2ba06

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"remark-preset-wooorm": "^8.0.0",
4040
"tape": "^5.0.0",
4141
"tinyify": "^3.0.0",
42-
"xo": "^0.34.0"
42+
"xo": "^0.35.0"
4343
},
4444
"scripts": {
4545
"format": "remark . -qfo && prettier . --write && xo --fix",
46-
"build-bundle": "browserify . -s mdastUtilHeadingRange > mdast-util-heading-range.js",
47-
"build-mangle": "browserify . -s mdastUtilHeadingRange -p tinyify > mdast-util-heading-range.min.js",
46+
"build-bundle": "browserify . -s mdastUtilHeadingRange -o mdast-util-heading-range.js",
47+
"build-mangle": "browserify . -s mdastUtilHeadingRange -o mdast-util-heading-range.min.js -p tinyify",
4848
"build": "npm run build-bundle && npm run build-mangle",
4949
"test-api": "node test",
5050
"test-coverage": "nyc --reporter lcov tape test.js",

test.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -126,18 +126,18 @@ test('mdast-util-heading-range()', function (t) {
126126
})
127127
}
128128
})
129-
.process(['Foo', '', '## Foo', '', 'Bar', ''].join('\n'), function (
130-
err,
131-
file
132-
) {
133-
t.ifError(err, 'should not fail (#1)')
129+
.process(
130+
['Foo', '', '## Foo', '', 'Bar', ''].join('\n'),
131+
function (err, file) {
132+
t.ifError(err, 'should not fail (#1)')
134133

135-
t.equal(
136-
String(file),
137-
['Foo', '', '## Foo', '', 'Bar', ''].join('\n'),
138-
'should not remove anything when `null` is given'
139-
)
140-
})
134+
t.equal(
135+
String(file),
136+
['Foo', '', '## Foo', '', 'Bar', ''].join('\n'),
137+
'should not remove anything when `null` is given'
138+
)
139+
}
140+
)
141141

142142
remark()
143143
.use(function () {
@@ -147,18 +147,18 @@ test('mdast-util-heading-range()', function (t) {
147147
})
148148
}
149149
})
150-
.process(['Foo', '', '## Foo', '', 'Bar', ''].join('\n'), function (
151-
err,
152-
file
153-
) {
154-
t.ifError(err, 'should not fail (#2)')
150+
.process(
151+
['Foo', '', '## Foo', '', 'Bar', ''].join('\n'),
152+
function (err, file) {
153+
t.ifError(err, 'should not fail (#2)')
155154

156-
t.equal(
157-
String(file),
158-
['Foo', ''].join('\n'),
159-
'should replace all previous nodes otherwise'
160-
)
161-
})
155+
t.equal(
156+
String(file),
157+
['Foo', ''].join('\n'),
158+
'should replace all previous nodes otherwise'
159+
)
160+
}
161+
)
162162

163163
remark()
164164
.use(function () {

0 commit comments

Comments
 (0)