Socket
Socket
Sign inDemoInstall

rollup-plugin-filesize

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-filesize - npm Package Compare versions

Comparing version 1.4.2 to 1.5.0

2

dist/index.js

@@ -15,3 +15,3 @@ 'use strict';

return boxen("" + (bundle.dest ? colors[primaryColor].bold("Destination: ") + colors[secondaryColor](bundle.dest) + "\n" : "") + colors[primaryColor].bold("Bundle size: ") + colors[secondaryColor](size) + (opt.showGzippedSize ? ", " + colors[primaryColor].bold("Gzipped size: ") + colors[secondaryColor](gzip$$1) : ""), { padding: 1 });
return boxen("" + (bundle.file ? colors[primaryColor].bold("Destination: ") + colors[secondaryColor](bundle.file) + "\n" : "") + colors[primaryColor].bold("Bundle size: ") + colors[secondaryColor](size) + (opt.showGzippedSize ? ", " + colors[primaryColor].bold("Gzipped size: ") + colors[secondaryColor](gzip$$1) : ""), { padding: 1 });
}

@@ -18,0 +18,0 @@

{
"name": "rollup-plugin-filesize",
"version": "1.4.2",
"version": "1.5.0",
"description": "A rollup plugin to show filesize in the cli",

@@ -43,3 +43,3 @@ "main": "dist/index.js",

"babel-register": "^6.7.2",
"rollup": "^0.43.0",
"rollup": "^0.48.0",
"rollup-plugin-babel": "^2.3.9"

@@ -46,0 +46,0 @@ },

@@ -69,1 +69,2 @@ # rollup-plugin-filesize

<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/8CBegPnJTnjtddvd2E18Su4F/ritz078/rollup-plugin-filesize'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/8CBegPnJTnjtddvd2E18Su4F/ritz078/rollup-plugin-filesize.svg' /></a>

@@ -12,5 +12,5 @@ import fileSize from "filesize";

return boxen(
`${bundle.dest
`${bundle.file
? colors[primaryColor].bold("Destination: ") +
colors[secondaryColor](bundle.dest) +
colors[secondaryColor](bundle.file) +
"\n"

@@ -17,0 +17,0 @@ : ""}${colors[primaryColor].bold("Bundle size: ")}${colors[

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