Skip to content

Commit 01b48a8

Browse files
committed
Replace dev-dependency
1 parent e2ee79d commit 01b48a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"devDependencies": {
4040
"@types/tape": "^4.0.0",
4141
"c8": "^7.0.0",
42+
"mdast-util-from-markdown": "^1.0.0",
4243
"prettier": "^2.0.0",
43-
"remark": "^14.0.0",
4444
"remark-cli": "^10.0.0",
4545
"remark-preset-wooorm": "^9.0.0",
4646
"rimraf": "^3.0.0",

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55

66
import test from 'tape'
7-
import {remark} from 'remark'
7+
import {fromMarkdown} from 'mdast-util-from-markdown'
88
import {findAllAfter} from './index.js'
99

10-
const tree = remark().parse('Some *emphasis*, **importance**, and `code`.')
10+
const tree = fromMarkdown('Some *emphasis*, **importance**, and `code`.')
1111
const paragraph = /** @type {Paragraph} */ (tree.children[0])
1212
const children = paragraph.children
1313

0 commit comments

Comments
 (0)