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

@vue/language-server

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-server - npm Package Compare versions

Comparing version 1.8.22 to 1.9.0-alpha.0

12

out/languageServerPlugin.js

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

const protocol_1 = require("./protocol");
const componentMeta = require("vue-component-meta");
const componentMeta = require("vue-component-meta/out/base");
const typescript_1 = require("@volar/typescript");

@@ -33,3 +33,3 @@ function createServerPlugin(connection) {

}
return vue.resolveConfig(config, ctx?.host.getCompilationSettings() ?? {}, vueOptions, ts, initOptions.codegenStack);
return vue.resolveConfig(ts, config, ctx?.host.getCompilationSettings() ?? {}, vueOptions, initOptions.codegenStack);
async function getVueCompilerOptions() {

@@ -77,2 +77,8 @@ const ts = modules.typescript;

});
connection.onRequest(protocol_1.GetDragAndDragImportEditsRequest.type, async (params) => {
const languageService = await getService(params.uri);
if (languageService) {
return nameCasing.getDragImportEdits(ts, languageService.context, params.uri, params.importUri, params.casing);
}
});
connection.onRequest(protocol_1.GetConvertAttrCasingEditsRequest.type, async (params) => {

@@ -95,3 +101,3 @@ const languageService = await getService(params.textDocument.uri);

if (!checker) {
checker = componentMeta.baseCreate(host, hostToVueOptions.get(host), {}, host.rootPath + '/tsconfig.json.global.vue', ts);
checker = componentMeta.baseCreate(ts, host, hostToVueOptions.get(host), {}, host.rootPath + '/tsconfig.json.global.vue');
checkers.set(host, checker);

@@ -98,0 +104,0 @@ }

@@ -30,2 +30,16 @@ import * as vscode from 'vscode-languageserver-protocol';

}
export declare namespace GetDragAndDragImportEditsRequest {
type ParamsType = {
uri: string;
importUri: string;
casing: TagNameCasing;
};
type ResponseType = {
insertText: string;
insertTextFormat: vscode.InsertTextFormat;
additionalEdits: vscode.TextEdit[];
} | null | undefined;
type ErrorType = never;
const type: vscode.RequestType<ParamsType, ResponseType, never>;
}
export declare namespace GetConvertAttrCasingEditsRequest {

@@ -32,0 +46,0 @@ type ParamsType = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParseSFCRequest = exports.GetConvertAttrCasingEditsRequest = exports.GetConvertTagCasingEditsRequest = exports.DetectNameCasingRequest = exports.GetComponentMeta = void 0;
exports.ParseSFCRequest = exports.GetConvertAttrCasingEditsRequest = exports.GetDragAndDragImportEditsRequest = exports.GetConvertTagCasingEditsRequest = exports.DetectNameCasingRequest = exports.GetComponentMeta = void 0;
const vscode = require("vscode-languageserver-protocol");

@@ -17,2 +17,6 @@ var GetComponentMeta;

})(GetConvertTagCasingEditsRequest || (exports.GetConvertTagCasingEditsRequest = GetConvertTagCasingEditsRequest = {}));
var GetDragAndDragImportEditsRequest;
(function (GetDragAndDragImportEditsRequest) {
GetDragAndDragImportEditsRequest.type = new vscode.RequestType('vue/dragImportEdits');
})(GetDragAndDragImportEditsRequest || (exports.GetDragAndDragImportEditsRequest = GetDragAndDragImportEditsRequest = {}));
var GetConvertAttrCasingEditsRequest;

@@ -19,0 +23,0 @@ (function (GetConvertAttrCasingEditsRequest) {

{
"name": "@vue/language-server",
"version": "1.8.22",
"version": "1.9.0-alpha.0",
"main": "out/index.js",

@@ -19,11 +19,11 @@ "license": "MIT",

"dependencies": {
"@volar/language-core": "~1.10.5",
"@volar/language-server": "~1.10.5",
"@volar/typescript": "~1.10.5",
"@vue/language-core": "1.8.22",
"@vue/language-service": "1.8.22",
"@volar/language-core": "~1.10.9",
"@volar/language-server": "~1.10.9",
"@volar/typescript": "~1.10.9",
"@vue/language-core": "1.9.0-alpha.0",
"@vue/language-service": "1.9.0-alpha.0",
"vscode-languageserver-protocol": "^3.17.5",
"vue-component-meta": "1.8.22"
"vue-component-meta": "1.9.0-alpha.0"
},
"gitHead": "1e8d09af0282c42dd816671ffcd5a2321276e3c3"
"gitHead": "d6905e4d4d1208f560a544509494f33f431b602a"
}
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