From d7db9cddba9008714f2853013d5d4e82c8c94558 Mon Sep 17 00:00:00 2001 From: Craig Patik Date: Sun, 17 Sep 2023 21:49:20 +0200 Subject: [PATCH] Add missing dependency @types/hoist-non-react-statics, closes #3837 (#3860) This package is needed by Formik but it was not included in the dependency list. Fixes #3837 --- .changeset/soft-guests-study.md | 5 +++++ packages/formik/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/soft-guests-study.md diff --git a/.changeset/soft-guests-study.md b/.changeset/soft-guests-study.md new file mode 100644 index 000000000..0f8cd8362 --- /dev/null +++ b/.changeset/soft-guests-study.md @@ -0,0 +1,5 @@ +--- +formik: patch +--- + +Add missing dependency `@types/hoist-non-react-statics`, closes #3837 diff --git a/packages/formik/package.json b/packages/formik/package.json index 37c47935d..9faf9bac3 100644 --- a/packages/formik/package.json +++ b/packages/formik/package.json @@ -46,6 +46,7 @@ "lint": "tsdx lint" }, "dependencies": { + "@types/hoist-non-react-statics": "^3.3.1", "deepmerge": "^2.1.1", "hoist-non-react-statics": "^3.3.0", "lodash": "^4.17.21", @@ -56,7 +57,6 @@ }, "devDependencies": { "@testing-library/react": "^14.0.0", - "@types/hoist-non-react-statics": "^3.3.1", "@types/lodash": "^4.14.119", "@types/react": "^18.2.7", "@types/react-dom": "^18.2.4",