@astrojs/react
Advanced tools
Comparing version 0.0.0-react-19-20240503135357 to 0.0.0-react-19-20240503180451
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24591