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

gent-core

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gent-core - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

21

lib/Worker.js

@@ -325,14 +325,21 @@ "use strict";

switch (_b.label) {
case 0: return [4 /*yield*/, this.modifier.getProcess(processId)];
case 0: return [4 /*yield*/, this.modifier.getProcess(processId)
// run first task without checking delay
];
case 1:
state = _b.sent();
_b.label = 2;
return [4 /*yield*/, this.runSyncStep(state, false)];
case 2:
if (!(state.status === 'running' && ((_a = state.events[0]) === null || _a === void 0 ? void 0 : _a.deploy_time) === null)) return [3 /*break*/, 4];
// run first task without checking delay
state = _b.sent();
_b.label = 3;
case 3:
if (!(state.status === 'running' && ((_a = state.events[0]) === null || _a === void 0 ? void 0 : _a.deploy_time) === null)) return [3 /*break*/, 5];
return [4 /*yield*/, this.runSyncStep(state, false)];
case 3:
case 4:
// keep running until stopped or event have delay
state = _b.sent();
return [3 /*break*/, 2];
case 4: return [4 /*yield*/, this.emittNotifier(state)];
case 5:
return [3 /*break*/, 3];
case 5: return [4 /*yield*/, this.emittNotifier(state)];
case 6:
_b.sent();

@@ -339,0 +346,0 @@ return [2 /*return*/, state];

{
"name": "gent-core",
"version": "0.5.4",
"version": "0.5.5",
"description": "Library for simple business processes implementation",

@@ -5,0 +5,0 @@ "scripts": {

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