Skip to content

Commit bb18411

Browse files
committed
Switch NuGetAuditMode to all, which is the new default in the .NET 10 SDK
1 parent dc8c25c commit bb18411

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<VersionPrefix>5.9.2</VersionPrefix>
1313
<VersionSuffix>pre</VersionSuffix>
1414
<OpenApiPreviewNumber>7</OpenApiPreviewNumber>
15-
<NuGetAuditMode>direct</NuGetAuditMode>
1615
</PropertyGroup>
1716

1817
<PropertyGroup>

src/JsonApiDotNetCore/JsonApiDotNetCore.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
<PackageReference Include="Humanizer.Core" Version="$(HumanizerFrozenVersion)" />
4141
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EntityFrameworkCoreFrozenVersion)" />
4242
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="$(EntityFrameworkCoreFrozenVersion)" />
43+
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.1" Condition="'$(TargetFramework)' == 'net8.0'" NoWarn="$(NoWarn);NU1510">
44+
<!--
45+
Microsoft.EntityFrameworkCore 8.0.0 depends on Microsoft.Extensions.Caching.Memory 8.0.0, which is vulnerable.
46+
This package reference silences the vulnerability warning and suppresses the NU1510 warning that the dependency will not appear in our NuGet package.
47+
-->
48+
</PackageReference>
4349
<PackageReference Include="SauceControl.InheritDoc" Version="$(InheritDocVersion)" PrivateAssets="All" />
4450
</ItemGroup>
4551
</Project>

0 commit comments

Comments
 (0)