New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

artillery-core

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artillery-core - npm Package Compare versions

Comparing version 1.5.5 to 1.5.6

12

lib/engine_http.js

@@ -340,4 +340,8 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

function extractJSONPath(doc, expr) {
let result = jsonpath.eval(doc, expr)[0];
return result;
let results = jsonpath.eval(doc, expr);
if (results.length > 1) {
return results[randomInt(0, results.length - 1)];
} else {
return results[0];
}
}

@@ -371,1 +375,5 @@

}
function randomInt (low, high) {
return Math.floor(Math.random() * (high - low + 1) + low);
}

4

package.json
{
"name": "artillery-core",
"version": "1.5.5",
"version": "1.5.6",
"description": "core load-generating functionality of Artillery",

@@ -21,3 +21,3 @@ "main": "index.js",

"dependencies": {
"JSONPath": "0.10.0",
"JSONPath": "0.11.2",
"arrivals": "latest",

@@ -24,0 +24,0 @@ "async": "1.5.2",

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