Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
reactotron-react-native-mmkv
Advanced tools
Log updates to your react-native-mmkv store in the Reactotron timeline.
npm i --save-dev reactotron-react-native-mmkv
# or
yarn add -D reactotron-react-native-mmkv
Import your mmkv storage instance:
import { MMKV } from "react-native-mmkv"
export const storage = new MMKV()
To use the mmkvPlugin
, add the additional plugin on the import
line.
import Reactotron from "reactotron-react-native"
import type { ReactotronReactNative } from "reactotron-react-native"
import mmkvPlugin from "reactotron-react-native-mmkv"
import { storage } from "./mmkv/storage/instance/location" // <--- update this location
...
Reactotron.configure()
.use(mmkvPlugin<ReactotronReactNative>({ storage })) // <--- here we go!
.connect()
And you're done! Now you can see your MMKV in Reactotron.
mmkvPlugin()
accepts an object with an ignore
key. The value is an array of strings you would like to prevent sending to Reactotron.
mmkvPlugin<ReactotronReactNative>({
storage,
ignore: ["secret"],
})
FAQs
A Reactotron plugin for react-native-mmkv.
The npm package reactotron-react-native-mmkv receives a total of 12,896 weekly downloads. As such, reactotron-react-native-mmkv popularity was classified as popular.
We found that reactotron-react-native-mmkv demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.