
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
vite-plugin-zip-pack
Advanced tools
Vite plugin for packing distribution/build folder into a zip file.
Vite plugin for packing distribution/build folder into a zip file.
npm i -D vite-plugin-zip-pack
// vite.config.js
import { defineConfig } from "vite";
import zipPack from "vite-plugin-zip-pack";
export default defineConfig({
plugins: [zipPack()],
});
export interface Options {
/**
* Input Directory
* @default `dist`
*/
inDir?: string;
/**
* Output Directory
* @default `dist-zip`
*/
outDir?: string;
/**
* Zip Archive Name
* @default `dist.zip`
*/
outFileName?: string;
/**
* Path prefix for the files included in the zip file
* @default ``
*/
pathPrefix?: string;
/**
* Callback, which is executed after the zip file was created
* err is only defined if the save function fails
*/
done?: (err: Error | undefined) => void
/**
* Filter function equivalent to Array.prototype.filter
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter
* is executed for every files and directories
* files and directories are only included when return ist true.
* All files are included when function is not defined
*/
filter?: (fileName: string, filePath: string, isDirectory: boolean) => Boolean
/**
* Enable logging
* @default true
*/
enableLogging?: boolean;
}
MIT, see the license file
FAQs
Vite plugin for packing distribution/build folder into a zip file.
We found that vite-plugin-zip-pack 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.