You'd expect this issue to be solved by now right?, but yeah Microsoft
You can just use this dotnet tool instead https://github.com/dotnet-outdated/dotnet-outdated
update to the latest packages for your runtime by calling:
dotnet outdated -vl Major -u