Skip to content

Commit

Permalink
Update @types/mdast, utilities, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 23, 2023
1 parent 6440198 commit fee2a6f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/get-contributors-from-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import path from 'node:path'
import {findUpOne} from 'vfile-find-up'
import {findUp} from 'vfile-find-up'
import {read} from 'to-vfile'

/**
Expand All @@ -18,7 +18,7 @@ import {read} from 'to-vfile'
export async function getContributorsFromPackage(file) {
if (file.dirname) {
// `dirname` is always set if there is a path: to `.` or a folder.
const packageFile = await findUpOne(
const packageFile = await findUp(
'package.json',
path.resolve(file.cwd, file.dirname)
)
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,26 @@
"index.js"
],
"dependencies": {
"@types/mdast": "^3.0.0",
"@types/mdast": "^4.0.0",
"is-url": "^1.0.0",
"mdast-util-heading-range": "^3.0.0",
"mdast-util-heading-range": "^4.0.0",
"parse-author": "^2.0.0",
"to-vfile": "^7.0.0",
"to-vfile": "^8.0.0",
"type-fest": "^4.0.0",
"unified": "^10.0.0",
"unist-builder": "^3.0.0",
"vfile": "^5.0.0",
"vfile-find-up": "^6.0.0"
"unified": "^11.0.0",
"unist-builder": "^4.0.0",
"vfile": "^6.0.0",
"vfile-find-up": "^7.0.0"
},
"devDependencies": {
"@types/is-url": "^1.0.0",
"@types/node": "^20.0.0",
"@types/parse-author": "^2.0.0",
"c8": "^8.0.0",
"prettier": "^3.0.0",
"remark": "^14.0.0",
"remark": "^15.0.0",
"remark-cli": "^11.0.0",
"remark-gfm": "^3.0.0",
"remark-gfm": "^4.0.0",
"remark-preset-wooorm": "^9.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
Expand Down

0 comments on commit fee2a6f

Please sign in to comment.