Browse Source

[frontend] update jQuery to 3.5.1 to fix CVE

Björn Alm 2 years ago
parent
commit
b08e4442cf

File diff suppressed because it is too large
+ 0 - 1
desktop/core/ext-py/djangorestframework-3.9.4/rest_framework/static/rest_framework/js/jquery-3.3.1.min.js


File diff suppressed because it is too large
+ 1 - 0
desktop/core/ext-py/djangorestframework-3.9.4/rest_framework/static/rest_framework/js/jquery-3.5.1.min.js


+ 1 - 1
desktop/core/ext-py/djangorestframework-3.9.4/rest_framework/templates/rest_framework/admin.html

@@ -250,7 +250,7 @@
             csrfToken: "{{ csrf_token }}"
             csrfToken: "{{ csrf_token }}"
           };
           };
         </script>
         </script>
-        <script src="{% static "rest_framework/js/jquery-3.3.1.min.js" %}"></script>
+        <script src="{% static "rest_framework/js/jquery-3.5.1.min.js" %}"></script>
         <script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
         <script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
         <script src="{% static "rest_framework/js/csrf.js" %}"></script>
         <script src="{% static "rest_framework/js/csrf.js" %}"></script>
         <script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
         <script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>

+ 1 - 1
desktop/core/ext-py/djangorestframework-3.9.4/rest_framework/templates/rest_framework/base.html

@@ -293,7 +293,7 @@
           csrfToken: "{% if request %}{{ csrf_token }}{% endif %}"
           csrfToken: "{% if request %}{{ csrf_token }}{% endif %}"
         };
         };
       </script>
       </script>
-      <script src="{% static "rest_framework/js/jquery-3.3.1.min.js" %}"></script>
+      <script src="{% static "rest_framework/js/jquery-3.5.1.min.js" %}"></script>
       <script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
       <script src="{% static "rest_framework/js/ajax-form.js" %}"></script>
       <script src="{% static "rest_framework/js/csrf.js" %}"></script>
       <script src="{% static "rest_framework/js/csrf.js" %}"></script>
       <script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>
       <script src="{% static "rest_framework/js/bootstrap.min.js" %}"></script>

+ 1 - 1
desktop/core/ext-py/djangorestframework-3.9.4/rest_framework/templates/rest_framework/docs/error.html

@@ -66,6 +66,6 @@ at <code>rest_framework/docs/error.html</code>.</p>
 
 
 
 
 
 
-        <script src="{% static 'rest_framework/js/jquery-3.3.1.min.js' %}"></script>
+        <script src="{% static 'rest_framework/js/jquery-3.5.1.min.js' %}"></script>
     </body>
     </body>
 </html>
 </html>

+ 1 - 1
desktop/core/ext-py/djangorestframework-3.9.4/rest_framework/templates/rest_framework/docs/index.html

@@ -38,7 +38,7 @@
         {% include "rest_framework/docs/auth/basic.html" %}
         {% include "rest_framework/docs/auth/basic.html" %}
         {% include "rest_framework/docs/auth/session.html" %}
         {% include "rest_framework/docs/auth/session.html" %}
 
 
-        <script src="{% static 'rest_framework/js/jquery-3.3.1.min.js' %}"></script>
+        <script src="{% static 'rest_framework/js/jquery-3.5.1.min.js' %}"></script>
         <script src="{% static 'rest_framework/js/bootstrap.min.js' %}"></script>
         <script src="{% static 'rest_framework/js/bootstrap.min.js' %}"></script>
         <script src="{% static 'rest_framework/docs/js/jquery.json-view.min.js' %}"></script>
         <script src="{% static 'rest_framework/docs/js/jquery.json-view.min.js' %}"></script>
         <script src="{% static 'rest_framework/docs/js/api.js' %}"></script>
         <script src="{% static 'rest_framework/docs/js/api.js' %}"></script>

Some files were not shown because too many files changed in this diff