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.5.7 to 4.6.0

1

create-help.js

@@ -33,2 +33,3 @@ let { bold: b, yellow: y, red } = require('colorette')

` ${y('--json')} Show results in JSON format`,
` ${y('--hide-passed')} Print only failed tests`,
` ${y('--help')} Display this help`,

@@ -35,0 +36,0 @@ ` ${y('--watch')} Runs in watch mode`,

@@ -70,2 +70,4 @@ let { green, red, yellow, bgRed, black, bold, gray } = require('colorette')

for (let check of config.checks) {
if (check.passed && config.hidePassed) continue
let unlimited = typeof check.passed === 'undefined'

@@ -72,0 +74,0 @@ let rows = []

@@ -21,3 +21,4 @@ let { isAbsolute, dirname, join, relative } = require('path')

disableModuleConcatenation: 'webpack',
brotli: 'webpack'
brotli: 'webpack',
hidePassed: false
}

@@ -91,2 +92,5 @@

}
if (args.hidePassed) {
config.hidePassed = args.hidePassed
}

@@ -93,0 +97,0 @@ if (args.files.length > 0) {

4

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

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

"globby": "^11.0.1",
"ora": "^5.0.0",
"ora": "^5.1.0",
"read-pkg-up": "^7.0.1"
}
}

@@ -29,2 +29,4 @@ let SizeLimitError = require('./size-limit-error')

args.cleanDir = true
} else if (arg === '--hide-passed') {
args.hidePassed = true
} else if (arg === '--why') {

@@ -31,0 +33,0 @@ if (!plugins.has('webpack')) {

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