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

@eclipse-glsp/protocol

Package Overview
Dependencies
Maintainers
6
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-glsp/protocol - npm Package Compare versions

Comparing version 2.3.0-next.374 to 2.3.0-next.375

15

lib/client-server-protocol/jsonrpc/base-jsonrpc-glsp-client.d.ts

@@ -0,1 +1,16 @@

/********************************************************************************
* Copyright (c) 2019-2024 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
import { Disposable, Message, MessageConnection } from 'vscode-jsonrpc';

@@ -2,0 +17,0 @@ import { ActionMessage } from '../../action-protocol/base-protocol';

29

lib/client-server-protocol/jsonrpc/base-jsonrpc-glsp-client.js
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.JsonrpcClientProxy = exports.BaseJsonrpcGLSPClient = void 0;
/********************************************************************************
* Copyright (c) 2019-2024 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
const inversify_1 = require("inversify");
const event_1 = require("../../utils/event");

@@ -157,3 +135,3 @@ const glsp_client_1 = require("../glsp-client");

*/
let JsonrpcClientProxy = class JsonrpcClientProxy {
class JsonrpcClientProxy {
initialize(clientConnection, enableLogging = false) {

@@ -170,7 +148,4 @@ this.clientConnection = clientConnection;

}
};
}
exports.JsonrpcClientProxy = JsonrpcClientProxy;
exports.JsonrpcClientProxy = JsonrpcClientProxy = __decorate([
(0, inversify_1.injectable)()
], JsonrpcClientProxy);
//# sourceMappingURL=base-jsonrpc-glsp-client.js.map
{
"name": "@eclipse-glsp/protocol",
"version": "2.3.0-next.374+96b3c76",
"version": "2.3.0-next.375+8eb216c",
"description": "The protocol definition for client-server communication in GLSP",

@@ -61,3 +61,3 @@ "keywords": [

},
"gitHead": "96b3c762fb376aa26e84ae5214d3950e4a45b3c8"
"gitHead": "8eb216caeeb5efa5691e39a449ee18a4aba99298"
}

@@ -16,3 +16,2 @@ /********************************************************************************

********************************************************************************/
import { injectable } from 'inversify';
import { Disposable, Message, MessageConnection } from 'vscode-jsonrpc';

@@ -179,3 +178,2 @@ import { ActionMessage } from '../../action-protocol/base-protocol';

*/
@injectable()
export class JsonrpcClientProxy implements GLSPClientProxy {

@@ -182,0 +180,0 @@ protected clientConnection?: MessageConnection;

Sorry, the diff of this file is not supported yet

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