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

Bump vite from 4.5.0 to 5.0.12 #59

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 22, 2024

Bumps vite from 4.5.0 to 5.0.12.

Release notes

Sourced from vite's releases.

[email protected]

Please refer to CHANGELOG.md for details.

[email protected]

Please refer to CHANGELOG.md for details.

[email protected]

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

5.0.12 (2024-01-19)

5.0.11 (2024-01-05)

5.0.10 (2023-12-15)

  • fix: omit protocol does not require pre-transform (#15355) (d9ae1b2), closes #15355
  • fix(build): use base64 for inline SVG if it contains both single and double quotes (#15271) (1bbff16), closes #15271

5.0.9 (2023-12-14)

5.0.8 (2023-12-12)

... (truncated)

Commits
  • ee81e19 release: v5.0.12
  • 91641c4 fix: fs deny for case insensitive systems (#15653)
  • ef89f80 fix: await configResolved hooks of worker plugins (#15597) (#15605)
  • b44c493 release: v5.0.11
  • d2aa096 fix: inject __vite__mapDeps code before sourcemap file comment (#15483)
  • 2a540ee chore(deps): update tj-actions/changed-files action to v41 (#15476)
  • 5ea9edb fix(html): handle offset magic-string slice error (#15435)
  • 49d21fe chore(deps): update dependency strip-literal to v2 (#15475)
  • 8de7bd2 fix(assets): avoid splitting , inside base64 value of srcset attribute (#...
  • 19e3c9a fix: don't pretransform classic script links (#15361)
  • 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 [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  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 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

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

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, network, shell +8 10 MB antfu, patak, soda, ...2 more

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
Unpublished package npm/[email protected]
  • Version: Invalid Date
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Empty package npm/@rollup/[email protected]
Unpublished package npm/@rollup/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Mixed license npm/[email protected]
  • License: ISC,MIT
Unpublished package npm/[email protected]
  • Version: 4/9/2006, 12:00:00 AM
Filesystem access npm/[email protected]
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Dynamic require npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Manifest confusion npm/[email protected]
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]
Empty package npm/@rollup/[email protected]
No tests npm/@rollup/[email protected]

View full report↗︎

Next steps

What are unpublished packages?

Package version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.

Packages can be removed from the registry by manually un-publishing, a security issue removal, or may simply never have been published to the registry. Reliance on these packages will cause problem when they are not found.

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 does no tests mean?

Package does not have any tests. This is a strong signal of a poorly maintained or low quality package.

Add tests and publish a new version of the package. Consumers may look for an alternative package with better testing.

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 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 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 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 manifest confusion?

This package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.

Packages with inconsistent metadata may be corrupted or malicious.

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

Copy link

Pull Request Review

Hey there! 👋 Here's a summary of the previous tasks and their results:

Changes

  1. Updated the version of vite from 4.5.0 to 5.0.12. You can find more details in the commit history.

Suggestions

  1. In pnpm-lock.yaml, consider removing the optional: true flag for the peerDependenciesMeta section. It seems unnecessary.
  2. In pnpm-lock.yaml, the dependencies section could be organized alphabetically for better readability.

Bugs

  1. In pnpm-lock.yaml, there is a potential bug in the peerDependencies section. The version range for @types/node should be enclosed in quotes, like '^18.0.0' || '>20.0.0' instead of ^18.0.0 || >=20.0.0.

Improvements

In the code snippet below, the dependencies section in pnpm-lock.yaml could be refactored for better readability:

 dependencies:
-  '@types/node': 20.9.0
-  esbuild: 0.19.5
-  postcss: 8.4.33
-  rollup: 4.9.6
+  '@types/node': '^20.9.0',
+  esbuild: '^0.19.5',
+  postcss: '^8.4.33',
+  rollup: '^4.9.6'

This change ensures that the versions of the dependencies are specified using the caret (^) symbol, allowing for compatible updates in the future.

Rating

Overall code rating: 7.5 out of 10. The code seems to have some updates.

That's it for the summary! Feel free to review the details and make any necessary changes. 🚀

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