fix: package.json & yarn.lock to reduce vulnerabilities #527
Annotations
29 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, dorny/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v2, actions/checkout@v2, dorny/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Tests:
src/gsudo/Tokens/TokenProvider.cs#L122
Unreachable code detected
|
Run Tests:
src/gsudo/ProcessRenderers/TokenSwitchRenderer.cs#L64
The variable 'ex' is declared but never used
|
Run Tests:
src/gsudo/Helpers/ServiceHelper.cs#L53
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Run Tests:
src/gsudo/ProcessHosts/AttachedConsoleHost.cs#L38
The variable 'ex' is declared but never used
|
Run Tests:
src/gsudo/InputParameters.cs#L32
The property name 'IntegrityLevel' is confusing given the existence of method 'GetIntegrityLevel'. Rename or remove one of these members. (https://docs.microsoft.com/visualstudio/code-quality/ca1721-property-names-should-not-match-get-methods)
|
Run Tests:
src/gsudo/AppSettings/PathPrecedenceSetting.cs#L60
Specify marshaling for P/Invoke string arguments (https://docs.microsoft.com/visualstudio/code-quality/ca2101-specify-marshaling-for-p-invoke-string-arguments)
|
Run Tests:
src/gsudo/Commands/StatusCommand.cs#L99
In method 'GetJsonValue', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant'. (https://docs.microsoft.com/visualstudio/code-quality/ca1308-normalize-strings-to-uppercase)
|
Run Tests:
src/gsudo/Commands/ServiceCommand.cs#L64
Consider calling ConfigureAwait on the awaited task (https://docs.microsoft.com/visualstudio/code-quality/ca2007-do-not-directly-await-task)
|
Run Tests:
src/gsudo/Helpers/UACWindowFocusHelper.cs#L10
Specify marshaling for P/Invoke string arguments (https://docs.microsoft.com/visualstudio/code-quality/ca2101-specify-marshaling-for-p-invoke-string-arguments)
|
Run Tests:
src/gsudo/Helpers/UACWindowFocusHelper.cs#L35
FocusUacWindow calls SetForegroundWindow but does not use the HRESULT or error code that the method returns. This could lead to unexpected behavior in error conditions or low-resource situations. Use the result in a conditional statement, assign the result to a variable, or pass it as an argument to another method. (https://docs.microsoft.com/visualstudio/code-quality/ca1806-do-not-ignore-method-results)
|
Test Report DotNet
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report DotNet
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report DotNet
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report DotNet
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report DotNet
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run actions/setup-dotnet@v2
.NET 7.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
|
Test Report PowerShell v5
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v5
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v5
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v5
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v5
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v7
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v7
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v7
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v7
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test Report PowerShell v7
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Binaries".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading