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

@artilleryio/int-core

Package Overview
Dependencies
Maintainers
2
Versions
369
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artilleryio/int-core - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10-144e77d

15

lib/phases.js

@@ -13,3 +13,3 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

const debug = require('debug')('phases');
const crypto = require('crypto');
const { randomUUID } = require('crypto');
const driftless = require('driftless');

@@ -93,4 +93,7 @@

const task = function (callback) {
spec.startTime = Date.now();
spec.id = randomUUID();
ee.emit('phaseStarted', spec);
setTimeout(function () {
spec.endTime = Date.now();
ee.emit('phaseCompleted', spec);

@@ -149,2 +152,4 @@ return callback(null);

return async function rampTask(callback) {
spec.startTime = Date.now();
spec.id = randomUUID();
ee.emit('phaseStarted', spec);

@@ -155,3 +160,3 @@ for (let period = 0; period < periods; period++) {

}
spec.endTime = Date.now();
ee.emit('phaseCompleted', spec);

@@ -192,2 +197,4 @@ };

const task = function (callback) {
spec.startTime = Date.now();
spec.id = randomUUID();
ee.emit('phaseStarted', spec);

@@ -203,2 +210,3 @@ const duration = spec.duration * 1000;

p.on('finished', function () {
spec.endTime = Date.now();
ee.emit('phaseCompleted', spec);

@@ -218,2 +226,4 @@ return callback(null);

const task = function (callback) {
spec.startTime = Date.now();
spec.id = randomUUID();
ee.emit('phaseStarted', spec);

@@ -228,2 +238,3 @@ const ar = 1000 / spec.arrivalRate;

p.on('finished', function () {
spec.endTime = Date.now();
ee.emit('phaseCompleted', spec);

@@ -230,0 +241,0 @@ return callback(null);

11

package.json
{
"name": "@artilleryio/int-core",
"version": "2.0.9",
"version": "2.0.10-144e77d",
"main": "./index.js",
"dependencies": {
"@artilleryio/int-commons": "latest",
"@artilleryio/int-commons": "2.0.0-144e77d",
"@artilleryio/sketches-js": "^2.1.1",

@@ -28,2 +28,3 @@ "agentkeepalive": "^4.1.0",

"lodash": "^4.17.19",
"protobufjs": "^7.2.4",
"proxy": "^1.0.2",

@@ -40,3 +41,3 @@ "socket.io-client": "^4.5.1",

"lint-fix": "npm run lint -- --fix",
"test": "tap --no-coverage --timeout=300 test/core/unit/*.test.js && bash test/core/run.sh"
"test": "tap --no-coverage --color --timeout=300 test/core/unit/*.test.js && bash test/core/run.sh"
},

@@ -51,4 +52,4 @@ "devDependencies": {

"socket.io": "^4.7.1",
"tap": "15.2.3"
"tap": "^16.3.7"
}
}
}
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