package.json の "dependencies" →"next" から確認できる
現状
nextjs | 15.1.6 |
|---|---|
react | 19.1.1 |
react-dom | 19.1.1 |

$ npm install next@latest$ npm install next@latestnextjs |
| 16.0.10 |
|---|---|---|
react |
| 19.2.3 |
react-dom |
| 19.2.3 |

後から便利なコマンドがあることに気がついた
脆弱なバージョンがあれば、 推奨の安全なバージョンにアップデートしてくれる
$ npx fix-react2shell-next全ての脆弱性に対応済み
