Memperbarui unbash dari 5.x ke 6.x
Perbandingan API publik unbash 5.1.0 dan 6.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.
Ringkasan
| Jalur impor yang dihapus | 0 |
|---|---|
| Ekspor yang dihapus | 0 |
| Tanda tangan yang berubah | 4 |
| Anggota kelas atau antarmuka yang dihapus | 5 |
| Anggota kelas atau antarmuka yang berubah | 4 |
| Baru ditandai usang | 0 |
| Perubahan persyaratan (engines, dependensi peer) | 0 |
| Ekspor baru | 7 |
Ekspor yang dihapus
Tidak ada yang terdeteksi.
Tanda tangan yang berubah
| export | Sebelum | Sesudah |
|---|---|---|
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 |
Anggota kelas atau antarmuka yang dihapus
| member | import | Sebelum |
|---|---|---|
Time.command | unbash | PipelineNode | undefined |
Negation.command | unbash | PipelineNode | undefined |
Negation.keywordEnd | unbash | number |
TestLogicalExpression.left | unbash | TestExpression |
TestLogicalExpression.right | unbash | TestExpression |
Anggota kelas atau antarmuka yang berubah
| member | Sebelum | Sesudah |
|---|---|---|
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 |
Baru ditandai usang
Tidak ada yang terdeteksi.
Perubahan persyaratan (engines, dependensi peer)
Tidak ada yang terdeteksi.
Ekspor baru (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 |
Berikan fakta ini ke agen AI Anda
Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub
Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request
Pertanyaan umum
Apa saja perubahan tidak kompatibel saat memperbarui unbash dari 5 ke 6?
Antara unbash 5.1.0 dan 6.0.0, Vigia menemukan 0 ekspor yang dihapus, 4 tanda tangan yang berubah, dan 9 anggota kelas atau antarmuka yang dihapus atau berubah.
Apa yang ditandai usang di unbash 6?
0 ekspor atau anggota baru ditandai usang di unbash 6.0.0.
Untuk agen
GET https://vigia.coredls.cloud/v1/packages/npm/unbash/upgrade?from=5.1.0&to=6.0.0