Skip to content

Commit 5e8cc2e

Browse files
authored
Merge pull request #1824 from BastienGauthier/enh/update-jquery
Bump jquery from 2.0.0 to 3.7.1
2 parents 809e2af + 5e6ba43 commit 5e8cc2e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

folium/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Vega(JSCSSMixin, Element):
137137
default_js = [
138138
("d3", "https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"),
139139
("vega", "https://cdnjs.cloudflare.com/ajax/libs/vega/1.4.3/vega.min.js"),
140-
("jquery", "https://code.jquery.com/jquery-2.1.0.min.js"),
140+
("jquery", "https://code.jquery.com/jquery-3.7.1.min.js"),
141141
]
142142

143143
def __init__(

folium/folium.py

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

2525
_default_js = [
2626
("leaflet", "https://cdn.jsdelivr.net/npm/[email protected]/dist/leaflet.js"),
27-
("jquery", "https://code.jquery.com/jquery-1.12.4.min.js"),
27+
("jquery", "https://code.jquery.com/jquery-3.7.1.min.js"),
2828
(
2929
"bootstrap",
3030
"https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js",

folium/plugins/timestamped_geo_json.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class TimestampedGeoJson(JSCSSMixin, MacroElement):
146146

147147
default_js = [
148148
(
149-
"jquery2.0.0",
150-
"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.0/jquery.min.js",
149+
"jquery3.7.1",
150+
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js",
151151
),
152152
(
153153
"jqueryui1.10.2",

folium/plugins/timestamped_wmstilelayer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ class TimestampedWmsTileLayers(JSCSSMixin, MacroElement):
9191

9292
default_js = [
9393
(
94-
"jquery2.0.0",
95-
"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.0/jquery.min.js",
94+
"jquery3.7.1",
95+
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js",
9696
),
9797
(
9898
"jqueryui1.10.2",

tests/plugins/test_timestamped_geo_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_timestamped_geo_json():
102102

103103
# Verify the imports.
104104
assert (
105-
'<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>'
105+
'<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>'
106106
in out
107107
)
108108
assert (

0 commit comments

Comments
 (0)