Skip to content

Commit a4c0778

Browse files
committed
Update hast-util-to-string
1 parent ec91553 commit a4c0778

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
import {embedded} from 'hast-util-embedded'
2222
import {convertElement} from 'hast-util-is-element'
2323
import {phrasing} from 'hast-util-phrasing'
24-
// @ts-expect-error: to do type.
25-
import toString from 'hast-util-to-string'
24+
import {toString} from 'hast-util-to-string'
2625
import {whitespace} from 'hast-util-whitespace'
2726
import {toString as nlcstToString} from 'nlcst-to-string'
2827
import {pointStart} from 'unist-util-position'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"hast-util-embedded": "^2.0.0",
4242
"hast-util-is-element": "^2.0.0",
4343
"hast-util-phrasing": "^2.0.0",
44-
"hast-util-to-string": "^1.0.0",
44+
"hast-util-to-string": "^2.0.0",
4545
"hast-util-whitespace": "^2.0.0",
4646
"nlcst-to-string": "^3.0.0",
4747
"unist-util-position": "^4.0.0",

0 commit comments

Comments
 (0)