Skip to content

Bump dev deps: React 19, vite 8 + plugin-react 6, @types/node 26#123

Merged
winrid merged 1 commit into
masterfrom
deps/dependabot-batch-2026-07
Jul 10, 2026
Merged

Bump dev deps: React 19, vite 8 + plugin-react 6, @types/node 26#123
winrid merged 1 commit into
masterfrom
deps/dependabot-batch-2026-07

Conversation

@winrid

@winrid winrid commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Consolidates the open Dependabot PRs into one branch, verified together.

Bumps (supersedes #118, #119, #121, #122)

  • react / react-dom 18 → 19.2.7, @types/react / @types/react-dom 18 → 19
  • @vitejs/plugin-react 5 → 6 (peer requires vite ^8), vite 7 → 8
  • @types/node 22 → 26

Code change

Removed a stray console.log('refs', this.refs) debug line in live-chat-widget.tsx. this.refs was dropped from the Component type in @types/react 19 and broke declaration generation.

Skipped: typescript 7 (#120)

The native TS 7 preview does not expose the programmatic API tsup uses for .d.ts generation (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) and npm run predeploy (vite demo build) all pass.

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.
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.

1 participant