if (path in inverseDependencies) {
    return inverseDependencies;
  }
Instead of adding the whole inverseDependncies object into each changed
module (which can be really huge if the dependency graph is big), we only
add the needed inverseDependencies for each changed module (we do this by
traversing upwards the dependency graph).