react-hook-form 7.28.0 → 7.28.1

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 @@
1
- {"version":3,"file":"createFormControl.d.ts","sourceRoot":"","sources":["../../src/logic/createFormControl.ts"],"names":[],"mappings":"AACA,OAAO,EAYL,WAAW,EAgBX,YAAY,EAIZ,aAAa,EASd,MAAM,UAAU,CAAC;AAiDlB,wBAAgB,iBAAiB,CAC/B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,QAAQ,GAAG,GAAG,EAEd,KAAK,GAAE,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAM,GAC/C,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,WAAW,CAAC,CAqpC1D"}
1
+ {"version":3,"file":"createFormControl.d.ts","sourceRoot":"","sources":["../../src/logic/createFormControl.ts"],"names":[],"mappings":"AACA,OAAO,EAYL,WAAW,EAgBX,YAAY,EAIZ,aAAa,EASd,MAAM,UAAU,CAAC;AAiDlB,wBAAgB,iBAAiB,CAC/B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,QAAQ,GAAG,GAAG,EAEd,KAAK,GAAE,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAM,GAC/C,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,WAAW,CAAC,CAspC1D"}
@@ -159,7 +159,7 @@ export declare type UseFieldArrayInsert<TFieldValues, TFieldArrayName extends Fi
159
159
  */
160
160
  export declare type UseFieldArrayUpdate<TFieldValues, TFieldArrayName extends FieldArrayPath<TFieldValues> = FieldArrayPath<TFieldValues>> = (index: number, value: UnpackNestedValue<FieldArray<TFieldValues, TFieldArrayName>>) => void;
161
161
  /**
162
- * Replace the entire field array values.
162
+ * Replace the entire field array values.
163
163
  *
164
164
  * @remarks
165
165
  * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/calc-i231d)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-hook-form",
3
3
  "description": "Performant, flexible and extensible forms library for React Hooks",
4
- "version": "7.28.0",
4
+ "version": "7.28.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.mjs",
7
7
  "umd:main": "dist/index.umd.js",
@@ -10,7 +10,7 @@
10
10
  "jsnext:main": "dist/index.esm.mjs",
11
11
  "source": "src/index.ts",
12
12
  "types": "dist/index.d.ts",
13
- "sideEffects": true,
13
+ "sideEffects": false,
14
14
  "files": [
15
15
  "dist",
16
16
  "dist/__tests__"
@@ -70,45 +70,45 @@
70
70
  "license": "MIT",
71
71
  "devDependencies": {
72
72
  "@microsoft/api-extractor": "^7.19.4",
73
- "@rollup/plugin-commonjs": "^21.0.1",
73
+ "@rollup/plugin-commonjs": "^21.0.2",
74
74
  "@rollup/plugin-node-resolve": "^13.1.3",
75
- "@testing-library/jest-dom": "^5.16.1",
76
- "@testing-library/react": "^12.1.2",
75
+ "@testing-library/jest-dom": "^5.16.2",
76
+ "@testing-library/react": "^12.1.4",
77
77
  "@testing-library/react-hooks": "^7.0.2",
78
78
  "@testing-library/react-native": "^9.0.0",
79
- "@types/jest": "^27.4.0",
80
- "@types/react": "^17.0.38",
81
- "@types/react-native": "^0.66.15",
82
- "@typescript-eslint/eslint-plugin": "^5.10.2",
83
- "@typescript-eslint/parser": "^5.10.2",
79
+ "@types/jest": "^27.4.1",
80
+ "@types/react": "^17.0.40",
81
+ "@types/react-native": "^0.67.2",
82
+ "@typescript-eslint/eslint-plugin": "^5.14.0",
83
+ "@typescript-eslint/parser": "^5.14.0",
84
84
  "@vitejs/plugin-react-refresh": "^1.3.6",
85
- "babel-jest": "^27.4.6",
85
+ "babel-jest": "^27.5.1",
86
86
  "bundlesize": "^0.18.0",
87
87
  "cypress": "9.4.1",
88
- "eslint": "^8.8.0",
89
- "eslint-config-prettier": "^8.3.0",
88
+ "eslint": "^8.11.0",
89
+ "eslint-config-prettier": "^8.5.0",
90
90
  "eslint-plugin-cypress": "^2.12.1",
91
91
  "eslint-plugin-prettier": "^4.0.0",
92
- "eslint-plugin-react": "^7.28.0",
92
+ "eslint-plugin-react": "^7.29.3",
93
93
  "eslint-plugin-react-hooks": "^4.3.0",
94
94
  "eslint-plugin-simple-import-sort": "^7.0.0",
95
95
  "husky": "^7.0.4",
96
- "jest": "^27.4.7",
97
- "lint-staged": "^12.3.2",
96
+ "jest": "^27.5.1",
97
+ "lint-staged": "^12.3.5",
98
98
  "prettier": "^2.5.1",
99
99
  "react": "^17.0.1",
100
100
  "react-dom": "^17.0.1",
101
- "react-native": "^0.67.2",
101
+ "react-native": "^0.67.3",
102
102
  "react-test-renderer": "^17.0.1",
103
103
  "rimraf": "^3.0.2",
104
- "rollup": "^2.66.1",
104
+ "rollup": "^2.70.0",
105
105
  "rollup-plugin-peer-deps-external": "^2.2.4",
106
106
  "rollup-plugin-sourcemaps": "^0.6.2",
107
107
  "rollup-plugin-terser": "^7.0.2",
108
- "rollup-plugin-typescript2": "^0.31.1",
108
+ "rollup-plugin-typescript2": "^0.31.2",
109
109
  "ts-jest": "^27.1.3",
110
110
  "tsd": "^0.19.1",
111
- "typescript": "^4.5.5"
111
+ "typescript": "^4.6.2"
112
112
  },
113
113
  "bundlesize": [
114
114
  {