Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(deps-dev): bump vitest from 1.4.0 to 1.6.1 in /frontend #9212

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 4, 2025

Bumps vitest from 1.4.0 to 1.6.1.

Release notes

Sourced from vitest's releases.

v1.6.1

This release includes security patches for:

   🐞 Bug Fixes

    View changes on GitHub

v1.6.0

   🚀 Features

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v1.5.3

   🐞 Bug Fixes

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

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.4.0 to 1.6.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.6.1/packages/vitest)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 4, 2025
Copy link

vercel bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 4, 2025 6:49pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2025 6:49pm

Copy link
Contributor

github-actions bot commented Feb 4, 2025

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails
npm/vitest 1.6.1 UnknownUnknown
npm/@vitest/expect 1.6.1 UnknownUnknown
npm/@vitest/runner 1.6.1 UnknownUnknown
npm/@vitest/snapshot 1.6.1 UnknownUnknown
npm/@vitest/spy 1.6.1 UnknownUnknown
npm/@vitest/utils 1.6.1 UnknownUnknown
npm/vite-node 1.6.1 UnknownUnknown
npm/vitest 1.6.1 UnknownUnknown

Scanned Files

  • frontend/package.json
  • frontend/yarn.lock

nunogois added a commit that referenced this pull request Feb 20, 2025
https://linear.app/unleash/issue/2-3296/upgrade-vitest

Follow-up to #9212

The ☝️ PR was failing some tests because `chartjs-adapter-date-fns` is
imported as a [side
effect](https://stackoverflow.com/questions/41127479/es6-import-for-side-effects-meaning)
and seems to be CommonJS-only. When Vitest loads it, it fails to find
named exports (like `_adapters`). By inlining `chartjs-adapter-date-fns`
in our Vitest test config, esbuild transforms it into a proper ES module
for testing.

Additionally, we’re upgrading from v1.4.0 to v3.0.6 directly since our
code seems to be fully compatible.
>Vitest requires Vite >=v5.0.0 and Node >=v18.0.0
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2025

Looks like vitest is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Feb 20, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/frontend/vitest-1.6.1 branch February 20, 2025 14:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

0 participants