@stacksjs/scheduler 0.59.3 → 0.59.4

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { SpawnOptions } from 'node:child_process';
3
2
  import type { DateTime } from 'luxon';
4
3
  import type { CONSTRAINTS, TIME_UNITS_MAP } from '../constants';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/scheduler",
3
3
  "type": "module",
4
- "version": "0.59.3",
4
+ "version": "0.59.4",
5
5
  "description": "The Stacks scheduler.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  "scripts": {
46
46
  "build": "bun --bun build.ts",
47
47
  "typecheck": "bun --bun tsc --noEmit",
48
- "prepublishOnly": "bun --bun run build"
48
+ "prepublishOnly": "bun run build"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "luxon": "^3.4.4"
package/src/job.ts CHANGED
@@ -238,7 +238,7 @@ export class CronJob<OC extends CronOnCompleteCommand | null = null, C = null> {
238
238
  }
239
239
 
240
240
  // The callback wrapper checks if it needs to sleep another period or not
241
- // and does the real callback logic when it's time.
241
+ // and does the real callback logic when its time.
242
242
  const callbackWrapper = () => {
243
243
  const diff = startTime + timeout - Date.now()
244
244