diff --git a/lib/jquery/plugins.php b/lib/jquery/plugins.php index 051e4de001c..e1f8d0cd720 100644 --- a/lib/jquery/plugins.php +++ b/lib/jquery/plugins.php @@ -36,7 +36,7 @@ */ $plugins = array( - 'jquery' => array('files' => array('jquery-3.2.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 acce48ee5c3..e48bf145a2f 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.2.1.min[JSEXT]', + jquery: '[JSURL]lib/jquery/jquery-3.5.1.min[JSEXT]', jqueryui: '[JSURL]lib/jquery/ui-1.12.1/jquery-ui.min[JSEXT]', jqueryprivate: '[JSURL]lib/requirejs/jquery-private[JSEXT]' }, diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml index c14a3e01d46..093493f2470 100644 --- a/lib/thirdpartylibs.xml +++ b/lib/thirdpartylibs.xml @@ -158,7 +158,7 @@ jquery jQuery MIT - 3.2.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 ab0588d1773..3ac96037823 100644 --- a/privacy/classes/local/request/moodle_content_writer.php +++ b/privacy/classes/local/request/moodle_content_writer.php @@ -623,8 +623,8 @@ class moodle_content_writer implements content_writer { $targetpath = ['js', 'general.js']; $this->copy_data($jspath, $targetpath); - $jquery = ['lib', 'jquery', 'jquery-3.2.1.min.js']; - $jquerydestination = ['js', 'jquery-3.2.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 3139ce781a6..5cf463d271e 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.2.1.min", + "jquery": "./js/jquery-3.5.1.min", "tree": "./js/tree.min" } });