Skip to content

Commit 1ee84f3

Browse files
committed
Update hast-util-to-string
1 parent 1f2630c commit 1ee84f3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/enter-state.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
import {direction} from 'direction'
1010
import {isElement} from 'hast-util-is-element'
11-
// @ts-expect-error: to do type.
12-
import toString from 'hast-util-to-string'
11+
import {toString} from 'hast-util-to-string'
1312
import {svg} from 'property-information'
1413
import {visit, EXIT, SKIP} from 'unist-util-visit'
1514
import {element} from './util.js'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"direction": "^2.0.0",
4747
"hast-util-has-property": "^2.0.0",
4848
"hast-util-is-element": "^2.0.0",
49-
"hast-util-to-string": "^1.0.0",
49+
"hast-util-to-string": "^2.0.0",
5050
"hast-util-whitespace": "^2.0.0",
5151
"not": "^0.1.0",
5252
"nth-check": "^2.0.0",

0 commit comments

Comments
 (0)