lib/lbt/utils/ModuleName.js
function fromUI5LegacyName(name, suffix) {
	// UI5 only supports a few names with dots in them, anything else will be converted to slashes
	if ( name.startsWith("sap.ui.thirdparty.jquery.jquery-") ) {
		name = "sap/ui/thirdparty/jquery/jquery-" + name.slice("sap.ui.thirdparty.jquery.jquery-".length);
	} else if ( name.startsWith("jquery.sap.") || name.startsWith("jquery-") ) {
		// do nothing
	} else {
		name = name.replace(/\./g, "/");
	}
	return name + (suffix || ".js");
}
function fromUI5LegacyName(name, suffix) {
	// UI5 only supports a few names with dots in them, anything else will be converted to slashes
	if ( name.startsWith("sap.ui.thirdparty.jquery.jquery-") ) {
		name = "sap/ui/thirdparty/jquery/jquery-" + name.slice("sap.ui.thirdparty.jquery.jquery-".length);
	} else if ( name.startsWith("jquery.sap.") || name.startsWith("jquery-") ) {
		// do nothing
	} else {
		name = name.replace(/\./g, "/");
	}
	return name + (suffix || ".js");
}
function fromUI5LegacyName ( name , suffix ) { // UI5 only supports a few names with dots in them, anything else will be converted to slashes if ( name . startsWith ( "sap.ui.thirdparty.jquery.jquery-" ) ) { name = "sap/ui/thirdparty/jquery/jquery-" + name . slice ( "sap.ui.thirdparty.jquery.jquery-" . length ) ; } else if ( name . startsWith ( "jquery.sap." ) || name . startsWith ( "jquery-" ) ) { // do nothing } else { name = name . replace ( / \. / g , "/" ) ; } return name + ( suffix || ".js" ) ; }
Creates a ModuleName from a string in UI5 module name syntax.

@private
@param {string} name String that represents a UI5 module name (dot separated)
@param {string} [suffix='.js'] Suffix to add to the resulting resource name
@returns {string} URN representing the same resource
Creates a ModuleName from a string in UI5 module name syntax .