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

html-uglify

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-uglify - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

13

package.json
{
"name": "html-uglify",
"version": "1.1.1",
"version": "1.1.2",
"description": "Uglifies an HTML file and its associated CSS for compression. Great for HTML emails!",

@@ -20,10 +20,9 @@ "main": "lib/main.js",

"dependencies": {
"cheerio": "^0.18.0",
"hashids": "^1.0.1",
"postcss": "^4.1.5"
"cheerio": "^0.19.0",
"hashids": "^1.0.2",
"postcss": "^4.1.16"
},
"devDependencies": {
"chai": "^2.2.0",
"hoek": "^2.12.0",
"mocha": "^2.2.1"
"chai": "^3.2.0",
"mocha": "^2.2.5"
},

@@ -30,0 +29,0 @@ "repository": {

@@ -14,3 +14,3 @@ # html-uglify

var HTMLUglify = require('html-uglify');
var htmlUglify = new HTMLUglify({ salt: 'your-custom-salt', whitelist: ['#noform', '#withform', '.someclass' });
var htmlUglify = new HTMLUglify({ salt: 'your-custom-salt', whitelist: ['#noform', '#withform', '.someclass'] });
var uglified = htmlUglify.process(htmlString);

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