Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bundlesize

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bundlesize - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

2

package.json
{
"name": "bundlesize",
"version": "0.5.8",
"version": "0.5.9",
"description": "Keep your library size in check",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -83,2 +83,3 @@ <p align="center">

- [css-constructor](https://github.com/siddharthkp/css-constructor)
- [Popper.js](https://github.com/FezVrasta/popper.js)

@@ -85,0 +86,0 @@ &nbsp;

@@ -48,13 +48,13 @@ const bytes = require('bytes')

}
})
if (fail) build.fail(globalMessage || 'bundle size > threshold')
else {
if (event_type === 'push' && branch === 'master') {
const values = []
files.map(file => values.push({ path: file.path, size: file.size }))
api.set(values)
}
build.pass(globalMessage || 'Good job! bundle size < threshold')
if (fail) build.fail(globalMessage || 'bundle size > threshold')
else {
if (event_type === 'push' && branch === 'master') {
const values = []
files.map(file => values.push({ path: file.path, size: file.size }))
api.set(values)
}
})
build.pass(globalMessage || 'Good job! bundle size < threshold')
}
}

@@ -61,0 +61,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc