Skip to content

Commit 01af029

Browse files
Merge pull request #260 from web-ridge/upgrade-deps
Upgrade deps
2 parents 6f1078c + 99987f1 commit 01af029

File tree

13 files changed

+4336
-6516
lines changed

13 files changed

+4336
-6516
lines changed

example/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
},
1414
"dependencies": {
1515
"add": "^2.0.6",
16-
"expo": "^47.0.0",
16+
"expo": "^47.0.13",
1717
"expo-splash-screen": "~0.17.5",
1818
"react": "18.1.0",
1919
"react-dom": "18.1.0",
2020
"react-native": "0.70.5",
21-
"react-native-paper": "^5.0.2",
22-
"react-native-web": "~0.18.7"
21+
"react-native-paper": "^5.2.0",
22+
"react-native-web": "~0.18.12"
2323
},
2424
"devDependencies": {
25-
"@babel/core": "^7.19.3",
26-
"@babel/runtime": "^7.9.6",
25+
"@babel/core": "^7.21.0",
26+
"@babel/runtime": "^7.21.0",
2727
"babel-plugin-module-resolver": "^4.0.0",
2828
"babel-preset-expo": "~9.2.1",
29-
"expo-cli": "^6.0.5"
29+
"expo-cli": "^6.3.2"
3030
}
3131
}

example/yarn.lock

