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.2.1 to 3.3.0

2

dist/index.js

@@ -129,3 +129,3 @@ (function (global, factory) {

if (vnode == null) {
return '<!---->';
return '';
}

@@ -132,0 +132,0 @@

@@ -141,3 +141,3 @@ (function (global, factory) {

if (vnode == null) {
return '<!---->';
return '';
}

@@ -144,0 +144,0 @@

{
"name": "preact-render-to-string",
"amdName": "preactRenderToString",
"version": "3.2.1",
"version": "3.3.0",
"description": "Render JSX to an HTML string, with support for Preact components.",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

@@ -62,3 +62,3 @@ import { objectKeys, encodeEntities, falsey, memoize, indent, isLargeString, styleObjToCss, hashToClassName, assign, getNodeProps } from './util';

if (vnode==null) {
return '<!---->';
return '';
}

@@ -65,0 +65,0 @@

@@ -138,5 +138,3 @@ import render from '../src/jsx';

<b></b>
<c>
<!---->
</c>
<c></c>
</div>

@@ -143,0 +141,0 @@ `);

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