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 1.2.1 to 1.2.2

6

CHANGELOG.md
# @astrojs/react
## 1.2.2
### Patch Changes
- [#5218](https://github.com/withastro/astro/pull/5218) [`0b1241431`](https://github.com/withastro/astro/commit/0b12414315fa81ded96587779c63c74400466078) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - remove unnecessary `ReactDOM.renderToString` operation
## 1.2.1

@@ -4,0 +10,0 @@

4

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

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

"@types/react-dom": "^17.0.17",
"astro": "1.5.1",
"astro": "1.6.1",
"astro-scripts": "0.0.8",

@@ -41,0 +41,0 @@ "react": "^18.1.0",

@@ -78,3 +78,2 @@ import React from 'react';

if (metadata && metadata.hydrate) {
html = ReactDOM.renderToString(vnode);
if ('renderToReadableStream' in ReactDOM) {

@@ -81,0 +80,0 @@ html = await renderToReadableStreamAsync(vnode);

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