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

@eclipse-che/plugin-registry-generator

Package Overview
Dependencies
Maintainers
5
Versions
627
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/plugin-registry-generator - npm Package Compare versions

Comparing version 7.37.0-dev-fbd22b3 to 7.37.0

lib/tests/_data/meta/che-theia-meta-with-multiple-volumes.yaml

52

lib/build.js

@@ -199,93 +199,93 @@ "use strict";

__decorate([
inversify_1.inject('string[]'),
inversify_1.named('ARGUMENTS'),
(0, inversify_1.inject)('string[]'),
(0, inversify_1.named)('ARGUMENTS'),
__metadata("design:type", Array)
], Build.prototype, "args", void 0);
__decorate([
inversify_1.inject('string'),
inversify_1.named('PLUGIN_REGISTRY_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('PLUGIN_REGISTRY_ROOT_DIRECTORY'),
__metadata("design:type", String)
], Build.prototype, "pluginRegistryRootDirectory", void 0);
__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], Build.prototype, "outputRootDirectory", void 0);
__decorate([
inversify_1.inject('boolean'),
inversify_1.named('SKIP_DIGEST_GENERATION'),
(0, inversify_1.inject)('boolean'),
(0, inversify_1.named)('SKIP_DIGEST_GENERATION'),
__metadata("design:type", Boolean)
], Build.prototype, "skipDigests", void 0);
__decorate([
inversify_1.inject(featured_analyzer_1.FeaturedAnalyzer),
(0, inversify_1.inject)(featured_analyzer_1.FeaturedAnalyzer),
__metadata("design:type", featured_analyzer_1.FeaturedAnalyzer)
], Build.prototype, "featuredAnalyzer", void 0);
__decorate([
inversify_1.inject(che_theia_plugins_meta_yaml_generator_1.CheTheiaPluginsMetaYamlGenerator),
(0, inversify_1.inject)(che_theia_plugins_meta_yaml_generator_1.CheTheiaPluginsMetaYamlGenerator),
__metadata("design:type", che_theia_plugins_meta_yaml_generator_1.CheTheiaPluginsMetaYamlGenerator)
], Build.prototype, "cheTheiaPluginsMetaYamlGenerator", void 0);
__decorate([
inversify_1.inject(che_theia_plugins_yaml_generator_1.CheTheiaPluginsYamlGenerator),
(0, inversify_1.inject)(che_theia_plugins_yaml_generator_1.CheTheiaPluginsYamlGenerator),
__metadata("design:type", che_theia_plugins_yaml_generator_1.CheTheiaPluginsYamlGenerator)
], Build.prototype, "cheTheiaPluginsYamlGenerator", void 0);
__decorate([
inversify_1.inject(che_editors_meta_yaml_generator_1.CheEditorsMetaYamlGenerator),
(0, inversify_1.inject)(che_editors_meta_yaml_generator_1.CheEditorsMetaYamlGenerator),
__metadata("design:type", che_editors_meta_yaml_generator_1.CheEditorsMetaYamlGenerator)
], Build.prototype, "cheEditorsMetaYamlGenerator", void 0);
__decorate([
inversify_1.inject(che_plugins_meta_yaml_generator_1.ChePluginsMetaYamlGenerator),
(0, inversify_1.inject)(che_plugins_meta_yaml_generator_1.ChePluginsMetaYamlGenerator),
__metadata("design:type", che_plugins_meta_yaml_generator_1.ChePluginsMetaYamlGenerator)
], Build.prototype, "chePluginsMetaYamlGenerator", void 0);
__decorate([
inversify_1.inject(meta_yaml_writer_1.MetaYamlWriter),
(0, inversify_1.inject)(meta_yaml_writer_1.MetaYamlWriter),
__metadata("design:type", meta_yaml_writer_1.MetaYamlWriter)
], Build.prototype, "metaYamlWriter", void 0);
__decorate([
inversify_1.inject(che_theia_plugins_yaml_writer_1.CheTheiaPluginsYamlWriter),
(0, inversify_1.inject)(che_theia_plugins_yaml_writer_1.CheTheiaPluginsYamlWriter),
__metadata("design:type", che_theia_plugins_yaml_writer_1.CheTheiaPluginsYamlWriter)
], Build.prototype, "cheTheiaPluginsYamlWriter", void 0);
__decorate([
inversify_1.inject(external_images_writer_1.ExternalImagesWriter),
(0, inversify_1.inject)(external_images_writer_1.ExternalImagesWriter),
__metadata("design:type", external_images_writer_1.ExternalImagesWriter)
], Build.prototype, "externalImagesWriter", void 0);
__decorate([
inversify_1.inject(index_writer_1.IndexWriter),
(0, inversify_1.inject)(index_writer_1.IndexWriter),
__metadata("design:type", index_writer_1.IndexWriter)
], Build.prototype, "indexWriter", void 0);
__decorate([
inversify_1.inject(digest_images_helper_1.DigestImagesHelper),
(0, inversify_1.inject)(digest_images_helper_1.DigestImagesHelper),
__metadata("design:type", digest_images_helper_1.DigestImagesHelper)
], Build.prototype, "digestImagesHelper", void 0);
__decorate([
inversify_1.inject(featured_writer_1.FeaturedWriter),
(0, inversify_1.inject)(featured_writer_1.FeaturedWriter),
__metadata("design:type", featured_writer_1.FeaturedWriter)
], Build.prototype, "featuredWriter", void 0);
__decorate([
inversify_1.inject(recommendations_analyzer_1.RecommendationsAnalyzer),
(0, inversify_1.inject)(recommendations_analyzer_1.RecommendationsAnalyzer),
__metadata("design:type", recommendations_analyzer_1.RecommendationsAnalyzer)
], Build.prototype, "recommendationsAnalyzer", void 0);
__decorate([
inversify_1.inject(recommendations_writer_1.RecommendationsWriter),
(0, inversify_1.inject)(recommendations_writer_1.RecommendationsWriter),
__metadata("design:type", recommendations_writer_1.RecommendationsWriter)
], Build.prototype, "recommendationsWriter", void 0);
__decorate([
inversify_1.inject(vsix_url_analyzer_1.VsixUrlAnalyzer),
(0, inversify_1.inject)(vsix_url_analyzer_1.VsixUrlAnalyzer),
__metadata("design:type", vsix_url_analyzer_1.VsixUrlAnalyzer)
], Build.prototype, "vsixUrlAnalyzer", void 0);
__decorate([
inversify_1.inject(che_theia_plugins_analyzer_1.CheTheiaPluginsAnalyzer),
(0, inversify_1.inject)(che_theia_plugins_analyzer_1.CheTheiaPluginsAnalyzer),
__metadata("design:type", che_theia_plugins_analyzer_1.CheTheiaPluginsAnalyzer)
], Build.prototype, "cheTheiaPluginsAnalyzer", void 0);
__decorate([
inversify_1.inject(che_editors_analyzer_1.CheEditorsAnalyzer),
(0, inversify_1.inject)(che_editors_analyzer_1.CheEditorsAnalyzer),
__metadata("design:type", che_editors_analyzer_1.CheEditorsAnalyzer)
], Build.prototype, "cheEditorsAnalyzer", void 0);
__decorate([
inversify_1.inject(che_plugins_analyzer_1.ChePluginsAnalyzer),
(0, inversify_1.inject)(che_plugins_analyzer_1.ChePluginsAnalyzer),
__metadata("design:type", che_plugins_analyzer_1.ChePluginsAnalyzer)
], Build.prototype, "chePluginsAnalyzer", void 0);
Build = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], Build);
exports.Build = Build;
//# sourceMappingURL=build.js.map

