"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.mergeDependenciesInOrder=void 0;const e=require("../../../common/message");exports.mergeDependenciesInOrder=function(r,o,s){const n={};for(const t of["prod","dev","dynamic"]){const c=s[t];Object.keys(c).forEach((s=>{const d=c[s];if(s===r)throw new Error((0,e.format)(e.Messages.DepBuilder.SameAsThePkgName,{name:r,version:o,depName:s,depVersion:d}));n[s]={depType:t,spec:d}}))}return n};