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.1 to 0.1.2

10

lib/buildumb.js

@@ -12,2 +12,6 @@ var fs = require('fs')

function kb(bytes) {
return (bytes / 1024).toFixed(2) + 'KB'
}
/**

@@ -96,5 +100,7 @@ * Reads a template string from the given path and formats it with any

console.log(' original size: %s (%s gzipped)',
result.statistics.originalSize, result.statistics.originalGzipSize)
kb(result.statistics.originalSize),
kb(result.statistics.originalGzipSize))
console.log(' compressed size: %s (%s gzipped)',
result.statistics.compressedSize, result.statistics.compressedGzipSize)
kb(result.statistics.compressedSize),
kb(result.statistics.compressedGzipSize))
console.log('compressed: %s', compressedOutputPath)

@@ -101,0 +107,0 @@ fs.writeFileSync(compressedOutputPath, config.header + result.compiledCode)

2

package.json
{
"name": "buildumb"
, "description": "Ultra-dumb exporter of Node.js modules for use in the browser"
, "version": "0.1.1"
, "version": "0.1.2"
, "author": "Jonathan Buchanan <jonathan.buchanan@gmail.com> (https://github.com/insin)"

@@ -6,0 +6,0 @@ , "tags": ["build", "export", "browser", "modules"]

Sorry, the diff of this file is not supported yet

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