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

ejs-html

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ejs-html - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

3

HISTORY.md

@@ -0,1 +1,4 @@

# 3.1.1
* Fixed: white-space-only content for custom element is considered empty and the default placeholder is used
# 3.1.0

@@ -2,0 +5,0 @@ * Added: `compile.both(source[, option])`

2

lib/custom.js

@@ -103,3 +103,3 @@ 'use strict'

end: element.end,
content: `"${escapedName}" in __contents ? __contents["${escapedName}"] : (function () {\n${content}})()`
content: `__contents["${escapedName}"] && /\\S/.test(__contents["${escapedName}"]) ? __contents["${escapedName}"] : (function () {\n${content}})()`
}

@@ -106,0 +106,0 @@ }

{
"name": "ejs-html",
"version": "3.1.0",
"version": "3.1.1",
"author": "Sitegui <sitegui@sitegui.com.br>",

@@ -5,0 +5,0 @@ "description": "Embedded JavaScript HTML templates. An implementation of EJS focused on run-time performance, HTML syntax checking, minified HTML output and custom HTML elements.",

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