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 #320

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

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

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

[Snyk] Fix for 1 vulnerabilities #320

fix: package.json & yarn.lock to reduce vulnerabilities
51cc5fb
Select commit
Loading
Failed to load commit list.
GitHub Actions / TestsResults (PowerShell v7) succeeded Nov 28, 2023 in 0s

TestsResults (PowerShell v7) ✔️

Tests passed successfully

✔️ ./testResults_PS7.xml

19 tests were completed in 14s 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✔️ 3s
D:\a\gsudo\gsudo\src\gsudo.Wrappers.Tests\Invoke-gsudo.Tests.ps1 14✔️ 11s

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

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

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

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