🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

html-rspack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-rspack-plugin - npm Package Compare versions

Comparing version
6.1.2
to
6.1.3
+5
-2
lib/loader.js

@@ -146,4 +146,7 @@ /* This loader renders the template with lodash.template if no other loader was found */

function lodashEscape(string) {
string = string.toString();
function lodashEscape(input) {
if (input === null || input === undefined) {
return '';
}
const string = typeof input === 'string' ? input : String(input);
return string && reHasUnescapedHtml.test(string)

@@ -150,0 +153,0 @@ ? string.replace(reUnescapedHtml, escapeHtmlChar)

{
"name": "html-rspack-plugin",
"version": "6.1.2",
"version": "6.1.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Simplifies creation of HTML files to serve your Rspack bundles",