Come si usa: Semver Compare
Semver Compare è uno strumento online gratuito di Strumenti per sviluppatori che compare two semantic versions by precedence and tell you whether the change is breaking istantaneamente nel browser. Incolla i dati, regola le opzioni e ottieni il risultato in tempo reale: senza installazione, senza registrazione, senza upload.
Descrizione
Compare two semantic versions by precedence and tell you whether the change is breaking.
- Strumenti per sviluppatori
- Essendo tutto client-side, Semver Compare è sicuro anche per dati sensibili come chiavi API e token.
Come si usa
Usare Semver Compare richiede tre passaggi:
- Incolla i dati nel campo di input (o carica l’esempio).
- Regola le opzioni in base al formato desiderato.
- Copia, scarica o consulta l’output — aggiornato in tempo reale.
Esegui
Esempi
Compare against 1.9.0 — numerically per component, not as a string, so 1.10.0 wins.
Input
1.10.0
Output
1.10.0 < 2.0.0 Comparison: A is OLDER than B Difference: major -1, minor 10, patch 0 Breaking change between them: YES (major differs)
此输出由工具真实运行产生,并非人工编写。
Casi d’uso
Casi d’uso comuni di Semver Compare:
- Compare two semantic versions by precedence and tell you whether the change is breaking.
Parametri
| key | Opzioni | type | allowed | default | Semver Compare |
|---|---|---|---|---|---|
mode | Operation | select | parse (Parse and explain), compare (Compare two versions), bump (Bump a part), range (Test a range), sort (Sort a list) | — | compare |
b | Second version / range | text | — | 2.0.0 | — |
part | Bump part | select | major, minor, patch, premajor, preminor, prepatch, prerelease | — | — |
pre | Prerelease tag | text | — | beta | — |
Input: text · Output: text · live: ✓
FAQ
Cos’è Semver Compare?
Semver Compare serve a compare two semantic versions by precedence and tell you whether the change is breaking. Funziona interamente nel browser, i dati restano privati.
È gratuito?
Sì, illimitato, senza registrazione né installazione.
I miei dati vengono caricati?
No, tutto è elaborato localmente nel browser.
Da sapere
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。