build(deps): bump PowerArgs from 3.6.0 to 4.0.3
Bumps PowerArgs from 3.6.0 to 4.0.3.
Commits
- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Codecov Report
Merging #400 (e808793) into main (ba02542) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #400 +/- ##
=======================================
Coverage 67.58% 67.58%
=======================================
Files 240 240
Lines 7591 7591
=======================================
Hits 5130 5130
Misses 2461 2461
@dependabot recreate
PowerArgs 4.X is a breaking change at runtime. Running it produces the following exception:
PowerArgs.InvalidArgDefinitionException
HResult=0x80131500
Message=There is no reviver for type 'AlgorithmName"
Source=PowerArgs
StackTrace:
at PowerArgs.CommandLineArgumentsDefinition.ValidateArguments(IEnumerable`1 arguments)
at PowerArgs.CommandLineArgumentsDefinition.Validate(HookContext context)
at PowerArgs.Args.ParseInternal(CommandLineArgumentsDefinition definition, String[] input)
at PowerArgs.Args.<>c__DisplayClass19_1.<InvokeAction>b__4()
at PowerArgs.Args.Execute[T](Func`1 argsProcessingCode)
at PowerArgs.Args.<>c__DisplayClass19_0.<InvokeAction>b__2(String[] a)
at PowerArgs.REPL.DriveREPL[T](TabCompletion t, Func`2 eval, String[] args, Func`1 defaultEval)
at PowerArgs.Args.InvokeAction(CommandLineArgumentsDefinition definition, String[] args)
at PowerArgs.Args.InvokeAction[T](String[] args)
at PowerArgs.Args.<>c__DisplayClass34_0`1.<InvokeActionAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Sbom.Tool.Program.<Main>d__6.MoveNext() in src\Microsoft.Sbom.Tool\Program.cs:line 37
I couldn't find docs for this change and unless and until there's a compelling reason to change to PowerArgs 4.x, we ought to be able to live with 3.6.0. Suppressing future dependabot changes for this library
@dependabot ignore this major version
OK, I won't notify you about version 4.x.x again, unless you re-open this PR.