Skip to content

Commit

Permalink
fix(ui): upgrade to jquery-3.5.1 to address vulnerabilities in jquery…
Browse files Browse the repository at this point in the history
…-3.3.1
  • Loading branch information
bethesque committed Jan 15, 2021
1 parent 67ffda8 commit de41b23
Show file tree
Hide file tree
Showing 8 changed files with 1,156 additions and 648 deletions.
2 changes: 1 addition & 1 deletion lib/pact_broker/api/renderers/html_pact_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def head
<link rel='stylesheet' type='text/css' href='#{base_url}/stylesheets/material-menu.css'>
<link rel='stylesheet' type='text/css' href='#{base_url}/stylesheets/jquery-confirm.min.css'>
<script src='#{base_url}/javascripts/highlight.pack.js'></script>
<script src='#{base_url}/javascripts/jquery-3.3.1.min.js'></script>
<script src='#{base_url}/javascripts/jquery-3.5.1.min.js'></script>
<script src='#{base_url}/js/bootstrap.min.js'></script>
<script src='#{base_url}/javascripts/material-menu.js'></script>
<script src='#{base_url}/javascripts/pact.js'></script>
Expand Down
2 changes: 1 addition & 1 deletion lib/pact_broker/ui/views/layouts/main.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
%title= defined?(title) ? title : ""
%link{rel: 'shortcut icon', href: "#{base_url}/images/favicon.ico", type:'image/x-icon'}
%link{rel: 'stylesheet', href: "#{base_url}/css/bootstrap.min.css"}
%script{type: 'text/javascript', src:"#{base_url}/javascripts/jquery-3.3.1.min.js"}
%script{type: 'text/javascript', src:"#{base_url}/javascripts/jquery-3.5.1.min.js"}
%script{type: 'text/javascript', src:"#{base_url}/js/bootstrap.min.js"}
!= yield
2 changes: 1 addition & 1 deletion lib/pact_broker/ui/views/matrix/show.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%link{rel: 'stylesheet', href: "#{base_url}/css/bootstrap.min.css"}
%link{rel: 'stylesheet', href: "#{base_url}/stylesheets/index.css"}
%link{rel: 'stylesheet', href: "#{base_url}/stylesheets/matrix.css"}
%script{type: 'text/javascript', src: "#{base_url}/javascripts/jquery-3.3.1.min.js"}
%script{type: 'text/javascript', src: "#{base_url}/javascripts/jquery-3.5.1.min.js"}
%script{type: 'text/javascript', src: "#{base_url}/javascripts/jquery.tablesorter.min.js"}
%script{type: 'text/javascript', src: "#{base_url}/javascripts/matrix.js"}
%script{type: 'text/javascript', src: "#{base_url}/javascripts/clipboard.js"}
Expand Down
2 changes: 0 additions & 2 deletions public/javascripts/jquery-3.3.1.min.js

This file was deleted.

1 change: 0 additions & 1 deletion public/javascripts/jquery-3.3.1.min.map

This file was deleted.

Loading

0 comments on commit de41b23

Please sign in to comment.