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

exframe-testing

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exframe-testing - npm Package Compare versions

Comparing version

to
1.2.2

14

lib/check-deps.js

@@ -18,7 +18,7 @@ 'use strict';

if (config[paramA] && config[paramA].url)
({ url, port = 80 } = config[paramA])
({ url, port } = config[paramA])
// else it is probably url string
else {
url = paramA;
port = paramB || 80
port = paramB
}

@@ -35,6 +35,12 @@

incomeOpts = incomeOpts || {};
for (const k of Object.keys(incomeOpts))
if (incomeOpts[k] === undefined)
delete incomeOpts[k];
const options = {
timeoutMs: 10000,
waitingInterval: 250,
...(incomeOpts || {}).filter(v => v !== undefined)
...incomeOpts
};

@@ -51,3 +57,3 @@

try {
await axios({ method: 'GET', url: `${url}:${port}/health` })
await axios({ method: 'GET', url: `${url}:${port || 80}/health` })
isRunning = true;

@@ -54,0 +60,0 @@ }

{
"name": "exframe-testing",
"version": "1.2.1",
"version": "1.2.2",
"bin": {

@@ -5,0 +5,0 @@ "exframe-testing": "./cli.js"