Skip to content

Commit d7e07d1

Browse files
committed
Upgrade to react-native-svg v15.1.0
1 parent 641b1c2 commit d7e07d1

17 files changed

+142
-142
lines changed

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ PODS:
13281328
- React
13291329
- RNStoreReview (0.4.1):
13301330
- React-Core
1331-
- RNSVG (13.9.0):
1331+
- RNSVG (15.1.0):
13321332
- React-Core
13331333
- RNVectorIcons (9.2.0):
13341334
- React-Core
@@ -2000,7 +2000,7 @@ SPEC CHECKSUMS:
20002000
RNShare: 0fec82bd2e67d09f895937ccb4f5a097e714dec2
20012001
RNSound: da030221e6ac7e8290c6b43f2b5f2133a8e225b0
20022002
RNStoreReview: 923b1c888c13469925bf0256dc2c046eab557ce5
2003-
RNSVG: 53c661b76829783cdaf9b7a57258f3d3b4c28315
2003+
RNSVG: 50cf2c7018e57cf5d3522d98d0a3a4dd6bf9d093
20042004
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
20052005
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
20062006
SDWebImageWebPCoder: f93010f3f6c031e2f8fb3081ca4ee6966c539815

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"react-native-snap-carousel": "^3.9.1",
158158
"react-native-sound": "^0.11.0",
159159
"react-native-store-review": "^0.4.1",
160-
"react-native-svg": "^13.9.0",
160+
"react-native-svg": "^15.0.0",
161161
"react-native-vector-icons": "^9.2.0",
162162
"react-native-webview": "^13.8.4",
163163
"react-native-zcash": "^0.6.14",

src/__tests__/components/__snapshots__/CurrencyIcon.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ exports[`CryptoIcon should render with loading props 1`] = `
1515
>
1616
<RNSVGSvgView
1717
align="xMidYMid"
18-
bbHeight="61"
19-
bbWidth="61"
18+
bbHeight={61}
19+
bbWidth={61}
2020
focusable={false}
2121
height={61}
2222
meetOrSlice={0}
@@ -58,8 +58,8 @@ exports[`CryptoIcon should render with loading props 1`] = `
5858
}
5959
>
6060
<RNSVGCircle
61-
cx="22.5"
62-
cy="22.5"
61+
cx={22.5}
62+
cy={22.5}
6363
fill={
6464
{
6565
"payload": 0,
@@ -76,7 +76,7 @@ exports[`CryptoIcon should render with loading props 1`] = `
7676
"strokeLinecap",
7777
]
7878
}
79-
r="24"
79+
r={24}
8080
stroke={
8181
{
8282
"payload": 4278251938,
@@ -85,12 +85,12 @@ exports[`CryptoIcon should render with loading props 1`] = `
8585
}
8686
strokeDasharray={
8787
[
88-
"150.79644737231007",
89-
"150.79644737231007",
88+
150.79644737231007,
89+
150.79644737231007,
9090
]
9191
}
9292
strokeLinecap={1}
93-
strokeWidth="4"
93+
strokeWidth={4}
9494
/>
9595
</RNSVGGroup>
9696
</RNSVGSvgView>

src/__tests__/components/__snapshots__/ExchangeQuoteComponent.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ exports[`ExchangeQuote should render with loading props 1`] = `
6969
>
7070
<RNSVGSvgView
7171
align="xMidYMid"
72-
bbHeight="61"
73-
bbWidth="61"
72+
bbHeight={61}
73+
bbWidth={61}
7474
focusable={false}
7575
height={61}
7676
meetOrSlice={0}
@@ -112,8 +112,8 @@ exports[`ExchangeQuote should render with loading props 1`] = `
112112
}
113113
>
114114
<RNSVGCircle
115-
cx="22.5"
116-
cy="22.5"
115+
cx={22.5}
116+
cy={22.5}
117117
fill={
118118
{
119119
"payload": 0,
@@ -130,7 +130,7 @@ exports[`ExchangeQuote should render with loading props 1`] = `
130130
"strokeLinecap",
131131
]
132132
}
133-
r="24"
133+
r={24}
134134
stroke={
135135
{
136136
"payload": 4278251938,
@@ -139,12 +139,12 @@ exports[`ExchangeQuote should render with loading props 1`] = `
139139
}
140140
strokeDasharray={
141141
[
142-
"150.79644737231007",
143-
"150.79644737231007",
142+
150.79644737231007,
143+
150.79644737231007,
144144
]
145145
}
146146
strokeLinecap={1}
147-
strokeWidth="4"
147+
strokeWidth={4}
148148
/>
149149
</RNSVGGroup>
150150
</RNSVGSvgView>

src/__tests__/scenes/__snapshots__/CreateWalletAccountSetupScene.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ exports[`CreateWalletAccountSelect renders 1`] = `
3535
>
3636
<RNSVGSvgView
3737
align="xMidYMid"
38-
bbHeight="0"
39-
bbWidth="0"
38+
bbHeight={0}
39+
bbWidth={0}
4040
focusable={false}
4141
height={0}
4242
meetOrSlice={0}
@@ -170,7 +170,7 @@ exports[`CreateWalletAccountSelect renders 1`] = `
170170
"fill",
171171
]
172172
}
173-
r="224.73239436619718"
173+
r={224.73239436619718}
174174
/>
175175
<RNSVGCircle
176176
cx="95%"
@@ -186,7 +186,7 @@ exports[`CreateWalletAccountSelect renders 1`] = `
186186
"fill",
187187
]
188188
}
189-
r="238.7781690140845"
189+
r={238.7781690140845}
190190
/>
191191
<RNSVGCircle
192192
cx="-15%"
@@ -202,7 +202,7 @@ exports[`CreateWalletAccountSelect renders 1`] = `
202202
"fill",
203203
]
204204
}
205-
r="421.37323943661977"
205+
r={421.37323943661977}
206206
/>
207207
</RNSVGGroup>
208208
</RNSVGGroup>

