Bump dev deps: React 19, vite 8 + plugin-react 6, @types/node 26#123
Merged
Conversation
Consolidates open Dependabot PRs (#118, #119, #121, #122): - react/react-dom 18 -> 19.2.7, @types/react(-dom) 18 -> 19 - @vitejs/plugin-react 5 -> 6 (requires vite ^8), vite 7 -> 8 - @types/node 22 -> 26 Removed a stray `console.log('refs', this.refs)` debug line in live-chat-widget: `this.refs` was dropped from the Component type in @types/react 19 and broke the .d.ts build. Skipped the typescript 7 bump (#120): the native TS 7 preview does not expose the programmatic API tsup uses for declaration generation (TypeError: reading 'useCaseSensitiveFileNames'), so the DTS build fails. Verified: vitest unit tests, tsup CJS/ESM/DTS build, and the vite demo build all pass.
This was referenced Jul 10, 2026
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.
Consolidates the open Dependabot PRs into one branch, verified together.
Bumps (supersedes #118, #119, #121, #122)
react/react-dom18 → 19.2.7,@types/react/@types/react-dom18 → 19@vitejs/plugin-react5 → 6 (peer requiresvite ^8),vite7 → 8@types/node22 → 26Code change
Removed a stray
console.log('refs', this.refs)debug line inlive-chat-widget.tsx.this.refswas dropped from theComponenttype in@types/react19 and broke declaration generation.Skipped: typescript 7 (#120)
The native TS 7 preview does not expose the programmatic API tsup uses for
.d.tsgeneration (TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')), so the DTS build fails. Left #120 open until the toolchain supports TS 7.Verification
npm test(vitest unit + tsup CJS/ESM/DTS build) andnpm run predeploy(vite demo build) all pass.