Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 5, 2021
1 parent 70fa22f commit 598cd94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import visit from 'unist-util-visit'
import definitions from 'mdast-util-definitions'
import spaceSeparated from 'space-separated-tokens'
import {visit} from 'unist-util-visit'
import {definitions} from 'mdast-util-definitions'
import {parse} from 'space-separated-tokens'
import absolute from 'is-absolute-url'
import extend from 'extend'

Expand All @@ -17,7 +17,7 @@ export default function remarkExternalLinks(options) {
var contentProperties = settings.contentProperties || {}

if (typeof rel === 'string') {
rel = spaceSeparated.parse(rel)
rel = parse(rel)
}

if (content && typeof content === 'object' && !('length' in content)) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"dependencies": {
"extend": "^3.0.0",
"is-absolute-url": "^3.0.0",
"mdast-util-definitions": "^4.0.0",
"space-separated-tokens": "^1.0.0",
"unist-util-visit": "^2.0.0"
"mdast-util-definitions": "^5.0.0",
"space-separated-tokens": "^2.0.0",
"unist-util-visit": "^4.0.0"
},
"devDependencies": {
"c8": "^7.0.0",
Expand Down

0 comments on commit 598cd94

Please sign in to comment.