"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getUpdateType = getUpdateType;
function getUpdateType(config, versioning, currentVersion, newVersion) {
    if (versioning.getMajor(newVersion) > versioning.getMajor(currentVersion)) {
        return 'major';
    }
    if (versioning.getMinor(newVersion) > versioning.getMinor(currentVersion)) {
        return 'minor';
    }
    return 'patch';
}
//# sourceMappingURL=update-type.js.map