Skip to content

Commit

Permalink
fix(security): upgrade jQuery to v3.5.1 (#249)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Piccirello authored Oct 17, 2020
1 parent f0231c5 commit c124a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions public/jquery.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/server/views/layout.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<input type="hidden" id="basePath" value="{{ basePath }}">
{{#if (useCdn)}}
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@3.2.1,[email protected]"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/g/jquery@3.5.1,[email protected]"></script>
{{else}}
<script type="text/javascript" src="{{ basePath }}/jquery.min.js"></script>
<script type="text/javascript" src="{{ basePath }}/bootstrap.min.js"></script>
Expand Down

0 comments on commit c124a47

Please sign in to comment.