client/assets/scripts/services/search.js
function (items) {
        if (!config.ignoreDeprecatedPackages) {
          return items;
        }
        var list = _.filter(items, function (item) {
          // Ignore packages
          if (ignore.indexOf(item.name) !== -1) {
            return false;
          }
          // Limit to whitelisted packages
          if (whitelist[item.website] && item.name !== whitelist[item.website]) {
            return false;
          }
          return true;
        });
        return list;
      }
function (items) {
        if (!config.ignoreDeprecatedPackages) {
          return items;
        }
        var list = _.filter(items, function (item) {
          // Ignore packages
          if (ignore.indexOf(item.name) !== -1) {
            return false;
          }
          // Limit to whitelisted packages
          if (whitelist[item.website] && item.name !== whitelist[item.website]) {
            return false;
          }
          return true;
        });
        return list;
      }
function ( items ) { if ( ! config . ignoreDeprecatedPackages ) { return items ; } var list = _ . filter ( items , function ( item ) { // Ignore packages if ( ignore . indexOf ( item . name ) !== - 1 ) { return false ; } // Limit to whitelisted packages if ( whitelist [ item . website ] && item . name !== whitelist [ item . website ] ) { return false ; } return true ; } ) ; return list ; }
Exclude ignoring packages
Exclude ignoring packages