New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

preact-render-to-string

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

preact-render-to-string - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

2

dist/index.js

@@ -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

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