Actualizar @simple-git/argv-parser de 2.x a 3.x
Comparación de la API pública de @simple-git/argv-parser 2.0.1 y 3.0.0, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.
Resumen
| Rutas de importación eliminadas | 0 |
|---|---|
| Exports eliminados | 1 |
| Firmas modificadas | 1 |
| Miembros de clases o interfaces eliminados | 0 |
| Miembros de clases o interfaces modificados | 0 |
| Nuevas deprecaciones | 19 |
| Cambios de requisitos (engines, dependencias peer) | 0 |
| Exports nuevos | 14 |
Exports eliminados
| import | export | kind | Antes |
|---|---|---|---|
@simple-git/argv-parser | vulnerabilityCheck | function | (tokens: readonly string[], env: Record<string, unknown>): Vulnerability[] |
Firmas modificadas
| export | Antes | Después |
|---|---|---|
@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[]; } |
Miembros de clases o interfaces eliminados
No se detectaron.
Miembros de clases o interfaces modificados
No se detectaron.
Nuevas deprecaciones
| 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']` |
Cambios de requisitos (engines, dependencias peer)
No se detectaron.
Exports nuevos (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 |
Dale estos datos a tu agente de IA
Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Agregar a CursorAgregar a VS Code★ Estrella en GitHub
Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests
Preguntas frecuentes
¿Cuáles son los cambios incompatibles al actualizar @simple-git/argv-parser de 2 a 3?
Entre @simple-git/argv-parser 2.0.1 y 3.0.0, Vigia encontró 1 exports eliminados, 1 firmas modificadas y 0 miembros de clases o interfaces eliminados o modificados.
¿Qué quedó deprecado en @simple-git/argv-parser 3?
19 exports o miembros quedaron marcados como deprecados en @simple-git/argv-parser 3.0.0.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/@simple-git/argv-parser/upgrade?from=2.0.1&to=3.0.0