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.0 to 0.3.1-dev.20230526

26

lib/DynamicExecutor.js

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

var path_1 = __importDefault(require("path"));
var tstl_1 = require("tstl");
var StopWatch_1 = require("./StopWatch");

@@ -202,7 +203,7 @@ /**

case 2:
_b.trys.push([2, 12, 13, 14]);
_b.trys.push([2, 13, 14, 15]);
directory_1 = __values(directory), directory_1_1 = directory_1.next();
_b.label = 3;
case 3:
if (!!directory_1_1.done) return [3 /*break*/, 11];
if (!!directory_1_1.done) return [3 /*break*/, 12];
file = directory_1_1.value;

@@ -217,6 +218,6 @@ location_1 = path_1.default.resolve("".concat(path, "/").concat(file));

_b.sent();
return [3 /*break*/, 10];
return [3 /*break*/, 11];
case 6:
if (file.substr(-3) !== ".".concat(extension))
return [3 /*break*/, 10];
return [3 /*break*/, 11];
_b.label = 7;

@@ -226,15 +227,18 @@ case 7: return [4 /*yield*/, (_c = location_1, Promise.resolve().then(function () { return __importStar(require(_c)); }))];

modulo = _b.sent();
return [4 /*yield*/, executor(location_1, modulo)];
return [4 /*yield*/, (0, tstl_1.sleep_for)(1)];
case 9:
_b.sent();
_b.label = 10;
return [4 /*yield*/, executor(location_1, modulo)];
case 10:
_b.sent();
_b.label = 11;
case 11:
directory_1_1 = directory_1.next();
return [3 /*break*/, 3];
case 11: return [3 /*break*/, 14];
case 12:
case 12: return [3 /*break*/, 15];
case 13:
e_1_1 = _b.sent();
e_1 = { error: e_1_1 };
return [3 /*break*/, 14];
case 13:
return [3 /*break*/, 15];
case 14:
try {

@@ -245,3 +249,3 @@ if (directory_1_1 && !directory_1_1.done && (_a = directory_1.return)) _a.call(directory_1);

return [7 /*endfinally*/];
case 14: return [2 /*return*/];
case 15: return [2 /*return*/];
}

@@ -248,0 +252,0 @@ });

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

@@ -43,3 +43,3 @@ "main": "lib/index.js",

"typescript": "^4.9.5",
"typia": "^3.8.4"
"typia": "^3.8.9"
},

@@ -46,0 +46,0 @@ "dependencies": {

import chalk from "chalk";
import fs from "fs";
import NodePath from "path";
import { sleep_for } from "tstl";

@@ -218,2 +219,3 @@ import { StopWatch } from "./StopWatch";

const modulo: Module<Arguments> = await import(location);
await sleep_for(1);
await executor(location, modulo);

@@ -220,0 +222,0 @@ }

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