
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@open-editor/vite
Advanced tools
A vite plugin for fast find source code.
Valid only during development, requires Node.js version 14+.
npm -D i @open-editor/vite
// vite.config.ts
import OpenEditor from '@open-editor/vite';
export default defineConfig({
plugins: [
OpenEditor({
/* options */
}),
// other plugins
],
});
interface Options {
/**
* source rootDir path
*
* @default process.cwd()
*/
rootDir?: string;
/**
* render the toggle into the browser
*
* @default true
*/
displayToggle?: boolean;
/**
* set UI color mode
*
* @default 'system'
*/
colorMode?: 'system' | 'light' | 'dark';
/**
* Disable hover effect from CSS when inspector is enabled
*
* @default true
*/
disableHoverCSS?: boolean;
/**
* The inspector remains rendered when the browser is idle
*
* @default true
*/
retainFrame?: boolean;
/**
* exit the check after opening the editor or component tree
*
* @default true
*/
once?: boolean;
/**
* custom openEditor handler
*
* @default 'launch-editor'
*/
onOpenEditor?(file: string): void;
}
| Source code | Online trial |
|---|---|
vite/react | StackBlitz |
vite/vue | StackBlitz |
vite/nuxt | StackBlitz |
FAQs
🚀 A vite plugin for fast find source code.
We found that @open-editor/vite 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.