Skip to content

Commit 281c5f0

Browse files
authored
Merge pull request #767 from shlinkio/dependabot/npm_and_yarn/recharts-3.1.2
Bump recharts from 3.1.0 to 3.1.2
2 parents a4c4bf7 + f980af7 commit 281c5f0

6 files changed

Lines changed: 85 additions & 58 deletions

File tree

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"react-external-link": "^2.5.0",
7474
"react-leaflet": "^5.0",
7575
"react-swipeable": "^7.0.2",
76-
"recharts": "^3.1.0"
76+
"recharts": "^3.1.2"
7777
},
7878
"devDependencies": {
7979
"@shlinkio/eslint-config-js-coding-standard": "~3.5.0",

test/visits/__snapshots__/VisitsStats.test.tsx.snap

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ exports[`<VisitsStats /> > loads visits when mounted 1`] = `
1818
class="flex content-center gap-1"
1919
>
2020
<button
21-
aria-controls="«r43»"
21+
aria-controls="«r4p»"
2222
aria-expanded="false"
2323
aria-label="Expand"
2424
class="inline-flex rounded-md focus-ring text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm cursor-pointer"
@@ -42,7 +42,7 @@ exports[`<VisitsStats /> > loads visits when mounted 1`] = `
4242
class="relative inline-block"
4343
>
4444
<button
45-
aria-controls="«r45»"
45+
aria-controls="«r4r»"
4646
aria-expanded="false"
4747
aria-haspopup="true"
4848
class="flex items-center rounded-md focus-ring justify-between cursor-pointer text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm gap-x-1.5 [&]:p-0"
@@ -68,7 +68,7 @@ exports[`<VisitsStats /> > loads visits when mounted 1`] = `
6868
</div>
6969
<div
7070
class="p-4 bg-lm-primary dark:bg-dm-primary first:rounded-t-md first:rounded-t-md last:rounded-b-md"
71-
id="«r43»"
71+
id="«r4p»"
7272
>
7373
<div
7474
class="recharts-wrapper select-none"
@@ -105,7 +105,7 @@ exports[`<VisitsStats /> > loads visits when mounted 1`] = `
105105
<desc />
106106
<defs>
107107
<clippath
108-
id="recharts121-clip"
108+
id="recharts81-clip"
109109
>
110110
<rect
111111
height="260"
@@ -483,6 +483,7 @@ exports[`<VisitsStats /> > loads visits when mounted 1`] = `
483483
d="M65,5L795,265"
484484
fill="none"
485485
height="260"
486+
id="recharts-line-«r4s»"
486487
stroke="#2078CF"
487488
stroke-dasharray="0px 774.9193725585938px"
488489
stroke-width="2"
@@ -558,7 +559,7 @@ exports[`<VisitsStats /> > loads visits when mounted 2`] = `
558559
class="flex content-center gap-1"
559560
>
560561
<button
561-
aria-controls="«r4a»"
562+
aria-controls="«r51»"
562563
aria-expanded="false"
563564
aria-label="Expand"
564565
class="inline-flex rounded-md focus-ring text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm cursor-pointer"
@@ -582,7 +583,7 @@ exports[`<VisitsStats /> > loads visits when mounted 2`] = `
582583
class="relative inline-block"
583584
>
584585
<button
585-
aria-controls="«r4c»"
586+
aria-controls="«r53»"
586587
aria-expanded="false"
587588
aria-haspopup="true"
588589
class="flex items-center rounded-md focus-ring justify-between cursor-pointer text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm gap-x-1.5 [&]:p-0"
@@ -608,7 +609,7 @@ exports[`<VisitsStats /> > loads visits when mounted 2`] = `
608609
</div>
609610
<div
610611
class="p-4 bg-lm-primary dark:bg-dm-primary first:rounded-t-md first:rounded-t-md last:rounded-b-md"
611-
id="«r4a»"
612+
id="«r51»"
612613
>
613614
<div
614615
class="recharts-wrapper select-none"
@@ -645,7 +646,7 @@ exports[`<VisitsStats /> > loads visits when mounted 2`] = `
645646
<desc />
646647
<defs>
647648
<clippath
648-
id="recharts126-clip"
649+
id="recharts85-clip"
649650
>
650651
<rect
651652
height="260"
@@ -1023,6 +1024,7 @@ exports[`<VisitsStats /> > loads visits when mounted 2`] = `
10231024
d="M65,5L795,265"
10241025
fill="none"
10251026
height="260"
1027+
id="recharts-line-«r54»"
10261028
stroke="#2078CF"
10271029
stroke-dasharray="0px 774.9193725585938px"
10281030
stroke-width="2"
@@ -1098,7 +1100,7 @@ exports[`<VisitsStats /> > loads visits when mounted 3`] = `
10981100
class="flex content-center gap-1"
10991101
>
11001102
<button
1101-
aria-controls="«r4h»"
1103+
aria-controls="«r59»"
11021104
aria-expanded="false"
11031105
aria-label="Expand"
11041106
class="inline-flex rounded-md focus-ring text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm cursor-pointer"
@@ -1122,7 +1124,7 @@ exports[`<VisitsStats /> > loads visits when mounted 3`] = `
11221124
class="relative inline-block"
11231125
>
11241126
<button
1125-
aria-controls="«r4j»"
1127+
aria-controls="«r5b»"
11261128
aria-expanded="false"
11271129
aria-haspopup="true"
11281130
class="flex items-center rounded-md focus-ring justify-between cursor-pointer text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm gap-x-1.5 [&]:p-0"
@@ -1148,7 +1150,7 @@ exports[`<VisitsStats /> > loads visits when mounted 3`] = `
11481150
</div>
11491151
<div
11501152
class="p-4 bg-lm-primary dark:bg-dm-primary first:rounded-t-md first:rounded-t-md last:rounded-b-md"
1151-
id="«r4h»"
1153+
id="«r59»"
11521154
>
11531155
<div
11541156
class="recharts-wrapper select-none"
@@ -1185,7 +1187,7 @@ exports[`<VisitsStats /> > loads visits when mounted 3`] = `
11851187
<desc />
11861188
<defs>
11871189
<clippath
1188-
id="recharts131-clip"
1190+
id="recharts89-clip"
11891191
>
11901192
<rect
11911193
height="260"
@@ -1563,6 +1565,7 @@ exports[`<VisitsStats /> > loads visits when mounted 3`] = `
15631565
d="M65,5L795,265"
15641566
fill="none"
15651567
height="260"
1568+
id="recharts-line-«r5c»"
15661569
stroke="#2078CF"
15671570
stroke-dasharray="0px 774.9193725585938px"
15681571
stroke-width="2"
@@ -1638,7 +1641,7 @@ exports[`<VisitsStats /> > loads visits when mounted 4`] = `
16381641
class="flex content-center gap-1"
16391642
>
16401643
<button
1641-
aria-controls="«r4o»"
1644+
aria-controls="«r5h»"
16421645
aria-expanded="false"
16431646
aria-label="Expand"
16441647
class="inline-flex rounded-md focus-ring text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm cursor-pointer"
@@ -1662,7 +1665,7 @@ exports[`<VisitsStats /> > loads visits when mounted 4`] = `
16621665
class="relative inline-block"
16631666
>
16641667
<button
1665-
aria-controls="«r4q»"
1668+
aria-controls="«r5j»"
16661669
aria-expanded="false"
16671670
aria-haspopup="true"
16681671
class="flex items-center rounded-md focus-ring justify-between cursor-pointer text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm gap-x-1.5 [&]:p-0"
@@ -1688,7 +1691,7 @@ exports[`<VisitsStats /> > loads visits when mounted 4`] = `
16881691
</div>
16891692
<div
16901693
class="p-4 bg-lm-primary dark:bg-dm-primary first:rounded-t-md first:rounded-t-md last:rounded-b-md"
1691-
id="«r4o»"
1694+
id="«r5h»"
16921695
>
16931696
<div
16941697
class="recharts-wrapper select-none"
@@ -1725,7 +1728,7 @@ exports[`<VisitsStats /> > loads visits when mounted 4`] = `
17251728
<desc />
17261729
<defs>
17271730
<clippath
1728-
id="recharts136-clip"
1731+
id="recharts93-clip"
17291732
>
17301733
<rect
17311734
height="260"
@@ -2103,6 +2106,7 @@ exports[`<VisitsStats /> > loads visits when mounted 4`] = `
21032106
d="M65,5L795,265"
21042107
fill="none"
21052108
height="260"
2109+
id="recharts-line-«r5k»"
21062110
stroke="#2078CF"
21072111
stroke-dasharray="0px 774.9193725585938px"
21082112
stroke-width="2"
@@ -2143,6 +2147,7 @@ exports[`<VisitsStats /> > loads visits when mounted 4`] = `
21432147
d="M65,5L795,265"
21442148
fill="none"
21452149
height="260"
2150+
id="recharts-line-«r5l»"
21462151
stroke="#1DAA58"
21472152
stroke-dasharray="0px, 774.9193725585938px"
21482153
stroke-width="2"
@@ -2234,7 +2239,7 @@ exports[`<VisitsStats /> > loads visits when mounted 5`] = `
22342239
class="flex content-center gap-1"
22352240
>
22362241
<button
2237-
aria-controls="«r4v»"
2242+
aria-controls="«r5q»"
22382243
aria-expanded="false"
22392244
aria-label="Expand"
22402245
class="inline-flex rounded-md focus-ring text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm cursor-pointer"
@@ -2258,7 +2263,7 @@ exports[`<VisitsStats /> > loads visits when mounted 5`] = `
22582263
class="relative inline-block"
22592264
>
22602265
<button
2261-
aria-controls="«r51»"
2266+
aria-controls="«r5s»"
22622267
aria-expanded="false"
22632268
aria-haspopup="true"
22642269
class="flex items-center rounded-md focus-ring justify-between cursor-pointer text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm gap-x-1.5 [&]:p-0"
@@ -2284,7 +2289,7 @@ exports[`<VisitsStats /> > loads visits when mounted 5`] = `
22842289
</div>
22852290
<div
22862291
class="p-4 bg-lm-primary dark:bg-dm-primary first:rounded-t-md first:rounded-t-md last:rounded-b-md"
2287-
id="«r4v»"
2292+
id="«r5q»"
22882293
>
22892294
<div
22902295
class="recharts-wrapper select-none"
@@ -2321,7 +2326,7 @@ exports[`<VisitsStats /> > loads visits when mounted 5`] = `
23212326
<desc />
23222327
<defs>
23232328
<clippath
2324-
id="recharts144-clip"
2329+
id="recharts99-clip"
23252330
>
23262331
<rect
23272332
height="260"
@@ -2699,6 +2704,7 @@ exports[`<VisitsStats /> > loads visits when mounted 5`] = `
26992704
d="M65,5L795,265"
27002705
fill="none"
27012706
height="260"
2707+
id="recharts-line-«r5t»"
27022708
stroke="#2078CF"
27032709
stroke-dasharray="0px 774.9193725585938px"
27042710
stroke-width="2"
@@ -2739,6 +2745,7 @@ exports[`<VisitsStats /> > loads visits when mounted 5`] = `
27392745
d="M65,5L795,265"
27402746
fill="none"
27412747
height="260"
2748+
id="recharts-line-«r5u»"
27422749
stroke="#1DAA58"
27432750
stroke-dasharray="0px, 774.9193725585938px"
27442751
stroke-width="2"
@@ -2830,7 +2837,7 @@ exports[`<VisitsStats /> > loads visits when mounted 6`] = `
28302837
class="flex content-center gap-1"
28312838
>
28322839
<button
2833-
aria-controls="«r56»"
2840+
aria-controls="«r63»"
28342841
aria-expanded="false"
28352842
aria-label="Expand"
28362843
class="inline-flex rounded-md focus-ring text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm cursor-pointer"
@@ -2854,7 +2861,7 @@ exports[`<VisitsStats /> > loads visits when mounted 6`] = `
28542861
class="relative inline-block"
28552862
>
28562863
<button
2857-
aria-controls="«r58»"
2864+
aria-controls="«r65»"
28582865
aria-expanded="false"
28592866
aria-haspopup="true"
28602867
class="flex items-center rounded-md focus-ring justify-between cursor-pointer text-lm-brand dark:text-dm-brand highlight:text-lm-brand-dark dark:highlight:text-dm-brand-dark highlight:underline px-1.5 py-1 text-sm gap-x-1.5 [&]:p-0"
@@ -2880,7 +2887,7 @@ exports[`<VisitsStats /> > loads visits when mounted 6`] = `
28802887
</div>
28812888
<div
28822889
class="p-4 bg-lm-primary dark:bg-dm-primary first:rounded-t-md first:rounded-t-md last:rounded-b-md"
2883-
id="«r56»"
2890+
id="«r63»"
28842891
>
28852892
<div
28862893
class="recharts-wrapper select-none"
@@ -2917,7 +2924,7 @@ exports[`<VisitsStats /> > loads visits when mounted 6`] = `
29172924
<desc />
29182925
<defs>
29192926
<clippath
2920-
id="recharts152-clip"
2927+
id="recharts105-clip"
29212928
>
29222929
<rect
29232930
height="260"
@@ -3295,6 +3302,7 @@ exports[`<VisitsStats /> > loads visits when mounted 6`] = `
32953302
d="M65,5L795,265"
32963303
fill="none"
32973304
height="260"
3305+
id="recharts-line-«r66»"
32983306
stroke="#2078CF"
32993307
stroke-dasharray="0px 774.9193725585938px"
33003308
stroke-width="2"
@@ -3335,6 +3343,7 @@ exports[`<VisitsStats /> > loads visits when mounted 6`] = `
33353343
d="M65,5L795,265"
33363344
fill="none"
33373345
height="260"
3346+
id="recharts-line-«r67»"
33383347
stroke="#1DAA58"
33393348
stroke-dasharray="0px, 774.9193725585938px"
33403349
stroke-width="2"

test/visits/charts/__snapshots__/DoughnutChart.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ exports[`<DoughnutChart /> > renders Doughnut with expected props 1`] = `
4646
<desc />
4747
<defs>
4848
<clippath
49-
id="recharts7-clip"
49+
id="recharts3-clip"
5050
>
5151
<rect
5252
height="290"
@@ -175,7 +175,7 @@ exports[`<DoughnutChart /> > renders Doughnut with expected props 2`] = `
175175
<desc />
176176
<defs>
177177
<clippath
178-
id="recharts13-clip"
178+
id="recharts5-clip"
179179
>
180180
<rect
181181
height="290"
@@ -321,7 +321,7 @@ exports[`<DoughnutChart /> > renders Doughnut with expected props 3`] = `
321321
<desc />
322322
<defs>
323323
<clippath
324-
id="recharts24-clip"
324+
id="recharts8-clip"
325325
>
326326
<rect
327327
height="290"

0 commit comments

Comments
 (0)