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.8 to 0.0.9

2

package.json

@@ -19,3 +19,3 @@ {

},
"version": "0.0.8"
"version": "0.0.9"
}

@@ -30,2 +30,6 @@ import { CommonProcess, ExecutionEvent } from './types';

get active() {
return !!this._proc;
}
send(eventType: string, data?: any) {

@@ -99,3 +103,4 @@ if (process.env.DEBUG) {

kill() {
this.clean();
this.release();
this._proc.kill('SIGKILL');
delete this._proc;

@@ -108,3 +113,3 @@ }

clean() {
release() {
if (this._proc) {

@@ -111,0 +116,0 @@ this._proc.removeAllListeners('message');

export * from './execution';
export * from './local';
export * from './child';
export * from './pool';
export * from './util';

@@ -1,4 +0,5 @@

import { ChildExecution, ExecutionPool, ArrayDataSource, IteratorDataSource } from '../src';
import { ChildExecution } from '../src';
import { ConcurrentPool, ArrayDataSource, IteratorDataSource } from '@travetto/pool';
const pool = new ExecutionPool<ChildExecution>(async () => {
const pool = new ConcurrentPool<ChildExecution>(async () => {
console.log('Initializing child');

@@ -5,0 +6,0 @@ const child = new ChildExecution(`${__dirname}/index.js`, true, {

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