From 5bf8c29991593a7089bec56f9842025a549667f0 Mon Sep 17 00:00:00 2001 From: Pier Dolique Date: Sun, 13 Oct 2024 00:17:27 +0300 Subject: [PATCH 1/3] Upgrade packages --- package-lock.json | 158 +++++++++++++++++++++++++--------------------- package.json | 2 +- 2 files changed, 88 insertions(+), 72 deletions(-) diff --git a/package-lock.json b/package-lock.json index a2eceb5..57056bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "ufo": "1.5.4", "valibot": "0.42.1", "vue-tsc": "2.1.6", - "wrangler": "3.80.3", + "wrangler": "3.80.4", "ws": "8.18.0" } }, @@ -83,18 +83,18 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.7.tgz", - "integrity": "sha512-9ickoLz+hcXCeh7jrcin+/SLWm+GkxE2kTvoYyp38p4WkdFXfQJxDFGWp/YHjiKLPx06z2A7W8XKuqbReXDzsw==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.8.tgz", + "integrity": "sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.7.tgz", - "integrity": "sha512-yJ474Zv3cwiSOO9nXJuqzvwEeM+chDuQ8GJirw+pZ91sCGCyOZ3dJkVE09fTV0VEVzXyLWhh3G/AolYTPX7Mow==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", + "integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", @@ -103,10 +103,10 @@ "@babel/helper-compilation-targets": "^7.25.7", "@babel/helper-module-transforms": "^7.25.7", "@babel/helpers": "^7.25.7", - "@babel/parser": "^7.25.7", + "@babel/parser": "^7.25.8", "@babel/template": "^7.25.7", "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.7", + "@babel/types": "^7.25.8", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -438,12 +438,12 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.7.tgz", - "integrity": "sha512-aZn7ETtQsjjGG5HruveUK06cU3Hljuhd9Iojm4M8WWv3wLE6OkE5PWbDUkItmMgegmccaITudyuW5RPYrYlgWw==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.8.tgz", + "integrity": "sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ==", "license": "MIT", "dependencies": { - "@babel/types": "^7.25.7" + "@babel/types": "^7.25.8" }, "bin": { "parser": "bin/babel-parser.js" @@ -561,9 +561,9 @@ } }, "node_modules/@babel/standalone": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/standalone/-/standalone-7.25.7.tgz", - "integrity": "sha512-7H+mK18Ew4C/pIIiZwF1eiVjUEh2Ju/BpwRZwcPeXltF/rIjHjFL0gol7PtGrHocmIq6P6ubJrylmmWQ3lGJPA==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/standalone/-/standalone-7.25.8.tgz", + "integrity": "sha512-UvRanvLCGPRscJ5Rw9o6vUBS5P+E+gkhl6eaokrIN+WM1kUkmj254VZhyihFdDZVDlI3cPcZoakbJJw24QPISw==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -602,9 +602,9 @@ } }, "node_modules/@babel/types": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.7.tgz", - "integrity": "sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ==", + "version": "7.25.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.8.tgz", + "integrity": "sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.25.7", @@ -659,9 +659,9 @@ } }, "node_modules/@cloudflare/workerd-darwin-64": { - "version": "1.20240925.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20240925.0.tgz", - "integrity": "sha512-KdLnSXuzB65CbqZPm+qYzk+zkQ1tUNPaaRGYVd/jPYAxwwtfTUQdQ+ahDPwVVs2tmQELKy7ZjQjf2apqSWUfjw==", + "version": "1.20241004.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20241004.0.tgz", + "integrity": "sha512-c2afR486NXDRcPm7RaTSRDnffFklPCXde/IeNVhEhBJ8O+pQhBOdDcGIy8zXPwMu0CYga0iHNZmpbsl+ZcHttA==", "cpu": [ "x64" ], @@ -676,9 +676,9 @@ } }, "node_modules/@cloudflare/workerd-darwin-arm64": { - "version": "1.20240925.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20240925.0.tgz", - "integrity": "sha512-MiQ6uUmCXjsXgWNV+Ock2tp2/tYqNJGzjuaH6jFioeRF+//mz7Tv7J7EczOL4zq+TH8QFOh0/PUsLyazIWVGng==", + "version": "1.20241004.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/-/workerd-darwin-arm64-1.20241004.0.tgz", + "integrity": "sha512-siD9fexv5lr2IpBczWV7OPgJvHj8/fJUrRAYCMcBURkfiwssK91coQeZlN1NdQ85aYELVgxDFoG+p86OS+ZzLw==", "cpu": [ "arm64" ], @@ -693,9 +693,9 @@ } }, "node_modules/@cloudflare/workerd-linux-64": { - "version": "1.20240925.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20240925.0.tgz", - "integrity": "sha512-Rjix8jsJMfsInmq3Hm3fmiRQ+rwzuWRPV1pg/OWhMSfNP7Qp2RCU+RGkhgeR9Z5eNAje0Sn2BMrFq4RvF9/yRA==", + "version": "1.20241004.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-64/-/workerd-linux-64-1.20241004.0.tgz", + "integrity": "sha512-EtKGXO5fzRgX6UhDDLhjjEsB1QtliHb12zavZ/S0C8hKPz76II7MQ3Lls9kfB62fbdMP8L6vcqWPObEUcw6GSw==", "cpu": [ "x64" ], @@ -710,9 +710,9 @@ } }, "node_modules/@cloudflare/workerd-linux-arm64": { - "version": "1.20240925.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20240925.0.tgz", - "integrity": "sha512-VYIPeMHQRtbwQoIjUwS/zULlywPxyDvo46XkTpIW5MScEChfqHvAYviQ7TzYGx6Q+gmZmN+DUB2KOMx+MEpCxA==", + "version": "1.20241004.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-linux-arm64/-/workerd-linux-arm64-1.20241004.0.tgz", + "integrity": "sha512-XO7VBE1YaFf/o9tKO1PqDqaxkU2eAR2DLX7R0+R8p+q92sUDXyoxo48T3yJDfxWndnKJ6hSJfvKanw3Mq9Tisw==", "cpu": [ "arm64" ], @@ -727,9 +727,9 @@ } }, "node_modules/@cloudflare/workerd-windows-64": { - "version": "1.20240925.0", - "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20240925.0.tgz", - "integrity": "sha512-C8peGvaU5R51bIySi1VbyfRgwNSSRknqoFSnSbSBI3uTN3THTB3UnmRKy7GXJDmyjgXuT9Pcs1IgaWNubLtNtw==", + "version": "1.20241004.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workerd-windows-64/-/workerd-windows-64-1.20241004.0.tgz", + "integrity": "sha512-o+TmCYGq58jNUDbG73xOvd648XvJ2TicI++2BBoySklJXG6f4But5AwA8TxQgmeujR3vpBjPZKexEzcZSUOTtA==", "cpu": [ "x64" ], @@ -744,9 +744,9 @@ } }, "node_modules/@cloudflare/workers-shared": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/@cloudflare/workers-shared/-/workers-shared-0.5.4.tgz", - "integrity": "sha512-PNL/0TjKRdUHa1kwgVdqUNJVZ9ez4kacsi8omz+gv859EvJmsVuGiMAClY2YfJnC9LVKhKCcjqmFgKNXG9/IXA==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@cloudflare/workers-shared/-/workers-shared-0.6.0.tgz", + "integrity": "sha512-rfUCvb3hx4AsvdUZsxgk9lmgEnQehqV3jdtXLP/Xr0+P56n11T/0nXNMzmn7Nnv+IJFOV6X9NmFhuMz4sBPw7w==", "dev": true, "license": "MIT OR Apache-2.0", "dependencies": { @@ -1702,9 +1702,9 @@ } }, "node_modules/@iconify/collections": { - "version": "1.0.469", - "resolved": "https://registry.npmjs.org/@iconify/collections/-/collections-1.0.469.tgz", - "integrity": "sha512-L1fCxNvUQQXR2FQgIfwN1mBVXhtgsyq2U2KyM8qZyWx+r8MxTU9b9lFfWIu/1ZlINc9KiXK1A26kVhAL1zko5g==", + "version": "1.0.470", + "resolved": "https://registry.npmjs.org/@iconify/collections/-/collections-1.0.470.tgz", + "integrity": "sha512-6N1f1iNMNWvM56pUhcv+0TSP6Apl2VRfejtZH8h9H8fMRiDsROWxeQeEBxI394QnVWrOyoK1XXnNyVbn6xlF6A==", "dev": true, "license": "MIT", "dependencies": { @@ -2165,6 +2165,7 @@ "resolved": "https://registry.npmjs.org/@nuxt/icon/-/icon-1.5.6.tgz", "integrity": "sha512-7l99CWc/laHphSsoLikh99Hkwjv+59cwAMJ0f9eZddBV+vO7zLGWwocH/TDNjlX0IACgVoG+AfbP/p1fqlLKpg==", "dev": true, + "license": "MIT", "dependencies": { "@iconify/collections": "^1.0.469", "@iconify/types": "^2.0.0", @@ -3873,6 +3874,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.12.tgz", "integrity": "sha512-ISyBTRMmMYagUxhcpyEH0hpXRd/KqDU4ymofPgl2XAkY9ZhQ+h0ovEZJIiPop13UmR/54oA2cgMDjgroRelaEw==", + "license": "MIT", "dependencies": { "@babel/parser": "^7.25.3", "@vue/shared": "3.5.12", @@ -3884,12 +3886,14 @@ "node_modules/@vue/compiler-core/node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "license": "MIT" }, "node_modules/@vue/compiler-dom": { "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.12.tgz", "integrity": "sha512-9G6PbJ03uwxLHKQ3P42cMTi85lDRvGLB2rSGOiQqtXELat6uI4n8cNz9yjfVHRPIu+MsK6TE418Giruvgptckg==", + "license": "MIT", "dependencies": { "@vue/compiler-core": "3.5.12", "@vue/shared": "3.5.12" @@ -3899,6 +3903,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.12.tgz", "integrity": "sha512-2k973OGo2JuAa5+ZlekuQJtitI5CgLMOwgl94BzMCsKZCX/xiqzJYzapl4opFogKHqwJk34vfsaKpfEhd1k5nw==", + "license": "MIT", "dependencies": { "@babel/parser": "^7.25.3", "@vue/compiler-core": "3.5.12", @@ -3921,6 +3926,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.12.tgz", "integrity": "sha512-eLwc7v6bfGBSM7wZOGPmRavSWzNFF6+PdRhE+VFJhNCgHiF8AM7ccoqcv5kBXA2eWUfigD7byekvf/JsOfKvPA==", + "license": "MIT", "dependencies": { "@vue/compiler-dom": "3.5.12", "@vue/shared": "3.5.12" @@ -4047,6 +4053,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.12.tgz", "integrity": "sha512-UzaN3Da7xnJXdz4Okb/BGbAaomRHc3RdoWqTzlvd9+WBR5m3J39J1fGcHes7U3za0ruYn/iYy/a1euhMEHvTAg==", + "license": "MIT", "dependencies": { "@vue/shared": "3.5.12" } @@ -4055,6 +4062,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.12.tgz", "integrity": "sha512-hrMUYV6tpocr3TL3Ad8DqxOdpDe4zuQY4HPY3X/VRh+L2myQO8MFXPAMarIOSGNu0bFAjh1yBkMPXZBqCk62Uw==", + "license": "MIT", "dependencies": { "@vue/reactivity": "3.5.12", "@vue/shared": "3.5.12" @@ -4064,6 +4072,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.12.tgz", "integrity": "sha512-q8VFxR9A2MRfBr6/55Q3umyoN7ya836FzRXajPB6/Vvuv0zOPL+qltd9rIMzG/DbRLAIlREmnLsplEF/kotXKA==", + "license": "MIT", "dependencies": { "@vue/reactivity": "3.5.12", "@vue/runtime-core": "3.5.12", @@ -4075,6 +4084,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.12.tgz", "integrity": "sha512-I3QoeDDeEPZm8yR28JtY+rk880Oqmj43hreIBVTicisFTx/Dl7JpG72g/X7YF8hnQD3IFhkky5i2bPonwrTVPg==", + "license": "MIT", "dependencies": { "@vue/compiler-ssr": "3.5.12", "@vue/shared": "3.5.12" @@ -4086,7 +4096,8 @@ "node_modules/@vue/shared": { "version": "3.5.12", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.12.tgz", - "integrity": "sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg==" + "integrity": "sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg==", + "license": "MIT" }, "node_modules/@vueuse/core": { "version": "11.1.0", @@ -4814,9 +4825,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001667", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001667.tgz", - "integrity": "sha512-7LTwJjcRkzKFmtqGsibMeuXmvFDfZq/nzIjnmgCGzKKRVzjD72selLDK1oPF/Oxzmt4fNcPvTDvGqSDG4tCALw==", + "version": "1.0.30001668", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001668.tgz", + "integrity": "sha512-nWLrdxqCdblixUO+27JtGJJE/txpJlyUy5YN1u53wLZkP0emYCo5zgS6QYft7VUYR42LGgi/S5hdLZTrnyIddw==", "funding": [ { "type": "opencollective", @@ -5446,7 +5457,8 @@ "node_modules/csstype": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" }, "node_modules/data-uri-to-buffer": { "version": "2.0.2", @@ -6280,9 +6292,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.34", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.34.tgz", - "integrity": "sha512-/TZAiChbAflBNjCg+VvstbcwAtIL/VdMFO3NgRFIzBjpvPzWOTIbbO8kNb6RwU4bt9TP7K+3KqBKw/lOU+Y+GA==", + "version": "1.5.36", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.36.tgz", + "integrity": "sha512-HYTX8tKge/VNp6FGO+f/uVDmUkq+cEfcxYhKf15Akc4M5yxt5YmorwlAitKWjWhWQnKcDRBAQKXkhqqXMqcrjw==", "license": "ISC" }, "node_modules/emoji-regex": { @@ -7712,9 +7724,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.11", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", - "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", + "version": "0.30.12", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.12.tgz", + "integrity": "sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==", "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" @@ -7830,9 +7842,9 @@ } }, "node_modules/miniflare": { - "version": "3.20240925.1", - "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-3.20240925.1.tgz", - "integrity": "sha512-odavnAwWLevMWOi/efIdAI9AVlg8C8NfXe2YLoAeG+Fj5BDHPDxCoY7AjZvBj3CJ7bszkoYyhoPEH60X+Vk+7g==", + "version": "3.20241004.0", + "resolved": "https://registry.npmjs.org/miniflare/-/miniflare-3.20241004.0.tgz", + "integrity": "sha512-QSSmCR2V1AJnnpYwlyLXobKLSGiY1FlAiZYULMdGgOUThV7HJeSysDxsmPmrH+D4GQbmUERnmDdB6M6Rrz7uPg==", "dev": true, "license": "MIT", "dependencies": { @@ -7844,7 +7856,7 @@ "glob-to-regexp": "^0.4.1", "stoppable": "^1.1.0", "undici": "^5.28.4", - "workerd": "1.20240925.0", + "workerd": "1.20241004.0", "ws": "^8.17.1", "youch": "^3.2.2", "zod": "^3.22.3" @@ -10827,6 +10839,7 @@ "resolved": "https://registry.npmjs.org/sass/-/sass-1.79.5.tgz", "integrity": "sha512-W1h5kp6bdhqFh2tk3DsI771MoEJjvrSY/2ihJRJS4pjIyfJCw0nTsxqhnrUzaLMOJjFchj8rOvraI/YUVjtx5g==", "devOptional": true, + "license": "MIT", "dependencies": { "@parcel/watcher": "^2.4.1", "chokidar": "^4.0.0", @@ -13305,6 +13318,7 @@ "version": "3.5.12", "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.12.tgz", "integrity": "sha512-CLVZtXtn2ItBIi/zHZ0Sg1Xkb7+PU32bJJ8Bmy7ts3jxXTcbfsEfBivFYYWz1Hur+lalqGAh65Coin0r+HRUfg==", + "license": "MIT", "dependencies": { "@vue/compiler-dom": "3.5.12", "@vue/compiler-sfc": "3.5.12", @@ -13416,9 +13430,9 @@ } }, "node_modules/workerd": { - "version": "1.20240925.0", - "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20240925.0.tgz", - "integrity": "sha512-/Jj6+yLwfieZGEt3Kx4+5MoufuC3g/8iFaIh4MPBNGJOGYmdSKXvgCqz09m2+tVCYnysRfbq2zcbVxJRBfOCqQ==", + "version": "1.20241004.0", + "resolved": "https://registry.npmjs.org/workerd/-/workerd-1.20241004.0.tgz", + "integrity": "sha512-TCFJ7Zw7svR3adg1fnlPWj/yXhjBnQloLEIJqdu57hli/GsgwlbomwrbM3mdMgbS+K9zYeaYqknXiBN0EXk3QQ==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -13429,27 +13443,28 @@ "node": ">=16" }, "optionalDependencies": { - "@cloudflare/workerd-darwin-64": "1.20240925.0", - "@cloudflare/workerd-darwin-arm64": "1.20240925.0", - "@cloudflare/workerd-linux-64": "1.20240925.0", - "@cloudflare/workerd-linux-arm64": "1.20240925.0", - "@cloudflare/workerd-windows-64": "1.20240925.0" + "@cloudflare/workerd-darwin-64": "1.20241004.0", + "@cloudflare/workerd-darwin-arm64": "1.20241004.0", + "@cloudflare/workerd-linux-64": "1.20241004.0", + "@cloudflare/workerd-linux-arm64": "1.20241004.0", + "@cloudflare/workerd-windows-64": "1.20241004.0" } }, "node_modules/wrangler": { - "version": "3.80.3", - "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.80.3.tgz", - "integrity": "sha512-Qe/7Sp8Vf7LYrdLPVsQFznac/1FweLI4aRgHmdCr6SCP5V81PP5ArogQX6BcuZ1tHvtNLNk4B4JC39awJdZvUg==", + "version": "3.80.4", + "resolved": "https://registry.npmjs.org/wrangler/-/wrangler-3.80.4.tgz", + "integrity": "sha512-DyNvShtVH3k7ZyBndlIiwyRDXqtHr3g01hxwn4FfwKlAaT6EL0wb3KL3UGbsdpeM/xbJiUQxFQ4WuFBWgZS18Q==", "dev": true, + "license": "MIT OR Apache-2.0", "dependencies": { "@cloudflare/kv-asset-handler": "0.3.4", - "@cloudflare/workers-shared": "0.5.4", + "@cloudflare/workers-shared": "0.6.0", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "blake3-wasm": "^2.1.5", "chokidar": "^3.5.3", "esbuild": "0.17.19", - "miniflare": "3.20240925.1", + "miniflare": "3.20241004.0", "nanoid": "^3.3.3", "path-to-regexp": "^6.3.0", "resolve": "^1.22.8", @@ -13457,7 +13472,7 @@ "selfsigned": "^2.0.1", "source-map": "^0.6.1", "unenv": "npm:unenv-nightly@2.0.0-20241009-125958-e8ea22f", - "workerd": "1.20240925.0", + "workerd": "1.20241004.0", "xxhash-wasm": "^1.0.1" }, "bin": { @@ -13471,7 +13486,7 @@ "fsevents": "~2.3.2" }, "peerDependencies": { - "@cloudflare/workers-types": "^4.20240925.0" + "@cloudflare/workers-types": "^4.20241004.0" }, "peerDependenciesMeta": { "@cloudflare/workers-types": { @@ -13926,6 +13941,7 @@ "resolved": "https://registry.npmjs.org/unenv-nightly/-/unenv-nightly-2.0.0-20241009-125958-e8ea22f.tgz", "integrity": "sha512-hRxmKz1iSVRmuFx/vBdPsx7rX4o7Cas9vdjDNeUeWpQTK2LzU3Xy3Jz0zbo7MJX0bpqo/LEFCA+GPwsbl6zKEQ==", "dev": true, + "license": "MIT", "dependencies": { "defu": "^6.1.4", "ohash": "^1.1.4", diff --git a/package.json b/package.json index 0bddd65..8e67031 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "ufo": "1.5.4", "valibot": "0.42.1", "vue-tsc": "2.1.6", - "wrangler": "3.80.3", + "wrangler": "3.80.4", "ws": "8.18.0" } } From bdaf39d295230735b2be14e1aa957bcbcd9fe040 Mon Sep 17 00:00:00 2001 From: Pier Dolique Date: Sun, 13 Oct 2024 00:18:13 +0300 Subject: [PATCH 2/3] Change VS Code suggested extenstions list --- .vscode/extensions.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index a8f8f16..03c62e5 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,15 +1,15 @@ { "recommendations": [ - "aaron-bond.better-comments", "antfu.iconify", "dbaeumer.vscode-eslint", "editorconfig.editorconfig", - "github.copilot", "github.copilot-chat", + "github.copilot", "github.vscode-github-actions", + "Gruntfuggly.todo-tree", "ms-azuretools.vscode-docker", - "mtxr.sqltools", "mtxr.sqltools-driver-pg", + "mtxr.sqltools", "pflannery.vscode-versionlens", "ritwickdey.liveserver", "tamasfe.even-better-toml", @@ -17,6 +17,8 @@ "visualstudioexptteam.vscodeintellicode", "vue.volar", "vunguyentuan.vscode-css-variables", - "yoavbls.pretty-ts-errors" + "yoavbls.pretty-ts-errors", + "jeronimoekerdt.color-picker-universal", + "waderyan.gitblame" ] } From 510627577e15dfd61d1b5d0c29b8adaed2f72074 Mon Sep 17 00:00:00 2001 From: Pier Dolique Date: Sun, 13 Oct 2024 00:18:50 +0300 Subject: [PATCH 3/3] Change colour scheme Fixes #175 --- app/app.vue | 28 +- app/assets/styles/_base.scss | 260 ++++++++++++++---- app/components/EmptyState.vue | 6 +- app/components/IconButton.vue | 54 ++-- app/components/ImageUpload.vue | 25 +- app/components/PageHeader.vue | 17 +- app/components/PerdButton.vue | 43 ++- app/components/PerdInput.vue | 16 +- app/components/PerdLink.vue | 17 +- app/components/PerdMenu.vue | 11 +- app/components/PerdMenu/OptionBase.vue | 7 +- app/components/PerdSearch/DefaultOption.vue | 7 +- app/components/PerdSearch/EmptyOption.vue | 7 +- app/components/PerdSearch/PerdSearch.vue | 74 +++-- app/components/PerdSearch/SearchOption.vue | 11 - app/components/PerdSearch/SearchOptionAdd.vue | 2 +- app/components/PerdSelect.vue | 47 ++-- app/components/PerdSidebar/PerdSidebar.vue | 22 +- app/components/PerdSidebar/SidebarItem.vue | 18 +- app/components/PerdTextArea.vue | 12 +- app/components/PerdToast.vue | 8 +- app/components/PerdToggle.vue | 10 +- app/components/SwitchBase.vue | 12 +- app/components/TextInput.vue | 38 +++ app/components/checklists/ChecklistItem.vue | 17 +- .../checklists/ChecklistItemsList.vue | 1 - app/components/checklists/ChecklistsItem.vue | 21 +- app/components/dialogs/InputDialog.vue | 8 +- app/components/dialogs/ModalDialog.vue | 8 +- app/components/equipment/EquipmentTable.vue | 13 +- .../experimental/ExperimentalSelect.vue | 1 - app/pages/checklists/[checklistId].vue | 11 +- app/pages/login.vue | 1 - app/pages/manager/equipment/add.vue | 2 +- app/pages/manager/equipment/groups.vue | 4 +- app/pages/manager/equipment/types.vue | 4 +- 36 files changed, 482 insertions(+), 361 deletions(-) delete mode 100644 app/components/PerdSearch/SearchOption.vue create mode 100644 app/components/TextInput.vue diff --git a/app/app.vue b/app/app.vue index fe9d35b..3a50aca 100644 --- a/app/app.vue +++ b/app/app.vue @@ -32,8 +32,8 @@ margin: 0; padding: 0; height: 100%; - background-color: var(--color-background); - color: var(--color-primary); + background-color: var(--background); + color: var(--text); } .perd-root { @@ -50,29 +50,19 @@ padding: 0; border: none; background: none; - color: var(--color-primary); - } - - // Apply global styles - input[type="text"] { - width: 100%; - outline: none; - border: 1px solid color-mix(in srgb, var(--color-primary), transparent 75%); - padding: var(--spacing-12); - border-radius: var(--border-radius-16); - font-size: var(--font-size-16); - color: var(--color-primary); - background-color: var(--input-color-background); - } - - input::placeholder { - color: var(--input-color-placeholder); + color: var(--text); } // Reset default button styles button { + appearance: none; border: none; padding: 0; + cursor: pointer; + + &:disabled { + cursor: not-allowed; + } } } diff --git a/app/assets/styles/_base.scss b/app/assets/styles/_base.scss index 96f7c2a..4e3f673 100644 --- a/app/assets/styles/_base.scss +++ b/app/assets/styles/_base.scss @@ -2,8 +2,7 @@ @import "modern-normalize"; :root { - color-scheme: only light; - + color-scheme: light dark; font-family: "Inter", sans-serif; // Screen sizes @@ -26,23 +25,6 @@ --spacing-32: 2rem; --spacing-48: 3rem; - // Colors - --color-blue-50: #f0fafb; - --color-blue-100: #d8f2f5; - --color-blue-200: #b5e3ec; - --color-blue-300: #82cede; - --color-blue-400: #5ab8cd; - --color-blue-500: #2d95ad; - --color-blue-600: #287892; - --color-blue-700: #266278; - --color-blue-800: #275263; - --color-blue-900: #244555; - --color-blue-950: #132c39; - --color-background: #f0fafb; - --color-primary: #244555; - --color-secondary: #666; - --color-success: #4caf50; - // Shadows --shadow-2: 0 2px 4px 0 rgba(0, 0, 0, 0.1); @@ -66,48 +48,204 @@ // Transitions --transition-time-quick: 0.15s; --transition-time-medium: 0.3s; +} + +@media (prefers-color-scheme: light) { + :root { + --text: oklch(13.77% 0.016 253.54); + --background: oklch(98.37% 0.005 247.88); + --primary: oklch(54.72% 0.144 258.46); + --secondary: oklch(75.08% 0.075 258.11); + --accent: oklch(72.60% 0.103 258.29); + + --text-50: oklch(95.67% 0.012 259.82); + --text-100: oklch(91.27% 0.023 258.36); + --text-200: oklch(82.47% 0.049 259.10); + --text-300: oklch(73.49% 0.075 258.10); + --text-400: oklch(64.55% 0.103 258.12); + --text-500: oklch(55.73% 0.131 258.24); + --text-600: oklch(47.58% 0.109 258.20); + --text-700: oklch(39.07% 0.087 258.13); + --text-800: oklch(30.06% 0.063 258.01); + --text-900: oklch(20.34% 0.034 258.28); + --text-950: oklch(14.81% 0.020 257.28); + + --background-50: oklch(95.82% 0.013 251.56); + --background-100: oklch(91.55% 0.027 249.86); + --background-200: oklch(83.28% 0.055 248.49); + --background-300: oklch(74.84% 0.082 249.52); + --background-400: oklch(66.73% 0.111 249.82); + --background-500: oklch(58.72% 0.140 251.71); + --background-600: oklch(50.14% 0.116 251.28); + --background-700: oklch(40.93% 0.092 251.50); + --background-800: oklch(31.47% 0.067 250.78); + --background-900: oklch(20.93% 0.038 251.48); + --background-950: oklch(15.41% 0.020 243.01); + + --primary-50: oklch(95.59% 0.013 255.51); + --primary-100: oklch(91.19% 0.027 257.03); + --primary-200: oklch(82.10% 0.055 258.68); + --primary-300: oklch(73.19% 0.083 258.32); + --primary-400: oklch(64.31% 0.114 258.00); + --primary-500: oklch(55.46% 0.147 258.55); + --primary-600: oklch(47.47% 0.121 258.20); + --primary-700: oklch(38.89% 0.096 258.39); + --primary-800: oklch(29.84% 0.070 258.59); + --primary-900: oklch(20.33% 0.038 257.21); + --primary-950: oklch(14.88% 0.022 259.63); + + --secondary-50: oklch(95.59% 0.013 255.51); + --secondary-100: oklch(91.23% 0.025 257.65); + --secondary-200: oklch(82.13% 0.054 259.02); + --secondary-300: oklch(73.21% 0.082 258.53); + --secondary-400: oklch(64.31% 0.111 258.28); + --secondary-500: oklch(55.61% 0.140 258.32); + --secondary-600: oklch(47.42% 0.118 258.39); + --secondary-700: oklch(38.87% 0.094 258.53); + --secondary-800: oklch(29.83% 0.068 258.83); + --secondary-900: oklch(20.33% 0.036 257.69); + --secondary-950: oklch(14.88% 0.022 259.63); + + --accent-50: oklch(95.31% 0.017 259.42); + --accent-100: oklch(90.87% 0.032 258.37); + --accent-200: oklch(81.71% 0.067 258.36); + --accent-300: oklch(72.60% 0.103 258.29); + --accent-400: oklch(63.72% 0.140 258.31); + --accent-500: oklch(55.38% 0.176 258.87); + --accent-600: oklch(47.24% 0.147 258.80); + --accent-700: oklch(38.74% 0.116 258.70); + --accent-800: oklch(29.76% 0.083 258.56); + --accent-900: oklch(20.07% 0.047 258.19); + --accent-950: oklch(14.79% 0.027 255.17); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --text: oklch(96.58% 0.009 258.34); + --background: oklch(11.10% 0.013 239.32); + --primary: oklch(56.34% 0.143 258.42); + --secondary: oklch(37.26% 0.088 258.17); + --accent: oklch(38.74% 0.116 258.70); + + --text-50: oklch(14.81% 0.020 257.28); + --text-100: oklch(20.34% 0.034 258.28); + --text-200: oklch(30.06% 0.063 258.01); + --text-300: oklch(39.07% 0.087 258.13); + --text-400: oklch(47.58% 0.109 258.20); + --text-500: oklch(55.73% 0.131 258.24); + --text-600: oklch(64.55% 0.103 258.12); + --text-700: oklch(73.49% 0.075 258.10); + --text-800: oklch(82.47% 0.049 259.10); + --text-900: oklch(91.27% 0.023 258.36); + --text-950: oklch(95.67% 0.012 259.82); + + --background-50: oklch(15.41% 0.020 243.01); + --background-100: oklch(20.93% 0.038 251.48); + --background-200: oklch(31.47% 0.067 250.78); + --background-300: oklch(40.93% 0.092 251.50); + --background-400: oklch(50.14% 0.116 251.28); + --background-500: oklch(58.72% 0.140 251.71); + --background-600: oklch(66.73% 0.111 249.82); + --background-700: oklch(74.84% 0.082 249.52); + --background-800: oklch(83.28% 0.055 248.49); + --background-900: oklch(91.55% 0.027 249.86); + --background-950: oklch(95.82% 0.013 251.56); + + --primary-50: oklch(14.88% 0.022 259.63); + --primary-100: oklch(20.33% 0.038 257.21); + --primary-200: oklch(29.84% 0.070 258.59); + --primary-300: oklch(38.89% 0.096 258.39); + --primary-400: oklch(47.47% 0.121 258.20); + --primary-500: oklch(55.46% 0.147 258.55); + --primary-600: oklch(64.31% 0.114 258.00); + --primary-700: oklch(73.19% 0.083 258.32); + --primary-800: oklch(82.10% 0.055 258.68); + --primary-900: oklch(91.19% 0.027 257.03); + --primary-950: oklch(95.59% 0.013 255.51); + + --secondary-50: oklch(14.88% 0.022 259.63); + --secondary-100: oklch(20.33% 0.036 257.69); + --secondary-200: oklch(29.83% 0.068 258.83); + --secondary-300: oklch(38.87% 0.094 258.53); + --secondary-400: oklch(47.42% 0.118 258.39); + --secondary-500: oklch(55.61% 0.140 258.32); + --secondary-600: oklch(64.31% 0.111 258.28); + --secondary-700: oklch(73.21% 0.082 258.53); + --secondary-800: oklch(82.13% 0.054 259.02); + --secondary-900: oklch(91.23% 0.025 257.65); + --secondary-950: oklch(95.59% 0.013 255.51); + + --accent-50: oklch(14.79% 0.027 255.17); + --accent-100: oklch(20.07% 0.047 258.19); + --accent-200: oklch(29.76% 0.083 258.56); + --accent-300: oklch(38.74% 0.116 258.70); + --accent-400: oklch(47.24% 0.147 258.80); + --accent-500: oklch(55.38% 0.176 258.87); + --accent-600: oklch(63.72% 0.140 258.31); + --accent-700: oklch(72.60% 0.103 258.29); + --accent-800: oklch(81.71% 0.067 258.36); + --accent-900: oklch(90.87% 0.032 258.37); + --accent-950: oklch(95.31% 0.017 259.42); + } +} + +:root { + // Overlay + --overlay-color-background: oklch(0 0 0 / 50%); + --overlay-backdrop-filter: blur(4px); + + // Inputs (Text, Textarea, etc.) + --input-height: var(--spacing-48); + --input-padding-horizontal: var(--spacing-16); + --input-font-size: var(--font-size-16); + --input-border-radius: var(--border-radius-16); + --input-color-background: var(--primary-50); + --input-color-border: var(--primary-200); + --input-color-placeholder: var(--primary-400); + --input-color-text: var(--primary-800); + --input-color-focus: var(--primary-400); + --input-color-label: var(--primary-600); + + // Selects + --select-color-hover: var(--primary-100); + --select-color-active: var(--primary-200); + + // Dialogues + --dialog-padding: var(--spacing-24); + --dialog-border-radius: var(--border-radius-24); + --dialog-color-background: var(--background); + --dialog-color-border: var(--background-100); // Buttons - --button-color-text: ghostwhite; - --button-color-disabled: #ccc; - --button-color-disabled-text: #666; - - // Inputs - --input-height: 3rem; - --input-spacing-horizontal: 1rem; - --input-border-radius: 1rem; - --input-color-hover-bg: rgba(151, 136, 136, 0.1); - --input-color-main: #287892; - --input-color-focus: #a26830; - --input-color-active: #7a4f24; - --input-color-text: #244555; - --input-color-placeholder: #8c8c8c; - --input-color-background: ghostwhite; - - // Secondary inputs - --input-secondary-color-main: ghostwhite; - --input-secondary-color-text: #287892; - --input-secondary-color-border: #287892; - --input-secondary-color-focus: #d8f2f5; - --input-secondary-color-active: #b5e3ec; - --input-secondary-color-disabled: #2d95ad; - - // Small inputs - --input-small-height: 2rem; - --input-small-border-radius: 0.75rem; - - // Extra small inputs - --input-extra-small-height: 1.5rem; - --input-extra-small-border-radius: 0.5rem; - - // Other elements - --element-color-background: ghostwhite; - --element-color-background-hover: #f0fafb; - --element-color-background-active: #d8f2f5; - - // Dialogs - --dialog-color-background: #f0fafb; - --dialog-color-border: #266278; - --dialog-padding: 1.5rem; - --dialog-border-radius: 1.5rem; + --button-height: var(--spacing-48); + --button-padding: 0 var(--spacing-24); + --button-border-radius: var(--border-radius-16); + --button-color-background: var(--primary); + --button-color-background-hover: var(--primary-600); + --button-color-background-active: var(--primary-700); + --button-color-background-disabled: var(--primary-300); + --button-color-text: var(--primary-50); + --button-color-text-disabled: var(--primary-100); + --button-gap: var(--spacing-8); + + // Secondary buttons + --button-secondary-color-background: var(--accent-200); + --button-secondary-color-background-hover: var(--accent-300); + --button-secondary-color-background-active: var(--accent-400); + --button-secondary-color-background-disabled: var(--accent-100); + --button-secondary-color-text: var(--accent-800); + --button-secondary-color-text-disabled: var(--accent-600); + + // Small buttons + --button-small-height: var(--spacing-32); + --button-small-padding: 0 var(--spacing-16); + --button-small-border-radius: var(--border-radius-12); + --button-small-font-size: var(--font-size-14); + --button-small-gap: var(--spacing-4); + + // Dropdowns + --dropdown-option-height: var(--spacing-48); + --dropdown-option-padding: 0 var(--spacing-16); + --dropdown-option-color-placeholder: var(--text-400); } diff --git a/app/components/EmptyState.vue b/app/components/EmptyState.vue index f2de322..57dd9dd 100644 --- a/app/components/EmptyState.vue +++ b/app/components/EmptyState.vue @@ -24,9 +24,9 @@ justify-content: center; column-gap: var(--spacing-8); padding: var(--spacing-32); - color: var(--input-color-main); - background-color: var(--element-color-background); - border: 1px solid var(--input-color-main); + color: var(--text-700); + background-color: var(--accent-50); + border: 1px solid var(--accent-200); border-radius: var(--border-radius-16); } diff --git a/app/components/IconButton.vue b/app/components/IconButton.vue index d61172b..0833faf 100644 --- a/app/components/IconButton.vue +++ b/app/components/IconButton.vue @@ -1,7 +1,7 @@ @@ -67,7 +70,6 @@ import type { InputHTMLAttributes } from 'vue'; import { watchDebounced, onClickOutside } from '@vueuse/core'; import FidgetSpinner from '~/components/FidgetSpinner.vue'; - import SearchOption from './SearchOption.vue'; import EmptyOption from './EmptyOption.vue'; import DefaultOption from './DefaultOption.vue'; @@ -145,24 +147,22 @@ diff --git a/app/components/PerdSearch/SearchOption.vue b/app/components/PerdSearch/SearchOption.vue deleted file mode 100644 index 8b2a11e..0000000 --- a/app/components/PerdSearch/SearchOption.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/app/components/PerdSearch/SearchOptionAdd.vue b/app/components/PerdSearch/SearchOptionAdd.vue index 610fec4..95e1054 100644 --- a/app/components/PerdSearch/SearchOptionAdd.vue +++ b/app/components/PerdSearch/SearchOptionAdd.vue @@ -23,7 +23,7 @@ align-items: center; column-gap: var(--spacing-16); justify-content: space-between; - padding: 0 var(--input-spacing-horizontal); + padding: var(--dropdown-option-padding) } .name { diff --git a/app/components/PerdSelect.vue b/app/components/PerdSelect.vue index a977644..8e36004 100644 --- a/app/components/PerdSelect.vue +++ b/app/components/PerdSelect.vue @@ -7,7 +7,7 @@ />
@@ -38,6 +37,7 @@