jQuery v1.12.4 in SP Pagebuilder - Forum | JoomShaper
Solved SP Page Builder

jQuery v1.12.4 in SP Pagebuilder

Asked by Paul Trouw 4 years ago Last activity 4 years ago

Hi,
By default the /components/com_sppagebuilder/assets/js/jquery.min.js is loaded.
This is jQuery v1.12.4 which is old and vulnerable.
Can I just delete it? Or what to do?
Joomla 4 already uses: /media/vendor/jquery/js/jquery.min.js?3.6.0

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
4 years ago · edited

yes, we removed file which wasn't used.

If you have it, you can delete it.

But if you have custom template make extra tests and in case of load jquery from Joomla 4.x core.

24 more replies

Ofi Khan Staff

Hello Paul Trouw

Thanks for reaching out to us. There might be some dependencies with the JQuery version. So, I do not recommend you to delete it. If you want, you can test deleting it on your local environment. But please do not delete it on your production sites yet. I have forwarded the request to update the JQuery version to the development team.

Best regards

Paul Trouw Asked this

For now I have renamed it. Everyting still seems to work. BTW I am using J4.
And Lighthouse is flaging jQuery v1.12.4 with 4 security risks.
I will wait your answer from the development team.

Ofi Khan Staff

It is already in Dev's table. Hopefully, they will update it in the next version. Thanks for your feedback.

Vassilis
4 years ago · edited

Hi!

I faced the same problem in joomla 4.
JQuery 1.12.4 is very obsolete and you should delete it asap, especially since Joomla core loads the 3.6.0 version of the script!

I was forced to strip it with jQuery Easy. At least you could add the ability for the user to disable it.

Wasn't it enough for you that you're bloating the html with tons of useless code, you thought that you should be loading JQuery library twice?

You guys are moving extremely slow and losing clients, with me being one of them.
I'm already moving my projects to your competitors.

Paul Trouw Asked this

Hi, has this been fixed already?

Paul Frankowski Senior Staff

I will ask our developer right now,

but remember that file also exist in joomla 3.10 core (!)

Paul Frankowski Senior Staff
4 years ago · edited

Our developer promised to take a look at this, probably this file is not used anymore.

but I am not sure if during component update Joomla can delete not used file, so I have concern only about it.

Vassilis
4 years ago · edited

Our developer promised to take a look at this

It is already in Dev's table

Blah blah blah

probably this file is not even used anymore

I'm afraid you don't know much about your porduct. The file is heavily used by the extension. I can name some SP Page Builder addons that make use of JQuery 1.12.4, like open street map, accordion etc

Paul Frankowski Senior Staff
4 years ago · edited

@Vassilis

Why you have to be so rude here? Do you answer in this same way to your clients? I doubt.

Don't forget that Joomla have its own JQuery file in Joomla 3 and Joomla 4, so we don't have to load that file from component folder, but from joomla core in case of. I am nor developer , but I know that it can be solved somehow in a good way. Temporary, a file replacement can be a solution. For countdown, popup etc there are separate .js files.

Vassilis

@Paul Frankowski

This thread is open for more than a month, and you keep saying that your developers will take a look.

You're calling me rude, but in fact, you're rude and fooling your clients.

You are selling an extension based on an outdated and vulnerable jQuery version, and you guys have no plan of moving forward.

As you said, Joomla has its own jQuery file but most of your add-ons are based on jQuery 1.12.4, and they are loading component's file whenever they are used.

What do you mean by file replacement? Delete or rename your file? This is not a solution for me. As I said, many add-ons are based on jQuery 1.12.4 and if it's not loaded they don't work.
Your developers have to recode all those add-ons as well as the whole code the component produces, which is bloating the HTML with useless code.

As I already said, after many years of using SP Page Builder Pro, your behavior and unwillingness of moving forward are pushing me away and sending me to your competitors.
FYI, from now on, all my new projects are based on another page builder and not on yours.

Your rude client.

Log in to reply.