Skip to content

Conversation

zhiyuanzmj
Copy link
Member

Description

Linked Issues

Additional context

Copy link

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

Copy link

vercel bot commented Jul 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
vue-macros ✅ Ready (Inspect) Visit Preview Jul 24, 2024 1:52am

Copy link

changeset-bot bot commented Jul 20, 2024

🦋 Changeset detected

Latest commit: e3a6704

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@vue-macros/volar Minor
unplugin-vue-macros Patch
@vue-macros/nuxt Patch
@vue-macros/astro Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 20, 2024
@dosubot dosubot bot added enhancement New feature or request volar labels Jul 20, 2024
@zhiyuanzmj zhiyuanzmj marked this pull request as draft July 20, 2024 01:56
Copy link

socket-security bot commented Jul 20, 2024

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

Package New capabilities Transitives Size Publisher
npm/type-fest@4.23.0 None 0 375 kB sindresorhus

🚮 Removed packages: npm/shiki@1.11.0

View full report↗︎

@zhiyuanzmj zhiyuanzmj marked this pull request as ready for review July 22, 2024 13:49
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 NoteSourceCI
Install scripts npm/vue-demi@0.14.8
  • Install script: postinstall
  • Source: node -e "try{require('./scripts/postinstall.js')}catch(e){}"
  • orphan: npm/vue-demi@0.14.8
🚫

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

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/vue-demi@0.14.8

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 24, 2024
@sxzz sxzz merged commit 27a0f36 into main Jul 24, 2024
6 checks passed
@sxzz sxzz deleted the feat/define-generic branch July 24, 2024 02:08
@github-actions github-actions bot mentioned this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. volar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants