Dependency package updates#39
Merged
Merged
Conversation
|
Cursor Agent can help with this pull request. Just |
Member
Author
|
@cursor rebase on main |
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>
913e135 to
2f462b1
Compare
Member
Author
|
@cursor, CI install is failing due to issues with package-lock. Please fix |
Summary
Testing
|
Co-authored-by: me <me@kentcdodds.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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, andsonner.This PR addresses breaking changes and type updates from these new versions, such as:
JSX.ElementtoReactElementandJSX.IntrinsicElements['label']toReact.LabelHTMLAttributes<HTMLLabelElement>due to@types/reactupdates.honeypot.checkandhoneypot.getInputPropsasynchronous.cron-parserusage fromcronParser.parseExpressiontoCronExpressionParser.parse.litefs-jsimport path.use-double-check.test.tsx.Test Plan
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.tests/e2e/send.test.tsandmisc.use-double-check.test.tsxto align with new dependency behavior/types.Checklist
Screenshots
N/A
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.getInputPropsare now awaited (including auth actions androotloader),cron-parserusage switches toCronExpressionParser.parse, and the LiteFS Remix import is updated.Adjusts TypeScript/React typings by replacing
JSX.Element/JSX.IntrinsicElements[...]annotations withReactElement/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.