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

@astrojs/react

Package Overview
Dependencies
Maintainers
4
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/react - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

package.json
{
"name": "@astrojs/react",
"description": "Use React components within Astro",
"version": "2.2.0",
"version": "2.2.1",
"type": "module",

@@ -50,3 +50,3 @@ "types": "./dist/index.d.ts",

"react-dom": "^18.1.0",
"astro": "2.5.0",
"astro": "2.5.6",
"astro-scripts": "0.0.14"

@@ -53,0 +53,0 @@ },

@@ -10,3 +10,3 @@ import { createElement as h } from 'react';

*/
const StaticHtml = ({ value, name, hydrate }) => {
const StaticHtml = ({ value, name, hydrate = true }) => {
if (!value) return null;

@@ -13,0 +13,0 @@ const tagName = hydrate ? 'astro-slot' : 'astro-static-slot';

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