Skip to content

Commit 8c1ec2e

Browse files
committed
Update jquery to 3.5.1
We don't really need to use the same version as the Strava website, so use a version that isn't known to be insecure so that we pass Mozilla's automated review.
1 parent aaa8ebd commit 8c1ec2e

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

Diff for: 3rd/jquery-3.5.1.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: 3rd/jquery.min.js

-4
This file was deleted.

Diff for: load.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
const loadJQuery = () => window.jQuery
3737
? Promise.resolve(null)
38-
: getScript(getURL('3rd/jquery.min.js')).then(() => jQuery.noConflict());
38+
: getScript(getURL('3rd/jquery-3.5.1.min.js')).then(() => jQuery.noConflict());
3939
const loadGoogleMaps = () => document.querySelector('script[src*="//maps.google.com/maps/api/js"]')
4040
? Promise.resolve(null)
4141
: ignoreError(getScript('https://maps.google.com/maps/api/js?sensor=true&client=gme-stravainc1'));

Diff for: manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"web_accessible_resources": [
2424
"3rd/Leaflet.GoogleMutant.js",
25-
"3rd/jquery.min.js",
25+
"3rd/jquery-3.5.1.min.js",
2626
"3rd/leaflet-pegman.min.css",
2727
"3rd/leaflet-pegman.min.js",
2828
"arrive.min.js",

0 commit comments

Comments
 (0)