Comparing version 0.0.3 to 0.0.4
@@ -439,3 +439,7 @@ "use strict"; | ||
// run the handler in the context of the schedule object | ||
runner.call( schedule, schedule, function() { | ||
runner.call( schedule, { | ||
owner: schedule.owner, | ||
name: schedule.name, | ||
params: schedule.params | ||
}, function() { | ||
done( true ); | ||
@@ -442,0 +446,0 @@ } ); |
@@ -6,4 +6,4 @@ "use strict"; | ||
params = { | ||
prefix: params.prefix || null, | ||
db: params.db || null, | ||
prefix: params.prefix || null, | ||
db: params.db || null, | ||
mongoose: params.mongoose || null | ||
@@ -10,0 +10,0 @@ }; |
{ | ||
"name": "dronos", | ||
"description": "Dronos is a distributed scheduling system (with patterns similar to Linux's cron system), using MongoDB to coordinate running tasks (drons) across multiple nodes.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Anthony Hildoer <anthony@bluerival.com>", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -492,3 +492,6 @@ "use strict"; | ||
name: 'a.test.schedule', | ||
recurrence: '* * * * *' | ||
recurrence: '* * * * *', | ||
params: { | ||
hi: 'there' | ||
} | ||
}; | ||
@@ -495,0 +498,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
51137
1652
0