@graphcommerce/react-hook-form 5.2.0-canary.9 → 6.0.0-canary.20

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.0.0-canary.20
4
+
5
+ ## 5.2.0-canary.19
6
+
7
+ ## 5.2.0-canary.18
8
+
9
+ ## 5.2.0-canary.17
10
+
11
+ ## 5.2.0-canary.16
12
+
13
+ ## 5.2.0-canary.15
14
+
15
+ ## 5.2.0-canary.14
16
+
17
+ ## 5.2.0-canary.13
18
+
19
+ ## 5.2.0-canary.12
20
+
21
+ ## 5.2.0-canary.11
22
+
23
+ ## 5.2.0-canary.10
24
+
3
25
  ## 5.2.0-canary.9
4
26
 
5
27
  ## 5.2.0-canary.8
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/react-hook-form",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "5.2.0-canary.9",
5
+ "version": "6.0.0-canary.20",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -17,9 +17,9 @@
17
17
  "react-hook-form": "7.41.5"
18
18
  },
19
19
  "devDependencies": {
20
- "@graphcommerce/eslint-config-pwa": "5.2.0-canary.9",
21
- "@graphcommerce/prettier-config-pwa": "5.2.0-canary.9",
22
- "@graphcommerce/typescript-config-pwa": "5.2.0-canary.9",
20
+ "@graphcommerce/eslint-config-pwa": "6.0.0-canary.20",
21
+ "@graphcommerce/prettier-config-pwa": "6.0.0-canary.20",
22
+ "@graphcommerce/typescript-config-pwa": "6.0.0-canary.20",
23
23
  "@testing-library/react": "^13.4.0"
24
24
  },
25
25
  "peerDependencies": {
package/src/diff.ts CHANGED
@@ -6,7 +6,7 @@ function isArray(val: unknown): val is unknown[] {
6
6
  }
7
7
 
8
8
  /** Simple diff function, retuns the values of the second object. */
9
- export default function diff(item1: unknown, item2: unknown) {
9
+ export default function diff(item1: unknown, item2: unknown): unknown {
10
10
  const item1Type = typeof item2
11
11
  const item2Type = typeof item2
12
12
  const isSame = item1Type === item2Type
@@ -1,12 +1,5 @@
1
1
  import { useEffect } from 'react'
2
- import {
3
- FieldValues,
4
- UseFormReturn,
5
- Path,
6
- FieldPathValue,
7
- UnpackNestedValue,
8
- FieldPath,
9
- } from 'react-hook-form'
2
+ import { FieldValues, UseFormReturn, Path, FieldPathValue, FieldPath } from 'react-hook-form'
10
3
 
11
4
  export type UseFormPersistOptions<
12
5
  TFieldValues extends FieldValues = FieldValues,