lib/services/db-operations.js
function replacePropagatingVersions(uri, data) {
  if (references.isPropagatingVersion(uri)) {
    references.replaceAllVersions(uri.split('@')[1])(data);
  }

  return data;
}
function replacePropagatingVersions(uri, data) {
  if (references.isPropagatingVersion(uri)) {
    references.replaceAllVersions(uri.split('@')[1])(data);
  }

  return data;
}
function replacePropagatingVersions ( uri , data ) { if ( references . isPropagatingVersion ( uri ) ) { references . replaceAllVersions ( uri . split ( '@' ) [ 1 ] ) ( data ) ; } return data ; }
If the ref has a version that is "propagating" like @published or @latest, replace all versions in the data
with the new version (in-place).
@param {string} uri
@param {object} data
@returns {object}
If the ref has a version that is propagating like