whole_func_string: function filterVersions (fromVersion, toVersion) {
      var diff = semver.diff(fromVersion, toVersion)
      // console.log(availableUpdate.name, 'difference from', fromVersion, 'to', toVersion, diff);
      return isAllowed(diff)
    }
func_code_string: function filterVersions (fromVersion, toVersion) {
      var diff = semver.diff(fromVersion, toVersion)
      // console.log(availableUpdate.name, 'difference from', fromVersion, 'to', toVersion, diff);
      return isAllowed(diff)
    }
func_documentation_string: console.log('filtering available updates', available); console.log('current versions', current);