Skip to content

Commit

Permalink
chore(deps): update nuget non-major dependencies (#11246)
Browse files Browse the repository at this point in the history
* chore(deps): update nuget non-major dependencies

* dotnet format

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: andrealouisestanderen <andreastanderen@gmail.com>
  • Loading branch information
renovate[bot] and standeren authored Oct 22, 2023
1 parent 3647731 commit e4eee45
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Format check
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/dotnet/sdk:6.0.410-alpine3.18 # hardcode version until microsoft fixes issue in github runners
image: mcr.microsoft.com/dotnet/sdk:6.0.415-alpine3.18 # hardcode version until microsoft fixes issue in github runners
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Building studio frontend
FROM node:20.5.1-alpine AS generate-studio-frontend
FROM node:20.8.0-alpine AS generate-studio-frontend
WORKDIR /build
COPY . .
RUN corepack enable
Expand Down
22 changes: 11 additions & 11 deletions backend/packagegroups/NuGet.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<ItemGroup Label="Altinn specific packages">
<PackageReference Update="Altinn.Common.AccessToken" Version="3.0.3" />
<PackageReference Update="Altinn.Common.AccessTokenClient" Version="1.1.3" />
<PackageReference Update="Altinn.Platform.Storage.Interface" Version="3.23.0" />
<PackageReference Update="Altinn.Common.AccessTokenClient" Version="1.1.5" />
<PackageReference Update="Altinn.Platform.Storage.Interface" Version="3.24.0" />
</ItemGroup>

<ItemGroup Label="Shared nuget packages">
<PackageReference Update="JsonSchema.Net" Version="5.2.5" />
<PackageReference Update="JsonSchema.Net" Version="5.2.6" />
<PackageReference Update="CompilerAttributes" Version="1.1.2" />
<PackageReference Update="ini-parser-netstandard" Version="2.5.2" />
<PackageReference Update="JWTCookieAuthentication" Version="3.0.1" />
Expand All @@ -18,32 +18,32 @@
<PackageReference Update="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Update="Microsoft.AspNetCore.DataProtection.AzureKeyVault" Version="3.1.24" />
<PackageReference Update="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Update="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.21" />
<PackageReference Update="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.23" />
<PackageReference Update="Microsoft.Azure.KeyVault" Version="3.0.5" />
<PackageReference Update="Microsoft.Azure.Services.AppAuthentication" Version="1.6.2" />
<PackageReference Update="Microsoft.Extensions.Configuration.AzureKeyVault" Version="3.1.24" />
<PackageReference Update="Microsoft.VisualStudio.Web.BrowserLink" Version="2.2.0" />
<PackageReference Update="HtmlAgilityPack" Version="1.11.53" />
<PackageReference Update="HtmlAgilityPack" Version="1.11.54" />
<PackageReference Update="Microsoft.DiaSymReader.Native" Version="1.7.0" />
<PackageReference Update="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="6.0.16" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.8" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.22" />
<PackageReference Update="Scrutor" Version="4.2.2" />
<PackageReference Update="Yuniql.AspNetCore" Version="1.2.25" />
<PackageReference Update="Yuniql.PostgreSql" Version="1.3.15" />
<PackageReference Update="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Update="Polly" Version="8.0.0" />
<PackageReference Update="Altinn.Authorization.ABAC" Version="0.0.5" />
<PackageReference Update="Altinn.ApiClients.Maskinporten" Version="9.0.0" />
<PackageReference Update="Altinn.Authorization.ABAC" Version="0.0.7" />
<PackageReference Update="Altinn.ApiClients.Maskinporten" Version="9.1.0" />
</ItemGroup>

<ItemGroup Label="Packages used for testing">
<PackageReference Update="FluentAssertions" Version="6.12.0" />
<PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.21" />
<PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.23" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<!-- Do not upgrade Moq version from 4.18.4 -->
<PackageReference Update="Moq" Version="4.20.69" />
<PackageReference Update="xunit" Version="2.5.0" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.0" />
<PackageReference Update="xunit" Version="2.5.3" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.5.3" />
<PackageReference Update="coverlet.collector" Version="6.0.0" />
<PackageReference Update="Basic.Reference.Assemblies" Version="1.4.5" />
<PackageReference Update="Fare" Version="2.2.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public async Task GetResourceAdmIndexOK()
string uri = $"/resourceadm/ttd/resources";
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);
// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);
string contenthtml = await res.Content.ReadAsStringAsync();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public async Task AddServiceResource_StatusCreated()
httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(serviceResource), System.Text.Encoding.UTF8, "application/json");

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

