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.
@adrianso/react-native-barcode-builder
Advanced tools
React Native component to generate barcodes.
Uses JsBarcode for encoding of data.
Uses @react-native-community/react-native-svg instead of @react-native-community/art.
Install react-native-barcode-builder
and dependencies:
npm install react-native-barcode-builder react-native-svg
or
yarn add react-native-barcode-builder react-native-svg
Start using the component
import Barcode from 'react-native-barcode-builder';
<Barcode value="Hello World" format="CODE128" />;
You can find more info about the supported barcodes in the JsBarcode README.
Property | Description |
---|---|
value | What the barcode stands for (required). |
format | Which barcode type to use (default: CODE128). |
width | Width of a single bar (default: 2) |
height | Height of the barcode (default: 100) |
text | Override text that is displayed. |
lineColor | Color of the bars and text (default: #000000) |
background | Background color of the barcode (default: #ffffff) |
onError | Handler for invalid barcode of selected format |
FAQs
React Native component to generate barcodes.
We found that @adrianso/react-native-barcode-builder 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
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.