Skip to content

Commit

Permalink
Dependabot/nuget/blazored.local storage 4.1.5 (dotnet-architecture#596)
Browse files Browse the repository at this point in the history
* Bump Blazored.LocalStorage from 3.0.0 to 4.1.5

Bumps [Blazored.LocalStorage](https://github.com/Blazored/LocalStorage) from 3.0.0 to 4.1.5.
- [Release notes](https://github.com/Blazored/LocalStorage/releases)
- [Commits](Blazored/LocalStorage@v3.0.0...v4.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>

* use AddBlazoredLocalStorage instead of add Localstorage
align version of nuget package

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
michelcedric and dependabot[bot] authored Oct 26, 2021
1 parent 4da4822 commit cfd4f4e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/BlazorAdmin/BlazorAdmin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="3.0.0" />
<PackageReference Include="Blazored.LocalStorage" Version="4.1.5" />
<PackageReference Include="BlazorInputFile" Version="0.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="5.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.11" />
Expand Down
5 changes: 2 additions & 3 deletions src/BlazorAdmin/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ public static async Task Main(string[] args)
builder.Services.AddScoped<ToastService>();
builder.Services.AddScoped<HttpService>();


builder.Services.AddScoped<ILocalStorageService, LocalStorageService>();

builder.Services.AddBlazoredLocalStorage();

builder.Services.AddAuthorizationCore();
builder.Services.AddScoped<AuthenticationStateProvider, CustomAuthStateProvider>();
builder.Services.AddScoped(sp => (CustomAuthStateProvider)sp.GetRequiredService<AuthenticationStateProvider>());
Expand Down
2 changes: 1 addition & 1 deletion src/Web/Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


<ItemGroup>
<PackageReference Include="Ardalis.ApiEndpoints" Version="2.0.0" />
<PackageReference Include="Ardalis.ApiEndpoints" Version="3.0.0" />
<PackageReference Include="Ardalis.ListStartupServices" Version="1.1.3" />
<PackageReference Include="Ardalis.Specification" Version="5.2.0" />
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.1.1" />
Expand Down

0 comments on commit cfd4f4e

Please sign in to comment.