Passer de unbash 5.x à 6.x
Comparaison de l’API publique de unbash 5.1.0 et 6.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 | 0 |
| Signatures modifiées | 4 |
| Membres de classes ou d’interfaces supprimés | 5 |
| Membres de classes ou d’interfaces modifiés | 4 |
| Nouvelles dépréciations | 0 |
| Changements d’exigences (engines, dépendances peer) | 0 |
| Nouveaux exports | 7 |
Exports supprimés
Aucun détecté.
Signatures modifiées
| export | Avant | Après |
|---|---|---|
unbash · WordPart | LiteralPart | SingleQuotedPart | DoubleQuotedPart | AnsiCQuotedPart | LocaleStringPart | SimpleExpansionPart | ParameterExpansionPart | CommandExpansionPart | ArithmeticExpansionPart | ProcessSubstitutionPart | ExtendedGlobPart | BraceExpansionPart | LiteralPart | GlobPart | SingleQuotedPart | DoubleQuotedPart | AnsiCQuotedPart | LocaleStringPart | SimpleExpansionPart | ParameterExpansionPart | CommandExpansionPart | ArithmeticExpansionPart | ProcessSubstitutionPart | ExtendedGlobPart | BraceExpansionPart |
unbash · SyntaxNode | ParsedScript | Word | WordPart | ParameterOperation | ArithmeticExpression | Assignment | ArrayValue | Redirection | RedirectDescriptor | HereDocDelimiter | HereDocBody | PipelineNode | AndOr | CompoundList | Statement | CaseItem | TestExpression | ParsedScript | Statement | CompoundList | CaseItem | Elif | PipelineNode | PipelinePrefix | AndOr | Word | WordPart | Assignment | ArrayValue | Redirection | RedirectDescriptor | HereDocDelimiter | HereDocBody | ArithmeticExpression | TestExpression | ParameterOperation |
unbash · CommandNode | Command | Redirected | CompoundCommand | Function | Coproc | Command | CompoundCommand | Redirected | Function | Coproc |
unbash · PipelineNode | CommandNode | Pipeline | Time | Negation | CommandNode | Pipeline |
Membres de classes ou d’interfaces supprimés
| member | import | Avant |
|---|---|---|
Time.command | unbash | PipelineNode | undefined |
Negation.command | unbash | PipelineNode | undefined |
Negation.keywordEnd | unbash | number |
TestLogicalExpression.left | unbash | TestExpression |
TestLogicalExpression.right | unbash | TestExpression |
Membres de classes ou d’interfaces modifiés
| member | Avant | Après |
|---|---|---|
If.else | If | CompoundList | undefined | CompoundList | undefined |
Coproc.body | Command | Redirected | CompoundCommand | CompoundList | CompoundList | Command | CompoundCommand | Redirected |
Command.suffix | readonly (CommandArgument | Redirection)[] | readonly (Redirection | CommandArgument)[] |
Function.body | Redirected | CompoundCommand | CompoundList | CompoundList | CompoundCommand | Redirected |
Nouvelles dépréciations
Aucun détecté.
Changements d’exigences (engines, dépendances peer)
Aucun détecté.
Nouveaux exports (7)
| import | export | kind |
|---|---|---|
unbash | Elif | interface |
unbash | GlobPart | type |
unbash | StarGlobPart | interface |
unbash | forEachChild | function |
unbash | PipelinePrefix | type |
unbash | BracketGlobPart | interface |
unbash | QuestionGlobPart | interface |
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 unbash 5 à 6 ?
Entre unbash 5.1.0 et 6.0.0, Vigia a trouvé 0 exports supprimés, 4 signatures modifiées et 9 membres de classes ou d’interfaces supprimés ou modifiés.
Qu’est-ce qui a été déprécié dans unbash 6 ?
0 exports ou membres sont désormais marqués comme dépréciés dans unbash 6.0.0.
Pour les agents
GET https://vigia.coredls.cloud/v1/packages/npm/unbash/upgrade?from=5.1.0&to=6.0.0