Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
[x] I have ensured my pull request is not behind the main or master branch of the original repository.
[x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
[x] I have written a commit message that passes commitlint linting.
[x] I have ensured that my code changes pass linting tests.
[x] I have ensured that my code changes pass unit tests.
[x] I have described my pull request and the reasons for code changes along with context if necessary.
Fixes #202 , #206
Version impact:
patch, there shouldn't be a need to increase minor or major version numbers
About the changes:
transforms the given file-path-string to a url-string, so that the import-Statement requirement for its parameter is satisfied (index.js, line 239-245)
fixed tests to use file-path-strings as required by the doc (job.path usage in test/job-builder.js didn't comply)
tested with NodeJS 16.x (LTS), Node 18.x (LTS) on Windows 7 and 10, also Ubuntu (via VM)
Checklist
Fixes #202 , #206
Version impact:
patch, there shouldn't be a need to increase minor or major version numbers
About the changes:
import
-Statement requirement for its parameter is satisfied (index.js, line 239-245)job.path
usage intest/job-builder.js
didn't comply)