diff --git a/docs/package-lock.json b/docs/package-lock.json index f5e9f06c1da2..8871f7823c47 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -20,7 +20,7 @@ "gatsby-plugin-emotion": "^5.0.0", "gatsby-plugin-google-analytics": "^2.11.0", "gatsby-plugin-manifest": "^2.12.1", - "gatsby-plugin-mdx": "^2.2.0", + "gatsby-plugin-mdx": "^2.6.0", "gatsby-plugin-netlify": "^2.11.1", "gatsby-plugin-netlify-cache": "^1.2.0", "gatsby-plugin-offline": "^3.10.2", @@ -10859,9 +10859,9 @@ } }, "node_modules/gatsby-plugin-mdx": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.2.0.tgz", - "integrity": "sha512-pYh18HM8VkaBDmeSPqVqq3jxjStw1sQ8Kp3GPfBLDnldBKsyi6BOvXIHLR9dSO2h0qjji9evpLdm1U2cI+BTFQ==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.6.0.tgz", + "integrity": "sha512-8AhLjE2GHMi6hECV3J1ZLzUPf/UZTGSPRXODBm6Ey8UP8FSfgSGPrg/mgPIFEywP1ndAuz0DhjmDv41tfn9BmQ==", "dependencies": { "@babel/core": "^7.12.3", "@babel/generator": "^7.12.5", @@ -10878,7 +10878,7 @@ "escape-string-regexp": "^1.0.5", "eval": "^0.1.4", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.2.0", + "gatsby-core-utils": "^2.6.0", "gray-matter": "^4.0.2", "json5": "^2.1.3", "loader-utils": "^1.4.0", @@ -10899,6 +10899,12 @@ "unist-util-map": "^1.0.5", "unist-util-remove": "^1.0.3", "unist-util-visit": "^1.4.1" + }, + "peerDependencies": { + "@mdx-js/mdx": "^1.0.0", + "@mdx-js/react": "^1.0.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" } }, "node_modules/gatsby-plugin-mdx/node_modules/core-js": { @@ -10907,23 +10913,25 @@ "integrity": "sha512-MQx/7TLgmmDVamSyfE+O+5BHvG1aUGj/gHhLn1wVtm2B5u1eVIPvh7vkfjwWKNCjrTJB8+He99IntSQ1qP+vYQ==" }, "node_modules/gatsby-plugin-mdx/node_modules/file-type": { - "version": "16.3.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.3.0.tgz", - "integrity": "sha512-ZA0hV64611vJT42ltw0T9IDwHApQuxRdrmQZWTeDmeAUtZBBVSQW3nSQqhhW1cAgpXgqcJvm410BYHXJQ9AymA==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.0.tgz", + "integrity": "sha512-OxgWA9tbL8N/WP00GD1z8O0MiwQKFyWRs1q+3FhjdvcGgKqwxcejyGWso3n4/IMU6DdwV+ARZ4A7TTnPkDcSiw==", "dependencies": { "readable-web-to-node-stream": "^3.0.0", "strtok3": "^6.0.3", - "token-types": "^2.0.0", - "typedarray-to-buffer": "^3.1.5" + "token-types": "^2.0.0" }, "engines": { "node": ">=8" + }, + "funding": { + "url": "https://github.com/sindresorhus/file-type?sponsor=1" } }, "node_modules/gatsby-plugin-mdx/node_modules/gatsby-core-utils": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-2.2.0.tgz", - "integrity": "sha512-7T6aVJAj0u/VUg+zKOLuxyZLS/8KDQcDeEFCkKY0d7Pd4wV/QqKRLljr0TRVkivRZHXyWQI9fM3ox5DzfkHdCQ==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-2.6.0.tgz", + "integrity": "sha512-d8a/iblc3wIrLEOWTUcoK5uYE2DrvlQmeulx6DK3NY49KD8jet8ozB6T5GA1CftsvowWeO6aaDnoWDbTxIxTRA==", "dependencies": { "ci-info": "2.0.0", "configstore": "^5.0.1", @@ -37169,9 +37177,9 @@ } }, "gatsby-plugin-mdx": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.2.0.tgz", - "integrity": "sha512-pYh18HM8VkaBDmeSPqVqq3jxjStw1sQ8Kp3GPfBLDnldBKsyi6BOvXIHLR9dSO2h0qjji9evpLdm1U2cI+BTFQ==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-2.6.0.tgz", + "integrity": "sha512-8AhLjE2GHMi6hECV3J1ZLzUPf/UZTGSPRXODBm6Ey8UP8FSfgSGPrg/mgPIFEywP1ndAuz0DhjmDv41tfn9BmQ==", "requires": { "@babel/core": "^7.12.3", "@babel/generator": "^7.12.5", @@ -37188,7 +37196,7 @@ "escape-string-regexp": "^1.0.5", "eval": "^0.1.4", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.2.0", + "gatsby-core-utils": "^2.6.0", "gray-matter": "^4.0.2", "json5": "^2.1.3", "loader-utils": "^1.4.0", @@ -37217,20 +37225,19 @@ "integrity": "sha512-MQx/7TLgmmDVamSyfE+O+5BHvG1aUGj/gHhLn1wVtm2B5u1eVIPvh7vkfjwWKNCjrTJB8+He99IntSQ1qP+vYQ==" }, "file-type": { - "version": "16.3.0", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.3.0.tgz", - "integrity": "sha512-ZA0hV64611vJT42ltw0T9IDwHApQuxRdrmQZWTeDmeAUtZBBVSQW3nSQqhhW1cAgpXgqcJvm410BYHXJQ9AymA==", + "version": "16.5.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.0.tgz", + "integrity": "sha512-OxgWA9tbL8N/WP00GD1z8O0MiwQKFyWRs1q+3FhjdvcGgKqwxcejyGWso3n4/IMU6DdwV+ARZ4A7TTnPkDcSiw==", "requires": { "readable-web-to-node-stream": "^3.0.0", "strtok3": "^6.0.3", - "token-types": "^2.0.0", - "typedarray-to-buffer": "^3.1.5" + "token-types": "^2.0.0" } }, "gatsby-core-utils": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-2.2.0.tgz", - "integrity": "sha512-7T6aVJAj0u/VUg+zKOLuxyZLS/8KDQcDeEFCkKY0d7Pd4wV/QqKRLljr0TRVkivRZHXyWQI9fM3ox5DzfkHdCQ==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-2.6.0.tgz", + "integrity": "sha512-d8a/iblc3wIrLEOWTUcoK5uYE2DrvlQmeulx6DK3NY49KD8jet8ozB6T5GA1CftsvowWeO6aaDnoWDbTxIxTRA==", "requires": { "ci-info": "2.0.0", "configstore": "^5.0.1", diff --git a/docs/package.json b/docs/package.json index 98521627c233..036e0542cb1b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,7 +17,7 @@ "gatsby-plugin-emotion": "^5.0.0", "gatsby-plugin-google-analytics": "^2.11.0", "gatsby-plugin-manifest": "^2.12.1", - "gatsby-plugin-mdx": "^2.2.0", + "gatsby-plugin-mdx": "^2.6.0", "gatsby-plugin-netlify": "^2.11.1", "gatsby-plugin-netlify-cache": "^1.2.0", "gatsby-plugin-offline": "^3.10.2",