New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chrono-forge

Package Overview
Dependencies
Maintainers
0
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chrono-forge - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

11

dist/workflows/StatefulWorkflow.js

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

this.log.info(`[${this.constructor.name}]: Condition returned false, not starting child.`);
return;
}

@@ -462,3 +463,3 @@ }

const workflowId = `${entityName}-${id}`;
const data = (0, limitRecursion_1.limitRecursion)((0, normalizr_1.denormalize)(state, entitySchema, newState), entitySchema);
const rawData = (0, limitRecursion_1.limitRecursion)((0, normalizr_1.denormalize)(state, entitySchema, newState), entitySchema);
if (this.ancestorWorkflowIds.includes(workflowId)) {

@@ -468,2 +469,10 @@ this.log.warn(`[${this.constructor.name}] Circular update detected for workflowId: ${workflowId}. Skipping child workflow update.`);

}
if (typeof config.condition === 'function') {
this.log.info(`[${this.constructor.name}]: Calling condition function before starting child...`);
if (!config.condition.apply(this, [rawData, this])) {
this.log.info(`[${this.constructor.name}]: Condition returned false, not starting child.`);
return;
}
}
const data = typeof config.processData === 'function' ? config.processData(rawData, this) : rawData;
await handle.signal('update', { data, entityName: config.entityName, strategy: '$merge' });

@@ -470,0 +479,0 @@ this.emit(`childUpdated:${config.workflowType}`, handle.workflowId, data);

2

package.json
{
"name": "chrono-forge",
"version": "0.5.6",
"version": "0.5.7",
"description": "A powerful framework for temporal workflows, state management, and streaming activities, designed for seamless developer experience.",

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

Sorry, the diff of this file is not supported yet

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