Passer de @simple-git/argv-parser 2.x à 3.x
Comparaison de l’API publique de @simple-git/argv-parser 2.0.1 et 3.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.
Résumé
| Chemins d’importation supprimés | 0 |
|---|---|
| Exports supprimés | 1 |
| Signatures modifiées | 1 |
| Membres de classes ou d’interfaces supprimés | 0 |
| Membres de classes ou d’interfaces modifiés | 0 |
| Nouvelles dépréciations | 19 |
| Changements d’exigences (engines, dépendances peer) | 0 |
| Nouveaux exports | 14 |
Exports supprimés
| import | export | kind | Avant |
|---|---|---|---|
@simple-git/argv-parser | vulnerabilityCheck | function | (tokens: readonly string[], env: Record<string, unknown>): Vulnerability[] |
Signatures modifiées
| export | Avant | Aprè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[]; } |
Membres de classes ou d’interfaces supprimés
Aucun détecté.
Membres de classes ou d’interfaces modifiés
Aucun détecté.
Nouvelles dépréciations
| 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']` |
Changements d’exigences (engines, dépendances peer)
Aucun détecté.
Nouveaux exports (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 |
Donnez ces données à votre agent IA
Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub
Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests
Questions fréquentes
Quels sont les changements incompatibles en passant de @simple-git/argv-parser 2 à 3 ?
Entre @simple-git/argv-parser 2.0.1 et 3.0.0, Vigia a trouvé 1 exports supprimés, 1 signatures modifiées et 0 membres de classes ou d’interfaces supprimés ou modifiés.
Qu’est-ce qui a été déprécié dans @simple-git/argv-parser 3 ?
19 exports ou membres sont désormais marqués comme dépréciés dans @simple-git/argv-parser 3.0.0.
Pour les agents
GET https://vigia.coredls.cloud/v1/packages/npm/@simple-git/argv-parser/upgrade?from=2.0.1&to=3.0.0