Lines changed: 1619 additions & 3032 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -50,37 +50,37 @@
5050
"registry": "https://registry.npmjs.org/"
5151
},
5252
"devDependencies": {
53-
"@commitlint/config-conventional": "^17.0.3",
54-
"@react-native-community/eslint-config": "^3.1.0",
55-
"@release-it/conventional-changelog": "^5.1.0",
56-
"@testing-library/jest-native": "^5.3.3",
57-
"@testing-library/react-native": "^11.5.0",
53+
"@commitlint/config-conventional": "^17.4.4",
54+
"@react-native-community/eslint-config": "^3.2.0",
55+
"@release-it/conventional-changelog": "^5.1.1",
56+
"@testing-library/jest-native": "^5.4.2",
57+
"@testing-library/react-native": "^11.5.2",
5858
"@types/color": "^3.0.3",
59-
"@types/jest": "^29.2.4",
60-
"@types/react": "^18.0.26",
61-
"@types/react-native": "^0.70.8",
62-
"@types/react-native-vector-icons": "^6.4.12",
63-
"babel-loader": "^8.2.5",
64-
"commitlint": "^17.0.3",
65-
"eslint": "^8.22.0",
66-
"eslint-config-prettier": "^8.5.0",
59+
"@types/jest": "^29.4.0",
60+
"@types/react": "^18.0.28",
61+
"@types/react-native": "^0.70.11",
62+
"@types/react-native-vector-icons": "^6.4.13",
63+
"babel-loader": "^8.3.0",
64+
"commitlint": "^17.4.4",
65+
"eslint": "^8.35.0",
66+
"eslint-config-prettier": "^8.6.0",
6767
"eslint-plugin-prettier": "^4.2.1",
68-
"expo-cli": "^6.0.8",
69-
"husky": "^8.0.1",
70-
"jest": "^29.0.0",
68+
"expo-cli": "^6.3.2",
69+
"husky": "^8.0.3",
70+
"jest": "^29.4.3",
7171
"pod-install": "^0.1.38",
72-
"prettier": "^2.7.1",
72+
"prettier": "^2.8.4",
7373
"react": "^18.2.0",
74-
"react-native": "^0.70.6",
74+
"react-native": "^0.70.7",
7575
"react-native-builder-bob": "^0.18.3",
76-
"react-native-paper": "^5.0.2",
77-
"react-native-safe-area-context": "^4.4.1",
76+
"react-native-paper": "^5.2.0",
77+
"react-native-safe-area-context": "^4.5.0",
7878
"react-native-vector-icons": "^9.2.0",
79-
"release-it": "^15.4.0",
80-
"typescript": "^4.9.4",
79+
"release-it": "^15.7.0",
80+
"typescript": "^4.9.5",
8181
"react-test-renderer": "^18.2.0",
8282
"@types/react-test-renderer": "^18.0.0",
83-
"caniuse-lite": "^1.0.30001383"
83+
"caniuse-lite": "^1.0.30001458"
8484
},
8585
"peerDependencies": {
8686
"react": "*",
@@ -141,7 +141,8 @@
141141
"lib/",
142142
"example/node_modules",
143143
"example/web-build",
144-
"docusaurus"
144+
"docusaurus",
145+
"coverage"
145146
],
146147
"prettier": {
147148
"quoteProps": "consistent",

src/Date/Swiper.native.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ function SwiperInner({
175175
? new Array(visibleIndexes.length).fill(undefined).map((_, vi) => (
176176
<View
177177
key={vi}
178+
// eslint-disable-next-line react-native/no-inline-styles
178179
style={{
179180
top: isHorizontal
180181
? 0

src/Date/Swiper.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ function VerticalScroller({
9494
const [visibleIndexes, setVisibleIndexes] = React.useState<number[]>(
9595
visibleArray(initialIndex)
9696
)
97-
// eslint-disable-next-line no-undef
9897
const parentRef = React.useRef<HTMLDivElement | null>(null)
9998

10099
useIsomorphicLayoutEffect(() => {
@@ -132,6 +131,7 @@ function VerticalScroller({
132131
return (
133132
<div
134133
ref={parentRef}
134+
// eslint-disable-next-line react-native/no-inline-styles
135135
style={{
136136
height,
137137
width,
@@ -140,6 +140,7 @@ function VerticalScroller({
140140
onScroll={onScroll}
141141
>
142142
<div
143+
// eslint-disable-next-line react-native/no-inline-styles
143144
style={{
144145
height: estimatedHeight * totalMonths,
145146
position: 'relative',
@@ -148,6 +149,7 @@ function VerticalScroller({
148149
{[0, 1, 2, 3, 4].map((vi) => (
149150
<div
150151
key={vi}
152+
// eslint-disable-next-line react-native/no-inline-styles
151153
style={{
152154
willChange: 'transform',
153155
transform: `translateY(${getVerticalMonthsOffset(

src/__tests__/Date/__snapshots__/AnimatedCrossView.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3663,7 +3663,6 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
36633663
style={
36643664
[
36653665
{
3666-
"flexGrow": 1,
36673666
"margin": 0,
36683667
},
36693668
{
@@ -3691,6 +3690,7 @@ exports[`renders collapsed AnimatedCrossView 1`] = `
36913690
[
36923691
{},
36933692
],
3693+
undefined,
36943694
]
36953695
}
36963696
testID="text-input-flat"

src/__tests__/Date/__snapshots__/CalendarEdit.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ exports[`renders CalendarEdit 1`] = `
186186
style={
187187
[
188188
{
189-
"flexGrow": 1,
190189
"margin": 0,
191190
},
192191
{
@@ -214,6 +213,7 @@ exports[`renders CalendarEdit 1`] = `
214213
[
215214
{},
216215
],
216+
undefined,
217217
]
218218
}
219219
testID="text-input-flat"

src/__tests__/Date/__snapshots__/DatePickerInput.test.tsx.snap

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ exports[`renders DatePickerInput 1`] = `
179179
style={
180180
[
181181
{
182-
"flexGrow": 1,
183182
"margin": 0,
184183
},
185184
{
@@ -207,6 +206,7 @@ exports[`renders DatePickerInput 1`] = `
207206
[
208207
{},
209208
],
209+
undefined,
210210
]
211211
}
212212
testID="text-input-flat"
@@ -221,6 +221,8 @@ exports[`renders DatePickerInput 1`] = `
221221
{
222222
"alignSelf": undefined,
223223
"bottom": undefined,
224+
"end": undefined,
225+
"flex": undefined,
224226
"left": undefined,
225227
"position": "absolute",
226228
"right": 0,
@@ -231,14 +233,17 @@ exports[`renders DatePickerInput 1`] = `
231233
},
232234
"shadowOpacity": 0,
233235
"shadowRadius": 0,
236+
"start": undefined,
234237
"top": undefined,
235238
}
236239
}
240+
testID="icon-button-container-outer-layer"
237241
>
238242
<View
239243
collapsable={false}
240244
style={
241245
{
246+
"flex": undefined,
242247
"shadowColor": "#000",
243248
"shadowOffset": {
244249
"height": 0,
@@ -248,6 +253,7 @@ exports[`renders DatePickerInput 1`] = `
248253
"shadowRadius": 0,
249254
}
250255
}
256+
testID="icon-button-container-inner-layer"
251257
>
252258
<View
253259
collapsable={false}
@@ -258,13 +264,15 @@ exports[`renders DatePickerInput 1`] = `
258264
"borderRadius": 20,
259265
"borderWidth": 0,
260266
"elevation": 0,
267+
"flex": undefined,
261268
"height": 40,
262269
"margin": 6,
263270
"overflow": "hidden",
264271
"width": 40,
265272
"zIndex": 10,
266273
}
267274
}
275+
testID="icon-button-container"
268276
>
269277
<View
270278
accessibilityComponentType="button"
@@ -302,13 +310,19 @@ exports[`renders DatePickerInput 1`] = `
302310
"overflow": "hidden",
303311
},
304312
false,
305-
{
306-
"alignItems": "center",
307-
"flexGrow": 1,
308-
"justifyContent": "center",
309-
},
313+
[
314+
{
315+
"alignItems": "center",
316+
"flexGrow": 1,
317+
"justifyContent": "center",
318+
},
319+
{
320+
"borderRadius": 20,
321+
},
322+
],
310323
]
311324
}
325+
testID="icon-button"
312326
>
313327
<Text
314328
accessibilityElementsHidden={true}

src/__tests__/Date/__snapshots__/DatePickerInputWithoutModal.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ exports[`renders DatePickerInput 1`] = `
178178
style={
179179
[
180180
{
181-
"flexGrow": 1,
182181
"margin": 0,
183182
},
184183
{
@@ -206,6 +205,7 @@ exports[`renders DatePickerInput 1`] = `
206205
[
207206
{},
208207
],
208+
undefined,
209209
]
210210
}
211211
testID="text-input-flat"

src/__tests__/Time/__snapshots__/TimeInput.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ exports[`renders TimeInput 1`] = `
2020
style={
2121
[
2222
{
23-
"fontSize": 57,
2423
"textAlign": "center",
2524
"textAlignVertical": "center",
2625
"width": 96,
@@ -31,6 +30,7 @@ exports[`renders TimeInput 1`] = `
3130
"borderRadius": 8,
3231
"borderWidth": 2,
3332
"color": "rgba(33, 0, 93, 1)",
33+
"fontSize": 57,
3434
"height": 80,
3535
},
3636
]

0 commit comments

Comments
 (0)