Skip to content

Commit

Permalink
build(deps): bump PublicApiGenerator from 10.3.0 to 11.0.0 in /src (#998
Browse files Browse the repository at this point in the history
)

Bumps [PublicApiGenerator](https://github.com/PublicApiGenerator/PublicApiGenerator) from 10.3.0 to 11.0.0.
- [Release notes](https://github.com/PublicApiGenerator/PublicApiGenerator/releases)
- [Commits](PublicApiGenerator/PublicApiGenerator@10.3.0...11.0.0)

---
updated-dependencies:
- dependency-name: PublicApiGenerator
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Apr 10, 2023
1 parent 4c6e531 commit e1ba03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<PackageReference Include="Xunit.StaFact" Version="1.1.11" />
<PackageReference Include="FluentAssertions" Version="6.10.0" />
<PackageReference Include="Microsoft.Reactive.Testing" Version="5.0.0" />
<PackageReference Include="PublicApiGenerator" Version="10.3.0" />
<PackageReference Include="PublicApiGenerator" Version="11.0.0" />
<PackageReference Include="Verify.Xunit" Version="19.12.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Splat.Tests/ApiExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static class ApiExtensions
/// <param name="filePath">The caller file path.</param>
public static Task CheckApproval(this Assembly assembly, [CallerFilePath] string filePath = "")
{
var generatorOptions = new ApiGeneratorOptions { WhitelistedNamespacePrefixes = new[] { "Splat" } };
var generatorOptions = new ApiGeneratorOptions { AllowNamespacePrefixes = new[] { "Splat" } };
var apiText = assembly.GeneratePublicApi(generatorOptions);
return Verifier.Verify(apiText, null, filePath)
.UniqueForRuntimeAndVersion()
Expand Down

0 comments on commit e1ba03e

Please sign in to comment.