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

@metlo/testing

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metlo/testing - npm Package Compare versions

Comparing version 0.2.19 to 0.2.20

yarn-error.log

5

dist/runner/step.js

@@ -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) {

2

dist/utils.js

@@ -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

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