Skip to content

Commit 5991966

Browse files
committed
upgrade to jquery 3.5.1
1 parent fbc6b0b commit 5991966

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ One of the major changes in this version is that a lot of time was spent on reth
1010
- Added `share-title` YAML option to give control over the search engine/social media title
1111
- Added `head-extra` YAML option which is similar to `footer-extra` but is used to include custom HTML code in a page's `<head>` tag
1212
- Added `full-width` YAML option to allow having full-width pages
13+
- Upgraded jQuery to version 3.5.1 to fix a couple security vulnerabilities with the previous version
1314
- Added automatic navbar color detection (#702)
1415
- Changed navbar and footer background colour to be slightly darker, for better contrast with the default white page background
1516
- Changed the behaviour of `site-css` to include site-wide CSS file **before** page-specific files

_includes/staticman-comments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h3 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_labe
7575
<!-- doing something a bit funky here because I want to be careful not to include JQuery twice! -->
7676
<script>
7777
if (typeof jQuery == 'undefined') {
78-
document.write('<script src="{{ "/assets/js/jquery-3.4.1.min.js" | relative_url }}"></scr' + 'ipt>');
78+
document.write('<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></scr' + 'ipt>');
7979
}
8080
</script>
8181
<script src="{{ "/assets/js/staticman.js" | relative_url }}"></script>

_layouts/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
- "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"
1010
- "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
1111
common-ext-js:
12-
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
13-
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
12+
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
13+
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
1414
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
1515
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
1616
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"

_layouts/minimal.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
66
sri: "sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
77
common-ext-js:
8-
- href: "https://code.jquery.com/jquery-3.4.1.min.js"
9-
sri: "sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
8+
- href: "https://code.jquery.com/jquery-3.5.1.slim.min.js"
9+
sri: "sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs="
1010
- href: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
1111
sri: "sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
1212
- href: "https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"

assets/js/jquery-3.4.1.min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)