html-rspack-plugin
Advanced tools
+5
-2
@@ -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) |
+1
-1
| { | ||
| "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", |
109910
0.09%2566
0.12%