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

@travetto/worker

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/worker - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

package.json

@@ -12,3 +12,3 @@ {

"dependencies": {
"@travetto/base": "^1.0.1",
"@travetto/base": "^1.0.2",
"@types/generic-pool": "^3.1.9",

@@ -35,4 +35,4 @@ "generic-pool": "^3.7.1"

},
"version": "1.0.1",
"gitHead": "8f3d485c2997143df05241d7d12a24dd46525071"
"version": "1.0.2",
"gitHead": "9ca7c2f3ea75622df49ef9773aa9dd7340aa580f"
}

@@ -103,3 +103,5 @@ <!-- This file was generated by the framweork and should not be modified directly -->

const channel = new ParentCommChannel(
ExecUtil.fork(command, args, opts)
ExecUtil.fork(command, args, {
...(opts ?? {})
})
);

@@ -106,0 +108,0 @@ return {

@@ -8,3 +8,3 @@ import { ChildProcess } from 'child_process';

public proc: T;
proc: T;

@@ -11,0 +11,0 @@ constructor(proc: T) {

@@ -130,2 +130,3 @@ import * as os from 'os';

const worker = (await this.pool.acquire())!;
console.debug(`[${process.pid}] Acquired ${worker.id}`);
const nextInput = await src.next();

@@ -132,0 +133,0 @@

@@ -25,3 +25,5 @@ import { ExecUtil, ExecutionOptions, } from '@travetto/boot';

const channel = new ParentCommChannel(
ExecUtil.fork(command, args, opts)
ExecUtil.fork(command, args, {
...(opts ?? {})
})
);

@@ -28,0 +30,0 @@ return {

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