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

@nestia/e2e

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestia/e2e - npm Package Compare versions

Comparing version 0.3.1-dev.20230526-2 to 0.3.1-dev.20230526-3

33

lib/DynamicExecutor.js

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

var StopWatch_1 = require("./StopWatch");
var tstl_1 = require("tstl");
/**

@@ -258,3 +259,5 @@ * Dynamic Executor running prefixed functions.

switch (_e.label) {
case 0:
case 0: return [4 /*yield*/, (0, tstl_1.sleep_for)(100)];
case 1:
_e.sent();
_loop_1 = function (key, closure) {

@@ -328,25 +331,25 @@ var func, label, result, _f, exp_1;

};
_e.label = 1;
case 1:
_e.trys.push([1, 6, 7, 8]);
_a = __values(Object.entries(modulo)), _b = _a.next();
_e.label = 2;
case 2:
if (!!_b.done) return [3 /*break*/, 5];
_e.trys.push([2, 7, 8, 9]);
_a = __values(Object.entries(modulo)), _b = _a.next();
_e.label = 3;
case 3:
if (!!_b.done) return [3 /*break*/, 6];
_c = __read(_b.value, 2), key = _c[0], closure = _c[1];
return [5 /*yield**/, _loop_1(key, closure)];
case 3:
case 4:
state_1 = _e.sent();
if (typeof state_1 === "object")
return [2 /*return*/, state_1.value];
_e.label = 4;
case 4:
_e.label = 5;
case 5:
_b = _a.next();
return [3 /*break*/, 2];
case 5: return [3 /*break*/, 8];
case 6:
return [3 /*break*/, 3];
case 6: return [3 /*break*/, 9];
case 7:
e_2_1 = _e.sent();
e_2 = { error: e_2_1 };
return [3 /*break*/, 8];
case 7:
return [3 /*break*/, 9];
case 8:
try {

@@ -357,3 +360,3 @@ if (_b && !_b.done && (_d = _a.return)) _d.call(_a);

return [7 /*endfinally*/];
case 8: return [2 /*return*/];
case 9: return [2 /*return*/];
}

@@ -360,0 +363,0 @@ });

{
"name": "@nestia/e2e",
"version": "0.3.1-dev.20230526-2",
"version": "0.3.1-dev.20230526-3",
"description": "E2E test utilify functions",

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

@@ -6,2 +6,3 @@ import chalk from "chalk";

import { StopWatch } from "./StopWatch";
import { sleep_for } from "tstl";

@@ -230,2 +231,3 @@ /**

async (location: string, modulo: Module<Arguments>): Promise<void> => {
await sleep_for(100);
for (const [key, closure] of Object.entries(modulo)) {

@@ -232,0 +234,0 @@ if (key.substring(0, options.prefix.length) !== options.prefix)

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