-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
UXD
- current version of jquery used in dev portal is 1.7.1
- newest version of jquery is 3.5.1
- In order to pass PCI compliance scan we need to be using 3.4.0 or higher
- We need new dev portals to use jquery 3.4.0
- Already created portals can keep running on 1.7.1 if that's easier.
Analysis:
There's a helpful tool [jquery-migrate|https://github.com/jquery/jquery-migrate] that will help us find any incompatibilities. However it says that first we need to upgrade to 1.12.x or 2.2.x before upgrading to 3.x
Integrating this tool is easy enough and if points out deprecated code as warnings in the browser's console.
The good thing is Features and 99% Tests pass using jquery 3.5.1. Usage in scripts doesn’t look complex at all, therefore the upgrade should be easy but possibly time consuming.
The bad thing is that there are many versions (and many sources) of jquery being used in porta and it’s very confusing (even if they're not used in dev portal).