@metlo/testing
Advanced tools
Comparing version 0.2.19 to 0.2.20
@@ -6,2 +6,3 @@ "use strict"; | ||
const axios_1 = tslib_1.__importDefault(require("axios")); | ||
const lodash_clonedeep_1 = tslib_1.__importDefault(require("lodash.clonedeep")); | ||
const request_1 = require("./request"); | ||
@@ -47,7 +48,7 @@ const assertions_1 = require("./assertions"); | ||
const newCtx = Object.assign(Object.assign({}, ctx), { envVars: Object.assign(Object.assign({}, ctx.envVars), data) }); | ||
const currRes = yield (0, exports.runStep)(idx, { | ||
const currRes = yield (0, exports.runStep)(idx, (0, lodash_clonedeep_1.default)({ | ||
extract: step.extract, | ||
assert: step.assert, | ||
request: step.request, | ||
}, nextSteps, newCtx, config); | ||
}), (0, lodash_clonedeep_1.default)(nextSteps), newCtx, config); | ||
results.push(currRes); | ||
@@ -54,0 +55,0 @@ if (!currRes.success && config.stopOnFailure) { |
@@ -76,3 +76,3 @@ "use strict"; | ||
const stringReplacement = (string, envVars) => { | ||
const template = Handlebars.compile(string); | ||
const template = Handlebars.compile(string, { noEscape: true }); | ||
const templated = template(envVars); | ||
@@ -79,0 +79,0 @@ return templated; |
{ | ||
"name": "@metlo/testing", | ||
"version": "0.2.19", | ||
"version": "0.2.20", | ||
"license": "MIT", | ||
@@ -18,2 +18,3 @@ "main": "dist/index.js", | ||
"@types/jsdom": "^20.0.1", | ||
"@types/lodash.clonedeep": "^4.5.7", | ||
"@types/lodash.get": "^4.4.7", | ||
@@ -34,2 +35,3 @@ "@types/uuid": "^9.0.0", | ||
"jsdom": "^20.0.3", | ||
"lodash.clonedeep": "^4.5.0", | ||
"lodash.get": "^4.4.2", | ||
@@ -36,0 +38,0 @@ "uuid": "^9.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1009356
92
9329
12
11
+ Addedlodash.clonedeep@^4.5.0
+ Addedlodash.clonedeep@4.5.0(transitive)