Refactor to handle uncaught webpack errors#2398
Conversation
A dynamic import may fail for various reasons. This was unhandled. This means the loader could wait indefinitely. Now it defers the error to Webpack.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2398 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 23 23
Lines 2693 2693
Branches 2 2
=========================================
Hits 2693 2693
☔ View full report in Codecov by Sentry. |
|
I don’t think |
|
This fails if any dependency breaks while importing. This should never occur, but people make mistakes. A dependency could be missing. People could mess with their |
|
right but the issue sounds like this affects users — but it just affects us while maintaining this, right? |
|
This affects users too. Any dependency can technically break at any time. And users can also mess with their own |
|
I mean, I don’t think people manually messing up their node_modules... Then they can break anything. They can break every package that way. |
|
Yes, they can break anything. In case of an import declaration, that means Node would crash. In case of a dynamic import, that means the promise rejects. This rejection needs to be handled. |
|
Thanks! |
|
Released in 3.0.1! Thanks! |
[](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/tree/HEAD/packages/react/)) | [`^3.0.0` -> `^3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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://developer.mend.io/github/manaelproxy/manael). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mdx-js/loader](https://mdxjs.com) ([source](https://togithub.com/mdx-js/mdx/tree/HEAD/packages/loader/)) | [`^3.0.0` -> `^3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2floader/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mdx-js/react](https://mdxjs.com) ([source](https://togithub.com/mdx-js/mdx/tree/HEAD/packages/react/)) | [`^3.0.0` -> `^3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/loader)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates 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://developer.mend.io/github/inabagumi/shinju-date). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mdx-js/loader](https://mdxjs.com) ([source](https://togithub.com/mdx-js/mdx/tree/HEAD/packages/loader/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2floader/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@mdx-js/react](https://mdxjs.com) ([source](https://togithub.com/mdx-js/mdx/tree/HEAD/packages/react/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/loader)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </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 these updates 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/X-oss-byte/Nextjs).
[](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/tree/HEAD/packages/react/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </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://developer.mend.io/github/agile-lab-dev/whitefox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Antonio Murgia <ing.murgia@icloud.com>
[](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/tree/HEAD/packages/react/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.16` -> `20.11.24`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.16/20.11.24) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.55` -> `18.2.61`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.55/18.2.61) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [isomorphic-dompurify](https://togithub.com/kkomelin/isomorphic-dompurify) | [`2.3.0` -> `2.4.0`](https://renovatebot.com/diffs/npm/isomorphic-dompurify/2.3.0/2.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [redocusaurus](https://redocusaurus.vercel.app/) ([source](https://togithub.com/rohit-gohri/redocusaurus)) | [`2.0.0` -> `2.0.1`](https://renovatebot.com/diffs/npm/redocusaurus/2.0.0/2.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [yaml](https://eemeli.org/yaml/) ([source](https://togithub.com/eemeli/yaml)) | [`2.3.4` -> `2.4.0`](https://renovatebot.com/diffs/npm/yaml/2.3.4/2.4.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </details> <details> <summary>kkomelin/isomorphic-dompurify (isomorphic-dompurify)</summary> ### [`v2.4.0`](https://togithub.com/kkomelin/isomorphic-dompurify/releases/tag/v2.4.0): Updated dependencies [Compare Source](https://togithub.com/kkomelin/isomorphic-dompurify/compare/v2.3.0...v2.4.0) ##### Changelog - \[x] Updated `dompurify` and other dependencies. See the [complete changelog](https://togithub.com/kkomelin/isomorphic-dompurify/compare/v2.3.0...v2.4.0) for more details. ##### Release [2.4.0](https://www.npmjs.com/package/isomorphic-dompurify/v/2.4.0) </details> <details> <summary>rohit-gohri/redocusaurus (redocusaurus)</summary> ### [`v2.0.1`](https://togithub.com/rohit-gohri/redocusaurus/blob/HEAD/CHANGELOG.md#redocusaurus201) [Compare Source](https://togithub.com/rohit-gohri/redocusaurus/compare/v2.0.0...v2.0.1) </details> <details> <summary>eemeli/yaml (yaml)</summary> ### [`v2.4.0`](https://togithub.com/eemeli/yaml/releases/tag/v2.4.0) [Compare Source](https://togithub.com/eemeli/yaml/compare/v2.3.4...v2.4.0) - Add a command-line tool ([#​523](https://togithub.com/eemeli/yaml/issues/523)) - Use the `lineWidth` option for line breaking in flow collections ([#​522](https://togithub.com/eemeli/yaml/issues/522)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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://developer.mend.io/github/woodpecker-ci/woodpecker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](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/tree/HEAD/packages/react/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Price <thedavid@thedavidprice.com>
[](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/tree/HEAD/packages/react/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://togithub.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://togithub.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://togithub.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://togithub.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://togithub.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://togithub.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://togithub.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://togithub.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://togithub.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://togithub.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://togithub.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://togithub.com/mdx-js/mdx/pull/2392) - [`680445d`](https://togithub.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://togithub.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://togithub.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Price <thedavid@thedavidprice.com>
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mdx-js/react](https://mdxjs.com) ([source](https://redirect.github.com/mdx-js/mdx/tree/HEAD/packages/react/)) | [`3.0.0` -> `3.0.1`](https://renovatebot.com/diffs/npm/@mdx-js%2freact/3.0.0/3.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://redirect.github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://redirect.github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://redirect.github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://redirect.github.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2438](https://redirect.github.com/mdx-js/mdx/pull/2438) - [`d1fface`](https://redirect.github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://redirect.github.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2398](https://redirect.github.com/mdx-js/mdx/pull/2398) ##### Types - [`c03e16c`](https://redirect.github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://redirect.github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://redirect.github.com/remcohaszing) in [https://github.com/mdx-js/mdx/pull/2386](https://redirect.github.com/mdx-js/mdx/pull/2386) ##### Site - [`38f7a5c`](https://redirect.github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://redirect.github.com/ManasMakde) in [https://github.com/mdx-js/mdx/pull/2392](https://redirect.github.com/mdx-js/mdx/pull/2392) - [`680445d`](https://redirect.github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://redirect.github.com/ky1ejs) in [https://github.com/mdx-js/mdx/pull/2383](https://redirect.github.com/mdx-js/mdx/pull/2383) **Full Changelog**: mdx-js/mdx@3.0.0...3.0.1 </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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/zeebe-io/zeebe-chaos). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
A dynamic import may fail for various reasons. This was unhandled. This means the loader could wait indefinitely. Now it defers the error to Webpack.
I didn’t encounter this, but it the code just caught my eye. I don’t know how to test it. It doesn’t affect test coverage.