
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@sumedha_softech/file-uploader
Advanced tools
This plugin allows you to upload, preview, and delete files. You can upload files by dragging and dropping them or by using the file selector.
This is a reusable, modern React + TypeScript file uploader component designed to be bundled as an npm package. It enables users to upload, preview, and delete files through an intuitive, accessible interface.
.jpg
, .jpeg
, .png
, .txt
, .pdf
up to 6MB)localStorage
.
├── Example Project/ # Usage example consuming this plugin
│ ├── src/
│ │ ├── App.tsx # Demonstrates plugin usage
│ └── ...
├── src/ # Source code for the file-uploader-plugin
│ ├── components/
│ │ ├── FilesSave.tsx
│ │ ├── PreviewFiles.tsx
│ │ └── RenderPreviewContent.tsx
│ └── index.tsx # Entry point of the plugin
├── rollup.config.mjs # Bundler config for package build
├── package.json # Package metadata and dependencies
├── tsconfig.json # TypeScript configuration
├── README.md # You’re reading this!
└── .gitignore
file-uploader-plugin
is designed to be installed via npm (or used locally).npm install
npm run build
This will output the compiled code into the dist/ folder, ready for publishing or installation.
To publish a new version of the plugin:
Update the version number in package.json
:
version: "2.7.0" // ← Update this before publishing
Build and publish:
npm run build
npm login
npm publish
Consumers can now install the latest version via:
npm install file-uploader-plugin
If you're testing locally in a sub-project like Example Project, install the plugin using a relative path instead:
npm install ../
To test this plugin inside your Example Project
without publishing:
Build the plugin:
npm run build
Navigate to the example project
cd 'Example Project'
Install the plugin locally:
npm install ../
Use the plugin as
import FileUpload as 'file-uploader-plugin';
© 2025 Sumedha Softech Pvt. Ltd. All rights reserved.
Author: Aman Sharma Orgination: Sumedha Softech Pvt. Ltd.
FAQs
This plugin allows you to upload, preview, and delete files. You can upload files by dragging and dropping them or by using the file selector.
The npm package @sumedha_softech/file-uploader receives a total of 8 weekly downloads. As such, @sumedha_softech/file-uploader popularity was classified as not popular.
We found that @sumedha_softech/file-uploader demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.