Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Fix for 1 vulnerabilities #322

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

fix: package.json & yarn.lock to reduce vulnerabilities

0115a22
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

[Snyk] Fix for 1 vulnerabilities #322

fix: package.json & yarn.lock to reduce vulnerabilities
0115a22
Select commit
Loading
Failed to load commit list.
GitHub Actions / TestsResults (PowerShell v5) succeeded Dec 14, 2023 in 1s

TestsResults (PowerShell v5) ✔️

Tests passed successfully

✔️ ./testResults_PS5.xml

19 tests were completed in 16s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\gsudo.Tests.ps1 5✔️ 5s
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1 14✔️ 10s

✔️ D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\gsudo.Tests.ps1

✔️ PS Gsudo (PSv5).It serializes return values as string.
✔️ PS Gsudo (PSv5).When invoked as gsudo !!, It elevates the last command executed
✔️ PS Gsudo (PSv5).Elevates a ScriptBlock.
✔️ PS Gsudo (PSv5).Elevates a ScriptBlock with arguments.
✔️ PS Gsudo (PSv5).Return can be captured.

✔️ D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1

✔️ PS Invoke-Gsudo (PSv5).It serializes return values maintaining its type
✔️ PS Invoke-Gsudo (PSv5).It serializes return values mantaining its properties.
✔️ PS Invoke-Gsudo (PSv5).It returns an array of values mantaining its properties.
✔️ PS Invoke-Gsudo (PSv5).It accepts objects from the pipeline.
✔️ PS Invoke-Gsudo (PSv5).It throws when Error thrown
✔️ PS Invoke-Gsudo (PSv5).It throws with expression runtime errors
✔️ PS Invoke-Gsudo (PSv5).It throws with .Net Exceptions
✔️ PS Invoke-Gsudo (PSv5).It throws when ErrorAction = Stop
✔️ PS Invoke-Gsudo (PSv5).It throws when ErrorActionPreference = Stop
✔️ PS Invoke-Gsudo (PSv5).It forwards ErrorActionPreference 'Stop' to the elevated instance
✔️ PS Invoke-Gsudo (PSv5).It forwards ErrorActionPreference 'Continue' to the elevated instance
✔️ PS Invoke-Gsudo (PSv5).It forwards ErrorActionPreference 'Ignore' to the elevated instance
✔️ PS Invoke-Gsudo (PSv5).It doesn't throw when ErrorActionPreference = Continue
✔️ PS Invoke-Gsudo (PSv5).It doesn't throw with '-ErrorAction Continue-'