Socket
Socket
Sign inDemoInstall

size-limit

Package Overview
Dependencies
Maintainers
1
Versions
175
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 10.0.3 to 11.0.0

14

create-reporter.js

@@ -110,12 +110,12 @@ import bytes from 'bytes-iec'

sizeNote = 'with given webpack configuration'
} else if (bundled && check.brotli === true) {
sizeNote = 'with all dependencies, minified and brotlied'
} else if (bundled && check.gzip === false) {
} else if (bundled && check.gzip === true) {
sizeNote = 'with all dependencies, minified and gzipped'
} else if (bundled && check.brotli === false) {
sizeNote = 'with all dependencies and minified'
} else if (bundled) {
sizeNote = 'with all dependencies, minified and gzipped'
} else if (plugins.has('file') && check.brotli === true) {
sizeNote = 'with all dependencies, minified and brotlied'
} else if (plugins.has('file') && check.gzip === true) {
sizeNote = 'gzipped'
} else if (plugins.has('file') && check.brotli !== false) {
sizeNote = 'brotlied'
} else if (plugins.has('file') && check.gzip !== false) {
sizeNote = 'gzipped'
}

@@ -122,0 +122,0 @@ let sizeString = formatBytes(check.size)

{
"name": "size-limit",
"version": "10.0.3",
"version": "11.0.0",
"description": "CLI tool for Size Limit",

@@ -5,0 +5,0 @@ "type": "module",

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