From ab5f80a1ff8365a00497f41fdcde9cd327ed616e Mon Sep 17 00:00:00 2001 From: John Otander Date: Thu, 16 Jul 2020 12:20:22 -0600 Subject: [PATCH] fix(gatsby-plugin-mdx): Specify new minimum peerDep version for MDX (#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 --- packages/gatsby-plugin-mdx/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json index fc3d2a3a6bcad..caad96636dcdf 100644 --- a/packages/gatsby-plugin-mdx/package.json +++ b/packages/gatsby-plugin-mdx/package.json @@ -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",