Socket
Socket
Sign inDemoInstall

blueshell

Package Overview
Dependencies
9
Maintainers
7
Versions
241
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1-whileRunningCheck.1 to 5.0.1-whileRunningCheck.2

4

dist/lib/nodes/decorators/While.js

@@ -25,3 +25,3 @@ "use strict";

const storage = this.getNodeStorage(state);
if (storage.lastLoopResult === models_1.rc.RUNNING || this.conditional(state, event)) {
if (storage.running !== undefined || this.conditional(state, event)) {
if (storage.beganAtLeastOneLoop) {

@@ -44,3 +44,3 @@ Base_1.Action.treePublisher.publishResult(state, event, false);

// yield to the behavior tree because the child node is running
storage.lastLoopResult = res;
storage.running = 0;
return res;

@@ -47,0 +47,0 @@ }

@@ -35,3 +35,3 @@ import { ResultCode, BlueshellState, BaseNode, rc, Conditional, NodeStorage } from '../../models';

if (storage.lastLoopResult === rc.RUNNING || this.conditional(state, event)) {
if (storage.running !== undefined || this.conditional(state, event)) {
if (storage.beganAtLeastOneLoop) {

@@ -56,3 +56,3 @@ Action.treePublisher.publishResult(state, event, false);

// yield to the behavior tree because the child node is running
storage.lastLoopResult = res;
storage.running = 0;
return res;

@@ -59,0 +59,0 @@ } else if (storage.break) {

@@ -111,3 +111,3 @@ {

"types": "dist/index.d.ts",
"version": "5.0.1-whileRunningCheck.1"
"version": "5.0.1-whileRunningCheck.2"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc