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

build(deps-dev): bump vitest and @vitest/coverage-v8 #136

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 Dec 5, 2023

Bumps vitest and @vitest/coverage-v8. These dependencies needed to be updated together.
Updates vitest from 0.34.6 to 1.0.1

Release notes

Sourced from vitest's releases.

v1.0.1

   🐞 Bug Fixes

    View changes on GitHub

v1.0.0

Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.

   🚨 Breaking Changes

   🚀 Features

... (truncated)

Commits
  • 0802167 chore: release v1.0.1
  • 420707f fix: bump vitest packages peerDependencies versions (#4654)
  • 34517ce chore: release v1.0.0
  • f35e2c7 refactor: replace os.cpus with os.availableParallelism (#4639)
  • da7949d fix(jsdom): don't go into an infinite recusion when calling atob
  • 39c952a chore(deps): update dependency @​types/micromatch to ^4.0.6 (#4647)
  • 05b0521 fix(vitest): independently mock each instance's methods for mocked class (#4564)
  • eca25dc fix: set process name for idle workers (#4641)
  • 54d52d4 fix(vm): remove sequencer usage from createVmThreadsPool function (#4638)
  • ceca93d docs: os.cpu() should be os.cpus() (#4634)
  • Additional commits viewable in compare view

Updates @vitest/coverage-v8 from 0.34.6 to 1.0.1

Release notes

Sourced from @​vitest/coverage-v8's releases.

v1.0.1

   🐞 Bug Fixes

    View changes on GitHub

v1.0.0

Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.

   🚨 Breaking Changes

   🚀 Features

... (truncated)

Commits
  • 0802167 chore: release v1.0.1
  • 420707f fix: bump vitest packages peerDependencies versions (#4654)
  • 34517ce chore: release v1.0.0
  • 4166c41 fix(coverage): improve memory usage by writing temporary files on file system...
  • b766d34 chore: release v1.0.0-beta.6
  • 1fdd6fe fix(deps): update dependency std-env to ^3.5.0 (#4582)
  • a70f216 fix(deps): update dependency v8-to-istanbul to ^9.2.0 (#4583)
  • abe6c72 chore: release v1.0.0-beta.5
  • 4953410 feat!(coverage): glob based coverage thresholds (#4442)
  • fb84885 chore: add defaults to exports (#4462)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) and [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8). These dependencies needed to be updated together.

Updates `vitest` from 0.34.6 to 1.0.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.0.1/packages/vitest)

Updates `@vitest/coverage-v8` from 0.34.6 to 1.0.1
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.0.1/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 5, 2023
Copy link

sonarqubecloud bot commented Dec 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3b48003) 100.00% compared to head (6fb9226) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #136   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          650       650           
  Branches        46        46           
=========================================
  Hits           650       650           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

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

Packages Version New capabilities Transitives Size Publisher
@vitest/coverage-v8 0.34.6...1.0.1 shell +57/-19 254 MB oreanno
vitest 0.34.6...1.0.1 shell +50/-16 248 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
Chronological version anomaly @babel/helper-string-parser 7.23.4
Chronological version anomaly nanoid 3.3.7
Dynamic require rollup 4.6.1
Environment variable access rollup 4.6.1
Filesystem access rollup 4.6.1
Mixed license rollup 4.6.1
Uses eval rollup 4.6.1
Empty package @rollup/rollup-android-arm-eabi 4.6.1
Empty package @rollup/rollup-android-arm64 4.6.1
Empty package @rollup/rollup-darwin-arm64 4.6.1
Empty package @rollup/rollup-darwin-x64 4.6.1
Empty package @rollup/rollup-linux-arm-gnueabihf 4.6.1
Empty package @rollup/rollup-linux-arm64-gnu 4.6.1
Empty package @rollup/rollup-linux-arm64-musl 4.6.1
Empty package @rollup/rollup-linux-x64-gnu 4.6.1
Empty package @rollup/rollup-linux-x64-musl 4.6.1
Empty package @rollup/rollup-win32-arm64-msvc 4.6.1
Empty package @rollup/rollup-win32-ia32-msvc 4.6.1
Empty package @rollup/rollup-win32-x64-msvc 4.6.1
Environment variable access vite-node 1.0.1
Environment variable access vite 5.0.5
Major refactor vite 5.0.5
  • Change Percentage: 78.06
  • Current Line Count: 88414
  • Previous Line Count: 88303
  • Lines Changed: 137951
Environment variable access vitest 1.0.1
Filesystem access magicast 0.3.2
No v1 magicast 0.3.2
Major refactor local-pkg 0.5.0
  • Change Percentage: 103.63
  • Current Line Count: 692
  • Previous Line Count: 797
  • Lines Changed: 1543
Shell access tinypool 0.8.1

Next steps

What is a chronological version anomaly?

Semantic versions published out of chronological order.

This could either indicate dependency confusion or a patched vulnerability.

What is dynamic require?

Dynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.

Packages should avoid dynamic imports when possible. Audit the use of dynamic require to ensure it is not executing malicious or vulnerable code.

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is a mixed license?

(Experimental) Package contains multiple licenses.

A new version of the package should be published that includes a single license. Consumers may seek clarification from the package author. Ensure that the license details are consistent across the LICENSE file, package.json license field and license details mentioned in the README.

What is eval?

Package uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Avoid packages that use eval, since this could potentially execute any code.

What is an empty package?

Package does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.

Remove dependencies that do not export any code or functionality and ensure the package version includes all of the files it is supposed to.

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 wrong with semver < v1?

Package is not semver >=1. This means it is not stable and does not support ^ ranges.

If the package sees any general use, it should begin releasing at version 1.0.0 or later to benefit from semver.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

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 [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Copy link
Owner

@ODGodinho ODGodinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflict

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.

1 participant