Please refer below answer.
It is highly recommended for libraries and processes to use the same versions of dependencies, or within a difference of minor package updates, to avoid running into breaking changes. This is a best practice of developing and reusing libraries.
Useful references:
https://docs.uipath.com/studio/v2019-fastTrack/docs/managing-dependencies