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

@astrojs/react

Package Overview
Dependencies
Maintainers
3
Versions
116
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 0.0.0-react-19-20240503135357 to 0.0.0-react-19-20240503180451

4

dist/index.js

@@ -22,3 +22,3 @@ import react, {} from "@vitejs/plugin-react";

function getReactMajorVersion() {
const matches = /[0-9]+\./.exec(ReactVersion);
const matches = /\d+\./.exec(ReactVersion);
if (!matches) {

@@ -104,3 +104,3 @@ return NaN;

if (isUnsupportedVersion(majorVersion)) {
throw new Error(`Unsupported version`);
throw new Error(`Unsupported React version: ${majorVersion}.`);
}

@@ -107,0 +107,0 @@ const versionConfig = versionsConfig[majorVersion];

{
"name": "@astrojs/react",
"description": "Use React components within Astro",
"version": "0.0.0-react-19-20240503135357",
"version": "0.0.0-react-19-20240503180451",
"type": "module",

@@ -6,0 +6,0 @@ "types": "./dist/index.d.ts",

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