Skip to content

Commit

Permalink
[expo-go] Fix tsc (#27701)
Browse files Browse the repository at this point in the history
  • Loading branch information
wschurman committed Mar 15, 2024
1 parent c779c4e commit 95979d9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 33 deletions.
2 changes: 0 additions & 2 deletions apps/expo-go/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"semver": "^7.5.4",
"sha1": "^1.1.1",
"url": "^0.11.0"
},
"devDependencies": {
Expand All @@ -86,7 +85,6 @@
"@types/react": "~18.0.14",
"@types/react-redux": "^7.1.16",
"@types/semver": "^7.5.0",
"@types/sha1": "^1.1.2",
"expo-module-scripts": "^3.0.0",
"jest-expo": "~50.0.0-alpha.0",
"react-native-bundle-visualizer": "^3.0.0"
Expand Down
1 change: 1 addition & 0 deletions apps/expo-go/ts-declarations/url.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module 'url';
2 changes: 1 addition & 1 deletion apps/expo-go/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"noUnusedParameters": true,
"noImplicitAny": true
},
"include": ["App.tsx", "src/**/*"],
"include": ["App.tsx", "src/**/*", "ts-declarations"],
"exclude": ["**/__mocks__/*"]
}
45 changes: 15 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3555,17 +3555,17 @@
color "^4.2.3"
warn-once "^0.1.0"

"@react-navigation/core@6.4.0", "@react-navigation/core@^6.4.10", "@react-navigation/core@^6.4.9":
version "6.4.10"
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-6.4.10.tgz#0c52621968b35e3a75e189e823d3b9e3bad77aff"
integrity sha512-oYhqxETRHNHKsipm/BtGL0LI43Hs2VSFoWMbBdHK9OqgQPjTVUitslgLcPpo4zApCcmBWoOLX2qPxhsBda644A==
"@react-navigation/core@6.4.0", "@react-navigation/core@^6.4.15", "@react-navigation/core@^6.4.9":
version "6.4.15"
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-6.4.15.tgz#312fb00788cd259d17999f859a228e07f2aae020"
integrity sha512-/ti6dulU68bsR3+zM9rlrqOUG8x7Xor35B4W1sA/AbDC0b1veexMGUQHXeyF+qh/3loG8JTwBUgTsPXkoLO2mw==
dependencies:
"@react-navigation/routers" "^6.1.9"
escape-string-regexp "^4.0.0"
nanoid "^3.1.23"
query-string "^7.1.3"
react-is "^16.13.0"
use-latest-callback "^0.1.7"
use-latest-callback "^0.1.9"

"@react-navigation/drawer@6.5.0":
version "6.5.0"
Expand Down Expand Up @@ -3606,11 +3606,11 @@
warn-once "^0.1.0"

"@react-navigation/native@6.0.13", "@react-navigation/native@^6.1.6", "@react-navigation/native@~6.0.13", "@react-navigation/native@~6.1.6":
version "6.1.10"
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-6.1.10.tgz#d108423ae3acbe13f11d9b7351c1f5522d8391a5"
integrity sha512-jDG89TbZItY7W7rIcS1RqT63vWOPD4XuQLNKqZO0DY7mKnKh/CGBd0eg3nDMXUl143Qp//IxJKe2TfBQRDEU4A==
version "6.1.16"
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-6.1.16.tgz#02a37773f917a30b32e512537c6e458e671aced6"
integrity sha512-nlP9RrpNs0ogMQpYXURIIMZYOYvg51jvcC3wfE9GFKQO0Av+GsvWd/kPtliWzWmtFwPnqiu5dw4bCvNtfsB3bA==
dependencies:
"@react-navigation/core" "^6.4.10"
"@react-navigation/core" "^6.4.15"
escape-string-regexp "^4.0.0"
fast-deep-equal "^3.1.3"
nanoid "^3.1.23"
Expand Down Expand Up @@ -4769,13 +4769,6 @@
"@types/mime" "^1"
"@types/node" "*"

"@types/sha1@^1.1.2":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@types/sha1/-/sha1-1.1.3.tgz#d4cc37f17d093c524382d90326ba7274ef4637a8"
integrity sha512-bXfx/6xrPu1l6pLItGRMPX00lhnJavpj2qiQeLHflXvL2Ix97aC8FTF2/pQoqukRzcCwKyN3csZvOLzamIoaSA==
dependencies:
"@types/node" "*"

"@types/source-list-map@*":
version "0.1.2"
resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9"
Expand Down Expand Up @@ -7049,7 +7042,7 @@ chardet@^0.7.0:
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==

charenc@0.0.2, "charenc@>= 0.0.1", charenc@~0.0.1:
charenc@0.0.2, charenc@~0.0.1:
version "0.0.2"
resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667"
integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=
Expand Down Expand Up @@ -7777,7 +7770,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5:
shebang-command "^1.2.0"
which "^1.2.9"

crypt@0.0.2, "crypt@>= 0.0.1", crypt@~0.0.1:
crypt@0.0.2, crypt@~0.0.1:
version "0.0.2"
resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b"
integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=
Expand Down Expand Up @@ -17486,14 +17479,6 @@ sha.js@^2.4.0, sha.js@^2.4.8:
inherits "^2.0.1"
safe-buffer "^5.0.1"

sha1@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/sha1/-/sha1-1.1.1.tgz#addaa7a93168f393f19eb2b15091618e2700f848"
integrity sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=
dependencies:
charenc ">= 0.0.1"
crypt ">= 0.0.1"

shallow-clone@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3"
Expand Down Expand Up @@ -19423,10 +19408,10 @@ urlpattern-polyfill@^6.0.2:
dependencies:
braces "^3.0.2"

use-latest-callback@^0.1.7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/use-latest-callback/-/use-latest-callback-0.1.7.tgz#f189fa4e58ee18c7a2d9de53f92210e118d1b14f"
integrity sha512-Hlrl0lskgZZpo2vIpZ4rA7qA/rAGn2PcDvDH1M47AogqMPB0qlGEdsa66AVkIUiEEDpfxA9/N6hY6MqtaNoqWA==
use-latest-callback@^0.1.9:
version "0.1.9"
resolved "https://registry.yarnpkg.com/use-latest-callback/-/use-latest-callback-0.1.9.tgz#10191dc54257e65a8e52322127643a8940271e2a"
integrity sha512-CL/29uS74AwreI/f2oz2hLTW7ZqVeV5+gxFeGudzQrgkCytrHw33G4KbnQOrRlAEzzAFXi7dDLMC9zhWcVpzmw==

use-subscription@^1.8.0:
version "1.8.0"
Expand Down

0 comments on commit 95979d9

Please sign in to comment.