-
Notifications
You must be signed in to change notification settings - Fork 8
react2shell vul hot fix #167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,53 +1,53 @@ | ||||||
| { | ||||||
| "name": "gcsrmv2", | ||||||
| "version": "0.1.0", | ||||||
| "private": true, | ||||||
| "scripts": { | ||||||
| "dev": "next dev", | ||||||
| "build": "next build", | ||||||
| "start": "next start", | ||||||
| "lint": "next lint", | ||||||
| "prepare": "husky install", | ||||||
| "postbuild": "next-sitemap" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "@aws-sdk/client-ses": "^3.637.0", | ||||||
| "@emotion/react": "^11.13.3", | ||||||
| "@emotion/styled": "^11.13.0", | ||||||
| "@heroicons/react": "v1", | ||||||
| "@material-tailwind/react": "^2.1.9", | ||||||
| "@mui/material": "^6.1.0", | ||||||
| "@nextui-org/accordion": "^2.0.38", | ||||||
| "@nextui-org/navbar": "^2.0.32", | ||||||
| "@nextui-org/react": "^2.4.1", | ||||||
| "@nextui-org/system": "^2.2.1", | ||||||
| "@react-pdf/renderer": "^4.3.0", | ||||||
| "@vercel/analytics": "^1.3.1", | ||||||
| "axios": "^1.7.3", | ||||||
| "dotenv": "^16.4.5", | ||||||
| "ionicons": "^7.3.1", | ||||||
| "jimp-compact": "^0.16.1-2", | ||||||
| "mongoose": "^8.2.1", | ||||||
| "next": "^14.1.0", | ||||||
| "next-sitemap": "^4.2.3", | ||||||
| "node-mailer": "^0.1.1", | ||||||
| "react": "^18", | ||||||
| "react-confetti": "^6.1.0", | ||||||
| "react-dom": "^18", | ||||||
| "react-icons": "^5.5.0", | ||||||
| "react-pdf": "^9.2.1", | ||||||
| "react-router-dom": "^6.22.3", | ||||||
| "react-toastify": "^10.0.5", | ||||||
| "react-transition-group": "^4.4.5", | ||||||
| "sharp": "^0.33.5", | ||||||
| "swiper": "^11.1.12", | ||||||
| "tesseract.js": "^6.0.0" | ||||||
| }, | ||||||
| "devDependencies": { | ||||||
| "autoprefixer": "^10.0.1", | ||||||
| "husky": "^9.1.1", | ||||||
| "postcss": "^8", | ||||||
| "tailwindcss": "^3.3.0" | ||||||
| }, | ||||||
| "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||||||
| "name": "gcsrmv2", | ||||||
| "version": "0.1.0", | ||||||
| "private": true, | ||||||
| "scripts": { | ||||||
| "dev": "next dev", | ||||||
| "build": "next build", | ||||||
| "start": "next start", | ||||||
| "lint": "next lint", | ||||||
| "prepare": "husky install", | ||||||
| "postbuild": "next-sitemap" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "@aws-sdk/client-ses": "^3.637.0", | ||||||
| "@emotion/react": "^11.13.3", | ||||||
| "@emotion/styled": "^11.13.0", | ||||||
| "@heroicons/react": "v1", | ||||||
| "@material-tailwind/react": "^2.1.9", | ||||||
| "@mui/material": "^6.1.0", | ||||||
| "@nextui-org/accordion": "^2.0.38", | ||||||
| "@nextui-org/navbar": "^2.0.32", | ||||||
| "@nextui-org/react": "^2.4.1", | ||||||
| "@nextui-org/system": "^2.2.1", | ||||||
| "@react-pdf/renderer": "^4.3.0", | ||||||
| "@vercel/analytics": "^1.3.1", | ||||||
| "axios": "^1.7.3", | ||||||
| "dotenv": "^16.4.5", | ||||||
| "ionicons": "^7.3.1", | ||||||
| "jimp-compact": "^0.16.1-2", | ||||||
| "mongoose": "^8.2.1", | ||||||
| "next": "14.2.35", | ||||||
|
||||||
| "next": "14.2.35", | |
| "next": "14.2.15", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The caret (^) was removed from the Next.js version constraint. This changes the update behavior - with "^14.1.0", npm/yarn would allow automatic updates to any 14.x.x version (e.g., 14.2.0, 14.3.0), but with "14.2.35", only that exact version is allowed.
If the goal is to pin to this specific version for security reasons, this is correct. However, if you want to allow future patch and minor updates within the 14.x range while staying at or above 14.2.35, consider using "^14.2.35" instead. This would allow updates to 14.2.36, 14.3.0, etc., while preventing downgrades to vulnerable versions below 14.2.35.