perf: validate update version before backup (#5479)
perf: validate update version before backup (#5479)

* perf: validate update version before backup

* perf: no need to loop through all deps

Co-authored-by: Igor Randjelovic <cda96d28d82b415670f80289458633a594d98586@gmail.com>
NativeScript/nativescript-cli,NativeScript/nativescript-cli,NativeScript/nativescript-cli,NativeScript/nativescript-cli