Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
bundle-compare-analyzer
Advanced tools
:sparkling_heart::rocket::rocket::rocket::rocket: ............ :kissing_heart:
bundle-compare-analyzer是一个简单的分析各个版本代码打包文件大小的可视化工具。
bundle-compare-analyzer可以在每次将代码文件打包时,生成一个版本。便于对比,分析各个版本打包文件的大小。
npm install -g bundle-compare-analyzer
支持node4.0以上版本
bundle-compare-analyzer有三个命令:
add <bundlePath/bundleFile>
: 打包完成后,根据指定的打包目录或确定的一个文件生成一个版本.compare
: 对比分析各个版本.remove
: 删除版本.azer add ./build // 打包路径
azer remove
azer compare
[name].[chunkhash].js
为输出的文件名称Anyone and everyone is welcome to contribute to this project. The best way to start is by checking our open issues, submit a new issues or feature request, participate in discussions, upvote or downvote the issues you like or dislike.
FAQs
Analyze the size of multiple git versions of the bundle.
We found that bundle-compare-analyzer 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
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.