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

vscode-typescript-languageservice

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-typescript-languageservice - npm Package Compare versions

Comparing version 0.25.18 to 0.25.19

7

out/services/completion.d.ts
import type * as ts from 'typescript';
import { Position, CompletionItem } from 'vscode-languageserver/node';
import type { TextDocument } from 'vscode-languageserver-textdocument';
export interface Data {
fileName: string;
offset: number;
source: string | undefined;
name: string;
options: ts.GetCompletionsAtPositionOptions | undefined;
}
export declare function register(languageService: ts.LanguageService, getTextDocument: (uri: string) => TextDocument | undefined, rootDir: string): (uri: string, position: Position, options?: ts.GetCompletionsAtPositionOptions | undefined) => CompletionItem[];
export declare function handleKindModifiers(item: CompletionItem, entry: ts.CompletionEntry | ts.CompletionEntryDetails): void;

15

out/services/completion.js

@@ -29,2 +29,9 @@ "use strict";

.map(entry => {
const data = {
fileName,
offset,
source: entry.source,
name: entry.name,
options: _options,
};
let item = {

@@ -41,9 +48,3 @@ label: entry.name,

data: {
__volar__: {
fileName,
offset,
source: entry.source,
name: entry.name,
options: _options,
},
__volar__: data,
...entry.data,

@@ -50,0 +51,0 @@ },

@@ -9,7 +9,8 @@ "use strict";

return (item, newOffset) => {
const fileName = item.data.__volar__.fileName;
const offset = newOffset !== null && newOffset !== void 0 ? newOffset : item.data.__volar__.offset;
const name = item.data.__volar__.name;
const source = item.data.__volar__.source;
const options = item.data.__volar__.options;
const data = item.data.__volar__;
const fileName = data.fileName;
const offset = newOffset !== null && newOffset !== void 0 ? newOffset : data.offset;
const name = data.name;
const source = data.source;
const options = data.options;
let detail;

@@ -16,0 +17,0 @@ try {

{
"name": "vscode-typescript-languageservice",
"version": "0.25.18",
"version": "0.25.19",
"main": "out/index.js",

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

"dependencies": {
"@volar/shared": "^0.25.18",
"@volar/shared": "^0.25.19",
"typescript-vscode-sh-plugin": "^0.6.14",

@@ -26,3 +26,3 @@ "upath": "^2.0.1",

},
"gitHead": "50788a29e3c3aa2e7848e6df2a680ae1e40a7cf5"
"gitHead": "58e48b4ae205b355fd49681466c265fd1feabe7f"
}
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