code: function Publisher (ossConfig, cacheOptions) {
    this.config = ossConfig;
    this.client = new OSS(ossConfig.connect);
    this._newCache = {};
    var bucket = this.config.connect.bucket;
  
    if (!bucket) {
      throw new Error('Missing `connect.bucket` config value.');
    }
  
    // init Cache file
    this._cacheFile = cacheOptions && cacheOptions.cacheFileName
      ? cacheOptions.cacheFileName
      : '.oss-cache-' + bucket;
  
    // load cache
    if (ossConfig.setting.force) {
      try {
        fs.unlinkSync(this.getCacheFilename());
      } catch (err) {} finally {
        this._oldCache = {};
      }
    } else {
      try {
        this._oldCache = JSON.parse(fs.readFileSync(this.getCacheFilename(), 'utf8'));
      } catch (err) {
        this._oldCache = {};
      }
    }
  }
docs: create a new Publisher
  @param {Object} OSS options as per https://help.aliyun.com/document_detail/32070.html
  @api private
   
  ossConfig = {
  connect: {},
  controls: {},
  setting: {}
  }