Skip to content

Commit 53d2ce1

Browse files
committed
Pin use-subscription to < 1.6.0
Starting with 1.6.0 this package relies on react 18 which is currently not supported by rn
1 parent 16397e0 commit 53d2ce1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"regenerator-runtime": "^0.13.2",
120120
"scheduler": "^0.20.2",
121121
"stacktrace-parser": "^0.1.3",
122-
"use-subscription": "^1.0.0",
122+
"use-subscription": ">=1.0.0 <1.6.0",
123123
"whatwg-fetch": "^3.0.0",
124124
"ws": "^6.1.4"
125125
},

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7245,10 +7245,12 @@ urix@^0.1.0:
72457245
resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
72467246
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
72477247

7248-
use-subscription@^1.0.0:
7249-
version "1.0.0"
7250-
resolved "https://registry.yarnpkg.com/use-subscription/-/use-subscription-1.0.0.tgz#25ed2161f75e9f6bd8c5c4acfe6087bfebfbfef4"
7251-
integrity sha512-PkDL9KSMN01nJYfa5c8O7Qbs7lmpzirfRWhWfIQN053hbIj5s1o5L7hrTzCfCCO2FsN2bKrU7ciRxxRcinmxAA==
7248+
"use-subscription@>=1.0.0 <1.6.0":
7249+
version "1.5.1"
7250+
resolved "https://registry.yarnpkg.com/use-subscription/-/use-subscription-1.5.1.tgz#73501107f02fad84c6dd57965beb0b75c68c42d1"
7251+
integrity sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==
7252+
dependencies:
7253+
object-assign "^4.1.1"
72527254

72537255
use@^3.1.0:
72547256
version "3.1.1"

0 commit comments

Comments
 (0)