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.3#95

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps vite from 6.0.3 to 6.2.3.

Release notes

Sourced from vite's releases.

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

v6.1.0-beta.0

Please refer to CHANGELOG.md for details.

v6.0.12

Please refer to CHANGELOG.md for details.

... (truncated)

Changelog

Sourced from vite's changelog.

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)

6.2.0-beta.1 (2025-02-21)

... (truncated)

Commits
  • 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...
  • 363d691 fix(deps): update all non-major dependencies (#19613)
  • d0aa833 fix(css): inline css correctly for double quote use strict (#19590)
  • 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:

  • Update vite dev dependency from 6.0.3 to 6.2.3.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from ashkan-deriv as a code owner March 25, 2025 14:28
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 25, 2025
@dependabot
dependabot Bot requested a review from review-deriv as a code owner March 25, 2025 14:28
@sourcery-ai

sourcery-ai Bot commented Mar 25, 2025

Copy link
Copy Markdown

Reviewer's Guide by Sourcery

This pull request updates the vite dependency from version 6.0.3 to 6.2.3. This involves changes to package.json and package-lock.json to reflect the new version and its updated dependencies.

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

File-Level Changes

Change Details Files
Updated the vite dependency to version 6.2.3.
  • Updated vite from version 6.0.3 to 6.2.3 in package.json.
  • Updated vite and its dependencies in package-lock.json.
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.37.0 🟢 6.3
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 6Found 9/15 approved changesets -- score normalized to 6
Packaging⚠️ -1packaging workflow not detected
License🟢 9license file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
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.3
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 6Found 9/15 approved changesets -- score normalized to 6
Packaging⚠️ -1packaging workflow not detected
License🟢 9license file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
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.1
  • @esbuild/android-arm@0.25.1
  • @esbuild/android-arm64@0.25.1
  • @esbuild/android-x64@0.25.1
  • @esbuild/darwin-arm64@0.25.1
  • @esbuild/darwin-x64@0.25.1
  • @esbuild/freebsd-arm64@0.25.1
  • @esbuild/freebsd-x64@0.25.1
  • @esbuild/linux-arm@0.25.1
  • @esbuild/linux-arm64@0.25.1
  • @esbuild/linux-ia32@0.25.1
  • @esbuild/linux-loong64@0.25.1
  • @esbuild/linux-mips64el@0.25.1
  • @esbuild/linux-ppc64@0.25.1
  • @esbuild/linux-riscv64@0.25.1
  • @esbuild/linux-s390x@0.25.1
  • @esbuild/linux-x64@0.25.1
  • @esbuild/netbsd-arm64@0.25.1
  • @esbuild/netbsd-x64@0.25.1
  • @esbuild/openbsd-arm64@0.25.1
  • @esbuild/openbsd-x64@0.25.1
  • @esbuild/sunos-x64@0.25.1
  • @esbuild/win32-arm64@0.25.1
  • @esbuild/win32-ia32@0.25.1
  • @esbuild/win32-x64@0.25.1
  • @rollup/rollup-android-arm-eabi@4.37.0
  • @rollup/rollup-android-arm64@4.37.0
  • @rollup/rollup-darwin-arm64@4.37.0
  • @rollup/rollup-darwin-x64@4.37.0
  • @rollup/rollup-freebsd-arm64@4.37.0
  • @rollup/rollup-freebsd-x64@4.37.0
  • @rollup/rollup-linux-arm-gnueabihf@4.37.0
  • @rollup/rollup-linux-arm-musleabihf@4.37.0
  • @rollup/rollup-linux-arm64-gnu@4.37.0
  • @rollup/rollup-linux-arm64-musl@4.37.0
  • @rollup/rollup-linux-loongarch64-gnu@4.37.0
  • @rollup/rollup-linux-powerpc64le-gnu@4.37.0
  • @rollup/rollup-linux-riscv64-gnu@4.37.0
  • @rollup/rollup-linux-riscv64-musl@4.37.0
  • @rollup/rollup-linux-s390x-gnu@4.37.0
  • @rollup/rollup-linux-x64-gnu@4.37.0
  • @rollup/rollup-linux-x64-musl@4.37.0
  • @rollup/rollup-win32-arm64-msvc@4.37.0
  • @rollup/rollup-win32-ia32-msvc@4.37.0
  • @rollup/rollup-win32-x64-msvc@4.37.0
  • esbuild@0.25.1
  • postcss@8.5.3
  • rollup@4.37.0
  • vite@6.2.3
  • @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
  • postcss@8.4.49
  • rollup@4.28.1
package.json
  • vite@^6.2.3
  • 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
This change updates the Vite dependency from "^6.0.1" to "^6.2.3". While there is no immediately obvious logical bug (no functional code changes), minor/patch version updates can introduce API changes or deprecations that may affect build configurations. Specifically, certain plugins or configuration options may behave differently if Vite 6.2.x modifies default behaviors or changes flags compared to 6.0.x.

• Potential Impacts

  1. Plugin Compatibility: “vite-plugin-pwa” or other plugins could rely on internal hooks or APIs that have changed between 6.0.x and 6.2.x, causing runtime errors or unexpected behavior.
  2. Build/Dev Config Mismatches: If the project’s vite.config.js references settings that have been deprecated or changed in Vite 6.2.x, builds may fail or behave incorrectly.

• Reproduction Scenarios

  1. Running npm run dev or npm run build could result in errors if a plugin references changed Vite internals.
  2. Deploying to production might yield unexpected bundling outcomes (e.g., missing assets, broken routes).

• Fix Implementation with Code Example

  1. Ensure that any vite.config.js references to Vite APIs are still valid in 6.2.x.
  2. Update or lock plugin versions if needed. For example, if a plugin requires changes:

// Example snippet (vite.config.js)
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import VitePluginPWA from 'vite-plugin-pwa'

export default defineConfig({
plugins: [
vue(),
// Ensure that VitePluginPWA is compatible with Vite 6.2.x
// by checking plugin's release notes or pinned versions
VitePluginPWA({...options})
],
// Validate if any deprecated config options are removed or renamed
build: {
// e.g., changed minify settings?
minify: 'esbuild',
},
})

🟡 RELIABILITY CONCERNS:
• Edge Cases Identified

  1. Potential version mismatch with other dependencies that rely on a specific Vite version, especially if they haven’t been tested with Vite 6.2.x.
  2. If the project uses advanced features or experimental flags from 6.0.x, they may have changed or been removed.

• Potential Failure Scenarios

  1. Production build issues: Certain optimizations or plugin transformations might fail unexpectedly.
  2. Local development environment misalignment: Team members might have different versions installed if lock files are not consistent.

• Mitigation Steps with Code Examples

  1. Pin Versions in package.json / lock file to ensure a consistent environment:
    // package.json
    {
    "devDependencies": {
    "vite": "6.2.3",
    "vite-plugin-pwa": "0.21.1"
    }
    }
  2. Set up a continuous integration pipeline to run tests and ensure no regressions:
    // Example GitHub Actions snippet
    name: CI
    on: [push]
    jobs:
    build-and-test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Setup Node
    uses: actions/setup-node@v2
    with:
    node-version: '18'
    - run: npm ci
    - run: npm run build
    - run: npm test

💡 ROBUSTNESS IMPROVEMENTS:
• Error Handling Enhancements

  • In the context of a version change, ensure build scripts or hooks catch errors gracefully. Consider adding explicit error handling for plugin load failures or missing config keys.

• Input Validation Additions

  • If the project uses environment variables with Vite (e.g., .env files), verify they are still recognized. Vite 6.2.x may have updated validations for .env usage.

• State Management Improvements

  • If you use frameworks with state management (Vue, React, etc.) in tandem with Vite, confirm that hot module replacement (HMR) flows are still stable. Sometimes version updates change how HMR events are triggered.

• Code Examples for Each Suggestion

  1. Check for environment variable usage:
    // vite.config.js
    export default defineConfig({
    define: {
    // Validate that VITE_APP_VERSION is still recognized
    APP_VERSION: JSON.stringify(process.env.npm_package_version),
    },
    })

  2. Add build script error handling:
    // package.json
    {
    "scripts": {
    "build": "vite build || (echo 'Build failed!' && exit 1)"
    }
    }

By verifying plugin compatibility, reviewing Vite’s release notes for 6.2.x, and running tests against the new version, you can avoid unexpected build-time or runtime breakages and ensure a smooth transition.

@dependabot @github

dependabot Bot commented on behalf of github Mar 31, 2025

Copy link
Copy Markdown
Author

Superseded by #96.

@dependabot dependabot Bot closed this Mar 31, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vite-6.2.3 branch March 31, 2025 18:01
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