Bump System.Text.Json from 6.0.5 to 8.0.4 in /src/Web.Extensions #511
Annotations
4 errors and 26 warnings
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (javascript)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
|
Analyze (javascript)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (javascript)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Analyze (javascript):
src/Web.Client/Services/WeatherFunctionsClientService.cs#L26
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.WeatherDetails>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Services/GeoLocationService.cs#L25
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.GeoCode>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Components/LanguageSelectionComponent.razor.cs#L18
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.AzureTranslationCultures>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Components/TaskListComponent.razor.cs#L29
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<System.Collections.Generic.IEnumerable<Learning.Blazor.Models.TodoItem>>(System.Net.Http.HttpClient, string?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Extensions/WebAssemblyHostBuilderExtensions.cs#L16
Using member 'Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions.Configure<Learning.Blazor.Options.WebApiOptions>(Microsoft.Extensions.DependencyInjection.IServiceCollection, Microsoft.Extensions.Configuration.IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
|
Analyze (javascript):
src/Web.Client/Extensions/WebAssemblyHostBuilderExtensions.cs#L62
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(Microsoft.Extensions.Configuration.IConfiguration, string, object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Cannot statically analyze the type of instance so its members may be trimmed.
|
Analyze (javascript):
src/Web.Client/Components/TaskListComponent.razor.cs#L47
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<Learning.Blazor.Models.TodoItem>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.TodoItem, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Pages/Contact.razor.cs#L78
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<Learning.Blazor.Models.Requests.ContactRequest>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.Requests.ContactRequest, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Components/TaskListComponent.razor.cs#L96
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<Learning.Blazor.Models.Requests.CreateTodoRequest>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.Requests.CreateTodoRequest, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript):
src/Web.Client/Services/WeatherFunctionsClientService.cs#L26
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.WeatherDetails>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (javascript)
1 issue was detected with this workflow: Using on.push.paths-ignore can prevent Code Scanning annotating new alerts in your pull requests.
|
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze (csharp)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/analyze@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Analyze (csharp)
1 issue was detected with this workflow: Using on.push.paths-ignore can prevent Code Scanning annotating new alerts in your pull requests.
|
Analyze (csharp):
src/Web.Client/Services/GeoLocationService.cs#L25
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.GeoCode>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Services/WeatherFunctionsClientService.cs#L26
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.WeatherDetails>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Components/LanguageSelectionComponent.razor.cs#L18
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.AzureTranslationCultures>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Components/TaskListComponent.razor.cs#L29
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<System.Collections.Generic.IEnumerable<Learning.Blazor.Models.TodoItem>>(System.Net.Http.HttpClient, string?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Components/TaskListComponent.razor.cs#L47
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<Learning.Blazor.Models.TodoItem>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.TodoItem, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Extensions/WebAssemblyHostBuilderExtensions.cs#L16
Using member 'Microsoft.Extensions.DependencyInjection.OptionsConfigurationServiceCollectionExtensions.Configure<Learning.Blazor.Options.WebApiOptions>(Microsoft.Extensions.DependencyInjection.IServiceCollection, Microsoft.Extensions.Configuration.IConfiguration)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. TOptions's dependent types may have their members trimmed. Ensure all required members are preserved.
|
Analyze (csharp):
src/Web.Client/Extensions/WebAssemblyHostBuilderExtensions.cs#L62
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(Microsoft.Extensions.Configuration.IConfiguration, string, object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Cannot statically analyze the type of instance so its members may be trimmed.
|
Analyze (csharp):
src/Web.Client/Components/TaskListComponent.razor.cs#L96
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<Learning.Blazor.Models.Requests.CreateTodoRequest>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.Requests.CreateTodoRequest, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Pages/Contact.razor.cs#L78
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync<Learning.Blazor.Models.Requests.ContactRequest>(System.Net.Http.HttpClient, string?, Learning.Blazor.Models.Requests.ContactRequest, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|
Analyze (csharp):
src/Web.Client/Services/GeoLocationService.cs#L25
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<Learning.Blazor.Models.GeoCode>(System.Net.Http.HttpClient, string?, System.Text.Json.JsonSerializerOptions?, System.Threading.CancellationToken)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
|