Comparing version 0.1.2 to 0.1.3
@@ -6,3 +6,4 @@ var fs = require('fs') | ||
var request = require('request') | ||
, object = require('isomorph/lib/object') | ||
, object = require('isomorph/object') | ||
, format = require('isomorph/format') | ||
@@ -13,6 +14,2 @@ function normjoin(path1, path2) { | ||
function kb(bytes) { | ||
return (bytes / 1024).toFixed(2) + 'KB' | ||
} | ||
/** | ||
@@ -101,7 +98,7 @@ * Reads a template string from the given path and formats it with any | ||
console.log(' original size: %s (%s gzipped)', | ||
kb(result.statistics.originalSize), | ||
kb(result.statistics.originalGzipSize)) | ||
format.fileSize(result.statistics.originalSize), | ||
format.fileSize(result.statistics.originalGzipSize)) | ||
console.log(' compressed size: %s (%s gzipped)', | ||
kb(result.statistics.compressedSize), | ||
kb(result.statistics.compressedGzipSize)) | ||
format.fileSize(result.statistics.compressedSize), | ||
format.fileSize(result.statistics.compressedGzipSize)) | ||
console.log('compressed: %s', compressedOutputPath) | ||
@@ -108,0 +105,0 @@ fs.writeFileSync(compressedOutputPath, config.header + result.compiledCode) |
{ | ||
"name": "buildumb" | ||
, "description": "Ultra-dumb exporter of Node.js modules for use in the browser" | ||
, "version": "0.1.2" | ||
, "version": "0.1.3" | ||
, "author": "Jonathan Buchanan <jonathan.buchanan@gmail.com> (https://github.com/insin)" | ||
@@ -13,5 +13,5 @@ , "tags": ["build", "export", "browser", "modules"] | ||
, "dependencies": { | ||
"isomorph": "0.1.x" | ||
"isomorph": "0.2.x" | ||
, "request": "2.9.x" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
7788
126
1
+ Addedisomorph@0.2.1(transitive)
- Removedisomorph@0.1.10(transitive)
Updatedisomorph@0.2.x