[Snyk] Security upgrade System.Text.Json from 6.0.3 to 6.0.10 #41
Annotations
11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build:
src/TBC.OpenAPI.SDK.Core/QueryStringHelper/QueryStringBuilder.cs#L15
Cannot convert null literal to non-nullable reference type.
|
build:
src/TBC.OpenAPI.SDK.Core/Extensions/ServiceCollectionExtensions.cs#L26
Dereference of a possibly null reference.
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ApiResponse.cs#L7
Change 'Headers' to be read-only by removing the property setter
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ApiResponse.cs#L7
Change 'Headers' to be read-only by removing the property setter
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetails.cs#L76
Change 'Errors' to be read-only by removing the property setter
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetails.cs#L76
Change 'Errors' to be read-only by removing the property setter
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L42
In externally visible method 'void ProblemDetailsJsonConverter.Write(Utf8JsonWriter writer, ProblemDetails value, JsonSerializerOptions options)', validate parameter 'value' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L41
In externally visible method 'void ProblemDetailsJsonConverter.Write(Utf8JsonWriter writer, ProblemDetails value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L42
In externally visible method 'void ProblemDetailsJsonConverter.Write(Utf8JsonWriter writer, ProblemDetails value, JsonSerializerOptions options)', validate parameter 'value' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|
build:
src/TBC.OpenAPI.SDK.Core/Models/ProblemDetailsJsonConverter.cs#L41
In externally visible method 'void ProblemDetailsJsonConverter.Write(Utf8JsonWriter writer, ProblemDetails value, JsonSerializerOptions options)', validate parameter 'writer' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
|