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.8.0 to 4.9.0

2

create-reporter.js

@@ -122,3 +122,3 @@ let {

print(red(`Package size limit has exceeded by ${diff}`))
} else if (config.highlightLess && check.size < check.sizeLimit) {
} else if (check.highlightLess && check.size < check.sizeLimit) {
let diff = formatBytes(check.sizeLimit - check.size)

@@ -125,0 +125,0 @@ print(bgGreen(black(`Package size is ${diff} less than limit`)))

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

}
if (config.highlightLess) check.highlightLess = true
if (/\sB$|\dB$/.test(check.limit)) check.highlightLess = true
if (check.files) {

@@ -155,0 +157,0 @@ check.files = check.files.map(i => toAbsolute(i, config.cwd))

{
"name": "size-limit",
"version": "4.8.0",
"version": "4.9.0",
"description": "CLI tool for Size Limit",

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

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