Skip to content

Commit

Permalink
Fix #109
Browse files Browse the repository at this point in the history
Updated the Dictionary in NuGetDefense.Core to have a key that allwos multiple package versions to be returned.
  • Loading branch information
digitalcoyote committed Feb 12, 2023
1 parent 55d5db2 commit 24c5233
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Src/NuGetDefense.Lib/NuGetDefense.Lib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<Description>NuGetDefense ~ Check for Known Vulnerabilities at Build</Description>
<PackageDescription>NuGetDefense was inspired by [OWASP SafeNuGet](https://nuget.org/packages/SafeNuGet/) but aims to check with multiple sources for known vulnerabilities.</PackageDescription>
<Copyright>Curtis Carter 2022</Copyright>
<Version>3.0.10</Version>
<Version>3.0.11-pre109</Version>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand All @@ -37,7 +37,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NuGet.Versioning" Version="6.4.0" />
<PackageReference Include="NuGetDefense.Core" Version="2.0.4" />
<PackageReference Include="NuGetDefense.Core" Version="2.0.5" />
<PackageReference Include="NuGetDefense.GitHubAdvisoryDatabase" Version="2.0.3" />
<PackageReference Include="NuGetDefense.NVD" Version="2.0.9.1" />
<PackageReference Include="NuGetDefense.OSSIndex" Version="2.0.5" />
Expand Down
2 changes: 1 addition & 1 deletion Src/NuGetDefense.Lib/Scanner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace NuGetDefense;

public class Scanner
{
private const string Version = "3.0.10";
private const string Version = "3.0.11-pre109";
private static readonly string UserAgentString = @$"NuGetDefense/{Version}";

private string _nuGetFile;
Expand Down
2 changes: 1 addition & 1 deletion Src/NuGetDefense/NuGetDefense.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PackageId>NuGetDefense.Tool</PackageId>
<PackAsTool>true</PackAsTool>
<ToolCommandName>nugetdefense</ToolCommandName>
<Version>3.0.10</Version>
<Version>3.0.11-pre109</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Src/NuGetDefense/NuGetDefense.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<metadata>
<id>NuGetDefense</id>
<title>NuGetDefense</title>
<version>3.0.10</version>
<version>3.0.11-pre109</version>
<authors>Curtis Carter</authors>
<owners>Curtis Carter</owners>
<projectUrl>https://digitalcoyote.github.io/NuGetDefense/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>NuGetDefense ~ Check for Known Vulnerabilities at Build</summary>
<description>NuGetDefense was inspired by OWASP SafeNuGet but checks with multiple sources for known vulnerabilities.</description>
<releaseNotes>https://github.com/digitalcoyote/NuGetDefense/releases/tag/v3.0.10</releaseNotes>
<releaseNotes>https://github.com/digitalcoyote/NuGetDefense/releases/tag/v3.0.11-pre109</releaseNotes>
<repository type="git" url="https://github.com/digitalcoyote/NuGetDefense.git"/>
<license type="expression">MIT</license>
<icon>images\icon.png</icon>
Expand Down

0 comments on commit 24c5233

Please sign in to comment.