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

build-modules

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-modules - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

9

buildModules.js

@@ -45,3 +45,4 @@ var fs = require('fs')

if(options.minify !== false) {
plugins.push(new webpack.optimize.UglifyJsPlugin()) // minify)
plugins.push(new webpack.optimize.UglifyJsPlugin()) // minify
} else {
var pathinfo = true

@@ -68,8 +69,8 @@ }

libraryTarget: 'umd',
library: options.name
library: options.name,
pathinfo: pathinfo
},
plugins: plugins,
devtool: "source-map",
watch: options.watch,
pathinfo: pathinfo
watch: options.watch
}

@@ -76,0 +77,0 @@

{
"name": "build-modules",
"version": "2.0.4",
"version": "2.0.5",
"main": "buildModules.js",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -69,2 +69,3 @@ `build-modules`

* 2.0.5 - Fixing pathinfo
* 2.0.4 - (minor) slight improvement in how context is done under the hood, and an extra test

@@ -71,0 +72,0 @@ * 2.0.3 - adding a 'minify' parameter that allows you to turn off minifying (for debugging purposes)

@@ -75,3 +75,3 @@ var fs = require('fs')

var fileName = name+'.js'
var filePath = 'generatedTestOutput/'+name+'.umd.js'
var filePath = path.join(__dirname,'generatedTestOutput',name+'.umd.js')

@@ -144,3 +144,3 @@ fs.writeFileSync(__dirname+'/'+fileName, "exports.x = 2")

requirejs([fileName], function(amd) {
requirejs([path.join(__dirname,fileName)], function(amd) {
t.ok(amd.v === value, amd, value)

@@ -147,0 +147,0 @@ })

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