escape-goat
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -20,3 +20,3 @@ 'use strict'; | ||
for (let i = 0; i < values.length; i++) { | ||
output = output + exports.htmlEscape(values[i]) + strings[i + 1]; | ||
output = output + exports.htmlEscape(String(values[i])) + strings[i + 1]; | ||
} | ||
@@ -30,3 +30,3 @@ | ||
for (let i = 0; i < values.length; i++) { | ||
output = output + exports.htmlUnescape(values[i]) + strings[i + 1]; | ||
output = output + exports.htmlUnescape(String(values[i])) + strings[i + 1]; | ||
} | ||
@@ -33,0 +33,0 @@ |
{ | ||
"name": "escape-goat", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Escape a string for use in HTML or the inverse", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
6274