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.2 #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps vitest from 1.0.1 to 1.2.2.

Release notes

Sourced from vitest's releases.

v1.2.2

   🐞 Bug Fixes

    View changes on GitHub

v1.2.1

   🐞 Bug Fixes

    View changes on GitHub

v1.2.0

... (truncated)

Commits
  • b1462a4 chore: release v1.2.2
  • 6689856 fix(coverage): don't crash when re-run removes earlier run's reports (#5022)
  • fff1a27 fix(vitest): don't throw an error if mocked file was already imported (#5050)
  • 6dae3fe fix(typecheck): fix ignoreSourceErrors in run mode (#5044)
  • cf5641a fix(vitest): support older NodeJS with async import.meta.resolve (#5045)
  • 915d6c4 fix(threads): mention common work-around for the logged error (#5024)
  • a9a486f fix(vitest): allow useFakeTimers to fake requestIdleCallback on non brows...
  • 253df1c fix(vitest): throw an error if vi.mock is exported (#5034)
  • 7344870 feat(vitest): expose getHooks & setHooks (#5032)
  • 9c7c0fc fix(vitest): test deep dependencies change detection (#4934)
  • 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.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.2.2/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 29, 2024
Copy link

stackblitz bot commented Jan 29, 2024

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

Copy link

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

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

🚮 Removed packages: npm/vitest@1.0.1

View full report↗︎

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 vitest version from 1.0.1 to 1.2.2 in package.json. You can find the release notes here and the commits here.
  2. Updated tinypool version from 0.8.1 to 0.8.2 in pnpm-lock.yaml.

Suggestions

  1. In package.json, consider updating the typescript version to the latest stable release.
  2. In pnpm-lock.yaml, consider updating the acorn-walk version to the latest stable release.

Bugs

There are no potential bugs mentioned in the provided context. Good job!

Improvements

In pnpm-lock.yaml, the vite-node dependency can be refactored for better readability:
From:

vite-node: 1.0.1(@types/node@20.10.3)

To:

vite-node: 1.2.2(@types/node@20.10.3)

Rating

Overall, the code rates at 7.5 out of 10. The code is generally readable, but there are some areas that could be improved. The performance and security aspects seem to be fine.

That's it for the summary! Feel free to review the details and make any necessary changes. Keep up the good work! 😄

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
New author npm/tinypool@0.8.2
Unstable ownership npm/tinypool@0.8.2

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 is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is unstable ownership?

A new collaborator has begun publishing package versions. Package stability and security risk may be elevated.

Try to reduce the amount of authors you depend on to reduce the risk to malicious actors gaining access to your supply chain. Packages should remove inactive collaborators with publishing rights from packages on npm.

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/tinypool@0.8.2

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