Open kittithorntha opened 6 years ago
The function which is dangerous is globalEval, and we fixed this method manually: https://github.com/nextcloud/server/blob/086ce709f7368af41543178a3de5d3c561b5ddb7/core/js/js.js#L1285-L1292
We should still think about updating it at some point since 2.1 seems to not get any updates anymore.
cc @nextcloud/javascript
This requires #4628 to be fixed first.
When greping through the core code, thw following in 3.x deprecated methods are also used quite often, so it makes sense to update those when bumping the jquery version:
Is this why my web console is spammed with jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
?
Doing it for me too. Probably slowing down the load quite a bit I imagine?
Doing it for me too. Probably slowing down the load quite a bit I imagine?
Same for us, jquery is flooding and making th UI unresponsive. When I load the web UI with the DevTools open, everything is way more responsive. Very strange.
NC upgraded from 20 to 22 today and there are a lot of messages like that. This makes Chromium slow down. I consider this to be another regression. #31763
I have found that Nextcloud include jquery version 2.1.4 that have issue in this link https://github.com/jquery/jquery/issues/2432
https://github.com/nextcloud/server/blob/master/core/vendor/core.js at line 1
/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */
Solution that is, Nextcloud should upgrade to the lasted version that was described in issue 2432