
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
bundle-checker
Advanced tools
CLI tool to generate stats on the size of files between two git branches
Compare the size of build files in two git branches.

Summary:
If cloning a private repository, please make sure the GITHUB_TOKEN env variable is available.
$ npx bundle-checker compare \
--gitRepository='https://github.com/ramda/ramda.git' \
--installScript='yarn' \
--buildScript='yarn build:es' \
--currentBranch='CrossEye-patch-1' \
--targetBranch='master' \
--buildFilesPatterns='build/**/*.js,build/**/*.css'
All parameters are optionals, defaults:
| Parameter | Default |
|---|---|
| buildScript | NODE_ENV=production npm run build |
| currentBranch | current branch detected |
| gitRepository | repo where command is run |
| installScript | npm ci |
| prComment | false |
| targetBranch | master |
| buildFilesPatterns | build/**/*.js,build/**/*.css |
Add --prComment to post the results as pr Comment after a CI job.
$ npx bundle-checker --prComment
The command needs 3 env variable set:
| var | Desc |
|---|---|
| PULL_REQUEST_NUMBER | Number of pull request |
| PULL_REQUEST_SLUG | e.g. facebook/react |
| GITHUB_TOKEN | secret to be setup |
If you're working with Travis, no need to setup env variables
PULL_REQUEST_NUMBERorPULL_REQUEST_SLUG. Those are read fromTRAVIS_PULL_REQUESTandTRAVIS_PULL_REQUEST_SLUGautomatically.
$ yarn pack
$ ./bin/run compare
cli scaffoling built with https://github.com/oclif/oclif
FAQs
CLI tool to generate stats on the size of files between two git branches
The npm package bundle-checker receives a total of 65 weekly downloads. As such, bundle-checker popularity was classified as not popular.
We found that bundle-checker 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.