Files
ruflo/v3/@claude-flow/cli/src/update
rUvandr 4efb421e33 fix(update): never treat an older registry version as an update (downgrade on 3.60.0) (#4432)
getUpdateType compared major, minor and patch independently. With 3.60.0
running and 3.59.17 as the registry latest, the minor check failed but
patch(17) > patch(0) returned 'patch', so the startup check auto-installed
3.59.17: a downgrade. It also made 'ruflo init' run npm install in the project
and time out the mods-cli-bin test on the 3.60.0 release PR.

An update is a strictly newer version: guard with semver.gt first.

Co-authored-by: r <r@x>
2026-10-23 12:48:58 -04:00
..
2026-01-13 15:41:17 +00:00
2026-01-13 15:36:35 +00:00