From b3626f6c2a9fe9021a46c95168ade97bb3f994af Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 22:02:40 +0800 Subject: [PATCH] bump(deps): update dependency @mdx-js/react to v2 (#1831) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mdx-js/react](https://mdxjs.com) ([source](https://togithub.com/mdx-js/mdx)) | [`1.6.22` -> `2.1.5`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/1.6.22/2.1.5) | [![age](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.1.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.1.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.1.5/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.1.5/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
mdx-js/mdx ### [`v2.1.5`](https://togithub.com/mdx-js/mdx/releases/tag/2.1.5) [Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.4...2.1.5) - [`90fa493`](https://togithub.com/mdx-js/mdx/commit/90fa4935) Fix bug with (injected) custom elements and layouts **Full Changelog**: https://github.com/mdx-js/mdx/compare/2.1.4...2.1.5 ### [`v2.1.4`](https://togithub.com/mdx-js/mdx/releases/tag/2.1.4) [Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.3...2.1.4) ##### Patches - [`9d2aa80`](https://togithub.com/mdx-js/mdx/commit/9d2aa80b) Add file, positional info to crashes in webpack loader by [@​Twipped](https://togithub.com/Twipped) in [https://github.com/mdx-js/mdx/pull/2124](https://togithub.com/mdx-js/mdx/pull/2124) - [`478c78b`](https://togithub.com/mdx-js/mdx/commit/478c78b7) Fix support for Node loaders ##### Docs - [`56d7066`](https://togithub.com/mdx-js/mdx/commit/56d70660) Add Astro to site generator docs by [@​bholmesdev](https://togithub.com/bholmesdev) in [https://github.com/mdx-js/mdx/pull/2118](https://togithub.com/mdx-js/mdx/pull/2118) - [`996771a`](https://togithub.com/mdx-js/mdx/commit/996771ae) Add missing `import` to site example by [@​elpddev](https://togithub.com/elpddev) in [https://github.com/mdx-js/mdx/pull/2115](https://togithub.com/mdx-js/mdx/pull/2115) **Full Changelog**: https://github.com/mdx-js/mdx/compare/2.1.3...2.1.4 ### [`v2.1.3`](https://togithub.com/mdx-js/mdx/releases/tag/2.1.3) [Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.2...2.1.3) ##### Core - [`9904838`](https://togithub.com/mdx-js/mdx/commit/9904838a) Fix rewriting of components for custom elements by [@​bholmesdev](https://togithub.com/bholmesdev) in [https://github.com/mdx-js/mdx/pull/2101](https://togithub.com/mdx-js/mdx/pull/2101) ##### Docs - [`69a15b7`](https://togithub.com/mdx-js/mdx/commit/69a15b76) Add link to official `mdx-js/vscode-mdx` by [@​jasikpark](https://togithub.com/jasikpark) in [https://github.com/mdx-js/mdx/pull/2098](https://togithub.com/mdx-js/mdx/pull/2098) ##### Internal stuff that slightly improve stuff - [`529b96a`](https://togithub.com/mdx-js/mdx/commit/529b96aa) Replace `astring` with `estree-util-to-js` - [`7d8dc11`](https://togithub.com/mdx-js/mdx/commit/7d8dc11c) Add `id` field to esbuild messages - [`7f37b95`](https://togithub.com/mdx-js/mdx/commit/7f37b95b) Update `@types/estree-jsx` **Full Changelog**: https://github.com/mdx-js/mdx/compare/2.1.2...2.1.3 ### [`v2.1.2`](https://togithub.com/mdx-js/mdx/releases/tag/2.1.2) [Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.1...2.1.2) ##### Core - [`7bcd705`](https://togithub.com/mdx-js/mdx/commit/7bcd7059) Fix some performance by improving vdom diffing by [@​0phoff](https://togithub.com/0phoff) in [https://github.com/mdx-js/mdx/pull/2062](https://togithub.com/mdx-js/mdx/pull/2062) - [`f77c33f`](https://togithub.com/mdx-js/mdx/commit/f77c33f5) Fix support for `baseUrl` rewriting `import.meta.url` by [@​wooorm](https://togithub.com/wooorm) in [https://github.com/mdx-js/mdx/pull/2021](https://togithub.com/mdx-js/mdx/pull/2021) ##### Docs - [`3579aa3`](https://togithub.com/mdx-js/mdx/commit/3579aa38) Add use of tla in docs - [`366ddb4`](https://togithub.com/mdx-js/mdx/commit/366ddb4d) Update examples in readme - [`63fd208`](https://togithub.com/mdx-js/mdx/commit/63fd208d) Add `@next/mdx` to Next.js getting started guide by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2040](https://togithub.com/mdx-js/mdx/pull/2040) - [`7f9a5f4`](https://togithub.com/mdx-js/mdx/commit/7f9a5f4e) Add improved getting started for current CRA 5 integration by [@​userzimmermann](https://togithub.com/userzimmermann) in [https://github.com/mdx-js/mdx/pull/2010](https://togithub.com/mdx-js/mdx/pull/2010) - [`5fa82d8`](https://togithub.com/mdx-js/mdx/commit/5fa82d81) Add `recma-nextjs-static-props` to list of plugins by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2033](https://togithub.com/mdx-js/mdx/pull/2033) - [`3c51a43`](https://togithub.com/mdx-js/mdx/commit/3c51a434) Add `remark-mdx-math-enhanced` to list of plugins by [@​mattvague](https://togithub.com/mattvague) in [https://github.com/mdx-js/mdx/pull/2028](https://togithub.com/mdx-js/mdx/pull/2028) **Full Changelog**: https://github.com/mdx-js/mdx/compare/2.1.1...2.1.2 ### [`v2.1.1`](https://togithub.com/mdx-js/mdx/releases/tag/2.1.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.0...2.1.1) - [`e79fc2b`](https://togithub.com/mdx-js/mdx/commit/e79fc2be) [`0df684b`](https://togithub.com/mdx-js/mdx/commit/0df684bc) Fix to improve `_missingMdxReference` by [@​vlad-zhukov](https://togithub.com/vlad-zhukov) in [https://github.com/mdx-js/mdx/pull/1986](https://togithub.com/mdx-js/mdx/pull/1986), [https://github.com/mdx-js/mdx/pull/1988](https://togithub.com/mdx-js/mdx/pull/1988) **Full Changelog**: https://github.com/mdx-js/mdx/compare/2.1.0...2.1.1 ### [`v2.1.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.1.0) [Compare Source](https://togithub.com/mdx-js/mdx/compare/2.0.0...2.1.0) ##### Core - [`aff6de4`](https://togithub.com/mdx-js/mdx/commit/aff6de4f) **minor** add support for passing options to `remark-rehype` by [@​stefanprobst](https://togithub.com/stefanprobst) in [https://github.com/mdx-js/mdx/pull/1935](https://togithub.com/mdx-js/mdx/pull/1935) - [`5d4355e`](https://togithub.com/mdx-js/mdx/commit/5d4355e4) **patch** replace `got` w/ `node-fetch` by [@​wooorm](https://togithub.com/wooorm) in [https://github.com/mdx-js/mdx/pull/1978](https://togithub.com/mdx-js/mdx/pull/1978) - [`656a4ae`](https://togithub.com/mdx-js/mdx/commit/656a4ae5) **patch** remove use of `URL` from `url` by [@​zfben](https://togithub.com/zfben) in [https://github.com/mdx-js/mdx/pull/1976](https://togithub.com/mdx-js/mdx/pull/1976) - [`3f739a3`](https://togithub.com/mdx-js/mdx/commit/3f739a34) **patch** add missing dependency by [@​bensmithett](https://togithub.com/bensmithett) in [https://github.com/mdx-js/mdx/pull/1936](https://togithub.com/mdx-js/mdx/pull/1936) ##### Site - [`2886021`](https://togithub.com/mdx-js/mdx/commit/28860214) [`71bc6ff`](https://togithub.com/mdx-js/mdx/commit/71bc6ff9) [`4b514e1`](https://togithub.com/mdx-js/mdx/commit/4b514e1a) Fix playground by [@​homumado](https://togithub.com/homumado) in [https://github.com/mdx-js/mdx/pull/1975](https://togithub.com/mdx-js/mdx/pull/1975) and [https://github.com/mdx-js/mdx/pull/1931](https://togithub.com/mdx-js/mdx/pull/1931), and by [@​VitorLuizC](https://togithub.com/VitorLuizC) in [https://github.com/mdx-js/mdx/pull/1928](https://togithub.com/mdx-js/mdx/pull/1928) ##### Docs - [`e6f6bc8`](https://togithub.com/mdx-js/mdx/commit/e6f6bc85) Fix to improve example by [@​dawidjaniga](https://togithub.com/dawidjaniga) in [https://github.com/mdx-js/mdx/pull/1961](https://togithub.com/mdx-js/mdx/pull/1961) - [`e527ac7`](https://togithub.com/mdx-js/mdx/commit/e527ac75) Fix typo by [@​jbesomi](https://togithub.com/jbesomi) in [https://github.com/mdx-js/mdx/pull/1949](https://togithub.com/mdx-js/mdx/pull/1949) **New Contributors**: Thanks [@​VitorLuizC](https://togithub.com/VitorLuizC), [@​homumado](https://togithub.com/homumado), [@​bensmithett](https://togithub.com/bensmithett), [@​stefanprobst](https://togithub.com/stefanprobst), [@​jbesomi](https://togithub.com/jbesomi), [@​dawidjaniga](https://togithub.com/dawidjaniga), [@​zfben](https://togithub.com/zfben) **Full Changelog**: https://github.com/mdx-js/mdx/compare/2.0.0...2.1.0 ### [`v2.0.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.0.0) [Compare Source](https://togithub.com/mdx-js/mdx/compare/v1.6.22...2.0.0) Welcome to MDX 2! See the of the website for everything: - MDX 2: https://mdxjs.com/blog/v2/ - Migrating: https://mdxjs.com/migrating/v2/
Changelog since last RC ##### `@mdx-js/mdx` - [`4a48f1f`](https://togithub.com/mdx-js/mdx/commit/4a48f1f4) Fix custom elements ([#​1911](https://togithub.com/mdx-js/mdx/issues/1911)) ##### `@mdx-js/react` - [`9ca9d40`](https://togithub.com/mdx-js/mdx/commit/9ca9d404) Fix unnecessary top-level context changes ([#​1924](https://togithub.com/mdx-js/mdx/issues/1924)) ##### `@mdx-js/loader` - [`e0b697a`](https://togithub.com/mdx-js/mdx/commit/e0b697ab) [`9d5501b`](https://togithub.com/mdx-js/mdx/commit/9d5501b2) Add improved webpack cache ([#​1912](https://togithub.com/mdx-js/mdx/issues/1912), [#​1916](https://togithub.com/mdx-js/mdx/issues/1916)) ##### `@mdx-js/esbuild` - [`5c61f57`](https://togithub.com/mdx-js/mdx/commit/5c61f577) Fix resolve base in esbuild loader ([#​1854](https://togithub.com/mdx-js/mdx/issues/1854)) ##### `remark-mdx` - [`a5daaad`](https://togithub.com/mdx-js/mdx/commit/a5daaad6) Update `mdast-util-mdx` ([#​1925](https://togithub.com/mdx-js/mdx/issues/1925))
#### New Contributors Thanks [@​redallen](https://togithub.com/redallen), [@​lonyele](https://togithub.com/lonyele), [@​PaulieScanlon](https://togithub.com/PaulieScanlon), [@​pd4d10](https://togithub.com/pd4d10), [@​Gowee](https://togithub.com/Gowee), [@​mskelton](https://togithub.com/mskelton), [@​ihupoo](https://togithub.com/ihupoo), [@​remcohaszing](https://togithub.com/remcohaszing), [@​loreanvictor](https://togithub.com/loreanvictor), [@​ChrisChinchilla](https://togithub.com/ChrisChinchilla), [@​glitteringkatie](https://togithub.com/glitteringkatie), [@​mvasilkov](https://togithub.com/mvasilkov), [@​jablko](https://togithub.com/jablko), [@​michaeloliverx](https://togithub.com/michaeloliverx), [@​yordis](https://togithub.com/yordis), [@​rodrez](https://togithub.com/rodrez), [@​imballinst](https://togithub.com/imballinst), [@​gaearon](https://togithub.com/gaearon). **Full Changelog**: https://github.com/mdx-js/mdx/compare/v1.6.3...2.0.0
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/JellyfishSDK/jellyfish). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 83 ++++++++++++++++++++++++++++++++++++-------- website/package.json | 2 +- 2 files changed, 69 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 10d8c18e2c..97aa679fde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2874,6 +2874,18 @@ "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", @@ -5027,15 +5039,19 @@ } }, "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==", + "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" + }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" }, "peerDependencies": { - "react": "^16.13.1 || ^17.0.0" + "react": ">=16" } }, "node_modules/@mdx-js/util": { @@ -6741,6 +6757,11 @@ "@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", @@ -26032,7 +26053,7 @@ "dependencies": { "@docusaurus/core": "2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "clsx": "1.2.1", "react": "17.0.2", "react-dom": "17.0.2" @@ -27859,7 +27880,7 @@ "@docusaurus/module-type-aliases": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@docusaurus/types": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "@tsconfig/docusaurus": "1.0.6", "@types/react": "17.0.48", "@types/react-helmet": "6.1.5", @@ -28250,6 +28271,14 @@ "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": { @@ -29961,10 +29990,13 @@ } }, "@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": {} + "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" + } }, "@mdx-js/util": { "version": "1.6.22", @@ -31218,6 +31250,11 @@ "@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", @@ -35955,7 +35992,7 @@ "@docusaurus/module-type-aliases": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@docusaurus/types": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "@tsconfig/docusaurus": "1.0.6", "@types/react": "17.0.48", "@types/react-helmet": "6.1.5", @@ -36346,6 +36383,14 @@ "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": { @@ -38057,10 +38102,13 @@ } }, "@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": {} + "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" + } }, "@mdx-js/util": { "version": "1.6.22", @@ -39314,6 +39362,11 @@ "@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 6e361588cb..b03f1b770c 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": "1.6.22", + "@mdx-js/react": "2.1.5", "clsx": "1.2.1", "react": "17.0.2", "react-dom": "17.0.2"