rsnext/packages
Zack Tanner 7a0fdb33da
fix: ensure DynamicUsageErrors caught during render bubble up (#58747)
After the changes in #58669, it's now possible for these `DynamicUsageErrors` to be caught in the streaming renderer. We didn't have any logic to handle this happening inside the existing catch block, so this adds a check for that specific error and re-throws it so that it properly bubbles to `exportPage`. `exportPage` checks the error to see if it's a `DynamicUsageError` and if so, marks the page as dynamic.

(This resolves an issue with particular scenarios hanging the build, caught by a few of our tests: [example](https://github.com/vercel/next.js/actions/runs/6949079695/job/18907597751?pr=58744), [example](https://github.com/vercel/next.js/actions/runs/6948412805/job/18904387924))
2023-11-22 02:01:53 +00:00
..
create-next-app v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
eslint-config-next v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
eslint-plugin-next v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
font v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next fix: ensure DynamicUsageErrors caught during render bubble up (#58747) 2023-11-22 02:01:53 +00:00
next-bundle-analyzer v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-codemod v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-env v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-mdx v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-plugin-storybook v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-polyfill-module v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-polyfill-nomodule v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
next-swc v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
react-dev-overlay v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
react-refresh-utils v14.0.4-canary.8 2023-11-21 23:22:46 +00:00
third-parties v14.0.4-canary.8 2023-11-21 23:22:46 +00:00