Skip to content
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@glific/flow-editor": "^1.26.3-30",
"@lexical/react": "^0.33.0",
"@lexical/react": "^0.33.1",
"@mui/icons-material": "^7.2.0",
"@mui/material": "^7.2.0",
"@mui/x-date-pickers": "^8.7.0",
"@nyaruka/temba-components": "^0.113.0",
"@sentry/integrations": "^7.114.0",
"@sentry/react": "^9.35.0",
"@sentry/react": "^9.38.0",
"@sentry/vite-plugin": "^3.5.0",
"@stripe/react-stripe-js": "^3.7.0",
"@stripe/stripe-js": "^7.4.0",
"@vitejs/plugin-react": "^4.6.0",
"apollo-absinthe-upload-link": "^1.7.0",
"apollo-link-token-refresh": "^0.7.0",
"axios": "^1.10.0",
"axios": "^1.12.0",
"buffer": "^6.0.3",
"dayjs": "^1.11.13",
"emoji-mart": "^5.6.0",
Expand All @@ -46,7 +46,7 @@
"i18next-browser-languagedetector": "^8.2.0",
"interweave": "^13.1.1",
"interweave-autolink": "^5.1.2",
"lexical": "^0.33.0",
"lexical": "^0.33.1",
"lexical-beautiful-mentions": "^0.1.47",
"react": "^19.1.0",
"react-dom": "^19.1.0",
Expand All @@ -65,8 +65,8 @@
"stream-browserify": "^3.0.0",
"util": "^0.12.5",
"uuid": "^11.1.0",
"vite": "^7.0.2",
"vite-plugin-checker": "^0.9.3",
"vite": "^7.0.7",
"vite-plugin-checker": "^0.10.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Update the project’s Node engine range for Vite 7

Vite 7.0.7 now enforces Node 20.19+ (or 22.12+). Leaving "engines.node" at >=20.0.0 <23 means local devs and CI pinned to Node 20.0–20.18 will hit EBADENGINE installs or unstable builds.(main.vitejs.dev) Please bump the engine floor to align with the new requirement (and ensure CI images follow suit).

   "engines": {
-    "node": ">=20.0.0 <23"
+    "node": ">=20.19.0 <23"
   },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"vite": "^7.0.7",
"vite-plugin-checker": "^0.10.0",
"engines": {
"node": ">=20.19.0 <23"
},
🤖 Prompt for AI Agents
In package.json around lines 68-69, the project’s "engines.node" range is too
low for Vite 7 (which requires Node >=20.19 or >=22.12); update the engines.node
field to set a minimum compatible Node version (for example ">=20.19.0 <23" or
">=22.12.0 <23" depending on supported major) so installs and CI use a Node
runtime that meets Vite 7 requirements, and ensure CI images/workflows are
updated to match the new engine floor.

"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
"yup": "^1.6.1"
Expand Down
Loading
Loading