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

@travetto/exec

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/exec - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

2

package.json

@@ -17,3 +17,3 @@ {

},
"version": "0.0.20"
"version": "0.0.21"
}

@@ -35,2 +35,3 @@ import * as child_process from 'child_process';

private env: { [key: string]: string } = {};
private ports: { [key: string]: number } = {};

@@ -70,2 +71,7 @@ public volumes: { [key: string]: string } = {};

addEnvVar(key: string, value: string) {
this.env[key] = value;
return this;
}
addVolume(local: string, container: string) {

@@ -133,2 +139,5 @@ this.volumes[local] = container;

}
for (const k of Object.keys(this.env)) {
finalArgs.push('-e', `"${k}=${this.env[k]}"`);
}

@@ -135,0 +144,0 @@ console.debug('Running', [...finalArgs, this.image, ...args]);

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