From fb943f64b74606896ff36c589b5071854b097a31 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Mon, 14 Nov 2022 09:56:47 +0800 Subject: [PATCH] chore(deps): revert update dependency @mdx-js/react to v2 (#1861) Reverts JellyfishSDK/jellyfish#1831 --- package-lock.json | 83 ++++++++------------------------------------ website/package.json | 2 +- 2 files changed, 16 insertions(+), 69 deletions(-) diff --git a/package-lock.json b/package-lock.json index 416eaeab6..8d01d2685 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2908,18 +2908,6 @@ "react-dom": "^16.8.4 || ^17.0.0" } }, - "node_modules/@docusaurus/theme-classic/node_modules/@mdx-js/react": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", - "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - }, - "peerDependencies": { - "react": "^16.13.1 || ^17.0.0" - } - }, "node_modules/@docusaurus/theme-common": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.1.0.tgz", @@ -5073,19 +5061,15 @@ } }, "node_modules/@mdx-js/react": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.5.tgz", - "integrity": "sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw==", - "dependencies": { - "@types/mdx": "^2.0.0", - "@types/react": ">=16" - }, + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" }, "peerDependencies": { - "react": ">=16" + "react": "^16.13.1 || ^17.0.0" } }, "node_modules/@mdx-js/util": { @@ -6798,11 +6782,6 @@ "@types/unist": "*" } }, - "node_modules/@types/mdx": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", - "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" - }, "node_modules/@types/memdown": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/memdown/-/memdown-3.0.0.tgz", @@ -26102,7 +26081,7 @@ "dependencies": { "@docusaurus/core": "2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@mdx-js/react": "2.1.5", + "@mdx-js/react": "1.6.22", "clsx": "1.2.1", "react": "18.2.0", "react-dom": "18.2.0" @@ -27984,7 +27963,7 @@ "@docusaurus/module-type-aliases": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@docusaurus/types": "2.1.0", - "@mdx-js/react": "2.1.5", + "@mdx-js/react": "1.6.22", "@tsconfig/docusaurus": "1.0.6", "@types/react": "18.0.23", "@types/react-helmet": "6.1.5", @@ -28402,14 +28381,6 @@ "rtlcss": "^3.5.0", "tslib": "^2.4.0", "utility-types": "^3.10.0" - }, - "dependencies": { - "@mdx-js/react": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", - "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", - "requires": {} - } } }, "@docusaurus/theme-common": { @@ -30121,13 +30092,10 @@ } }, "@mdx-js/react": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.5.tgz", - "integrity": "sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw==", - "requires": { - "@types/mdx": "^2.0.0", - "@types/react": ">=16" - } + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "requires": {} }, "@mdx-js/util": { "version": "1.6.22", @@ -31388,11 +31356,6 @@ "@types/unist": "*" } }, - "@types/mdx": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", - "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" - }, "@types/memdown": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/memdown/-/memdown-3.0.0.tgz", @@ -36154,7 +36117,7 @@ "@docusaurus/module-type-aliases": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@docusaurus/types": "2.1.0", - "@mdx-js/react": "2.1.5", + "@mdx-js/react": "1.6.22", "@tsconfig/docusaurus": "1.0.6", "@types/react": "18.0.23", "@types/react-helmet": "6.1.5", @@ -36572,14 +36535,6 @@ "rtlcss": "^3.5.0", "tslib": "^2.4.0", "utility-types": "^3.10.0" - }, - "dependencies": { - "@mdx-js/react": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", - "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", - "requires": {} - } } }, "@docusaurus/theme-common": { @@ -38291,13 +38246,10 @@ } }, "@mdx-js/react": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.5.tgz", - "integrity": "sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw==", - "requires": { - "@types/mdx": "^2.0.0", - "@types/react": ">=16" - } + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "requires": {} }, "@mdx-js/util": { "version": "1.6.22", @@ -39558,11 +39510,6 @@ "@types/unist": "*" } }, - "@types/mdx": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", - "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" - }, "@types/memdown": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/memdown/-/memdown-3.0.0.tgz", diff --git a/website/package.json b/website/package.json index 6fd17f0b0..b0a131ef5 100644 --- a/website/package.json +++ b/website/package.json @@ -15,7 +15,7 @@ "dependencies": { "@docusaurus/core": "2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@mdx-js/react": "2.1.5", + "@mdx-js/react": "1.6.22", "clsx": "1.2.1", "react": "18.2.0", "react-dom": "18.2.0"