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

@eclipse-che/che-theia-devworkspace-handler

Package Overview
Dependencies
Maintainers
5
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/che-theia-devworkspace-handler - npm Package Compare versions

Comparing version 0.0.1-1642005330 to 0.0.1-1642585378

2

lib/devfile/devworkspace-updater.js

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

if (extensionsForDevContainer) {
this.devContainerComponentUpdater.insert(devfileContext, extensionsForDevContainer);
await this.devContainerComponentUpdater.insert(devfileContext, extensionsForDevContainer);
}

@@ -70,0 +70,0 @@ // and add them

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

return extensionsWithSidecars.map(entry => {
const sidecarName = entry.sidecarName || `sidecar-${entry.id.replace(/[^\w\s]/gi, '-')}`;
// ensure it's max 63 characters
const sidecarName = (entry.sidecarName || `sidecar-${entry.id.replace(/[^\w\s]/gi, '-')}`).substring(0, 63);
// eslint-disable-next-line @typescript-eslint/no-explicit-any

@@ -34,0 +35,0 @@ const attributes = {

{
"name": "@eclipse-che/che-theia-devworkspace-handler",
"version": "0.0.1-1642005330",
"version": "0.0.1-1642585378",
"private": false,

@@ -5,0 +5,0 @@ "description": "Handle management of che-theia-plugins and devWorkspace templates",

@@ -83,3 +83,3 @@ /**********************************************************************

if (extensionsForDevContainer) {
this.devContainerComponentUpdater.insert(devfileContext, extensionsForDevContainer);
await this.devContainerComponentUpdater.insert(devfileContext, extensionsForDevContainer);
}

@@ -86,0 +86,0 @@

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

return extensionsWithSidecars.map(entry => {
const sidecarName = entry.sidecarName || `sidecar-${entry.id.replace(/[^\w\s]/gi, '-')}`;
// ensure it's max 63 characters
const sidecarName = (entry.sidecarName || `sidecar-${entry.id.replace(/[^\w\s]/gi, '-')}`).substring(0, 63);
// eslint-disable-next-line @typescript-eslint/no-explicit-any

@@ -33,0 +35,0 @@ const attributes: { [key: string]: any } = {

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