constructor(ui) {
    this.ui = ui; // a console-ui instance
    this._clear();
  }
Class that stores entries that are either PackageInfo or NodeModulesList objects.
The entries are stored in a map keyed by real directory path.

@public
@class PackageInfoCache