@warlock.js/scheduler 4.1.6 → 4.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.cjs CHANGED
@@ -36,7 +36,7 @@ let dayjs_plugin_utc_js = require("dayjs/plugin/utc.js");
36
36
  dayjs_plugin_utc_js = __toESM(dayjs_plugin_utc_js, 1);
37
37
  let node_events = require("node:events");
38
38
 
39
- //#region ../../@warlock.js/scheduler/src/cron-parser.ts
39
+ //#region ../@warlock.js/scheduler/src/cron-parser.ts
40
40
  /**
41
41
  * Cron expression parser
42
42
  *
@@ -242,7 +242,7 @@ function parseCron(expression) {
242
242
  }
243
243
 
244
244
  //#endregion
245
- //#region ../../@warlock.js/scheduler/src/job.ts
245
+ //#region ../@warlock.js/scheduler/src/job.ts
246
246
  dayjs.default.extend(dayjs_plugin_utc_js.default);
247
247
  dayjs.default.extend(dayjs_plugin_timezone_js.default);
248
248
  dayjs.default.extend(dayjs_plugin_isSameOrAfter_js.default);
@@ -867,7 +867,7 @@ function job(name, callback) {
867
867
  }
868
868
 
869
869
  //#endregion
870
- //#region ../../@warlock.js/scheduler/src/scheduler.ts
870
+ //#region ../@warlock.js/scheduler/src/scheduler.ts
871
871
  /**
872
872
  * Scheduler class manages and executes scheduled jobs.
873
873
  *
@@ -1,6 +1,6 @@
1
1
  import { Dayjs } from "dayjs";
2
2
 
3
- //#region ../../@warlock.js/scheduler/src/cron-parser.d.ts
3
+ //#region ../@warlock.js/scheduler/src/cron-parser.d.ts
4
4
  /**
5
5
  * Parsed cron expression fields
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import dayjs from "dayjs";
2
2
 
3
- //#region ../../@warlock.js/scheduler/src/cron-parser.ts
3
+ //#region ../@warlock.js/scheduler/src/cron-parser.ts
4
4
  /**
5
5
  * Cron expression parser
6
6
  *
package/esm/job.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Day, JobIntervals, JobResult, TimeType } from "./types.mjs";
2
2
  import { Dayjs } from "dayjs";
3
3
 
4
- //#region ../../@warlock.js/scheduler/src/job.d.ts
4
+ //#region ../@warlock.js/scheduler/src/job.d.ts
5
5
  type JobCallback = (job: Job) => Promise<any>;
6
6
  /**
7
7
  * Job class represents a scheduled task with configurable timing and execution options.
package/esm/job.mjs CHANGED
@@ -4,7 +4,7 @@ import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js";
4
4
  import timezone from "dayjs/plugin/timezone.js";
5
5
  import utc from "dayjs/plugin/utc.js";
6
6
 
7
- //#region ../../@warlock.js/scheduler/src/job.ts
7
+ //#region ../@warlock.js/scheduler/src/job.ts
8
8
  dayjs.extend(utc);
9
9
  dayjs.extend(timezone);
10
10
  dayjs.extend(isSameOrAfter);
@@ -1,7 +1,7 @@
1
1
  import { SchedulerEvents } from "./types.mjs";
2
2
  import { Job, JobCallback } from "./job.mjs";
3
3
 
4
- //#region ../../@warlock.js/scheduler/src/scheduler.d.ts
4
+ //#region ../@warlock.js/scheduler/src/scheduler.d.ts
5
5
  /**
6
6
  * Type-safe event emitter interface for Scheduler events
7
7
  */
package/esm/scheduler.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Job } from "./job.mjs";
2
2
  import { EventEmitter } from "node:events";
3
3
 
4
- //#region ../../@warlock.js/scheduler/src/scheduler.ts
4
+ //#region ../@warlock.js/scheduler/src/scheduler.ts
5
5
  /**
6
6
  * Scheduler class manages and executes scheduled jobs.
7
7
  *
package/esm/types.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../@warlock.js/scheduler/src/types.d.ts
1
+ //#region ../@warlock.js/scheduler/src/types.d.ts
2
2
  /**
3
3
  * Time unit types for scheduling intervals
4
4
  */
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "dayjs": "^1.11.19"
24
24
  },
25
- "version": "4.1.6",
25
+ "version": "4.1.8",
26
26
  "main": "./cjs/index.cjs",
27
27
  "module": "./esm/index.mjs",
28
28
  "types": "./esm/index.d.mts",