@eclipse-glsp/protocol
Advanced tools
Comparing version 2.3.0-next.396 to 2.3.0-next.397
@@ -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'; |
@@ -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; |
{ | ||
"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
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 10 instances 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 13 instances in 1 package
27
1148025
20097