Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rewriting of components for custom elements #2101

Merged
merged 19 commits into from Aug 17, 2022

Conversation

bholmesdev
Copy link
Contributor

@bholmesdev bholmesdev commented Aug 11, 2022

Resolves #2100

  • Writes invalid component identifiers to separate variables, with naming _component[#]
  • Use separate variables instead of _components object when jsx: true

@vercel
Copy link

vercel bot commented Aug 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
mdx ✅ Ready (Inspect) Visit Preview Aug 15, 2022 at 8:53PM (UTC)

@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2022

Codecov Report

Merging #2101 (a9d93b2) into main (529b96a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #2101   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines         2009      2044   +35     
=========================================
+ Hits          2009      2044   +35     
Impacted Files Coverage Δ
packages/mdx/lib/plugin/recma-jsx-rewrite.js 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@wooorm wooorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. One important thing. One small thing. One stylistic thing!

packages/mdx/lib/plugin/recma-jsx-rewrite.js Outdated Show resolved Hide resolved
packages/mdx/lib/plugin/recma-jsx-rewrite.js Outdated Show resolved Hide resolved
packages/mdx/test/compile.js Outdated Show resolved Hide resolved
'}',
'function MDXContent(props = {}) {',
' const {wrapper: MDXLayout} = props.components || ({});',
' const _component0 = "a-b", {wrapper: MDXLayout} = props.components || ({});',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here as above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I think I understand this prop a bit better now. Looks like I didn't implement this right! I'll rework 👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, thanks!
You could also likely set it on that destructuring object, alongside wrapper: MDXLayout? You may need to set a computed field in the AST or so though 🤔: https://astexplorer.net/#/gist/702f0315bf76ddbaf45a0928b0b06e96/784539f882835483b4541f9eff8d81ec4a327733

Copy link
Member

@wooorm wooorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting very close, thanks for your continued work! One big thing, rest are nits

packages/mdx/lib/plugin/recma-jsx-rewrite.js Outdated Show resolved Hide resolved
] of invalidComponentNameToVariable) {
_componentsId,
_componentName
] of idToInvalidComponentName) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still kinda like name, value better, but I’m not blocking on this.
I feel a bit more strongly about not using _ to start variable names, that is often used with variables (parameters) to mark them as explicitly not used

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, removed those _s! I also tried using name and value, but noticed it leads to {value: name} and {name: value} in the sections where they're used. It... kinda made my head spin, so I chose [id, componentName] instead 😆

packages/mdx/lib/plugin/recma-jsx-rewrite.js Outdated Show resolved Hide resolved
packages/mdx/test/compile.js Outdated Show resolved Hide resolved
bholmesdev and others added 3 commits August 15, 2022 16:39
Co-authored-by: Titus <tituswormer@gmail.com>
Co-authored-by: Titus <tituswormer@gmail.com>
@bholmesdev
Copy link
Contributor Author

@wooorm Alright, I think we finally nailed it. Ready for review 😁

@wooorm wooorm changed the title Fix custom element serialization for jsx: true Fix rewriting of components for custom elements Aug 17, 2022
@wooorm wooorm merged commit 9904838 into mdx-js:main Aug 17, 2022
@wooorm wooorm added 🐛 type/bug This is a problem 🗄 area/interface This affects the public interface 💪 phase/solved Post is done labels Aug 17, 2022
@wooorm
Copy link
Member

wooorm commented Aug 17, 2022

Released in 2.1.3!

@bholmesdev
Copy link
Contributor Author

@wooorm Woo! Thanks for the thorough review and feedback here. Already learned a ton about the MDX project ❤️

wooorm added a commit that referenced this pull request Oct 11, 2022
This fixes a bug, uncovered in #2112 and in #2123,
which is rather unlikely to occur.
It only occurs when:

1.  Custom elements (such as `<a-b></a-b>`) are injected (not authored)
    into a tree
2.  Either:
    1.  A layout component is defined within an MDX document
    2.  A provider is used, and any component is defined within MDX
        documents

In those cases, an accidental `const ;` was injected into the final
serialized document.
Which caused anything trying to run the code to crash.

The problem was introduced in 9904838, the commit message of which
sheds some light on why custom elements are peculiar and need extra
handling.

We track which component contains which other components.
If some component uses `<A />`, then some code to handle `A` is
injected in that component.
If a different component uses `<B />`, some code for `B` is injected
inside it.
But the components don’t need to know about what’s used in other
components.

This mechanism had a mistake for custom elements: they were tracked
globally.
This commit fixes that, by tracking them scoped to the component that
includes them.

Related-to: GH-2100.
Related-to: GH-2101.

Closes GH-2112.
Closes GH-2123.

