diff --git a/lib/jquery/plugins.php b/lib/jquery/plugins.php index 03ec62a76e1..e1f8d0cd720 100644 --- a/lib/jquery/plugins.php +++ b/lib/jquery/plugins.php @@ -36,7 +36,7 @@ */ $plugins = array( - 'jquery' => array('files' => array('jquery-3.4.1.min.js')), + 'jquery' => array('files' => array('jquery-3.5.1.min.js')), 'ui' => array('files' => array('ui-1.12.1/jquery-ui.min.js')), 'ui-css' => array('files' => array('ui-1.12.1/theme/smoothness/jquery-ui.min.css')), ); diff --git a/lib/requirejs/moodle-config.js b/lib/requirejs/moodle-config.js index 25fa379f104..ea468cd87c3 100644 --- a/lib/requirejs/moodle-config.js +++ b/lib/requirejs/moodle-config.js @@ -6,7 +6,7 @@ var require = { waitSeconds : 0, paths: { - jquery: '[JSURL]lib/jquery/jquery-3.4.1[JSMIN][JSEXT]', + jquery: '[JSURL]lib/jquery/jquery-3.5.1[JSMIN][JSEXT]', jqueryui: '[JSURL]lib/jquery/ui-1.12.1/jquery-ui[JSMIN][JSEXT]', jqueryprivate: '[JSURL]lib/requirejs/jquery-private[JSEXT]' }, diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml index 4dc32b7b0bc..fa64d85c6a8 100644 --- a/lib/thirdpartylibs.xml +++ b/lib/thirdpartylibs.xml @@ -137,7 +137,7 @@ jquery jQuery MIT - 3.4.1 + 3.5.1 diff --git a/privacy/classes/local/request/moodle_content_writer.php b/privacy/classes/local/request/moodle_content_writer.php index ba9d231304a..57b40af81d2 100644 --- a/privacy/classes/local/request/moodle_content_writer.php +++ b/privacy/classes/local/request/moodle_content_writer.php @@ -627,8 +627,8 @@ class moodle_content_writer implements content_writer { $targetpath = ['js', 'general.js']; $this->copy_data($jspath, $targetpath); - $jquery = ['lib', 'jquery', 'jquery-3.4.1.min.js']; - $jquerydestination = ['js', 'jquery-3.4.1.min.js']; + $jquery = ['lib', 'jquery', 'jquery-3.5.1.min.js']; + $jquerydestination = ['js', 'jquery-3.5.1.min.js']; $this->copy_data($jquery, $jquerydestination); $requirecurrentpath = ['lib', 'requirejs', 'require.min.js']; diff --git a/privacy/templates/htmlpage.mustache b/privacy/templates/htmlpage.mustache index 6c040ef0c2e..ffe03376cf8 100644 --- a/privacy/templates/htmlpage.mustache +++ b/privacy/templates/htmlpage.mustache @@ -65,7 +65,7 @@

{{#str}}viewdata, core_privacy{{/str}}

- + @@ -74,7 +74,7 @@ "baseUrl": "./", "paths": { "app": "./", - "jquery": "./js/jquery-3.4.1.min", + "jquery": "./js/jquery-3.5.1.min", "core/tree": "./js/tree.min" } });