-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
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! |
[![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://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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>
[![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/loader](https://mdxjs.com) ([source](https://github.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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2floader/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2floader/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2floader/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2floader/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@mdx-js/react](https://mdxjs.com) ([source](https://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/loader)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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>
[![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/loader](https://mdxjs.com) ([source](https://github.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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2floader/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2floader/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2floader/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2floader/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@mdx-js/react](https://mdxjs.com) ([source](https://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/loader)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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).
[![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://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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>
[![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://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.16/20.11.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.16/20.11.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.55/18.2.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.55/18.2.61?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [isomorphic-dompurify](https://github.com/kkomelin/isomorphic-dompurify) | [`2.3.0` -> `2.4.0`](https://renovatebot.com/diffs/npm/isomorphic-dompurify/2.3.0/2.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/isomorphic-dompurify/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/isomorphic-dompurify/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/isomorphic-dompurify/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/isomorphic-dompurify/2.3.0/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [redocusaurus](https://redocusaurus.vercel.app/) ([source](https://github.com/rohit-gohri/redocusaurus)) | [`2.0.0` -> `2.0.1`](https://renovatebot.com/diffs/npm/redocusaurus/2.0.0/2.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/redocusaurus/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/redocusaurus/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/redocusaurus/2.0.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/redocusaurus/2.0.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [yaml](https://eemeli.org/yaml/) ([source](https://github.com/eemeli/yaml)) | [`2.3.4` -> `2.4.0`](https://renovatebot.com/diffs/npm/yaml/2.3.4/2.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/yaml/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/yaml/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/yaml/2.3.4/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/yaml/2.3.4/2.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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://github.com/kkomelin/isomorphic-dompurify/releases/tag/v2.4.0): Updated dependencies [Compare Source](https://github.com/kkomelin/isomorphic-dompurify/compare/v2.3.0...v2.4.0) ##### Changelog - \[x] Updated `dompurify` and other dependencies. See the [complete changelog](https://github.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://github.com/rohit-gohri/redocusaurus/blob/HEAD/CHANGELOG.md#redocusaurus201) [Compare Source](https://github.com/rohit-gohri/redocusaurus/compare/v2.0.0...v2.0.1) </details> <details> <summary>eemeli/yaml (yaml)</summary> ### [`v2.4.0`](https://github.com/eemeli/yaml/releases/tag/v2.4.0) [Compare Source](https://github.com/eemeli/yaml/compare/v2.3.4...v2.4.0) - Add a command-line tool ([#​523](https://github.com/eemeli/yaml/issues/523)) - Use the `lineWidth` option for line breaking in flow collections ([#​522](https://github.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://github.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>
[![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://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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>
[![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://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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://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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mdx-js%2freact/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mdx-js%2freact/3.0.0/3.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mdx-js/mdx (@​mdx-js/react)</summary> ### [`v3.0.1`](https://github.com/mdx-js/mdx/releases/tag/3.0.1) [Compare Source](https://github.com/mdx-js/mdx/compare/3.0.0...3.0.1) ##### Fix - [`49fd094`](https://github.com/mdx-js/mdx/commit/49fd094a) Fix generated JSX pragmas for new babel by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2438 - [`d1fface`](https://github.com/mdx-js/mdx/commit/d1fface1) Refactor to handle uncaught webpack errors by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2398 ##### Types - [`c03e16c`](https://github.com/mdx-js/mdx/commit/c03e16c6) Add declaration maps - [`85c5dd0`](https://github.com/mdx-js/mdx/commit/85c5dd05) Fix webpack loader types by [@​remcohaszing](https://github.com/remcohaszing) in [mdx-js/mdx#2386 ##### Site - [`38f7a5c`](https://github.com/mdx-js/mdx/commit/38f7a5c9) Fix reset of playground render errors by [@​ManasMakde](https://github.com/ManasMakde) in [mdx-js/mdx#2392 - [`680445d`](https://github.com/mdx-js/mdx/commit/680445df) Add note on broken react runtime types by [@​ky1ejs](https://github.com/ky1ejs) in [mdx-js/mdx#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.