New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

buildumb

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buildumb - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

15

lib/buildumb.js

@@ -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)

4

package.json
{
"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

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