lib/versioning/poetry/index.js
function poetry2npm(input) {
  const versions = input
    .split(',')
    .map(str => str.trim())
    .filter(notEmpty);
  return versions.join(' ');
}
function poetry2npm(input) {
  const versions = input
    .split(',')
    .map(str => str.trim())
    .filter(notEmpty);
  return versions.join(' ');
}
function poetry2npm ( input ) { const versions = input . split ( ',' ) . map ( str => str . trim ( ) ) . filter ( notEmpty ) ; return versions . join ( ' ' ) ; }
This function works like cargo2npm, but it doesn't add a '^', because poetry treats versions without operators as exact versions.
This function works like cargo2npm but it doesn t add a ^ because poetry treats versions without operators as exact versions .