Skip to content

Commit 1c47f0a

Browse files
committed
Update dev-dependencies
1 parent 9c8d44b commit 1c47f0a

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
"@types/tape": "^4.0.0",
4040
"c8": "^7.0.0",
4141
"prettier": "^2.0.0",
42-
"remark": "^13.0.0",
43-
"remark-cli": "^9.0.0",
44-
"remark-preset-wooorm": "^8.0.0",
42+
"remark": "^14.0.0",
43+
"remark-cli": "^10.0.0",
44+
"remark-preset-wooorm": "^9.0.0",
4545
"rimraf": "^3.0.0",
4646
"tape": "^5.0.0",
4747
"type-coverage": "^2.0.0",
4848
"typescript": "^4.0.0",
49-
"xo": "^0.42.0"
49+
"xo": "^0.49.0"
5050
},
5151
"scripts": {
5252
"prepack": "npm run build && npm run format",

test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66

77
import assert from 'node:assert'
88
import test from 'tape'
9-
import remark from 'remark'
9+
import {remark} from 'remark'
1010
import {VFile} from 'vfile'
1111
import {source} from './index.js'
1212

1313
test('unist-util-source', (t) => {
1414
let file = new VFile('> + **[Hello](./example)**\n> world.')
1515
/** @type {Node} */
16-
// @ts-expect-error: hush.
1716
let node = remark().parse(file)
1817

1918
t.equal(source(node, file), '> + **[Hello](./example)**\n> world.', 'root')
@@ -61,7 +60,6 @@ test('unist-util-source', (t) => {
6160
t.equal(source(null, file), null, 'missing')
6261

6362
file = new VFile('a\r\nb')
64-
// @ts-expect-error: hush.
6563
node = remark().parse(file)
6664
assert(node.type === 'root')
6765
node = node.children[0]
@@ -70,7 +68,6 @@ test('unist-util-source', (t) => {
7068
t.equal(source(node, file), 'a\r\nb', 'cr + lf')
7169

7270
file = new VFile('a\rb')
73-
// @ts-expect-error: hush.
7471
node = remark().parse(file)
7572
assert(node.type === 'root')
7673
node = node.children[0]
@@ -79,13 +76,11 @@ test('unist-util-source', (t) => {
7976
t.equal(source(node, file), 'a\rb', 'cr')
8077

8178
file = new VFile('a\n')
82-
// @ts-expect-error: hush.
8379
node = remark().parse(file)
8480

8581
t.equal(source(node, file), 'a\n', 'eof eol')
8682

8783
file = new VFile('a\n\rb')
88-
// @ts-expect-error: hush.
8984
node = remark().parse(file)
9085

9186
t.equal(source(node, file), 'a\n\rb', 'blank lines')

0 commit comments

Comments
 (0)