|
| 1 | +From d4474da1ea402755055dc8e766c292d628dfa1fa Mon Sep 17 00:00:00 2001 |
| 2 | +From: nu-xin <nu-xin@users.noreply.github.com> |
| 3 | +Date: Tue, 10 Mar 2026 10:04:36 +0800 |
| 4 | +Subject: [PATCH] feat: support React 19 |
| 5 | + |
| 6 | +--- |
| 7 | + package.json | 12 ++++++------ |
| 8 | + 1 file changed, 6 insertions(+), 6 deletions(-) |
| 9 | + |
| 10 | +diff --git a/package.json b/package.json |
| 11 | +index fea35fa..55795b4 100644 |
| 12 | +--- a/package.json |
| 13 | ++++ b/package.json |
| 14 | +@@ -61,8 +61,8 @@ |
| 15 | + "node": ">=14" |
| 16 | + }, |
| 17 | + "peerDependencies": { |
| 18 | +- "react": "^17.0.0 || ^18.0.0", |
| 19 | +- "react-dom": "^17.0.0 || ^18.0.0" |
| 20 | ++ "react": "^17.0.0 || ^18.0.0 || ^19.0.0", |
| 21 | ++ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" |
| 22 | + }, |
| 23 | + "dependencies": { |
| 24 | + "@native-router/core": "^1.0.3", |
| 25 | +@@ -79,8 +79,8 @@ |
| 26 | + "@testing-library/react": "^14.0.0", |
| 27 | + "@types/mocha": "^10.0.1", |
| 28 | + "@types/node": "^20.6.5", |
| 29 | +- "@types/react": "^18.2.22", |
| 30 | +- "@types/react-dom": "^18.2.7", |
| 31 | ++ "@types/react": "^19.0.0", |
| 32 | ++ "@types/react-dom": "^19.0.0", |
| 33 | + "@types/sinon": "^10.0.16", |
| 34 | + "@typescript-eslint/eslint-plugin": "^6.7.2", |
| 35 | + "@typescript-eslint/parser": "^6.7.2", |
| 36 | +@@ -110,8 +110,8 @@ |
| 37 | + "lint-staged": "^14.0.1", |
| 38 | + "mocha": "^10.2.0", |
| 39 | + "prettier": "^3.0.3", |
| 40 | +- "react": "^18.2.0", |
| 41 | +- "react-dom": "^18.2.0", |
| 42 | ++ "react": "^19.0.0", |
| 43 | ++ "react-dom": "^19.0.0", |
| 44 | + "should": "^13.2.3", |
| 45 | + "should-sinon": "0.0.6", |
| 46 | + "sinon": "^16.0.0", |
| 47 | +-- |
| 48 | +2.53.0 |
| 49 | + |
0 commit comments