Socket
Socket
Sign inDemoInstall

@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-3 to 0.3.1-dev.20230526-4

34

lib/DynamicExecutor.js

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

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

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

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

@@ -331,25 +329,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:
_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];
if (!!_b.done) return [3 /*break*/, 5];
_c = __read(_b.value, 2), key = _c[0], closure = _c[1];
return [5 /*yield**/, _loop_1(key, closure)];
case 4:
case 3:
state_1 = _e.sent();
if (typeof state_1 === "object")
return [2 /*return*/, state_1.value];
_e.label = 5;
case 5:
_e.label = 4;
case 4:
_b = _a.next();
return [3 /*break*/, 3];
case 6: return [3 /*break*/, 9];
case 7:
return [3 /*break*/, 2];
case 5: return [3 /*break*/, 8];
case 6:
e_2_1 = _e.sent();
e_2 = { error: e_2_1 };
return [3 /*break*/, 9];
case 8:
return [3 /*break*/, 8];
case 7:
try {

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

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

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

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

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

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

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

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

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

@@ -234,0 +233,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