@@ -34,5 +34,5 @@ "use strict";

ChePluginsAnalyzer = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], ChePluginsAnalyzer);
exports.ChePluginsAnalyzer = ChePluginsAnalyzer;
//# sourceMappingURL=che-plugins-analyzer.js.map

@@ -87,9 +87,9 @@ "use strict";

__decorate([
inversify_1.inject(volume_mount_helper_1.VolumeMountHelper),
(0, inversify_1.inject)(volume_mount_helper_1.VolumeMountHelper),
__metadata("design:type", volume_mount_helper_1.VolumeMountHelper)
], ChePluginsMetaYamlGenerator.prototype, "volumeMountHelper", void 0);
ChePluginsMetaYamlGenerator = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], ChePluginsMetaYamlGenerator);
exports.ChePluginsMetaYamlGenerator = ChePluginsMetaYamlGenerator;
//# sourceMappingURL=che-plugins-meta-yaml-generator.js.map

@@ -34,5 +34,5 @@ "use strict";

CheTheiaPluginsAnalyzer = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], CheTheiaPluginsAnalyzer);
exports.CheTheiaPluginsAnalyzer = CheTheiaPluginsAnalyzer;
//# sourceMappingURL=che-theia-plugins-analyzer.js.map

@@ -236,9 +236,9 @@ "use strict";

