
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@react-native-replicache/react-native-quick-sqlite
Advanced tools
> Plug-in React Native compatibility bindings for [Replicache](https://replicache.dev/).
Plug-in React Native compatibility bindings for Replicache.
https://user-images.githubusercontent.com/5165963/219898954-f5e94045-69bf-4c33-84e8-7d152c6f2c32.mov
Replicache enables us to build applications that are performant, offline-capable and collaborative. By default, it uses IndexedDB for client-side persistance. Unfortunately, this technology is not available in React Native and is only supported in web-browsers.
Thankfully, Replicache allows us to provide our own transactional data-store via experimentalCreateKVStore. The goal of this project is to provide some implementations of such a store, along with some guidance in getting up and running with Replicache in React Native.
React Native has relatively good support for SQLite - which provides the strict serializable transactions that we require.
Here we provide a store implementation backed by react-native-quick-sqlite. However, we also offer more bindings here. Be sure to see what best fits your project!
Some configuration is required to receive poke events from the server. In our example, seen here, we use a polyfill for Server Sent Events. These aren't built into React Native, but are really handy for a demo.
You most likely want to use web-sockets for this. This is relatively trivial with Pusher/Ably etc and similar to the web-app so we won't discuss that further here.
yarn add expo-crypto react-native-quick-sqlite @react-native-replicache/react-native-quick-sqlitecrypto.getRandomValues on the global namespace.
createReplicacheQuickSQLiteExperimentalCreateKVStore to Replicache's experimentalCreateKVStore option.
FAQs
> Plug-in React Native compatibility bindings for [Replicache](https://replicache.dev/).
The npm package @react-native-replicache/react-native-quick-sqlite receives a total of 1 weekly downloads. As such, @react-native-replicache/react-native-quick-sqlite popularity was classified as not popular.
We found that @react-native-replicache/react-native-quick-sqlite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.