From 56c0f9aec9a3cb74311a1d029b14e54faec2a48a Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 3 Oct 2024 15:57:22 +0300 Subject: [PATCH] updated --- package-lock.json | 88 ++++++++++++++++++------------- package.json | 11 ++-- src/styles/views/Feed.module.scss | 2 +- vite.config.ts | 2 +- 4 files changed, 59 insertions(+), 44 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6621ac82..0e8057e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,6 @@ "@graphql-codegen/typescript-urql": "^4.0.0", "@hocuspocus/provider": "^2.13.6", "@playwright/test": "^1.47.2", - "@popperjs/core": "^2.11.8", "@solid-primitives/media": "^2.2.9", "@solid-primitives/memo": "^1.3.9", "@solid-primitives/pagination": "^0.3.0", @@ -81,7 +80,6 @@ "@types/throttle-debounce": "^5.0.2", "@urql/core": "^5.0.6", "axe-playwright": "^2.0.3", - "bootstrap": "^5.3.3", "clsx": "^2.1.1", "cookie": "^0.6.0", "cookie-signature": "^1.2.1", @@ -99,7 +97,7 @@ "prosemirror-trailing-node": "^2.0.9", "prosemirror-view": "^1.34.3", "rollup-plugin-visualizer": "^5.12.0", - "sass": "1.77.6", + "sass": "1.79.4", "solid-js": "^1.9.1", "solid-popper": "^0.3.0", "solid-tiptap": "0.7.0", @@ -7748,9 +7746,9 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.17.9", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.9.tgz", - "integrity": "sha512-w9iWudx1XWOHW5lQRS9iKpK/XuRhnN+0T7HvdCCd802FYkT1AMTnxndJHGrNJwRoRHkslGr4S29tjm1cT7x/7w==", + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-YpS0zzoduEhuOWjAotS6A5AVCva7X4lVlYLF0FYHAY9sdraBfnatttHItlWeZdGhuEkf+OzMNg2ZYAx8t+52uQ==", "dev": true, "license": "MIT" }, @@ -9578,26 +9576,6 @@ "dev": true, "license": "MIT" }, - "node_modules/bootstrap": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz", - "integrity": "sha512-8HLCdWgyoMguSO9o+aH+iuZ+aht+mzW0u3HIMzVu7Srrpv7EBBxTnrFlSCskwdY1+EOFQSm7uMJhNQHkdPcmjg==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ], - "license": "MIT", - "peerDependencies": { - "@popperjs/core": "^2.11.8" - } - }, "node_modules/boxen": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/boxen/-/boxen-7.1.1.tgz", @@ -17435,9 +17413,9 @@ } }, "node_modules/listhen/node_modules/jiti": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.1.0.tgz", - "integrity": "sha512-Nftp80J8poC3u+93ZxpjstsgfQ5d0o5qyD6yStv32sgnWr74xRxBppEwsUoA/GIdrJpgGRkC1930YkLcAsFdSw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.1.1.tgz", + "integrity": "sha512-1BRk+NppnvjWLfEqPQtDc3JTs2eiXY9cKBM+VOk5WO+uwWHIuLeWEo3Y1LTqjguKiK9KcLDYA3IdP7gWqcbRig==", "dev": true, "license": "MIT", "bin": { @@ -21966,13 +21944,13 @@ "license": "MIT" }, "node_modules/sass": { - "version": "1.77.6", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.6.tgz", - "integrity": "sha512-ByXE1oLD79GVq9Ht1PeHWCPMPB8XHpBuz1r85oByKHjZY6qV6rWnQovQzXJXuQ/XyE1Oj3iPk3lo28uzaRA2/Q==", + "version": "1.79.4", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.79.4.tgz", + "integrity": "sha512-K0QDSNPXgyqO4GZq2HO5Q70TLxTH6cIT59RdoCHMivrC8rqzaTw5ab9prjz9KUN1El4FLXrBXJhik61JR4HcGg==", "dev": true, "license": "MIT", "dependencies": { - "chokidar": ">=3.0.0 <4.0.0", + "chokidar": "^4.0.0", "immutable": "^4.0.0", "source-map-js": ">=0.6.2 <2.0.0" }, @@ -22465,6 +22443,22 @@ } } }, + "node_modules/sass/node_modules/chokidar": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", + "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/sass/node_modules/immutable": { "version": "4.3.7", "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.7.tgz", @@ -22472,6 +22466,20 @@ "dev": true, "license": "MIT" }, + "node_modules/sass/node_modules/readdirp": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.1.tgz", + "integrity": "sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/saxes": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", @@ -25574,15 +25582,15 @@ "license": "MIT" }, "node_modules/vite": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.5.tgz", - "integrity": "sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==", + "version": "5.4.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz", + "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.21.3", - "postcss": "^8.4.39", - "rollup": "^4.13.0" + "postcss": "^8.4.43", + "rollup": "^4.20.0" }, "bin": { "vite": "bin/vite.js" @@ -25601,6 +25609,7 @@ "less": "*", "lightningcss": "^1.21.0", "sass": "*", + "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" @@ -25618,6 +25627,9 @@ "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true }, diff --git a/package.json b/package.json index 6b2d3d08..f888028b 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "prosemirror-trailing-node": "^2.0.9", "prosemirror-view": "^1.34.3", "rollup-plugin-visualizer": "^5.12.0", - "sass": "1.77.6", + "sass": "1.79.4", "solid-js": "^1.9.1", "solid-popper": "^0.3.0", "solid-tiptap": "0.7.0", @@ -132,15 +132,18 @@ "yjs": "13.6.19" }, "overrides": { - "sass": "1.77.6", - "vite": "5.3.5", "yjs": "13.6.19", "y-prosemirror": "1.2.12" }, "engines": { "node": ">= 20" }, - "trustedDependencies": ["@biomejs/biome", "@swc/core", "esbuild", "protobufjs"], + "trustedDependencies": [ + "@biomejs/biome", + "@swc/core", + "esbuild", + "protobufjs" + ], "dependencies": { "form-data": "^4.0.0", "idb": "^8.0.0", diff --git a/src/styles/views/Feed.module.scss b/src/styles/views/Feed.module.scss index a1bfcff9..5bfb3c8a 100644 --- a/src/styles/views/Feed.module.scss +++ b/src/styles/views/Feed.module.scss @@ -59,7 +59,7 @@ .topic { font-size:1.2rem; - background: transparentize(#2638d9, 0.95); + background: rgba(38, 56, 217, 0.95); display: inline-block; font-weight: bold; line-height: 3.4rem; diff --git a/vite.config.ts b/vite.config.ts index 3d3ec1bf..3b805950 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -35,7 +35,7 @@ export default defineConfig({ css: { preprocessorOptions: { scss: { - silenceDeprecations: ['mixed-decls'], + silenceDeprecations: ['mixed-decls', 'legacy-js-api'], additionalData: '@import "~/styles/inject";\n', includePaths: ['./public', './src/styles', './node_modules'] }