Patch package.json and package-lock.json#43
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request modifies the package.json file, specifically downgrading the Next.js dependency to version 9.3.3. The reviewer identified that this downgrade is incompatible with the project's use of React 19 and the App Router. Furthermore, the reviewer pointed out several other dependencies—including marked, node-cron, react, react-markdown, uuid, and eslint-config-next—that currently specify invalid or non-existent version numbers, which would lead to installation errors. Suggestions were provided to update these to stable, valid versions.
| "jszip": "^3.10.1", | ||
| "marked": "^17.0.4", | ||
| "multer": "^2.1.1", | ||
| "next": "^9.3.3", |
There was a problem hiding this comment.
Downgrading next to ^9.3.3 is a critical issue. This project utilizes the App Router (app/ directory), next.config.ts, and React 19, all of which require Next.js 13+ (and v15 for React 19 support). Version 9 does not support these features and will break the application. Additionally, the previous version 16.2.6 does not exist. I recommend using a stable version like ^15.0.0 to ensure compatibility with React 19.
| "next": "^9.3.3", | |
| "next": "^15.0.0", |
| "@sparticuz/chromium": "^143.0.4", | ||
| "highlight.js": "^11.11.1", | ||
| "jszip": "^3.10.1", | ||
| "marked": "^17.0.4", |
| "marked": "^17.0.4", | ||
| "multer": "^2.1.1", | ||
| "next": "^9.3.3", | ||
| "node-cron": "^4.2.1", |
| "react": "19.2.3", | ||
| "react-dom": "19.2.3", |
| "puppeteer-core": "^24.39.0", | ||
| "react": "19.2.3", | ||
| "react-dom": "19.2.3", | ||
| "react-markdown": "^10.1.0", |
| "remark-frontmatter": "^5.0.0", | ||
| "remark-gfm": "^4.0.1", | ||
| "sanitize-html": "^2.17.1", | ||
| "uuid": "^14.0.0" |
| "@types/sanitize-html": "^2.16.1", | ||
| "@types/uuid": "^10.0.0", | ||
| "eslint": "^9", | ||
| "eslint-config-next": "16.1.6", |
There was a problem hiding this comment.
This includes breaking changes.