Skip to content

Dependency and support upgrade - #23

Merged
927tanmay merged 4 commits into
masterfrom
v3
Oct 2, 2026
Merged

927tanmay merged 4 commits into
masterfrom
v3

Conversation

@927tanmay

Copy link
Copy Markdown
Owner

No description provided.

927tanmay and others added 4 commits October 2, 2026 03:12
- Move react to peerDependencies (>=16.8); fixes crash on React 19 and
  duplicate React 16 on React 18
- Fix seconds={0} falling back to 30, crash when resend is missing,
  seconds > 59 display, drift in background tabs, form submit on click
- Ship ESM + CJS + type declarations from dist/ only (tsup)
- Replace Babel/webpack/Enzyme with Vite, Vitest and Testing Library
- Add tests, CI and GitHub Pages demo workflows, CHANGELOG, new README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Accept numeric-string minutes/seconds and fall back to defaults for
  null, "" or non-numeric values, as 2.x did
- Text and color props fall back on any falsy value, as in 2.x
- Restore 2.x button markup (custom ButtonText keeps its trailing space)
- Drop Node 20 from CI (Vitest 5 needs Node 22.12+)
- Set "type": "commonjs"; list ref/state and snapshot changes in CHANGELOG

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tsup and vite still pin esbuild 0.27, which has a low-severity advisory
for its dev server on Windows. Dev-only; consumers are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@927tanmay
927tanmay merged commit 87c0be4 into master Oct 2, 2026
2 checks passed
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