Fix deprecated LinkedIn SI icon & update to patched Next.js version regarding CVE-2025-66478
Some checks failed
Publish Docker Image / Publish Docker Image (push) Failing after 53s

This commit is contained in:
2025-12-10 12:30:51 -05:00
parent d7803c07ea
commit f36be9a0f8
5 changed files with 1546 additions and 1016 deletions

View File

@@ -9,36 +9,36 @@
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
"@icons-pack/react-simple-icons": "10.0.0", "@icons-pack/react-simple-icons": "^13.8.0",
"@mdi/js": "^7.4.47", "@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1", "@mdi/react": "^1.6.1",
"@react-spring/three": "^9.7.5", "@react-spring/three": "^10.0.3",
"@react-spring/web": "^9.7.5", "@react-spring/web": "^10.0.3",
"@react-three/drei": "^10.0.7", "@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.1.2", "@react-three/fiber": "^9.4.2",
"ajv": "^8.17.1", "ajv": "^8.17.1",
"ajv-formats": "^3.0.1", "ajv-formats": "^3.0.1",
"awesome-ajv-errors": "^5.1.0", "awesome-ajv-errors": "^5.1.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"next": "15.3.0", "next": "^16.0.8",
"react": "^19.1.0", "react": "^19.2.1",
"react-dom": "^19.1.0", "react-dom": "^19.2.1",
"react-pdf": "^9.2.1", "react-pdf": "^10.2.0",
"three": "^0.175.0" "three": "^0.182.0"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3", "@eslint/eslintrc": "^3.3.3",
"@tailwindcss/postcss": "^4", "@tailwindcss/postcss": "^4.1.17",
"@types/lodash": "^4", "@types/lodash": "^4.17.21",
"@types/node": "^20", "@types/node": "^24.10.2",
"@types/react": "^19", "@types/react": "^19.2.7",
"@types/react-dom": "^19", "@types/react-dom": "^19.2.3",
"@types/three": "^0", "@types/three": "^0.181.0",
"eslint": "^9", "eslint": "^9.39.1",
"eslint-config-next": "15.3.0", "eslint-config-next": "^16.0.8",
"tailwindcss": "^4", "tailwindcss": "^4.1.17",
"tailwindcss-text-fill-stroke": "^2.0.0-beta.3", "tailwindcss-text-fill-stroke": "^2.0.0-beta.3",
"typescript": "^5" "typescript": "^5.9.3"
}, },
"packageManager": "yarn@4.9.1+sha512.f95ce356460e05be48d66401c1ae64ef84d163dd689964962c6888a9810865e39097a5e9de748876c2e0bf89b232d583c33982773e9903ae7a76257270986538" "packageManager": "yarn@4.12.0"
} }

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" role="img" viewBox="0 0 24 24"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" fill="#0a66c2"/></svg>

After

Width:  |  Height:  |  Size: 625 B

View File

@@ -4,8 +4,6 @@ import {
SiAppstore, SiAppstore,
SiAppstoreHex, SiAppstoreHex,
SiMatrix, SiMatrix,
SiLinkedin,
SiLinkedinHex,
SiGitea, SiGitea,
SiGiteaHex, SiGiteaHex,
SiGithub, SiGithub,
@@ -33,6 +31,7 @@ import Icon from "@mdi/react";
import { useRef, useState } from "react"; import { useRef, useState } from "react";
import { Time } from "../util/Time"; import { Time } from "../util/Time";
import { useConfig } from "../hooks/useConfig"; import { useConfig } from "../hooks/useConfig";
import Image from "next/image";
export const CellphoneUI = () => { export const CellphoneUI = () => {
const config = useConfig(); const config = useConfig();
@@ -119,7 +118,13 @@ export const CellphoneUI = () => {
onMouseOver={handleEnter} onMouseOver={handleEnter}
onMouseOut={handleLeave} onMouseOut={handleLeave}
> >
<SiLinkedin color={SiLinkedinHex} className="size-full p-2" /> <Image
src="/assets/linkedin.svg"
alt="LinkedIn"
className="size-full p-2"
width={24}
height={24}
/>
</a> </a>
)} )}
{config.socials?.gitea && ( {config.socials?.gitea && (

View File

@@ -1,7 +1,11 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2017", "target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"], "lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
@@ -11,7 +15,7 @@
"moduleResolution": "bundler", "moduleResolution": "bundler",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "preserve", "jsx": "react-jsx",
"incremental": true, "incremental": true,
"plugins": [ "plugins": [
{ {
@@ -19,9 +23,19 @@
} }
], ],
"paths": { "paths": {
"@/*": ["./src/*"] "@/*": [
"./src/*"
]
} }
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "include": [
"exclude": ["node_modules"] "next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
} }

2482
yarn.lock

File diff suppressed because it is too large Load Diff