escape-html-template-tag
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -19,5 +19,5 @@ const ENTITIES = { | ||
if (array.length <= 0) { | ||
return new HtmlSafeString([ '' ], []) | ||
return new HtmlSafeString([''], []) | ||
} | ||
return new HtmlSafeString([ '', ...Array(array.length - 1).fill(separator), '' ], array) | ||
return new HtmlSafeString(['', ...Array(array.length - 1).fill(separator), ''], array) | ||
} | ||
@@ -24,0 +24,0 @@ |
{ | ||
"name": "escape-html-template-tag", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Tag literal strings with this function to html escape interpolated values", | ||
@@ -19,2 +19,6 @@ "main": "index.js", | ||
], | ||
"files": [ | ||
"index.js", | ||
"index.d.ts" | ||
], | ||
"author": "Jan Potoms", | ||
@@ -27,4 +31,4 @@ "license": "MIT", | ||
"devDependencies": { | ||
"standard": "^8.6.0" | ||
"standard": "13.1.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
4824
4
60