From 7e7df6907282a8adf588774ea837cc24c02e6250 Mon Sep 17 00:00:00 2001 From: Dinmukhamed Mailibay <47117969+dinmukhamedm@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:25:55 -0700 Subject: [PATCH 1/6] upgrade next-auth to fix dependabot alert (#131) --- frontend/package.json | 2 +- frontend/pnpm-lock.yaml | 23 ++++++++++------------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 1d81f292..da98e802 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -70,7 +70,7 @@ "jsonwebtoken": "^9.0.2", "lucide-react": "^0.323.0", "next": "14.2.15", - "next-auth": "4.24.5", + "next-auth": "4.24.10", "next-themes": "^0.2.1", "postgres": "^3.4.4", "posthog-js": "^1.174.0", diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 8822fbef..95aaf365 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -177,8 +177,8 @@ importers: specifier: 14.2.15 version: 14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-auth: - specifier: 4.24.5 - version: 4.24.5(next@14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 4.24.10 + version: 4.24.10(next@14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-themes: specifier: ^0.2.1 version: 0.2.1(next@14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -3096,10 +3096,6 @@ packages: convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - cookie@0.5.0: - resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} - engines: {node: '>= 0.6'} - cookie@0.7.2: resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} engines: {node: '>= 0.6'} @@ -4579,14 +4575,17 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - next-auth@4.24.5: - resolution: {integrity: sha512-3RafV3XbfIKk6rF6GlLE4/KxjTcuMCifqrmD+98ejFq73SRoj2rmzoca8u764977lH/Q7jo6Xu6yM+Re1Mz/Og==} + next-auth@4.24.10: + resolution: {integrity: sha512-8NGqiRO1GXBcVfV8tbbGcUgQkAGsX4GRzzXXea4lDikAsJtD5KiEY34bfhUOjHLvr6rT6afpcxw2H8EZqOV6aQ==} peerDependencies: - next: ^12.2.5 || ^13 || ^14 + '@auth/core': 0.34.2 + next: ^12.2.5 || ^13 || ^14 || ^15 nodemailer: ^6.6.5 react: ^17.0.2 || ^18 react-dom: ^17.0.2 || ^18 peerDependenciesMeta: + '@auth/core': + optional: true nodemailer: optional: true @@ -9053,8 +9052,6 @@ snapshots: convert-source-map@2.0.0: {} - cookie@0.5.0: {} - cookie@0.7.2: {} core-js@3.38.1: {} @@ -10872,11 +10869,11 @@ snapshots: negotiator@0.6.3: {} - next-auth@4.24.5(next@14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next-auth@4.24.10(next@14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.7 '@panva/hkdf': 1.2.1 - cookie: 0.5.0 + cookie: 0.7.2 jose: 4.15.9 next: 14.2.15(@babel/core@7.24.5)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) oauth: 0.9.15 From c23cd2c45c00d0c4ce80c815b5ec64c3a5237c68 Mon Sep 17 00:00:00 2001 From: Chandrashekhar Choudha <115736674+lucky29-git@users.noreply.github.com> Date: Sat, 2 Nov 2024 02:07:43 +0530 Subject: [PATCH 2/6] Improve responsiveness of project cards (#132) --- frontend/components/projects/projects.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/components/projects/projects.tsx b/frontend/components/projects/projects.tsx index 67e45701..38e10d13 100644 --- a/frontend/components/projects/projects.tsx +++ b/frontend/components/projects/projects.tsx @@ -45,7 +45,7 @@ export default function Projects({ isWorkspaceEnabled }: ProjectsProps) { {[...Array(5).keys()].map((_, index) => (
Value | +Numerical | ++ |
---|---|---|
+ + setLabelClass({ + ...labelClass, + valueMap: Object.fromEntries( + Object.entries(labelClass.valueMap).map(([k, v], j) => + j === i ? [e.target.value, v] : [k, v] + ) + ) + }) + } + /> + | ++ { + setLabelClass({ + ...labelClass, + valueMap: Object.fromEntries( + Object.entries(labelClass.valueMap).map(([k, v], j) => + j === i ? [k, parseInt(e.target.value, 10)] : [k, v] + ) + ) + }); + }} + /> + | +
+ |
+