Skip to content

Update dependencies and resolve alerts#76

Open
nicmart-dev wants to merge 2 commits intodevelopfrom
cursor/update-dependencies-and-resolve-alerts-gpt-5.1-codex-7262
Open

Update dependencies and resolve alerts#76
nicmart-dev wants to merge 2 commits intodevelopfrom
cursor/update-dependencies-and-resolve-alerts-gpt-5.1-codex-7262

Conversation

@nicmart-dev
Copy link
Owner

@nicmart-dev nicmart-dev commented Nov 26, 2025

Upgrade all monorepo dependencies to their latest versions and resolve all Dependabot and CodeQL alerts.

This PR updates the client stack to React 19, React Router 6.30, and axios 1.13, integrating Tailwind 4's new PostCSS plugin to address Dependabot. It also migrates Tailwind usage to the v4 @theme workflow and stabilizes React tests by adopting router v7 future behavior and mocking axios. For CodeQL, the server's user controller was rewritten in ESM style with robust input validation and escaping for all inbound fields.


Open in Cursor Open in Web


Note

Upgrades client to React 19 and Tailwind v4, updates server to Express 5, and rewrites usersController with ESM, input validation, and safer Airtable queries.

  • Client:
    • Deps: Upgrade React 19, React DOM 19, React Router 6.30, Axios 1.13, Tailwind 4 (+ @tailwindcss/postcss), testing libs, and assorted UI libs; add overrides.
    • Tailwind v4 Migration: Switch PostCSS plugin and regenerate public/tailwind.min.css; adopt @theme and explicit base color vars in src/tailwind.css.
    • Routing: Enable Router v7 future flags in App.jsx.
  • Testing:
    • Update test to assert recipe CTA button; add Axios Jest mock in setupTests.js.
  • Server:
    • Controller Refactor: Convert usersController to ESM with strict sanitization (email/URL/record ID), safer Airtable filter escaping, and 501 stub for update.
    • Routes: Use named imports from controller.
    • Deps: Bump to Express 5, dotenv 17, dotenv-expand 12, Axios 1.13, @google/generative-ai 0.24, nodemon 3.1.11, and related transitive updates.

Written by Cursor Bugbot for commit c5cae8a. This will update automatically on new commits. Configure here.

@cursor
Copy link

cursor bot commented Nov 26, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@nicmart-dev nicmart-dev changed the base branch from cursor/update-dependencies-and-create-pr-gpt-5.1-codex-d69b to develop November 26, 2025 07:22
@nicmart-dev nicmart-dev marked this pull request as ready for review November 26, 2025 07:22
@nicmart-dev nicmart-dev enabled auto-merge (squash) November 26, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants