Comparing version 1.2.0 to 1.2.1
@@ -0,0 +0,0 @@ var wrk = require('../index.js'); |
@@ -1,2 +0,2 @@ | ||
var exec = require('child_process').exec; | ||
var execFile = require('child_process').execFile; | ||
var parseWrk = require('./lib/parseWrk'); | ||
@@ -33,3 +33,4 @@ var util = require("util"); | ||
opts.debug && console.log(cmd); | ||
var child = exec(cmd, execOptions, function(error, stdout, stderr) { | ||
cmd = cmd.split(' ') | ||
var child = execFile(cmd[0], cmd.splice(1), execOptions, function(error, stdout, stderr) { | ||
if (opts.debug) { | ||
@@ -36,0 +37,0 @@ stdout && console.log(stdout); |
@@ -0,0 +0,0 @@ module.exports = parseWrk |
{ | ||
"name": "wrk", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "wrk load test tool wrapper and output parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -43,2 +43,3 @@ # node-wrk | ||
- `debug`: print the output of `wrk` to stdout | ||
- `execOptions`: options that will be directly passed through to the `child_process.exec` of wrk | ||
@@ -45,0 +46,0 @@ Callback parameters: (err, wrkResults) |
@@ -0,0 +0,0 @@ var test = require('tap').test; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Potential vulnerability
Supply chain riskInitial human review suggests the presence of a vulnerability in this package. It is pending further analysis and confirmation.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246
89
11200
7
2