fix(frontend): dependencies vulnerabilities

This commit is contained in:
yassinedorbozgithub 2025-06-02 09:31:21 +01:00
parent 61b5765fd6
commit 617cfa954d
5 changed files with 3882 additions and 2947 deletions

View File

@ -26,6 +26,9 @@ const nextConfig = withTM(["hexabot-chat-widget"])({
}, },
}, },
output: "standalone", output: "standalone",
devIndicators: {
position: "bottom-right",
},
}); });
export default nextConfig; export default nextConfig;

View File

@ -6,7 +6,7 @@
"author": "Hexastack", "author": "Hexastack",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"scripts": { "scripts": {
"dev": "next dev -p 8081", "dev": "next dev -p 8081 --turbopack",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
@ -29,12 +29,12 @@
"@projectstorm/react-canvas-core": "^7.0.3", "@projectstorm/react-canvas-core": "^7.0.3",
"@projectstorm/react-diagrams": "^7.0.4", "@projectstorm/react-diagrams": "^7.0.4",
"autolinker": "^4.1.5", "autolinker": "^4.1.5",
"axios": "^1.7.7", "axios": "^1.8.1",
"eazychart-css": "^0.2.1-alpha.0", "eazychart-css": "^0.2.1-alpha.0",
"eazychart-react": "^0.8.0-alpha.0", "eazychart-react": "^0.8.0-alpha.0",
"hexabot-chat-widget": "*", "hexabot-chat-widget": "*",
"i18next-http-backend": "^2.6.2", "i18next-http-backend": "^2.6.2",
"next": "^14.2.13", "next": "^15.3.3",
"next-transpile-modules": "^10.0.1", "next-transpile-modules": "^10.0.1",
"normalizr": "^3.6.2", "normalizr": "^3.6.2",
"notistack": "^3.0.1", "notistack": "^3.0.1",
@ -53,13 +53,13 @@
"@types/random-seed": "^0.3.5", "@types/random-seed": "^0.3.5",
"@types/react": "18.3.2", "@types/react": "18.3.2",
"@types/react-dom": "^18", "@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint": "^8.42.0", "eslint": "^8.42.0",
"eslint-config-next": "14.2.3", "eslint-config-next": "14.2.3",
"eslint-import-resolver-typescript": "~3.6.1", "eslint-import-resolver-typescript": "^3.10.0",
"eslint-plugin-header": "^3.1.1", "eslint-plugin-header": "^3.1.1",
"lint-staged": "^15.3.0", "lint-staged": "^15.3.0",
"typescript": "^5.5.3" "typescript": "^5.8.3"
}, },
"engines": { "engines": {
"node": "^18.17.0" "node": "^18.17.0"

View File

@ -1,7 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"downlevelIteration": true, "downlevelIteration": true,
"lib": ["dom", "dom.iterable", "esnext"], "lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
@ -20,8 +24,11 @@
} }
], ],
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": [
} "./src/*"
]
},
"target": "ES2017"
}, },
"include": [ "include": [
"next-env.d.ts", "next-env.d.ts",
@ -30,5 +37,7 @@
".next/types/**/*.ts", ".next/types/**/*.ts",
"global.d.ts" "global.d.ts"
], ],
"exclude": ["node_modules"] "exclude": [
"node_modules"
]
} }

6782
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,19 +32,14 @@
"@types/emoji-js": "^3.5.2", "@types/emoji-js": "^3.5.2",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.15.0", "@vitejs/plugin-react": "^4.3.4",
"@typescript-eslint/parser": "^7.15.0", "eslint": "^8.57.1",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-header": "^3.1.1", "eslint-plugin-header": "^3.1.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"lint-staged": "^15.3.0", "lint-staged": "^15.3.0",
"sass": "^1.77.8", "sass": "^1.77.8",
"typescript": "^5.2.2", "typescript": "^5.8.3",
"vite": "^5.3.4", "vite": "^6.2.5",
"vite-plugin-dts": "^4.0.2" "vite-plugin-dts": "^4.5.3"
}, },
"optionalDependencies": { "optionalDependencies": {
"@esbuild/darwin-arm64": "^0.24.0", "@esbuild/darwin-arm64": "^0.24.0",