Skip to content

Commit c124a47

Browse files
authored
fix(security): upgrade jQuery to v3.5.1 (#249)
This fixes several [vulnerabilities][0] that are present in the currently used jQuery 3.2.1. [0]: https://snyk.io/test/npm/jquery/3.2.1
1 parent f0231c5 commit c124a47

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

public/jquery.min.js

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/server/views/layout.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
<input type="hidden" id="basePath" value="{{ basePath }}">
6262
{{#if (useCdn)}}
63-
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@3.2.1,bootstrap@3.3.7"></script>
63+
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@3.5.1,bootstrap@3.3.7"></script>
6464
{{else}}
6565
<script type="text/javascript" src="{{ basePath }}/jquery.min.js"></script>
6666
<script type="text/javascript" src="{{ basePath }}/bootstrap.min.js"></script>

0 commit comments

Comments
 (0)