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

minifyify

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minifyify - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

13

lib/minifier.js

@@ -8,2 +8,3 @@ var Minifier

, fs = require('fs')
, path = require('path')
, tmp = require('tmp')

@@ -32,6 +33,16 @@ , concat = require('concat-stream')

}
};
}
, compressTarget;
this.opts = _.defaults(opts, defaults);
/* Turn a string compressPath into a function */
if(typeof this.opts.compressPath == 'string') {
compressTarget = this.opts.compressPath;
this.opts.compressPath = function (p) {
return path.relative(compressTarget, p);
}
}
/*

@@ -38,0 +49,0 @@ * Instance variables

2

package.json

@@ -21,3 +21,3 @@ {

],
"version": "3.0.3",
"version": "3.0.4",
"repository": {

@@ -24,0 +24,0 @@ "type": "git",

@@ -53,2 +53,4 @@ Minifyify

If a string is provided, it will be used instead of `my-app-root` in the function above. This is useful if you are working from the command line and cannot define a function.
Defaults to a no-op (absolute paths to all source files).

@@ -55,0 +57,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