[libvirt] [PATCH 4/4] docs: Update JavaScript libraries

Andrea Bolognani abologna at redhat.com
Tue Jun 18 08:12:43 UTC 2019


We're using outdated versions of all our JavaScript libraries,
which might expose us to bugs and vulnerabilities. Move to the
latest available version of each.

More specifically, these are the versions we're moving from and
to, with their respective release dates:

  jQuery       3.1.1 (Sep 2016) ->  3.4.1 (May 2019)
  jquery.rss   3.2.1 (Dec 2015) ->  3.3.0 (Jan 2017)
  Moment.js    2.8.3 (Nov 2014) -> 2.24.0 (Jan 2019)

Our custom JavaScript code doesn't use any of the libraries, so
no need to update anything there; and the latest version of
jquery.rss seems perfectly happy with using the latest versions
of jQuery and Moment.js, so we're fine on that front as well.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 docs/index.html.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/index.html.in b/docs/index.html.in
index 1301c77947..bede1e29e0 100644
--- a/docs/index.html.in
+++ b/docs/index.html.in
@@ -2,9 +2,9 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
-    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"> </script>
-    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.4/moment.min.js"> </script>
-    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-rss/3.2.1/jquery.rss.min.js"> </script>
+    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>
+    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"> </script>
+    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-rss/3.3.0/jquery.rss.min.js"> </script>
 
     <script type="text/javascript">
       <!--
-- 
2.21.0




More information about the libvir-list mailing list