Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

escape-html-template-tag

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escape-html-template-tag - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

index.d.ts

4

index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc