Skip to content

Commit 07ca81b

Browse files
committed
Upgrade to Node.js 22 for Vercel compatibility
1 parent 7044811 commit 07ca81b

File tree

20 files changed

+60
-75
lines changed

20 files changed

+60
-75
lines changed

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@ In the interest of fostering an open and welcoming environment, we as contributo
1717
We expect all participants to:
1818

1919
1. **Be Respectful:**
20-
2120
- Treat everyone with respect and courtesy.
2221
- Approach disagreements constructively and considerately.
2322

2423
2. **Be Inclusive:**
25-
2624
- Ensure everyone feels welcome and valued.
2725
- Avoid discriminatory, exclusionary, or harmful language and actions.
2826

2927
3. **Be Collaborative:**
30-
3128
- Share knowledge and help others.
3229
- Focus on improving the platform and the experience for all.
3330

@@ -52,11 +49,9 @@ The following behaviors are unacceptable in the DevDisplay community:
5249

5350
- **Join DevDisplay Discord Community**: [Discord Community](https://discord.gg/chyt2UgTv5)
5451
- **Join DevDisplay WhatsApp Community**: [WhatsApp Community](https://chat.whatsapp.com/Dcl21sgGDIpHURESSuH0p4)
55-
5652
- Connect with other developers and collaborate on exciting projects.
5753

5854
- **Reach Out to the Team**:
59-
6055
- Organization Email: team@devdisplay.org
6156
- Creator's Email: hellow.ashutosh@gmail.com
6257

@@ -69,7 +64,6 @@ The following behaviors are unacceptable in the DevDisplay community:
6964
---
7065

7166
2. **Provide Details:**
72-
7367
- Include a description of the incident, relevant links, or screenshots if possible.
7468

7569
3. **Expect a Response:**

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<div align="center">
22

33
[![Enable GitHub Dark Mode for best view →](https://img.shields.io/badge/Enable%20GitHub%20Dark%20Mode%20For%20Best%20View-Click%20Here-blue?style=for-the-badge&logo=github#gh-light-mode-only)](https://github.com/settings/appearance)
4+
45
<h2></h2>
56

67
<!-- <table align="center">

SECURITY.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,16 @@ We take the security of DevDisplay seriously. If you discover any security vulne
2323
### For Contributors
2424

2525
1. **Code Review**
26-
2726
- All code changes must go through peer review
2827
- Security-sensitive code requires additional review
2928
- Follow secure coding guidelines
3029

3130
2. **Dependencies**
32-
3331
- Keep all dependencies up to date
3432
- Regularly check for known vulnerabilities in dependencies
3533
- Use only trusted and well-maintained packages
3634

3735
3. **Authentication & Authorization**
38-
3936
- Use strong password policies
4037
- Implement proper session management
4138
- Follow the principle of least privilege
@@ -48,7 +45,6 @@ We take the security of DevDisplay seriously. If you discover any security vulne
4845
### For Users
4946

5047
1. **Account Security**
51-
5248
- Use strong, unique passwords
5349
- Enable two-factor authentication when available
5450
- Keep your access tokens secure

backend/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "An application which scraps the trending repostitories and developers from Github.",
55
"main": "index.js",
66
"type": "module",
7+
"engines": {
8+
"node": "22.x"
9+
},
710
"scripts": {
811
"start": "node index.js",
912
"dev": "nodemon index.js"

package-lock.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
"react-app/jest"
5050
]
5151
},
52+
"engines": {
53+
"node": "22.x"
54+
},
5255
"browserslist": {
5356
"production": [
5457
">0.2%",

src/Page/Home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ const StyledDot = styled.div`
321321
const TechFeatures = () => {
322322
return (
323323
<section className="tech-features-section mt-[60%] max-w-[90%] px-4 py-16 text-white xs:mt-0">
324-
<div className="mx-auto my-12 max-w-[80%] text-center ">
324+
<div className="mx-auto my-12 max-w-[80%] text-center">
325325
<h2 className="custom-font my-4 text-4xl font-bold text-[#00a6fb]">Dive into DevDisplay</h2>
326326
<div className="mb-6 mt-4 flex flex-col items-center">
327327
<p className="max-w-2xl text-center text-lg text-gray-400">

src/Page/OpportunitiesHub/CompetitionList.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,7 @@ const CompetitionsCardComponent = ({ organizer, title, location, date, domains,
163163

164164
<div className="mt-2 flex flex-wrap justify-center gap-2 p-2">
165165
{domains.map((domain, idx) => (
166-
<span
167-
key={idx}
168-
className="bg-gray-1000 rounded-full border border-[#00a6fb] px-2 py-1 text-xs text-gray-300"
169-
>
166+
<span key={idx} className="bg-gray-1000 rounded-full border border-[#00a6fb] px-2 py-1 text-xs text-gray-300">
170167
{domain}
171168
</span>
172169
))}

src/Page/OpportunitiesHub/EventsList.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,7 @@ const TecheventsCardComponent = ({ organizer, title, location, date, domains, ap
254254

255255
<div className="mt-2 flex flex-wrap justify-center gap-2 p-2">
256256
{domains.map((domain, idx) => (
257-
<span
258-
key={idx}
259-
className="bg-gray-1000 rounded-full border border-[#00a6fb] px-2 py-1 text-xs text-gray-300"
260-
>
257+
<span key={idx} className="bg-gray-1000 rounded-full border border-[#00a6fb] px-2 py-1 text-xs text-gray-300">
261258
{domain}
262259
</span>
263260
))}

src/Page/OpportunitiesHub/HackathonList.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -734,10 +734,7 @@ const HackathonCardComponent = React.forwardRef(
734734

735735
<div className="mt-2 flex flex-wrap justify-center gap-2 p-2">
736736
{domains.map((domain, idx) => (
737-
<span
738-
key={idx}
739-
className="bg-gray-1000 rounded-full border border-[#00a6fb] px-2 py-1 text-xs text-gray-300"
740-
>
737+
<span key={idx} className="bg-gray-1000 rounded-full border border-[#00a6fb] px-2 py-1 text-xs text-gray-300">
741738
{domain}
742739
</span>
743740
))}

0 commit comments

Comments
 (0)