Skip to content

Commit

Permalink
rehype-parse: bump parse5 from ^6.0.0 to ^7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Oct 17, 2022
1 parent 620bb9c commit 55830fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/rehype-parse/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
* @typedef {FromParse5Options & ParseFields & ErrorFields} Options
*/

// @ts-expect-error: remove when typed
import Parser5 from 'parse5/lib/parser/index.js'
import {Parser as Parser5} from 'parse5'
import {fromParse5} from 'hast-util-from-parse5'
import {errors} from './errors.js'

Expand Down
2 changes: 1 addition & 1 deletion packages/rehype-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@types/hast": "^2.0.0",
"hast-util-from-parse5": "^7.0.0",
"parse5": "^6.0.0",
"parse5": "^7.0.0",
"unified": "^10.0.0"
},
"scripts": {
Expand Down

0 comments on commit 55830fa

Please sign in to comment.