The stable version of Flag is 5.0.0, this module requires flag 4.0 in the composer.json file, so it prevents upgrading.
Active
2.0
Code