Socket
Socket
Sign inDemoInstall

@muil/templates-renderer

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@muil/templates-renderer - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

6

package.json
{
"name": "@muil/templates-renderer",
"version": "1.4.0",
"version": "1.5.0",
"license": "MIT",

@@ -17,2 +17,3 @@ "main": "src/index.js",

"@nestjs/common": "^7.5.3",
"he": "^1.2.0",
"html-minifier": "^4.0.0",

@@ -33,2 +34,3 @@ "juice": "^7.0.0",

"devDependencies": {
"@types/he": "^1.1.2",
"@types/html-minifier": "^4.0.0",

@@ -38,3 +40,3 @@ "@types/puppeteer-core": "^5.4.0",

},
"gitHead": "984b2bb64d92bfa78594b5608075ce9d82f7ec68"
"gitHead": "ccfc0067205b3a0e4a14125cb2f22c77765751ba"
}

@@ -30,2 +30,3 @@ "use strict";

const fs = __importStar(require("fs"));
const he_1 = __importDefault(require("he"));
const html_minifier_1 = require("html-minifier");

@@ -96,2 +97,5 @@ const juice_1 = __importDefault(require("juice"));

}
html = he_1.default.encode(html.toString(), {
allowUnsafeSymbols: true,
});
if (minifyHtml) {

@@ -98,0 +102,0 @@ html = (0, html_minifier_1.minify)(html, {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc