Skip to content

Commit

Permalink
fix(gatsby-plugin-mdx): Specify new minimum peerDep version for MDX (#…
Browse files Browse the repository at this point in the history
…25798)

We recently began using a new API in MDX with #25437 which
doesn't exist for all versions below 1.5.9. This updates the
peer dep for MDX to ensure that the new minimum version is
specified.

Fixes #25691
  • Loading branch information
johno authored Jul 16, 2020
1 parent c82569f commit ab5f80a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"directory": "packages/gatsby-plugin-mdx"
},
"peerDependencies": {
"@mdx-js/mdx": "^1.0.0",
"@mdx-js/react": "^1.0.0"
"@mdx-js/mdx": "^1.5.9",
"@mdx-js/react": "^1.5.9"
},
"dependencies": {
"@babel/core": "^7.10.3",
Expand Down

0 comments on commit ab5f80a

Please sign in to comment.