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

@eclipse-glsp/protocol

Package Overview
Dependencies
Maintainers
0
Versions
306
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.396 to 2.3.0-next.397

15

lib/di/lazy-injector.d.ts

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

********************************************************************************/
/********************************************************************************
* Copyright (c) 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 { interfaces } from 'inversify';

@@ -33,0 +18,0 @@ import { MaybeArray } from '../utils/array-util';

18

lib/di/lazy-injector.js

@@ -19,19 +19,3 @@ "use strict";

exports.bindLazyInjector = exports.DefaultLazyInjector = exports.LazyInjector = void 0;
/********************************************************************************
* Copyright (c) 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 error_msgs_1 = require("inversify/lib/constants/error_msgs");
exports.LazyInjector = Symbol('LazyInjector');

@@ -50,3 +34,3 @@ /**

if (service === undefined) {
throw new Error(error_msgs_1.NOT_REGISTERED + (0, inversify_1.getServiceIdentifierAsString)(serviceIdentifier));
throw new Error('No matching bindings found for serviceIdentifier:' + (0, inversify_1.getServiceIdentifierAsString)(serviceIdentifier));
}

@@ -53,0 +37,0 @@ return service;

4

package.json
{
"name": "@eclipse-glsp/protocol",
"version": "2.3.0-next.396+7aec575",
"version": "2.3.0-next.397+a980896",
"description": "The protocol definition for client-server communication in GLSP",

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

},
"gitHead": "7aec57568c54311d022bf3c53dbd00a16e356c1c"
"gitHead": "a9808968e774c7acfa0c783f77242dcd8a34c0e1"
}

@@ -17,20 +17,3 @@ /********************************************************************************

/********************************************************************************
* Copyright (c) 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 { getServiceIdentifierAsString, interfaces } from 'inversify';
import { NOT_REGISTERED } from 'inversify/lib/constants/error_msgs';
import { MaybeArray } from '../utils/array-util';

@@ -105,3 +88,3 @@ import { AnyObject } from '../utils/type-util';

if (service === undefined) {
throw new Error(NOT_REGISTERED + getServiceIdentifierAsString(serviceIdentifier));
throw new Error('No matching bindings found for serviceIdentifier:' + getServiceIdentifierAsString(serviceIdentifier));
}

@@ -108,0 +91,0 @@ return service;

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