Skip to content
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

Use outdated, deprecated, and vulnerable flags in dotnet list package command to identify packages out of date #640

Open
samsmithnz opened this issue Nov 8, 2023 · 0 comments

Comments

@samsmithnz
Copy link
Owner

samsmithnz commented Nov 8, 2023

Command:

dotnet list package --outdated --format json

Result:

{
  "version": 1,
  "parameters": "--outdated",
  "sources": [
    "https://api.nuget.org/v3/index.json",
    "C:/Program Files (x86)/Microsoft SDKs/NuGetPackages/",
    "https://nuget.pkg.github.com/SamSmithNZ-dotcom/index.json"
  ],
  "projects": [
    {
      "path": "C:/Users/samsm/source/repos/DotNetCensus/src/DotNetCensus.Tests/DotNetCensus.Tests.csproj",
      "frameworks": [
        {
          "framework": "net7.0",
          "topLevelPackages": [
            {
              "id": "Microsoft.NET.Test.Sdk",
              "requestedVersion": "17.7.2",
              "resolvedVersion": "17.7.2",
              "latestVersion": "17.8.0"
            }
          ]
        }
      ]
    },
    {
      "path": "C:/Users/samsm/source/repos/DotNetCensus/src/DotNetCensus.Core/DotNetCensus.Core.csproj",
      "frameworks": [
        {
          "framework": "net6.0",
          "topLevelPackages": [
            {
              "id": "ConsoleTables",
              "requestedVersion": "2.5.0",
              "resolvedVersion": "2.5.0",
              "latestVersion": "2.6.1"
            }
          ]
        },
        {
          "framework": "net7.0",
          "topLevelPackages": [
            {
              "id": "ConsoleTables",
              "requestedVersion": "2.5.0",
              "resolvedVersion": "2.5.0",
              "latestVersion": "2.6.1"
            }
          ]
        }
      ]
    },
    {
      "path": "C:/Users/samsm/source/repos/DotNetCensus/src/DotNetCensus/DotNetCensus.csproj"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant