whole_func_string: function cleanVersionPair (nameVersion) {
    check.verify.array(nameVersion, 'expected an array')
    console.assert(nameVersion.length === 2,
          'expected 2 items, name and version ' + nameVersion)
    var name = nameVersion[0]
    check.verify.string(name, 'could not get module name from ' + nameVersion)
  
    var version = nameVersion[1]
    check.verify.string(version, 'could not get module version from ' + nameVersion)
    version = cleanVersion(version, name)
    if (!version) {
      return
    }
  
    nameVersion[1] = version
    return nameVersion
  }
func_code_string: function cleanVersionPair (nameVersion) {
    check.verify.array(nameVersion, 'expected an array')
    console.assert(nameVersion.length === 2,
          'expected 2 items, name and version ' + nameVersion)
    var name = nameVersion[0]
    check.verify.string(name, 'could not get module name from ' + nameVersion)
  
    var version = nameVersion[1]
    check.verify.string(version, 'could not get module version from ' + nameVersion)
    version = cleanVersion(version, name)
    if (!version) {
      return
    }
  
    nameVersion[1] = version
    return nameVersion
  }
func_documentation_string: eslint-disable-next-line no-unused-vars