New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

monaco-languageclient

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-languageclient - npm Package Compare versions

Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2

lib/console-window.d.ts

6

lib/index.d.ts

@@ -0,4 +1,8 @@

export * from './disposable';
export * from './console-window';
export * from './languages';
export * from './workspace';
export * from './converter';
export * from './disposable';
export * from './services';
export * from 'vscode-base-languageclient/lib/base';
export * from 'vscode-base-languageclient/lib/connection';

@@ -10,5 +10,9 @@ "use strict";

* ------------------------------------------------------------------------------------------ */
__export(require("./disposable"));
__export(require("./console-window"));
__export(require("./languages"));
__export(require("./workspace"));
__export(require("./converter"));
__export(require("./disposable"));
__export(require("./services"));
__export(require("vscode-base-languageclient/lib/base"));
__export(require("vscode-base-languageclient/lib/connection"));

@@ -13,2 +13,3 @@ import { Languages, DiagnosticCollection, CompletionItemProvider, DocumentIdentifier, HoverProvider, SignatureHelpProvider, DefinitionProvider, ReferenceProvider, DocumentHighlightProvider, DocumentSymbolProvider, CodeActionProvider, CodeLensProvider, DocumentFormattingEditProvider, DocumentRangeFormattingEditProvider, OnTypeFormattingEditProvider, RenameProvider, CompletionClientCapabilities, DocumentFilter, DocumentSelector } from "vscode-base-languageclient/lib/services";

}
export declare function testGlob(pattern: string, value: string): boolean;
export declare class MonacoLanguages implements Languages {

@@ -15,0 +16,0 @@ protected readonly p2m: ProtocolToMonacoConverter;

18

lib/languages.js

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

})(MonacoModelIdentifier = exports.MonacoModelIdentifier || (exports.MonacoModelIdentifier = {}));
function testGlob(pattern, value) {
var regExp = glob_to_regexp_1.default(pattern, {
extended: true,
globstar: true
});
return regExp.test(value);
}
exports.testGlob = testGlob;
var MonacoLanguages = (function () {

@@ -371,10 +379,4 @@ function MonacoLanguages(p2m, m2p) {

}
if (!!selector.pattern) {
var regExp = glob_to_regexp_1.default(selector.pattern, {
extended: true,
globstar: true
});
if (!regExp.test(model.uri.path)) {
return false;
}
if (!!selector.pattern && !testGlob(selector.pattern, model.uri.path)) {
return false;
}

@@ -381,0 +383,0 @@ return true;

{
"name": "monaco-languageclient",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"description": "Monaco Language client implementation",

@@ -25,3 +25,3 @@ "author": "TypeFox GmbH (http://www.typefox.io)",

"monaco-editor-core": "^0.8.2",
"vscode-base-languageclient": "^0.0.1-alpha.0"
"vscode-base-languageclient": "^0.0.1-alpha.2"
},

@@ -28,0 +28,0 @@ "scripts": {

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