Revert composer.json to a pre-component state