Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

assetone

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assetone - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

8

lib/index.js

@@ -12,3 +12,3 @@ var fs = require('fs-base');

optimizeJS = (function() {
var minify = require("uglify-js").minify;
var minify = require('uglify-js').minify;
return function(content) {

@@ -21,9 +21,9 @@ return minify(content, {

optimizeCSS = (function() {
var process = require("clean-css").process;
var CleanCSS = require('clean-css');
return function(content) {
return process(content, {keepSpecialComments:0});
return new CleanCSS({keepSpecialComments:0}).minify(content);
};
})();
optimizeHTML = (function() {
var minify = require("html-minifier").minify;
var minify = require('html-minifier').minify;
return function(content) {

@@ -30,0 +30,0 @@ return minify(content, {

@@ -5,3 +5,3 @@ {

"description":"Packages up CommonJS modules for the browser",
"version":"0.2.1",
"version":"0.2.2",
"author":{

@@ -33,5 +33,5 @@ "name":"Oleg Podsechin",

"dependencies":{
"uglify-js":">= 2.1.11",
"clean-css":">= 0.8.3",
"html-minifier":">= 0.5.4"
"uglify-js":">=2.1.11",
"clean-css":">=2.0.0",
"html-minifier":">=0.5.4"
},

@@ -38,0 +38,0 @@ "preferGlobal":true,

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