Skip to content

Commit e23d678

Browse files
committed
Update @types/xast, utilities
1 parent 606881c commit e23d678

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export const x =
8585
(typeof attributes[key] !== 'number' ||
8686
!Number.isNaN(attributes[key]))
8787
) {
88-
// @ts-expect-error Pretty sure we just set it.
8988
node.attributes[key] = String(attributes[key])
9089
}
9190
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"./jsx-runtime": "./jsx-runtime.js"
4646
},
4747
"dependencies": {
48-
"@types/xast": "^1.0.0"
48+
"@types/xast": "^2.0.0"
4949
},
5050
"devDependencies": {
5151
"@types/node": "^20.0.0",
@@ -59,7 +59,7 @@
5959
"tsd": "^0.28.0",
6060
"type-coverage": "^2.0.0",
6161
"typescript": "^5.0.0",
62-
"unist-builder": "^3.0.0",
62+
"unist-builder": "^4.0.0",
6363
"xo": "^0.55.0"
6464
},
6565
"scripts": {

0 commit comments

Comments
 (0)