@aalis/util-cron 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -72,7 +72,7 @@ export function parseCronField(field, min, max) {
72
72
  lo = n;
73
73
  hi = stepPart !== undefined ? max : n; // `lo/step` → lo..max 步进;裸单值 → 仅该值
74
74
  }
75
- // 夹到 [min,max],避免越界(如分钟字段 "1-100" 不塞入 60-99 这些非法分钟)
75
+ // 夹到 [min,max],避免越界(如分钟字段 "1-100" 不放入 60-99 这些非法分钟)
76
76
  for (let i = Math.max(min, lo); i <= Math.min(max, hi); i += step)
77
77
  result.add(i);
78
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aalis/util-cron",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",