__decorate([
inversify_1.inject(sidecar_1.Sidecar),
(0, inversify_1.inject)(sidecar_1.Sidecar),
__metadata("design:type", sidecar_1.Sidecar)
], CheTheiaPluginsMetaYamlGenerator.prototype, "sidecar", void 0);
CheTheiaPluginsMetaYamlGenerator = CheTheiaPluginsMetaYamlGenerator_1 = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], CheTheiaPluginsMetaYamlGenerator);
exports.CheTheiaPluginsMetaYamlGenerator = CheTheiaPluginsMetaYamlGenerator;
//# sourceMappingURL=che-theia-plugins-meta-yaml-generator.js.map

@@ -149,9 +149,9 @@ "use strict";

__decorate([
inversify_1.inject(sidecar_1.Sidecar),
(0, inversify_1.inject)(sidecar_1.Sidecar),
__metadata("design:type", sidecar_1.Sidecar)
], CheTheiaPluginsYamlGenerator.prototype, "sidecar", void 0);
CheTheiaPluginsYamlGenerator = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], CheTheiaPluginsYamlGenerator);
exports.CheTheiaPluginsYamlGenerator = CheTheiaPluginsYamlGenerator;
//# sourceMappingURL=che-theia-plugins-yaml-generator.js.map

@@ -101,15 +101,15 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], CheTheiaPluginsYamlWriter.prototype, "outputRootDirectory", void 0);
__decorate([
inversify_1.inject('boolean'),
inversify_1.named('EMBED_VSIX'),
(0, inversify_1.inject)('boolean'),
(0, inversify_1.named)('EMBED_VSIX'),
__metadata("design:type", Boolean)
], CheTheiaPluginsYamlWriter.prototype, "embedVsix", void 0);
CheTheiaPluginsYamlWriter = CheTheiaPluginsYamlWriter_1 = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], CheTheiaPluginsYamlWriter);
exports.CheTheiaPluginsYamlWriter = CheTheiaPluginsYamlWriter;
//# sourceMappingURL=che-theia-plugins-yaml-writer.js.map

@@ -55,9 +55,9 @@ "use strict";

__decorate([
inversify_1.inject(volume_mount_helper_1.VolumeMountHelper),
(0, inversify_1.inject)(volume_mount_helper_1.VolumeMountHelper),
__metadata("design:type", volume_mount_helper_1.VolumeMountHelper)
], ContainerHelper.prototype, "volumeMountHelper", void 0);
ContainerHelper = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], ContainerHelper);
exports.ContainerHelper = ContainerHelper;
//# sourceMappingURL=container-helper.js.map

@@ -37,5 +37,5 @@ "use strict";

EndpointsHelper = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], EndpointsHelper);
exports.EndpointsHelper = EndpointsHelper;
//# sourceMappingURL=endpoints-helper.js.map

@@ -33,5 +33,5 @@ "use strict";

VolumeMountHelper = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], VolumeMountHelper);
exports.VolumeMountHelper = VolumeMountHelper;
//# sourceMappingURL=volume-mount-helper.js.map

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

components.unshift(component);
return components.map(iteratingComponent => JSON.parse(JSON.stringify(iteratingComponent).replace(/127\.0\.0\.1/g, '0.0.0.0')));
return components;
}

@@ -133,2 +133,5 @@ convert(inputMetaYaml) {

}
components = components.filter(function (item, pos, self) {
return self.findIndex(value => value.name === item.name) === pos;
});
devfileYaml.components = components;

@@ -139,5 +142,5 @@ return devfileYaml;

MetaYamlToDevfileYaml = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], MetaYamlToDevfileYaml);
exports.MetaYamlToDevfileYaml = MetaYamlToDevfileYaml;
//# sourceMappingURL=meta-yaml-to-devfile-yaml.js.map

