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
9
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 5.1.5 to 5.1.6

dist/index.mjs

1

dist/index.d.ts

@@ -10,3 +10,4 @@ import { VNode } from 'preact';

export function render(vnode: VNode, context?: any, options?: Options):string;
export function renderToString(vnode: VNode, context?: any, options?: Options):string;
export function shallowRender(vnode: VNode, context?: any):string;
export default render;

4

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

@@ -67,3 +67,3 @@ "main": "dist/index.js",

"peerDependencies": {
"preact": ">=10 || ^10.0.0-alpha.0 || ^10.0.0-beta.0"
"preact": ">=10"
},

@@ -70,0 +70,0 @@ "devDependencies": {

@@ -10,3 +10,4 @@ import { VNode } from 'preact';

export function render(vnode: VNode, context?: any, options?: Options):string;
export function renderToString(vnode: VNode, context?: any, options?: Options):string;
export function shallowRender(vnode: VNode, context?: any):string;
export default render;
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