size-limit
Advanced tools
Comparing version 4.5.6 to 4.5.7
{ | ||
"name": "size-limit", | ||
"version": "4.5.6", | ||
"version": "4.5.7", | ||
"description": "CLI tool for Size Limit", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -30,3 +30,4 @@ let readPkgUp = require('read-pkg-up') | ||
} | ||
let reporter = createReporter(process, hasArg('--json')) | ||
let isJsonOutput = hasArg('--json') | ||
let reporter = createReporter(process, isJsonOutput) | ||
let help = createHelp(process) | ||
@@ -61,3 +62,4 @@ let config, args | ||
let calcAndShow = async () => { | ||
await calc(plugins, config, ora) | ||
let outputFunc = isJsonOutput ? null : ora | ||
await calc(plugins, config, outputFunc) | ||
debug.results(process, args, config) | ||
@@ -64,0 +66,0 @@ reporter.results(plugins, config) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24752
695