Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

chore(deps-dev): bump vitest from 1.0.1 to 1.1.3 #41

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 8, 2024

Bumps vitest from 1.0.1 to 1.1.3.

Release notes

Sourced from vitest's releases.

v1.1.3

   🐞 Bug Fixes

    View changes on GitHub

v1.1.2

   🐞 Bug Fixes

    View changes on GitHub

v1.1.1

   🐞 Bug Fixes

... (truncated)

Commits
  • a73c1c2 chore: release v1.1.3
  • 1769c79 fix(vitest): apply slowTestThreshold to all reporters (#4876)
  • 7719e79 fix(vitest): vi.mock breaks tests when using imported variables inside the fa...
  • be5a259 chore: release v1.1.2
  • 6088b37 fix(vitest): correctly rerun test files on change if server was restarted (#4...
  • e12a5a3 fix(vitest): throw an error if mock was already loaded when vi.mock is called...
  • b8140fc fix(browser): resolved failure to find arbitrarily-named snapshot files when ...
  • 7b4a2fc fix: remove internal flag from UI option in the config
  • e0b8c54 refactor(vitest): reimplement hoistMocks to fix incorrect dynamic imports (#4...
  • 47bc233 fix(deps): update dependency acorn-walk to ^8.3.1 (#4837)
  • 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)

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

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

stackblitz bot commented Jan 8, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

Pull Request Review Markdown

Hey there! 👋 Here's a summary of the previous results for the Pull Request review. Let's dive in!

Changes

  1. Updated the version of vitest from 1.0.1 to 1.1.3. You can find the release notes here and the commits here.

Suggestions

  • Consider using a more descriptive name for the task1 variable in the package.json file. Line 56 needs some love.
  • Update the specifier and version of vitest to match the changes made in the devDependencies section. Check out line 56 and line 3412.
  • Update the specifier and version of @vitest/expect to match the changes made in the packages section. Take a look at line 925.
  • Update the specifier and version of @vitest/runner to match the changes made in the packages section. Line 971 needs your attention.
  • Consider adding the dependency estree-walker to the packages section. It's missing on line 1878.
  • Update the specifier and version of vite-node to match the changes made in the packages section. Check out line 3355.
  • Update the specifier and version of vitest to match the changes made in the packages section. Line 3412 needs some tweaking.

Bugs

  • Potential bug: Check the implementation of the typescript package in the dependencies section of the package.json file. Keep an eye on it!

Improvements

  • Refactoring suggestion: In the package.json file, the task1 variable can be renamed to majorChanges for better readability. Here's the code snippet:
    Before:
    "task1": ["numbered list with major changes"]
    After:
    "majorChanges": ["numbered list with major changes"]

Rating

Overall rating: 7.5 out of 10. The code has good readability, but there are some areas that could be improved. Performance and security seem to be adequately addressed.

That's it for the summary! Let me know if you need any further assistance. 😄

Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
vitest 1.0.1...1.1.3 None +1/-1 1.51 MB oreanno

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Issue Package Version Note Source
Major refactor vitest 1.1.3
  • Change Percentage: 52.71
  • Current Line Count: 35337
  • Previous Line Count: 35339
  • Lines Changed: 37254

Next steps

What is a major refactor?

Package has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.

Consider waiting before upgrading to see if any issues are discovered, or be prepared to scrutinize any bugs or subtle changes the major refactor may bring. Publishers my consider publishing beta versions of major refactors to limit disruption to parties interested in the new changes.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore vitest@1.1.3

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 15, 2024

Superseded by #44.

@dependabot dependabot bot closed this Jan 15, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest-1.1.3 branch January 15, 2024 04:09
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants