npm / @simple-git/argv-parser
@simple-git/argv-parser
What changed in @simple-git/argv-parser 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
7 breaking12 security2 new APIs and options2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@simple-git/argv-parser 222 changes
Breaking changes 7
Now blocks --git-dir, --work-tree, and -C when supplied before the git sub-command and with a value; --exec-path and GIT_EXEC_PATH are no longer grouped here.
Adds a category for blocking unsafe executable paths and rebase execution options.
This path-taking global option is blocked under allowUnsafeConfigPaths when supplied before the git sub-command and with a value.
This path-taking global option is blocked under the new allowUnsafeExec category when supplied before the git sub-command and with a value.
This path-taking global option is blocked under allowUnsafeConfigPaths when supplied before the git sub-command and with a value.
This environment variable is blocked under the new allowUnsafeExec category.
This path-taking global option is blocked under allowUnsafeConfigPaths when supplied before the git sub-command and with a value.
Security 12
simple-git:
VISUALeditor environment variable is omitted from unsafe editor detectionExpands vulnerability detection to cover this configuration pattern.
Adds vulnerability detection for this configuration path.
Expands vulnerability detection to cover configuration supplied through this environment variable.
Adds vulnerability detection for this configuration path.
Expands vulnerability detection to cover this configuration pattern.
Adds allowUnsafeExec detection to this rebase option.
Adds allowUnsafeExec detection to this rebase option.
Adds allowUnsafeCommandBinaries detection when configuring this trailer command.
Adds allowUnsafeCommandBinaries detection when configuring this trailer command.
Expands vulnerability detection to cover this configuration key.
Adds vulnerability detection for this configuration path.
New APIs and options 2
Adds detection for this configuration path.
Exports a helper to detect whether an environment variable can be used to configure a git operation.
Fixes and other changes 1
Adds detection under this category for configuring trailer.<token>.cmd and trailer.<token>.command.
@simple-git/argv-parser 11 changes
Fixes and other changes 1
Adds a backward compatible API to resolve an issue when using simple-git@3.35.2 with @simple-git/argv-parser@1.1.0.