fix: обновить зависимости и исправить уязвимости безопасности

- bcrypt: 5.1.1 → 6.0.0 (убрана уязвимая зависимость glob@7.2.3)
 - jsdom: 22.1.0 → 28.1.0 (исправлены 3 low severity уязвимости)
 - @types/jsdom: 21.1.3 → 28.0.0
 - autoprefixer перемещён в dependencies для корректной установки
- Добавлен resolve.alias в webpack конфиг для path alias @
This commit is contained in:
kilyabin
2026-03-05 22:08:02 +04:00
parent 6e8b5231cf
commit f214c5f756
3 changed files with 1364 additions and 2909 deletions

View File

@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const path = require('path')
const nextConfig = { const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
output: 'standalone', output: 'standalone',
@@ -13,6 +15,13 @@ const nextConfig = {
path: false, path: false,
} }
} }
// Явно настраиваем resolve alias для path aliases
config.resolve.alias = {
...config.resolve.alias,
'@': path.resolve(__dirname, 'src'),
}
return config return config
}, },
turbopack: { turbopack: {

4254
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -21,14 +21,15 @@
"@radix-ui/react-select": "^2.0.0", "@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2", "@radix-ui/react-slot": "^1.0.2",
"@types/content-type": "^1.1.6", "@types/content-type": "^1.1.6",
"bcrypt": "^5.1.1", "autoprefixer": "10.4.20",
"bcrypt": "^6.0.0",
"better-sqlite3": "^11.6.0", "better-sqlite3": "^11.6.0",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"classnames": "^2.3.2", "classnames": "^2.3.2",
"clsx": "^2.0.0", "clsx": "^2.0.0",
"content-type": "^1.0.5", "content-type": "^1.0.5",
"date-fns": "^2.30.0", "date-fns": "^2.30.0",
"jsdom": "^22.1.0", "jsdom": "^28.1.0",
"lucide-react": "^0.554.0", "lucide-react": "^0.554.0",
"next": "16.1.6", "next": "16.1.6",
"next-sitemap": "^4.2.3", "next-sitemap": "^4.2.3",
@@ -47,15 +48,14 @@
"devDependencies": { "devDependencies": {
"@types/bcrypt": "^5.0.2", "@types/bcrypt": "^5.0.2",
"@types/better-sqlite3": "^7.6.11", "@types/better-sqlite3": "^7.6.11",
"@types/jsdom": "^21.1.3", "@types/jsdom": "^28.0.0",
"@types/node": "22.0.0", "@types/node": "22.0.0",
"@types/react": "19.2.0", "@types/react": "19.2.0",
"@types/react-dom": "19.2.0", "@types/react-dom": "19.2.0",
"autoprefixer": "10.4.20",
"baseline-browser-mapping": "^2.9.19", "baseline-browser-mapping": "^2.9.19",
"eslint": "^9.0.0", "eslint": "^9.0.0",
"eslint-config-next": "16.1.6", "eslint-config-next": "16.1.6",
"postcss": "8.4.47", "postcss": "^8.4.47",
"tailwindcss": "^3.4.18", "tailwindcss": "^3.4.18",
"typescript": "5.9.3" "typescript": "5.9.3"
}, },