//Assert
RepositoryMock.VerifyAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public async Task GetFilteredLinkServices()
Altinn2MetadataClientMock.Setup(r => r.AvailableServices(It.IsAny<int>(), It.IsAny<string>())).ReturnsAsync(services);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public async Task GetLosTerms()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);
string sectorscontent = await res.Content.ReadAsStringAsync();
List<LosTerm> losTerms = System.Text.Json.JsonSerializer.Deserialize<List<LosTerm>>(sectorscontent, new System.Text.Json.JsonSerializerOptions() { PropertyNamingPolicy = System.Text.Json.JsonNamingPolicy.CamelCase });

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public async Task GetResourceStatusById_Passing_Repository_OK()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public async Task GetResourceList_OK()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand All @@ -67,7 +67,7 @@ public async Task GetResourceList_NoContent()
.Returns(new List<ServiceResource>());

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.NoContent, res.StatusCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public async Task GetResourceRepository_OK()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand All @@ -35,7 +35,7 @@ public async Task GetResourceRepository_NoContent()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.NoContent, res.StatusCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public async Task GetResourceById_OK()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand Down Expand Up @@ -85,7 +85,7 @@ public async Task GetResourceById_Passing_Repository_OK()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand All @@ -100,7 +100,7 @@ public async Task GetResourceById_NoContent()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.NoContent, res.StatusCode);
Expand All @@ -115,7 +115,7 @@ public async Task GetResourceById_Passing_Repository_NoContent()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.NoContent, res.StatusCode);
Expand All @@ -130,7 +130,7 @@ public async Task GetResourceById_PassingNoValidArgument_NoContent()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.NoContent, res.StatusCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public async Task GetSectors()
using HttpRequestMessage httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, uri);

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);
string sectorscontent = await res.Content.ReadAsStringAsync();
List<DataTheme> dataThemes = System.Text.Json.JsonSerializer.Deserialize<List<DataTheme>>(sectorscontent, new System.Text.Json.JsonSerializerOptions() { PropertyNamingPolicy = System.Text.Json.JsonNamingPolicy.CamelCase });

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public async Task ValidateServiceResourceById_IsValid()
RepositoryMock.Setup(r => r.GetServiceResourceById(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>())).Returns(GetServiceResourceForValidationTest(true));

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

//Assert
RepositoryMock.VerifyAll();
Expand All @@ -41,7 +41,7 @@ public async Task ValidateServiceResourceById_IsInValid()
RepositoryMock.Setup(r => r.GetServiceResourceById(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>())).Returns(GetServiceResourceForValidationTest(false));

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

//Assert
RepositoryMock.VerifyAll();
Expand All @@ -58,7 +58,7 @@ public async Task ValidateServiceResource_IsValid()
RepositoryMock.Setup(r => r.GetServiceResources(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>())).Returns(GetServiceResourcesForValidationTest(true));

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

//Assert
RepositoryMock.VerifyAll();
Expand All @@ -75,7 +75,7 @@ public async Task ValidateServiceResource_IsInValid()
RepositoryMock.Setup(r => r.GetServiceResources(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<string>())).Returns(GetServiceResourcesForValidationTest(false));

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

//Assert
RepositoryMock.VerifyAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async Task ExportAltinn2Resource()
Altinn2MetadataClientMock.Setup(r => r.GetXacmlPolicy(It.IsAny<string>(), It.IsAny<int>(), It.IsAny<string>(), It.IsAny<string>())).ReturnsAsync(policy);

// Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

// Assert
Assert.Equal(HttpStatusCode.OK, res.StatusCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public async Task UpdateServiceResource_StatusCreated()
httpRequestMessage.Content = new StringContent(JsonConvert.SerializeObject(serviceResource), System.Text.Encoding.UTF8, "application/json");

//Act
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage).ConfigureAwait(false);
using HttpResponseMessage res = await HttpClient.SendAsync(httpRequestMessage);

//Assert
RepositoryMock.VerifyAll();
Expand Down

0 comments on commit e4eee45

Please sign in to comment.