@telia-ace/alliance-internal-node-utilities 1.1.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@ var uD=Object.create;var $=Object.defineProperty;var FD=Object.getOwnPropertyDes
20
20
  `+e.join(`
21
21
  `):""),u.type==="trace"){let g=new Error("Trace: "+u.message);c+=this.formatStack(g.stack||"")}return s?`
22
22
  `+c+`
23
- `:c}};function v(t){return t.replace(/`([^`]+)`/gm,(u,F)=>a.cyan(F)).replace(/\s+_([^_]+)_\s+/gm,(u,F)=>` ${a.underline(F)} `)}function YD(t="white"){return a[t]||a.white}function VD(t="bgWhite"){return a[`bg${t[0].toUpperCase()}${t.slice(1)}`]||a.bgWhite}function zD(t={}){let u=ZD();return process.env.CONSOLA_LEVEL&&(u=Number.parseInt(process.env.CONSOLA_LEVEL)??u),U({level:u,defaults:{level:u},stdout:process.stdout,stderr:process.stderr,prompt:(...r)=>import("./prompt-BYZI7XXW.js").then(e=>e.prompt(...r)),reporters:t.reporters||[t.fancy??!(q||M)?new O:new m],...t})}function ZD(){return SD?C.debug:M?C.warn:C.info}var ou=zD();export{HD as a,KD as b,a as c,Du as d,ND as e,kD as f,ou as g};
23
+ `:c}};function v(t){return t.replace(/`([^`]+)`/gm,(u,F)=>a.cyan(F)).replace(/\s+_([^_]+)_\s+/gm,(u,F)=>` ${a.underline(F)} `)}function YD(t="white"){return a[t]||a.white}function VD(t="bgWhite"){return a[`bg${t[0].toUpperCase()}${t.slice(1)}`]||a.bgWhite}function zD(t={}){let u=ZD();return process.env.CONSOLA_LEVEL&&(u=Number.parseInt(process.env.CONSOLA_LEVEL)??u),U({level:u,defaults:{level:u},stdout:process.stdout,stderr:process.stderr,prompt:(...r)=>import("./prompt-LQKYOZP6.js").then(e=>e.prompt(...r)),reporters:t.reporters||[t.fancy??!(q||M)?new O:new m],...t})}function ZD(){return SD?C.debug:M?C.warn:C.info}var ou=zD();export{HD as a,KD as b,a as c,Du as d,ND as e,kD as f,ou as g};