Skip to content

Commit

Permalink
Update @types/hast, unified, utilities, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 2, 2023
1 parent f08f36b commit 413b9ac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function rehypeInferDescriptionMeta(options = {}) {
)
const meta = file.data.meta || (file.data.meta = {})

removePosition(fragment, true)
removePosition(fragment, {force: true})

if (!matter.description && !meta.description) {
meta.description = toText(fragment)
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,29 @@
"index.js"
],
"dependencies": {
"@types/hast": "^2.0.0",
"hast-util-excerpt": "^1.0.0",
"hast-util-select": "^5.0.0",
"hast-util-to-text": "^3.0.0",
"hast-util-truncate": "^1.0.0",
"unified": "^10.0.0",
"unist-util-remove-position": "^4.0.0"
"@types/hast": "^3.0.0",
"hast-util-excerpt": "^2.0.0",
"hast-util-select": "^6.0.0",
"hast-util-to-text": "^4.0.0",
"hast-util-truncate": "^2.0.0",
"unified": "^11.0.0",
"unist-util-remove-position": "^5.0.0",
"vfile": "^6.0.0"
},
"devDependencies": {
"@types/tape": "^5.0.0",
"c8": "^8.0.0",
"hastscript": "^7.0.0",
"hastscript": "^8.0.0",
"prettier": "^3.0.0",
"rehype": "^12.0.0",
"rehype-meta": "^3.0.0",
"rehype": "^13.0.0",
"rehype-meta": "^4.0.0",
"remark-cli": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0",
"tape": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"unist-builder": "^3.0.0",
"unist-builder": "^4.0.0",
"xo": "^0.56.0"
},
"scripts": {
Expand Down

0 comments on commit 413b9ac

Please sign in to comment.