Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

chore(deps-dev): bump vite from 6.0.3 to 6.2.4#96

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vite-6.2.4
Closed

chore(deps-dev): bump vite from 6.0.3 to 6.2.4#96
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vite-6.2.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 31, 2025

Copy link
Copy Markdown

Bumps vite from 6.0.3 to 6.2.4.

Release notes

Sourced from vite's releases.

v6.2.4

Please refer to CHANGELOG.md for details.

v6.2.3

Please refer to CHANGELOG.md for details.

v6.2.2

Please refer to CHANGELOG.md for details.

create-vite@6.2.1

Please refer to CHANGELOG.md for details.

v6.2.1

Please refer to CHANGELOG.md for details.

create-vite@6.2.0

Please refer to CHANGELOG.md for details.

v6.2.0

Please refer to CHANGELOG.md for details.

v6.2.0-beta.1

Please refer to CHANGELOG.md for details.

v6.2.0-beta.0

Please refer to CHANGELOG.md for details.

v6.1.3

Please refer to CHANGELOG.md for details.

v6.1.2

Please refer to CHANGELOG.md for details.

create-vite@6.1.1

Please refer to CHANGELOG.md for details.

v6.1.1

Please refer to CHANGELOG.md for details.

create-vite@6.1.0

Please refer to CHANGELOG.md for details.

v6.1.0

Please refer to CHANGELOG.md for details.

v6.1.0-beta.2

Please refer to CHANGELOG.md for details.

v6.1.0-beta.1

Please refer to CHANGELOG.md for details.

... (truncated)

Changelog

Sourced from vite's changelog.

6.2.4 (2025-03-31)

6.2.3 (2025-03-24)

