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 7.0.4 to 7.0.5

process-import.js

3

create-help.js

@@ -13,2 +13,5 @@ let { bold: b, yellow: y, red } = require('picocolors')

rm = 'yarn remove '
} else if (existsSync(join(pkg.path, '..', 'pnpm-lock.yaml'))) {
add = 'pnpm add --save-dev '
rm = 'pnpm remove '
}

@@ -15,0 +18,0 @@ return { add, rm }

4

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

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

"mkdirp": "^1.0.4",
"nanospinner": "^0.5.0",
"nanospinner": "^0.6.0",
"picocolors": "^1.0.0"
}
}

@@ -31,2 +31,5 @@ let { createSpinner } = require('nanospinner')

if (!parentPkg || !plugins.isEmpty) return plugins
if (parentPkg.packageJson && parentPkg.packageJson.sizeLimitRoot) {
return plugins
}

@@ -33,0 +36,0 @@ let cwd = resolve(parentPkg.path, '..', '..')

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