@@ -34,5 +34,5 @@ "use strict";

CheEditorsAnalyzer = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], CheEditorsAnalyzer);
exports.CheEditorsAnalyzer = CheEditorsAnalyzer;
//# sourceMappingURL=che-editors-analyzer.js.map

@@ -93,13 +93,13 @@ "use strict";

__decorate([
inversify_1.inject(endpoints_helper_1.EndpointsHelper),
(0, inversify_1.inject)(endpoints_helper_1.EndpointsHelper),
__metadata("design:type", endpoints_helper_1.EndpointsHelper)
], CheEditorsMetaYamlGenerator.prototype, "endpointsHelper", void 0);
__decorate([
inversify_1.inject(container_helper_1.ContainerHelper),
(0, inversify_1.inject)(container_helper_1.ContainerHelper),
__metadata("design:type", container_helper_1.ContainerHelper)
], CheEditorsMetaYamlGenerator.prototype, "containerHelper", void 0);
CheEditorsMetaYamlGenerator = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], CheEditorsMetaYamlGenerator);
exports.CheEditorsMetaYamlGenerator = CheEditorsMetaYamlGenerator;
//# sourceMappingURL=che-editors-meta-yaml-generator.js.map

@@ -55,10 +55,10 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('DOWNLOAD_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('DOWNLOAD_ROOT_DIRECTORY'),
__metadata("design:type", String)
], VsixDownload.prototype, "downloadRootDirectory", void 0);
VsixDownload = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], VsixDownload);
exports.VsixDownload = VsixDownload;
//# sourceMappingURL=vsix-download.js.map

@@ -50,5 +50,5 @@ "use strict";

VsixReadInfo = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], VsixReadInfo);
exports.VsixReadInfo = VsixReadInfo;
//# sourceMappingURL=vsix-read-info.js.map

@@ -63,10 +63,10 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('UNPACKED_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('UNPACKED_ROOT_DIRECTORY'),
__metadata("design:type", String)
], VsixUnpack.prototype, "unpackedRootDirectory", void 0);
VsixUnpack = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], VsixUnpack);
exports.VsixUnpack = VsixUnpack;
//# sourceMappingURL=vsix-unpack.js.map

@@ -49,15 +49,15 @@ "use strict";

__decorate([
inversify_1.inject(vsix_download_1.VsixDownload),
(0, inversify_1.inject)(vsix_download_1.VsixDownload),
__metadata("design:type", vsix_download_1.VsixDownload)
], VsixUrlAnalyzer.prototype, "vsixDownload", void 0);
__decorate([
inversify_1.inject(vsix_unpack_1.VsixUnpack),
(0, inversify_1.inject)(vsix_unpack_1.VsixUnpack),
__metadata("design:type", vsix_unpack_1.VsixUnpack)
], VsixUrlAnalyzer.prototype, "vsixUnpack", void 0);
__decorate([
inversify_1.inject(vsix_read_info_1.VsixReadInfo),
(0, inversify_1.inject)(vsix_read_info_1.VsixReadInfo),
__metadata("design:type", vsix_read_info_1.VsixReadInfo)
], VsixUrlAnalyzer.prototype, "vsixReadInfo", void 0);
VsixUrlAnalyzer = __decorate([
inversify_1.injectable(),
(0, inversify_1.injectable)(),
__metadata("design:paramtypes", [])

@@ -64,0 +64,0 @@ ], VsixUrlAnalyzer);

@@ -71,5 +71,5 @@ "use strict";

FeaturedAnalyzer = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], FeaturedAnalyzer);
exports.FeaturedAnalyzer = FeaturedAnalyzer;
//# sourceMappingURL=featured-analyzer.js.map

@@ -36,10 +36,10 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], FeaturedWriter.prototype, "outputRootDirectory", void 0);
FeaturedWriter = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], FeaturedWriter);
exports.FeaturedWriter = FeaturedWriter;
//# sourceMappingURL=featured-writer.js.map

@@ -31,3 +31,5 @@ "use strict";

