You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Security
Requires the patched stock Flight runtime react-server-dom-webpack@~19.3.1. Published react-on-rails-rsc@19.3.1 allowed react-server-dom-webpack@19.3.0, which is affected by the critical React Server Components remote code execution advisory GHSA-xqc2-xf4c-x3h3 and the high-severity Server Functions denial-of-service advisory GHSA-h3gv-c5rc-p453. Upgrade to react-on-rails-rsc@19.3.2 and React 19.3.1, then confirm your lockfile resolves react-server-dom-webpack@19.3.1 or later. ([#249])
Changed
Pinned the stock Flight runtime to react-server-dom-webpack@~19.3.1 and raised the react and react-dom peer floors to ^19.3.1 to match that runtime's own peers. Apps still on React 19.3.0 should upgrade react and react-dom to 19.3.1; a fresh install already resolved Flight 19.3.1, which requires it. ([#249])
react-on-rails-rsc/WebpackLoader now serves real sourcemaps for "use server" modules instead of always returning an empty map. Sibling .map files are read through the bundler's input filesystem and validated as JSON objects before serving; inline data: maps are decoded; and dangling pointers, corrupt maps, and non-object JSON values fall back to null, which triggers the stock loader's identity-map fallback — giving line-level accuracy in the compiled JS instead of the broken originalSource: -1 the empty map produced. ([#247])