remix-validated-form 4.6.7 → 4.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1,14 @@
1
1
  $ tsc --noEmit
2
+ src/internal/state/createFormStore.ts(4,10): error TS2614: Module '"zustand"' has no exported member 'create'. Did you mean to use 'import create from "zustand"' instead?
3
+ src/internal/state/createFormStore.ts(496,12): error TS7006: Parameter 'formId' implicitly has an 'any' type.
4
+ src/internal/state/createFormStore.ts(497,14): error TS2571: Object is of type 'unknown'.
5
+ src/internal/state/createFormStore.ts(500,12): error TS7006: Parameter 'state' implicitly has an 'any' type.
6
+ src/internal/state/createFormStore.ts(505,11): error TS2571: Object is of type 'unknown'.
7
+ src/internal/state/createFormStore.ts(506,12): error TS7006: Parameter 'state' implicitly has an 'any' type.
8
+ src/internal/state/createFormStore.ts(508,28): error TS7006: Parameter 'state' implicitly has an 'any' type.
9
+ src/internal/state/createFormStore.ts(509,17): error TS2571: Object is of type 'unknown'.
10
+ src/internal/state/storeHooks.ts(8,28): error TS7006: Parameter 'state' implicitly has an 'any' type.
11
+ src/ValidatedForm.tsx(251,41): error TS7006: Parameter 'state' implicitly has an 'any' type.
12
+ src/ValidatedForm.tsx(252,42): error TS7006: Parameter 'state' implicitly has an 'any' type.
13
+ error Command failed with exit code 2.
14
+ info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
package/dist/index.cjs.js CHANGED
@@ -200,7 +200,7 @@ var hydratable = {
200
200
 
201
201
  // src/internal/state/createFormStore.ts
202
202
  var import_tiny_invariant2 = __toESM(require("tiny-invariant"));
203
- var import_zustand = __toESM(require("zustand"));
203
+ var import_zustand = require("zustand");
204
204
  var import_immer = require("zustand/middleware/immer");
205
205
 
206
206
  // src/internal/logic/requestSubmit.ts
@@ -1001,7 +1001,7 @@ var createFormState = (set, get2) => ({
1001
1001
  }
1002
1002
  }
1003
1003
  });
1004
- var useRootFormStore = (0, import_zustand.default)()(
1004
+ var useRootFormStore = (0, import_zustand.create)()(
1005
1005
  (0, import_immer.immer)((set, get2) => ({
1006
1006
  forms: {},
1007
1007
  form: (formId) => {