From 403c9ea9612fe2254002068b97cbe8d3b1b22c9d Mon Sep 17 00:00:00 2001 From: melloware Date: Tue, 4 Jun 2024 09:43:20 -0400 Subject: [PATCH] Fix #6724: React 19 support --- package-lock.json | 2 +- package.json | 2 +- rollup.config.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index d2200643d1..36df7bdd4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,7 +65,7 @@ "typescript": "5.1.6" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 07ae898c7d..950bb058c7 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,6 @@ "typescript": "5.1.6" }, "engines": { - "node": ">=16" + "node": ">=18" } } diff --git a/rollup.config.js b/rollup.config.js index 49e6234469..7f5a8226da 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -371,9 +371,9 @@ function addPackageJson() { "module": "primereact.all.esm.min.js", "web-types": "web-types.json", "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": {