Skip to content

Commit cdeff67

Browse files
committed
Update style-to-object
1 parent 61ea9d8 commit cdeff67

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/handlers/element.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ function parseStyle(value, tagName) {
239239
const result = {}
240240

241241
try {
242-
// @ts-expect-error: types are wrong.
243242
styleToObject(value, iterator)
244243
} catch (error) {
245244
const cause = /** @type {Error} */ (error)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"mdast-util-mdxjs-esm": "^2.0.0",
5252
"property-information": "^6.0.0",
5353
"space-separated-tokens": "^2.0.0",
54-
"style-to-object": "^0.4.0",
54+
"style-to-object": "^1.0.0",
5555
"unist-util-position": "^5.0.0",
5656
"zwitch": "^2.0.0"
5757
},

0 commit comments

Comments
 (0)