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.2.0 to 1.2.1

2

dist/index.js

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

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

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

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

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -12,3 +12,3 @@ import fileSize from 'filesize';

return boxen(
colors[primaryColor].bold('Destination: ') + colors[secondaryColor](bundle.dest) + '\n' +
(bundle.dest ? (colors[primaryColor].bold('Destination: ') + colors[secondaryColor](bundle.dest) + '\n') : '') +
colors[primaryColor].bold('Bundle size: ') + colors[secondaryColor](size) + ', ' +

@@ -15,0 +15,0 @@ colors[primaryColor].bold('Gzipped size: ') + colors[secondaryColor](gzip), { padding: 1 }

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