Skip to content

Commit

Permalink
Pin chart.js library version
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-bchavis committed Oct 16, 2024
1 parent 89a330d commit b8fae97
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/templates/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<h1 class="page_title">Components</h1>
<br><br>

<script src="https://cdn.jsdelivr.net/npm/chart.js" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.3" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>


<!-- Table -->
Expand Down
2 changes: 1 addition & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1 class="page_title">Welcome, {{ user.name }}!</h1>
min-width: 600px;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/chart.js" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.3" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>
<script type="text/javascript">
// Code for the vendors chart
const vendorsCtx = document.getElementById('vendorsChart');
Expand Down
2 changes: 1 addition & 1 deletion app/templates/vendors.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<h1 class="page_title">Vendors</h1>
<br><br>

<script src="https://cdn.jsdelivr.net/npm/chart.js" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.3" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>

<div class="modal fade" id="dynamicModal" tabindex="-1" aria-labelledby="dynamicModalLabel" aria-hidden="true">
<div class="modal-dialog">
Expand Down
2 changes: 1 addition & 1 deletion app/templates/vulnerabilities.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<h1 class="page_title">Vulnerabilities</h1>
<br><br>

<script src="https://cdn.jsdelivr.net/npm/chart.js" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.3" integrity="sha384-JUh163oCRItcbPme8pYnROHQMC6fNKTBWtRG3I3I0erJkzNgL7uxKlNwcrcFKeqF" crossorigin="anonymous"></script>


<!-- Table -->
Expand Down

0 comments on commit b8fae97

Please sign in to comment.