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.3 to 0.1.4

support/noConflictTemplate.js

5

lib/buildumb.js

@@ -59,7 +59,8 @@ var fs = require('fs')

if (config.exposeRequire) {
exported.push("window['require'] = require")
exported.push('window.require = require')
}
// Output
var code = formatTemplate(normjoin(__dirname, '../support/template.js'),
var template = (config.exposeRequire ? 'noConflictTemplate' : 'template')
var code = formatTemplate(normjoin(__dirname, '../support/' + template + '.js'),
exported.join('\n'))

@@ -66,0 +67,0 @@ , outputPath = normjoin(config.root, config.output)

13

package.json
{
"name": "buildumb"
, "description": "Ultra-dumb exporter of Node.js modules for use in the browser"
, "version": "0.1.3"
, "author": "Jonathan Buchanan <jonathan.buchanan@gmail.com> (https://github.com/insin)"
, "tags": ["build", "export", "browser", "modules"]
, "version": "0.1.4"
, "author": "Jonathan Buchanan <jonathan.buchanan@gmail.com>"
, "keywords": [
"build"
, "export"
, "browser"
, "modules"
, "require"
]
, "main": "./lib/buildumb"

@@ -16,2 +22,3 @@ , "repository": {

}
, "license": "MIT"
}

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