Comparing version 0.2.1 to 0.2.2
@@ -5,2 +5,4 @@ 'use strict'; | ||
var chalk = require('chalk'); | ||
var figures = require('figures'); | ||
var arrow = ' ' + figures.arrowRight + ' '; | ||
@@ -16,6 +18,6 @@ function format(size) { | ||
var ret = format(max.length) + ' → ' + format(min.length); | ||
var ret = format(max.length) + arrow + format(min.length); | ||
if (useGzip === true) { | ||
ret += ' → ' + format(gzipSize.sync(min)) + chalk.gray(' (gzip)'); | ||
ret += arrow + format(gzipSize.sync(min)) + chalk.gray(' (gzip)'); | ||
} | ||
@@ -22,0 +24,0 @@ |
{ | ||
"name": "maxmin", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)", | ||
@@ -38,2 +38,3 @@ "license": "MIT", | ||
"chalk": "^0.5.0", | ||
"figures": "^1.0.1", | ||
"gzip-size": "^0.2.0", | ||
@@ -40,0 +41,0 @@ "pretty-bytes": "^0.1.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2517
19
4
+ Addedfigures@^1.0.1
+ Addedfigures@1.7.0(transitive)
+ Addedobject-assign@4.1.1(transitive)