It is written to plug the most outstanding breakages of compatibility, however complicated data flow analysis is outside of its scope.
Usage:
- 1. Put it near 'mods' folder (in factorio folder or elsewhere)
2. Launch the script with python. (I've tested it on python3)
3. A folder 'new_mods' will be created which will contain hopefully workable versions of the mods.