diff --git a/package.json b/package.json index c144245..0813d06 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "engines": { "node": ">=18" }, - "packageManager": "pnpm@9.14.4+sha512.c8180b3fbe4e4bca02c94234717896b5529740a6cbadf19fa78254270403ea2f27d4e1d46a08a0f56c89b63dc8ebfd3ee53326da720273794e6200fcf0d184ab", + "packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0", "devDependencies": { "@biomejs/biome": "1.9.4", "@pandacss/dev": "^0.51.1", @@ -54,7 +54,7 @@ "postcss": "^8.5.1", "solid-devtools": "^0.33.0", "typescript": "^5.7.3", - "vite": "^5.4.11", + "vite": "^5.4.12", "vitest": "^3.0.2" }, "bugs": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b21a794..567fa35 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,7 +37,7 @@ importers: version: 0.15.3(solid-js@1.9.4) '@solidjs/start': specifier: ^1.0.11 - version: 1.0.11(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vinxi@0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3))(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + version: 1.0.11(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vinxi@0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3))(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) localforage: specifier: ^1.10.0 version: 1.10.0 @@ -55,10 +55,10 @@ importers: version: 0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3) vite-plugin-solid: specifier: ^2.11.0 - version: 2.11.0(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + version: 2.11.0(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) vite-tsconfig-paths: specifier: ^5.1.4 - version: 5.1.4(typescript@5.7.3)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + version: 5.1.4(typescript@5.7.3)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) devDependencies: '@biomejs/biome': specifier: 1.9.4 @@ -92,13 +92,13 @@ importers: version: 8.5.1 solid-devtools: specifier: ^0.33.0 - version: 0.33.0(solid-js@1.9.4)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + version: 0.33.0(solid-js@1.9.4)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) typescript: specifier: ^5.7.3 version: 5.7.3 vite: - specifier: ^5.4.11 - version: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + specifier: ^5.4.12 + version: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) vitest: specifier: ^3.0.2 version: 3.0.2(@types/node@22.10.7)(jsdom@26.0.0)(lightningcss@1.25.1)(terser@5.37.0) @@ -1085,98 +1085,98 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.30.1': - resolution: {integrity: sha512-pSWY+EVt3rJ9fQ3IqlrEUtXh3cGqGtPDH1FQlNZehO2yYxCHEX1SPsz1M//NXwYfbTlcKr9WObLnJX9FsS9K1Q==} + '@rollup/rollup-android-arm-eabi@4.31.0': + resolution: {integrity: sha512-9NrR4033uCbUBRgvLcBrJofa2KY9DzxL2UKZ1/4xA/mnTNyhZCWBuD8X3tPm1n4KxcgaraOYgrFKSgwjASfmlA==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.30.1': - resolution: {integrity: sha512-/NA2qXxE3D/BRjOJM8wQblmArQq1YoBVJjrjoTSBS09jgUisq7bqxNHJ8kjCHeV21W/9WDGwJEWSN0KQ2mtD/w==} + '@rollup/rollup-android-arm64@4.31.0': + resolution: {integrity: sha512-iBbODqT86YBFHajxxF8ebj2hwKm1k8PTBQSojSt3d1FFt1gN+xf4CowE47iN0vOSdnd+5ierMHBbu/rHc7nq5g==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.30.1': - resolution: {integrity: sha512-r7FQIXD7gB0WJ5mokTUgUWPl0eYIH0wnxqeSAhuIwvnnpjdVB8cRRClyKLQr7lgzjctkbp5KmswWszlwYln03Q==} + '@rollup/rollup-darwin-arm64@4.31.0': + resolution: {integrity: sha512-WHIZfXgVBX30SWuTMhlHPXTyN20AXrLH4TEeH/D0Bolvx9PjgZnn4H677PlSGvU6MKNsjCQJYczkpvBbrBnG6g==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.30.1': - resolution: {integrity: sha512-x78BavIwSH6sqfP2xeI1hd1GpHL8J4W2BXcVM/5KYKoAD3nNsfitQhvWSw+TFtQTLZ9OmlF+FEInEHyubut2OA==} + '@rollup/rollup-darwin-x64@4.31.0': + resolution: {integrity: sha512-hrWL7uQacTEF8gdrQAqcDy9xllQ0w0zuL1wk1HV8wKGSGbKPVjVUv/DEwT2+Asabf8Dh/As+IvfdU+H8hhzrQQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.30.1': - resolution: {integrity: sha512-HYTlUAjbO1z8ywxsDFWADfTRfTIIy/oUlfIDmlHYmjUP2QRDTzBuWXc9O4CXM+bo9qfiCclmHk1x4ogBjOUpUQ==} + '@rollup/rollup-freebsd-arm64@4.31.0': + resolution: {integrity: sha512-S2oCsZ4hJviG1QjPY1h6sVJLBI6ekBeAEssYKad1soRFv3SocsQCzX6cwnk6fID6UQQACTjeIMB+hyYrFacRew==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.30.1': - resolution: {integrity: sha512-1MEdGqogQLccphhX5myCJqeGNYTNcmTyaic9S7CG3JhwuIByJ7J05vGbZxsizQthP1xpVx7kd3o31eOogfEirw==} + '@rollup/rollup-freebsd-x64@4.31.0': + resolution: {integrity: sha512-pCANqpynRS4Jirn4IKZH4tnm2+2CqCNLKD7gAdEjzdLGbH1iO0zouHz4mxqg0uEMpO030ejJ0aA6e1PJo2xrPA==} cpu: [x64] os: [freebsd] - '@rollup/rollup-linux-arm-gnueabihf@4.30.1': - resolution: {integrity: sha512-PaMRNBSqCx7K3Wc9QZkFx5+CX27WFpAMxJNiYGAXfmMIKC7jstlr32UhTgK6T07OtqR+wYlWm9IxzennjnvdJg==} + '@rollup/rollup-linux-arm-gnueabihf@4.31.0': + resolution: {integrity: sha512-0O8ViX+QcBd3ZmGlcFTnYXZKGbFu09EhgD27tgTdGnkcYXLat4KIsBBQeKLR2xZDCXdIBAlWLkiXE1+rJpCxFw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.30.1': - resolution: {integrity: sha512-B8Rcyj9AV7ZlEFqvB5BubG5iO6ANDsRKlhIxySXcF1axXYUyqwBok+XZPgIYGBgs7LDXfWfifxhw0Ik57T0Yug==} + '@rollup/rollup-linux-arm-musleabihf@4.31.0': + resolution: {integrity: sha512-w5IzG0wTVv7B0/SwDnMYmbr2uERQp999q8FMkKG1I+j8hpPX2BYFjWe69xbhbP6J9h2gId/7ogesl9hwblFwwg==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.30.1': - resolution: {integrity: sha512-hqVyueGxAj3cBKrAI4aFHLV+h0Lv5VgWZs9CUGqr1z0fZtlADVV1YPOij6AhcK5An33EXaxnDLmJdQikcn5NEw==} + '@rollup/rollup-linux-arm64-gnu@4.31.0': + resolution: {integrity: sha512-JyFFshbN5xwy6fulZ8B/8qOqENRmDdEkcIMF0Zz+RsfamEW+Zabl5jAb0IozP/8UKnJ7g2FtZZPEUIAlUSX8cA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.30.1': - resolution: {integrity: sha512-i4Ab2vnvS1AE1PyOIGp2kXni69gU2DAUVt6FSXeIqUCPIR3ZlheMW3oP2JkukDfu3PsexYRbOiJrY+yVNSk9oA==} + '@rollup/rollup-linux-arm64-musl@4.31.0': + resolution: {integrity: sha512-kpQXQ0UPFeMPmPYksiBL9WS/BDiQEjRGMfklVIsA0Sng347H8W2iexch+IEwaR7OVSKtr2ZFxggt11zVIlZ25g==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-loongarch64-gnu@4.30.1': - resolution: {integrity: sha512-fARcF5g296snX0oLGkVxPmysetwUk2zmHcca+e9ObOovBR++9ZPOhqFUM61UUZ2EYpXVPN1redgqVoBB34nTpQ==} + '@rollup/rollup-linux-loongarch64-gnu@4.31.0': + resolution: {integrity: sha512-pMlxLjt60iQTzt9iBb3jZphFIl55a70wexvo8p+vVFK+7ifTRookdoXX3bOsRdmfD+OKnMozKO6XM4zR0sHRrQ==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.30.1': - resolution: {integrity: sha512-GLrZraoO3wVT4uFXh67ElpwQY0DIygxdv0BNW9Hkm3X34wu+BkqrDrkcsIapAY+N2ATEbvak0XQ9gxZtCIA5Rw==} + '@rollup/rollup-linux-powerpc64le-gnu@4.31.0': + resolution: {integrity: sha512-D7TXT7I/uKEuWiRkEFbed1UUYZwcJDU4vZQdPTcepK7ecPhzKOYk4Er2YR4uHKme4qDeIh6N3XrLfpuM7vzRWQ==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.30.1': - resolution: {integrity: sha512-0WKLaAUUHKBtll0wvOmh6yh3S0wSU9+yas923JIChfxOaaBarmb/lBKPF0w/+jTVozFnOXJeRGZ8NvOxvk/jcw==} + '@rollup/rollup-linux-riscv64-gnu@4.31.0': + resolution: {integrity: sha512-wal2Tc8O5lMBtoePLBYRKj2CImUCJ4UNGJlLwspx7QApYny7K1cUYlzQ/4IGQBLmm+y0RS7dwc3TDO/pmcneTw==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.30.1': - resolution: {integrity: sha512-GWFs97Ruxo5Bt+cvVTQkOJ6TIx0xJDD/bMAOXWJg8TCSTEK8RnFeOeiFTxKniTc4vMIaWvCplMAFBt9miGxgkA==} + '@rollup/rollup-linux-s390x-gnu@4.31.0': + resolution: {integrity: sha512-O1o5EUI0+RRMkK9wiTVpk2tyzXdXefHtRTIjBbmFREmNMy7pFeYXCFGbhKFwISA3UOExlo5GGUuuj3oMKdK6JQ==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.30.1': - resolution: {integrity: sha512-UtgGb7QGgXDIO+tqqJ5oZRGHsDLO8SlpE4MhqpY9Llpzi5rJMvrK6ZGhsRCST2abZdBqIBeXW6WPD5fGK5SDwg==} + '@rollup/rollup-linux-x64-gnu@4.31.0': + resolution: {integrity: sha512-zSoHl356vKnNxwOWnLd60ixHNPRBglxpv2g7q0Cd3Pmr561gf0HiAcUBRL3S1vPqRC17Zo2CX/9cPkqTIiai1g==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.30.1': - resolution: {integrity: sha512-V9U8Ey2UqmQsBT+xTOeMzPzwDzyXmnAoO4edZhL7INkwQcaW1Ckv3WJX3qrrp/VHaDkEWIBWhRwP47r8cdrOow==} + '@rollup/rollup-linux-x64-musl@4.31.0': + resolution: {integrity: sha512-ypB/HMtcSGhKUQNiFwqgdclWNRrAYDH8iMYH4etw/ZlGwiTVxBz2tDrGRrPlfZu6QjXwtd+C3Zib5pFqID97ZA==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.30.1': - resolution: {integrity: sha512-WabtHWiPaFF47W3PkHnjbmWawnX/aE57K47ZDT1BXTS5GgrBUEpvOzq0FI0V/UYzQJgdb8XlhVNH8/fwV8xDjw==} + '@rollup/rollup-win32-arm64-msvc@4.31.0': + resolution: {integrity: sha512-JuhN2xdI/m8Hr+aVO3vspO7OQfUFO6bKLIRTAy0U15vmWjnZDLrEgCZ2s6+scAYaQVpYSh9tZtRijApw9IXyMw==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.30.1': - resolution: {integrity: sha512-pxHAU+Zv39hLUTdQQHUVHf4P+0C47y/ZloorHpzs2SXMRqeAWmGghzAhfOlzFHHwjvgokdFAhC4V+6kC1lRRfw==} + '@rollup/rollup-win32-ia32-msvc@4.31.0': + resolution: {integrity: sha512-U1xZZXYkvdf5MIWmftU8wrM5PPXzyaY1nGCI4KI4BFfoZxHamsIe+BtnPLIvvPykvQWlVbqUXdLa4aJUuilwLQ==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.30.1': - resolution: {integrity: sha512-D6qjsXGcvhTjv0kI4fU8tUuBDF/Ueee4SVX79VfNDXZa64TfCW1Slkb6Z7O1p7vflqZjcmOVdZlqf8gvJxc6og==} + '@rollup/rollup-win32-x64-msvc@4.31.0': + resolution: {integrity: sha512-ul8rnCsUumNln5YWwz0ted2ZHFhzhRRnkpBZ+YRuHoRAlUji9KChpOUOndY7uykrPEPXVbHLlsdo6v5yXo/TXw==} cpu: [x64] os: [win32] @@ -2030,8 +2030,8 @@ packages: caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} - caniuse-lite@1.0.30001692: - resolution: {integrity: sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==} + caniuse-lite@1.0.30001695: + resolution: {integrity: sha512-vHyLade6wTgI2u1ec3WQBxv+2BrTERV28UXQu9LO6lZ9pYeMk34vjXFLOxo1A4UBA8XTL4njRQZdno/yYaSmWw==} chai@5.1.2: resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} @@ -2326,8 +2326,8 @@ packages: effect@3.10.15: resolution: {integrity: sha512-LdczPAFbtij3xGr9i+8PyDtuWdlXjSY5UJ8PKrYrr0DClKfR/OW3j8sxtambWYljzJAYD865KFhv7LdbWdG7VQ==} - electron-to-chromium@1.5.83: - resolution: {integrity: sha512-LcUDPqSt+V0QmI47XLzZrz5OqILSMGsPFkDYus22rIbgorSvBYEFqq854ltTmUdHkY92FSdAAvsh4jWEULMdfQ==} + electron-to-chromium@1.5.84: + resolution: {integrity: sha512-I+DQ8xgafao9Ha6y0qjHHvpZ9OfyA1qKlkHkjywxzniORU2awxyz7f/iVJcULmrF2yrM3nHQf+iDjJtbbexd/g==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -3055,8 +3055,8 @@ packages: resolution: {integrity: sha512-Ap+L9HznXAVeJj3TJ1op6M6bg5xtTq8L5CU/PJxtkhea/DrIxdTknGKIECKd/v/Lgql95iuMAYvIzBNd0pmcMg==} engines: {node: '>= 4'} - node-fetch-native@1.6.4: - resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} + node-fetch-native@1.6.6: + resolution: {integrity: sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ==} node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} @@ -3411,8 +3411,8 @@ packages: rollup: optional: true - rollup@4.30.1: - resolution: {integrity: sha512-mlJ4glW020fPuLi7DkM/lN97mYEZGWeqBnrljzN0gs7GLctqX3lNWxKQ7Gl712UAX+6fog/L3jh4gb7R6aVi3w==} + rollup@4.31.0: + resolution: {integrity: sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -3484,6 +3484,7 @@ packages: shikiji-core@0.9.19: resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} + deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates shikiji@0.9.19: resolution: {integrity: sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==} @@ -3698,11 +3699,11 @@ packages: resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} - tldts-core@6.1.72: - resolution: {integrity: sha512-FW3H9aCaGTJ8l8RVCR3EX8GxsxDbQXuwetwwgXA2chYdsX+NY1ytCBl61narjjehWmCw92tc1AxlcY3668CU8g==} + tldts-core@6.1.73: + resolution: {integrity: sha512-k1g5eX87vxu3g//6XMn62y4qjayu4cYby/PF7Ksnh4F4uUK1Z1ze/mJ4a+y5OjdJ+cXRp+YTInZhH+FGdUWy1w==} - tldts@6.1.72: - resolution: {integrity: sha512-QNtgIqSUb9o2CoUjX9T5TwaIvUUJFU1+12PJkgt42DFV2yf9J6549yTF2uGloQsJ/JOC8X+gIB81ind97hRiIQ==} + tldts@6.1.73: + resolution: {integrity: sha512-/h4bVmuEMm57c2uCiAf1Q9mlQk7cA22m+1Bu0K92vUUtTVT9D4mOFWD9r4WQuTULcG9eeZtNKhLl0Il1LdKGog==} hasBin: true to-regex-range@5.0.1: @@ -3770,8 +3771,8 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type-fest@4.32.0: - resolution: {integrity: sha512-rfgpoi08xagF3JSdtJlCwMq9DGNDE0IMh3Mkpc1wUypg9vPi786AiqeBBKcqvIkq42azsBM85N490fyZjeUftw==} + type-fest@4.33.0: + resolution: {integrity: sha512-s6zVrxuyKbbAsSAD5ZPTB77q4YIdRctkTbJ2/Dqlinwz+8ooH2gd+YA7VA6Pa93KML9GockVvoxjZ2vHP+mu8g==} engines: {node: '>=16'} typescript@5.6.2: @@ -3946,8 +3947,8 @@ packages: vite: optional: true - vite@5.4.11: - resolution: {integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==} + vite@5.4.12: + resolution: {integrity: sha512-KwUaKB27TvWwDJr1GjjWthLMATbGEbeWYZIbGZ5qFIsgPP3vWzLu4cVooqhm5/Z2SPDUMjyPVjTztm5tYKwQxA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5054,13 +5055,13 @@ snapshots: - encoding - supports-color - '@rollup/plugin-alias@5.1.1(rollup@4.30.1)': + '@rollup/plugin-alias@5.1.1(rollup@4.31.0)': optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/plugin-commonjs@28.0.2(rollup@4.30.1)': + '@rollup/plugin-commonjs@28.0.2(rollup@4.31.0)': dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) commondir: 1.0.1 estree-walker: 2.0.2 fdir: 6.4.3(picomatch@4.0.2) @@ -5068,110 +5069,110 @@ snapshots: magic-string: 0.30.17 picomatch: 4.0.2 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/plugin-inject@5.0.5(rollup@4.30.1)': + '@rollup/plugin-inject@5.0.5(rollup@4.31.0)': dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) estree-walker: 2.0.2 magic-string: 0.30.17 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/plugin-json@6.1.0(rollup@4.30.1)': + '@rollup/plugin-json@6.1.0(rollup@4.31.0)': dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/plugin-node-resolve@15.3.1(rollup@4.30.1)': + '@rollup/plugin-node-resolve@15.3.1(rollup@4.31.0)': dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.10 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/plugin-replace@6.0.2(rollup@4.30.1)': + '@rollup/plugin-replace@6.0.2(rollup@4.31.0)': dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) magic-string: 0.30.17 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/plugin-terser@0.4.4(rollup@4.30.1)': + '@rollup/plugin-terser@0.4.4(rollup@4.31.0)': dependencies: serialize-javascript: 6.0.2 smob: 1.5.0 terser: 5.37.0 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/pluginutils@5.1.4(rollup@4.30.1)': + '@rollup/pluginutils@5.1.4(rollup@4.31.0)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 4.0.2 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - '@rollup/rollup-android-arm-eabi@4.30.1': + '@rollup/rollup-android-arm-eabi@4.31.0': optional: true - '@rollup/rollup-android-arm64@4.30.1': + '@rollup/rollup-android-arm64@4.31.0': optional: true - '@rollup/rollup-darwin-arm64@4.30.1': + '@rollup/rollup-darwin-arm64@4.31.0': optional: true - '@rollup/rollup-darwin-x64@4.30.1': + '@rollup/rollup-darwin-x64@4.31.0': optional: true - '@rollup/rollup-freebsd-arm64@4.30.1': + '@rollup/rollup-freebsd-arm64@4.31.0': optional: true - '@rollup/rollup-freebsd-x64@4.30.1': + '@rollup/rollup-freebsd-x64@4.31.0': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.30.1': + '@rollup/rollup-linux-arm-gnueabihf@4.31.0': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.30.1': + '@rollup/rollup-linux-arm-musleabihf@4.31.0': optional: true - '@rollup/rollup-linux-arm64-gnu@4.30.1': + '@rollup/rollup-linux-arm64-gnu@4.31.0': optional: true - '@rollup/rollup-linux-arm64-musl@4.30.1': + '@rollup/rollup-linux-arm64-musl@4.31.0': optional: true - '@rollup/rollup-linux-loongarch64-gnu@4.30.1': + '@rollup/rollup-linux-loongarch64-gnu@4.31.0': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.30.1': + '@rollup/rollup-linux-powerpc64le-gnu@4.31.0': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.30.1': + '@rollup/rollup-linux-riscv64-gnu@4.31.0': optional: true - '@rollup/rollup-linux-s390x-gnu@4.30.1': + '@rollup/rollup-linux-s390x-gnu@4.31.0': optional: true - '@rollup/rollup-linux-x64-gnu@4.30.1': + '@rollup/rollup-linux-x64-gnu@4.31.0': optional: true - '@rollup/rollup-linux-x64-musl@4.30.1': + '@rollup/rollup-linux-x64-musl@4.31.0': optional: true - '@rollup/rollup-win32-arm64-msvc@4.30.1': + '@rollup/rollup-win32-arm64-msvc@4.31.0': optional: true - '@rollup/rollup-win32-ia32-msvc@4.30.1': + '@rollup/rollup-win32-ia32-msvc@4.31.0': optional: true - '@rollup/rollup-win32-x64-msvc@4.30.1': + '@rollup/rollup-win32-x64-msvc@4.31.0': optional: true '@sindresorhus/merge-streams@2.3.0': {} @@ -5353,7 +5354,7 @@ snapshots: dependencies: solid-js: 1.9.4 - '@solidjs/start@1.0.11(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vinxi@0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3))(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0))': + '@solidjs/start@1.0.11(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vinxi@0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3))(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0))': dependencies: '@vinxi/plugin-directives': 0.4.3(vinxi@0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3)) '@vinxi/server-components': 0.4.3(vinxi@0.4.3(@types/node@22.10.7)(db0@0.2.1)(ioredis@5.4.2)(lightningcss@1.25.1)(terser@5.37.0)(typescript@5.7.3)) @@ -5368,7 +5369,7 @@ snapshots: source-map-js: 1.2.1 terracotta: 1.0.6(solid-js@1.9.4) tinyglobby: 0.2.10 - vite-plugin-solid: 2.11.0(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + vite-plugin-solid: 2.11.0(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) transitivePeerDependencies: - '@testing-library/jest-dom' - solid-js @@ -5461,10 +5462,10 @@ snapshots: '@types/resolve@1.20.2': {} - '@vercel/nft@0.27.10(rollup@4.30.1)': + '@vercel/nft@0.27.10(rollup@4.31.0)': dependencies: '@mapbox/node-pre-gyp': 2.0.0-rc.0 - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) acorn: 8.14.0 acorn-import-attributes: 1.9.5(acorn@8.14.0) async-sema: 3.1.1 @@ -5542,13 +5543,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.2(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0))': + '@vitest/mocker@3.0.2(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0))': dependencies: '@vitest/spy': 3.0.2 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) '@vitest/pretty-format@3.0.2': dependencies: @@ -6681,15 +6682,15 @@ snapshots: browserslist@4.23.3: dependencies: - caniuse-lite: 1.0.30001692 - electron-to-chromium: 1.5.83 + caniuse-lite: 1.0.30001695 + electron-to-chromium: 1.5.84 node-releases: 2.0.19 update-browserslist-db: 1.1.2(browserslist@4.23.3) browserslist@4.24.4: dependencies: - caniuse-lite: 1.0.30001692 - electron-to-chromium: 1.5.83 + caniuse-lite: 1.0.30001695 + electron-to-chromium: 1.5.84 node-releases: 2.0.19 update-browserslist-db: 1.1.2(browserslist@4.24.4) @@ -6731,11 +6732,11 @@ snapshots: caniuse-api@3.0.0: dependencies: browserslist: 4.23.3 - caniuse-lite: 1.0.30001692 + caniuse-lite: 1.0.30001695 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - caniuse-lite@1.0.30001692: {} + caniuse-lite@1.0.30001695: {} chai@5.1.2: dependencies: @@ -6950,7 +6951,7 @@ snapshots: dot-prop@9.0.0: dependencies: - type-fest: 4.32.0 + type-fest: 4.33.0 dotenv@16.4.7: {} @@ -6964,7 +6965,7 @@ snapshots: dependencies: fast-check: 3.23.2 - electron-to-chromium@1.5.83: {} + electron-to-chromium@1.5.84: {} emoji-regex@8.0.0: {} @@ -7195,7 +7196,7 @@ snapshots: citty: 0.1.6 consola: 3.4.0 defu: 6.1.4 - node-fetch-native: 1.6.4 + node-fetch-native: 1.6.6 nypm: 0.3.12 ohash: 1.1.4 pathe: 1.1.2 @@ -7710,16 +7711,16 @@ snapshots: dependencies: '@cloudflare/kv-asset-handler': 0.3.4 '@netlify/functions': 2.8.2 - '@rollup/plugin-alias': 5.1.1(rollup@4.30.1) - '@rollup/plugin-commonjs': 28.0.2(rollup@4.30.1) - '@rollup/plugin-inject': 5.0.5(rollup@4.30.1) - '@rollup/plugin-json': 6.1.0(rollup@4.30.1) - '@rollup/plugin-node-resolve': 15.3.1(rollup@4.30.1) - '@rollup/plugin-replace': 6.0.2(rollup@4.30.1) - '@rollup/plugin-terser': 0.4.4(rollup@4.30.1) - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/plugin-alias': 5.1.1(rollup@4.31.0) + '@rollup/plugin-commonjs': 28.0.2(rollup@4.31.0) + '@rollup/plugin-inject': 5.0.5(rollup@4.31.0) + '@rollup/plugin-json': 6.1.0(rollup@4.31.0) + '@rollup/plugin-node-resolve': 15.3.1(rollup@4.31.0) + '@rollup/plugin-replace': 6.0.2(rollup@4.31.0) + '@rollup/plugin-terser': 0.4.4(rollup@4.31.0) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) '@types/http-proxy': 1.17.15 - '@vercel/nft': 0.27.10(rollup@4.30.1) + '@vercel/nft': 0.27.10(rollup@4.31.0) archiver: 7.0.1 c12: 2.0.1(magicast@0.3.5) chokidar: 3.6.0 @@ -7752,7 +7753,7 @@ snapshots: magicast: 0.3.5 mime: 4.0.6 mlly: 1.7.4 - node-fetch-native: 1.6.4 + node-fetch-native: 1.6.6 ofetch: 1.4.1 ohash: 1.1.4 openapi-typescript: 7.5.2(typescript@5.7.3) @@ -7761,8 +7762,8 @@ snapshots: pkg-types: 1.3.1 pretty-bytes: 6.1.1 radix3: 1.1.2 - rollup: 4.30.1 - rollup-plugin-visualizer: 5.14.0(rollup@4.30.1) + rollup: 4.31.0 + rollup-plugin-visualizer: 5.14.0(rollup@4.31.0) scule: 1.3.0 semver: 7.6.3 serve-placeholder: 2.0.2 @@ -7772,7 +7773,7 @@ snapshots: uncrypto: 0.1.3 unctx: 2.4.1 unenv: 1.10.0 - unimport: 3.14.6(rollup@4.30.1) + unimport: 3.14.6(rollup@4.31.0) unstorage: 1.14.4(db0@0.2.1)(ioredis@5.4.2) untyped: 1.5.2 unwasm: 0.3.9 @@ -7809,7 +7810,7 @@ snapshots: dependencies: path-is-absolute: 1.0.1 - node-fetch-native@1.6.4: {} + node-fetch-native@1.6.6: {} node-fetch@2.7.0: dependencies: @@ -7849,7 +7850,7 @@ snapshots: ofetch@1.4.1: dependencies: destr: 2.0.3 - node-fetch-native: 1.6.4 + node-fetch-native: 1.6.6 ufo: 1.5.4 ohash@1.1.4: {} @@ -7894,7 +7895,7 @@ snapshots: dependencies: '@babel/code-frame': 7.26.2 index-to-position: 0.1.2 - type-fest: 4.32.0 + type-fest: 4.33.0 parse5@7.2.1: dependencies: @@ -8118,38 +8119,38 @@ snapshots: dependencies: glob: 10.4.5 - rollup-plugin-visualizer@5.14.0(rollup@4.30.1): + rollup-plugin-visualizer@5.14.0(rollup@4.31.0): dependencies: open: 8.4.2 picomatch: 4.0.2 source-map: 0.7.4 yargs: 17.7.2 optionalDependencies: - rollup: 4.30.1 + rollup: 4.31.0 - rollup@4.30.1: + rollup@4.31.0: dependencies: '@types/estree': 1.0.6 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.30.1 - '@rollup/rollup-android-arm64': 4.30.1 - '@rollup/rollup-darwin-arm64': 4.30.1 - '@rollup/rollup-darwin-x64': 4.30.1 - '@rollup/rollup-freebsd-arm64': 4.30.1 - '@rollup/rollup-freebsd-x64': 4.30.1 - '@rollup/rollup-linux-arm-gnueabihf': 4.30.1 - '@rollup/rollup-linux-arm-musleabihf': 4.30.1 - '@rollup/rollup-linux-arm64-gnu': 4.30.1 - '@rollup/rollup-linux-arm64-musl': 4.30.1 - '@rollup/rollup-linux-loongarch64-gnu': 4.30.1 - '@rollup/rollup-linux-powerpc64le-gnu': 4.30.1 - '@rollup/rollup-linux-riscv64-gnu': 4.30.1 - '@rollup/rollup-linux-s390x-gnu': 4.30.1 - '@rollup/rollup-linux-x64-gnu': 4.30.1 - '@rollup/rollup-linux-x64-musl': 4.30.1 - '@rollup/rollup-win32-arm64-msvc': 4.30.1 - '@rollup/rollup-win32-ia32-msvc': 4.30.1 - '@rollup/rollup-win32-x64-msvc': 4.30.1 + '@rollup/rollup-android-arm-eabi': 4.31.0 + '@rollup/rollup-android-arm64': 4.31.0 + '@rollup/rollup-darwin-arm64': 4.31.0 + '@rollup/rollup-darwin-x64': 4.31.0 + '@rollup/rollup-freebsd-arm64': 4.31.0 + '@rollup/rollup-freebsd-x64': 4.31.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.31.0 + '@rollup/rollup-linux-arm-musleabihf': 4.31.0 + '@rollup/rollup-linux-arm64-gnu': 4.31.0 + '@rollup/rollup-linux-arm64-musl': 4.31.0 + '@rollup/rollup-linux-loongarch64-gnu': 4.31.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.31.0 + '@rollup/rollup-linux-riscv64-gnu': 4.31.0 + '@rollup/rollup-linux-s390x-gnu': 4.31.0 + '@rollup/rollup-linux-x64-gnu': 4.31.0 + '@rollup/rollup-linux-x64-musl': 4.31.0 + '@rollup/rollup-win32-arm64-msvc': 4.31.0 + '@rollup/rollup-win32-ia32-msvc': 4.31.0 + '@rollup/rollup-win32-x64-msvc': 4.31.0 fsevents: 2.3.3 rrweb-cssom@0.8.0: {} @@ -8247,7 +8248,7 @@ snapshots: smol-toml@1.3.1: {} - solid-devtools@0.33.0(solid-js@1.9.4)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): + solid-devtools@0.33.0(solid-js@1.9.4)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): dependencies: '@babel/core': 7.26.0 '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0) @@ -8256,7 +8257,7 @@ snapshots: '@solid-devtools/shared': 0.19.0(solid-js@1.9.4) solid-js: 1.9.4 optionalDependencies: - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) transitivePeerDependencies: - supports-color @@ -8451,11 +8452,11 @@ snapshots: tinyspy@3.0.2: {} - tldts-core@6.1.72: {} + tldts-core@6.1.73: {} - tldts@6.1.72: + tldts@6.1.73: dependencies: - tldts-core: 6.1.72 + tldts-core: 6.1.73 to-regex-range@5.0.1: dependencies: @@ -8465,7 +8466,7 @@ snapshots: tough-cookie@5.1.0: dependencies: - tldts: 6.1.72 + tldts: 6.1.73 tr46@0.0.3: {} @@ -8503,7 +8504,7 @@ snapshots: type-fest@2.19.0: {} - type-fest@4.32.0: {} + type-fest@4.33.0: {} typescript@5.6.2: {} @@ -8537,14 +8538,14 @@ snapshots: consola: 3.4.0 defu: 6.1.4 mime: 3.0.0 - node-fetch-native: 1.6.4 + node-fetch-native: 1.6.6 pathe: 1.1.2 unicorn-magic@0.1.0: {} - unimport@3.14.6(rollup@4.30.1): + unimport@3.14.6(rollup@4.31.0): dependencies: - '@rollup/pluginutils': 5.1.4(rollup@4.30.1) + '@rollup/pluginutils': 5.1.4(rollup@4.31.0) acorn: 8.14.0 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 @@ -8580,7 +8581,7 @@ snapshots: destr: 2.0.3 h3: 1.13.0 lru-cache: 10.4.3 - node-fetch-native: 1.6.4 + node-fetch-native: 1.6.6 ofetch: 1.4.1 ufo: 1.5.4 optionalDependencies: @@ -8660,7 +8661,7 @@ snapshots: http-proxy: 1.18.1 micromatch: 4.0.8 nitropack: 2.10.4(typescript@5.7.3) - node-fetch-native: 1.6.4 + node-fetch-native: 1.6.6 path-to-regexp: 6.3.0 pathe: 1.1.2 radix3: 1.1.2 @@ -8671,7 +8672,7 @@ snapshots: unctx: 2.4.1 unenv: 1.10.0 unstorage: 1.14.4(db0@0.2.1)(ioredis@5.4.2) - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) zod: 3.24.1 transitivePeerDependencies: - '@azure/app-configuration' @@ -8719,7 +8720,7 @@ snapshots: debug: 4.4.0(supports-color@9.4.0) es-module-lexer: 1.6.0 pathe: 2.0.2 - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) transitivePeerDependencies: - '@types/node' - less @@ -8731,7 +8732,7 @@ snapshots: - supports-color - terser - vite-plugin-solid@2.11.0(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): + vite-plugin-solid@2.11.0(@testing-library/jest-dom@6.6.3)(solid-js@1.9.4)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): dependencies: '@babel/core': 7.26.0 '@types/babel__core': 7.20.5 @@ -8739,43 +8740,43 @@ snapshots: merge-anything: 5.1.7 solid-js: 1.9.4 solid-refresh: 0.6.3(solid-js@1.9.4) - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) - vitefu: 1.0.5(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vitefu: 1.0.5(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) optionalDependencies: '@testing-library/jest-dom': 6.6.3 transitivePeerDependencies: - supports-color - vite-tsconfig-paths@5.1.4(typescript@5.7.3)(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): + vite-tsconfig-paths@5.1.4(typescript@5.7.3)(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): dependencies: debug: 4.4.0(supports-color@9.4.0) globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.7.3) optionalDependencies: - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) transitivePeerDependencies: - supports-color - typescript - vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0): + vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0): dependencies: esbuild: 0.21.5 postcss: 8.5.1 - rollup: 4.30.1 + rollup: 4.31.0 optionalDependencies: '@types/node': 22.10.7 fsevents: 2.3.3 lightningcss: 1.25.1 terser: 5.37.0 - vitefu@1.0.5(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): + vitefu@1.0.5(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)): optionalDependencies: - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) vitest@3.0.2(@types/node@22.10.7)(jsdom@26.0.0)(lightningcss@1.25.1)(terser@5.37.0): dependencies: '@vitest/expect': 3.0.2 - '@vitest/mocker': 3.0.2(vite@5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) + '@vitest/mocker': 3.0.2(vite@5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0)) '@vitest/pretty-format': 3.0.2 '@vitest/runner': 3.0.2 '@vitest/snapshot': 3.0.2 @@ -8791,7 +8792,7 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 5.4.11(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) + vite: 5.4.12(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) vite-node: 3.0.2(@types/node@22.10.7)(lightningcss@1.25.1)(terser@5.37.0) why-is-node-running: 2.3.0 optionalDependencies: diff --git a/src/components/Class.tsx b/src/components/Class.tsx index a11849c..a36f528 100644 --- a/src/components/Class.tsx +++ b/src/components/Class.tsx @@ -1,14 +1,51 @@ -import type { Component } from "solid-js"; +import { type Component, Show, createMemo } from "solid-js"; -import type { Subject } from "~/context/types"; +import { courseColor, getColorClass } from "~/lib/colors"; + +import { Box } from "styled-system/jsx"; +import { Card } from "~/components/ui/card"; +import { Text } from "~/components/ui/text"; + +import type { SelectedSubjects } from "~/context/types"; +import { Button } from "./ui/button"; const Class: Component<{ classIndex: number; - classInfo: "placeholder" | Subject; + classInfo: "placeholder" | SelectedSubjects; semesterIndex: number; - // warnings: string[]; + warnings: string[]; }> = (props) => { - return
; + const classInfo = createMemo(() => { + if (props.classInfo === "placeholder") { + return undefined; + } + return props.classInfo; + }); + + return ( + + {(shownClassInfo) => ( + + )} + + ); }; export default Class; diff --git a/src/components/Semester.tsx b/src/components/Semester.tsx index 972d4e9..eb1c5e1 100644 --- a/src/components/Semester.tsx +++ b/src/components/Semester.tsx @@ -131,6 +131,11 @@ const Semester: Component<{ }; }); + // TODO: implement warnings + const warnings = createMemo(() => { + return [] as string[][]; + }); + return ( )} diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx new file mode 100644 index 0000000..bda3bd5 --- /dev/null +++ b/src/components/ui/card.tsx @@ -0,0 +1 @@ +export * as Card from './styled/card' diff --git a/src/components/ui/styled/card.tsx b/src/components/ui/styled/card.tsx new file mode 100644 index 0000000..8600ae1 --- /dev/null +++ b/src/components/ui/styled/card.tsx @@ -0,0 +1,38 @@ +import { type Assign, type PolymorphicProps, ark } from '@ark-ui/solid' +import type { ComponentProps } from 'solid-js' +import { card } from 'styled-system/recipes' +import type { HTMLStyledProps } from 'styled-system/types' +import { createStyleContext } from './utils/create-style-context' + +const { withProvider, withContext } = createStyleContext(card) + +export type RootProps = ComponentProps +export const Root = withProvider, PolymorphicProps<'div'>>>( + ark.div, + 'root', +) + +export const Body = withContext, PolymorphicProps<'div'>>>( + ark.div, + 'body', +) + +export const Description = withContext, PolymorphicProps<'div'>>>( + ark.div, + 'description', +) + +export const Footer = withContext, PolymorphicProps<'div'>>>( + ark.div, + 'footer', +) + +export const Header = withContext, PolymorphicProps<'div'>>>( + ark.div, + 'header', +) + +export const Title = withContext, PolymorphicProps<'h3'>>>( + ark.h3, + 'title', +) diff --git a/src/context/component.tsx b/src/context/component.tsx index 14972d3..8d66fd2 100644 --- a/src/context/component.tsx +++ b/src/context/component.tsx @@ -113,7 +113,8 @@ const CourseDataProvider: ParentComponent = (props) => { setStore( "roads", produce((roads) => { - delete roads[id]; + // biome-ignore lint/style/noNonNullAssertion: + roads[id] = undefined!; }), ); }, @@ -422,7 +423,9 @@ const CourseDataProvider: ParentComponent = (props) => { }, getRoadKeys: () => { - return Object.getOwnPropertyNames(store.roads); + return Object.getOwnPropertyNames(store.roads).filter( + (key) => store.roads[key] !== undefined, + ); }, getMatchingAttributes: (gir, hass, ci) => { diff --git a/src/lib/colors.ts b/src/lib/colors.ts index 800e69a..3baa86a 100644 --- a/src/lib/colors.ts +++ b/src/lib/colors.ts @@ -1,5 +1,5 @@ -// TODO: see what can be done using -// panda css instead of manually settings everything +// TODO: find out how to do this without so many type assertions +import { type RecipeVariant, cva } from "styled-system/css"; export const validCourses = [ "1", @@ -47,7 +47,7 @@ export const validCourses = [ "AS", "MS", "NS", -]; +] as const; export const validGeneric = [ "PHY1", "PHY2", @@ -64,134 +64,121 @@ export const validGeneric = [ "CI-H", "CI-HW", ]; -export const colors = { - "course-none": "#999999", - "course-1": "#de4343", - "course-2": "#de7643", - "course-3": "#4369de", - "course-4": "#57b563", - "course-5": "#43deaf", - "course-6": "#4390de", - "course-7": "#5779b5", - "course-8": "#8157b5", - "course-9": "#8143de", - "course-10": "#b55757", - "course-11": "#b55773", - "course-12": "#43de4f", - "course-14": "#de9043", - "course-15": "#b55c57", - "course-16": "#43b2de", - "course-17": "#de43b7", - "course-18": "#575db5", - "course-20": "#57b56e", - "course-21": "#57b573", - "course-21A": "#57b573", - "course-21G": "#57b599", - "course-21H": "#57b5a5", - "course-21L": "#57b5b2", - "course-21M": "#57acb5", - "course-21T": "#5e9da6", - "course-21W": "#57b580", - "course-22": "#b55757", - "course-24": "#7657b5", - "course-CC": "#4fde43", - "course-CMS": "#57b58c", - "course-CSB": "#579ab5", - "course-EC": "#76b557", - "course-EM": "#576eb5", - "course-ES": "#5a57b5", - "course-HST": "#5779b5", - "course-IDS": "#57b586", - "course-MAS": "#57b55a", - "course-SCM": "#57b573", - "course-STS": "#8f57b5", - "course-WGS": "#579fb5", - "course-SP": "#4343de", - "course-SWE": "#b56b57", - "course-AS": "#b0b0b0", - "course-MS": "#b0b0b0", - "course-NS": "#b0b0b0", - "generic-GIR": "#bf6139", - "generic-HASS-E": "#39bf97", - "generic-HASS-A": "#3997bf", - "generic-HASS-H": "#3946bf", - "generic-HASS-S": "#7c39bf", - "generic-CI-H": "#bf39b1", - "generic-CI-HW": "#bf3961", - "custom_color-0": "#b55757", - "custom_color-1": "#b58657", - "custom_color-2": "#b5b557", - "custom_color-3": "#86b557", - "custom_color-4": "#57b557", - "custom_color-5": "#57b586", - "custom_color-6": "#de4343", - "custom_color-7": "#de9043", - "custom_color-8": "#dede43", - "custom_color-9": "#90de43", - "custom_color-10": "#43de43", - "custom_color-11": "#43de90", - "custom_color-12": "#b51616", - "custom_color-13": "#b56516", - "custom_color-14": "#b5b516", - "custom_color-15": "#65b516", - "custom_color-16": "#16b516", - "custom_color-17": "#16b565", - "custom_color-18": "#57b5b5", - "custom_color-19": "#5786b5", - "custom_color-20": "#5757b5", - "custom_color-21": "#8657b5", - "custom_color-22": "#b557b5", - "custom_color-23": "#b55786", - "custom_color-24": "#43dede", - "custom_color-25": "#4390de", - "custom_color-26": "#4343de", - "custom_color-27": "#9043de", - "custom_color-28": "#de43de", - "custom_color-29": "#de4390", - "custom_color-30": "#16b5b5", - "custom_color-31": "#1665b5", - "custom_color-32": "#1616b5", - "custom_color-33": "#6516b5", - "custom_color-34": "#b516b5", - "custom_color-35": "#b51665", - "custom_color-36": "#000000", - "custom_color-37": "#262626", - "custom_color-38": "#4d4d4d", - "custom_color-39": "#737373", - "custom_color-40": "#999999", - "custom_color-41": "#bfbfbf", -}; - -export const getRawColor = (courseColor?: string) => { - if (courseColor && courseColor in colors) { - return colors[courseColor as keyof typeof colors]; - } - return colors["course-none"]; -}; - -export const getRawTextColor = () => { - return "#ffffff"; - // getRawTextColor: function (courseColor) { - // // See /~https://github.com/Myndex/max-contrast - // // https://stackoverflow.com/questions/1855884/determine-font-color-based-on-background-color - - // const Rs = parseInt(colors[courseColor].substring(1, 3), 16); - // const Gs = parseInt(colors[courseColor].substring(3, 5), 16); - // const Bs = parseInt(colors[courseColor].substring(5, 7), 16); - // const flipYs = 0.342; // based on APCA™ 0.98G middle contrast BG +export const colorClasses = cva({ + base: { + color: "#ffffff", + }, + defaultVariants: { + types: "course-none", + }, + variants: { + types: { + "course-none": { background: "#999999" }, + "course-1": { background: "#de4343" }, + "course-2": { background: "#de7643" }, + "course-3": { background: "#4369de" }, + "course-4": { background: "#57b563" }, + "course-5": { background: "#43deaf" }, + "course-6": { background: "#4390de" }, + "course-7": { background: "#5779b5" }, + "course-8": { background: "#8157b5" }, + "course-9": { background: "#8143de" }, + "course-10": { background: "#b55757" }, + "course-11": { background: "#b55773" }, + "course-12": { background: "#43de4f" }, + "course-14": { background: "#de9043" }, + "course-15": { background: "#b55c57" }, + "course-16": { background: "#43b2de" }, + "course-17": { background: "#de43b7" }, + "course-18": { background: "#575db5" }, + "course-20": { background: "#57b56e" }, + "course-21": { background: "#57b573" }, + "course-21A": { background: "#57b573" }, + "course-21G": { background: "#57b599" }, + "course-21H": { background: "#57b5a5" }, + "course-21L": { background: "#57b5b2" }, + "course-21M": { background: "#57acb5" }, + "course-21T": { background: "#5e9da6" }, + "course-21W": { background: "#57b580" }, + "course-22": { background: "#b55757" }, + "course-24": { background: "#7657b5" }, + "course-CC": { background: "#4fde43" }, + "course-CMS": { background: "#57b58c" }, + "course-CSB": { background: "#579ab5" }, + "course-EC": { background: "#76b557" }, + "course-EM": { background: "#576eb5" }, + "course-ES": { background: "#5a57b5" }, + "course-HST": { background: "#5779b5" }, + "course-IDS": { background: "#57b586" }, + "course-MAS": { background: "#57b55a" }, + "course-SCM": { background: "#57b573" }, + "course-STS": { background: "#8f57b5" }, + "course-WGS": { background: "#579fb5" }, + "course-SP": { background: "#4343de" }, + "course-SWE": { background: "#b56b57" }, + "course-AS": { background: "#b0b0b0" }, + "course-MS": { background: "#b0b0b0" }, + "course-NS": { background: "#b0b0b0" }, - // const trc = 2.4, - // Rco = 0.2126729, - // Gco = 0.7151522, - // Bco = 0.072175; + "generic-GIR": { background: "#bf6139" }, + "generic-HASS-E": { background: "#39bf97" }, + "generic-HASS-A": { background: "#3997bf" }, + "generic-HASS-H": { background: "#3946bf" }, + "generic-HASS-S": { background: "#7c39bf" }, + "generic-CI-H": { background: "#bf39b1" }, + "generic-CI-HW": { background: "#bf3961" }, - // let Ys = - // (Rs / 255.0) ** trc * Rco + - // (Gs / 255.0) ** trc * Gco + - // (Bs / 255.0) ** trc * Bco; + "custom_color-0": { background: "#b55757" }, + "custom_color-1": { background: "#b58657" }, + "custom_color-2": { background: "#b5b557" }, + "custom_color-3": { background: "#86b557" }, + "custom_color-4": { background: "#57b557" }, + "custom_color-5": { background: "#57b586" }, + "custom_color-6": { background: "#de4343" }, + "custom_color-7": { background: "#de9043" }, + "custom_color-8": { background: "#dede43" }, + "custom_color-9": { background: "#90de43" }, + "custom_color-10": { background: "#43de43" }, + "custom_color-11": { background: "#43de90" }, + "custom_color-12": { background: "#b51616" }, + "custom_color-13": { background: "#b56516" }, + "custom_color-14": { background: "#b5b516" }, + "custom_color-15": { background: "#65b516" }, + "custom_color-16": { background: "#16b516" }, + "custom_color-17": { background: "#16b565" }, + "custom_color-18": { background: "#57b5b5" }, + "custom_color-19": { background: "#5786b5" }, + "custom_color-20": { background: "#5757b5" }, + "custom_color-21": { background: "#8657b5" }, + "custom_color-22": { background: "#b557b5" }, + "custom_color-23": { background: "#b55786" }, + "custom_color-24": { background: "#43dede" }, + "custom_color-25": { background: "#4390de" }, + "custom_color-26": { background: "#4343de" }, + "custom_color-27": { background: "#9043de" }, + "custom_color-28": { background: "#de43de" }, + "custom_color-29": { background: "#de4390" }, + "custom_color-30": { background: "#16b5b5" }, + "custom_color-31": { background: "#1665b5" }, + "custom_color-32": { background: "#1616b5" }, + "custom_color-33": { background: "#6516b5" }, + "custom_color-34": { background: "#b516b5" }, + "custom_color-35": { background: "#b51665" }, + "custom_color-36": { background: "#000000" }, + "custom_color-37": { background: "#262626" }, + "custom_color-38": { background: "#4d4d4d" }, + "custom_color-39": { background: "#737373" }, + "custom_color-40": { background: "#999999" }, + "custom_color-41": { background: "#bfbfbf" }, + }, + }, +}); - // return Ys < flipYs ? colors.shades.white : colors.shades.black; +export const getColorClass = (courseColor?: string) => { + return colorClasses({ + types: courseColor as RecipeVariant["types"], + }); }; // courseColor takes in subject @@ -199,17 +186,21 @@ export const courseColor = (subject: { custom_color?: string; id?: string; subject_id: string; -}) => { +}): RecipeVariant["types"] => { // Custom course have custom_color component if (subject.custom_color) { - return `custom_color-${subject.custom_color.slice(1)}`; + return `custom_color-${subject.custom_color.slice(1)}` as RecipeVariant< + typeof colorClasses + >["types"]; } // Otherwise it's normal class which id determines color return courseColorFromId(subject.id || subject.subject_id); }; // Takes a subject ID directly -export const courseColorFromId = (id: string) => { +export const courseColorFromId = ( + id: string, +): RecipeVariant["types"] => { if (id !== undefined) { let course = id.split(".")[0]; if (course.indexOf("GIR:") >= 0) { @@ -220,17 +211,21 @@ export const courseColorFromId = (id: string) => { const girAttrs = course .split(" ") .filter((c) => validGeneric.indexOf(c) >= 0); - if (validCourses.indexOf(course) !== -1) { - return `course-${course}`; + if (validCourses.indexOf(course as (typeof validCourses)[0]) !== -1) { + return `course-${course}` as RecipeVariant["types"]; } if (girAttrs.length > 0) { if (girAttrs.length === 1) { const attr = girAttrs[0]; if (attr.indexOf("HASS") === 0) { - return `generic-${course}`; + return `generic-${course}` as RecipeVariant< + typeof colorClasses + >["types"]; } if (attr.indexOf("CI") === 0) { - return `generic-${course}`; + return `generic-${course}` as RecipeVariant< + typeof colorClasses + >["types"]; } } return "generic-GIR"; diff --git a/src/routes/road/[[road]].tsx b/src/routes/road/[[road]].tsx index 991ef98..38b998f 100644 --- a/src/routes/road/[[road]].tsx +++ b/src/routes/road/[[road]].tsx @@ -3,6 +3,7 @@ import { useParams } from "@solidjs/router"; import { useNavigate } from "@solidjs/router"; import { For, + Show, createEffect, createMemo, createResource, @@ -305,17 +306,22 @@ export default function RoadPage() { {(roadId) => ( - - authComponentRef?.changeSemester(e)} - /> - + + + + + )}