From 85581bc459769eb0f3792a136221264e46b8b223 Mon Sep 17 00:00:00 2001 From: Joydip Roy <112172822+rjoydip@users.noreply.github.com> Date: Sun, 1 Sep 2024 00:37:17 +0530 Subject: [PATCH] feat: Implement linter (#2) * chore: all file formatted * chore: added linter * chore: refactor ci.yaml * chore: pr title checker config * chore: update pr checker config file * chore: log and other minor change * chore: ci install packages * chore: remove log from formatter file --- .github/pr-checker.json | 17 + .github/workflows/ci.yaml | 31 +- .../1276209554279108745/biome.json | 18 + .../runtime-bun/1276209554279108745/bun.lockb | Bin 4162 -> 7672 bytes .../1276209554279108745/package.json | 34 +- .../1276209554279108745/src/http.ts | 24 +- .../1276209554279108745/src/index.test.ts | 20 +- .../1276209554279108745/src/index.ts | 6 +- .../1276209554279108745/tsconfig.json | 12 +- .../1275791703797927959/readme.md | 4 +- .../1276699964776513628/.vscode/settings.json | 2 +- .../1276699964776513628/deno.json | 2 +- .../runtime-deno/1276699964776513628/main.ts | 41 +- .../1276699964776513628/readme.md | 17 +- hono/github/runtime-bun/3242/biome.json | 18 + hono/github/runtime-bun/3242/bun.lockb | Bin 1216 -> 4718 bytes hono/github/runtime-bun/3242/package.json | 20 +- .../github/runtime-bun/3242/src/index.test.ts | 10 +- hono/github/runtime-bun/3242/src/index.ts | 10 +- hono/github/runtime-bun/3271/biome.json | 18 + hono/github/runtime-bun/3271/bun.lockb | Bin 3026 -> 6520 bytes hono/github/runtime-bun/3271/package.json | 28 +- .../github/runtime-bun/3271/src/index.test.ts | 34 +- hono/github/runtime-bun/3271/src/index.ts | 27 +- hono/github/runtime-bun/3271/tsconfig.json | 12 +- hono/github/runtime-deno/3254/app.bench.ts | 12 +- hono/github/runtime-deno/3254/app.test.ts | 2 +- hono/github/runtime-deno/3254/app.ts | 20 +- hono/github/runtime-deno/3254/readme.md | 10 +- .../runtime-node/3275/client/package.json | 93 +- .../runtime-node/3275/client/pnpm-lock.yaml | 1032 ++++------------- .../app/components/ui/button/button.svelte | 14 +- .../src/app/components/ui/button/index.ts | 43 +- .../3275/client/src/app/routes/+page.svelte | 25 +- .../runtime-node/3275/client/vite.config.ts | 4 +- .../runtime-node/3275/server/api/index.ts | 18 +- .../runtime-node/3275/server/biome.json | 18 + .../runtime-node/3275/server/package.json | 34 +- .../runtime-node/3275/server/pnpm-lock.yaml | 91 ++ .../runtime-node/3275/server/tsconfig.json | 18 +- .../runtime-node/3275/server/vercel.json | 14 +- neverthrow/runtime-deno/564/main.ts | 14 +- neverthrow/runtime-deno/564/main_test.ts | 14 +- readme.md | 7 + scripts/_runCheck.ts | 50 + scripts/_runFormat.ts | 49 + scripts/_runInstall.ts | 19 +- scripts/_runLint.ts | 49 + scripts/_runTest.ts | 5 +- scripts/deno.lock | 1 + scripts/types.ts | 23 + scripts/utils.ts | 71 +- 52 files changed, 989 insertions(+), 1166 deletions(-) create mode 100644 .github/pr-checker.json create mode 100644 hono/discord/runtime-bun/1276209554279108745/biome.json create mode 100644 hono/github/runtime-bun/3242/biome.json create mode 100644 hono/github/runtime-bun/3271/biome.json create mode 100644 hono/github/runtime-node/3275/server/biome.json create mode 100644 scripts/_runCheck.ts create mode 100644 scripts/_runFormat.ts create mode 100644 scripts/_runLint.ts create mode 100644 scripts/types.ts diff --git a/.github/pr-checker.json b/.github/pr-checker.json new file mode 100644 index 0000000..e19c902 --- /dev/null +++ b/.github/pr-checker.json @@ -0,0 +1,17 @@ +{ + "LABEL": { + "name": "title needs formatting", + "color": "EEEEEE" + }, + "CHECKS": { + "prefixes": [], + "regexp": "(?build|chore|ci|docs|feat|fix|modified|perf|refactor|revert|style|test)(?(?:\\([^()\r\n]*\\)|\\()?(?!)?:)(?:.*)?", + "regexpFlags": "i", + "ignoreLabels": ["meta"] + }, + "MESSAGES": { + "success": "All OK", + "failure": "Failing CI test", + "notice": "" + } + } \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 77551c7..1524b61 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,17 @@ on: branches: main jobs: + pr-checker: + name: ๐Ÿ”ƒ PR Checker + runs-on: ubuntu-latest + if: github.actor != 'dependabot[bot]' + steps: + - uses: thehanimo/pr-title-checker@v1.4.0 + with: + pass_on_octokit_error: false + configuration_path: .github/pr-checker.json + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + verify: name: โ˜‘๏ธ Verify runs-on: ubuntu-latest @@ -31,8 +42,24 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 + + - name: ๐ŸŸข Install Pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: ๐ŸŸข Install Yarn + run: npm install -g yarn - name: โŒ› Run Install - run: "deno run --allow-read --allow-env --allow-run scripts/_runInstall.ts" + run: deno run --allow-read --allow-env --allow-run scripts/_runInstall.ts + + - name: โœ Run Linter + run: | + deno run --allow-read --allow-env --allow-run --allow-sys scripts/_runFormat.ts + deno run --allow-read --allow-env --allow-run --allow-sys scripts/_runCheck.ts + deno run --allow-read --allow-env --allow-run --allow-sys scripts/_runLint.ts + - name: ๐Ÿงช Run Test - run: "deno run --allow-read --allow-env --allow-run scripts/_runTest.ts" + run: deno run --allow-read --allow-env --allow-run scripts/_runTest.ts + \ No newline at end of file diff --git a/hono/discord/runtime-bun/1276209554279108745/biome.json b/hono/discord/runtime-bun/1276209554279108745/biome.json new file mode 100644 index 0000000..6d14cd9 --- /dev/null +++ b/hono/discord/runtime-bun/1276209554279108745/biome.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true, + "defaultBranch": "main" + } +} diff --git a/hono/discord/runtime-bun/1276209554279108745/bun.lockb b/hono/discord/runtime-bun/1276209554279108745/bun.lockb index 26ccbaff3ff614546f018fbf7f011b75bb9e678f..694dbb72e05cd9d8d3a8f6e8858dbd369622ed05 100644 GIT binary patch literal 7672 zcmeHMd0bT07oUMABBFqSnYrMGpv(+2zzB&zs6dhuSY#+D$N>lW~QaaU@!_K%L+Ya+)n(A zcUZTnPB0;C$G5XqpK)sZMt$Y9^Cd}6fg@oM$QzxCq4_r*qj+{A0~F5;MwHl(z7G_O z#CT%@7YvFS23imFV9;8iy_gKf0MG|P4+LEgS{w8pMLP^*z}T4i>I?=L6JrnhZO{`z zzXe(cG;qeWf;*_oLB9$5BIu!@e^6-TL1FQ$>YQe*%n1*jkY#dc)`v^=`8zg_8nF5P zWZlYA@8;x-8YX94%vLo;-w(JFJEU%GJjZjh(a~wv1H?9YwQf64?Y*=k^6Q`iVM=mH z+R|L3!yj$2UwwF1<+vYr3Whl)1?8SeceWexvDMet`9~bGu0Ha%V;#^8x;d&|r}6Xc zqiwJ4PQN+SGN)zE_3Fpw!M}}DR|7ZuB;Xz`Ht@>zd@zhL13U$~ zA6(>3_W-542!0nlIRhRWv5mCjb5BCXRl%T{fX8^i`)BkvE(C83080fPvHjudjS##) zfTpV8A-8%Z1b-Cp?*LvOP-s8qcW;E?p8)<{z+>!(!-cvxLhv?lV*z-4Z-_-3dLslM z2{*)lE0sm1S@J5ihZhgRq1Kza{_`E*i4dA8C?!)}PfOqKw z{?IGpF-J5M7r7@Ia|3e$1vR8N?)CKE0DC?CO!Abh`9aW*V-4U!c~y0 z{He!ZRtO*FrRfykyPcY!zQ|E0@AQokb|Y(5c*#0Pv#I?D-M9T5G_sn$_ zUe$euk{dPzHb>`ooIY2nU#c$L-dafgu02_v zy^A_&a^O+KbiaGlgHd+#9r~&8!g5p!HL!F=VeaX?8#(ve{V!!#QEtuaVk_?_9Lb#B z;(J@Td-dD0_9&NQapTTSka2UHSG`yBg}C&}(UivET|*Bgg;(H5n#33PRw7jF>WQ~f z;}%|w{mpg2kE4G$Q}$1ggPt@cc1K(GSJmf63TvCT zHH6faUmsG`zuEj9LJM`4txIYk~?i5~6_;bcF``@q5<4qoGlNzky$K0Z~ z@6IXvt6R2SxRv19>T#R7-fK}<_Mo8#hZ6Ndo6i<|&&!cdpAhrw7m>X2 z^MTTf(ZkxO3`pU*r?#%!S?o9??CB=Wio8+U-|z8`9;h?)^4Wkg1#b)xs-AbKi4_l< zgX{X$-MuvDtGRPM3p^J*{B8L$qkAp>>n}JVc=Q_E|@;y9*lTkbuo_1MRA42nvbIIAW}`dQhOrAH>X z2z1o8#T{fJd4#8`Se~on+ z-?8C=llO)5PIfNEqJT!Z<<=XZfvq9W%up(f5{Ugx4J{0PLWBV#vA^nht)JWHV+ct&wn%$3~B zIT45R;CwhQ&QI(>jptS5$MYr5g&OBaJJ24q3++QY@hpQjpDXQMEE+IF$&rMBx`p^+1g-SadKI~!PemCBNIykWwIsGcQ_o0AV4UUNg~;zC80r5wpbFtfpHub{<1oAj4ca@>R~uN z8HRfIwB2fkn(D z^PXw-^N~QuGtHe8K9bPql04h4pn0}KX$vb8FyR#U;mnKuD XY&S<=iAtG=-JI-3)%mUY=l%W{>f!b0 delta 594 zcmexieMn(~o~G~goP$-L1W!NU+Pdl3uIxmUY)7k5rq$MGB5haBQ?Ff?!hX+aoI$%x68%=V1SCszW=x081QNuYXW^T`Jo zS?XDV_JA-5Ak$1hK08@;oDUgf>)U6pH zX{E_NA_iPDph6dTCNC4wn*2^gOd6yT6!>qn1s>gu`#Oh-G0srW&`8gaL3*;hXd|Ql z(); -http.post('/example', zValidator('query', z.object({ name: z.string() })), async (c) => { - await new Promise((resolve) => setTimeout(() => resolve(), 1)); // Removing this line prints "Hello" to the console. +http.post( + "/example", + zValidator("query", z.object({ name: z.string() })), + async (c) => { + await new Promise((resolve) => setTimeout(() => resolve(), 1)); // Removing this line prints "Hello" to the console. - if (c.env && c.env.incoming) c.env.incoming.pipe(process.stdout); + if (c.env?.incoming) c.env.incoming.pipe(process.stdout); - return c.json({ message: `Hello, ${c.req.query('name')}!` }, 200); -}); + return c.json({ message: `Hello, ${c.req.query("name")}!` }, 200); + }, +); -export { http } \ No newline at end of file +export { http }; diff --git a/hono/discord/runtime-bun/1276209554279108745/src/index.test.ts b/hono/discord/runtime-bun/1276209554279108745/src/index.test.ts index a2dadcb..b07c804 100644 --- a/hono/discord/runtime-bun/1276209554279108745/src/index.test.ts +++ b/hono/discord/runtime-bun/1276209554279108745/src/index.test.ts @@ -2,13 +2,15 @@ import { describe, expect, it } from "bun:test"; import { http } from "./http"; describe("@issue/3242", () => { - it("Should return 200 Response", async () => { - const name = 'hono' - const req = new Request(`http://localhost/example?name=${name}`); - const res = await http.request(req, { - method: 'POST' - }); - expect(await res.text()).toBe(JSON.stringify({ message: `Hello, ${name}!` })); - expect(res.status).toBe(200); - }); + it("Should return 200 Response", async () => { + const name = "hono"; + const req = new Request(`http://localhost/example?name=${name}`); + const res = await http.request(req, { + method: "POST", + }); + expect(await res.text()).toBe( + JSON.stringify({ message: `Hello, ${name}!` }), + ); + expect(res.status).toBe(200); + }); }); diff --git a/hono/discord/runtime-bun/1276209554279108745/src/index.ts b/hono/discord/runtime-bun/1276209554279108745/src/index.ts index d8fcdcc..df6d302 100644 --- a/hono/discord/runtime-bun/1276209554279108745/src/index.ts +++ b/hono/discord/runtime-bun/1276209554279108745/src/index.ts @@ -2,7 +2,7 @@ import { serve } from "@hono/node-server"; import { http } from "./http"; serve({ - fetch: http.fetch, - hostname: "127.0.0.1", - port: 1337, + fetch: http.fetch, + hostname: "127.0.0.1", + port: 1337, }); diff --git a/hono/discord/runtime-bun/1276209554279108745/tsconfig.json b/hono/discord/runtime-bun/1276209554279108745/tsconfig.json index c442b33..9c845ae 100644 --- a/hono/discord/runtime-bun/1276209554279108745/tsconfig.json +++ b/hono/discord/runtime-bun/1276209554279108745/tsconfig.json @@ -1,7 +1,7 @@ { - "compilerOptions": { - "strict": true, - "jsx": "react-jsx", - "jsxImportSource": "hono/jsx" - } -} \ No newline at end of file + "compilerOptions": { + "strict": true, + "jsx": "react-jsx", + "jsxImportSource": "hono/jsx" + } +} diff --git a/hono/discord/runtime-deno/1275791703797927959/readme.md b/hono/discord/runtime-deno/1275791703797927959/readme.md index cb0c2a2..a70e32f 100644 --- a/hono/discord/runtime-deno/1275791703797927959/readme.md +++ b/hono/discord/runtime-deno/1275791703797927959/readme.md @@ -6,8 +6,8 @@ It's possiable to send a Blob on the body. -Provided solution here [https://discord.com/channels/1011308539819597844/1275791703797927959/1277320939780178124](https://discord.com/channels/1011308539819597844/1275791703797927959/1277320939780178124) - +Provided solution here +[https://discord.com/channels/1011308539819597844/1275791703797927959/1277320939780178124](https://discord.com/channels/1011308539819597844/1275791703797927959/1277320939780178124) ## Setup diff --git a/hono/discord/runtime-deno/1276699964776513628/.vscode/settings.json b/hono/discord/runtime-deno/1276699964776513628/.vscode/settings.json index 963e37d..239bf86 100644 --- a/hono/discord/runtime-deno/1276699964776513628/.vscode/settings.json +++ b/hono/discord/runtime-deno/1276699964776513628/.vscode/settings.json @@ -4,4 +4,4 @@ ], "deno.enable": true, "editor.inlayHints.enabled": "off" -} \ No newline at end of file +} diff --git a/hono/discord/runtime-deno/1276699964776513628/deno.json b/hono/discord/runtime-deno/1276699964776513628/deno.json index 440afe9..07ac789 100644 --- a/hono/discord/runtime-deno/1276699964776513628/deno.json +++ b/hono/discord/runtime-deno/1276699964776513628/deno.json @@ -9,4 +9,4 @@ "jsx": "precompile", "jsxImportSource": "hono/jsx" } -} \ No newline at end of file +} diff --git a/hono/discord/runtime-deno/1276699964776513628/main.ts b/hono/discord/runtime-deno/1276699964776513628/main.ts index e0526ae..f5ccd28 100644 --- a/hono/discord/runtime-deno/1276699964776513628/main.ts +++ b/hono/discord/runtime-deno/1276699964776513628/main.ts @@ -1,38 +1,37 @@ -import { Env, Hono, Input, MiddlewareHandler, TypedResponse } from 'hono' -import { createMiddleware } from 'hono/factory' +import { Env, Hono, Input, MiddlewareHandler, TypedResponse } from "hono"; +import { createMiddleware } from "hono/factory"; interface Response { message: string; data: T; } -const app = new Hono() +const app = new Hono(); const authMiddleware = < E extends Env, P extends string, I extends Input, ->(message: string = 'Hello!'): MiddlewareHandler => { +>(message: string = "Hello!"): MiddlewareHandler => { return createMiddleware(async (c, next) => { - await next() - c.res.headers.append('X-Message', message) - c.body("") - }) -} + await next(); + c.res.headers.append("X-Message", message); + c.body(""); + }); +}; -app.get('/', authMiddleware(), (c) => { +app.get("/", authMiddleware(), (c) => { return c.json({ - message: 'Success', - data: 'Hello Hono!' - }) -}) + message: "Success", + data: "Hello Hono!", + }); +}); -app.post('/', (c): TypedResponse, 200> => { +app.post("/", (c): TypedResponse, 200> => { return c.json({ - message: 'Success', - data: 'Hello Hono!' - }) -}) - + message: "Success", + data: "Hello Hono!", + }); +}); -Deno.serve(app.fetch) +Deno.serve(app.fetch); diff --git a/hono/discord/runtime-deno/1276699964776513628/readme.md b/hono/discord/runtime-deno/1276699964776513628/readme.md index 47ba253..7b9a95f 100644 --- a/hono/discord/runtime-deno/1276699964776513628/readme.md +++ b/hono/discord/runtime-deno/1276699964776513628/readme.md @@ -4,24 +4,25 @@ ## Solution -Provided solution here [https://discord.com/channels/1011308539819597844/1276699964776513628/1277141663612928052](https://discord.com/channels/1011308539819597844/1276699964776513628/1277141663612928052) +Provided solution here +[https://discord.com/channels/1011308539819597844/1276699964776513628/1277141663612928052](https://discord.com/channels/1011308539819597844/1276699964776513628/1277141663612928052) ```ts -import { Hono, TypedResponse } from 'hono' +import { Hono, TypedResponse } from "hono"; interface Response { message: string; data: T; } -const app = new Hono() +const app = new Hono(); -app.get('/', (c): TypedResponse, 200> => { +app.get("/", (c): TypedResponse, 200> => { return c.json({ - message: 'success', - data: 'Hello Hono!' - }) -}) + message: "success", + data: "Hello Hono!", + }); +}); ``` ## Setup diff --git a/hono/github/runtime-bun/3242/biome.json b/hono/github/runtime-bun/3242/biome.json new file mode 100644 index 0000000..6d14cd9 --- /dev/null +++ b/hono/github/runtime-bun/3242/biome.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true, + "defaultBranch": "main" + } +} diff --git a/hono/github/runtime-bun/3242/bun.lockb b/hono/github/runtime-bun/3242/bun.lockb index 756d95400071558a8063a764e63290ae157889ee..d54eb8d9b302fbab674e43d2c1a211e56c8b95d0 100644 GIT binary patch literal 4718 zcmd^?2~bm46hJ=^F@~@?u5}@btYZ=gBtWHsaRdUWR8TvjUP zsHKX43JwL4x>XA@h*CvGr4%)aiilM!2neVY`(E;YmSQcKcBW(R%+HK1leGAq4rQmmMbNr zb2HJ+m;UQH)18}F5dBNHwRqHdIjy>D32p*nqEZO{Pg;(Smtr@dV+4s22}Rhz3_;`$ z1_&|)0ai%>v}h!a>Z4(MUvf_gB5`TK#JX8?b=9++jL!8n6^ zFn?d*xJVEGeZYT#9{ydxf1V!xJ|K`FJ^VBE^lt|KbM$z=6L?{PdiW=Qpg$}VSOf5a z0yV530vrJOPz`WpQUK2YQE|1=xC}PwWY#r#U7_g_t3%_Nd962brG8mk z_fFa2u;nuA*pAf1Z{Gw&^(3~_gLmU&$W#1(pJQu^Yinu`U7geQy}OAP7t1ePHm<*A zw4!=-1!-b!TZv=Y9S;GX_cS?JJUe8=Wtzi1IXlE~Sx}mziDfE{-7uUXGi5LCtRC04sSB&J*PXO5E+MRsrW9w91)QuMYZG z6enMPxid}4#VMI^Z^H!F#W36QlTZHP3;lw*SIdK0v**1CE}>5=qR3c8(%iiv zA)(hpmpp&C>bUKr?&#Eu;+h=%rRdC2iuL90`|D3k?K@P`bKtX0r@u)|iV9CiInE+R zY)82;55u*&t6JmJsndJ6KI(X~@Bqy>HYwLGpfyvnS>d+4%qEayZnz`;Fr``1-MW8- zrNO2yf6CGacGDatrU+Laxtn|2`~;d`m|N_h5aMz3T29`pID70=`q-mc(;bO#Zd{kY zb|tydEd6S7S{f6KLg})mZgzcTm~TQ@dZ=fvB)j>s!&$rAWf|-nci*-fpz0y|B|gtf3j~g55dl4@cN9@@ ztlawzTkfd+>_wm4EIsE=fV96 z?j_zRD`t>P$b($C9_SA_kO#TgxfVWe7s|^v1p^=i&&4!Gn9LnS%}}q`SvP9f2Vm!R zyn!>to#FyKu}%Ry*&7;!yHe;BR|HuLtgr{b&gwX|57r%Er+JM9>mRW5zQ$4wXt2}3 zIs%Oa>p`%dL1V$X6s)VzSg<|@>pL_Stkc0d6OH8&nk!7}7LSA@i06nYJ_%BeSQx<% zk&1ajE|cV}NvFFyoffd&0MdZ=XP{C*=AGY>cyHzA8!G`FA=rdtq|#-QPpMQfhs%>l z#fcQ*GC{0_A`)|{@HJ4$N<~)YpCaWZ!8Y>m9Ce=n5K0HK^7TT7+8)X0k@-BKEP*b7PMP?d_%oA^%4etMJz`_6qOcTT9 znW~s3R><&x_~p5(`!&~kg-kYJ^k8I|T*+uY*@2Nolo2Qe!Y}~lPoBxLee!0Gh{+|K zMqCG&AaYljCTDUxNd5Z{0U$xJMrMdK3-e?t9yKllDAxqURpJAw$bbqpF;6by(VD!8 pM~dqVROk%z(4VK9tcol&5O?D8Jo@~h{I(Z|<3;;i|JuUzM diff --git a/hono/github/runtime-bun/3242/package.json b/hono/github/runtime-bun/3242/package.json index 365d489..e04ae9d 100644 --- a/hono/github/runtime-bun/3242/package.json +++ b/hono/github/runtime-bun/3242/package.json @@ -1,9 +1,15 @@ { - "name": "@hono/github/issues-3242", - "scripts": { - "dev": "bun run --hot src/index.ts" - }, - "dependencies": { - "hono": "^4.5.4" - } + "name": "@hono/github/issues-3242", + "scripts": { + "dev": "bun run --hot src/index.ts", + "check": "bunx biome check --write .", + "format": "bunx biome format --write .", + "lint": "bunx biome lint --write ." + }, + "dependencies": { + "hono": "^4.5.4" + }, + "devDependencies": { + "@biomejs/biome": "1.8.3" + } } diff --git a/hono/github/runtime-bun/3242/src/index.test.ts b/hono/github/runtime-bun/3242/src/index.test.ts index 2576270..f252835 100644 --- a/hono/github/runtime-bun/3242/src/index.test.ts +++ b/hono/github/runtime-bun/3242/src/index.test.ts @@ -2,9 +2,9 @@ import { describe, expect, it } from "bun:test"; import app from "."; describe("@issue/3242", () => { - it("Should return 200 Response", async () => { - const req = new Request("http://localhost/index.html"); - const res = await app.fetch(req); - expect(res.status).toBe(200); - }); + it("Should return 200 Response", async () => { + const req = new Request("http://localhost/index.html"); + const res = await app.fetch(req); + expect(res.status).toBe(200); + }); }); diff --git a/hono/github/runtime-bun/3242/src/index.ts b/hono/github/runtime-bun/3242/src/index.ts index 6d80615..4720c3d 100644 --- a/hono/github/runtime-bun/3242/src/index.ts +++ b/hono/github/runtime-bun/3242/src/index.ts @@ -1,7 +1,7 @@ import { relative } from "node:path"; import { Hono } from "hono"; -import { expensesRoute } from "./routes/expenses"; import { serveStatic } from "hono/bun"; +import { expensesRoute } from "./routes/expenses"; const app = new Hono(); @@ -13,10 +13,10 @@ app.route("/api/expenses", expensesRoute); /* Working */ app.get( - "*", - serveStatic({ - root: `${relative(process.cwd(), __dirname)}/../client/dist/`, - }), + "*", + serveStatic({ + root: `${relative(process.cwd(), __dirname)}/../client/dist/`, + }), ); // app.get("*", serveStatic({ path: `${relative(process.cwd(), __dirname)}/client/dist/index.html` })); // fallback diff --git a/hono/github/runtime-bun/3271/biome.json b/hono/github/runtime-bun/3271/biome.json new file mode 100644 index 0000000..6d14cd9 --- /dev/null +++ b/hono/github/runtime-bun/3271/biome.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true, + "defaultBranch": "main" + } +} diff --git a/hono/github/runtime-bun/3271/bun.lockb b/hono/github/runtime-bun/3271/bun.lockb index 6260790b443affde16213f462683c00fa65c8ef3..ec0b4a8d0e12e05b347ee3038e6b8c4db15fac89 100644 GIT binary patch literal 6520 zcmeHLdtA)v8lP$;Q%NK&%OItgnHtR$+G^2-EUJ|iMVD!snhSI5ig8YN0VI(=lC;qwKs3v z);0Ns`@>=_8q?-^Hc2PG@OpBqKXd}=)ut#W|D#nzc?Q{mC{rlW60rmeJ>jEKD5^!E zdw{M0Z3^1LfI=|?T};%2!oI2`FzZ9m^Fa>;?E`uMXclNNM%9nd6wv*k+yFe*pw)y% z9+WuIh$8#FQ$DRQwm<4}LVZhs3R{!9VNR_EVV&-^QF1 zWN#7XE-bO#H#6OH*}f^)hJT;M>+iEMrsQ~@ug9QSuHT;J9+*&c`a!4%W0y(Hg~4|% z9&X+=#Qn_HybIQx;-+b5Z#)?j`}=SsLolOD0@Kn6I^GfHMFrgrzV4dZH~%8>zR;Be zc(eyU<2OS!JxKiLP#Uj?x9lYTXXrl;@K&H$J`?_!P5AF^@b>{fvkQ1{FxbBf_|1Ty-Ua;4 zF5)>5_@8uP{AGam>jJ*&E%6v87%TXppoUPQ;6BFKz)&$X6Qcz-{*Flk!}(srlxZc&P(PREB9bf5j^|4aE$0fI5=*<~lOsleC9bb_-JE7ZLR!Z{z4MUr+ z7Wws!YDmn{`Fd7e&RSAKCraC6Xa z2CG8mD^HkP_uZReDSBL36Z%=PVxmLJL>sl!dOcopAE7U(tvCACl`bx#530PI?{MI^ zu_6<}?W6$d)WFZH*!EXc;emz=rl&fXTCQS;*L3G9%){rjlxB2q= zR>a(l4=(uHLXzXuHJbZd%N51%crJ&6BrnLE_m*p z-xnRSz1bACszO@6)#OyvMytA&g|6Gwhlf4?XMXdJk5(W1Dj_j4G=9Y)U$d~bb!+pl z{(VecRIf~9jc!T5`Jf?a2irR)G23oR{YKfEI+uk9M)>h848KU*&AeXMRKKl##%1m^y z(6f=Z+_|pW)_p|eZh{x%!Ga_OO&wl*XhQ6YnqN}BSAI-Clxk>i0?TObr)EL_E;zz&3pU zzfbnP3tQeZm%ocC{mt>W2ecl@Bp#x9gr>R4q!CPkSSAk>3YlbDf%&PF$8)E%9qBSb zB2N-En(j;w6AJiZNtE8j)cT@LkQ~pwT7uJx_~(-5rWnI^2k2jr;9kQs1@C6ON0A!u zC%jAW+{ZH-dGXDKcLBa-@ZI4_@T)p74!$RF3>*u25KnTUMt&Rz$HQ@Pe6$1YLA$;q z#+cCu3LrGMIc#o-!WEpu)y~VQy>l?{LFOM!44jy*%rSt(QGi)RW-v?)g<*1@Os>nV zkU0)RgHUHChYA1glUWur+hGW7@Z&~g4Vf{~wV=Z>mqX@MbS-4Ihs?U@ zTF875nU~SEkQpN~bE9jS5944?iOlWjTF9&unf=kVWD)B~>h|$36lOAWPpy7F*I9*t#Jt?R5eTSx;eC4GxQ6t9ry$`G;(OyG(sp~2nAwAJR_d#+^#lG zARfbhsWvi93Jot+w^4*iMXw}zxt^eTxj}0SL!^)i+Zm)chNiJ2)7MQ;Gn57g-gs5D z&N-bU2EV;bOICKCRNpg%rTSH!Cv00s&GZRAy_(L`>8-*m9H|Ykj`~m+Pwgj*4(v3U ZHe}mP^sT70aoBE>?Wo#rnfLGae*qFe`Yr$f delta 532 zcmexibV+=Ip62;e!C#)Gu>88dnJa&{Z<8;Bo$$6fdkx<0WZoMTKkbQ<6E_1Guulw^ zx6fvWa1dlheqKI|$Hl!eDVZFmdOVgSyGvxrh{mpSq#iT3}UlF`D{QM z1VA)M9t1%0B}&bj9eR_-aNuSIZD7@>fe6|02vLk<^xokgJZIs zpwi?U0z6_MSFr#w$W;~`KmrItz|xEilN|-+xjLYNcAS&D1hs&Irv;4}^C$lolr#kg z4KRonpPo@UKkHH^6Jwo)o~fRp0Rt=$C+bJ_s%^Ek1j-m0=ouR6Sujra6_QlJl-Gh- z&Cmgi0}$xooE# { - it('should valid form data', async () => { - const formData = new URLSearchParams() - formData.append('test', "hello") +describe("validate hono #3271", () => { + it("should valid form data", async () => { + const formData = new URLSearchParams(); + formData.append("test", "hello"); - const res = await app.request('/', { - body: formData, - method: 'POST', - headers: new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' }) - }) - const text = await res.text() + const res = await app.request("/", { + body: formData, + method: "POST", + headers: new Headers({ + "Content-Type": "application/x-www-form-urlencoded", + }), + }); + const text = await res.text(); - expect(text).toBe("hello") - expect(res.status).toBe(200) - }) -}) + expect(text).toBe("hello"); + expect(res.status).toBe(200); + }); +}); diff --git a/hono/github/runtime-bun/3271/src/index.ts b/hono/github/runtime-bun/3271/src/index.ts index 0dfb2d3..31fccc8 100644 --- a/hono/github/runtime-bun/3271/src/index.ts +++ b/hono/github/runtime-bun/3271/src/index.ts @@ -1,20 +1,21 @@ -import { Hono } from 'hono' -import { bodyLimit } from 'hono/body-limit' +import { Hono } from "hono"; +import { bodyLimit } from "hono/body-limit"; -const app = new Hono() +const app = new Hono(); -app.use(bodyLimit({ maxSize: 1024 * 1024 * 10 })) +app.use(bodyLimit({ maxSize: 1024 * 1024 * 10 })); -const sleep = (time: number) => new Promise((resolve) => setTimeout(resolve, time)); +const sleep = (time: number) => + new Promise((resolve) => setTimeout(resolve, time)); app.use(async (_, next) => { - await next() - await sleep(1000) -}) + await next(); + await sleep(1000); +}); -app.post('/', async (c) => { - const body = await c.req.formData() - return c.text(String(body.get('test'))) -}) +app.post("/", async (c) => { + const body = await c.req.formData(); + return c.text(String(body.get("test"))); +}); -export default app \ No newline at end of file +export default app; diff --git a/hono/github/runtime-bun/3271/tsconfig.json b/hono/github/runtime-bun/3271/tsconfig.json index c442b33..9c845ae 100644 --- a/hono/github/runtime-bun/3271/tsconfig.json +++ b/hono/github/runtime-bun/3271/tsconfig.json @@ -1,7 +1,7 @@ { - "compilerOptions": { - "strict": true, - "jsx": "react-jsx", - "jsxImportSource": "hono/jsx" - } -} \ No newline at end of file + "compilerOptions": { + "strict": true, + "jsx": "react-jsx", + "jsxImportSource": "hono/jsx" + } +} diff --git a/hono/github/runtime-deno/3254/app.bench.ts b/hono/github/runtime-deno/3254/app.bench.ts index 7725553..0e7da94 100644 --- a/hono/github/runtime-deno/3254/app.bench.ts +++ b/hono/github/runtime-deno/3254/app.bench.ts @@ -25,9 +25,9 @@ Deno.bench({ }); Deno.bench({ - name: "/regex/slice/:acct{@.+}", - group: "routing", - fn: async () => { - await app.request("http://localhost/regex/slice/@alex"); - }, - }); \ No newline at end of file + name: "/regex/slice/:acct{@.+}", + group: "routing", + fn: async () => { + await app.request("http://localhost/regex/slice/@alex"); + }, +}); diff --git a/hono/github/runtime-deno/3254/app.test.ts b/hono/github/runtime-deno/3254/app.test.ts index 9934717..4fc8670 100644 --- a/hono/github/runtime-deno/3254/app.test.ts +++ b/hono/github/runtime-deno/3254/app.test.ts @@ -43,4 +43,4 @@ Deno.test({ assertEquals(res.status, 200); assertEquals(text, "acct is alex"); }, -}); \ No newline at end of file +}); diff --git a/hono/github/runtime-deno/3254/app.ts b/hono/github/runtime-deno/3254/app.ts index 6752d59..3104f93 100644 --- a/hono/github/runtime-deno/3254/app.ts +++ b/hono/github/runtime-deno/3254/app.ts @@ -2,9 +2,21 @@ import { Hono } from "hono"; const app = new Hono(); -app.get("/substring/:acct", (c) => c.text(`acct is ${c.req.param("acct").substring(1)}`)); -app.get("/slice/:acct", (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`)); -app.get("/regex/substring/:acct{@.+}", (c) =>c.text(`acct is ${c.req.param("acct").substring(1)}`)); -app.get("/regex/slice/:acct{@.+}", (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`)); +app.get( + "/substring/:acct", + (c) => c.text(`acct is ${c.req.param("acct").substring(1)}`), +); +app.get( + "/slice/:acct", + (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`), +); +app.get( + "/regex/substring/:acct{@.+}", + (c) => c.text(`acct is ${c.req.param("acct").substring(1)}`), +); +app.get( + "/regex/slice/:acct{@.+}", + (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`), +); export { app }; diff --git a/hono/github/runtime-deno/3254/readme.md b/hono/github/runtime-deno/3254/readme.md index b0beacf..570062f 100644 --- a/hono/github/runtime-deno/3254/readme.md +++ b/hono/github/runtime-deno/3254/readme.md @@ -8,9 +8,15 @@ Provided solution here [https://github.com/honojs/hono/issues/3254#issuecomment-22794941300](https://github.com/honojs/hono/issues/3254#issuecomment-2279494130) ```ts -app.get("/slice/:acct", (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`)); +app.get( + "/slice/:acct", + (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`), +); // or -app.get("/regex/slice/:acct{@.+}", (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`)); +app.get( + "/regex/slice/:acct{@.+}", + (c) => c.text(`acct is ${c.req.param("acct").slice(1)}`), +); ``` ## Setup diff --git a/hono/github/runtime-node/3275/client/package.json b/hono/github/runtime-node/3275/client/package.json index 6e06b9a..b552403 100644 --- a/hono/github/runtime-node/3275/client/package.json +++ b/hono/github/runtime-node/3275/client/package.json @@ -1,49 +1,48 @@ { - "name": "@hono/github/issue-3275/client", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "vite dev", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --check .", - "format": "prettier --write .", - "test": "echo \"No test specified\"" - }, - "devDependencies": { - "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.0.0", - "@sveltejs/vite-plugin-svelte": "^3.0.0", - "autoprefixer": "^10.4.19", - "postcss": "^8.4.38", - "prettier": "^3.1.1", - "prettier-plugin-svelte": "^3.1.2", - "prettier-plugin-tailwindcss": "^0.6.4", - "svelte": "^4.2.7", - "svelte-check": "^3.6.0", - "sveltekit-superforms": "^2.16.1", - "tailwindcss": "^3.4.4", - "tslib": "^2.4.1", - "typescript": "^5.0.0", - "vite": "^5.0.3", - "zod": "^3.23.8" - }, - "type": "module", - "dependencies": { - "@internationalized/date": "^3.5.4", - "bits-ui": "^0.21.12", - "chart.js": "^4.4.3", - "chartjs-plugin-datalabels": "^2.2.0", - "clsx": "^2.1.1", - "lucide-svelte": "^0.408.0", - "luxon": "^3.4.4", - "mode-watcher": "^0.4.1", - "svelte-chartjs": "^3.1.5", - "svelte-sonner": "^0.3.27", - "tailwind-merge": "^2.4.0", - "tailwind-variants": "^0.2.1", - "hono": "^4.5.5" - } + "name": "@hono/github/issue-3275/client", + "version": "0.0.1", + "private": true, + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "check": "echo 'TODO: fix svelte-kit sync issue'", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --check .", + "format": "prettier --write .", + "test": "echo \"No test specified\"" + }, + "devDependencies": { + "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/kit": "^2.0.0", + "@sveltejs/vite-plugin-svelte": "^4.0.0-next.6", + "autoprefixer": "^10.4.19", + "postcss": "^8.4.38", + "prettier": "^3.1.1", + "prettier-plugin-svelte": "^3.1.2", + "prettier-plugin-tailwindcss": "^0.6.4", + "svelte": "^5.0.0-next.1", + "svelte-check": "^3.6.0", + "tailwindcss": "^3.4.4", + "tslib": "^2.4.1", + "typescript": "^5.0.0", + "vite": "^5.0.3", + "zod": "^3.23.8" + }, + "type": "module", + "dependencies": { + "@internationalized/date": "^3.5.4", + "bits-ui": "^0.21.12", + "chart.js": "^4.4.3", + "chartjs-plugin-datalabels": "^2.2.0", + "clsx": "^2.1.1", + "hono": "^4.5.5", + "lucide-svelte": "^0.408.0", + "luxon": "^3.4.4", + "mode-watcher": "^0.4.1", + "svelte-chartjs": "^3.1.5", + "svelte-sonner": "^0.3.27", + "tailwind-merge": "^2.4.0", + "tailwind-variants": "^0.2.1" + } } diff --git a/hono/github/runtime-node/3275/client/pnpm-lock.yaml b/hono/github/runtime-node/3275/client/pnpm-lock.yaml index 4ff4881..479e766 100644 --- a/hono/github/runtime-node/3275/client/pnpm-lock.yaml +++ b/hono/github/runtime-node/3275/client/pnpm-lock.yaml @@ -13,34 +13,34 @@ importers: version: 3.5.5 bits-ui: specifier: ^0.21.12 - version: 0.21.13(svelte@4.2.18) + version: 0.21.13(svelte@5.0.0-next.242) chart.js: specifier: ^4.4.3 - version: 4.4.3 + version: 4.4.4 chartjs-plugin-datalabels: specifier: ^2.2.0 - version: 2.2.0(chart.js@4.4.3) + version: 2.2.0(chart.js@4.4.4) clsx: specifier: ^2.1.1 version: 2.1.1 hono: specifier: ^4.5.5 - version: 4.5.6 + version: 4.5.10 lucide-svelte: specifier: ^0.408.0 - version: 0.408.0(svelte@4.2.18) + version: 0.408.0(svelte@5.0.0-next.242) luxon: specifier: ^3.4.4 version: 3.5.0 mode-watcher: specifier: ^0.4.1 - version: 0.4.1(svelte@4.2.18) + version: 0.4.1(svelte@5.0.0-next.242) svelte-chartjs: specifier: ^3.1.5 - version: 3.1.5(chart.js@4.4.3)(svelte@4.2.18) + version: 3.1.5(chart.js@4.4.4)(svelte@5.0.0-next.242) svelte-sonner: specifier: ^0.3.27 - version: 0.3.27(svelte@4.2.18) + version: 0.3.27(svelte@5.0.0-next.242) tailwind-merge: specifier: ^2.4.0 version: 2.5.2 @@ -50,13 +50,13 @@ importers: devDependencies: '@sveltejs/adapter-auto': specifier: ^3.0.0 - version: 3.2.4(@sveltejs/kit@2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1)) + version: 3.2.4(@sveltejs/kit@2.5.25(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2)) '@sveltejs/kit': specifier: ^2.0.0 - version: 2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1) + version: 2.5.25(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2) '@sveltejs/vite-plugin-svelte': - specifier: ^3.0.0 - version: 3.1.1(svelte@4.2.18)(vite@5.4.1) + specifier: ^4.0.0-next.6 + version: 4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2) autoprefixer: specifier: ^10.4.19 version: 10.4.20(postcss@8.4.41) @@ -68,31 +68,28 @@ importers: version: 3.3.3 prettier-plugin-svelte: specifier: ^3.1.2 - version: 3.2.6(prettier@3.3.3)(svelte@4.2.18) + version: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.242) prettier-plugin-tailwindcss: specifier: ^0.6.4 - version: 0.6.6(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@4.2.18))(prettier@3.3.3) + version: 0.6.6(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.242))(prettier@3.3.3) svelte: - specifier: ^4.2.7 - version: 4.2.18 + specifier: ^5.0.0-next.1 + version: 5.0.0-next.242 svelte-check: specifier: ^3.6.0 - version: 3.8.5(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@4.2.18) - sveltekit-superforms: - specifier: ^2.16.1 - version: 2.17.0(@sveltejs/kit@2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18) + version: 3.8.6(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.242) tailwindcss: specifier: ^3.4.4 version: 3.4.10 tslib: specifier: ^2.4.1 - version: 2.6.3 + version: 2.7.0 typescript: specifier: ^5.0.0 version: 5.5.4 vite: specifier: ^5.0.3 - version: 5.4.1 + version: 5.4.2 zod: specifier: ^3.23.8 version: 3.23.8 @@ -107,301 +104,144 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@ark/schema@0.2.0': - resolution: {integrity: sha512-IkNWCSHdjaoemMXpps4uFHEAQzwJPbTAS8K2vcQpk90sa+eNBuPSVyB/81/Qyl1VYW0iX3ceGC5NL/OznQv1jg==} - - '@ark/util@0.1.0': - resolution: {integrity: sha512-qCLYICQoCy3kEKDVwirQp8qvxhY7NJd8BhhoHaj1l3wCFAk9NUbcDsxAkPStZEMdPI/d7NcbGJe8SWZuRG2twQ==} - - '@babel/runtime@7.25.0': - resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==} - engines: {node: '>=6.9.0'} - '@esbuild/aix-ppc64@0.21.5': resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} engines: {node: '>=12'} cpu: [ppc64] os: [aix] - '@esbuild/aix-ppc64@0.23.1': - resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - '@esbuild/android-arm64@0.21.5': resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} cpu: [arm64] os: [android] - '@esbuild/android-arm64@0.23.1': - resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - '@esbuild/android-arm@0.21.5': resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} cpu: [arm] os: [android] - '@esbuild/android-arm@0.23.1': - resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - '@esbuild/android-x64@0.21.5': resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} cpu: [x64] os: [android] - '@esbuild/android-x64@0.23.1': - resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - '@esbuild/darwin-arm64@0.21.5': resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] - '@esbuild/darwin-arm64@0.23.1': - resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - '@esbuild/darwin-x64@0.21.5': resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} cpu: [x64] os: [darwin] - '@esbuild/darwin-x64@0.23.1': - resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - '@esbuild/freebsd-arm64@0.21.5': resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-arm64@0.23.1': - resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - '@esbuild/freebsd-x64@0.21.5': resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] - '@esbuild/freebsd-x64@0.23.1': - resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - '@esbuild/linux-arm64@0.21.5': resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} cpu: [arm64] os: [linux] - '@esbuild/linux-arm64@0.23.1': - resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - '@esbuild/linux-arm@0.21.5': resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} cpu: [arm] os: [linux] - '@esbuild/linux-arm@0.23.1': - resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - '@esbuild/linux-ia32@0.21.5': resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] - '@esbuild/linux-ia32@0.23.1': - resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - '@esbuild/linux-loong64@0.21.5': resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} cpu: [loong64] os: [linux] - '@esbuild/linux-loong64@0.23.1': - resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - '@esbuild/linux-mips64el@0.21.5': resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] - '@esbuild/linux-mips64el@0.23.1': - resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - '@esbuild/linux-ppc64@0.21.5': resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] - '@esbuild/linux-ppc64@0.23.1': - resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - '@esbuild/linux-riscv64@0.21.5': resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] - '@esbuild/linux-riscv64@0.23.1': - resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - '@esbuild/linux-s390x@0.21.5': resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} cpu: [s390x] os: [linux] - '@esbuild/linux-s390x@0.23.1': - resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - '@esbuild/linux-x64@0.21.5': resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} cpu: [x64] os: [linux] - '@esbuild/linux-x64@0.23.1': - resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - '@esbuild/netbsd-x64@0.21.5': resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] - '@esbuild/netbsd-x64@0.23.1': - resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - - '@esbuild/openbsd-arm64@0.23.1': - resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - '@esbuild/openbsd-x64@0.21.5': resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] - '@esbuild/openbsd-x64@0.23.1': - resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - '@esbuild/sunos-x64@0.21.5': resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} cpu: [x64] os: [sunos] - '@esbuild/sunos-x64@0.23.1': - resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - '@esbuild/win32-arm64@0.21.5': resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} cpu: [arm64] os: [win32] - '@esbuild/win32-arm64@0.23.1': - resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - '@esbuild/win32-ia32@0.21.5': resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} cpu: [ia32] os: [win32] - '@esbuild/win32-ia32@0.23.1': - resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - '@esbuild/win32-x64@0.21.5': resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} engines: {node: '>=12'} cpu: [x64] os: [win32] - '@esbuild/win32-x64@0.23.1': - resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - - '@exodus/schemasafe@1.3.0': - resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==} - '@floating-ui/core@1.6.7': resolution: {integrity: sha512-yDzVT/Lm101nQ5TCVeK65LtdN7Tj4Qpr9RTXJ2vPFLqtLxwOrpoxAHAJI8J3yYWUc40J0BDBheaitK5SJmno2g==} @@ -411,16 +251,6 @@ packages: '@floating-ui/utils@0.2.7': resolution: {integrity: sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==} - '@gcornut/valibot-json-schema@0.31.0': - resolution: {integrity: sha512-3xGptCurm23e7nuPQkdrE5rEs1FeTPHhAUsBuwwqG4/YeZLwJOoYZv+fmsppUEfo5y9lzUwNQrNqLS/q7HMc7g==} - hasBin: true - - '@hapi/hoek@9.3.0': - resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==} - - '@hapi/topo@5.1.0': - resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} - '@internationalized/date@3.5.5': resolution: {integrity: sha512-H+CfYvOZ0LTJeeLOqm19E3uj/4YjrmOFtBufDHPfvtI80hFAMqtrp7oCACpe4Cil5l8S0Qu/9dYfZc/5lY8WQQ==} @@ -473,132 +303,113 @@ packages: '@polka/url@1.0.0-next.25': resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} - '@poppinss/macroable@1.0.2': - resolution: {integrity: sha512-xhhEcEvhQC8mP5oOr5hbE4CmUgmw/IPV1jhpGg2xSkzoFrt9i8YVqBQt9744EFesi5F7pBheWozg63RUBM/5JA==} - engines: {node: '>=18.16.0'} - - '@rollup/rollup-android-arm-eabi@4.20.0': - resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} + '@rollup/rollup-android-arm-eabi@4.21.2': + resolution: {integrity: sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.20.0': - resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} + '@rollup/rollup-android-arm64@4.21.2': + resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.20.0': - resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} + '@rollup/rollup-darwin-arm64@4.21.2': + resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.20.0': - resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} + '@rollup/rollup-darwin-x64@4.21.2': + resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': - resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': + resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.20.0': - resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} + '@rollup/rollup-linux-arm-musleabihf@4.21.2': + resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.20.0': - resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} + '@rollup/rollup-linux-arm64-gnu@4.21.2': + resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.20.0': - resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} + '@rollup/rollup-linux-arm64-musl@4.21.2': + resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': - resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': + resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.20.0': - resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} + '@rollup/rollup-linux-riscv64-gnu@4.21.2': + resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.20.0': - resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} + '@rollup/rollup-linux-s390x-gnu@4.21.2': + resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.20.0': - resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} + '@rollup/rollup-linux-x64-gnu@4.21.2': + resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.20.0': - resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} + '@rollup/rollup-linux-x64-musl@4.21.2': + resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.20.0': - resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} + '@rollup/rollup-win32-arm64-msvc@4.21.2': + resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.20.0': - resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} + '@rollup/rollup-win32-ia32-msvc@4.21.2': + resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.20.0': - resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} + '@rollup/rollup-win32-x64-msvc@4.21.2': + resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==} cpu: [x64] os: [win32] - '@sideway/address@4.1.5': - resolution: {integrity: sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==} - - '@sideway/formula@3.0.1': - resolution: {integrity: sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==} - - '@sideway/pinpoint@2.0.0': - resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} - - '@sinclair/typebox@0.32.35': - resolution: {integrity: sha512-Ul3YyOTU++to8cgNkttakC0dWvpERr6RYoHO2W47DLbFvrwBDJUY31B1sImH6JZSYc4Kt4PyHtoPNu+vL2r2dA==} - - '@sodaru/yup-to-json-schema@2.0.1': - resolution: {integrity: sha512-lWb0Wiz8KZ9ip/dY1eUqt7fhTPmL24p6Hmv5Fd9pzlzAdw/YNcWZr+tiCT4oZ4Zyxzi9+1X4zv82o7jYvcFxYA==} - '@sveltejs/adapter-auto@3.2.4': resolution: {integrity: sha512-a64AKYbfTUrVwU0xslzv1Jf3M8bj0IwhptaXmhgIkjXspBXhD0od9JiItQHchijpLMGdEDcYBlvqySkEawv6mQ==} peerDependencies: '@sveltejs/kit': ^2.0.0 - '@sveltejs/kit@2.5.22': - resolution: {integrity: sha512-PQ98baF2WzvG5yiO4cZKJZJG60XjHTZD1jyho3u9Kmthx2ytdGYyVPPvKXgKXpKSq4wwctD9dl0d2blSbJMcOg==} + '@sveltejs/kit@2.5.25': + resolution: {integrity: sha512-5hBSEN8XEjDZ5+2bHkFh8Z0QyOk0C187cyb12aANe1c8aeKbfu5ZD5XaC2vEH4h0alJFDXPdUkXQBmeeXeMr1A==} engines: {node: '>=18.13'} hasBin: true peerDependencies: - '@sveltejs/vite-plugin-svelte': ^3.0.0 + '@sveltejs/vite-plugin-svelte': ^3.0.0 || ^4.0.0-next.1 svelte: ^4.0.0 || ^5.0.0-next.0 vite: ^5.0.3 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0': - resolution: {integrity: sha512-9QX28IymvBlSCqsCll5t0kQVxipsfhFFL+L2t3nTWfXnddYwxBuAEtTtlaVQpRz9c37BhJjltSeY4AJSC03SSg==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte-inspector@3.0.0-next.3': + resolution: {integrity: sha512-kuGJ2CZ5lAw3gKF8Kw0AfKtUJWbwdlDHY14K413B0MCyrzvQvsKTorwmwZcky0+QqY6RnVIZ/5FttB9bQmkLXg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} peerDependencies: - '@sveltejs/vite-plugin-svelte': ^3.0.0 - svelte: ^4.0.0 || ^5.0.0-next.0 + '@sveltejs/vite-plugin-svelte': ^4.0.0-next.0||^4.0.0 + svelte: ^5.0.0-next.96 || ^5.0.0 vite: ^5.0.0 - '@sveltejs/vite-plugin-svelte@3.1.1': - resolution: {integrity: sha512-rimpFEAboBBHIlzISibg94iP09k/KYdHgVhJlcsTfn7KMBhc70jFX/GRWkRdFCc2fdnk+4+Bdfej23cMDnJS6A==} - engines: {node: ^18.0.0 || >=20} + '@sveltejs/vite-plugin-svelte@4.0.0-next.6': + resolution: {integrity: sha512-7+bEFN5F9pthG6nOEHNz9yioHxNXK6yl+0GnTy9WOfxN/SvPykkH/Hs6MqTGjo47a9G2q3QXQnzuxG5WXNX4Tg==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22} peerDependencies: - svelte: ^4.0.0 || ^5.0.0-next.0 + svelte: ^5.0.0-next.96 || ^5.0.0 vite: ^5.0.0 '@swc/helpers@0.5.12': @@ -610,22 +421,13 @@ packages: '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/pug@2.0.10': resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} - '@types/validator@13.12.0': - resolution: {integrity: sha512-nH45Lk7oPIJ1RVOF6JgFI6Dy0QpHEzq4QecZhvguxYPDwT8c93prCMqAtiIttm39voZ+DDR+qkNnMpJmMBRqag==} - - '@vinejs/compiler@2.5.0': - resolution: {integrity: sha512-hg4ekaB5Y2zh+IWzBiC/WCDWrIfpVnKu/ubUvelKlidc/VbulsexoFRw5kJGHZenPVI5YzNnDeTdYSALkTV7jQ==} - engines: {node: '>=18.0.0'} - - '@vinejs/vine@1.8.0': - resolution: {integrity: sha512-Qq3XxbA26jzqS9ICifkqzT399lMQZ2fWtqeV3luI2as+UIK7qDifJFU2Q4W3q3IB5VXoWxgwAZSZEO0em9I/qQ==} - engines: {node: '>=18.16.0'} + acorn-typescript@1.4.13: + resolution: {integrity: sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==} + peerDependencies: + acorn: '>=8.9.0' acorn@8.12.1: resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} @@ -661,9 +463,6 @@ packages: aria-query@5.3.0: resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} - arktype@2.0.0-beta.0: - resolution: {integrity: sha512-fE3ssMiXjr/bLqFPzlDhRlXngdyHQreu7p7i8+dtcY1CA+f8WrVUcue6JxywhnqEJXPG4HOcIwQcC+q4VfeUMQ==} - autoprefixer@10.4.20: resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} @@ -706,22 +505,15 @@ packages: resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} engines: {node: '>=8.0.0'} - buffer-from@1.1.2: - resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} - camelcase-css@2.0.1: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} - camelcase@8.0.0: - resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==} - engines: {node: '>=16'} - - caniuse-lite@1.0.30001651: - resolution: {integrity: sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==} + caniuse-lite@1.0.30001655: + resolution: {integrity: sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==} - chart.js@4.4.3: - resolution: {integrity: sha512-qK1gkGSRYcJzqrrzdR6a+I0vQ4/R+SoODXyAjscQ/4mzuNzySaMCd+hyVxitSY1+L2fjPD1Gbn+ibNqRmwQeLw==} + chart.js@4.4.4: + resolution: {integrity: sha512-emICKGBABnxhMjUjlYRR12PmOXhJ2eJjEHL2/dZlWjxRAZT1D8xplLFq5M0tMQK8ja+wBS/tuVEJB5C6r7VxJA==} engines: {pnpm: '>=8'} chartjs-plugin-datalabels@2.2.0: @@ -737,9 +529,6 @@ packages: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} - code-red@1.0.4: - resolution: {integrity: sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==} - color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -762,18 +551,11 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} - css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} hasBin: true - dayjs@1.11.12: - resolution: {integrity: sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg==} - debug@4.3.6: resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} engines: {node: '>=6.0'} @@ -807,8 +589,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.10: - resolution: {integrity: sha512-C3RDERDjrNW262GCRvpoer3a0Ksd66CtgDLxMHhzShQ8fhL4kwnpVXsJPAKg9xJjIROXUbLBrvtOzVAjALMIWA==} + electron-to-chromium@1.5.13: + resolution: {integrity: sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -819,31 +601,20 @@ packages: es6-promise@3.3.1: resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} - esbuild-runner@2.2.2: - resolution: {integrity: sha512-fRFVXcmYVmSmtYm2mL8RlUASt2TDkGh3uRcvHFOKNr/T58VrfVeKD9uT9nlgxk96u0LS0ehS/GY7Da/bXWKkhw==} - hasBin: true - peerDependencies: - esbuild: '*' - esbuild@0.21.5: resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} engines: {node: '>=12'} hasBin: true - esbuild@0.23.1: - resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==} - engines: {node: '>=18'} - hasBin: true - - escalade@3.1.2: - resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} esm-env@1.0.0: resolution: {integrity: sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==} - estree-walker@3.0.3: - resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + esrap@1.2.2: + resolution: {integrity: sha512-F2pSJklxx1BlQIQgooczXCPHmcWpn6EsP5oo73LQfonG9fIlIENQ8vMmfGXeojP9MrkzUNAfyU5vdFlR9shHAw==} fast-glob@3.3.2: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} @@ -906,8 +677,8 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} - hono@4.5.6: - resolution: {integrity: sha512-9SuUC/zLQv8YAcnIxJko0KCeLI0Q6menPsDWuJ9jaH+r8ZkVXeLqeLs1QJXCPKKbURAWj9x0SJBSFh803EnAUw==} + hono@4.5.10: + resolution: {integrity: sha512-az6tdU1U8o/l0v8O37FIQuc+ER/TeD9vHt/qs8JnBDgMxw6Zu5L2AixUyHeXZNcu87r7iYo8Ey85R7IogOINKA==} engines: {node: '>=16.0.0'} import-meta-resolve@4.1.0: @@ -924,8 +695,8 @@ packages: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} - is-core-module@2.15.0: - resolution: {integrity: sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==} + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} engines: {node: '>= 0.4'} is-extglob@2.1.1: @@ -957,16 +728,6 @@ packages: resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} hasBin: true - joi@17.13.3: - resolution: {integrity: sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==} - - json-schema-to-ts@3.1.0: - resolution: {integrity: sha512-UeVN/ery4/JeXI8h4rM8yZPxsH+KqPi/84qFxHfTGHZnWnK9D0UU9ZGYO+6XAaJLqCWMiks+ARuFOKAiSxJCHA==} - engines: {node: '>=16'} - - just-clone@6.2.0: - resolution: {integrity: sha512-1IynUYEc/HAwxhi3WDpIpxJbZpMCvvrrmZVqvj9EhpvbH8lls7HhdhiByjL7DkAaWlLIzpC0Xc/VPvy/UxLNjA==} - kleur@4.1.5: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} @@ -1000,18 +761,12 @@ packages: magic-string@0.30.11: resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - - memoize-weak@1.0.2: - resolution: {integrity: sha512-gj39xkrjEw7nCn4nJ1M5ms6+MyMlyiGmttzsqAUsAKn6bYKwuTHh/AO3cKPF8IBrTIYTxb0wWXFs3E//Y8VoWQ==} - merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - micromatch@4.0.7: - resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} min-indent@1.0.1: @@ -1076,10 +831,6 @@ packages: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} - normalize-url@8.0.1: - resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==} - engines: {node: '>=14.16'} - object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -1109,9 +860,6 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} - periscopic@3.1.0: - resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==} - picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} @@ -1234,9 +982,6 @@ packages: engines: {node: '>=14'} hasBin: true - property-expr@2.0.6: - resolution: {integrity: sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==} - queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -1247,9 +992,6 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} - regenerator-runtime@0.14.1: - resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} - resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -1263,8 +1005,8 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rollup@4.20.0: - resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} + rollup@4.21.2: + resolution: {integrity: sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -1305,13 +1047,6 @@ packages: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} - source-map-support@0.5.21: - resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} - - source-map@0.6.1: - resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} - engines: {node: '>=0.10.0'} - string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -1337,10 +1072,6 @@ packages: engines: {node: '>=16 || 14 >=14.17'} hasBin: true - superstruct@2.0.2: - resolution: {integrity: sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==} - engines: {node: '>=14.0.0'} - supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -1351,18 +1082,12 @@ packages: chart.js: ^3.5.0 || ^4.0.0 svelte: ^4.0.0 - svelte-check@3.8.5: - resolution: {integrity: sha512-3OGGgr9+bJ/+1nbPgsvulkLC48xBsqsgtc8Wam281H4G9F5v3mYGa2bHRsPuwHC5brKl4AxJH95QF73kmfihGQ==} + svelte-check@3.8.6: + resolution: {integrity: sha512-ij0u4Lw/sOTREP13BdWZjiXD/BlHE6/e2e34XzmVmsp5IN4kVa3PWP65NM32JAgwjZlwBg/+JtiNV1MM8khu0Q==} hasBin: true peerDependencies: svelte: ^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0 - svelte-hmr@0.16.0: - resolution: {integrity: sha512-Gyc7cOS3VJzLlfj7wKS0ZnzDVdv3Pn2IuVeJPk9m2skfhcu5bq3wtIZyQGggr7/Iim5rH5cncyQft/kRLupcnA==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: ^3.19.0 || ^4.0.0 - svelte-preprocess@5.1.4: resolution: {integrity: sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==} engines: {node: '>= 16.0.0'} @@ -1405,15 +1130,9 @@ packages: peerDependencies: svelte: ^3.0.0 || ^4.0.0 || ^5.0.0-next.1 - svelte@4.2.18: - resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==} - engines: {node: '>=16'} - - sveltekit-superforms@2.17.0: - resolution: {integrity: sha512-QrX8pkcmE0XoeVU42zMhsah4FoDrgtPc/4cZEr38rDlgU+DE0xNc5J0E7z1456sUJNbFjaB0+HZwwAkX0vYqaA==} - peerDependencies: - '@sveltejs/kit': 1.x || 2.x - svelte: 3.x || 4.x || >=5.0.0-next.51 + svelte@5.0.0-next.242: + resolution: {integrity: sha512-toHIaInuvpJl/3cWV3FBJV5fuUCUsdr1SzlvhYqlga1E5RK5qmbOK3hHd9GNz/VIcLwDDuMM/n2u/azm0kEuLA==} + engines: {node: '>=18'} tabbable@6.2.0: resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==} @@ -1439,9 +1158,6 @@ packages: thenify@3.3.1: resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - tiny-case@1.0.3: - resolution: {integrity: sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==} - tiny-glob@0.2.9: resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} @@ -1449,32 +1165,15 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - toposort@2.0.2: - resolution: {integrity: sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==} - totalist@3.0.1: resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} engines: {node: '>=6'} - ts-algebra@2.0.0: - resolution: {integrity: sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==} - - ts-deepmerge@7.0.1: - resolution: {integrity: sha512-JBFCmNenZdUCc+TRNCtXVM6N8y/nDQHAcpj5BlwXG/gnogjam1NunulB9ia68mnqYI446giMfpqeBFFkOleh+g==} - engines: {node: '>=14.13.1'} - ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - tslib@2.4.0: - resolution: {integrity: sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==} - - tslib@2.6.3: - resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - - type-fest@2.19.0: - resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} - engines: {node: '>=12.20'} + tslib@2.7.0: + resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} @@ -1490,18 +1189,8 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - valibot@0.31.1: - resolution: {integrity: sha512-2YYIhPrnVSz/gfT2/iXVTrSj92HwchCt9Cga/6hX4B26iCz9zkIsGTS0HjDYTZfTi1Un0X6aRvhBi1cfqs/i0Q==} - - valibot@0.35.0: - resolution: {integrity: sha512-+i2aCRkReTrd5KBN/dW2BrPOvFnU5LXTV2xjZnjnqUIO8YUx6P2+MgRrkwF2FhkexgyKq/NIZdPdknhHf5A/Ww==} - - validator@13.12.0: - resolution: {integrity: sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==} - engines: {node: '>= 0.10'} - - vite@5.4.1: - resolution: {integrity: sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==} + vite@5.4.2: + resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -1560,13 +1249,8 @@ packages: engines: {node: '>= 14'} hasBin: true - yup@1.4.0: - resolution: {integrity: sha512-wPbgkJRCqIf+OHyiTBQoJiP5PFuAXaWiJK6AmYkzQAh5/c2K9hzSApBZG5wV9KoKSePF7sAxmNSvh/13YHkFDg==} - - zod-to-json-schema@3.23.2: - resolution: {integrity: sha512-uSt90Gzc/tUfyNqxnjlfBs8W6WSGpNBv0rVsNxP/BVSMHMKGdthPYff4xtCHYloJGM0CFxFsb3NbC0eqPhfImw==} - peerDependencies: - zod: ^3.23.3 + zimmerframe@1.1.2: + resolution: {integrity: sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==} zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} @@ -1580,163 +1264,75 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@ark/schema@0.2.0': - dependencies: - '@ark/util': 0.1.0 - optional: true - - '@ark/util@0.1.0': - optional: true - - '@babel/runtime@7.25.0': - dependencies: - regenerator-runtime: 0.14.1 - optional: true - '@esbuild/aix-ppc64@0.21.5': optional: true - '@esbuild/aix-ppc64@0.23.1': - optional: true - '@esbuild/android-arm64@0.21.5': optional: true - '@esbuild/android-arm64@0.23.1': - optional: true - '@esbuild/android-arm@0.21.5': optional: true - '@esbuild/android-arm@0.23.1': - optional: true - '@esbuild/android-x64@0.21.5': optional: true - '@esbuild/android-x64@0.23.1': - optional: true - '@esbuild/darwin-arm64@0.21.5': optional: true - '@esbuild/darwin-arm64@0.23.1': - optional: true - '@esbuild/darwin-x64@0.21.5': optional: true - '@esbuild/darwin-x64@0.23.1': - optional: true - '@esbuild/freebsd-arm64@0.21.5': optional: true - '@esbuild/freebsd-arm64@0.23.1': - optional: true - '@esbuild/freebsd-x64@0.21.5': optional: true - '@esbuild/freebsd-x64@0.23.1': - optional: true - '@esbuild/linux-arm64@0.21.5': optional: true - '@esbuild/linux-arm64@0.23.1': - optional: true - '@esbuild/linux-arm@0.21.5': optional: true - '@esbuild/linux-arm@0.23.1': - optional: true - '@esbuild/linux-ia32@0.21.5': optional: true - '@esbuild/linux-ia32@0.23.1': - optional: true - '@esbuild/linux-loong64@0.21.5': optional: true - '@esbuild/linux-loong64@0.23.1': - optional: true - '@esbuild/linux-mips64el@0.21.5': optional: true - '@esbuild/linux-mips64el@0.23.1': - optional: true - '@esbuild/linux-ppc64@0.21.5': optional: true - '@esbuild/linux-ppc64@0.23.1': - optional: true - '@esbuild/linux-riscv64@0.21.5': optional: true - '@esbuild/linux-riscv64@0.23.1': - optional: true - '@esbuild/linux-s390x@0.21.5': optional: true - '@esbuild/linux-s390x@0.23.1': - optional: true - '@esbuild/linux-x64@0.21.5': optional: true - '@esbuild/linux-x64@0.23.1': - optional: true - '@esbuild/netbsd-x64@0.21.5': optional: true - '@esbuild/netbsd-x64@0.23.1': - optional: true - - '@esbuild/openbsd-arm64@0.23.1': - optional: true - '@esbuild/openbsd-x64@0.21.5': optional: true - '@esbuild/openbsd-x64@0.23.1': - optional: true - '@esbuild/sunos-x64@0.21.5': optional: true - '@esbuild/sunos-x64@0.23.1': - optional: true - '@esbuild/win32-arm64@0.21.5': optional: true - '@esbuild/win32-arm64@0.23.1': - optional: true - '@esbuild/win32-ia32@0.21.5': optional: true - '@esbuild/win32-ia32@0.23.1': - optional: true - '@esbuild/win32-x64@0.21.5': optional: true - '@esbuild/win32-x64@0.23.1': - optional: true - - '@exodus/schemasafe@1.3.0': - optional: true - '@floating-ui/core@1.6.7': dependencies: '@floating-ui/utils': 0.2.7 @@ -1748,23 +1344,6 @@ snapshots: '@floating-ui/utils@0.2.7': {} - '@gcornut/valibot-json-schema@0.31.0': - dependencies: - valibot: 0.31.1 - optionalDependencies: - '@types/json-schema': 7.0.15 - esbuild: 0.23.1 - esbuild-runner: 2.2.2(esbuild@0.23.1) - optional: true - - '@hapi/hoek@9.3.0': - optional: true - - '@hapi/topo@5.1.0': - dependencies: - '@hapi/hoek': 9.3.0 - optional: true - '@internationalized/date@3.5.5': dependencies: '@swc/helpers': 0.5.12 @@ -1797,7 +1376,7 @@ snapshots: '@kurkle/color@0.3.2': {} - '@melt-ui/svelte@0.76.2(svelte@4.2.18)': + '@melt-ui/svelte@0.76.2(svelte@5.0.0-next.242)': dependencies: '@floating-ui/core': 1.6.7 '@floating-ui/dom': 1.6.10 @@ -1805,7 +1384,7 @@ snapshots: dequal: 2.0.3 focus-trap: 7.5.4 nanoid: 5.0.7 - svelte: 4.2.18 + svelte: 5.0.0-next.242 '@nodelib/fs.scandir@2.1.5': dependencies: @@ -1824,82 +1403,62 @@ snapshots: '@polka/url@1.0.0-next.25': {} - '@poppinss/macroable@1.0.2': + '@rollup/rollup-android-arm-eabi@4.21.2': optional: true - '@rollup/rollup-android-arm-eabi@4.20.0': + '@rollup/rollup-android-arm64@4.21.2': optional: true - '@rollup/rollup-android-arm64@4.20.0': + '@rollup/rollup-darwin-arm64@4.21.2': optional: true - '@rollup/rollup-darwin-arm64@4.20.0': + '@rollup/rollup-darwin-x64@4.21.2': optional: true - '@rollup/rollup-darwin-x64@4.20.0': + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': + '@rollup/rollup-linux-arm-musleabihf@4.21.2': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.20.0': + '@rollup/rollup-linux-arm64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-arm64-gnu@4.20.0': + '@rollup/rollup-linux-arm64-musl@4.21.2': optional: true - '@rollup/rollup-linux-arm64-musl@4.20.0': + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': + '@rollup/rollup-linux-riscv64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.20.0': + '@rollup/rollup-linux-s390x-gnu@4.21.2': optional: true - '@rollup/rollup-linux-s390x-gnu@4.20.0': + '@rollup/rollup-linux-x64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-x64-gnu@4.20.0': + '@rollup/rollup-linux-x64-musl@4.21.2': optional: true - '@rollup/rollup-linux-x64-musl@4.20.0': + '@rollup/rollup-win32-arm64-msvc@4.21.2': optional: true - '@rollup/rollup-win32-arm64-msvc@4.20.0': + '@rollup/rollup-win32-ia32-msvc@4.21.2': optional: true - '@rollup/rollup-win32-ia32-msvc@4.20.0': + '@rollup/rollup-win32-x64-msvc@4.21.2': optional: true - '@rollup/rollup-win32-x64-msvc@4.20.0': - optional: true - - '@sideway/address@4.1.5': - dependencies: - '@hapi/hoek': 9.3.0 - optional: true - - '@sideway/formula@3.0.1': - optional: true - - '@sideway/pinpoint@2.0.0': - optional: true - - '@sinclair/typebox@0.32.35': - optional: true - - '@sodaru/yup-to-json-schema@2.0.1': - optional: true - - '@sveltejs/adapter-auto@3.2.4(@sveltejs/kit@2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1))': + '@sveltejs/adapter-auto@3.2.4(@sveltejs/kit@2.5.25(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2))': dependencies: - '@sveltejs/kit': 2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1) + '@sveltejs/kit': 2.5.25(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2) import-meta-resolve: 4.1.0 - '@sveltejs/kit@2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1)': + '@sveltejs/kit@2.5.25(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2)': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@4.2.18)(vite@5.4.1) + '@sveltejs/vite-plugin-svelte': 4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.0.0 @@ -1911,63 +1470,45 @@ snapshots: sade: 1.8.1 set-cookie-parser: 2.7.0 sirv: 2.0.4 - svelte: 4.2.18 + svelte: 5.0.0-next.242 tiny-glob: 0.2.9 - vite: 5.4.1 + vite: 5.4.2 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1)': + '@sveltejs/vite-plugin-svelte-inspector@3.0.0-next.3(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2)': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@4.2.18)(vite@5.4.1) + '@sveltejs/vite-plugin-svelte': 4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2) debug: 4.3.6 - svelte: 4.2.18 - vite: 5.4.1 + svelte: 5.0.0-next.242 + vite: 5.4.2 transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1)': + '@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2)': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1) + '@sveltejs/vite-plugin-svelte-inspector': 3.0.0-next.3(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.0.0-next.242)(vite@5.4.2))(svelte@5.0.0-next.242)(vite@5.4.2) debug: 4.3.6 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.11 - svelte: 4.2.18 - svelte-hmr: 0.16.0(svelte@4.2.18) - vite: 5.4.1 - vitefu: 0.2.5(vite@5.4.1) + svelte: 5.0.0-next.242 + vite: 5.4.2 + vitefu: 0.2.5(vite@5.4.2) transitivePeerDependencies: - supports-color '@swc/helpers@0.5.12': dependencies: - tslib: 2.6.3 + tslib: 2.7.0 '@types/cookie@0.6.0': {} '@types/estree@1.0.5': {} - '@types/json-schema@7.0.15': - optional: true - '@types/pug@2.0.10': {} - '@types/validator@13.12.0': - optional: true - - '@vinejs/compiler@2.5.0': - optional: true - - '@vinejs/vine@1.8.0': + acorn-typescript@1.4.13(acorn@8.12.1): dependencies: - '@poppinss/macroable': 1.0.2 - '@types/validator': 13.12.0 - '@vinejs/compiler': 2.5.0 - camelcase: 8.0.0 - dayjs: 1.11.12 - dlv: 1.1.3 - normalize-url: 8.0.1 - validator: 13.12.0 - optional: true + acorn: 8.12.1 acorn@8.12.1: {} @@ -1994,16 +1535,10 @@ snapshots: dependencies: dequal: 2.0.3 - arktype@2.0.0-beta.0: - dependencies: - '@ark/schema': 0.2.0 - '@ark/util': 0.1.0 - optional: true - autoprefixer@10.4.20(postcss@8.4.41): dependencies: browserslist: 4.23.3 - caniuse-lite: 1.0.30001651 + caniuse-lite: 1.0.30001655 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.1 @@ -2016,12 +1551,12 @@ snapshots: binary-extensions@2.3.0: {} - bits-ui@0.21.13(svelte@4.2.18): + bits-ui@0.21.13(svelte@5.0.0-next.242): dependencies: '@internationalized/date': 3.5.5 - '@melt-ui/svelte': 0.76.2(svelte@4.2.18) + '@melt-ui/svelte': 0.76.2(svelte@5.0.0-next.242) nanoid: 5.0.7 - svelte: 4.2.18 + svelte: 5.0.0-next.242 brace-expansion@1.1.11: dependencies: @@ -2038,30 +1573,24 @@ snapshots: browserslist@4.23.3: dependencies: - caniuse-lite: 1.0.30001651 - electron-to-chromium: 1.5.10 + caniuse-lite: 1.0.30001655 + electron-to-chromium: 1.5.13 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) buffer-crc32@1.0.0: {} - buffer-from@1.1.2: - optional: true - camelcase-css@2.0.1: {} - camelcase@8.0.0: - optional: true - - caniuse-lite@1.0.30001651: {} + caniuse-lite@1.0.30001655: {} - chart.js@4.4.3: + chart.js@4.4.4: dependencies: '@kurkle/color': 0.3.2 - chartjs-plugin-datalabels@2.2.0(chart.js@4.4.3): + chartjs-plugin-datalabels@2.2.0(chart.js@4.4.4): dependencies: - chart.js: 4.4.3 + chart.js: 4.4.4 chokidar@3.6.0: dependencies: @@ -2077,14 +1606,6 @@ snapshots: clsx@2.1.1: {} - code-red@1.0.4: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - '@types/estree': 1.0.5 - acorn: 8.12.1 - estree-walker: 3.0.3 - periscopic: 3.1.0 - color-convert@2.0.1: dependencies: color-name: 1.1.4 @@ -2103,16 +1624,8 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-tree@2.3.1: - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.2.0 - cssesc@3.0.0: {} - dayjs@1.11.12: - optional: true - debug@4.3.6: dependencies: ms: 2.1.2 @@ -2131,7 +1644,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.10: {} + electron-to-chromium@1.5.13: {} emoji-regex@8.0.0: {} @@ -2139,13 +1652,6 @@ snapshots: es6-promise@3.3.1: {} - esbuild-runner@2.2.2(esbuild@0.23.1): - dependencies: - esbuild: 0.23.1 - source-map-support: 0.5.21 - tslib: 2.4.0 - optional: true - esbuild@0.21.5: optionalDependencies: '@esbuild/aix-ppc64': 0.21.5 @@ -2172,40 +1678,13 @@ snapshots: '@esbuild/win32-ia32': 0.21.5 '@esbuild/win32-x64': 0.21.5 - esbuild@0.23.1: - optionalDependencies: - '@esbuild/aix-ppc64': 0.23.1 - '@esbuild/android-arm': 0.23.1 - '@esbuild/android-arm64': 0.23.1 - '@esbuild/android-x64': 0.23.1 - '@esbuild/darwin-arm64': 0.23.1 - '@esbuild/darwin-x64': 0.23.1 - '@esbuild/freebsd-arm64': 0.23.1 - '@esbuild/freebsd-x64': 0.23.1 - '@esbuild/linux-arm': 0.23.1 - '@esbuild/linux-arm64': 0.23.1 - '@esbuild/linux-ia32': 0.23.1 - '@esbuild/linux-loong64': 0.23.1 - '@esbuild/linux-mips64el': 0.23.1 - '@esbuild/linux-ppc64': 0.23.1 - '@esbuild/linux-riscv64': 0.23.1 - '@esbuild/linux-s390x': 0.23.1 - '@esbuild/linux-x64': 0.23.1 - '@esbuild/netbsd-x64': 0.23.1 - '@esbuild/openbsd-arm64': 0.23.1 - '@esbuild/openbsd-x64': 0.23.1 - '@esbuild/sunos-x64': 0.23.1 - '@esbuild/win32-arm64': 0.23.1 - '@esbuild/win32-ia32': 0.23.1 - '@esbuild/win32-x64': 0.23.1 - optional: true - - escalade@3.1.2: {} + escalade@3.2.0: {} esm-env@1.0.0: {} - estree-walker@3.0.3: + esrap@1.2.2: dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 '@types/estree': 1.0.5 fast-glob@3.3.2: @@ -2214,7 +1693,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.7 + micromatch: 4.0.8 fastq@1.17.1: dependencies: @@ -2278,7 +1757,7 @@ snapshots: dependencies: function-bind: 1.1.2 - hono@4.5.6: {} + hono@4.5.10: {} import-meta-resolve@4.1.0: {} @@ -2293,7 +1772,7 @@ snapshots: dependencies: binary-extensions: 2.3.0 - is-core-module@2.15.0: + is-core-module@2.15.1: dependencies: hasown: 2.0.2 @@ -2321,23 +1800,6 @@ snapshots: jiti@1.21.6: {} - joi@17.13.3: - dependencies: - '@hapi/hoek': 9.3.0 - '@hapi/topo': 5.1.0 - '@sideway/address': 4.1.5 - '@sideway/formula': 3.0.1 - '@sideway/pinpoint': 2.0.0 - optional: true - - json-schema-to-ts@3.1.0: - dependencies: - '@babel/runtime': 7.25.0 - ts-algebra: 2.0.0 - optional: true - - just-clone@6.2.0: {} - kleur@4.1.5: {} lilconfig@2.1.0: {} @@ -2350,9 +1812,9 @@ snapshots: lru-cache@10.4.3: {} - lucide-svelte@0.408.0(svelte@4.2.18): + lucide-svelte@0.408.0(svelte@5.0.0-next.242): dependencies: - svelte: 4.2.18 + svelte: 5.0.0-next.242 luxon@3.5.0: {} @@ -2360,13 +1822,9 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 - mdn-data@2.0.30: {} - - memoize-weak@1.0.2: {} - merge2@1.4.1: {} - micromatch@4.0.7: + micromatch@4.0.8: dependencies: braces: 3.0.3 picomatch: 2.3.1 @@ -2389,9 +1847,9 @@ snapshots: dependencies: minimist: 1.2.8 - mode-watcher@0.4.1(svelte@4.2.18): + mode-watcher@0.4.1(svelte@5.0.0-next.242): dependencies: - svelte: 4.2.18 + svelte: 5.0.0-next.242 mri@1.2.0: {} @@ -2415,9 +1873,6 @@ snapshots: normalize-range@0.1.2: {} - normalize-url@8.0.1: - optional: true - object-assign@4.1.1: {} object-hash@3.0.0: {} @@ -2439,12 +1894,6 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 - periscopic@3.1.0: - dependencies: - '@types/estree': 1.0.5 - estree-walker: 3.0.3 - is-reference: 3.0.2 - picocolors@1.0.1: {} picomatch@2.3.1: {} @@ -2490,22 +1939,19 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 - prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@4.2.18): + prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.242): dependencies: prettier: 3.3.3 - svelte: 4.2.18 + svelte: 5.0.0-next.242 - prettier-plugin-tailwindcss@0.6.6(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@4.2.18))(prettier@3.3.3): + prettier-plugin-tailwindcss@0.6.6(prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.242))(prettier@3.3.3): dependencies: prettier: 3.3.3 optionalDependencies: - prettier-plugin-svelte: 3.2.6(prettier@3.3.3)(svelte@4.2.18) + prettier-plugin-svelte: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.242) prettier@3.3.3: {} - property-expr@2.0.6: - optional: true - queue-microtask@1.2.3: {} read-cache@1.0.0: @@ -2516,12 +1962,9 @@ snapshots: dependencies: picomatch: 2.3.1 - regenerator-runtime@0.14.1: - optional: true - resolve@1.22.8: dependencies: - is-core-module: 2.15.0 + is-core-module: 2.15.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 @@ -2531,26 +1974,26 @@ snapshots: dependencies: glob: 7.2.3 - rollup@4.20.0: + rollup@4.21.2: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.20.0 - '@rollup/rollup-android-arm64': 4.20.0 - '@rollup/rollup-darwin-arm64': 4.20.0 - '@rollup/rollup-darwin-x64': 4.20.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 - '@rollup/rollup-linux-arm-musleabihf': 4.20.0 - '@rollup/rollup-linux-arm64-gnu': 4.20.0 - '@rollup/rollup-linux-arm64-musl': 4.20.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 - '@rollup/rollup-linux-riscv64-gnu': 4.20.0 - '@rollup/rollup-linux-s390x-gnu': 4.20.0 - '@rollup/rollup-linux-x64-gnu': 4.20.0 - '@rollup/rollup-linux-x64-musl': 4.20.0 - '@rollup/rollup-win32-arm64-msvc': 4.20.0 - '@rollup/rollup-win32-ia32-msvc': 4.20.0 - '@rollup/rollup-win32-x64-msvc': 4.20.0 + '@rollup/rollup-android-arm-eabi': 4.21.2 + '@rollup/rollup-android-arm64': 4.21.2 + '@rollup/rollup-darwin-arm64': 4.21.2 + '@rollup/rollup-darwin-x64': 4.21.2 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.2 + '@rollup/rollup-linux-arm-musleabihf': 4.21.2 + '@rollup/rollup-linux-arm64-gnu': 4.21.2 + '@rollup/rollup-linux-arm64-musl': 4.21.2 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.2 + '@rollup/rollup-linux-riscv64-gnu': 4.21.2 + '@rollup/rollup-linux-s390x-gnu': 4.21.2 + '@rollup/rollup-linux-x64-gnu': 4.21.2 + '@rollup/rollup-linux-x64-musl': 4.21.2 + '@rollup/rollup-win32-arm64-msvc': 4.21.2 + '@rollup/rollup-win32-ia32-msvc': 4.21.2 + '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 run-parallel@1.2.0: @@ -2593,15 +2036,6 @@ snapshots: source-map-js@1.2.0: {} - source-map-support@0.5.21: - dependencies: - buffer-from: 1.1.2 - source-map: 0.6.1 - optional: true - - source-map@0.6.1: - optional: true - string-width@4.2.3: dependencies: emoji-regex: 8.0.0 @@ -2636,24 +2070,21 @@ snapshots: pirates: 4.0.6 ts-interface-checker: 0.1.13 - superstruct@2.0.2: - optional: true - supports-preserve-symlinks-flag@1.0.0: {} - svelte-chartjs@3.1.5(chart.js@4.4.3)(svelte@4.2.18): + svelte-chartjs@3.1.5(chart.js@4.4.4)(svelte@5.0.0-next.242): dependencies: - chart.js: 4.4.3 - svelte: 4.2.18 + chart.js: 4.4.4 + svelte: 5.0.0-next.242 - svelte-check@3.8.5(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@4.2.18): + svelte-check@3.8.6(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.242): dependencies: '@jridgewell/trace-mapping': 0.3.25 chokidar: 3.6.0 picocolors: 1.0.1 sade: 1.8.1 - svelte: 4.2.18 - svelte-preprocess: 5.1.4(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@4.2.18)(typescript@5.5.4) + svelte: 5.0.0-next.242 + svelte-preprocess: 5.1.4(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.242)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - '@babel/core' @@ -2666,66 +2097,38 @@ snapshots: - stylus - sugarss - svelte-hmr@0.16.0(svelte@4.2.18): - dependencies: - svelte: 4.2.18 - - svelte-preprocess@5.1.4(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@4.2.18)(typescript@5.5.4): + svelte-preprocess@5.1.4(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.242)(typescript@5.5.4): dependencies: '@types/pug': 2.0.10 detect-indent: 6.1.0 magic-string: 0.30.11 sorcery: 0.11.1 strip-indent: 3.0.0 - svelte: 4.2.18 + svelte: 5.0.0-next.242 optionalDependencies: postcss: 8.4.41 postcss-load-config: 4.0.2(postcss@8.4.41) typescript: 5.5.4 - svelte-sonner@0.3.27(svelte@4.2.18): + svelte-sonner@0.3.27(svelte@5.0.0-next.242): dependencies: - svelte: 4.2.18 + svelte: 5.0.0-next.242 - svelte@4.2.18: + svelte@5.0.0-next.242: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 '@types/estree': 1.0.5 acorn: 8.12.1 + acorn-typescript: 1.4.13(acorn@8.12.1) aria-query: 5.3.0 axobject-query: 4.1.0 - code-red: 1.0.4 - css-tree: 2.3.1 - estree-walker: 3.0.3 + esm-env: 1.0.0 + esrap: 1.2.2 is-reference: 3.0.2 locate-character: 3.0.0 magic-string: 0.30.11 - periscopic: 3.1.0 - - sveltekit-superforms@2.17.0(@sveltejs/kit@2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18): - dependencies: - '@sveltejs/kit': 2.5.22(@sveltejs/vite-plugin-svelte@3.1.1(svelte@4.2.18)(vite@5.4.1))(svelte@4.2.18)(vite@5.4.1) - devalue: 5.0.0 - just-clone: 6.2.0 - memoize-weak: 1.0.2 - svelte: 4.2.18 - ts-deepmerge: 7.0.1 - optionalDependencies: - '@exodus/schemasafe': 1.3.0 - '@gcornut/valibot-json-schema': 0.31.0 - '@sinclair/typebox': 0.32.35 - '@sodaru/yup-to-json-schema': 2.0.1 - '@vinejs/vine': 1.8.0 - arktype: 2.0.0-beta.0 - joi: 17.13.3 - json-schema-to-ts: 3.1.0 - superstruct: 2.0.2 - valibot: 0.35.0 - yup: 1.4.0 - zod: 3.23.8 - zod-to-json-schema: 3.23.2(zod@3.23.8) + zimmerframe: 1.1.2 tabbable@6.2.0: {} @@ -2748,7 +2151,7 @@ snapshots: is-glob: 4.0.3 jiti: 1.21.6 lilconfig: 2.1.0 - micromatch: 4.0.7 + micromatch: 4.0.8 normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.1 @@ -2771,9 +2174,6 @@ snapshots: dependencies: any-promise: 1.3.0 - tiny-case@1.0.3: - optional: true - tiny-glob@0.2.9: dependencies: globalyzer: 0.1.0 @@ -2783,56 +2183,33 @@ snapshots: dependencies: is-number: 7.0.0 - toposort@2.0.2: - optional: true - totalist@3.0.1: {} - ts-algebra@2.0.0: - optional: true - - ts-deepmerge@7.0.1: {} - ts-interface-checker@0.1.13: {} - tslib@2.4.0: - optional: true - - tslib@2.6.3: {} - - type-fest@2.19.0: - optional: true + tslib@2.7.0: {} typescript@5.5.4: {} update-browserslist-db@1.1.0(browserslist@4.23.3): dependencies: browserslist: 4.23.3 - escalade: 3.1.2 + escalade: 3.2.0 picocolors: 1.0.1 util-deprecate@1.0.2: {} - valibot@0.31.1: - optional: true - - valibot@0.35.0: - optional: true - - validator@13.12.0: - optional: true - - vite@5.4.1: + vite@5.4.2: dependencies: esbuild: 0.21.5 postcss: 8.4.41 - rollup: 4.20.0 + rollup: 4.21.2 optionalDependencies: fsevents: 2.3.3 - vitefu@0.2.5(vite@5.4.1): + vitefu@0.2.5(vite@5.4.2): optionalDependencies: - vite: 5.4.1 + vite: 5.4.2 which@2.0.2: dependencies: @@ -2854,17 +2231,6 @@ snapshots: yaml@2.5.0: {} - yup@1.4.0: - dependencies: - property-expr: 2.0.6 - tiny-case: 1.0.3 - toposort: 2.0.2 - type-fest: 2.19.0 - optional: true - - zod-to-json-schema@3.23.2(zod@3.23.8): - dependencies: - zod: 3.23.8 - optional: true + zimmerframe@1.1.2: {} zod@3.23.8: {} diff --git a/hono/github/runtime-node/3275/client/src/app/components/ui/button/button.svelte b/hono/github/runtime-node/3275/client/src/app/components/ui/button/button.svelte index d2efdbc..c3199b1 100644 --- a/hono/github/runtime-node/3275/client/src/app/components/ui/button/button.svelte +++ b/hono/github/runtime-node/3275/client/src/app/components/ui/button/button.svelte @@ -1,15 +1,15 @@ diff --git a/hono/github/runtime-node/3275/client/src/app/components/ui/button/index.ts b/hono/github/runtime-node/3275/client/src/app/components/ui/button/index.ts index a927293..0f43874 100644 --- a/hono/github/runtime-node/3275/client/src/app/components/ui/button/index.ts +++ b/hono/github/runtime-node/3275/client/src/app/components/ui/button/index.ts @@ -1,34 +1,33 @@ -import { type VariantProps, tv } from "tailwind-variants"; -import type { Button as ButtonPrimitive } from "bits-ui"; -import Root from "./button.svelte"; +import { type VariantProps, tv } from 'tailwind-variants'; +import type { Button as ButtonPrimitive } from 'bits-ui'; +import Root from './button.svelte'; const buttonVariants = tv({ - base: "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", + base: 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', variants: { variant: { - default: "bg-primary text-primary-foreground hover:bg-primary/90", - destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90", - outline: - "border border-input bg-background hover:bg-accent hover:text-accent-foreground", - secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80", - ghost: "hover:bg-accent hover:text-accent-foreground", - link: "text-primary underline-offset-4 hover:underline", + default: 'bg-primary text-primary-foreground hover:bg-primary/90', + destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90', + outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground', + secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', + ghost: 'hover:bg-accent hover:text-accent-foreground', + link: 'text-primary underline-offset-4 hover:underline' }, size: { - default: "h-10 px-4 py-2", - sm: "h-9 rounded-md px-3", - lg: "h-11 rounded-md px-8", - icon: "h-10 w-10", - }, + default: 'h-10 px-4 py-2', + sm: 'h-9 rounded-md px-3', + lg: 'h-11 rounded-md px-8', + icon: 'h-10 w-10' + } }, defaultVariants: { - variant: "default", - size: "default", - }, + variant: 'default', + size: 'default' + } }); -type Variant = VariantProps["variant"]; -type Size = VariantProps["size"]; +type Variant = VariantProps['variant']; +type Size = VariantProps['size']; type Props = ButtonPrimitive.Props & { variant?: Variant; @@ -45,5 +44,5 @@ export { Root as Button, type Props as ButtonProps, type Events as ButtonEvents, - buttonVariants, + buttonVariants }; diff --git a/hono/github/runtime-node/3275/client/src/app/routes/+page.svelte b/hono/github/runtime-node/3275/client/src/app/routes/+page.svelte index 344fe90..25e9cdc 100644 --- a/hono/github/runtime-node/3275/client/src/app/routes/+page.svelte +++ b/hono/github/runtime-node/3275/client/src/app/routes/+page.svelte @@ -2,31 +2,30 @@ import { Button } from '$front/components/ui/button/index.js'; import { hc } from 'hono/client'; - import{ type ApiTestRoutes} from '../../../../server/api/index' + import { type ApiTestRoutes } from '../../../../server/api/index'; const fetchPricing = async (selectedRegion: string, startUtcDate: string, endUtcDate: string) => { console.log('getPricing: ', selectedRegion, startUtcDate, endUtcDate); - try { - const dataClient = hc('/'); const api = dataClient.api; - const res = await api.pricing.$post({json:{ - countryCode: selectedRegion, - startDateUtc: startUtcDate, - endDateUtc: endUtcDate - }}); - - if (!res.ok) { + const res = await api.pricing.$post({ + json: { + countryCode: selectedRegion, + startDateUtc: startUtcDate, + endDateUtc: endUtcDate + } + }); + + if (!res.ok) { const errorText = 'Request failed: ' + res.statusText; console.error('Error:', errorText); return; } - const result = await res.json(); - console.log("Request successful: " ); - + const result = await res.json(); + console.log('Request successful: '); } catch (error) { console.error('There was a problem with the fetch operation:', error); } diff --git a/hono/github/runtime-node/3275/client/vite.config.ts b/hono/github/runtime-node/3275/client/vite.config.ts index e6c66d0..211e114 100644 --- a/hono/github/runtime-node/3275/client/vite.config.ts +++ b/hono/github/runtime-node/3275/client/vite.config.ts @@ -7,6 +7,6 @@ export default defineConfig({ port: 5001 }, define: { - global: 'globalThis', - }, + global: 'globalThis' + } }); diff --git a/hono/github/runtime-node/3275/server/api/index.ts b/hono/github/runtime-node/3275/server/api/index.ts index 245b2c3..7384bf7 100644 --- a/hono/github/runtime-node/3275/server/api/index.ts +++ b/hono/github/runtime-node/3275/server/api/index.ts @@ -1,18 +1,18 @@ -import { Hono } from "hono"; import { handle } from "@hono/node-server/vercel"; +import { Hono } from "hono"; const app = new Hono() - .basePath("/api") + .basePath("/api") - .get("/", (c) => { - return c.json({ message: "Hello Hono!" }); - }) + .get("/", (c) => { + return c.json({ message: "Hello Hono!" }); + }) - .post("/pricing", async (c) => { - const data = await c.req.json(); + .post("/pricing", async (c) => { + const data = await c.req.json(); - return c.json({ success: true, data }, 200); - }); + return c.json({ success: true, data }, 200); + }); export type ApiTestRoutes = typeof app; diff --git a/hono/github/runtime-node/3275/server/biome.json b/hono/github/runtime-node/3275/server/biome.json new file mode 100644 index 0000000..6d14cd9 --- /dev/null +++ b/hono/github/runtime-node/3275/server/biome.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true, + "defaultBranch": "main" + } +} diff --git a/hono/github/runtime-node/3275/server/package.json b/hono/github/runtime-node/3275/server/package.json index f46a61e..1cc837c 100644 --- a/hono/github/runtime-node/3275/server/package.json +++ b/hono/github/runtime-node/3275/server/package.json @@ -1,17 +1,21 @@ { - "name": "@hono/github/issue-3275/server", - "type": "module", - "scripts": { - "start": "vercel dev", - "deploy": "vercel", - "test": "echo \"No test specified\"" - }, - "dependencies": { - "@hono/node-server": "^1.12.0", - "hono": "^4.5.5" - }, - "devDependencies": { - "next": "^14.2.5", - "vercel": "^32.4.1" - } + "name": "@hono/github/issue-3275/server", + "type": "module", + "scripts": { + "start": "vercel dev", + "deploy": "vercel", + "check": "biome check --write .", + "format": "biome format --write .", + "lint": "biome lint --write .", + "test": "echo \"No test specified\"" + }, + "dependencies": { + "@hono/node-server": "^1.12.0", + "hono": "^4.5.5" + }, + "devDependencies": { + "@biomejs/biome": "^1.8.3", + "next": "^14.2.5", + "vercel": "^32.4.1" + } } diff --git a/hono/github/runtime-node/3275/server/pnpm-lock.yaml b/hono/github/runtime-node/3275/server/pnpm-lock.yaml index 2d9677e..b68da86 100644 --- a/hono/github/runtime-node/3275/server/pnpm-lock.yaml +++ b/hono/github/runtime-node/3275/server/pnpm-lock.yaml @@ -15,6 +15,9 @@ importers: specifier: ^4.5.5 version: 4.5.6 devDependencies: + '@biomejs/biome': + specifier: ^1.8.3 + version: 1.8.3 next: specifier: ^14.2.5 version: 14.2.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -24,6 +27,59 @@ importers: packages: + '@biomejs/biome@1.8.3': + resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@1.8.3': + resolution: {integrity: sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@1.8.3': + resolution: {integrity: sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@1.8.3': + resolution: {integrity: sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-arm64@1.8.3': + resolution: {integrity: sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-x64-musl@1.8.3': + resolution: {integrity: sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-linux-x64@1.8.3': + resolution: {integrity: sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-win32-arm64@1.8.3': + resolution: {integrity: sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@1.8.3': + resolution: {integrity: sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + '@cspotcode/source-map-support@0.8.1': resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -1225,6 +1281,41 @@ packages: snapshots: + '@biomejs/biome@1.8.3': + optionalDependencies: + '@biomejs/cli-darwin-arm64': 1.8.3 + '@biomejs/cli-darwin-x64': 1.8.3 + '@biomejs/cli-linux-arm64': 1.8.3 + '@biomejs/cli-linux-arm64-musl': 1.8.3 + '@biomejs/cli-linux-x64': 1.8.3 + '@biomejs/cli-linux-x64-musl': 1.8.3 + '@biomejs/cli-win32-arm64': 1.8.3 + '@biomejs/cli-win32-x64': 1.8.3 + + '@biomejs/cli-darwin-arm64@1.8.3': + optional: true + + '@biomejs/cli-darwin-x64@1.8.3': + optional: true + + '@biomejs/cli-linux-arm64-musl@1.8.3': + optional: true + + '@biomejs/cli-linux-arm64@1.8.3': + optional: true + + '@biomejs/cli-linux-x64-musl@1.8.3': + optional: true + + '@biomejs/cli-linux-x64@1.8.3': + optional: true + + '@biomejs/cli-win32-arm64@1.8.3': + optional: true + + '@biomejs/cli-win32-x64@1.8.3': + optional: true + '@cspotcode/source-map-support@0.8.1': dependencies: '@jridgewell/trace-mapping': 0.3.9 diff --git a/hono/github/runtime-node/3275/server/tsconfig.json b/hono/github/runtime-node/3275/server/tsconfig.json index d52390f..0d03959 100644 --- a/hono/github/runtime-node/3275/server/tsconfig.json +++ b/hono/github/runtime-node/3275/server/tsconfig.json @@ -1,10 +1,10 @@ { - "compilerOptions": { - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "node", - "esModuleInterop": true, - "skipLibCheck": true, - "strict": true, - }, -} \ No newline at end of file + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "node", + "esModuleInterop": true, + "skipLibCheck": true, + "strict": true + } +} diff --git a/hono/github/runtime-node/3275/server/vercel.json b/hono/github/runtime-node/3275/server/vercel.json index 7f9ff0a..766be55 100644 --- a/hono/github/runtime-node/3275/server/vercel.json +++ b/hono/github/runtime-node/3275/server/vercel.json @@ -1,8 +1,8 @@ { - "rewrites": [ - { - "source": "/api/(.*)", - "destination": "/api" - } - ] -} \ No newline at end of file + "rewrites": [ + { + "source": "/api/(.*)", + "destination": "/api" + } + ] +} diff --git a/neverthrow/runtime-deno/564/main.ts b/neverthrow/runtime-deno/564/main.ts index 4c4ce4a..f4eb489 100644 --- a/neverthrow/runtime-deno/564/main.ts +++ b/neverthrow/runtime-deno/564/main.ts @@ -1,9 +1,15 @@ -import { fromPromise } from "npm:neverthrow" +import { fromPromise } from "npm:neverthrow"; export function isPromiseAllSettledOK(promises: Promise[]) { - return fromPromise(Promise.allSettled([...promises]), () => new Error('Promise allSettled error')) + return fromPromise( + Promise.allSettled([...promises]), + () => new Error("Promise allSettled error"), + ); } export function isPromiseAllOK(promises: Promise[]) { - return fromPromise(Promise.all([...promises]), () => new Error('Promise all error')) -} \ No newline at end of file + return fromPromise( + Promise.all([...promises]), + () => new Error("Promise all error"), + ); +} diff --git a/neverthrow/runtime-deno/564/main_test.ts b/neverthrow/runtime-deno/564/main_test.ts index d990134..edfb164 100644 --- a/neverthrow/runtime-deno/564/main_test.ts +++ b/neverthrow/runtime-deno/564/main_test.ts @@ -1,22 +1,22 @@ import { assertSnapshot } from "@std/testing/snapshot"; import { isPromiseAllOK, isPromiseAllSettledOK } from "./main.ts"; -Deno.test("testIsPromiseAllSettledOK", async function (t): Promise { +Deno.test("testIsPromiseAllSettledOK", async function (t): Promise { const result = await isPromiseAllSettledOK([ Promise.resolve("Success"), Promise.reject("Error"), Promise.resolve(1), - ]) - + ]); + await assertSnapshot(t, result); }); -Deno.test("testIsPromiseAllOK", async function (t): Promise { +Deno.test("testIsPromiseAllOK", async function (t): Promise { const result = await isPromiseAllOK([ Promise.resolve("Success"), Promise.reject("Error"), Promise.resolve(1), - ]) - + ]); + await assertSnapshot(t, result); -}); \ No newline at end of file +}); diff --git a/readme.md b/readme.md index a140e10..7348efe 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,12 @@ # oss-issue-fix-collection +![deno compatibility](https://shield.deno.dev/deno/latest) +![TypeScript Badge](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff&style=flat) +![Bun Badge](https://img.shields.io/badge/Bun-000?logo=bun&logoColor=F9F1E1&style=flat) +![Node.js Badge](https://img.shields.io/badge/Node.js-5FA04E?logo=nodedotjs&logoColor=fff&style=flat) +[![Formatted with Biome](https://img.shields.io/badge/Biome-latest-60a5fa?style=flat&logo=biome)](https://biomejs.dev/) +[![GitHub license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE) + This repository contains issue resolving. ## Table of contains diff --git a/scripts/_runCheck.ts b/scripts/_runCheck.ts new file mode 100644 index 0000000..40a1b81 --- /dev/null +++ b/scripts/_runCheck.ts @@ -0,0 +1,50 @@ +import { dirname } from "jsr:@std/path/dirname"; +import { exec } from "node:child_process"; +import { promisify } from "node:util"; +import { getFiles, configPattern, runtimeMapper, isYarn, isPnpm } from "./utils.ts"; +import { Output } from "./types.ts"; +import { Agent } from "./types.ts"; + +const exca = promisify(exec); +const getCmd = async (agent: Agent, cwd: string, cmd: { check: string }) => `${agent === 'node' ? await isPnpm(cwd) ? 'pnpm run' : await isYarn(cwd) ? 'yarn run' : 'npm run' : agent} ${cmd?.check || 'check'}` + +for await (const file of await getFiles(configPattern)) { + const { name, path } = file; + const { agent, cmd = { check: 'check' } } = runtimeMapper[name] + const cwd = dirname(path) + + let outputs: Output[] = [] + if (typeof agent === 'string') { + const $cmd = await getCmd(agent, cwd, cmd) + const { stderr, stdout } = await exca($cmd, { + cwd, + }); + outputs.push({ + stderr, + stdout + }) + } else { + outputs = await Promise.all(agent.map(async (ag) => { + const $cmd = await getCmd(ag, cwd, cmd) + if (path.includes(ag)) { + console.log(path); + const { stderr, stdout } = await exca($cmd, { + cwd, + }); + return { stderr, stdout } + } else { + return { + stderr: '', + stdout: '' + } + } + })) + } + + outputs + .filter(i => i.stderr && i.stdout) + .map(({ stdout, stderr }) => { + if (stdout) console.log("stdout:", stdout); + if (stderr && !stderr.includes('$')) console.error("stderr:", stderr); + }) +} diff --git a/scripts/_runFormat.ts b/scripts/_runFormat.ts new file mode 100644 index 0000000..ac0ac3f --- /dev/null +++ b/scripts/_runFormat.ts @@ -0,0 +1,49 @@ +import { dirname } from "jsr:@std/path/dirname"; +import { exec } from "node:child_process"; +import { promisify } from "node:util"; +import { getFiles, configPattern, runtimeMapper, isYarn, isPnpm } from "./utils.ts"; +import { Output } from "./types.ts"; +import { Agent } from "./types.ts"; + +const exca = promisify(exec); +const getCmd = async (agent: Agent, cwd: string, cmd: { fmt: string }) => `${agent === 'node' ? await isPnpm(cwd) ? 'pnpm run' : await isYarn(cwd) ? 'yarn run' : 'npm run' : agent} ${cmd?.fmt || 'format'}` + +for await (const file of await getFiles(configPattern)) { + const { name, path } = file; + const { agent, cmd = { fmt: 'format' } } = runtimeMapper[name] + const cwd = dirname(path) + + let outputs: Output[] = [] + if (typeof agent === 'string') { + const $cmd = await getCmd(agent, cwd, cmd) + const { stderr, stdout } = await exca($cmd, { + cwd, + }); + outputs.push({ + stderr, + stdout + }) + } else { + outputs = await Promise.all(agent.map(async (ag) => { + const $cmd = await getCmd(ag, cwd, cmd) + if (path.includes(ag)) { + const { stderr, stdout } = await exca($cmd, { + cwd, + }); + return { stderr, stdout } + } else { + return { + stderr: '', + stdout: '' + } + } + })) + } + + outputs + .filter(i => i.stderr && i.stdout) + .map(({ stdout, stderr }) => { + if (stdout) console.log("stdout:", stdout); + if (stderr && !stderr.includes('$')) console.error("stderr:", stderr); + }) +} diff --git a/scripts/_runInstall.ts b/scripts/_runInstall.ts index 5f61183..afaa81c 100644 --- a/scripts/_runInstall.ts +++ b/scripts/_runInstall.ts @@ -1,13 +1,12 @@ import { dirname } from "@std/path/dirname"; -import { installDependencies } from 'npm:nypm' -import { getFiles, installPattern, mapper } from "./utils.ts"; +import { installDependencies } from "npm:nypm"; +import { getFiles, installPattern, packageMapper } from "./utils.ts"; -for await (const file of await getFiles(installPattern) -) { - const { agent } = mapper[file.name] - await installDependencies({ - cwd: dirname(file.path), - packageManager: agent, - silent: false - }) +for await (const file of await getFiles(installPattern)) { + const { agent } = packageMapper[file.name]; + await installDependencies({ + cwd: dirname(file.path), + packageManager: agent, + silent: false, + }); } diff --git a/scripts/_runLint.ts b/scripts/_runLint.ts new file mode 100644 index 0000000..eada107 --- /dev/null +++ b/scripts/_runLint.ts @@ -0,0 +1,49 @@ +import { dirname } from "jsr:@std/path/dirname"; +import { exec } from "node:child_process"; +import { promisify } from "node:util"; +import { getFiles, configPattern, runtimeMapper, isYarn, isPnpm } from "./utils.ts"; +import { Output } from "./types.ts"; +import { Agent } from "./types.ts"; + +const exca = promisify(exec); +const getCmd = async (agent: Agent, cwd: string, cmd: { lint: string }) => `${agent === 'node' ? await isPnpm(cwd) ? 'pnpm run' : await isYarn(cwd) ? 'yarn run' : 'npm run' : agent} ${cmd?.lint || 'lint'}` + +for await (const file of await getFiles(configPattern)) { + const { name, path } = file; + const { agent, cmd = { lint: 'lint' } } = runtimeMapper[name] + const cwd = dirname(path) + + let outputs: Output[] = [] + if (typeof agent === 'string') { + const $cmd = await getCmd(agent, cwd, cmd) + const { stderr, stdout } = await exca($cmd, { + cwd, + }); + outputs.push({ + stderr, + stdout + }) + } else { + outputs = await Promise.all(agent.map(async (ag) => { + const $cmd = await getCmd(ag, cwd, cmd) + if (path.includes(ag)) { + const { stderr, stdout } = await exca($cmd, { + cwd, + }); + return { stderr, stdout } + } else { + return { + stderr: '', + stdout: '' + } + } + })) + } + + outputs + .filter(i => i.stderr && i.stdout) + .map(({ stdout, stderr }) => { + if (stdout) console.log("stdout:", stdout); + if (stderr && !stderr.includes('$')) console.error("stderr:", stderr); + }) +} diff --git a/scripts/_runTest.ts b/scripts/_runTest.ts index a7d6eb5..2002314 100644 --- a/scripts/_runTest.ts +++ b/scripts/_runTest.ts @@ -1,12 +1,11 @@ import { dirname } from "jsr:@std/path/dirname"; import { exec } from "node:child_process"; import { promisify } from "node:util"; -import { getFiles, testPattern } from "./utils.ts"; +import { getFiles, configPattern } from "./utils.ts"; const exca = promisify(exec); -for await (const file of await getFiles(testPattern) -) { +for await (const file of await getFiles(configPattern)) { const decoder = new TextDecoder("utf-8"); const data = await Deno.readFile(file.path); const content = JSON.parse(decoder.decode(data).toString()); diff --git a/scripts/deno.lock b/scripts/deno.lock index 2fd5502..b1ea595 100644 --- a/scripts/deno.lock +++ b/scripts/deno.lock @@ -2,6 +2,7 @@ "version": "3", "packages": { "specifiers": { + "jsr:@std/fs": "jsr:@std/fs@1.0.2", "jsr:@std/fs@^1.0.2": "jsr:@std/fs@1.0.2", "jsr:@std/path": "jsr:@std/path@1.0.3", "jsr:@std/path@^1.0.3": "jsr:@std/path@1.0.3", diff --git a/scripts/types.ts b/scripts/types.ts new file mode 100644 index 0000000..701186a --- /dev/null +++ b/scripts/types.ts @@ -0,0 +1,23 @@ +export type PackageMapper = { + [key: string]: { + agent: "bun" | "npm" | "pnpm" | "yarn"; + }; +}; + +export type Agent = "bun" | "node" | "deno" + +export type Output = { + stdout?: string, + stderr?: string +} + +export type RuntimeMapper = { + [key: string]: { + agent: Agent[] | Agent; + cmd?: { + fmt: string, + check: string, + lint: string + } + }; +} diff --git a/scripts/utils.ts b/scripts/utils.ts index c28bd1a..bbaecf0 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -1,30 +1,55 @@ import { expandGlob } from "@std/fs/expand-glob"; +import { exists } from "jsr:@std/fs/exists"; +import { join } from "@std/path/join"; +import { RuntimeMapper, PackageMapper } from "./types.ts"; -export const testPattern = "**/{runtime-*}/**/*{deno,package}.json" -export const installPattern = "**/{runtime-*}/**/*{bun,pnpm-lock}.{lock,yaml}*" +export const configPattern = "**/{runtime-*}/**/*{deno,package}.json"; +export const installPattern = "**/{runtime-*}/**/*{bun,pnpm-lock}.{lock,yaml}*"; -type Mapper = { - [key: string]: { - agent: "bun" | "npm" | "pnpm" | "yarn"; - }; -} +export const runtimeMapper: RuntimeMapper = { + "package.json": { + agent: ["bun", "node"], + cmd: { + "fmt": "format", + "check": "check", + "lint": "lint" + } + }, + "deno.json": { + agent: "deno", + cmd: { + fmt: "fmt", + "check": "check **/*.ts", + "lint": "lint" + } + }, +}; -export const mapper: Mapper = { - "bun.lockb": { - agent: "bun", - }, - "yarn.lock": { - agent: "yarn", - }, - "pnpm-lock.yaml": { - agent: "pnpm", - }, - "package-lock.yaml": { - agent: "npm", - }, +export const packageMapper: PackageMapper = { + "bun.lockb": { + agent: "bun", + }, + "yarn.lock": { + agent: "yarn", + }, + "pnpm-lock.yaml": { + agent: "pnpm", + }, + "package-lock.yaml": { + agent: "npm", + }, }; export const getFiles = async (pattern: string) => { - if (!pattern) throw new Error("Pattern missing") - return await Array.fromAsync(expandGlob(pattern, { root: "./", exclude: ["**/node_modules/**", '**/.git/**', "**/dist/**"], includeDirs: false })) -} \ No newline at end of file + if (!pattern) throw new Error("Pattern missing"); + return await Array.fromAsync( + expandGlob(pattern, { + root: "./", + exclude: ["**/node_modules/**", "**/.git/**", "**/dist/**"], + includeDirs: false, + }), + ); +}; + +export const isPnpm = async (cwd: string) => await exists(join(cwd, 'pnpm-lock.yaml')) +export const isYarn = async (cwd: string) => await exists(join(cwd, 'yarn.lock')) \ No newline at end of file