catch (error) {
console.error('stack=' + error.stack);
if (error instanceof Error) {
console.error('stack=' + error.stack);
}
console.error('Unable to start', error);

@@ -34,0 +36,0 @@ return false;

@@ -43,9 +43,9 @@ "use strict";

__decorate([
inversify_1.inject(registry_helper_1.RegistryHelper),
(0, inversify_1.inject)(registry_helper_1.RegistryHelper),
__metadata("design:type", registry_helper_1.RegistryHelper)
], DigestImagesHelper.prototype, "registryHelper", void 0);
DigestImagesHelper = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], DigestImagesHelper);
exports.DigestImagesHelper = DigestImagesHelper;
//# sourceMappingURL=digest-images-helper.js.map

@@ -51,10 +51,10 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], ExternalImagesWriter.prototype, "outputRootDirectory", void 0);
ExternalImagesWriter = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], ExternalImagesWriter);
exports.ExternalImagesWriter = ExternalImagesWriter;
//# sourceMappingURL=external-images-writer.js.map

@@ -60,10 +60,10 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], IndexWriter.prototype, "outputRootDirectory", void 0);
IndexWriter = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], IndexWriter);
exports.IndexWriter = IndexWriter;
//# sourceMappingURL=index-writer.js.map

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

__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], MetaYamlWriter.prototype, "outputRootDirectory", void 0);
__decorate([
inversify_1.inject('boolean'),
inversify_1.named('EMBED_VSIX'),
(0, inversify_1.inject)('boolean'),
(0, inversify_1.named)('EMBED_VSIX'),
__metadata("design:type", Boolean)
], MetaYamlWriter.prototype, "embedVsix", void 0);
__decorate([
inversify_1.inject(meta_yaml_to_devfile_yaml_1.MetaYamlToDevfileYaml),
(0, inversify_1.inject)(meta_yaml_to_devfile_yaml_1.MetaYamlToDevfileYaml),
__metadata("design:type", meta_yaml_to_devfile_yaml_1.MetaYamlToDevfileYaml)
], MetaYamlWriter.prototype, "metaYamlToDevfileYaml", void 0);
MetaYamlWriter = MetaYamlWriter_1 = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], MetaYamlWriter);
exports.MetaYamlWriter = MetaYamlWriter;
//# sourceMappingURL=meta-yaml-writer.js.map

@@ -91,5 +91,5 @@ "use strict";

RecommendationsAnalyzer = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], RecommendationsAnalyzer);
exports.RecommendationsAnalyzer = RecommendationsAnalyzer;
//# sourceMappingURL=recommendations-analyzer.js.map

@@ -47,10 +47,10 @@ "use strict";

__decorate([
inversify_1.inject('string'),
inversify_1.named('OUTPUT_ROOT_DIRECTORY'),
(0, inversify_1.inject)('string'),
(0, inversify_1.named)('OUTPUT_ROOT_DIRECTORY'),
__metadata("design:type", String)
], RecommendationsWriter.prototype, "outputRootDirectory", void 0);
RecommendationsWriter = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], RecommendationsWriter);
exports.RecommendationsWriter = RecommendationsWriter;
//# sourceMappingURL=recommendations-writer.js.map

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

constructor() {
this.git = simple_git_1.default({ maxConcurrentProcesses: 1 });
this.git = (0, simple_git_1.default)({ maxConcurrentProcesses: 1 });
}

