Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quest-runner

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quest-runner - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

expect.js

@@ -51,4 +51,4 @@ const { Assert, AssertionError } = require('./assert.js');

const ansi = require('ansi-colors');
if (host == undefined || typeof(host) !== 'string' || !(host = host.trim()).length) return;
if (config != undefined && message == undefined && typeof(config) === 'string') {
if (host == undefined || typeof (host) !== 'string' || !(host = host.trim()).length) return;
if (config != undefined && message == undefined && typeof (config) === 'string') {
message = config;

@@ -58,3 +58,3 @@ config = undefined;

const ping = require('ping');
if (config == undefined || typeof(config) !== 'object') config = {};
if (config == undefined || typeof (config) !== 'object') config = {};
const print = !!config.print;

@@ -61,0 +61,0 @@ config = {

@@ -96,4 +96,9 @@

let fail;
let parameters = {};
let base = undefined;
for (const task of state.task) {
try {
number++;

@@ -105,5 +110,9 @@ if (task.info != undefined && typeof task.info === 'object') {

}
console.log(`${ansi.blueBright('TASK')} ${ansi.bgBlue(' ' + ansi.whiteBright(number) + ' ')}${task.name ? ' ' : ''}${task.name}`);
console.log();
state.test = new Test();
state.test.base = base;
state.test.parameters = parameters;
state.step = [];

@@ -189,2 +198,4 @@ if (task.code && typeof task.code === 'function') {

parameters = state.test.parameters;
base = state.test.base;
}

@@ -191,0 +202,0 @@ }

{
"name": "quest-runner",
"version": "0.1.0",
"version": "0.1.1",
"description": "Tool for creating and processing logic flow scenarios",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -133,3 +133,3 @@ const ansi = require('ansi-colors');

if (this.parameters == undefined) this.parameters = {};
const search = name.toLowerCase();
const search = name.toLowerCase();
let key = Object.keys(this.parameters).find(name => name.toLowerCase() === search);

@@ -136,0 +136,0 @@ if (value == undefined) {

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