
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@uploadcare/react-widget
Advanced tools
React component for uploadcare widget
This library comes untranspiled
Want to support IE11 → make sure you transpile node_modules.
npm i @uploadcare/react-widget
import { Widget } from "@uploadcare/react-widget";
<Widget publicKey="demopublickey" />;
All the props except for the listed below are passed down to the widget. See widget documentation for the details.
value
: string
Set a file/group UUID or a CDN link as a value.
<Widget value='9dd2f080-cc52-442d-aa06-1d9eec7f40d1' />
<Widget value='9dd2f080-cc52-442d-aa06-1d9eec7f40d1~12' />
<Widget value={null} />
onFileSelect
: (fileInfo: FileInfo) => void
onChange
: (fileInfo: FileInfo) => void
FileInfo
object is described here
customTabs
: {[string]: CustomTabConstructor}
Set a custom tabs for a widget.
Note that we're added fifth argument to the custom tab constructor - uploadcare
object. Widget is loaded lazily so you shouldn't import uploadcare-widget
directly.
function myTab(container, button, dialogApi, settings, name, uploadcare) {
...
}
<Widget customTabs={{ 'custom_tab: myTab }} />
validator
FAQs
React File Uploader. React component with uploading from multiple sources
The npm package @uploadcare/react-widget receives a total of 5,337 weekly downloads. As such, @uploadcare/react-widget popularity was classified as popular.
We found that @uploadcare/react-widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.