Comparing version 9.0.1 to 9.1.0
{ | ||
"name": "bree", | ||
"description": "The best job scheduler for Node.js and JavaScript with cron, dates, ms, later, and human-friendly support. Works in Node v12.11.0+, uses worker threads to spawn sandboxed processes, and supports async/await, retries, throttling, concurrency, and cancelable promises (graceful shutdown). Simple, fast, and lightweight. Made for Forward Email and Lad.", | ||
"version": "9.0.1", | ||
"version": "9.1.0", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -28,2 +28,8 @@ // | ||
function omit(obj, props) { | ||
obj = { ...obj }; | ||
for (const prop of props) delete obj[prop]; | ||
return obj; | ||
} | ||
const debug = debuglog('bree'); | ||
@@ -365,3 +371,6 @@ | ||
workerData: { | ||
job, | ||
job: { | ||
...job, | ||
...(job.worker ? { worker: omit(job.worker, ['env']) } : {}) | ||
}, | ||
...(this.config.worker && this.config.worker.workerData | ||
@@ -368,0 +377,0 @@ ? this.config.worker.workerData |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89585
1277