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

@codingame/monaco-languageclient-wrapper

Package Overview
Dependencies
Maintainers
4
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/monaco-languageclient-wrapper - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

dist/extensionConfiguration.d.ts

8

dist/index.d.ts
import 'proxy-polyfill';
import { loadExtensionConfigurations } from './extensionConfiguration';
import { WillShutdownParams } from './extensions';
import './hacks';
import { createLanguageClientManager, StatusChangeEvent } from './languageClient';
import { createLanguageClientManager, LanguageClientManager, StatusChangeEvent } from './languageClient';
import { LanguageClientId } from './staticOptions';
export { createLanguageClientManager };
export type { StatusChangeEvent, LanguageClientId };
export { loadExtensionConfigurations, createLanguageClientManager, LanguageClientManager };
export type { StatusChangeEvent, LanguageClientId, WillShutdownParams };

@@ -22,2 +22,3 @@ import { MonacoLanguageClient, Emitter, Event, TextDocument } from '@codingame/monaco-languageclient';

private libraryUrls;
private mutualized;
languageClient?: MonacoLanguageClient;

@@ -29,3 +30,3 @@ protected readonly onDidChangeStatusEmitter: Emitter<StatusChangeEvent>;

protected currentStatus?: Status;
constructor(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, languageServerOptions: StaticLanguageClientOptions, libraryUrls: string[]);
constructor(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, languageServerOptions: StaticLanguageClientOptions, libraryUrls: string[], mutualized: boolean);
private updateStatus;

@@ -47,5 +48,5 @@ private notifyStatusChanged;

}
declare function createLanguageClientManager(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, libraryUrls: string[]): LanguageClientManager;
declare function createLanguageClientManager(id: LanguageClientId, sessionId: string | undefined, languageServerAddress: string, getSecurityToken: () => Promise<string>, libraryUrls: string[], mutualized?: boolean): LanguageClientManager;
declare function getAllLanguageClientManagers(): LanguageClientManager[];
declare function getAllLanguageClientManagersByTextDocument(textDocument: TextDocument): LanguageClientManager[];
export { createLanguageClientManager, getAllLanguageClientManagers, getAllLanguageClientManagersByTextDocument };

@@ -1,8 +0,6 @@

import { DocumentSelector, LanguageClientOptions } from '@codingame/monaco-languageclient';
export interface LanguageServerConfig {
documentSelector: DocumentSelector;
synchronizeConfigurationSection?: string | string[];
initializationOptions?: unknown | (() => unknown);
}
export declare type StaticLanguageClientOptions = Pick<LanguageClientOptions, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'>;
import { LanguageClientOptions } from '@codingame/monaco-languageclient';
export declare type StaticLanguageClientOptions = Pick<LanguageClientOptions, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'> & {
vscodeExtensionIds?: string[];
mutualizable: boolean;
};
declare type LanguageClientOptionsById<T extends string> = Record<T, StaticLanguageClientOptions>;

@@ -9,0 +7,0 @@ declare const staticOptions: LanguageClientOptionsById<"angular" | "bash" | "c" | "cpp" | "csharp" | "clojure" | "cobol" | "dart" | "go" | "groovy" | "java" | "javascript" | "kotlin" | "lua" | "php-serenata" | "php" | "python" | "r" | "react" | "ruby" | "rust" | "scala" | "sql" | "swift" | "typescript" | "vue">;

{
"name": "@codingame/monaco-languageclient-wrapper",
"version": "1.3.2",
"version": "1.4.0",
"private": false,

@@ -23,3 +23,3 @@ "description": "Enhanced Monaco editor with TextMate grammars and more",

"dependencies": {
"@codingame/monaco-editor-wrapper": "^1.1.4",
"@codingame/monaco-editor-wrapper": "^1.4.0",
"once": "^1.4.0",

@@ -26,0 +26,0 @@ "sweetalert": "^2.1.2"

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

Sorry, the diff of this file is not supported yet

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