
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
buildsize-cli
Advanced tools
define file sizes, error message and the last time it was changed
buildsize-cli --config folder/path
module.exports = {
lastUpdated: 'Fri May 29 2020 12:00:00 GMT-0500 (Central Daylight Time)', // optional timestamp
failMessage: 'Please fix, split, or set to warn.', // optional message to display on failed check
failOnMissingBundles: true, // optional boolean to decalre if job should fail if any files are missing
files: [
{
path: '__mocks__/5kb.mock.js', // build file path to check against
maxSize: '6kB', // optional max file size validation
minSize: '1kB', // optional min file size validation
compression: 'gzip', // optional compression type, gzip | brotli
warnOnly: true, // optional choice to not fail the check
lastSize: true, // optionally display percentage difference of current size and last set max size
externals: {
// optional sizes are added and removed from maxSize for readabliity
'package-one': '1kB'
}
}
]
};


this all started on the basis of the amazing bundlesize project but is centered around unique customizations
FAQs
file size check for cli
We found that buildsize-cli 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.