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 6.0.3 to 6.0.4

6

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

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

"lilconfig": "^2.0.3",
"nanospinner": "^0.3.0",
"picocolors": "^0.2.1"
"nanospinner": "^0.4.0",
"picocolors": "^1.0.0"
}
}
# Size Limit CLI Tool
Core tool for [Size Limit] to load config and plugins.
<img src="https://ai.github.io/size-limit/logo.svg" align="right"
alt="Size Limit logo by Anton Lovchikov" width="120" height="178">
See Size Limit docs for more details.
Size Limit is a performance budget tool for JavaScript. It checks every commit
on CI, calculates the real cost of your JS for end-users and throws an error
if the cost exceeds the limit.
[Size Limit]: https://github.com/ai/size-limit/
* **ES modules** and **tree-shaking** support.
* Add Size Limit to **Travis CI**, **Circle CI**, **GitHub Actions**
or another CI system to know if a pull request adds a massive dependency.
* **Modular** to fit different use cases: big JS applications
that use their own bundler or small npm libraries with many files.
* Can calculate **the time** it would take a browser
to download and **execute** your JS. Time is a much more accurate
and understandable metric compared to the size in bytes.
* Calculations include **all dependencies and polyfills**
used in your JS.
<a href="https://evilmartians.com/?utm_source=size-limit">
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg"
alt="Sponsored by Evil Martians" width="236" height="54">
</a>
<img src="./img/example.png" alt="Size Limit CLI" width="738">
With **[GitHub action]** Size Limit will post bundle size changes as a comment
in pull request discussion.
<img src="https://raw.githubusercontent.com/andresz1/size-limit-action/master/assets/pr.png"
alt="Size Limit comment in pull request about bundle size changes"
width="686" height="289">
See **[full docs](https://github.com/ai/size-limit/)** on GitHub.
[GitHub action]: https://github.com/andresz1/size-limit-action
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