🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

dredd

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dredd - npm Package Compare versions

Comparing version

to
14.1.0

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const v4_1 = __importDefault(require("uuid/v4"));
const uuid_1 = require("uuid");
const net_1 = __importDefault(require("net"));

@@ -315,3 +315,3 @@ const path_1 = __importDefault(require("path"));

this.runner.hooks[eventName]((data, hookCallback) => {
const uuid = v4_1.default();
const uuid = uuid_1.v4();
// Send transaction to the handler

@@ -318,0 +318,0 @@ const message = {

@@ -12,2 +12,3 @@ "use strict";

const js_yaml_1 = __importDefault(require("js-yaml"));
const logger_1 = __importDefault(require("./logger"));
const package_json_1 = __importDefault(require("../package.json"));

@@ -32,3 +33,9 @@ const INSTALL_DREDD = `npm install dredd@${package_json_1.default.version} --global`;

}
const updatedConfig = applyAnswers(config, answers);
let updatedConfig;
try {
updatedConfig = applyAnswers(config, answers);
}
catch (err) {
callback(err);
}
save(updatedConfig);

@@ -193,3 +200,9 @@ printClosingMessage(updatedConfig);

if (answers[name]) {
ci[name]();
try {
ci[name]();
}
catch (error) {
logger_1.default.error(`Failed to update ${name}`);
throw error;
}
}

@@ -196,0 +209,0 @@ });

@@ -7,3 +7,3 @@ "use strict";

const clone_1 = __importDefault(require("clone"));
const v4_1 = __importDefault(require("uuid/v4"));
const uuid_1 = require("uuid");
const os_1 = __importDefault(require("os"));

@@ -92,3 +92,3 @@ const request_1 = __importDefault(require("request"));

}
this.uuid = v4_1.default();
this.uuid = uuid_1.v4();
this.startedAt = Math.round(new Date().getTime() / 1000);

@@ -95,0 +95,0 @@ // Cycle through all keys from

{
"name": "dredd",
"version": "14.0.0",
"version": "14.1.0",
"description": "HTTP API Testing Framework",

@@ -40,4 +40,4 @@ "main": "build/index.js",

"clone": "2.1.2",
"cross-spawn": "7.0.2",
"dredd-transactions": "^10.0.0",
"cross-spawn": "7.0.3",
"dredd-transactions": "^10.1.0",
"gavel": "^9.1.1",

@@ -95,3 +95,3 @@ "glob": "7.1.6",

"homepage": "https://github.com/apiaryio/dredd/tree/master/packages/dredd",
"gitHead": "11e821a482745e89315e0832ed6c52c751755e73"
"gitHead": "b86696cb1f7d3130b57df2c281bcdac4042dc028"
}