ender-minify
Advanced tools
Sorry, the diff of this file is too big to display
+0
-1
@@ -18,3 +18,2 @@ { | ||
| , "white": false | ||
| , "indent": 2 | ||
| , "asi": true | ||
@@ -21,0 +20,0 @@ , "laxbreak": true |
+7
-5
@@ -27,3 +27,4 @@ /*! | ||
| , path = require('path') | ||
| , closureJar = 'closure_r2081.jar' | ||
| , closureJar = 'closure_r2180.jar' | ||
| , jarPath = path.resolve(__dirname, '../support/' + closureJar) | ||
| , javaCmd = 'java' | ||
@@ -56,3 +57,3 @@ , javaArgs = [ | ||
| return a | ||
| .replace('{jarPath}', path.resolve(__dirname, '../support/' + closureJar)) | ||
| .replace('{jarPath}', jarPath) | ||
| .replace('{externs}', externs) | ||
@@ -83,3 +84,3 @@ .replace('{level}', level) | ||
| } | ||
| stdout = stdout.replace(reTokens, function(s) { | ||
| stdout = stdout.replace(reTokens, function() { | ||
| return '\n' + comments.shift().replace(/(^[\n\s]+)|([\n\s]+$)/g, '') | ||
@@ -95,4 +96,5 @@ }) | ||
| module.exports = { | ||
| minify : minify | ||
| , levels : Object.keys(levels) | ||
| minify : minify | ||
| , levels : Object.keys(levels) | ||
| , jarPath : jarPath | ||
| } |
+1
-0
@@ -42,2 +42,3 @@ /*! | ||
| , closureLevels : minifiers.closure.levels | ||
| , closureJar : minifiers.closure.jarPath | ||
| } |
+1
-1
| { | ||
| "name": "ender-minify" | ||
| , "description": "Interface to UglifyJS Closure Compiler and YUICompressor" | ||
| , "version": "0.0.2" | ||
| , "version": "0.0.3" | ||
| , "authors": [ | ||
@@ -6,0 +6,0 @@ "Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)" |
| { | ||
| "name": "ender-minify", | ||
| "version": "0.0.2", | ||
| "dependencies": { | ||
| "uglify-js": { | ||
| "version": "1.3.2" | ||
| } | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
5876536
7.53%0
-100%13
-7.14%388
-1.52%