Aktualizacja node-ssh z 13.x do 14.x
Porównanie publicznego API node-ssh 13.2.1 i 14.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 0 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 4 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 2 |
| Nowe eksporty | 2 |
Usunięte eksporty
Nie wykryto.
Zmienione sygnatury
Nie wykryto.
Usunięte składowe klas lub interfejsów
Nie wykryto.
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
NodeSSH.putFile | (localFile: string, remoteFile: string, givenSftp?: any, transferOptions?: any): Promise<void> | (localFile: string, remoteFile: string, givenSftp?: any, transferOptions?: any, options?: SSHPutFileOptions | undefined): Promise<void> |
NodeSSH.putFiles | (files: { local: string; remote: string; }[], { concurrency, sftp: givenSftp, transferOptions }?: SSHPutFilesOptions | undefined): Promise<void> | (files: { local: string; remote: string; }[], { concurrency, sftp: givenSftp, transferOptions, atomic, skipUnchanged, }?: SSHPutFilesOptions | undefined): Promise<void> |
NodeSSH.putDirectory | (localDirectory: string, remoteDirectory: string, { concurrency, sftp: givenSftp, transferOptions, recursive, tick, validate, }?: SSHGetPutDirectoryOptions | undefined): Promise<boolean> | (localDirectory: string, remoteDirectory: string, { concurrency, sftp: givenSftp, transferOptions, recursive, tick, validate, atomic, skipUnchanged, }?: SSHGetPutDirectoryOptions | undefined): Promise<boolean> |
SSHGetPutDirectoryOptions.tick | ((localFile: string, remoteFile: string, error: Error | null) => void) | undefined | ((localFile: string, remoteFile: string, error: Error | null, skipped?: boolean | undefined) => void) | undefined |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | >= 10 | >=22 |
peerDependencies.@types/ssh2 | — | ^1.11.2 |
Nowe eksporty (2)
| import | export | kind |
|---|---|---|
node-ssh | __esModule | variable |
node-ssh | SSHPutFileOptions | interface |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji node-ssh z 13 do 14?
Między node-ssh 13.2.1 a 14.0.0 Vigia znalazła 0 usuniętych eksportów, 0 zmienionych sygnatur i 4 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w node-ssh 14?
0 eksportów lub składowych oznaczono w node-ssh 14.0.0 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/node-ssh/upgrade?from=13.2.1&to=14.0.0