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.5.3 to 0.5.4

12

package.json

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

"dependencies": {
"@travetto/base": "^0.5.4",
"@travetto/base": "^0.5.5",
"@types/generic-pool": "^3.1.6",

@@ -26,3 +26,7 @@ "generic-pool": "^3.4.2"

"license": "MIT",
"main": "src/lib/",
"main": "index.ts",
"files": [
"index.ts",
"src"
],
"name": "@travetto/exec",

@@ -32,4 +36,4 @@ "repository": {

},
"version": "0.5.3",
"gitHead": "a6b165a87702eb29efcadfd1f27450b7daba2782"
"version": "0.5.4",
"gitHead": "c966f7a6d0670d9ee4237576e7d5443285940bfc"
}
import * as cp from 'child_process';
import { BaseError } from '@travetto/base';
import { AppError } from '@travetto/base';

@@ -39,3 +39,3 @@ import { ExecutionOptions, ExecutionResult } from './types';

if (!result.valid) {
reject(new BaseError(`Error executing ${cmd}: ${result.message || 'failed'}`, result));
reject(new AppError(`Error executing ${cmd}: ${result.message || 'failed'}`, result));
} else {

@@ -42,0 +42,0 @@ resolve(result);

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