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

@volar/vue-typescript

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/vue-typescript - npm Package Compare versions

Comparing version 1.0.22 to 1.0.24

13

out/index.d.ts

@@ -10,10 +10,11 @@ import * as vue from '@volar/vue-language-core';

virtualFiles: {
all: Map<string, [string, import("typescript/lib/tsserverlibrary").IScriptSnapshot, import("@volar/language-core").VirtualFile, import("@volar/language-core").LanguageModule<import("@volar/language-core").VirtualFile>]>;
update(fileName: string, snapshot: import("typescript/lib/tsserverlibrary").IScriptSnapshot): import("@volar/language-core").VirtualFile | undefined;
delete(fileName: string): void;
get(fileName: string): readonly [import("typescript/lib/tsserverlibrary").IScriptSnapshot, import("@volar/language-core").VirtualFile] | undefined;
hasSourceFile: (fileName: string) => boolean;
allSources(): import("@volar/language-core").Source[];
updateSource(fileName: string, snapshot: import("typescript/lib/tsserverlibrary").IScriptSnapshot): import("@volar/language-core").VirtualFile | undefined;
deleteSource(fileName: string): void;
getSource(fileName: string): import("@volar/language-core").Source | undefined;
hasSource: (fileName: string) => boolean;
getMirrorMap: (file: import("@volar/language-core").VirtualFile) => import("@volar/language-core").MirrorMap | undefined;
getMaps: (virtualFile: import("@volar/language-core").VirtualFile) => [string, import("@volar/source-map").SourceMap<import("@volar/language-core").FileRangeCapabilities>][];
getSourceByVirtualFileName(fileName: string): readonly [string, import("typescript/lib/tsserverlibrary").IScriptSnapshot, import("@volar/language-core").VirtualFile] | undefined;
hasVirtualFile(fileName: string): boolean;
getVirtualFile(fileName: string): readonly [import("@volar/language-core").VirtualFile, import("@volar/language-core").Source] | readonly [undefined, undefined];
};

@@ -20,0 +21,0 @@ };

@@ -6,5 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });

function createLanguageService(host) {
return base.createLanguageService(host, vue.createLanguageModules(host.getTypeScriptModule(), host.getCompilationSettings(), host.getVueCompilationSettings()));
const languageService = base.createLanguageService(host, vue.createLanguageModules(host.getTypeScriptModule(), host.getCompilationSettings(), vue.resolveVueCompilerOptions(host.getVueCompilationSettings())));
const getCompletionsAtPosition = languageService.getCompletionsAtPosition;
languageService.getCompletionsAtPosition = (fileName, position, options) => {
const result = getCompletionsAtPosition(fileName, position, options);
if (result) {
result.entries = result.entries.filter(entry => entry.name.indexOf('__VLS_') === -1);
}
return result;
};
return languageService;
}
exports.createLanguageService = createLanguageService;
//# sourceMappingURL=index.js.map
{
"name": "@volar/vue-typescript",
"version": "1.0.22",
"version": "1.0.24",
"main": "out/index.js",

@@ -16,6 +16,6 @@ "license": "MIT",

"dependencies": {
"@volar/typescript": "1.0.22",
"@volar/vue-language-core": "1.0.22"
"@volar/typescript": "1.0.24",
"@volar/vue-language-core": "1.0.24"
},
"gitHead": "eed05323d6fe1d8eda712f63bb765ba57bdd40ae"
"gitHead": "46da609e8914e29642f4707dec31507ad51b03fc"
}
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