Constrain major version numbers on dependencies.