Skip to content
Open
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
5 changes: 5 additions & 0 deletions .changeset/dependabot-pr-1013.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@knocklabs/react-native": patch
---

chore(deps): bump react-native-get-random-values from 1.11.0 to 2.0.0
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"@knocklabs/client": "workspace:^",
"@knocklabs/react-core": "workspace:^",
"react-native-get-random-values": "^1.11.0",
"react-native-get-random-values": "^2.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peer range mismatches dependency

Medium Severity

This bump pins react-native-get-random-values to v2, which declares react-native >=0.81 (and targets the new architecture per its 2.0 release). @knocklabs/react-native still lists react-native as *, so consumers on React Native below 0.81 can install the SDK without a peer warning and hit native-module or runtime failures from the polyfill import in src/index.ts.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4d08f28. Configure here.

"react-native-render-html": "^6.3.4",
"react-native-svg": "~15.15.3"
},
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5082,7 +5082,7 @@ __metadata:
react-dom: "npm:^19.2.5"
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 Down Expand Up @@ -18513,14 +18513,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