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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remix-validated-form",
3
- "version": "4.6.1",
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
  }
@@ -1,4 +1,4 @@
1
- import { setPath } from "setGet";
1
+ import { setPath } from "set-get";
2
2
  import { MultiValueMap } from "./MultiValueMap";
3
3
 
4
4
  export const objectFromPathEntries = (entries: [string, any][]) => {
@@ -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 "setGet";
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,4 +1,4 @@
1
- import { getPath, setPath } from "setGet";
1
+ import { getPath, setPath } from "set-get";
2
2
  import invariant from "tiny-invariant";
3
3
 
4
4
  ////
@@ -1,5 +1,5 @@
1
1
  import { WritableDraft } from "immer/dist/internal";
2
- import { getPath, setPath } from "setGet";
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";