@eclipse-glsp/protocol
Advanced tools
Comparing version 2.3.0-next.374 to 2.3.0-next.375
@@ -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'; |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 7 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 7 instances in 1 package
1118464
19604