Formik: Outdated dependencies

Created on 20 May 2019  路  11Comments  路  Source: formium/formik

馃悰 Bug report

Current Behavior

When installing formik I get following warning:

warning formik > create-react-context > fbjs > [email protected]: core-js@<2.6.6 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.

Expected behavior

No warnings during installation

Most helpful comment

create-react-context has recently been updated (0.3.0), removing the fbjs dependency.

All 11 comments

create-react-context was not updates in a while, not sure what should we do... probably fork and fix

those PR's, lol

create-react-context has recently been updated (0.3.0), removing the fbjs dependency.

The license was reverted to standard MIT in that version too, just so it's clear.

This dependency was removed in https://github.com/jaredpalmer/formik/commit/e3876336aefa4ceb01e7f6f89cd12f8e133eb6ef, which is reflected in master currently as well as the next major release.

Getting this with "formik": "^1.5.2",:
warning formik > create-react-context > fbjs > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

@sombreroEnPuntas Upgrading to the next major version (2.x) should fix that warning or at least it did for me. See this comment.

@mvargeson but that's a major bump... Is it breaking the api? Or maybe the major bump on the version number does not follow standard version and it is still backward compatible? :)

Indeed: https://github.com/jaredpalmer/formik/releases/tag/v2.0.1-rc.5
It is nice to keep the majors alive for some time.
But, can't fight progress! Will have to either drop the dependency or refactor.

@jaredpalmer and team do a pretty good job of tracking changes and keeping documentation up-to-date in my experience. They've even written a guide for migrating from v1.x to v2.x. It helped me to read through that to make the determination if I could and/or wanted to make the jump to v2.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredpalmer picture jaredpalmer  路  3Comments

sibelius picture sibelius  路  3Comments

giulioambrogi picture giulioambrogi  路  3Comments

najisawas picture najisawas  路  3Comments

pmonty picture pmonty  路  3Comments