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

@eclipse-che/theia-factory-plugin

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/theia-factory-plugin - npm Package Compare versions

Comparing version 0.0.1-1547041312 to 0.0.1-1547111869

4

package.json

@@ -6,3 +6,3 @@ {

],
"version": "0.0.1-1547041312",
"version": "0.0.1-1547111869",
"license": "EPL-2.0",

@@ -15,3 +15,3 @@ "files": [

"@theia/plugin-packager": "^0.0.1-1539891078",
"@eclipse-che/plugin": "^0.0.1-1546522786",
"@eclipse-che/plugin": "^0.0.1-1546977605",
"@types/jest": "22.2.3",

@@ -18,0 +18,0 @@ "jest": "22.4.3",

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

import * as che from '@eclipse-che/plugin';
import { che as cheApi } from '@eclipse-che/api';
import { TheiaCloneCommand, TheiaCommand } from './theia-commands';

@@ -39,3 +40,3 @@

let factory: che.Factory;
let factory: cheApi.factory.Factory;
try {

@@ -66,3 +67,3 @@ factory = await che.factory.getById(factoryId);

*/
private async getCloneCommands(factory: che.Factory) {
private async getCloneCommands(factory: cheApi.factory.Factory) {
const instance = this;

@@ -82,3 +83,3 @@

*/
private getOnProjectsImportedCommands(factory: che.Factory) {
private getOnProjectsImportedCommands(factory: cheApi.factory.Factory) {
if (!factory.ide || !factory.ide.onProjectsLoaded || !factory.ide.onProjectsLoaded.actions) {

@@ -89,3 +90,3 @@ return [];

return factory.ide.onProjectsLoaded.actions.map(
action => new TheiaCommand(action.id, action.properties)
action => new TheiaCommand(action.id!, action.properties)
);

@@ -92,0 +93,0 @@ }

@@ -11,3 +11,3 @@ /*********************************************************************

import * as theia from '@theia/plugin';
import * as che from '@eclipse-che/plugin';
import { che as cheApi } from '@eclipse-che/api';
import convertToFileURI from './openfile';

@@ -31,3 +31,3 @@

constructor(project: che.ProjectConfig, projectsRoot: string) {
constructor(project: cheApi.workspace.ProjectConfig, projectsRoot: string) {
this.locationURI = project.source && project.source.location ? project.source.location : undefined;

@@ -34,0 +34,0 @@ this.folder = projectsRoot + project.path;

@@ -14,2 +14,4 @@ /*********************************************************************

import * as che from '@eclipse-che/plugin';
import { che as cheApi } from '@eclipse-che/api';
const fs = require('fs');

@@ -36,6 +38,6 @@

async selectProjectToCloneCommands(workspace: che.Workspace): Promise<TheiaCloneCommand[]> {
async selectProjectToCloneCommands(workspace: cheApi.workspace.Workspace): Promise<TheiaCloneCommand[]> {
const instance = this;
const projects = workspace.config.projects;
const projects = workspace.config!.projects;
if (!projects) {

@@ -42,0 +44,0 @@ return [];

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