Does jQuery Migrate eliminate jQuery XSS vulnerabilities?

Does jQuery Migrate eliminate jQuery XSS vulnerabilities?

I read the website below saying that jQuery Migrate restores the deprecated methods which older jQuery has.
https://github.com/jquery/jquery-migrate
Does jQuery Migrate eliminate jQuery XSS vulnerabilities while restoring them?

For the countermeasure of XSS vulnerabilities, I need to upgrade the version from 1.11.3 to 3.5.1.
If jQuery Migrate eliminates the XSS vulnerabilities, I do not need to fix deprecated methods and
what I need to do is just set CDNs of jQuery and jQuery Migrate.

It would be very appreciated if you answer my question.