@@ -50,3 +50,3 @@ init() {

}
const dockerImageName = docker_image_name_parser_1.parse(imageName);
const dockerImageName = (0, docker_image_name_parser_1.parse)(imageName);
if (dockerImageName.tag === 'nightly' || dockerImageName.tag === 'next') {

@@ -93,3 +93,3 @@ return imageName;

__decorate([
inversify_1.postConstruct(),
(0, inversify_1.postConstruct)(),
__metadata("design:type", Function),

@@ -100,3 +100,3 @@ __metadata("design:paramtypes", []),

RegistryHelper = __decorate([
inversify_1.injectable(),
(0, inversify_1.injectable)(),
__metadata("design:paramtypes", [])

@@ -103,0 +103,0 @@ ], RegistryHelper);

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

constructor() {
this.git = simple_git_1.default({ maxConcurrentProcesses: 1 });
this.git = (0, simple_git_1.default)({ maxConcurrentProcesses: 1 });
}

@@ -59,3 +59,3 @@ init() {

__decorate([
inversify_1.postConstruct(),
(0, inversify_1.postConstruct)(),
__metadata("design:type", Function),

@@ -66,3 +66,3 @@ __metadata("design:paramtypes", []),

SidecarDockerImage = SidecarDockerImage_1 = __decorate([
inversify_1.injectable(),
(0, inversify_1.injectable)(),
__metadata("design:paramtypes", [])

@@ -69,0 +69,0 @@ ], SidecarDockerImage);

@@ -43,9 +43,9 @@ "use strict";

__decorate([
inversify_1.inject(sidecar_docker_image_1.SidecarDockerImage),
(0, inversify_1.inject)(sidecar_docker_image_1.SidecarDockerImage),
__metadata("design:type", sidecar_docker_image_1.SidecarDockerImage)
], Sidecar.prototype, "sidecarDockerImage", void 0);
Sidecar = __decorate([
inversify_1.injectable()
(0, inversify_1.injectable)()
], Sidecar);
exports.Sidecar = Sidecar;
//# sourceMappingURL=sidecar.js.map
{
"name": "@eclipse-che/plugin-registry-generator",
"version": "7.37.0-dev-fbd22b3",
"version": "7.37.0",
"description": "Generator of yaml files exposed by the plug-in registry.",

@@ -27,7 +27,7 @@ "main": "lib/entrypoint.js",

"dependencies": {
"axios": "^0.21.1",
"axios": "^0.21.4",
"decompress": "^4.2.1",
"docker-image-name-parser": "^0.1.0",
"fs-extra": "^9.1.0",
"glob": "^7.1.6",
"fs-extra": "^10.0.0",
"glob": "^7.1.7",
"handlebars": "^4.7.7",

@@ -40,21 +40,21 @@ "inversify": "^5.1.1",

"semver": "^7.3.5",
"simple-git": "^2.38.0",
"tslib": "^2.2.0"
"simple-git": "^2.45.1",
"tslib": "^2.3.1"
},
"devDependencies": {
"@types/decompress": "^4.2.3",
"@types/fs-extra": "^9.0.11",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.23",
"@types/decompress": "^4.2.4",
"@types/fs-extra": "^9.0.12",
"@types/glob": "^7.1.4",
"@types/jest": "^27.0.1",
"@types/js-yaml": "^3.12.6",
"@types/semver": "^7.3.5",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"concurrently": "^6.0.2",
"@types/semver": "^7.3.8",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"concurrently": "^6.2.1",
"cpx": "^1.5.0",
"eslint": "^7.25.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-deprecation": "^1.2.0",
"eslint-plugin-deprecation": "^1.2.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-no-null": "^1.0.2",

@@ -64,10 +64,10 @@ "eslint-plugin-no-unsanitized": "^3.1.5",

"import-sort-style-eslint": "^6.0.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"prettier-plugin-import-sort": "^0.0.6",
"jest": "^27.2.0",
"prettier": "^2.4.1",
"prettier-plugin-import-sort": "^0.0.7",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.5",
"ts-jest": "^27.0.5",
"ts-mockito": "^2.6.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},

@@ -74,0 +74,0 @@ "jest": {

@@ -81,6 +81,3 @@ /**********************************************************************

// replace 127.0.0.1 by 0.0.0.0
return components.map(iteratingComponent =>
JSON.parse(JSON.stringify(iteratingComponent).replace(/127\.0\.0\.1/g, '0.0.0.0'))
);
return components;
}

@@ -186,2 +183,10 @@

}
// remove duplicated components, e.g. plugins
// container and init container may provide two volumes with the same name
// and it is enough to have in components list only one volume definition
components = components.filter(function (item, pos, self) {
return self.findIndex(value => value.name === item.name) === pos;
});
devfileYaml.components = components;

@@ -188,0 +193,0 @@ return devfileYaml;

@@ -11,2 +11,4 @@ #!/usr/bin/env node

***********************************************************************/
// prettier-ignore
import 'reflect-metadata';

@@ -13,0 +15,0 @@

@@ -27,3 +27,5 @@ /**********************************************************************

} catch (error) {
console.error('stack=' + error.stack);
if (error instanceof Error) {
console.error('stack=' + error.stack);
}
console.error('Unable to start', error);

@@ -30,0 +32,0 @@ return false;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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