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 5.0.1 to 5.0.2

13

create-reporter.js
let {
bgGreen,
yellow,
bgRed,
black,
green,
bold,
gray,
green,
red,
yellow
red
} = require('colorette')

@@ -108,3 +108,3 @@ let { join } = require('path')

if (check.missed) {
print(red(`File not found: ${check.path}`))
print(red(`Size Limit can’t find files at ${check.path}`))
continue

@@ -189,7 +189,2 @@ }

if (config.missed) {
let fix = getFixText('Specify correct file path', config)
print(yellow(fix))
}
if (plugins.has('webpack') && config.saveBundle) {

@@ -196,0 +191,0 @@ let statsFilepath = join(config.saveBundle, 'stats.json')

@@ -21,2 +21,3 @@ function toArray(obj) {

.concat(toArray(pkg.packageJson.devDependencies))
.concat(toArray(pkg.packageJson.optionalDependencies))
.filter(i => i.startsWith('@size-limit/'))

@@ -23,0 +24,0 @@ .reduce(

{
"name": "size-limit",
"version": "5.0.1",
"version": "5.0.2",
"description": "CLI tool for Size Limit",

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

"lilconfig": "^2.0.3",
"mico-spinner": "^1.1.1"
"mico-spinner": "^1.2.1"
}
}

@@ -83,3 +83,3 @@ let { resolve } = require('path')

if (hasArg('--watch')) {
let watcher = chokidar.watch(['**/*.js', 'package.json'], {
let watcher = chokidar.watch(['**/*'], {
ignored: '**/node_modules/**'

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