preact-render-to-string
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -195,3 +195,3 @@ (function (global, factory) { | ||
html = v && v.__html; | ||
} else if ((v || v === 0 || v === '') && typeof v !== 'object' && typeof v !== 'function') { | ||
} else if ((v || v === 0 || v === '') && typeof v !== 'function') { | ||
if (v === true || v === '') { | ||
@@ -198,0 +198,0 @@ v = name; |
@@ -207,3 +207,3 @@ (function (global, factory) { | ||
html = v && v.__html; | ||
} else if ((v || v === 0 || v === '') && typeof v !== 'object' && typeof v !== 'function') { | ||
} else if ((v || v === 0 || v === '') && typeof v !== 'function') { | ||
if (v === true || v === '') { | ||
@@ -210,0 +210,0 @@ v = name; |
{ | ||
"name": "preact-render-to-string", | ||
"amdName": "preactRenderToString", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "Render JSX to an HTML string, with support for Preact components.", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
@@ -137,3 +137,3 @@ import { objectKeys, encodeEntities, falsey, memoize, indent, isLargeString, styleObjToCss, hashToClassName, assign, getNodeProps } from './util'; | ||
} | ||
else if ((v || v===0 || v==='') && typeof v!=='object' && typeof v!=='function') { | ||
else if ((v || v===0 || v==='') && typeof v!=='function') { | ||
if (v===true || v==='') { | ||
@@ -140,0 +140,0 @@ v = name; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
126129