Skip to content

Dependency package updates#39

Merged
kentcdodds merged 10 commits into
mainfrom
cursor/dependency-package-updates-cd65
Jan 30, 2026
Merged

Dependency package updates#39
kentcdodds merged 10 commits into
mainfrom
cursor/dependency-package-updates-cd65

Conversation

@kentcdodds

@kentcdodds kentcdodds commented Jan 30, 2026

Copy link
Copy Markdown
Member

Summary

Updates various dependencies as requested, including @sly-cli/sly, @types/eslint, @types/node, @types/react, @types/react-dom, @paralleldrive/cuid2, cross-env, bcryptjs, close-with-grace, cookie, cron-parser, date-fns, dotenv, filenamify, glob, helmet, litefs-js, node-html-parser, react, react-dom, remix-utils, set-cookie-parser, and sonner.

This PR addresses breaking changes and type updates from these new versions, such as:

  • Adjusting JSX.Element to ReactElement and JSX.IntrinsicElements['label'] to React.LabelHTMLAttributes<HTMLLabelElement> due to @types/react updates.
  • Making honeypot.check and honeypot.getInputProps asynchronous.
  • Updating cron-parser usage from cronParser.parseExpression to CronExpressionParser.parse.
  • Correcting litefs-js import path.
  • Updating e2e test assertions to match new UI text and adjusting timing in use-double-check.test.tsx.

Test Plan

  • Ran DATABASE_URL="file:./tests/prisma/base.db" CACHE_DATABASE_PATH="./tests/prisma/cache.db" npm run validate (full gate) to cover lint, typecheck, unit, and e2e tests.
  • Updated Playwright expectation in tests/e2e/send.test.ts and misc.use-double-check.test.tsx to align with new dependency behavior/types.

Checklist

  • Tests updated
  • Docs updated

Screenshots

N/A


Open in Cursor Open in Web


Note

Medium Risk
Broad dependency upgrades (including React 19) plus behavior changes in spam protection and cron parsing can cause runtime regressions that are hard to predict despite small code diffs.

Overview
Updates a large set of dependencies, including React/React DOM to v19, remix-utils, cron-parser, litefs-js, and various tooling/libs, with corresponding lockfile changes.

Adapts the app to upstream breaking changes: honeypot.check/honeypot.getInputProps are now awaited (including auth actions and root loader), cron-parser usage switches to CronExpressionParser.parse, and the LiteFS Remix import is updated.

Adjusts TypeScript/React typings by replacing JSX.Element/JSX.IntrinsicElements[...] annotations with ReactElement/React DOM attribute types, and updates unit/e2e tests to be less timing-sensitive and to match updated UI copy.

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

@cursor

cursor Bot commented Jan 30, 2026

Copy link
Copy Markdown

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

@kentcdodds kentcdodds marked this pull request as ready for review January 30, 2026 16:34
@kentcdodds

Copy link
Copy Markdown
Member Author

@cursor rebase on main

@cursor

cursor Bot commented Jan 30, 2026

Copy link
Copy Markdown

Taking a look!

Open in Cursor Open in Web

cursoragent and others added 9 commits January 30, 2026 16:37
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
@cursor cursor Bot force-pushed the cursor/dependency-package-updates-cd65 branch from 913e135 to 2f462b1 Compare January 30, 2026 16:37
@kentcdodds

Copy link
Copy Markdown
Member Author

@cursor, CI install is failing due to issues with package-lock. Please fix

@cursor

cursor Bot commented Jan 30, 2026

Copy link
Copy Markdown

Summary

  • Regenerated package-lock.json so optional platform binaries (for example @sentry/cli-darwin) are present for npm ci on CI.【F:package-lock.json†L6548-L6576】

Testing

  • npx npm@latest ci (validate the lockfile with the npm version used in CI’s install step).【58a53f†L1-L16】
  • Manual testing not run since this is a lockfile-only change.

Open in Cursor Open in Web

Co-authored-by: me <me@kentcdodds.com>
@kentcdodds kentcdodds merged commit 40f49fb into main Jan 30, 2026
6 checks passed
@kentcdodds kentcdodds deleted the cursor/dependency-package-updates-cd65 branch January 31, 2026 17:01
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