@vue/language-service
Advanced tools
Comparing version 2.0.17 to 2.0.18
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1372827
28903
+ Added@emmetio/css-parser@0.4.0(transitive)
+ Added@emmetio/html-matcher@1.3.0(transitive)
+ Added@emmetio/stream-reader@2.2.0(transitive)
+ Added@emmetio/stream-reader-utils@0.1.0(transitive)
+ Added@vue/language-core@2.0.18(transitive)
+ Added@vue/typescript-plugin@2.0.18(transitive)
+ Addedvolar-service-css@0.0.45(transitive)
+ Addedvolar-service-emmet@0.0.45(transitive)
+ Addedvolar-service-html@0.0.45(transitive)
+ Addedvolar-service-json@0.0.45(transitive)
+ Addedvolar-service-pug@0.0.45(transitive)
+ Addedvolar-service-pug-beautify@0.0.45(transitive)
+ Addedvolar-service-typescript@0.0.45(transitive)
+ Addedvolar-service-typescript-twoslash-queries@0.0.45(transitive)
- Removed@vue/language-core@2.0.17(transitive)
- Removed@vue/typescript-plugin@2.0.17(transitive)
- Removedvolar-service-css@0.0.44(transitive)
- Removedvolar-service-emmet@0.0.44(transitive)
- Removedvolar-service-html@0.0.44(transitive)
- Removedvolar-service-json@0.0.44(transitive)
- Removedvolar-service-pug@0.0.44(transitive)
- Removedvolar-service-pug-beautify@0.0.44(transitive)
- Removedvolar-service-typescript@0.0.44(transitive)
- Removedvolar-service-typescript-twoslash-queries@0.0.44(transitive)
Updated@volar/language-core@~2.2.4
Updated@volar/typescript@~2.2.4
Updated@vue/language-core@2.0.18
Updatedvolar-service-css@0.0.45
Updatedvolar-service-emmet@0.0.45
Updatedvolar-service-html@0.0.45
Updatedvolar-service-json@0.0.45
Updatedvolar-service-pug@0.0.45