@ahoo-wang/wow-react 9.2.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ as React state, on the query types of `@ahoo-wang/wow-client`.
|
|
|
6
6
|
|
|
7
7
|
## Requirements
|
|
8
8
|
|
|
9
|
-
- **React 19.
|
|
9
|
+
- **React 19.0 or later.** The package is compiled with the React Compiler and
|
|
10
10
|
imports `react/compiler-runtime`, which only React 19 has; React 18 is not
|
|
11
11
|
supported.
|
|
12
12
|
- Node.js 22.12 or later for tooling and server rendering; any browser React 19
|
package/README.zh-CN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 环境要求
|
|
8
8
|
|
|
9
|
-
- **React 19.
|
|
9
|
+
- **React 19.0 及以上。** 本包用 React Compiler 编译,产物导入只有 React 19 才有的
|
|
10
10
|
`react/compiler-runtime`;不支持 React 18。
|
|
11
11
|
- 工具链与服务端渲染需要 Node.js 22.12 及以上;浏览器以 React 19 支持的为准。
|
|
12
12
|
- `@ahoo-wang/wow-client` 与本包的次版本号一致。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahoo-wang/wow-react",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"description": "React hooks for Wow (https://github.com/Ahoo-Wang/Wow) queries: single, list, paged, count and list-stream. Requires React 19.3 or later.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wow",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"dequal": "^2.0.3"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@ahoo-wang/fetcher": "^5.1.5",
|
|
51
|
-
"react": "^19.
|
|
52
|
-
"@ahoo-wang/wow-client": "~9.2.
|
|
50
|
+
"@ahoo-wang/fetcher": "^5.1.5 || ^6.0.0",
|
|
51
|
+
"react": "^19.0.0",
|
|
52
|
+
"@ahoo-wang/wow-client": "~9.2.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@ahoo-wang/fetcher": "^5.1.5",
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
"eslint": "^10.11.0",
|
|
65
65
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
66
66
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
67
|
-
"globals": "^17.
|
|
67
|
+
"globals": "^17.13.0",
|
|
68
68
|
"jsdom": "^29.1.1",
|
|
69
69
|
"react": "^19.3.0",
|
|
70
70
|
"react-dom": "^19.3.0",
|
|
71
71
|
"typescript": "~6.0.3",
|
|
72
72
|
"typescript-eslint": "^8.70.1",
|
|
73
73
|
"unplugin-dts": "1.1.1",
|
|
74
|
-
"vite": "8.3.
|
|
74
|
+
"vite": "8.3.2",
|
|
75
75
|
"vitest": "^4.1.11",
|
|
76
|
-
"@ahoo-wang/wow-client": "~9.2.
|
|
76
|
+
"@ahoo-wang/wow-client": "~9.2.1"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "vite build && pnpm test:package",
|