Skip to content

Bump vite from 5.4.21 to 6.4.2#66

Open
dependabot[bot] wants to merge 85 commits into
mainfrom
dependabot/npm_and_yarn/vite-6.4.2
Open

Bump vite from 5.4.21 to 6.4.2#66
dependabot[bot] wants to merge 85 commits into
mainfrom
dependabot/npm_and_yarn/vite-6.4.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 17, 2026

Bumps vite from 5.4.21 to 6.4.2.

Release notes

Sourced from vite's releases.

v6.4.2

Please refer to CHANGELOG.md for details.

v6.4.1

Please refer to CHANGELOG.md for details.

v6.4.0

Please refer to CHANGELOG.md for details.

v6.3.7

Please refer to CHANGELOG.md for details.

v6.3.6

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

6.4.2 (2026-04-06)

6.4.1 (2025-10-20)

6.4.0 (2025-10-15)

  • feat: allow passing down resolved config to vite's createServer (#20932) (ca6455e), closes #20932

6.3.7 (2025-10-14)

  • fix(esbuild): inject esbuild helpers correctly for esbuild 0.25.9+ (#20940) (c59a222), closes #20940

6.3.6 (2025-09-08)

6.3.5 (2025-05-05)

6.3.4 (2025-04-30)

  • fix: check static serve file inside sirv (#19965) (c22c43d), closes #19965
  • fix(optimizer): return plain object when using require to import externals in optimized dependenci (efc5eab), closes #19940
  • refactor: remove duplicate plugin context type (#19935) (d6d01c2), closes #19935

6.3.3 (2025-04-24)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

gfazioli and others added 25 commits March 3, 2021 12:06
Fix typos and grammar in README
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.1 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](indutny/elliptic@v6.5.1...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
…xy-1.18.1

Bump http-proxy from 1.18.0 to 1.18.1
…-6.5.4

Bump elliptic from 6.5.1 to 6.5.4
Fixes #52

Update the peer dependencies for React and React-DOM to version 17.0.2.

* Update the `peerDependencies` section in the `package.json` file to list `react` as `^17.0.2`.
* Update the `peerDependencies` section in the `package.json` file to list `react-dom` as `^17.0.2`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/gfazioli/react-toggle/issues/52?shareId=XXXX-XXXX-XXXX-XXXX).
Update peer dependencies to React 17
Fixes #33

Update the `onToggle` event type to `React.ChangeEvent<HTMLInputElement>` in `src/components/Toggle/index.tsx`.

* Update the `onToggle` event type in the `Props` interface.
* Update the `onRight` event type in the `Props` interface.
* Update the `onLeft` event type in the `Props` interface.
* Remove the cast to `HTMLInputElement` in the `onChangeHandler` function.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/gfazioli/react-toggle/issues/33?shareId=XXXX-XXXX-XXXX-XXXX).
Fix event target type in onToggle event
* Rewrite the Toggle component in `src/Toggle.tsx` as a hidden native checkbox with `role="switch"`, removing internal state and the legacy `controlled` prop in favor of standard controlled/uncontrolled detection
* Replace the runtime theme object with a CSS Modules + custom-properties pipeline (`Toggle.module.css`, `VAR_MAP`) so any scope can theme via `--rt-*` variables without a provider
* Migrate the build from webpack to tsup, producing dual ESM + CJS + `.d.ts` and a single shipped `dist/index.css` exposed via `react-toggle-component/styles.css`
* Swap tooling to TypeScript 5 strict, ESLint 9 flat config, Prettier 3, vitest + Testing Library, pnpm 9, and Ladle for the playground (`stories/`, `.ladle/config.mjs`)
* Add CI/CD workflows for typecheck/lint/test/build, Ladle deploy to GitHub Pages, and Changesets-driven npm publishing, plus initial changeset scaffolding
* Wire `forwardRef` to the underlying `HTMLInputElement` so refs actually point to the input, fixing a longstanding v3 bug
* Drop the committed `dist/`, `docs/` (Docz), `srcdocs/`, `yarn.lock`, `tslint.json`, and old `config/` outputs in favor of generated artifacts and the new toolchain
* Refresh `README.md`, add `UPGRADE.md`, `CHANGELOG.md`, and `CLAUDE.md` to document the v4 API, migration path, and contributor guidance
* Add a comprehensive vitest suite in `tests/Toggle.test.tsx` covering controlled/uncontrolled behavior, ARIA wiring, ref forwarding, and theming variables
Toggle.module.css declared default values directly on the .root selector
(`--rt-width: 48px`, `--rt-height: 24px`, ...). Custom properties set with
direct declarations on an element win over inheritance from any ancestor —
so when consumers tried to theme via CSS scoping (e.g. `.my-section
{ --rt-width: 64px }`) the override was silently dropped.

Move the defaults inside `var(name, default)` at every consumption site so
ancestors can freely override --rt-* vars and the cascade flows normally.

No public API change: prop-based overrides keep working (they're applied
as inline styles on the root, which still wins).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Drops Ladle (dev tool, generic look) in favor of a custom marketing-grade
landing page that doubles as the live demo. Built with Vite + React +
plain CSS, dark-mode-aware via prefers-color-scheme, ~68 KB JS gzipped.

Sections:
- Hero with auto-toggling 3-style showcase and animated gradient headline.
- Features grid (Accessible / Themeable / Tiny / TS-first).
- Live Theme Builder — every visual prop wired to a slider or color picker,
  preview alternates state automatically, JSX/CSS snippet generated and
  copyable, current config serialized to URL (`?t=base64`) for sharing.
- Preset gallery — 8 ready-made looks (iOS, Material, Pill, Square, Neon,
  Minty, Tactile, Default). Click loads the preset into the builder and
  scrolls.
- Examples — realistic settings-panel mock using onCheckedChange.
- Install — npm/pnpm/yarn tabs + usage snippet with copy buttons.
- Floating capsule nav with backdrop-blur, gradient stroke on scroll,
  IntersectionObserver-driven active section indicator. Brand mark is the
  Toggle component itself, auto-alternating every 3.6s.

Toolchain:
- New site/ folder with its own vite.config.ts (base /react-toggle/).
- pnpm scripts: site:dev, site:build, site:preview.
- CI updated: ci.yml builds the site, deploy-docs.yml uploads site-dist/
  to GitHub Pages.
- Removed @ladle/react, .ladle/, stories/, ladle-dist/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CI runs typecheck before the library build, so dist/index.d.ts doesn't
exist yet and tsc can't find the package's type declarations from the
site/ imports. Local runs were green only because dist/ was carried over
from a previous build.

Map `react-toggle-component → ./src/index.ts` via tsconfig paths so the
typecheck reads the sources directly. Mirrors the alias that Vite already
uses for the site build, so behavior is consistent in dev / build / CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v4.0.0 — full rewrite for React 18+ with CSS variable theming
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- README hero: centered logo, gradient title, polished badge row,
  prominent CTA links (playground / upgrade / changelog).
- assets/logo.svg: gradient pill + knob, used as readme hero.
- Drop "Buy me a coffee" button in favor of GitHub Sponsors.
- .github/FUNDING.yml: enables Sponsor button on the repo sidebar.
- New site Upgrade section (#upgrade) with 4 numbered steps and
  side-by-side v3 / v4 code diffs. Footer link now points to it.
- Nav adds "Migrate" entry; Footer adds Sponsor link.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Restructures the site into two static entry points instead of a single
SPA:

- site/index.html  → pages/Landing (hero, features, builder, presets,
  examples, install). Loads ~7 KB gz of page-specific JS.
- site/upgrade/index.html → pages/UpgradePage (migration guide). Loads
  only ~1.5 KB gz of page-specific JS — no Builder, Presets, code-block
  tabs.

Both pages share Nav and Footer; the global chunk (React + shared
components) is loaded once and cached across navigation.

SEO:
- Per-page <title>, <meta description>, <link rel=canonical>.
- Open Graph and Twitter Card meta with site/public/og-default.svg
  (1200×630, gradient track + tagline + version).
- site/public/sitemap.xml listing both URLs.
- site/public/robots.txt allowing all crawlers + sitemap pointer.

Routing across pages:
- The Nav's section links (Features / Builder / Presets / Install) stay
  as in-page anchors on the landing, but rewrite to
  `<base>/#<sectionId>` when rendered on the upgrade page so they jump
  to the landing.
- "Migrate" entry now navigates to `/upgrade/` (real URL, refreshable,
  shareable, indexed separately by search engines).
- Active-link state on the upgrade page is forced to "Migrate".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The /upgrade/ docs page is the canonical migration guide — UPGRADE.md
in the repo was a duplicate, less rich version. Removed and updated
README + CHANGELOG + Upgrade section links accordingly.
The .claude/ directory contains local Claude Code session state
(scheduled task locks, etc.) that accidentally landed in the previous
commit. Untrack it and add to .gitignore.
SVG og:images aren't rendered by some popular consumers (Bluesky,
Twitter/X, iMessage). Add a 1200×630 PNG rendered from the existing
SVG and point og:image / twitter:image at it.
Adds a Family section above the footer linking to the sister projects
(react-amiga-guru-meditation, react-flip), plus the same list in the
README before the License section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.21 to 6.4.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.4.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.4.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.4.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants