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

@node-ts/bus-workflow

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-ts/bus-workflow - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

src/test/test-workflow-misconfigured.ts

6

package.json
{
"name": "@node-ts/bus-workflow",
"description": "A workflow engine for orchestrating logic flows in distributed applications.",
"version": "0.2.2",
"version": "0.2.3",
"license": "MIT",

@@ -24,3 +24,3 @@ "main": "./dist/index.js",

"devDependencies": {
"@node-ts/bus-core": "^0.2.1",
"@node-ts/bus-core": "^0.2.2",
"@node-ts/code-standards": "^0.0.10",

@@ -59,3 +59,3 @@ "@node-ts/logger-core": "^0.0.17",

],
"gitHead": "d89967a0a88deeccd51784e18aadf879685540f9"
"gitHead": "bacefae4e4f09c32a6337f6072910121a282ed21"
}

@@ -20,8 +20,7 @@ import { Workflow } from '../workflow'

@StartedBy<TestCommand, TestWorkflowData, 'handleTestCommand'>(TestCommand)
async handleTestCommand (command: TestCommand): Promise<TestWorkflowData> {
async handleTestCommand (command: TestCommand): Promise<Partial<TestWorkflowData>> {
await this.bus.send(new RunTask(command.property1!))
return Object.assign(
new TestWorkflowData(),
{ property1: command.property1! }
)
return {
property1: command.property1
}
}

@@ -28,0 +27,0 @@

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