remix-validated-form 4.6.7 → 4.6.8
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.
@@ -1 +1,14 @@
|
|
1
1
|
[2K[1G[2m$ tsc --noEmit[22m
|
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
|
+
[2K[1G[31merror[39m Command failed with exit code 2.
|
14
|
+
[2K[1G[34minfo[39m Visit [1mhttps://yarnpkg.com/en/docs/cli/run[22m 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 =
|
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.
|
1004
|
+
var useRootFormStore = (0, import_zustand.create)()(
|
1005
1005
|
(0, import_immer.immer)((set, get2) => ({
|
1006
1006
|
forms: {},
|
1007
1007
|
form: (formId) => {
|