temporary
This commit is contained in:
15
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/LICENSE
generated
vendored
Normal file
15
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/LICENSE
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
ISC License
|
||||
|
||||
Copyright (c) 2025, webdiscus
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
5
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/README.md
generated
vendored
Normal file
5
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/README.md
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Ansis
|
||||
|
||||
ANSI color library - [Docs](../../)
|
||||
|
||||

|
||||
1
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.cjs
generated
vendored
Normal file
1
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.cjs
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
let e,t,r,{defineProperty:l,setPrototypeOf:n,create:o,keys:s}=Object,i="",{round:c,max:a}=Math,p=e=>{let t=/([a-f\d]{3,6})/i.exec(e)?.[1],r=t?.length,l=parseInt(6^r?3^r?"0":t[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t,16);return[l>>16&255,l>>8&255,255&l]},u=(e,t,r)=>e^t||t^r?16+36*c(e/51)+6*c(t/51)+c(r/51):8>e?16:e>248?231:c(24*(e-8)/247)+232,d=e=>{let t,r,l,n,o;return 8>e?30+e:16>e?e-8+90:(232>e?(o=(e-=16)%36,t=(e/36|0)/5,r=(o/6|0)/5,l=o%6/5):t=r=l=(10*(e-232)+8)/255,n=2*a(t,r,l),n?30+(c(l)<<2|c(r)<<1|c(t))+(2^n?0:60):30)},f=(()=>{let r=e=>o.some((t=>e.test(t))),l=globalThis,n=l.process??{},o=n.argv??[],i=n.env??{},c=-1;try{e=","+s(i).join(",")}catch(e){i={},c=0}let a="FORCE_COLOR",p={false:0,0:0,1:1,2:2,3:3}[i[a]]??-1,u=a in i&&p||r(/^--color=?(true|always)?$/);return u&&(c=p),~c||(c=((r,l,n)=>(t=r.TERM,{"24bit":3,truecolor:3,ansi256:2,ansi:1}[r.COLORTERM]||(r.CI?/,GITHUB/.test(e)?3:1:l&&"dumb"!==t?n?3:/-256/.test(t)?2:1:0)))(i,!!i.PM2_HOME||i.NEXT_RUNTIME?.includes("edge")||!!n.stdout?.isTTY,"win32"===n.platform)),!p||i.NO_COLOR||r(/^--(no-color|color=(false|never))$/)?0:l.window?.chrome||u&&!c?3:c})(),g={open:i,close:i},h=39,b=49,O={},m=({p:e},{open:t,close:l})=>{let o=(e,...r)=>{if(!e){if(t&&t===l)return t;if((e??i)===i)return i}let n,s=e.raw?String.raw({raw:e},...r):i+e,c=o.p,a=c.o,p=c.c;if(s.includes(""))for(;c;c=c.p){let{open:e,close:t}=c,r=t.length,l=i,o=0;if(r)for(;~(n=s.indexOf(t,o));o=n+r)l+=s.slice(o,n)+e;s=l+s.slice(o)}return a+(s.includes("\n")?s.replace(/(\r?\n)/g,p+"$1"+a):s)+p},s=t,c=l;return e&&(s=e.o+t,c=l+e.c),n(o,r),o.p={open:t,close:l,o:s,c,p:e},o.open=s,o.close=c,o};const w=new function e(t=f){let s={Ansis:e,level:t,isSupported:()=>a,strip:e=>e.replace(/[][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,i),extend(e){for(let t in e){let r=e[t],l=(typeof r)[0];"s"===l?(c(t,T(...p(r))),c(_(t),v(...p(r)))):c(t,r,"f"===l)}return r=o({},O),n(s,r),s}},c=(e,t,r)=>{O[e]={get(){let n=r?(...e)=>m(this,t(...e)):m(this,t);return l(this,e,{value:n}),n}}},a=t>0,w=(e,t)=>a?{open:`[${e}m`,close:`[${t}m`}:g,y=e=>t=>e(...p(t)),R=(e,t)=>(r,l,n)=>w(`${e}8;2;${r};${l};${n}`,t),$=(e,t)=>(r,l,n)=>w(((e,t,r)=>d(u(e,t,r)))(r,l,n)+e,t),x=e=>(t,r,l)=>e(u(t,r,l)),T=R(3,h),v=R(4,b),C=e=>w("38;5;"+e,h),E=e=>w("48;5;"+e,b);2===t?(T=x(C),v=x(E)):1===t&&(T=$(0,h),v=$(10,b),C=e=>w(d(e),h),E=e=>w(d(e)+10,b));let M,I={fg:C,bg:E,rgb:T,bgRgb:v,hex:y(T),bgHex:y(v),visible:g,reset:w(0,0),bold:w(1,22),dim:w(2,22),italic:w(3,23),underline:w(4,24),inverse:w(7,27),hidden:w(8,28),strikethrough:w(9,29)},_=e=>"bg"+e[0].toUpperCase()+e.slice(1),k="Bright";return"black,red,green,yellow,blue,magenta,cyan,white,gray".split(",").map(((e,t)=>{M=_(e),8>t?(I[e+k]=w(90+t,h),I[M+k]=w(100+t,b)):t=60,I[e]=w(30+t,h),I[M]=w(40+t,b)})),s.extend(I)};module.exports=w,w.default=w;
|
||||
1
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.d.ts
generated
vendored
Normal file
1
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
type N=number;type S=string;type C='red'|'green'|'yellow'|'blue'|'magenta'|'cyan'|'white';type H=`${C}Bright`;export type AnsiColors='black'|'gray'|C|H|`bg${'Black'|'Gray'|Capitalize<C|H>}`;export type AnsiStyles='reset'|'inverse'|'hidden'|'visible'|'bold'|'dim'|'italic'|'underline'|'strikethrough';type Q=(n:N)=>A;type L=(s:S)=>A;type R=(r:N,g:N,b:N)=>A;type A=Ansis;type Ansis={level:N;open:S;close:S;(v:unknown):S;(s:TemplateStringsArray,...v:any[]):S;fg:Q;bg:Q;rgb:R;bgRgb:R;hex:L;bgHex:L;isSupported():boolean;strip(s:S):S;extend<U extends S>(c:Record<U,S|{open:S;close:S}>):A&Record<U|`bg${Capitalize<U>}`,A>}&{[K in AnsiStyles|AnsiColors]:A};declare const Ansis:new (n?:N)=>A,a:A,fg:Q,rgb:R,hex:L;export{a as default,Ansis,fg,fg as bg,rgb,rgb as bgRgb,hex,hex as bgHex,a as reset,a as inverse,a as hidden,a as visible,a as bold,a as dim,a as italic,a as underline,a as strikethrough,a as black,a as red,a as green,a as yellow,a as blue,a as magenta,a as cyan,a as white,a as gray,a as redBright,a as greenBright,a as yellowBright,a as blueBright,a as magentaBright,a as cyanBright,a as whiteBright,a as bgBlack,a as bgRed,a as bgGreen,a as bgYellow,a as bgBlue,a as bgMagenta,a as bgCyan,a as bgWhite,a as bgGray,a as bgRedBright,a as bgGreenBright,a as bgYellowBright,a as bgBlueBright,a as bgMagentaBright,a as bgCyanBright,a as bgWhiteBright};
|
||||
1
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.mjs
generated
vendored
Normal file
1
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/index.mjs
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
import a from"./index.cjs";export default a;export const{Ansis,fg,bg,rgb,bgRgb,hex,bgHex,reset,inverse,hidden,visible,bold,dim,italic,underline,strikethrough,black,red,green,yellow,blue,magenta,cyan,white,gray,redBright,greenBright,yellowBright,blueBright,magentaBright,cyanBright,whiteBright,bgBlack,bgRed,bgGreen,bgYellow,bgBlue,bgMagenta,bgCyan,bgWhite,bgGray,bgRedBright,bgGreenBright,bgYellowBright,bgBlueBright,bgMagentaBright,bgCyanBright,bgWhiteBright}=a;
|
||||
19
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/package.json
generated
vendored
Normal file
19
node_modules/.pnpm/ansis@4.2.0/node_modules/ansis/package.json
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name":"ansis",
|
||||
"version":"4.2.0",
|
||||
"description":"ANSI color lib",
|
||||
"keywords":["ansi","colors","cli"],
|
||||
"license":"ISC",
|
||||
"author":"webdiscus",
|
||||
"repository":"webdiscus/ansis",
|
||||
"type":"module",
|
||||
"exports":{
|
||||
".":{
|
||||
"types":"./index.d.ts",
|
||||
"require":"./index.cjs",
|
||||
"import":"./index.mjs"
|
||||
}
|
||||
},
|
||||
"sideEffects":false,
|
||||
"engines":{"node":">=14"}
|
||||
}
|
||||
Reference in New Issue
Block a user