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

@vue/typescript

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/typescript - npm Package Compare versions

Comparing version 1.7.8 to 1.7.9

21

out/index.d.ts
import * as vue from '@vue/language-core';
export declare function createLanguageService(host: vue.LanguageServiceHost, vueCompilerOptions: Partial<vue.VueCompilerOptions>, ts: typeof import('typescript/lib/tsserverlibrary')): {
import type { ServiceEnvironment } from '@volar/language-service';
export declare function createLanguageService(host: vue.TypeScriptLanguageHost, vueCompilerOptions: Partial<vue.VueCompilerOptions>, ts: typeof import('typescript/lib/tsserverlibrary'), env: ServiceEnvironment): {
__internal__: {
languageServiceHost: import("typescript/lib/tsserverlibrary").LanguageServiceHost;
languageService: import("typescript/lib/tsserverlibrary").LanguageService;
context: {
typescript: {
languageServiceHost: import("typescript/lib/tsserverlibrary").LanguageServiceHost;
};
virtualFiles: {
allSources(): vue.Source[];
updateSource(fileName: string, snapshot: import("typescript/lib/tsserverlibrary").IScriptSnapshot, languageId: string | undefined): vue.VirtualFile | undefined;
deleteSource(fileName: string): void;
getSource(fileName: string): vue.Source | undefined;
hasSource: (fileName: string) => boolean;
getMirrorMap: (file: vue.VirtualFile) => vue.MirrorMap | undefined;
getMaps: (virtualFile: vue.VirtualFile) => [string, vue.SourceMap<vue.FileRangeCapabilities>][];
hasVirtualFile(fileName: string): boolean;
getVirtualFile(fileName: string): readonly [vue.VirtualFile, vue.Source] | readonly [undefined, undefined];
};
};
context: vue.LanguageContext;
};
} & import("typescript/lib/tsserverlibrary").LanguageService;

6

out/index.js

@@ -6,4 +6,6 @@ "use strict";

const vue = require("@vue/language-core");
function createLanguageService(host, vueCompilerOptions, ts) {
const languageService = base.createLanguageService(host, vue.createLanguages(host.getCompilationSettings(), vueCompilerOptions, ts), ts);
function createLanguageService(host, vueCompilerOptions, ts, env) {
const languageContext = vue.createLanguageContext(host, vue.createLanguages(host.getCompilationSettings(), vueCompilerOptions, ts));
const sys = base.createSys(languageContext, ts, env);
const languageService = base.createLanguageService(languageContext, ts, sys);
const getCompletionsAtPosition = languageService.getCompletionsAtPosition;

@@ -10,0 +12,0 @@ languageService.getCompletionsAtPosition = (fileName, position, options) => {

{
"name": "@vue/typescript",
"version": "1.7.8",
"version": "1.7.9",
"main": "out/index.js",

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

"dependencies": {
"@volar/typescript": "1.6.9",
"@vue/language-core": "1.7.8"
"@volar/typescript": "1.7.3",
"@vue/language-core": "1.7.9"
},
"gitHead": "9841dc5c7b19c2b1d24fcc95a808f29af39710b8"
"gitHead": "70f9ebedbc55a8d342ec425cc483dfe39c4b7489"
}
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