Bump PuppeteerSharp from 15.0.0 to 15.1.0 #331
Annotations
12 warnings
Publish FolderProfileWindows:
Codeuctivity.HtmlRendererCli/Program.cs#L43
Using member 'Codeuctivity.HtmlRenderer.Renderer.CreateAsync(BrowserFetcher, LaunchOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This functionality is not compatible with trimming. Use 'MethodFriendlyToTrimming' instead.
|
Publish FolderProfileWindows:
Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L66
Use recommended dispose pattern to ensure that object created by 'new BrowserFetcher()' is disposed on all paths. If possible, wrap the creation within a 'using' statement or a 'using' declaration. Otherwise, use a try-finally pattern, with a dedicated local variable declared before the try region and an unconditional Dispose invocation on non-null value in the 'finally' region, say 'x?.Dispose()'. If the object is explicitly disposed within the try region or the dispose ownership is transfered to another object or method, assign 'null' to the local variable just after such an operation to prevent double dispose in 'finally'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L131
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L98
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L99
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L204
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L227
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build:
Codeuctivity.HtmlRenderer/Renderer.cs#L173
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Build:
Codeuctivity.HtmlRendererCli/Program.cs#L20
Method 'Task<int> Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Usage: PuppeteerSharp.RendererCli <sourceHtmlFilePath> <destinatioPdfFilePath>". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
|
Build:
Codeuctivity.HtmlRendererTests/RendererTests.cs#L49
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Build:
Codeuctivity.HtmlRendererTests/RendererTests.cs#L83
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Loading