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.2.1 #49

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps vitest from 1.0.1 to 1.2.1.

Release notes

Sourced from vitest's releases.

v1.2.1

   🐞 Bug Fixes

    View changes on GitHub

v1.2.0

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits
  • 6421c27 chore: release v1.2.1
  • f8bff9e fix(vitest): throw a syntax error if vi.hoisted is directly exported (#4969)
  • 6c5fe49 fix(browser): don't fail when calling vi.useFakeTimers (#4992)
  • 8877e22 fix(vitest): use development/production conditions when resolving external mo...
  • 39a7169 fix(vitest): check color support for intercepted console logging (#4966)
  • 6c1cc78 fix(browser): fix browser testing url for https (#4855)
  • 952c31d fix(vitest): correctly find module if it has a version query (#4976)
  • df0db6a fix(vitest): simplify hoist transform check regex to avoid expensive regex ma...
  • db01f6c fix(browser): apply inlined workspace config to browser mode vite server (#4947)
  • 6bfdb5f refactor: improve highlighted function (#4967)
  • 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.2.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.2.1/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 22, 2024
Copy link

stackblitz bot commented Jan 22, 2024

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

Copy link

Pull Request Review

Hey there! 👋 Here's a summary of the previous tasks and their results. Let's dive in!

Changes

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

Suggestions

  • Line 40 in package.json: Consider using a caret (^) instead of a specific version for typescript and vite dependencies.

Bugs

  • File: package.json. Potential bug: The typescript dependency is outdated and may cause compatibility issues with other packages.

Improvements

  • File: <specific file>. Refactor the following code snippet for better readability:
// Before refactoring
const result = someFunction(someArgument) ? true : false;

// After refactoring
const result = !!someFunction(someArgument);

Rating

Readability: 8, Performance: 7, Security: 6. The code is generally readable, but there are some areas that could be improved. Performance is decent, but there might be room for optimization. Security could be enhanced by implementing proper input validation and sanitization.

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

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/vitest@1.2.1 environment, eval Transitive: filesystem, network, shell, unsafe +73 22.9 MB oreanno

🚮 Removed packages: npm/vitest@1.0.1

View full report↗︎

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.

Alert Package NoteSource
Major refactor npm/estree-walker@3.0.3
  • Change Percentage: 51.46
  • Current Line Count: 479
  • Previous Line Count: 477
  • Lines Changed: 492
Unmaintained npm/estree-walker@3.0.3
  • Last Publish: 1/20/2023, 2:27:12 AM
Major refactor npm/vitest@1.2.1
  • Change Percentage: 79.26
  • Current Line Count: 36022
  • Previous Line Count: 35979
  • Lines Changed: 57071

View full report↗︎

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.

What are unmaintained packages?

Package has not been updated in more than a year and may be unmaintained. Problems with the package may go unaddressed.

Package should publish periodic maintenance releases if they are maintained, or deprecate if they have no intention in further maintenance.

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 ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/estree-walker@3.0.3
  • @SocketSecurity ignore npm/vitest@1.2.1

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2024

Superseded by #51.

@dependabot dependabot bot closed this Jan 29, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest-1.2.1 branch January 29, 2024 04:25
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