Osclass Support Forums
General osclass questions => Report bug => Topic started by: krzyszt22 on January 04, 2023, 10:03:04 AM
-
Hi,
after changing jQuery Version to 3.x.x PageSpeed Insights informs that there are still security holes
-
@krzyszt22
Suppose those are "low" security holes.
jQuery libraries (v3.x) are going to be updated in v8.0.3, meanwhile you can update them manually in oc-includes/assets or not use them at all (jquery UI).
-
I just want this information not to appear in PageSpeed Insights. How can I disable or update?
-
upload newer versions or remove these scripts or replace with empty JS file.
-
Please advise which files should I delete?
\oc-includes\osclass\assets\css\jquery-ui
\oc-includes\osclass\assets\js\jquery3\jquery-ui
-
Just .js onejust clean it, removal will rewuire more actions (or why not directly replace it with latest jquery ui content?)
Cleaning file may require removing jquery ui functions in core, theme or plugins if they use it
-
I have a gamma theme
/oc-includes/osclass/assets/js/jquery3/jquery-ui
After uploading new files, PageSpeed Insights reports the old jQuery [email protected]
-
Does not matter what theme you use
-
After uploading new files, PageSpeed Insights reports the old jQuery [email protected]
/oc-includes/osclass/assets/js/jquery3/jquery-ui
-
Why you do not replace it?
-
I try to replace the files and there is this information. Should I do anything else?
-
No, just replace content of that file with newer version and that it. Until even newer version does not have any flaws.
-
I had to clear the cache on the server. Now it is working
-
Cool, glad to hear that ;)
-
Do not replace or delete these files
This version is linked to the categories in the control panel
Where you will not be able to arrange categories on the new library
This has been tried before
-
@rooman
In case script is not compatible with your jQuery, yes.
-
after changing jquery it doesn't work to change category position
-
then you did it wrong or you used incompatible version.
-
I downloaded the version https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/
other than that everything works fine. After changing the settings to 1.x.x it works but PageSpeed Insights informs about threats