src/__tests__/scenes/__snapshots__/CreateWalletImportScene.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ exports[`CreateWalletImportScene should render with loading props 1`] = `
5858
>
5959
<RNSVGSvgView
6060
align="xMidYMid"
61-
bbHeight="0"
62-
bbWidth="0"
61+
bbHeight={0}
62+
bbWidth={0}
6363
focusable={false}
6464
height={0}
6565
meetOrSlice={0}
@@ -193,7 +193,7 @@ exports[`CreateWalletImportScene should render with loading props 1`] = `
193193
"fill",
194194
]
195195
}
196-
r="224.73239436619718"
196+
r={224.73239436619718}
197197
/>
198198
<RNSVGCircle
199199
cx="95%"
@@ -209,7 +209,7 @@ exports[`CreateWalletImportScene should render with loading props 1`] = `
209209
"fill",
210210
]
211211
}
212-
r="238.7781690140845"
212+
r={238.7781690140845}
213213
/>
214214
<RNSVGCircle
215215
cx="-15%"
@@ -225,7 +225,7 @@ exports[`CreateWalletImportScene should render with loading props 1`] = `
225225
"fill",
226226
]
227227
}
228-
r="421.37323943661977"
228+
r={421.37323943661977}
229229
/>
230230
</RNSVGGroup>
231231
</RNSVGGroup>

