tempest.games 0.2.75 → 0.2.76
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.
- package/CHANGELOG.md +8 -0
- package/app/assets/{index-II0hvKAD.js → index-C1BYFcMH.js} +1 -1
- package/app/index.html +1 -1
- package/bin/backend.bun.js +500 -631
- package/bin/backend.worker.tribunal.bun.js +290 -290
- package/bin/frontend.bun.js +186 -186
- package/bin/setup-db.bun.js +155 -155
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -23,7 +23,7 @@ Error generating stack: `+l.message+`
|
|
|
23
23
|
Source: (${t.slice(0,-1)}) => {
|
|
24
24
|
${t[t.length-1]}
|
|
25
25
|
}`)}}};class Hr{constructor(e,...[n]){return Object.assign(Object.setPrototypeOf(e.bind(n?.bind??this),this.constructor.prototype),n?.attach)}}const hN=fN(()=>{try{return new Function("return false")()}catch{return!0}});class Si{constructor(){}}var pN={};const mN=()=>{try{return((new Error().stack?.split(`
|
|
26
|
-
`)[2]?.trim()||"").match(/\(?(.+?)(?::\d+:\d+)?\)?$/)?.[1]||"unknown").replace(/^file:\/\//,"")}catch{return"unknown"}},yN=pN??{},gN={fileName:mN,env:yN},bN=t=>t[0].toUpperCase()+t.slice(1),WT=t=>new RegExp(vN(t),typeof t=="string"?"":t.flags),vN=t=>`^(?:${typeof t=="string"?t:t.source})$`,kr={negativeLookahead:t=>`(?!${t})`,nonCapturingGroup:t=>`(?:${t})`},tl="\\",wf={" ":1,"\n":1," ":1},SN=/^-0\.?0*$/.source,eA=/[1-9]\d*/.source,wN=/\.\d+/.source,xN=/\.\d*[1-9]/.source,tA=t=>WT(kr.negativeLookahead(SN)+kr.nonCapturingGroup("-?"+kr.nonCapturingGroup(kr.nonCapturingGroup("0|"+eA)+kr.nonCapturingGroup(t.decimalPattern)+"?")+(t.allowDecimalOnly?"|"+t.decimalPattern:"")+"?")),gw=tA({decimalPattern:xN,allowDecimalOnly:!1}),TN=gw.test.bind(gw),nm=tA({decimalPattern:wN,allowDecimalOnly:!0});nm.test.bind(nm);const AN=/^-?\d*\.?\d*$/,EN=t=>t.length!==0&&AN.test(t),Gc=WT(kr.negativeLookahead("^-0$")+"-?"+kr.nonCapturingGroup(kr.nonCapturingGroup("0|"+eA))),ON=Gc.test.bind(Gc),im=/^-?\d+$/,_N=im.test.bind(im),nA={number:"a number",bigint:"a bigint",integer:"an integer"},iA=(t,e)=>`'${t}' was parsed as ${nA[e]} but could not be narrowed to a literal value. Avoid unnecessary leading or trailing zeros and other abnormal notation`,RN=(t,e)=>e==="number"?TN(t):ON(t),CN=(t,e)=>e==="number"?Number(t):Number.parseInt(t),kN=(t,e)=>e==="number"?EN(t):_N(t),MN=(t,e)=>Ay(t,"number",e),DN=(t,e)=>Ay(t,"number",{...e,strict:!0}),NN=(t,e)=>Ay(t,"integer",e),Ay=(t,e,n)=>{const r=CN(t,e);return!Number.isNaN(r)&&kN(t,e)?n?.strict?RN(t,e)?r:Y(iA(t,e)):r:n?.errorOnFail?Y(n?.errorOnFail===!0?`Failed to parse ${nA[e]} from '${t}'`:n?.errorOnFail):void 0},$N=t=>{if(t[t.length-1]!=="n")return;const e=t.slice(0,-1);let n;try{n=BigInt(e)}catch{return}if(Gc.test(e))return n;if(im.test(e))return Y(iA(t,"bigint"))},jN="0.
|
|
26
|
+
`)[2]?.trim()||"").match(/\(?(.+?)(?::\d+:\d+)?\)?$/)?.[1]||"unknown").replace(/^file:\/\//,"")}catch{return"unknown"}},yN=pN??{},gN={fileName:mN,env:yN},bN=t=>t[0].toUpperCase()+t.slice(1),WT=t=>new RegExp(vN(t),typeof t=="string"?"":t.flags),vN=t=>`^(?:${typeof t=="string"?t:t.source})$`,kr={negativeLookahead:t=>`(?!${t})`,nonCapturingGroup:t=>`(?:${t})`},tl="\\",wf={" ":1,"\n":1," ":1},SN=/^-0\.?0*$/.source,eA=/[1-9]\d*/.source,wN=/\.\d+/.source,xN=/\.\d*[1-9]/.source,tA=t=>WT(kr.negativeLookahead(SN)+kr.nonCapturingGroup("-?"+kr.nonCapturingGroup(kr.nonCapturingGroup("0|"+eA)+kr.nonCapturingGroup(t.decimalPattern)+"?")+(t.allowDecimalOnly?"|"+t.decimalPattern:"")+"?")),gw=tA({decimalPattern:xN,allowDecimalOnly:!1}),TN=gw.test.bind(gw),nm=tA({decimalPattern:wN,allowDecimalOnly:!0});nm.test.bind(nm);const AN=/^-?\d*\.?\d*$/,EN=t=>t.length!==0&&AN.test(t),Gc=WT(kr.negativeLookahead("^-0$")+"-?"+kr.nonCapturingGroup(kr.nonCapturingGroup("0|"+eA))),ON=Gc.test.bind(Gc),im=/^-?\d+$/,_N=im.test.bind(im),nA={number:"a number",bigint:"a bigint",integer:"an integer"},iA=(t,e)=>`'${t}' was parsed as ${nA[e]} but could not be narrowed to a literal value. Avoid unnecessary leading or trailing zeros and other abnormal notation`,RN=(t,e)=>e==="number"?TN(t):ON(t),CN=(t,e)=>e==="number"?Number(t):Number.parseInt(t),kN=(t,e)=>e==="number"?EN(t):_N(t),MN=(t,e)=>Ay(t,"number",e),DN=(t,e)=>Ay(t,"number",{...e,strict:!0}),NN=(t,e)=>Ay(t,"integer",e),Ay=(t,e,n)=>{const r=CN(t,e);return!Number.isNaN(r)&&kN(t,e)?n?.strict?RN(t,e)?r:Y(iA(t,e)):r:n?.errorOnFail?Y(n?.errorOnFail===!0?`Failed to parse ${nA[e]} from '${t}'`:n?.errorOnFail):void 0},$N=t=>{if(t[t.length-1]!=="n")return;const e=t.slice(0,-1);let n;try{n=BigInt(e)}catch{return}if(Gc.test(e))return n;if(im.test(e))return Y(iA(t,"bigint"))},jN="0.55.0",BN={version:jN,filename:gN.fileName(),FileConstructor:XT},Cl=BN,bw=new Map,cp=Object.create(null),rm=t=>{const e=bw.get(t);if(e)return e;let n=zN(t);return cp[n]?n=`${n}${cp[n]++}`:cp[n]=1,Cl[n]=t,bw.set(t,n),n},ml=t=>/^[$A-Z_a-z][\w$]*$/.test(t),zN=t=>{switch(typeof t){case"object":{if(t===null)break;const e=xy(t)??"object";return e[0].toLowerCase()+e.slice(1)}case"function":return ml(t.name)?t.name:"fn";case"symbol":return t.description&&ml(t.description)?t.description:"symbol"}return Rt(`Unexpected attempt to register serializable value of type ${ti(t)}`)},Ey=t=>typeof t=="string"?JSON.stringify(t):typeof t=="bigint"?`${t}n`:`${t}`,LN=(t,e={})=>nl(t,{onUndefined:"$ark.undefined",onBigInt:n=>`$ark.bigint-${n}`,...e},[]),Ie=(t,e)=>{switch(ti(t)){case"object":const n=t,r=n.constructor.name;return r==="Object"||r==="Array"?e?.quoteKeys===!1?Yc(n,e?.indent??0,""):JSON.stringify(nl(n,Ko,[]),null,e?.indent):Yc(n,e?.indent??0,"");case"symbol":return Ko.onSymbol(t);default:return Ey(t)}},Yc=(t,e,n)=>{if(typeof t=="function")return Ko.onFunction(t);if(typeof t!="object"||t===null)return Ey(t);const r=n+" ".repeat(e);if(Array.isArray(t)){if(t.length===0)return"[]";const u=t.map(c=>Yc(c,e,r)).join(`,
|
|
27
27
|
`+r);return e?`[
|
|
28
28
|
${r}${u}
|
|
29
29
|
${n}]`:`[${u}]`}const a=t.constructor.name;if(a==="Object"){const u=Fc(t).map(([c,f])=>{const h=typeof c=="symbol"?Ko.onSymbol(c):ml(c)?c:JSON.stringify(c),m=Yc(f,e,r);return`${r}${h}: ${m}`});return u.length===0?"{}":e?`{
|
package/app/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>TEMPEST</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-C1BYFcMH.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-DZ_4vJcE.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|