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

@eclipse-che/theia-generator

Package Overview
Dependencies
Maintainers
3
Versions
683
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/theia-generator - npm Package Compare versions

Comparing version 0.0.1-1543417089 to 0.0.1-1543477881

4

dist/production.js

@@ -119,4 +119,4 @@ "use strict";

});
// ok now, add all files from these dependencies
const globOptions = { nocase: true, nosort: true, nodir: true, dot: true };
// ok now, add all files from these dependencies (and ignore node_modules dependencies)
const globOptions = { nocase: true, nosort: true, ignore: 'node_modules/**', nodir: true, dot: true };
this.toCopyFiles = this.toCopyFiles.concat.apply([], yield Promise.all(this.dependencies.map(dependencyDirectory => {

@@ -123,0 +123,0 @@ return glob.promise('**', Object.assign(globOptions, { cwd: dependencyDirectory }))

@@ -139,8 +139,9 @@ "use strict";

// insert all children as well
yarnNode.children.map(child => {
const childName = child.name.substring(0, child.name.lastIndexOf('@'));
if (dependencies.indexOf(childName) < 0) {
if (yarnNode.children) {
yarnNode.children.map(child => {
const childName = child.name.substring(0, child.name.lastIndexOf('@'));
dependencies.push(childName);
}
});
this.insertNode(child, nodeTreeDependencies);
});
}
}

@@ -147,0 +148,0 @@ /**

{
"name": "@eclipse-che/theia-generator",
"version": "0.0.1-1543417089",
"version": "0.0.1-1543477881",
"description": "Eclipse Che - Theia tooling",

@@ -5,0 +5,0 @@ "author": "Florent Benoit",

@@ -137,4 +137,4 @@ /*********************************************************************

// ok now, add all files from these dependencies
const globOptions = { nocase: true, nosort: true, nodir: true, dot: true };
// ok now, add all files from these dependencies (and ignore node_modules dependencies)
const globOptions = { nocase: true, nosort: true, ignore: 'node_modules/**', nodir: true, dot: true };
this.toCopyFiles = this.toCopyFiles.concat.apply([],

@@ -165,3 +165,4 @@ await Promise.all(this.dependencies.map(dependencyDirectory => {

Production.FORBIDDEN_PACKAGES,
Production.EXCLUDED_PACKAGES).getDependencies('@eclipse-che/theia-assembly'));
Production.EXCLUDED_PACKAGES,
).getDependencies('@eclipse-che/theia-assembly'));
return Promise.resolve(true);

@@ -168,0 +169,0 @@ }

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

import { CliError } from './cli-error';
/**

@@ -36,3 +37,4 @@ * Handle the parsing of node packages with Yarn.

private readonly forbiddenPackages: string[],
private readonly excludedPackages: string[]) { }
private readonly excludedPackages: string[],
) { }

@@ -85,2 +87,3 @@ /**

}
this.findDependencies(initNode!, nodeTreeDependencies, subsetDependencies);

@@ -158,8 +161,9 @@

// insert all children as well
yarnNode.children.map(child => {
const childName = child.name.substring(0, child.name.lastIndexOf('@'));
if (dependencies!.indexOf(childName) < 0) {
if (yarnNode.children) {
yarnNode.children.map(child => {
const childName = child.name.substring(0, child.name.lastIndexOf('@'));
dependencies!.push(childName);
}
});
this.insertNode(child, nodeTreeDependencies);
});
}
}

@@ -166,0 +170,0 @@

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