Or you can just load one on top of the other. It will be ok
However the jQuery 4 announcement page linked to this jQuery migration plugin that I was unaware of. Perhaps it can help in some old projects.
https://github.com/jquery/jquery-migrate