Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@volar/vue-language-core

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/vue-language-core - npm Package Compare versions

Comparing version 1.4.4 to 1.5.0

7

out/generators/script.js

@@ -58,8 +58,3 @@ "use strict";

};
if (vueCompilerOptions.jsxTemplates && vueCompilerOptions.target >= 3.3) {
codes.push(`/** @jsxImportSource vue */\n`);
}
else {
codes.push('/** __vue_virtual_code_placeholder */\n');
}
codes.push('/** __vue_virtual_code_placeholder */\n');
let generatedTemplate = false;

@@ -66,0 +61,0 @@ generateSrc();

@@ -89,15 +89,6 @@ "use strict";

const lang = (0, reactivity_1.computed)(() => {
let lang = !_sfc.script && !_sfc.scriptSetup ? 'ts'
return !_sfc.script && !_sfc.scriptSetup ? 'ts'
: _sfc.scriptSetup && _sfc.scriptSetup.lang !== 'js' ? _sfc.scriptSetup.lang
: _sfc.script && _sfc.script.lang !== 'js' ? _sfc.script.lang
: 'js';
if (vueCompilerOptions.jsxTemplates) {
if (lang === 'js') {
lang = 'jsx';
}
else if (lang === 'ts') {
lang = 'tsx';
}
}
return lang;
});

@@ -104,0 +95,0 @@ const cssVars = (0, reactivity_1.computed)(() => collectCssVars(_sfc));

@@ -17,3 +17,2 @@ import * as embedded from '@volar/language-core';

extensions: string[];
jsxTemplates: boolean;
strictTemplates: boolean;

@@ -20,0 +19,0 @@ skipTemplateCodegen: boolean;

@@ -170,3 +170,2 @@ "use strict";

extensions: vueOptions.extensions ?? ['.vue'],
jsxTemplates: vueOptions.jsxTemplates ?? false,
strictTemplates: vueOptions.strictTemplates ?? false,

@@ -173,0 +172,0 @@ skipTemplateCodegen: vueOptions.skipTemplateCodegen ?? false,

4

package.json
{
"name": "@volar/vue-language-core",
"version": "1.4.4",
"version": "1.5.0",
"main": "out/index.js",

@@ -29,3 +29,3 @@ "license": "MIT",

},
"gitHead": "3f9b54190b431969f3659be740edb9a481564f8b"
"gitHead": "4e2ea5bb680127968bb82a6622ea335372e0e786"
}

Sorry, the diff of this file is too big to display

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