6.2.2 (2025-03-14)

  • fix: await client buildStart on top level buildStart (#19624) (b31faab), closes #19624
  • fix(css): inline css correctly for double quote use strict (#19590) (d0aa833), closes #19590
  • fix(deps): update all non-major dependencies (#19613) (363d691), closes #19613
  • fix(indexHtml): ensure correct URL when querying module graph (#19601) (dc5395a), closes #19601
  • fix(preview): use preview https config, not server (#19633) (98b3160), closes #19633
  • fix(ssr): use optional chaining to prevent "undefined is not an object" happening in `ssrRewriteStac (4309755), closes #19612
  • feat: show friendly error for malformed base (#19616) (2476391), closes #19616
  • feat(worker): show asset filename conflict warning (#19591) (367d968), closes #19591
  • chore: extend commit hash correctly when ambigious with a non-commit object (#19600) (89a6287), closes #19600

6.2.1 (2025-03-07)

6.2.0 (2025-02-25)

... (truncated)

Commits
  • 037f801 release: v6.2.4
  • 7a4faba fix: fs check in transform middleware (#19761)
  • 16869d7 release: v6.2.3
  • f234b57 fix: fs raw query with query separators (#19702)
  • b12911e release: v6.2.2
  • 98b3160 fix(preview): use preview https config, not server (#19633)
  • b31faab fix: await client buildStart on top level buildStart (#19624)
  • dc5395a fix(indexHtml): ensure correct URL when querying module graph (#19601)
  • 2476391 feat: show friendly error for malformed base (#19616)
  • 4309755 fix(ssr): use optional chaining to prevent "undefined is not an object" happe...
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.

Summary by Sourcery

Chores:

  • Upgrade Vite to the latest minor version, incorporating various bug fixes and improvements

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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 Mar 31, 2025
@sourcery-ai

sourcery-ai Bot commented Mar 31, 2025

Copy link
Copy Markdown

Reviewer's Guide by Sourcery

This pull request bumps the vite dependency from version 6.0.3 to 6.2.4. This includes various fixes, features, and performance improvements.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
The pull request updates the vite dependency from version 6.0.3 to 6.2.4.
  • Updated the vite dependency to the latest version.
package.json
package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@rollup/rollup-linux-x64-gnu 4.38.0 🟢 6.8
Details
CheckScoreReason
Code-Review🟢 7Found 12/16 approved changesets -- score normalized to 7
Maintained🟢 1030 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
License🟢 9license file detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Signed-Releases⚠️ -1no releases found
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
Vulnerabilities🟢 100 existing vulnerabilities detected
npm/@rollup/rollup-linux-x64-gnu 4.28.1 🟢 6.8
Details
CheckScoreReason
Code-Review🟢 7Found 12/16 approved changesets -- score normalized to 7
Maintained🟢 1030 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Security-Policy🟢 10security policy file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
License🟢 9license file detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Signed-Releases⚠️ -1no releases found
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
Vulnerabilities🟢 100 existing vulnerabilities detected

Scanned Manifest Files

package-lock.json
  • esbuild@0.24.0
  • vite@6.0.3
  • @esbuild/aix-ppc64@0.25.2
  • @esbuild/android-arm@0.25.2
  • @esbuild/android-arm64@0.25.2
  • @esbuild/android-x64@0.25.2
  • @esbuild/darwin-arm64@0.25.2
  • @esbuild/darwin-x64@0.25.2
  • @esbuild/freebsd-arm64@0.25.2
  • @esbuild/freebsd-x64@0.25.2
  • @esbuild/linux-arm@0.25.2
  • @esbuild/linux-arm64@0.25.2
  • @esbuild/linux-ia32@0.25.2
  • @esbuild/linux-loong64@0.25.2
  • @esbuild/linux-mips64el@0.25.2
  • @esbuild/linux-ppc64@0.25.2
  • @esbuild/linux-riscv64@0.25.2
  • @esbuild/linux-s390x@0.25.2
  • @esbuild/linux-x64@0.25.2
  • @esbuild/netbsd-arm64@0.25.2
  • @esbuild/netbsd-x64@0.25.2
  • @esbuild/openbsd-arm64@0.25.2
  • @esbuild/openbsd-x64@0.25.2
  • @esbuild/sunos-x64@0.25.2
  • @esbuild/win32-arm64@0.25.2
  • @esbuild/win32-ia32@0.25.2
  • @esbuild/win32-x64@0.25.2
  • @rollup/rollup-android-arm-eabi@4.38.0
  • @rollup/rollup-android-arm64@4.38.0
  • @rollup/rollup-darwin-arm64@4.38.0
  • @rollup/rollup-darwin-x64@4.38.0
  • @rollup/rollup-freebsd-arm64@4.38.0
  • @rollup/rollup-freebsd-x64@4.38.0
  • @rollup/rollup-linux-arm-gnueabihf@4.38.0
  • @rollup/rollup-linux-arm-musleabihf@4.38.0
  • @rollup/rollup-linux-arm64-gnu@4.38.0
  • @rollup/rollup-linux-arm64-musl@4.38.0
  • @rollup/rollup-linux-loongarch64-gnu@4.38.0
  • @rollup/rollup-linux-powerpc64le-gnu@4.38.0
  • @rollup/rollup-linux-riscv64-gnu@4.38.0
  • @rollup/rollup-linux-riscv64-musl@4.38.0
  • @rollup/rollup-linux-s390x-gnu@4.38.0
  • @rollup/rollup-linux-x64-gnu@4.38.0
  • @rollup/rollup-linux-x64-musl@4.38.0
  • @rollup/rollup-win32-arm64-msvc@4.38.0
  • @rollup/rollup-win32-ia32-msvc@4.38.0
  • @rollup/rollup-win32-x64-msvc@4.38.0
  • @types/estree@1.0.7
  • esbuild@0.25.2
  • postcss@8.5.3
  • rollup@4.38.0
  • vite@6.2.4
  • @esbuild/aix-ppc64@0.24.0
  • @esbuild/android-arm@0.24.0
  • @esbuild/android-arm64@0.24.0
  • @esbuild/android-x64@0.24.0
  • @esbuild/darwin-arm64@0.24.0
  • @esbuild/darwin-x64@0.24.0
  • @esbuild/freebsd-arm64@0.24.0
  • @esbuild/freebsd-x64@0.24.0
  • @esbuild/linux-arm@0.24.0
  • @esbuild/linux-arm64@0.24.0
  • @esbuild/linux-ia32@0.24.0
  • @esbuild/linux-loong64@0.24.0
  • @esbuild/linux-mips64el@0.24.0
  • @esbuild/linux-ppc64@0.24.0
  • @esbuild/linux-riscv64@0.24.0
  • @esbuild/linux-s390x@0.24.0
  • @esbuild/linux-x64@0.24.0
  • @esbuild/netbsd-x64@0.24.0
  • @esbuild/openbsd-arm64@0.24.0
  • @esbuild/openbsd-x64@0.24.0
  • @esbuild/sunos-x64@0.24.0
  • @esbuild/win32-arm64@0.24.0
  • @esbuild/win32-ia32@0.24.0
  • @esbuild/win32-x64@0.24.0
  • @rollup/rollup-android-arm-eabi@4.28.1
  • @rollup/rollup-android-arm64@4.28.1
  • @rollup/rollup-darwin-arm64@4.28.1
  • @rollup/rollup-darwin-x64@4.28.1
  • @rollup/rollup-freebsd-arm64@4.28.1
  • @rollup/rollup-freebsd-x64@4.28.1
  • @rollup/rollup-linux-arm-gnueabihf@4.28.1
  • @rollup/rollup-linux-arm-musleabihf@4.28.1
  • @rollup/rollup-linux-arm64-gnu@4.28.1
  • @rollup/rollup-linux-arm64-musl@4.28.1
  • @rollup/rollup-linux-loongarch64-gnu@4.28.1
  • @rollup/rollup-linux-powerpc64le-gnu@4.28.1
  • @rollup/rollup-linux-riscv64-gnu@4.28.1
  • @rollup/rollup-linux-s390x-gnu@4.28.1
  • @rollup/rollup-linux-x64-gnu@4.28.1
  • @rollup/rollup-linux-x64-musl@4.28.1
  • @rollup/rollup-win32-arm64-msvc@4.28.1
  • @rollup/rollup-win32-ia32-msvc@4.28.1
  • @rollup/rollup-win32-x64-msvc@4.28.1
  • @types/estree@1.0.6
  • postcss@8.4.49
  • rollup@4.28.1
package.json
  • vite@^6.2.4
  • vite@^6.0.1

@review-deriv review-deriv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Code Review

⚠️ IMPORTANT: This review is AI-generated and should be validated by human reviewers
🔴 BUGS & LOGICAL ISSUES:

  • Issue Description:
    The only change is a version bump of the “vite” dependency from "^6.0.1" to "^6.2.4" in package.json. Although this does not introduce an immediate logic bug in the application code per se, there is a potential risk of breaking changes or updated behaviors between minor versions that could affect build processes or config usage.

  • Potential Impacts:
    • Breaking config or plugin APIs: Certain configuration options or plugin integrations may have shifted in Vite 6.2.x.
    • Updated dependencies: The new version may internally rely on updated or removed modules.
    • Build, watch, or dev server changes: Minor version releases sometimes introduce new features or deprecations impacting local development or production builds.

  • Reproduction Scenarios:
    • Attempting to run the dev server (e.g., npm run dev or npm start) and encountering plugin incompatibility or config errors.
    • Building a production bundle where certain transformations or optimizations behave differently between 6.0.1 and 6.2.4.

  • Fix Implementation with Code Example:
    Since this is a version bump, ensure that any Vite-related configuration aligns with the updated version’s documentation. For example, verify vite.config.js matches any new or deprecated configuration keys:

    // vite.config.js (example)
    export default {
    // Check updated plugin usage if needed
    plugins: [],
    // Confirm references to new/changed config properties
    server: {
    // e.g., new or changed options in 6.2.4
    },
    };

🟡 RELIABILITY CONCERNS:

  • Edge Cases Identified:
    • Projects using older plugin versions that may not support Vite 6.2.x fully.
    • Incompatible environment assumptions if certain features of Vite 6.2.x rely on Node.js versions or OS-level features not documented in 6.0.1.

  • Potential Failure Scenarios:
    • Build pipeline failing in CI/CD environments if environment variables or plugin hooks changed.
    • Runtime errors in local dev or production if new version requires updated polyfills, or if there's a mismatch in plugin versions.

  • Mitigation Steps with Code Examples:

    1. Pin plugin versions to known-compatible releases:
      "vite-plugin-foo": "1.5.0" // known to work with Vite 6.2.x

    2. Test in a staging environment:
      // package.json
      "scripts": {
      "test:staging": "NODE_ENV=staging vite build && run-integration-tests"
      }

💡 ROBUSTNESS IMPROVEMENTS:

  • Error Handling Enhancements:
    Though mostly handled by Vite’s core, ensure your build scripts or application server gracefully handle any failures or misconfigurations by providing clear error messages. For instance:
    try {
    await viteBuild();
    } catch (error) {
    console.error("Build failed with Vite:", error);
    process.exit(1);
    }

  • Input Validation Additions:
    Not directly applicable to version bumps, but confirm that environment variables and user-provided config are validated if they feed into Vite’s dev server or plugin logic.

  • State Management Improvements:
    If your application uses any stateful scaffolding around the build or dev server, confirm that new watch or hot-reload behavior in 6.2.x does not disrupt your stateful layers.

  • Code Examples for Each Suggestion:

    1. Lock versions and document changes:
      // package.json
      {
      "devDependencies": {
      "vite": "6.2.4", // no caret or tilde if you want a stricter version lock
      "vite-plugin-pwa": "^0.21.1"
      }
      }
      // Provide a README entry summarizing the reasons for the Vite upgrade and known plugin compatibility.

    2. Run dedicated build verification:
      // In a CI pipeline step
      jobs:
      build-and-test:
      steps:
      - run: npm ci
      - run: npm run build
      - run: npm test
      - run: npm run integration-tests

By updating to Vite 6.2.4, you may benefit from bug fixes and performance improvements, but be sure to review the release notes, validate plugin compatibility, and test thoroughly across your environments to avoid unexpected regressions.

@dependabot @github

dependabot Bot commented on behalf of github Apr 4, 2025

Copy link
Copy Markdown
Author

Superseded by #97.

@dependabot dependabot Bot closed this Apr 4, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vite-6.2.4 branch April 4, 2025 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

1 participant