@volar/vue-typescript
Advanced tools
Comparing version 1.0.22 to 1.0.24
@@ -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" | ||
} |
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
4023
39
+ Added@volar/language-core@1.0.24(transitive)
+ Added@volar/source-map@1.0.24(transitive)
+ Added@volar/typescript@1.0.24(transitive)
+ Added@volar/vue-language-core@1.0.24(transitive)
- Removed@volar/language-core@1.0.22(transitive)
- Removed@volar/source-map@1.0.22(transitive)
- Removed@volar/typescript@1.0.22(transitive)
- Removed@volar/vue-language-core@1.0.22(transitive)
Updated@volar/typescript@1.0.24