Оновлення @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 |
Видалені експорти
| import | export | kind | Було |
|---|---|---|---|
@simple-git/argv-parser | vulnerabilityCheck | function | (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.allowUnsafeAlias | name the specific keys instead, for example `allowConfig: ['alias.*']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafePager | name the specific keys instead, for example `allowConfig: ['core.pager', 'pager.*', 'interactive.diffFilter']` and / or `allowEnvironment: ['GIT_PAGER', 'PAGER']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeEditor | name 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.allowUnsafeFilter | name the specific keys instead, for example `allowConfig: ['filter.*']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeAskPass | name the specific keys instead, for example `allowConfig: ['core.askPass']` and / or `allowEnvironment: ['GIT_ASKPASS', 'SSH_ASKPASS']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeInclude | name the specific keys instead, for example `allowConfig: ['include.path', 'includeIf.*.path']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeGitProxy | name the specific keys instead, for example `allowConfig: ['core.gitProxy']` and / or `allowEnvironment: ['GIT_PROXY_COMMAND']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeFsMonitor | name the specific keys instead, for example `allowConfig: ['core.fsmonitor']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeHooksPath | name the specific keys instead, for example `allowConfig: ['core.hooksPath']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeSubmodule | name the specific keys instead, for example `allowConfig: ['submodule.*.update']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeGpgProgram | name the specific keys instead, for example `allowConfig: ['gpg.program', 'gpg.*.program']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeSshCommand | name the specific keys instead, for example `allowConfig: ['core.sshCommand']` and / or `allowEnvironment: ['GIT_SSH_COMMAND', 'GIT_SSH']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeUrlRewrite | name the specific keys instead, for example `allowConfig: ['url.*.insteadOf']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeMergeDriver | name the specific keys instead, for example `allowConfig: ['merge.*.driver', 'mergetool.*.path', 'mergetool.*.cmd']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeDiffExternal | name 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.allowUnsafeDiffTextConv | name the specific keys instead, for example `allowConfig: ['diff.*.textconv']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeCommandBinaries | name the specific keys instead, for example `allowConfig: ['tar.*.command', 'trailer.*.cmd', 'trailer.*.command']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeCredentialHelper | name the specific keys instead, for example `allowConfig: ['credential.helper', 'credential.*.helper']` |
@simple-git/argv-parser · VulnerabilityCategoryFlags.allowUnsafeProtocolOverride | name the specific keys instead, for example `allowConfig: ['protocol.*.allow']` |
Зміни вимог (engines, peer-залежності)
Не виявлено.
Нові експорти (14)
| import | export | kind |
|---|---|---|
@simple-git/argv-parser | refName | function |
@simple-git/argv-parser | remoteUrl | function |
@simple-git/argv-parser | templateArgv | function |
@simple-git/argv-parser | TemplateValue | class |
@simple-git/argv-parser | RemoteProtocol | type |
@simple-git/argv-parser | isGuardedEnvKey | function |
@simple-git/argv-parser | isSafeConfigKey | variable |
@simple-git/argv-parser | GitTemplateError | class |
@simple-git/argv-parser | RemoteUrlOptions | interface |
@simple-git/argv-parser | SAFE_CONFIG_KEYS | variable |
@simple-git/argv-parser | configKeyMatcher | function |
@simple-git/argv-parser | TemplateArgvValue | type |
@simple-git/argv-parser | VulnerabilityLevel | type |
@simple-git/argv-parser | isTemplateStringsArray | function |
Передайте ці дані своєму ШІ-агенту
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