Vigia

Оновлення @simple-git/argv-parser з 2.x до 3.x

Порівняння публічного API @simple-git/argv-parser 2.0.1 і 3.0.0, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.

Підсумок

Видалені шляхи імпорту0
Видалені експорти1
Змінені сигнатури1
Видалені члени класів або інтерфейсів0
Змінені члени класів або інтерфейсів0
Нові застарівання19
Зміни вимог (engines, peer-залежності)0
Нові експорти14

Видалені експорти

importexportkindБуло
@simple-git/argv-parservulnerabilityCheckfunction(tokens: readonly string[], env: Record<string, unknown>): Vulnerability[]

Змінені сигнатури

exportБулоСтало
@simple-git/argv-parser · parseEnv(raw: Record<string, unknown>): { config: ParsedConfigActivity; vulnerabilities: Vulnerability[]; }(raw: Record<string, unknown>, inherited?: Record<string, unknown> | undefined): { config: ParsedConfigActivity; vulnerabilities: Vulnerability[]; }

Видалені члени класів або інтерфейсів

Не виявлено.

Змінені члени класів або інтерфейсів

Не виявлено.

Нові застарівання

export@deprecated
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeAliasname the specific keys instead, for example `allowConfig: ['alias.*']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafePagername the specific keys instead, for example `allowConfig: ['core.pager', 'pager.*', 'interactive.diffFilter']` and / or `allowEnvironment: ['GIT_PAGER', 'PAGER']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeEditorname the specific keys instead, for example `allowConfig: ['core.editor', 'sequence.editor']` and / or `allowEnvironment: ['GIT_EDITOR', 'VISUAL', 'EDITOR', 'GIT_SEQUENCE_EDITOR']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeFiltername the specific keys instead, for example `allowConfig: ['filter.*']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeAskPassname the specific keys instead, for example `allowConfig: ['core.askPass']` and / or `allowEnvironment: ['GIT_ASKPASS', 'SSH_ASKPASS']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeIncludename the specific keys instead, for example `allowConfig: ['include.path', 'includeIf.*.path']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeGitProxyname the specific keys instead, for example `allowConfig: ['core.gitProxy']` and / or `allowEnvironment: ['GIT_PROXY_COMMAND']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeFsMonitorname the specific keys instead, for example `allowConfig: ['core.fsmonitor']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeHooksPathname the specific keys instead, for example `allowConfig: ['core.hooksPath']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeSubmodulename the specific keys instead, for example `allowConfig: ['submodule.*.update']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeGpgProgramname the specific keys instead, for example `allowConfig: ['gpg.program', 'gpg.*.program']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeSshCommandname the specific keys instead, for example `allowConfig: ['core.sshCommand']` and / or `allowEnvironment: ['GIT_SSH_COMMAND', 'GIT_SSH']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeUrlRewritename the specific keys instead, for example `allowConfig: ['url.*.insteadOf']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeMergeDrivername the specific keys instead, for example `allowConfig: ['merge.*.driver', 'mergetool.*.path', 'mergetool.*.cmd']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeDiffExternalname the specific keys instead, for example `allowConfig: ['diff.external', 'diff.*.command', 'difftool.*.cmd', 'difftool.*.path']` and / or `allowEnvironment: ['GIT_EXTERNAL_DIFF']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeDiffTextConvname the specific keys instead, for example `allowConfig: ['diff.*.textconv']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeCommandBinariesname the specific keys instead, for example `allowConfig: ['tar.*.command', 'trailer.*.cmd', 'trailer.*.command']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeCredentialHelpername the specific keys instead, for example `allowConfig: ['credential.helper', 'credential.*.helper']`
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeProtocolOverridename the specific keys instead, for example `allowConfig: ['protocol.*.allow']`

Зміни вимог (engines, peer-залежності)

Не виявлено.

Нові експорти (14)
importexportkind
@simple-git/argv-parserrefNamefunction
@simple-git/argv-parserremoteUrlfunction
@simple-git/argv-parsertemplateArgvfunction
@simple-git/argv-parserTemplateValueclass
@simple-git/argv-parserRemoteProtocoltype
@simple-git/argv-parserisGuardedEnvKeyfunction
@simple-git/argv-parserisSafeConfigKeyvariable
@simple-git/argv-parserGitTemplateErrorclass
@simple-git/argv-parserRemoteUrlOptionsinterface
@simple-git/argv-parserSAFE_CONFIG_KEYSvariable
@simple-git/argv-parserconfigKeyMatcherfunction
@simple-git/argv-parserTemplateArgvValuetype
@simple-git/argv-parserVulnerabilityLeveltype
@simple-git/argv-parserisTemplateStringsArrayfunction

Передайте ці дані своєму ШІ-агенту

Vigia — безкоштовний MCP-сервер: ваш агент для програмування перевіряє версії, несумісні зміни та вразливості, перш ніж писати код. Без реєстрації та API-ключа.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Додати в CursorДодати в VS Code★ Зірка на GitHub

Будь-який інший MCP-клієнт
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Навичка для агентів (SKILL.md): підказує агенту, коли використовувати Vigia · GitHub Action для pull request

Поширені запитання

Які несумісні зміни під час оновлення @simple-git/argv-parser з 2 до 3?

Між @simple-git/argv-parser 2.0.1 і 3.0.0 Vigia знайшла видалених експортів: 1, змінених сигнатур: 1, видалених або змінених членів класів та інтерфейсів: 0.

Що застаріло в @simple-git/argv-parser 3?

У @simple-git/argv-parser 3.0.0 новими застарілими позначено експортів або членів: 19.

Для агентів

GET https://vigia.coredls.cloud/v1/packages/npm/@simple-git/argv-parser/upgrade?from=2.0.1&to=3.0.0