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

@eclipse-che/plugin

Package Overview
Dependencies
Maintainers
3
Versions
896
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/plugin - npm Package Compare versions

Comparing version 0.0.1-1544532290 to 0.0.1-1544617370

2

package.json
{
"name": "@eclipse-che/plugin",
"version": "0.0.1-1544532290",
"version": "0.0.1-1544617370",
"description": "Eclipse Che specific Theia plugin API",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -198,2 +198,48 @@ /*********************************************************************

/**
* Namespace for variables substitution functionality.
*/
export namespace variables {
/**
* Register a variable.
*
* @param variable A variable to register.
*/
export function registerVariable(variable: Variable): Promise<Disposable>;
/**
* Resolve string value.
*
* @param value a string value to resolve. If the string contains '${<variable>}' the pattern will be replaced to a variables value.
*/
export function resolve(value: string): Promise<string | undefined>;
}
export class Variable {
/**
* Creates a new variable.
*
* @param name The variable's unique name.
* @param description The variable's human-readable description. Is presented in the user interface.
* @param value The variable's value that may be resolved later.
* @param isResolved `true` when there is a value already associated and the variable shouldn't be resolved again, i.e. it's value doesn't depend on the current context.
*/
constructor(name: string, description: string, value?: string, isResolved?: boolean);
name: string;
description: string;
value?: string;
resolve(): PromiseLike<string | undefined>;
readonly isResolved: boolean;
}
export interface Disposable {
dispose(): PromiseLike<void>;
}
}
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