remix-validated-form 4.6.1 → 4.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-build.log +4 -4
- package/dist/remix-validated-form.cjs.js.map +1 -1
- package/dist/remix-validated-form.es.js.map +1 -1
- package/dist/remix-validated-form.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/internal/flatten.ts +1 -1
- package/src/internal/hooks.ts +1 -1
- package/src/internal/state/arrayUtil.ts +1 -1
- 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.3",
|
4
4
|
"description": "Form component and utils for easy form validation in remix",
|
5
5
|
"browser": "./dist/remix-validated-form.cjs.js",
|
6
6
|
"main": "./dist/remix-validated-form.umd.js",
|
@@ -42,6 +42,7 @@
|
|
42
42
|
"@types/react": "^18.0.9",
|
43
43
|
"fetch-blob": "^3.1.3",
|
44
44
|
"react": "^18.1.0",
|
45
|
+
"set-get": "*",
|
45
46
|
"ts-toolbelt": "^9.6.0",
|
46
47
|
"tsconfig": "*",
|
47
48
|
"typescript": "^4.8.4",
|
@@ -50,7 +51,6 @@
|
|
50
51
|
"dependencies": {
|
51
52
|
"immer": "^9.0.12",
|
52
53
|
"remeda": "^1.2.0",
|
53
|
-
"setGet": "*",
|
54
54
|
"tiny-invariant": "^1.2.0",
|
55
55
|
"zustand": "^4.0.0-rc.1"
|
56
56
|
}
|
package/src/internal/flatten.ts
CHANGED
package/src/internal/hooks.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { useActionData, useMatches, useTransition } from "@remix-run/react";
|
2
2
|
import { useCallback, useContext } from "react";
|
3
|
-
import { getPath } from "
|
3
|
+
import { getPath } from "set-get";
|
4
4
|
import invariant from "tiny-invariant";
|
5
5
|
import { FieldErrors, ValidationErrorResponseData } from "..";
|
6
6
|
import { formDefaultValuesKey } from "./constants";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { WritableDraft } from "immer/dist/internal";
|
2
|
-
import { getPath, setPath } from "
|
2
|
+
import { getPath, setPath } from "set-get";
|
3
3
|
import invariant from "tiny-invariant";
|
4
4
|
import create, { GetState } from "zustand";
|
5
5
|
import { immer } from "zustand/middleware/immer";
|