Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 9, 2021
1 parent e88fecc commit a5677c0
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion lib/check/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import trough from 'trough'
import {trough} from 'trough'
import {mergeLandmarks} from './merge-landmarks.js'
import {mergeReferences} from './merge-references.js'
import {checkFiles} from './check-files.js'
Expand Down
8 changes: 4 additions & 4 deletions lib/find/find-references.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import fs from 'fs'
import path from 'path'
import {URL} from 'url'
import vfile from 'to-vfile'
import visit from 'unist-util-visit'
import toString from 'mdast-util-to-string'
import {toVFile} from 'to-vfile'
import {visit} from 'unist-util-visit'
import {toString} from 'mdast-util-to-string'
import BananaSlug from 'github-slugger'
import {constants} from '../constants.js'

Expand Down Expand Up @@ -173,7 +173,7 @@ export function findReferences(ctx, next) {
added.push(filePath)

fileSet.add(
vfile({cwd: file.cwd, path: path.relative(file.cwd, filePath)})
toVFile({cwd: file.cwd, path: path.relative(file.cwd, filePath)})
)
}

Expand Down
2 changes: 1 addition & 1 deletion lib/find/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import trough from 'trough'
import {trough} from 'trough'
import {findRepo} from './find-repo.js'
import {config} from './config.js'
import {findReferences} from './find-references.js'
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@
},
"dependencies": {
"github-slugger": "^1.0.0",
"hosted-git-info": "^3.0.0",
"mdast-util-to-string": "^1.0.0",
"hosted-git-info": "^4.0.0",
"mdast-util-to-string": "^3.0.0",
"propose": "0.0.5",
"to-vfile": "^6.0.0",
"trough": "^1.0.0",
"unist-util-visit": "^2.0.0"
"to-vfile": "^7.0.0",
"trough": "^2.0.0",
"unist-util-visit": "^4.0.0"
},
"devDependencies": {
"c8": "^7.0.0",
"prettier": "^2.0.0",
"remark": "^13.0.0",
"remark-cli": "^9.0.0",
"remark": "^14.0.0",
"remark-cli": "^10.0.0",
"remark-preset-wooorm": "^8.0.0",
"rimraf": "^3.0.0",
"strip-ansi": "^6.0.0",
"strip-ansi": "^7.0.0",
"tape": "^5.0.0",
"vfile-sort": "^2.0.0",
"vfile-sort": "^3.0.0",
"xo": "^0.38.0"
},
"scripts": {
Expand Down
Loading

0 comments on commit a5677c0

Please sign in to comment.