code: private Set<JSModule> getTransitiveDeps(JSModule m) {
      Set<JSModule> deps = dependencyMap.computeIfAbsent(m, JSModule::getAllDependencies);
      return deps;
    }
docs: Returns the transitive dependencies of the module.