Upgrading unbash from 5.x to 6.x
Comparison of the public API of unbash 5.1.0 and 6.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 4 |
| Removed class or interface members | 5 |
| Changed class or interface members | 4 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 0 |
| New exports | 7 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
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 |
Removed class or interface members
| member | import | Before |
|---|---|---|
Time.command | unbash | PipelineNode | undefined |
Negation.command | unbash | PipelineNode | undefined |
Negation.keywordEnd | unbash | number |
TestLogicalExpression.left | unbash | TestExpression |
TestLogicalExpression.right | unbash | TestExpression |
Changed class or interface members
| member | Before | After |
|---|---|---|
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 |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
None detected.
New 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 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading unbash from 5 to 6?
Between unbash 5.1.0 and 6.0.0, Vigia found 0 removed exports, 4 changed signatures and 9 removed or changed class or interface members.
What became deprecated in unbash 6?
0 exports or members are newly marked as deprecated in unbash 6.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/unbash/upgrade?from=5.1.0&to=6.0.0