Co-authored-by: Caleb Eby <caleb.eby01@gmail.com>
Co-authored-by: bholmesdev <hey@bholmes.dev>
fuxingloh pushed a commit to BirthdayResearch/jellyfishsdk that referenced this pull request Oct 19, 2022
[![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

<details>
<summary>mdx-js/mdx</summary>

### [`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**: mdx-js/mdx@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 [@&#8203;Twipped](https://togithub.com/Twipped) in
[mdx-js/mdx#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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in
[mdx-js/mdx#2118
- [`996771a`](https://togithub.com/mdx-js/mdx/commit/996771ae) Add
missing `import` to site example
by [@&#8203;elpddev](https://togithub.com/elpddev) in
[mdx-js/mdx#2115

**Full Changelog**: mdx-js/mdx@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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in
[mdx-js/mdx#2101

##### Docs

- [`69a15b7`](https://togithub.com/mdx-js/mdx/commit/69a15b76) Add link
to official `mdx-js/vscode-mdx`
by [@&#8203;jasikpark](https://togithub.com/jasikpark) in
[mdx-js/mdx#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**: mdx-js/mdx@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 [@&#8203;0phoff](https://togithub.com/0phoff) in
[mdx-js/mdx#2062
- [`f77c33f`](https://togithub.com/mdx-js/mdx/commit/f77c33f5) Fix
support for `baseUrl` rewriting `import.meta.url`
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[mdx-js/mdx#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 [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2040
- [`7f9a5f4`](https://togithub.com/mdx-js/mdx/commit/7f9a5f4e) Add
improved getting started for current CRA 5 integration
by [@&#8203;userzimmermann](https://togithub.com/userzimmermann) in
[mdx-js/mdx#2010
- [`5fa82d8`](https://togithub.com/mdx-js/mdx/commit/5fa82d81) Add
`recma-nextjs-static-props` to list of plugins
by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2033
- [`3c51a43`](https://togithub.com/mdx-js/mdx/commit/3c51a434) Add
`remark-mdx-math-enhanced` to list of plugins
by [@&#8203;mattvague](https://togithub.com/mattvague) in
[mdx-js/mdx#2028

**Full Changelog**: mdx-js/mdx@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 [@&#8203;vlad-zhukov](https://togithub.com/vlad-zhukov) in
[mdx-js/mdx#1986,
[mdx-js/mdx#1988

**Full Changelog**: mdx-js/mdx@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 [@&#8203;stefanprobst](https://togithub.com/stefanprobst) in
[mdx-js/mdx#1935
- [`5d4355e`](https://togithub.com/mdx-js/mdx/commit/5d4355e4) **patch**
replace `got` w/ `node-fetch`
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[mdx-js/mdx#1978
- [`656a4ae`](https://togithub.com/mdx-js/mdx/commit/656a4ae5) **patch**
remove use of `URL` from `url`
by [@&#8203;zfben](https://togithub.com/zfben) in
[mdx-js/mdx#1976
- [`3f739a3`](https://togithub.com/mdx-js/mdx/commit/3f739a34) **patch**
add missing dependency
by [@&#8203;bensmithett](https://togithub.com/bensmithett) in
[mdx-js/mdx#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 [@&#8203;homumado](https://togithub.com/homumado) in
[mdx-js/mdx#1975
and
[mdx-js/mdx#1931,
and by [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC) in
[mdx-js/mdx#1928

##### Docs

- [`e6f6bc8`](https://togithub.com/mdx-js/mdx/commit/e6f6bc85) Fix to
improve example
by [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga) in
[mdx-js/mdx#1961
- [`e527ac7`](https://togithub.com/mdx-js/mdx/commit/e527ac75) Fix typo
by [@&#8203;jbesomi](https://togithub.com/jbesomi) in
[mdx-js/mdx#1949

**New Contributors**: Thanks
[@&#8203;VitorLuizC](https://togithub.com/VitorLuizC),
[@&#8203;homumado](https://togithub.com/homumado),
[@&#8203;bensmithett](https://togithub.com/bensmithett),
[@&#8203;stefanprobst](https://togithub.com/stefanprobst),
[@&#8203;jbesomi](https://togithub.com/jbesomi),
[@&#8203;dawidjaniga](https://togithub.com/dawidjaniga),
[@&#8203;zfben](https://togithub.com/zfben)

**Full Changelog**: mdx-js/mdx@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/

<details><summary>Changelog since last RC</summary>

##### `@mdx-js/mdx`

- [`4a48f1f`](https://togithub.com/mdx-js/mdx/commit/4a48f1f4) Fix
custom elements
([#&#8203;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
([#&#8203;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
([#&#8203;1912](https://togithub.com/mdx-js/mdx/issues/1912),
[#&#8203;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
([#&#8203;1854](https://togithub.com/mdx-js/mdx/issues/1854))

##### `remark-mdx`

- [`a5daaad`](https://togithub.com/mdx-js/mdx/commit/a5daaad6) Update
`mdast-util-mdx`
([#&#8203;1925](https://togithub.com/mdx-js/mdx/issues/1925))

</details>

#### New Contributors

Thanks [@&#8203;redallen](https://togithub.com/redallen),
[@&#8203;lonyele](https://togithub.com/lonyele),
[@&#8203;PaulieScanlon](https://togithub.com/PaulieScanlon),
[@&#8203;pd4d10](https://togithub.com/pd4d10),
[@&#8203;Gowee](https://togithub.com/Gowee),
[@&#8203;mskelton](https://togithub.com/mskelton),
[@&#8203;ihupoo](https://togithub.com/ihupoo),
[@&#8203;remcohaszing](https://togithub.com/remcohaszing),
[@&#8203;loreanvictor](https://togithub.com/loreanvictor),
[@&#8203;ChrisChinchilla](https://togithub.com/ChrisChinchilla),
[@&#8203;glitteringkatie](https://togithub.com/glitteringkatie),
[@&#8203;mvasilkov](https://togithub.com/mvasilkov),
[@&#8203;jablko](https://togithub.com/jablko),
[@&#8203;michaeloliverx](https://togithub.com/michaeloliverx),
[@&#8203;yordis](https://togithub.com/yordis),
[@&#8203;rodrez](https://togithub.com/rodrez),
[@&#8203;imballinst](https://togithub.com/imballinst),
[@&#8203;gaearon](https://togithub.com/gaearon).

**Full Changelog**: mdx-js/mdx@v1.6.3...2.0.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDAuNCIsInVwZGF0ZWRJblZlciI6IjMyLjI0MC40In0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jeff-mccoy pushed a commit to defenseunicorns/zarf that referenced this pull request Jan 28, 2023
[![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.0.0`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/1.6.22/2.2.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mdx-js/mdx</summary>

### [`v2.2.1`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.1)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.2.0...2.2.1)

- [`e293eaf`](https://togithub.com/mdx-js/mdx/commit/e293eafa) Remove
`assert/strict` for Node 14

**Full Changelog**: mdx-js/mdx@2.2.0...2.2.1

### [`v2.2.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.0)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.5...2.2.0)

##### Features

- [`641eb91`](https://togithub.com/mdx-js/mdx/commit/641eb917) Add
support JSX development runtime
by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2045

##### Patches

- [`3e0ab23`](https://togithub.com/mdx-js/mdx/commit/3e0ab236) Fix
`@mdx-js/node-loader` from patching all runtimes

##### Docs

- [`4a1415d`](https://togithub.com/mdx-js/mdx/commit/4a1415d2) Add note
about use with `vite-plugin-react`
- [`38c2d46`](https://togithub.com/mdx-js/mdx/commit/38c2d46a) Add note
about `rollup@2` in Vite
by [@&#8203;ryuujo1573](https://togithub.com/ryuujo1573) in
[mdx-js/mdx#2180
- [`caac5df`](https://togithub.com/mdx-js/mdx/commit/caac5df4) Update
docs for `solid-js` supporting JSX
- [`3a50cc3`](https://togithub.com/mdx-js/mdx/commit/3a50cc35) Add Solid
to JSX section in Getting Started guide
by [@&#8203;Djunnni](https://togithub.com/Djunnni) in
[mdx-js/mdx#2159
- [`1c83612`](https://togithub.com/mdx-js/mdx/commit/1c836126) Fix docs
on types
- [`2635caf`](https://togithub.com/mdx-js/mdx/commit/2635caf9) Replace
deprecated Intellij plugin in docs
by [@&#8203;slorber](https://togithub.com/slorber) in
[mdx-js/mdx#2178

**Full Changelog**: mdx-js/mdx@2.1.5...2.2.0

### [`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**: mdx-js/mdx@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 [@&#8203;Twipped](https://togithub.com/Twipped) in
[mdx-js/mdx#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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in
[mdx-js/mdx#2118
- [`996771a`](https://togithub.com/mdx-js/mdx/commit/996771ae) Add
missing `import` to site example
by [@&#8203;elpddev](https://togithub.com/elpddev) in
[mdx-js/mdx#2115

**Full Changelog**: mdx-js/mdx@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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in
[mdx-js/mdx#2101

##### Docs

- [`69a15b7`](https://togithub.com/mdx-js/mdx/commit/69a15b76) Add link
to official `mdx-js/vscode-mdx`
by [@&#8203;jasikpark](https://togithub.com/jasikpark) in
[mdx-js/mdx#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**: mdx-js/mdx@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 [@&#8203;0phoff](https://togithub.com/0phoff) in
[mdx-js/mdx#2062
- [`f77c33f`](https://togithub.com/mdx-js/mdx/commit/f77c33f5) Fix
support for `baseUrl` rewriting `import.meta.url`
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[mdx-js/mdx#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 [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2040
- [`7f9a5f4`](https://togithub.com/mdx-js/mdx/commit/7f9a5f4e) Add
improved getting started for current CRA 5 integration
by [@&#8203;userzimmermann](https://togithub.com/userzimmermann) in
[mdx-js/mdx#2010
- [`5fa82d8`](https://togithub.com/mdx-js/mdx/commit/5fa82d81) Add
`recma-nextjs-static-props` to list of plugins
by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2033
- [`3c51a43`](https://togithub.com/mdx-js/mdx/commit/3c51a434) Add
`remark-mdx-math-enhanced` to list of plugins
by [@&#8203;mattvague](https://togithub.com/mattvague) in
[mdx-js/mdx#2028

**Full Changelog**: mdx-js/mdx@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 [@&#8203;vlad-zhukov](https://togithub.com/vlad-zhukov) in
[mdx-js/mdx#1986,
[mdx-js/mdx#1988

**Full Changelog**: mdx-js/mdx@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 [@&#8203;stefanprobst](https://togithub.com/stefanprobst) in
[mdx-js/mdx#1935
- [`5d4355e`](https://togithub.com/mdx-js/mdx/commit/5d4355e4) **patch**
replace `got` w/ `node-fetch`
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[mdx-js/mdx#1978
- [`656a4ae`](https://togithub.com/mdx-js/mdx/commit/656a4ae5) **patch**
remove use of `URL` from `url`
by [@&#8203;zfben](https://togithub.com/zfben) in
[mdx-js/mdx#1976
- [`3f739a3`](https://togithub.com/mdx-js/mdx/commit/3f739a34) **patch**
add missing dependency
by [@&#8203;bensmithett](https://togithub.com/bensmithett) in
[mdx-js/mdx#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 [@&#8203;homumado](https://togithub.com/homumado) in
[mdx-js/mdx#1975
and
[mdx-js/mdx#1931,
and by [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC) in
[mdx-js/mdx#1928

##### Docs

- [`e6f6bc8`](https://togithub.com/mdx-js/mdx/commit/e6f6bc85) Fix to
improve example
by [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga) in
[mdx-js/mdx#1961
- [`e527ac7`](https://togithub.com/mdx-js/mdx/commit/e527ac75) Fix typo
by [@&#8203;jbesomi](https://togithub.com/jbesomi) in
[mdx-js/mdx#1949

**New Contributors**: Thanks
[@&#8203;VitorLuizC](https://togithub.com/VitorLuizC),
[@&#8203;homumado](https://togithub.com/homumado),
[@&#8203;bensmithett](https://togithub.com/bensmithett),
[@&#8203;stefanprobst](https://togithub.com/stefanprobst),
[@&#8203;jbesomi](https://togithub.com/jbesomi),
[@&#8203;dawidjaniga](https://togithub.com/dawidjaniga),
[@&#8203;zfben](https://togithub.com/zfben)

**Full Changelog**: mdx-js/mdx@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/

<details><summary>Changelog since last RC</summary>

##### `@mdx-js/mdx`

- [`4a48f1f`](https://togithub.com/mdx-js/mdx/commit/4a48f1f4) Fix
custom elements
([#&#8203;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
([#&#8203;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
([#&#8203;1912](https://togithub.com/mdx-js/mdx/issues/1912),
[#&#8203;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
([#&#8203;1854](https://togithub.com/mdx-js/mdx/issues/1854))

##### `remark-mdx`

- [`a5daaad`](https://togithub.com/mdx-js/mdx/commit/a5daaad6) Update
`mdast-util-mdx`
([#&#8203;1925](https://togithub.com/mdx-js/mdx/issues/1925))

</details>

#### New Contributors

Thanks [@&#8203;redallen](https://togithub.com/redallen),
[@&#8203;lonyele](https://togithub.com/lonyele),
[@&#8203;PaulieScanlon](https://togithub.com/PaulieScanlon),
[@&#8203;pd4d10](https://togithub.com/pd4d10),
[@&#8203;Gowee](https://togithub.com/Gowee),
[@&#8203;mskelton](https://togithub.com/mskelton),
[@&#8203;ihupoo](https://togithub.com/ihupoo),
[@&#8203;remcohaszing](https://togithub.com/remcohaszing),
[@&#8203;loreanvictor](https://togithub.com/loreanvictor),
[@&#8203;ChrisChinchilla](https://togithub.com/ChrisChinchilla),
[@&#8203;glitteringkatie](https://togithub.com/glitteringkatie),
[@&#8203;mvasilkov](https://togithub.com/mvasilkov),
[@&#8203;jablko](https://togithub.com/jablko),
[@&#8203;michaeloliverx](https://togithub.com/michaeloliverx),
[@&#8203;yordis](https://togithub.com/yordis),
[@&#8203;rodrez](https://togithub.com/rodrez),
[@&#8203;imballinst](https://togithub.com/imballinst),
[@&#8203;gaearon](https://togithub.com/gaearon).

**Full Changelog**: mdx-js/mdx@v1.6.3...2.0.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

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/defenseunicorns/zarf).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExMS4xIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Noxsios pushed a commit to defenseunicorns/zarf that referenced this pull request Mar 8, 2023
[![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.0.0`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/1.6.22/2.2.1)
|
[![age](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.2.1/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mdx-js/mdx</summary>

### [`v2.2.1`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.1)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.2.0...2.2.1)

- [`e293eaf`](https://togithub.com/mdx-js/mdx/commit/e293eafa) Remove
`assert/strict` for Node 14

**Full Changelog**: mdx-js/mdx@2.2.0...2.2.1

### [`v2.2.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.0)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.5...2.2.0)

##### Features

- [`641eb91`](https://togithub.com/mdx-js/mdx/commit/641eb917) Add
support JSX development runtime
by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2045

##### Patches

- [`3e0ab23`](https://togithub.com/mdx-js/mdx/commit/3e0ab236) Fix
`@mdx-js/node-loader` from patching all runtimes

##### Docs

- [`4a1415d`](https://togithub.com/mdx-js/mdx/commit/4a1415d2) Add note
about use with `vite-plugin-react`
- [`38c2d46`](https://togithub.com/mdx-js/mdx/commit/38c2d46a) Add note
about `rollup@2` in Vite
by [@&#8203;ryuujo1573](https://togithub.com/ryuujo1573) in
[mdx-js/mdx#2180
- [`caac5df`](https://togithub.com/mdx-js/mdx/commit/caac5df4) Update
docs for `solid-js` supporting JSX
- [`3a50cc3`](https://togithub.com/mdx-js/mdx/commit/3a50cc35) Add Solid
to JSX section in Getting Started guide
by [@&#8203;Djunnni](https://togithub.com/Djunnni) in
[mdx-js/mdx#2159
- [`1c83612`](https://togithub.com/mdx-js/mdx/commit/1c836126) Fix docs
on types
- [`2635caf`](https://togithub.com/mdx-js/mdx/commit/2635caf9) Replace
deprecated Intellij plugin in docs
by [@&#8203;slorber](https://togithub.com/slorber) in
[mdx-js/mdx#2178

**Full Changelog**: mdx-js/mdx@2.1.5...2.2.0

### [`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**: mdx-js/mdx@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 [@&#8203;Twipped](https://togithub.com/Twipped) in
[mdx-js/mdx#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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in
[mdx-js/mdx#2118
- [`996771a`](https://togithub.com/mdx-js/mdx/commit/996771ae) Add
missing `import` to site example
by [@&#8203;elpddev](https://togithub.com/elpddev) in
[mdx-js/mdx#2115

**Full Changelog**: mdx-js/mdx@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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in
[mdx-js/mdx#2101

##### Docs

- [`69a15b7`](https://togithub.com/mdx-js/mdx/commit/69a15b76) Add link
to official `mdx-js/vscode-mdx`
by [@&#8203;jasikpark](https://togithub.com/jasikpark) in
[mdx-js/mdx#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**: mdx-js/mdx@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 [@&#8203;0phoff](https://togithub.com/0phoff) in
[mdx-js/mdx#2062
- [`f77c33f`](https://togithub.com/mdx-js/mdx/commit/f77c33f5) Fix
support for `baseUrl` rewriting `import.meta.url`
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[mdx-js/mdx#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 [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2040
- [`7f9a5f4`](https://togithub.com/mdx-js/mdx/commit/7f9a5f4e) Add
improved getting started for current CRA 5 integration
by [@&#8203;userzimmermann](https://togithub.com/userzimmermann) in
[mdx-js/mdx#2010
- [`5fa82d8`](https://togithub.com/mdx-js/mdx/commit/5fa82d81) Add
`recma-nextjs-static-props` to list of plugins
by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[mdx-js/mdx#2033
- [`3c51a43`](https://togithub.com/mdx-js/mdx/commit/3c51a434) Add
`remark-mdx-math-enhanced` to list of plugins
by [@&#8203;mattvague](https://togithub.com/mattvague) in
[mdx-js/mdx#2028

**Full Changelog**: mdx-js/mdx@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 [@&#8203;vlad-zhukov](https://togithub.com/vlad-zhukov) in
[mdx-js/mdx#1986,
[mdx-js/mdx#1988

**Full Changelog**: mdx-js/mdx@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 [@&#8203;stefanprobst](https://togithub.com/stefanprobst) in
[mdx-js/mdx#1935
- [`5d4355e`](https://togithub.com/mdx-js/mdx/commit/5d4355e4) **patch**
replace `got` w/ `node-fetch`
by [@&#8203;wooorm](https://togithub.com/wooorm) in
[mdx-js/mdx#1978
- [`656a4ae`](https://togithub.com/mdx-js/mdx/commit/656a4ae5) **patch**
remove use of `URL` from `url`
by [@&#8203;zfben](https://togithub.com/zfben) in
[mdx-js/mdx#1976
- [`3f739a3`](https://togithub.com/mdx-js/mdx/commit/3f739a34) **patch**
add missing dependency
by [@&#8203;bensmithett](https://togithub.com/bensmithett) in
[mdx-js/mdx#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 [@&#8203;homumado](https://togithub.com/homumado) in
[mdx-js/mdx#1975
and
[mdx-js/mdx#1931,
and by [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC) in
[mdx-js/mdx#1928

##### Docs

- [`e6f6bc8`](https://togithub.com/mdx-js/mdx/commit/e6f6bc85) Fix to
improve example
by [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga) in
[mdx-js/mdx#1961
- [`e527ac7`](https://togithub.com/mdx-js/mdx/commit/e527ac75) Fix typo
by [@&#8203;jbesomi](https://togithub.com/jbesomi) in
[mdx-js/mdx#1949

**New Contributors**: Thanks
[@&#8203;VitorLuizC](https://togithub.com/VitorLuizC),
[@&#8203;homumado](https://togithub.com/homumado),
[@&#8203;bensmithett](https://togithub.com/bensmithett),
[@&#8203;stefanprobst](https://togithub.com/stefanprobst),
[@&#8203;jbesomi](https://togithub.com/jbesomi),
[@&#8203;dawidjaniga](https://togithub.com/dawidjaniga),
[@&#8203;zfben](https://togithub.com/zfben)

**Full Changelog**: mdx-js/mdx@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/

<details><summary>Changelog since last RC</summary>

##### `@mdx-js/mdx`

- [`4a48f1f`](https://togithub.com/mdx-js/mdx/commit/4a48f1f4) Fix
custom elements
([#&#8203;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
([#&#8203;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
([#&#8203;1912](https://togithub.com/mdx-js/mdx/issues/1912),
[#&#8203;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
([#&#8203;1854](https://togithub.com/mdx-js/mdx/issues/1854))

##### `remark-mdx`

- [`a5daaad`](https://togithub.com/mdx-js/mdx/commit/a5daaad6) Update
`mdast-util-mdx`
([#&#8203;1925](https://togithub.com/mdx-js/mdx/issues/1925))

</details>

#### New Contributors

Thanks [@&#8203;redallen](https://togithub.com/redallen),
[@&#8203;lonyele](https://togithub.com/lonyele),
[@&#8203;PaulieScanlon](https://togithub.com/PaulieScanlon),
[@&#8203;pd4d10](https://togithub.com/pd4d10),
[@&#8203;Gowee](https://togithub.com/Gowee),
[@&#8203;mskelton](https://togithub.com/mskelton),
[@&#8203;ihupoo](https://togithub.com/ihupoo),
[@&#8203;remcohaszing](https://togithub.com/remcohaszing),
[@&#8203;loreanvictor](https://togithub.com/loreanvictor),
[@&#8203;ChrisChinchilla](https://togithub.com/ChrisChinchilla),
[@&#8203;glitteringkatie](https://togithub.com/glitteringkatie),
[@&#8203;mvasilkov](https://togithub.com/mvasilkov),
[@&#8203;jablko](https://togithub.com/jablko),
[@&#8203;michaeloliverx](https://togithub.com/michaeloliverx),
[@&#8203;yordis](https://togithub.com/yordis),
[@&#8203;rodrez](https://togithub.com/rodrez),
[@&#8203;imballinst](https://togithub.com/imballinst),
[@&#8203;gaearon](https://togithub.com/gaearon).

**Full Changelog**: mdx-js/mdx@v1.6.3...2.0.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

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/defenseunicorns/zarf).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExMS4xIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot pushed a commit to sullivanpj/open-system that referenced this pull request Jun 26, 2023
[![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.0.0`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/1.6.22/2.3.0) | [![age](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mdx-js/mdx (@&#8203;mdx-js/react)</summary>

### [`v2.3.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.3.0)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.2.1...2.3.0)

##### Add

-   [`12e63e8`](https://togithub.com/mdx-js/mdx/commit/12e63e83) Add improved support for non-React frameworks
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2255

##### Fix

-   [`764d3a2`](https://togithub.com/mdx-js/mdx/commit/764d3a23) Remove whitespace between unraveled text nodes
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2252
-   [`3911148`](https://togithub.com/mdx-js/mdx/commit/39111484) Add `module: node16` to `tsconfig.json`
    by [@&#8203;ChristianMurphy](https://togithub.com/ChristianMurphy) in [mdx-js/mdx#2228
-   [`600b12a`](https://togithub.com/mdx-js/mdx/commit/600b12ad) Add inferring of `development` options from webpack loader mode
    by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2201

##### Community

-   [`f4d78be`](https://togithub.com/mdx-js/mdx/commit/f4d78be5) Add `recma-mdx-displayname` to list of plugins
    by [@&#8203;domdomegg](https://togithub.com/domdomegg) in [mdx-js/mdx#2230
-   [`1f551a4`](https://togithub.com/mdx-js/mdx/commit/1f551a4d) Add `remark-mdx-chartjs` to list of plugins
    by [@&#8203;pangelani](https://togithub.com/pangelani) in [mdx-js/mdx#2221

##### Misc

-   [`97b9d59`](https://togithub.com/mdx-js/mdx/commit/97b9d590) Refactor to improve docs
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2254
-   [`8f85b30`](https://togithub.com/mdx-js/mdx/commit/8f85b300) Refactor `tsconfig.json`
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2250
-   [`a17ac87`](https://togithub.com/mdx-js/mdx/commit/a17ac87c) Refactor wording
    by [@&#8203;beeburrt](https://togithub.com/beeburrt) in [mdx-js/mdx#2214

**Full Changelog**: mdx-js/mdx@2.2.1...2.3.0

### [`v2.2.1`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.1)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.2.0...2.2.1)

-   [`e293eaf`](https://togithub.com/mdx-js/mdx/commit/e293eafa) Remove `assert/strict` for Node 14

**Full Changelog**: mdx-js/mdx@2.2.0...2.2.1

### [`v2.2.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.0)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.5...2.2.0)

##### Features

-   [`641eb91`](https://togithub.com/mdx-js/mdx/commit/641eb917) Add support JSX development runtime
    by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2045

##### Patches

-   [`3e0ab23`](https://togithub.com/mdx-js/mdx/commit/3e0ab236) Fix `@mdx-js/node-loader` from patching all runtimes

##### Docs

-   [`4a1415d`](https://togithub.com/mdx-js/mdx/commit/4a1415d2) Add note about use with `vite-plugin-react`
-   [`38c2d46`](https://togithub.com/mdx-js/mdx/commit/38c2d46a) Add note about `rollup@2` in Vite
    by [@&#8203;ryuujo1573](https://togithub.com/ryuujo1573) in [mdx-js/mdx#2180
-   [`caac5df`](https://togithub.com/mdx-js/mdx/commit/caac5df4) Update docs for `solid-js` supporting JSX
-   [`3a50cc3`](https://togithub.com/mdx-js/mdx/commit/3a50cc35) Add Solid to JSX section in Getting Started guide
    by [@&#8203;Djunnni](https://togithub.com/Djunnni) in [mdx-js/mdx#2159
-   [`1c83612`](https://togithub.com/mdx-js/mdx/commit/1c836126) Fix docs on types
-   [`2635caf`](https://togithub.com/mdx-js/mdx/commit/2635caf9) Replace deprecated Intellij plugin in docs
    by [@&#8203;slorber](https://togithub.com/slorber) in [mdx-js/mdx#2178

**Full Changelog**: mdx-js/mdx@2.1.5...2.2.0

### [`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**: mdx-js/mdx@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 [@&#8203;Twipped](https://togithub.com/Twipped) in [mdx-js/mdx#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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in [mdx-js/mdx#2118
-   [`996771a`](https://togithub.com/mdx-js/mdx/commit/996771ae) Add missing `import` to site example
    by [@&#8203;elpddev](https://togithub.com/elpddev) in [mdx-js/mdx#2115

**Full Changelog**: mdx-js/mdx@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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in [mdx-js/mdx#2101

##### Docs

-   [`69a15b7`](https://togithub.com/mdx-js/mdx/commit/69a15b76) Add link to official `mdx-js/vscode-mdx`
    by [@&#8203;jasikpark](https://togithub.com/jasikpark) in [mdx-js/mdx#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**: mdx-js/mdx@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 [@&#8203;0phoff](https://togithub.com/0phoff) in [mdx-js/mdx#2062
-   [`f77c33f`](https://togithub.com/mdx-js/mdx/commit/f77c33f5) Fix support for `baseUrl` rewriting `import.meta.url`
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#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 [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2040
-   [`7f9a5f4`](https://togithub.com/mdx-js/mdx/commit/7f9a5f4e) Add improved getting started for current CRA 5 integration
    by [@&#8203;userzimmermann](https://togithub.com/userzimmermann) in [mdx-js/mdx#2010
-   [`5fa82d8`](https://togithub.com/mdx-js/mdx/commit/5fa82d81) Add `recma-nextjs-static-props` to list of plugins
    by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2033
-   [`3c51a43`](https://togithub.com/mdx-js/mdx/commit/3c51a434) Add `remark-mdx-math-enhanced` to list of plugins
    by [@&#8203;mattvague](https://togithub.com/mattvague) in [mdx-js/mdx#2028

**Full Changelog**: mdx-js/mdx@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 [@&#8203;vlad-zhukov](https://togithub.com/vlad-zhukov) in [mdx-js/mdx#1986, [mdx-js/mdx#1988

**Full Changelog**: mdx-js/mdx@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 [@&#8203;stefanprobst](https://togithub.com/stefanprobst) in [mdx-js/mdx#1935
-   [`5d4355e`](https://togithub.com/mdx-js/mdx/commit/5d4355e4) **patch** replace `got` w/ `node-fetch`
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#1978
-   [`656a4ae`](https://togithub.com/mdx-js/mdx/commit/656a4ae5) **patch** remove use of `URL` from `url`
    by [@&#8203;zfben](https://togithub.com/zfben) in [mdx-js/mdx#1976
-   [`3f739a3`](https://togithub.com/mdx-js/mdx/commit/3f739a34) **patch** add missing dependency
    by [@&#8203;bensmithett](https://togithub.com/bensmithett) in [mdx-js/mdx#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 [@&#8203;homumado](https://togithub.com/homumado) in [mdx-js/mdx#1975 and [mdx-js/mdx#1931, and by [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC) in [mdx-js/mdx#1928

##### Docs

-   [`e6f6bc8`](https://togithub.com/mdx-js/mdx/commit/e6f6bc85) Fix to improve example
    by [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga) in [mdx-js/mdx#1961
-   [`e527ac7`](https://togithub.com/mdx-js/mdx/commit/e527ac75) Fix typo
    by [@&#8203;jbesomi](https://togithub.com/jbesomi) in [mdx-js/mdx#1949

**New Contributors**: Thanks [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC), [@&#8203;homumado](https://togithub.com/homumado), [@&#8203;bensmithett](https://togithub.com/bensmithett), [@&#8203;stefanprobst](https://togithub.com/stefanprobst), [@&#8203;jbesomi](https://togithub.com/jbesomi), [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga), [@&#8203;zfben](https://togithub.com/zfben)

**Full Changelog**: mdx-js/mdx@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/

<details><summary>Changelog since last RC</summary>

##### `@mdx-js/mdx`

-   [`4a48f1f`](https://togithub.com/mdx-js/mdx/commit/4a48f1f4) Fix custom elements ([#&#8203;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 ([#&#8203;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 ([#&#8203;1912](https://togithub.com/mdx-js/mdx/issues/1912), [#&#8203;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 ([#&#8203;1854](https://togithub.com/mdx-js/mdx/issues/1854))

##### `remark-mdx`

-   [`a5daaad`](https://togithub.com/mdx-js/mdx/commit/a5daaad6) Update `mdast-util-mdx` ([#&#8203;1925](https://togithub.com/mdx-js/mdx/issues/1925))

</details>

#### New Contributors

Thanks [@&#8203;redallen](https://togithub.com/redallen), [@&#8203;lonyele](https://togithub.com/lonyele), [@&#8203;PaulieScanlon](https://togithub.com/PaulieScanlon), [@&#8203;pd4d10](https://togithub.com/pd4d10), [@&#8203;Gowee](https://togithub.com/Gowee), [@&#8203;mskelton](https://togithub.com/mskelton), [@&#8203;ihupoo](https://togithub.com/ihupoo), [@&#8203;remcohaszing](https://togithub.com/remcohaszing), [@&#8203;loreanvictor](https://togithub.com/loreanvictor), [@&#8203;ChrisChinchilla](https://togithub.com/ChrisChinchilla), [@&#8203;glitteringkatie](https://togithub.com/glitteringkatie), [@&#8203;mvasilkov](https://togithub.com/mvasilkov), [@&#8203;jablko](https://togithub.com/jablko), [@&#8203;michaeloliverx](https://togithub.com/michaeloliverx), [@&#8203;yordis](https://togithub.com/yordis), [@&#8203;rodrez](https://togithub.com/rodrez), [@&#8203;imballinst](https://togithub.com/imballinst), [@&#8203;gaearon](https://togithub.com/gaearon).

**Full Changelog**: mdx-js/mdx@v1.6.3...2.0.0

</details>

---

### 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, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sullivanpj/open-system).
kodiakhq bot pushed a commit to sullivanpj/open-system that referenced this pull request Jun 26, 2023
[![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.0.0`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/1.6.22/2.3.0) | [![age](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/compatibility-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@mdx-js%2freact/2.3.0/confidence-slim/1.6.22)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mdx-js/mdx (@&#8203;mdx-js/react)</summary>

### [`v2.3.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.3.0)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.2.1...2.3.0)

##### Add

-   [`12e63e8`](https://togithub.com/mdx-js/mdx/commit/12e63e83) Add improved support for non-React frameworks
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2255

##### Fix

-   [`764d3a2`](https://togithub.com/mdx-js/mdx/commit/764d3a23) Remove whitespace between unraveled text nodes
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2252
-   [`3911148`](https://togithub.com/mdx-js/mdx/commit/39111484) Add `module: node16` to `tsconfig.json`
    by [@&#8203;ChristianMurphy](https://togithub.com/ChristianMurphy) in [mdx-js/mdx#2228
-   [`600b12a`](https://togithub.com/mdx-js/mdx/commit/600b12ad) Add inferring of `development` options from webpack loader mode
    by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2201

##### Community

-   [`f4d78be`](https://togithub.com/mdx-js/mdx/commit/f4d78be5) Add `recma-mdx-displayname` to list of plugins
    by [@&#8203;domdomegg](https://togithub.com/domdomegg) in [mdx-js/mdx#2230
-   [`1f551a4`](https://togithub.com/mdx-js/mdx/commit/1f551a4d) Add `remark-mdx-chartjs` to list of plugins
    by [@&#8203;pangelani](https://togithub.com/pangelani) in [mdx-js/mdx#2221

##### Misc

-   [`97b9d59`](https://togithub.com/mdx-js/mdx/commit/97b9d590) Refactor to improve docs
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2254
-   [`8f85b30`](https://togithub.com/mdx-js/mdx/commit/8f85b300) Refactor `tsconfig.json`
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#2250
-   [`a17ac87`](https://togithub.com/mdx-js/mdx/commit/a17ac87c) Refactor wording
    by [@&#8203;beeburrt](https://togithub.com/beeburrt) in [mdx-js/mdx#2214

**Full Changelog**: mdx-js/mdx@2.2.1...2.3.0

### [`v2.2.1`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.1)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.2.0...2.2.1)

-   [`e293eaf`](https://togithub.com/mdx-js/mdx/commit/e293eafa) Remove `assert/strict` for Node 14

**Full Changelog**: mdx-js/mdx@2.2.0...2.2.1

### [`v2.2.0`](https://togithub.com/mdx-js/mdx/releases/tag/2.2.0)

[Compare Source](https://togithub.com/mdx-js/mdx/compare/2.1.5...2.2.0)

##### Features

-   [`641eb91`](https://togithub.com/mdx-js/mdx/commit/641eb917) Add support JSX development runtime
    by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2045

##### Patches

-   [`3e0ab23`](https://togithub.com/mdx-js/mdx/commit/3e0ab236) Fix `@mdx-js/node-loader` from patching all runtimes

##### Docs

-   [`4a1415d`](https://togithub.com/mdx-js/mdx/commit/4a1415d2) Add note about use with `vite-plugin-react`
-   [`38c2d46`](https://togithub.com/mdx-js/mdx/commit/38c2d46a) Add note about `rollup@2` in Vite
    by [@&#8203;ryuujo1573](https://togithub.com/ryuujo1573) in [mdx-js/mdx#2180
-   [`caac5df`](https://togithub.com/mdx-js/mdx/commit/caac5df4) Update docs for `solid-js` supporting JSX
-   [`3a50cc3`](https://togithub.com/mdx-js/mdx/commit/3a50cc35) Add Solid to JSX section in Getting Started guide
    by [@&#8203;Djunnni](https://togithub.com/Djunnni) in [mdx-js/mdx#2159
-   [`1c83612`](https://togithub.com/mdx-js/mdx/commit/1c836126) Fix docs on types
-   [`2635caf`](https://togithub.com/mdx-js/mdx/commit/2635caf9) Replace deprecated Intellij plugin in docs
    by [@&#8203;slorber](https://togithub.com/slorber) in [mdx-js/mdx#2178

**Full Changelog**: mdx-js/mdx@2.1.5...2.2.0

### [`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**: mdx-js/mdx@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 [@&#8203;Twipped](https://togithub.com/Twipped) in [mdx-js/mdx#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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in [mdx-js/mdx#2118
-   [`996771a`](https://togithub.com/mdx-js/mdx/commit/996771ae) Add missing `import` to site example
    by [@&#8203;elpddev](https://togithub.com/elpddev) in [mdx-js/mdx#2115

**Full Changelog**: mdx-js/mdx@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 [@&#8203;bholmesdev](https://togithub.com/bholmesdev) in [mdx-js/mdx#2101

##### Docs

-   [`69a15b7`](https://togithub.com/mdx-js/mdx/commit/69a15b76) Add link to official `mdx-js/vscode-mdx`
    by [@&#8203;jasikpark](https://togithub.com/jasikpark) in [mdx-js/mdx#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**: mdx-js/mdx@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 [@&#8203;0phoff](https://togithub.com/0phoff) in [mdx-js/mdx#2062
-   [`f77c33f`](https://togithub.com/mdx-js/mdx/commit/f77c33f5) Fix support for `baseUrl` rewriting `import.meta.url`
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#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 [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2040
-   [`7f9a5f4`](https://togithub.com/mdx-js/mdx/commit/7f9a5f4e) Add improved getting started for current CRA 5 integration
    by [@&#8203;userzimmermann](https://togithub.com/userzimmermann) in [mdx-js/mdx#2010
-   [`5fa82d8`](https://togithub.com/mdx-js/mdx/commit/5fa82d81) Add `recma-nextjs-static-props` to list of plugins
    by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in [mdx-js/mdx#2033
-   [`3c51a43`](https://togithub.com/mdx-js/mdx/commit/3c51a434) Add `remark-mdx-math-enhanced` to list of plugins
    by [@&#8203;mattvague](https://togithub.com/mattvague) in [mdx-js/mdx#2028

**Full Changelog**: mdx-js/mdx@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 [@&#8203;vlad-zhukov](https://togithub.com/vlad-zhukov) in [mdx-js/mdx#1986, [mdx-js/mdx#1988

**Full Changelog**: mdx-js/mdx@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 [@&#8203;stefanprobst](https://togithub.com/stefanprobst) in [mdx-js/mdx#1935
-   [`5d4355e`](https://togithub.com/mdx-js/mdx/commit/5d4355e4) **patch** replace `got` w/ `node-fetch`
    by [@&#8203;wooorm](https://togithub.com/wooorm) in [mdx-js/mdx#1978
-   [`656a4ae`](https://togithub.com/mdx-js/mdx/commit/656a4ae5) **patch** remove use of `URL` from `url`
    by [@&#8203;zfben](https://togithub.com/zfben) in [mdx-js/mdx#1976
-   [`3f739a3`](https://togithub.com/mdx-js/mdx/commit/3f739a34) **patch** add missing dependency
    by [@&#8203;bensmithett](https://togithub.com/bensmithett) in [mdx-js/mdx#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 [@&#8203;homumado](https://togithub.com/homumado) in [mdx-js/mdx#1975 and [mdx-js/mdx#1931, and by [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC) in [mdx-js/mdx#1928

##### Docs

-   [`e6f6bc8`](https://togithub.com/mdx-js/mdx/commit/e6f6bc85) Fix to improve example
    by [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga) in [mdx-js/mdx#1961
-   [`e527ac7`](https://togithub.com/mdx-js/mdx/commit/e527ac75) Fix typo
    by [@&#8203;jbesomi](https://togithub.com/jbesomi) in [mdx-js/mdx#1949

**New Contributors**: Thanks [@&#8203;VitorLuizC](https://togithub.com/VitorLuizC), [@&#8203;homumado](https://togithub.com/homumado), [@&#8203;bensmithett](https://togithub.com/bensmithett), [@&#8203;stefanprobst](https://togithub.com/stefanprobst), [@&#8203;jbesomi](https://togithub.com/jbesomi), [@&#8203;dawidjaniga](https://togithub.com/dawidjaniga), [@&#8203;zfben](https://togithub.com/zfben)

**Full Changelog**: mdx-js/mdx@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/

<details><summary>Changelog since last RC</summary>

##### `@mdx-js/mdx`

-   [`4a48f1f`](https://togithub.com/mdx-js/mdx/commit/4a48f1f4) Fix custom elements ([#&#8203;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 ([#&#8203;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 ([#&#8203;1912](https://togithub.com/mdx-js/mdx/issues/1912), [#&#8203;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 ([#&#8203;1854](https://togithub.com/mdx-js/mdx/issues/1854))

##### `remark-mdx`

-   [`a5daaad`](https://togithub.com/mdx-js/mdx/commit/a5daaad6) Update `mdast-util-mdx` ([#&#8203;1925](https://togithub.com/mdx-js/mdx/issues/1925))

</details>

#### New Contributors

Thanks [@&#8203;redallen](https://togithub.com/redallen), [@&#8203;lonyele](https://togithub.com/lonyele), [@&#8203;PaulieScanlon](https://togithub.com/PaulieScanlon), [@&#8203;pd4d10](https://togithub.com/pd4d10), [@&#8203;Gowee](https://togithub.com/Gowee), [@&#8203;mskelton](https://togithub.com/mskelton), [@&#8203;ihupoo](https://togithub.com/ihupoo), [@&#8203;remcohaszing](https://togithub.com/remcohaszing), [@&#8203;loreanvictor](https://togithub.com/loreanvictor), [@&#8203;ChrisChinchilla](https://togithub.com/ChrisChinchilla), [@&#8203;glitteringkatie](https://togithub.com/glitteringkatie), [@&#8203;mvasilkov](https://togithub.com/mvasilkov), [@&#8203;jablko](https://togithub.com/jablko), [@&#8203;michaeloliverx](https://togithub.com/michaeloliverx), [@&#8203;yordis](https://togithub.com/yordis), [@&#8203;rodrez](https://togithub.com/rodrez), [@&#8203;imballinst](https://togithub.com/imballinst), [@&#8203;gaearon](https://togithub.com/gaearon).

**Full Changelog**: mdx-js/mdx@v1.6.3...2.0.0

</details>

---

### 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, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/sullivanpj/open-system).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗄 area/interface This affects the public interface 💪 phase/solved Post is done 🐛 type/bug This is a problem
Development

Successfully merging this pull request may close these issues.

jsx: true output does not handle custom elements correctly
3 participants