Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .changeset/dependabot-pr-1013.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@knocklabs/react-native": minor
"@knocklabs/expo": minor
---

chore(deps): bump react-native-get-random-values from 1.11.0 to 2.0.0

v2 of the polyfill is new architecture only and requires React Native >= 0.81
(Expo SDK >= 54). `@knocklabs/react-native` imports it for its side effects from
`src/index.ts`, so that floor now applies to every consumer of the package, and
to `@knocklabs/expo` by way of its dependency on `@knocklabs/react-native`.

The `react-native` peer range on both packages has been narrowed from `*` to
`>=0.81`, so installs on unsupported versions surface a peer warning instead of
failing at runtime when the native module is missing. Expo SDK 54 is the release
that ships React Native 0.81, so the `expo` peer stays at `*` and the
`react-native` constraint covers both.
2 changes: 1 addition & 1 deletion packages/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"expo-device": "*",
"expo-notifications": "*",
"react": "*",
"react-native": "*",
"react-native": ">=0.81",
"react-native-gesture-handler": ">=2.0.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native": ">=0.81",
"react-native-gesture-handler": ">=2.0.0"
},
"dependencies": {
"@knocklabs/client": "workspace:^",
"@knocklabs/react-core": "workspace:^",
"react-native-get-random-values": "^1.11.0",
"react-native-get-random-values": "^2.0.0",
Comment thread
kylemcd marked this conversation as resolved.
"react-native-render-html": "^6.3.4",
"react-native-svg": "~15.15.3"
},
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5068,7 +5068,7 @@ __metadata:
expo-device: "*"
expo-notifications: "*"
react: "*"
react-native: "*"
react-native: ">=0.81"
react-native-gesture-handler: ">=2.0.0"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -5177,7 +5177,7 @@ __metadata:
react-dom: "npm:^19.2.7"
react-native: "npm:^0.85.3"
react-native-gesture-handler: "npm:~2.30.0"
react-native-get-random-values: "npm:^1.11.0"
react-native-get-random-values: "npm:^2.0.0"
react-native-render-html: "npm:^6.3.4"
react-native-svg: "npm:~15.15.3"
rimraf: "npm:^6.0.1"
Expand All @@ -5187,7 +5187,7 @@ __metadata:
vite-plugin-no-bundle: "npm:^4.0.0"
peerDependencies:
react: "*"
react-native: "*"
react-native: ">=0.81"
react-native-gesture-handler: ">=2.0.0"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -18311,14 +18311,14 @@ __metadata:
languageName: node
linkType: hard

"react-native-get-random-values@npm:^1.11.0":
version: 1.11.0
resolution: "react-native-get-random-values@npm:1.11.0"
"react-native-get-random-values@npm:^2.0.0":
version: 2.0.0
resolution: "react-native-get-random-values@npm:2.0.0"
dependencies:
fast-base64-decode: "npm:^1.0.0"
peerDependencies:
react-native: ">=0.56"
checksum: 10c0/2ce71f1ab7f5b36d4a9dd59cc80b4aa75526f047c6680a7f1a388fa8b9a62efdacaf7b7de3be593c73e882773b2eee74916b00f7c8b158e40b46388998218586
react-native: ">=0.81"
checksum: 10c0/fd2e10ab3bca54bff8f5844e3314b797e02822e86663bc2dafe00a511b8a8e1c05d96aa0b8dc1ffad428387d44bbf458ce770a429858433d36f58a16e6e52986
languageName: node
linkType: hard

Expand Down
Loading