Skip to content

Commit 665c440

Browse files
committed
fix: upgrade cron-validate and other dep fix (closes #265, closes #262, closes #268, closes #264, closes #263)
1 parent 8c5d006 commit 665c440

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/email-queue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@ladjs/graceful": "^1.0.5",
88
"bree": "^7.1.0",
99
"cabin": "^9.0.4",
10-
"email-templates": "^8.0.8",
10+
"email-templates": "^12.0.2",
1111
"p-map": "4"
1212
}
1313
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@breejs/later": "^4.2.0",
1616
"boolean": "^3.2.0",
1717
"combine-errors": "^3.0.3",
18-
"cron-validate": "^1.4.5",
18+
"cron-validate": "^1.5.3",
1919
"human-interval": "^2.0.1",
2020
"is-string-and-not-blank": "^0.0.2",
2121
"is-valid-path": "^0.1.1",

src/job-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const fs = require('node:fs');
22
const { join } = require('node:path');
33
const combineErrors = require('combine-errors');
4-
const cron = require('cron-validate');
4+
const { default: cron } = require('cron-validate');
55
const isSANB = require('is-string-and-not-blank');
66
const isValidPath = require('is-valid-path');
77
const { getName, isSchedule, parseValue, getJobPath } = require('./job-utils');

0 commit comments

Comments
 (0)