Skip to content

Commit a1f40a6

Browse files
committed
Update dev-dependencies
1 parent a4b88f0 commit a1f40a6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"tape": "^5.0.0",
7070
"type-coverage": "^2.0.0",
7171
"typescript": "^4.0.0",
72-
"unified": "^9.0.0",
72+
"unified": "^10.0.0",
7373
"unist-builder": "^3.0.0",
7474
"unist-util-remove-position": "^4.0.0",
7575
"xo": "^0.39.0"

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ Say we have the following `example.html`:
3434
…and next to it, `example.js`:
3535

3636
```js
37-
import unified from 'unified'
37+
import {unified} from 'unified'
3838
import remarkParse from 'rehype-parse'
3939
import remarkStringify from 'remark-stringify'
40-
import {toVFile} from 'to-vfile'
40+
import {readSync} from 'to-vfile'
4141
import {toMdast} from 'hast-util-to-mdast'
4242

43-
const file = toVFile.readSync('example.html')
43+
const file = readSync('example.html')
4444

4545
const hast = unified().use(remarkParse).parse(file)
4646

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import test from 'tape'
1111
import {u} from 'unist-builder'
1212
import {h} from 'hastscript'
1313
import {isHidden} from 'is-hidden'
14-
import unified from 'unified'
14+
import {unified} from 'unified'
1515
import remarkParse from 'remark-parse'
1616
import remarkGfm from 'remark-gfm'
1717
import rehypeStringify from 'rehype-parse'

0 commit comments

Comments
 (0)