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.6.7 to 0.7.0-alpha.0

6

package.json

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

"dependencies": {
"@travetto/base": "^0.6.8"
"@travetto/base": "^0.7.0-alpha.0"
},

@@ -33,4 +33,4 @@ "homepage": "https://travetto.io",

},
"version": "0.6.7",
"gitHead": "db85544d26a8e9f9932ccc314b88f113fafbdee5"
"version": "0.7.0-alpha.0",
"gitHead": "75537744fd184d23d84fd84996d27690ebfc8733"
}

@@ -56,3 +56,3 @@ import { EnvUtil } from '@travetto/boot';

if (c) {
await c.create();
await c.create([this.config.containerEntry].filter(x => !!x));
await c.start();

@@ -59,0 +59,0 @@ c.setEntryPoint(this.config.containerEntry);

@@ -42,10 +42,6 @@ import * as net from 'net';

try {
const sock = net.createConnection(port, 'localhost', (err: any, succ: any) => { // FIXME: What do I want anymore
if (err) {
console.debug('Failed for port', port, err.message);
rej(err);
} else {
sock.destroy();
res(succ);
}
const sock = net.createConnection(port, 'localhost');
sock.on('connect', () => {
sock.destroy();
res();
});

@@ -52,0 +48,0 @@ sock.on('error', rej);

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