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.2 to 2.0.0-beta.0

6

CHANGELOG.md
# @astrojs/react
## 2.0.0-beta.0
### Major Changes
- [#5782](https://github.com/withastro/astro/pull/5782) [`1f92d64ea`](https://github.com/withastro/astro/commit/1f92d64ea35c03fec43aff64eaf704dc5a9eb30a) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0
## 1.2.2

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

2

client.js

@@ -25,3 +25,3 @@ import { createElement, startTransition } from 'react';

const rootKey = isAlreadyHydrated(element);
// HACK: delete internal react marker for nested components to suppress agressive warnings
// HACK: delete internal react marker for nested components to suppress aggressive warnings
if (rootKey) {

@@ -28,0 +28,0 @@ delete element[rootKey];

{
"name": "@astrojs/react",
"description": "Use React components within Astro",
"version": "1.2.2",
"version": "2.0.0-beta.0",
"type": "module",

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

"@types/react-dom": "^17.0.17",
"astro": "1.6.1",
"astro-scripts": "0.0.8",
"astro": "2.0.0-beta.2",
"astro-scripts": "0.0.10-beta.0",
"react": "^18.1.0",

@@ -51,3 +51,3 @@ "react-dom": "^18.1.0"

"engines": {
"node": "^14.18.0 || >=16.12.0"
"node": ">=16.12.0"
},

@@ -54,0 +54,0 @@ "scripts": {

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