/* Socket Lib - Built with esbuild */
var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(r,t)=>{for(var n in t)s(r,n,{get:t[n],enumerable:!0})},T=(r,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of a(t))!d.call(r,e)&&e!==n&&s(r,e,{get:()=>t[e],enumerable:!(c=f(t,e))||c.enumerable});return r};var g=r=>T(s({},"__esModule",{value:!0}),r);var Y={};p(Y,{clearLine:()=>x,cursorTo:()=>w,getColumns:()=>v,getRows:()=>b,isTTY:()=>l,stderr:()=>o,writeError:()=>m,writeErrorFormatted:()=>u,writeErrorLine:()=>i,writeStackTrace:()=>$,writeWarning:()=>E});module.exports=g(Y);const o=process.stderr;function i(r=""){o.write(`${r}
`)}function m(r){o.write(r)}function x(){o.isTTY&&(o.cursorTo(0),o.clearLine(0))}function w(r,t){o.isTTY&&o.cursorTo(r,t)}function l(){return o.isTTY||!1}function v(){return o.columns||80}function b(){return o.rows||24}function E(r,t="Warning"){const n=`${t}: ${r}`;i(n)}function u(r,t="Error"){const n=`${t}: ${r}`;i(n)}function $(r){r.stack?i(r.stack):u(r.message)}0&&(module.exports={clearLine,cursorTo,getColumns,getRows,isTTY,stderr,writeError,writeErrorFormatted,writeErrorLine,writeStackTrace,writeWarning});
//# sourceMappingURL=stderr.js.map
