bower-locker-common.js
function mapDependencyData(bowerInfo) {
    return {
        name: bowerInfo.name,
        commit: bowerInfo._resolution !== undefined ? bowerInfo._resolution.commit : undefined,
        release: bowerInfo._release,
        src: bowerInfo._source,
        originalSrc: bowerInfo._originalSource
    };
}
function mapDependencyData(bowerInfo) {
    return {
        name: bowerInfo.name,
        commit: bowerInfo._resolution !== undefined ? bowerInfo._resolution.commit : undefined,
        release: bowerInfo._release,
        src: bowerInfo._source,
        originalSrc: bowerInfo._originalSource
    };
}
function mapDependencyData ( bowerInfo ) { return { name : bowerInfo . name , commit : bowerInfo . _resolution !== undefined ? bowerInfo . _resolution . commit : undefined , release : bowerInfo . _release , src : bowerInfo . _source , originalSrc : bowerInfo . _originalSource } ; }
Function to pull out and map the specific bower component metadata to our preferred form
@param {Object} bowerInfo
@returns {{name: String, commit: String, release: String, src: String, originalSrc: String}}
Function to pull out and map the specific bower component metadata to our preferred form