Skip to content

Conversation

zhiyuanzmj
Copy link
Member

@zhiyuanzmj zhiyuanzmj commented Jul 16, 2024

Description

Now you can ignore lang="ts".

image

Linked Issues

closed #711

Additional context

Copy link

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

Copy link

changeset-bot bot commented Jul 16, 2024

🦋 Changeset detected

Latest commit: b3aea57

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

This PR includes changesets to release 5 packages
Name Type
unplugin-vue-macros Minor
@vue-macros/volar Minor
@vue-macros/script-lang Minor
@vue-macros/astro Patch
@vue-macros/nuxt 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

Copy link

vercel bot commented Jul 16, 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 0:31am

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. documentation Improvements or additions to documentation enhancement New feature or request volar labels Jul 16, 2024
Copy link

socket-security bot commented Jul 16, 2024

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

Package New capabilities Transitives Size Publisher
npm/shiki@1.11.0 None +3 10.2 MB antfu

🚮 Removed packages: npm/type-fest@4.23.0

View full report↗︎

Copy link

socket-security bot commented Jul 16, 2024

🚨 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/esbuild@0.20.2
  • orphan: npm/esbuild@0.20.2
🚫
Telemetry npm/@nuxt/telemetry@2.5.4
  • Note: Can be disabled by setting the environment variable NUXT_TELEMETRY_DISABLED=1
  • orphan: npm/@nuxt/telemetry@2.5.4
🚫
Install scripts npm/esbuild@0.21.5
  • orphan: npm/esbuild@0.21.5
🚫
Install scripts npm/esbuild@0.23.0
  • orphan: npm/esbuild@0.23.0
🚫

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.

What is telemetry?

This package contains telemetry which tracks how it is used.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

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/esbuild@0.20.2
  • @SocketSecurity ignore npm/@nuxt/telemetry@2.5.4
  • @SocketSecurity ignore npm/esbuild@0.21.5
  • @SocketSecurity ignore npm/esbuild@0.23.0

@sxzz
Copy link
Member

sxzz commented Jul 16, 2024

Renamed default to defaultLang since it's a reserved word in JS.

@zhiyuanzmj zhiyuanzmj marked this pull request as ready for review July 22, 2024 13:50
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 24, 2024
@sxzz sxzz merged commit 39e6c28 into main Jul 24, 2024
6 checks passed
@sxzz sxzz deleted the feat/script-lang branch July 24, 2024 00:32
@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
documentation Improvements or additions to documentation 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.

Auto Enable TypeScript for Vue SFC
2 participants