Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

ender-minify

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ender-minify - npm Package Compare versions

Comparing version
0.0.0
to
0.0.1
+8
-5
lib/closure.js

@@ -36,6 +36,6 @@ /*!

]
, LEVELS = {
advanced : 'ADVANCED_OPTIMIZATIONS'
, levels = {
whitespace : 'WHITESPACE_ONLY'
, simple : 'SIMPLE_OPTIMIZATIONS'
, whitespace : 'WHITESPACE_ONLY'
, advanced : 'ADVANCED_OPTIMIZATIONS'
}

@@ -50,3 +50,3 @@ , reMultiComments = /\/\*!([\s\S]*?)\*\//g

, comments = []
, level = LEVELS[LEVELS.hasOwnProperty(options.level) ? options.level : 'simple']
, level = levels[levels.hasOwnProperty(options.level) ? options.level : 'simple']
, externs = options.externs

@@ -93,2 +93,5 @@ ? options.externs.map(function (p) { return '--externs=' + p }).join(' ')

module.exports.minify = minify
module.exports = {
minify : minify
, levels : Object.keys(levels)
}

@@ -39,4 +39,5 @@ /*!

module.exports = {
minify : minify
, minifiers : Object.keys(minifiers)
minify : minify
, minifiers : Object.keys(minifiers)
, closureLevels : minifiers.closure.levels
}
{
"name": "ender-minify",
"version": "0.0.0",
"version": "0.0.1",
"dependencies": {

@@ -5,0 +5,0 @@ "uglify-js": {

{
"name": "ender-minify"
, "description": "Interface to UglifyJS Closure Compiler and YUICompressor"
, "version": "0.0.0"
, "version": "0.0.1"
, "authors": [

@@ -6,0 +6,0 @@ "Rod Vagg @rvagg <rod@vagg.org> (https://github.com/rvagg)"

@@ -49,2 +49,6 @@ /*!

, 'test closure levels': function () {
assert.equals(main.closureLevels, [ 'whitespace', 'simple', 'advanced' ])
}
, 'test uglify': function (done) {

@@ -51,0 +55,0 @@ runTest('uglify', done)