Enhance security and localization features across the application
- Added rehype-sanitize plugin to the markdown configuration for improved security against XSS attacks. - Updated environment variables in the codebase to include new configurations for SMTP and monitoring. - Implemented secure headers in server and Nginx configurations to bolster security. - Refactored email handling to prevent spoofing by ensuring safe sender addresses. - Improved localization by updating language persistence and button components for better user experience. - Enhanced the uptime API and contact form with better error handling and logging practices. - Updated dependencies in package.json and package-lock.json for better performance and security.
This commit is contained in:
43
package.json
43
package.json
@@ -22,11 +22,11 @@
|
||||
"fix:prettier": "prettier -w ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^9.2.2",
|
||||
"@astrojs/node": "^9.5.0",
|
||||
"@astrojs/prefetch": "^0.4.1",
|
||||
"@astrojs/react": "^4.2.0",
|
||||
"@astrojs/react": "^4.4.0",
|
||||
"@astrojs/rss": "^4.0.11",
|
||||
"@astrojs/sitemap": "^3.2.1",
|
||||
"@astrojs/sitemap": "^3.6.0",
|
||||
"@astrolib/analytics": "^0.6.1",
|
||||
"@astrolib/seo": "^1.0.0-beta.8",
|
||||
"@fontsource-variable/inter": "^5.1.1",
|
||||
@@ -34,7 +34,7 @@
|
||||
"@tippyjs/react": "^4.2.6",
|
||||
"@types/react": "^19.0.10",
|
||||
"@types/react-dom": "^19.0.4",
|
||||
"astro": "^5.2.3",
|
||||
"astro": "^5.14.6",
|
||||
"astro-embed": "^0.9.0",
|
||||
"astro-icon": "^1.1.5",
|
||||
"compression": "^1.7.4",
|
||||
@@ -45,9 +45,10 @@
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"limax": "4.1.0",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"luxon": "^3.6.1",
|
||||
"luxon": "^3.7.2",
|
||||
"mermaid": "^11.12.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
"nodemailer": "^6.10.0",
|
||||
"nodemailer": "^7.0.9",
|
||||
"rate-limiter-flexible": "^5.0.5",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
@@ -56,36 +57,44 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.9.4",
|
||||
"@astrojs/mdx": "^4.0.8",
|
||||
"@astrojs/mdx": "^4.3.7",
|
||||
"@astrojs/partytown": "^2.1.3",
|
||||
"@astrojs/tailwind": "^6.0.0",
|
||||
"@eslint/js": "^9.18.0",
|
||||
"@eslint/js": "^9.38.0",
|
||||
"@iconify-json/circle-flags": "^1.2.6",
|
||||
"@iconify-json/flat-color-icons": "^1.2.1",
|
||||
"@iconify-json/tabler": "^1.2.14",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@tailwindcss/typography": "^0.5.19",
|
||||
"@types/eslint__js": "^8.42.3",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/jsonwebtoken": "^9.0.9",
|
||||
"@types/lodash.merge": "^4.6.9",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
||||
"@typescript-eslint/parser": "^8.21.0",
|
||||
"@typescript-eslint/eslint-plugin": "8.46.1",
|
||||
"@typescript-eslint/parser": "8.46.1",
|
||||
"astro-compress": "2.3.6",
|
||||
"astro-eslint-parser": "^1.1.0",
|
||||
"eslint": "^9.18.0",
|
||||
"eslint": "^9.38.0",
|
||||
"eslint-plugin-astro": "^1.3.1",
|
||||
"globals": "^15.14.0",
|
||||
"globals": "^16.4.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"mdast-util-to-string": "^4.0.0",
|
||||
"prettier": "^3.4.2",
|
||||
"prettier": "^3.6.2",
|
||||
"rehype-sanitize": "^6.0.0",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"reading-time": "^1.5.0",
|
||||
"sharp": "0.33.5",
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"tailwind-merge": "^3.3.1",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.21.0",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "8.46.1",
|
||||
"unist-util-visit": "^5.0.0"
|
||||
},
|
||||
"overrides": {
|
||||
"devalue": "^5.3.2",
|
||||
"ws": "^8.17.1",
|
||||
"tar-fs": "^2.1.5",
|
||||
"axios": "^1.12.0",
|
||||
"typescript-eslint": "8.46.1"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user