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.4.4 to 0.4.5

8

package.json

@@ -11,4 +11,4 @@ {

"dependencies": {
"@travetto/base": "^0.4.4",
"@types/generic-pool": "^3.1.4",
"@travetto/base": "^0.4.7",
"@types/generic-pool": "^3.1.6",
"generic-pool": "^3.4.2"

@@ -31,4 +31,4 @@ },

},
"version": "0.4.4",
"gitHead": "cd17462f7331b7a5a74181cfa9a1573b7cd26f9e"
"version": "0.4.5",
"gitHead": "57ee4da983bfa3f2a7e3dac6a24ed0f4af5f71c2"
}

@@ -34,19 +34,15 @@ import * as os from 'os';

release(execution: T) {
if (execution.active) {
if (execution.release) {
execution.release();
async release(execution: T) {
try {
if (execution.active) {
if (execution.release) {
try {
await execution.release();
} catch { }
}
await this.pool.release(execution);
} else {
await this.pool.destroy(execution);
}
try {
this.pool.release(execution);
} catch (e) {
// Ignore if not owned
}
} else {
try {
this.pool.destroy(execution);
} catch (e) {
// Ignore if not owned
}
}
} catch { }
}

@@ -53,0 +49,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