Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 2.1.1 to 2.1.2

2

create-reporter.js

@@ -150,3 +150,3 @@ let chalk = require('chalk')

} else {
fix += ` at `
fix += ' at '
}

@@ -153,0 +153,0 @@ fix += chalk.bold(config.configPath)

{
"name": "size-limit",
"version": "2.1.1",
"version": "2.1.2",
"description": "CLI tool for Size Limit",

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

const MESSAGES = {
noPackage: () => (
`Size Limit did’t find *package.json*. ` +
`Create npm package and run Size Limit there.`
'Size Limit did’t find *package.json*. ' +
'Create npm package and run Size Limit there.'
),

@@ -11,23 +11,23 @@ unknownArg: arg => (

`Argument *--${ arg }* works only with *@size-limit/webpack* plugin` +
(arg === 'why' ? `. You can add Bundle Analyzer to you own bundler.` : '')
(arg === 'why' ? '. You can add Bundle Analyzer to you own bundler.' : '')
),
noConfig: () => (
`Create Size Limit config in *package.json*`
'Create Size Limit config in *package.json*'
),
noArrayConfig: () => (
`Size Limit config must contain *an array*`
'Size Limit config must contain *an array*'
),
emptyConfig: () => (
`Size Limit config must *not be empty*`
'Size Limit config must *not be empty*'
),
noObjectCheck: () => (
`Size Limit config array should contain *only objects*`
'Size Limit config array should contain *only objects*'
),
pathNotString: () => (
`The *path* in Size Limit config ` +
`must be *a string* or *an array of strings*`
'The *path* in Size Limit config ' +
'must be *a string* or *an array of strings*'
),
entryNotString: () => (
`The *entry* in Size Limit config ` +
`must be *a string* or *an array of strings*`
'The *entry* in Size Limit config ' +
'must be *a string* or *an array of strings*'
),

@@ -34,0 +34,0 @@ pluginlessConfig: (opt, mod) => (

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