diff --git a/example/package.json b/example/package.json
index 5d1dc0e..c5e6ec9 100644
--- a/example/package.json
+++ b/example/package.json
@@ -15,7 +15,7 @@
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
- "react-native": "0.72.3",
+ "react-native": "0.72.6",
"react-native-pager-view": "^6.2.0",
"react-native-paper": "^5.9.1",
"react-native-safe-area-context": "4.6.3",
@@ -23,7 +23,7 @@
},
"devDependencies": {
"@babel/core": "^7.20.0",
- "@expo/webpack-config": "^18.1.2",
+ "@expo/webpack-config": "^19.0.0",
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^5.0.0"
},
diff --git a/example/src/App.tsx b/example/src/App.tsx
index d87f9ab..ae5b100 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -141,20 +141,20 @@ function App({
>
- {showFlightTab && (
-
-
-
- )}
-
-
-
+ {/*{showFlightTab && (*/}
+ {/* */}
+ {/* */}
+ {/* */}
+ {/*)}*/}
+ {/**/}
+ {/* */}
+ {/**/}
) : (
diff --git a/example/yarn.lock b/example/yarn.lock
index 259484c..2bad178 100644
--- a/example/yarn.lock
+++ b/example/yarn.lock
@@ -1509,10 +1509,10 @@
resolved "https://registry.npmjs.org/@expo/vector-icons/-/vector-icons-13.0.0.tgz#e2989b85e95a82bce216f88cf8fb583ab050ec95"
integrity sha512-TI+l71+5aSKnShYclFa14Kum+hQMZ86b95SH6tQUG3qZEmLTarvWpKwqtTwQKqvlJSJrpFiSFu3eCuZokY6zWA==
-"@expo/webpack-config@^18.1.2":
- version "18.1.2"
- resolved "https://registry.npmjs.org/@expo/webpack-config/-/webpack-config-18.1.2.tgz#98921b3d56d57dea6aaf270c2e9a0b66f85cae24"
- integrity sha512-nlYVzcheaOZdxSt31he16f/ZgcdS3BT4BjEU85TwgFUdUJngjhT9wcmmkvXmOYz0o0NBMtZCkX8S0Z2Ta3yuNQ==
+"@expo/webpack-config@^19.0.0":
+ version "19.0.1"
+ resolved "https://registry.npmjs.org/@expo/webpack-config/-/webpack-config-19.0.1.tgz#c54db7ecbe37cc8ae3d8cc4a7d8184ab4633827e"
+ integrity sha512-5bSxXTUd/DCF44+1dSyU23YKLOOYCr9pMJ+C5Vw7PAi6v6OEyNp4uOVMk2x5DAEpXtvOsJCxvNZdmtY/IqmO/A==
dependencies:
"@babel/core" "^7.20.2"
babel-loader "^8.3.0"
@@ -1521,15 +1521,16 @@
copy-webpack-plugin "^10.2.0"
css-loader "^6.5.1"
css-minimizer-webpack-plugin "^3.4.1"
- expo-pwa "0.0.126"
+ expo-pwa "0.0.127"
find-up "^5.0.0"
find-yarn-workspace-root "~2.0.0"
+ fs-extra "^11.2.0"
getenv "^1.0.0"
html-webpack-plugin "^5.5.0"
is-wsl "^2.0.0"
mini-css-extract-plugin "^2.5.2"
node-html-parser "^5.2.0"
- semver "~7.3.2"
+ semver "~7.5.4"
source-map-loader "^3.0.1"
style-loader "^3.3.1"
terser-webpack-plugin "^5.3.0"
@@ -1726,44 +1727,44 @@
mkdirp "^1.0.4"
rimraf "^3.0.2"
-"@react-native-community/cli-clean@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-clean/-/cli-clean-11.3.5.tgz#07c8a01e433ea6c6e32eb647908be48952888cdd"
- integrity sha512-1+7BU962wKkIkHRp/uW3jYbQKKGtU7L+R3g59D8K6uLccuxJYUBJv18753ojMa6SD3SAq5Xh31bAre+YwVcOTA==
+"@react-native-community/cli-clean@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-clean/-/cli-clean-11.3.7.tgz#cb4c2f225f78593412c2d191b55b8570f409a48f"
+ integrity sha512-twtsv54ohcRyWVzPXL3F9VHGb4Qhn3slqqRs3wEuRzjR7cTmV2TIO2b1VhaqF4HlCgNd+cGuirvLtK2JJyaxMg==
dependencies:
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
execa "^5.0.0"
prompts "^2.4.0"
-"@react-native-community/cli-config@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-config/-/cli-config-11.3.5.tgz#07e48bb6cdecaa2aafa20da9888b5f35383a4382"
- integrity sha512-fMblIsHlUleKfGsgWyjFJYfx1SqrsnhS/QXfA8w7iT6GrNOOjBp5UWx8+xlMDFcmOb9e42g1ExFDKl3n8FWkxQ==
+"@react-native-community/cli-config@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-config/-/cli-config-11.3.7.tgz#4ce95548252ecb094b576369abebf9867c95d277"
+ integrity sha512-FDBLku9xskS+bx0YFJFLCmUJhEZ4/MMSC9qPYOGBollWYdgE7k/TWI0IeYFmMALAnbCdKQAYP5N29N55Tad8lg==
dependencies:
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
cosmiconfig "^5.1.0"
deepmerge "^4.3.0"
glob "^7.1.3"
joi "^17.2.1"
-"@react-native-community/cli-debugger-ui@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-11.3.5.tgz#0dbb27759b9f6e4ca8cfcaab4fabfe349f765356"
- integrity sha512-o5JVCKEpPUXMX4r3p1cYjiy3FgdOEkezZcQ6owWEae2dYvV19lLYyJwnocm9Y7aG9PvpgI3PIMVh3KZbhS21eA==
+"@react-native-community/cli-debugger-ui@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-11.3.7.tgz#2147b73313af8de3c9b396406d5d344b904cf2bb"
+ integrity sha512-aVmKuPKHZENR8SrflkMurZqeyLwbKieHdOvaZCh1Nn/0UC5CxWcyST2DB2XQboZwsvr3/WXKJkSUO+SZ1J9qTQ==
dependencies:
serve-static "^1.13.1"
-"@react-native-community/cli-doctor@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-doctor/-/cli-doctor-11.3.5.tgz#f11e0651c53e0b58487837a272af725f046a5842"
- integrity sha512-+4BuFHjoV4FFjX5y60l0s6nS0agidb1izTVwsFixeFKW73LUkOLu+Ae5HI94RAFEPE4ePEVNgYX3FynIau6K0g==
+"@react-native-community/cli-doctor@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-doctor/-/cli-doctor-11.3.7.tgz#7d5f5b1aea78134bba713fa97795986345ff1344"
+ integrity sha512-YEHUqWISOHnsl5+NM14KHelKh68Sr5/HeEZvvNdIcvcKtZic3FU7Xd1WcbNdo3gCq5JvzGFfufx02Tabh5zmrg==
dependencies:
- "@react-native-community/cli-config" "11.3.5"
- "@react-native-community/cli-platform-android" "11.3.5"
- "@react-native-community/cli-platform-ios" "11.3.5"
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-config" "11.3.7"
+ "@react-native-community/cli-platform-android" "11.3.7"
+ "@react-native-community/cli-platform-ios" "11.3.7"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
command-exists "^1.2.8"
envinfo "^7.7.2"
@@ -1773,70 +1774,70 @@
node-stream-zip "^1.9.1"
ora "^5.4.1"
prompts "^2.4.0"
- semver "^6.3.0"
+ semver "^7.5.2"
strip-ansi "^5.2.0"
sudo-prompt "^9.0.0"
wcwidth "^1.0.1"
yaml "^2.2.1"
-"@react-native-community/cli-hermes@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-hermes/-/cli-hermes-11.3.5.tgz#fb557790a34f4354fa7a91b02217cdded26cafc4"
- integrity sha512-+3m34hiaJpFel8BlJE7kJOaPzWR/8U8APZG2LXojbAdBAg99EGmQcwXIgsSVJFvH8h/nezf4DHbsPKigIe33zA==
+"@react-native-community/cli-hermes@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-hermes/-/cli-hermes-11.3.7.tgz#091e730a1f8bace6c3729e8744bad6141002e0e8"
+ integrity sha512-chkKd8n/xeZkinRvtH6QcYA8rjNOKU3S3Lw/3Psxgx+hAYV0Gyk95qJHTalx7iu+PwjOOqqvCkJo5jCkYLkoqw==
dependencies:
- "@react-native-community/cli-platform-android" "11.3.5"
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-platform-android" "11.3.7"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
hermes-profile-transformer "^0.0.6"
ip "^1.1.5"
-"@react-native-community/cli-platform-android@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-platform-android/-/cli-platform-android-11.3.5.tgz#8be7ef382a3182fe63a698ed2edd4d90ab19246a"
- integrity sha512-s4Lj7FKxJ/BofGi/ifjPfrA9MjFwIgYpHnHBSlqtbsvPoSYzmVCU2qlWM8fb3AmkXIwyYt4A6MEr3MmNT2UoBg==
+"@react-native-community/cli-platform-android@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-platform-android/-/cli-platform-android-11.3.7.tgz#7845bc48258b6bb55df208a23b3690647f113995"
+ integrity sha512-WGtXI/Rm178UQb8bu1TAeFC/RJvYGnbHpULXvE20GkmeJ1HIrMjkagyk6kkY3Ej25JAP2R878gv+TJ/XiRhaEg==
dependencies:
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
execa "^5.0.0"
glob "^7.1.3"
logkitty "^0.7.1"
-"@react-native-community/cli-platform-ios@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-platform-ios/-/cli-platform-ios-11.3.5.tgz#12a8cbf2638400b9986709466653ce4e7c9eca2a"
- integrity sha512-ytJC/YCFD7P+KuQHOT5Jzh1ho2XbJEjq71yHa1gJP2PG/Q/uB4h1x2XpxDqv5iXU6E250yjvKMmkReKTW4CTig==
+"@react-native-community/cli-platform-ios@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-platform-ios/-/cli-platform-ios-11.3.7.tgz#87478f907634713b7236c77870446a5ca1f35ff1"
+ integrity sha512-Z/8rseBput49EldX7MogvN6zJlWzZ/4M97s2P+zjS09ZoBU7I0eOKLi0N9wx+95FNBvGQQ/0P62bB9UaFQH2jw==
dependencies:
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
execa "^5.0.0"
fast-xml-parser "^4.0.12"
glob "^7.1.3"
ora "^5.4.1"
-"@react-native-community/cli-plugin-metro@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-11.3.5.tgz#5614c7ef3bc83cf70bcb0e6d988ab9d84a76008a"
- integrity sha512-r9AekfeLKdblB7LfWB71IrNy1XM03WrByQlUQajUOZAP2NmUUBLl9pMZscPjJeOSgLpHB9ixEFTIOhTabri/qg==
+"@react-native-community/cli-plugin-metro@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-plugin-metro/-/cli-plugin-metro-11.3.7.tgz#2e8a9deb30b40495c5c1347a1837a824400fa00f"
+ integrity sha512-0WhgoBVGF1f9jXcuagQmtxpwpfP+2LbLZH4qMyo6OtYLWLG13n2uRep+8tdGzfNzl1bIuUTeE9yZSAdnf9LfYQ==
dependencies:
- "@react-native-community/cli-server-api" "11.3.5"
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-server-api" "11.3.7"
+ "@react-native-community/cli-tools" "11.3.7"
chalk "^4.1.2"
execa "^5.0.0"
- metro "0.76.7"
- metro-config "0.76.7"
- metro-core "0.76.7"
- metro-react-native-babel-transformer "0.76.7"
- metro-resolver "0.76.7"
- metro-runtime "0.76.7"
+ metro "0.76.8"
+ metro-config "0.76.8"
+ metro-core "0.76.8"
+ metro-react-native-babel-transformer "0.76.8"
+ metro-resolver "0.76.8"
+ metro-runtime "0.76.8"
readline "^1.3.0"
-"@react-native-community/cli-server-api@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-server-api/-/cli-server-api-11.3.5.tgz#6f43f5844bd1eb73166546b8fa8bfd32064b21e7"
- integrity sha512-PM/jF13uD1eAKuC84lntNuM5ZvJAtyb+H896P1dBIXa9boPLa3KejfUvNVoyOUJ5s8Ht25JKbc3yieV2+GMBDA==
+"@react-native-community/cli-server-api@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-server-api/-/cli-server-api-11.3.7.tgz#2cce54b3331c9c51b9067129c297ab2e9a142216"
+ integrity sha512-yoFyGdvR3HxCnU6i9vFqKmmSqFzCbnFSnJ29a+5dppgPRetN+d//O8ard/YHqHzToFnXutAFf2neONn23qcJAg==
dependencies:
- "@react-native-community/cli-debugger-ui" "11.3.5"
- "@react-native-community/cli-tools" "11.3.5"
+ "@react-native-community/cli-debugger-ui" "11.3.7"
+ "@react-native-community/cli-tools" "11.3.7"
compression "^1.7.1"
connect "^3.6.5"
errorhandler "^1.5.1"
@@ -1845,10 +1846,10 @@
serve-static "^1.13.1"
ws "^7.5.1"
-"@react-native-community/cli-tools@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-tools/-/cli-tools-11.3.5.tgz#3f9d23a4c961d963f85c254718636db8a5fa3bce"
- integrity sha512-zDklE1+ah/zL4BLxut5XbzqCj9KTHzbYBKX7//cXw2/0TpkNCaY9c+iKx//gZ5m7U1OKbb86Fm2b0AKtKVRf6Q==
+"@react-native-community/cli-tools@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-tools/-/cli-tools-11.3.7.tgz#37aa7efc7b4a1b7077d541f1d7bb11a2ab7b6ff2"
+ integrity sha512-peyhP4TV6Ps1hk+MBHTFaIR1eI3u+OfGBvr5r0wPwo3FAJvldRinMgcB/TcCcOBXVORu7ba1XYjkubPeYcqAyA==
dependencies:
appdirsjs "^1.2.4"
chalk "^4.1.2"
@@ -1857,30 +1858,30 @@
node-fetch "^2.6.0"
open "^6.2.0"
ora "^5.4.1"
- semver "^6.3.0"
+ semver "^7.5.2"
shell-quote "^1.7.3"
-"@react-native-community/cli-types@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli-types/-/cli-types-11.3.5.tgz#9051205e164d5585f1ae3869a3b3ca1f2f43b9ba"
- integrity sha512-pf0kdWMEfPSV/+8rcViDCFzbLMtWIHMZ8ay7hKwqaoWegsJ0oprSF2tSTH+LSC/7X1Beb9ssIvHj1m5C4es5Xg==
+"@react-native-community/cli-types@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli-types/-/cli-types-11.3.7.tgz#12fe7cff3da08bd27e11116531b2e001939854b9"
+ integrity sha512-OhSr/TiDQkXjL5YOs8+hvGSB+HltLn5ZI0+A3DCiMsjUgTTsYh+Z63OtyMpNjrdCEFcg0MpfdU2uxstCS6Dc5g==
dependencies:
joi "^17.2.1"
-"@react-native-community/cli@11.3.5":
- version "11.3.5"
- resolved "https://registry.npmjs.org/@react-native-community/cli/-/cli-11.3.5.tgz#18ac20ba96182662cf1088cbed20b6065935ddba"
- integrity sha512-wMXgKEWe6uesw7vyXKKjx5EDRog0QdXHxdgRguG14AjQRao1+4gXEWq2yyExOTi/GDY6dfJBUGTCwGQxhnk/Lg==
- dependencies:
- "@react-native-community/cli-clean" "11.3.5"
- "@react-native-community/cli-config" "11.3.5"
- "@react-native-community/cli-debugger-ui" "11.3.5"
- "@react-native-community/cli-doctor" "11.3.5"
- "@react-native-community/cli-hermes" "11.3.5"
- "@react-native-community/cli-plugin-metro" "11.3.5"
- "@react-native-community/cli-server-api" "11.3.5"
- "@react-native-community/cli-tools" "11.3.5"
- "@react-native-community/cli-types" "11.3.5"
+"@react-native-community/cli@11.3.7":
+ version "11.3.7"
+ resolved "https://registry.npmjs.org/@react-native-community/cli/-/cli-11.3.7.tgz#564c0054269d8385fa9d301750b2e56dbb5c0cc9"
+ integrity sha512-Ou8eDlF+yh2rzXeCTpMPYJ2fuqsusNOhmpYPYNQJQ2h6PvaF30kPomflgRILems+EBBuggRtcT+I+1YH4o/q6w==
+ dependencies:
+ "@react-native-community/cli-clean" "11.3.7"
+ "@react-native-community/cli-config" "11.3.7"
+ "@react-native-community/cli-debugger-ui" "11.3.7"
+ "@react-native-community/cli-doctor" "11.3.7"
+ "@react-native-community/cli-hermes" "11.3.7"
+ "@react-native-community/cli-plugin-metro" "11.3.7"
+ "@react-native-community/cli-server-api" "11.3.7"
+ "@react-native-community/cli-tools" "11.3.7"
+ "@react-native-community/cli-types" "11.3.7"
chalk "^4.1.2"
commander "^9.4.1"
execa "^5.0.0"
@@ -1888,21 +1889,24 @@
fs-extra "^8.1.0"
graceful-fs "^4.1.3"
prompts "^2.4.0"
- semver "^6.3.0"
+ semver "^7.5.2"
"@react-native/assets-registry@^0.72.0":
version "0.72.0"
resolved "https://registry.npmjs.org/@react-native/assets-registry/-/assets-registry-0.72.0.tgz#c82a76a1d86ec0c3907be76f7faf97a32bbed05d"
integrity sha512-Im93xRJuHHxb1wniGhBMsxLwcfzdYreSZVQGDoMJgkd6+Iky61LInGEHnQCTN0fKNYF1Dvcofb4uMmE1RQHXHQ==
-"@react-native/codegen@^0.72.6":
- version "0.72.6"
- resolved "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.72.6.tgz#029cf61f82f5c6872f0b2ce58f27c4239a5586c8"
- integrity sha512-idTVI1es/oopN0jJT/0jB6nKdvTUKE3757zA5+NPXZTeB46CIRbmmos4XBiAec8ufu9/DigLPbHTYAaMNZJ6Ig==
+"@react-native/codegen@^0.72.7":
+ version "0.72.8"
+ resolved "https://registry.npmjs.org/@react-native/codegen/-/codegen-0.72.8.tgz#0593f628e1310f430450a9479fbb4be35e7b63d6"
+ integrity sha512-jQCcBlXV7B7ap5VlHhwIPieYz89yiRgwd2FPUBu+unz+kcJ6pAiB2U8RdLDmyIs8fiWd+Vq1xxaWs4TR329/ng==
dependencies:
"@babel/parser" "^7.20.0"
flow-parser "^0.206.0"
+ glob "^7.1.1"
+ invariant "^2.2.4"
jscodeshift "^0.14.0"
+ mkdirp "^0.5.1"
nullthrows "^1.1.1"
"@react-native/gradle-plugin@^0.72.11":
@@ -1930,10 +1934,10 @@
resolved "https://registry.npmjs.org/@react-native/normalize-colors/-/normalize-colors-0.72.0.tgz#14294b7ed3c1d92176d2a00df48456e8d7d62212"
integrity sha512-285lfdqSXaqKuBbbtP9qL2tDrfxdOFtIMvkKadtleRQkdOxx+uzGvFr82KHmc/sSiMtfXGp7JnFYWVh4sFl7Yw==
-"@react-native/virtualized-lists@^0.72.6":
- version "0.72.6"
- resolved "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.72.6.tgz#375f88a1371927d803afad8d8a0ede3261464030"
- integrity sha512-JhT6ydu35LvbSKdwnhWDuGHMOwM0WAh9oza/X8vXHA8ELHRyQ/4p8eKz/bTQcbQziJaaleUURToGhFuCtgiMoA==
+"@react-native/virtualized-lists@^0.72.8":
+ version "0.72.8"
+ resolved "https://registry.npmjs.org/@react-native/virtualized-lists/-/virtualized-lists-0.72.8.tgz#a2c6a91ea0f1d40eb5a122fb063daedb92ed1dc3"
+ integrity sha512-J3Q4Bkuo99k7mu+jPS9gSUSgq+lLRSI/+ahXNwV92XgJ/8UgOTxu2LPwhJnBk/sQKxq7E8WkZBnBiozukQMqrw==
dependencies:
invariant "^2.2.4"
nullthrows "^1.1.1"
@@ -4033,10 +4037,10 @@ expo-modules-core@1.5.9:
compare-versions "^3.4.0"
invariant "^2.2.4"
-expo-pwa@0.0.126:
- version "0.0.126"
- resolved "https://registry.npmjs.org/expo-pwa/-/expo-pwa-0.0.126.tgz#2d554a4a671eb25a3560eb99d46de65634de52dd"
- integrity sha512-9qb6aIY0awez4FTyIiNhqyekb6sKnbvODOFCDPg23PqpkvdhuzzDRtP/Avgippt8kqRAgPpFXmIp2LaAyH1/aw==
+expo-pwa@0.0.127:
+ version "0.0.127"
+ resolved "https://registry.npmjs.org/expo-pwa/-/expo-pwa-0.0.127.tgz#b8d2fd28efff408a24e0f2539bfb47e09f8e4ebe"
+ integrity sha512-8D9wEDkEXG9r6TPvAFpWt27IiP1cLm/4RWVRUHzFZflbWYLi8GkYArj5LHbbfokybRm1GVAanSrrYFEqHoIUiA==
dependencies:
"@expo/image-utils" "0.3.23"
chalk "^4.0.0"
@@ -4343,6 +4347,15 @@ fs-extra@9.0.0:
jsonfile "^6.0.1"
universalify "^1.0.0"
+fs-extra@^11.2.0:
+ version "11.2.0"
+ resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b"
+ integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==
+ dependencies:
+ graceful-fs "^4.2.0"
+ jsonfile "^6.0.1"
+ universalify "^2.0.0"
+
fs-extra@^8.1.0, fs-extra@~8.1.0:
version "8.1.0"
resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
@@ -4473,7 +4486,7 @@ glob@^6.0.1:
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@^7.0.3, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
+glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
version "7.2.3"
resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -5591,53 +5604,53 @@ methods@~1.1.2:
resolved "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==
-metro-babel-transformer@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-babel-transformer/-/metro-babel-transformer-0.76.7.tgz#ba620d64cbaf97d1aa14146d654a3e5d7477fc62"
- integrity sha512-bgr2OFn0J4r0qoZcHrwEvccF7g9k3wdgTOgk6gmGHrtlZ1Jn3oCpklW/DfZ9PzHfjY2mQammKTc19g/EFGyOJw==
+metro-babel-transformer@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-babel-transformer/-/metro-babel-transformer-0.76.8.tgz#5efd1027353b36b73706164ef09c290dceac096a"
+ integrity sha512-Hh6PW34Ug/nShlBGxkwQJSgPGAzSJ9FwQXhUImkzdsDgVu6zj5bx258J8cJVSandjNoQ8nbaHK6CaHlnbZKbyA==
dependencies:
"@babel/core" "^7.20.0"
hermes-parser "0.12.0"
nullthrows "^1.1.1"
-metro-cache-key@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-cache-key/-/metro-cache-key-0.76.7.tgz#70913f43b92b313096673c37532edd07438cb325"
- integrity sha512-0pecoIzwsD/Whn/Qfa+SDMX2YyasV0ndbcgUFx7w1Ct2sLHClujdhQ4ik6mvQmsaOcnGkIyN0zcceMDjC2+BFQ==
+metro-cache-key@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-cache-key/-/metro-cache-key-0.76.8.tgz#8a0a5e991c06f56fcc584acadacb313c312bdc16"
+ integrity sha512-buKQ5xentPig9G6T37Ww/R/bC+/V1MA5xU/D8zjnhlelsrPG6w6LtHUS61ID3zZcMZqYaELWk5UIadIdDsaaLw==
-metro-cache@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-cache/-/metro-cache-0.76.7.tgz#e49e51423fa960df4eeff9760d131f03e003a9eb"
- integrity sha512-nWBMztrs5RuSxZRI7hgFgob5PhYDmxICh9FF8anm9/ito0u0vpPvRxt7sRu8fyeD2AHdXqE7kX32rWY0LiXgeg==
+metro-cache@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-cache/-/metro-cache-0.76.8.tgz#296c1c189db2053b89735a8f33dbe82575f53661"
+ integrity sha512-QBJSJIVNH7Hc/Yo6br/U/qQDUpiUdRgZ2ZBJmvAbmAKp2XDzsapnMwK/3BGj8JNWJF7OLrqrYHsRsukSbUBpvQ==
dependencies:
- metro-core "0.76.7"
+ metro-core "0.76.8"
rimraf "^3.0.2"
-metro-config@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-config/-/metro-config-0.76.7.tgz#f0fc171707523aa7d3a9311550872136880558c0"
- integrity sha512-CFDyNb9bqxZemiChC/gNdXZ7OQkIwmXzkrEXivcXGbgzlt/b2juCv555GWJHyZSlorwnwJfY3uzAFu4A9iRVfg==
+metro-config@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-config/-/metro-config-0.76.8.tgz#20bd5397fcc6096f98d2a813a7cecb38b8af062d"
+ integrity sha512-SL1lfKB0qGHALcAk2zBqVgQZpazDYvYFGwCK1ikz0S6Y/CM2i2/HwuZN31kpX6z3mqjv/6KvlzaKoTb1otuSAA==
dependencies:
connect "^3.6.5"
cosmiconfig "^5.0.5"
jest-validate "^29.2.1"
- metro "0.76.7"
- metro-cache "0.76.7"
- metro-core "0.76.7"
- metro-runtime "0.76.7"
+ metro "0.76.8"
+ metro-cache "0.76.8"
+ metro-core "0.76.8"
+ metro-runtime "0.76.8"
-metro-core@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-core/-/metro-core-0.76.7.tgz#5d2b8bac2cde801dc22666ad7be1336d1f021b61"
- integrity sha512-0b8KfrwPmwCMW+1V7ZQPkTy2tsEKZjYG9Pu1PTsu463Z9fxX7WaR0fcHFshv+J1CnQSUTwIGGjbNvj1teKe+pw==
+metro-core@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-core/-/metro-core-0.76.8.tgz#917c8157c63406cb223522835abb8e7c6291dcad"
+ integrity sha512-sl2QLFI3d1b1XUUGxwzw/KbaXXU/bvFYrSKz6Sg19AdYGWFyzsgZ1VISRIDf+HWm4R/TJXluhWMEkEtZuqi3qA==
dependencies:
lodash.throttle "^4.1.1"
- metro-resolver "0.76.7"
+ metro-resolver "0.76.8"
-metro-file-map@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-file-map/-/metro-file-map-0.76.7.tgz#0f041a4f186ac672f0188180310609c8483ffe89"
- integrity sha512-s+zEkTcJ4mOJTgEE2ht4jIo1DZfeWreQR3tpT3gDV/Y/0UQ8aJBTv62dE775z0GLsWZApiblAYZsj7ZE8P06nw==
+metro-file-map@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-file-map/-/metro-file-map-0.76.8.tgz#a1db1185b6c316904ba6b53d628e5d1323991d79"
+ integrity sha512-A/xP1YNEVwO1SUV9/YYo6/Y1MmzhL4ZnVgcJC3VmHp/BYVOXVStzgVbWv2wILe56IIMkfXU+jpXrGKKYhFyHVw==
dependencies:
anymatch "^3.0.3"
debug "^2.2.0"
@@ -5654,10 +5667,10 @@ metro-file-map@0.76.7:
optionalDependencies:
fsevents "^2.3.2"
-metro-inspector-proxy@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-inspector-proxy/-/metro-inspector-proxy-0.76.7.tgz#c067df25056e932002a72a4b45cf7b4b749f808e"
- integrity sha512-rNZ/6edTl/1qUekAhAbaFjczMphM50/UjtxiKulo6vqvgn/Mjd9hVqDvVYfAMZXqPvlusD88n38UjVYPkruLSg==
+metro-inspector-proxy@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-inspector-proxy/-/metro-inspector-proxy-0.76.8.tgz#6b8678a7461b0b42f913a7881cc9319b4d3cddff"
+ integrity sha512-Us5o5UEd4Smgn1+TfHX4LvVPoWVo9VsVMn4Ldbk0g5CQx3Gu0ygc/ei2AKPGTwsOZmKxJeACj7yMH2kgxQP/iw==
dependencies:
connect "^3.6.5"
debug "^2.2.0"
@@ -5665,17 +5678,17 @@ metro-inspector-proxy@0.76.7:
ws "^7.5.1"
yargs "^17.6.2"
-metro-minify-terser@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-minify-terser/-/metro-minify-terser-0.76.7.tgz#aefac8bb8b6b3a0fcb5ea0238623cf3e100893ff"
- integrity sha512-FQiZGhIxCzhDwK4LxyPMLlq0Tsmla10X7BfNGlYFK0A5IsaVKNJbETyTzhpIwc+YFRT4GkFFwgo0V2N5vxO5HA==
+metro-minify-terser@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-minify-terser/-/metro-minify-terser-0.76.8.tgz#915ab4d1419257fc6a0b9fa15827b83fe69814bf"
+ integrity sha512-Orbvg18qXHCrSj1KbaeSDVYRy/gkro2PC7Fy2tDSH1c9RB4aH8tuMOIXnKJE+1SXxBtjWmQ5Yirwkth2DyyEZA==
dependencies:
terser "^5.15.0"
-metro-minify-uglify@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-minify-uglify/-/metro-minify-uglify-0.76.7.tgz#3e0143786718dcaea4e28a724698d4f8ac199a43"
- integrity sha512-FuXIU3j2uNcSvQtPrAJjYWHruPiQ+EpE++J9Z+VznQKEHcIxMMoQZAfIF2IpZSrZYfLOjVFyGMvj41jQMxV1Vw==
+metro-minify-uglify@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-minify-uglify/-/metro-minify-uglify-0.76.8.tgz#74745045ea2dd29f8783db483b2fce58385ba695"
+ integrity sha512-6l8/bEvtVaTSuhG1FqS0+Mc8lZ3Bl4RI8SeRIifVLC21eeSDp4CEBUWSGjpFyUDfi6R5dXzYaFnSgMNyfxADiQ==
dependencies:
uglify-es "^3.1.9"
@@ -5724,60 +5737,105 @@ metro-react-native-babel-preset@0.76.7:
babel-plugin-transform-flow-enums "^0.0.2"
react-refresh "^0.4.0"
-metro-react-native-babel-transformer@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.76.7.tgz#ccc7c25b49ee8a1860aafdbf48bfa5441d206f8f"
- integrity sha512-W6lW3J7y/05ph3c2p3KKJNhH0IdyxdOCbQ5it7aM2MAl0SM4wgKjaV6EYv9b3rHklpV6K3qMH37UKVcjMooWiA==
+metro-react-native-babel-preset@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.76.8.tgz#7476efae14363cbdfeeec403b4f01d7348e6c048"
+ integrity sha512-Ptza08GgqzxEdK8apYsjTx2S8WDUlS2ilBlu9DR1CUcHmg4g3kOkFylZroogVAUKtpYQNYwAvdsjmrSdDNtiAg==
+ dependencies:
+ "@babel/core" "^7.20.0"
+ "@babel/plugin-proposal-async-generator-functions" "^7.0.0"
+ "@babel/plugin-proposal-class-properties" "^7.18.0"
+ "@babel/plugin-proposal-export-default-from" "^7.0.0"
+ "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.0"
+ "@babel/plugin-proposal-numeric-separator" "^7.0.0"
+ "@babel/plugin-proposal-object-rest-spread" "^7.20.0"
+ "@babel/plugin-proposal-optional-catch-binding" "^7.0.0"
+ "@babel/plugin-proposal-optional-chaining" "^7.20.0"
+ "@babel/plugin-syntax-dynamic-import" "^7.8.0"
+ "@babel/plugin-syntax-export-default-from" "^7.0.0"
+ "@babel/plugin-syntax-flow" "^7.18.0"
+ "@babel/plugin-syntax-nullish-coalescing-operator" "^7.0.0"
+ "@babel/plugin-syntax-optional-chaining" "^7.0.0"
+ "@babel/plugin-transform-arrow-functions" "^7.0.0"
+ "@babel/plugin-transform-async-to-generator" "^7.20.0"
+ "@babel/plugin-transform-block-scoping" "^7.0.0"
+ "@babel/plugin-transform-classes" "^7.0.0"
+ "@babel/plugin-transform-computed-properties" "^7.0.0"
+ "@babel/plugin-transform-destructuring" "^7.20.0"
+ "@babel/plugin-transform-flow-strip-types" "^7.20.0"
+ "@babel/plugin-transform-function-name" "^7.0.0"
+ "@babel/plugin-transform-literals" "^7.0.0"
+ "@babel/plugin-transform-modules-commonjs" "^7.0.0"
+ "@babel/plugin-transform-named-capturing-groups-regex" "^7.0.0"
+ "@babel/plugin-transform-parameters" "^7.0.0"
+ "@babel/plugin-transform-react-display-name" "^7.0.0"
+ "@babel/plugin-transform-react-jsx" "^7.0.0"
+ "@babel/plugin-transform-react-jsx-self" "^7.0.0"
+ "@babel/plugin-transform-react-jsx-source" "^7.0.0"
+ "@babel/plugin-transform-runtime" "^7.0.0"
+ "@babel/plugin-transform-shorthand-properties" "^7.0.0"
+ "@babel/plugin-transform-spread" "^7.0.0"
+ "@babel/plugin-transform-sticky-regex" "^7.0.0"
+ "@babel/plugin-transform-typescript" "^7.5.0"
+ "@babel/plugin-transform-unicode-regex" "^7.0.0"
+ "@babel/template" "^7.0.0"
+ babel-plugin-transform-flow-enums "^0.0.2"
+ react-refresh "^0.4.0"
+
+metro-react-native-babel-transformer@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.76.8.tgz#c3a98e1f4cd5faf1e21eba8e004b94a90c4db69b"
+ integrity sha512-3h+LfS1WG1PAzhq8QF0kfXjxuXetbY/lgz8vYMQhgrMMp17WM1DNJD0gjx8tOGYbpbBC1qesJ45KMS4o5TA73A==
dependencies:
"@babel/core" "^7.20.0"
babel-preset-fbjs "^3.4.0"
hermes-parser "0.12.0"
- metro-react-native-babel-preset "0.76.7"
+ metro-react-native-babel-preset "0.76.8"
nullthrows "^1.1.1"
-metro-resolver@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-resolver/-/metro-resolver-0.76.7.tgz#f00ebead64e451c060f30926ecbf4f797588df52"
- integrity sha512-pC0Wgq29HHIHrwz23xxiNgylhI8Rq1V01kQaJ9Kz11zWrIdlrH0ZdnJ7GC6qA0ErROG+cXmJ0rJb8/SW1Zp2IA==
+metro-resolver@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-resolver/-/metro-resolver-0.76.8.tgz#0862755b9b84e26853978322464fb37c6fdad76d"
+ integrity sha512-KccOqc10vrzS7ZhG2NSnL2dh3uVydarB7nOhjreQ7C4zyWuiW9XpLC4h47KtGQv3Rnv/NDLJYeDqaJ4/+140HQ==
-metro-runtime@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-runtime/-/metro-runtime-0.76.7.tgz#4d75f2dbbcd19a4f01e0d89494e140b0ba8247e4"
- integrity sha512-MuWHubQHymUWBpZLwuKZQgA/qbb35WnDAKPo83rk7JRLIFPvzXSvFaC18voPuzJBt1V98lKQIonh6MiC9gd8Ug==
+metro-runtime@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-runtime/-/metro-runtime-0.76.8.tgz#74b2d301a2be5f3bbde91b8f1312106f8ffe50c3"
+ integrity sha512-XKahvB+iuYJSCr3QqCpROli4B4zASAYpkK+j3a0CJmokxCDNbgyI4Fp88uIL6rNaZfN0Mv35S0b99SdFXIfHjg==
dependencies:
"@babel/runtime" "^7.0.0"
react-refresh "^0.4.0"
-metro-source-map@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-source-map/-/metro-source-map-0.76.7.tgz#9a4aa3a35e1e8ffde9a74cd7ab5f49d9d4a4da14"
- integrity sha512-Prhx7PeRV1LuogT0Kn5VjCuFu9fVD68eefntdWabrksmNY6mXK8pRqzvNJOhTojh6nek+RxBzZeD6MIOOyXS6w==
+metro-source-map@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-source-map/-/metro-source-map-0.76.8.tgz#f085800152a6ba0b41ca26833874d31ec36c5a53"
+ integrity sha512-Hh0ncPsHPVf6wXQSqJqB3K9Zbudht4aUtNpNXYXSxH+pteWqGAXnjtPsRAnCsCWl38wL0jYF0rJDdMajUI3BDw==
dependencies:
"@babel/traverse" "^7.20.0"
"@babel/types" "^7.20.0"
invariant "^2.2.4"
- metro-symbolicate "0.76.7"
+ metro-symbolicate "0.76.8"
nullthrows "^1.1.1"
- ob1 "0.76.7"
+ ob1 "0.76.8"
source-map "^0.5.6"
vlq "^1.0.0"
-metro-symbolicate@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-symbolicate/-/metro-symbolicate-0.76.7.tgz#1720e6b4ce5676935d7a8a440f25d3f16638e87a"
- integrity sha512-p0zWEME5qLSL1bJb93iq+zt5fz3sfVn9xFYzca1TJIpY5MommEaS64Va87lp56O0sfEIvh4307Oaf/ZzRjuLiQ==
+metro-symbolicate@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-symbolicate/-/metro-symbolicate-0.76.8.tgz#f102ac1a306d51597ecc8fdf961c0a88bddbca03"
+ integrity sha512-LrRL3uy2VkzrIXVlxoPtqb40J6Bf1mlPNmUQewipc3qfKKFgtPHBackqDy1YL0njDsWopCKcfGtFYLn0PTUn3w==
dependencies:
invariant "^2.2.4"
- metro-source-map "0.76.7"
+ metro-source-map "0.76.8"
nullthrows "^1.1.1"
source-map "^0.5.6"
through2 "^2.0.1"
vlq "^1.0.0"
-metro-transform-plugins@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-transform-plugins/-/metro-transform-plugins-0.76.7.tgz#5d5f75371706fbf5166288e43ffd36b5e5bd05bc"
- integrity sha512-iSmnjVApbdivjuzb88Orb0JHvcEt5veVyFAzxiS5h0QB+zV79w6JCSqZlHCrbNOkOKBED//LqtKbFVakxllnNg==
+metro-transform-plugins@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-transform-plugins/-/metro-transform-plugins-0.76.8.tgz#d77c28a6547a8e3b72250f740fcfbd7f5408f8ba"
+ integrity sha512-PlkGTQNqS51Bx4vuufSQCdSn2R2rt7korzngo+b5GCkeX5pjinPjnO2kNhQ8l+5bO0iUD/WZ9nsM2PGGKIkWFA==
dependencies:
"@babel/core" "^7.20.0"
"@babel/generator" "^7.20.0"
@@ -5785,28 +5843,28 @@ metro-transform-plugins@0.76.7:
"@babel/traverse" "^7.20.0"
nullthrows "^1.1.1"
-metro-transform-worker@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro-transform-worker/-/metro-transform-worker-0.76.7.tgz#b842d5a542f1806cca401633fc002559b3e3d668"
- integrity sha512-cGvELqFMVk9XTC15CMVzrCzcO6sO1lURfcbgjuuPdzaWuD11eEyocvkTX0DPiRjsvgAmicz4XYxVzgYl3MykDw==
+metro-transform-worker@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro-transform-worker/-/metro-transform-worker-0.76.8.tgz#b9012a196cee205170d0c899b8b175b9305acdea"
+ integrity sha512-mE1fxVAnJKmwwJyDtThildxxos9+DGs9+vTrx2ktSFMEVTtXS/bIv2W6hux1pqivqAfyJpTeACXHk5u2DgGvIQ==
dependencies:
"@babel/core" "^7.20.0"
"@babel/generator" "^7.20.0"
"@babel/parser" "^7.20.0"
"@babel/types" "^7.20.0"
babel-preset-fbjs "^3.4.0"
- metro "0.76.7"
- metro-babel-transformer "0.76.7"
- metro-cache "0.76.7"
- metro-cache-key "0.76.7"
- metro-source-map "0.76.7"
- metro-transform-plugins "0.76.7"
+ metro "0.76.8"
+ metro-babel-transformer "0.76.8"
+ metro-cache "0.76.8"
+ metro-cache-key "0.76.8"
+ metro-source-map "0.76.8"
+ metro-transform-plugins "0.76.8"
nullthrows "^1.1.1"
-metro@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/metro/-/metro-0.76.7.tgz#4885917ad28738c7d1e556630e0155f687336230"
- integrity sha512-67ZGwDeumEPnrHI+pEDSKH2cx+C81Gx8Mn5qOtmGUPm/Up9Y4I1H2dJZ5n17MWzejNo0XAvPh0QL0CrlJEODVQ==
+metro@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/metro/-/metro-0.76.8.tgz#ba526808b99977ca3f9ac5a7432fd02a340d13a6"
+ integrity sha512-oQA3gLzrrYv3qKtuWArMgHPbHu8odZOD9AoavrqSFllkPgOtmkBvNNDLCELqv5SjBfqjISNffypg+5UGG3y0pg==
dependencies:
"@babel/code-frame" "^7.0.0"
"@babel/core" "^7.20.0"
@@ -5830,22 +5888,22 @@ metro@0.76.7:
jest-worker "^27.2.0"
jsc-safe-url "^0.2.2"
lodash.throttle "^4.1.1"
- metro-babel-transformer "0.76.7"
- metro-cache "0.76.7"
- metro-cache-key "0.76.7"
- metro-config "0.76.7"
- metro-core "0.76.7"
- metro-file-map "0.76.7"
- metro-inspector-proxy "0.76.7"
- metro-minify-terser "0.76.7"
- metro-minify-uglify "0.76.7"
- metro-react-native-babel-preset "0.76.7"
- metro-resolver "0.76.7"
- metro-runtime "0.76.7"
- metro-source-map "0.76.7"
- metro-symbolicate "0.76.7"
- metro-transform-plugins "0.76.7"
- metro-transform-worker "0.76.7"
+ metro-babel-transformer "0.76.8"
+ metro-cache "0.76.8"
+ metro-cache-key "0.76.8"
+ metro-config "0.76.8"
+ metro-core "0.76.8"
+ metro-file-map "0.76.8"
+ metro-inspector-proxy "0.76.8"
+ metro-minify-terser "0.76.8"
+ metro-minify-uglify "0.76.8"
+ metro-react-native-babel-preset "0.76.8"
+ metro-resolver "0.76.8"
+ metro-runtime "0.76.8"
+ metro-source-map "0.76.8"
+ metro-symbolicate "0.76.8"
+ metro-transform-plugins "0.76.8"
+ metro-transform-worker "0.76.8"
mime-types "^2.1.27"
node-fetch "^2.2.0"
nullthrows "^1.1.1"
@@ -6165,10 +6223,10 @@ nullthrows@^1.1.1:
resolved "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1"
integrity sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==
-ob1@0.76.7:
- version "0.76.7"
- resolved "https://registry.npmjs.org/ob1/-/ob1-0.76.7.tgz#95b68fadafd47e7a6a0ad64cf80f3140dd6d1124"
- integrity sha512-BQdRtxxoUNfSoZxqeBGOyuT9nEYSn18xZHwGMb0mMVpn2NBcYbnyKY4BK2LIHRgw33CBGlUmE+KMaNvyTpLLtQ==
+ob1@0.76.8:
+ version "0.76.8"
+ resolved "https://registry.npmjs.org/ob1/-/ob1-0.76.8.tgz#ac4c459465b1c0e2c29aaa527e09fc463d3ffec8"
+ integrity sha512-dlBkJJV5M/msj9KYA9upc+nUWVwuOFFTbu28X6kZeGwcuW+JxaHSBZ70SYQnk5M+j5JbNLR6yKHmgW4M5E7X5g==
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
@@ -7027,21 +7085,21 @@ react-native-web@~0.19.6:
postcss-value-parser "^4.2.0"
styleq "^0.1.3"
-react-native@0.72.3:
- version "0.72.3"
- resolved "https://registry.npmjs.org/react-native/-/react-native-0.72.3.tgz#f8d85ec81c9f3592d091ec8e9ac1694956a72765"
- integrity sha512-QqISi+JVmCssNP2FlQ4MWhlc4O/I00MRE1/GClvyZ8h/6kdsyk/sOirkYdZqX3+DrJfI3q+OnyMnsyaXIQ/5tQ==
+react-native@0.72.6:
+ version "0.72.6"
+ resolved "https://registry.npmjs.org/react-native/-/react-native-0.72.6.tgz#9f8d090694907e2f83af22e115cc0e4a3d5fa626"
+ integrity sha512-RafPY2gM7mcrFySS8TL8x+TIO3q7oAlHpzEmC7Im6pmXni6n1AuufGaVh0Narbr1daxstw7yW7T9BKW5dpVc2A==
dependencies:
"@jest/create-cache-key-function" "^29.2.1"
- "@react-native-community/cli" "11.3.5"
- "@react-native-community/cli-platform-android" "11.3.5"
- "@react-native-community/cli-platform-ios" "11.3.5"
+ "@react-native-community/cli" "11.3.7"
+ "@react-native-community/cli-platform-android" "11.3.7"
+ "@react-native-community/cli-platform-ios" "11.3.7"
"@react-native/assets-registry" "^0.72.0"
- "@react-native/codegen" "^0.72.6"
+ "@react-native/codegen" "^0.72.7"
"@react-native/gradle-plugin" "^0.72.11"
"@react-native/js-polyfills" "^0.72.1"
"@react-native/normalize-colors" "^0.72.0"
- "@react-native/virtualized-lists" "^0.72.6"
+ "@react-native/virtualized-lists" "^0.72.8"
abort-controller "^3.0.0"
anser "^1.4.9"
base64-js "^1.1.2"
@@ -7052,8 +7110,8 @@ react-native@0.72.3:
jest-environment-node "^29.2.1"
jsc-android "^250231.0.0"
memoize-one "^5.0.0"
- metro-runtime "0.76.7"
- metro-source-map "0.76.7"
+ metro-runtime "0.76.8"
+ metro-source-map "0.76.8"
mkdirp "^0.5.1"
nullthrows "^1.1.1"
pretty-format "^26.5.2"
@@ -7429,25 +7487,18 @@ semver@^5.5.0, semver@^5.6.0:
resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8"
integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==
-semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
+semver@^6.0.0, semver@^6.3.1:
version "6.3.1"
resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
-semver@^7.3.5, semver@^7.3.8, semver@^7.5.3:
+semver@^7.3.5, semver@^7.3.8, semver@^7.5.2, semver@^7.5.3, semver@~7.5.4:
version "7.5.4"
resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
dependencies:
lru-cache "^6.0.0"
-semver@~7.3.2:
- version "7.3.8"
- resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
- integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
- dependencies:
- lru-cache "^6.0.0"
-
send@0.18.0, send@^0.18.0:
version "0.18.0"
resolved "https://registry.npmjs.org/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be"
diff --git a/package.json b/package.json
index e7bd4e5..213da59 100644
--- a/package.json
+++ b/package.json
@@ -92,7 +92,6 @@
"engines": {
"node": ">= 16.0.0"
},
- "packageManager": "^yarn@1.22.15",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
diff --git a/src/internal.native.ts b/src/internal.native.ts
index bab8358..7c8f1d3 100644
--- a/src/internal.native.ts
+++ b/src/internal.native.ts
@@ -22,16 +22,22 @@ export function useAnimatedText({
const inputRange = childrenA.map((_, i) => i);
return {
- color: positionWithOffset.interpolate({
- inputRange: inputRange,
- outputRange: childrenA.map((_, i) =>
- i === tabIndex ? activeColor : textColor
- ),
- }),
- opacity: positionWithOffset.interpolate({
- inputRange: inputRange,
- outputRange: childrenA.map((_, i) => (i === tabIndex ? 1 : 0.6)),
- }),
+ color:
+ childrenA.length <= 1
+ ? activeColor
+ : positionWithOffset.interpolate({
+ inputRange: inputRange,
+ outputRange: childrenA.map((_, i) =>
+ i === tabIndex ? activeColor : textColor
+ ),
+ }),
+ opacity:
+ childrenA.length <= 1
+ ? 1
+ : positionWithOffset.interpolate({
+ inputRange: inputRange,
+ outputRange: childrenA.map((_, i) => (i === tabIndex ? 1 : 0.6)),
+ }),
};
}
@@ -51,28 +57,37 @@ export function useIndicator({
const childrenA = Array(childrenCount).fill(undefined);
const inputRange = childrenA.map((__, i) => i);
const positionWithOffset = Animated.add(position!, offset!);
+
+ const getTranslateX = (i: number) => {
+ const cl = layouts.current?.[i];
+ if (!cl) {
+ return 0;
+ }
+ return (cl.x + cl.width / 2) / cl.width;
+ };
+ const getScaleX = (i: number) => {
+ return layouts.current?.[i]?.width || 0;
+ };
return position && tabsLayout && layouts.current
? {
transform: [
{
- scaleX: positionWithOffset.interpolate({
- inputRange,
- outputRange: childrenA.map(
- (__, i) => layouts.current?.[i]?.width || 0
- ),
- }),
+ scaleX:
+ childrenA.length <= 1
+ ? getScaleX(0)
+ : positionWithOffset.interpolate({
+ inputRange,
+ outputRange: childrenA.map((__, i) => getScaleX(i)),
+ }),
},
{
- translateX: positionWithOffset.interpolate({
- inputRange,
- outputRange: childrenA.map((__, i) => {
- const cl = layouts.current?.[i];
- if (!cl) {
- return 0;
- }
- return (cl.x + cl.width / 2) / cl.width;
- }),
- }),
+ translateX:
+ childrenA.length <= 1
+ ? getTranslateX(0)
+ : positionWithOffset.interpolate({
+ inputRange,
+ outputRange: childrenA.map((__, i) => getTranslateX(i)),
+ }),
},
],
}