Skip to content

Commit

Permalink
Bump Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalcoyote committed Jul 13, 2024
1 parent 12dd153 commit 9e167cd
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 17 deletions.
14 changes: 9 additions & 5 deletions Src/NuGetDefense.Lib/Configuration/BuildErrorSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ public Severity ErrorSeverityThreshold
{
get
{
if (Cvss3Threshold > 8.9M) return Severity.Critical;
if (Cvss3Threshold > 6.9M) return Severity.High;
if (Cvss3Threshold > 3.9M) return Severity.Medium;
if (Cvss3Threshold > 0) return Severity.Low;
return Cvss3Threshold < 0 ? Severity.Any : Severity.None;
return Cvss3Threshold switch
{
> 8.9M => Severity.Critical,
> 6.9M => Severity.High,
> 3.9M => Severity.Medium,
> 0 => Severity.Low,
0 => Severity.None,
< 0 => Severity.Any
};
}
set
{
Expand Down
10 changes: 5 additions & 5 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 2024</Copyright>
<Version>4.1.3</Version>
<Version>4.1.3.1</Version>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
Expand All @@ -37,10 +37,10 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NuGet.Versioning" Version="6.10.1" />
<PackageReference Include="NuGetDefense.Core" Version="2.0.13.1" />
<PackageReference Include="NuGetDefense.GitHubAdvisoryDatabase" Version="2.0.7" />
<PackageReference Include="NuGetDefense.NVD" Version="2.1.6" />
<PackageReference Include="NuGetDefense.OSSIndex" Version="2.1.4" />
<PackageReference Include="NuGetDefense.Core" Version="2.0.13.2" />
<PackageReference Include="NuGetDefense.GitHubAdvisoryDatabase" Version="2.0.7.1" />
<PackageReference Include="NuGetDefense.NVD" Version="2.1.6.1" />
<PackageReference Include="NuGetDefense.OSSIndex" Version="2.1.4.1" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
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 @@ -22,7 +22,7 @@ namespace NuGetDefense;

public class Scanner
{
public const string Version = "4.1.3";
public const string Version = "4.1.3.1";
public const string UserAgentString = @$"NuGetDefense/{Version}";
public const string DefaultSettingsFileName = "NuGetDefense.json";
public const string DefaultVulnerabilityDataFileName = "VulnerabilityData.bin";
Expand Down
6 changes: 3 additions & 3 deletions Src/NuGetDefense/NuGetDefense.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Nullable>enable</Nullable>
<AssemblyVersion>4.1.3</AssemblyVersion>
<FileVersion>4.1.3</FileVersion>
<AssemblyVersion>4.1.3.1</AssemblyVersion>
<FileVersion>4.1.3.1</FileVersion>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
Expand All @@ -37,7 +37,7 @@
<PackageId>NuGetDefense.Tool</PackageId>
<PackAsTool>true</PackAsTool>
<ToolCommandName>nugetdefense</ToolCommandName>
<Version>4.1.3</Version>
<Version>4.1.3.1</Version>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Src/NuGetDefense/NuGetDefense.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>NuGetDefense</id>
<title>NuGetDefense</title>
<version>4.1.3</version>
<version>4.1.3.1</version>
<authors>Curtis Carter</authors>
<owners>Curtis Carter</owners>
<projectUrl>https://digitalcoyote.github.io/NuGetDefense/</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions Src/NuGetDefenseTests/NuGetDefenseTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 9e167cd

Please sign in to comment.