New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vue-macros/volar

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-macros/volar - npm Package Compare versions

Comparing version 0.18.5 to 0.18.6

8

dist/jsx-directive.js

@@ -440,4 +440,8 @@ // src/jsx-directive.ts

for (const { attribute } of nodes) {
const attributeName = attribute.name.getText(sfc[source]?.ast).replaceAll(/-([A-Za-z])/g, (_, name) => name.toUpperCase());
let attributeName = attribute.name.getText(sfc[source]?.ast);
if (attributeName.includes("-")) {
attributeName = attributeName.replaceAll(
/-([A-Za-z])/g,
(_, name) => name.toUpperCase()
);
(0, import_language_core7.replaceSourceRange)(

@@ -517,3 +521,3 @@ codes,

vOnWithModifiers.push({ node, attribute });
} else if (/\S+[_|-]\S+/.test(attributeName)) {
} else if (/^(?!v-)\S+[_|-]\S+/.test(attributeName)) {
vBindNodes.push({ node, attribute });

@@ -520,0 +524,0 @@ }

{
"name": "@vue-macros/volar",
"version": "0.18.5",
"version": "0.18.6",
"packageManager": "pnpm@8.12.1",

@@ -5,0 +5,0 @@ "description": "Volar plugin for Vue Macros.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc