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

worksmith

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

worksmith - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

7

index.js

@@ -8,8 +8,10 @@ var debug = require('debug')('workflow:common')

var taskTypeCache = {};
var DEFAULT_TASK_PATH = "/src/tasks/"
var taskPath
var workflow = {
discoverTaskType: function(taskType) {
var processRelativePath = path.join(process.cwd(), "/src/tasks/", taskType + ".js");
var processRelativePath = path.join(process.cwd(), taskPath, taskType + ".js");
return fs.existsSync(processRelativePath) ? processRelativePath : "./tasks/" + taskType + ".js";

@@ -32,2 +34,3 @@ },

debug("defining: %s", workflowDefinition.task)
taskPath = workflowDefinition.taskPath || DEFAULT_TASK_PATH
var WorkflowType = workflow.getWorkflow(workflowDefinition.task)

@@ -34,0 +37,0 @@

{
"name": "worksmith",
"version": "0.0.16",
"version": "0.0.17",
"description": "A purely functional workflow engine ",

@@ -29,2 +29,3 @@ "main": "index.js",

"lodash": "^3.7.0",
"mocha": "^2.2.5",
"pg": "^4.3.0",

@@ -31,0 +32,0 @@ "xregexp": "^2.0.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