react-hook-form 7.54.2 → 7.55.0-next.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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.mjs +1358 -1339
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/logic/createFormControl.d.ts +3 -1
- package/dist/logic/createFormControl.d.ts.map +1 -1
- package/dist/logic/index.d.ts +2 -1
- package/dist/logic/index.d.ts.map +1 -1
- package/dist/logic/shouldRenderFormState.d.ts +3 -2
- package/dist/logic/shouldRenderFormState.d.ts.map +1 -1
- package/dist/react-server.esm.mjs +1727 -4
- package/dist/react-server.esm.mjs.map +1 -1
- package/dist/types/form.d.ts +49 -11
- package/dist/types/form.d.ts.map +1 -1
- package/dist/useFieldArray.d.ts.map +1 -1
- package/dist/useForm.d.ts.map +1 -1
- package/dist/useFormState.d.ts.map +1 -1
- package/dist/useWatch.d.ts.map +1 -1
- package/dist/utils/omit.d.ts +3 -0
- package/dist/utils/omit.d.ts.map +1 -0
- package/package.json +22 -21
- package/dist/useSubscribe.d.ts +0 -9
- package/dist/useSubscribe.d.ts.map +0 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-hook-form",
|
3
3
|
"description": "Performant, flexible and extensible forms library for React Hooks",
|
4
|
-
"version": "7.
|
4
|
+
"version": "7.55.0-next.1",
|
5
5
|
"main": "dist/index.cjs.js",
|
6
6
|
"module": "dist/index.esm.mjs",
|
7
7
|
"umd:main": "dist/index.umd.js",
|
@@ -72,44 +72,45 @@
|
|
72
72
|
"author": "<bluebill1049@hotmail.com>",
|
73
73
|
"license": "MIT",
|
74
74
|
"devDependencies": {
|
75
|
-
"@eslint/compat": "^1.2.
|
76
|
-
"@microsoft/api-extractor": "^7.
|
75
|
+
"@eslint/compat": "^1.2.4",
|
76
|
+
"@microsoft/api-extractor": "^7.48.1",
|
77
77
|
"@rollup/plugin-commonjs": "^26.0.3",
|
78
|
-
"@rollup/plugin-node-resolve": "^15.3.
|
78
|
+
"@rollup/plugin-node-resolve": "^15.3.1",
|
79
79
|
"@rollup/plugin-terser": "^0.4.4",
|
80
|
-
"@swc/core": "^1.
|
81
|
-
"@swc/jest": "^0.2.
|
82
|
-
"@testing-library/jest-dom": "^6.
|
83
|
-
"@testing-library/react": "^16.0
|
84
|
-
"@types/jest": "^29.5.
|
85
|
-
"@types/react": "^19.0.
|
86
|
-
"@types/react-dom": "^18.3.
|
80
|
+
"@swc/core": "^1.10.1",
|
81
|
+
"@swc/jest": "^0.2.37",
|
82
|
+
"@testing-library/jest-dom": "^6.6.3",
|
83
|
+
"@testing-library/react": "^16.1.0",
|
84
|
+
"@types/jest": "^29.5.14",
|
85
|
+
"@types/react": "^19.0.2",
|
86
|
+
"@types/react-dom": "^18.3.5",
|
87
87
|
"@types/testing-library__jest-dom": "^5.14.9",
|
88
|
-
"eslint": "^9.8.0",
|
89
88
|
"bundlewatch": "^0.3.3",
|
90
|
-
"cypress": "^13.
|
89
|
+
"cypress": "^13.17.0",
|
90
|
+
"eslint": "^9.17.0",
|
91
91
|
"eslint-config-prettier": "^9.1.0",
|
92
|
-
"eslint-plugin-cypress": "^3.
|
92
|
+
"eslint-plugin-cypress": "^3.6.0",
|
93
93
|
"eslint-plugin-prettier": "^5.2.1",
|
94
|
-
"eslint-plugin-react": "^7.37.
|
94
|
+
"eslint-plugin-react": "^7.37.2",
|
95
95
|
"eslint-plugin-react-hooks": "^4.6.2",
|
96
96
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
97
|
-
"husky": "^9.1.
|
97
|
+
"husky": "^9.1.7",
|
98
98
|
"jest": "^29.7.0",
|
99
99
|
"jest-environment-jsdom": "^29.7.0",
|
100
|
+
"jest-fixed-jsdom": "^0.0.9",
|
100
101
|
"jest-preview": "^0.3.1",
|
101
|
-
"lint-staged": "^15.2.
|
102
|
-
"msw": "^2.
|
102
|
+
"lint-staged": "^15.2.11",
|
103
|
+
"msw": "^2.7.0",
|
103
104
|
"prettier": "3.3.2",
|
104
105
|
"react": "^19.0.0",
|
105
106
|
"react-dom": "^19.0.0",
|
106
107
|
"react-test-renderer": "^18.3.1",
|
107
108
|
"rimraf": "^5.0.10",
|
108
|
-
"rollup": "^4.
|
109
|
+
"rollup": "^4.29.0",
|
109
110
|
"rollup-plugin-typescript2": "^0.36.0",
|
110
|
-
"typescript-eslint": "7.18.0",
|
111
111
|
"tsd": "^0.31.2",
|
112
|
-
"typescript": "^5.
|
112
|
+
"typescript": "^5.7.2",
|
113
|
+
"typescript-eslint": "7.18.0",
|
113
114
|
"whatwg-fetch": "^3.6.20"
|
114
115
|
},
|
115
116
|
"bundlewatch": {
|
package/dist/useSubscribe.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Subject } from './utils/createSubject';
|
2
|
-
type Props<T> = {
|
3
|
-
disabled?: boolean;
|
4
|
-
subject: Subject<T>;
|
5
|
-
next: (value: T) => void;
|
6
|
-
};
|
7
|
-
export declare function useSubscribe<T>(props: Props<T>): void;
|
8
|
-
export {};
|
9
|
-
//# sourceMappingURL=useSubscribe.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useSubscribe.d.ts","sourceRoot":"","sources":["../src/useSubscribe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,KAAK,KAAK,CAAC,CAAC,IAAI;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,QAgB9C"}
|