es-escape-html
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "es-escape-html", | ||
"description": "es-escape-html rewrite for ESM", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "types": "./src/index.d.ts", |
@@ -15,7 +15,7 @@ const matchHtmlRegExp = /["'&<>]/; | ||
* | ||
* @param {string} string The string to escape for inserting into HTML | ||
* @param {string} str The string to escape for inserting into HTML | ||
* @return {string} | ||
* @public | ||
*/ | ||
export function escapeHTML(string) { | ||
export function escapeHTML(str) { | ||
const match = matchHtmlRegExp.exec(str); | ||
@@ -22,0 +22,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7403