
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@chainplatform/file
Advanced tools
The library allows you to select file with react-native without ejecting support both react-native and react-native-web.
The library allows you to select file with react-native without ejecting support both react-native and react-native-web.
Ensure you've completed the setps in prequisites.
Install package via npm or yarn:
npm install --save @chainplatform/file OR yarn add @chainplatform/file
npm install --save @chainplatform/react-native-web-webview OR yarn add @chainplatform/react-native-web-webview
Then setup by guide at: https://github.com/ChainPlatform/react-native-web-webview#readme
import FileSelect from '@chainplatform/file';
<FileSelect
style_button={`background: ${colors.green2};
padding: ${styles.fs11}px ${styles.fs15}px;
font-size: ${styles.fs13}px;
font-weight: ${styles.fw600};
border-radius: ${styles.s0}px;`
}
file_text={"Select file"}
file_types={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,text/comma-separated-values, text/csv, application/csv"}
getFile={(datas) => {
console.log("File ", datas);
}}
/>
style_button (String) - Button style ({ background: "green"; padding: 12px; font-size: 13px; font-weight: 600; border-radius: 5px; })file_text (String) - Button text.file_types (String) - File type allowed ("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,text/comma-separated-values, text/csv, application/csv"...)getFile (?Function) - Called upon calback of the file selectedPull requests are highly appreciated! For major changes, please open an issue first to discuss what you would like to change.
FAQs
The library allows you to select file with react-native without ejecting support both react-native and react-native-web.
We found that @chainplatform/file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.