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.3.6 to 0.3.7

6

package.json

@@ -11,3 +11,3 @@ {

"dependencies": {
"@travetto/base": "^0.3.7",
"@travetto/base": "^0.3.9",
"@types/generic-pool": "^3.1.4",

@@ -31,4 +31,4 @@ "generic-pool": "^3.4.2"

},
"version": "0.3.6",
"gitHead": "a97a54d48f681c8a3c265803ab1f8d8da1690f39"
"version": "0.3.7",
"gitHead": "4ea791fc452f6eec7ff7c1f879351f01799cbf5a"
}

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

import { Execution } from './execution';
import { Env } from '@travetto/base';

@@ -28,3 +29,3 @@ export class ChildExecution<U extends ExecutionEvent = ExecutionEvent> extends Execution<U, child_process.ChildProcess> {

if (process.env.DEBUG) {
if (Env.isTrue('DEBUG')) {
sub.stdout.pipe(process.stdout);

@@ -31,0 +32,0 @@ sub.stderr.pipe(process.stderr);

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

import { Shutdown, ScanFs, ScanEntry } from '@travetto/base';
import { Shutdown, ScanFs, ScanEntry, Env } from '@travetto/base';

@@ -74,3 +74,3 @@ import { CommonProcess, ExecutionResult } from './types';

constructor(private image: string, container?: string) {
this.container = container || `${process.env.DOCKER_NS || image}-${Date.now()}-${Math.random()}`.replace(/[^A-Z0-9a-z\-]/g, '');
this.container = container || `${Env.get('DOCKER_NS', image)}-${Date.now()}-${Math.random()}`.replace(/[^A-Z0-9a-z\-]/g, '');
}

@@ -77,0 +77,0 @@

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