diff --git a/package.json b/package.json index 290a5571..dbfa27c0 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ }, "devDependencies": { "@hearchco/sveltekit-adapter-aws": "npm:@jsr/hearchco__sveltekit-adapter-aws@^0.1.10", - "@playwright/test": "^1.45.3", - "@sveltejs/adapter-node": "^5.2.0", - "@sveltejs/kit": "^2.5.20", + "@playwright/test": "^1.46.0", + "@sveltejs/adapter-node": "^5.2.1", + "@sveltejs/kit": "^2.5.21", "@sveltejs/vite-plugin-svelte": "^3.1.1", "@types/eslint": "^8.56.10", "autoprefixer": "^10.4.20", @@ -26,14 +26,14 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-svelte": "^2.43.0", "globals": "^15.9.0", - "postcss": "^8.4.40", + "postcss": "^8.4.41", "prettier": "^3.3.3", "prettier-plugin-svelte": "^3.2.6", - "svelte": "5.0.0-next.208", + "svelte": "5.0.0-next.216", "svelte-check": "^3.8.5", - "tailwindcss": "^3.4.7", + "tailwindcss": "^3.4.9", "typescript": "^5.5.4", - "vite": "^5.3.5", + "vite": "^5.4.0", "vitest": "^2.0.5" }, "type": "module" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f773a98..94ef5ecb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,25 +10,25 @@ importers: devDependencies: '@hearchco/sveltekit-adapter-aws': specifier: npm:@jsr/hearchco__sveltekit-adapter-aws@^0.1.10 - version: '@jsr/hearchco__sveltekit-adapter-aws@0.1.10(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)' + version: '@jsr/hearchco__sveltekit-adapter-aws@0.1.10(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0)' '@playwright/test': - specifier: ^1.45.3 - version: 1.45.3 + specifier: ^1.46.0 + version: 1.46.0 '@sveltejs/adapter-node': - specifier: ^5.2.0 - version: 5.2.0(@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)) + specifier: ^5.2.1 + version: 5.2.1(@sveltejs/kit@2.5.21(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0)) '@sveltejs/kit': - specifier: ^2.5.20 - version: 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + specifier: ^2.5.21 + version: 2.5.21(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0) '@sveltejs/vite-plugin-svelte': specifier: ^3.1.1 - version: 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + version: 3.1.1(svelte@5.0.0-next.216)(vite@5.4.0) '@types/eslint': specifier: ^8.56.10 version: 8.56.10 autoprefixer: specifier: ^10.4.20 - version: 10.4.20(postcss@8.4.40) + version: 10.4.20(postcss@8.4.41) eslint: specifier: ^9.7.0 version: 9.7.0 @@ -37,34 +37,34 @@ importers: version: 9.1.0(eslint@9.7.0) eslint-plugin-svelte: specifier: ^2.43.0 - version: 2.43.0(eslint@9.7.0)(svelte@5.0.0-next.208) + version: 2.43.0(eslint@9.7.0)(svelte@5.0.0-next.216) globals: specifier: ^15.9.0 version: 15.9.0 postcss: - specifier: ^8.4.40 - version: 8.4.40 + specifier: ^8.4.41 + version: 8.4.41 prettier: specifier: ^3.3.3 version: 3.3.3 prettier-plugin-svelte: specifier: ^3.2.6 - version: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208) + version: 3.2.6(prettier@3.3.3)(svelte@5.0.0-next.216) svelte: - specifier: 5.0.0-next.208 - version: 5.0.0-next.208 + specifier: 5.0.0-next.216 + version: 5.0.0-next.216 svelte-check: specifier: ^3.8.5 - version: 3.8.5(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208) + version: 3.8.5(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.216) tailwindcss: - specifier: ^3.4.7 - version: 3.4.7 + specifier: ^3.4.9 + version: 3.4.9 typescript: specifier: ^5.5.4 version: 5.5.4 vite: - specifier: ^5.3.5 - version: 5.3.5 + specifier: ^5.4.0 + version: 5.4.0 vitest: specifier: ^2.0.5 version: 2.0.5 @@ -436,8 +436,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.45.3': - resolution: {integrity: sha512-UKF4XsBfy+u3MFWEH44hva1Q8Da28G6RFtR2+5saw+jgAFQV5yYnB1fu68Mz7fO+5GJF3wgwAIs0UelU8TxFrA==} + '@playwright/test@1.46.0': + resolution: {integrity: sha512-/QYft5VArOrGRP5pgkrfKksqsKA6CEFyGQ/gjNe6q0y4tZ1aaPfq4gIjudr1s3D+pXyrPRdsy4opKDrjBabE5w==} engines: {node: '>=18'} hasBin: true @@ -560,13 +560,13 @@ packages: cpu: [x64] os: [win32] - '@sveltejs/adapter-node@5.2.0': - resolution: {integrity: sha512-HVZoei2078XSyPmvdTHE03VXDUD0ytTvMuMHMQP0j6zX4nPDpCcKrgvU7baEblMeCCMdM/shQvstFxOJPQKlUQ==} + '@sveltejs/adapter-node@5.2.1': + resolution: {integrity: sha512-5vxep+1IN6PKbT5uviKuJelHscmFcK/fiNtgRFIVQ6EzdafnqmpyxHTg6UFg7Z/9w8jNauwOp3VjCgQA+qPDIA==} peerDependencies: '@sveltejs/kit': ^2.4.0 - '@sveltejs/kit@2.5.20': - resolution: {integrity: sha512-47rJ5BoYwURE/Rp7FNMLp3NzdbWC9DQ/PmKd0mebxT2D/PrPxZxcLImcD3zsWdX2iS6oJk8ITJbO/N2lWnnUqA==} + '@sveltejs/kit@2.5.21': + resolution: {integrity: sha512-zHkaVZB5WNKVtosPhpPHLLvCdhUs3j6rRhDjRcXz9Mi7ZOeMe+xpzFkm7vs7RYQKMWDPUIfDngFDM3iGPyntMw==} engines: {node: '>=18.13'} hasBin: true peerDependencies: @@ -1332,13 +1332,13 @@ packages: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} - playwright-core@1.45.3: - resolution: {integrity: sha512-+ym0jNbcjikaOwwSZycFbwkWgfruWvYlJfThKYAlImbxUgdWFO2oW70ojPm4OpE4t6TAo2FY/smM+hpVTtkhDA==} + playwright-core@1.46.0: + resolution: {integrity: sha512-9Y/d5UIwuJk8t3+lhmMSAJyNP1BUC/DqP3cQJDQQL/oWqAiuPTLgy7Q5dzglmTLwcBRdetzgNM/gni7ckfTr6A==} engines: {node: '>=18'} hasBin: true - playwright@1.45.3: - resolution: {integrity: sha512-QhVaS+lpluxCaioejDZ95l4Y4jSFCsBvl2UZkpeXlzxmqS+aABr5c82YmfMHrL6x27nvrvykJAFpkzT2eWdJww==} + playwright@1.46.0: + resolution: {integrity: sha512-XYJ5WvfefWONh1uPAUAi0H2xXV5S3vrtcnXe6uAOgdGi3aSpqOSXX08IAjXW34xitfuOJsvXU5anXZxPSEQiJw==} engines: {node: '>=18'} hasBin: true @@ -1403,8 +1403,8 @@ packages: postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.4.40: - resolution: {integrity: sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==} + postcss@8.4.41: + resolution: {integrity: sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==} engines: {node: ^10 || ^12 || >=14} prelude-ls@1.2.1: @@ -1608,12 +1608,12 @@ packages: typescript: optional: true - svelte@5.0.0-next.208: - resolution: {integrity: sha512-gYABb68367fGnY/GIpb/j3DD5DUqhVWi6EodEBVpiRA9wLQTpY8QmuPg04xut/0EHqlFU3a40wbpjJKmpL3Y/g==} + svelte@5.0.0-next.216: + resolution: {integrity: sha512-LS7XBjsG5jfq84unAlMrJmCOvJb0vLUcYyDHP/3viycm0JFyAWamfp0wzounCFOvaaJKS5a0ShCNZRPMxaWsKg==} engines: {node: '>=18'} - tailwindcss@3.4.7: - resolution: {integrity: sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==} + tailwindcss@3.4.9: + resolution: {integrity: sha512-1SEOvRr6sSdV5IDf9iC+NU4dhwdqzF4zKKq3sAbasUWHEM6lsMhX+eNN5gkPx1BvLFEnZQEUFbXnGj8Qlp83Pg==} engines: {node: '>=14.0.0'} hasBin: true @@ -1682,8 +1682,8 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.3.5: - resolution: {integrity: sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==} + vite@5.4.0: + resolution: {integrity: sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -1691,6 +1691,7 @@ packages: less: '*' lightningcss: ^1.21.0 sass: '*' + sass-embedded: '*' stylus: '*' sugarss: '*' terser: ^5.4.0 @@ -1703,6 +1704,8 @@ packages: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -1997,9 +2000,9 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - '@jsr/hearchco__sveltekit-adapter-aws@0.1.10(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + '@jsr/hearchco__sveltekit-adapter-aws@0.1.10(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0)': dependencies: - '@sveltejs/kit': 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/kit': 2.5.21(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0) esbuild: 0.23.0 transitivePeerDependencies: - '@sveltejs/vite-plugin-svelte' @@ -2021,9 +2024,9 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.45.3': + '@playwright/test@1.46.0': dependencies: - playwright: 1.45.3 + playwright: 1.46.0 '@polka/url@1.0.0-next.25': {} @@ -2111,17 +2114,17 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.18.1': optional: true - '@sveltejs/adapter-node@5.2.0(@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5))': + '@sveltejs/adapter-node@5.2.1(@sveltejs/kit@2.5.21(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0))': dependencies: '@rollup/plugin-commonjs': 26.0.1(rollup@4.18.1) '@rollup/plugin-json': 6.1.0(rollup@4.18.1) '@rollup/plugin-node-resolve': 15.2.3(rollup@4.18.1) - '@sveltejs/kit': 2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/kit': 2.5.21(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0) rollup: 4.18.1 - '@sveltejs/kit@2.5.20(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + '@sveltejs/kit@2.5.21(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0)': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.216)(vite@5.4.0) '@types/cookie': 0.6.0 cookie: 0.6.0 devalue: 5.0.0 @@ -2133,30 +2136,30 @@ snapshots: sade: 1.8.1 set-cookie-parser: 2.6.0 sirv: 2.0.4 - svelte: 5.0.0-next.208 + svelte: 5.0.0-next.216 tiny-glob: 0.2.9 - vite: 5.3.5 + vite: 5.4.0 - '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5)': + '@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0)': dependencies: - '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/vite-plugin-svelte': 3.1.1(svelte@5.0.0-next.216)(vite@5.4.0) debug: 4.3.5 - svelte: 5.0.0-next.208 - vite: 5.3.5 + svelte: 5.0.0-next.216 + vite: 5.4.0 transitivePeerDependencies: - supports-color - '@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5)': + '@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0)': dependencies: - '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.208)(vite@5.3.5))(svelte@5.0.0-next.208)(vite@5.3.5) + '@sveltejs/vite-plugin-svelte-inspector': 2.1.0(@sveltejs/vite-plugin-svelte@3.1.1(svelte@5.0.0-next.216)(vite@5.4.0))(svelte@5.0.0-next.216)(vite@5.4.0) debug: 4.3.5 deepmerge: 4.3.1 kleur: 4.1.5 magic-string: 0.30.10 - svelte: 5.0.0-next.208 - svelte-hmr: 0.16.0(svelte@5.0.0-next.208) - vite: 5.3.5 - vitefu: 0.2.5(vite@5.3.5) + svelte: 5.0.0-next.216 + svelte-hmr: 0.16.0(svelte@5.0.0-next.216) + vite: 5.4.0 + vitefu: 0.2.5(vite@5.4.0) transitivePeerDependencies: - supports-color @@ -2252,14 +2255,14 @@ snapshots: assertion-error@2.0.1: {} - autoprefixer@10.4.20(postcss@8.4.40): + autoprefixer@10.4.20(postcss@8.4.41): dependencies: browserslist: 4.23.3 caniuse-lite: 1.0.30001649 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.1 - postcss: 8.4.40 + postcss: 8.4.41 postcss-value-parser: 4.2.0 axobject-query@4.0.0: @@ -2447,7 +2450,7 @@ snapshots: dependencies: eslint: 9.7.0 - eslint-plugin-svelte@2.43.0(eslint@9.7.0)(svelte@5.0.0-next.208): + eslint-plugin-svelte@2.43.0(eslint@9.7.0)(svelte@5.0.0-next.216): dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.7.0) '@jridgewell/sourcemap-codec': 1.4.15 @@ -2455,14 +2458,14 @@ snapshots: eslint-compat-utils: 0.5.1(eslint@9.7.0) esutils: 2.0.3 known-css-properties: 0.34.0 - postcss: 8.4.40 - postcss-load-config: 3.1.4(postcss@8.4.40) - postcss-safe-parser: 6.0.0(postcss@8.4.40) + postcss: 8.4.41 + postcss-load-config: 3.1.4(postcss@8.4.41) + postcss-safe-parser: 6.0.0(postcss@8.4.41) postcss-selector-parser: 6.1.0 semver: 7.6.2 - svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.208) + svelte-eslint-parser: 0.41.0(svelte@5.0.0-next.216) optionalDependencies: - svelte: 5.0.0-next.208 + svelte: 5.0.0-next.216 transitivePeerDependencies: - ts-node @@ -2899,52 +2902,52 @@ snapshots: pirates@4.0.6: {} - playwright-core@1.45.3: {} + playwright-core@1.46.0: {} - playwright@1.45.3: + playwright@1.46.0: dependencies: - playwright-core: 1.45.3 + playwright-core: 1.46.0 optionalDependencies: fsevents: 2.3.2 - postcss-import@15.1.0(postcss@8.4.40): + postcss-import@15.1.0(postcss@8.4.41): dependencies: - postcss: 8.4.40 + postcss: 8.4.41 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 - postcss-js@4.0.1(postcss@8.4.40): + postcss-js@4.0.1(postcss@8.4.41): dependencies: camelcase-css: 2.0.1 - postcss: 8.4.40 + postcss: 8.4.41 - postcss-load-config@3.1.4(postcss@8.4.40): + postcss-load-config@3.1.4(postcss@8.4.41): dependencies: lilconfig: 2.1.0 yaml: 1.10.2 optionalDependencies: - postcss: 8.4.40 + postcss: 8.4.41 - postcss-load-config@4.0.2(postcss@8.4.40): + postcss-load-config@4.0.2(postcss@8.4.41): dependencies: lilconfig: 3.1.2 yaml: 2.4.5 optionalDependencies: - postcss: 8.4.40 + postcss: 8.4.41 - postcss-nested@6.0.1(postcss@8.4.40): + postcss-nested@6.0.1(postcss@8.4.41): dependencies: - postcss: 8.4.40 + postcss: 8.4.41 postcss-selector-parser: 6.1.0 - postcss-safe-parser@6.0.0(postcss@8.4.40): + postcss-safe-parser@6.0.0(postcss@8.4.41): dependencies: - postcss: 8.4.40 + postcss: 8.4.41 - postcss-scss@4.0.9(postcss@8.4.40): + postcss-scss@4.0.9(postcss@8.4.41): dependencies: - postcss: 8.4.40 + postcss: 8.4.41 postcss-selector-parser@6.1.0: dependencies: @@ -2953,7 +2956,7 @@ snapshots: postcss-value-parser@4.2.0: {} - postcss@8.4.40: + postcss@8.4.41: dependencies: nanoid: 3.3.7 picocolors: 1.0.1 @@ -2961,10 +2964,10 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.208): + prettier-plugin-svelte@3.2.6(prettier@3.3.3)(svelte@5.0.0-next.216): dependencies: prettier: 3.3.3 - svelte: 5.0.0-next.208 + svelte: 5.0.0-next.216 prettier@3.3.3: {} @@ -3108,14 +3111,14 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - svelte-check@3.8.5(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208): + svelte-check@3.8.5(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.216): dependencies: '@jridgewell/trace-mapping': 0.3.25 chokidar: 3.6.0 picocolors: 1.0.1 sade: 1.8.1 - svelte: 5.0.0-next.208 - svelte-preprocess: 5.1.4(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208)(typescript@5.5.4) + svelte: 5.0.0-next.216 + svelte-preprocess: 5.1.4(postcss-load-config@4.0.2(postcss@8.4.41))(postcss@8.4.41)(svelte@5.0.0-next.216)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - '@babel/core' @@ -3128,34 +3131,34 @@ snapshots: - stylus - sugarss - svelte-eslint-parser@0.41.0(svelte@5.0.0-next.208): + svelte-eslint-parser@0.41.0(svelte@5.0.0-next.216): dependencies: eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 espree: 9.6.1 - postcss: 8.4.40 - postcss-scss: 4.0.9(postcss@8.4.40) + postcss: 8.4.41 + postcss-scss: 4.0.9(postcss@8.4.41) optionalDependencies: - svelte: 5.0.0-next.208 + svelte: 5.0.0-next.216 - svelte-hmr@0.16.0(svelte@5.0.0-next.208): + svelte-hmr@0.16.0(svelte@5.0.0-next.216): dependencies: - svelte: 5.0.0-next.208 + svelte: 5.0.0-next.216 - svelte-preprocess@5.1.4(postcss-load-config@4.0.2(postcss@8.4.40))(postcss@8.4.40)(svelte@5.0.0-next.208)(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.216)(typescript@5.5.4): dependencies: '@types/pug': 2.0.10 detect-indent: 6.1.0 magic-string: 0.30.10 sorcery: 0.11.1 strip-indent: 3.0.0 - svelte: 5.0.0-next.208 + svelte: 5.0.0-next.216 optionalDependencies: - postcss: 8.4.40 - postcss-load-config: 4.0.2(postcss@8.4.40) + postcss: 8.4.41 + postcss-load-config: 4.0.2(postcss@8.4.41) typescript: 5.5.4 - svelte@5.0.0-next.208: + svelte@5.0.0-next.216: dependencies: '@ampproject/remapping': 2.3.0 '@jridgewell/sourcemap-codec': 1.4.15 @@ -3171,7 +3174,7 @@ snapshots: magic-string: 0.30.10 zimmerframe: 1.1.2 - tailwindcss@3.4.7: + tailwindcss@3.4.9: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -3187,11 +3190,11 @@ snapshots: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.1 - postcss: 8.4.40 - postcss-import: 15.1.0(postcss@8.4.40) - postcss-js: 4.0.1(postcss@8.4.40) - postcss-load-config: 4.0.2(postcss@8.4.40) - postcss-nested: 6.0.1(postcss@8.4.40) + postcss: 8.4.41 + postcss-import: 15.1.0(postcss@8.4.41) + postcss-js: 4.0.1(postcss@8.4.41) + postcss-load-config: 4.0.2(postcss@8.4.41) + postcss-nested: 6.0.1(postcss@8.4.41) postcss-selector-parser: 6.1.0 resolve: 1.22.8 sucrase: 3.35.0 @@ -3253,28 +3256,29 @@ snapshots: debug: 4.3.5 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.3.5 + vite: 5.4.0 transitivePeerDependencies: - '@types/node' - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color - terser - vite@5.3.5: + vite@5.4.0: dependencies: esbuild: 0.21.5 - postcss: 8.4.40 + postcss: 8.4.41 rollup: 4.18.1 optionalDependencies: fsevents: 2.3.3 - vitefu@0.2.5(vite@5.3.5): + vitefu@0.2.5(vite@5.4.0): optionalDependencies: - vite: 5.3.5 + vite: 5.4.0 vitest@2.0.5: dependencies: @@ -3294,13 +3298,14 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.3.5 + vite: 5.4.0 vite-node: 2.0.5 why-is-node-running: 2.3.0 transitivePeerDependencies: - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color diff --git a/src/lib/components/gadgets/timer/beeper.svelte b/src/lib/components/gadgets/timer/beeper.svelte index fb9ca44a..153b8f60 100644 --- a/src/lib/components/gadgets/timer/beeper.svelte +++ b/src/lib/components/gadgets/timer/beeper.svelte @@ -24,37 +24,38 @@ */ function getFrequency(note = 1) { switch (note) { + case 1: + return 659; // E5 + case 2: + return 622; // D#5 + case 3: + return 587; // D5 case 4: - return 440; + return 523; // C5 + case 5: + return 493; // B4 case 6: - return 392; + return 466; // A#4 + case 7: + return 440; // A4 case 8: - return 349; + return 392; // G4 case 9: - return 330; + return 349; // F4 + case 10: + return 330; // E4 case 11: - return 294; - case 13: - return 262; - case 14: - return 247; - case 15: - return 233; - case 16: - return 220; - case 18: - return 196; - case 21: - return 165; + return 294; // D4 default: - return 0; + return 0; // Rest } } - const noteDuration = 175; - const marioNotes = [ - 9, 9, 0, 9, 0, 13, 9, 0, 6, 0, 0, 0, 0, 0, 0, 13, 0, 0, 18, 0, 0, 21, 0, 0, 16, 0, 14, 0, 15, - 16, 0, 18, 9, 6, 4, 0, 8, 6, 0, 8, 6, 0, 9, 0, 13, 11, 13 + const noteDuration = 250; + const notes = [ + 4, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, 10, 10, 10, 7, 4, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, 10, 10, + 10, 7, 4, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, 10, 10, 10, 7, 4, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, + 10, 10, 10, 7 ]; /** @@ -71,7 +72,7 @@ oscillator.frequency.value = freq; oscillator.type = 'square'; gain.connect(ctx.destination); - gain.gain.value = vol * 0.01; + gain.gain.value = vol * 0.005; oscillator.start(ctx.currentTime); oscillator.stop(ctx.currentTime + noteDuration * 0.001); } @@ -83,7 +84,7 @@ */ async function playTimerSound(ctx) { while (beeping) { - for (const note of marioNotes) { + for (const note of notes) { if (!beeping) return; await sleep(noteDuration); if (!beeping) return; diff --git a/svelte.config.aws.js b/svelte.config.aws.js index 648d9988..5f5a8bab 100644 --- a/svelte.config.aws.js +++ b/svelte.config.aws.js @@ -6,7 +6,7 @@ const config = { preprocess: vitePreprocess(), kit: { adapter: adapter({ - edge: true, + edge: false, stream: false }) }, diff --git a/svelte.config.js b/svelte.config.js index 648d9988..5f5a8bab 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -6,7 +6,7 @@ const config = { preprocess: vitePreprocess(), kit: { adapter: adapter({ - edge: true, + edge: false, stream: false }) },