Skip to content

Commit

Permalink
Merge pull request #231 from scns/main
Browse files Browse the repository at this point in the history
Fix code scanning alert - Inclusion of functionality from an untrusted source - 3.5.1.slim.min.js
  • Loading branch information
huizebruin authored Sep 26, 2024
2 parents c210038 + 485f0af commit 08d30f2
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ categories:
collapse-after: 5
labels:
- "dependencies"
- title: "🚨🚨 Security Fixes 🚨🚨"
labels:
- "security"

exclude-labels:
- "sync"
Expand All @@ -52,6 +55,7 @@ version-resolver:
- "enhancement"
- "performance"
- "refactor"
- "security"
default: patch
no-changes-template: '- No changes'
template: |
Expand Down
5 changes: 4 additions & 1 deletion static/Installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,10 @@ <h3>s0tool-standard-flux</h3>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/Troubleshooting.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ <h2>Advanced Users</h2>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ <h2 id="contact">Contact </h2>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ <h2 id="Contributing">Contributing </h2><br>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/diyorbuy.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ <h3 id="buy s0tool">How to order the S0tool 🛒 ?</h3><br>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/energydashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ <h2 id="dashboard">Watermeter and s0 port in to energy dashboard.</h2>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
7 changes: 5 additions & 2 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@


<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>

<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/information.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ <h2>Blueprint for S0tool and Home Assistant </h2>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ <h2 id="License">License </h2>

<div id="footer"></div>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./js/script.js"></script>
Expand Down
5 changes: 4 additions & 1 deletion static/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@
</div>
</nav>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
integrity="sha256-kmHvs0B+OpCW5GVHUNjv9rOmY0IvSIRcf7zGUDTDQM8="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>

Expand Down

0 comments on commit 08d30f2

Please sign in to comment.