code: function checkPkg(pkgDir, scopes) {
    var errors;
    try {
      var config = {packageDir: pkgDir};
      if (scopes) {
        config.scopeList = scopes;
      }
      var checked = checkDeps.sync(config);
      if (checked.error.length) {
        errors = checked.error;
      }
    } finally {
      // eslint-disable-next-line no-unsafe-finally
      return errors;
    }
  }
docs: -- processors ---------------------------------------------------------------