remix-validated-form 4.6.6 → 4.6.8
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-typecheck.log +13 -0
- package/dist/index.cjs.js +41 -39
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +40 -38
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -2
- package/src/internal/state/createFormStore.ts +1 -1
- package/stats.html +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "remix-validated-form",
|
3
|
-
"version": "4.6.
|
3
|
+
"version": "4.6.8",
|
4
4
|
"description": "Form component and utils for easy form validation in remix",
|
5
5
|
"main": "./dist/index.cjs.js",
|
6
6
|
"module": "./dist/index.esm.js",
|
@@ -42,6 +42,7 @@
|
|
42
42
|
"@remix-run/react": "^1.9.0",
|
43
43
|
"@remix-run/server-runtime": "^1.9.0",
|
44
44
|
"@testing-library/react": "^13.3.0",
|
45
|
+
"@types/lodash.get": "^4.4.7",
|
45
46
|
"@types/react": "^18.0.9",
|
46
47
|
"fetch-blob": "^3.1.3",
|
47
48
|
"react": "^18.1.0",
|
@@ -53,8 +54,9 @@
|
|
53
54
|
},
|
54
55
|
"dependencies": {
|
55
56
|
"immer": "^9.0.12",
|
57
|
+
"lodash.get": "^4.4.2",
|
56
58
|
"remeda": "^1.2.0",
|
57
59
|
"tiny-invariant": "^1.2.0",
|
58
|
-
"zustand": "^4.
|
60
|
+
"zustand": "^4.3.0"
|
59
61
|
}
|
60
62
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { WritableDraft } from "immer/dist/internal";
|
2
2
|
import { getPath, setPath } from "set-get";
|
3
3
|
import invariant from "tiny-invariant";
|
4
|
-
import create,
|
4
|
+
import { create, GetState } from "zustand";
|
5
5
|
import { immer } from "zustand/middleware/immer";
|
6
6
|
import {
|
7
7
|
FieldErrors,
|