Skip to content

Commit 7d94b6c

Browse files
committed
Update @types/hast, utilities
1 parent 77387a4 commit 7d94b6c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

lib/browser.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* @typedef {import('hast').Root} Root
3+
*
34
* @typedef {typeof import('./index.js').fromHtmlIsomorphic} FromHtmlIsomorphic
45
*/
56

lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
22
* @typedef {import('hast').Root} Root
3+
*
34
* @typedef {Pick<import('hast-util-from-html').Options, 'fragment'>} Options
45
*/
56

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
"index.js"
4141
],
4242
"dependencies": {
43-
"@types/hast": "^2.0.0",
44-
"hast-util-from-html": "^1.0.0",
45-
"hast-util-from-dom": "^4.0.0",
46-
"unist-util-remove-position": "^4.0.0"
43+
"@types/hast": "^3.0.0",
44+
"hast-util-from-html": "^2.0.0",
45+
"hast-util-from-dom": "^5.0.0",
46+
"unist-util-remove-position": "^5.0.0"
4747
},
4848
"devDependencies": {
4949
"@types/jsdom": "^21.0.0",

0 commit comments

Comments
 (0)