Skip to content

Commit 4b7eb77

Browse files
committed
update/add packages
add types update view pager - was causing native bugs because the package was outdated. checked to see that stuff works! Some minor deprecation warning appears.
1 parent 4018c61 commit 4b7eb77

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

Example/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@react-native-community/slider": "^2.0.0",
13-
"@react-native-community/viewpager": "^1.1.6",
13+
"@react-native-community/viewpager": "^3.3.0",
1414
"@react-navigation/web": "^1.0.0-alpha.9",
1515
"fbjs": "^1.0.0",
1616
"hammerjs": "^2.0.8",
@@ -31,6 +31,8 @@
3131
"@babel/core": "^7.6.0",
3232
"@babel/runtime": "^7.6.0",
3333
"@react-native-community/cli": "^1.9.4",
34+
"@types/react": "^16.9.20",
35+
"@types/react-native": "^0.61.15",
3436
"babel-jest": "^24.9.0",
3537
"babel-plugin-module-resolver": "^3.2.0",
3638
"glob-to-regexp": "^0.4.0",

Example/yarn.lock

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,10 +1120,10 @@
11201120
resolved "https://registry.yarnpkg.com/@react-native-community/slider/-/slider-2.0.0.tgz#3d68f68db185fb44d812f66d05d2d7842adfd3db"
11211121
integrity sha512-ORokHwQnwXzas+PYQO+G8IxArRVtw2xZdx2C0wV+oQiKbhDl8DBcM6gGT6dNB3VGxVNesWX/3K0IIfVjp4zH0A==
11221122

1123-
"@react-native-community/viewpager@^1.1.6":
1124-
version "1.1.6"
1125-
resolved "https://registry.yarnpkg.com/@react-native-community/viewpager/-/viewpager-1.1.6.tgz#267da51adbdebfb709e2e22f5e06399f49e6b1ae"
1126-
integrity sha512-WnlLGNdzkL0GQQ1WK0++giXOgQcEU6Dx+WEj7uYmqLNCsIc1Jhvm1ChTEKOs5N7Otz+VgoPBOvQyEuAUKooSOg==
1123+
"@react-native-community/viewpager@^3.3.0":
1124+
version "3.3.0"
1125+
resolved "https://registry.yarnpkg.com/@react-native-community/viewpager/-/viewpager-3.3.0.tgz#e613747a43a31a6f3278f817ba96fdaaa7941f23"
1126+
integrity sha512-tyzh79l4t/hxiyS9QD3LRmWMs8KVkZzjrkQ8U8+8To1wmvVCBtp8BenvNsDLTBO7CpO/YmiThpmIdEZMr1WuVw==
11271127

11281128
"@react-navigation/core@^3.5.0":
11291129
version "3.5.1"
@@ -1205,6 +1205,26 @@
12051205
"@types/istanbul-lib-coverage" "*"
12061206
"@types/istanbul-lib-report" "*"
12071207

1208+
"@types/prop-types@*":
1209+
version "15.7.3"
1210+
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7"
1211+
integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==
1212+
1213+
"@types/react-native@^0.61.15":
1214+
version "0.61.15"
1215+
resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.61.15.tgz#3b2032a9abd5e37c8a8cb0fc6a724d57811d4dbc"
1216+
integrity sha512-+lOUYk3yOfpyMy2HcVbR5bZnbExiVahMr3AqWNPh/01N0quH7nBzlou+/rpbvmDXSGwCh3QjWWfEkLNRfvbiiA==
1217+
dependencies:
1218+
"@types/react" "*"
1219+
1220+
"@types/react@*", "@types/react@^16.9.20":
1221+
version "16.9.20"
1222+
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.20.tgz#e83285766340fb1a7fafe7e5c4708c53832e3641"
1223+
integrity sha512-jRrWBr25zzEVNa4QbESKLPluvrZ3W6Odfwrfe2F5vzbrDuNvlpnHa/xbZcXg8RH5D4CE181J5VxrRrLvzRH+5A==
1224+
dependencies:
1225+
"@types/prop-types" "*"
1226+
csstype "^2.2.0"
1227+
12081228
"@types/stack-utils@^1.0.1":
12091229
version "1.0.1"
12101230
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e"
@@ -2058,6 +2078,11 @@ cssstyle@^1.0.0:
20582078
dependencies:
20592079
cssom "0.3.x"
20602080

2081+
csstype@^2.2.0:
2082+
version "2.6.9"
2083+
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.9.tgz#05141d0cd557a56b8891394c1911c40c8a98d098"
2084+
integrity sha512-xz39Sb4+OaTsULgUERcCk+TJj8ylkL4aSVDQiX/ksxbELSqwkgt4d4RD7fovIdgJGSuNYqwZEiVjYY5l0ask+Q==
2085+
20612086
dashdash@^1.12.0:
20622087
version "1.14.1"
20632088
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"

0 commit comments

Comments
 (0)