nl_tokens: existingVersionStrings is just an array of strings : [ - 7 - 8 ] or [ 9 ] or [ v8 . 10 ] returns an index
pl_tokens: function ( existingVersionStrings , newVersion , newCodeName , versionOnly = false ) { if ( ! existingVersionStrings || existingVersionStrings . <mask> === 0 ) return - 1 return existingVersionStrings . findIndex ( ( version ) => { return hasNodeVersion ( version , newVersion , newCodeName , versionOnly ) } ) }