Socket
Socket
Sign inDemoInstall

vscode

Package Overview
Dependencies
Maintainers
6
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode - npm Package Compare versions

Comparing version 0.10.0-pre.4 to 0.10.0-pre.5

typings/UPDATE.md

2

package.json
{
"name": "vscode",
"version": "0.10.0-pre.4",
"version": "0.10.0-pre.5",
"typings": "vscode.d.ts",

@@ -5,0 +5,0 @@ "dependencies": {

declare type PropertyKey = string | number | symbol;
// ### VSCode Change Start: We want PromiseLike to be Thenable
interface Thenable<T> extends PromiseLike<T> {}
// ### VSCode CHange End
interface Symbol {

@@ -4,0 +8,0 @@ /** Returns a string representation of an object. */

@@ -59,2 +59,9 @@ /*---------------------------------------------------------

export function executeCommand<T>(command: string, ...rest: any[]): Thenable<T>;
/**
* Retrieve the list of all avialable commands.
*
* @return Thenable that resolves to a list of command ids.
*/
export function getCommands(): Thenable<string[]>;
}

@@ -466,7 +473,14 @@

export interface CodeActionContext {
diagnostics: Diagnostic[];
}
export interface CodeActionProvider {
provideCodeActions(document: TextDocument, where: Range, token: CancellationToken): CommandReference[] | Thenable<CommandReference[]>;
provideCodeActions(document: TextDocument, range: Range, context: CodeActionContext, token: CancellationToken): CommandReference[] | Thenable<CommandReference[]>;
}
export interface CodeLensProvider {
provideCodeLenses(document: TextDocument, where: Range, token: CancellationToken): CommandReference[] | Thenable<CommandReference[]>;
}
export type Definition = Location | Location[];

@@ -577,4 +591,6 @@

export enum DiagnosticSeverity {
Hint = 3,
Information = 2,
Warning = 1,
Error = 2
Error = 0
}

@@ -609,5 +625,4 @@

// TODO@api, TODO@Joh,Ben
// output channels need to be known upfront (contributes in package.json)
export interface OutputChannel extends Disposable {
export class OutputChannel {
constructor(name: string);
append(value: string): void;

@@ -666,4 +681,2 @@ appendLine(value: string): void;

export function showInputBox(options?: InputBoxOptions): Thenable<string>;
export function createOutputChannel(name: string): OutputChannel;
}

@@ -767,2 +780,7 @@

*/
export function registerCodeLensProvider(language: LanguageSelector, provider: CodeLensProvider): Disposable;
/**
*
*/
export function registerDefinitionProvider(selector: LanguageSelector, provider: DefinitionProvider): Disposable;

@@ -769,0 +787,0 @@

@@ -59,2 +59,9 @@ /*---------------------------------------------------------

export function executeCommand<T>(command: string, ...rest: any[]): Thenable<T>;
/**
* Retrieve the list of all avialable commands.
*
* @return Thenable that resolves to a list of command ids.
*/
export function getCommands(): Thenable<string[]>;
}

@@ -466,7 +473,14 @@

export interface CodeActionContext {
diagnostics: Diagnostic[];
}
export interface CodeActionProvider {
provideCodeActions(document: TextDocument, where: Range, token: CancellationToken): CommandReference[] | Thenable<CommandReference[]>;
provideCodeActions(document: TextDocument, range: Range, context: CodeActionContext, token: CancellationToken): CommandReference[] | Thenable<CommandReference[]>;
}
export interface CodeLensProvider {
provideCodeLenses(document: TextDocument, where: Range, token: CancellationToken): CommandReference[] | Thenable<CommandReference[]>;
}
export type Definition = Location | Location[];

@@ -577,4 +591,6 @@

export enum DiagnosticSeverity {
Hint = 3,
Information = 2,
Warning = 1,
Error = 2
Error = 0
}

@@ -609,5 +625,4 @@

// TODO@api, TODO@Joh,Ben
// output channels need to be known upfront (contributes in package.json)
export interface OutputChannel extends Disposable {
export class OutputChannel {
constructor(name: string);
append(value: string): void;

@@ -666,4 +681,2 @@ appendLine(value: string): void;

export function showInputBox(options?: InputBoxOptions): Thenable<string>;
export function createOutputChannel(name: string): OutputChannel;
}

@@ -767,2 +780,7 @@

*/
export function registerCodeLensProvider(language: LanguageSelector, provider: CodeLensProvider): Disposable;
/**
*
*/
export function registerDefinitionProvider(selector: LanguageSelector, provider: DefinitionProvider): Disposable;

@@ -769,0 +787,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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