You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop the react-native-quick-base64 peer dependency #1117
src/index.rn.ts imports react-native-quick-base64 only to set the base64ToArrayBuffer and base64FromArrayBuffer globals, which only the example app's subtle/import_export tests use.
Set them in the example app with RNQC's own stringToBuffer / bufferToString (native simdutf), and remove the peer dependency and its peerDependenciesMeta entry.
The peer dependency stays. @craftzdog/react-native-buffer still loads react-native-quick-base64 on React Native, and since 6.1.3 it does that through its react-native package.json field. React Native autolinking only builds native modules the app lists in its own package.json, so apps still need to install it. The optional peer is what tells them to.
Activity
boorad commentedon Dec 4, 2026
Done apart from the peer dependency, which we're keeping on purpose.
react-native-quick-base64import from the React Native entry. Thesubtle/import_exporttests now call RNQC's nativestringToBuffer/bufferToStringdirectly, so thebase64ToArrayBuffer/base64FromArrayBufferglobals are gone.@craftzdog/react-native-bufferstill loadsreact-native-quick-base64on React Native, and since 6.1.3 it does that through itsreact-nativepackage.json field. React Native autolinking only builds native modules the app lists in its ownpackage.json, so apps still need to install it. The optional peer is what tells them to.@craftzdog/react-native-buffer6.1.3 and drops the alias (Bundle Buffer on bare hosts without a react-native-quick-base64 alias #1116).