Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/widen-nextjs-react-peer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@arkenv/nextjs": patch
---

#### Widen the React peer dependency range

Replace the workspace `catalog:` alias for the published React peer dependency with `"^18.2.0 || ^19.0.0"` so installs are not pinned to a single React version.
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"peerDependencies": {
"arktype": "^2.1.22",
"next": "^13.4.0 || ^14.0.0 || ^15.0.0 || ^16.0.0-0",
"react": "catalog:"
"react": "^18.2.0 || ^19.0.0"
},
"exports": {
"./shared": {
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/src/script.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function ArkEnvScript({
return (
<script
id="arkenv-script"
// biome-ignore lint/security/noDangerouslySetInnerHtml: JSON-serialized public env with `<` escaped
dangerouslySetInnerHTML={{ __html: scriptContent }}
/>
);
Expand Down
Loading