src/__tests__/scenes/__snapshots__/CreateWalletSelectCryptoScene.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
6161
>
6262
<RNSVGSvgView
6363
align="xMidYMid"
64-
bbHeight="0"
65-
bbWidth="0"
64+
bbHeight={0}
65+
bbWidth={0}
6666
focusable={false}
6767
height={0}
6868
meetOrSlice={0}
@@ -196,7 +196,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
196196
"fill",
197197
]
198198
}
199-
r="224.73239436619718"
199+
r={224.73239436619718}
200200
/>
201201
<RNSVGCircle
202202
cx="95%"
@@ -212,7 +212,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
212212
"fill",
213213
]
214214
}
215-
r="238.7781690140845"
215+
r={238.7781690140845}
216216
/>
217217
<RNSVGCircle
218218
cx="-15%"
@@ -228,7 +228,7 @@ exports[`CreateWalletSelectCrypto should render with loading props 1`] = `
228228
"fill",
229229
]
230230
}
231-
r="421.37323943661977"
231+
r={421.37323943661977}
232232
/>
233233
</RNSVGGroup>
234234
</RNSVGGroup>

src/__tests__/scenes/__snapshots__/CreateWalletSelectFiatScene.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ exports[`CreateWalletSelectFiatComponent should render with loading props 1`] =
5858
>
5959
<RNSVGSvgView
6060
align="xMidYMid"
61-
bbHeight="0"
62-
bbWidth="0"
61+
bbHeight={0}
62+
bbWidth={0}
6363
focusable={false}
6464
height={0}
6565
meetOrSlice={0}
@@ -193,7 +193,7 @@ exports[`CreateWalletSelectFiatComponent should render with loading props 1`] =
193193
"fill",
194194
]
195195
}
196-
r="224.73239436619718"
196+
r={224.73239436619718}
197197
/>
198198
<RNSVGCircle
199199
cx="95%"
@@ -209,7 +209,7 @@ exports[`CreateWalletSelectFiatComponent should render with loading props 1`] =
209209
"fill",
210210
]
211211
}
212-
r="238.7781690140845"
212+
r={238.7781690140845}
213213
/>
214214
<RNSVGCircle
215215
cx="-15%"
@@ -225,7 +225,7 @@ exports[`CreateWalletSelectFiatComponent should render with loading props 1`] =
225225
"fill",
226226
]
227227
}
228-
r="421.37323943661977"
228+
r={421.37323943661977}
229229
/>
230230
</RNSVGGroup>
231231
</RNSVGGroup>

src/__tests__/scenes/__snapshots__/CurrencyNotificationScene.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ exports[`CurrencyNotificationComponent should render with loading props 1`] = `
3535
>
3636
<RNSVGSvgView
3737
align="xMidYMid"
38-
bbHeight="0"
39-
bbWidth="0"
38+
bbHeight={0}
39+
bbWidth={0}
4040
focusable={false}
4141
height={0}
4242
meetOrSlice={0}
@@ -170,7 +170,7 @@ exports[`CurrencyNotificationComponent should render with loading props 1`] = `
170170
"fill",
171171
]
172172
}
173-
r="224.73239436619718"
173+
r={224.73239436619718}
174174
/>
175175
<RNSVGCircle
176176
cx="95%"
@@ -186,7 +186,7 @@ exports[`CurrencyNotificationComponent should render with loading props 1`] = `
186186
"fill",
187187
]
188188
}
189-
r="238.7781690140845"
189+
r={238.7781690140845}
190190
/>
191191
<RNSVGCircle
192192
cx="-15%"
@@ -202,7 +202,7 @@ exports[`CurrencyNotificationComponent should render with loading props 1`] = `
202202
"fill",
203203
]
204204
}
205-
r="421.37323943661977"
205+
r={421.37323943661977}
206206
/>
207207
</RNSVGGroup>
208208
</RNSVGGroup>

src/__tests__/scenes/__snapshots__/CurrencySettings.ui.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ exports[`CurrencySettings should render 1`] = `
3535
>
3636
<RNSVGSvgView
3737
align="xMidYMid"
38-
bbHeight="0"
39-
bbWidth="0"
38+
bbHeight={0}
39+
bbWidth={0}
4040
focusable={false}
4141
height={0}
4242
meetOrSlice={0}
@@ -170,7 +170,7 @@ exports[`CurrencySettings should render 1`] = `
170170
"fill",
171171
]
172172
}
173-
r="224.73239436619718"
173+
r={224.73239436619718}
174174
/>
175175
<RNSVGCircle
176176
cx="95%"
@@ -186,7 +186,7 @@ exports[`CurrencySettings should render 1`] = `
186186
"fill",
187187
]
188188
}
189-
r="238.7781690140845"
189+
r={238.7781690140845}
190190
/>
191191
<RNSVGCircle
192192
cx="-15%"
@@ -202,7 +202,7 @@ exports[`CurrencySettings should render 1`] = `
202202
"fill",
203203
]
204204
}
205-
r="421.37323943661977"
205+
r={421.37323943661977}
206206
/>
207207
</RNSVGGroup>
208208
</RNSVGGroup>

0 commit comments

Comments
 (0)