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

@vue/language-service

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/language-service - npm Package Compare versions

Comparing version 2.0.17 to 2.0.18

2

index.js

@@ -76,3 +76,3 @@ "use strict";

plugins.push((0, volar_service_typescript_twoslash_queries_1.create)(ts), (0, css_1.create)(), (0, volar_service_pug_beautify_1.create)(), (0, volar_service_json_1.create)(), (0, vue_template_1.create)('html', ts, getVueOptions, getTsPluginClient), (0, vue_template_1.create)('pug', ts, getVueOptions, getTsPluginClient), (0, vue_sfc_1.create)(), (0, vue_twoslash_queries_1.create)(ts, getTsPluginClient), (0, vue_document_links_1.create)(), (0, vue_document_drop_1.create)(ts, getVueOptions, getTsPluginClient), (0, vue_autoinsert_dotvalue_1.create)(ts, getTsPluginClient), (0, vue_autoinsert_parentheses_1.create)(ts), (0, vue_autoinsert_space_1.create)(), (0, vue_visualize_hidden_callback_param_1.create)(), (0, vue_directive_comments_1.create)(), (0, vue_extract_file_1.create)(ts, getTsPluginClient), (0, vue_toggle_v_bind_codeaction_1.create)(ts), (0, volar_service_emmet_1.create)({
mappedModes: {
mappedLanguages: {
'vue': 'html',

@@ -79,0 +79,0 @@ 'postcss': 'scss',

@@ -5,3 +5,3 @@ "use strict";

const language_core_1 = require("@vue/language-core");
const vue_tsx_1 = require("@vue/language-core/lib/plugins/vue-tsx");
const language_core_2 = require("@vue/language-core");
function create() {

@@ -18,3 +18,3 @@ return {

const result = [];
const codegen = vue_tsx_1.tsCodegen.get(sourceScript.generated.root.sfc);
const codegen = language_core_2.tsCodegen.get(sourceScript.generated.root.sfc);
const scopedClasses = codegen?.generatedTemplate()?.scopedClasses ?? [];

@@ -21,0 +21,0 @@ const styleClasses = new Map();

@@ -29,12 +29,22 @@ "use strict";

};
const baseServicePlugin = mode === 'pug' ? volar_service_pug_1.create : volar_service_html_1.create;
const baseService = baseServicePlugin({
getCustomData() {
return [
...customData,
...extraCustomData,
];
},
onDidChangeCustomData,
});
const baseService = mode === 'pug'
? (0, volar_service_pug_1.create)({
getCustomData() {
return [
...customData,
...extraCustomData,
];
},
onDidChangeCustomData,
})
: (0, volar_service_html_1.create)({
documentSelector: ['html', 'markdown'],
getCustomData() {
return [
...customData,
...extraCustomData,
];
},
onDidChangeCustomData,
});
return {

@@ -41,0 +51,0 @@ name: `vue-template (${mode})`,

{
"name": "@vue/language-service",
"version": "2.0.17",
"version": "2.0.18",
"license": "MIT",

@@ -19,19 +19,19 @@ "files": [

"dependencies": {
"@volar/language-core": "~2.2.2",
"@volar/language-service": "~2.2.2",
"@volar/typescript": "~2.2.2",
"@volar/language-core": "~2.2.4",
"@volar/language-service": "~2.2.4",
"@volar/typescript": "~2.2.4",
"@vue/compiler-dom": "^3.4.0",
"@vue/language-core": "2.0.17",
"@vue/language-core": "2.0.18",
"@vue/shared": "^3.4.0",
"@vue/typescript-plugin": "2.0.17",
"@vue/typescript-plugin": "2.0.18",
"computeds": "^0.0.1",
"path-browserify": "^1.0.1",
"volar-service-css": "0.0.44",
"volar-service-emmet": "0.0.44",
"volar-service-html": "0.0.44",
"volar-service-json": "0.0.44",
"volar-service-pug": "0.0.44",
"volar-service-pug-beautify": "0.0.44",
"volar-service-typescript": "0.0.44",
"volar-service-typescript-twoslash-queries": "0.0.44",
"volar-service-css": "0.0.45",
"volar-service-emmet": "0.0.45",
"volar-service-html": "0.0.45",
"volar-service-json": "0.0.45",
"volar-service-pug": "0.0.45",
"volar-service-pug-beautify": "0.0.45",
"volar-service-typescript": "0.0.45",
"volar-service-typescript-twoslash-queries": "0.0.45",
"vscode-html-languageservice": "npm:@johnsoncodehk/vscode-html-languageservice@5.2.0-34a5462",

@@ -44,6 +44,6 @@ "vscode-languageserver-textdocument": "^1.0.11",

"@types/path-browserify": "latest",
"@volar/kit": "~2.2.2",
"@volar/kit": "~2.2.4",
"vscode-languageserver-protocol": "^3.17.5"
},
"gitHead": "968039cbb07961f318b4bf122bfa8e3e4a824277"
"gitHead": "7aac2805f03b17e4c624335f509d502002bb75a8"
}
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