Socket
Socket
Sign inDemoInstall

size-limit

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

size-limit - npm Package Compare versions

Comparing version 4.4.0 to 4.4.1

2

package.json
{
"name": "size-limit",
"version": "4.4.0",
"version": "4.4.1",
"description": "CLI tool for Size Limit",

@@ -5,0 +5,0 @@ "keywords": [

@@ -16,2 +16,3 @@ let readPkgUp = require('read-pkg-up')

let next, running
// istanbul ignore next
return () => {

@@ -34,8 +35,2 @@ clearTimeout(next)

async function mainCalc (plugins, configObj, parsedArgs) {
await calc(plugins, configObj, ora)
debug.results(process, parsedArgs, configObj)
reporter.results(plugins, configObj)
}
try {

@@ -66,4 +61,10 @@ if (hasArg('--version')) {

await mainCalc(plugins, config, args)
let calcAndShow = async () => {
await calc(plugins, config, ora)
debug.results(process, args, config)
reporter.results(plugins, config)
}
await calcAndShow()
if (hasArg('--watch')) {

@@ -76,3 +77,3 @@ let watcher = chokidar.watch([

})
watcher.on('change', throttle(() => mainCalc(plugins, config, args)))
watcher.on('change', throttle(calcAndShow))
}

@@ -79,0 +80,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